Commit Graph

1979 Commits

Author SHA1 Message Date
e0fc57e12a Bind methods in HTMLTemplateMultilang. 2024-12-10 22:28:19 +01:00
6bad54c4d2 Created a HTMLTemplateMultilang class. It can automatically select between multiple HTMLTemplates. 2024-12-10 22:13:56 +01:00
14100c3ac0 Added a method to get all users from the UserDB and UserManagers. 2024-11-20 21:57:35 +01:00
1a45e6371a Added the previous commit as patch. 2024-11-14 20:10:58 +01:00
ad572cdfdb Reapply SQLITE_NO_FCHOWN Pandemonium sqlite patch. 2024-11-14 20:07:24 +01:00
8022d4ab90 Updated sqlite to version 3.47.0. Also added a VERSION.txt to it's folder. 2024-11-14 20:02:59 +01:00
Rémi Verschelde
672cea4d08 CI: Update Ubuntu runners to 24.04, but keep 22.04 for Linux builds
Pin clang-format to version 16, and black to 24.10.0.
Keep using Ubuntu 22.04 for Linux builds for portability.
2024-11-13 23:48:04 +01:00
Capital
3fe6da64d4 Backport 65910 for Godot 3 2024-11-13 23:20:38 +01:00
a59cb3956b Backported from godot 4: Make SkeletonIk3D node usable
- warriormaster12

ddf93f3f59
2024-09-30 18:55:39 +02:00
506a0756c5 Update gdnative api. 2024-09-30 17:26:29 +02:00
6ac0c2bbc0 Undo unecessary breaking change to gdnative. 2024-09-30 16:26:52 +02:00
ee1e40f1b0 Renamed looking_at to create_looking_at, and from_scale to create_from_scale in Basis. 2024-09-30 16:17:19 +02:00
c09474ccd8 Re-extracted class docs. 2024-09-20 10:03:06 +02:00
b0cf8c6859 Use the engine's math singleton in proctree.cpp. 2024-09-08 17:33:30 +02:00
f73b16470a Simple initial docs for ProceduralTreeMesh. 2024-09-08 17:10:32 +02:00
36622694ee Re-extracted class docs. 2024-09-08 17:02:09 +02:00
5c24f0ba90 Added an icon for procedural tree mesh. 2024-09-08 17:00:16 +02:00
089ac25db5 Fix shadowed declaration. 2024-09-08 16:56:39 +02:00
83871fc6e0 Clang format everything. 2024-09-08 16:52:38 +02:00
e4263507ce Added an array mesh conversion helper method to ProceduralTreeMesh. 2024-09-08 16:37:04 +02:00
2124f48710 Added flip twig and branch faces options to procedural tree mesh. 2024-09-08 16:26:35 +02:00
a02d73b035 Fix typo. 2024-09-08 16:14:46 +02:00
4f62ea4b8e Fix tree mesh face orientation. 2024-09-08 16:12:16 +02:00
ad642e3f16 Added an option to enable and disable branch and twig meshes. 2024-09-08 16:03:54 +02:00
5e7264b292 Increase max trunk length. 2024-09-08 15:29:07 +02:00
147bc63f7e Update the tree mesh when a property changes. 2024-09-08 15:24:41 +02:00
c4fa44a02b Implement tree generation. 2024-09-08 15:18:37 +02:00
905f1105b1 Range property hints for the ProceduralTreeMesh. 2024-09-08 14:50:00 +02:00
51ee422874 ProceduralTreeMesh bind improvements. 2024-09-08 14:36:59 +02:00
da67535193 ProceduralTreeMesh initial binds. 2024-09-08 14:25:06 +02:00
6c0cb3dc52 Bind enum values. 2024-09-08 13:35:37 +02:00
fe9d89d6ec Also rename it's files. 2024-09-08 13:33:48 +02:00
883851a57a Renamed ProceduralTree3DMesh to ProceduralTreeMesh. 2024-09-08 13:31:27 +02:00
755a8b0225 ProceduralTree3DMesh initial setup. 2024-09-08 13:28:45 +02:00
2a936f4954 Renamed procedural_tree_3d.h and cpp to procedural_tree_3d_mesh.h and .cpp. 2024-09-08 10:50:01 +02:00
76ae9d4c09 Procedural tree 3d module initial setup. 2024-09-08 10:19:20 +02:00
aa622685d0 Clang format everything. 2024-07-21 10:40:17 +02:00
82296c9f19 Renamed the render_menu property in UserWebPage to should_render_menu, as there is a render_menu method in WebNode. 2024-07-19 08:37:03 +02:00
f93f0e1984 Disabled the unused argument warning by default. 2024-07-18 11:13:26 +02:00
5025e3f4b6 Fix getting utf-8 texts from Sqlite3QueryResult. 2024-07-18 08:44:40 +02:00
f377181035 Tweaks to defaults. 2024-07-18 08:14:27 +02:00
e8cabe7657 Don't create any accounts in UserManagerDB::_create_default_entries(). 2024-07-18 08:09:11 +02:00
05dbe60f9b Re-extracted class docs. 2024-07-16 23:22:41 +02:00
f9507dc475 Clang format everything again. 2024-07-16 21:29:26 +02:00
8181808b74 Ran the header guard move script. 2024-07-16 21:27:34 +02:00
c7ac1db971 Clang format everything. 2024-07-16 21:23:54 +02:00
38dd206a3b Tweaks to the editor defaults. 2024-07-16 20:19:54 +02:00
d899382c30 Added back the xatlas_unwrap module. Also moved xatlas into it so it's not in the thirdparty folder. 2024-07-15 20:21:33 +02:00
Rémi Verschelde
2936883335 miniupnpc: Disable socket timeout on Windows, matching upstream
Fixes #88471.

