Rémi Verschelde
a40a08827c
Merge pull request #46568 from akien-mga/basisu_20210130
...
basis_universal: Update to upstream commit from Apr 16, 2021
2021-05-13 14:55:49 +02:00
Rémi Verschelde
ed11756d26
GDNative: Fix size mismatch on 32-bit platforms for Signal and Callable
...
Fixes #48645 .
2021-05-11 20:25:01 +02:00
JFonS
1cab622e94
Add checks for __SSE2__ in the lightmap raycaster
...
(cherry picked from commit 20717990fd
)
2021-05-11 14:09:44 +02:00
Rémi Verschelde
31a9afb135
SCons: Disable embree-based modules on x86 (32-bit)
...
Fixes #48482 .
(cherry picked from commit e53422c8f9
)
2021-05-11 14:09:44 +02:00
Morris Tabor
89a8bbda0a
fix misaligned loads in bmp loader
2021-05-08 17:07:44 +02:00
Rémi Verschelde
2d133177e9
basis_universal: Update to upstream commit from Apr 16, 2021
...
BinomialLLC/basis_universal@ba1c3e40f1 .
2021-05-07 17:26:11 +02:00
Rémi Verschelde
bcbd480c32
Merge pull request #45144 from dalexeev/color-consts
...
Rename color constants (alternative)
2021-05-07 12:22:49 +02:00
Rémi Verschelde
8962d36bb1
Merge pull request #33577 from Calinou/highlight-control-flow-keywords
...
Highlight control flow keywords with a different color
2021-05-07 00:52:50 +02:00
Rémi Verschelde
ae2359fc1f
Merge pull request #47776 from Razoric480/foreport
...
Implement LSP didDeleteFiles & make parser aware of sub-nodes
2021-05-06 20:46:18 +02:00
Rémi Verschelde
ee4ef9709d
Merge pull request #46714 from HaSa1002/fix-gdscript-underscore-strict
...
Fix GDScript Tokenizer being very strict about the number of underscores
2021-05-06 20:19:45 +02:00
Rémi Verschelde
6e621441ca
Merge pull request #45607 from Calinou/improve-editor-theme
...
Improve the editor theme
2021-05-06 16:45:07 +02:00
Hugo Locurcio
3f078c99f6
Rename IP_Unix
, IP_Address
and TCP_Server
to remove underscores
2021-05-06 02:52:01 +02:00
Hugo Locurcio
e905e8f145
Highlight control flow keywords with a different color
...
This makes them easier to distinguish from other keywords.
2021-05-05 22:38:12 +02:00
Rémi Verschelde
11931d06ae
Merge pull request #48476 from AndreaCatania/AndreaCatania-patch-4
...
Add env.Depends to modules_enabled.gen.h generator
2021-05-05 13:19:45 +02:00
Andrea Catania
b667e72adf
Add env.Depends to modules_enabled.gen.h generator
...
Sometimes scons doesn't detects that a new module is being added. This commit fix it.
2021-05-05 11:44:29 +02:00
Rémi Verschelde
dfbabcdaeb
Merge pull request #48453 from JFonS/improve_raycast_module_scsub
...
Port changes to the "raycast" module build files from 3.x
2021-05-04 17:55:25 +02:00
jfons
575543ce53
Port changes to the "raycast" module build files from 3.x
2021-05-04 17:21:41 +02:00
Rémi Verschelde
e196733e88
Re-bind posmod, use int64_t instead of int
...
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-04 13:25:08 +02:00
Aaron Franke
0de9a7d803
Rename doubleclick
to double_click
2021-05-04 04:38:08 -04:00
Rémi Verschelde
302b6ef576
Merge pull request #47798 from ray90514/bug#47620
...
Fix constants at function scope are not defined as constants for completion
2021-05-04 08:20:03 +02:00
jfons
6995b0429c
Assorted fixes to UV unwrapping and GPU lightmapper
...
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-03 18:10:34 +02:00
Rémi Verschelde
4e06731346
Merge pull request #47958 from Xrayez/gdscript-rename-test-scripts
...
Rename GDScript test script filenames to use `snake_case`
2021-05-03 15:44:46 +02:00
Fabio Alessandrelli
015fc2ad4f
Merge pull request #48205 from Faless/net/4.x_url_parsing
...
[Net] Implement String::parse_url for parsing URLs.
2021-05-03 13:55:57 +02:00
Rémi Verschelde
8abd50359b
Merge pull request #48363 from aaronfranke/tan
...
Fix some tangent Color typos in GLTF
2021-05-02 10:08:22 +02:00
rafallus
abf6872c38
Change Path to Path3D in CSGPolygon3D
2021-05-01 22:43:36 -05:00
Aaron Franke
b06cbd9f51
Fix some tangent Color typos in GLTF
2021-05-01 18:49:23 -04:00
Rémi Verschelde
0ad03ba052
Merge pull request #48333 from MaxStgs/master
...
Add WebSocketMultiplayerPeer _incoming_packets check bound
2021-04-30 20:12:35 +02:00
MaxStgs
05ad08941b
Add WebSocketMultiplayerPeer _incoming_packets check bound
2021-04-30 21:00:52 +05:00
Rafał Mikrut
efcb097674
Prevent setting too big or too small Collision Mask and Layer
2021-04-30 17:19:04 +02:00
Rémi Verschelde
cab5064f20
doc: Sync classref with current source
...
And typo fix from https://github.com/godotengine/godot-docs/pull/4882 .
2021-04-29 12:11:40 +02:00
Rémi Verschelde
5b16020846
Replace remaining uses of NULL
with nullptr
...
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-29 11:53:27 +02:00
Rémi Verschelde
690c00d522
Merge pull request #48235 from Faless/feature/network-local-port-enet-salvaged
...
[Net] Implement NetworkedMultiplayerENet.get_local_port
2021-04-28 19:04:09 +02:00
Fabio Alessandrelli
cd22a2be2f
Implement NetworkedMultiplayerENet.get_local_port
...
Allows retrieving the local port to which the peer is bound.
2021-04-28 16:53:13 +02:00
Rémi Verschelde
f505a26798
Merge pull request #47454 from vnen/gdscript-lambda
2021-04-28 16:44:59 +02:00
George Marques
9ed0f0384c
GDScript: Fix crash when base of an attribute is invalid
...
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-28 11:09:40 -03:00
George Marques
c201b212c7
GDScript: Implement lambdas compilation and runtime
2021-04-28 11:09:38 -03:00
George Marques
3155368093
GDScript: Add lambdas to the type analyzer
...
- Lambdas are always callables (no specific signature match).
- Captures from the current context are evaluated.
2021-04-28 10:56:16 -03:00
George Marques
c6e66a43b0
GDScript: Add lambda syntax parsing
...
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-28 10:56:16 -03:00
David Snopek
b77925d246
Fixes #48178 : WebXR broken when built with Emscripten 2.0.13 or later
2021-04-28 08:27:51 -05:00
Rémi Verschelde
35a8693e6a
Raycast: Fix use of removed copymem after #48239
2021-04-28 11:09:20 +02:00
Rémi Verschelde
305b2a15bf
Merge pull request #48239 from akien-mga/goodbye-copymem
...
Core: Drop custom `copymem`/`zeromem` defines
2021-04-28 11:04:05 +02:00
Rémi Verschelde
1c2766e240
Merge pull request #48245 from madmiraal/fix-24111
...
Update CSGMesh3D's documentation to explain how vertex normals are used
2021-04-27 23:04:59 +02:00
Hugo Locurcio
60b70c77e0
Improve the editor theme
...
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-27 22:38:26 +02:00
Marcel Admiraal
c2f6a73e4e
Update CSGMesh3D's documentation to explain how vertex normals are used
2021-04-27 18:32:25 +01:00
Rémi Verschelde
95cfce661b
Merge pull request #48050 from JFonS/occlusion_culling
2021-04-27 19:07:12 +02:00
Rémi Verschelde
8247667a3e
Core: Drop custom copymem
/zeromem
defines
...
We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f6639
.
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-27 16:26:27 +02:00
Johannes Witt
bab36f1273
Fix CSG Path Polygon cache being removed after connect
...
fixes #30229
2021-04-27 13:58:01 +02:00
Rémi Verschelde
83cc6bcf55
Merge pull request #48187 from brakhane/remove-dupe-comments
...
Remove duplicate comments
2021-04-27 09:42:09 +02:00
Rémi Verschelde
639b02f454
Merge pull request #48185 from Calinou/codestyle-no-auto
...
Remove uses of `auto` for better readability and online code reviews
2021-04-26 22:32:50 +02:00
Hugo Locurcio
5d124c4a8f
Remove uses of auto
for better readability and online code reviews
...
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-26 14:59:28 +02:00