summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2019-03-05Disable driver fallback to GLES2 by defaultRémi Verschelde
GLES2 is not designed to be a drop-in replacement for the GLES3 backend, so the fallback mode has to be used knowingly. It *can* make sense for simple projects which make sure to handle the differences between both rendering backends, but most users should stick to one supported backend. By making it opt-in, we can now use this parameter to define whether to export ETC textures to Android and iOS when using GLES3 + Fallback. When using GLES3 without Fallback on Android, set the proper min GLES version in the AndroidManifest. Also made the option boolean and renamed it for clarity and to avoid conflict with the previous String option (which would always evaluate as "true" otherwise). Fixes #26569.
2019-03-04Remove microphone from export options and distribution plistSam Green
2019-03-04More style cleanup...Rémi Verschelde
2019-03-03Add support for event accumlation (off by default, on for editor), fixes #26536Juan Linietsky
2019-03-03Implement a more coherent (and way less hack) way to block animation ↵Juan Linietsky
updates, fixes #24618
2019-03-03Ability to keep pumping messages while being debugged, may be a solution for ↵Juan Linietsky
#21431
2019-03-03Improve VRAM texture compression checks for mobile/webRémi Verschelde
For HTML5, we need to support S3TC if running on desktop, and ETC or ETC2 for mobile, so make this explicit. Add logic to check for ETC2 support on GLES3, and remove incorrect ETC feature for GLES3 on Android. Fix ETC check invalidating templates on HTML5. Fixes #26476.
2019-03-02Merge pull request #26474 from akien-mga/scons-silence-x11Rémi Verschelde
SCons: Reduce spam from x11:can_build
2019-03-02SCons: Reduce spam from x11:can_buildRémi Verschelde
When cross-compiling for non-X11 on Linux, it used to be quite spammy. Now it will only print errors if you miss more than just pkg-config and x11.
2019-03-02SCons: Move platform-specific Opus config to its moduleRémi Verschelde
2019-03-01Merge pull request #26353 from ivanarh/android_hide_keyboard_crashRémi Verschelde
Android: Fixed a possible crash in keyboard hide method.
2019-03-01Merge pull request #26407 from marcelofg55/audio_input_androidRémi Verschelde
Implement Audio Input support on Android
2019-02-28Implement Audio Input support on AndroidMarcelo Fernandez
2019-02-28X11: Fix drag and drop from non-latin pathsRémi Verschelde
Fixes #25826. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2019-02-27Android: Fixed a possible crash in keyboard hide method. It's called not ↵Ivan Ponomarev
from main thread so InputMethodManager can't be used directly.
2019-02-27Android: Fixed problems with memory leaks due to absent ↵Ivan Ponomarev
ReleaseStringUTFChars calls.
2019-02-27Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde
Fix -Wsign-compare warnings.
2019-02-27Fix -Wsign-compare warnings.marxin
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
2019-02-26-Properly handle missing ETC support on exportJuan Linietsky
-Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
2019-02-26Fixed possible crash on iOS in applicationDidReceiveMemoryWarning method: ↵Ivan Ponomarev
event loop may be null when it's called.
2019-02-26-Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky
-Fixed a bug where etc textures were imported broken
2019-02-25Merge pull request #26160 from marxin/come-up-with-use_gccHein-Pieter van Braam
Come up with use_gcc.
2019-02-25Merge pull request #26242 from serados/init_mouse_pos_winHein-Pieter van Braam
Update Windows global mouse position at startup
2019-02-24Merge pull request #26240 from eska014/html5-preload-noownRémi Verschelde
Properly preload files, always use stdout/-err in HTML5 platform
2019-02-25Update Windows global mouse position at startupJunwei Ng
Fixes issue #8145 for Windows, in the same manner as issue #21910 fixed it for X11.
2019-02-24Use stdout/-err for all messages in HTML5 platformLeon Krause
2019-02-23Fix file preloading warning in HTML5 platformLeon Krause
2019-02-23[macOS] Make `move_window_to_foreground` to take focus in addition to moving ↵bruvzg
window to front.
2019-02-23Come up with use_gcc.marxin
Add new method. Fix wrong version condition for -fpie.
2019-02-21Fix all -Wtype-limits warnings.marxin
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-20Drop RtAudio driver on WindowsRémi Verschelde
We've been defaulting to WASAPI since 3.0 and it's superior to RtAudio in all aspects. Obsoletes and closes #25503. Also enable WINMIDI on MinGW, this had been missed initially. Fix os_windows.cpp and crash_handler_windows.cpp which had weird dependencies on RtAudio.h's includes (ugh).
2019-02-19Fix compiling with use_mingw flag on WindowsMarcelo Fernandez
2019-02-16Merge pull request #25851 from BastiaanOlij/ios_export_capabilitiesRémi Verschelde
New export options in iOS
2019-02-16New export options iOSBastiaan Olij
2019-02-14Merge pull request #25879 from hpvb/fix-25629Rémi Verschelde
Detect when primusrun/optirun is in use
2019-02-14Detect when primusrun/optirun is in useHein-Pieter van Braam
It seems that bumblebee doesn't like us creating multiple GL contexts to avoid this we now detect whether we're running with this software and don't do anything.
2019-02-14Don't crash if there's no application nameHein-Pieter van Braam
This fixes #25852
2019-02-13Merge pull request #25842 from marcelofg55/windows_timezoneRémi Verschelde
Fix get_time_zone_info returning inverted bias on Windows/UWP
2019-02-13Fix get_time_zone_info returning inverted bias on Windows/UWPMarcelo Fernandez
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-02-12Platform: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `platform/iphone/sem_iphone.h` -> `semaphore_iphone.h` (same for `osx`) - `platform/uwp/gl_context_egl.h` -> `context_egl_uwp.h` - in `platform/windows`: `context_gl_win.h`, `crash_handler_win.h`, `godot_win.cpp`, `joypad.h` and `key_mapping_win.h` all renamed to use `windows`. Some classes renamed accordingly too. - `EditorExportAndroid` and `EditorExportUWP` renamed to `EditorExportPlatformAndroid` and `EditorExportPlatformUWP` - `power_android` and `power_osx` renamed to `PowerAndroid` and `PowerOSX` - `OSUWP` renamed to `OS_UWP` Dropped: - `platform/windows/ctxgl_procaddr.h`
2019-02-12Drivers, main, servers: Ensure classes match their header filenameRémi Verschelde
Renamed: - `drivers/alsamidi/alsa_midi.h` -> `midi_driver_alsamidi.h` (same for `coremidi` and `winmidi`) - `main/timer_sync.h` -> `main_timer_sync.h` - `servers/visual/visual_server_global.h` -> `visual_server_globals.h`
2019-02-12Merge pull request #25481 from hpvb/fix-ubsan-asan-reportsRémi Verschelde
Fix many asan and ubsan reported issues
2019-02-08Merge pull request #25570 from Kanabenki/windows-relative-iconRémi Verschelde
Use relative path property hint for windows export icon
2019-02-08Merge pull request #25521 from bruvzg/disabled_hidpi_retina_fixRémi Verschelde
[macOS] Fix rendering on retina displays with HiDPI support disabled.
2019-02-03Merge pull request #25478 from neikeq/rrIgnacio Etcheverry
Mono: Fix MonoPosixHelper not being found
2019-02-03Added set_environment to OS classIgnacio Etcheverry
2019-02-03Use relative path property hint for windows export iconKanabenki
2019-01-31[macOS] Fix rendering on retina displays with HiDPI support disabled.bruvzg