Commit Graph

53525 Commits

Author SHA1 Message Date
068f893072 CI: Speed up static checks by checking only changed files
- file_format, header_guards and clang-format benefit from this short list.
- dotnet-format, Python and JS checks don't, but they're only relevant for
  PRs changing a specific set of files, so we skip them when those files
  aren't modified.

The logic to get changed files only works reliably for:
- Pull request events
- Non-force pushed push events

So when force pushing a branch in your fork, or creating a new branch,
it will still scan all files as fallback.

Upgraded CI runner to Ubuntu 22.04 so we get clang-format 14 out of the box,
so we don't need to install a custom version (saves ~15 s). We also cache
the APT dependencies to speed up the build and avoid flaky Ubuntu/Microsoft
repos.
2023-04-20 11:40:09 +02:00
27253f3eb2 Merge pull request #76240 from clayjohn/Light2D-artifacts
Clamp normal when calculating 2D lighting to avoid artifacts
2023-04-19 10:13:56 +02:00
c01b11ec81 Merge pull request #76229 from KoBeWi/out_of_control
Remove wrong Ctrl from 2D editor tooltip
2023-04-19 10:13:52 +02:00
3695dfb357 Merge pull request #75509 from KoBeWi/In_physics,_the_observer_effect_is_the_disturbance_of_an_observed_system_by_the_act_of_observation._A_common_example_is_checking_CanvasItem's_global_position,_which_causes_its_transform_to_be_re-calculated-
Fix invalid global position when read outside tree
2023-04-19 10:13:48 +02:00
989fa49e71 Merge pull request #75219 from bruvzg/get_focus_screen
Add project manager / editor initial screen settings, implement `get_keyboard_focus_screen` method.
2023-04-19 10:13:44 +02:00
00bb482fcf Merge pull request #74644 from bruvzg/export_opt_warn
[Export] Add readable descriptions and validation warnings to the export options.
2023-04-19 10:13:37 +02:00
520a8d8ed2 Add project manager / editor initial screen settings, implement DisplayServer.get_keyboard_focus_screen method. 2023-04-19 08:54:53 +03:00
0088981c40 [Export] Add readable descriptions and validation warnings to the export options. 2023-04-19 08:35:59 +03:00
ab603e347f Clamp normal when calculating 2D lighting to avoid artifacts 2023-04-18 17:26:17 -07:00
1b4b8934e0 Merge pull request #76212 from smix8/fix_heightmap_navmesh_4,x
Fix NavigationMesh baking for HeightMapShape
2023-04-18 23:41:44 +02:00
5bb46d6064 Merge pull request #76176 from YuriSizov/editor-extracted-interface-commencing
Decouple `EditorInterface` from `EditorPlugin`
2023-04-18 23:41:20 +02:00
ecc219de46 Merge pull request #76136 from bruvzg/bitmap_odd_height
[Image Font] Fix fractional ascent for font with odd height.
2023-04-18 23:40:55 +02:00
df0ad7502d Merge pull request #76114 from ajreckof/prevent_packedArray_cast_to_array
Prevent nested packedArray from being casted to generic Arrays
2023-04-18 23:40:31 +02:00
c2edf14faf Merge pull request #75881 from bruvzg/win_coinit
[Windows] Cleanup COM library initialization/uninitialization.
2023-04-18 23:40:06 +02:00
c4dba9a5ef Merge pull request #75880 from bruvzg/win_tts_queue_fix
[Windows TTS] Fix queuing utterances in rapid succession.
2023-04-18 23:39:42 +02:00
efa01d36b6 Merge pull request #75383 from bruvzg/dll_deps_detect
[Windows] Detect missing DLL dependencies and list them in the open_dynamic_library error message.
2023-04-18 23:39:16 +02:00
63d17df83e Merge pull request #74978 from bruvzg/linux_version_check
[Linux/BSD] Add dynamically loaded library version checks.
2023-04-18 23:38:51 +02:00
b5b371cf7c Merge pull request #70332 from aaronfranke/rigid-body-units
Improve some units in RigidBody nodes
2023-04-18 23:38:20 +02:00
75f2d7f5c4 Remove wrong Ctrl from 2D editor tooltip 2023-04-18 22:43:50 +02:00
727a4ed79a Fix invalid global position when read outside tree 2023-04-18 22:14:01 +02:00
71c453a426 Fix NavigationMesh baking for HeightMapShape
Fixes NavigationMesh baking for HeightMapShape.
2023-04-18 20:39:43 +02:00
06f5b09ca4 Merge pull request #72896 from RedworkDE/net-include-scripts-export-option 2023-04-18 18:32:01 +02:00
8d68162976 Merge pull request #76210 from MisoMosiSpy/se_close_docs
Add Close Docs item in script editor context menu
2023-04-18 18:15:51 +02:00
f8fdacae64 Merge pull request #75471 from Calinou/doc-staticbody-animatablebody
Document using AnimatableBody when needed in StaticBody description
2023-04-18 18:01:58 +02:00
f3033da97d Merge pull request #76170 from HolonProduction/string-highlight
Fix multi-line string highlighting with single quotes.
2023-04-18 18:01:02 +02:00
c4f31e3333 Add Close Docs item in script editor context menu 2023-04-18 16:42:54 +02:00
68117d2fc7 Document using AnimatableBody when needed in StaticBody description 2023-04-18 16:31:22 +02:00
9e6b680cfb Merge pull request #74814 from kleonc/tilemap-fix-rendering-odd-sized-tiles
`TileMap` Fix rendering odd-sized tiles
2023-04-18 16:27:44 +02:00
9882af4880 Merge pull request #76197 from dalexeev/fix-error-macro-misuses
Fix misuses of error macros
2023-04-18 16:11:37 +02:00
e31d391d56 Merge pull request #76090 from adamscott/fix-typo-lsp-parse-func-parameters
[LSP] Fix typo in parse function parameters
2023-04-18 15:57:08 +02:00
b65d3591b2 Merge pull request #76208 from timothyqiu/doc-fixes
Fix various typos in the classref
2023-04-18 15:45:01 +02:00
afbefae7b4 Merge pull request #76204 from YuriSizov/editor-cleanup-deleted-node-history
Fix cleaning up inspector and history when deleting multiple nodes at once
2023-04-18 15:02:25 +02:00
be104df1c7 Merge pull request #66600 from RedMser/rich-text-effect-template
Add GDScript template for RichTextEffect
2023-04-18 14:42:52 +02:00
34b4128004 C#: Make include scripts contents an export option 2023-04-18 14:27:15 +02:00
3ff3af4f46 Merge pull request #74517 from dmitsuki/dotnet-custom-editor
Adds the ability to set a custom C# editor, to allow users to still use the built in Godot editor for GD scripts.
2023-04-18 14:23:52 +02:00
8f113c6532 Merge pull request #72749 from aaronfranke/area-priority
Make Area physics priority consistently int and allow negative numbers
2023-04-18 14:21:06 +02:00
f1ba23e8bb Fix cleaning up inspector and history when deleting multiple nodes at once. 2023-04-18 14:06:17 +02:00
2330ffb5a1 Add GDScript template to RichTextEffect 2023-04-18 14:02:04 +02:00
c2b97ec1f7 Add the ability to set a custom C# editor
This allows users to still use the built-in Godot editor for GDScript.
2023-04-18 13:55:08 +02:00
766807506c Fix various typos in the classref 2023-04-18 19:53:47 +08:00
87bd8d2dcf Make Area physics priority consistently int and allow negative numbers 2023-04-18 13:50:20 +02:00
377d8845da Merge pull request #75890 from YuriSizov/gui-remember-window-state
Always cache parent visibility in `CanvasItem`
2023-04-18 13:07:41 +02:00
0aa2c32770 Merge pull request #76148 from smix8/navigation_debug_nontri_meshes_4.x
Fix NavigationMesh debug visuals for non-triangulated meshes
2023-04-18 13:07:24 +02:00
7b6c0a8b43 Merge pull request #76186 from pkowal1982/double_the
Remove double thes from class documentation
2023-04-18 13:06:02 +02:00
36bedd341a Fix misuses of error macros 2023-04-18 10:20:48 +03:00
d6dde819be Merge pull request #76123 from KoBeWi/forsaken_constants
Add missing LineEdit constants in editor theme
2023-04-18 00:14:10 +02:00
f462efd7f1 Add missing LineEdit constants in editor theme 2023-04-17 22:55:27 +02:00
3db40355a0 Merge pull request #76132 from davthedev/stylebox-flat-antialiasing-fix
Fix blurry borders on antialiased StyleBoxFlat
2023-04-17 22:20:04 +02:00
49d7041d34 Decouple EditorInterface from EditorPlugin
- Simplify some includes in the process.
- Also exposes EditorInterface.movie_maker_enabled as a property.
2023-04-17 21:59:09 +02:00
4431cdd154 Remove double thes from documentation 2023-04-17 21:45:30 +02:00