hbina085
e0e0d8b229
fixed an issue where there is no edited function but user double clicks on an available functions
2019-05-30 19:10:53 -04:00
Rémi Verschelde
24dd8e29ea
Merge pull request #29296 from jbuck3/cleanup
...
Remove some redundant lines
2019-05-30 12:52:23 +02:00
Matheus Lima Cunha
7fbb6d986f
Automatically add new line to scripts
2019-05-29 18:13:29 -03:00
Goral
aabd9980d1
Changing method signature in other class in not recognized in working class in typed GDScript #28685
2019-05-29 22:27:16 +02:00
James Buck
4f4513f99c
Remove some redundant lines
2019-05-29 15:20:39 -05:00
Ignacio Roldán Etcheverry
8c923fc617
Merge pull request #29290 from ShyRed/godefquo
...
Escape quote char for non-Windows OS
2019-05-29 21:01:29 +02:00
ShyRed
5dc50327cf
Escape quote char for non-Windows OS
...
Quote char appears to be ignored by ProcessStartInfo on non-Windows operating systems, so it needs to be escaped.
2019-05-29 19:13:16 +02:00
Rémi Verschelde
36591b1ae8
Merge pull request #28416 from JellyWX/binary-literals
...
Support for binary literals in GDScript
2019-05-29 08:41:05 +02:00
qarmin
66a36ba474
Fix some unincialised variables
2019-05-28 19:12:19 +02:00
Giacom
c00427add3
Added move_toward functions for float, Vector2 and Vector3
2019-05-28 11:39:35 +01:00
Rémi Verschelde
633af46a66
Merge pull request #27987 from lupoDharkael/classname-duplicate
...
Prevent using multiple class_name in a class
2019-05-28 11:56:21 +02:00
Rémi Verschelde
e3735a5d5a
Merge pull request #28606 from bojidar-bg/25889-indexed-set-defaults
...
Fix default values not being read correctly in VS, take two
2019-05-28 10:54:49 +02:00
Rémi Verschelde
1f72126ad0
Merge pull request #28762 from Lisapple/gridmap-release-floor-field
...
Release GridMap floor field focus when mouse exited
2019-05-28 10:35:55 +02:00
Rémi Verschelde
4686d9470e
Merge pull request #29185 from hilfazer/enum-autocomplete
...
Autocomplete for enum values
2019-05-28 10:21:27 +02:00
Rémi Verschelde
7487d2f852
Merge pull request #28957 from aaronfranke/basis-optimize
...
Optimize Basis constructor for Axis Angle
2019-05-27 17:42:43 +02:00
Rémi Verschelde
4c77332e32
Merge pull request #29118 from JFonS/improve_navmesh_generation
...
Various improvements to NavigationMesh generation
2019-05-27 17:27:14 +02:00
Ignacio Roldán Etcheverry
df17cf06d4
Merge pull request #29184 from aaronfranke/mono-tan-xy-yx
...
[Mono] Change Atan2 arguments to (y, x)
2019-05-26 17:15:29 +02:00
Aaron Franke
19786f77ef
[Mono] Change Atan2 arguments to Y X
2019-05-26 03:15:56 -04:00
hilfazer
ca1932636f
autocomplete for enum values
2019-05-26 09:09:11 +02:00
ShyRed
60e711a115
Add Godot constants to Mono project builds
...
This adds constants to projects build via Godot Mono which allows project to conditionally react to different operating systems and 32/64 Bit architecture. Additionally .NET libraries could support multiple engines like Unity and Godot at the same time when compiled from Godot and reacting to definitions.
2019-05-26 08:07:55 +02:00
Ignacio Roldán Etcheverry
0d8f1ba6a9
Merge pull request #29021 from aaronfranke/mono-tuple
...
[Mono] Misc Basis and AABB improvements
2019-05-26 01:46:07 +02:00
Rémi Verschelde
b09ed50020
Merge pull request #29145 from GodotExplorer/gdscript-extend-fix
...
Fix parse error when inherits from subclass of named classes
2019-05-24 22:40:47 +02:00
Rémi Verschelde
3887fb3e6a
Merge pull request #28836 from Jummit/vs-fix-default-call-modes
...
Change the call mode to self when adding nodes via the node search
2019-05-24 17:44:54 +02:00
Rémi Verschelde
49e95d2cc7
Merge pull request #28980 from Jummit/vs-rename-change-base-type
...
Fix VisualScript Change Base Type title
2019-05-24 13:45:09 +02:00
Geequlim
ebcfe28475
Fix parse error when extends from subclass of named classes
2019-05-24 11:56:44 +08:00
Ignacio Etcheverry
04ebf294f3
C#: Implement ScriptInstance::to_string
...
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
2019-05-24 00:40:20 +02:00
Rémi Verschelde
1deb41226d
Merge pull request #28738 from 2shady4u/master
...
Added native binding for dictionary duplication
2019-05-23 13:47:36 +02:00
shaderbeast
48bd2e459f
Added native binding for dictionary duplication
...
Added entry in gdnative_api.json
Added function to header as well
Fixed versioning
2019-05-23 10:23:47 +02:00
jfons
1add4c15ab
Various improvements to NavigationMesh generation
...
* Expose EditorNavigationMeshGenerator as an engine singleton so users
can generate navmesehes from `tool` scripts.
* Add support for generating navmeshes from static colliders. All
collision shapes are supported except for Plane (since Plane is an
infinite collider and navmeshes need to have finite geometry).
* When using static colliders as a geometry source, a layer mask can be
specified to ignore certain colliders.
* Don't rely on global transform. It still should give the exact same
results but allows for building navmeshes on nodes that are not in the
tree (useful in `tool` scripts).
* Update navigation gizmos after every new bake.
This work has been kindly sponsored by IMVU.
2019-05-23 08:37:58 +02:00
Aaron Franke
7b6473fec5
[Mono] Misc Basis and AABB improvements
2019-05-22 15:23:51 -04:00
thomas.herzog
c1e733466b
[GDNative] fix godot_variant_evaluate function
...
Fixes #28984
2019-05-22 09:10:06 +02:00
Ignacio Roldán Etcheverry
e2375f487c
Merge pull request #29079 from neikeq/oopsie
...
Fix C# build error in MarshalUtils debug code
2019-05-21 19:54:34 +02:00
Ignacio Roldán Etcheverry
9c45432309
Merge pull request #29052 from neikeq/fixes-28667------i-think
...
Replace call to 'mono_runtime_object_init' with manual ctor invoking
2019-05-21 19:15:32 +02:00
Ignacio Etcheverry
9b76c56098
Fix C# build error in MarshalUtils debug code
2019-05-21 19:09:00 +02:00
Rémi Verschelde
26e0cc7aa3
Merge pull request #29041 from hbina/add_const
...
add const to methods that return literals
2019-05-21 15:16:41 +02:00
Rémi Verschelde
f62638367f
Merge pull request #28964 from Faless/webrtc/channels_pr
...
WebRTC refactor. data channels, STUN/TURN support.
2019-05-21 13:49:32 +02:00
Rémi Verschelde
2bee15eee1
Merge pull request #29050 from hbina/redundant_null_checks
...
removed a redundant null check in assimp editor
2019-05-21 12:07:38 +02:00
hbina085
f78baa5f93
added a const keyword for a methods that return constant literal...
2019-05-21 02:16:30 -04:00
hbina085
13680885b6
removed a redundant NULL check in assimp editor of a pointer to an array declared in the same statement block
2019-05-20 18:08:59 -04:00
Ignacio Etcheverry
66b930a266
Replace call to 'mono_runtime_object_init' with manual ctor invoking
2019-05-21 00:06:04 +02:00
Rémi Verschelde
defd960276
Merge pull request #27886 from LeonardMeagher2/obj_to_string
...
Allow overriding how scripted objects are converted to strings
2019-05-20 22:37:01 +02:00
Swarnim Arun
7155477caa
Fix history state setup in VisualScript
2019-05-20 22:15:43 +05:30
Rémi Verschelde
6110bdee13
Merge pull request #28975 from RameshRavone/type_tag
...
NULL global_tag for non exposed classes
2019-05-20 13:00:02 +02:00
Rémi Verschelde
8b0ea33777
Merge pull request #28965 from jkirsons/csgpolygon-weird-end-cap
...
Resolve : #24682 CSGPolygon - weird end cap
2019-05-20 11:25:53 +02:00
Rémi Verschelde
e0574e1d98
Fix typos with codespell
...
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-05-19 13:10:35 +02:00
Ignacio Roldán Etcheverry
f54becfee2
Merge pull request #28974 from neikeq/moshi-moshi_git-desu-ka
...
C#: Marshalling support for IEnumerable<> and IDictionary<,>
2019-05-18 20:36:26 +02:00
Ignacio Etcheverry
5a4bf4f369
C#: Marshalling support for IEnumerable<> and IDictionary<,>
...
Also fixed the hint string of exported members.
2019-05-18 19:39:56 +02:00
Jummit
bd8f345e71
Fix VisualScript Change Base Type title
2019-05-18 10:07:12 +02:00
RameshRavone
71808b38bc
NULL global_tag for non exposed classes
2019-05-18 07:55:48 +05:30
Jason
89a9f4621f
Resolve : #24682 CSGPolygon - weird end cap
2019-05-17 20:49:24 +02:00
Aaron Franke
9ff708f008
Optimize Basis constructor for Axis Angle
2019-05-17 05:11:12 -04:00
Max Hilbrunner
c67bb5f145
Merge pull request #28595 from godotengine/AndreaCatania-patch-1
...
Improved CCD calculation algorithm
2019-05-16 23:11:12 +02:00
Andrea Catania
c1c8555565
Improved CCD calculation algorithm
2019-05-16 18:56:37 +02:00
Fabio Alessandrelli
729b1e9941
WebRTC refactor. Data channels, STUN/TURN support.
...
A big refactor to the WebRTC module. API is now considered quite stable.
Highlights:
- Renamed `WebRTCPeer` to `WebRTCPeerConnection`.
- `WebRTCPeerConnection` no longer act as `PacketPeer`, it only handle the connection itself (a bit like `TCP_Server`)
- Added new `WebRTCDataChannel` class which inherits from `PacketPeer` to handle data transfer.
- Add `WebRTCPeerConnection.initialize` method to create a new connection with the desired configuration provided as dictionary ([see MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#RTCConfiguration_dictionary )).
- Add `WebRTCPeerConnection.create_data_channel` method to create a data channel for the given connection. The connection must be in `STATE_NEW` as specified by the standard ([see MDN docs for options](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createDataChannel#RTCDataChannelInit_dictionary )).
- Add a `data_channel_received` signal to `WebRTCPeerConnection` for in-band (not negotiated) channels.
- Renamed `WebRTCPeerConnection` `offer_created` signal to `session_description_created`.
- Renamed `WebRTCPeerConnection` `new_ice_candidate` signal to `ice_candidate_created`
2019-05-16 11:21:20 +02:00
Rémi Verschelde
c38d9180df
Revert "Revert "Implemented terrain raycast acceleration""
2019-05-16 10:18:48 +02:00
Rémi Verschelde
eded8d52e3
Merge pull request #28917 from Faless/gdnative/singleton_editor_fix_pr
...
Update GDNativeLibrarySingletonEditor.
2019-05-16 08:59:02 +02:00
Frank Secilia
a4a0e64245
Fix indexing failure in NativeScriptLanguage::unregister_binding_functions.
...
binding_functions.size() and an instance's binding_data.size() can get out of sync. They sync up when an instance's bindings are requested. When binding functions are registered after creating an instance's bindings, the instance's bindings are out of sync until requested again. If they're never requested, they're never synced.
unregister_binding_functions indexes into binding_data, but only checks that its safe to index into binding_functions. When they're out of sync, indexing fails.
This revision checks that it's safe to index into binding_data.
2019-05-15 15:28:55 -04:00
Fabio Alessandrelli
a95563208f
Update GDNativeLibrarySingletonEditor.
...
Moved GDNative singletons discoverer from register_types to
GDNativeSingletonEditor.
Fix enable/disable switch in GDNativeLibrarySingletonEditor.
Separate `gdnative/singletons` and `gdnative/singletons_disabled`
project settings, keeping "on by default" behavior.
2019-05-15 18:08:17 +02:00
George Marques
9df1a2442b
Show function name in debugger stack trace
...
Also show script and line when the instance is gone when resuming from
yield.
2019-05-14 11:39:44 -03:00
George Marques
bdc6649b79
Keep GDScript functions in stack while yielding
...
This prevents GDScript functions from leaving the stack too soon when
they are resuming from yield, allowing the ones expecting it to finish
to know the caller.
Helps debugging cases when you use:
`yield(function_which_yields(), "completed")`
since now it shows the call that resumed that function.
2019-05-14 11:39:40 -03:00
Rémi Verschelde
9beb26cef3
Merge pull request #28809 from bojidar-bg/x-navmesh-wrong-vertex-order
...
Fix orientation of generated navmeshes
2019-05-13 13:49:02 +02:00
Rémi Verschelde
abc6dd7fa2
Merge pull request #28839 from Faless/gdnative/lib_resource_fix
...
Fix GDNative library resource loading.
2019-05-13 13:33:10 +02:00
Rémi Verschelde
647021e864
Merge pull request #28326 from BastiaanOlij/center_heightmap
...
Center shape according to logic Bullet applies
2019-05-13 12:58:00 +02:00
Fabio Alessandrelli
aecbb330f3
Fix GDNative library resource loading.
...
Store general properties in ConfigFile too when modifying them.
Additionally set config_file property as internal as it's not editable
from inspector. It also does not appear to get saved in a meaningful way
(saved as Object(ConfigFile, ...))
2019-05-12 21:26:22 +02:00
Jummit
1d056d3921
change call mode to self when adding nodes with node search
...
fixes #28614
2019-05-12 09:27:05 +02:00
Bojidar Marinov
4cf3113a1a
Fix orientation of generated navmeshes
...
Fixes #23817
2019-05-11 21:39:52 +03:00
Ryan Stein
42d6205e8c
Add RegEx substitution testcase and fix relevant docs
...
(cherry picked from commit a31bbb4bd9
)
2019-05-11 09:03:19 +02:00
Aaron Franke
702b539405
Change "ID" to lowercase "id"
...
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-05-09 06:25:32 -04:00
Lisapple
77278f6bac
Release GridMap floor field focus when mouse exited
2019-05-08 17:42:08 +02:00
Daniel Rakos
f61ab2fe83
Enable BC6H compression for all HDR formats
...
Previously only RGBH formatted images were compressed to BC6H, this change
enables BC6H compression also for the RH, RGH, and RGBE9995 formats, allowing
1:2, 1:4, and 1:4 size reduction for them, respectively.
This is in particular important for HDRI images which usually come in RGBE9995
format.
2019-05-08 16:45:29 +02:00
Bastiaan Olij
e4dea0595a
Add transform support to deal with Bullets centering of shapes
2019-05-07 22:43:10 +10:00
Daniel Rakos
9dc4c762a7
Fixes to the DDS loader
...
* Added missing format info entries for ATI1 and ATI2 formats
* Added missing A2XY format
2019-05-07 11:30:18 +02:00
Ignacio Roldán Etcheverry
255ea11502
Merge pull request #28700 from ShyRed/fixmonogluewindows
...
Fix generation of Mono Glue for Visual Studio 2017+
2019-05-05 16:47:21 +02:00
ShyRed
77ab9ba252
Fix generation of Mono Glue for Visual Studio 2017+
...
vsnprintf definition should only be changed when MSC version is older than 2013. The version check and fix is taken from StringUtils.h of assimp.
2019-05-05 12:39:02 +02:00
Leonard Meagher
f7eb426e2e
Allow overriding how scripted objects are converted to strings
...
solves #26796
- ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts
- ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings
- IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance
- ADD Documentation about `Object.to_string` and `Object._to_string`
- Changed `Variant::operator String` to use `obj->to_string()`
2019-05-03 15:06:05 -07:00
Anish
f0757f31a4
Fixes VideostreamGDNative crash on audio_channel=0.
...
Added an if case to check if the mix_callback exists before running any
of the audio code.
Fixes : #28644
2019-05-04 00:34:58 +05:30
Rémi Verschelde
c2251eab51
Merge pull request #28603 from bojidar-bg/24134-typed-array-share
...
Fix typed arrays and dictionaries getting their values shared
2019-05-03 18:35:57 +02:00
Rémi Verschelde
7e4cb80d4c
Merge pull request #27594 from marxin/fix-duplicate-conditions
...
Fix duplicated conditions.
2019-05-03 14:46:44 +02:00
Bojidar Marinov
b291cfde1b
Fix default values not being read correctly in VS, take two
...
Fixes #25889 .
2019-05-02 20:57:00 +03:00
Rémi Verschelde
262924296b
Merge pull request #27415 from aqnuep/kinematicbody_fixes
...
KinematicBody performance and quality improvements
2019-05-02 18:03:58 +02:00
Rémi Verschelde
d6aa2858b4
Merge pull request #28609 from bojidar-bg/27152-indirect-code-completion
...
Fix slight issues with autocompletion and member lists in GDScript
2019-05-02 18:00:48 +02:00
Rémi Verschelde
0eb924a425
Merge pull request #28447 from fire/vs_reorder_search
...
Change order of Visual Script Search and Misc VS UX
2019-05-02 16:25:01 +02:00
Bojidar Marinov
f9d9530902
Fix slight issues with autocompletion and member lists in GDScript
...
Fixes #27152
Fixes #28591
2019-05-02 17:13:45 +03:00
Bojidar Marinov
aff9320ff2
Fix typed arrays and dictionaries getting their values shared
2019-05-02 14:00:33 +03:00
marxin
cdf54d6c5f
Ignore a warning in _get_socket_error (-Wlogical-op).
...
drivers/unix/net_socket_posix.cpp: In member function 'NetSocketPosix::NetError NetSocketPosix::_get_socket_error()':
drivers/unix/net_socket_posix.cpp:197:22: warning: logical 'or' of equal expressions [-Wlogical-op]
197 | if (errno == EAGAIN || errno == EWOULDBLOCK)
| ^
and:
modules/mono/utils/string_utils.cpp: In function 'int {anonymous}::sfind(const String&, int)':
modules/mono/utils/string_utils.cpp:68:48: error: logical 'or' of collectively exhaustive tests is always true [-Werror=logical-op]
found = src[read_pos] == 's' || (c >= '0' || c <= '4');
~~~~~~~~~^~~~~~~~~~~
2019-05-02 11:11:52 +02:00
Rémi Verschelde
b7cd9794fe
Merge pull request #28568 from Faless/net/lws_rollback_3.0.1_pr
...
Roll back libwebsockets to version 3.0.1
2019-05-02 08:15:23 +02:00
Fabio Alessandrelli
4f9408a0f8
Freetype clone env for no-SMID single file
...
Fix freetype build issue for javascript platform.
When disabling optimizations (SMID) in specific freetype, source files,
we need to make sure to copy all other CPPFLAGS, not just override them.
2019-05-01 18:38:50 +02:00
K. S. Ernest (iFire) Lee
432460a355
VS: Give the generic search the current base type.
2019-05-01 08:27:22 -07:00
K. S. Ernest (iFire) Lee
4e6420b5a8
VS: Better ux
...
* In VS functions' put the current node type first.
* Cleanup and merge property and method sections.
2019-05-01 08:07:35 -07:00
K. S. Ernest (iFire) Lee
a9c6c98a67
Change order of Visual Script Search.
...
Previously:
* vs nodes
* properties
* methods
Now:
* properties
* methods
* vs nodes
2019-05-01 08:07:35 -07:00
Rémi Verschelde
1d9a207dda
Merge pull request #28563 from DrMoriarty/fix-pvrtc-encoder
...
Fix pvrtc encoder
2019-05-01 15:45:16 +02:00
Fabio Alessandrelli
be414e4476
Revert "Update libwebsockets to 3.1 (plus UWP patch)"
...
This reverts commit 90210c4862
.
2019-05-01 14:41:47 +02:00
Rémi Verschelde
3cfab06080
Merge pull request #25406 from aqnuep/gridmap_improvements
...
GridMap editor fixes and improvements
2019-05-01 12:47:00 +02:00
Vasiliy Makarov
4009d26022
Fix pvrtc encoder
...
Always resize image to square of power2
Enable mipmaps only if original texture has it enabled
Fix #28534 , #28541
2019-05-01 13:34:01 +03:00
Rémi Verschelde
ae41e35191
Merge pull request #27676 from qarmin/small_fixes_2
...
Small fixes to static analyzer bugs
2019-05-01 08:19:04 +02:00
Rémi Verschelde
8afc9c3938
Merge pull request #21425 from aaronfranke/decimal-functions
...
Make "decimal" functions more consistent
2019-05-01 08:16:10 +02:00
Rémi Verschelde
7ff0979747
Merge pull request #28544 from neikeq/issue-28540
...
Fix missing argument for vsnprintf_s
2019-05-01 07:18:31 +02:00
Ignacio Etcheverry
4eedb97802
Fix missing argument for vsnprintf_s
2019-04-30 23:15:25 +02:00
Aaron Franke
620ec4703f
Make "decimal" functions more consistent
...
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
2019-04-30 13:49:17 -04:00
Rémi Verschelde
a7f00f3bac
Merge pull request #28530 from akien-mga/scons-prepend-cpppath
...
SCons: Always use env.Prepend for CPPPATH
2019-04-30 18:23:38 +02:00
Rémi Verschelde
9dc9434b1b
Merge pull request #24437 from mateusfccp/single_quotes_option
...
Add settings for single-quotes on completion
2019-04-30 14:58:33 +02:00
Daniel Rakos
07e2a86fc4
GridMap editor fixes and improvements
...
This change fixes a few outstanding issues and greatly improves the usability
of the GridMap editor through the following changes:
- Copied mesh now gets displayed during pasting (also renamed the related
identifiers accordingly)
- Duplication/paste indicator now gets rotated around the correct pivot point
(duplication worked properly before, but the indicator was shown misplaced
when rotated)
- Selected mesh library item cursor is no longer shown during selection and
duplication/pasting
- Back rotate X/Y/Z is now working during duplication/pasting
- Added true cut operation thanks to now having a proper clipboard (clear
operation got remapped to the DEL key)
- Got rid of some weird workarounds in the duplication code
- Fill and clear operations now correctly make the selection marker inactive
as this was broken partly due to the workarounds mentioned above
(duplication continues to keep the selection marker active to allow
subsequent duplications)
- Clear current selection on RMB, but treat selection as an action so previous
selection can be restored on undo
- Separated selection and paste indicator data as it's prone to error and
confusion and it's anyway needed now that selection is treated as an action
- Added support for cancelling paste, selection, and even unselect the
currently selected mesh library item with the ESC key (previously there
wasn't a way to unselect)
- Changed the key binding of fill/clear/duplicate operations to use Ctrl as a
modifier
- Changed erase to use RMB instead of Shift+RMB (free look is available
through Shift+F anyway, so no need to occupy RMB for it during gridmap
editing)
- Removed unused area, external connector, and configure menu items (there's
also the non-functional clip mode menu items, but I'm not sure whether there
are any plans with that, I suppose it's meant to be an editor aid)
- Renamed INPUT_COPY to INPUT_PICK to better reflect its purpose
- Added support for using Shift+Q and Shift+E to select multiple floors/planes
without actually changing the current floor/plane as it happens when using
e.g. the mouse wheel
Fixes #25373 and #15883
2019-04-30 14:35:18 +02:00
Rémi Verschelde
9da3d736ad
Fix sign-compare error from #26051
2019-04-30 14:12:46 +02:00
Rémi Verschelde
58531a9a0a
Merge pull request #28532 from BastiaanOlij/fix_gdnative_notify
...
Forgot a parameter in the ARVR gdnative bindings for notifications
2019-04-30 14:00:59 +02:00
Ignacio Roldán Etcheverry
e014561a28
Merge pull request #28519 from neikeq/mono-exported-arrays-resource-type-hint
...
C#: Support resource type hint in exported arrays
2019-04-30 13:52:09 +02:00
Bastiaan Olij
a8114b9936
Forgot a parameter in the ARVR gdnative bindings for notifications
2019-04-30 21:47:14 +10:00
Rémi Verschelde
12cc760538
Merge pull request #26051 from 20kdc/videofix
...
webm/theora/yuv2rgb/libsimplewebm: Fix colour issues I could find.
2019-04-30 13:38:44 +02:00
Rémi Verschelde
d52b70fb5e
SCons: Always use env.Prepend for CPPPATH
...
Include paths are processed from left to right, so we use Prepend to
ensure that paths to bundled thirdparty files will have precedence over
system paths (e.g. `/usr/include` should have lowest priority).
2019-04-30 13:12:06 +02:00
Rémi Verschelde
0327d57cfd
Merge pull request #27007 from BastiaanOlij/arvr_notifications
...
Send notifications to ARVRInterfaces
2019-04-30 12:05:46 +02:00
Rémi Verschelde
f40c62fa29
Merge pull request #27371 from ShyRed/fixdisabled2dcollisions
...
Allow adding disabled shapes
2019-04-30 11:43:11 +02:00
Rémi Verschelde
36d4f86ed9
Merge pull request #27707 from Calinou/tweak-message-wording
...
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
Rémi Verschelde
7fe5a8548e
Merge pull request #27759 from BastiaanOlij/sort_api_json
...
Sort GDNative api.json
2019-04-30 11:08:16 +02:00
Ignacio Etcheverry
470b80cc55
C#: Support resource type hint in exported arrays
...
- Elements of types like PackedScene will display with the special editor for such type.
2019-04-29 21:20:05 +02:00
Rémi Verschelde
23147ae2c3
Merge pull request #28101 from MunWolf/debugger_cursor
...
Added a marker in text_edit that tells which row is executing.
2019-04-29 18:38:38 +02:00
Rémi Verschelde
554c0ea90b
Merge pull request #28423 from neikeq/dont-forget-to-think-a-name-for-this-branch
...
C#: Deprecate accessor methods and generate correct int and float types
2019-04-29 16:56:25 +02:00
Rémi Verschelde
18e88c8563
Merge pull request #18992 from aaronfranke/mono-equal-approx
...
[Core] [Mono] Improve and use approximate equality methods
2019-04-29 10:16:46 +02:00
Juan Linietsky
af9bb0ea15
Clean up latency related functions
2019-04-27 12:23:05 -03:00
Ignacio Etcheverry
3380565e4b
C#: Generate the correct integer and floating point types
2019-04-27 01:30:46 +02:00
Bastiaan Olij
1a1b35721a
Send notifications to ARVRInterfaces
2019-04-27 08:39:21 +10:00
Ignacio Etcheverry
791e1294c3
Mono: Lazily load scripts metadata file
...
- Only load the scripts metadata file when it's really needed. This way we avoid false errors, when there is no C# project, about missing scripts metadata file.
2019-04-26 19:53:44 +02:00
Ignacio Etcheverry
340252727b
C#: Mark generated property accessor methods as Obsolete
...
- Methods that act as accessors for properties in the same class (like `GetPosition` and `SetPosition` are for `Position`) are now marked as obsolete. They will be made private in the future.
2019-04-25 20:34:35 +02:00
Ignacio Etcheverry
c20a3823a2
C# bindings generator cleanup
...
- Normal log messages are no longer warnings.
- BindingsGenerator is no longer a singleton.
- Added a log function.
2019-04-25 20:34:28 +02:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places
2019-04-25 13:20:29 -04:00
Aaron Franke
c577ec6ae4
[Mono] Approximate equality
2019-04-25 13:20:29 -04:00
Aaron Franke
7f7d97f536
[Core] Expose approximate equality methods to GDScript
2019-04-25 13:20:29 -04:00
jude-lafitteIII
d3cc9c0bf1
Support for binary literals in GDScript. Added an error that shows if a point is written in a hex literal. Added highlighting for binary literals in GDScript
2019-04-25 13:44:27 +01:00
Rémi Verschelde
f67c78d9cd
Merge pull request #28413 from akien-mga/xatlas-cleanup-thekla
...
SCons: Clean xatlas SCsub from thekla/poshlib defines
2019-04-25 13:53:29 +02:00
Rémi Verschelde
1cd8dda461
Merge pull request #28267 from Xrayez/fix-bmp-indexed-8-4-1
...
Load and import 4/1-bit BMP images
2019-04-25 13:43:14 +02:00
Max Hilbrunner
80ad49748e
Merge pull request #28265 from Xrayez/fix-tga-indexed-palette
...
Fix TGA indexed images loaded with flipped color table
2019-04-25 13:39:07 +02:00
Rémi Verschelde
eb155bc91a
SCons: Clean xatlas SCsub from thekla/poshlib defines
...
Those are not used in xatlas.
2019-04-25 12:27:10 +02:00
Rémi Verschelde
24005bc03d
Merge pull request #28396 from akien-mga/scons-capture-the-flags
...
SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS
2019-04-25 12:22:22 +02:00
Ignacio Etcheverry
d93c354807
Fix invalid mono log file name on Windows
2019-04-24 18:52:03 +02:00
Rémi Verschelde
c2a669a9f0
SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS
...
Many contributors (me included) did not fully understand what CCFLAGS,
CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them
in the way they are intended to be.
As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html
- CCFLAGS: General options that are passed to the C and C++ compilers.
- CFLAGS: General options that are passed to the C compiler (C only;
not C++).
- CXXFLAGS: General options that are passed to the C++ compiler. By
default, this includes the value of $CCFLAGS, so that setting
$CCFLAGS affects both C and C++ compilation.
- CPPFLAGS: User-specified C preprocessor options. These will be
included in any command that uses the C preprocessor, including not
just compilation of C and C++ source files [...], but also [...]
Fortran [...] and [...] assembly language source file[s].
TL;DR: Compiler options go to CCFLAGS, unless they must be restricted
to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to
CPPFLAGS.
2019-04-24 16:57:58 +02:00
Rikhardur Bjarni Einarsson
9bfa63496a
Added a marker in text_edit that tells which row is executing.
2019-04-23 21:51:01 +01:00
Juan Linietsky
325f6c6581
Added inspector plugin documentation.
...
Fixed plugin bindings.
2019-04-23 16:39:09 -03:00
ShyRed
a9d4cde0f5
Allow adding disabled shapes
...
Adds the ability to directly add disabled shapes to a collision object. Before this commit a shape has always been assumed to be enabled and had to be disabled in an extra step.
2019-04-23 18:06:48 +02:00
Andrii Doroshenko (Xrayez)
6484da5721
Import 4/1 bit bmp images
...
Add some sanity checks according to bmp specification.
Read color table and index data within the same scope and
then simply extend the color palette.
This particular implementation has one limitation: not all 4/1 bit images
can be imported as it requires bit unpacking (size dimensions must be
a multiple of 8 for 1-bit and 2 (even) for 4-bit images).
2019-04-23 17:02:13 +03:00
Rémi Verschelde
458827efc2
Revert "Implemented terrain raycast acceleration"
2019-04-23 13:56:23 +02:00
Hein-Pieter van Braam
fc2e2dfa43
Merge pull request #24547 from Shinryuuji/master
...
Add support for 8bpp bmp files
2019-04-23 06:35:25 +03:00
Hein-Pieter van Braam
a033c686f9
Merge pull request #25004 from Faless/enet/proto_optimize
...
Save 4 bytes in ENet multiplayer protocol.
2019-04-23 06:29:11 +03:00
Hein-Pieter van Braam
4575769115
Merge pull request #25543 from Zylann/optimize_bullet_heightfield_raycast2
...
Implemented terrain raycast acceleration
2019-04-23 06:25:15 +03:00
Hein-Pieter van Braam
7ba772d4ba
Merge pull request #27730 from ShyRed/fix3dphyscansleep
...
Fix missing re-activation of bullet physics sleep feature
2019-04-23 06:03:27 +03:00
Rémi Verschelde
a342131eba
Merge pull request #27673 from qarmin/small_fixes
...
Small fixes, mostly duplicated code
2019-04-22 12:00:34 +02:00
Rémi Verschelde
ab4705a807
Merge pull request #28125 from KoBeWi/code_true_code
...
Consistently wrap booleans in [code]
2019-04-22 11:59:16 +02:00
Rémi Verschelde
2f73e2282c
Merge pull request #28132 from fire/dont_touch_normals
...
Assimp: Don't touch normals.
2019-04-22 11:58:46 +02:00
Rémi Verschelde
429fc5b62c
Merge pull request #28162 from Jummit/vs-new-nodes-at-cursor
...
Position nodes added from the generic search to the position the cursor was when opening the search
2019-04-22 11:54:27 +02:00
Rémi Verschelde
3610b4fd77
Merge pull request #28179 from neikeq/welp
...
Use StringBuilder in C# bindings generator
2019-04-22 11:52:30 +02:00
Andrii Doroshenko (Xrayez)
d0f0f1f1cb
Fix TGA indexed images loaded with flipped color table
...
This fixes incorrect color table lookup where red and blue channels were flipped.
2019-04-21 16:05:00 +03:00
Hugo Locurcio
35a0162167
Improve wording of various messages and make casing more consistent
...
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Rémi Verschelde
7d0275785b
Merge pull request #27940 from LeonardMeagher2/fix_csgshape_geometryinstance
...
CSGMesh gets material + CSGShape inherits from GeometryInstance
2019-04-21 13:07:29 +02:00
Rémi Verschelde
5899972049
Merge pull request #27554 from volzhs/freetype-2.10.0
...
Update freetype to 2.10.0
2019-04-20 20:00:56 +02:00
Ignacio Roldán Etcheverry
7be498499b
Merge pull request #27820 from ForLoveOfCats/master
...
Mono: Convert all items to string before printing
2019-04-20 04:12:22 +02:00
ForLoveOfCats
25f563c4c8
Mono: Convert all items to string before printing
2019-04-19 12:59:22 -04:00
Bastiaan Olij
0d2f3f4f50
Sort data exported to the api.json file for GDNative
2019-04-19 23:13:02 +10:00
Rémi Verschelde
8269ed9cdf
Merge pull request #28196 from akien-mga/xatlas-cleanup
...
xatlas: Document provenance, copyright and custom changes
2019-04-19 12:59:41 +02:00
Rémi Verschelde
7b1d75223a
Merge pull request #28193 from akien-mga/drop-thekla
...
Drop unused thekla_atlas dependency
2019-04-19 12:51:13 +02:00
Rémi Verschelde
b29df348e2
Merge pull request #28192 from akien-mga/doc-unused-demos
...
doc: Drop unused <demos> tag, sync classref
2019-04-19 12:50:42 +02:00
Rémi Verschelde
1e39fee140
xatlas: Revert to unmodified upstream code, add to COPYRIGHT
...
Imported by @reduz from b8ec29b6b6
Custom changes will be remade properly in the next commit.
2019-04-19 12:39:26 +02:00
Rémi Verschelde
6640f397f1
Drop unused thekla_atlas dependency
...
Since f12cb82
@reduz dropped the use of the thirdparty thekla_atlas
library, which is replaced by xatlas.
Fixes #28180 .
Fixes #28182 .
2019-04-19 11:42:58 +02:00
Rémi Verschelde
268b520703
doc: Sync classref with current source
2019-04-19 11:21:09 +02:00
Rémi Verschelde
6af69f851a
doc: Drop unused <demos> tag
2019-04-19 11:03:46 +02:00
Ignacio Etcheverry
f64aa02933
Use StringBuilder in C# bindings generator
...
- Also fixed generation of empty summary comments when no comment should have been generated.
2019-04-19 02:11:39 +02:00
Ignacio Roldán Etcheverry
392f1491e1
Merge pull request #28161 from neikeq/exception-hook-no-abort
...
Mono: Use exit(status) instead of abort() in exception hook
2019-04-18 16:26:54 +02:00
Jummit
a68b733e17
position nodes from the generic search at the cursor
2019-04-18 15:30:20 +02:00
Ignacio Etcheverry
8759c0e31a
Mono: Use exit(status) instead of abort() in exception hook
2019-04-18 15:01:50 +02:00
Ignacio Etcheverry
2b9557c920
C#: Add missing ToString() override methods
...
Godot.Object, Array, Dictionary and RID were missing ToString() override methods
2019-04-18 14:48:13 +02:00
Ignacio Roldán Etcheverry
d1f98ff51b
Merge pull request #28139 from neikeq/mono-log-level-info
...
Mono: Logging improvements
2019-04-18 13:14:02 +02:00
Ignacio Etcheverry
20e5e2fec7
Mono: Logging improvements
...
- The default log level in debug builds is now 'info' instead of 'debug'.
- Add option to specify a different log level with the 'GODOT_MONO_LOG_LEVEL' environment variable.
- The name of log files is now a readable date and time.
- Always print the log file path (previously it was printed only it in verbose mode).
2019-04-17 23:03:32 +02:00
K. S. Ernest (iFire) Lee
aa39a78778
Assimp: Don't touch normals.
2019-04-17 10:48:54 -07:00
Tomasz Chabora
b0846f60c9
Consistently wrap booleans in [code]
2019-04-17 17:13:00 +02:00
lupoDharkael
2ad302cec4
Don't allow class_name in built-in scripts
2019-04-17 17:06:21 +02:00
lupoDharkael
145a45fd3f
Fix code completion not working with class_name
2019-04-16 22:27:13 +02:00
Rémi Verschelde
cac650022f
Merge pull request #28053 from lupoDharkael/shadowing
...
GDScript: add variable shadowing warning
2019-04-16 09:25:36 +02:00
lupoDharkael
c07b49280a
Prevent using multiple class_name in a class
2019-04-16 01:41:00 +02:00
Rémi Verschelde
06e580f5ba
Merge pull request #26792 from Faless/webrtc_pr
...
Initial WebRTC support
2019-04-15 19:57:06 +02:00
lupoDharkael
14078fbb82
GDScript: add variable shadowing warning
2019-04-15 18:19:14 +02:00
Rémi Verschelde
09e94aa087
doc: Sync classref with current source
2019-04-15 14:49:41 +02:00
Juan Linietsky
ad1368a625
Clean up ASSIMP import code.
2019-04-13 15:19:47 -03:00
Fabio Alessandrelli
66a5166870
Register WebRTCPeerJS and WebRTCPeerGDNative
2019-04-12 18:51:48 +02:00
Fabio Alessandrelli
320960cd32
Add WebRTC GDNative interface
2019-04-12 18:51:24 +02:00
Fabio Alessandrelli
7c17e31a55
Add WebRTC JS implementation
2019-04-12 18:51:24 +02:00
Fabio Alessandrelli
c51958689c
Implement WebRTCPeer custom instance class
2019-04-12 18:51:17 +02:00
Ignacio Roldán Etcheverry
b7cf4c2050
Merge pull request #27950 from Nonnu42/contrib
...
Fixes #17233 allowing C# to override _GetPropertyList
2019-04-12 16:43:27 +02:00
Fabio Alessandrelli
6a1bf006a3
Move IDHandler JS module to platform from Websock
2019-04-12 12:41:49 +02:00
Rémi Verschelde
e7a1fbe83a
Merge pull request #27863 from bojidar-bg/27460-constant-class-clash
...
Check subclasses too when checking for name clashes
2019-04-12 11:54:35 +02:00
Nuno Cardoso
d011c8e109
Fixes #17233 allowing C# to override _GetPropertyList
2019-04-12 03:09:03 +01:00
Rémi Verschelde
da65d54649
Merge pull request #27867 from bojidar-bg/27489-as-self-fail
...
Fix as operator generating opcode 38 errors
2019-04-11 23:23:35 +02:00
Leonard Meagher
28b902211f
CSGMesh material and CSGShape inherits from GeometryInstance
...
I left the material on CSGMesh because GeometryInstance's material override prevents the normal material behaviour of the csg meshes
but the material_override is useful, and now you can control the shadow, lod and other properties you get from GeometryInstance
2019-04-11 13:20:09 -07:00
Rémi Verschelde
10c7742df3
Merge pull request #27876 from vnen/gdscript-no-builtin-name
...
Don't allow built-in scripts to use class_name
2019-04-11 09:43:23 +02:00
Windy Darian
6c90aaf5c7
Use c++11 for vhacd because VHACD-ASYNC.cpp wants it
2019-04-11 00:05:11 -04:00
George Marques
e56f5d5c91
GDScript: Don't allow built-in scripts to use class_name
2019-04-10 18:05:34 -03:00
Juan Linietsky
5823b5d77d
Bundled VHACD library for convex decomposition.
...
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
2019-04-10 17:47:28 -03:00
Rémi Verschelde
07b76c0376
Merge pull request #27170 from timoschwarzer/allow-whitespaces-in-warning-ignore-comments
...
Allow whitespaces in warning-ignore comments
2019-04-10 18:16:10 +02:00
Bojidar Marinov
ece09f9872
Check for subclasses when checking for name clashes
...
Fixes #27460
2019-04-10 13:19:30 +03:00
Bojidar Marinov
f04f127680
Fix as
operator generating opcode 38 errors
...
Closes #27489
Fixup of 466a76ac2c
Additionally, update `GDScriptCompiler` test to use Ref and to include `as` expressions.
2019-04-10 13:18:50 +03:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Bastiaan Olij
e0b703e3fe
Added eye_height, changed description and fixed size of viewport issue
2019-04-10 01:11:17 +10:00
Ignacio Roldán Etcheverry
9ab17b664d
Merge pull request #27809 from neikeq/github-pls
...
Workaround for syntax highlighting issue in GitHub
2019-04-08 22:13:13 +02:00
Ignacio Etcheverry
7a4cf6339d
Workaround for syntax highlighting issue in GitHub
2019-04-08 14:52:01 +02:00
Rémi Verschelde
6a2b8a263e
Merge pull request #26458 from neikeq/mono-build-cleanup
...
Mono: Add CPPPATH only to env_mono and cleanup build scripts
2019-04-08 12:50:51 +02:00
Rémi Verschelde
918de768a5
Merge pull request #27711 from neikeq/ifdef-clang-tidy
...
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08 12:24:30 +02:00
Rémi Verschelde
7f3373d79f
Merge pull request #27452 from Chaosus/direction_to
...
Added method to retrieve a direction vector from one point to another
2019-04-08 12:00:54 +02:00
qarmin
856a8226a5
Small fixes, mostly dupicated code
2019-04-08 11:03:37 +02:00
Rémi Verschelde
668bf1fd0d
Merge pull request #27710 from Calinou/script-templates-typed-gdscript
...
Add support for type hints in non-default script editor templates
2019-04-08 10:13:59 +02:00
Rémi Verschelde
d211aff777
Merge pull request #27231 from Chaosus/smoothstep
...
Added smoothstep built-in function
2019-04-08 10:03:42 +02:00
Rémi Verschelde
f52c294a74
Merge pull request #27714 from fire/asset_import
...
FBX Import bug fixes with special character in mesh names
2019-04-07 21:57:26 +02:00
Ignacio Etcheverry
2873206aa6
Mono: Add compiler flags to env_mono instead of env
...
This way we avoid possible conflicts with other modules. Specially with include paths.
2019-04-07 19:03:13 +02:00
Ignacio Etcheverry
6bb29eb847
Mono: Reorganize build scripts
...
All build scripts, other than config.py and SCSub, are now located in the build_scripts subdirectory.
2019-04-07 19:03:09 +02:00
Chaosus
514a3fb96a
Added smoothstep built-in function
2019-04-07 14:11:26 +03:00
Rémi Verschelde
5586e473b5
Merge pull request #27734 from Hendrikto/cleanup
...
Remove unused imports
2019-04-07 12:38:07 +02:00
Bastiaan Olij
163ef9fab3
Fix where json exported empty types
...
(cherry picked from commit 6226be9595
)
2019-04-07 11:54:44 +02:00
Rémi Verschelde
4942e96897
Merge pull request #27527 from BastiaanOlij/render_ext_target
...
Add option to have viewport render into supplied texture (VR)
2019-04-07 11:11:50 +02:00
K. S. Ernest (iFire) Lee
1d55ca503e
Assimp: fix FBX import with ':' in filename.
2019-04-06 14:19:38 -07:00
Timo
1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
...
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Hendrikto
49a81308c0
Remove unused imports
2019-04-06 18:05:05 +02:00
ShyRed
0877cf6419
Fix missing re-activation of bullet physics sleep feature
...
Adds the missing option of re-enabling the sleep feature in bullet physics once a body had the sleep feature disabled.
2019-04-06 17:11:36 +02:00
Ignacio Etcheverry
2f3328a039
Fix wrong method binds and registered class
2019-04-06 16:12:59 +02:00
Ignacio Roldán Etcheverry
74719b8748
Merge pull request #26662 from neikeq/csharp-collection-changes
...
C#: Collections breaking changes and improvements
2019-04-06 14:44:59 +02:00
Rémi Verschelde
87ee2a9239
Merge pull request #26634 from psuhas77/patch-3
...
Added get_noise_1d
2019-04-06 13:06:50 +02:00
Ignacio Etcheverry
480d4c6fba
C#: Support type hints for exported Arrays
...
Added the code for Dictionary as well, but it's not yet supported by the Godot inspector.
2019-04-06 12:14:43 +02:00
Ignacio Etcheverry
187e6ae26d
C#: Add marshalling support for IEnumerable and IDictionary
...
Added constructor that takes IEnumerable for Array and IEnumerable<T> for Array<T>.
Added constructor that takes IDictionary for Dictionary and IDictionary<TKey, TValue> for Dictionary<TKey, TValue>.
2019-04-06 12:14:37 +02:00
Ignacio Etcheverry
92b02cb027
C#: Some important Array and Dictionary interface changes
...
Array now implements IList instead of IList<object, object>.
Dictionary now implements IDictionary instead of IDictionary<object, object>.
2019-04-06 11:00:40 +02:00
Ignacio Etcheverry
e82b2def8e
Mono: Buildsystem support for finding MSBuild from VS2019
2019-04-06 01:32:41 +02:00
Ignacio Etcheverry
ad2127a3e8
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-05 23:41:51 +02:00
Bastiaan Olij
8349d4fbd9
Add option to have viewport render into supplied texture
2019-04-06 08:24:58 +11:00
Hugo Locurcio
00799fc8c2
Add support for type hints in non-default script editor templates
...
This also refactors template processing to avoid repetition.
This closes #27074 .
2019-04-05 23:19:30 +02:00
K. S. Ernest (iFire) Lee
e3ef7f214a
Add Open Asset Import Library to Godot.
...
FBX support and MMD (pmx) support.
Normals, Albedo, Metallic, and Roughness through Arnold 5 Materials for Maya FBX.
Maya FBX Stingray PBS support.
Importing FBX static meshes work.
Importing FBX animations is a work in progress.
Supports FBX 4 bone influence animations.
Supports FBX blend shapes.
MMDs do not have an associated animation import yet.
Sponsored by IMVU Inc.
2019-04-05 07:17:52 -07:00
Rémi Verschelde
a61ad365f5
Merge pull request #27677 from akien-mga/Wimplicit-fallthrough
...
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05 16:12:45 +02:00
Chaosus
55f3bd97a2
Added direction_to method to vectors
2019-04-05 17:09:57 +03:00
Rémi Verschelde
c9aa0c20a0
Merge pull request #27327 from goodyttoor/grayscale_exr
...
Fix import grayscale EXR
2019-04-05 15:46:23 +02:00
Rémi Verschelde
63d3a42f82
Merge pull request #27465 from neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough
...
EditorHelp: Improve enum ref resolving and add constant ref support
2019-04-05 15:19:21 +02:00
Rémi Verschelde
fc370b3feb
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
2019-04-05 15:14:53 +02:00
Rémi Verschelde
6a33727cb1
Merge pull request #27687 from Zylann/fix_heightmap_shape_min_max
...
Fix wrong heights data used to compute min and max heights
2019-04-05 11:52:22 +02:00
ForLoveOfCats
444242a080
Mono: Make missing default constructor error more foolproof
2019-04-04 16:56:02 -04:00
Marc Gilleron
cdcdba704b
Fix wrong heights data used to compute min and max heights
2019-04-04 21:22:18 +01:00
ForLoveOfCats
46e79e6fad
Mono: Makes GD.Convert take Variant.Type instead of int
2019-04-04 16:07:48 -04:00
qarmin
8460d0678c
Small fixes to static analyzer bugs
2019-04-04 22:00:16 +02:00
Rémi Verschelde
c2fb1c9f01
SCons: Fix OPUS_ARM_OPT flag applied for all android/iphone arches
...
The first 'if' always evaluated to true, as it evaluated values which are the default
ones for Android and iOS respectively, so even if one of them was overridden, the other
one would be true.
Fixes #27658 .
2019-04-04 12:01:52 +02:00
Ignacio Etcheverry
0338e55a6e
Fix memory leak introduced in bb6814a
2019-04-02 22:56:17 +02:00
marxin
e7f22ebdcd
Enable warnings=extra on clang and GCC testers.
...
And remove 2 warnings from warnings=extra.
2019-04-02 17:14:47 +02:00
Rémi Verschelde
18ee888541
Merge pull request #27430 from LeonardMeagher2/csg_get_mesh_data
...
Apply proper offset to CSGMesh brush materials and smooth flags
2019-04-01 17:15:30 +02:00
Rémi Verschelde
e3bd84fa57
Merge pull request #27485 from Faless/io/encode_decode_safety_pr
...
Safer encode/decode variant.
2019-04-01 17:00:40 +02:00
Fabio Alessandrelli
393e62b98a
Add object encoding param to serialization methods
...
Network peers get_var/put_var
File get_var/store_var
GDScript/Mono/VisualScript bytes2var/var2bytes
Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding.
Break ABI compatibaility (API compatibility for GDNative).
2019-04-01 15:53:19 +02:00
Rémi Verschelde
39c868171e
doc: Bump version to 3.2
2019-04-01 12:33:56 +02:00
Rémi Verschelde
4ec384f9d4
Merge pull request #26097 from danielspaniol/25955-wrong-unreachable-warning-after-returning-from-matchs-wildcard-pattern
...
Fix: Wrong unreachable warning after returning from match's wildcard pattern #25955
2019-04-01 12:17:17 +02:00
volzhs
a6300b454d
Update freetype to 2.10.0
2019-03-31 23:20:36 +09:00
Ignacio Etcheverry
c8aa85189a
EditorHelp, makerst: Improve enum ref resolving and constant ref support
...
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class.
Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
2019-03-29 23:40:31 +01:00
Ignacio Etcheverry
bb6814aef0
C#: Add DynamicGodotObject class
...
Expands to Object.call, Object.set and Object.get for accessing members. This means it can also access members from scripts written in other languages, like GDScript.
2019-03-29 00:53:48 +01:00
Rémi Verschelde
f27931f365
Merge pull request #27184 from karroffel/gdnative-api-gen-fixes
...
fix GDNative binding generation for object types
2019-03-27 17:07:18 +01:00
Rémi Verschelde
492153878f
Merge pull request #27128 from bojidar-bg/27111-gdscript-confounding-class
...
Fix GDScriptCompiler bugging out with identically-named inner class
2019-03-27 16:57:04 +01:00