81717d4505
Small cleanup.
2024-03-01 10:29:48 +01:00
df4379d766
Added a parameter to HTMLTemplate::process_template_expression_variable() to be able to control when to emit errors if a variable is not set. Now this is used when checking for the first argument for the q template method variants.
2024-02-26 21:58:35 +01:00
aa854f049a
Updated the docs form HTMLTemplate.
2024-02-26 21:33:40 +01:00
aef18dd4f1
Fix 2 off-by-one errors.
2024-02-26 21:31:17 +01:00
6ea807be26
Added a q variant from all template methods. These use their first argument to decide whether to print anything or not.
2024-02-26 21:27:20 +01:00
af2ef6476e
Document the new methods, also expression substitution.
2024-02-26 19:03:39 +01:00
984465ee0c
Finished HTMLTemplate's template substitution implementation.
2024-02-26 18:16:25 +01:00
72c764f74c
Also process the last variable in HTMLTemplate::process_template_expression().
2024-02-26 13:22:54 +01:00
b0a72e933d
HTMLTemplate::process_template_expression() initial implementation.
2024-02-26 13:11:31 +01:00
0d2fceecf0
Fix errors in HTMLTemplate::render_template.
2024-02-26 12:02:04 +01:00
d3535ef0ca
Strip the expression string before passing it to process_template_expression().
2024-02-26 11:56:30 +01:00
81c8e4aa75
Removed WebServerRequest parameter from get_and_render_template() in HTMLTemplate.
2024-02-26 11:56:01 +01:00
2fe82c604c
Fix binds in HTMLTemplate.
2024-02-26 11:52:13 +01:00
af492fc79e
HTMLTemplate template processing part 1.
2024-02-26 11:36:13 +01:00
a6eb8377a6
Use String's length() instead of size().
2024-02-26 11:33:06 +01:00
89f9faa0e2
Added docs for the new classes. (Except for variable substitution rules, as those are not yet done.)
2024-02-25 23:37:46 +01:00
5cee31117c
Fix class link in the docs for SMTPClient.
2024-02-25 23:36:25 +01:00
4a23a17670
Also use PROPERTY_HINT_BUTTON in UserManagerStatic instead of a bool.
2024-02-25 22:40:07 +01:00
bf15aa0f87
Don't create empty keys.
2024-02-25 22:34:48 +01:00
0e9a926365
Fixed a few smaller typos.
2024-02-25 22:33:17 +01:00
66e0daf383
Created a built in editor using PROPERTY_HINT_BUTTON-s from HTMLTemplates.
2024-02-25 22:11:17 +01:00
8c06dce33f
Now PROPERTY_HINT_BUTTON adds the property's name as the called method's first parameter.
2024-02-25 22:09:25 +01:00
c6c864a683
Hide template_overrides and template_defaults property from the inspector in HTMLTemplate.
2024-02-25 20:43:38 +01:00
ce638a69c1
Now HTMLTemplateDataEditorPlugin will only handle HTMLTemplateDatas, if they are on disk.
2024-02-25 19:25:58 +01:00
35e328576a
Set up docs for the new classes.
2024-02-25 19:17:06 +01:00
87920a4ed7
Initial HTMLTemplate class setup.
2024-02-25 19:15:34 +01:00
5c9996fd58
Added an editor plugin for HTMLTemplateData. Double clicking one in the editor will open the underlying file on the text editor tab (if enabled).
2024-02-25 17:26:28 +01:00
83facbff3b
Fix issues with HTMLTemplateData loading and serialization.
2024-02-25 16:33:53 +01:00
08864f0a25
Added an importer for HTMLTemplateData.
2024-02-25 16:23:36 +01:00
eca4475f2d
Implemented HTMLTemplateData.
2024-02-25 15:55:42 +01:00
fb005f970e
Added HTMLTemplate and HTMLTemplateData classes.
2024-02-25 14:54:50 +01:00
0edc5438dd
Re-extracted class docs.
2024-02-25 10:26:26 +01:00
7da17bca02
Added more defines for platform specific configs.
2024-02-17 20:55:27 +01:00
08711274c7
Fix custom module paths for the editor builds.
2024-02-17 16:41:51 +01:00
b8c81b5449
Small tweaks to HTTPServerSimple, mostly related to ssl handling.
2024-02-16 23:06:39 +01:00
2400b14bb9
Fix FileCache for files in .pck-s.
2024-02-16 22:12:17 +01:00
3da74f0703
Added get_global_class_name method to Script. Now GDScriptParser uses this first to determine global class names, instead of parsing the script file again.
2024-02-13 20:09:46 +01:00
c3c6d64a50
Portred: Add MergeGroup node to simplify merging Meshes at runtime.
...
- lawnjelly
8b79135538
2024-02-08 21:00:07 +01:00
af518b2d3b
Ported parts of: [3.x] Add Selected Collision Group in TileSet Editor
...
Also moves the TileSet Script property down to its own category.
- Mickeon
211c707e67
2024-02-08 18:11:25 +01:00
Danil Alexeev
0c92de12c1
GDScript: Fix get_method_list
for custom functions
2024-02-08 14:50:56 +01:00
Danil Alexeev
a70e3ce4b3
GDScript: Prevent native class shadowing
2024-02-08 13:23:04 +01:00
e9f7ef263f
Fix build on windows.
2024-01-11 01:31:54 +01:00
b08959ab59
Fixed issues with the SMTPClient and EMail.
2024-01-11 01:24:16 +01:00
40e20146f6
Also use the queue in SMTPClient when not threading.
2024-01-11 00:39:52 +01:00
4a35fb9b44
Docs for the new classes.
2024-01-11 00:32:10 +01:00
2f44da6c00
Bind missing enum constants.
2024-01-11 00:05:42 +01:00
db36151c18
Re-extracted class docs.
2024-01-11 00:03:31 +01:00
92f1ab9e3e
Fixed property.
2024-01-11 00:02:57 +01:00
8541890a78
Ported SMTPClient.
2024-01-11 00:02:48 +01:00
fb4fe82c63
Ported EMail.
2024-01-10 22:01:42 +01:00
f6c504534a
Set up a new smtp module. It will be based on https://github.com/Relintai/gdMail .
2024-01-10 20:15:05 +01:00
b324675489
Removed the old SMTPClient class docs.
2024-01-10 20:12:36 +01:00
8e5ffcc9f1
Removed SMTPClient as the original code's license is unknown.
2024-01-10 19:37:39 +01:00
20ec9e2043
Fixed generating urls in BrowsableFolderServeWebPage.
2024-01-02 10:56:10 +01:00
2effb794fd
Fixed typo.
2024-01-02 10:55:42 +01:00
70d3d54386
Also added the new helper method to the gdnative api.
2023-12-27 13:48:01 +01:00
3f2149212a
Fixed error.
2023-12-25 21:11:09 +01:00
4d966d877f
Fixed warning.
2023-12-25 21:06:39 +01:00
08f7789e40
Now SceneSynchronizerDebugger can properly create it's debugger.py file.
2023-12-25 20:48:32 +01:00
f37f74d7f9
Fixed warning.
2023-12-25 20:48:01 +01:00
f927e2db73
Ran the clang format script.
2023-12-25 20:27:28 +01:00
2f53a26f36
Re-extracted class docs.
2023-12-25 20:20:30 +01:00
5059f6b2d2
Fixed warning.
2023-12-25 20:18:01 +01:00
2ae29884cb
Merged in the backwards utilities.
2023-12-25 20:12:56 +01:00
e44c46d7a9
Fixed include paths, compile errors and some code style.
2023-12-25 20:00:07 +01:00
d8eec349a5
Updated register_types.h
2023-12-25 19:41:37 +01:00
b6648f707e
Added missing classes to config.py.
2023-12-25 19:38:05 +01:00
eb63a4d682
Updated NetworkSynchronizer from https://github.com/GameNetworking/network_synchronizer/tree/godot-3.x . f12fee66a7e3eb2013d6c5437837770455105b91 (Merge commit: cc3c7d244adea8b25822f43963618fd2dbf18ec8)
2023-12-25 19:27:07 +01:00
1f291939e9
Now PagedArticleWebPage won't add the summary page to the list of pages you can switch to.
2023-12-24 20:33:18 +01:00
d4d4a737fb
Fix build when the jsonrpc module is disabled.
2023-12-24 00:02:22 +01:00
db08e3c8b9
Re-extracted class docs.
2023-12-23 00:54:40 +01:00
094b1fe752
Bind the send_mail method.
2023-12-23 00:53:42 +01:00
2bd9eb6468
Implemented SMTPClient based on https://github.com/Relintai/smtp_node .
2023-12-23 00:50:09 +01:00
85d60b67e8
Created SMTPClient class.
2023-12-22 20:29:15 +01:00
be379405d2
Added a button to the TilesetEditor to easily select the TilesetEditorContext when needed.
2023-12-22 20:15:33 +01:00
f9cbc81492
Renamed RTilesetEditorContext to TilesetEditorContext.
2023-12-22 20:10:02 +01:00
0d6f38b317
Re-extracted class docs.
2023-12-22 19:49:04 +01:00
cd34883d79
Completely removed the cached path api from FileCache.
2023-12-22 19:37:23 +01:00
ca9249b5cf
Started reworking filecache to have an immediate file path mode. Non-immediate mode will be removed in next commit, saving the work in case it's needed later.
2023-12-22 19:29:48 +01:00
978e49a289
Implemented range requests for the HTTPServerSimple. It does work in fiefox, however wget seems to choke on it. This will be fixed later.
2023-12-22 15:37:04 +01:00
a781853b2b
Added a way to get all available marameter keys to WebServerRequest.
2023-12-22 13:14:17 +01:00
e5719c991b
Store incoming http request parameters properly.
2023-12-22 13:02:17 +01:00
df2859b9d0
Added a way to unregister connections and get out their raw connection data from the http server.
2023-12-22 12:38:38 +01:00
cf76e6debf
Fix the doc descriptions where they got lost due to adding StringName to Variants. Also fixed smaller issues where I ran into them.
2023-12-21 00:48:25 +01:00
kleonc
ae3b43f6ca
Improve TileMap editor visible names and tooltips
2023-12-20 23:03:33 +01:00
Rémi Verschelde
d8968ccef9
GDNative: Fix Linux arm64 warning about ignored sysv_abi
attribute
...
Fixes #41160 .
2023-12-20 23:02:11 +01:00
Rémi Verschelde
1c70f86950
Fix various GCC 13 warnings
...
Fixes occurrences of `-Wtype-limits`, `-Wmaybe-uninitialized`,
`-Wduplicated-branches`.
2023-12-20 22:57:54 +01:00
6b6536ffe8
Also backported the previous change for cscript.
2023-12-20 22:49:11 +01:00
Jason Knight
929ad6b766
Far faster and more efficient method of checking if an identifer refers an autoload.
2023-12-20 22:45:03 +01:00
BlueCube3310
7633bb4d89
Fix grayscale dds loading
2023-12-20 22:41:09 +01:00
15bac2d514
Fix syntax error.
2023-12-18 00:46:28 +01:00
5133ef182d
File copyright header updates pt10.
2023-12-18 00:31:04 +01:00
98912a89e8
File copyright header updates pt9.
2023-12-18 00:25:33 +01:00
429575fab6
File copyright header updates pt8.
2023-12-18 00:18:53 +01:00
ae854d4e55
File copyright header updates pt7.
2023-12-18 00:02:58 +01:00
3afe20bdc7
More old copyright header cleanups.
2023-12-17 23:24:10 +01:00
347168197c
File copyright header updates pt6.
2023-12-17 23:21:54 +01:00
443140a9e8
File copyright header updates pt5.
2023-12-17 23:07:28 +01:00
5088d32fa0
Removed my old copyright headers.
2023-12-17 22:59:50 +01:00
88e9ad04f2
Moved back the servers and resources from core.
2023-12-10 23:11:07 +01:00
11945d7f1d
Split material.h.
2023-12-10 21:26:28 +01:00
63c895747a
Moved Curve and Gradient to core.
2023-12-10 20:23:51 +01:00
e32155717c
Moved 2d shapes to core.
2023-12-10 20:03:16 +01:00
9d2309bfe1
Moved shapes to core.
2023-12-10 19:58:44 +01:00
053f083e17
Moved the Physics 2d server to core.
2023-12-10 19:42:57 +01:00
dbcc6e33da
Moved the physics server to core.
2023-12-10 19:36:00 +01:00
238bf1b331
Moved the RenderingServer to core.
2023-12-10 19:04:24 +01:00
049440aaf1
Moved BitMap to core.
2023-12-10 18:07:25 +01:00
3902cf1924
Moved ScneeStringNames and PropertyUtils into scene/main.
2023-12-10 18:01:51 +01:00
191e9e152e
Added quote_style argument to get_argument_options().
2023-12-10 16:02:08 +01:00
9df5649c1b
Moved CanvasItem, Control, Node2D and Spatial under scene/main.
2023-12-10 15:50:54 +01:00
763f662263
Moved meshes to a new subfolder.
2023-12-10 15:22:09 +01:00
deccaed2cc
Moved materials into a new subfolder.
2023-12-10 14:59:22 +01:00
4cbc387c53
Moved the navigation relatred resources into subfolders.
2023-12-10 14:23:24 +01:00
2cc42b045a
Moved shapes under a new shapes folder.
2023-12-10 14:10:10 +01:00
e50ab7fa84
Moved 2d shapes under a new shapes_2d folder.
2023-12-10 13:55:20 +01:00
de91cf5873
Mark NativeScripts as having delayed metadata.
2023-10-24 00:40:54 +02:00
3b8f836a41
Re-extracted class docs.
2023-10-20 15:06:38 +02:00
1ff5cdf911
Fix positioning the colliders from PropDataStaticBody in TerrainPropJob and VoxelPropJob.
2023-10-14 08:10:06 +02:00
9142600d70
Implemented PropDataStaticBody handling for TerrainPropJob and VoxelPropJob.
2023-10-13 21:00:25 +02:00
6ff8ae122c
Codestyle fixes.
2023-10-13 20:59:57 +02:00
3f8ca3136e
Codestyle fixes.
2023-10-13 20:41:22 +02:00
0fa7faf43a
Added support for PropDataStaticBody in PropInstance and PropInstanceMerger.
2023-10-13 20:35:10 +02:00
2aa3fbf381
Codestyle.
2023-10-13 20:27:08 +02:00
c5ec0b8a33
Codestyle.
2023-10-13 20:26:59 +02:00
ac39ffb96b
Fix typo.
2023-10-13 19:36:17 +02:00
73bdeb40c6
Don't process CollisionShapes recursively in PropDataCollisionObject, as they only work as a direct child.
2023-10-13 19:28:56 +02:00
da2daebbb8
Fixed processing collision shapes in PropDataCollisionObject.
2023-10-13 19:27:40 +02:00
f7ecfb412a
Initial StaticBody support for the prop system.
2023-10-13 15:58:42 +02:00
93a2081a58
Re-extracted class docs.
2023-10-12 01:59:32 +02:00
2cd304097a
Fix JSONRPC's class docs.
2023-10-12 01:58:43 +02:00
b4692f1763
Port4ed from godot: Add binary MO translation file support. Add brotli decoder and WOFF2 support.
...
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
- bruvzg
fd2fba7c2c
2023-10-02 21:12:03 +02:00
13f981c684
Initialize variable.
2023-10-02 19:38:51 +02:00
d4b82d2724
Added setting to enable / disable gdscript's language server.
2023-10-02 19:37:38 +02:00
84768b8f0c
GDScript LSP compile fix pt2.
2023-10-02 19:22:04 +02:00
f10681e2be
GDScript LSP compile fix pt1.
2023-10-02 19:06:13 +02:00
01d1d1aa24
Fix compiling the jsonrpc module.
2023-10-02 18:51:44 +02:00
96702b39c8
Added back the jsonrpc module.
2023-10-02 18:38:39 +02:00
4047443e5d
Added back the language server for gdscript.
2023-10-02 18:32:24 +02:00
88e7cc8776
Fix compile errors.
2023-10-02 17:11:37 +02:00
lawnjelly
994ae99f62
Physics Interpolation - automatic resets for Camera2D and TileMap.
...
Extra reset required for Camera2D. TileMaps require resetting by quadrant.
2023-10-02 16:50:50 +02:00
4faeb67438
Implemented getting users using their email from the UserDB.
2023-09-22 16:33:21 +02:00
56ae9e3734
Fix typos.
2023-09-22 16:21:37 +02:00
70db9caf20
Re-extracted class docs. Also fixed smaller issues.
2023-09-10 08:42:24 +02:00
e31c09d1f4
Small fixes to the docs.
2023-09-10 08:26:35 +02:00
ccb6074ca9
Backported the editor constrol changes for the new shortcut system from godot4.
2023-09-07 13:41:05 +02:00
bd9abfc160
Fix clang format warnings.
2023-09-07 12:00:31 +02:00
9a2bf73280
Backported _shortcut_input() virtual from godot4.
2023-09-07 09:56:16 +02:00
4fe2f00133
The CScript module is now disabled by default. It will get re-enabled once it gets finished.
2023-09-06 21:52:30 +02:00
7fab5e4c25
Implemented a literal syntax for NodePaths in GDScript I decided on using godot4's (^). The doc already said it's '@' but that was wrong.
2023-09-06 20:45:01 +02:00
56b812f22f
Fix build.
2023-09-06 09:47:06 +02:00
b506468b53
Revert "Backport implement loading DDS textures at run-time"
...
This reverts commit 4b76c7e89c
.
Apparently it can cause issues.
2023-09-06 09:13:08 +02:00
0a9c9ca15e
Ported godot pr: [3.x] Allow exporting custom resources from/to any scripting language (GDScript, VisualScript, C#, NativeScript, PluginScript)
...
- willnationsdev
https://github.com/godotengine/godot/pull/44879
Using the rebased version from 02d1f70ee5
by Atlinx
2023-09-06 01:45:29 +02:00
5331ac9b85
MeshLibrary's SceneConverter will also processes the navigation layers for the items.
2023-09-05 12:25:26 +02:00
dfb5323cc1
Backported from godot4: Change GridMap navigation_layers to be per mesh_library item
...
Changes GridMap navigation_layers from a single bitmask for the entire GridMap to a bitmask for each item used in the mesh_library with a baked navmesh.
- smix8
61f33e205c
2023-09-05 12:23:09 +02:00
c055e8aeed
Use get_navigation_map() in GridMap.
2023-09-05 12:08:25 +02:00
176a0e129c
Fix querying paths.
2023-09-05 11:57:53 +02:00
8880722565
Removed cell height getters and setters from the Navigation2DServer.
2023-09-05 11:57:34 +02:00
268c27458a
TileMaps now support navigation map overrides.
2023-09-05 10:46:22 +02:00
43c11fcdf5
Backported from godot4: Fix typo and ensure backwards compatibility for changed property names
...
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
- DarkKilauea, akien-mga
0572346985
2023-09-05 09:13:54 +02:00
73c1f1f673
Fix logic in NavMap::sync().
2023-09-04 22:00:26 +02:00
a222159442
Backported from godot4: Add NavigationServer API to enable regions and links
...
Adds NavigationServer API to enable regions and links.
- smix8
69fad39cf5
2023-09-04 20:22:28 +02:00
b37e0e6a4e
Backported from godot4: Update navigation obstacle API
...
Updates navigation obstacle API.
- smix8
c1fc331b88
2023-09-04 19:55:32 +02:00
aeb4d3fbe2
Backported from godot4: Add agent pause mode to NavigationServer
...
Adds agent pause mode to NavigationServer.
- smix8
https://github.com/godotengine/godot/commit/ae9dd47d0c1c237d0733439862aa5ff651dcac2
2023-09-04 19:04:29 +02:00
2f036edcc5
Backported from godot4: Fix cell_height for navigation meshes
...
Fixes `cell_height` for navigation meshes.
- smix8
180a5cded1
2023-09-04 18:34:15 +02:00
dcd93ef8ba
Backported from godot4: Fix NavMesh map_update_id returning 0 results in errors
...
- zorbathut
d0564f2466
2023-09-04 17:56:34 +02:00
e3f2ee62ca
Backported from godot4: Fix pathfinding funnel adding unwanted point
...
Fixes pathfinding funnel adding unwanted point due to precision issues.
- smix8
c51e264446
2023-09-04 17:40:28 +02:00
8485b37515
Ported from godot4: Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
- smix8
34e7628f5f
2023-09-04 17:09:39 +02:00
ebfba6a379
Add back the missing lines to GridMap's class doc.
2023-09-04 16:47:08 +02:00
06efbe1882
Added separators to TerrainWorldEditor and VoxelWorldEditor's toolbars.
2023-09-03 13:43:58 +02:00
f30f2b37b8
Small tweak to the tooltip of the quick prop convert buttons.
2023-09-03 13:25:00 +02:00
62840e8517
Use an icon for the quick prop conversion buttons instead of text.
2023-09-03 13:15:23 +02:00
201d6aa8e7
Added a VSeparator to the To Prop editor buttons.
2023-09-03 13:09:56 +02:00
ee8716a7e6
Added a VSeparator to the NavigationPolygonEditor and the NavigationMeshEditor.
2023-09-03 12:44:55 +02:00
2b0a9700b8
Remove the text from the bakle and clear buttons in the editor for the NavigationMeshEditorPlugin and the NavigationPolygonEditorPlugin.
2023-09-03 12:04:53 +02:00
915014b6df
Bake the NavigationMesh on the main thread in the editor.
2023-09-03 10:59:33 +02:00
f84d928aff
Backported from godot4: Improve NavigationServer.free() error msg when RID not found
...
Improves the error msg when NavigationServer.free() does not find the RID e.g. because it was already deleted or did never exist in the first place.
- smix8
b51cab3411
2023-09-03 09:23:39 +02:00
71fef953da
Backported from godot4: Add more hints to navigation map cell size errors
...
Adds more hints to navigation map cell size errors.
- smix8
90e2d9fa7e
2023-09-02 13:43:37 +02:00
cb45a4b951
Backported from godot4: Fix closest possible navigation path position
...
Fixes closest possible navigation path position.
- smix8
e5c24f7118
2023-09-02 13:33:32 +02:00
2f1447dfe5
Backported from godot4: Add NavigationRegion rotation warning
...
Adds NavigationRegion rotation warning.
- smix8
4d8553ff63
2023-09-02 13:15:19 +02:00
e3f889a63b
Backported from godot4: Improve navigation map synchronisation error msgs
...
Improves navigation map synchronisation error msgs related to mismatch of cell sizes.
- smix8
7f2417135f
2023-09-02 13:07:00 +02:00
6db8d89ab7
Backported from godot4: Add navigation map synchronization warnings.
...
- smix8
fef7b4efdc
2023-09-02 13:05:19 +02:00
c55f0b4520
Backported from godot4: Fix NavigationServer free error print
...
Fixes error print for NavigationServer free when a RID can not be found.
- smix8
73dc680fc1
2023-09-02 12:58:49 +02:00
4d23b861d5
Fix logic in GridMap::set_navigation_map().
2023-09-02 12:11:09 +02:00
3a7ad7b883
Backported from godot4: Add GridMap function to change navigation map for baked navigation regions
...
Adds function to change the navigation map for baked navigation regions.
Before all cells with a baked navigation mesh were locked to the default navigation map of the world resource.
- smix8
41c529a94d
2023-09-02 12:10:06 +02:00
23c793a488
Fix counting children even if the server is running in WebServer::get_configuration_warning().
2023-08-30 15:18:41 +02:00
4874f08d9d
Don't start the server on ready in the editor.
2023-08-30 15:16:52 +02:00
62e2b1623a
Use NULLs.
2023-08-30 13:24:46 +02:00
5d93975c8d
Ported: Fix custom res caching sub-res even if no-cache
...
-Razoric480
2ceb93bbef
2023-08-30 12:55:37 +02:00
Hugo Locurcio
892fcff2e1
Document how to use logarithm of base 10 with log()
...
(cherry picked from commit 3c4f0ca9c639e11b3a0673b27427538b244533b6)
2023-08-30 10:49:09 +02:00
Haz
33b7cf4031
Fix mesh library remove selected item menu option
...
Fixes #45969 .
(cherry picked from commits 189acbee60f3d3149577db5446d9115352f60216
and aa9d2149e74233b834d168a725c8b119cc72619c)
2023-08-30 10:47:52 +02:00
Rémi Verschelde
357393cac8
pcre2: Update to upstream version 10.42 (take two)
...
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.42/ChangeLog
This fixes support for RISC-V architectures in the sljit library, so we
enable the module's compilation for `rv64` too.
(cherry picked from commit e289cf7085f0edda5e5ea253be6806a08abb4777)
2023-08-30 10:05:49 +02:00
86c9343349
Updated the links in the docs.
2023-08-29 22:33:15 +02:00
65d4c57233
Added translate_to() method to TranslationServer, and trt() method to Object. This let's you transalte strings into specific (noon app wide) locales.
2023-08-29 22:02:31 +02:00
bc21dc55a7
Add back markdown as a mime type to WebServerSimple as it got deleted accidentally.
2023-08-28 18:14:14 +02:00
8f352b745a
Added start_on_ready property to WebServerSimple.
2023-08-28 18:03:30 +02:00
d9512f8d40
Changed the default bind host in WebServerSimple to 0.0.0.0 for convenience.
2023-08-28 17:56:37 +02:00
045ff319ce
Make sure donwloads don't just eat up a thread until they are finished even if the kernel can just take all the data in HTTPServerSimple. Also update the timeout timer when there is activity in a socket.
2023-08-28 17:16:19 +02:00
ea5cddc44f
The mime types dictionary now uses StringName indexes. Also compare against lowercase extensions.
2023-08-28 13:38:44 +02:00
db14d66556
Added more mime types by default.
2023-08-28 13:14:50 +02:00
d8fb0c9cef
De default mime type is application/octet-stream now for files in HTTPServerConnection.
2023-08-28 12:56:18 +02:00
715737abfe
Now HTTPServerSimple sends files in non-blocking mode.
2023-08-28 12:54:30 +02:00
151c30a931
Send the user's header when sending the file in HTTPServerConnection.
2023-08-28 09:15:08 +02:00
736106af8a
Remove unused variables.
2023-08-27 13:19:58 +02:00
34e2ebe8cc
Fix build.
2023-08-27 12:54:44 +02:00
Marcin Nowak
4b76c7e89c
Backport implement loading DDS textures at run-time
2023-08-27 11:31:12 +02:00
4bc993c53f
Added docs for the new Paint Nodes.
2023-08-26 22:59:37 +02:00
8ed3b41865
Re-extracted class docs.
2023-08-26 22:41:21 +02:00
7aa537869f
Added the new paint nodes as shortcuts to PaintProjectToolsPropertyInspector.
2023-08-26 22:39:23 +02:00
57a3b09f24
Added icons for the new paint nodes.
2023-08-26 22:34:55 +02:00
4100e3b6a2
Fix issues with the outline mesh generation in PaintCurve2D.
2023-08-26 22:09:26 +02:00
e7eb415910
Implemented image generation for PaintCurve2D.
2023-08-26 21:55:50 +02:00
cfa067fa56
Remove anti alias settings from PaintCurve2D, as it won't be supported when rendering an image.
2023-08-26 21:23:38 +02:00
014e928e47
Set the outline to white and disable it by default in PaintCurve2D.
2023-08-26 21:21:49 +02:00
fc91416394
Added support for textured outlines in PaintCurve2D.
2023-08-26 21:19:55 +02:00
bc99a23af0
Removed the offset property from PaintCurve2D.
2023-08-26 20:27:33 +02:00
632ee28564
Removed the render segments variable from PaintCurve2D.
2023-08-26 20:21:40 +02:00
961127cfc4
Implemented fill for PaintCurve2D.
2023-08-26 20:20:32 +02:00
6148df90ef
PaintCurve2D property setup.
2023-08-26 13:00:25 +02:00
94f412a352
Rework PaintPolygon2D's triangle rasterizer so both color and uv interpolation works properly.
2023-08-26 11:01:03 +02:00
43a2b7d6f3
Implemented a triangle scanline rasterizer for PaintPolygon2D. Still needs some work.
2023-08-25 23:02:01 +02:00
6fb4ece167
PaintPolygon2D modularize polygon preprocessing.
2023-08-25 21:26:46 +02:00
c22d5d8946
Remove bone and weight painting support from PaintPolygon2D.
2023-08-25 20:52:11 +02:00
edf55fde28
Renamed the new paint classes and added them to the build.
2023-08-25 19:16:52 +02:00
3424e44400
Added Path2D and Polygon2D Nodes and their editord to the Paint module.
2023-08-25 18:13:54 +02:00
8bf5c70f50
Now VoxelWorld and TerrainWorld inherits from Spatial instead of Navigation, and Terrain2DWorld inherits from Node2D insteaf of Navigation2D, as there is now a proper NavigationServer. Also this will make Node hieararchies involvig them more versatile.
2023-08-24 18:55:21 +02:00
b4fe2b0d38
Added a way to customize the doctype declaration the html tag and the body tag to WebServerRequest.
2023-07-24 17:37:34 +02:00
f28b6c0c07
Fix crash in WebServerRequest::get_url_root().
2023-07-22 00:34:08 +02:00
a5365f8ca8
Fix build.
2023-07-13 14:47:04 +02:00
d6018f1818
Build fix.
2023-07-11 12:25:31 +02:00
719de5d54e
Only build CSGGizmos when building the editor.
2023-07-11 12:18:08 +02:00
c87b5e57f0
Ported the navigation geometry parsers for the csg module.
2023-07-11 11:11:33 +02:00
d2806793bb
Added back the csg module from godot.
2023-07-11 11:00:55 +02:00
b68bbd3bfb
Implemented custom response headers for WebServerRequest.
2023-07-08 21:11:56 +02:00
bbbcfacd84
Re-extracted class docs.
2023-07-06 21:17:58 +02:00
4281657cf1
Ported from godot: move autotile fallback helper functions + fix comments and docs
...
- wareya
a40ecc71e6
2023-06-28 13:47:29 +02:00
cb344d36b8
Ported from godot: make autotiles fall back to the most similar bitmask using heuristics
...
- wareya
73ad6517e4
2023-06-28 13:36:14 +02:00
6d6f7a0d53
Apparently osx doesn't have the uchar.h header, so define char16_t and char32_t directly.
2023-06-24 00:00:44 +02:00
67975e335b
Fixed compile errors.
2023-06-23 18:10:50 +02:00
21ad9c3cbe
Fixed compile errors.
2023-06-23 17:51:36 +02:00
a47958471b
Fix includes.
2023-06-23 17:11:32 +02:00
b19d80afcb
Added back gdnative as a built in module. It was worked on in this repository: https://github.com/Relintai/gdnative .
2023-06-23 16:59:45 +02:00
d3f2e0e4fe
Fixed SkeletonModification3DFABRIK.
2023-06-22 09:43:55 +02:00
e56d6fa906
Added code to load old resource properties where applicable, to help converting resources to the new fixed apis. These will be removed after the next release.
2023-06-17 02:20:24 +02:00
b1de21dd58
Renamed get_stat, and set_stat in Entity. It's just a smell c++ side helper method, they aren't bound. Should not require any changes like the rest.
2023-06-16 23:26:49 +02:00
a0b908874d
Fix Entity's api's inconsistencies pt 4.
...
In projects mass replacing the following words will update everything.
gets_is_pet -> pet_gets_is
getc_is_pet -> pet_getc_is
gets_original_entity_controller -> original_entity_controller_gets
sets_original_entity_controller -> original_entity_controller_sets
gets_entity_controller -> entity_controller_gets
sets_entity_controller -> entity_controller_sets
getc_entity_controller -> entity_controller_getc
setc_entity_controller -> entity_controller_setc
gets_ai -> ai_gets
sets_ai -> ai_sets
free_spell_points_gets -> spell_points_gets_free
free_spell_points_sets -> spell_points_sets_free
free_spell_points_getc -> spell_points_getc_free
free_spell_points_setc -> spell_points_setc_free
2023-06-16 18:24:14 +02:00
3fdb671b51
Fix Entity's api's inconsistencies pt 3.
...
In projects mass replacing the following words will update everything.
gets_free_class_talent_points -> class_talent_points_gets_free
sets_free_class_talent_points -> class_talent_points_sets_free
getc_free_class_talent_points -> class_talent_points_getc_free
setc_free_class_talent_points -> class_talent_points_setc_free
gets_free_character_talent_points -> character_talent_points_gets_free
sets_free_character_talent_points -> character_talent_points_sets_free
getc_free_character_talent_points -> character_talent_points_getc_free
setc_free_character_talent_points -> character_talent_points_setc_free
gets_bag -> bag_gets
sets_bag -> bag_sets
getc_bag -> bag_getc
setc_bag -> bag_setc
2023-06-16 17:53:23 +02:00
05b11e9458
Fix Entity's api's inconsistencies pt 2.
...
In projects mass replacing the following words will update everything.
sets_ai_state -> ai_state_sets
ai_state_sets_stored -> ai_state_stored_sets
ssend_stat -> stat_ssend
creceive_stat -> stat_creceive
getc_state -> state_getc
setc_state -> state_setc
gets_state -> state_gets
sets_state -> state_sets
adds_state_ref -> state_ref_adds
removes_state_ref -> state_ref_removes
gets_free_spell_points -> free_spell_points_gets
sets_free_spell_points -> free_spell_points_sets
getc_free_spell_points -> free_spell_points_getc
setc_free_spell_points -> free_spell_points_setc
gets_target -> target_gets
sets_target -> target_sets
getc_target -> target_getc
setc_target -> target_setc
2023-06-16 16:57:56 +02:00
2b516b260a
Fix Entity's api's inconsistencies pt 1. Also fixed, and bound a property.
...
In projects mass replacing the following words (in the order given) will update everything.
get_character_skeleton_path -> character_skeleton_path_get
set_character_skeleton_path -> character_skeleton_path_set
get_character_skeleton -> character_skeleton_get
set_character_skeleton -> character_skeleton_set
gets_entity_data -> entity_data_gets
sets_entity_data -> entity_data_sets
getc_entity_data -> entity_data_getc
setc_entity_data -> entity_data_setc
entity_data_gets_id -> entity_data_id_gets
entity_data_sets_id -> entity_data_id_sets
entity_data_getc_id -> entity_data_id_getc
entity_data_setc_id -> entity_data_id_setc
entity_data_gets_path -> entity_data_path_gets
entity_data_sets_path -> entity_data_sets_path
gets_ai_state -> ai_state_gets
ai_state_gets_stored -> ai_state_stored_gets
2023-06-16 16:41:34 +02:00
1a5cba555c
Backported godot4 PR: Support threads in the script debugger
...
* This implementation adds threads on the side of the client (script debugger).
* Some functions of the debugger are optimized.
* The profile is also now thread safe using atomics.
* The editor can switch between multiple threads when debugging.
This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs.
This means that, now, the editor can receive multiple threads entering debug mode at the same time.
- reduz
PR 76582
Will be available here after it's merged:
6b176671c4
2023-06-14 14:43:55 +02:00
3346381a95
Skeleton doc small fixes.
2023-06-13 18:07:33 +02:00
24df83cd32
Added more newly extracted class docs.
2023-06-13 17:55:03 +02:00
8d679355df
Re-extracted class docs pt3.
2023-06-13 17:34:41 +02:00
a7f1f3356c
Re-extracted class docs pt2.
2023-06-13 16:51:37 +02:00
de1763d40d
Renamed neighbor_dist properties / getters / setters for the navigation server.
2023-06-12 08:37:57 +02:00
4cc77216d7
Fix codestyle in the InputMapEditor.
2023-06-11 16:12:43 +02:00
3afa1142b9
Merged the functionality of BSInputEventKey to InputEventKey. This new setting can make input event keys act as if they are shortcut matched.
2023-06-11 16:06:09 +02:00
de059c33bc
Use the new scaled grab radius in MDIGizmo.
2023-06-11 13:21:45 +02:00
MJacred
3227a23031
Warn against using non-uniform scale for 3D physics (in class reference only)
...
partial backport of #67847
fixes #56824
2023-06-11 09:04:25 +02:00
lawnjelly
22d90711da
Make acos and asin safe
...
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.
The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.
2023-06-11 08:41:42 +02:00
37273d29c9
Ported: Multirect - Fix refining regions for all derived Textures
...
Fixes allowing all derived texture types to modify region prior to rendering.
- lawnjelly
43b6205887
2023-06-11 00:47:10 +02:00
8642a7c722
Ported: Fix rendering tiles using nested AtlasTextures
...
- kleonc
12c923cb8b
2023-06-11 00:23:26 +02:00
5118c434e2
Ported from godot4: Add Navigation Debug for GridMap edge connections
...
Adds navigation visual debug for GridMap edge connections that use baked navigationmesh with bake_navigation=true.
- smix8
4f0730d4bc
2023-06-10 23:14:09 +02:00
f058c87868
Backported from godot4: Rework Navigation Avoidance
...
Rework Navigation Avoidance.
- smix8
a6ac305f96
2023-06-10 20:58:49 +02:00
8b18898609
Backported from godot4: Rework const on NavigationServer methods
...
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
- DarkKilauea
a0715b30f9
2023-06-09 22:03:42 +02:00
6384b9624f
Ported from godot4: Make navigation mesh edge connections optional
...
Makes navigation mesh edge connections optional.
- smix8
f986b52b3c
2023-06-09 20:54:05 +02:00
29784d5d5b
Ported from godot4: Enable assigning an owner to navigation regions and links
...
This allows users of the server APIs to get back the nodes that created certain regions and links.
- DarkKilauea
5769b0e8d8
2023-06-09 19:46:44 +02:00
160cb38a50
Ported from godot4: Add support for emitting a signal when entering a NavLink
...
- DarkKilauea
5d8ba2b2d1
2023-06-09 19:08:38 +02:00
e07fd6da59
Ported from godot4: Prevent unnecessary navigation map synchronizations
...
Prevents unnecessary navigation map synchronizations triggered by redundant calls to setters of e.g. region, link or map properties.
- smix8
7e1a261cc6
2023-06-09 16:43:14 +02:00
19fac49904
Turn PoolVectors in NavigationPathQueryResults into Vectors.
2023-06-09 16:27:24 +02:00
12b95cdc1f
Ported from godot4: Add navigation layer bitmask helper functions
...
Adds helper functions to work with the navigation layer bitmask.
- smix8
55923ade68
2023-06-09 15:44:12 +02:00
0bb4e0a9c2
Fix non tools build.
2023-06-09 11:39:52 +02:00
23daaf95a6
Ported from godot4: Fix 2D navigation debug visuals ignoring half the ProjectSettings
...
Fixes that NavigationRegion2D and TileMap debug visuals ignored more or less half the ProjectSetting. E.g. random color could not be disabled, edges did not display.
2b19c70664
2023-06-09 11:29:33 +02:00
c11500d480
Ported from godot4: Rename Navigation uses of 'location' to 'position'
...
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
- smix8
bf1571979c
2023-06-09 10:28:31 +02:00
b940854ca9
Ported from godot4: Add NavigationServer Performance Monitor
...
Adds Performance Monitor for NavigationServer3D.
- smix8
9802914f97
2023-06-09 10:17:43 +02:00
038329e7d0
Backported form godot4: Fix NavigationServer internals still using float instead of real_t
...
Fixes that some NavigationServer internals still used float instead of real_t in some parts.
- smix8
217a27014b
2023-06-09 08:53:00 +02:00
0438c3cc3f
Backported from godot4: Added node for Navigation links .
...
- DarkKilauea
3dd59013f4
2023-06-08 20:46:09 +02:00
f6e65112d7
Backported from godot4: Add NavigationPathQuery
...
Adds NavigationPathQueryParameters objects that can be used with NavigationServer.query_path() to query a customized navigation path.
- smix8
63dcb9aa80
2023-06-08 18:23:48 +02:00
b8d9ffec6d
Moved TileMap's Geometry Parser to TileMap's module.
2023-06-07 15:44:25 +02:00
c8d05fe667
Remove module dependency.
2023-06-07 15:44:00 +02:00
6f88656bc7
Removed the Clipper2 module, and also the remaining c++17 defines.
2023-06-07 15:33:59 +02:00
443482ee47
Make MeshInstance2DNavigationGeometryParser2D use the Geometry singleton instead of the clipper2 module.
2023-06-07 15:32:30 +02:00
2e1e153bc3
Make MultiMeshInstance2DNavigationGeometryParser2D use the Geometry singleton. And by proxy clipper 1.
2023-06-07 15:25:32 +02:00
d9a03e7eab
Remove temp code.
2023-06-07 09:21:42 +02:00
6eb37ff901
Ported clipper2 usage to clipper1 in PandemoniumNavigationMeshGenerator. Also moved them to the Geometry singleton.
2023-06-07 09:20:36 +02:00
91f365b183
Added CapsuleShape2D support for StaticBody2DNavigationGeometryParser2D.
2023-06-07 00:36:53 +02:00
683feba2e1
Fix RectangleShape2D size calculation in StaticBody2DNavigationGeometryParser2D.
2023-06-07 00:27:27 +02:00
99207066c5
Disable offsetting in PandemoniumNavigationMeshGenerator for 2d, as it seems to be bugged.
2023-06-07 00:24:59 +02:00
f8ae128f72
Fix UndoRedo handling in NavigationPolygonEditor.
2023-06-06 23:48:51 +02:00
9386fa1639
Fix typo.
2023-06-06 23:25:03 +02:00
919a1ddd14
Use the new temporary clipper2 module for the rest of the code that needs clipper2.
2023-06-06 22:59:09 +02:00
a5c03b77c1
Make the NavigationMesh generator and the TileMapNavigationGeometryParser use the new Clipper2 module. (Note that the clipper2 module is only temporary, it only exists to help with backporting the code.)
2023-06-06 19:02:33 +02:00
a65ad4d279
Added note.
2023-06-06 19:00:05 +02:00
13fa54d9cf
Also added Polypartition to the new clipper2 module from godot4. (Temporarily)
2023-06-06 18:07:49 +02:00
1d8be4224e
Added Clipper2 as a module from the navigation mesh generator rework pr.
2023-06-06 18:03:03 +02:00
7ce5f939a9
Ported the docs from the navigation mesh generator rework pr.
2023-06-06 16:52:04 +02:00
32e0e80ac8
Ported the tweaks for the TIleSetEditor.
2023-06-06 16:19:46 +02:00
2481e1ac65
Fix inconsistent override.
2023-06-06 15:58:40 +02:00
82316363eb
Removed the old navigation mesh generator and it's editor plugin.
2023-06-06 13:59:33 +02:00
f04fe96da7
Ported the geometry parser for GridMap from the navigation mesh generator pr.
2023-06-06 13:52:16 +02:00