Commit graph

23495 commits

Author SHA1 Message Date
fhuya
ef143447ad Updates the Godot gradle tasks to enable manual runs of the scons command.
Example: To generate for the `release` build target and for the `armv7`, `arm64v8` and `x86` architectures, run the commands:
```
cd godot
scons -j4 platform=android target=release android_arch=armv7
scons -j4 platform=android target=release android_arch=arm64v8
scons -j4 platform=android target=release android_arch=x86
cd platform/android/java
./gradlew generateGodotTemplates
```

Notes:
- The generated build templates will be located in the `godot/bin` directory (i.e: `android_debug.apk`, `android_release.apk`, `android_source.zip`).
- The gradle command will only generate templates for the target(s) with available native shared libraries. For example, running the commands above will only generate the `android_release.apk` and `android_source.zip` files.

To delete the generated artifacts, the following commands can be used:
```
cd platform/android/java
./gradlew cleanGodotTemplates
```
2019-09-24 06:18:21 -07:00
Rémi Verschelde
2e065d8ad0
Merge pull request #32064 from m4gr3d/propagate_gl_surface_events
Notify for app pause and resume events on Android
2019-09-20 23:18:40 +02:00
Rémi Verschelde
42af54ff75
Merge pull request #32087 from karroffel/x11-pid
[X11] set PID as window attribute
2019-09-20 23:18:17 +02:00
Rémi Verschelde
b6bcc143ad
Merge pull request #32079 from lupoDharkael/locale-crash
Fix right click crash in Locales Filter
2019-09-20 23:17:47 +02:00
Rémi Verschelde
769a9c521a
Merge pull request #32094 from Calinou/improve-delete-node-confirmation-2
Improve the node deletion confirmation message
2019-09-20 23:17:29 +02:00
Rémi Verschelde
d249bb37e5
Merge pull request #32112 from Calinou/project-manager-add-hover-style
Add an "hover" style to items in the project manager
2019-09-20 23:15:40 +02:00
Rémi Verschelde
f7cd50e900
Merge pull request #32206 from Calinou/remove-unused-tree-constants
Remove an unused icon and constant in Tree
2019-09-20 23:14:50 +02:00
Rémi Verschelde
25a1bfed5c
Merge pull request #32210 from Calinou/editor-log-distinguish-messages
Distinguish editor-originating messages in the editor log
2019-09-20 20:22:43 +02:00
Rémi Verschelde
ae3c685042
Merge pull request #32137 from Calinou/vcs-error-if-none-available
Display an error message if no version control systems are available
2019-09-20 20:20:34 +02:00
Rémi Verschelde
a34b77e271
Merge pull request #32095 from KoBeWi/silly_user
Properly remove GridMap node from editor on undo
2019-09-20 17:52:39 +02:00
Hugo Locurcio
40a5de97e6
Remove an unused icon and constant in Tree 2019-09-20 17:50:13 +02:00
Rémi Verschelde
5ea6c9fd02
Merge pull request #32120 from KoBeWi/atlas_not_included
Mention that AnimatedTexture doesn't support atlases
2019-09-20 17:49:14 +02:00
Rémi Verschelde
6da3526cd4
Merge pull request #32118 from KoBeWi/the_point_is_global_bro
Mention that look_at() expects global coordinates
2019-09-20 17:48:43 +02:00
Rémi Verschelde
8fea4053b3
Merge pull request #32116 from KoBeWi/dupinit
Mention constructor arguments in duplicate() doc
2019-09-20 17:48:21 +02:00
Rémi Verschelde
55efada13a
Merge pull request #32102 from YeldhamDev/doc_animplayer_get_queue
Document AnimationPlayer's 'get_queue()' and 'caches_cleared'
2019-09-20 17:48:04 +02:00
Rémi Verschelde
fd3d8f6627
Merge pull request #32101 from Xrayez/doc-fix-ambiguous-test-motion
Fix ambiguous method description regarding `body_test_motion` in 2D
2019-09-20 17:47:38 +02:00
Rémi Verschelde
9c116f4f1d
Merge pull request #32223 from neikeq/cs_glue_version_fix
C#: Make sure cs_glue_version is present when building export templates
2019-09-20 17:46:34 +02:00
Ignacio Etcheverry
95c685143a C#: Make sure cs_glue_version is present when building export templates 2019-09-20 17:41:20 +02:00
Rémi Verschelde
54eb4bce5f
Merge pull request #32123 from qarmin/fix_int_overflow
Fix int overflow in EditorResourcePreview::_preview_ready
2019-09-20 17:36:07 +02:00
Rémi Verschelde
9137a045ac
Merge pull request #32146 from YeldhamDev/key_bezier_int_real
Fix keying integer and float values from inspector not being able to use bezier curves
2019-09-20 17:35:03 +02:00
Rémi Verschelde
65286c6b46
Merge pull request #32143 from YeldhamDev/scenedock_reparent_fixes
Fix some errors while reparenting nodes in the Scene dock
2019-09-20 17:33:57 +02:00
Rémi Verschelde
712a82a6f6
Merge pull request #32134 from IronicallySerious/fix-global-class-list
Add correct class selection in Select VCS menu
2019-09-20 17:28:39 +02:00
Rémi Verschelde
77ec3ec0a3
Merge pull request #32129 from YeldhamDev/fix_track_removal_errors
Fix errors in the animation editor when removing tracks via undo/redo
2019-09-20 17:28:15 +02:00
Rémi Verschelde
34f9a4b765
Merge pull request #32127 from skyace65/skeletonupdate
Remove outdated information from skeleton class reference
2019-09-20 17:27:57 +02:00
Rémi Verschelde
d21b73779f
Merge pull request #32180 from KoBeWi/nein_patsch_rekt
Fix region editor for NinePatchRect
2019-09-20 17:26:52 +02:00
Rémi Verschelde
48db920f4a
Merge pull request #32190 from KoBeWi/undo_redo_stuff
Fix autocompletion undo
2019-09-20 17:22:11 +02:00
Rémi Verschelde
c74b54f229
Merge pull request #32197 from YeldhamDev/fix_multiple_modals_dim
Fix editor dimming being disabled when a dialog is closed even when others are open
2019-09-20 17:13:44 +02:00
Rémi Verschelde
d364e88c2a
Merge pull request #32209 from YeldhamDev/fix_connection_type_hints
Fix incorrect typing when creating methods via the connection dialog
2019-09-20 17:10:33 +02:00
Rémi Verschelde
a80407fe31
Merge pull request #32173 from Calinou/improve-3d-light-gizmos
Improve the 3D light gizmos
2019-09-20 17:09:50 +02:00
Rémi Verschelde
fdc2463a1b
Merge pull request #32150 from luzpaz/typos
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
Rémi Verschelde
6f10e994fb
Merge pull request #32220 from KoBeWi/them_overrides
Load overrides if getting style from current class
2019-09-20 16:42:51 +02:00
Rémi Verschelde
2ed98669b6
Merge pull request #32207 from Calinou/improve-inspector-folding-appearance
Improve folding appearance in the editor inspector
2019-09-20 16:41:11 +02:00
Tomasz Chabora
a28d18f554 Load overrides if getting style from current class 2019-09-20 13:48:24 +02:00
Hugo Locurcio
ba566dff2e
Distinguish editor-originating messages in the editor log
This fades out messages originating from the editor to make messages
printed by the project stand out more.

