summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2016-11-03scons: Reorder options for clarityRémi Verschelde
Also prefix all thirdparty-related toggles with `builtin`.
2016-11-01style: Various other PEP8 fixes in Python filesRémi Verschelde
Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
2016-11-01style: Fix PEP8 blank lines issues in Python filesRémi Verschelde
Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
2016-10-30TCP/UDP Listen sockets can now be set to IPv6 onlyFabio Alessandrelli
2016-10-30Fix windows debugger connection problems.Fabio Alessandrelli
Unify network socket creation between platform. Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
2016-10-30TCPServer listen now default to IP type ANY (v6 socket with v4 support)Fabio Alessandrelli
2016-10-28Merge pull request #6937 from ↵George Marques
SuperUserNameMan/fix_win_standalone_msvc_and_mingw_incompatibilities fix bug introduced by #6501
2016-10-26fix bug introduced by #6501yg2f
( @Akien : this PR is for current HEAD only, not to be cherry-picked for 2.1.1 ) this is manual revertion of #6501 which introduced a bug that prevented scons from detecting Mingw under Windows when MSVC was installed. (thanks to @vnen for finding this) AND it fixes the actual bug that prevented scons from detecting MSVC standalone compiler ( a confusions between ``VSINSTALLDIR`` and ``VCINSTALLDIR`` ) The freeware Standalone MSVC C++ Build Tools are available here : http://landinghub.visualstudio.com/visual-cpp-build-tools
2016-10-26Fix PacketPeerUDP get_packet_port()Fabio Alessandrelli
Properly convert port field from network to system ordering on incoming packets.
2016-10-26Merge pull request #6925 from godotengine/ipv6Rémi Verschelde
Adding IPv6 support
2016-10-26Pass correct address size (ipv4,ipv6) to socket connect, bind, sendtoFabio Alessandrelli
The address size passed to network system calls now reflects the the actual IP type (v4 or v6). Fix Windows and OSX ipv6 sockets
2016-10-20Fix the hiding of mouse cursor before interactionGeorge Marques
Fix part of #6633
2016-10-20added windows support for ipv6, cleaned up unix codeAriel Manzur
2016-10-18Merge pull request #6855 from vnen/xaudio2-driverRémi Verschelde
Isolate XAudio2 driver
2016-10-17Isolate XAudio2 driverGeorge Marques
Now it's possible to compile for Windows platform if wanted. It's supported only for Windows 8 or later, so it's not enabled by default.
2016-10-17Merge pull request #6850 from akien-mga/pr-scsub-shebangRémi Verschelde
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-16Theora: Don't compile unnecessary files, rename "x86_opt_*"Błażej Szczygieł
2016-10-15zlib: Split thirdparty files, simplify scons optionRémi Verschelde
2016-10-15glew: Split thirdparty files and isolate envRémi Verschelde
Not fully happy about the way this one interacts with the various platforms. Maybe the platform_config.h should be generated by the SCsub instead of passing a define just to know where is the header.
2016-10-14Drop nedmalloc which is apparently not used anymoreRémi Verschelde
2016-10-03Merge pull request #6501 from ↵Rémi Verschelde
SuperUserNameMan/windows_compile_with_standalone_msvc scons detects standalone MSVC on Windows
2016-10-03Merge pull request #6479 from RandomShaper/improve-debug-focusRémi Verschelde
Improve debug focus behavior
2016-09-29Windows: prevent huge prints from crashing the engineMarc Gilleron
2016-09-16scons detects standalone MSVC on Windowsyg2f
Under Windows, Scons is now capable of detecting and compiling with standalone MSVC compilers (aka "Visual C++ Build Tools"). http://landinghub.visualstudio.com/visual-cpp-build-tools Tried with version 2015, and native x86 and x64 compilers under Windows 10 pro 64 and Windows 8.1 64, with the default Win8 SDK provided by the "Visual C++ Build Tools" web-installer. Follow the same compiling instructions than for compiling with Visual Studio, except that Visual Studio is no more required. KNOWN ISSUES : - ``methods.detect_visual_c_compiler_version()`` will emit a warning message on computers where the ``VSINSTALLDIR`` environement variable is not present. But it should compile just fine and still automatically detects the 32 or 64 bits according to the compiler you picked. TODO : - eventually, update ``platform/winrt/dectet.py`` with function ``methods.msvc_is_detected()`` and try to compile winrt/UWP with these standalone compilers (if you did not select Win10 SDK when installing the standalone tools, you can run it again). - update doc to make users aware of "Visual C++ Build Tools" aka "stadalone MSVC". - eventually, update ``methods.detect_visual_c_compiler_version()``
2016-09-14Improve debug focus behaviorPedro J. Estébanez
Fix focusing debugged game on Windows Add re-focusing editor on continue
2016-09-10Merge pull request #6363 from vnen/winrtJuan Linietsky
Fix the support for WinRT/UWP
2016-09-03Implement missing WinRT functionsGeorge Marques
- Fix buildsystem for WinRT/UWP platform. - Add audio driver and joystick mapping for WinRT. - Enable thread class for WinRT. - Refactor MSVC compiler architecture detection to methods.py, so it can be used by Windows and WinRT.
2016-08-29Hide the mouse cursor when MOUSE_MODE_CAPTURED is activated.Mario Schlack
2016-08-20fix to mingw buildJuan Linietsky
2016-08-20ENet windows compilation fixes.Juan Linietsky
For reference, when you include a Windows header (be it directly windows.h or something that includes it) put it at the end of the includes. it seems I forgot.
2016-07-27Fix Windows resource scriptGeorge Marques
2016-07-27Improve Windows application detailsGeorge Marques
2016-07-26Windows: Make alert message box use MB_TASKMODALRémi Verschelde
This flag pauses the current running thread, allowing for the user to see the alert and acknowledge it before the thread continues (and e.g. crashes :)). Thanks to @SuperUserNameMan for finding it. Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
2016-07-24Avoid changing position when the window is fullscreenGeorge Marques
2016-07-21Merge pull request #5841 from vnen/fix-windows-wheelRémi Verschelde
Fix mouse wheel event position on Windows
2016-07-21Merge pull request #5560 from vnen/os-request-attentionRémi Verschelde
Add OS.request_attention() for Windows
2016-07-21Fix mouse wheel event position on WindowsGeorge Marques
2016-07-18Revert "Make editor compatible with Windows high contrast themes"Rémi Verschelde
This reverts commit 85a5290ee8a4c95be19f086181379330baf0deed. The patch itself is good and it could maybe be readded in the future, but right now Microsoft forced its Windows 10 "update" on people with older Intel HD Graphics 3000 IGP without ensuring that they can ship proper drivers, and such users seem to get Godot crashing due to this patch. Sorry :( Closes #5452.
2016-07-10Merge pull request #5525 from SuperUserNameMan/window_get_latin_kb_variantJuan Linietsky
windows get_latin_keyboard_variant() implementation and gdscript binding, #5503
2016-07-05Add OS.request_attention() for WindowsGeorge Marques
2016-07-03windows get_latin_keyboard_variant() implementation and gdscript bindingSuperUserNameMan
2016-07-01Windows: prevent freeze while moving or resizing the game window.Andreas Haas
When moving or resizing the window, Windows spins up a seperate event-loop, effectively blocking the normal one. To work around this, we're starting a timer that will continue sending WM_TIMER messages which we can use to keep the mainloop running. fixes #4695
2016-06-29fixes #5464 windows_joystick close_joystick bugSuperUserNameMan
2016-06-26Fix visual server error when minimizing the windowGeorge Marques
2016-06-23Merge pull request #5362 from J08nY/pngRémi Verschelde
libpng: New version 1.6.27
2016-06-23Make editor compatible with Windows high contrast themesPedro J. Estébanez
By providing a manifest specifying the targeted Windows versions (as per https://msdn.microsoft.com/en-us/library/windows/desktop/hh404233(v=vs.85).aspx#_______supporting_high_contrast_themes_in_windows_8_and_later) now the Godot editor renders normally under a high contrast theme on Windows, instead of staying white/black.
2016-06-22Fixed iCCp chunk in pngsJ08nY
neccesary for libpng 1.6.27 to work silently