summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-05-19Merge pull request #48657 from Calinou/test-add-gdscriptRémi Verschelde
Add a unit test suite for GDScript
2021-05-19Show colored rects for autocompletion of Color constants in functionsYuri Roubinsky
2021-05-18Merge pull request #46773 from trollodel/TreeItem+Rémi Verschelde
Improve TreeItem API and allow to move nodes
2021-05-17Merge pull request #48347 from Blackiris/fix-temporary-key-not-releasedGeorge Marques
GDScript: Fix temporary value not released when used as a dictionary key
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-05-17Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde
2021-05-17Merge pull request #48793 from vnen/gdscript-fix-temp-type-adjustRémi Verschelde
GDScript: Fix crash caused by uninitialized temp stack slots
2021-05-17GDScript: Fix crash caused by uninitialized temp stack slotsGeorge Marques
This adds initialization to every typed temporary stack slot at the beginning of the function call instead of emitting instructions, since those might be in a conditional branch and not be called.
2021-05-17Make all file access 64-bit (uint64_t)Pedro J. Estébanez
This changes the types of a big number of variables. General rules: - Using `uint64_t` in general. We also considered `int64_t` but eventually settled on keeping it unsigned, which is also closer to what one would expect with `size_t`/`off_t`. - We only keep `int64_t` for `seek_end` (takes a negative offset from the end) and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means we only need to guard against passing negative values in `core_bind.cpp`. - Using `uint32_t` integers for concepts not needing such a huge range, like pages, blocks, etc. In addition: - Improve usage of integer types in some related places; namely, `DirAccess`, core binds. Note: - On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for big files on 32-bit Windows builds made with that toolchain. We might add a workaround. Fixes #44363. Fixes godotengine/godot-proposals#400. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-05-16Merge pull request #48605 from sent44/scripteditor_get_codeeditRémi Verschelde
Add `get_base_editor` to `ScriptEditorBase`
2021-05-16Merge pull request #48767 from vnen/gdscript-builtin-static-methodsRémi Verschelde
GDScript: Add support for builtin static method calls
2021-05-16GDScript: Add support for builtin static method callsGeorge Marques
2021-05-15Add get_base_editor to ScriptEditorBasesent44
2021-05-13Merge pull request #46568 from akien-mga/basisu_20210130Rémi Verschelde
basis_universal: Update to upstream commit from Apr 16, 2021
2021-05-12Add a unit test suite for GDScriptHugo Locurcio
This tests run-time script loading.
2021-05-11GDNative: Fix size mismatch on 32-bit platforms for Signal and CallableRémi Verschelde
Fixes #48645.
2021-05-11Add checks for __SSE2__ in the lightmap raycasterJFonS
(cherry picked from commit 20717990fd2a7ad300fd9c6fab0394f25e3b7294)
2021-05-11SCons: Disable embree-based modules on x86 (32-bit)Rémi Verschelde
Fixes #48482. (cherry picked from commit e53422c8f96770c9a9b7497955c84f4b742fdd73)
2021-05-08fix misaligned loads in bmp loaderMorris Tabor
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
2021-05-07basis_universal: Update to upstream commit from Apr 16, 2021Rémi Verschelde
BinomialLLC/basis_universal@ba1c3e40f1d434ebaf9a167b44e9b11d2bf0f765.
2021-05-07Merge pull request #45144 from dalexeev/color-constsRémi Verschelde
Rename color constants (alternative)
2021-05-07Merge pull request #33577 from Calinou/highlight-control-flow-keywordsRémi Verschelde
Highlight control flow keywords with a different color
2021-05-06Fix temporary value not released when used as a dictionary keyJulien Nguyen
2021-05-06Merge pull request #47776 from Razoric480/foreportRémi Verschelde
Implement LSP didDeleteFiles & make parser aware of sub-nodes
2021-05-06Merge pull request #46714 from HaSa1002/fix-gdscript-underscore-strictRémi Verschelde
Fix GDScript Tokenizer being very strict about the number of underscores
2021-05-06Merge pull request #45607 from Calinou/improve-editor-themeRémi Verschelde
Improve the editor theme
2021-05-06Rename `IP_Unix`, `IP_Address` and `TCP_Server` to remove underscoresHugo Locurcio
2021-05-05Highlight control flow keywords with a different colorHugo Locurcio
This makes them easier to distinguish from other keywords.
2021-05-05Merge pull request #48476 from AndreaCatania/AndreaCatania-patch-4Rémi Verschelde
Add env.Depends to modules_enabled.gen.h generator
2021-05-05Add env.Depends to modules_enabled.gen.h generatorAndrea Catania
Sometimes scons doesn't detects that a new module is being added. This commit fix it.
2021-05-04Merge pull request #48453 from JFonS/improve_raycast_module_scsubRémi Verschelde
Port changes to the "raycast" module build files from 3.x
2021-05-04Port changes to the "raycast" module build files from 3.xjfons
2021-05-04Re-bind posmod, use int64_t instead of intRémi Verschelde
Fixes #48420, fixes #48421. The binding was missed when moving GDScript built-in to Global Scope it seems. Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-05-04Merge pull request #47798 from ray90514/bug#47620Rémi Verschelde
Fix constants at function scope are not defined as constants for completion
2021-05-03Assorted fixes to UV unwrapping and GPU lightmapperjfons
Various fixes to UV2 unwrapping and the GPU lightmapper. Listed here for context in case of git blame/bisect: * Fix UV2 unwrapping on import, also cleaned up the unwrap cache code. * Fix saving of RGBA images in EXR format. * Fixes to the GPU lightmapper: - Added padding between atlas elements, avoids bleeding. - Remove old SDF generation code. - Fix baked attenuation for Omni/Spot lights. - Fix baking of material properties onto UV2 (wireframe was wrongly used before). - Disable statically baked lights for objects that have a lightmap texture to avoid applying the same light twice. - Fix lightmap pairing in RendererSceneCull. - Fix UV2 array generated from `RenderingServer::mesh_surface_get_arrays()`. - Port autoexposure fix for OIDN from 3.x. - Save debug textures as EXR when using floating point format.
2021-05-03Merge pull request #47958 from Xrayez/gdscript-rename-test-scriptsRémi Verschelde
Rename GDScript test script filenames to use `snake_case`
2021-05-03Merge pull request #48205 from Faless/net/4.x_url_parsingFabio Alessandrelli
[Net] Implement String::parse_url for parsing URLs.
2021-05-02Merge pull request #48363 from aaronfranke/tanRémi Verschelde
Fix some tangent Color typos in GLTF
2021-05-01Change Path to Path3D in CSGPolygon3Drafallus
2021-05-01Fix some tangent Color typos in GLTFAaron Franke
2021-04-30Merge pull request #48333 from MaxStgs/masterRémi Verschelde
Add WebSocketMultiplayerPeer _incoming_packets check bound
2021-04-30Add WebSocketMultiplayerPeer _incoming_packets check boundMaxStgs
2021-04-30Prevent setting too big or too small Collision Mask and LayerRafał Mikrut
2021-04-29doc: Sync classref with current sourceRémi Verschelde
And typo fix from https://github.com/godotengine/godot-docs/pull/4882.
2021-04-29Replace remaining uses of `NULL` with `nullptr`Rémi Verschelde
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-28Merge pull request #48235 from Faless/feature/network-local-port-enet-salvagedRémi Verschelde
[Net] Implement NetworkedMultiplayerENet.get_local_port
2021-04-28Implement NetworkedMultiplayerENet.get_local_portFabio Alessandrelli
Allows retrieving the local port to which the peer is bound.
2021-04-28Merge pull request #47454 from vnen/gdscript-lambdaRémi Verschelde