summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2018-02-23Refactor version macros and fix related bugsRémi Verschelde
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were several places hardcoding their own variant of the version string, potentially with bugs (e.g. forgetting the patch number when defined). The new logic defines: - VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1) - VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch', depending on whether the latter is defined (e.g. 3.1.4) - VERSION_FULL_CONFIG, which contains the version status (e.g. stable) and the module-specific suffix (e.g. mono) - VERSION_FULL_BUILD, same as above but with build/reference name (e.g. official, custom_build, mageia, etc.) Note: Slight change here, as the previous format had the build name *before* the module-specific suffix; now it's after - VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed with "Godot v" for readability Bugs fixed thanks to that: - Export templates version matching now properly takes VERSION_PATCH into account by relying on VERSION_FULL_CONFIG. - ClassDB hash no longer takes the build name into account, but limits itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant for the API hash). - Docs XML no longer hardcode the VERSION_STATUS, this was annoying. - Small cleanup in Windows .rc file thanks to new macros.
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-20Link bcrypt lib in window and UWPFabio Alessandrelli
2018-02-19Merge pull request #16696 from BTaskaya/masterRémi Verschelde
PEP3101 applied with changing old type string formatting as new ones
2018-02-15Windows: Fix case of imm32 for case-sensitive MinGW buildRémi Verschelde
Fixes #16713.
2018-02-14PEP3101 applied with changing old type string formatting as new onesBTaskaya
2018-02-14Merge pull request #15564 from RandomShaper/adpod-topmostRémi Verschelde
Add new window setting: always on top
2018-02-14Merge pull request #15864 from GodotExplorer/pr-get_unique_id-desktop-implRémi Verschelde
Implement more methods for OS on Desktop platforms
2018-02-12Added OS::center_window to center the window precisely on desktop platformsMarcelo Fernandez
2018-01-31Windows: implement OS.get_unique_id and OS.set_ime_positiongeequlim
2018-01-29Implement OS::get_processor_count() for WindowsHein-Pieter van Braam
Current this is hardcoded as '1' for any platform except Unix. The little is_wow64() dance is required to get correct output on a 32bit compiled godot running on 64bit Windows according to MSDN. This code should be UWP safe but I have no way to test that so it's not implemented for UWP yet.
2018-01-27Merge pull request #16081 from djgaspa/dll-directoryRémi Verschelde
Fix remove_dll_directory crash when cookie is null
2018-01-26Make separate debug symbols opt-inHein-Pieter van Braam
This adds a separate_debug_symbols option to the x11, windows, and osx targets. This will default to adding normal debugging symbols to the artifacts and only splits them when separate_debug_symbols=yes on the Scons command line.
2018-01-26Fix remove_dll_directory crash when cookie is nulldjgaspa
2018-01-20Fix horizontal scroll for windows platformbinbitten
2018-01-10sorry, accidentally pressed delete before commiting.Juan Linietsky
2018-01-10Added middle button doubleclick, fixes #15567Juan Linietsky
2018-01-05Add new window setting: always on topPedro J. Estébanez
Implemented for Windows and Linux.
2018-01-05SCons: Fix usage of LD when we meant LINKRémi Verschelde
Also made LINK and CXXFLAGS configurable as command line options. Note that LINK currently expects the *compiler* that will be used for linking and will call its configured linker behind the scenes (so g++, clang++, etc., not ld.gold). See #15364 for details.
2018-01-05Forced set mouse global position always, hopefully will fix #15354, ↵Juan Linietsky
otherwise out of luck.
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Add support from properly exporting shared objects, needed for GDNative exportJuan Linietsky
2018-01-04Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond
2018-01-03Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursorRémi Verschelde
Custom hardware-accelerated mouse cursor
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-31Improve LTO build with MSVCGeorge Marques
2017-12-24-Removed OpenMP support, replaced by a custom class.Juan Linietsky
-Disabled Opus, implementation is wrong.
2017-12-22Do not require OpenMP for non-tools builds (export templates)Rémi Verschelde
2017-12-17Add implementation for custom hardware cursorGuilherme Silva
2017-12-16Add support for whole program optimization on MSVCGeorge Marques
Since it's similar to LTO, it can be enabled by setting use_lto=yes.
2017-12-16Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.Juan Linietsky
Call needs to be routed via visual server to reach the proper thread.
2017-12-16Rename the debug symbol files to .debugsymbolsHein-Pieter van Braam
Some users were confused by the '.debug' suffix for the symbols.
2017-12-16Merge pull request #14708 from Faless/get_packet_not_const_rebasedRémi Verschelde
Remove "const" from PacketPeer get_packet/get_var, move windows network related stuff to drivers
2017-12-15Fix 32bit MingW build for thekla_altasHein-Pieter van Braam
2017-12-15Move windows networking class to drivers/windows/Fabio Alessandrelli
Also rename stream_peer_winsock.* to stream_peer_tcp_winsock.* and StreamPeerWinsock to StreamPeerTCPWinsock.
2017-12-15Remove "const" from PacketPeer get_packet/get_varFabio Alessandrelli
They are NOT constant methods, as state by the comment message, they fetch the last packet and then forget about it, actively changing the state of the object.
2017-12-15Remove debug printf on WindowsRémi Verschelde
2017-12-14Fix type mismatch in OS::set_borderless_windowRémi Verschelde
Closes #14663.
2017-12-14Added indent_style to editorconfig, fixed inconsistent use of tabs and ↵Colin Kinloch
spaces in indentation.
2017-12-14-Add lightmapperJuan Linietsky
-Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)
2017-12-11Use MinGW specific binutils for debug symbols separationbruvzg
2017-12-09Merge pull request #14434 from Smjert/fix/13447/vsyncRémi Verschelde
Fixes vsync setting ignored when using a separate thread for rendering
2017-12-09Windows export: Use WINE to run rcedit on non-Windows hostRémi Verschelde
WINE can be either run from a provided path ("export/windows/wine"), or looked up in the system PATH. Fixes #14441.
2017-12-09Merge pull request #14437 from vnen/rceditRémi Verschelde
Call rcedit on export for Windows desktop
2017-12-09Call rcedit on export for Windows desktopGeorge Marques
- Add an editor setting to read the rcedit path. - Add settings to the export preset with icon and other exe information (version, name, copyright, etc.)
2017-12-09Fixes vsync setting ignored when using a separate thread for renderingStefano Bonicatti
Setting the vsync in the main thread, after the rendering thread starts and takes the OpenGL context fails, so we need to do that before. Also, for some reason, the main thread cannot make current the context anymore. Fixes #13447
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-07Fix windows compilation when using MinGWMrCdK
2017-12-07Use run-time dynamic linking for AddDllDirectory and RemoveDllDirectory to ↵bruvzg
support mingw-w64 build and Windows 7 with KB2533623.
2017-12-06Remove guards for the now targeted Windows 7+Pedro J. Estébanez