Backported everything up to and including https://github.com/godotengine/godot/commit/5cd47a1984118b1e96b96d8ebb6ca7811c9f4d02 Merge commit: https://github.com/godotengine/godot/commit/b3396b093b7aac8184a670ffb57feadd4284b4ec
- Added module initialization levels (similar idea to what's in godot4, although I added more).
- Backported the tight version of godot4's LocalVector as the new TightLocalVector class.
- Small cleanups for PooledList and PagedAllocator.
- Renamed Map to RBMap.
- Renamed Set to RBSet.
- Replaced the HashMap's implementation with the one Godot4. Refactored it to work as a drop in replacement. Renamed the old one to OGHashMap.
- Added more getters to the new HshMap, for more backwards compatibility.
- Added the rest of the new container classes from godot4.
- Added utf8_byte_length(), and utf16_byte_length() helper methods to String.
- Added HAS_TRIVIAL_CONSTRUCTOR, HAS_TRIVIAL_DESTRUCTOR, and HAS_TRIVIAL_COPY macros to typedefs to fix new clang deprecations.
- Added Size and Point typedefs for Vector3i and Vector4i.
- Added log10 to the Math class.
- Added a Math singleton exposing math functions directly to scripts. The idea is to make the disrepancies between scripts and engine side code smaller.
- Added erf to Math.
#### Servers
- Now more than one Navigation Server can be registered.
- Move NavigationServer2d's forwarding logic to the navigation module as a new derived class.
- Now more than one Naviugation2D servers can be registered.
- Allocate the selected navigation srevers.
- Add init() virtual methods to the navigation servers.
#### Editor
- Added a setting to force launch the project in an adjacent window in the android editor.
- Re-enable remote debugging in the android editor build.
#### Misc
- Added alternate slim args when building the editor with the setup script. Also updated the list and style of the example.
#### Platforms
#### Modules
- Added include guards to all module register_types.h-s.
##### Steering AI
- Added a new steering_ai module. It's a c++ port of https://github.com/GDQuest/godot-steering-ai-framework , with smaller modifications.
##### Web
- Added a new WebServerRequestScriptable class, so different web server request implementations can be created using scripts when needed.
- Added missing binds in FileCache.
- Added protocol error handling to the http server simple.
- Added optional protocol error logging to HTTPParser. Also remove unnecessary error.
- Set a better self signed cert path for the HTTPServerSimple.
- Pre-create the required folders for the self signed cert files automatically.
- Implement sending keep alive connection type if a connection has more than one request for HTTPServerSimple. Also more togglable debugging.
- Implement max request size limit for HTTPServerSimple.
- Now post and get parameters can be set / changed in requests from scripts aswell.
- Added missing helper method to WebServerRequest.
- Added more mimetypes to the HTTPServerSimple.
##### UnitTest
- Added a new skeleton unit test module with some notes.
##### EditorCodeEditor
- Move the editor's script text editor into the new code_editor module.
##### ShaderEditor
- Separated shader editor into a new module.
##### Props
- Added noise offset support to TiledWalls.
##### MaterialMaker
- Ported SlopeBlur from MaterialMaker.
- Ported the TonesStep Node from MaterialMaker.
- Ported the Warp Node from MaterialMaker.
- Added buttons slots to MMGraphNodes.
- Ported the TonesMap from MaterialMaker.
- Tones Node + Editor port from MaterialMaker.
##### NavigationServerDummy
- Added a new dummy navigation server module.
- Make sure the dummy navigation server is used automatically if the normal is disabled.
### Fixed
#### Core
- String: Use set_length, instead of resize in String's operator +=.
- Updated the logic of a few getters in String.
- Fix warning on clang.
#### Editor
- Fix selecting the script editor even if it's not the 3rd in the editor_tables array.
- Make sure that the script editor is the 3rd tab.
#### Platforms
- Fix sprintf deprecation warning on osx.
#### Modules
- Now modules in custom folders can properly declare their copyright.txt.
##### Web
- Set _server_quit in WebServerSimple the way it was intended to be used.
- Fixed multi threading + https in HTTPServerSimple.
- Fixed more cases of using String.size() instead of String.length().
- Fix Content-Length calculation in HTTPServerConnection::send when using non-ascii utf-8 characters.
- Fix handling utf-8 in the MarkdownRenderer.
- Use the size struct member when parsing markdown in MarkdownRenderer.
- Properly handle non-ascii characters in uris in HTTPParser.
- Quick fix for accessing files in the pck file for FileCaches.
- Parse and process http headers in a case insensitive manner in HTTPParser.
- Fix string parameter parsing in multipart forms, also make multipart form content fields case independent.
##### Skeleton3D
- Fix error spam in the skeleton editor.
- Make sure Skeletons set up their initial pose.
- Cleanups to Skeleton's bindings.
##### Entity
- Add braces around one liner if-s in Entity.
- Proper bind parameters for body_instance.
##### MaterialMaker
- Fixed MMSdf3dOpExtrusion's name and added it to the build.
- Reworked MMOutputImage. Now it uses a button, and also it works as it should.
##### Paint
- Fixed the tooltip of the Add Paint Canvas button of the PaintProjectToolsPropertyInspector.
##### MeshDataResource
- Reworked undo redo handling in the MeshDataResource Editor. Now it will properly mark the actual resource dirty in all cases. Also fixed other small inconsistencies, and issues.
- Fix visual indicator toggles in the MeshDataResource editor.
- Also fix the tangent generation button in the MeshDataResource editor.
### Changed
#### Modules
##### CVTT
- Moved the cvtt module to the editor modules folder, as it's tools only.
##### Entity
- Make body related methods in entity have body as their prefix. (For example: get_body_path() -> body_get_path()).
- Make body_instance in Entity virtual.
##### Props
- Don't serialize editor only omni lights in PropDataLight.
##### Web
- Improved PagedArticleWebPage's api.
- Refresh the file cache in WebRoot on NOTIFICATION_READY.
### Removed
### Core
- Removed the deprecated clamped() method from vector2. (The new method is limit_length().)
#### Modules
##### TileMap
- Removed RTileMap and RTileSet compatibility classes.
### Backports
#### Godot 3.x
Backported everything up to and including https://github.com/godotengine/godot/commit/cc60359a6c8b91d5df8c21f09f416b5d2ae87e94 Merge commit: https://github.com/godotengine/godot/commit/adee8cfee6df58744e08ccd03917829cc3faf465
- Tweak particles animation offset property hint to allow more precise values
- Fix Tree overflow without scrolling being enabled
- Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
- Fix local variables not showing when breaking on final line
- Expose API to force file system sync.
- Fix stylus tilt Y direction.
- iOS: Add new model identifiers for DPI metrics
- Support Git worktrees in generation of hash header
- Fix get_path() is not working when files are opend with `open_compressed` And also fixed `get_absolute_path()` in the same way
- Make CollisionShape selection box use shape AABB
- Bump json5 from 1.0.1 to 1.0.2 in /platform/web
- zlib/minizip: Update to version 1.2.13, remove zlib from freetype Security update, fixes CVE-2022-37434 in zlib.
- Faster queue free
- Fix error when dropping script into script editor
- Fix for PoolArray comparison - AThousandShips
- Set touch input as handled only after _gui_call_input - necrashter
- GLES2 fix octahedral half float unpacking
- Expose OS.read_string_from_stdin() to the scripting API This can be used in scripts to read user input in a blocking manner.
This also removes the unused `block` argument, which is always `true`.
- Fixed: Save Branch as Scene not workking in Remote Tree (only work when u pause)
- Suggest Filename in Remote Tree File Dialog
- PopupMenu rework and enhancements Many scrolling behaviour improvements and the ability to limit popup size.
- Add dumb theme item cache to Control
- Windows: Fix heap overflow setting native icon
- Update the logic to calculate the screen scale on Android. Takes into account the ratio between the screen size and the default window dimensions.
- Improve error messages and classref for occluders and portals. Misused functions would previously produce no error messages which was confusing for users.
- Provide a delegate implementation for the killProcess logic on Android
- Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
- Add independent spinbox arrow step precision
- Implement file provider capabilities. The previously used file sharing api was restricted after Android N causing the engine to crash whenever used on devices running Android N or higher.
- Document image size restrictions for custom mouse cursors in HTML5
- Fix wrong SpriteFrames docs
- Fix Line2D UVs when using BOX end cap mode
- Default update_vital_only to true for Android and Web editor
- Fix the issue causing long-press on a selected node on the scene tree to trigger both the context menu and the rename functionality.
- Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
- Improve the clarity of Viewport's documentation
- iOS: Fix memory leak on touch input
- Fix Editor hanging if audiostream's pitch_scale is NaN
- TileSet: Fix resizing collision shape when vertex is outside the tilesheet
- BVH - fix lockguards for multithread mode
- Add error messages for collision exception functions
- Backport Tree::set_selected
- Backport a simpler version of the accent color for check icons
- Document using String.percent_encode() with OS.shell_open()
- Use the new API for virtual keyboard height detection on Android, bugfix .
- iOS: Implement missing gamepad.buttonOptions, buttonMenu, and buttonHome joy buttons.
- Fix AltGR getting stuck on Windows right alt-tab
- Fix Xbox Series controller duplicate input
- Mention String.match() is also called "glob"/"globbing"
- Math: Prevent division by zero in posmod
- Add PS3 controller guide button
- Sync controller mappings DB with SDL2 community repo
- Change message of unknown joypad property from error to warning.
- Fix Standard Gamepad Mapping triggers.
- increased max touches to 32 for ios
- fix shadows pass viewport calculation. ([3.x] Fix shadows when using 2 directional lights)
- CI: Pin SCons to 4.4.0, the new 4.5.0 is broken
- GDScriptParser - don't use index operator on linked list.
- Use hash table for GDScript parsing
- Fix GridMap free navigation RID error spam
- Set the unlit / unshaded extension when importing / exporting GLTF
- Fix for 2D viewport not updating in the editor when the camera moves
- Eliminate collision checks between geometry in rendering BVH.
- Add set_value_no_signal() to Range
- Add Color + alpha constructor for Color
- Fix directory access when the running app has the All files access permission
- Bump the target SDK version to 33 (Android 13)
- Update make_rst.py to match the master version
- Make MessageQueue growable
- Batching - Add MultiRect command
- SurfaceTool - efficiency improvements
- Fix null in android text entry system.
- [3.x] Don't apply scale to autohide theme property
- [3.x] Expose more compression formats in Image
- Downgrade android gradle plugin to version 7.2.1.
- Make tab's close button responsive to touch taps
- Make EditorPropertyLayersGrid responsive to touch taps
- Add option in VisibilityEnabler2D to hide the parent for better performance
- Backport from Godot 4 - Fix RigidDynamicBody gaining momentum with bounce
- Fix inconsistent file dialog settings usage
- Suggest class_name in 3.x autocompletion.
- MessageQueue - Fix max usage performance statistic
- [3.x] Implement physics support in the GLTF module
- Make create folder popup support nested folders
- Fix Polygon2D skinned bounds (for culling)
- Add benchmark logic
#### Godot4
- Convert syntax highlighters into a resource
- Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
- Changed line_edited_from(from) to lines_edit_from(from, to)
- Fix colour region continuation over blank lines, issue 41120
- Fix color region end key seach and start key order.
- Switch from recursion to iterative for backfilling colour regions.
- Fix highlight color for class attributes that are also keywords.
- Highlight control flow keywords with a different color. This makes them easier to distinguish from other keywords.
- Improve GDScript Editor and Improve latency
- Allow unicode identifier in GDScript syntax highlighter
- Rework how current Camera2D is determined
- Fix Camera2D crashes
- Also fixed issues with active Camera2D switching.
- Now the desired android arches can be easily specified for the android build when using to the app build script.
#### Modules
##### Database
- 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.
Backported everything up to and including https://github.com/godotengine/godot/commit/6812e66f33761ee4d02a7439af8fbea84e63e3f9 Merge commit: https://github.com/godotengine/godot/commit/3c39bc365fbfeda805aa87687422e9c9092c809b
- Now the Engine has methods to store globals (custom singletons). They are mostly meant for classes like EditorInterface, SpatialEditor, and plugin scripts that need a singleton for in-editor use. In essence it provides easy and side effect less access for classes that might not be present on every run. (For example gdscript recognizes normal singletons as keywords, but not these.) Also registered EditorInterface, SpatialEditor, CanvasItemEditor, and WebNodeEditor as globals.
- Added msvc versions of the no-rtti and no-exceptions options. (They are disabled temporarily)
- Use FALLTHROUGH macro instead on [[fallthrough]];
- Added a new World class and made Viewport inherit from it. Moved World2D and World3D related things to World from Viewport. Also added the ability for overriding Worlds. Still needs some work, it should be already usable. (Sometimes when changing world overrides, a few camera related errors are emitted.)
- Cleaned up old _PRESENT defines, now everything uses module configs.
##### TileSet
- Renamed RTileMap ro TileMap and RTileSet to TileSet, as it does not need to be able to live alongside Godot's TileMap anymore. Also added compatibility classes.
- Added back TileSet export.
##### GridMap
- Now MeshLibraryEditorPlugin registers itself to the export as menu.
##### GLTF
- Moved the gltf export to the convert scene menu.
##### ThreadPool
- Now ThreadPool should properly handle when use_threads changes.
- Moved ThreadPool to core. Also it can change it's thread count now when it has time for it.
- Now export templates are created in the .tpz format for easy installation. (Note that you can rename them to zip, and unpack them yourself if you need / want.)
- Replaced the default project editor icon, and the logo editor icon.
- Pass all arguments into the build commands in the podman build all file instead of the hardcoded -j4.
- Now versions will be handled differently, unlike in godot, I'll commit version information to the repository.
Backported everything up to and including https://github.com/godotengine/godot/commit/989d5990ad704fe97a341cb5883d4725479ea09b
##### Core
- Added a new templated WeakRef (WRef) class.
- Added hash_set from godot4.
- Added RBMap and RBSet from godot4.
- Backported helper classes to pair.h from Godot4.
- Ported the improvements to the hash funcs from Godot4.
- Backported the improvements to the Math class from Godot4.
- Added Vector4, Vector4i, and projection classes from Godot4.
- Backported almost all improvements to core math classes from Godot4. Also bound all eligible methods.
- Now Vector4, Vector4i, Projection, PoolVector4Array, PoolVector4iArray, are built in variant types. Also reordered the Variant's Type enum, renamed - _RID in it to RID, fixed a few smaller issues and removed some very old compat code.
- Backported the improvements to StringName from Godot4.
- Backported convert_rg_to_ra_rgba8 and convert_ra_rgba8_to_rg from Godot4's Image.
- Added more helper methods to DirAccessRef and FileAccessRef. Also smaller cleanups.
##### SceneTree
- Backported from Godot4: Node3D gizmo improvements, including subgizmos.
- Backported: returning AfterGUIInput from forward_spatial_gui_input from Godot4. Also removed the first index parameter.
- Renamed AFTER_GUI_INPUT_DESELECT to AFTER_GUI_INPUT_NO_DESELECT.
- Backported: add viewport.get_camera_2d()
##### Editor
- Now full screen editor plugins have the ability to hide their tab button in the top bar.
- Now the editor won't treat a hidden main button as an indicator that their editor plugin is disabled. This behavior was used to be a part of editor feature profiles, which I removed a long time ago.
##### Nodes
- Backported ImporterMesh and ImporterMeshInstance3D from Godot4.
- Backported ImmediateMesh from Godot4.
##### Skeletons
- Backported some of the improvements to BoneAttachment from Godot4.
- Backported most improvements to Skeleton from Godot4.
- Backported: "Remove animation 3D transform track, replace by loc/rot/scale tracks" from Godot4.
- Backported Godot4's skeleton editor.
- Backported from Godot 4: New and improved IK system for Skeleton3D.
- Backported from Godot 4: New and improved IK system for Skeleton2D.
- Ported from Godot4: Remove REST transform influence in skeleton bones. (This means that: Animations and Skeletons are now pose-only. Rest transform is kept as reference (when it exists) and for IK. Improves 3D model compatibility (non uniform transforms will properly work, as well as all animations coming from Autodesk products).)
##### Networking
- Removed rsets.
- Moved visibility rpcs (vrpc) from Entity to Node. Also added an unreliable variant.
- Added a few small networking related helper methods to Node. Made the rpc macros in Entity use them.
- Removed deprecated enum values from multiplayerPeer.
- Removed additional direct script rpc mode query when sending rpcs, in order to simplify that codepath as much as possible. Also removed the remote, remotesync etc. keywords from gdscript, as now they won't work anymore. Node's rpc_config() method should be used instead of marking methods with keywords in scripts.
- Moved the editor only modules to a new editor_modules folder.
- Removed stub module.
##### TextEditor
- Now text files will show up in the editor if the text editor plugin is enabled. Also clicking them will open them in the text editor.
- Now custom file creation entries can be added to the editor's FilesystemDock.
- Now the TextEditor addon will add it's own "create file" entry to the editor's filesystem dock.
- Now the TextEditor won't open a file multiple times, instead it will just switch to the proper tab.
##### Web
- Added web node editor plugin.
- Added icons for web nodes.
- Also created full documentation for most of the classes in the web module, and added descriptions and brief descriptions everything, except a few small helper utilities.
##### Users
Added icons for User, and user web pages.
Added icons for the UserManagers.
Added an icon for UserModule.
##### MeshDataResource
- Added an icon for MeshDataResource, MeshDataInstance, and for the meshDataInstance editor toggle.
- Now in order to edit MeshDataInstance a new edit mode has to be togged from the top bar. While this mode is enabled the edited MeshDataInstace can't be deselected. Also now Mesh Data Editor's sidebar will only be visible in this mode, along with the editor gizmo.
- The transform gizmo is hidden now while editing a mesh data resource.
### Changed
- Renamed Quat to Quaternion for consistency with the other engine math classes.
- Removed CameraMatrix, and switched to Projection.
- Now all Variant math types are structs.
- Ported form godot4: Reformat structure string operators.
- Backported from Godot4: Cleaned up Hash Functions. Clean up and do fixes to hash functions and newly introduced murmur3 hashes.
- Restructured the core folder's directory.
- Added _theme_ infix to the theme helper methods in Control.
- Renamed the VisualServer to RenderingServer like in Godot4, as I think it's a lot better name for it. I did not yet rename the files.
### Fixed
- Actually check whether modules are enabled, not just for their existence in mesh_data_resource's SCsub.
- Check whether the gltf module is enabled or not before trying to use it.
- Main build script: Properly set module_ name _enabled in environment to false for modules that get disabled using can_build().
- Fix serializing variants into binary files.
- Use AnimationPlayer's root property instead of just getting it's parent when exprting a GLTFDocument.
- Use string length() instead of size() as it was intended in HTMLParser, and BBCodeParser.
- HTMLParser now properly parses doctype in a case insensitive way. Also improved an error message a bit.
### Removed
- Removed AnimationTreePlayer, as it was deprecated (and also practically unusable).
- Ported my web framework setup from rcpp_framework to a new web module, alongside with lots of improvements to make it fit the engine better. Also implemented a simple webserver that uses built in sockets.
- Ported my database setup from rcpp_framework to a new databases module, alongside with lots of improvements to make it fit the engine better.
- ported my user management setup from rcpp_framework to a new user module, alongside with lots of improvements to make it fit the engine better.
- Created a new cscript module, it's currently only a simplified gdscript implementation.
- Simplified, refactored and ported https://github.com/fenix-hub/godot-engine.file-editor to an engine module. (The refactered gdscript codebase is here: https://github.com/Relintai/godot-engine.file-editor )
- Created a new plugin_refresher module. It can be used to quickly enable / disable addons. You can enable it in the ProjectSettings->Plugins tab. Right click the refresher icon to select the plugin that you want to refresh, left click the same icon to actyally refresh it.
##### props
- TiledWalls got a new collider_z_offset property, which allows you to offset the generated collider shape.
- TiledWalls also got a new texture_scaling property.
### Other
- Added a new property hint (PROPERTY_HINT_BUTTON) that can be used with NIL properties to add buttons to the inspector.
- Lots of TODOs.
#### Ports
- Ported all commits that I thought would be useful since the last set of backports from upstream godot 3.x.
### Changed
- Disabled nullptr modernization in clang tidy.
- updated the build container scripts.
### Fixed
- Lights.
- Codestyle in a few files.
#### Modules
##### entity_spell_system
- Fixed the property validation for aura triggers and aura stat attributes in Spell.
- Added contains(), find(), and clear() to PoolVector. Also added bindings for them.
- Added a bound core logger class.
#### Modules
- Ported the mesh data editor addon to c++, and now it's a part of the mesh_data_resource module.
- Ported my fork of Godoxel to c++, and now it's part of the engine. (paint module)
- Added a new wfc (WaweFormCollapse) module. I used https://github.com/math-fehr/fast-wfc 's code as a base for it. Samples repository: https://github.com/Relintai/wfc_module_samples
- Ported mat_maker_gd to c++, and now it's part of the engine. (material_maker module)
#### Module - Props
- Added Z-offset support for TiledWalls. It can be used to offset wall tiles to create 3d wall features. It's missing collider support at the moment.
#### Other
- Added TODO.md.
- Added some of my game project helper scripts, and made them work from their new place.
- [[Entity Spell System]](https://github.com/Relintai/entity_spell_system) - An entity and spell system c++ godot engine module, for complex (optionally multiplayer) RPGs.
- [[Terraman]](https://github.com/Relintai/terraman) - Terrain and building engine for godot based on voxelman.
- [[Voxelman]](https://github.com/Relintai/voxelman) - A c++ voxel engine module for godot.
- [[Props]](https://github.com/Relintai/props) - A godot engine module to help with creating/optimizing in-game props.
- [[Terraman2D]](https://github.com/Relintai/terraman_2d) - 2D Terrain and building engine for godot based on terraman.
- [[Props2D]](https://github.com/Relintai/props_2d) - A godot engine module to help with creating/optimizing in-game 2D props.
- [[Thread Pool]](https://github.com/Relintai/thread_pool) - A c++ Godot engine module which makes it easy to run methods in threads.
- [[Texture Packer]](https://github.com/Relintai/texture_packer) - A c++ Godot engine module, to layer, pack, and merge textures at runtime.
- [[Mesh Data Resource]](https://github.com/Relintai/mesh_data_resource) - A Godot c++ engine module. It adds a data-only mesh type with an importer.
- [[Mesh Utils]](https://github.com/Relintai/mesh_utils) - A c++ Godot engine module containing utilities for working with mehses (Like simplification).
- [[Godot Fastnoise]](https://github.com/Relintai/godot_fastnoise) - Zylann's godot_fastnoise, but with compile fixes for 4.0, and a Resource class.
- [[UI Extensions]](https://github.com/Relintai/ui_extensions) - Small extensions engine module for GODOT.
- [[Skeleton Editor]](https://github.com/Relintai/skeleton_editor) - Godot engine module version of TokageItLab's skeleton editor pr, that got deprecated, but [[my godot fork]](https://github.com/Relintai/godot/tree/3.x) has it fully implemented.
- [[rtile_map]](https://github.com/Relintai/rtile_map) - Godot's tilemap, with a few additional features.