summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
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-05iphone: Drop unused Appirater thirdparty APIRé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-03-04Fix handling input for Androidvolzhs
2017-02-27Fix failing build on mageia v6 x64 linux.Shlomi Fish
There was an error about undeclared malloc()+free().
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 #7834 from hpvb/x11-return-to-cwd-at-exitRémi Verschelde
X11 return to cwd at exit
2017-02-26Merge pull request #7854 from neikeq/pr-execute-iterRémi Verschelde
Replace misuse of list iteration
2017-02-26Merge pull request #7851 from shlomif/fix-some-compilation-warningsRémi Verschelde
Get rid of some compilation warnings.
2017-02-26Merge pull request #7848 from hpvb/fix-7839Rémi Verschelde
Windows: Close audiodriver sooner on exit
2017-02-24Merge pull request #7880 from bojidar-bg/fix-iphone-buildsRémi Verschelde
Really fix iphone builds
2017-02-23Really fix iphone buildsBojidar Marinov
2017-02-23Merge pull request #7879 from bojidar-bg/fix-iphone-buildsRémi Verschelde
Complete the globals.h -> global_config.h conversion
2017-02-23Complete the globals.h -> global_config.h conversionBojidar Marinov
2017-02-22Fixes to webgl/opengl es 3.0 for compatibility with webgl2.0, still does not ↵Juan Linietsky
work though
2017-02-21Fix WebAssembly builds on Windowseska
2017-02-21Fix some compilation warnings.Shlomi Fish
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.
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-20Automatically zip web export templateseska
Also fix web builds on Windows and clean up
2017-02-20Fix parallel asm.js/WebAssembly buildseska
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-18X11 return to cwd at exitHein-Pieter van Braam
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.
2017-02-17X11: Move audio driver finalize to the start of cleanupHein-Pieter van Braam
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.
2017-02-17X11: Finalize audiodrivers on exitHein-Pieter van Braam
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.
2017-02-13Fix missing semicolon in previous commitRémi Verschelde
2017-02-13Fix for issue #7766Brett-Mitchell
Add initialization for OS_OSX.mouse_mode in OS_OSX::OS_OSX(). mouse_mode now defaults to OS::MOUSE_MODE_VISIBLE.
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
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-02-02Merge pull request #7578 from baekdahl/masterRémi Verschelde
x11: don't wait for window to be mapped
2017-02-02Merge pull request #7689 from eska014/webgl2Rémi Verschelde
Enable WebGL2 in web export, start fixing build
2017-02-02Merge pull request #7683 from marcelofg55/masterRémi Verschelde
Fix issues with set_window_resizable on x11
2017-02-02Merge pull request #7645 from tagcup/x11_optimization_flags_v2Rémi Verschelde
Use -Ofast on x11. Also introduced use_lto option.
2017-02-01Enable WebGL2 in web export, start fixing buildeska
Will not yet compile
2017-01-30Fix issues with set_window_resizable on x11marcelofg55
2017-01-26Use -Ofast on x11. Also introduced use_lto option.Ferenc Arn
debug_release doesn't turn off optimizations for release target now. Ensure that sanitizer options apply to both C and C++ files. Built-in optimization/debug flags are prepended such that user-specified flags can override them. Based on and around the discussion in PR #5194.
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)