Yufeng Ying
34d8255947
Force build editor with regex module, remove checking code.
...
Fix include.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +07:00
Pāvels Nadtočajevs
7f0b4e58b0
Implement `DisplayServer.window_start_resize`.
2025-01-07 07:58:02 +07:00
Rémi Verschelde
bd56e811f3
Merge pull request #101015 from bruvzg/si_fix_empty_tt
...
[Windows] Fix StatusIndicator crash with empty tooltip (and few other similar unsafe `ptr()` uses).
2025-01-07 00:45:11 +07:00
Rémi Verschelde
cc32e46360
Merge pull request #101135 from Hilderin/fix-embedding-not-working-intermittently
...
Fix embedding failing intermittently
2025-01-06 22:49:05 +07:00
Rémi Verschelde
881d4bd9ee
Merge pull request #100960 from buresu/fix-windows-keymapping
...
Fix incorrect Unicode key mapping on Windows
2025-01-06 22:48:09 +07:00
Rémi Verschelde
11f95e7feb
Merge pull request #99350 from bruvzg/fs_mime
...
Support MIME types in file dialog filters on macOS and Linux.
2025-01-06 22:46:59 +07:00
Hilderin
2f061df7b0
Fix embedding not working intermittently
2025-01-06 08:04:57 +07:00
Pāvels Nadtočajevs
e1f129cb52
Support MIME types in file dialog filters on macOS and Linux.
2025-01-04 22:05:35 +07:00
Ricardo Subtil
b77aa473a1
Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization
2025-01-03 10:50:15 +07:00
Marcelo Vilas Boas Correa Filho
3bb2309f6b
Feature adding Windows native menu close callback
2025-01-02 10:52:09 +07:00
bruvzg
663b90da61
[Windows] Fix StatusIndicator crash with empty tooltip (and few other similar unsafe `ptr()` uses).
2025-01-02 10:07:02 +07:00
Naoto Kondo
8c7319459b
Fix incorrect Unicode key mapping on Windows
2025-01-02 04:31:49 +07:00
Rémi Verschelde
a11364d1e6
Merge pull request #99010 from Hilderin/embedding-game-process
...
Embed game process in editor
2024-12-20 23:56:43 +07:00
Thaddeus Crews
95b00295fb
Merge pull request #96447 from Repiteo/scons/clang-cl-compile_commands
...
SCons: Set appropriate prefix when using clang-cl
2024-12-19 19:59:45 +07:00
Thaddeus Crews
9300c2bdc9
Merge pull request #100400 from CrabNickolson/windows-thread-names
...
Add support for thread naming on windows platform
2024-12-19 19:59:41 +07:00
Hilderin
9d2a4c03be
Embedding game process in editor
2024-12-18 17:52:42 +07:00
Pāvels Nadtočajevs
a0300532b5
[Windows, LLVM] Fix `colorize` flag.
2024-12-18 21:00:32 +07:00
Rémi Verschelde
4e46e8beb7
Merge pull request #100464 from bruvzg/start_drag_port
...
Implement `window_start_drag` on Windows and Linux.
2024-12-18 00:39:56 +07:00
Fredia Huya-Kouadio
2d3f6963b2
Update the visibility for the custom templates for all platforms
...
Hide the custom template options behind the `Advanced Options` toggle
2024-12-17 13:08:47 +07:00
Pāvels Nadtočajevs
293be04ec8
Implement `window_start_drag` on Windows and Linux.
2024-12-17 16:49:27 +07:00
Thaddeus Crews
7254761a46
Merge pull request #98861 from MJacred/get_joypad_infos_on_windows
...
Get joypad's vendor ID, product ID and name on Windows for XInput devices.
2024-12-16 12:09:44 +07:00
MJacred
01a2726c59
Get joypad's vendor ID, product ID, and name on Windows
2024-12-15 23:59:11 +07:00
Hugo Locurcio
928982891e
Add `OS.get_version_alias()` to return a human-readable Windows/macOS version number
...
Windows 11's major version number is actually 10.x.x, which can be confusing
if you don't know about this quirk. `OS.get_version_alias()` avoids this
by displaying the "branding" version number and the build number as a suffix,
so that individual updates can still be distinguished from each other.
On macOS, `OS.get_version_alias()` returns the version number prepended
with the version name (e.g. Sequoia for macOS 15).
On other operating systems, this returns the same value as `OS.get_version()`.
2024-12-14 18:47:50 +07:00
Ramón Grill
d848835f8c
Add support for thread naming on windows platform
2024-12-14 14:42:39 +07:00
Rémi Verschelde
f86b3696f6
SCons: Properly set SSE2 as baseline on x86_32
...
Setting it only for release templates on Windows and macOS was inconsistent,
and Jolt requires it as a minimum.
Drop the `-mxsave` flag from the raycast module, this doesn't seem to be
used explicitly by Embree, and unnecessarily makes our config and baseline
muddy.
2024-12-12 22:44:44 +07:00
Thaddeus Crews
4a1a7addd1
Merge pull request #100179 from zaevi/fix_transient_topmost
...
[Windows & macOS] Fix popup window shows behind `always_on_top` parent.
2024-12-11 17:35:53 +07:00
Pāvels Nadtočajevs
a8c8eca74a
[Windows] Fix loading debug symbol files over 2GB.
2024-12-11 17:42:47 +07:00
Thaddeus Crews
69c67ede17
Merge pull request #88950 from bruvzg/excap
...
[macOS, Windows] Add support for excluding windows from a screenshot.
2024-12-10 14:16:10 +07:00
Thaddeus Crews
3cb8419703
Merge pull request #100207 from bruvzg/mingw_dbg
...
[Windows] Fix MinGW debug symbols.
2024-12-10 14:16:06 +07:00
Thaddeus Crews
6cbf7c77c2
Merge pull request #100150 from ArchercatNEO/homeless-export
...
Use temp dirs instead of cache dirs for export
2024-12-10 14:15:54 +07:00
bruvzg
9fece033ab
[macOS, Windows] Add support for excluding windows from a screenshot.
2024-12-10 11:00:13 +07:00
Thaddeus Crews
a607bca2fd
Merge pull request #100024 from Ivorforce/optimize-string-single-char
...
Optimize string single char contains calls.
2024-12-09 14:33:24 +07:00
Zae
2211b1bf91
Fix popup shows behind always_on_top parent.
2024-12-10 01:35:25 +07:00
bruvzg
404383e161
[Windows] Fix MinGW debug symbols.
2024-12-09 18:54:07 +07:00
ArchercatNEO
00a791f04e
Use temp dirs instead of cache dirs for export
...
Fixes #95897
During CI scenarios $HOME may be set to an invalid value (such as
`/var/empty`).
Using temp dirs fits better with godot's usage of these paths and is
independent from the user's $HOME.
2024-12-08 12:07:17 +07:00
Lukas Tenbrink
b5c31ebb41
Add contains_char() for single-character 'contains' calls.
2024-12-06 20:23:35 +07:00
Ross Rothenstine
35faf99755
windows: Fix underflow before delay_usec
2024-12-04 23:54:53 +07:00
Hilderin
a80eb8c503
Fix Inspector tooltips are blinking
2024-12-03 17:25:36 +07:00
Thaddeus Crews
1719f8ed3d
Merge pull request #99834 from kiroxas/passLengthToParseUTF8
...
Ensure `parse_utf8` has length of string passed in when available
2024-12-03 14:41:06 +07:00
Thaddeus Crews
156bc92282
Merge pull request #98397 from adamscott/add-tmp-support
...
Add temp utilities (alias `OS::get_temp_dir()`, `FileAccess::create_temp()`, and `DirAccess::create_temp()`)
2024-12-03 14:40:59 +07:00
Pāvels Nadtočajevs
84650f2018
Implement `DisplayServer.beep`.
2024-12-03 12:43:26 +07:00
Adam Scott
1b3e483899
Add file and dir temporary utilities
...
Co-authored by @Alex2782 for the Android bindings.
Many thanks to the reviewers also.
Co-authored-by: Alex <alex.hart.278@gmail.com>
2024-12-02 12:08:14 +07:00
Rémi Verschelde
aab12fd273
Merge pull request #99652 from bruvzg/fd_cd_win
...
[Windows] Fix root and current folder in native file dialog.
2024-12-02 17:20:27 +07:00
Rémi Verschelde
60e1490df1
Merge pull request #99644 from bruvzg/fd_all_name
...
Change file dialog all files filter name from `All Files (*)` to `All Files (*.*)`.
2024-12-02 17:20:23 +07:00
Rémi Verschelde
47f71f66c1
Merge pull request #98631 from bruvzg/fix_fs_restore
...
[Windows] Fix restoring fullscreen window.
2024-12-02 17:20:02 +07:00
Rémi Verschelde
57e504ca42
Merge pull request #98582 from bruvzg/win_btn_count
...
Remove button number limit from Windows `dialog_show()` implementation.
2024-12-02 17:19:52 +07:00
Kiro
83d4bde0a2
When calling code has length of string, pass it to parse_utf8
2024-12-01 08:31:22 +07:00
Hei
b045523d58
Add the missing getter for sharp window corners
2024-11-30 19:24:25 +07:00
mrsaturnsan
b57ceefec1
[Windows] Improve frame pacing by busy waiting as needed
2024-11-29 14:04:18 +07:00
Thaddeus Crews
127738c08b
Merge pull request #99387 from 0x0ACB/direct_composition
...
Use direct composition for d3d12 backend
2024-11-26 13:04:53 +07:00
Thaddeus Crews
0045b1a513
Merge pull request #98862 from HuntJSparra/early-projsettings-registration
...
Register Engine, OS, ProjectSettings, and Time singletons in time for for `INITIZATION_LEVEL_CORE`
2024-11-26 13:04:51 +07:00
0x0ACB
a8cd0e9677
Use direct composition for d3d12 backend
2024-11-26 10:28:40 +07:00
Thaddeus Crews
0d88737a9f
Merge pull request #99542 from bruvzg/stdin_str
...
Convert line breaks to `\n` and strip line break from the end of string returned by `OS::read_string_from_stdin`/`OS::get_stdin_string`.
2024-11-25 13:22:30 +07:00
Thaddeus Crews
fc6c8bb982
Merge pull request #99688 from akien-mga/revert-99178
...
Revert "Make `delay_usec` more precise on Windows to fix framepacing"
2024-11-25 13:22:24 +07:00
Rémi Verschelde
8e1a6ea431
Revert "Make delay_usec more precise"
...
This reverts commit df3367f334 .
Fixes #99593 .
2024-11-25 19:43:21 +07:00
bruvzg
e0b4f3d314
[Windows] Fix root and current folder in native file dialog.
...
Co-authored-by: RedMser <redmser.jj2@gmail.com>
2024-11-25 15:00:25 +07:00
Pāvels Nadtočajevs
1d43fa9a64
Change file dialog all files filter name from `All Files (*)` to `All Files(*.*)`.
2024-11-24 20:09:05 +07:00
Pāvels Nadtočajevs
e9b57fce82
Convert line breaks to `\n` and strip line break from the end of string returned by `OS::read_string_from_stdin`/`OS::get_stdin_string`.
2024-11-23 15:11:50 +07:00
bruvzg
24d51f7635
[Windows] Fix TTS events arriving out of order.
2024-11-22 11:10:37 +07:00
Hunt J. Sparra
48fbe4172b
Register Engine, OS, ProjectSettings, and Time early.
2024-11-21 18:09:03 +07:00
Thaddeus Crews
449d90b64e
Merge pull request #99178 from mrsaturnsan/windows_sleep_precision
...
Make `delay_usec` more precise on Windows to fix framepacing
2024-11-18 09:23:50 +07:00
Thaddeus Crews
1dcb686325
Merge pull request #99026 from Faless/net/split_ip
...
[Net] Split Unix/Windows IP implementation
2024-11-18 09:23:43 +07:00
bruvzg
8bb3e5360e
Disable Nahimic code injection.
2024-11-18 13:00:55 +07:00
mrsaturnsan
df3367f334
Make delay_usec more precise
...
Comment fix
2024-11-16 09:15:46 +07:00
Thaddeus Crews
d9b458d4b0
Merge pull request #99280 from bruvzg/win32_build_fix
...
Fix 32-bit Windows build.
2024-11-15 10:42:41 +07:00
Pāvels Nadtočajevs
287b7543a0
Fix 32-bit Windows build.
2024-11-15 15:49:08 +07:00
Pāvels Nadtočajevs
f5fad7592f
Use processed filter list for native dialogs.
2024-11-15 12:08:33 +07:00
Thaddeus Crews
ddb2073c5c
Merge pull request #95972 from Hilderin/fix-mouse-move-over-unfocused-window
...
Fix mouse move over an unfocused window
2024-11-13 08:34:30 +07:00
Yevhen Babiichuk (DustDFG)
216488ad9b
Delete old unused code for VS project generation
...
Also ensured that sorting of files for hashing actually happens
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-12 21:26:12 +07:00
Thaddeus Crews
179321a0a3
Merge pull request #91201 from bruvzg/con_type
...
[OS] Add functions to determine standard I/O device type.
2024-11-12 12:13:12 +07:00
Thaddeus Crews
190670d16b
Merge pull request #99107 from RandomShaper/win_less_inheritance
...
Windows: Avoid child processes inheriting all file handles
2024-11-12 12:13:06 +07:00
Fabio Alessandrelli
168a2a1466
[Net] Split Unix/Windows IP implementation
2024-11-12 17:33:47 +07:00
Thaddeus Crews
316293ecc2
Merge pull request #99042 from Repiteo/windows/natvis-improvements
...
Windows: Expand `godot.natvis` type coverage
2024-11-12 09:28:05 +07:00
Thaddeus Crews
cb286da1dd
Merge pull request #99112 from bruvzg/get_model_name
...
Implement `get_model_name` on macOS and Windows.
2024-11-12 09:27:52 +07:00
Thaddeus Crews
1cbe9715ea
Merge pull request #98969 from Faless/net/split_sockets
...
[Net] Split Unix/Windows NetSocket implementation
2024-11-12 09:27:40 +07:00
Pedro J. Estébanez
7fcf3c491d
Windows: Avoid child processes inheriting all file handles
2024-11-12 12:25:28 +07:00
Pāvels Nadtočajevs
a6dfd1cf6e
Implement `get_model_name` on macOS and Windows.
2024-11-12 10:34:24 +07:00
Thaddeus Crews
9bf628891a
Windows: Expand `godot.natvis` type coverage
2024-11-11 13:47:14 +07:00
Thaddeus Crews
1789ad37bd
Merge pull request #98961 from mihe/natvis-improvements
...
Add `Ref` and `HashSet` to `godot.natvis`
2024-11-10 12:12:21 +07:00
Fabio Alessandrelli
0c620b29cd
[Net] Split Unix/Windows NetSocket implementation
2024-11-10 16:13:50 +07:00
Rémi Verschelde
6d326547da
Windows: Fix duplicate .exe extension with mingw on Linux/macOS
...
This old hack is no longer needed and now wrong after #98105 .
Fixes #98967 .
2024-11-08 16:46:35 +07:00
Mikael Hermansson
9b7c14718b
Add `Ref` and `HashSet` to `godot.natvis`
2024-11-08 14:37:43 +07:00
Thaddeus Crews
fa65b70494
Merge pull request #98105 from Repiteo/scons/mingw-shenanigans
...
SCons: Extend `MinGW` support & checks
2024-11-07 12:36:32 +07:00
bruvzg
76164c2aa9
[OS] Add functions to determine standard I/O device type.
2024-11-06 13:33:38 +07:00
bruvzg
fdde7713a8
Fix IME deactivation events not send on focus loss. Do not unset AltGr modifiers in non-IME input.
2024-11-06 09:47:26 +07:00
Thaddeus Crews
6071c7cd3b
Merge pull request #97250 from Garetonchick/windows-drag-and-drop-fix
...
Windows: Fix dragging and dropping files from compressed files into editor
2024-11-05 18:36:07 +07:00
Thaddeus Crews
bb5f390fb9
Style: Apply `clang-tidy` fixes (superficial)
...
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 +07:00
Anish Mishra
0dfd18c84b
[DisplayServer] Add feature flag for native file dialog access to `user/res` and `options`
2024-10-30 14:13:43 +07:00
Thaddeus Crews
05a4620e88
Merge pull request #98615 from Summersay415/three-opengls-please
...
Fix fallbacks to OpenGL
2024-10-29 19:25:48 +07:00
Thaddeus Crews
b7a0971ad2
Merge pull request #97934 from adamscott/give-AThousandShips-a-break
...
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
2024-10-29 19:25:36 +07:00
bruvzg
bf9f78c353
[Windows] Fix restoreing fullscreen window.
2024-10-29 09:32:49 +07:00
Summersay415
6d14cd6ff9
Fix fallbacks to OpenGL
2024-10-28 22:57:19 +07:00
bruvzg
335b42d437
Remove button number limit from Windows dialog_show() implementation.
2024-10-27 16:54:03 +07:00
Thaddeus Crews
07e759b74a
Merge pull request #97771 from dsnopek/openxr-linux-egl
...
OpenXR: Add support for Wayland on Linux
2024-10-25 13:04:08 +07:00
Thaddeus Crews
17f06f6dae
Merge pull request #97555 from dustdfg/platform_methods/extract_validate_arch
...
Build System: Extract `validate_arch` helper functions
2024-10-25 13:03:48 +07:00
Adam Scott
0d350e7108
Set clang-format `RemoveSemicolon` rule to `true`
...
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 +07:00
Thaddeus Crews
14d201ab54
Merge pull request #97556 from dustdfg/platforms/windows_detect_extract_common_checks
...
Extract common check functions in windows_detect.py file
2024-10-24 13:22:40 +07:00
Garetonchick
2bd759964e
fix drag-and-drop in windows
2024-10-24 19:43:30 +07:00
Thaddeus Crews
9968828913
SCons: Set appropriate prefix when using clang-cl
2024-10-24 10:22:32 +07:00
dan
403e53e1d3
Fix window exiting with no message to user if _create_window fails
2024-10-21 17:31:30 +07:00