summaryrefslogtreecommitdiffstats
path: root/platform/windows
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #57336 from bruvzg/win_con_redirRémi Verschelde2022-01-281-7/+15
|\
| * [Windows] Disable console I/O redirection, if it's already redirected to the ↵bruvzg2022-01-281-7/+15
| | | | | | | | pipe or file.
* | Fix MOUSE_MODE_CONFINED not updating area when full-screen is toggled or ↵bruvzg2022-01-281-0/+21
|/ | | | current screen is changed.
* Merge pull request #56785 from bruvzg/nat_handles_4Rémi Verschelde2022-01-272-0/+20
|\
| * Add support for getting native display, window, and view handles.bruvzg2022-01-142-0/+20
| |
* | Minor typo fixups to Windows console changesMax Hilbrunner2022-01-271-8/+8
| |
* | Merge pull request #56754 from madmiraal/fix-45592Rémi Verschelde2022-01-241-4/+0
|\ \
| * | Use mouse event relative motion to calculate mouse velocityMarcel Admiraal2022-01-131-4/+0
| |/
* | [Export] Instead of removing unsupported options, hide it.bruvzg2022-01-222-5/+12
| |
* | Window management improvements.bruvzg2022-01-181-2/+14
| | | | | | | | | | | | | | | | | | | | | | [macOS] Fix transient windows not working in the full-screen mode. [macOS] Fix moving transient windows to the other screen than parent window. [macOS] Fix popup menu switch on hover. [macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events). [macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected. [macOS/Windows] Fix moving fullscreen windows between the screens. Add auto refocusing of the parent window, when the focused transient window is closed. Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
* | Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde2022-01-175-158/+75
|\ \
| * | [Windows] Improve console handling and execute/create_process.bruvzg2021-12-185-158/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always build with the GUI subsystem. Redirect stdout and stderr output to the parent process console. Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`). Add `open_console` argument to the `execute` and `create_process` to open a new console window. Remove `interface/editor/hide_console_window` editor setting. Remove `Toggle System Console` menu option. Remove `set_console_visible` and `is_console_visible` functions.
* | | Merge pull request #56238 from madmiraal/fix-44178Rémi Verschelde2022-01-142-25/+19
|\ \ \ | | | | | | | | Fix Actions mapped to triggers not using the full range
| * | | Fix Actions mapped to triggers not using the full rangeMarcel Admiraal2022-01-142-25/+19
| | |/ | |/|
* / | Flush input events before destroying the windowYuri Roubinsky2022-01-141-0/+3
|/ /
* | Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde2022-01-111-4/+4
|\ \
| * | Rename speed to velocity when it's a directional VectorMarcel Admiraal2021-12-291-4/+4
| | |
* | | Merge pull request #56497 from Pineapple/qpc-tweaksRémi Verschelde2022-01-081-11/+6
|\ \ \ | | | | | | | | Windows: Simplify QueryPerformanceCounter usage
| * | | Windows: Simplify QueryPerformanceCounter usageBartłomiej T. Listwon2022-01-051-11/+6
| | | |
* | | | Windows input: Fix wrong OEM key, add missing keysMax Hilbrunner2022-01-051-120/+197
|/ / /
* | | Update copyright statements to 2022Rémi Verschelde2022-01-0323-46/+46
| | | | | | | | | | | | Happy new year to the wonderful Godot community!
* | | Fix cursor stucking in resize shapeYuri Roubinsky2021-12-281-20/+14
|/ /
* / Fix initialising of gl_manager and checking gl_manager and context_vulkan ↵Bastiaan Olij2021-12-182-18/+19
|/ | | | preventing crash issues.
* Merge pull request #55966 from bruvzg/wt💩4Rémi Verschelde2021-12-163-3/+18
|\
| * [Windows] Detect new Windows Terminal and disable unsupported ↵bruvzg2021-12-153-3/+18
| | | | | | | | set_console_visible code.
* | Fixed detecting the Valve Streaming GamepadSam Lantinga2021-12-161-2/+4
|/ | | | Fixed the GUID, and compare the contents of the GUID, not just the pointers
* [Windows] Open a new console window for the editor instances.bruvzg2021-12-141-0/+3
|
* Misc build system fixesAaron Franke2021-12-101-1/+1
|
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-093-19/+19
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Fix console colors on WindowsYuri Roubinsky2021-11-262-3/+3
|
* Restore console window output for editor app on WindowsYuri Roubinsky2021-11-251-2/+12
|
* Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-2/+2
|
* Merge pull request #55072 from KoBeWi/untitled_goose_projectRémi Verschelde2021-11-181-1/+1
|\
| * Fix data directory of unnamed projectskobewi2021-11-181-1/+1
| |
* | Windows: Use `/bigobj` only for debug builds, breaks GCC LTORémi Verschelde2021-11-181-2/+6
|/ | | | | | | | 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.
* Use "enum class" for input enumsAaron Franke2021-11-125-319/+319
|
* Merge pull request #54837 from akien-mga/windows-bigobjRémi Verschelde2021-11-101-2/+4
|\
| * Windows: Enable `/bigobj` to increase max size for obj filesRémi Verschelde2021-11-101-2/+4
| | | | | | | | | | | | | | | | 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).
* | Windows: Fix compilation warnings with GCC 11.2.1Rémi Verschelde2021-11-102-3/+5
|/
* Fix dwFlags on CreateProcessW callsWoLfulus2021-11-041-2/+2
|
* Use OpenGL 3.3 core profile instead of compatibility profileClay John2021-10-316-284/+58
| | | | | | | | | | - 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.
* Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio2021-10-306-44/+42
| | | | | - Use lowercase driver names for the `--rendering-driver` command line argument.
* Add GLES2 2D renderer + Linux display managerlawnjelly2021-10-308-38/+514
| | | | | | | | | 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>
* Update Time documentationAaron Franke2021-10-282-8/+10
|
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-9/+9
| | | | | | | | | 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`.
* SCons: Set `DEBUG_ENABLED` and `DEV_ENABLED` in SConstructRémi Verschelde2021-10-151-6/+0
| | | | | They're the same for all platforms so they don't need to be repeated in all platform definitions.
* Fix specific warnings issues by ClangK. S. Ernest (iFire) Lee2021-10-141-1/+1
| | | | Found by `scons dev=yes` on llvm-mingw.
* SCons: Add `DEV_ENABLED` defines for `target=debug` buildsRémi Verschelde2021-10-141-0/+2
| | | | | | | | | | | 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.
* Implement get_cache_path() for iOS, and improve it for Android and WindowsPedro J. Estébanez2021-10-091-10/+19
|
* Change dragging cursor on Windowskobewi2021-10-061-1/+1
|