Commit graph

34089 commits

Author SHA1 Message Date
Rémi Verschelde
44eca8ef24
Merge pull request #63448 from rburing/bvh_debug_fixup_3.x
[3.x] Fixup BVH debugging statements
2022-07-25 21:29:09 +02:00
Ricardo Buring
90725964a4 Fixup BVH debugging statements 2022-07-25 18:35:14 +02:00
Rémi Verschelde
5ad86fc830 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
Rindbee, Vitika9

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit ce959dc753)
2022-07-25 16:28:13 +02:00
Rémi Verschelde
461353cb37
Merge pull request #63431 from akien-mga/3.x-fix_header_guards
[3.x] Code quality: Fix header guards consistency
2022-07-25 16:18:29 +02:00
Rémi Verschelde
818f1eed31 Code quality: Fix header guards consistency
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Rémi Verschelde
d3e9ed10e0 doc: Fixup reference to Camera 2022-07-25 14:53:22 +02:00
Nathan Franke
be9d55159d support git packed refs in version generator
(cherry picked from commit 77cf65804c)
2022-07-25 11:44:52 +02:00
Pedro J. Estébanez
a0448f1d5e Flush buffered input events on UWP
(cherry picked from commit b53d032fb8)
2022-07-25 11:44:36 +02:00
Rémi Verschelde
83a00d17ea SCons: Prevent using vsproj option outside Windows
Fixes #63305.

(cherry picked from commit 4e56f96396)
2022-07-25 11:44:25 +02:00
Zak Grumbles
967755980f Improve documentation for Camera3D's current member
* Added additional information to the camera documentation to explain
  how the 'current' attribute behaves when multiple cameras are in a
  scene.

(cherry picked from commit 349c750b18)
2022-07-25 11:44:09 +02:00
Derwent Ready (drentsoft)
12968f3107 Clarified usage of TreeItem get_next*() and get_prev*() functions.
(cherry picked from commit df5a922880)
2022-07-25 11:43:41 +02:00
Nathan Franke
14e3d478e1 dependency editor: set current directory to closest existing directory
(cherry picked from commit 905c431191)
2022-07-25 11:42:42 +02:00
bruvzg
d6698c1f81 [Command line export] return 0 exit code when export is finished with warnings.
(cherry picked from commit d02bf7584a)
2022-07-25 11:32:59 +02:00
Rémi Verschelde
be5051422b Revert "Call update_scrollbars() in sort_children() so the max is set properly so you can set scroll_container.scroll_vertical instantly after adding children to a scroll container."
This reverts commit b73d2980b7.

This caused a regression. Fixes #63417.
2022-07-25 11:29:33 +02:00
Rémi Verschelde
270f5a3bd1
Merge pull request #63384 from lawnjelly/portals_room_hint_invalid
Portals - Fix invalid room hint when reconverting room graph
2022-07-24 20:10:25 +02:00
Rémi Verschelde
be0f41d17e
Merge pull request #63387 from lawnjelly/portals_hide_convert_message
Portals - Allow more logging to be disabled
2022-07-24 20:07:48 +02:00
lawnjelly
d4dc7c4b32 Portals - Allow more logging to be disabled
Some logging messages were still being issued when portals/debug/logging was false. This could be annoying in games that stream in parts of levels and repeatedly call `rooms_convert()`.

This PR allows all but essential logging to be disabled.
2022-07-24 13:44:59 +01:00
lawnjelly
88b7d928c5 Portals - Fix invalid room hint when reconverting room graph
In situations where rooms are converted multiple times, the previous room hint ID can reference a room number that is out of range of the new number of rooms. This fixes the bug by checking the room hint ID is within range.
2022-07-24 11:46:38 +01:00
Rémi Verschelde
68b8dcdf50
Merge pull request #63336 from Calinou/visualserver-expose-viewport-32-bpc-depth 2022-07-23 10:07:58 +02:00
Hugo Locurcio
ed4976d1d5
Expose VisualServer.viewport_set_use_32_bpc_depth() to the scripting API
Previously, only the Viewport methods/properties were exposed to the
scripting API.
2022-07-23 03:52:38 +02:00
Rémi Verschelde
537c0705f7
Merge pull request #63320 from dallonf/redundant-gdscript-errors-3.x 2022-07-22 23:02:48 +02:00
Dallon Feldner
a99cc8bc29 Don't print redundant errors when parsing GDScript 2022-07-22 11:02:29 -05:00
Rémi Verschelde
364071c2c4
Merge pull request #63283 from akien-mga/3.x-scons-linux-refactor-linker 2022-07-22 11:40:29 +02:00
Rémi Verschelde
38b95cc2fd
Merge pull request #63304 from hansemro/x11-eraser-case-insensitive-3.x
[3.x, X11] Do case-insensitive search for pen inversion detection
2022-07-22 09:17:37 +02:00
Hansem Ro
a36902f2c1 [3.x, X11] Do case-insensitive search for pen inversion detection 2022-07-21 19:25:39 -07:00
Rémi Verschelde
5bb3063eec SCons: Refactor Linux linker options with linker=<bfd|gold|lld|mold>
The new option is `linker` and lets the user specify the argument to
the`-fuse_ld=` linker flag directly. The supported options are:

- `default`: No change, typically uses GNU ld (bfd) unless the user or
  distro picked a different default `/usr/bin/ld`.
