summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2022-09-24Merge pull request #66295 from bruvzg/win_fix_wm_char_keysymRémi Verschelde
[Windows] Fix WM_CHAR processing code using Unicode char instead of Virtual key.
2022-09-23SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` definesRémi Verschelde
- `_DEBUG` is MSVC specific so it didn't make much sense to define for Android and iOS builds. - iOS was the only platform to define `DEBUG`. We don't use it anywhere outside thirdparty code, which we usually don't intend to debug, so it seems better to be consistent with other platforms. - Consistently define `NDEBUG` to disable assert behavior in both `release` and `release_debug` targets. This used to be set for `release` for all platforms, and `release_debug` for Android and iOS only. - Due to the above, I removed the only use we made of `assert()` in Godot code, which was only implemented for Unix anyway, should have been `DEV_ENABLED`, and is in PoolAllocator which we don't actually use. - The denoise and recast modules keep defining `NDEBUG` even for the `debug` target as we don't want OIDN and Embree asserting all over the place.
2022-09-23[Windows] Fix WM_CHAR processing code using Unicode char instead of Virtual key.bruvzg
2022-09-21Merge pull request #65816 from bruvzg/proj_settings_missing_flagsRémi Verschelde
Add missing initial window flags and window mode to the project settings.
2022-09-19SCons: Refactor handling of `production` flag and per-platform LTO defaultsRémi Verschelde
Fixup to #63288. See #65583 for the bug report. Co-authored-by: Cyberrebell <chainsaw75@web.de>
2022-09-19Add missing initial window flags and window mode to the project settings.bruvzg
2022-09-18Merge pull request #65331 from derammo/derammo_natvis_3Rémi Verschelde
Add more data structures to Natvis for Visual Studio
2022-09-16Add get_distribution_name() and get_version() to OSMJacred
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP Co-authored-by: bruvzg
2022-09-16Merge pull request #65496 from MinusKube/popup-capture-mouse-bugRémi Verschelde
Fix MOUSE_MODE_CAPTURED not working correctly with popups
2022-09-14Merge pull request #65133 from bruvzg/win_cursorRémi Verschelde
[Windows] Simplify cursor handling and add support for fully transparent cursors.
2022-09-13Disable menus and functionality that are not relevant on the Android Editor portFredia Huya-Kouadio
2022-09-13Merge pull request #65509 from gotnospirit/master-os-get_datetimeRémi Verschelde
get_datetime_* functions can return wrong values
2022-09-13Merge pull request #65262 from bruvzg/win10_dmRémi Verschelde
Disable dark mode title bar on Windows 10.
2022-09-12Fix multiwindow support in GLES3 for X11, Windows, and MacOS.clayjohn
Instead of updating all viewports, then blitting all viewports to the backbuffer, then swapping all buffers, we run through all viewports and render, blit, and swap backbuffer before going to the next viewport.
2022-09-10Fixes #65377: get_datetime_* functions can return wrong valuesJames
2022-09-08Merge pull request #44118 from Calinou/windows-enable-ansi-escape-codesYuri Sizov
Enable ANSI escape code processing on Windows 10 and later
2022-09-08SCons: Refactor LTO options with `lto=<none|thin|full>`Rémi Verschelde
Adds support for LTO on macOS and Android. We don't have much experience with LTO on these platforms so for now we keep it disabled by default even when `production=yes` is set. Similarly for iOS where we ship object files for the user to link in Xcode so LTO makes builds extremely slow to link. `production=yes` defaults to full LTO. ThinLTO is much faster for LLVM-based compilers but seems to produce bigger binaries (at least for the Web platform).
2022-09-07Fix MOUSE_MODE_CAPTURED not working correctly with popupsMinusKube
2022-09-04added more data structures to Natvis for msdevderammo
can now debug signal_map and connections in Objects can now view more Variant types, such as packed arrays
2022-09-03Re-enable per-pixel transparency support on Linux, macOS, and Windows (for ↵bruvzg
Vulkan and OpenGL rendering drivers).
2022-09-03Disable dark mode title bar on Windows 10.bruvzg
2022-08-31Add support for system dark mode and accent color detection (macOS and ↵bruvzg
Windows). Add support for dark mode title bar on Windows.
2022-08-31[Windows] Simplify cursor handling and add support for fully transparent ↵bruvzg
cursors.
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
2022-08-27Merge pull request #64921 from bruvzg/win_armRémi Verschelde
[Windows] Improve build environment detection, add support for Windows on ARM.
2022-08-27Merge pull request #64507 from RandomShaper/remove_unusedRémi Verschelde
Remove unused `force_quit` variable from many OS abstractions
2022-08-27[Windows] Improve build environment detection, add support for Windows on ARM.bruvzg
2022-08-27Remove unused force_quit variable from many OS abstractionsPedro J. Estébanez
2022-08-26[macOS export] Simplify code signing options, add support for rcodesign tool ↵bruvzg
for signing and notarization.
2022-08-25Improve platform-specific READMEs to add useful linksHugo Locurcio
This also adds READMEs for all platforms.
2022-08-25Unify bits, arch, and android_arch into env["arch"]Aaron Franke
Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-14Refactor the export checking logic to improve separation of concernsFredia Huya-Kouadio
2022-08-10Enable ANSI escape code processing on Windows 10 and laterHugo Locurcio
This lets the engine and projects use the same color codes in the terminal on all platforms. This includes support for `print_rich()` (GDScript) and `print_line_rich()` (C++).
2022-08-06Only define `keep_screen_on` project setting onceRedMser
2022-08-05Implement `keep_screen_on` for WindowsRedMser
2022-07-31Visual Studio Natvis file works for Variant againderammo
2022-07-30Merge pull request #63563 from aaronfranke/export-archRémi Verschelde
2022-07-29Improve some export error messages.bruvzg
2022-07-29Update export dialog to handle many architecturesAaron Franke
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-27Merge pull request #62973 from bruvzg/sysfont_supportRémi Verschelde
2022-07-26Split up editor export code into multiple filesAaron Franke
2022-07-26Merge pull request #63096 from aaronfranke/exp-template-namesRémi Verschelde
2022-07-26Implement support for loading system fonts on Linux, macOS / iOS and Windows.bruvzg
2022-07-25Merge pull request #63459 from Kev/bigobj-for-msvc-releaseRémi Verschelde
2022-07-25Use bigobj for release MSVC buildsKevin Smith
Previously it was used only on debug builds, but recent additions to variant_call.cpp have made that unit too large even in release_debug. It was originally set to debug only because using it breaks mingw, so this only reinstates it for MSVC where it shouldn't have any drawbacks (famous last words). Test-Information: Builds for me with scons -j 40 platform=windows target=release_debug and my game then runs from it.
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-25Merge pull request #63219 from reduz/implement-vector4-projectionRémi Verschelde