summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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-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
2021-04-28GDScript: Fix crash when base of an attribute is invalidGeorge Marques
In attribute expressions (`a.b`) it's possible that the base has an incorrect syntax and thus become a nullptr expression in the tree. This commit add the check for this case to fail gracefully instead of crashing.
2021-04-28GDScript: Implement lambdas compilation and runtimeGeorge Marques
2021-04-28GDScript: Add lambdas to the type analyzerGeorge Marques
- Lambdas are always callables (no specific signature match). - Captures from the current context are evaluated.
2021-04-28GDScript: Add lambda syntax parsingGeorge Marques
Lambda syntax is the same as a the function syntax (using the same `func` keyword) except that the name is optional and it can be embedded anywhere an expression is expected. E.g.: func _ready(): var my_lambda = func(x): print(x) my_lambda.call("hello")
2021-04-28Fixes #48178: WebXR broken when built with Emscripten 2.0.13 or laterDavid Snopek
2021-04-28Raycast: Fix use of removed copymem after #48239Rémi Verschelde
2021-04-28Merge pull request #48239 from akien-mga/goodbye-copymemRémi Verschelde
Core: Drop custom `copymem`/`zeromem` defines
2021-04-27Merge pull request #48245 from madmiraal/fix-24111Rémi Verschelde
Update CSGMesh3D's documentation to explain how vertex normals are used
2021-04-27Improve the editor themeHugo Locurcio
The editor theme now makes use of rounded corners and less borders to follow modern visual trends. The default theme's colors were also tweaked to make the blue hue more subtle (similar to the Arc theme, which was removed as a consequence). The Alien theme was replaced by a Breeze Dark theme, which should blend in well with the KDE theme.
2021-04-27Update CSGMesh3D's documentation to explain how vertex normals are usedMarcel Admiraal
2021-04-27Merge pull request #48050 from JFonS/occlusion_cullingRémi Verschelde
2021-04-27Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde
We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27Fix CSG Path Polygon cache being removed after connectJohannes Witt
fixes #30229
2021-04-27Merge pull request #48187 from brakhane/remove-dupe-commentsRémi Verschelde
Remove duplicate comments
2021-04-26Merge pull request #48185 from Calinou/codestyle-no-autoRémi Verschelde
Remove uses of `auto` for better readability and online code reviews
2021-04-26Remove uses of `auto` for better readability and online code reviewsHugo Locurcio
The current code style guidelines forbid the use of `auto`. Some uses of `auto` are still present, such as in UWP code (which can't be currently tested) and macros (where removing `auto` isn't easy).
2021-04-26Merge pull request #48172 from madmiraal/fix-empty-csgshape-errorRémi Verschelde
Fix new `CSGMesh` errors
2021-04-26[Net] Implement String::parse_url for parsing URLs.Fabio Alessandrelli
Splits the URL into (scheme, host, port, path). Supports both literal IPv4 and IPv6. Strip credentials when present (e.g. http://user:pass@example.com/). Use that function in both HTTPRequest and WebSocketClient.
2021-04-25Remove duplicate commentsDennis Brakhane
A few single line comments were duplicated, probably due to bad merges. This commit removes the obviously duplicate ones.
2021-04-25Fix CSGMesh undo not refreshing gizmoMarcel Admiraal
2021-04-25Fix empty CSGShape errorMarcel Admiraal
2021-04-24Merge pull request #48139 from vnen/gdscript-dict-keysRémi Verschelde
Fix mismatch between String and StringName in dictionary keys