summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
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
2019-01-30Fix many asan and ubsan reported issuesHein-Pieter van Braam
This allows most demos to run without any ubsan or asan errors. There are still some things in thirdpart/ and some things in AudioServer that needs a look but this fixes a lot of issues. This should help debug less obvious issues, hopefully. This fixes #25217 and fixes #25218
2019-01-29Merge pull request #25391 from hpvb/fix-dri-prime-detectRémi Verschelde
Properly detect when to use DRI_PRIME
2019-01-29Using DisplayLink to emulate vsync on OSXBastiaan Olij
2019-01-28Properly detect when to use DRI_PRIMEHein-Pieter van Braam
We fork off twice once with and once without DIR_PRIME=1 set. We then use the vendor string to determine what GPU to use. We prefer (in order) 1) AMDGPU/AMDGPU-PRO/NVidia non-free driver 2) Intel driver 3) Nouveau 4) Software rendering If a driver can't be detected it will default to DRI_PRIME=0
2019-01-28Remove unused iostream includesRémi Verschelde
2019-01-27Fix pixelized previews, but also instances of breaking ImageTexture cache. ↵Juan Linietsky
Closes #25378.
2019-01-26Fix code style issuesRémi Verschelde