aboutsummaryrefslogtreecommitdiff
path: root/platform/windows (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add GLES 2 renderer for 2Dkarroffel2018-03-011-0/+1
| | | | | | | | This commit adds a new rendering backend, GLES2, and adds a project setting to enable it. Currently this backend can only be used on the X11 platform, but integrating into other platforms is planned.
* Fixed Windows ignoring minimized/maximized status set by userMarcelo Fernandez2018-02-261-1/+10
|
* Refactor version macros and fix related bugsRémi Verschelde2018-02-231-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix typos with codespellluz.paz2018-02-211-2/+2
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Link bcrypt lib in window and UWPFabio Alessandrelli2018-02-201-2/+2
|
* Merge pull request #16696 from BTaskaya/masterRémi Verschelde2018-02-191-3/+3
|\ | | | | PEP3101 applied with changing old type string formatting as new ones
| * PEP3101 applied with changing old type string formatting as new onesBTaskaya2018-02-141-3/+3
| |
* | Windows: Fix case of imm32 for case-sensitive MinGW buildRémi Verschelde2018-02-151-2/+2
|/ | | | Fixes #16713.
* Merge pull request #15564 from RandomShaper/adpod-topmostRémi Verschelde2018-02-142-0/+21
|\ | | | | Add new window setting: always on top
| * Add new window setting: always on topPedro J. Estébanez2018-01-052-0/+21
| | | | | | | | Implemented for Windows and Linux.
* | Merge pull request #15864 from GodotExplorer/pr-get_unique_id-desktop-implRémi Verschelde2018-02-143-2/+24
|\ \ | | | | | | Implement more methods for OS on Desktop platforms
| * | Windows: implement OS.get_unique_id and OS.set_ime_positiongeequlim2018-01-313-2/+24
| | |
* | | Added OS::center_window to center the window precisely on desktop platformsMarcelo Fernandez2018-02-122-0/+7
|/ /
* | Implement OS::get_processor_count() for WindowsHein-Pieter van Braam2018-01-292-0/+33
| | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #16081 from djgaspa/dll-directoryRémi Verschelde2018-01-271-2/+2
|\ \ | | | | | | Fix remove_dll_directory crash when cookie is null
| * | Fix remove_dll_directory crash when cookie is nulldjgaspa2018-01-261-2/+2
| | |
* | | Make separate debug symbols opt-inHein-Pieter van Braam2018-01-262-1/+2
|/ / | | | | | | | | | | | | 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.
* | Fix horizontal scroll for windows platformbinbitten2018-01-201-1/+1
| |
* | sorry, accidentally pressed delete before commiting.Juan Linietsky2018-01-101-1/+2
| |
* | Added middle button doubleclick, fixes #15567Juan Linietsky2018-01-101-1/+7
|/
* SCons: Fix usage of LD when we meant LINKRémi Verschelde2018-01-051-1/+1
| | | | | | | 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.
* Forced set mouse global position always, hopefully will fix #15354, ↵Juan Linietsky2018-01-051-0/+1
| | | | otherwise out of luck.
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0516-0/+16
| | | | | | 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.
* Add support from properly exporting shared objects, needed for GDNative exportJuan Linietsky2018-01-041-2/+9
|
* Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond2018-01-042-5/+7
|
* Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursorRémi Verschelde2018-01-032-1/+119
|\ | | | | Custom hardware-accelerated mouse cursor
| * Add implementation for custom hardware cursorGuilherme Silva2017-12-172-1/+119
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-0121-42/+42
| | | | | | | | Happy new year to the wonderful Godot community!
* | Improve LTO build with MSVCGeorge Marques2017-12-311-1/+5
| |
* | -Removed OpenMP support, replaced by a custom class.Juan Linietsky2017-12-241-5/+0
| | | | | | | | -Disabled Opus, implementation is wrong.
* | Do not require OpenMP for non-tools builds (export templates)Rémi Verschelde2017-12-221-2/+2
|/
* Add support for whole program optimization on MSVCGeorge Marques2017-12-161-0/+3
| | | | Since it's similar to LTO, it can be enabled by setting use_lto=yes.
* Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.Juan Linietsky2017-12-162-5/+5
| | | | Call needs to be routed via visual server to reach the proper thread.
* Rename the debug symbol files to .debugsymbolsHein-Pieter van Braam2017-12-161-2/+2
| | | | Some users were confused by the '.debug' suffix for the symbols.
* Merge pull request #14708 from Faless/get_packet_not_const_rebasedRémi Verschelde2017-12-168-1086/+5
|\ | | | | Remove "const" from PacketPeer get_packet/get_var, move windows network related stuff to drivers
| * Move windows networking class to drivers/windows/Fabio Alessandrelli2017-12-158-1086/+5
| | | | | | | | | | Also rename stream_peer_winsock.* to stream_peer_tcp_winsock.* and StreamPeerWinsock to StreamPeerTCPWinsock.
| * Remove "const" from PacketPeer get_packet/get_varFabio Alessandrelli2017-12-152-7/+7
| | | | | | | | | | | | 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.
* | Fix 32bit MingW build for thekla_altasHein-Pieter van Braam2017-12-151-1/+1
|/
* Remove debug printf on WindowsRémi Verschelde2017-12-151-2/+0
|
* Fix type mismatch in OS::set_borderless_windowRémi Verschelde2017-12-142-2/+2
| | | | Closes #14663.
* Added indent_style to editorconfig, fixed inconsistent use of tabs and ↵Colin Kinloch2017-12-141-5/+5
| | | | spaces in indentation.
* -Add lightmapperJuan Linietsky2017-12-143-0/+13
| | | | | | -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)
* Use MinGW specific binutils for debug symbols separationbruvzg2017-12-111-3/+8
|
* Merge pull request #14434 from Smjert/fix/13447/vsyncRémi Verschelde2017-12-091-0/+2
|\ | | | | Fixes vsync setting ignored when using a separate thread for rendering
| * Fixes vsync setting ignored when using a separate thread for renderingStefano Bonicatti2017-12-091-0/+2
| | | | | | | | | | | | | | | | | | 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
* | Windows export: Use WINE to run rcedit on non-Windows hostRémi Verschelde2017-12-091-8/+36
| | | | | | | | | | | | | | WINE can be either run from a provided path ("export/windows/wine"), or looked up in the system PATH. Fixes #14441.
* | Merge pull request #14437 from vnen/rceditRémi Verschelde2017-12-091-1/+97
|\ \ | |/ |/| Call rcedit on export for Windows desktop
| * Call rcedit on export for Windows desktopGeorge Marques2017-12-091-1/+97
| | | | | | | | | | | | - 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.)
* | Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-072-6/+8
| |
* | Fix windows compilation when using MinGWMrCdK2017-12-071-1/+1
| |