summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-04-29Merge pull request #38279 from BigRed-118/assert_mark_as_safe_regression_bugRémi Verschelde
Fix for marking assert lines as safe bug
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-29[Mono] Rename LinearInterpolate to LerpAaron Franke
2020-04-29Merge pull request #36960 from pycbouh/docs-improve-shortcutsRémi Verschelde
Improve shortcut formatting in docs
2020-04-28Merge pull request #37314 from nekomatata/bullet-fix-dampingRémi Verschelde
Better damping implementation for Bullet rigid bodies
2020-04-28Rename InputFilter back to InputRémi Verschelde
It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
2020-04-28Merge pull request #37163 from madmiraal/fix-csg-normalRémi Verschelde
Fix CSG vertex normal calculation.
2020-04-27Fix for marking assert lines as safe bugTom Evans
Calling _reduce_node_type from GDScriptParser::_parse_block for assert was using a current class with a scope that didn't include all functions. Now calling in GDScriptParser::_check_block_types uses the right class type. We also now check the assert node message. The assert line was added to the set_errors associated with assert, since before the error would be reported on the next line
2020-04-27Merge pull request #38121 from JFonS/add_unwrap_cachingRémi Verschelde
Add caching the lightmap unwrapping on import
2020-04-27Better damping implementation for Bullet rigid bodiesPouleyKetchoupp
Apply old method for linear & angular damping in Bullet, in order to make it easier to tweak and consistent with Godot Physics.
2020-04-27Merge pull request #36927 from ThakeeNathees/export-var-type-reduce-implimentedRémi Verschelde
Fix: export var type reduce() implemented
2020-04-27Merge pull request #38253 from nekomatata/bullet-update-2.90Rémi Verschelde
Update to bullet master (2.90)
2020-04-27export var type reduce() implementedThakee Nathees
2020-04-27Update to bullet master (2.90)PouleyKetchoupp
2020-04-25Merge pull request #38150 from neikeq/fix-load-hook-for-reused-assemblyRémi Verschelde
Mono/C#: Fix load hook not called for some assemblies on domain reload
2020-04-24Merge pull request #37172 from theoway/autoCompletionBugRémi Verschelde
Fixed the auto-completion bug in gdscript_editor
2020-04-24Merge pull request #37265 from BigRed-118/mark_assert_safeRémi Verschelde
Mark assert lines as safe in gdscript
2020-04-24Merge pull request #37232 from ThakeeNathees/load()-autocomplete-imlpementedRémi Verschelde
autocomplete for load() function implemented
2020-04-23Mono/C#: Fix load hook not called for some assemblies on domain reloadIgnacio Etcheverry
2020-04-23C#: Fix always saving copy of csproj even with no changesIgnacio Etcheverry
This was a regression from 93d7ec88360a467a3041c0aa08390daa1f75892b (#38110). Mono's old implementation of Microsoft.Build hardcodes HasUnsavedChanges to always return true. This workaround can be reverted once we switch to official Microsoft.Build.
2020-04-23Merge pull request #38123 from neikeq/fix-hotreload-twiceRémi Verschelde
Mono/C#: Fix assemblies being reloaded a second time unnecesarily
2020-04-23C#: Revert marshalling of IDictionary/IEnumerable implementing typesIgnacio Etcheverry
Added marshalling for `System.Collections.Generic.List<T>` and `System.Collections.Generic.Dictionary<TKey, TValue>`.
2020-04-23Mono/C#: Fix assemblies being reloaded a second time unnecesarilyIgnacio Etcheverry
2020-04-22Merge pull request #38117 from neikeq/export-mono-array-godot-objectIgnacio Roldán Etcheverry
Mono/C#: Allow exporting System.Array of type Godot.Object
2020-04-22Merge pull request #38110 from neikeq/csproj-safer-migrationIgnacio Roldán Etcheverry
C#: Save copy of sln and csproj before applying fixes
2020-04-22Merge pull request #38115 from neikeq/mono-debug-exported-gamesIgnacio Roldán Etcheverry
Mono/C#: Allow debugging exported games
2020-04-22Mono/C#: Allow exporting System.Array of type Godot.ObjectIgnacio Etcheverry
2020-04-22C#: Save copy of sln and csproj before applying fixesIgnacio Etcheverry
2020-04-22Mono/C#: Allow debugging exported gamesIgnacio Etcheverry
- Include PDB files in exported games. - Release export templates also allow debugging now. Right now the only way to enable debugging in exported games is with the environment variables, which may be cumbersome or not even possible on some platforms.
2020-04-22Merge pull request #37318 from ttencate/fix/argument_nulled_37312Rémi Verschelde
Revert "Allow parameters passed to GDScript functions to be nulled"
2020-04-22Add caching the lightmap unwrapping on importJFonS
This commit adds caching to the lightmap mesh unwraps generated on import. This speeds up re-imports of meshes that haven't changed and also makes sure that the unwraps are consistent across imports. The unwrapping process is not deterministic, so one could end up with a different mapping every time the scene was imported, breaking any previously baked lightmaps. The changes in this commit prevent that from happening.
2020-04-21Merge pull request #37537 from ThakeeNathees/const-parsing-datatype-bug-fixRémi Verschelde
GDScript: Fix type inference for const reference to global class
2020-04-21Merge pull request #37712 from stoofin/pattern-bind-warningRémi Verschelde
Fix unassigned variable warnings for match bindings
2020-04-21Merge pull request #38041 from ThakeeNathees/class-name-check-enhanceRémi Verschelde
GDScript class name existance check enhanced
2020-04-21Merge pull request #37955 from ThakeeNathees/lin-unsafe-base-know-index-unkonwnRémi Verschelde
Line marked unsafe when base known and index unkonwn
2020-04-21Merge pull request #37954 from ThakeeNathees/autocomplete-indexing-native-typesRémi Verschelde
Autocompleting with indexing for builtin types added
2020-04-21Add ability to bind typed arrays to script APIJuan Linietsky
Note: Only replaced 2 instances to test, Node.get_children and TileMap.get_used_cells Note: Will do a mass replace on later PRs of whathever I can find, but probably need a tool to grep through doc. Warning: Mono will break, needs to be fixed (and so do TypeScript and NativeScript, need to ask respective maintainers)
2020-04-20Exposed RenderingDevice to script APIJuan Linietsky
Also added an easier way to load native GLSL shaders. Extras: Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload. Note: The precommit hooks are broken because they don't seem to support enums from one class being used in another. Feel free to fix this after merging this PR.
2020-04-20Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editorRémi Verschelde
Subgroups were added in #37678 but not properly handled everywhere where PROPERTY_USAGE_GROUP is.
2020-04-20DocData: Skip unexposed classesRémi Verschelde
Properly expose classes that we actually want accessible.
2020-04-20GDScript class name existance check enhancedThakee Nathees
2020-04-18Mono: Fix include for Android supportRémi Verschelde
This was a typo in #37153. Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-04-17line unsafe for indexing with known base type & unkown identifierThakee Nathees
2020-04-17autocompleting with indexing for native types addedThakee Nathees
Fix: #37768
2020-04-16Fixed the bool _static logic Umang Kalra
2020-04-14Change MATH_POSMOD return type back to INTNico Mitchell
2020-04-14Merge pull request #37861 from reduz/implement-decalsRémi Verschelde
Implement decals
2020-04-14Implement decalsJuan Linietsky
Also implemented decal atlas, so projectors and other stuff can be added. Sidenote: Had to make RID hashable, so some unrelated includes changed in order to include it in hashfuncs.h
2020-04-14Merge pull request #37826 from nekomatata/direct-body-state-sleepRémi Verschelde
Fix set_sleep_state in Bullet body direct state
2020-04-14Fix set_sleep_state in Bullet body direct statePouleyKetchoupp
It was inverted, it should set the body to be active when sleep is disabled.