summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-07-21Merge pull request #48972 from ↵Rémi Verschelde
DavidCambre/Expose_VisualScriptCustomNode_TypeHints_m
2021-07-21Merge pull request #50686 from Calinou/use-standard-inf-nan-constantsRémi Verschelde
Use the standard C `INFINITY` and `NAN` constants directly
2021-07-21Merge pull request #49749 from ↵Rémi Verschelde
DavidCambre/VisualScriptFunction_Call_Set_Get_Improvement-2 VisualScriptFunctionNodes Improvements
2021-07-21Merge pull request #50521 from aaronfranke/iseqapproxRémi Verschelde
Use `is_equal_approx` in more places
2021-07-21expose type hints for VisualScriptCustomNodeDavid Cambré
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2021-07-21Use the standard C `INFINITY` and `NAN` constants directlyHugo Locurcio
The `Math_INF` and `Math_NAN` defines were just aliases for those constants, so we might as well use them directly. Some portions of the code were already using `INFINITY` directly.
2021-07-21Improve and streamline VisualScriptFuncNodes Call Set GetDavid Cambré
This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get Uniform design. Drag in set-get from tree is now working. Removes redundant method_select popup.
2021-07-21WebXR: Fix build after SNAME additionRémi Verschelde
Was missed as WebXR build was disabled prior to #50563.
2021-07-21Merge pull request #50563 from dsnopek/webxr-enable-ciRémi Verschelde
Re-enable building WebXR in GitHub Actions
2021-07-21Use is_equal_approx in more placesAaron Franke
2021-07-21Merge pull request #50658 from dsnopek/webrtc-get-buffered-amountFabio Alessandrelli
Add get_buffered_amount() to WebRTCDataChannel
2021-07-20Fix visual script iconsNick Huelin
This pull request fixes an issue where the visual script icons weren't representative of their data.
2021-07-20Add get_buffered_amount() to WebRTCDataChannelDavid Snopek
2021-07-20Merge pull request #49882 from Faless/mp/4.x_rpc_gdFabio Alessandrelli
[Net] New `@rpc` annotation, "sync" is no longer part of mode.
2021-07-20Merge pull request #50581 from DavidCambre/VisualScript-Drop-Custom-NodesRémi Verschelde
Allow dropping custom node scripts in VisualScript editor
2021-07-20[Net] Single `rpc` annotation. "sync" no longer part of mode.Fabio Alessandrelli
- Move the "sync" property for RPCs to RPCConfig. - Unify GDScript annotations into a single one: - `@rpc(master)` # default - `@rpc(puppet)` - `@rpc(any)` # former `@remote` - Implement three additional `@rpc` options: - The second parameter is the "sync" option (which also calls the function locally when RPCing). One of "sync", "nosync". - The third parameter is the transfer mode (reliable, unreliable, ordered). - The third parameter is the channel (unused for now).
2021-07-19Ensure KinematicBodies only interact with other Bodies with matching mask.Marcel Admiraal
2021-07-19Merge pull request #50566 from reduz/optimize-stringname-usageRémi Verschelde
Optimize StringName usage
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-18Prevents some warnings from appearing in visual scriptsYuri Roubinsky
2021-07-18VisualScript-Drop-Custom-NodesDavid Cambré
Allows to drop custom node scripts directly in VisualScript
2021-07-17Fix "IDHandler.get_prop is not a function" error when calling some methods ↵David Snopek
on WebRTCDataChannel
2021-07-17Re-enable building WebXR in GitHub ActionsDavid Snopek
2021-07-17Expose the resource name the client used to the websocket serverMeriipu
This information is exposed to the websocket server through the client_connected-signal. example.com/chat?id=10 gives the resource name "/chat?id=10"
2021-07-16Enable range coder compression by default in NetworkedMultiplayerENetHugo Locurcio
From empirical testing, this seems to provide the best compression compared to other compression algorithms when used in the Multiplayer Bomber demo. Other algorithms may provide better compression ratios for more complex games, but some compression is probably better than no compression. Zstandard was also not very efficient in my testing, so I added a note in the documentation.
2021-07-15Merge pull request #50480 from Faless/js/4.x_ciRémi Verschelde
2021-07-15[HTML5] Fix build (with module_webxr_enabled=no).Fabio Alessandrelli
The XR API changed a bit, and it's not just a rename, though probably an easy update for someone who is qualified :).
2021-07-15Mono: Remove info dialog discouraging use in productionRémi Verschelde
While there are still various bugs to solve and features to implement, the C# support as of Godot 3.4 is fairly mature and already used by a number of users in production. Now that we default to dotnet CLI as build tool, it also seems to be more reliable than MSBuild. The documentation can (and does for the most part) point out some caveats that users should be aware of, but this info dialog has outlived its intended purpose.
2021-07-15Misc cleanup of header includesRémi Verschelde
Was looking for misuse of module headers without checking that the module is actually enabled and got carried away...
2021-07-13Document remaining Visual Script classesTomasz Chabora
2021-07-13Merge pull request #47604 from christinoleo/masterRémi Verschelde
Separate underscore from grapheme punctuation to enable doubleclick and caret jump over snakecase variables in editor
2021-07-13Merge pull request #50381 from reduz/implement-disable-classesRémi Verschelde
Implement the ability to disable classes
2021-07-13Separate underscore from grapheme punctuation to enable doubleclick and ↵Leonardo Christino
caret jump over snakecase variables in editor
2021-07-13Implement the ability to disable classesreduz
* This PR adds the ability to disable classes when building. * For now it's only possible to do this via command like: `scons disable_classes=RayCast2D,Area3D` * Eventually, a proper UI will be implemented to create a build config file to do this at large scale, as well as detect what is used in the project.
2021-07-13Merge pull request #50086 from Geometror/label-improve-layout-optionsRémi Verschelde
Improvements to Label's layout options
2021-07-12Merge pull request #50262 from nekomatata/convex-hull-simplificationRémi Verschelde
Options to clean/simplify convex hull generated from mesh
2021-07-12[Net] Rename WebRTCMultiplayer to WebRTCMultiplayerPeer.Fabio Alessandrelli
2021-07-12[Net] Rename NetworkedMultiplayerENet to ENetMultiplayerPeer.Fabio Alessandrelli
2021-07-12[Net] Rename NetworkedMultiplayerPeer to MultiplayerPeer.Fabio Alessandrelli
2021-07-12[Net] Remove most multiplayer hooks from SceneTree.Fabio Alessandrelli
Use `multiplayer` or `get_multiplayer()` instead of `get_tree()`.
2021-07-10Fix creating a new function in visual scriptsYuri Roubinsky
2021-07-09Merge pull request #50290 from reduz/redo-instance-bindingsRémi Verschelde
Redo how instance bindings work
2021-07-08Redo how instance bindings workreduz
* The harcoded 8 slots are no more and impose limits in the new extension system. * New system is limitless, although it will impose small performance hit with a mutex. * Use a token to request the instance binding. **Warning**: Mono will most likely break as a result of this, will need to be modified to use the new system.
2021-07-08Implement didClose notification in LSPFrancois Belair
2021-07-07Options to clean/simplify convex hull generated from meshPouleyKetchoupp
Clean: remove duplicate and interior vertices (uses Bullet algorithm) Simplify: modify the geometry for further simplification (uses VHACD algorithm) In the editor, single convex hull now uses the clean option. Added a new editor entry to create a simplified convex hull, can be useful for creating convex hull from highly tessellated triangle meshes.
2021-07-06Merge pull request #50162 from Calinou/inspector-hint-allow-ormmaterial3dRémi Verschelde
Allow using ORMMaterial3D by using BaseMaterial3D as a resource hint
2021-07-06Merge pull request #49964 from Calinou/websocketserver-improve-error-reportingRémi Verschelde
Improve error reporting in WebSocketServer
2021-07-06Merge pull request #35847 from raniejade/ranie/fix-api-generatorRémi Verschelde
Fix gdnative api generation for methods that return enums
2021-07-05Improve error reporting in WebSocketServerHugo Locurcio
This should make troubleshooting easier.
2021-07-05Merge pull request #50048 from Calinou/remove-travis-codeRémi Verschelde
Remove unused code related to Travis CI