Commit graph

40593 commits

Author SHA1 Message Date
lawnjelly
b411a731fe Add nodiscard to core math classes to catch c++ errors.
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-20 13:07:49 +00:00
Rémi Verschelde
249c60e9d1
Merge pull request #56951 from bruvzg/fix_locale 2022-01-19 16:44:27 +01:00
Rémi Verschelde
8396755cb6
Merge pull request #56954 from pycbouh/control-dont-resize-outside-tree 2022-01-19 16:44:06 +01:00
Rémi Verschelde
cba2fd2e80
Revert "Add new scaling modes for splash screen"
This reverts commit fcc9f5ce39.

The feature is good but the implementation still needs more work.
A new PR will be made with a rework of this commit.
2022-01-19 16:09:52 +01:00
Yuri Sizov
bcbbbeb050 Ignore layout and translation changes in Controls outside of tree 2022-01-19 18:02:22 +03:00
bruvzg
de48d5101b
Fix locale always selecting translation instead of "en", when no match found. 2022-01-19 16:46:48 +02:00
Rémi Verschelde
82efb1d262
Merge pull request #53923 from KoBeWi/RichBugLabel 2022-01-19 15:23:13 +01:00
Max Hilbrunner
2d1080e430
Merge pull request #56930 from skyace65/Stringify
Better explain JSON stringify indent parameter (4.0)
2022-01-19 15:07:00 +01:00
skyace65
03257fcecb Better explain JSON stringify indent parameter (4.0) 2022-01-19 08:32:58 -05:00
Yuri Roubinsky
69a9eb3b61
Merge pull request #56914 from Chaosus/shader_error_translation 2022-01-19 16:31:24 +03:00
kobewi
42c79161c2 Fix bottom line in editor log 2022-01-19 14:26:31 +01:00
Rémi Verschelde
7a88f5cf1e
Merge pull request #56924 from KoBeWi/_or_null 2022-01-19 14:01:08 +01:00
Rémi Verschelde
d80dbcaef0
Merge pull request #56926 from V-Sekai/show_in_file_manager 2022-01-19 14:00:30 +01:00
Rémi Verschelde
26c42331bc
Merge pull request #56907 from rburing/convert_to_meshlibrary_apply_transforms 2022-01-19 13:59:41 +01:00
Rémi Verschelde
6ab5d9d008
Merge pull request #56935 from V-Sekai/window_theme_changed_signal 2022-01-19 13:31:56 +01:00
Yuri Roubinsky
e0304f83e7 Add translation links to shader errors 2022-01-19 15:16:32 +03:00
Rémi Verschelde
34f6572bdf
Merge pull request #56940 from Faless/editor/4.x_keying_refactor 2022-01-19 12:32:25 +01:00
Fabio Alessandrelli
7e14548fc6 [Editor] Move some animation specific keying logic out of inspector.
Most of the custom logic to handle special keying cases is now inside
the AnimationPlayerEditorPlugin.

