Juan Linietsky
1ad20dc2f1
Merge pull request #12403 from AndreaCatania/phymat
...
Physics material
2018-07-23 07:37:03 -03:00
Juan Linietsky
172f652dc0
Merge pull request #19888 from AndreaCatania/pry
...
Implemented proceses priority
2018-07-23 07:21:38 -03:00
Andrea Catania
51dfa10ac7
Implemented proceses priority
2018-07-23 12:19:38 +02:00
Rémi Verschelde
17b44e44b9
Merge pull request #20374 from dragmz/20327
...
Fix disappearing lines in visual script editor
2018-07-23 09:29:46 +02:00
Marcin Zawiejski
2d05ae39a2
fix disappearing lines in visual script editor
2018-07-23 09:07:32 +02:00
Ignacio Etcheverry
15ee6b781b
Merge pull request #20358 from akien-mga/mono-absolutely-proprietary
...
Mono: Default to not shipping C# scripts content
2018-07-23 03:05:36 +02:00
Marcelo Fernandez
ecb071b221
Fix upper/lower case convertion for characters >= 0x80
2018-07-22 14:10:28 -03:00
Juan Linietsky
4b549faaab
transmission was broken, fix was made. Also fixed treshold.
2018-07-22 14:04:11 -03:00
Rémi Verschelde
8e4de57e56
SCons: Add "execinfo" option to force linking libexecinfo
...
Fixes #20035 .
2018-07-22 19:03:52 +02:00
Juan Linietsky
ad88979841
Fix opaque pre pass not casting shadows
2018-07-22 13:18:27 -03:00
steincodes
a1dee44e21
Ability to add Resource from FileSystem Dock
2018-07-22 21:23:40 +05:30
Rémi Verschelde
89e1b302b5
Merge pull request #20136 from ordigdug/Inspector-fix-remote-debug-view-changing-after-exit-game
...
Fix -inspector- remote debug view not changing to current scene a…
2018-07-22 17:33:00 +02:00
Rémi Verschelde
df170d81cc
Mono: Default to not shipping C# scripts content
...
Fixes #20053 .
2018-07-22 17:28:17 +02:00
Max Hilbrunner
2f365bb9bb
Merge pull request #20339 from akien-mga/scons-disable-with-tools
...
SCons: Prevent using disable_3d or disable_advanced_gui with tools=yes
2018-07-22 16:31:01 +02:00
Rémi Verschelde
c579c48461
Merge pull request #20353 from dragmz/gles2_redundant
...
Remove redundant uniform set call
2018-07-22 16:20:23 +02:00
Rémi Verschelde
c02f639aa5
Merge pull request #20352 from PJB3005/18-07-22-defer-tile-quad-update
...
Fix TileMap::set_cell performance regression
2018-07-22 16:09:08 +02:00
Rémi Verschelde
790a81d715
Merge pull request #20351 from dragmz/20326
...
Initialize texture shrink to false by default
2018-07-22 16:05:34 +02:00
dragmz
00180ef264
remove redundant uniform set call
2018-07-22 15:42:43 +02:00
Pieter-Jan Briers
b2c797c584
Defer TileMap::update_dirty_quadrants once again.
...
This fixes #20323 .
#11077 is now technically re-broken,
but you can now call update_dirty_quadrants as workaround.
2018-07-22 15:26:14 +02:00
dragmz
d2e909847d
initialize texture shrink to false by default
2018-07-22 15:09:00 +02:00
Rémi Verschelde
f1e2874ca9
Merge pull request #20348 from akien-mga/gl_InstanceID
...
Shader lang: Properly assign INSTANCE_ID to gl_InstanceID
2018-07-22 14:56:18 +02:00
Rémi Verschelde
00dfc9c8eb
Shader lang: Properly assign INSTANCE_ID to gl_InstanceID
...
Note that gl_InstanceID is not supported in OpenGL ES 2.0,
so in the gles2 backend we assign it to 0.
Also clean up some duplicates/commented out code.
Fixes #20088 .
2018-07-22 14:26:46 +02:00
Paulb23
8ff747171f
Allow opening and editing of any utf_8 file in script editor
2018-07-22 11:55:56 +01:00
Paulb23
765d6752bb
Refactored text manipulation into CodeTexteditor
2018-07-22 11:48:59 +01:00
ordigdug
7ab7bda48e
Fix grid missing lines #20246
2018-07-22 05:00:51 -04:00
Ignacio Etcheverry
525384d8cc
Merge pull request #20337 from aaronfranke/mono-pascal-gd
...
[Mono] Improvements to GD.cs: PascalCasing and real_t
2018-07-22 03:49:58 +02:00
Rémi Verschelde
7478649b2f
Merge pull request #20229 from aaronfranke/mono-warning-text
...
[Mono] Update about/warning text
2018-07-22 00:40:15 +02:00
Aaron Franke
174cf31d00
[Mono] Improvements to GD.cs: PascalCasing and real_t
...
[Mono] Improvements to GD.cs: PascalCasing and real_t
2018-07-21 16:40:46 -05:00
Rémi Verschelde
0aa7fcd410
SCons: Prevent using disable_3d or disable_advanced_gui with tools=yes
...
Those make no sense for tools build, as the editor uses advanced GUI
features heavily, and adding checks for 3D/physics features everywhere
in the editor would be cumbersome (and error-prone).
Fixes #1701 .
2018-07-21 23:17:36 +02:00
Rémi Verschelde
92415365c8
Merge pull request #19264 from vnen/typed-gdscript-final
...
Typed GDScript
2018-07-21 23:13:51 +02:00
Juan Linietsky
2b9902db06
-Fix disable_3d flag
...
-Add extra flag optimize=[size,speed] to be able to prioritize size
2018-07-21 17:26:49 -03:00
Aaron Franke
69530ef614
[Mono] Update about/warning text
...
I've removed the section about being unable to export games using C# - as you are now able to do this, as long as the export templates are installed. Also, I've made a few minor grammar tweaks.
2018-07-21 15:26:41 -05:00
Marcelo Fernandez
7a5f9fc08e
Added a new MIDIDriver class
2018-07-21 09:09:42 -03:00
George Marques
3e87ad5187
Rewrite code completion
...
- Use data type struct from the parser.
- Avail from type hints when type can't be guessed.
- Consider inner classes and other scripts when looking for candidates.
2018-07-20 21:55:18 -03:00
George Marques
3445dca01d
Add ability to infer variable type from assigned value
...
Syntax: var x : = 42
Infers the type of "x" to be an integer.
2018-07-20 21:55:18 -03:00
George Marques
03746da73f
Add editor highlight for type-safe lines
...
The line number is hightlighted to indicate that the line contains only
type-safe code.
2018-07-20 21:55:18 -03:00
George Marques
a2305cd8b2
Fix line number detection in some parser nodes
2018-07-20 21:55:17 -03:00
George Marques
75f395c2a0
Use type hints to improve completion
...
- Allow type hints to be completed.
- Use type information to infer completion candidates.
- Show typed function signature in tooltip.
- Add type hints when completing declaration from virtual functions
(optional).
2018-07-20 21:55:17 -03:00
George Marques
95351ac867
Add syntax highlighting to type hints
2018-07-20 21:55:17 -03:00
George Marques
e3d72d14ff
Use type information to enable GDScript introspection
...
This makes the Script API provide accurate information when requesting
property or method info.
2018-07-20 21:55:17 -03:00
George Marques
4b18c4e448
Add typed instructions to GDScript
...
- Typed assignment (built-in, native, and script).
- Cast (built-in conversion; native and script checks).
- Check type of functions arguments on call.
- Check type of members on set.
2018-07-20 21:55:17 -03:00
George Marques
743053734f
Add static type checks in the parser
...
- Resolve types for all identifiers.
- Error when identifier is not found.
- Match return type and error when not returning a value when it should.
- Check unreachable code (code after sure return).
- Match argument count and types for function calls.
- Determine if return type of function call matches the assignment.
- Do static type check with match statement when possible.
- Use type hints to determine export type.
- Check compatibility between type hint and explicit export type.
2018-07-20 21:55:16 -03:00
George Marques
f7793fc5c9
Store type hint of declared identifiers
2018-07-20 21:55:16 -03:00
George Marques
b7a00aead0
Move inheritance resolution to the parser
2018-07-20 21:55:16 -03:00
George Marques
8aab9a06d4
Add typing syntax
2018-07-20 21:55:16 -03:00
Juan Linietsky
cfcb6e11f2
Merge pull request #20312 from Nufflee/fix-#20171
...
Fix #20171 .
2018-07-20 18:17:00 -03:00
Juan Linietsky
336db8bcd1
-Fix tooltips in inspector, now they show as rich text.
2018-07-20 18:16:19 -03:00
Nufflee
228bd21e26
Fix #20171 .
2018-07-20 22:25:18 +02:00
Rémi Verschelde
002bacc01f
Merge pull request #20311 from YeldhamDev/update_spinner_popup_radio
...
Make Update Spinner popup use radio items
2018-07-20 21:20:05 +02:00
Michael Alexsander Silva Dias
12b55610ed
Make Update Spinner popup use radio items
2018-07-20 14:32:53 -03:00