Commit Graph

28941 Commits

Author SHA1 Message Date
Hanif Bin Ariffin 4fea536517 Check pointers against nullptr. 2020-06-15 16:20:36 -04:00
Ignacio Etcheverry 7756351f47 Fix dynamic linking of MSVC Mono with MinGW Godot 2020-06-15 21:29:50 +02:00
Ignacio Etcheverry 54df72dcc6 C#: Add VisualStudio support 2020-06-15 21:29:16 +02:00
Tomasz Chabora ea07acb877 Link exposed set/getters in property descriptions 2020-06-15 20:54:10 +02:00
Rémi Verschelde 09566a96b1
Merge pull request #39546 from vorblen/master
Add description for "absorbent" and "rough"
2020-06-15 20:45:53 +02:00
Yuri Roubinsky cc6ca5f1eb Use path instead classname to prevent errors for exported visual shaders 2020-06-15 21:44:03 +03:00
Rémi Verschelde 6f938c761e
Merge pull request #39483 from AndreaCatania/euler
Added more euler rotation orders support.
2020-06-15 20:38:11 +02:00
Rémi Verschelde f61e4216b7
Merge pull request #39439 from Lefl1/rename_get_action_list
Renamed InputMap.get_action_list to InputMap.action_get_events
2020-06-15 19:59:07 +02:00
Rémi Verschelde bcef549b3e
Merge pull request #39560 from akien-mga/fix-dds-validation
DDS: Fix loading files without DDSD_CAPS or DDSD_PIXELFORMAT
2020-06-15 19:57:17 +02:00
Rémi Verschelde 2947dd592c
Merge pull request #39563 from akien-mga/main-ensure-user-data-dir-earlier
Main: Ensure existing of user data dir in `setup()`
2020-06-15 19:37:34 +02:00
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
Marcel Admiraal 990ecf8fc4 Add Code::Blocks files to .gitignore. 2020-06-15 18:05:33 +01:00
Ranoller bccc2cdb9c
Fix bad position in Camera2D offset and camera rotation if smothing enabled.
Fix https://github.com/godotengine/godot/issues/16323 in master. Apply same solution of https://github.com/godotengine/godot/issues/2074 in rotation and offset.
2020-06-15 16:27:59 +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 de9d43ae0f Main: Ensure existing of user data dir in `setup()`
When it was in `setup2()`, it would arrive too late for the optional file
logging feature.

Fixes #32488.
2020-06-15 14:33:39 +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
Lennard f515071edc Renamed InputMap.get_action_list to InputMap.get_action_events 2020-06-15 14:01:53 +02:00
Vorblen 8acdbaa4f2 Add description for "absorbent" and "rough" 2020-06-15 12:36:43 +01: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 0f21249a2d DDS: Fix loading files without DDSD_CAPS or DDSD_PIXELFORMAT
MSDN says:

> When you write .dds files, you should set the DDSD_CAPS and
> DDSD_PIXELFORMAT flags, and for mipmapped textures you should also
> set the DDSD_MIPMAPCOUNT flag. However, when you read a .dds file,
> you should not rely on the DDSD_CAPS, DDSD_PIXELFORMAT, and
> DDSD_MIPMAPCOUNT flags being set because some writers of such a file
> might not set these flags.

https://docs.microsoft.com/en-us/windows/win32/direct3ddds/dds-header

¯\_(ツ)_/¯

Fixes #39516.
2020-06-15 13:10:24 +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
Nathan Franke dc1ca8fbd0
Change "ParentNode" to "Inherit" in Texture Options 2020-06-14 16:02:00 -05: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