Commit Graph

27779 Commits

Author SHA1 Message Date
Ignacio Etcheverry 0fec3cb5ed Mono/C#: Allow exporting System.Array of type Godot.Object 2020-04-22 17:19:45 +02:00
Rémi Verschelde bb9d89d78c
Merge pull request #38089 from YeldhamDev/scenedock_local_fix
Fix "Local" button not being pressed in the Scene dock on first run
2020-04-21 21:17:35 +02:00
Michael Alexsander f1244ce944 Fix "Local" button not being pressed in the Scene dock on first run 2020-04-21 15:03:42 -03:00
Rémi Verschelde cb1ae08c14
Merge pull request #38083 from reduz/use-typed-arrays
Add proper type to most public API uses of Array
2020-04-21 18:47:34 +02:00
Juan Linietsky f8ef38efed Add proper type to most public API uses of Array 2020-04-21 12:16:45 -03:00
Rémi Verschelde 4f03e302a7
Merge pull request #38041 from ThakeeNathees/class-name-check-enhance
GDScript class name existance check enhanced
2020-04-21 16:19:53 +02:00
Rémi Verschelde a5a9bf6a19
Merge pull request #37955 from ThakeeNathees/lin-unsafe-base-know-index-unkonwn
Line marked unsafe when base known and index unkonwn
2020-04-21 16:19:34 +02:00
Rémi Verschelde 9cad835880
Merge pull request #37954 from ThakeeNathees/autocomplete-indexing-native-types
Autocompleting with indexing for builtin types added
2020-04-21 16:19:07 +02:00
Rémi Verschelde 79f82bd742
Merge pull request #38063 from reduz/implement-typed-arrays
Add ability to bind typed arrays to script API
2020-04-21 15:23:35 +02:00
Rémi Verschelde 1061cf9f66
Merge pull request #38072 from akien-mga/jpgd-fuzzed
jpgd: Upgrade to upstream 2.00, fuzzed with zzuf and afl
2020-04-21 12:27:06 +02:00
Rémi Verschelde f2c32f7e57
Merge pull request #38069 from akien-mga/mbedtls-2.16.6
mbedtls: Update to upstream version 2.16.6
2020-04-21 12:16:50 +02:00
Rémi Verschelde c842ddcf76 jpgd: Upgrade to upstream 2.00, fuzzed with zzuf and afl 2020-04-21 11:38:29 +02:00
Rémi Verschelde 6b00357d53 mbedtls: Update to upstream version 2.16.6
Fixes https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-04
2020-04-21 10:37:14 +02:00
Juan Linietsky 5d4dc2d45c Add ability to bind typed arrays to script API
Note: Only replaced 2 instances to test, Node.get_children and TileMap.get_used_cells
Note: Will do a mass replace on later PRs of whathever I can find, but probably need
a tool to grep through doc.
Warning: Mono will break, needs to be fixed (and so do TypeScript and NativeScript, need to ask respective maintainers)
2020-04-21 10:15:40 +02:00
Rémi Verschelde 7343ec13d9
Merge pull request #38047 from akien-mga/mono-docdata-hack
DocData: Keep Mono properties on non-Mono builds
2020-04-21 09:55:36 +02:00
Juan Linietsky 40b2aea222
Merge pull request #38032 from reduz/rendering-device-binds
Exposed RenderingDevice to script API
2020-04-20 22:03:11 -03:00
Juan Linietsky ae09b55a19 Exposed RenderingDevice to script API
Also added an easier way to load native GLSL shaders.

Extras:

Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.

Note:

The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
2020-04-20 21:21:58 -03:00
Rémi Verschelde 6d8e1aea89
Merge pull request #37989 from Calinou/add-freelook-navigation-scheme-settings
Add editor freelook navigation scheme settings
2020-04-20 23:57:34 +02:00
Rémi Verschelde 114ffb19e6
Merge pull request #37982 from DrMoriarty/fix_square_resize
Fix square image resize
2020-04-20 23:56:23 +02:00
Rémi Verschelde 52b27da7a6
Merge pull request #37974 from Calinou/doc-backbuffercopy-anchors
Document how to workaround UI anchor issues when using BackBufferCopy
2020-04-20 23:51:47 +02:00
Rémi Verschelde b372227f06
Merge pull request #37972 from Calinou/doc-improve-resourcesaver-example
Check for errors when saving in the ResourceSaver example documentation
2020-04-20 23:51:04 +02:00
Rémi Verschelde ae92d149a3
Merge pull request #37971 from Calinou/doc-improve-visibility-enabler-notifier
Improve the VisibilityEnabler and VisibilityNotifier documentations
2020-04-20 23:50:21 +02:00
Rémi Verschelde 2905367fed
Merge pull request #37970 from SkyLucilfer/ServerTypo
Correct typo mistake of profiler_add_frame_data argument in physics 3d server
2020-04-20 23:49:36 +02:00
Rémi Verschelde 58a8ca5298
Merge pull request #38060 from akien-mga/fix-gcc-Wmaybe-uninitialized
Fix more GCC -Wmaybe-uninitialized warnings
2020-04-20 23:47:53 +02:00
Rémi Verschelde b4855f5c83
Merge pull request #38056 from clayjohn/GLES2-depth-buffer
Use proper depth buffer format for rgba shadows
2020-04-20 23:47:24 +02:00
Rémi Verschelde 94f0c62789 Fix more GCC -Wmaybe-uninitialized warnings
Fixes #38005.
2020-04-20 22:34:20 +02:00
clayjohn 123dd390e4 Use proper depth buffer format for rgba shadows 2020-04-20 11:58:59 -07:00
Rémi Verschelde 4e4fcbd793
Merge pull request #38045 from akien-mga/fix-subgroup-property
Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
2020-04-20 19:06:02 +02:00
Rémi Verschelde b30014f93f DocData: Keep Mono properties on non-Mono builds
This doesn't make much sense API-wise, but it's important for the documentation
workflow that the Mono and non-Mono builds produce the same output, otherwise
we keep having non-Mono builds removing Mono properties and losing their
descriptions.

