aboutsummaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Reenable Windows Desktop exporteska2017-04-031-16/+13
| |/ |/|
* | Merge pull request #8180 from ↵Rémi Verschelde2017-03-302-1/+11
|\ \ | |/ |/| | | | | sergey-push/8145-Mouse_Position_is_unknown_until_first_mouse_event 8145 - Mouse Position is unknown until first mouse event on X11
| * 8145 - Mouse Position is unknown until first mouse event on X11 & WinSergey Pusnei2017-03-282-1/+11
| | | | | | | | | | - X11 update input->pos on EnterNotify - X11 & Win call first-time events processing before main initialization
* | Merge pull request #8191 from eska014/webgl2-exportJuan Linietsky2017-03-296-426/+243
|\ \ | |/ |/| WebGL 2 export per WebAssembly or asm.js
| * WebGL 2 export per WebAssembly or asm.jseska2017-03-296-426/+243
| |
* | Merge pull request #8159 from Hinsbart/last_idRémi Verschelde2017-03-2726-137/+58
|\ \ | | | | | | Input: Remove usage of platform dependent event IDs.
| * | Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-2626-137/+58
| | | | | | | | | | | | | | | 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...
* | | Merge pull request #8147 from RameshRavone/patch-1Rémi Verschelde2017-03-271-0/+1
|\ \ \ | | | | | | | | Update build.gradle.template for jcenter
| * | | Update build.gradle.templateRamesh Ravone2017-03-251-0/+1
| |/ / | | | | | | | | | | | | | | | Updating project repository, added jcenter() since Android Studio uses it by default. https://www.jfrog.com/knowledge-base/why-should-i-use-jcenter-over-maven-central/
* / / SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-268-16/+14
|/ / | | | | | | | | | | | | | | 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)
* | Fixing magnetometer on iOSBastiaanOlij2017-03-241-2/+2
| | | | | | | | (cherry picked from commit 4b7d1d8c15747a552b7dff52b0eeda4d3e7cec4e)
* | Merge pull request #8133 from Hinsbart/joy_constantsRémi Verschelde2017-03-241-3/+3
|\ \ | | | | | | Input: Refactor JOY_* constants.
| * | Input: Refactor JOY_* constants.Andreas Haas2017-03-241-3/+3
| |/ | | | | | | | | | | | | **Breaking change** Removed the `JOY_SNES_*` and `JOY_SEGA_*` constants. Imho there's no reason for a modern game engine to provide button aliases for decades-old hardware. Also renamed `JOY_ANALOG_{0,1}_{X,Y}` to `JOY_ANALOG_{L,R}{X,Y}` and removed `JOY_ANALOG_2_*`.
* | Merge pull request #8128 from volzhs/fix-android-app-nameRémi Verschelde2017-03-241-3/+3
|\ \ | | | | | | Fix wrong app name for Android export
| * | Fix wrong name for Android exportvolzhs2017-03-241-3/+3
| |/
* | 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.
* | | i-patch for Pirate languageRémi Verschelde2017-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credits to jo_ for the joke and hcorion for finding the typo: <hcorion> Hi all, I was busy translating godot to Pirate, and I noticed a spelling error, on line 1035 in platform/uwp/export/export.cpp it mis-spells certificate as certficate missing the extra i <jo_> hcorion: Nice catch. <jo_> If you make a PR, please call it 'i-patch for Pirate."
* | | Fix typos in source code using codespellRémi Verschelde2017-03-2411-29/+29
| |/ |/| | | | | From https://github.com/lucasdemarchi/codespell
* | Several fixes to Android exporter and port.Juan Linietsky2017-03-235-31/+1687
| | | | | | | | Android seems to be working again!
* | Export working (for linux at least)Juan Linietsky2017-03-211-1/+5
| |
* | Export template management dialog.Juan Linietsky2017-03-215-28/+23
| | | | | | | | Missing download (need to discuss this!)
* | Merge pull request #8066 from Hinsbart/fix_x11_cursorRémi Verschelde2017-03-181-2/+1
|\ \ | | | | | | X11: Don't reset mouse cursor theme.
| * | X11: Don't reset mouse cursor theme.Andreas Haas2017-03-181-2/+1
| | | | | | | | | | | | | | | | | | On KDE (and possibly others) the "default" cursor theme is actually some system default, not the one you've set in the desktop setting. This was especially annoying when using a white cursor, as Godot would then reset back to a dark one. In my case it was also keeping the cursor from changing its shape.
* | | Merge pull request #8042 from eska014/webgl2Rémi Verschelde2017-03-181-16/+13
|\ \ \ | | | | | | | | Some WebGL 2 and build fixes/clean-up
| * | | Some WebGL 2 and build fixes/clean-upeska2017-03-171-16/+13
| |/ /
* | | Merge pull request #8035 from DenisComtesse/android-screentouch-fixRémi Verschelde2017-03-181-0/+2
|\ \ \ | | | | | | | | Update mouse position on touch and release events (Android)
| * | | Update mouse position on touch and release events (Android)denis2017-03-151-0/+2
| |/ /
* | | android: adding classpath and gradle pluginsRamesh Mani Maran2017-03-182-1/+12
| | |
* | | Merge pull request #7953 from RameshRavone/patch-1Rémi Verschelde2017-03-181-2/+3
|\ \ \ | |/ / |/| | support for multiple maven url
| * | support for multiple maven urlRamesh Mani Maran2017-03-051-2/+3
| | |
* | | more html5 fixesJuan Linietsky2017-03-141-2/+3
| | |
* | | Fix web export buildeska2017-03-104-7/+6
| |/ |/|
* | A Whole New World (clang-format edition)Rémi Verschelde2017-03-05141-8361/+7138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-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