Haoyu Qiu
be79bdc8ab
Fix editor crash when exporting profiler data
2021-05-21 15:47:23 +08:00
Tomasz Chabora
b1859510ab
Change behavior of String.right
2021-05-20 23:07:57 +02:00
Rémi Verschelde
28c7e28403
Merge pull request #48895 from JFonS/fix_viewport_rotation_control
...
Fix swapped front/rear directions in viewport rotation control.
2021-05-20 20:54:40 +02:00
jfons
e70e33ddcf
Fix swapped front/rear directions in viewport rotation control.
2021-05-20 16:28:38 +02:00
Rémi Verschelde
f2d55f3c0f
Merge pull request #48863 from Ev1lbl0w/bugfix-zip_import
...
Fix zip_root not being defined when importing by drag&drop
2021-05-20 14:34:04 +02:00
Rémi Verschelde
a6a75e2c09
Merge pull request #48812 from groud/tilemap_scenes_painting
...
Implement scenes tiles in TileMaps
2021-05-20 14:32:40 +02:00
Rémi Verschelde
342f3efc7e
Merge pull request #48882 from aaronfranke/approx-use-double
...
Make is_equal_approx have explicit float and double versions
2021-05-20 14:17:58 +02:00
Gilles Roudière
d8bb53cd21
Implement scenes tiles in TileMaps
2021-05-20 13:12:03 +02:00
Rémi Verschelde
4219a4cb6f
Fix typos with codespell
...
Using codespell 2.0.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2021-05-20 12:38:56 +02:00
Aaron Franke
b5b6d3a8ec
Make is_equal_approx have explicit float and double versions
2021-05-20 06:18:11 -04:00
Yuri Roubinsky
f100fb9f10
Updates script list colors after theme is changed
2021-05-20 09:02:59 +03:00
Ev1lbl0w
056deefa55
Fix zip_root not being defined when importing by drag&drop
2021-05-19 22:43:54 +01:00
Hugo Locurcio
16876bec76
Fix crash when trying to save with no scenes and scripts open
...
This could occur when attempting to save project settings when
no scenes or scripts are open (which is common in a brand new project).
2021-05-18 19:48:38 +02:00
Rémi Verschelde
2076580080
i18n: Sync translations with Weblate
...
(cherry picked from commit bcedd09742
)
2021-05-18 12:09:50 +02:00
Rémi Verschelde
35edb77d1f
Merge pull request #37796 from Gogsi/master
...
Improve consistency in file order
2021-05-18 11:45:05 +02:00
Georgi Genkov
a8c83a7b35
Change EditorFileSystem and ScriptEditor file sorting order to improve consistency.
...
Fixes #37721 .
2021-05-18 10:42:06 +02:00
trollodel
bca0d36fe6
Improve TreeItem API and allow to move nodes
2021-05-17 22:06:46 +02:00
Rémi Verschelde
6c367f8e0d
Merge pull request #48168 from LightningAA/control-to-ctrl-4.0
2021-05-17 17:38:02 +02:00
Rémi Verschelde
fead3fff17
Merge pull request #47260 from pycbouh/editor-resource-picker
2021-05-17 17:33:59 +02:00
Rémi Verschelde
b0a51bf9fe
Merge pull request #48768 from akien-mga/file-access-64-bit-4.0
...
Make all file access 64-bit (`uint64_t`)
2021-05-17 16:02:12 +02:00
Rémi Verschelde
45e0f9fd52
Merge pull request #48791 from foxydevloper/fix-sort-translations
...
Make Sort by X strings translatable
2021-05-17 15:55:16 +02:00
Hugo Locurcio
d211c05111
Use a DynamicFont for the default project theme
...
This makes font oversampling work out of the box, while also increasing
the supported character set's size. The default font is now larger
as well to better fit today's screen resolutions.
The OpenSans SemiBold font was chosen for two reasons:
- Small file size, yet its character set supports Latin-1 and Cyrillic
text.
- A heavier font weight looks better in most "game" scenarios and is
more readable against mixed-color backgrounds.
This is considered a breaking change as it changes the default font's
metrics, which will likely affect how Control nodes are laid out in
scenes (unless a custom font is in use).
2021-05-17 15:19:13 +02:00
Pedro J. Estébanez
469fa47e06
Make all file access 64-bit (uint64_t)
...
This changes the types of a big number of variables.
General rules:
- Using `uint64_t` in general. We also considered `int64_t` but eventually
settled on keeping it unsigned, which is also closer to what one would expect
with `size_t`/`off_t`.
- We only keep `int64_t` for `seek_end` (takes a negative offset from the end)
and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means
we only need to guard against passing negative values in `core_bind.cpp`.
- Using `uint32_t` integers for concepts not needing such a huge range, like
pages, blocks, etc.
In addition:
- Improve usage of integer types in some related places; namely, `DirAccess`,
core binds.
Note:
- On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with
version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for
big files on 32-bit Windows builds made with that toolchain. We might add a
workaround.
Fixes #44363 .
Fixes godotengine/godot-proposals#400 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-05-17 15:06:19 +02:00
pycbouh
e8f15f7996
Add EditorResourcePicker control based on the Inspector editor for Resources
...
Fix formatting for the docs
2021-05-17 15:26:22 +03:00
kleonc
5a8314016a
Fix crash after disabling plugin using set_force_draw_over_forwarding_enabled()
2021-05-17 11:01:15 +02:00
Rémi Verschelde
37c3b33253
Merge pull request #48605 from sent44/scripteditor_get_codeedit
...
Add `get_base_editor` to `ScriptEditorBase`
2021-05-16 23:06:01 +02:00
fox
0e3c05e157
Make Sort by X translatable
2021-05-15 12:59:57 -04:00
sent44
2b30728ebf
Add get_base_editor to ScriptEditorBase
2021-05-15 18:47:00 +07:00
Rémi Verschelde
9b637faf65
Merge pull request #48724 from Calinou/editor-help-add-support-button
...
Add "Support Godot Development" option to the editor's Help menu
2021-05-15 12:11:23 +02:00
Rémi Verschelde
df2caeb1b6
Merge pull request #48707 from foxydevloper/filesystem_search_shortcut
...
Make shortcut focus searchbar in filesystem dock
2021-05-15 09:17:30 +02:00
Hugo Locurcio
3eae2f9c6d
Add "Support Godot Development" option to the editor's Help menu
2021-05-15 01:58:29 +02:00
Rémi Verschelde
82c4d43726
i18n: Sync translations with Weblate
...
(cherry picked from commit f6c29d1cf5
)
2021-05-14 13:24:16 +02:00
Rémi Verschelde
de89a5f46c
Merge pull request #45716 from dalexeev/proposal-1545
...
Improve Project Settings Editor
2021-05-14 13:17:21 +02:00
Danil Alexeev
24a2b4dc97
Improve Project Settings Editor
...
Closes godotengine/godot-proposals#1545 .
Closes godotengine/godot-proposals#2452 .
2021-05-14 13:58:43 +03:00
Rémi Verschelde
5c81fbdc19
Merge pull request #48667 from pycbouh/editor-respect-custom-themes
...
Keep custom editor theme when changing editor settings
2021-05-14 10:31:52 +02:00
Rémi Verschelde
e6cd0056a8
Merge pull request #48584 from Zami77/remove-plugin-from-enabled-if-error
...
Remove plugin from enabled plugins, if there is an error
2021-05-14 10:30:31 +02:00
fox
22e2e4334e
Make shortcut for focusing searchbar in filesystem dock
2021-05-13 20:13:17 -04:00
Rémi Verschelde
0f5fddbdc0
Merge pull request #48666 from LLschuster/master
...
text-editor: fix Clicking warning doesn't center around line #48639
2021-05-13 21:11:16 +02:00
llschuster
6b55ec2ca9
text-editor: fix Clicking warning doesn't center around line
2021-05-13 17:07:39 +02:00
Yuri Sizov
56aedcee17
Keep custom editor theme when changing editor settings
2021-05-12 16:08:21 +03:00
Yuri Sizov
31db95b048
Fix EditorPropertyEasing capturing drag events originated outside of it
2021-05-12 12:39:43 +03:00
Yuri Sizov
3a66c22e71
Add outlines and contrasting backgrounds to the editor UI elements
2021-05-12 01:45:56 +03:00
Michael Alexsander
6dad72db69
Fix small issues with capitalization in the new TileMap editor
2021-05-10 18:08:07 -03:00
Daniel Lungaro
2bae31a4df
Remove plugin from enabled if there's an error
...
inform user in warning message
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Refactor remove plugin from enabled
2021-05-09 13:51:09 -07:00
Rémi Verschelde
3e71009d74
Merge pull request #48534 from Calinou/editor-theme-allow-negative-contrast
...
Allow negative contrast values in the editor theme settings
2021-05-09 16:37:20 +02:00
Rémi Verschelde
a8a51cd75c
Merge pull request #46808 from pycbouh/theme-editor-better-create-ui
...
Refactor Create Theme menu in Theme Editor
2021-05-09 14:21:37 +02:00
Rémi Verschelde
8fa82c7226
Merge pull request #48582 from Calinou/editor-resource-preview-fix-focus-outline
...
Fix EditorPropertyResource focus outline being drawn behind the preview
2021-05-09 14:20:01 +02:00
Rémi Verschelde
5d116b5d73
Merge pull request #48574 from Calinou/editor-add-new-scene-shortcuts
...
Add shortcuts for New Scene and New Inherited Scene actions
2021-05-09 13:53:52 +02:00
Hugo Locurcio
0b47f1be8c
Fix EditorPropertyResource focus outline being drawn behind the preview
2021-05-09 13:11:16 +02:00
Hugo Locurcio
39f9b92f54
Save the current script when pressing Ctrl + S if no scene is open
...
- Tweak the dialog messages to be more informative.
- The "Saved N modified resources" dialog is not a warning per se,
so make it more explicit.
2021-05-09 12:29:50 +02:00