This is a terrible hack but it's ad hoc, and should be OK for the time being.
2020-04-20 17:59:07 +02:00
Rémi Verschelde 2cd952bd84 Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
Subgroups were added in #37678 but not properly handled everywhere
where PROPERTY_USAGE_GROUP is.
2020-04-20 17:13:06 +02:00
Rémi Verschelde 9cf48b3e99
Merge pull request #38039 from akien-mga/docdata-skip-unexposed
DocData: Skip unexposed classes
2020-04-20 15:21:49 +02:00
Rémi Verschelde f8218c76ef
Merge pull request #38036 from akien-mga/doc-update
doc: Sync classref with current source
2020-04-20 14:36:29 +02:00
Rémi Verschelde 83b21cd302
Merge pull request #38035 from akien-mga/revert-35261-pck-destination
Revert "Made possible to specify where to dump the contents when load…
2020-04-20 13:47:25 +02:00
Rémi Verschelde 0ef8bcac4d DocData: Skip unexposed classes
Properly expose classes that we actually want accessible.
2020-04-20 12:51:10 +02:00
Thakee Nathees 62280c3d47 GDScript class name existance check enhanced 2020-04-20 16:20:36 +05:30
Rémi Verschelde b7b46093d8 doc: Sync classref with current source
Add missing enum bindings.
2020-04-20 11:48:00 +02:00
Rémi Verschelde 088c2a0870
Merge pull request #37947 from clayjohn/DOCS-rendering-update
Update many docs with recent rendering changes
2020-04-20 11:16:12 +02:00
Rémi Verschelde 6272acd465
Merge pull request #38027 from dreamsComeTrue/override_selected_font_color-docs
Update TextEdit docs - explaining 'override_selected_font_color' role
2020-04-20 11:02:13 +02:00
Rémi Verschelde 515fe0f29b Revert "Made possible to specify where to dump the contents when loading a ".pck" file"
This reverts commit 3c261e0dfa.

This was not so useful as is due to the way dependency paths are stored
in scenes and resources.
2020-04-20 10:57:05 +02:00
Dominik 'dreamsComeTrue' Jasiński 6a0e6c2852 Update TextEdit docs - explaining 'override_selected_font_color' role 2020-04-19 23:33:01 +02:00
Rémi Verschelde 495b28765d
Merge pull request #38002 from madmiraal/fix-class_dictionary
Correct Dictionary addition of a key and the duplication of a variable name.
2020-04-19 11:22:05 +02:00
Marcel Admiraal 4d41535fa3 Correct the addition of a key and the duplication of a variable name
in Dictionary class documentation.
2020-04-19 09:52:54 +01:00
Rémi Verschelde 039abbb64a
Merge pull request #37997 from reduz/local-rendering-devices
Ability to create local RenderingDevice instances.
2020-04-19 09:57:46 +02:00
Juan Linietsky 49d0c6a5c9 Ability to create local RenderingDevice instances. 2020-04-18 21:47:17 -03:00
Rémi Verschelde 9690a60c21
Merge pull request #37994 from akien-mga/mono-android-include
Mono: Fix include for Android support
2020-04-18 22:01:51 +02:00
Rémi Verschelde 408fab8442 Mono: Fix include for Android support
This was a typo in #37153.

Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-04-18 21:28:51 +02:00
Hugo Locurcio 8a48fb3517
Add editor freelook navigation scheme settings
Depending on what one is trying to achieve, a different freelook mode
may be more desirable.

This closes #34034.
2020-04-18 16:24:12 +02:00
Vasiliy Makarov d45e8734d1 Fix square image resize
Fixes #37980
2020-04-18 13:29:01 +03:00
Hugo Locurcio f8a413bb1f
Document how to workaround UI anchor issues when using BackBufferCopy
This closes #6880.
2020-04-17 23:17:31 +02:00
Hugo Locurcio 2f46f1e7b1
Check for errors when saving in the ResourceSaver example documentation
This also replaces a non-breaking space that was accidentally added in
the EditorFeatureProfile documentation.

This closes #31393.
2020-04-17 22:29:05 +02:00