Commit Graph

41290 Commits

Author SHA1 Message Date
Rémi Verschelde f94df6fa2b
SCons: Make compilation database generation optional
Saves around 3 s on incremental rebuilds to have it disabled by default.
Can be enabled with `compiledb=yes`.
2022-02-09 09:20:53 +01:00
Rémi Verschelde 90162851a7
Core: Move generated `VERSION_HASH` to a `.cpp` file
This lets us have its definition in `core/version.h` and avoid
rebuilding a handful of files every time the commit hash changes.
2022-02-09 09:20:17 +01:00
Bartłomiej T. Listwon 51cac0709e Fix Vector2 and Vector2i coord access via operator[] 2022-02-09 09:17:17 +01:00
Rémi Verschelde 3cb9dc78d6
Merge pull request #57806 from akien-mga/scons-gotta-go-fast 2022-02-09 09:14:17 +01:00
Rémi Verschelde d435c51cda
Merge pull request #57836 from BastiaanOlij/deprecated_vulkan_macros 2022-02-09 08:16:49 +01:00
FireForge 62073d157f Unify array, dictionary, and inspector array editors 2022-02-09 00:15:47 -06:00
Michael Alexsander ef81dc1831 Remove code to update the layout direction of submenus from `PopupMenu` 2022-02-09 01:36:20 -03:00
Bastiaan Olij eb9d8ad44a Nitpicking, VK_VERSION_* have been deprecated, replaced by VK_API_VERSION_*. 2022-02-09 15:04:47 +11:00
Rémi Verschelde a4759e375a
Merge pull request #57832 from Sauermann/fix-id-creation 2022-02-09 01:22:12 +01:00
Rémi Verschelde f111768ba9
Merge pull request #57813 from MisoMosiSpy/disabled_icons 2022-02-09 01:20:58 +01:00
Markus Sauermann 35806c1511 Adjust id creation in PopupMenu to avoid duplicate ids 2022-02-09 01:17:55 +01:00
MisoMosiSpy 839b8cae1e
Updated alpha value for disabled icons in default theme. 2022-02-09 01:16:39 +01:00
Rémi Verschelde b480140ce1
Merge pull request #57825 from Calinou/ios-remove-obsolete-define 2022-02-09 00:27:08 +01:00
Rémi Verschelde 64c4ce516a
Merge pull request #52592 from ellenhp/randomizer 2022-02-09 00:24:55 +01:00
Ellen Poe 41a158af56
Add AudioStreamRandomizer, replacing AudioStreamRandomPitch
Add additional randomization options.
2022-02-09 00:05:32 +01:00
Rémi Verschelde ba1024f42d
Merge pull request #57822 from Calinou/ios-remove-armv7 2022-02-08 23:25:16 +01:00
Rémi Verschelde 25d4c14fef
Merge pull request #57627 from JFonS/occluder_improvements 2022-02-08 23:23:50 +01:00
Rémi Verschelde 8907c566ed
Merge pull request #57773 from pfertyk/issue_57710_tabbar_update_hover 2022-02-08 23:12:05 +01:00
Rémi Verschelde c65a4fe9b6
Merge pull request #48307 from aaronfranke/gizmo-offscreen 2022-02-08 22:49:14 +01:00
Hugo Locurcio f7529d417d
Remove obsolete define in the iOS buildsystem code
This define was used by the WebM/libvpx code, but it's now removed
in `master`.
2022-02-08 22:45:36 +01:00
Rémi Verschelde d64b27e510
Merge pull request #57819 from Jojox/fix_padded_texture_format 2022-02-08 22:34:23 +01:00
Rémi Verschelde a5963500b9
Merge pull request #57818 from raulsntos/typed-navigation 2022-02-08 22:19:55 +01:00
Ignacio Roldán Etcheverry f05f2dd80f
Merge pull request #57076 from IgorKordiukiewicz/fix-mono-string-capitalize
String.Capitalize() in C# now matches the behaviour of String::capitalize() in C++
2022-02-08 22:16:54 +01:00
Hugo Locurcio 74fc4410f4
Remove support for ARMv7 (32-bit) on iOS
All iOS devices since the iPhone 5S support ARMv8 (64-bit).

