Commit graph

51853 commits

Author SHA1 Message Date
Rémi Verschelde
c4fb119f03
Merge pull request #72816 from m4gr3d/downgrade_vulkan_warning
Downgrade the vulkan abort logic to a warning
2023-02-08 11:24:48 +01:00
Rémi Verschelde
8843d9ad34
Bump version to 4.0-rc
It's been 3 years since the release of Godot 3.2 and the start of the
major overhaul of the codebase for Godot 4.0.

And the work on that new version had started even 6 months before with
Juan working on the Vulkan renderer and various core changes in a
feature branch. This got merged in #36098 on Feb 11, 2020, oh well, we
3 days early ;)

Close to 15,000 pull requests have been merged for the 4.0 milestone,
which is half of the total amount of PRs in Godot's open source
lifetime. This is our biggest release by far, and it's finally time to
let it loose.

A huge thankyou to all the contributors who were involved over the
years, with contributions of any kind. Now's the final stretch to iron
out the remaining blocking bugs and release 4.0-stable.
2023-02-08 10:04:22 +01:00
Rémi Verschelde
9f859a111c
Merge pull request #72866 from Sauermann/fix-release-button-mask
Fix mouse-button-mask on button release in unit test
2023-02-08 09:45:11 +01:00
Rémi Verschelde
9f85deb75a
Merge pull request #72880 from dalexeev/optimize-draw-dashed-line-and-draw-rect
Optimize `draw_dashed_line()` and `draw_rect()`
2023-02-08 09:44:47 +01:00
Rémi Verschelde
8ec0b02430
Merge pull request #72878 from timothyqiu/gdext-bool
Use `GDExtensionBool` in GDExtension interface
2023-02-08 09:44:23 +01:00
Rémi Verschelde
0e97806c1d
Merge pull request #72860 from RedworkDE/editor-export-plugin-bind
Bind `EditorExportPlugin::_get_export_features`
2023-02-08 09:37:40 +01:00
Rémi Verschelde
5c0f07b76a
Merge pull request #68016 from quinnyo/damp-docs
dampen -> damp, attenuate in audio and physics class docs
2023-02-08 09:37:13 +01:00
Rémi Verschelde
1258de0d70
Merge pull request #72858 from clayjohn/VK-swap-buffers-err
Add more debug information to swapchain errors in Vulkan context
2023-02-08 09:34:13 +01:00
Rémi Verschelde
1429ff6c4f
Merge pull request #72700 from fire/gltf-export-animation
Fixes to the GLTF export with baking and null checks.
2023-02-08 09:33:46 +01:00
Rémi Verschelde
c6d6c01211
Merge pull request #72853 from clayjohn/GL-particles-color
Set instancing flags when using GPUParticles in OpenGL renderer
2023-02-08 09:33:19 +01:00
Rémi Verschelde
b53c4dda62
Merge pull request #72849 from RedworkDE/net-export-settings
C#: Rename export settings `mono` -> `dotnet` and remove unused AOT settings
2023-02-08 09:32:41 +01:00
Danil Alexeev
b8eda519d0
Optimize draw_dashed_line() and draw_rect() 2023-02-08 10:44:12 +03:00
Haoyu Qiu
d8d5cb1198 Use GDExtensionBool in GDExtension interface 2023-02-08 14:57:07 +08:00
Markus Sauermann
39d79ce217 Fix mouse-button-mask on button release in unit test
On mouse-button release, the mask is 0.
2023-02-08 01:17:40 +01:00
Fredia Huya-Kouadio
9d83e807e7 Downgrade the vulkan abort logic to a warning
This addresses issues where some drivers are reporting they don't meet the vulkan hardware level 1 support requirements even though they render as expected when the check is removed.
2023-02-07 16:16:58 -08:00
RedworkDE
2e167ca943 Bind EditorExportPlugin::_get_export_features 2023-02-07 23:14:20 +01:00
quinnyo
edf7f5cf3e Replace "dampen" with "damp", "attenuate" in class docs 2023-02-08 08:01:32 +10:00
clayjohn
22291d7ae2 Add more debug information to swapchain errors in Vulkan context 2023-02-07 13:52:36 -08:00
K. S. Ernest (iFire) Lee
dbc1e94695 Fixes for gltf export.
* Fix null crashes.
* Bake tracks
* Add some error messages.
2023-02-07 11:57:25 -08:00
clayjohn
76caf3fbae Set instancing flags when using GPUParticles in OpenGL renderer 2023-02-07 10:45:34 -08:00
Rémi Verschelde
a05670c617
Merge pull request #70623 from timothyqiu/property-i18n
Separate property translation from editor translation, move sources to separate godot-editor-l10n repo
2023-02-07 19:38:29 +01:00
Rémi Verschelde
bd267c911b
Merge pull request #72493 from dalexeev/gds-export-flags
GDScript: Improve validation and documentation of `@export_flags`
2023-02-07 19:38:21 +01:00
Rémi Verschelde
3f95b39cb3
Merge pull request #72789 from Vilcrow/fix-jump-to-definition
Fixed the jumping to function definition using 'Ctrl+LMB'.
2023-02-07 19:37:50 +01:00
Rémi Verschelde
8be4feec04
Merge pull request #72061 from paulloz/csharp/better-logs-management
C#: MSBuild logs and panel enhancements
2023-02-07 19:37:43 +01:00
Rémi Verschelde
728838fb88
Merge pull request #72840 from 0xafbf/patch-1
Fix docs on RPC_MODE_ANY_PEER analogous.
2023-02-07 19:37:21 +01:00
RedworkDE
bf47b62203 C#: Rename export settings mono -> dotnet and remove unused AOT settings 2023-02-07 18:20:23 +01:00
Danil Alexeev
c8e3d8b5d5
GDScript: Improve validation and documentation of @export_flags 2023-02-07 19:32:08 +03:00
Paul Joannon
c70c82b0fb
Try and match MSBuild and Godot UI languages 2023-02-07 16:48:23 +01:00
Paul Joannon
9bf2a0bcda
Add new settings about MSBuild
- toggle creation of binary logs
- manage log verbosity
- toggle logging in console
2023-02-07 16:48:23 +01:00
Paul Joannon
7cf42dbdee
Add button to open the msbuild logs folder 2023-02-07 16:48:23 +01:00
Paul Joannon
e51a20b714
Rename existing editor settings mono -> dotnet 2023-02-07 16:48:18 +01:00
Rémi Verschelde
929333fe26
Merge pull request #62179 from Rindbee/fix-popup_center-off-center
Use min_size/max_size to limit window size and position while popup center
2023-02-07 16:30:41 +01:00
Rémi Verschelde
743e26d4f9
Merge pull request #72829 from Sauermann/fix-code-simplifications
Some code simplifications
2023-02-07 16:30:22 +01:00
Rémi Verschelde
7ebd8b502d
Merge pull request #71768 from Sauermann/fix-vp-mouse-position
Fix Viewport::get_mouse_position for SubViewports
2023-02-07 16:30:13 +01:00
Rémi Verschelde
07d46da485
Merge pull request #72257 from KoBeWi/potential_fix_or_maybe_not_who_knows
Fix sub-resource IDs resetting when preloaded
2023-02-07 16:30:06 +01:00
Rémi Verschelde
98921d8fba
Revert "Remove script class checks when getting function signature"
This reverts commit 0fef203b1f.

