Haoyu Qiu
1d5332069b
Make progress and errors translatable when exporting to Android
2021-08-01 17:16:16 +08:00
Fredia Huya-Kouadio
ace6df6947
Fix custom build export
2021-07-27 09:15:45 -07:00
luz paz
3564c16cb8
Fix various typos with codespell
...
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25 11:21:51 +02:00
Aaron Franke
4e6efd1b07
Use C++ iterators for Lists in many situations
2021-07-23 17:38:28 -04:00
bruvzg
618eb27e8b
Move `alert` function from `DisplayServer` to `OS`.
2021-07-22 21:50:35 +03:00
ne0fhyk
fa587778d8
Disable resource optimizations for release builds as it breaks the legacy build system.
2021-07-20 16:44:04 -07:00
Rémi Verschelde
b4baec08cf
Merge pull request #50206 from groud/undoredo_increase_args_count
...
Increase the number of arguments accepted by UndoRedo methods
2021-07-20 09:50:01 +02:00
reduz
6631f66c2a
Optimize StringName usage
...
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
2021-07-18 21:20:02 -03:00
Hendrik Brucker
38578a8095
Modernize Display server to use override keyword
2021-07-16 21:39:13 +02:00
reduz
6639cc9853
Addes ability to load build sources from file.
...
* If not present, the dialog asks to load build sources from a file.
* The export templates check now also verifies that build sources are installed and skips the template check.
This makes Android development easier.
2021-07-15 10:14:08 -03:00
reduz
5ad4f26659
Implement the ability to disable classes
...
* This PR adds the ability to disable classes when building.
* For now it's only possible to do this via command like:
`scons disable_classes=RayCast2D,Area3D`
* Eventually, a proper UI will be implemented to create a build config file to do this at large scale, as well as detect what is used in the project.
2021-07-13 09:25:14 -03:00
Hugo Locurcio
a2d5f191d8
Merge pull request #48622 from Geometror/reimplement-disableable-vsync
2021-07-10 01:02:23 +02:00
Rémi Verschelde
5d7c23dcc6
Merge pull request #50220 from madmiraal/fix-50125
...
Queue the calls to GodotLib.key when Android virtual done is pressed
2021-07-06 23:46:21 +02:00
Gilles Roudière
2f9a0268dd
Increase the number of arguments accepted by UndoRedo methods
2021-07-06 18:52:28 +02:00
Marcel Admiraal
57317ce7b8
Remove Android onKeyMultiple override
2021-07-06 17:39:42 +01:00
Marcel Admiraal
1856f16378
Queue the calls to GodotLib.key when Android virtual done is pressed
2021-07-06 17:32:09 +01:00
Rémi Verschelde
c47b6f4b5c
Merge pull request #50107 from madmiraal/android-use-lambdas
...
Replace single method anonymous classes with lambdas in Godot Java code
2021-07-06 18:10:38 +02:00
Hendrik Brucker
043ae91560
Restructure and reimplement vsync options
...
-Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX
-Removed the V-Sync via Compositor option
2021-07-06 16:34:26 +02:00
Marcel Admiraal
23e152040b
Use static inner classes in Godot Java code
2021-07-03 05:50:04 +01:00
Marcel Admiraal
a7825ca12a
Replace single method anonymous classes with lambdas in Godot Java code
2021-07-03 05:13:31 +01:00
Rémi Verschelde
f2229bb1ea
Merge pull request #50085 from madmiraal/android-replace-stringbuffer
...
Use StringBuilder instead StringBuffer in Godot Java code
2021-07-02 22:09:50 +02:00
Rémi Verschelde
aee59c3547
Merge pull request #50083 from madmiraal/android-fix-raw-use
...
Fix raw use of parameterized Class
2021-07-02 22:09:39 +02:00
Marcel Admiraal
3f95bbed73
Remove redundant explicit types in Godot Java code
2021-07-02 17:45:30 +01:00
Marcel Admiraal
61ee51d2bf
Use StringBuilder instead StringBuffer in Godot Java code
2021-07-02 16:57:12 +01:00
Rémi Verschelde
710effdaad
Merge pull request #50078 from madmiraal/android-remove-unused-imports
2021-07-02 17:45:29 +02:00
Marcel Admiraal
d237f7d33d
Fix raw use of parameterized Class
2021-07-02 16:35:52 +01:00
thebestnom
e200195564
Android: Initialize mouse mode
2021-07-02 18:00:33 +03:00
Marcel Admiraal
a38fd4a4c2
Remove unused imports from Android Java code
2021-07-02 12:57:55 +01:00
Rémi Verschelde
6ef0b8fcd3
Merge pull request #50074 from madmiraal/android-replace-c-array
...
Use Java array declarations not C-style declarations in Android Java code
2021-07-02 13:44:22 +02:00
Rémi Verschelde
42184dd6d5
Merge pull request #50072 from madmiraal/android-remove-interface-modifiers
...
Remove redundant interface modifiers from Android Java code
2021-07-02 12:35:14 +02:00
Marcel Admiraal
721b3d56c5
Use Java array declarations not C-style declarations in Android Java code
2021-07-02 11:09:09 +01:00
Marcel Admiraal
a74e803a4f
Remove redundant interface modifiers from Android Java code
2021-07-02 09:37:45 +01:00
Marcel Admiraal
360447001d
Remove unnecessary semicolons from Android Java code
2021-07-02 08:54:09 +01:00
Rémi Verschelde
40a594c6ea
Android: Add `isGame` application attribute, default to true
...
It can be turned off in the export preset with `package/classify_as_game`.
Upstream definition: https://developer.android.com/guide/topics/manifest/application-element#isGame
> `android:isGame`
>
> Whether or not the application is a game. The system may group together
> applications classifed as games or display them separately from other
> applications.
Also fixes replacing `android:allowBackup` in custom builds.
2021-07-01 11:00:23 +02:00
Marcel Admiraal
8270e101a7
Fix unchecked call to put() warning in GodotInputHandler.java
2021-06-30 12:13:05 +01:00
Marcel Admiraal
7b63f0a22d
Add GDNative libraries to Android custom Gradle builds
2021-06-29 09:26:28 +01:00
ne0fhyk
d1a9363c4c
Update config versions and deprecate the use of the jcenter maven repo.
2021-06-24 08:58:56 -07:00
ne0fhyk
532b0e3462
Add support for custom debug keystore.
2021-06-22 10:05:55 -07:00
Aaron Franke
0ce49800ac
Use mouse and joypad enums instead of plain integers
...
Also MIDIMessage
2021-06-20 11:54:24 -04:00
Aaron Franke
e919d894f8
Move many input enums to their own file
2021-06-20 11:53:01 -04:00
Lightning_A
e28fd07b2b
Rename `instance()`->`instantiate()` when it's a verb
2021-06-19 20:49:18 -06:00
Marcel Admiraal
de2acbd495
Add adb output to error message when install fails
2021-06-19 17:46:57 +01:00
Rémi Verschelde
ac73059b56
Merge pull request #49123 from aaronfranke/it-is-time
...
Add a Time singleton
2021-06-12 22:55:25 +02:00
Pedro J. Estébanez
04688b92ff
Rename Reference to RefCounted
2021-06-11 18:48:42 +02:00
Rémi Verschelde
8d4046929c
Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io
...
Core: Move DirAccess and FileAccess to `core/io`
2021-06-11 16:51:10 +02:00
Rémi Verschelde
6b0183ec89
Merge pull request #49279 from Calinou/rename-string-is-abs-path-method
...
Rename `String.is_abs_path()` to `String.is_absolute_path()`
2021-06-11 15:58:16 +02:00
Aaron Franke
f64fea1b23
Add Time singleton
2021-06-11 09:32:39 -04:00
Rémi Verschelde
9e328bb5b7
Core: Move DirAccess and FileAccess to `core/io`
...
File handling APIs are typically considered part of I/O, and we did have most
`FileAccess` implementations in `core/io` already.
2021-06-11 14:52:39 +02:00
Rémi Verschelde
bc1fcb9c65
Merge pull request #49435 from madmiraal/add-android-external-dir
...
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 22:11:02 +02:00
Marcel Admiraal
b3a962945e
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 16:48:17 +01:00