The last iOS version supported on ARMv7 devices is 10.x, which is
too old to run Godot 4.0 projects since the minimum supported
iOS version is 11.0.
2022-02-08 22:11:29 +01:00
Paweł Fertyk 2d82e076f4 Fix `TabBar._update_hover` crash
Fixes #57710.
2022-02-08 22:06:58 +01:00
Aaron Franke 4234a72b25
Show the 3D transform gizmo in the center when otherwise offscreen 2022-02-08 14:38:31 -06:00
JoJoX a6c77c7c5a Use source image format when creating padded texture 2022-02-08 15:27:44 -05:00
Raul Santos 68b04a5a07 Add array element type to `_get_polygons` and `_get_outlines` 2022-02-08 21:15:25 +01:00
Rémi Verschelde 76ce5c16f3
Merge pull request #55584 from KoBeWi/twoids 2022-02-08 21:14:51 +01:00
Rémi Verschelde faeb71865e
Merge pull request #56946 from JFonS/editor_transform_improvements 2022-02-08 21:13:00 +01:00
jfons 8345aabaf4 Improve rotation in the 3D transform gizmo
* Get rid of deadzones.
* Make it easier to select rotation handles at very oblique angles.
* Handle rotation for axes that are perpendicular to the camera.
2022-02-08 20:56:59 +01:00
Rémi Verschelde 39562294ff
Merge pull request #57816 from JFonS/fix_3d_viewport_navigation 2022-02-08 19:55:36 +01:00
jfons e0c82913ff Fix navigation in 3D viewport
The incorrect initialization of EditData::instant to true was preventing the navigation code to run until the transform gizmo was used.
2022-02-08 19:24:50 +01:00
kobewi 4397109aab Fix uid conflict when duplicating resource 2022-02-08 18:04:19 +01:00
Rémi Verschelde 592e92d938
Merge pull request #57809 from akien-mga/osx-11.00-warning 2022-02-08 17:32:49 +01:00
Rémi Verschelde 72de251501
Merge pull request #57807 from KoBeWi/ninja_methods 2022-02-08 17:32:33 +01:00
Rémi Verschelde 6889085813
Merge pull request #57808 from KoBeWi/named_inspector 2022-02-08 17:32:14 +01:00
Haoyu Qiu 374299c6fb Improve TreeItem button API 2022-02-08 23:56:13 +08:00
Rémi Verschelde 96e4de3511
Merge pull request #57626 from Calinou/3d-editor-rename-debug-draw-modes 2022-02-08 16:42:01 +01:00
Rémi Verschelde cc097cd22b
Merge pull request #56543 from rcorre/blendermotion-4.0 2022-02-08 16:39:19 +01:00
Rémi Verschelde d3345ef1f8
OSX: Pass `-mmacosx-version-min=11.0` instead of `11.00`
Both are recognized by Xcode and equivalent, but osxcross issues a
warning for the latter:
```
osxcross: warning: '-mmacosx-version-min=' (11.0.0 != 11.00)
```
2022-02-08 16:20:13 +01:00
kobewi 0e8147d303 Display built-in script names in the inspector 2022-02-08 16:15:27 +01:00
kobewi fb1fa2a3f7 Reload built-in scripts when picking methods 2022-02-08 16:06:57 +01:00
Rémi Verschelde d4553c5126
SCons: Add `fast_unsafe` option for faster rebuilds
This reverts #53828 which had caused a significant drop in incremental
rebuild time for debug builds (from 10s to 23s on my laptop).

The "faster but unsafe" options are re-added, as well as adding
`max_drift=60` which we didn't use previously.

These options speed up SCons' own processing of the codebase to decide
what to build/rebuild (i.e. the first step before actually calling the
compiler). This will therefore not make much difference for scratch
builds, and is mostly useful for incremental rebuilds (including "null"
rebuilds with no change).

These options are enabled automatically for `debug` builds, unless
`fast_unsafe=no` is passed.
They are disabled by default for `release` and `release_debug` builds,
unless `fast_unsafe=yes` is passed.
2022-02-08 15:45:22 +01:00
Rémi Verschelde 2a39a1c221
Merge pull request #57612 from maiself/improve-gamepad-detection 2022-02-08 15:22:31 +01:00
Rémi Verschelde e776580c30
Merge pull request #57801 from reduz/fix-blend-shape-mask-2 2022-02-08 15:21:31 +01:00
Rémi Verschelde cb7f21eac3
Merge pull request #57774 from bruvzg/font_edit_fixes 2022-02-08 15:21:15 +01:00
Rémi Verschelde 4a2f22daf4
Merge pull request #57798 from akien-mga/scons-module-tests-simplify 2022-02-08 14:36:31 +01:00
bruvzg 8e3245383a
[Editor] Fix font style matching issues.
Fix font selection when no style selected.
Fix style matching when fonts have different style sets.
Use SNAME for theme overrides.
2022-02-08 15:20:01 +02:00
Rémi Verschelde b6ddf4a629
Merge pull request #57692 from YeldhamDev/popping_options 2022-02-08 14:04:28 +01:00