summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-18Merge pull request #55072 from KoBeWi/untitled_goose_projectRémi Verschelde
2021-11-18Fix data directory of unnamed projectskobewi
2021-11-18Windows: Use `/bigobj` only for debug builds, breaks GCC LTORémi Verschelde
Building `target=release` and `target=release_debug` builds with MinGW-GCC errors when linking with LTO. Since it's only needed for `target=debug` builds anyway (bigger objects), which we don't build with LTO, this works around the issue.
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-10Merge pull request #54837 from akien-mga/windows-bigobjRémi Verschelde
2021-11-10Windows: Enable `/bigobj` to increase max size for obj filesRémi Verschelde
Equivalent `-Wa,-mbig-obj` for GCC/Clang. This started being needed to compile harfbuzz in `target=debug` with MinGW/GCC, but there doesn't seem to be any drawback to enabling `/bigobj` (aside from losing support for pre-VS 2005 linkers, which we don't support).
2021-11-10Windows: Fix compilation warnings with GCC 11.2.1Rémi Verschelde
2021-11-04Fix dwFlags on CreateProcessW callsWoLfulus
2021-10-31Use OpenGL 3.3 core profile instead of compatibility profileClay John
- Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
2021-10-30Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio
- Use lowercase driver names for the `--rendering-driver` command line argument.
2021-10-30Add GLES2 2D renderer + Linux display managerlawnjelly
First implementation with Linux display manager. - Add single-threaded mode for EditorResourcePreview (needed for OpenGL). Co-authored-by: clayjohn <claynjohn@gmail.com> Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2021-10-28Update Time documentationAaron Franke
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-15SCons: Set `DEBUG_ENABLED` and `DEV_ENABLED` in SConstructRémi Verschelde
They're the same for all platforms so they don't need to be repeated in all platform definitions.
2021-10-14Fix specific warnings issues by ClangK. S. Ernest (iFire) Lee
Found by `scons dev=yes` on llvm-mingw.
2021-10-14SCons: Add `DEV_ENABLED` defines for `target=debug` buildsRémi Verschelde
This will allow adding developer checks which will be fully compiled out in user builds, unlike `DEBUG_ENABLED` which is included in debug tempates and the editor builds. This define is not used yet, but we'll soon add code that uses it, and change some existing `DEBUG_ENABLED` checks to be performed only in dev builds. Related to godotengine/godot-proposals#3371.
2021-10-09Implement get_cache_path() for iOS, and improve it for Android and WindowsPedro J. Estébanez
2021-10-06Change dragging cursor on Windowskobewi
2021-10-05Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_masterRémi Verschelde
2021-10-05Merge pull request #53405 from winterpixelgames/PR-more-error-logging-releaseRémi Verschelde
2021-10-04revert 0d7409a so additional error information prints in release buildsJordan Schidlowsky
2021-10-01Merge pull request #52684 from Frixuu/masterRémi Verschelde
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-23Add missing WIN32_LEAN_AND_MEANBartłomiej T. Listwon
2021-09-21Merge pull request #52842 from Ev1lbl0w/fix_win_open_errcodeRémi Verschelde
Fix shell_open not returning errors on Windows
2021-09-21Allow for mapping keycodes to current layoutFrixuu
2021-09-19Fix Windows cursor with trails disappearing in fullscreenDan
Fixed by turning off mouse trails when going into fullscreen, then restoring trails when exiting fullscreen or game
2021-09-19Fix shell_open not returning errors on WindowsRicardo Subtil
2021-09-10Clean DisplayServerWindows and add missing guardsMax Hilbrunner
2021-08-27Fix bad size after restoring a minimized window under Windowsjmb462
2021-08-25Merge pull request #47829 from Calinou/improve-crash-handler-displayHugo Locurcio
Improve crash handler message display
2021-08-24Merge pull request #52001 from floppyhammer/fix-window-decor-size-on-windowsMax Hilbrunner
Fix window decoration size on Windows
2021-08-23Fix window decoration size on Windowsfloppyhammer
2021-08-22Replace HTTP links with HTTPS for sites with HTTPS versionsAaron Franke
2021-08-16Add partial support for Android scoped storage.ne0fhyk
This is done by providing API access to app specific directories which don't have any limitations and allows us to bump the target sdk version to 30. In addition, we're also bumping the min sdk version to 19 as version 18 is no longer supported by Google Play Services and only account of 0.3% of Android devices.
2021-08-13Add input buffering frameworkPedro J. Estébanez
Input buffering is implicitly used by event accumulation, but this commit makes it more generic so it can be enabled for other uses. For desktop OSs it's currently not feasible given main and UI threads are the same).
2021-08-13Improve input event accumulationPedro J. Estébanez
- API has been simplified: all events now go through `parse_input_event()`. Whether they are accumulated or not depends on the `use_accumulated_input` flag. - Event accumulation is now thread-safe (it was not needed so far, but it prepares the ground for the following changes). - Touch drag events now support accumulation.
2021-08-13Upgrade Vulkan memory allocatorPedro J. Estébanez
2021-08-12Split windows platform export template into multiple filesSergey Minakov
2021-08-12Use "volk" instead of statically linked Vulkan loader.bruvzg
2021-08-10Use Key enum instead of plain integersAaron Franke
2021-08-06Fix vertical scroll/zoom for precision touchpadGeorg Wacker
Adds factor data for vertical mousewheel event, in line with horizontal mousewheel event
2021-08-01Windows: Fix build with SCons 4.2.0Rémi Verschelde
2021-07-25Remove unnecessary 'pass' statementluz paz
ref: https://lgtm.com/projects/g/godotengine/godot/?mode=tree&ruleFocus=910088
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-22Move `alert` function from `DisplayServer` to `OS`.bruvzg
2021-07-16Modernize Display server to use override keywordHendrik Brucker
2021-07-06Restructure and reimplement vsync optionsHendrik Brucker
-Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX -Removed the V-Sync via Compositor option
2021-07-06Merge pull request #39139 from ThakeeNathees/windows-err-to-stderrRémi Verschelde
Windows error logs directed to stderr