Commit graph

28712 commits

Author SHA1 Message Date
Hugo Locurcio 1c28b269d8
Improve the low processor mode sleep precision
The Low Processor Usage Mode Sleep Usec setting is now used as a
FPS limiter rather than a constant sleep duration.

This will increase CPU/GPU usage slightly due to the higher
effective FPS, but the increase in overall smoothness is worth it.

If both Force Fps and Low Processor Usage Mode settings are enabled
in the project settings, only the setting that causes the highest
sleep duration will be retained.

This closes #11030.
2020-06-15 19:30:39 +02:00
Rémi Verschelde 77990b87c2 i18n: Sync translations with Weblate
Remove 'de_CH' translation (4% complete) to default to the 100%
complete 'de' one.

Fixes #32625.

(cherry picked from commit 35a5ebb44d)
2020-06-15 14:35:07 +02:00
Rémi Verschelde e720118a75
Merge pull request #39556 from akien-mga/lsp-fix-39548
GDScript LSP: Fix wrong error checks added in #39385
2020-06-15 14:27:41 +02:00
Rémi Verschelde 1642effe5b
Merge pull request #39322 from dominiks/filedialog-title-doc
Add note about automatic window title to FileDialog documentation.
2020-06-15 13:22:25 +02:00
Rémi Verschelde b5dfe45efc
Merge pull request #39183 from bruvzg/gdnative_merge_structs
GDNative: merge API structs, bump version of merged structs.
2020-06-15 12:02:26 +02:00
Rémi Verschelde d3c10e8dd6
Merge pull request #39457 from bruvzg/kbd_layouts
Add keyboard layout enumeration / set / get functions.
2020-06-15 11:10:34 +02:00
Rémi Verschelde 2a96823cc7
Merge pull request #39490 from Calinou/doc-node-virtual-method-tree
Clarify Node virtual methdods not being called if node is orphan
2020-06-15 11:07:10 +02:00
Rémi Verschelde 2db9c13798
Merge pull request #39436 from bruvzg/macos_export_notarization
[macOS export] Add notarization support.
2020-06-15 11:04:47 +02:00
Rémi Verschelde c6f48f5bfc
Merge pull request #39485 from theoway/append_bbcode_animation_bug
Fixes the stopping of animation effects in bbcode text after appending
2020-06-15 11:03:46 +02:00
Rémi Verschelde 808e0d3693
Merge pull request #39521 from 31/fix-image-createfromdata
Fix Image.create_from_data "use_mipmaps" class doc
2020-06-15 11:00:36 +02:00
Rémi Verschelde 2ffc570417
Merge pull request #39522 from noidexe/fix-tabcontainer-tabselected-misfire
Fix TabContainer emitting spurious tab_selected signals when a theme …
2020-06-15 10:57:32 +02:00
Rémi Verschelde 786f4ada35 GDScript LSP: Fix wrong error checks added in #39385
Reverts `latest_client_id` back to 0, as I misunderstood how the client
IDs are assigned and, without further testing and debugging, I can't
say if this was a bug or a valid default value.
Similarly, a `latest_client_id` of -1 is no longer raising an error.

Fixes #39548.
2020-06-15 09:51:56 +02:00
Rémi Verschelde 0d1706c057
Merge pull request #39462 from Calinou/doc-in-operator
Document the `in` operator in String, Array and Dictionary classes
2020-06-15 09:30:23 +02:00
Rémi Verschelde 152bb86141
Merge pull request #39479 from akien-mga/classdb-default-property-unique
Object: Add usage hint to instantiate Object properties in editor
2020-06-15 09:30:04 +02:00
Rémi Verschelde fdc8b96975
Merge pull request #39503 from hilfazer/fav-proj-godot4
Fixed "Favourite Project" button in Project Manager
2020-06-15 09:28:17 +02:00
Rémi Verschelde b95611bb86
Merge pull request #39543 from Sawrr/master
Unhide Skeleton3D menu button
2020-06-15 09:24:34 +02:00
Rémi Verschelde 9d2ee682ef
Merge pull request #39520 from skyace65/label
Fix label percent visible doc description
2020-06-15 09:22:49 +02:00
Rémi Verschelde 8de945d7ba
Merge pull request #39534 from Calinou/remove-2d-pixel-import-preset
Remove the obsolete "2D Pixel" import preset
2020-06-15 09:22:06 +02:00
Rémi Verschelde 139c490a1a
Merge pull request #39535 from Calinou/doc-viewportcontainer-size
Document how to resize a SubViewportContainer to avoid stretching
2020-06-15 09:09:36 +02:00
Rémi Verschelde 3d1b8ee56a
Merge pull request #39549 from KoBeWi/deletebuseffectinator
Delete bus effect with Delete key
2020-06-15 07:57:16 +02:00
Rémi Verschelde 6368d7b97d
Merge pull request #39551 from mrushyendra/regex_class_doc
[Doc] Fix RegEx expression result
2020-06-15 07:32:52 +02:00
Rémi Verschelde fe858b74b8
Merge pull request #39552 from mrushyendra/whole_word_match_count
Fix match count for whole word search in editor
2020-06-15 07:13:20 +02:00
Maganty Rushyendra 91bdc77d47 Fix match count for whole word search in editor
Check if a match borders a new line char when incrementing match counts.
2020-06-15 11:39:36 +08:00
Maganty Rushyendra e5d93f7a66 Fix RegEx example in class doc and correct typo
Fix minor errors to do with `search_all` example in RegEx and
typo in RegExMatch class docs.
2020-06-15 10:25:09 +08:00
Tomasz Chabora 05656f2b29 Delete bus effect with Delete key 2020-06-15 00:32:50 +02:00
Sawrr d7a3395332 Unhide Skeleton3D menu button 2020-06-14 16:58:10 -04:00
Rémi Verschelde 6fa2a5ac14
Merge pull request #39537 from Faless/js/fs_sync_iteration
Immediately run first iteration after JS FS sync.
2020-06-14 22:57:32 +02:00
skyace65 a09aeefa1d Fix label percent visible doc description 2020-06-14 16:34:43 -04:00
Fabio Alessandrelli 5c75cb0133 Immediately run first iteration after JS FS sync.
Which is now run inside an animation frame.
This avoid a 1 frame black screen when setting up the canvas.
2020-06-14 16:04:45 +02:00
Hugo Locurcio f818a99d0b
Document how to resize a SubViewportContainer to avoid stretching
This closes #27534.
2020-06-14 15:26:51 +02:00
Hugo Locurcio 26161de739
Remove the obsolete "2D Pixel" import preset
Texture filtering is now defined on a per-node basis, thanks to
bindless textures provided by Vulkan.

