summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2018-11-09Merge pull request #23542 from marcelofg55/no_pieRémi Verschelde
Fix binaries incorrectly detected as shared libraries on some linux distros
2018-11-08Merge pull request #23463 from hpvb/use-dri-prime-defaultRémi Verschelde
Set DRI_PRIME=1 by default on X11 if not already set
2018-11-07Fix binaries incorrectly detected as shared libraries on some linux distrosMarcelo Fernandez
2018-11-06Set DRI_PRIME=1 by default on X11 if not already setHein-Pieter van Braam
This mirrors behavior on Windows and MacOSX where Godot tries to default to a dGPU if it exists. This doesn't work for Nvidia optimus yet but this can maybe be added later.
2018-11-05Merge pull request #23461 from hpvb/fix-23400Rémi Verschelde
Properly export the various 'use dGPU' symbols when building with MingW
2018-11-05Merge pull request #23499 from bruvzg/fix_osx_app_crash_and_black_spashRémi Verschelde
[macOS] Fix .app bundle crash and blank initial window
2018-11-04Fix initial blank screen on macOS Mojave (except splash).bruvzg
2018-11-04Fix .app bundle crash on macOSbruvzg
2018-11-03Fix UWP build.Fabio Alessandrelli
Add missing os_uwp.cpp include for VisualServerWrapMT. Add global env forced include to fix freetype in UWP.
2018-11-03Properly export the various 'use dGPU' symbols when building with MingWHein-Pieter van Braam
This fixes exporting the NvOptimusEnablement export when building with MingW. This also adds the equivalent for AMD. This fixes #23400
2018-11-02Merge pull request #23389 from marcelofg55/multiple_extRémi Verschelde
Export for OS X on OS X now lets you select .dmg or .zip
2018-11-02Merge pull request #23431 from buresu/fix-keycodeRémi Verschelde
Fix keycode problem on OSX
2018-11-01Fix init of VisualServerRasterRémi Verschelde
Contrarily to what #23434 assumed, this is not a memory leak, the VisualServerRaster instance is passed as a parameter to VisualServerWrapMT's constructor. Fixes #23437.
2018-11-01Fix initialization of visual server in all platformsGeorge Marques
Avoid leaking an extra instance when using threads. Also fix threaded loading issues on Android and iOS.
2018-11-01Export for OS X on OS X now lets you select .dmg or .zipMarcelo Fernandez
2018-11-01Fix keycode problem on OSXNaoto Kondo
2018-11-01Merge pull request #23320 from lethiandev/android-invalid-package-name-errorRémi Verschelde
Add android export error on invalid package name
2018-10-31Merge pull request #23393 from marcelofg55/osx_crashRémi Verschelde
Fix OS X crash when running as .app
2018-10-30Allow the server platform to build on linux again.Ibrahn Sahir
Fixed a logic error in platform/server/detect.py that prevented building the server platform on linux.
2018-10-29Fix OS X crash when running as .appMarcelo Fernandez
2018-10-29Style: Apply clang-format to wrongly formatted filesRémi Verschelde
2018-10-29Merge pull request #23382 from vnen/android-pad-fixRémi Verschelde
Prevent a device to be added/deleted more than once on Android
2018-10-29Merge pull request #23387 from eska014/memgrowth-preloadRémi Verschelde
Enable --no-heap-copy flag for HTML5 builds
2018-10-29Merge pull request #23388 from eska014/html5-stubexecRémi Verschelde
Add proper stubs for OS_JavaScript::execute(), get_process_id(), kill()
2018-10-29Add proper stubs for OS_JavaScript::execute(), get_process_id(), kill()Leon Krause
Avoids linker warnings and errors about undefined references.
2018-10-29Merge pull request #23279 from marcelofg55/osx_serverRémi Verschelde
Server platform works on OS X too
2018-10-29Enable --no-heap-copy flag for HTML5 buildsLeon Krause
2018-10-29Prevent a device to be added/deleted more than once on AndroidXavier Sellier
cherry-picked from fb5a601217eed9da6c9b4260c3dfc775abee2733
2018-10-29Server platform works on OS X tooMarcelo Fernandez
2018-10-29Add android export error on invalid package nameKonrad Nowakowski
2018-10-29Merge pull request #23317 from lupoDharkael/py-noneRémi Verschelde
Dont use equality operators with None singleton in python files
2018-10-28Move jcenter behind mavenCentral and google gradle repos to fix build problemsKaren Schwane
2018-10-27Dont use equality operators with None singleton in python fileslupoDharkael
2018-10-25Merge pull request #23091 from aaronfranke/mingw-warningsRémi Verschelde
Fix some compile warnings for Windows from Linux
2018-10-25Repaired mistyped of 'its' on several files.M. Huri
2018-10-24Update mouse location on background scroll and window focus in macOSColin Kinloch
2018-10-23Call -update when window becomes the key windowPatrick Beard
2018-10-20Merge pull request #23025 from voithos/enginejsMax Hilbrunner
Add comments to javascript wrapper parts.
2018-10-19Fix compile warnings for Windows from LinuxAaron Franke
At least the ones I got when I compiled it using Mingw64 POSIX on Xubuntu 18.04. Plus use the Size2 of get_window_size() directly, rather than reconstructing it.
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-10-15Add comments to javascript wrapper parts.Zaven Muradyan
The code in pre.js and engine.js is a bit confusing to see in isolation, since the files aren't valid JS files by themselves. This just adds some explanatory text to both files. Fixes #22937.
2018-10-14Fixed initialization of android modulesdumitru-stama
2018-10-08Fix build with Android NDK r18Wojciech Milkowski
As a bonus there is no need to use undocumented Gradle API any more.
2018-10-07Check getcwd return in X11 platform main.Fabio Alessandrelli
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-06Remove redundant "== true" codeAaron Franke
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-05Merge pull request #22685 from remmah/patch-1Rémi Verschelde
Modernized copy/paste APIs on macOS #7185
2018-10-04Fix some OSX and iOS Clang warningsRémi Verschelde
Fixes the following XCode 9.4.1 warnings: ``` core/os/memory.cpp:175:13: warning: unused variable 's' [-Wunused-variable] drivers/coremidi/core_midi.cpp:68:14: warning: comparison between NULL and non-pointer ('MIDIEndpointRef' (aka 'unsigned int') and NULL) [-Wnull-arithmetic] drivers/gles2/rasterizer_gles2.cpp:77:24: warning: unused function '_gl_debug_print' [-Wunused-function,34] drivers/unix/thread_posix.cpp:106:12: warning: unused variable 'running_thread' [-Wunused-variable,34] modules/gdnative/nativescript/nativescript.h:371:16: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions] platform/iphone/gl_view.mm:56:14: warning: unused variable 'video_previous_volume' [-Wunused-variable,34] platform/iphone/gl_view.mm:251:12: warning: unused function 'get_first_id' [-Wunused-function,34] platform/iphone/main.m:45:15: warning: unused variable 'app' [-Wunused-variable,34] platform/osx/os_osx.mm:79:15: warning: unused function 'convertRectToBacking' [-Wunused-function] ```
2018-10-03Modernized copy/paste APIs on macOS #7185remmah
2018-10-03Fix warnings in Android platformRémi Verschelde
Fixes the following Clang 7 warnings: ``` platform/android/os_android.h:240:16: warning: 'OS_Android::native_video_play' hides overloaded virtual function [-Woverloaded-virtual] platform/android/os_android.h:241:15: warning: 'OS_Android::native_video_is_playing' hides overloaded virtual function [-Woverloaded-virtual] platform/android/audio_driver_opensl.cpp:104:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] platform/android/audio_driver_opensl.cpp:129:10: warning: unused variable 'numOutputs' [-Wunused-variable] platform/android/audio_driver_opensl.cpp:130:11: warning: unused variable 'deviceID' [-Wunused-variable] platform/android/java_glue.cpp:795:10: warning: unused variable 'clsio' [-Wunused-variable] platform/android/java_glue.cpp:890:12: warning: unused variable 'gob' [-Wunused-variable] platform/android/java_glue.cpp:592:13: warning: unused variable 'resized' [-Wunused-variable] platform/android/java_glue.cpp:593:13: warning: unused variable 'resized_reload' [-Wunused-variable] modules/mobile_vr/mobile_vr_interface.cpp:401:8: warning: unused variable 'aspect_ratio' [-Wunused-variable] drivers/unix/dir_access_unix.cpp:394:2: warning: THIS IS BROKEN [-W#warnings] ```