summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2022-10-16Add a `Plane(Vector3, Vector3)` constructor for C#Yuri Rubinsky
2022-10-15Merge pull request #63332 from KoBeWi/static_images_aka_photosRémi Verschelde
Make some Image methods static
2022-10-15Merge pull request #65281 from MisterMX/zip-moduleRémi Verschelde
Expose minizip API to allow creating zips using scripts
2022-10-14Expose minizip API to allow creating zips using scriptsMarcelo Fernandez
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com> Co-authored-by: James Westman <flyingpimonster@gmail.commail> Co-authored-by: MisterMX <mbxd12@web.de> Signed-off-by: MisterMX <mbxd12@web.de>
2022-10-14Add STATIC_CALLED_ON_INSTANCE warning to highlightclayjohn
when static functions are called directly from objects
2022-10-14Make some Image methods statickobewi
2022-10-14Merge pull request #67361 from clayjohn/GDScript-unused-return-warningRémi Verschelde
Implement RETURN_VALUE_DISCARDED warning in GDscript
2022-10-13Implement RETURN_VALUE_DISCARDED warning in GDscriptclayjohn
2022-10-13Merge pull request #66294 from reduz/optimize-convex-collisionRémi Verschelde
2022-10-13Optimize Convex CollisionJuan Linietsky
Implements the Gauss Mapping optimization to SAT convex collision test. * Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf) by Dirk Gregorius. * Requires adding of face information to edges in MeshData * Took the chance to convert MeshData to LocalVector for performance.
2022-10-13Merge pull request #67351 from akien-mga/thorvg-0.8.2-cleanup-includesRémi Verschelde
thorvg: Sync with 0.8.2, cleanup SCsub and fix includes
2022-10-13[WebSocket] Fix potential double free after multiplayer clear.Fabio Alessandrelli
2022-10-13[WebSocket] Fix debugger implementation.Fabio Alessandrelli
Register module during core initialization so the remote debugger can properly handle the "wss://" protocol.
2022-10-13thorvg: Sync with 0.8.2, cleanup SCsub and fix includesRémi Verschelde
We were compiling `src/loaders/external_png` but using the header from `src/loaders/png`, leading to `-Wodr` warnings. Remove unused bundled lodepng code since we use `external_png` (libpng). Whitespace changes are from upstream, will attempt PR'ing a cleanup there for future updates.
2022-10-13[WebSocket] Fix Web write mode.Fabio Alessandrelli
2022-10-13[WebSocket] Fix TCP connection being closed while connecting.Fabio Alessandrelli
Fix a bug causing the WebSocketPeer to fail connecting to a remote server when the TCP 3-way handshake took more than a few milliseconds.
2022-10-13Merge pull request #67216 from dotlogix/Bugfix/FixErrorWhenSerializingSignalsRémi Verschelde
Fix crash when serializing empty delegates in C#
2022-10-13Adding null check to prevent null reference exception when serializing ↵Alexander Schill
delegates in C#
2022-10-12Merge pull request #66952 from bruvzg/macos_net_exportRémi Verschelde
Fix macOS .NET export.
2022-10-11GDScript: fix highlighting '.' after global class nameRune
2022-10-11[WebSocket] Refactor websocket module.Fabio Alessandrelli
This commit is a huge refactor of the websocket module. The module is really old, and some design choices had to be re-evaluated. The WebSocketClient and WebSocketServer classes are now gone, and WebSocketPeer can act as either client or server. The WebSocketMultiplayerPeer class is no longer abstract, and implements the Multiplayer API on top of the lower level WebSocketPeer. WebSocketPeer is now a "raw" peer, like StreamPeerTCP and StreamPeerTLS, so it emits no signal, and just needs polling to update its internal state. To use it as a client, simply call WebSocketPeer.coonect_to_url, then frequently poll the peer until STATE_OPEN is reached and then you can write or read from it, or STATE_CLOSED and then you can check the disconnect code and reason). To implement a server instead, a TCPServer must be created, and the accepted connections needs to be provided to WebSocketPeer.accept_stream (which will perform the HTTP handshake). A full example of a WebSocketServer using TLS will be provided in the demo repository.
2022-10-11Use `JSON::stringify` where possibleMicky
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10Cleanup a bunch of debug messages in OpenXR and change the ones we want to ↵Bastiaan Olij
keep to print_verbose
2022-10-08C#: Generate symbols packagesRaul Santos
2022-10-07Fix more MSVC C4702 (unreachable code) warningsRémi Verschelde
2022-10-07[.NET Export] Improve .NET export process.bruvzg
[macOS export] Fix incorrect file placement, search paths and architecture detection. [macOS export] Automatically detect executable files and set +x flag. [macOS export] Automatically apply "Disable Library Validation" entitlements when required. [macOS export] Remove old Mono export code. Fix folder tree creation for shared objects export. Add arch suffix to the exported .NET "data" folder name. Remove old Mono code from .NET "data" folder lookup.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Fix outdated keywords autocompletionVolTer
2022-10-06Merge pull request #66957 from BastiaanOlij/fix_error_typo_openglRémi Verschelde
Fixing an incorrect error message in OpenXR
2022-10-06Fixing an incorrect error message in OpenXR reporting missing OpenGL supportBastiaan Olij
2022-10-05.NET: Generate SdkPackageVersions.props from version.pyRémi Verschelde
Ensures that the versions always match the Godot version, albeit following SemVer 2.0 so inserting a dot between "beta" and the build number. For "stable" status, we omit the suffix as this would be interpreted as a pre-release build too. So we have: | Godot version | Nupkg version | | -------------- | -------------- | | 4.0.0-beta | 4.0.0-beta | | 4.0.0-beta2 | 4.0.0-beta.2 | | 4.0.0-rc1 | 4.0.0-rc.1 | | 4.0.0-stable | 4.0.0 |
2022-10-05Merge pull request #66919 from bruvzg/ts_gde_fixRémi Verschelde
[TextServer GDExtension] Update build scripts and `.gdextension` files to use new target names and arch suffixes.
2022-10-05Merge pull request #66720 from qarmin/unintialized_memoryRémi Verschelde
Remove usage of unitialized variables
2022-10-05[TextServer GDExtension] Update build scripts and `.gdextension` files to ↵bruvzg
use new target names and arch suffixes.
2022-10-05Merge pull request #66839 from aaronfranke/editor-prop-hide-sliderRémi Verschelde
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05Merge pull request #66873 from akien-mga/script-tweak-error-invalid-script-typeRémi Verschelde
GDScript/C#: Tweak error message for invalid script type for object
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-05Merge pull request #66885 from atirut-w/lsp-doc-fixRémi Verschelde
LSP: Fix GDScript doc comments
2022-10-05Merge pull request #65227 from BastiaanOlij/complete_render_target_apiRémi Verschelde
Implementing override functionality for XR
2022-10-05Merge pull request #64577 from Calinou/improve-dictionary-printingRémi Verschelde
Improve dictionary printing to avoid confusion with arrays
2022-10-05Merge pull request #66841 from jtnicholl/blend_enum_checksRémi Verschelde
Clean up .blend importer to fix unreachable code paths
2022-10-05LSP: Fix GDScript doc commentsAtirut Wattanamongkol
2022-10-05Adding getters to RenderTarget and implementing override functionality for XRBastiaan Olij
2022-10-04Improve dictionary printing to avoid confusion with arraysHugo Locurcio
- Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries.
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-10-04Rename remaining "Spatial" in Plugins to "Node3D"Micky
For EditorNode3DGizmo: - `get_spatial_node` -> `get_node_3d` - `set_spatial_node` -> `set_node_3d` For EditorPlugin: - `add_spatial_gizmo_plugin` -> `add_node_3d_gizmo_plugin` - `remove_spatial_gizmo_plugin` -> `remove_node_3d_gizmo_plugin` Also renames some internal methods for consistency (`forward_3d_draw_over_viewport` & `forward_3d_force_draw_over_viewport` ...). Basically, Spatial has been completely eradicated.
2022-10-04GDScript/C#: Tweak error message for invalid script type for objectRémi Verschelde
See #66870.
2022-10-04Merge pull request #66867 from Rindbee/implement-willSaveWaitUntilRémi Verschelde
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving
2022-10-04Merge pull request #66804 from akien-mga/core-remove-NO_SAFE_CASTRémi Verschelde
Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android build