(cherry picked from commit f695de7c68e373088175f8f3b1650f11a27be7aa)
2024-07-14 21:01:53 +02:00
lawnjelly
88406b7fbc Physics Interpolation - Fix 2D skinning
2D skinning required the interpolated skeleton base transform to be updated when using interpolation.
2024-07-14 10:38:02 +02:00
Aaron Franke
f7490335a4 GDNative: Fix Linux riscv warning about ignored sysv_abi 2024-07-14 08:26:01 +02:00
59d5eedf61 Fix logic. 2024-07-14 07:37:05 +02:00
lawnjelly
1d20785663 Tilemap editor - prevent changing tool when mouse buttons pressed
Changing tool when painting prevented the corresponding commit of undo action when the mouse button was released. This led to undo actions getting out of sync and the undo system breaking the editor.

This PR simply prevents changing tool while mouse buttons are pressed, and prevents the above scenario.
2024-07-14 07:28:25 +02:00
Mikael Hermansson
bffa53c645 Allow LSP to process multiple messages per poll
(cherry-picked from commit e2485044a1b33628e6149d4f930b6fe065743c9d)
2024-07-14 07:23:38 +02:00
946092e6fc Fix size mismatch warning. 2024-06-18 10:17:25 +02:00
db1a38081b Set the status code in WebRoot::_handle_error_send_request(). 2024-05-22 07:25:16 +02:00
7476c8608c Implemented VertexLight2D management support to LayeredTileMapLayers. 2024-05-11 22:59:41 +02:00
7a4271104d VertexLight2D support for LayeredTileSetAtlasSourceEditor. 2024-05-11 21:50:55 +02:00
48c65ce89e Added VertexLight2D support to LayeredTileData. 2024-05-11 21:05:52 +02:00
63fe195965 Implement debug drawing avoidance radius in LayeredTileMapLayer. 2024-05-11 19:55:48 +02:00
4a5e7894ab Only draw the radius's circle if it's bigger than 0. 2024-05-11 19:54:49 +02:00
d59353d48e Implement navigation obstacle support for LayeredTileMapLayers. 2024-05-11 19:29:43 +02:00
01342ca5fd Fix typo. 2024-05-11 17:40:21 +02:00
a138731c98 Also draw the position and radius in TileDataAvoidanceEditor. 2024-05-11 17:39:30 +02:00
36dd1dc0c3 Fix typo. 2024-05-11 16:13:53 +02:00
25ce3051b9 Editor setup for the avoidance properties. 2024-05-11 15:58:33 +02:00
37e586ebbc Avoidance positions are now using Vector2is in LayeredTileData. 2024-05-11 13:48:35 +02:00
4f11a25ef7 Added avoidance position property to LayeredTileData. 2024-05-11 13:23:40 +02:00
8998814481 Added flip winding order tool to GenericTilePolygonEditor. 2024-05-11 13:04:57 +02:00
5a870d0972 Implemented Obstacle for LayeredTileSets. 2024-05-11 12:49:44 +02:00
cbbdc7b32d Fixed rao and vertex lights for newly added cells. Also fixed re-generating the tilemap cells in many cases. Also small improvements. 2024-05-10 21:50:21 +02:00
41fd5fa504 Remove duplicate call. 2024-05-10 18:09:10 +02:00
c781ca9c5f Bind _tile_set_changed in LayeredTileDataEditor. 2024-05-10 17:55:53 +02:00
62a3dcfd34 Turn autowrap on on LayeredTileSetAtlasSourceEditor's tile_inspector_no_tile_selected_label. 2024-05-10 17:52:21 +02:00
8953d84f29 Optimize _node_route_map's usage in WebNode. 2024-05-04 16:58:03 +02:00
942e7e802f Fixed docs, index node support has been moved from WebRoots to WebNodes a while ago. 2024-05-04 16:52:49 +02:00
0c5a35e07a Actually... always defer unmatched requests to index nodes if they are available. 2024-05-04 16:42:59 +02:00
d880ff660f Added an option to defer unmathed requests to index nodes in WebNode. 2024-05-04 16:40:23 +02:00
602d8a6836 Use HashMap in BrowsableFolderServeWebPage, as the bug that was preventing this was already fixed quite a while ago. 2024-05-04 16:13:52 +02:00
61cecf068a Expose FileCache in FolderServeWebPage to scripts. 2024-05-04 16:13:02 +02:00
225bfef3e6 Tweak WebNode::get_full_uri() to give back the output what you'd normally assume when the uri segment is "/" under a WebRoot. 2024-05-04 15:57:06 +02:00
956bc0e9a0 Fix indents. 2024-04-27 23:06:38 +02:00
3dfa9bd7e8 Finish missing docs for the rest of the database module. 2024-04-27 23:03:18 +02:00
bef76e4adf Docs for the PreparedStatement. 2024-04-27 23:02:05 +02:00
3c14689ba6 Return OK when SQLITE_ROW in step(). 2024-04-27 22:50:50 +02:00
d53e7dd1fc Re-extracted class docs. 2024-04-27 21:08:04 +02:00
d208d887fc Fix text binds being interpreted as blobs. 2024-04-27 21:06:54 +02:00
e752ededc5 Fix typo. 2024-04-27 21:00:28 +02:00
2cb6e3d97f Added more helper methods to deal with prepared statements to QueryBuilder. 2024-04-27 20:37:23 +02:00
ef3aa03887 Renamed clear to reset in TableBuilder. 2024-04-27 19:44:16 +02:00
c2561f4b96 Use StringBuilder in TableBuilder aswell. 2024-04-27 19:33:46 +02:00
e455b53c7b Hide result String in TableBuilder. Also add clear() method to it. 2024-04-27 19:32:29 +02:00
e845f2f905 Set up the PreapredStatement for convenience in SQLite3QueryBuilder::create_prepared_statement(). 2024-04-27 19:06:38 +02:00
04ef468ffa QueryBuilder now uses a StringBuilder internally. 2024-04-27 18:54:12 +02:00
c0d74c2060 Made query_result in QueryBuilder protected. 2024-04-27 18:39:31 +02:00
266263976d Added virtual methods to QueryBuilder for adding prepared statement placeholders. 2024-04-27 18:37:56 +02:00
a347ab75b4 Prepared statements for the sqlite database backend. 2024-04-27 18:23:31 +02:00
d65d2b5e0f Setup prepared statement support for the database module. 2024-04-27 16:26:58 +02:00
f87650ec49 Small tweaks to the sqlite3 database module. 2024-04-27 14:47:03 +02:00
add7fff92b DatabaseConnection::database_connect() now returns Error. 2024-04-27 14:41:42 +02:00
09ff5c90b9 Re-extracted class docs. 2024-04-26 18:21:17 +02:00
a92858914f Docs for the markdown renderer. 2024-04-26 18:20:41 +02:00
28b54937b7 Don't expose renderer_callback() for scripting. 2024-04-26 17:34:28 +02:00
6783cb92ab Re-extracted class docs. 2024-04-26 17:32:25 +02:00
fb3e87a9e3 Added the ability to script the rendering of the MarkdownRenderer. Also added a new render() method equivalent to render_to_html(). 2024-04-26 17:31:42 +02:00
5d190f21d6 Re-extracted class docs. 2024-04-21 15:39:49 +02:00
cc2f893bcd LayeredTileMapLayer fix class names in docs. 2024-04-21 15:39:10 +02:00
82bdd1c235 Update LayeredTileMapLayer's docs to work properly. 2024-04-21 15:34:13 +02:00
f09ab537e0 Clang-format everything. 2024-04-21 15:27:36 +02:00
227b5d3f86 Don't create a default layer in LayeredTileMap's constructor. 2024-04-20 09:45:16 +02:00
0f2879c180 Fix MMImage. 2024-04-19 21:38:47 +02:00
62694baa23 Now the input_properties and output_properties property won't get saved directly in MMNode (this was the original intent, nothing should change other than MMMaterial files should be a bit smaller now.). They are still visible in the editor. Also make sure an MMNodeUniversalProperty can only be registered once. 2024-04-19 21:30:37 +02:00
e99e5a87bc Make mat maker's image picker button's dialog use resources. 2024-04-19 21:26:37 +02:00
e39251ce36 Added entity_resource_base_world_speed property to the ESS singleton. 2024-04-15 14:00:15 +02:00
b5ce7b875e Codetyle updates. 2024-04-15 13:59:36 +02:00
3f2ed008d1 Fix compile errors. 2024-04-14 16:55:07 +02:00
Kirill Diduk
1a231787b0 Check duplicate keys in dictionary literals: enums and const variables
Check identifiers (const variables and unnamed enums) and named
enums when parsing dictionary literals whether the keys are not
duplicated.

