Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Rémi Verschelde
43f28452e1
Merge pull request #24039 from clayjohn/transform_bug
...
Construct Transform from Transform2D bug
2018-11-28 18:57:53 +01:00
clayjohn
928ca2e1f2
construct transform from transform2d bug
2018-11-28 07:54:22 -08:00
Juan Linietsky
db595980bf
Revert "Construct Transform from Transform2D "
2018-11-28 11:16:06 -03:00
Rémi Verschelde
348708cad3
Merge pull request #23976 from clayjohn/transform_bug
...
Construct Transform from Transform2D
2018-11-28 15:14:02 +01:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Juan Linietsky
3a93499f89
Allow signal connecting even if script is invalid (only when compiled with tools), fixes #17070
2018-11-27 19:55:37 -03:00
clayjohn
d22bc7413c
construct transform from transform2d bug
2018-11-25 21:14:45 -08:00
Fabian
a01608c389
Improved support for custom image loaders
2018-11-23 08:16:54 +10:30
allkhor
eacb8600f4
FileAccess::store_csv_line() don't added unnecessary double quotes.
2018-11-22 19:31:34 +06:00
Juan Linietsky
a2a606794c
Ensure array and dict editors show edited object IDs, fixes #20225
2018-11-21 22:10:58 -03:00
Rémi Verschelde
173b342ca7
Remove trailing whitespace
...
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'`
(+ manual revert of some thirdparty code under `platform/android`).
2018-11-20 11:15:02 +01:00
Rémi Verschelde
16a2c31e53
Merge pull request #23812 from YeldhamDev/clear_history_version_optional
...
Add argument to UndoRedo's "clear_history()" to not increase the version
2018-11-20 08:49:17 +01:00
Rémi Verschelde
99a4274f51
Make add_property error more explicit on duplicates
...
Would have helped solve #23800 faster.
2018-11-20 08:47:21 +01:00
Rémi Verschelde
35fbbeb99b
Merge pull request #20627 from malcolmhoward/core-dictionary-get-key
...
#20488 core dictionary get key
2018-11-19 21:11:55 +01:00
m
bf1867aaab
Added Python-like .get() method to Dictionary in GDScript #20488
...
Added .get() method to Dictionary class in GDScript to return the value if the key exists, or return Null if the key does not exist.
2018-11-19 14:03:13 -05:00
Juan Linietsky
60cbb69c7c
Increase number of image loaders (why was it this low..), fixes #19037
2018-11-18 22:07:00 -03:00
Michael Alexsander Silva Dias
6ba94d5ca0
Add argument to UndoRedo's "clear_history()" to not increase the version
2018-11-18 19:46:35 -02:00
Juan Linietsky
2d6b994e47
Massive speed up on deleting nodes, fixes #18673
...
Also makes the editor exit faster
2018-11-18 11:48:21 -03:00
Fabio Alessandrelli
1ef9e9ef6a
Properly accept wildcard when binding IPv4 socket.
...
Also never return null for is_ipv4 to avoid crashes due to engine bug.
(better to get an error and a broken socket then seeing your game crash)
2018-11-18 14:54:40 +01:00
Rémi Verschelde
adc0752da7
Merge pull request #23771 from Faless/fix_release_export
...
Always initialize VariantCall return_type.
2018-11-18 10:46:43 +01:00
Davide Baldo
b98263013a
Fixed the default value for Input.action_press() from commit 8c45282
2018-11-17 20:45:24 +00:00
Fabio Alessandrelli
c449512318
Always initialize VariantCall return_type.
...
The return_type is used by the GDScript parser (and possibly other
scripting languages), so it MUST be initialized at least.
It could be initialized to Variant::NIL in release, but I see no reason
for not setting the actual value.
See similar issue in 95dfa5b
.
2018-11-17 19:06:18 +01:00
Juan Linietsky
f141f747de
Fix Squish decompression, closes #18109
2018-11-16 19:12:00 -03:00
Juan Linietsky
9e85d17241
Clearing history increments version, else it does not generate an asterisk on modification if the scene was just saved. Fixes #18027 .
...
Still I feel this line was commented for a reason. If you bisect a bug and find
this commit, let me know.
2018-11-16 16:20:10 -03:00
Rémi Verschelde
5d00407388
Merge pull request #23685 from Kanabenki/add-store-csv-line
...
Add store_csv_line method for File
2018-11-16 15:21:57 +01:00
Juan Linietsky
0b1e93ccd4
-Make sure monitorable cant be flipped while flushing queries, fixes #17330
...
-Also added set_deferred, this was missing.
2018-11-16 08:49:26 -03:00
Kanabenki
48166a9f3c
Add store_csv_line method for File
2018-11-16 11:09:05 +01:00
Juan Linietsky
16022da187
Ensure that array passed to physics is always counter clockwise, fixes #15361 .
2018-11-14 15:55:50 -03:00
Rémi Verschelde
b2f96b2892
Merge pull request #22940 from Faless/lws_buffers_bis
...
Better buffering for WebSocket
2018-11-13 09:54:06 +01:00
Chaosus
f8151a9e50
Implement random number generator
...
Co-authored-by: Zirak <zirakertan@gmail.com>
2018-11-13 10:50:07 +03:00
Fabio Alessandrelli
c0435959da
RingBuffer::decrease_write
2018-11-12 21:49:50 +01:00
Rémi Verschelde
8c45282d21
Merge pull request #23621 from workless/allow_strength_in_action_press
...
Allow to specify a custom strength when calling Input.action_press(),…
2018-11-10 21:35:07 +01:00
Rémi Verschelde
87d27e1250
Merge pull request #23639 from neikeq/gg
...
Fix GDScript placeholder fallback
2018-11-10 21:33:19 +01:00
Ignacio Etcheverry
7c4c646749
Fix GDScript placeholder fallback
2018-11-10 20:06:17 +01:00
Davide Baldo
1b0c7515ff
Allow to specify a custom strength when calling Input.action_press(), this allows virtual axis, mainly for mobile.
2018-11-10 10:25:59 +00:00
Poommetee Ketson
aa311320d9
Fix formatting -0.0 by %+f displays +-0.0
2018-11-09 15:27:06 +07:00
Juan Linietsky
da1f53c8d9
User more correct plus file on get_current_dir.
2018-11-08 19:05:12 -03:00
Juan Linietsky
f2e54057ae
-Moved EditorDefaultValue to ClassDB, made it core
...
-Removed one and zero hints for properties, replaced by default value
2018-11-08 11:30:59 -03:00
Marcelo Fernandez
4de0cbba15
Expose OS::move_window_to_foreground
2018-11-07 11:51:15 -03:00
Aaron Franke
81be9542eb
Remove unused "dtoll" methods
...
These methods aren't used anywhere in Godot's code, and all they do is cast floating types to int64_t. There's no reason to have these lines, they literally do nothing, and they aren't useful functions to begin with.
2018-11-02 05:02:27 -04:00
Juan Linietsky
34426be9a0
Merge pull request #23346 from santouits/you-shall-not-execute
...
Error running Expression.execute after parse error
2018-11-01 14:02:18 -03:00
Juan Linietsky
c8765b459a
Merge pull request #23159 from DavidSichma/string-escape
...
Fix: String::format Variant to String conversion
2018-11-01 12:54:51 -03:00
Juan Linietsky
e647342140
Moved folding outside the resource files, now saved outside the project.
2018-10-29 16:37:09 -03:00
Juan Linietsky
6cc116d415
Ability to revert any property, not just from inherited scenes or scripts.
2018-10-29 12:25:56 -03:00
santouits
b0df0b46ac
Error running Expression.execute after parse error
...
There happens a segmentation fault when you use Expression.parse() and you don't check for errors and then run Expression.execute(). So we check if there was a parse error in the execute method now.
2018-10-28 12:13:39 +02:00
lupoDharkael
2380f320e0
Update GDNantive API
...
Add missing Rect2 methods to GDNative API
Add missing Quat methods to GDNative API
Add missing NodePath methods to GDNative API
Add missing String methods to GDNative API
Add missing Array methods to GDNative API
Add missing Basis methods to GDNative API
Add missing Color methods to GDNative API
Update gdnative_api.json
2018-10-26 17:25:57 +02:00
David Sichma
62848f94ee
Fix: String::format Variant to String conversion
...
Previosly String::format used variant.get_construct_string() to convert
the passed Variants to Strings. This however did not match the expected
printing behavior of some datatypes: Strings for example turned out
escaped.
This fix replaces the call to get_construct_string() with a simple
conversion. This makes String::format consistent with "%s" % "sth" and
formated Variants turn out like printed as expected.
2018-10-25 20:36:49 +02:00
Rémi Verschelde
1169196f04
Merge pull request #22779 from Superwaitsum/LimitSettings
...
Limit several project settings
2018-10-25 11:38:06 +02:00
Superwaitsum
e5041ad0f5
Add some limits on the Editor Settings
2018-10-24 19:46:33 -05:00