summaryrefslogtreecommitdiffstats
path: root/platform/windows
Commit message (Collapse)AuthorAgeFilesLines
* Disable driver fallback to GLES2 by defaultRémi Verschelde2019-03-051-2/+2
| | | | | | | | | | | | | | | | | | | 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.
* Add support for event accumlation (off by default, on for editor), fixes #26536Juan Linietsky2019-03-031-8/+9
|
* Implement a more coherent (and way less hack) way to block animation ↵Juan Linietsky2019-03-031-3/+2
| | | | updates, fixes #24618
* Ability to keep pumping messages while being debugged, may be a solution for ↵Juan Linietsky2019-03-032-2/+28
| | | | #21431
* -Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky2019-02-261-1/+1
| | | | -Fixed a bug where etc textures were imported broken
* 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.
* Drop RtAudio driver on WindowsRémi Verschelde2019-02-204-11/+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-191-2/+2
|
* Merge pull request #25842 from marcelofg55/windows_timezoneRémi Verschelde2019-02-131-1/+3
|\ | | | | Fix get_time_zone_info returning inverted bias on Windows/UWP
| * Fix get_time_zone_info returning inverted bias on Windows/UWPMarcelo Fernandez2019-02-131-1/+3
| |
* | Platform: Ensure classes match their header filenameRémi Verschelde2019-02-1215-275/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-121-4/+5
|/ | | | | | | | 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 #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 #25478 from neikeq/rrIgnacio Etcheverry2019-02-032-0/+6
|\ \ | |/ |/| Mono: Fix MonoPosixHelper not being found
| * Added set_environment to OS classIgnacio Etcheverry2019-02-032-0/+6
| |
* | Remove unused iostream includesRémi Verschelde2019-01-281-6/+1
|/
* 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.
* Raised executable priority on windows to avoid stuter, helps #25162Juan Linietsky2019-01-222-2/+16
|
* Avoid cyclic iteration check, fixes #24969Juan Linietsky2019-01-221-1/+3
|
* Update copyright statements to 2019Rémi Verschelde2019-01-0121-42/+42
| | | | Happy new year to the wonderful Godot community!
* Added OS.get_system_time_msecs()volzhs2018-12-202-3/+9
|
* Merge pull request #20063 from moiman100/fix-button-maskRémi Verschelde2018-12-141-18/+9
|\ | | | | Unified button mask behavior across platforms
| * Fixed button mask behaviormm2018-07-111-18/+9
| |
* | SCons: Properly set bits variable as string for MSVC detectionRémi Verschelde2018-12-041-2/+2
| |
* | Fix wrong size and position when windows is minimized on WindowsMarcelo Fernandez2018-11-302-8/+31
| |
* | Remove trailing whitespaceRémi Verschelde2018-11-201-2/+2
| | | | | | | | | | With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'` (+ manual revert of some thirdparty code under `platform/android`).
* | Fix mouse mode restoration on WindowsPedro J. Estébanez2018-11-092-25/+27
| | | | | | | | Fixes #23494.
* | Properly export the various 'use dGPU' symbols when building with MingWHein-Pieter van Braam2018-11-031-5/+2
| | | | | | | | | | | | | | This fixes exporting the NvOptimusEnablement export when building with MingW. This also adds the equivalent for AMD. This fixes #23400
* | Fix init of VisualServerRasterRémi Verschelde2018-11-011-17/+1
| | | | | | | | | | | | | | | | 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.
* | Fix initialization of visual server in all platformsGeorge Marques2018-11-011-1/+2
| | | | | | | | | | Avoid leaking an extra instance when using threads. Also fix threaded loading issues on Android and iOS.
* | Fix compile warnings for Windows from LinuxAaron Franke2018-10-193-17/+14
| | | | | | | | 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.
* | Fixing warnings generated by MSVCDualtagh Murray2018-10-193-15/+32
| | | | | | | | Fixes #22684.
* | Remove redundant "== false" codeAaron Franke2018-10-061-1/+1
| | | | | | | | | | | | Some of this code has been re-organized. f
* | Remove redundant "== true" codeAaron Franke2018-10-061-1/+1
| | | | | | If it can be compared to a boolean, it can be evaluated as one in-place.
* | Fix warnings on virtual methods [-Woverloaded-virtual] ↵Rémi Verschelde2018-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [-Wdelete-non-virtual-dtor] Fixes the following Clang 7 warnings: ``` editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual] servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual] core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] ```
* | Merge pull request #22368 from moiman100/raw-input-fixesRémi Verschelde2018-10-021-2/+2
|\ \ | | | | | | Windows raw input fixes
| * | Fix mouse position when clicking in MOUSE_MODE_CAPTUREDMikko Mustonen2018-09-231-1/+1
| | |
| * | Fix zero relative motion event when clicking in MOUSE_MODE_CAPTUREDMikko Mustonen2018-09-231-1/+1
| | |
* | | SCons: Remove avoidable defines from main env's CPPPATHRémi Verschelde2018-10-011-2/+2
| | | | | | | | | | | | | | | | | | Also finally move freetype to its own env and disable warnings for it. Still needs some work to fix the awkward situation of the freetype and svg modules used in scene/ and editor/ respectively.
* | | SCons: Build thirdparty code in own env, disable warningsRémi Verschelde2018-09-281-3/+1
|/ / | | | | | | | | Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
* | Fix Input::set_custom_mouse_cursor showing cursor when it's invisibleGuilherme Felipe2018-09-171-1/+3
| |
* | Merge pull request #22134 from elasota/natvisRémi Verschelde2018-09-172-0/+130
|\ \ | | | | | | Add Visual Studio debug visualizer
| * | Initial version of VS natvis fileelasota2018-09-172-0/+130
| | |
* | | Fix set_custom_mouse_cursor changing to incorrect cursor shapeGuilherme Felipe2018-09-131-2/+4
|/ / | | | | | | [Docs] Add class ref for Input::set_default_cursor_shape
* | Properly initialize Winsock on startupFabio Alessandrelli2018-09-131-0/+1
| | | | | | | | Also fix typo in _get_last_error which caused Winsock connect to fail.
* | Merge pull request #22000 from Faless/lws_uwp32Rémi Verschelde2018-09-131-2/+2
|\ \ | | | | | | Fix libwebsockets 32-bits UWP builds.
| * | Fix libwebsockets 32-bits UWP builds.Fabio Alessandrelli2018-09-131-2/+2
| | | | | | | | | | | | Also fix bogus windows detect.py