In case of duplicate key is encountered, highlight the line with it
and print error message:
`Duplicate key "foo" found in Dictionary literal`

This commit is a logical continuation of the commit dab73c7 which
implemented such checks only for literal keys (which fixed #7034).

Apart from that, this commit also fixes the issue with the error
message itself, which was shown one line below the duplicated key
in case it was the last one in the dictionary literal and there
was no hanging comma.

Also, the format of the error message has been changed so that now
the error message also contains the value of the key which is duplicated.
Instead of `Duplicate key found in Dictionary literal`, it now prints
`Duplicate key "<value>" found in Dictionary literal`

Fixes #50971
2024-04-14 16:37:55 +02:00
952c307f8a Use internal process for updating a dirty skeleton instead of the MessageQueue. This fixes BoneAttachments being a frame late. 2024-04-11 22:23:47 +02:00
dff6d9e9e3 Added copy pose and paste pose tools to the skeleton editor. Also added separators to it's dropdown menu. 2024-04-11 21:35:35 +02:00
3b25f0c0d5 Fix regression in LayeredTileMaps. 2024-04-09 13:52:02 +02:00
936c2e07bc Don't warn about layers not being y-sorted when there are no layers. 2024-04-06 21:08:44 +02:00
d255d381cb Fix layer navigation keys in LayeredTileMapLayerEditor even when not using layer nodes. 2024-04-06 21:04:57 +02:00
aa82d20e4b Added a get_layer() helper method to the LayeredTileMap. 2024-04-06 21:03:59 +02:00
fd5be3f26c Fix layer navigation keys in LayeredTileMapLayerEditor. 2024-04-06 20:32:39 +02:00
d63e561693 Make RAO and VertexLights2D work with the new LayeredTileMap setup. 2024-04-06 19:44:35 +02:00
3ac3c7da24 Backported from godot4: [TileMap] Fix forcing cleanup on exiting tree/canvas
- AThousandShips
09edece17d
2024-04-06 19:07:12 +02:00
cb55fa2292 Backported from godot4: Fixes "no cached rect" errors in TileMapLayer editor
- groud
c928273c6c
2024-04-06 18:59:41 +02:00
4cad999f60 Backported from godot4: Correctly update TileMapLayer highlighting when disabling it
- groud
256a6713f2
2024-04-06 18:42:37 +02:00
8648a32667 Backported from Godot4: Expose TileMapLayer
- groud
3cd4b2859c
2024-04-06 18:35:58 +02:00
bruvzg
620b30a86a Backport locale selection improvements. 2024-04-06 12:37:02 +02:00
786cf445ac Sync NativeScript's PROPERTY_USAGE flags with Object's. 2024-04-06 12:14:09 +02:00
Fabio Alessandrelli
85146c2646 GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute 2024-04-06 10:49:43 +02:00
d699df272f Fix property hint. 2024-04-04 19:55:42 +02:00
4785d29a16 Rename quadrants to octants in the vertex lights 3d module. 2024-03-27 16:13:58 +01:00
fd1f8aa5d7 Update docs for the vertex lights 3d module. 2024-03-27 16:12:15 +01:00
20776d0746 Recolor vertrex light 3d's icons. 2024-03-27 16:04:06 +01:00
c0805afa6c Rework the vertex light 3d module to actually be 3d. 2024-03-27 16:02:08 +01:00
b2b13bfb80 Copy the vertex lights 2d module over to the 3d version. 2024-03-27 12:26:20 +01:00
0ee99269a6 Added an icon for VertexLight2DEnvironment. 2024-03-27 11:52:43 +01:00
ab1f78ec21 Added docs for VertexLight2D and VertexLight2DEnvironment. 2024-03-27 09:11:46 +01:00
2007ef0f90 Added missing z_index parameter to VertexLights2DServer::sample_light(). 2024-03-27 09:04:59 +01:00
7f5b9650d9 Docs for the VertexLights2DServer. 2024-03-27 08:58:40 +01:00
a58eba6277 Re-extracted class docs. 2024-03-27 08:06:09 +01:00
34603315e4 Don't emit changed signal for disabled lights. 2024-03-27 08:04:16 +01:00
76c5252239 Emit changed notification when moving VertexLights. 2024-03-27 08:00:55 +01:00
a593fdff63 Fix VertexLights2DServer's changed notification setup. 2024-03-27 07:55:04 +01:00
59a4fcfc70 Allow setting abase color per map for vertex light 2ds. Also added VertexLight2DEnvironment Node so it can be changed easily using the SceneTree. 2024-03-26 16:29:02 +01:00
b353267679 Use blending for now with vertex lights in Layered Tile Maps. 2024-03-26 14:10:41 +01:00
af243a1111 Fix issues with vertex lights. 2024-03-26 14:10:14 +01:00
6e8073bbb6 Initialize layer_range properly. 2024-03-26 14:09:31 +01:00