aboutsummaryrefslogtreecommitdiff
path: root/platform (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-0517-32/+31
|
* iphone: Drop unused Appirater thirdparty APIRémi Verschelde2017-03-056-970/+0
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-057-16/+16
| | | | | | 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-0439-1/+2076
| | | | | | | | | | | | | | 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
* Fix handling input for Androidvolzhs2017-03-041-37/+12
|
* Fix failing build on mageia v6 x64 linux.Shlomi Fish2017-02-271-0/+1
| | | | There was an error about undeclared malloc()+free().
* Merge pull request #7862 from Hinsbart/joypad_connectionsRémi Verschelde2017-02-266-43/+4
|\ | | | | Better handling of joypad device IDs.
| * Better handling of joypad device IDs.Andreas Haas2017-02-266-43/+4
| | | | | | | | | | | | | | 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 #7834 from hpvb/x11-return-to-cwd-at-exitRémi Verschelde2017-02-261-0/+9
|\ \ | | | | | | X11 return to cwd at exit
| * | X11 return to cwd at exitHein-Pieter van Braam2017-02-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During runtime godot calls chdir() several times. This doesn't really matter normally but when using tools such as gprof the location of the profiling data is kind of hard to intuit. With this PR we simply store the current working directory at start and restore it once we're almost done exiting. This doesn't use the OS abstractions as when we need to get the current workdir we haven't yet initialized it (by necessity). This would break if we tried to build X11 for windows, but since the X11 target is hardcoded to use the UNIX abstractions I don't think it matters.
* | | 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 #7851 from shlomif/fix-some-compilation-warningsRémi Verschelde2017-02-261-1/+1
|\ \ \ \ | | | | | | | | | | Get rid of some compilation warnings.
| * | | | Fix some compilation warnings.Shlomi Fish2017-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Redone the commit based on the input in https://github.com/godotengine/godot/pull/7851 . Not all warnings were fixed but it's a start.
* | | | | 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
* | | | | Merge pull request #7880 from bojidar-bg/fix-iphone-buildsRémi Verschelde2017-02-241-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Really fix iphone builds
| * | | | | Really fix iphone buildsBojidar Marinov2017-02-231-1/+1
| | | | | |
* | | | | | Merge pull request #7879 from bojidar-bg/fix-iphone-buildsRémi Verschelde2017-02-234-4/+4
|\| | | | | | | | | | | | | | | | | Complete the globals.h -> global_config.h conversion
| * | | | | Complete the globals.h -> global_config.h conversionBojidar Marinov2017-02-234-4/+4
| | | | | |
* | | | | | Fixes to webgl/opengl es 3.0 for compatibility with webgl2.0, still does not ↵Juan Linietsky2017-02-225-4/+7
|/ / / / / | | | | | | | | | | | | | | | work though
* | | | / Fix WebAssembly builds on Windowseska2017-02-212-13/+29
| |_|_|/ |/| | |
* | | | -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-2116-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* | | | Automatically zip web export templateseska2017-02-202-30/+30
| | | | | | | | | | | | | | | | Also fix web builds on Windows and clean up
* | | | Fix parallel asm.js/WebAssembly buildseska2017-02-201-1/+1
| |/ / |/| |
* | | Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky2017-02-197-28/+49
|/ /
* | X11: Move audio driver finalize to the start of cleanupHein-Pieter van Braam2017-02-171-4/+4
| | | | | | | | | | | | | | The audio driver cleanup needs to happen at the start of finish otherwise a race still seems to exist with the destruction of the audioserver. I think that destroying the X resoures before has something to do with it.
* | X11: Finalize audiodrivers on exitHein-Pieter van Braam2017-02-171-1/+4
|/ | | | | | | The audiodrivers loaded by OS_X11 are not destroyed before the audioserver is. This causes a segfault on exit. The code is taken from os_windows.cpp which did have the cleanup code.
* Fix missing semicolon in previous commitRémi Verschelde2017-02-131-1/+1
|
* Fix for issue #7766Brett-Mitchell2017-02-131-1/+2
| | | Add initialization for OS_OSX.mouse_mode in OS_OSX::OS_OSX(). mouse_mode now defaults to OS::MOUSE_MODE_VISIBLE.
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-137-30/+30
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* 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
|/ /
* | Merge pull request #7578 from baekdahl/masterRémi Verschelde2017-02-021-7/+0
|\ \ | | | | | | x11: don't wait for window to be mapped
| * | x11: don't wait for window to be mappedJesper Bækdahl2017-01-191-7/+0
| |/