summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-19Android: Remove `-fno-integrated-as`, it can break arm64v8 buildRémi Verschelde
We found that this flag causes this error on PR #48812 which does not add any fancy inline assembly: ``` /tmp/tile_set-ce236a.s: Assembler messages: /tmp/tile_set-ce236a.s:34676: Error: selected processor does not support `bfc x0,#32,#32' clang++: error: assembler command failed with exit code 1 (use -v to see invocation) ``` That flag is mentioned in various errors related to assembler failures on arm64v8 with Clang from the Android NDK. It was added in Godot in #6958 when migrating from GCC to Clang, and is indeed referenced in the NDK's Clang migration guide: https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md > Especially for ARM and ARM64, Clang is much stricter about assembler rules > than GCC/GAS. Use `-fno-integrated-as` if Clang reports errors in inline > assembly or assembly files that you don't wish to modernize. We don't get those errors nowadays so it seems the flag is no longer needed.
2021-05-19Merge pull request #48818 from Calinou/fix-script-editor-save-crashRémi Verschelde
Fix crash when trying to save with no scenes and scripts open
2021-05-19Merge pull request #48839 from akien-mga/ci-android-ndk-21.4.7075529Rémi Verschelde
CI: Install Android NDK 21.4.7075529
2021-05-19CI: Install Android NDK 21.4.7075529Rémi Verschelde
This is the version mandated by Godot's gradle setup anyway so it would get installed when running gradlew. Now we pre-install the correct version.
2021-05-19Merge pull request #48836 from Chaosus/color_autocompletion_fixRémi Verschelde
Show colored rects for autocompletion of Color constants in functions
2021-05-19Show colored rects for autocompletion of Color constants in functionsYuri Roubinsky
2021-05-19Merge pull request #48833 from Pineapple/remove-pywin32-from-github-workflowRémi Verschelde
pywin32 is no longer necessary for SCons install
2021-05-19Merge pull request #48831 from Faless/js/4.x_wasm_main_undefRémi Verschelde
[HTML5] Fix GDNative compilation with emcc 2.0.19+
2021-05-19[HTML5] Fix GDNative compilation with emcc 2.0.19+Fabio Alessandrelli
Add `WARN_ON_UNDEFINED_SYMBOLS=0` for the main module (which defines `godot_js_main` as extern coming from the "side" module, i.e. the main Godot binary).
2021-05-19Merge pull request #48814 from Calinou/viewport-use-nonzero-default-sizeRémi Verschelde
Use a non-zero default size for SubViewports
2021-05-19pywin32 is no longer necessary for SCons installBartłomiej T. Listwon
https://github.com/SCons/scons/releases/tag/4.1.0
2021-05-18Merge pull request #42742 from madmiraal/fix-12215Rémi Verschelde
Return RID instead of Object id in area-body_shape_entered-exited signals.
2021-05-18Fix crash when trying to save with no scenes and scripts openHugo Locurcio
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-18Merge pull request #48808 from aaronfranke/area-gravityRémi Verschelde
Area: Uncap the range for gravity and change the slider hints
2021-05-18Use a non-zero default size for SubViewportsHugo Locurcio
This makes viewports visible out of the box.
2021-05-18Merge pull request #48813 from Chaosus/shader_fix_codestyle_typoYuri Roubinsky
Fix typo in shader_language.cpp
2021-05-18Fix typo in shader_language.cppYuri Roubinsky
2021-05-18Area: Uncap the range for gravity and change the slider hintsAaron Franke
2021-05-18i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit bcedd097426403f25098f44038c79bc39a8131c6)
2021-05-18Merge pull request #37796 from Gogsi/masterRémi Verschelde
Improve consistency in file order
2021-05-18Merge pull request #36263 from Calinou/increase-default-2d-gravityRémi Verschelde
2021-05-18Merge pull request #47544 from pycbouh/control-expose-theme-typeRémi Verschelde
2021-05-18Merge pull request #46773 from trollodel/TreeItem+Rémi Verschelde
Improve TreeItem API and allow to move nodes
2021-05-18Change EditorFileSystem and ScriptEditor file sorting order to improve ↵Georgi Genkov
consistency. Fixes #37721.
2021-05-18Merge pull request #48528 from sent44/texteditRémi Verschelde
Expose get_total_visible_rows method to GDScript
2021-05-17Merge pull request #48347 from Blackiris/fix-temporary-key-not-releasedGeorge Marques
GDScript: Fix temporary value not released when used as a dictionary key
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-05-17Fix build after mismatch between #48168 and #48599Rémi Verschelde
2021-05-17Merge pull request #48549 from kleonc/bitmap_resize_fixRémi Verschelde
BitMask::create Don't request more memory than needed when size is a multiply of 8
2021-05-17Merge pull request #48599 from Calinou/textedit-alt-scroll-fasterRémi Verschelde
Scroll faster when holding Alt in TextEdit (and script editor)
2021-05-17Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde
2021-05-17Merge pull request #48793 from vnen/gdscript-fix-temp-type-adjustRémi Verschelde
GDScript: Fix crash caused by uninitialized temp stack slots
2021-05-17Merge pull request #47260 from pycbouh/editor-resource-pickerRémi Verschelde
2021-05-17Add theme_custom_type property to Control and WindowYuri Sizov
2021-05-17Merge pull request #48792 from foxydevloper/fix-inputeventmidi-typoRémi Verschelde
Fix typo in InputEventMIDI string
2021-05-17Merge pull request #48768 from akien-mga/file-access-64-bit-4.0Rémi Verschelde
Make all file access 64-bit (`uint64_t`)
2021-05-17GDScript: Fix crash caused by uninitialized temp stack slotsGeorge Marques
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-17Merge pull request #48791 from foxydevloper/fix-sort-translationsRémi Verschelde
Make Sort by X strings translatable
2021-05-17Fix typo in InputEventMIDI stringfox
2021-05-17Merge pull request #39603 from Calinou/default-theme-use-dynamicfontRémi Verschelde
2021-05-17Use a DynamicFont for the default project themeHugo Locurcio
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-17Make all file access 64-bit (uint64_t)Pedro J. Estébanez
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-17Merge pull request #48690 from KoBeWi/static_shader_pickerRémi Verschelde
Create ColorPicker shaders statically
2021-05-17Add EditorResourcePicker control based on the Inspector editor for Resourcespycbouh
Fix formatting for the docs
2021-05-17Merge pull request #48781 from kleonc/plugin-force_draw_over-crash-fixRémi Verschelde
Fix crash after disabling plugin using set_force_draw_over_forwarding_enabled()
2021-05-17Merge pull request #48784 from akien-mga/test-translation-fix-orderingRémi Verschelde
Tests: Don't assume translation map ordering
2021-05-17Tests: Don't assume translation map orderingRémi Verschelde
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-17Create ColorPicker shaders staticallykobewi
2021-05-17Fix crash after disabling plugin using set_force_draw_over_forwarding_enabled()kleonc
2021-05-17Merge pull request #48775 from CaptainProton42/fix-prism-mesh-normalsRémi Verschelde
Fix normals of PrismMesh