aboutsummaryrefslogtreecommitdiff
path: root/platform/windows (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Drop EXEC PATHP?? super verbose info messageRémi Verschelde2017-04-171-1/+0
| | | | It seems to give nightmares to Windows users.
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-102-3/+3
| | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* -Fix eternal black screen on WindowsJuan Linietsky2017-04-091-1/+1
| | | | -Disabled warnings on windows, need to properly set up warnings
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0823-0/+23
|
* Revert "8145 - Mouse Position is unknown until first mouse event on X11"Juan Linietsky2017-04-061-3/+0
|
* Merge pull request #8246 from GodotNativeTools/dlscript-moduleRémi Verschelde2017-04-042-0/+30
|\ | | | | DLScript module
| * added dlscript moduleKarroffel2017-04-032-9/+9
| | | | | | | | | | | | | | | | | | This module was written by bojidar-bg and me, with the help of ClikCode and touilleMan. This adds a module to Godot that enables the use of dynamic libraries as a source for scripts. That also allows third party libraries to be linked to Godot more easily and without creating modules. For a readme see https://github.com/GodotNativeTools/godot_headers/blob/master/README.md
| * Added methods for opening dynamic libraries to OSKarroffel2017-03-292-0/+30
| |
* | Reenable Windows Desktop exporteska2017-04-031-16/+13
| |
* | 8145 - Mouse Position is unknown until first mouse event on X11 & WinSergey Pusnei2017-03-281-0/+3
|/ | | | | - X11 update input->pos on EnterNotify - X11 & Win call first-time events processing before main initialization
* Merge pull request #8159 from Hinsbart/last_idRémi Verschelde2017-03-274-27/+18
|\ | | | | Input: Remove usage of platform dependent event IDs.
| * Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-264-27/+18
| | | | | | | | | | The ID property for InputEvents is set by `SceneTree` when sending the event down the tree. So there's no need for the platform specific code to set this value when it will later be overriden anyway...
* | SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-261-1/+1
|/ | | | | | | | All the warnings are factored out of the platform-specific files and moved to SConstruct. Will have to check that it does not introduce regressions on some platforms/compilers. (cherry picked from commit 31107daa1a41fe9ab3c7c1868479e78e16848333)
* Merge pull request #7985 from Faless/enet_godot_sock_squashRémi Verschelde2017-03-242-13/+16
|\ | | | | Update ENet to use Godot sockets.
| * Allow non blocking UDP put_packet in C++.Fabio Alessandrelli2017-03-242-13/+16
| | | | | | | | | | | | - Add blocking mode option to PacketPeerUDP. - put_packet returns ERR_UNAVAILABLE when operation would block. - ENet module uses non-blocking UDP.
* | Fix typos in source code using codespellRémi Verschelde2017-03-242-2/+2
|/ | | | From https://github.com/lucasdemarchi/codespell
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0520-1566/+1347
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-052-4/+4
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-1/+1
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
* Add API to access battery power stateJulian Murgia2017-03-045-0/+187
| | | | | | | | | | | | | | Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
* Merge pull request #7862 from Hinsbart/joypad_connectionsRémi Verschelde2017-02-262-13/+2
|\ | | | | Better handling of joypad device IDs.
| * Better handling of joypad device IDs.Andreas Haas2017-02-262-13/+2
| | | | | | | | | | | | | | Now InputDefault is responsible for giving out joypad device IDs to the platform, instead of each platform handling this itself. This makes it possible for c++ modules to add their own "custom" gamepad devices, without the risk of messing up events in case the user also has regular gamepads attached (using the OS code). For now, it's implemented for the main desktop platforms. Possible targets for future work: android, uwp, javascript
* | Merge pull request #7854 from neikeq/pr-execute-iterRémi Verschelde2017-02-261-3/+3
|\ \ | | | | | | Replace misuse of list iteration
| * | Replace misuse of list iterationIgnacio Etcheverry2017-02-201-3/+3
| | |
* | | Merge pull request #7848 from hpvb/fix-7839Rémi Verschelde2017-02-261-6/+5
|\ \ \ | |_|/ |/| | Windows: Close audiodriver sooner on exit
| * | Windows: Close audiodriver sooner on exitHein-Pieter van Braam2017-02-191-6/+5
| |/ | | | | | | | | | | | | | | In #7839 I see the same error that was fixed in #7833 occuring on the Windows platform. This moves the audio driver closing to the same place in OS_Windows::finalize() as it is in OS_X11::finalize() This fixes #7839
* | -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | | | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* | Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky2017-02-191-4/+5
|/
* Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde2017-02-126-31/+56
|\ | | | | TCP/UDP listen bind to address and bugfixes
| * Fix buffer size check in UDP socket.Fabio Alessandrelli2017-01-231-1/+1
| | | | | | | | | | We were reserving 12 bytes from the buffer for ip, port, and length, but since IPv6 introduction we should be reserving 24 (IPv6 are 16 bytes)
| * Use default UDP ring buffer size of 65536 for clientsFabio Alessandrelli2017-01-231-2/+2
| | | | | | | | | | | | | | We should probably create a specific function for setting the recv buffer anyway. UDP sockets does not need to bind (listen) to be able to call recvfrom. This is especially useful for clients who just call set_send_address and start communicating with a server.
| * Fix bug causing UDP socket to close after the first send if not listeningFabio Alessandrelli2017-01-231-0/+1
| | | | | | | | The ring buffer for receiving packets was not resized in constructor
| * Avoid deadlock when writing/reading data on a connecting TCP socketFabio Alessandrelli2017-01-232-10/+5
| | | | | | | | | | TCP status polling is always performed as non blocking. Trying to put a packet on a connecting socket will fail immediately.
| * Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli2017-01-234-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - TCP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `connect` -> resolve using best protocol (UNSPEC), socket from address type - UDP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type (to change socket type you must first call `close` it)
| * Implement UDP listen bind addressFabio Alessandrelli2017-01-232-6/+23
| |
| * Implement TCP Server bind addressFabio Alessandrelli2017-01-233-6/+19
| |
| * Convert validity checks of IP_Address to is_valid method.Fabio Alessandrelli2017-01-231-1/+1
| |
| * Avoid calling close when polling a UDP peer without socketFabio Alessandrelli2017-01-231-0/+3
| |
* | Merge pull request #7782 from SaracenOne/windows_relative_cursor_fixRémi Verschelde2017-02-121-2/+3
|\ \ | | | | | | Fix relative cursor data in CAPTURED mouse mode on Windows.
| * | Fix glitches when sampling relative cursor data in CAPTURED mouse mode on ↵Saracen2017-02-111-2/+3
| | | | | | | | | | | | Windows.
* | | Merge pull request #7771 from Limb/winaudiodriverRémi Verschelde2017-02-121-0/+5
|\ \ \ | | | | | | | | Close out audio drivers when exiting on Windows.
| * | | Close out audio drivers when exiting.Kenneth Lorthioir2017-02-091-0/+5
| |/ / | | | | | | | | | Prevents a crash when closing the project manager.
* | | Merge pull request #7770 from Limb/removedx9Rémi Verschelde2017-02-122-8/+0
|\ \ \ | | | | | | | | Removed DX9 Rasterizer in windows
| * | | Removed DX9 Rasterizer in windows.Kenneth Lorthioir2017-02-092-8/+0
| |/ / | | | | | | | | | | | | | | | This doesn't seem to be needed anymore and the code to free the unused rasterizer was throwing a memory violation since it was getting set to a value somehow.
* / / Fixed compilation issues with Visual StudioKenneth Lorthioir2017-02-082-0/+7
|/ /
* | Removed import/export system, will start new one from scratch.Juan Linietsky2017-01-251-1/+2
| |
* | Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov2017-01-252-11/+31
|/ | | | mode (#7162)
* Merge pull request #7558 from Faless/fix_windows_outputRémi Verschelde2017-01-161-10/+2
|\ | | | | Fix gibberish output for windows/mingw.
| * Fix gibberish output for windows/mingw.Fabio Alessandrelli2017-01-161-10/+2
| | | | | | | | | | | | | | %ls should be used instead of %s or %S to speficy narrow/wide charstring in wprintf fwprintf Fixes #6252
* | Adapt platforms to AudioServer refactoringRémi Verschelde2017-01-162-44/+9
|/ | | | | | Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.