3ae8a852a7
Added docs for the QueryBuilder.
2022-12-27 18:20:15 +01:00
db534a3da6
Use String.empty() instead of comparing a string to "", in the QueryBuilder.
2022-12-27 18:20:01 +01:00
093ee3e592
Re-extracted class docs.
2022-12-27 14:52:04 +01:00
dacee1ae4f
Added initialized signal and helper method to the DataBaseManager. It can be used to let automally allocated classes (singletons, main scene classes) in heavily database driven applications know when it's safe to use the db.
2022-12-24 11:45:13 +01:00
b83c4f7ff8
Added a simple page rendering customization api for UserWebPages.
2022-12-22 21:31:14 +01:00
3bf2b79d88
Added set_length helper method to String.
2022-12-22 21:10:04 +01:00
e756718326
Add _FORCE_INLINE_ to String's resize().
2022-12-22 20:04:50 +01:00
4fb7856b5a
Remove now superfluos check from String's operator[].
2022-12-22 20:03:28 +01:00
91c50d4bea
Never print an error message in Object::get_meta().
2022-12-22 19:58:58 +01:00
213f393293
Fix typos with codespell.
2022-12-22 19:51:25 +01:00
cc7d77f3e1
Re-extracted class docs.
2022-12-22 19:28:17 +01:00
09ad2db471
Updated the translation from godot master.
2022-12-22 19:26:59 +01:00
848d31bfdb
Ported: [3.x] Backport the GLTFDocumentExtension system - aaronfranke
...
62e10daf70
2022-12-22 19:24:45 +01:00
ce5e82d910
Ported: Include the follow-viewport-transform into CanvasLayer transform calculations
...
The follow-viewport-transform was missing from several calculations
3.x version of #59682
- Sauermann
608cbd8296
2022-12-22 19:06:10 +01:00
eb219dbfb4
Ported: EditorInspectorSection is not folded when clicking under the font - Maran23
...
51859286a6
2022-12-22 18:59:23 +01:00
1d009e3fe0
Ported: Fix property link not working in MultiNodeEdit
...
This is due to the `p_field` in the `EditorProperty::emit_changed`.
`p_field` only works for `MultiNodeEdit`, not for other objects.
- Rindbee and timothyqiu
9056cc9c2a
2022-12-22 18:54:24 +01:00
8aa456b4c4
Ported: Add Vector2/3 linking to more properties
...
- Camera2D.zoom
- CanvasLayer.scale
- ParallaxBackground.scroll_base_scale
- ParallaxLayer.motion_scale
- Polygon2D.texture_scale
- SpatialMaterial.uv1_scale
- SpatialMaterial.uv2_scale
- fire-forge and timothyqiu
0d602ce881
2022-12-22 18:52:47 +01:00
b8009c85f4
Ported: Add vector value linking - KoBeWi and timothyqiu
...
9499ebecee
2022-12-22 18:50:17 +01:00
e5df1644c7
Skip properties with the 'PROPERTY_HINT_BUTTON' hint when building docs.
2022-12-22 18:16:58 +01:00
f668ceb512
Ported: Update the visibility logic for the spatial editor navigation controls - m4gr3d
...
0825859a94
2022-12-22 18:01:19 +01:00
9b1857ec62
Ported: SCons: Fix MSVC D9025 warning overriding opt level
...
And cleanup disable_warnings too to avoid setting `/w` / `-w` multiple times.
- akien-mga
39b1c06a59
2022-12-22 17:54:57 +01:00
51ed526179
Ported: Sync controller mappings DB with SDL2 community repo
...
Synced with gabomdq/SDL_GameControllerDB@adf7ec1
- akien-mga
84d2f884f8
2022-12-22 17:50:20 +01:00
9f9113c1b2
Ported: Upgrade Android gradle plugin to version 7.2.1 - m4gr3d
...
de45636fd3
2022-12-22 17:48:33 +01:00
b6252e8d3a
Ported: [Web] Add the "serve" and "run" scons targets.
...
You can now run the test HTTP server by calling:
scons p=javascript serve
If you also wish to run the browser, call instead:
scons p=javascript run
The default listen port is 8060, but can be overriden via the env
variable GODOT_WEB_TEST_PORT which must be a valid integer.
- Faless
eda014197f
2022-12-22 17:45:13 +01:00
91e598aa7b
Ported: SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines
...
- `_DEBUG` is MSVC specific so it didn't make much sense to define for
Android and iOS builds.
- iOS was the only platform to define `DEBUG`. We don't use it anywhere
outside thirdparty code, which we usually don't intend to debug, so it
seems better to be consistent with other platforms.
- Consistently define `NDEBUG` to disable assert behavior in both `release`
and `release_debug` targets. This used to be set for `release` for all
platforms, and `release_debug` for Android and iOS only.
- Due to the above, I removed the only use we made of `assert()` in Godot
code, which was only implemented for Unix anyway, should have been
`DEV_ENABLED`, and is in PoolAllocator which we don't actually use.
- The denoise and recast modules keep defining `NDEBUG` even for the `debug`
target as we don't want OIDN and Embree asserting all over the place.
- akien-mga
b0b759e6da
2022-12-22 17:42:54 +01:00
0177a5f6ed
Ported: Update miniupnpc to 2.2.4 - DeeJayLSP
...
bd248650d1
2022-12-22 17:08:21 +01:00
1a4a526f97
Ported: miniupnpc: Update to version 2.2.3
...
Library code and public headers are now properly separated, we can fix include paths
to remove the redundant subfolder.
- akien-mga
912cd43418
2022-12-22 17:05:27 +01:00
f42e413a51
Ported: [Web] Add PS3 gamepad mapping for FF+Linux. - Faless
...
41b880582e
2022-12-22 16:59:06 +01:00
fd3c23e04e
Ported: [3.x] Backport moving camera and light logic to GLTF subclasses
...
- aaronfranke
a887f48d1d
2022-12-22 16:58:19 +01:00
711d08be2b
Ported "Fix Script editor completion doesn't suggest members of a script for type hints"
...
ray90514 - 7afbd5904e
For CScript.
2022-12-22 16:45:10 +01:00
4baf6dd61d
Ported: Replace local web server setup for web editor with a Python-based solution
...
This makes it easier to set up, as you always have Python installed
when building Godot. On the other hand, you don't always have Node.js
+ npm installed (and you may not want to spend time running `npm install`).
- Calinou, akien-mga
816db5c215
2022-12-22 16:38:31 +01:00
bf22c11da8
Added a new .md file which will contain some of the godot commits that are interesting, but I decided against having it.
2022-12-22 16:25:43 +01:00
bad1d64314
Fix compile and small cleanups after the backports.
2022-12-22 15:24:53 +01:00
ray90514
2693ad37f7
Fix Script editor completion doesn't suggest members of a script for type hints
2022-12-22 14:48:51 +01:00
Haoyu Qiu
1d2a560819
Make NavigationAgent target_location
a property
2022-12-22 14:42:05 +01:00
norrath-hero
e1081d3d33
Fix GLES 2 Spotlight Bug
...
Fixes https://github.com/godotengine/godot/issues/69759
Fixes https://github.com/godotengine/godot/issues/54343
Fixes https://github.com/godotengine/godot/issues/25526
2022-12-22 14:38:33 +01:00
Paweł Fertyk
845b70faad
Fix get_visible_line_count in RichTextLabel with newlines
...
Fixed #59359 .
2022-12-22 14:36:03 +01:00
Haoyu Qiu
4a51392d12
Add open scene button in Inspector for PackedScene resource
2022-12-22 14:35:00 +01:00
Hugo Locurcio
854fcdc5d6
Fix Driver Name editor setting not requiring an editor restart
2022-12-22 14:33:51 +01:00
Rémi Verschelde
ebff4709e2
Fix some Clang -Wunused-but-set-variable warnings
2022-12-22 14:31:52 +01:00
kleonc
12e28bd557
AtlasTexture Fix calculating rects when flipping
...
(cherry picked from commit c3851b91db7a6dfd7170d6171109255ecb4a3809)
2022-12-22 14:31:21 +01:00
Paweł Fertyk
6ef3d20fb1
Fix BitMap.resize
error spam
...
Fixes #70187 .
2022-12-22 14:27:15 +01:00
lawnjelly
880f84f8c4
Fix pairing crash in physics Octree
...
Remove section of code that should not run and was causing crash.
2022-12-22 14:26:42 +01:00
smix8
d6b6d6668e
Move navigation server finalize before physics server
...
Moves finalize_navigation_server() before physics server (and also OS in 3.x). The NavigationServer command queue can have objects from other servers like physics or visuals so it needs to be flushed before.
2022-12-22 14:26:19 +01:00
Zak
b5c01b8703
Add uri
property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b08864b5e5ccf0df910190b064ff7463)
2022-12-22 14:23:04 +01:00
Tomasz Chabora
3b7b860b18
Keep property values when extending script
...
(cherry picked from commit 44cf3c22acb140cc2f19f1062c0a4c0a931fd27b)
2022-12-22 14:19:58 +01:00
Anilforextra
522c324760
Enable material editor preview to be rotated.
...
(cherry picked from commit d4ee903004637b6ba12eef004a4d9006462c83b6)
2022-12-22 14:16:06 +01:00
smix8
9225e78f68
Fix Navigation agent callback wild pointer crash
...
Fixes crash in sanitizer builds when callback agent or object are already freed.
(cherry picked from commit 194c1c44e0a20faa4463e3a41bb12cf93a71fc03)
2022-12-22 14:12:00 +01:00
Hugo Locurcio
fe010a1efe
Silence Input.vibrate_handheld()
warning as it's already documented
...
The warning causes messages to be spammed if you are calling this
method in a game that runs on both desktop and mobile platforms,
unless you guard all calls to `Input.vibrate_handheld()` with
`OS.has_feature("mobile") or OS.has_feature("web")`.
Since the limitation is already documented (and is obvious enough
given the method's name), the warning message is redundant.
(cherry picked from commit 4a991887bf3dd5fbb687fb379f06ac85aa4a6245)
2022-12-22 14:08:01 +01:00
Haoyu Qiu
520f6d19f6
Fix possible Tween leak on exit
...
(cherry picked from commit e173710963c3316833ac2e2c26ab3830551fd790)
2022-12-22 14:06:21 +01:00