- `bfd`: GNU ld from binutils
- `gold`: GNU gold from binutils
- `lld`: lld from LLVM
- `mold`: mold, an extremely fast modern linker, not (yet) intended for
  use in production but great for development speed. Provided by distro
  `mold` package or needs to be compiled from source and installed to
  `/usr` otherwise.

Deprecates the `use_lld=yes` option, and make lld actually usable with
GCC too.

Not all the above are compatible or recommend for LTO, we recommend
using GNU ld with GCC LTO, or lld with LLVM ThinLTO.

(cherry picked from commit 534f85add1daec0669a1f18edd2cc456f9a296ef)
2022-07-22 01:03:31 +02:00
kobewi
e71cf7c560 Fix node dragging not working when dock is moved
(cherry picked from commit b42bbca266)
2022-07-22 01:02:16 +02:00
Rémi Verschelde
3cca39b20e
Merge pull request #63294 from winterpixelgames/allow-scroll-container-scroll-to-be-set-instantly 2022-07-22 00:51:50 +02:00
Rémi Verschelde
c8099e9524
Merge pull request #63223 from m4gr3d/fix_slow_copy_3x
[3.x] Address slow copy performance when using the `FileAccessFilesystemJAndroid` implementation
2022-07-22 00:21:59 +02:00
Jason Knight
b73d2980b7 Call update_scrollbars() in sort_children() so the max is set properly so you can set scroll_container.scroll_vertical instantly after adding children to a scroll container. 2022-07-21 12:25:50 -06:00
Fredia Huya-Kouadio
aab26ad7d2 Address slow copy performance when using the FileAccessFilesystemJAndroid implementation.
Read/write ops for this implementation are done through the java layer via jni, and so for good performance, it's key to avoid numerous repeated small read/write ops due the jni overhead.

The alternative is to allocate a (conversatively-sized) large buffer to reduce the number of read/write ops over the jni boundary.
2022-07-21 08:21:12 -07:00
Rémi Verschelde
b33d3d6974
Merge pull request #63284 from bruvzg/macos_ios_alias 2022-07-21 15:21:19 +02:00
bruvzg
6efae6f05b
Add ios and macos platform name aliases. 2022-07-21 15:32:58 +03:00
Rémi Verschelde
4ef99b409d
Merge pull request #63163 from dsnopek/multiplayer-peer-custom-3.x 2022-07-20 22:41:15 +02:00
Rémi Verschelde
8c9485b6a8
Merge pull request #63243 from timothyqiu/print-debug-doc
[3.x] Fix documentation for `print_debug`
2022-07-20 22:30:11 +02:00
Rémi Verschelde
f0fabec358
Merge pull request #63234 from kleonc/canvas-item-remove-from-canvas-group-3x
[3.x] Fix `CanvasItem` not exiting its canvas group on canvas exit
2022-07-20 21:04:22 +02:00
Haoyu Qiu
a3b282c6cc Fix doc for print_debug 2022-07-20 21:17:56 +08:00
kleonc
558b96f1b1 Fix CanvasItem not exiting its canvas group on canvas exit 2022-07-20 12:49:38 +02:00
Rémi Verschelde
e830d9d7cc
Merge pull request #63204 from akien-mga/3.x-bullet-unused-inverse-dynamics 2022-07-19 18:32:42 +02:00
Rémi Verschelde
8dc32619f2 Bullet: Don't include unused BulletInverseDynamics
Follow-up to #63143.
2022-07-19 17:57:28 +02:00
fabriceci
43e9816fb1 Fix the calculation of the angular velocity when the rotation speed is not high.
(cherry picked from commit db7c91e0ad)
2022-07-19 17:16:21 +02:00
Pedro J. Estébanez
4e1f30390d Use the right memory ordering in SafeNumeric operations
(cherry picked from commit 02a584d8e6)
2022-07-19 17:10:26 +02:00
David Snopek
8ad5889c1a Add NetworkedMultiplayerCustom so high-level multiplayer backends can be added from GDScript 2022-07-19 09:16:41 -05:00
Rémi Verschelde
59629fdf20
Merge pull request #49255 from kleonc/sprite_frames_editor-anim-search-box 2022-07-19 12:40:05 +02:00
Rémi Verschelde
da72a2e837
Merge pull request #63192 from bruvzg/fix_fs_set_screen 2022-07-19 12:34:02 +02:00
Rémi Verschelde
d4e261b2d1
Merge pull request #63167 from kleonc/tilemap-interrupted-erasing-crash-fix 2022-07-19 12:09:48 +02:00
bruvzg
108dcf3bf0
Improve OS.set_current_screen
Fix moving fullscreen windows on macOS and Windows
Fix window position on Linux/X11
2022-07-19 12:23:52 +03:00
Rémi Verschelde
bef1e01187
Merge pull request #63165 from Calinou/omnilight-cubemap-shadows-support
Document support limitations for OmniLight cubemap shadows in GLES2
2022-07-18 22:38:07 +02:00
kleonc
66551a94be TileMapEditor Fix interrupted erasing not being properly finished 2022-07-18 22:29:50 +02:00
Hugo Locurcio
b03ceaba2f
Document support limitations for OmniLight cubemap shadows in GLES2 2022-07-18 22:18:56 +02:00