Commit Graph

1804 Commits

Author SHA1 Message Date
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