summaryrefslogtreecommitdiffstats
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* X11: Fix drag and drop from non-latin pathsRémi Verschelde2019-02-281-1/+1
| | | | | | Fixes #25826. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Android: Fixed problems with memory leaks due to absent ↵Ivan Ponomarev2019-02-274-28/+98
| | | | ReleaseStringUTFChars calls.
* Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde2019-02-271-2/+2
|\ | | | | Fix -Wsign-compare warnings.
| * Fix -Wsign-compare warnings.marxin2019-02-271-2/+2
| | | | | | | | | | I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
* | -Properly handle missing ETC support on exportJuan Linietsky2019-02-263-0/+18
|/ | | | | -Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
* Fixed possible crash on iOS in applicationDidReceiveMemoryWarning method: ↵Ivan Ponomarev2019-02-261-2/+4
| | | | event loop may be null when it's called.
* -Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky2019-02-268-17/+7
| | | | -Fixed a bug where etc textures were imported broken
* Merge pull request #26160 from marxin/come-up-with-use_gccHein-Pieter van Braam2019-02-251-5/+6
|\ | | | | Come up with use_gcc.
| * Come up with use_gcc.marxin2019-02-231-5/+6
| | | | | | | | Add new method. Fix wrong version condition for -fpie.
* | Merge pull request #26242 from serados/init_mouse_pos_winHein-Pieter van Braam2019-02-252-0/+17
|\ \ | | | | | | Update Windows global mouse position at startup
| * | Update Windows global mouse position at startupJunwei Ng2019-02-252-0/+17
| | | | | | | | | | | | | | | Fixes issue #8145 for Windows, in the same manner as issue #21910 fixed it for X11.
* | | Merge pull request #26240 from eska014/html5-preload-noownRémi Verschelde2019-02-246-13/+10
|\ \ \ | |/ / |/| | Properly preload files, always use stdout/-err in HTML5 platform
| * | Use stdout/-err for all messages in HTML5 platformLeon Krause2019-02-244-8/+8
| | |
| * | Fix file preloading warning in HTML5 platformLeon Krause2019-02-232-5/+2
| |/
* / [macOS] Make `move_window_to_foreground` to take focus in addition to moving ↵bruvzg2019-02-231-1/+2
|/ | | | window to front.
* Fix all -Wtype-limits warnings.marxin2019-02-212-2/+2
|
* Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-202-15/+8
| | | | Fixes #25316.
* Drop RtAudio driver on WindowsRémi Verschelde2019-02-205-12/+6
| | | | | | | | | | | | 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).
* Fix compiling with use_mingw flag on WindowsMarcelo Fernandez2019-02-192-3/+2
|
* Merge pull request #25851 from BastiaanOlij/ios_export_capabilitiesRémi Verschelde2019-02-161-2/+77
|\ | | | | New export options in iOS
| * New export options iOSBastiaan Olij2019-02-161-2/+77
| |
* | Merge pull request #25879 from hpvb/fix-25629Rémi Verschelde2019-02-141-2/+31
|\ \ | | | | | | Detect when primusrun/optirun is in use
| * | Detect when primusrun/optirun is in useHein-Pieter van Braam2019-02-141-2/+31
| | | | | | | | | | | | | | | | | | 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.
* | | Don't crash if there's no application nameHein-Pieter van Braam2019-02-141-1/+6
|/ / | | | | | | This fixes #25852
* | Merge pull request #25842 from marcelofg55/windows_timezoneRémi Verschelde2019-02-132-2/+6
|\ \ | |/ |/| Fix get_time_zone_info returning inverted bias on Windows/UWP
| * Fix get_time_zone_info returning inverted bias on Windows/UWPMarcelo Fernandez2019-02-132-2/+6
| |
* | Fix typos with codespellRémi Verschelde2019-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* | Platform: Ensure classes match their header filenameRémi Verschelde2019-02-1249-478/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* | Drivers, main, servers: Ensure classes match their header filenameRémi Verschelde2019-02-123-6/+7
|/ | | | | | | | 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`
* Merge pull request #25481 from hpvb/fix-ubsan-asan-reportsRémi Verschelde2019-02-121-1/+5
|\ | | | | Fix many asan and ubsan reported issues
| * Fix many asan and ubsan reported issuesHein-Pieter van Braam2019-01-301-1/+5
| | | | | | | | | | | | | | | | | | 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
* | Merge pull request #25570 from Kanabenki/windows-relative-iconRémi Verschelde2019-02-081-2/+2
|\ \ | | | | | | Use relative path property hint for windows export icon
| * | Use relative path property hint for windows export iconKanabenki2019-02-031-2/+2
| |/
* | Merge pull request #25521 from bruvzg/disabled_hidpi_retina_fixRémi Verschelde2019-02-081-1/+3
|\ \ | | | | | | [macOS] Fix rendering on retina displays with HiDPI support disabled.
| * | [macOS] Fix rendering on retina displays with HiDPI support disabled.bruvzg2019-01-311-1/+3
| |/
* | Merge pull request #25478 from neikeq/rrIgnacio Etcheverry2019-02-034-0/+12
|\ \ | |/ |/| Mono: Fix MonoPosixHelper not being found
| * Added set_environment to OS classIgnacio Etcheverry2019-02-034-0/+12
| |
* | Merge pull request #25391 from hpvb/fix-dri-prime-detectRémi Verschelde2019-01-294-21/+281
|\ \ | | | | | | Properly detect when to use DRI_PRIME
| * | Properly detect when to use DRI_PRIMEHein-Pieter van Braam2019-01-284-21/+281
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Using DisplayLink to emulate vsync on OSXBastiaan Olij2019-01-293-15/+60
| |
* | Remove unused iostream includesRémi Verschelde2019-01-281-6/+1
|/
* Fix pixelized previews, but also instances of breaking ImageTexture cache. ↵Juan Linietsky2019-01-271-0/+5
| | | | Closes #25378.
* Fix code style issuesRémi Verschelde2019-01-261-1/+0
|
* Merge pull request #25300 from neikeq/improve-thread-idRémi Verschelde2019-01-261-3/+14
|\ | | | | Improve custom thread numbering for POSIX
| * Improve custom thread numbering for POSIXIgnacio Etcheverry2019-01-251-3/+14
| | | | | | | | We lazily assign new IDs to threads that do not have one. This is the case for threads not created by the Godot API.
* | Merge pull request #25302 from eska014/html5-startupfsRémi Verschelde2019-01-251-1/+14
|\ \ | |/ |/| Allow requesting full screen during start-up in HTML5 platform
| * Allow requesting full screen during start-up in HTML5 platformLeon Krause2019-01-231-1/+14
| |
* | Fix ALT+F4 being ignored with MOUSE_MODE_CAPTURED on WindowsMarcelo Fernandez2019-01-231-0/+7
| |
* | Fix GDI objects leak when setting custom cursorMarcin Zawiejski2019-01-231-0/+3
| | | | | | | | Fixes #19906
* | Set WINVER and _WIN32_WINNT values in VS projectMarcin Zawiejski2019-01-221-2/+2
| | | | | | | | | | While looking into a different issue, I've noticed that Visual Studio Intellisense does not work well for Godot project when using Windows Vista+ APIs (e.g. CreateThreadpool), i.e. it does not recognise the APIs because they are defined in Windows header files for Vista+ only. This is because the WINVER and _WIN32_WINNT symbols don't have their values set in the generated Godot project file. This fixes the problem by setting the values when generating the project file.