Rémi Verschelde
97f04e42f6
Merge pull request #37172 from theoway/autoCompletionBug
...
Fixed the auto-completion bug in gdscript_editor
2020-04-24 17:27:04 +02:00
Rémi Verschelde
39f77f95b8
Merge pull request #37265 from BigRed-118/mark_assert_safe
...
Mark assert lines as safe in gdscript
2020-04-24 17:24:45 +02:00
Rémi Verschelde
514fb5fa8a
Merge pull request #37232 from ThakeeNathees/load()-autocomplete-imlpemented
...
autocomplete for load() function implemented
2020-04-24 17:24:23 +02:00
Ignacio Etcheverry
81f13f6171
C#: Fix always saving copy of csproj even with no changes
...
This was a regression from 93d7ec8836
(#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-23 16:18:55 +02:00
Rémi Verschelde
8012be867c
Merge pull request #38123 from neikeq/fix-hotreload-twice
...
Mono/C#: Fix assemblies being reloaded a second time unnecesarily
2020-04-23 11:34:28 +02:00
Ignacio Etcheverry
20b9dbb1d5
C#: Revert marshalling of IDictionary/IEnumerable implementing types
...
Added marshalling for `System.Collections.Generic.List<T>` and
`System.Collections.Generic.Dictionary<TKey, TValue>`.
2020-04-23 02:26:43 +02:00
Ignacio Etcheverry
c9882e61e2
Mono/C#: Fix assemblies being reloaded a second time unnecesarily
2020-04-23 02:23:25 +02:00
Ignacio Roldán Etcheverry
28f0b15c9d
Merge pull request #38117 from neikeq/export-mono-array-godot-object
...
Mono/C#: Allow exporting System.Array of type Godot.Object
2020-04-22 17:41:34 +02:00
Ignacio Roldán Etcheverry
3ad9652a5d
Merge pull request #38110 from neikeq/csproj-safer-migration
...
C#: Save copy of sln and csproj before applying fixes
2020-04-22 17:27:07 +02:00
Ignacio Roldán Etcheverry
90330a04cc
Merge pull request #38115 from neikeq/mono-debug-exported-games
...
Mono/C#: Allow debugging exported games
2020-04-22 17:26:33 +02:00
Ignacio Etcheverry
0fec3cb5ed
Mono/C#: Allow exporting System.Array of type Godot.Object
2020-04-22 17:19:45 +02:00
Ignacio Etcheverry
93d7ec8836
C#: Save copy of sln and csproj before applying fixes
2020-04-22 16:50:43 +02:00
Ignacio Etcheverry
71fc87e101
Mono/C#: Allow debugging exported games
...
- 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-22 16:44:03 +02:00
Rémi Verschelde
6aac75afc2
Merge pull request #37318 from ttencate/fix/argument_nulled_37312
...
Revert "Allow parameters passed to GDScript functions to be nulled"
2020-04-22 16:09:28 +02:00
Rémi Verschelde
f914276951
Merge pull request #37537 from ThakeeNathees/const-parsing-datatype-bug-fix
...
GDScript: Fix type inference for const reference to global class
2020-04-21 23:04:46 +02:00
Rémi Verschelde
9716204555
Merge pull request #37712 from stoofin/pattern-bind-warning
...
Fix unassigned variable warnings for match bindings
2020-04-21 23:04:16 +02:00
Rémi Verschelde
4f03e302a7
Merge pull request #38041 from ThakeeNathees/class-name-check-enhance
...
GDScript class name existance check enhanced
2020-04-21 16:19:53 +02:00
Rémi Verschelde
a5a9bf6a19
Merge pull request #37955 from ThakeeNathees/lin-unsafe-base-know-index-unkonwn
...
Line marked unsafe when base known and index unkonwn
2020-04-21 16:19:34 +02:00
Rémi Verschelde
9cad835880
Merge pull request #37954 from ThakeeNathees/autocomplete-indexing-native-types
...
Autocompleting with indexing for builtin types added
2020-04-21 16:19:07 +02:00
Juan Linietsky
5d4dc2d45c
Add ability to bind typed arrays to script API
...
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-21 10:15:40 +02:00
Juan Linietsky
ae09b55a19
Exposed RenderingDevice to script API
...
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-20 21:21:58 -03:00
Rémi Verschelde
2cd952bd84
Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
...
Subgroups were added in #37678 but not properly handled everywhere
where PROPERTY_USAGE_GROUP is.
2020-04-20 17:13:06 +02:00
Rémi Verschelde
0ef8bcac4d
DocData: Skip unexposed classes
...
Properly expose classes that we actually want accessible.
2020-04-20 12:51:10 +02:00
Thakee Nathees
62280c3d47
GDScript class name existance check enhanced
2020-04-20 16:20:36 +05:30
Rémi Verschelde
408fab8442
Mono: Fix include for Android support
...
This was a typo in #37153 .
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-04-18 21:28:51 +02:00
Thakee Nathees
0780ad2800
line unsafe for indexing with known base type & unkown identifier
2020-04-17 16:52:22 +05:30
Thakee Nathees
3c45377c6e
autocompleting with indexing for native types added
...
Fix : #37768
2020-04-17 12:13:57 +05:30
Umang Kalra
b192c7d1ac
Fixed the bool _static logic
2020-04-16 21:23:17 +05:30
Nico Mitchell
f7cc2b090c
Change MATH_POSMOD return type back to INT
2020-04-14 17:23:35 -04:00
Rémi Verschelde
5e5103f460
Merge pull request #37861 from reduz/implement-decals
...
Implement decals
2020-04-14 17:13:20 +02:00
Juan Linietsky
5944eb6e7f
Implement decals
...
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-14 11:13:34 -03:00
Rémi Verschelde
e0eb9a8ae4
Merge pull request #37826 from nekomatata/direct-body-state-sleep
...
Fix set_sleep_state in Bullet body direct state
2020-04-14 12:53:20 +02:00
PouleyKetchoupp
30b184cb06
Fix set_sleep_state in Bullet body direct state
...
It was inverted, it should set the body to be active when sleep is disabled.
2020-04-14 11:39:34 +02:00
Nico Mitchell
c2ffaf5b2b
Change round return type to float
2020-04-13 13:02:40 -04:00
Rémi Verschelde
cfb00d4ed0
Merge pull request #37817 from ThakeeNathees/disconnect-autocomplete
...
autocomplete for disconnect implemented
2020-04-13 12:07:25 +02:00
Thakee Nathees
efe90fce01
autocomplete for disconnect, is_connected implemented
2020-04-13 12:35:06 +05:30
Rudigus
42434a0384
Improve error explanations related to UPNP and UPNPDevice
2020-04-13 02:25:39 -03:00
Rémi Verschelde
28bd664de5
Merge pull request #37542 from swarnimarun/patch_vs_02
...
Update visualscript graph nodes on visual script variable edit
2020-04-12 11:30:15 +02:00
Rémi Verschelde
67f7ba2645
Merge pull request #37395 from ThakeeNathees/collon-equal-parser-bug-fix
...
`:=` fails on some nodes fix : #37357
2020-04-10 12:36:44 +02:00
Rémi Verschelde
d2b85ef642
Merge pull request #37530 from swarnimarun/patch_vs_01
...
VisualScript support for newly added Variant types
2020-04-10 12:06:38 +02:00
Rémi Verschelde
56bee78b6e
Merge pull request #37629 from lupoDharkael/noise-unref
...
NoiseTexture: prevent race condition because of Ref::unref()
2020-04-10 11:52:10 +02:00
Rémi Verschelde
d41444b0d8
Merge pull request #37693 from lupoDharkael/remove-hint
...
Remove obsolete enums
2020-04-10 11:47:44 +02:00
Rémi Verschelde
4f5ad0734b
Merge pull request #37467 from HaSa1002/fix-vsproj
...
fixed modules not beeing added to vsproj
2020-04-09 15:31:58 +02:00
HaSa1002
0b615bb997
fixed modules not beeing added to vsproj
2020-04-09 15:15:52 +02:00
Stoofin
44281f233d
Pattern bind counts as assignment
...
Fixes #34697
2020-04-09 05:01:40 -07:00
Bastiaan Olij
afc8c6391c
Renaming all ARVR nodes to XR
2020-04-09 15:33:01 +10:00
lupoDharkael
5021dcfcd6
Remove obsolete enums
2020-04-08 20:44:01 +02:00
Rémi Verschelde
d89dc5794a
Merge pull request #37644 from JFonS/gizmos_rename
...
Rename all gizmo classes, using the 4.0 node names.
2020-04-08 10:54:42 +02:00
jfons
3841a64703
Rename all gizmo classes, using the 4.0 node names.
2020-04-07 10:02:18 +02:00
lupoDharkael
1f0f0b8cea
NoiseTexture: prevent race condition because of Ref::unref()
2020-04-06 13:22:31 +02:00