This closes #37057.
2020-06-14 15:08:09 +02:00
Rémi Verschelde 79947dfef1
Merge pull request #39529 from ricardoprins/pr/39419
Add description to TileSet.is_tile_bound() method
2020-06-14 10:36:37 +02:00
Rémi Verschelde 98f47eaa62
Merge pull request #39524 from KoBeWi/follow_me_bro
Re-enable scroll follow on RichTextLabel clear
2020-06-14 10:13:21 +02:00
Rémi Verschelde 10b678a806
Merge pull request #39523 from 31/doc-renderpriority-depth
Fix Material.render_priority doc: claims opaque objects are sorted
2020-06-14 10:12:36 +02:00
Ricardo Prins 00398abf77 Add description to TileSet.is_tile_bound() method 2020-06-13 21:47:25 -06:00
Tomasz Chabora 46fd51056a Re-enable scroll follow on RichTextLabel clear 2020-06-14 01:23:32 +02:00
Lisandro Lorea 5123006f06 Fix TabContainer emitting spurious tab_selected signals when a theme is changed
- The repaint code was moved outside of set_current_tab() and to a "_repaint()" private function
- _on_theme_changed() will now only call _repaint() and update()
This means _on_theme_changed() will do only what it needs (repainting the TabContainer to account for the new theme)

fixes #39498
2020-06-13 20:06:19 -03:00
31 608bc8f3dc Fix Material.render_priority doc: no opaque sort
Opaque objects are rendered using the depth buffer, so the end result
appears sorted, but the opaque objects themselves are not sorted.
2020-06-13 17:35:09 -05:00
31 09b324b5b6 Fix Image.create_from_data use_mipmaps doc
The Image.create_from_data doc describes the "use_mipmaps" argument as a
way to generate mipmaps, but this method only allocates and loads data.
This can cause confusion, where this function reads more or less data
than expected. Update the doc to be more specific that create_from_data
is loading the mipmaps from the raw data.
2020-06-13 17:18:02 -05:00
Rémi Verschelde 58034f3982
Merge pull request #39505 from madmiraal/fix-39500
Ensure pair callback data is set to null when it's null.
2020-06-13 16:33:35 +02:00
Marcel Admiraal 62142c5416 Ensure pair callback data is set to null when it's null. 2020-06-13 14:43:25 +01:00
hilfazer 512aaf018c Fixed "Favourite Project" button in Project Manager 2020-06-13 12:43:54 +02:00
bruvzg 92352b1c23
Add keyboard layout enumeration / set / get functions (macOS, Windows, Linux/X11), remove latin variant function. 2020-06-13 11:02:00 +03:00
Hugo Locurcio b2ba78ff0f
Clarify Node virtual methdods not being called if node is orphan
This closes #39489.
2020-06-12 23:43:34 +02:00
Umang Kalra 88b30a29bf Fixes the stopping of animation effects in bbcode after appending 2020-06-13 00:20:52 +05:30
Hugo Locurcio 7f01f68226
Document the in operator in String, Array and Dictionary classes
This also clarifies the `in` operator behavior in Object.
2020-06-12 19:22:35 +02:00
Rémi Verschelde b3bc5aafc5 Object: Add usage hint to instantiate Object properties in editor
Fixes #36372 as Path2D/Path3D's `curve` property no longer uses a Curve
instance as default value, but instead it gets a (unique) default Curve
instance when created through the editor (CreateDialog).

ClassDB gets a sanity check to ensure that we don't do the same mistake
for other properties in the future, but instead use the dedicated
property usage hint.

Fixes #36372.
Fixes #36650.

Supersedes #36644 and #36656.

Co-authored-by: Thakee Nathees <thakeenathees@gmail.com>
Co-authored-by: simpuid <utkarsh.email@yahoo.com>
2020-06-12 14:30:18 +02:00
Rémi Verschelde 84abf5a979
Merge pull request #39478 from mrushyendra/find_whole_word
Fix whole word search slowdown in editor
2020-06-12 12:58:31 +02:00
Maganty Rushyendra 2433287871 Fix whole word search slowdown in editor
Reduce repeated iteration through the full text
when counting the number of occurrences of whole
words while searching a file in the editor.
2020-06-12 17:43:50 +08:00
Rémi Verschelde 42bc9ba92f
Merge pull request #39468 from KoBeWi/cpp_type_the_sequel
Fix custom types in node list search
2020-06-12 10:46:21 +02:00