Commit graph

28747 commits

Author SHA1 Message Date
Hugo Locurcio
a9c60007a9 Add a suffix to the window title when running from a debug build
Since projects started from the editor or exported in debug mode
run slower than those exported in release mode, this should be
clearly presented to the user.

This partially addresses #20219.
2020-06-16 11:39:37 +02:00
Rémi Verschelde
309adb93cd
Merge pull request #39484 from hbina/use_nullptr_in_macros
Check pointers against nullptr.
2020-06-16 10:42:56 +02:00
Rémi Verschelde
3306935289
Merge pull request #39572 from Chaosus/fix_vs_4.0
Use path instead classname to prevent errors for exported visual shaders
2020-06-16 09:32:38 +02:00
Rémi Verschelde
cb4ca328bf
Merge pull request #39578 from neikeq/visualstudio-support
C#: Add Visual Studio support
2020-06-16 09:31:19 +02:00
Rémi Verschelde
8db8577f10
Merge pull request #39126 from TwistedTwigleg/GSOC_2020_Working_Branch
Skeleton and Skeleton inspector low-level changes
2020-06-16 09:30:22 +02:00
Rémi Verschelde
6cefb8d368
Merge pull request #39314 from ThakeeNathees/debugger-incorrect-line-fix
GDScript debugger stepping to incorrect line fix
2020-06-16 09:26:49 +02:00
Rémi Verschelde
df0779acfd
Merge pull request #39315 from ThakeeNathees/ctrl-click-fix-for-subclasses
Fix: Ctrl + Click not working for subclasses
2020-06-16 09:26:15 +02:00
Rémi Verschelde
3fa863dbb8
Merge pull request #38934 from KoBeWi/where_to_setget
Link exposed setters/getters in property descriptions
2020-06-16 09:25:27 +02:00
Rémi Verschelde
5ce02b1bf3
Merge pull request #38917 from bruvzg/in_editor_docs_style
Change in-editor documentation style to match online docs.
2020-06-16 09:22:01 +02:00
bruvzg
1e3c02d590
Change in-editor documentation style to be closer to online docs. 2020-06-16 08:03:24 +03:00
Rémi Verschelde
4b5b60de85
Merge pull request #39189 from touilleMan/issue-38925
Unify OS.get_system_time_* and OS.get_unix_time
2020-06-15 23:57:16 +02:00
Rémi Verschelde
e606b510ae
Merge pull request #39544 from nathanfranke/canvas-item-parent-node-rename
Change "ParentNode" to "Inherit" in Texture Options
2020-06-15 23:37:05 +02:00
Rémi Verschelde
c5a2a7a66a
Merge pull request #39567 from Ranoller/patch-1
Fix bad position in Camera2D offset and camera rotation if smothing e…
2020-06-15 23:36:23 +02:00
Rémi Verschelde
df5aa9b933
Merge pull request #39570 from madmiraal/ignore-code_blocks-files
Add Code::Blocks files to .gitignore.
2020-06-15 23:36:09 +02:00
TwistedTwigleg
24905becb2 Made low level changes to the Skeleton3D class and Skeleton3D inspector. Changes listed below:
* Added helper functions to Skeleton3D for converting transforms from bone space to global space, and vice versa.
* Updated the Skeleton3D class reference.
* Changed the icon used for bones in the Skeleton3D inspector to use BoneAttachement3D's icon.
* Changed the Skeleton3D inspector to use EditorPropertyTransform and EditorPropertyVector3 when possible.
* Placed the Transform/Matrix for each bone in a sub-section, so it is visually similar to the Node3D inspector.
2020-06-15 17:18:06 -04:00
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
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