summaryrefslogtreecommitdiff
path: root/platform/windows
AgeCommit message (Collapse)Author
2017-05-28Use new icons everywhereTimo Schwarzer
Closes #8879
2017-05-23Fix a few issues compiling windows and using VS2015 and earlierBastiaanOlij
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-05-07Implemented scrolling factor for smooth trackpad scrollingtoger5
Working platforms platform: OSX, Windows. Support for almost all ui elements, including project list.
2017-05-07Improve documentation of thirdparty code snippetsRémi Verschelde
2017-05-05Fix UDP wait() not returning after first received packetFabio Alessandrelli
2017-04-17Drop EXEC PATHP?? super verbose info messageRémi Verschelde
It seems to give nightmares to Windows users.
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
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
2017-04-09-Fix eternal black screen on WindowsJuan Linietsky
-Disabled warnings on windows, need to properly set up warnings
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06Revert "8145 - Mouse Position is unknown until first mouse event on X11"Juan Linietsky
2017-04-04Merge pull request #8246 from GodotNativeTools/dlscript-moduleRémi Verschelde
DLScript module
2017-04-03Reenable Windows Desktop exporteska
2017-04-03added dlscript moduleKarroffel
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
2017-03-29Added methods for opening dynamic libraries to OSKarroffel
2017-03-288145 - Mouse Position is unknown until first mouse event on X11 & WinSergey Pusnei
- X11 update input->pos on EnterNotify - X11 & Win call first-time events processing before main initialization
2017-03-27Merge pull request #8159 from Hinsbart/last_idRémi Verschelde
Input: Remove usage of platform dependent event IDs.
2017-03-26SCons: Add option to toggle warnings (on by default)Rémi Verschelde
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)
2017-03-26Input: Remove usage of platform dependent event IDs.Andreas Haas
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...
2017-03-24Merge pull request #7985 from Faless/enet_godot_sock_squashRémi Verschelde
Update ENet to use Godot sockets.
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-24Allow non blocking UDP put_packet in C++.Fabio Alessandrelli
- Add blocking mode option to PacketPeerUDP. - put_packet returns ERR_UNAVAILABLE when operation would block. - ENet module uses non-blocking UDP.
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
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.
2017-03-04Add API to access battery power stateJulian Murgia
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
2017-02-26Merge pull request #7862 from Hinsbart/joypad_connectionsRémi Verschelde
Better handling of joypad device IDs.
2017-02-26Better handling of joypad device IDs.Andreas Haas
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
2017-02-26Merge pull request #7854 from neikeq/pr-execute-iterRémi Verschelde
Replace misuse of list iteration
2017-02-26Merge pull request #7848 from hpvb/fix-7839Rémi Verschelde
Windows: Close audiodriver sooner on exit
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-20Replace misuse of list iterationIgnacio Etcheverry
2017-02-19Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky
2017-02-19Windows: Close audiodriver sooner on exitHein-Pieter van Braam
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
2017-02-12Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde
TCP/UDP listen bind to address and bugfixes
2017-02-12Merge pull request #7782 from SaracenOne/windows_relative_cursor_fixRémi Verschelde
Fix relative cursor data in CAPTURED mouse mode on Windows.
2017-02-12Merge pull request #7771 from Limb/winaudiodriverRémi Verschelde
Close out audio drivers when exiting on Windows.
2017-02-12Merge pull request #7770 from Limb/removedx9Rémi Verschelde
Removed DX9 Rasterizer in windows
2017-02-11Fix glitches when sampling relative cursor data in CAPTURED mouse mode on ↵Saracen
Windows.
2017-02-09Close out audio drivers when exiting.Kenneth Lorthioir
Prevents a crash when closing the project manager.
2017-02-09Removed DX9 Rasterizer in windows.Kenneth Lorthioir
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.
2017-02-08Fixed compilation issues with Visual StudioKenneth Lorthioir
2017-01-25Removed import/export system, will start new one from scratch.Juan Linietsky
2017-01-25Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov
mode (#7162)
2017-01-23Fix buffer size check in UDP socket.Fabio Alessandrelli
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)
2017-01-23Use default UDP ring buffer size of 65536 for clientsFabio Alessandrelli
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.
2017-01-23Fix bug causing UDP socket to close after the first send if not listeningFabio Alessandrelli
The ring buffer for receiving packets was not resized in constructor
2017-01-23Avoid deadlock when writing/reading data on a connecting TCP socketFabio Alessandrelli
TCP status polling is always performed as non blocking. Trying to put a packet on a connecting socket will fail immediately.
2017-01-23Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli
- 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)