summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-30Merge pull request #48319 from Faless/js/4.x_modern_emccFabio Alessandrelli
[HTML5] Fix builds with recent emscripten versions
2021-04-30[HTML5] Fix builds with recent emscripten versionsFabio Alessandrelli
Library suffix should be `.a`, the `EXTRA_` in `EXTRA_EXPORTED_RUNTIME_METHODS` is deprecated.
2021-04-29Sync RasterizerDummy.Fabio Alessandrelli
2021-04-29Merge pull request #48272 from Calinou/doc-standardmaterial3d-rim-unshadedRémi Verschelde
Document that clearcoat/rim lighting is not visible on unshaded materials
2021-04-29doc: Sync classref with current sourceRémi Verschelde
And typo fix from https://github.com/godotengine/godot-docs/pull/4882.
2021-04-29Merge pull request #48292 from akien-mga/stay-modernRémi Verschelde
Replace remaining uses of `NULL` with `nullptr`
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-29Merge pull request #48277 from thebestnom/fix/generateDevTemplateRémi Verschelde
[Android] fix generateDevTemplate
2021-04-29Merge pull request #48269 from akien-mga/remove-largetextureRémi Verschelde
Remove obsolete LargeTexture, it's no longer useful since 3.x
2021-04-28[Android] fix generateDevTemplatethebestnom
2021-04-28Merge pull request #48235 from Faless/feature/network-local-port-enet-salvagedRémi Verschelde
[Net] Implement NetworkedMultiplayerENet.get_local_port
2021-04-28Document that clearcoat/rim lighting is not visible on unshaded materialsHugo Locurcio
2021-04-28Merge pull request #46688 from QbieShay/fix-particle-rotate-y-4Rémi Verschelde
Fixed rotate_y property of particle shaders
2021-04-28Implement NetworkedMultiplayerENet.get_local_portFabio Alessandrelli
Allows retrieving the local port to which the peer is bound.
2021-04-28Merge pull request #46476 from DarknessCatt/masterRémi Verschelde
Add fill method to Arrays and PackedArrays
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-28Merge pull request #48268 from dsnopek/issue-48178Fabio Alessandrelli
Fixes #48178: WebXR broken when built with Emscripten 2.0.13 or later
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-28Remove obsolete LargeTexture, it's no longer useful since 3.xRémi Verschelde
It existed in early Godot releases to allow working around hardware limitations on max texture sizes (e.g. hardware limits of 1024x1024 pixels). Nowadays the max texture size supported natively by Godot is 16384x16384, and even low end mobile hardware should support at least 4096x4096. The LargeTexture implementation is basically just an array with offsets, sizes and textures and should be easy to replicate with a custom Texture resource if needed - solving most of its bugs on the way as the implementation removed here has various unimplemented or incomplete methods.
2021-04-28Fixes #48178: WebXR broken when built with Emscripten 2.0.13 or laterDavid Snopek
2021-04-28Merge pull request #37064 from GNSS-Stylist/Face3_area_calc_fix_cleanRémi Verschelde
Fix area calculation of Face3
2021-04-28Fix area calculation of Face3Pasi Nuutinmaki
There seemed to be a bug in area calculation in Face3::get_area()-function. It returned the area of "imaginary" parallelogram instead of the triangle. Therefore the area returned was twice the real area. This manifested itself when using a hydro module for godot ( https://gitlab.com/ringtechsolutions/godot-tools/hydro/hydro ) causing the buoyancy to be two times the expected value. "Reference": http://www.maths.usyd.edu.au/u/MOW/vectors/vectors-11/v-11-7.html
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-28Merge pull request #47595 from EricEzaM/PR/fix-lineedit-ctrl-backspaceRémi Verschelde
Fixed issues with LineEdit Delete Word & Backspace Word.
2021-04-28Merge pull request #42607 from Dragoncraft89/type_checksRémi Verschelde
Raise error if Resource is of wrong type as function argument
2021-04-28Fixed issues with LineEdit Delete Word & Backspace Word.EricEzaM
Backspace word was deleting all text before the cursor, and delete word was no updating until another action was performed on the LineEdit (in order to update it)
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-27Raise error if Resource is of wrong type as function argumentFlorian Kothmeier
2021-04-27Merge pull request #48241 from akien-mga/tabs-panel-style-unusedRémi Verschelde
Tabs: Remove unused 'panel' stylebox from default 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-27Merge pull request #48228 from akien-mga/android-build-tools-30.0.3Rémi Verschelde
Android: Upgrade buildTools from 30.0.1 to 30.0.3
2021-04-27Tabs: Remove unused 'panel' stylebox from default themeRémi Verschelde
Cf. https://github.com/godotengine/godot/issues/37875#issuecomment-625297308.
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-27Merge pull request #48231 from Chaosus/shader_fix_constant_func_initializationRémi Verschelde
Fixed shader handling of constant expressions in function call
2021-04-27Merge pull request #47398 from Faless/feature/network-local-port-salvagedRémi Verschelde
2021-04-27Merge pull request #48159 from Faless/js/4.x_pwa_exportRémi Verschelde
[HTML5] Export as Progressive Web App
2021-04-27[HTML5] Export as Progressive Web App.Fabio Alessandrelli
Adds possibility to export as a progressive web app. Allows customizing base icons, display mode, orientation and offline page.
2021-04-27Merge pull request #48232 from HaSa1002/i-dont-need-your-errorRémi Verschelde
2021-04-27Fix shader handle constant expressions in function callYuri Roubinsky
2021-04-27Fix CSG Path Polygon cache being removed after connectJohannes Witt
fixes #30229
2021-04-27Merge pull request #48203 from Faless/net/4.x_socket_poll_timeoutRémi Verschelde
[Net] Fix socket poll timeout on Windows.
2021-04-27Merge pull request #48210 from akien-mga/linux-static_cpp-32-bitRémi Verschelde
Linux: Remove use_static_cpp override on x86_32
2021-04-27Merge pull request #47960 from smix8/issue_47334_navagent2d_target_reachedRémi Verschelde
2021-04-27Merge pull request #48229 from smix8/issue_47334_navagent3d_target_reachedRémi Verschelde
Fix NavigationAgent3D not emitting "target_reached" Signal
2021-04-27Merge pull request #47974 from Faless/js/4.x_ssl_debug_newRémi Verschelde
[HTML5] HTTP server now supports optional SSL