This introduced some other issues, as discussed in #72144.
2023-02-07 16:28:52 +01:00
Andrés Botero
f39aa8ae04
Fix docs on RPC_MODE_ANY_PEER analogous. 2023-02-07 10:20:38 -05:00
Rémi Verschelde
097cf5431b
Keep only production ready translations, move the WIP ones to godot-editor-l10n
- Remove WIP translation templates, moved to godot-editor-l10n which
  will be the source and target for Weblate contributions.
  * https://github.com/godotengine/godot-editor-l10n
- Re-add translations with a high completion ratio, stripped of the
  untranslated and fuzzy strings, and of the location and translator
  comments, to keep the size lower.
  * Threshold editor interface: 20% complete.
  * Threshold properties: 20% complete.
  * Threshold classes: 10% complete.
2023-02-07 15:35:12 +01:00
Markus Sauermann
826e54fa73 Some code simplifications
1. `number_width` isn't used later
2. `return_type` is used only once
3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger
4. negative `aa->backward` conditional
5. `current_canvas` == `find_world_2d()->get_canvas()`
6. identical if `render_shadows`
2023-02-07 14:30:16 +01:00
Rindbee
c73844f117 Use min_size/max_size to limit the window size and the position while popup center 2023-02-07 21:28:26 +08:00
Haoyu Qiu
5d7e003b29
Prepare for moving editor and classref translations to godot-editor-l10n repo
- Separate editor interface and property translations.
- Add property translation in TranslationServer.
- The split and merge of the POT/PO/Makefiles and extract scripts is done
  directly in godot-editor-l10n, the files will be removed in the next commit.
- Remove the hardcoded "to_include" lists from the SCsub, we'll only commit the
  files which are ready to inclue.
2023-02-07 14:20:40 +01:00
kobewi
095c805079 Fix sub-resource IDs resetting when preloaded 2023-02-07 14:13:22 +01:00
Rémi Verschelde
bdad9770d6
Merge pull request #71865 from mihe/error-macros-gdext
Expose `_err_print_error` with message parameter to GDExtension
2023-02-07 14:08:29 +01:00
Rémi Verschelde
020ba92cfe
Merge pull request #72826 from bruvzg/x11_popup_focus
[X11] Do not suppress structure/focus events on popup close to correctly return focus.
2023-02-07 14:08:20 +01:00
Rémi Verschelde
1cd66a76fc
Merge pull request #72827 from RandomShaper/fix_slow_step
Pace debugger draw requests
2023-02-07 14:08:15 +01:00
Rémi Verschelde
5386289ee2
Merge pull request #72144 from adamscott/fix-super-class-check
Remove script class checks when getting function signature
2023-02-07 14:07:53 +01:00
Rémi Verschelde
f5a0e18015
Merge pull request #72821 from myaaaaaaaaa/bin-symlink
Change .gitignore's `bin/` to `bin`
2023-02-07 14:05:21 +01:00
Mikael Hermansson
99dba702f5
Expose _err_print_error with message parameter to GDExtension 2023-02-07 14:02:18 +01:00
Markus Sauermann
5312d83f3b Fix Viewport::get_mouse_position for SubViewports
SubViewports don't have a cached mouse position available.
This PR calculates the mouse position from the screen position of
the mouse cursor.
2023-02-07 13:54:47 +01:00
Pedro J. Estébanez
31a4a0002e Pace debugger draw requests 2023-02-07 12:10:28 +01:00