summaryrefslogtreecommitdiffstats
path: root/platform/android/java_glue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #14794 from endragor/remove-debug-logsRémi Verschelde2017-12-181-3/+0
|\ | | | | Remove debug logs that are of no use to end users
| * Remove debug logs that are of no use to end usersRuslan Mustakov2017-12-181-3/+0
| |
* | Cleanup some #if 0'd codeRémi Verschelde2017-12-171-6/+0
|/
* Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde2017-11-171-2/+2
| | | | | Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
* Move singleton management from ProjectSettings to EngineLeon Krause2017-11-141-2/+3
|
* Align sensors and implement gravity sensor for AndroidBastiaan Olij2017-11-111-0/+7
|
* Merge pull request #11775 from endragor/android-keyboard-inputAndreas Haas2017-10-101-54/+9
|\ | | | | Improve input handling on Android
| * Improve input handling on AndroidRuslan Mustakov2017-10-041-54/+9
| | | | | | | | | | | | | | | | | | - Dispatch input immediately as it comes, instead of delaying it to the next step(). - Fix text box input handling when caret is at the middle of the text. - Minimize queueEvent calls on Java side.
* | Added the set/get_setting function in Editor/Project settings. Renamed has() ↵Juan Linietsky2017-10-051-1/+1
| | | | | | | | to has_setting. Fixes #11844
* | Allow to obtain virtual keyboard heightRuslan Mustakov2017-10-041-1/+13
|/ | | | | | | | On mobile platforms virtual keyboards take up significant amount of screen space and UI containing a text box may need to be adjusted after the keyboard appears to keep the text box visible to user. This commit adds a way to obtain virtual keyabord height so that controls are aware of how much they need to move.
* Make GDNative work on AndroidRuslan Mustakov2017-08-301-141/+93
| | | | | | | | | | | | | | | | | | | | | | | | The changes include work done to ensure that GDNative apps and Nim integration specifically can run on Android. The changes have been tested on our WIP game, which uses godot-nim and depends on several third-party .so libs, and Platformer demo to ensure nothing got broken. - .so libraries are exported to lib/ folder in .apk, instead of assets/, because that's where Android expects them to be and it resolves the library name into "lib/<ABI>/<name>", where <ABI> is the ABI matching the current device. So we establish the convention that Android .so files in the project must be located in the folder corresponding to the ABI they were compiled for. - Godot callbacks (event handlers) are now called from the same thread from which Main::iteration is called. It is also what Godot now considers to be the main thread, because Main::setup is also called from there. This makes threading on Android more consistent with other platforms, making the code that depends on Thread::get_main_id more portable (GDNative has such code). - Sizes of GDNative API types have been fixed to work on 32-bit platforms.
* Merge pull request #10531 from RandomShaper/remove-old-android-settingRémi Verschelde2017-08-291-1/+3
|\ | | | | Sanitize Android debug
| * Fix Android remote debug not hitting breakpointsPedro J. Estébanez2017-08-221-1/+3
| | | | | | | | A change in `Main`'s API is needed. Please read the comment in the diff for an explanation.
* | Dead code tells no talesRémi Verschelde2017-08-271-6/+0
| |
* | Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|/
* Fixes for new two-dash long command line argumentsRémi Verschelde2017-08-211-2/+2
| | | | | | | | | - Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping - Cleanup obsolete code here and there
* Revert "Second take at making command-line arguments more UNIX-like + ↵Juan Linietsky2017-08-191-2/+2
| | | | main.cpp and help cleanup"
* Fixes for new two-dash long command line argumentsRémi Verschelde2017-08-191-2/+2
| | | | | | | | - Fixes some single-dash leftovers that were missed in the previous commit - Reorder the help output for clarity, and document missing options - Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit - Improve error message on malformed arguments and do not display help on error - Cleanup obsolete code here and there
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-5/+5
|
* Clang-formatting *.cpp and *.h (some files excluded)Poommetee Ketson2017-07-221-1/+1
|
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-8/+8
| | | | -Added system for feature overrides, it's pretty cool :)
* Fix input event related android build issuesChris Serino2017-06-061-1/+1
|
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-20/+13
| | | | this might cause bugs I haven't found yet..
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* Several fixes to Android exporter and port.Juan Linietsky2017-03-231-0/+9
| | | | Android seems to be working again!
* Export template management dialog.Juan Linietsky2017-03-211-2/+2
| | | | Missing download (need to discuss this!)
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-642/+552
| | | | | | | | | | | | | | | | | | | | | | | | 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
* -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..
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-5/+7
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* Added a BACK notification besides QUIT, so they go in separate channels.Juan Linietsky2017-01-111-8/+7
|
* Type renames:Juan Linietsky2017-01-111-16/+16
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-5/+5
|
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-20/+20
| | | | renamed to PoolVector
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-6/+6
| | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-1/+1
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Add alert window on Androidvolzhs2016-11-281-1/+10
|
* Minor code formatting in platform/androidMario Schlack2016-07-211-14/+12
|
* Implement get_screen_dpi() on AndroidMario Schlack2016-07-201-1/+9
|
* Added gyroscope support to Godot and AndroidJamil Halabi2016-07-161-0/+11
|
* Fix crash when null value through jni on androidvolzhs2016-07-051-0/+4
|
* Fix wrong return bool, string, string array data through jnivolzhs2016-06-301-5/+3
|
* Fix string array parameter check with jnivolzhs2016-06-251-2/+2
|
* Add magnetometer sensor support for Androidfluffrabbit2016-05-271-0/+11
|
* support gamepad remapping on androidhondres2016-01-241-28/+47
|
* Add ability to set "keep screen on" for androidvolzhs2016-01-161-2/+8
|
* Renamed godot domain from com.android.godot (which was incorrect) to ↵Juan Linietsky2016-01-081-28/+28
| | | | org.godotengine.godot