This also tweaks wording in some editor messages for consistency.
2019-09-20 01:59:02 +02:00
fhuya
a7712cc9e4 Add new events and accompanying logic to notify when the app is paused and resumed on Android devices. 2019-09-19 13:29:49 -07:00
Hugo Locurcio
04f43116d6
Improve folding appearance in the editor inspector
The arrow is now displayed at the left to be consistent with
other places where folding is used. The arrow icons used are now
consistent with the rest of the editor. The `arrow_up` icon is
no longer used anywhere, so it was removed.

Additional spacing was also added for a better visual appearance.
2019-09-19 22:29:25 +02:00
luz.paz
91ecd7b6a6 Fix misc. source comment typos
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19 14:36:52 -04:00
Rémi Verschelde
2add51d082
Merge pull request #31964 from nekomatata/fix-animation-player-error
Fixed switching back to AnimationPlayerEditor with empty animation list
2019-09-19 20:32:05 +02:00
Rémi Verschelde
c3d5c96494
Merge pull request #31921 from bojidar-bg/28978-uninitialized-array-value
Fix uninitialized arrays and dictionaries retaining value
2019-09-19 20:31:12 +02:00
Rémi Verschelde
f9db6ad8c5
Merge pull request #31919 from m4gr3d/use_aar_for_custom_build
Leverage Android archive (AAR) file for Godot custom build
2019-09-19 20:22:09 +02:00
Rémi Verschelde
af51fbd994
Merge pull request #32174 from Calinou/2d-editor-display-zoom
Display the current zoom percentage in the 2D editor
2019-09-19 20:14:26 +02:00
Rémi Verschelde
d55c840a0d
Merge pull request #32153 from Calinou/doc-improve-image-get-pixel
Improve the `Image.get_pixel()` and `Image.get_pixelv()` documentation
2019-09-19 20:13:50 +02:00
Rémi Verschelde
a385c8506c
Merge pull request #32151 from Calinou/improve-custom-cursor-documentation
Mention more caveats for custom mouse cursors in the documentation
2019-09-19 20:13:31 +02:00
Rémi Verschelde
291f408fcf
Merge pull request #32100 from SaracenOne/gdscript_parent_const_types
Fix const deceleration for inherited scripts above immediate parent
2019-09-19 20:11:37 +02:00
Rémi Verschelde
e23cb2c715
Merge pull request #32004 from raphael10241024/fix_shader_uniform
Fix gles3 shader uniform vec3 error
2019-09-19 20:09:04 +02:00
Rémi Verschelde
093c1c1a69
Merge pull request #31985 from nekomatata/fix-builtin-script-resource
Fixed resource loading when editing built-in script from resource
2019-09-19 20:07:41 +02:00
Rémi Verschelde
fc9985b770
Merge pull request #31961 from YeldhamDev/info_messages
Add informational messages to various editors
2019-09-19 20:06:44 +02:00
Rémi Verschelde
b5f14cc6f7
Merge pull request #31934 from mitchcurtis/28187
Produce an error when a class has the same name as a Singleton
2019-09-19 20:05:41 +02:00
Rémi Verschelde
1e73a44e24
Merge pull request #31904 from byfron/styleboxflag_uvcoords
Computes UV coordinates of the canvas_item vertices of StyleBoxFlat
2019-09-19 20:04:46 +02:00
Rémi Verschelde
28265fb526
Merge pull request #31202 from azagaya/light-data
Create shadow_vec for altering shadow computation
2019-09-19 20:03:04 +02:00