Rémi Verschelde
b2fb119c53
Merge pull request #36263 from Calinou/increase-default-2d-gravity
2021-05-18 10:54:47 +02:00
Rémi Verschelde
66dac8bda0
Merge pull request #47544 from pycbouh/control-expose-theme-type
2021-05-18 10:52:51 +02:00
Rémi Verschelde
95bb7207f3
Merge pull request #46773 from trollodel/TreeItem+
...
Improve TreeItem API and allow to move nodes
2021-05-18 10:49:45 +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
Rémi Verschelde
510030fedc
Merge pull request #48528 from sent44/textedit
...
Expose get_total_visible_rows method to GDScript
2021-05-18 09:06:24 +02:00
Haoyu Qiu
549ad70760
Fix XMLParser behavior for comments and premature endings
2021-05-18 15:01:21 +08:00
George Marques
cdb3726fe6
Merge pull request #48347 from Blackiris/fix-temporary-key-not-released
...
GDScript: Fix temporary value not released when used as a dictionary key
2021-05-17 18:50:25 -03:00
trollodel
bca0d36fe6
Improve TreeItem API and allow to move nodes
2021-05-17 22:06:46 +02:00
Rémi Verschelde
92c04fa727
Fix build after mismatch between #48168 and #48599
2021-05-17 17:50:42 +02:00
Rémi Verschelde
8e8cad5bc9
Merge pull request #48549 from kleonc/bitmap_resize_fix
...
BitMask::create Don't request more memory than needed when size is a multiply of 8
2021-05-17 17:39:24 +02:00
Rémi Verschelde
b3e3f0e34c
Merge pull request #48599 from Calinou/textedit-alt-scroll-faster
...
Scroll faster when holding Alt in TextEdit (and script editor)
2021-05-17 17:38:18 +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
2fcfc83da9
Merge pull request #48793 from vnen/gdscript-fix-temp-type-adjust
...
GDScript: Fix crash caused by uninitialized temp stack slots
2021-05-17 17:34:19 +02:00
Rémi Verschelde
fead3fff17
Merge pull request #47260 from pycbouh/editor-resource-picker
2021-05-17 17:33:59 +02:00
Yuri Sizov
9eaa139c1f
Add theme_custom_type property to Control and Window
2021-05-17 17:20:42 +03:00
Rémi Verschelde
7c72185917
Merge pull request #48792 from foxydevloper/fix-inputeventmidi-typo
...
Fix typo in InputEventMIDI string
2021-05-17 16:20:12 +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
George Marques
10a1f64968
GDScript: Fix crash caused by uninitialized temp stack slots
...
This adds initialization to every typed temporary stack slot at the
beginning of the function call instead of emitting instructions, since
those might be in a conditional branch and not be called.
2021-05-17 10:59:43 -03: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
fox
df52f5de75
Fix typo in InputEventMIDI string
2021-05-17 09:54:28 -04:00
Rémi Verschelde
107651806f
Merge pull request #39603 from Calinou/default-theme-use-dynamicfont
2021-05-17 15:46:44 +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
Rémi Verschelde
9cc17a8439
Merge pull request #48690 from KoBeWi/static_shader_picker
...
Create ColorPicker shaders statically
2021-05-17 14:51:12 +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
Rémi Verschelde
c6bef53727
Merge pull request #48781 from kleonc/plugin-force_draw_over-crash-fix
...
Fix crash after disabling plugin using set_force_draw_over_forwarding_enabled()
2021-05-17 12:55:38 +02:00
Rémi Verschelde
7731a50794
Merge pull request #48784 from akien-mga/test-translation-fix-ordering
...
Tests: Don't assume translation map ordering
2021-05-17 12:55:21 +02:00
Rémi Verschelde
56100c2dd7
Tests: Don't assume translation map ordering
...
This lead to randomly failing the test as the insertion order is not
preserved by Map.
Follow-up to #48778 .
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2021-05-17 12:40:15 +02:00
kobewi
877dbda209
Create ColorPicker shaders statically
2021-05-17 11:39:20 +02: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
2be9b5dec4
Merge pull request #48775 from CaptainProton42/fix-prism-mesh-normals
...
Fix normals of PrismMesh
2021-05-17 10:37:35 +02:00
Rémi Verschelde
75622dae83
Merge pull request #48778 from Calinou/test-add-translation
...
Add a test suite for Translation
2021-05-17 08:24:26 +02:00
Hugo Locurcio
dd51fc77b5
Add a test suite for Translation
2021-05-17 02:02:17 +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
Rémi Verschelde
2dadcde361
Merge pull request #48760 from timothyqiu/tree-crash
...
Fix Tree::get_column_at_position crash
2021-05-16 23:05:37 +02:00
John Wigg
c8e402324e
Fix normals of PrismMesh
2021-05-16 23:01:53 +02:00
Rémi Verschelde
d4fc125fbc
Merge pull request #48761 from kleonc/editor-get_tree-crash-fix
...
Fix accessing scene tree without checking: MeshInstance3D::create_debug_tangents, GIProbe::bake
2021-05-16 22:32:04 +02:00
Rémi Verschelde
a7421612d0
Merge pull request #48767 from vnen/gdscript-builtin-static-methods
...
GDScript: Add support for builtin static method calls
2021-05-16 22:29:32 +02:00
Rémi Verschelde
8e7b17429e
Merge pull request #48650 from AnilBK/graph-node-setters
...
Added GraphNode missing setters.
2021-05-16 17:37:12 +02:00
George Marques
ec783dd885
GDScript: Add support for builtin static method calls
2021-05-16 11:54:33 -03:00
kleonc
ef589a7cd3
Fix accessing scene tree without checking: MeshInstance3D::create_debug_tangents, GIProbe::bake
2021-05-16 14:01:01 +02:00
Haoyu Qiu
c8efcf81d2
Fix Tree::get_column_at_position crash
2021-05-16 19:42:28 +08:00
Rémi Verschelde
c3002c0955
Merge pull request #48730 from madmiraal/remove-spaces-before-colons
...
Make printing of InputEvents consistent
2021-05-16 10:31:56 +02:00
Hugo Locurcio
82570dec90
Tweak highlight color in the editor Find in Files dialog
...
The new color is more visible against dark backgrounds.
2021-05-16 00:30:06 +02:00
fox
0e3c05e157
Make Sort by X translatable
2021-05-15 12:59:57 -04:00
Marcel Admiraal
5cdf167dcc
Make printing of InputEvents consistent
...
- Removes the undesired spaces before the colon
- Adds missing commas between parameters
- Adds quotes or brackets to strings
- Removes brackets around single values
2021-05-15 13:55:22 +01: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