Rémi Verschelde
d395f70828
Merge pull request #43500 from AndreaCatania/gds_fixes
...
Fixes crash when parse_expression returns nullptr.
2020-11-27 16:37:45 +01:00
Rémi Verschelde
43f60c94e8
Merge pull request #39056 from rileylyman/tscn_newlines
...
Skip extra newline in .tscn when renaming dependency
2020-11-27 15:35:15 +01:00
Rémi Verschelde
0ffa06b083
Merge pull request #43918 from Faless/net/4.0_no_reuse_udp
...
Disable SO_REUSEADDR for UDP.
2020-11-27 15:25:54 +01:00
Rémi Verschelde
9f9b269d32
Merge pull request #43914 from ThakeeNathees/range-argument-type-bug-fix
...
GDScript: range function type check bug fixed
2020-11-27 15:08:02 +01:00
George Marques
cf7a6be1db
Merge pull request #43226 from mateosss/unreachable-prop-crash
...
Fix crash due to unreachable code in properties
2020-11-27 11:03:20 -03:00
Fabio Alessandrelli
4b6a35c74a
Disable SO_REUSEADDR for UDP.
...
It allows binding multiple sockets to the same ADDR:PORT (unlike TCP,
which still requires different ADDR:PORT combinations).
2020-11-27 14:12:34 +01:00
Thakee Nathees
f0613a91be
GDScript range function typecheck bug fixed
...
Fix : #43586
2020-11-27 18:23:35 +05:30
Rémi Verschelde
0b0b3d9b5a
Merge pull request #43910 from akien-mga/doc-input-gyro-ios
...
doc: Mention iOS support for for Input gravity/gyroscope sensors
2020-11-27 13:41:58 +01:00
Rémi Verschelde
2d0fda3ca2
doc: Mention iOS support for Input gravity/gyroscope sensors
...
It has been implemented for iOS a long time ago already with #7127 .
2020-11-27 12:01:08 +01:00
Rémi Verschelde
a1680ffc98
Merge pull request #43905 from vnen/gdscript-unregister-function-state
...
Unregister GDScriptFunctionState class
2020-11-27 08:28:27 +01:00
George Marques
fbb806fd68
Unregister GDScriptFunctionState class
...
This is not user accessible anymore so it does not need to be show in
documentation.
2020-11-26 21:39:54 -03:00
Rémi Verschelde
ed2f84735b
Merge pull request #43895 from vnen/gdscript-operators-fix
...
GDScript: Improve handling of operators
2020-11-26 21:19:31 +01:00
Rémi Verschelde
e5ff2d0ffd
Merge pull request #43894 from vnen/gdscript-some-fixes
...
Some GDScript fixes
2020-11-26 18:56:42 +01:00
George Marques
0cb185927c
GDScript: Improve handling of operators
...
- Use the new functions in Variant to determine the validity and resulting
type of operators.
- Split the operator function in codegen between binary and unary, since
the unary ones have now a special requirement of having the second
argument to be the NIL type when requesting info.
2020-11-26 14:41:55 -03:00
George Marques
627ca7f30e
GDScript: Don't clear depended parsers too soon
...
It can wait until the analyzer itself is destructed, otherwise other
phases might be using freed parsers.
2020-11-26 14:14:29 -03:00
George Marques
817fb3d702
GDScript: Give an error if dependency can't be parsed
...
Otherwise this may lead to a crash when the dependency is not present.
2020-11-26 12:27:48 -03:00
Rémi Verschelde
0a54dcb54f
Merge pull request #43886 from reduz/sdf-2d
...
Implement Signed Distance Fields for 2D shaders
2020-11-26 15:48:14 +01:00
reduz
1bcf3c305b
Implement signed distance fields for 2D shaders
2020-11-26 10:49:50 -03:00
Rémi Verschelde
4e5625ce30
Merge pull request #43884 from Chaosus/vs_warnings
...
Added extra warning to texture nodes in visual shader + fix warning appearing
2020-11-26 13:37:43 +01:00
bruvzg
7e2c0ffd1a
[Complex Text Layouts] Add TextServer documentation. Update Font, CanvasItem, Theme and modified controls documentation.
2020-11-26 14:25:52 +02:00
bruvzg
3be31c4960
[Complex Text Layouts] Refactor TextEdit and CodeEdit controls.
2020-11-26 14:25:50 +02:00
bruvzg
d66eb77c9c
[Complex Text Layouts] Refactor Label and LineEdit controls.
2020-11-26 14:25:49 +02:00
bruvzg
99666de00f
[Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface.
...
Implement interface mirroring.
Add TextLine and TextParagraph classes.
Handle UTF-16 input on macOS and Windows.
2020-11-26 14:25:48 +02:00
bruvzg
07d14f5bb8
[Complex Text Layouts] Implement GDNative interface for TextServer.
2020-11-26 13:55:29 +02:00
bruvzg
200828276e
[Complex Text Layouts] Implement ICU / HarfBuzz based TextServer module.
2020-11-26 13:55:28 +02:00
bruvzg
b9f441e81e
[Complex Text Layouts] Add third-party TextServer dependencies (ICU, HarfBuzz, Graphite).
2020-11-26 13:55:27 +02:00
bruvzg
493da99269
[Complex Text Layouts] Implement TextServer interface. Implement Fallback TextServer.
2020-11-26 13:55:26 +02:00
Yuri Roubinsky
3e1e01b7ab
Added extra warning to VisualShaderNodeTexture + fix warning appearing
2020-11-26 14:53:47 +03:00
Rémi Verschelde
a8c2cc9028
Merge pull request #43807 from Xrayez/aspect-ratio-container
...
Add `AspectRatioContainer` class
2020-11-26 12:20:15 +01:00
Rémi Verschelde
841fbafc78
i18n: Sync translations with Weblate
...
(cherry picked from commit 97e7d637e0
)
2020-11-26 10:40:55 +01:00
Rémi Verschelde
27933784f6
Merge pull request #43865 from madmiraal/fix-43852
...
Check joint nodes and generate configuration warning messages.
2020-11-26 10:21:36 +01:00
Rémi Verschelde
a4e04cdd47
Merge pull request #42652 from nekomatata/x11-clipboard-save-targets
...
Implement SAVE_TARGETS mechanism for Linux clipboard
2020-11-26 09:34:18 +01:00
Rémi Verschelde
77c9ae8e8d
Merge pull request #43869 from winterpixelgames/PR-gdscript-dissasemlber-fix
...
fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlber
2020-11-26 08:24:22 +01:00
Rémi Verschelde
cd6ee62b0c
Merge pull request #43880 from EricEzaM/PR/project-settings-remove-unused-property-and-method
...
Removed references to 'registering_order', as it was unused.
2020-11-26 08:05:00 +01:00
Rémi Verschelde
4e212affbe
Merge pull request #43879 from EricEzaM/PR/control-remove-unused-property
...
Removed unused property 'pending_resize' from Control
2020-11-26 08:03:45 +01:00
Eric M
3528b29669
Removed references to 'registering_order', as it was unused.
2020-11-26 15:37:40 +10:00
Eric M
4d10524f7f
Removed unused property 'pending_resize' from Control
2020-11-26 15:30:13 +10:00
Jordan Schidlowsky
afa15c5f15
fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlber
2020-11-25 16:26:32 -06:00
Rémi Verschelde
7e009a1671
Merge pull request #43239 from HaSa1002/docs-lang-4
...
Docs: Port Code Examples to C# (F, G, H, I, J, K, L)
2020-11-25 23:11:32 +01:00
Rémi Verschelde
ff790796af
Merge pull request #43864 from vnen/fix-print-utilities
...
Fix prints and printt functions printing as errors
2020-11-25 23:07:52 +01:00
HaSa1002
5a01c2a3b0
Docs: Port Code Examples to C# (F, G, H, I, J, K, L)
...
Includes:
* File
* Geometry2D
* HashingContext
* HTTPClient
* HTTPRequest
* Image
* Input
* int
* ItemList
* JSONParseResult
* KinematicBody2D
* LineEdit
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-25 22:15:13 +01:00
Marcel Admiraal
002cc47fbd
Check joint nodes and generate configuration warning messages.
2020-11-25 20:53:19 +00:00
Rémi Verschelde
91f7df2b4c
Merge pull request #43862 from akien-mga/linux-clang-TYPED_METHOD_BIND
...
SCons: Do not define TYPED_METHOD_BIND on Linux/clang
2020-11-25 21:24:46 +01:00
George Marques
40b683f8bb
Fix prints and printt functions printing as errors
2020-11-25 16:18:41 -03:00
Rémi Verschelde
613b76cfd5
Merge pull request #43861 from JFonS/fix_gizmo_defval
...
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
2020-11-25 19:28:05 +01:00
Rémi Verschelde
09f3053450
SCons: Do not define TYPED_METHOD_BIND on Linux/clang
...
It's now only needed for MSVC.
2020-11-25 19:27:30 +01:00
jfons
e6949dae72
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
...
It was commented for some reason I can't remember.
2020-11-25 18:55:07 +01:00
Rémi Verschelde
fc28de64c4
Merge pull request #43856 from vnen/gdscript-some-fixes
...
A couple of GDScript fixes
2020-11-25 17:13:41 +01:00
Rémi Verschelde
a5ee8d881f
Merge pull request #43775 from vnen/gdscript-fix-stack
...
GDScript: Fix mishandling of stack pointers
2020-11-25 16:25:51 +01:00
George Marques
ed3d8f31df
GDScript: Fix return of cast expression on compilation
...
It was mistakenly returning the source instead of the result.
2020-11-25 11:37:51 -03:00