Commit Graph

23635 Commits

Author SHA1 Message Date
George Marques 64d09b7de5
GDScript: Fix type resolution not being return in some cases
Some situations caused the parser node type to not being update when
trying to resolve the type, returning invalid data and breaking the
parsing when it shouldn't. This patch fix the behavior.
2019-09-24 18:05:20 -03:00
Rémi Verschelde dd3e17588e
Merge pull request #32317 from KoBeWi/just_dont
Don't try to slice empty arrays
2019-09-24 21:53:31 +02:00
Tomasz Chabora 46e1c0670e Don't try to slice empty arrays 2019-09-24 21:33:09 +02:00
Rémi Verschelde 0c3335d1f3
Merge pull request #32309 from clayjohn/particles_tex_scale
Fix particles scale randomization
2019-09-24 18:05:44 +02:00
clayjohn bc94203add fix particles scale randomization 2019-09-24 08:03:53 -07:00
Rémi Verschelde 2b628e5d5b
Merge pull request #32269 from m4gr3d/improve_build_time
Update the Godot gradle build tasks to provide additional flexibility
2019-09-24 16:29:34 +02:00
Rémi Verschelde 78e6b7c1bf doc: Sync classref with current source 2019-09-24 15:57:22 +02:00
Rémi Verschelde 08f557c0c4
Merge pull request #32285 from Faless/crypto/initial_docs
Add documentation for crypto-related classes.
2019-09-24 15:55:00 +02:00
Rémi Verschelde e95e847c01
Merge pull request #32307 from neikeq/mesege
Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
2019-09-24 15:44:37 +02:00
Rémi Verschelde 9a327998f4
Merge pull request #32305 from akien-mga/doc-fixup-self-closing-tag
doc: Fix parsing of self-closing XML tags
2019-09-24 15:44:09 +02:00
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
Ignacio Etcheverry 97143e60c1 Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
The type of the parameter 'skeleton' was changed from 'RID' to 'SkinReference', yet the default value remained 'RID()'.
2019-09-24 15:12:27 +02:00
Ignacio Etcheverry c4fa027614 Improve C# bindings generator errors for default param values 2019-09-24 15:09:54 +02:00
Fabio Alessandrelli a20cbf2cca Add documentation for crypto-related classes.
Add documentation for Crypto, CryptoKey, HashingContext, and
X509Certificate.
Add documentation for `StreamPeerSSL.accept_peer`.

Ref #29871.
2019-09-24 14:50:09 +02:00
Rémi Verschelde a7ac8ec876 doc: Fix parsing of self-closing XML tags
Follow-up to #31925, `<member />` tags just before `</members>` would cause
a parsing issue, and we'd never notice that we're no longer parsing members.

