geequlim
475cee9c0f
Abstract some method for script system
2017-11-17 09:20:32 +08:00
George Marques
1d12470a78
Add print_error function, akin to print_line
2017-11-16 21:56:57 -02:00
Rémi Verschelde
219d735eb2
Merge pull request #12932 from willnationsdev/capitalize-enhancement
...
Fixes a bug where capitalize didn't work with camelCase names
2017-11-17 00:28:18 +01:00
Will Nations
238d488a04
Fixed a bug where capitalize didn't work with camelCase names
2017-11-14 14:32:37 -06:00
Leon Krause
acb23adad3
Fail when attempting to retrieve a non-existent singleton
2017-11-14 16:15:00 +01:00
Leon Krause
9b7b46143d
Move singleton management from ProjectSettings to Engine
2017-11-14 15:15:13 +01:00
Rémi Verschelde
0dd96bccd3
Merge pull request #12867 from eska014/html5-http
...
Implement HTTPClient in HTML5 platform
2017-11-13 08:32:32 +01:00
Leon Krause
2970061a73
Implement HTTPClient in HTML5 platform
...
Limitations:
- Subject to same-origin policy
- No persistent connection (but simulated for compatibility)
- No blocking mode
- No StreamPeer access
- No chunked responses
- Cannot disable host verification
2017-11-13 00:58:29 +01:00
Goutte
91ca725f9b
Add support for the TAU constant. Fixes #12094 .
2017-11-12 13:32:35 +01:00
Rémi Verschelde
ed57f0a0d4
Remove get_default_video_mode definition on OSX/iOS
...
It had been missed in d09160a8b6
and broke compilation
for those platforms.
Took the opportunity to run clang-format on the code base to fix some corner cases
that went through our static tests/were overlooked recently.
2017-11-09 23:36:08 +01:00
Juan Linietsky
d09160a8b6
Make video mode initialization more intuitive, fixes #12022
2017-11-09 13:02:26 -03:00
Rémi Verschelde
c7cd89c29f
Merge pull request #12780 from karroffel/dictionary-crash
...
fix dictionary constant access crash
2017-11-09 16:30:07 +01:00
Karroffel
e25b6bf8da
fix dictionary constant access crash
2017-11-09 16:27:27 +01:00
Bastiaan Olij
2a230d571d
Increase joystick axis from 8 to 10
2017-11-08 19:56:30 +11:00
mhilbrunner
d5b7df8523
Use UTF-8 for locale names. Fixes #12462 .
2017-11-07 21:57:43 +01:00
Rémi Verschelde
32dfdc12dc
Merge pull request #12656 from karroffel/dictionary-ordered-hashmap
...
make Dictionary use OrderedHashMap
2017-11-06 13:00:12 +01:00
Poommetee Ketson
b6db04993f
Merge pull request #12646 from poke1024/geomdocs
...
Basic docs for Geometry plus two new functions
2017-11-06 09:09:08 +07:00
Karroffel
c937b1f5f9
make Dictionary use OrderedHashMap
2017-11-05 15:27:28 +01:00
Bernhard Liebl
7ec32b6d09
Basic docs for Geometry plus two new functions
2017-11-05 07:56:27 +01:00
Zher Huei Lee
609cf36f8d
Fixed dedent() binding did not return result
2017-11-05 09:07:06 +08:00
Karroffel
1386647cdf
make ConfigFile sections ordered
2017-11-04 14:08:21 +01:00
Poommetee Ketson
9aebdd2ae8
Merge pull request #12593 from DmDerbin/master
...
AStar: implementation of get_point_connections
2017-11-04 16:49:29 +07:00
DmDerbin
4c79e58e3f
AStar: implementation of get_point_connections
2017-11-04 11:21:03 +03:00
Karroffel
38d56c8351
make ConfigFile use OrderedHashMap
2017-11-03 14:33:19 +01:00
Juan Linietsky
79f81b77e2
-Modules can now add custom version info (added it for Mono)
...
-Version string takes this version info
-Ability to download templates from the interweb (listing does not work yet)
2017-11-01 23:13:27 -03:00
Zher Huei Lee
0804dd5336
Added String::dedent() to remove text indentation
...
This functions similarly to Python's textwrap.dedent()
It's also been applied to doc_data.cpp to remove extra whitespace while
parsing the XML.
2017-11-01 07:20:20 +08:00
Rémi Verschelde
ea0e942617
Merge pull request #12035 from Chaosus/wrapfunc
...
Added new Wrap functions for numbers
2017-10-31 23:30:50 +01:00
Rémi Verschelde
cb3f594b14
Merge pull request #11249 from m4nu3lf/bugfix/get_euler
...
Fix inertia tensor update & Generic6DOFJoint & Simplify Basis::get_euler()
2017-10-31 23:03:01 +01:00
N0hbdy
f3fc07272c
Add Colemak keybindings to editor for osx
2017-10-30 22:51:02 +01:00
Захаров Андрей
e10ee8765f
Added difference between function which return value or not
...
Now ADDFUNC with suffix R add function with return value.
It was changed because addfunc considers that the function
doesn't return a value if it returns NIL.
2017-10-30 22:46:15 +01:00
Rémi Verschelde
4889b80698
Merge pull request #12471 from mhilbrunner/autocomplete
...
Fix get_node() and $ autocompletion when using single quotes
2017-10-30 22:22:46 +01:00
Unknown
7683ff3e42
Fix get_node() and $ autocompletion when using single quotes
2017-10-30 21:58:32 +01:00
Rémi Verschelde
981ef0be59
Add support for non-ISO locale identifiers via renames map
...
Windows apparently uses "no" for Norwegian Bokmål, even though its
ISO 639-1 language code is "nb"... Closes #12479 .
Also did some non-intrusive cleanup while at it.
2017-10-30 00:02:55 +01:00
Rémi Verschelde
9f4f630adf
Merge pull request #12437 from mhilbrunner/astar-setpointweightscale
...
AStar: Add setters for point position and scale weight, cleanup
2017-10-29 13:32:08 +01:00
Rémi Verschelde
568e905604
Merge pull request #12423 from tagcup/zstd_1.3.2
...
Update zstd to 1.3.2.
2017-10-27 20:28:59 +02:00
Unknown
9b4c5989ad
AStar: Add setters for point position and scale weight, cleanup
2017-10-27 19:19:01 +02:00
Ferenc Arn
f3436a841a
Add an option to use zstd's recently introduced long range matching (off by default).
2017-10-27 12:26:13 -04:00
Rémi Verschelde
b1b11ea411
Merge pull request #12422 from eska014/httpclient-api
...
Remove HTTPClient::send_body_text and ::send_body_data
2017-10-26 23:29:59 +02:00
Ferenc Arn
01815e9b5f
Update zstd to 1.3.2.
2017-10-26 16:41:47 -04:00
Leon Krause
d1102cb37d
Remove HTTPClient::send_body_text and ::send_body_data
...
These were never implemented, the request* methods provide parameters to
send body data as part of the client's requests.
2017-10-26 22:25:35 +02:00
santouits
55fae24710
Fix x11 boot logo position in fullscreen and in maximized
2017-10-26 01:06:26 +03:00
Jerome67000
2609cc9ef4
Removes Script::get_node_type()
...
used before GDScript, with squirrel apparently
2017-10-25 20:11:30 +02:00
sheepandshepherd
1cd40be491
Add a function to get the full name of a locale
2017-10-25 01:13:17 -05:00
Rémi Verschelde
847c55bcb1
Merge pull request #12365 from neikeq/p
...
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
2017-10-24 18:59:26 +02:00
Cradmon
8da9fd5d23
Small fix in core/set.h and similar fix in core/map.h
2017-10-24 15:59:54 +01:00
Ignacio Etcheverry
e218a13a64
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
...
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it.
- ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
2017-10-24 15:48:58 +02:00
Rémi Verschelde
3c69a40caf
Merge pull request #12183 from marcelofg55/err_index
...
Improved *_FAIL_INDEX error macros to print the index/size
2017-10-23 23:26:34 +02:00
Rémi Verschelde
4e0e513d5f
Merge pull request #12341 from jagt/move-button-joy-enums
...
Move BUTTON and JOY constants to enums
2017-10-23 23:11:05 +02:00
jagt
4e94292573
move button/joy constants to enums
2017-10-23 13:36:50 +08:00
Robert Hernandez
794407e7b6
Fixed memory leak with AStar class
2017-10-22 18:37:02 -04:00
Juan Linietsky
b4f0f59d9f
Many fixes to SSAO, should be good now.
2017-10-22 13:52:48 -03:00
Marcelo Fernandez
a97d7d948b
Improved *_FAIL_INDEX error macros to print the index/size
2017-10-22 12:17:41 -03:00
Rémi Verschelde
99c8a8c7b1
Merge pull request #11401 from SaracenOne/snapped_drag
...
Added snapping to spatial drag and drop.
2017-10-22 12:06:00 +02:00
Poommetee Ketson
8265ff4c20
Bind MainLoop.notif_wm_go_back_request
2017-10-22 14:07:24 +07:00
Rémi Verschelde
50306041e5
Merge pull request #11982 from tagcup/get_quat
...
Added Basis::get_quat().
2017-10-21 23:51:07 +02:00
Rémi Verschelde
6361e24f29
Cleanup unnecessary debug prints
2017-10-21 20:41:07 +02:00
Patrick Yates
c433d83d81
Fix InputEventJoypadMotion::action_match for 0 axis values.
...
Make action_match ignore the sign if axis value is 0.
This means that an axis value of 0 will match actions defined for both positive and negative values, as expected.
Fixes #12223
2017-10-21 16:06:24 +11:00
Sebastian Krzyszkowiak
110adc80d2
variant.h: Update comments with numeric enum values
...
Comments got desynchronized with the actual values of the enum.
To avoid anyone making some stupid mistake here, let's fix it as soon
as possible.
2017-10-20 13:18:40 +02:00
Rémi Verschelde
2229056fcc
Merge pull request #12247 from endragor/fix-rotated-logger
...
Fix rotated logger naming and backup deletion
[ci skip]
2017-10-20 12:57:25 +02:00
Rémi Verschelde
5f912a9186
Merge pull request #12241 from eska014/vs-binds
...
Bind more VisualServer functions
[ci skip]
2017-10-20 12:56:13 +02:00
Ruslan Mustakov
27b537cfca
Fix rotated logger naming and backup deletion
2017-10-20 10:34:46 +07:00
Leon Krause
cf3919b228
Bind some VisualServer functions
2017-10-20 00:24:49 +02:00
Marcelo Fernandez
d3a039cb2f
Fix Color.r8/g8/b8/a8 being type float instead of type int
2017-10-19 12:36:06 -03:00
Pedro J. Estébanez
d645b80e46
Fix formatting of debug log overflow
...
Fixes #12087 .
2017-10-16 22:10:11 +02:00
Comanche_Ak
51597b6d69
Fix Alpha Border bugfix
2017-10-13 20:19:33 +03:00
Chaosus
216a8aa643
Added new wrap functions
2017-10-13 11:10:45 +03:00
Ruslan Mustakov
6106fd88d4
Remove junk output
...
Remove several prints that were added for engine debugging, but are
of no use to the end user, and only pollute the editor and game logs.
2017-10-13 12:40:19 +07:00
Rémi Verschelde
c30ab882d7
Merge pull request #11539 from BastiaanOlij/remove_directory_scan
...
Removed directory scan from project load
2017-10-11 23:37:10 +02:00
Rémi Verschelde
20a32d6a2e
Merge pull request #12039 from Hinsbart/expose_joy_connection
...
Input: expose joy_connection_changed()
[ci skip]
2017-10-11 23:01:33 +02:00
Ferenc Arn
8861cc40fa
Added Basis::get_quat() and set_quat().
2017-10-11 16:56:47 -04:00
Andreas Haas
8f1ed9aaee
Input: expose joy_connection_changed()
2017-10-11 18:55:57 +02:00
Ignacio Etcheverry
740ef3dc97
Merge pull request #11954 from neikeq/d
...
Added 'exposed' field to ClassInfo for registered classes
2017-10-11 13:54:34 +02:00
Andreas Haas
1d8a546a07
Merge pull request #11919 from Toizi/array_sort_ref
...
Array::sort/invert now return reference to Array
2017-10-10 20:31:48 +02:00
Ignacio Etcheverry
8ac43bb1de
Merge pull request #11987 from endragor/define-va-copy
...
Define va_copy with --std=c++03 (fixes #11979 )
2017-10-10 16:35:39 +02:00
BastiaanOlij
e9c606fd29
Made directory scan optional
2017-10-10 23:45:54 +11:00
Ruslan Mustakov
73e86187bc
Define va_copy with --std=c++03 ( fixes #11979 )
2017-10-10 12:09:59 +07:00
Ignacio Etcheverry
0c2e882210
Adds 'exposed' field to ClassInfo
...
This field represents if the class is exposed to the scripting API.
The value is 'true' if the class was registered manually ('ClassDB::register_*class()'), otherwise it's false (registered on '_post_initialize').
- Added missing registration of classes that are meant to be exposed.
2017-10-09 23:49:17 +02:00
Marius Guggenmos
2f173a67ab
Array::sort, sort_custom and invert now return reference to Array to allow chaining of operations
2017-10-09 16:36:09 +02:00
Rémi Verschelde
e8b9cca614
Merge pull request #11810 from marcelofg55/osx_export_improv
...
OS X export code improvements
2017-10-09 12:20:39 +02:00
Emmanuel Leblond
80b15fba1d
Fix trailing whitespaces in project settings header comment
2017-10-09 08:34:32 +02:00
Rémi Verschelde
e5fcf0ee76
Merge pull request #11947 from eska014/fix-obj-marshalling
...
Fix exporting projects with custom input event actions
2017-10-09 00:04:28 +02:00
Leon Krause
c05c334de7
Fix binary marshalling of Objects
2017-10-08 20:13:46 +02:00
Emmanuel Leblond
d17951f57e
[GDnative] Add string_name api
2017-10-08 16:47:10 +02:00
Cong
dd684eaaa0
Use "Command" instead of "Meta" for macOS ( #1619 )
2017-10-08 17:23:05 +10:00
Andreas Haas
fd1d886cf8
Merge pull request #11853 from endragor/long-string-logging
...
Fix logging of long strings via RotatedFileLogger
2017-10-06 13:16:21 +02:00
Juan Linietsky
d938de67ff
Make sure to obey hidpi to off by default, as present in project settings. Set it to on by default for editor.
...
Many integrated GPUs can't really get enough performance to play games at hidpi, so this should be enabled manually.
2017-10-05 16:41:42 -03:00
Juan Linietsky
3d87b70f7a
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
2017-10-05 15:34:34 -03:00
Ruslan Mustakov
01ebcfe841
Fix logging of long strings via RotatedFileLogger
2017-10-05 16:16:20 +07:00
Gilles Roudiere
2e6f2ed032
Merge pull request #11812 from NathanWarden/fix_validate_ssl
...
Fixed a bug where ssl would force validation even though you told it not to.
2017-10-04 20:40:53 +02:00
Gilles Roudiere
5b9b158354
Merge pull request #11823 from endragor/virtual-keyboard-height
...
Allow to obtain virtual keyboard height
2017-10-04 18:16:28 +02:00
Ruslan Mustakov
275e537058
Allow to obtain virtual keyboard height
...
On mobile platforms virtual keyboards take up significant amount of
screen space and UI containing a text box may need to be adjusted
after the keyboard appears to keep the text box visible to user. This
commit adds a way to obtain virtual keyabord height so that controls
are aware of how much they need to move.
2017-10-04 17:21:05 +07:00
Juan Linietsky
3cadecf17b
fixed the OS.has_feature() API, and added support for 32 and 64.
2017-10-03 17:36:14 -03:00
Nathan Warden
310a8eb902
Fixed a bug where ssl would force validation even though you told it not to.
2017-10-03 13:53:23 -05:00
Marcelo Fernandez
4b695c3bdf
OS::execute can now read from stderr too when executing with a pipe
2017-10-03 15:09:04 -03:00
Hein-Pieter van Braam
2bece6bbd3
Merge pull request #11782 from eska014/persistent-userfs-test
...
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
2017-10-03 12:24:11 +02:00
Andreas Haas
132ba0ed97
Merge pull request #11568 from endragor/loggers
...
Extract logging logic
2017-10-02 23:51:26 +02:00
Andreas Haas
5303efb2fa
Merge pull request #11659 from AndreaCatania/prephysics
...
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Andreas Haas
2fbffb7cde
Merge pull request #11730 from gabrielformiga/fix-small-png-texture-import
...
Change to Image::shrink_x2 function preventing it set a 0 width/height for mipmapped textures
2017-10-02 22:42:38 +02:00
Leon Krause
7b23665e72
Add OS::is_userfs_persistent to check user:// persistence
...
Allows starting HTML5 export when IndexedDB is not available.
2017-10-02 21:07:05 +02:00
Poommetee Ketson
478fd21e07
Merge pull request #11575 from marcelofg55/move_path_to_trash
...
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-10-02 23:52:09 +07:00