The EditorInspector now emits a signal when inspecting a new object.
2022-01-19 11:08:25 +01:00
Rémi Verschelde
8b8e858778
Merge pull request #54489 from briansemrau/texture-delete-update 2022-01-19 10:10:54 +01:00
Rémi Verschelde
74b110a736
Merge pull request #56825 from bruvzg/macos_fix_fullscr_multiwindow 2022-01-19 10:03:17 +01:00
SaracenOne
2db30ef223 Add missing 'theme_changed' signal to Window class 2022-01-19 07:59:42 +00:00
Rémi Verschelde
827c8e22b7
Merge pull request #56929 from pycbouh/editor-dont-err-just-install
Make assets in progress open the next step instead of erring
2022-01-19 08:11:24 +01:00
Yuri Sizov
8e8177521f Make assets in progress open the next step instead of erring 2022-01-19 04:37:38 +03:00
SaracenOne
b7348419a3 Allow selection of option 'Open in File Manager' even when a file/folder is not explicitly selected. 2022-01-19 01:08:20 +00:00
kobewi
f74d52e80d Fix error on scene tiles cleanup 2022-01-19 00:39:26 +01:00
Rémi Verschelde
f8b8d0d4b8
Merge pull request #22488 from samuelpedrajas/splash_new_scaling_modes 2022-01-19 00:38:40 +01:00
Rémi Verschelde
7a9c006b6e
Merge pull request #56921 from pycbouh/control-rtl-tables-got-squared 2022-01-19 00:12:49 +01:00
Samuel Pedrajas
fcc9f5ce39
Add new scaling modes for splash screen
Removes the `fullsize` option which is superseded by `stretch_mode`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-01-18 23:29:11 +01:00
Rémi Verschelde
edfcdc1acb
Merge pull request #56920 from pycbouh/docs-sort-class-properties 2022-01-18 23:17:23 +01:00
Yuri Sizov
3f5ed098bb Fix RichTextLabel tables shrinking expanded columns when there is not enough space 2022-01-19 00:44:19 +03:00
Rémi Verschelde
4979d9fc7b
Merge pull request #56910 from pycbouh/control-rtl-gives-me-no-space 2022-01-18 22:32:12 +01:00
Yuri Sizov
49553ecfe3 Sort class properties in the built-in docs 2022-01-19 00:07:47 +03:00
Yuri Sizov
ba99cd40d1 Improve spacing in built-in class reference 2022-01-18 23:01:30 +03:00
Yuri Sizov
3b1c02a139 Fix RichTextLabel not respecting line separation in several cases 2022-01-18 23:01:01 +03:00
Rémi Verschelde
36ff6d2b74
Merge pull request #56906 from KoBeWi/the_paste_side_quest
Improve node pasting
2022-01-18 20:44:23 +01:00
Rémi Verschelde
030638e5b4
Merge pull request #56104 from Geometror/add-flow-layout-container
Add FlowContainer
2022-01-18 20:26:29 +01:00
kobewi
6630eb3b5a Improve node pasting 2022-01-18 16:54:53 +01:00
Rémi Verschelde
bc5ba38ff5
Merge pull request #56619 from timothyqiu/left-right-palette 2022-01-18 16:38:09 +01:00
Rémi Verschelde
45cb12955f
Merge pull request #56622 from Pineapple/scenestate-optimizations 2022-01-18 16:35:32 +01:00
Ricardo Buring
025d7b9332 Fix "Convert to MeshLibrary" not respecting collision transforms 2022-01-18 16:30:41 +01:00
Rémi Verschelde
01eefa2c50
Merge pull request #56761 from Calinou/sdfgi-allow-any-number-of-cascades 2022-01-18 16:21:39 +01:00
Rémi Verschelde
ce2b5bdfa8
Merge pull request #52969 from bruvzg/locale_detection 2022-01-18 15:43:04 +01:00
Rémi Verschelde
28cd81c581
Merge pull request #56896 from akien-mga/dictionary-improve-VariantWriter-and-docs 2022-01-18 15:33:00 +01:00
Rémi Verschelde
fd5fb7d64a
Merge pull request #56899 from touilleMan/fix-editor_node-set_exit_code 2022-01-18 14:48:55 +01:00
Rémi Verschelde
ca93518ebb
Merge pull request #43044 from rburing/fix_import_hints_breaking_animations 2022-01-18 14:32:47 +01:00
Yuri Roubinsky
2fbc7de4a0
Merge pull request #56897 from Chaosus/fix_toast_icon_theming 2022-01-18 15:44:18 +03:00
Rémi Verschelde
fe30928f9a
Merge pull request #56898 from akien-mga/thorvg-mingw-cstring 2022-01-18 13:41:41 +01:00
Rémi Verschelde
7c771ea310
Merge pull request #47522 from madmiraal/rename-test_width-test_height 2022-01-18 13:39:57 +01:00
bruvzg
40c56ed410
Improve locale detection.
Use separate language, script and country lists.
Add locale selection dialog and property hint.
2022-01-18 14:30:00 +02:00
Rémi Verschelde
0a67b46396
Merge pull request #52597 from Jummit/scene_casing_setting 2022-01-18 13:24:58 +01:00