Also added space before closing `/>`.
2019-09-24 13:34:05 +02:00
Rémi Verschelde 2f52d73c21
Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docs
Add overriden properties to the documentation
2019-09-24 11:53:43 +02:00
Rémi Verschelde 823c3def72 Fix copyright headers and style issues 2019-09-24 11:52:06 +02:00
Rémi Verschelde 4f294b958f doc: Sync classref with current source
Fix a few missing bindings or unspecified argument names and default values.
2019-09-24 11:52:06 +02:00
Rémi Verschelde ef2a7834c9
Merge pull request #31883 from aole/create-string-function-repeat
Create a GDScript String function repeat
2019-09-24 11:50:58 +02:00
Rémi Verschelde cefa56ef1f
Merge pull request #31935 from aole/Change-minimum-size-when-theme-changed
Change minimum size when theme changed
2019-09-24 11:13:44 +02:00
Rémi Verschelde 22f7af9a87
Merge pull request #31944 from skyace65/visibilityenabler
Clarify VisibilityEnabler2D description
2019-09-24 11:10:18 +02:00
Rémi Verschelde cf540f853d
Merge pull request #31974 from YeldhamDev/tilegrid_map_fixes
Small fixes for the Tile/GridMap editors
2019-09-24 11:06:34 +02:00
Rémi Verschelde 0bcc2c2f5f
Merge pull request #31976 from Calinou/doc-improve-shadow-atlas-sizes
Improve documentation pertaining to shadow atlas sizes
2019-09-24 11:06:05 +02:00
Rémi Verschelde 4a7889578c
Merge pull request #31978 from YeldhamDev/inspector_dock_small_improvements
Small improvements to the inspector dock
2019-09-24 11:05:20 +02:00
Rémi Verschelde a7b95d1934
Merge pull request #32267 from YeldhamDev/fix_tab_icons
Fix various problems with tab-related icons
2019-09-24 10:45:40 +02:00
Rémi Verschelde 73c7b9a69e
Merge pull request #32283 from Calinou/project-manager-no-open-ctrl-double-click
Don't open a project in the list if Ctrl is held while double-clicking
2019-09-24 10:38:58 +02:00
Rémi Verschelde 5c0de2c249
Merge pull request #32286 from Calinou/doc-improve-os-shell-open
Improve the `OS.shell_open()` documentation
2019-09-24 10:29:04 +02:00
Rémi Verschelde 5d4e9bdd9e
Merge pull request #32288 from CorattiS86/fixing_#32263
Fix Hide Console Window stores opposite value
2019-09-24 10:28:17 +02:00
Rémi Verschelde 4bdb3f4016
Merge pull request #32257 from Calinou/doc-set-window-title-performance
Mention performance caveats of `OS.set_window_title()`
2019-09-24 10:14:58 +02:00
Rémi Verschelde fd3c825034
Merge pull request #31970 from HaSa1002/i18n
Fixed out of range crash on remapping files for translation
2019-09-24 10:07:20 +02:00
Rémi Verschelde db47221b8c
Merge pull request #32225 from Calinou/improve-editor-help-display
Improve the editor help display
2019-09-24 09:52:21 +02:00
Rémi Verschelde 78a7db7b6b
Merge pull request #32224 from KoBeWi/not_so_smart_lines
Initialize snap_target and make sure it disappears
2019-09-24 09:51:25 +02:00
Rémi Verschelde 329c54453e
Merge pull request #32202 from Relintai/fix-crash-in-rich-text-label
Fix crash on some platforms in RichTextLabel.
2019-09-24 09:30:14 +02:00
Rémi Verschelde 1ecdd5b5cc
Merge pull request #32194 from AlexRixhardson/fix-7945
Fixes crash described in issue 7945 (Duplicated [self drawView] in iphone gl_view)
2019-09-24 09:17:54 +02:00
Rémi Verschelde 0ea54eeb06
Merge pull request #30497 from Calinou/editor-gizmos-change-notify
Notify changes in properties that can be edited by 3D gizmos
2019-09-23 22:22:49 +02:00
Rémi Verschelde 08961912db
Merge pull request #32029 from nekomatata/bezier-track-fixes
Fixes in AnimationTrackEditor around bezier curves
2019-09-23 22:09:40 +02:00
Rémi Verschelde ce384f885c
Merge pull request #32250 from lawnjelly/android-keyboard2
Fix Android keyboard crash with left cursor
2019-09-23 22:09:09 +02:00
Stefano Coratti c46d172533 Fix #32263 - Hide Console Window stores opposite value 2019-09-23 22:06:34 +02:00
lawnjelly ad5d0cca4d Fix Android keyboard crash with left cursor
Fixes #32168.
Previously we were returning all key up and key down messages as unhandled to the OS. This was resulting in crashes on certain keypresses (left cursor), for undetermined reason.

This PR defaults all key up and keydown messages to be returned as handled by Godot, except those explicitly coded as exceptions (currently volume keys only).
2019-09-23 18:08:41 +01:00
Rémi Verschelde b8e56c5c15
Merge pull request #32021 from Calinou/editor-audio-bus-snapping
Implement snapping in the audio bus editor
2019-09-23 18:51:26 +02:00
Rémi Verschelde 2f228cdda4
Merge pull request #32278 from Calinou/lsp-fix-double-assignment
Fix `line` being assigned to twice in the GDScript language server
2019-09-23 18:50:12 +02:00
Hugo Locurcio 5d676682b4
Improve the `OS.shell_open()` documentation
This adds a `mailto:` example to `OS.shell_open()`.
2019-09-23 18:37:47 +02:00
Rémi Verschelde 75ed4b159a
Merge pull request #32277 from Calinou/override-for-add-feature-tags
Add some missing feature tags to the "Override For..." menu
2019-09-23 17:55:43 +02:00
Hugo Locurcio 76dd021a30
Don't open a project in the list if Ctrl is held while double-clicking 2019-09-23 17:25:37 +02:00
Rémi Verschelde a226d63f68
Merge pull request #31975 from codecustard/fixes_subresource_showing_deselection
Fixes Subresource Showing While Unselected
2019-09-23 16:00:45 +02:00
Rémi Verschelde ed18e3f195
Merge pull request #32273 from Calinou/humanize-size-fix-i18n
Fix i18n in `String::humanize_size()`
2019-09-23 15:57:18 +02:00
Rémi Verschelde f1146c261d
Merge pull request #31751 from clayjohn/GLES3-Viewport-crash-canvas
Throw error when canvas background is used without sample buffer
2019-09-23 15:35:31 +02:00
Hugo Locurcio c1fcb22677
Fix `line` being assigned to twice in the GDScript language server
This closes #32090.
2019-09-23 15:27:30 +02:00
Rémi Verschelde 2114898cb5
Merge pull request #31172 from creikey/add-array-slicing
Add array slice method
2019-09-23 15:26:27 +02:00
Hugo Locurcio 364dfa8d28
Add some missing feature tags to the "Override For..." menu
This closes https://github.com/godotengine/godot-docs/issues/2782.
2019-09-23 15:13:50 +02:00