Commit Graph

1240 Commits

Author SHA1 Message Date
32e9927ac8 Ported from godot 4: Remove NOTIFICATION_MOVED_IN_PARENT
* This notification makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILDREN_CHANGED (and children_changed signal).
* Changed Canvas code (and similar) to use the above signal, to perform more efficiently.
This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
It is required for the changes in #75627 to be entirely effective.
- reduz
Note that I removed NOTIFICATION_MOVED_IN_PARENT, as keeping it, but making it just not work is worse in my opinion.
104392ef4e
2023-04-10 15:55:34 +02:00
smix8
6eb9ac3085 Fix GridMap free navigation RID error spam
Fixes GridMap free navigation RID error spam.
2023-04-10 09:49:50 +02:00
a76df86ef3 Parse and process http headers in a case insensitive manner in HTTPParser. 2023-03-22 21:31:57 +01:00
53ddc7796f Quick fix for accessing files in the pck file for FileCaches. 2023-03-22 14:30:07 +01:00
b92d4f19ca Refresh the file cache in WebRoot on NOTIFICATION_READY. 2023-03-22 14:29:09 +01:00
517a5b9044 Added more mimetypes to the HTTPServerSimple. 2023-03-22 14:00:18 +01:00
1cb112f64c Properly handle non-ascii characters in uris in HTTPParser. 2023-03-22 13:59:58 +01:00
eb33d812d0 Added missing helper method to WebServerRequest. 2023-03-22 13:22:32 +01:00
3fccbc6d23 Now post and get parameters can be set / changed in requests from scripts aswell. 2023-03-22 13:20:25 +01:00
23d01a29ce Use the size struct member when parsing markdown in MarkdownRenderer. 2023-03-22 01:43:45 +01:00
0ed384eb1c Fix handling utf-8 in the MarkdownRenderer. 2023-03-21 21:22:36 +01:00
8191319e2f Improved PagedArticleWebPage's api. 2023-03-21 21:07:00 +01:00
5e17f2041d Use the new helper method in HTTPServerConnection::send(). 2023-03-20 22:34:43 +01:00
c6ef898c46 Fix Content-Length calculation in HTTPServerConnection::send when using non-ascii utf-8 characters. 2023-03-20 21:50:40 +01:00
2591231bbe Fixed more cases of using String.size() instead of String.length(). 2023-03-20 21:24:51 +01:00
a155e44491 Implement max request size limit for HTTPServerSimple. 2023-03-18 11:52:25 +01:00
09138d762c Ported: Use hash table for GDScript parsing
GDScript now uses hash table for lookup of type lists / functions / keywords, instead of linear String comparisons.
- lawnjelly
19f2006ec0
2023-03-18 09:44:01 +01:00
3d1abe86fb Ported: GDScriptParser - don't use index operator on linked list
Index operators are super slow with linked lists. This came up in profiling the parsing, iterating sequentially using iterator is much faster.
- lawnjelly
ef914dac31
2023-03-18 09:29:08 +01:00
DashCell
2a1f4a695d TileSet: Fix resizing collision shape when vertex is outside the tilesheet
Fixes #34970.
2023-03-12 14:15:51 +01:00
a29534ed66 Fixed the tooltip of the Add Paint Canvas button of the PaintProjectToolsPropertyInspector. 2023-03-04 21:39:09 +01:00
c54ad5594b Work on fixing histogram generation. 2023-03-04 19:40:30 +01:00
a3da8b16ba Size the Tones Editor properly. 2023-03-04 15:18:35 +01:00
fc969f4331 Now the MMTones Editor actually works. 2023-03-04 15:11:55 +01:00
51b63cae71 Tones Node port from MateriaMaker (Part 2). 2023-03-03 18:02:06 +01:00
c232aa4154 Removed print statements. 2023-03-03 15:29:58 +01:00
6876c87050 Tones Node port from MaterialMaker (Part 1). 2023-03-03 15:29:03 +01:00
0f02468984 Ported the TonesMap from MaterialMaker. 2023-03-02 09:03:25 +01:00
24facf6230 Reworked MMOutputImage. Now it uses a button, and also it works as it should. 2023-03-01 23:07:53 +01:00
8cf478567d Added buttons slots to MMGraphNodes. 2023-03-01 23:06:01 +01:00
aa5d0d9acc Fixed MMSdf3dOpExtrusion's name and added it to the build. 2023-03-01 21:32:47 +01:00
857a0265d4 Fix unused return value. 2023-03-01 01:01:42 +01:00
091bb6391b Ported the Warp Node from MaterialMaker. 2023-03-01 00:54:14 +01:00
a2006ca4af Make sure MMBlurSlope uses the sigma paramater the intended way. 2023-02-28 22:36:43 +01:00
e31f121035 Small tweaks to MMTonesStep. 2023-02-28 22:36:08 +01:00
e2fe613e14 Ported the TonesStep Node from MaterialMaker. 2023-02-28 21:27:37 +01:00
1f7c2ef1fc Ported SlopeBlur from MaterialMaker. 2023-02-28 19:00:22 +01:00
81c9a7f940 Don't serialize editor only omni lights in PropDataLight. 2023-02-25 12:13:07 +01:00
ee8014d15e Removed comment. 2023-02-25 12:09:23 +01:00
47525f401b Added noise offset support to TiledWalls. 2023-02-25 12:08:49 +01:00
0cbe3b29f6 Make body_instance in Entity virtual. 2023-02-24 19:20:51 +01:00
79995d2868 Fix typo. 2023-02-24 19:10:08 +01:00
806a083cc9 Proper bind parameters for body_instance. 2023-02-24 19:09:44 +01:00
b6e6d3226f Make body related methods in entity have body as their prefix. 2023-02-24 19:09:00 +01:00
2e960fd00e Add braces around one liner if-s in Entity. 2023-02-24 18:58:46 +01:00
59a4e14b22 Ported: Allow unicode identifier in GDScript syntax highlighter
- timothyqiu
5a283bdbcd
2023-02-21 13:32:12 +01:00
d5cbb5ce1d Ported: Improve GDScript Editor and Improve latency
Improvements:
- GDScript Highlighter is faster by 25% as keys are smaller (hashes instead of strings)
- Removes message queue from _apply_settings_change to allow resize to work correctly
- Some performance fixes are pending still
Note: this resolves the code editor behaving badly when resizing in debug builds
- RevoluPowered, akien-mga
1881b3adc5
2023-02-21 13:24:53 +01:00
c3f01e0b3d Ported: Highlight control flow keywords with a different color. This makes them easier to distinguish from other keywords.
- Calinou
e905e8f145
2023-02-21 13:20:25 +01:00
8eca52fc76 Ported: Fix highlight color for class attributes that are also keywords.
- lucasvanmol
749d0c708c
2023-02-21 13:14:09 +01:00
e42c604bc3 Ported: Switch from recursion to iterative for backfilling colour regions.
- Paulb23
ee4a1c99a7
2023-02-21 13:11:37 +01:00
a79792ee67 Ported: Fix color region end key seach and start key order.
- Paulb23
6cdcdbc242
2023-02-21 13:08:49 +01:00