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
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
Rémi Verschelde
6054febdde
Merge pull request #48720 from mbrlabs/scons-fix
...
Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set
2021-05-14 15:13:45 +02:00
Marcus Brummer
7e8e40a38e
Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set
2021-05-14 14:53:13 +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
44ab5a0471
Update AUTHORS and DONORS list
...
New contributor added to AUTHORS:
@kleonc
Thanks to all contributors and donors for making Godot possible!
2021-05-14 13:18:29 +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
fcbf7145fe
Merge pull request #42337 from zaevi/fix-zip-open-twice
...
Fix zip file opening twice
2021-05-14 12:56:33 +02:00
Rémi Verschelde
e41bdd4c3e
Merge pull request #48715 from akien-mga/script-encryption-abort-if-invalid
...
SCons: Abort if SCRIPT_AES256_ENCRYPTION_KEY is invalid
2021-05-14 12:03:41 +02:00
Rémi Verschelde
08b4383e3f
SCons: Abort if SCRIPT_AES256_ENCRYPTION_KEY is invalid
...
Helps users figure out that something is wrong if they did define this
environment variable and it turns out being ignored.
2021-05-14 11:46:10 +02:00
Rémi Verschelde
99626d5b57
Merge pull request #48478 from brennengreen/normal-mapping-unpacked-fix
...
Fix refraction offset by manually unpacking normal mappings
2021-05-14 11:33:22 +02: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
Rémi Verschelde
420e75f277
Merge pull request #48711 from Eoin-ONeill-Yokai/bug47687
...
Fix rich text label effects processing even when the node is invisible.
2021-05-14 09:44:12 +02:00
Rémi Verschelde
a82e51ddc2
Merge pull request #48706 from rhofour/pa-fix
2021-05-14 09:15:03 +02:00
Zae
f403e62df1
Fix zip file opening twice
2021-05-14 13:53:43 +08:00
Eoin O'Neill
c4f976b38b
Attempt to fix rich text label effects processing even when
...
the node is invisible.
ISSUE:47687
2021-05-13 19:59:08 -07:00
fox
22e2e4334e
Make shortcut for focusing searchbar in filesystem dock
2021-05-13 20:13:17 -04:00
R. Alex Hofer
65a10f4db5
Handle having no sinks in the PulseAudio driver.
...
Also make PulseAudio errors more verbose.
2021-05-13 18:28:22 -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
Rémi Verschelde
66f40f74c3
Merge pull request #48640 from BastiaanOlij/blit_shader
2021-05-13 15:02:26 +02:00
Rémi Verschelde
a40a08827c
Merge pull request #46568 from akien-mga/basisu_20210130
...
basis_universal: Update to upstream commit from Apr 16, 2021
2021-05-13 14:55:49 +02:00
Rémi Verschelde
a7e5b99a9e
Merge pull request #48664 from akien-mga/ci-javascript-linter-security
...
CI: Update JavaScript linter deps with known security vulnerabilities
2021-05-13 14:55:17 +02:00