Ariel Manzur
1d45f35a4a
fixed some byte order and parsing problems
2016-10-19 18:32:36 -03:00
Fabio Alessandrelli
17d7e6a142
Fix Keyboard Input Hangs when using modifiers
...
Main input parsing loop only update actions for keyboard if the state has changed.
`InputMap::event_is_action` now ignores keyboard modifiers if the event is not pressed.
Clarify difference between `InputMap::action_has_event` and `InputMap::event_is_action` in docs.
Fixes #6388 .
2016-10-19 17:52:49 +02:00
Juan Linietsky
4428115916
Everything returning to normal in 3D, still a long way to go
...
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
2016-10-19 11:14:41 -03:00
Ariel Manzur
887a897c02
adding ipv6
2016-10-18 18:53:18 -03:00
Rémi Verschelde
e96c49f849
Merge pull request #6850 from akien-mga/pr-scsub-shebang
...
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
c7ea842416
Merge pull request #6733 from Cruel/patch-1
...
Use int consistently instead of int32_t for Vectors
2016-10-17 09:53:06 +02:00
Rémi Verschelde
fb257f7f24
Merge pull request #6698 from razvanc-r/fix_hash_float
...
Fixes hash float negative 0 problem
2016-10-17 09:41:39 +02:00
Fabio Alessandrelli
2f2cea070e
Properly handle absolute paths in Globals::localize_path
...
This give a proper fix for #4280 - #3106 , allowing absolute paths
that starts from the file system, not the resource folder
2016-10-13 11:51:38 +02:00
Răzvan Cosmin Rădulescu
9ad0850301
Fixes hash float negative 0 problem
...
Before this was giving an error:
var a = {Vector2(1, 0): 5, Vector2(-1, 0): 7}
print(a)
print(a[Vector2(1, 0)])
print(a[-Vector2(1, 0)])
This simple commit fixes the issue.
2016-10-12 21:24:07 +02:00
Juan Linietsky
1527cf8c0d
2D Shaders are working again using the new syntax, though all is buggy in general
2016-10-10 18:31:01 -03:00
yg2f
a747c8ccee
xorshift32 PRNG for Math::rand_from_seed()
...
should fixes #1043
PRNG adapted from : http://excamera.com/sphinx/article-xorshift.html
2016-10-10 20:41:36 +02:00
Rémi Verschelde
b9e010fb7f
Merge pull request #6743 from mateka/issue-6296
...
Issue #6296 : When searching for control, checking if matrix is inversible
2016-10-09 14:53:32 +02:00
Mateusz Adamczyk
8671836b76
Added simple check to viewport, if matrix32 is invesile ( https://github.com/godotengine/godot/issues/6296 ).
2016-10-08 12:33:10 +02:00
Thomas Edvalson
6debabe57e
Use int instead of int32_t for Vectors
2016-10-06 16:51:19 -04:00
Răzvan Cosmin Rădulescu
f2af5ab949
fixes #6331 , Variant::can_convert
2016-10-04 15:58:12 +02:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Rémi Verschelde
917f5e9bbc
Merge pull request #6675 from J08nY/issue-vector3-angle-to
...
Adds Vector.angle_to(Vector other), fixes #3912
[ci skip]
2016-10-03 13:53:46 +02:00
J08nY
deb36b44d1
Vector3: added angle_to(Vector3 other)
2016-10-03 13:41:59 +02:00
J08nY
f468cfc379
Vector3: format properly, fix indents
2016-10-03 13:41:45 +02:00
Rémi Verschelde
1d2743302f
Merge pull request #6686 from Faless/inputevent_none_fix
...
Properly encode InputEvent of type NONE. Fix #5987
2016-10-03 12:11:53 +02:00
Rémi Verschelde
b675710b46
Merge pull request #6677 from J08nY/issue-pck-packer
...
PCKPacker: Move to core from tools, fixes #4129
2016-10-03 12:06:19 +02:00
Rémi Verschelde
bf89f43927
Merge pull request #6650 from volzhs/resource-path
...
Fix error when using 2 or more slashes on resource path
2016-10-03 12:00:22 +02:00
Rémi Verschelde
1dfa52ba59
Merge pull request #6608 from Hinsbart/signal_err
...
Throw error when trying to emit a non-existing signal.
2016-10-03 11:55:35 +02:00
Rémi Verschelde
90f4e76a46
Merge pull request #6479 from RandomShaper/improve-debug-focus
...
Improve debug focus behavior
2016-10-03 11:36:01 +02:00
Rémi Verschelde
cf4693cf18
Merge pull request #6304 from razvanc-r/master
...
(Array) .pop_front, .pop_back & .remove return values instead of void
2016-10-03 11:34:03 +02:00
Fabio Alessandrelli
941f460384
Properly encode InputEvent of type NONE. Fix #5987
...
In the editor settings you can disable default editor shortcuts.
When a default shortcut is disabled an InputEvent of type NONE must
be stored in the config file to allow the editor to remember that setting.
variant_parser.cpp was not properly encoding InputEvent of type NONE causing
the "corruption" of the editor settings file.
2016-10-03 02:40:53 +02:00
J08nY
b1fba2e013
PCKPacker: moved from tools into core, fixes #4129
2016-10-01 22:07:07 +02:00
volzhs
c333659ebc
Fix typo for word_wrap
2016-09-30 03:28:05 +09:00
volzhs
0866f49f4e
Fix error when using 2 or more slashes on resource path
2016-09-30 03:11:45 +09:00
Andreas Haas
5e7db2a5b4
Code completion for is_action_just_{pressed, released}
...
fixes #6621
2016-09-26 22:16:27 +02:00
Rémi Verschelde
73a7b91459
Merge pull request #6568 from Hinsbart/joy_names
...
Add functions to get readable names for joystick events
2016-09-26 12:45:31 +02:00
Andreas Haas
276087e92d
Throw error when trying to emit a non-existing signal.
...
closes #6017
2016-09-25 19:26:01 +02:00
Andreas Haas
e0fcd9331a
Add function to get readable names for joystick events
...
Closes #6476
2016-09-20 23:36:09 +02:00
Ignacio Etcheverry
1c50dfdf6c
Merge pull request #6557 from anneomcl/master
...
Fix for #6158
2016-09-20 09:28:26 +02:00
anneomcl
aa5ade834c
Fix for #6158 . Converting Vector2 to Size2 for scaling functions.
2016-09-19 23:31:45 -07:00
Rémi Verschelde
82f5130cad
Merge pull request #6552 from Hinsbart/vec2_clamped
...
Expose Vector2::clamped() to scripts
2016-09-20 06:33:55 +02:00
Andreas Haas
c21412fa7e
Expose Vector2::clamped() to scripts
...
Needed this and wondered that there's no built-in function for it.
So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^
2016-09-19 23:10:30 +02:00
Rémi Verschelde
1830b80719
Merge pull request #6504 from Hinsbart/joy_axis
...
Fix input action pressed state not changing for quick joystick moveme…
2016-09-17 18:37:15 +02:00
Andreas Haas
84783fe77b
Fix input action pressed state not changing for quick joystick movements.
...
fixes #6488
Also removes a bunch of dead code related to checking if a joystick axis is pressed.
2016-09-15 19:30:35 +02:00
Juan Linietsky
a75f5f039e
Added API version and hashing to ObjectTypeDB
2016-09-14 19:37:37 -03:00
Pedro J. Estébanez
66dac878ac
Improve debug focus behavior
...
Fix focusing debugged game on Windows
Add re-focusing editor on continue
2016-09-14 04:02:18 +02:00
Juan Linietsky
827a9aa829
Added a generic AStar implementation to Godot.
...
It's pretty fast, use it for games where Navigation does not cut it.
2016-09-13 18:17:18 -03:00
Juan Linietsky
37f1e86108
Do ctrl-click on any code identifier to go to definiton or help page.
2016-09-12 10:53:31 -03:00
Răzvan Cosmin Rădulescu
1a7aae7443
(Array) pop_front, pop_back return values
...
pop_front, pop_back now return values instead of `void`. Things
I didn't know how to properly implement:
1. pop_front & pop_back shows in the help menu Object as return value.
I know this is incorrect but if not Object than what? Cause it
can't be void. It needs to be a generic type that includes all the
Array types
2016-09-11 17:37:21 +02:00
Juan Linietsky
6abd1437cd
Merge pull request #5879 from gau-veldt/subarray_patch
...
Subarray patch
2016-09-10 12:22:31 -03:00
Juan Linietsky
fc61eb37ce
Merge pull request #5920 from 29jm/fix-warnings
...
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
7a27d5d9e7
Merge pull request #6363 from vnen/winrt
...
Fix the support for WinRT/UWP
2016-09-10 11:47:42 -03:00
Juan Linietsky
828e1c092f
Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C#
2016-09-07 19:39:57 -03:00
Juan Linietsky
23ababdcd5
Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399
2016-09-06 19:14:47 -03:00
Rémi Verschelde
10de1799fb
Merge pull request #6408 from supaiku-o/issue-6374
...
Show object string cast instead of object id in debugger
2016-09-06 07:51:15 +02:00
supaiku
0108e7c33a
Show object string cast instead of object id in debugger
2016-09-06 00:39:56 +02:00
Rémi Verschelde
7d600caa16
Merge pull request #6352 from hurikhan/fix_release_build_II
...
Fix release build. (II)
2016-09-05 07:44:31 +02:00
George Marques
2eaad1cfd1
Fix root path resolution on PCK file
2016-09-03 19:35:42 -03:00
Rémi Verschelde
eff6519aaf
InputEvent: Fix event comparisons when type is NONE
...
Was a regression from 2e5a4cb5ca
.
Fixes #6376 .
2016-09-02 20:31:28 +02:00
Rémi Verschelde
8216bec7d1
Merge pull request #6365 from akien-mga/pr-locales
...
i18n: Update list of supported locales based off glibc
2016-09-02 08:40:24 +02:00
Juan Linietsky
89702d545b
Basic type constants for visual script
2016-09-02 02:13:12 -03:00
Juan Linietsky
5b96c3a552
-Modified Input and added is_action_just_pressed() as well as is_action_just_released()
2016-09-01 18:59:46 -03:00
Rémi Verschelde
54e97e5ee6
i18n: Update list of supported locales based off glibc
...
Fixes #5733 , fixes #6214 .
2016-09-01 23:56:59 +02:00
Juan Linietsky
fc70824f7c
More improvements to visual script..
...
fixed a bug of not saving when sub-nodes changed.
2016-08-31 17:58:51 -03:00
Mario Schlack
588e124c53
Fix release build. (II)
2016-09-01 00:19:31 +08:00
Rémi Verschelde
e51d59ed98
Merge pull request #6188 from TheHX/undo-redo
...
Implemented UndoRedo mergeable modes
2016-08-29 19:04:42 +02:00
Juan Linietsky
748836e0b3
Several all around fixes to visual scripting (in the process of creating demos)
2016-08-28 20:59:01 -03:00
Rémi Verschelde
6c674375e5
Merge pull request #6249 from volzhs/issue-6121
...
Show last added action on Input Map
2016-08-28 12:02:08 +02:00
volzhs
2e5a4cb5ca
Show last added action on Input Map and implement InputEvent "=="
2016-08-28 15:18:13 +09:00
Rémi Verschelde
3cc08ab1f1
Merge pull request #6270 from neikeq/pr-m32-ctor
...
Matrix32: Add a constructor which takes six real_t params
2016-08-27 22:32:20 +02:00
Rémi Verschelde
c29c70275e
Merge pull request #6187 from TheHX/pr-pinfo-function
...
Added add_property_info function to Globals and EditorSettings classes
2016-08-27 22:04:50 +02:00
Ignacio Etcheverry
3b67643978
Merge pull request #6290 from caryoscelus/master
...
fix string iterator
2016-08-27 15:29:06 +02:00
George Marques
d015d93b8f
Merge pull request #6239 from volzhs/fix-return-spb
...
Fix StreamPeerBuffer::duplicate() does not return value
2016-08-26 22:25:24 -03:00
caryoscelus
810fbb70ae
fix string iterator
...
Since strings are null-terminated, size() returns incorrect length,
so use length() instead.
fixes #6287
2016-08-26 10:42:01 +03:00
Juan Linietsky
9c6175db11
More visual script work
...
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Ignacio Etcheverry
3578800230
Matrix32: Add constructor that takes six real_t params
2016-08-24 18:54:23 +02:00
Juan Linietsky
ad8f208bdb
Proper function/property selection in visual script editing for property.
...
This one has an ordered list, built-in description, search, etc.
2016-08-23 19:29:07 -03:00
volzhs
79628b1351
Fix StreamPeerBuffer::duplicate() does not return value
2016-08-22 22:30:22 +09:00
Juan Linietsky
cbbcf72703
-High Level protocol optimization (should be smaller)
...
-Ability to set compression to ENet packets (check API)
-Fixed small bug in StringDB that lead to duplicate empty strings
-Added a new class, StreamPeerBuffer, useful to create your own tightly packed data
2016-08-22 01:19:24 -03:00
Juan Linietsky
2b7aa98d2d
Changed API to use sequenced packets for UDP (drop old)
2016-08-19 22:54:53 -03:00
Juan Linietsky
1add52b55e
Brand new networked multiplayer
2016-08-19 16:48:41 -03:00
Franklin Sobrinho
debf574df3
Implemented UndoRedo mergeable modes
2016-08-17 17:14:51 -03:00
Franklin Sobrinho
9f242ed6e5
Added add_property_info function to Globals and EditorSettings classes
2016-08-16 17:10:53 -03:00
Juan Linietsky
3db36684b1
Added high level networked multiplayer to Godot.
...
It's complete, but absolutely and completely untested, undocumented and NSFW.
Have fun :-)
2016-08-14 18:49:50 -03:00
Juan Linietsky
01bdfe1ff6
Missing some bits, and added connection status.
2016-08-14 14:07:23 -03:00
Juan Linietsky
c21aae65b6
-Added an ENet implementation for NetworkedMultiplayerPeer for "a bit higher level" networking.
2016-08-14 14:07:23 -03:00
Johan Manuel
67b29e3b9e
Fix some warnings about misleading indentation
2016-08-13 13:21:35 +02:00
Johan Manuel
046f94d3ac
Remove some unused variables
2016-08-13 13:21:35 +02:00
Johan Manuel
8c0a050d49
Fix some warnings about unhandled switch cases
2016-08-13 13:21:35 +02:00
Juan Linietsky
df6dbadc3e
Fixed bug in make_dir_recursive, closes #6016
2016-08-08 18:21:06 -03:00
Rémi Verschelde
5d9967ef00
Merge pull request #6055 from eska014/native-bind-rettype
...
Allow documenting unexposed return types in bind_native_method
2016-08-08 18:23:36 +02:00
Juan Linietsky
9865650b43
Added a simpler way to do sub-functions in both visual and gdscript with the subcall node.
...
With this, visual script is almost done (missing registering custom nodes from addon).
All this is probably pretty broken, too and needs a lot of testing.
2016-08-08 01:21:22 -03:00
Juan Linietsky
0b8f0670c5
Automatically turn on process callbacks if relevant callbacks in node exists
2016-08-07 20:08:15 -03:00
Juan Linietsky
b77200728e
-Added yield nodes to visual script
...
-Added input selection nodes to visual script
-Added script create icon for those who miss it, will only appear when it can be used.
2016-08-07 19:22:33 -03:00
Juan Linietsky
9714a36e65
Reverted printable null object, seems to cause bugs around and not sure why.
...
Will have to check better, likely for 3.0
2016-08-06 20:13:27 -03:00
Juan Linietsky
9890c1d2ca
Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done!
2016-08-06 19:00:54 -03:00
Juan Linietsky
259418f827
VisualScript can now execute visual scripts, but there is no debugger or profiler yet.
2016-08-05 22:48:00 -03:00
eska
4cd246898e
Allow documenting unexposed return types in bind_native_method
...
Document return type of `Object.call` and `GDScript.new`
2016-08-06 02:21:29 +02:00
Juan Linietsky
d8af6330e5
More progress on visual script editing
2016-08-03 11:28:43 -03:00
Juan Linietsky
3d1d190dcd
Merge branch 'master' of https://github.com/godotengine/godot
2016-08-02 19:11:47 -03:00
Juan Linietsky
ad313097eb
WIP visual scripting, not working yet but you can check out stuff
2016-08-02 19:11:05 -03:00
Rémi Verschelde
37ce438787
Merge pull request #5976 from allkhor/master
...
Fix String::is_valid_integer() for single symbols + and -
2016-07-31 20:07:20 +02:00
eska
b80c42ef4e
Document FuncRef, GDFunctionState, InstancePlaceholder, RID, World2D
2016-07-30 21:27:58 +02:00
allkhor
09c4d65b64
Fix String::is_valid_integer() for single symbols + and -
2016-07-31 00:18:30 +06:00
Ignacio Etcheverry
2d4c4b6ea9
Fix regression with str() improvements for math types
2016-07-28 14:58:12 +02:00
Rémi Verschelde
c6c9f29827
Merge pull request #5921 from neikeq/pr-issue-5919
...
Prettier str() for some math types
2016-07-27 17:23:17 +02:00
Ignacio Etcheverry
eefca1ada9
Prettier str() for some math types
2016-07-27 17:00:07 +02:00
Bojidar Marinov
2150855faf
Fix reading of empty StringArray-s in .tscn
...
Closes #5912
2016-07-27 17:59:42 +03:00
Juan Linietsky
9151eb591d
Changed the way the step decimals are computed to a safer way, fixes many issues.
2016-07-26 17:25:10 -03:00
Juan Linietsky
c9d0053754
Merge pull request #5524 from pkowal1982/master
...
Array has(var value) function
2016-07-24 12:21:29 -03:00
Rémi Verschelde
308d405c31
Turn some prints to error logs, remove others
...
Fixes #5876 in passing.
2016-07-24 00:02:19 +02:00
Gau o fthe Veldt
82d4cb5114
Added slicing operation to DVector via DVector.subarray(int start,int end) method.
...
Negative indices index from the end of the array.
Indices are range checked before attempting and return appropriate error when out of range.
Binding for RawArray in gdscript to access DVector.subarray() provided.
Documentation of RawArray.subarray() in classes.xml provided.
2016-07-23 12:52:41 -07:00
Johan Manuel
5d52146ff7
Fix warnings in core/variant_op.cpp
...
Adds default cases in switches where needed, and replaces '0;' with ';;'
in macro expansions (as suggested by @vnen in #5587 ).
2016-07-23 14:58:37 +02:00
Rémi Verschelde
c57b992774
Merge pull request #5847 from 29jm/patch-3
...
Expose virtual keyboard functions to GDScript
2016-07-22 08:39:07 +02:00
Johan Manuel
ec8c6e2c7c
Expose virtual keyboard functions to GDScript
2016-07-21 23:58:58 +02:00
Rémi Verschelde
d723e5a62f
Merge pull request #5560 from vnen/os-request-attention
...
Add OS.request_attention() for Windows
2016-07-21 17:29:45 +02:00
Juan Linietsky
79a7473cac
put text formats for resources and scenes as priority
2016-07-19 21:40:05 -03:00
Juan Linietsky
0988970c1f
Fixed properly not save signals that already exist in their base scenes, closes #5656
2016-07-19 21:26:12 -03:00
Rémi Verschelde
87d0515d09
Fix main scene not being saved when set via Play button
...
Fixes #1134 for real. Also tweaked the engine.cfg template
and the preference order when browsing for the main scene.
2016-07-19 21:35:14 +02:00
Rémi Verschelde
525fb01fd2
Revert "Homogeinize resource formats loaders/savers"
...
The text format definition needs to stay in `scene/` as it relies
on other scene components, and `core/` must stay self-contained.
This reverts commits a5e27503fd
and 1492fd8460
.
2016-07-19 18:15:01 +02:00
Rémi Verschelde
c328693e83
Merge pull request #5709 from akien-mga/pr-get-engine-version
...
OS: Add get_engine_version method
2016-07-18 00:55:29 +02:00
Rémi Verschelde
b2953bc1cc
OS: Add get_engine_version method
...
Fixes #5693 .
2016-07-18 00:54:56 +02:00
Rémi Verschelde
8de5aedb9e
Merge pull request #5718 from jay3d/master
...
Added gyroscope support to Godot and Android
2016-07-18 00:52:15 +02:00
Rémi Verschelde
22419082d9
Remove some noisy debug prints
...
Part of #5031
2016-07-17 18:25:21 +02:00
Juan Linietsky
24d86e33a6
Merge pull request #5467 from RandomShaper/enhance-tidy-extensions
...
Enhance/tidy file extensions management
2016-07-16 09:28:49 -03:00
Rémi Verschelde
f07d4f556a
i18n: Add missing locale identifiers for Bengali and Urdu
...
Fixes errors showing up since the addition of those WIP translations.
2016-07-16 13:17:09 +02:00
Jamil Halabi
370ae3512d
Added gyroscope support to Godot and Android
2016-07-16 01:43:32 +08:00
George Marques
9a931e333c
Fix binding of File::get_sha256()
...
Fix #5698
2016-07-14 14:23:22 -03:00
punto-
bba89aef3b
Merge pull request #5559 from Hinsbart/connected_joysticks
...
Input: add get_connected_joysticks() method.
2016-07-10 14:00:27 -03:00
Juan Linietsky
9dac41432e
Merge pull request #5443 from samuelgrigolato/iterate-string-in-gdscript
...
Add support to String type in gdscript iteration
2016-07-10 13:32:37 -03:00
Juan Linietsky
28641fd9b8
Merge pull request #5525 from SuperUserNameMan/window_get_latin_kb_variant
...
windows get_latin_keyboard_variant() implementation and gdscript binding, #5503
2016-07-10 12:41:05 -03:00
Rémi Verschelde
3a70d4a072
Merge pull request #5589 from akien-mga/pr-unused-var
...
Removing some more unused vars and dead code
2016-07-09 14:33:30 +02:00
Rémi Verschelde
a15de80942
classref: Fix arg name for is_action_pressed/released
...
Also position TEXTURE_SPHERE constant properly.
2016-07-08 23:40:43 +02:00
Rémi Verschelde
f40f360a2c
Remove unused variables (fourth pass) + dead code
...
Also fix a potential regression from 3fcb9b1ec1
.
2016-07-08 16:47:55 +02:00
Pawel Kowal
96eb97cbbf
Array has(var value) function
2016-07-07 11:40:38 +02:00
George Marques
29b62ce5d0
Make sure builtin types' constants remain in order
...
This adds a list of constants for VariantCall to make sure the order of
register is kept when showing in the editor help and in the documentation.
This also remove the sorting of constants from the doctool, so it keeps
the natural order in classes.xml.
2016-07-05 17:09:16 -03:00
George Marques
5c355a63d3
Add OS.request_attention() for Windows
2016-07-05 12:29:08 -03:00
J08nY
0f767fe8b9
Fixed HQ2x compiler warnings
2016-07-05 16:52:31 +02:00
Andreas Haas
45cfd199a4
Input: add get_connected_joysticks() method.
...
fixes #5465
2016-07-05 14:08:02 +02:00
SuperUserNameMan
7a142780f0
windows get_latin_keyboard_variant() implementation and gdscript binding
2016-07-03 19:35:13 +02:00
Juan Linietsky
eade613dc7
Merge pull request #5522 from neikeq/pr-issue-5519
...
Prettier str() for arrays
2016-07-02 11:35:30 -03:00
Ignacio Etcheverry
38ed5d9c7d
Prettier str() for arrays
2016-07-02 15:54:37 +02:00
Juan Linietsky
72ab3c2236
Do a second stage remap, so it considers translation first, atlas second, closes #5147
2016-06-29 10:18:46 -03:00
Pedro J. Estébanez
1492fd8460
Make text formats preferent over binary ones
2016-06-28 19:25:10 +02:00
Pedro J. Estébanez
92f10a3582
Tidy up population of extensions list
2016-06-28 18:58:40 +02:00
Pedro J. Estébanez
a5e27503fd
Homogeinize resource formats loaders/savers
2016-06-28 18:27:12 +02:00
Rémi Verschelde
bd424d8f73
Fix style bug in event queue
...
Same fix as for 1f9812ab83
Not sure if this code actually does anything though, `buffer_max_used` seems unused.
2016-06-28 08:00:33 +02:00
Juan Linietsky
1f9812ab83
fix bug in reporting of message queue size
2016-06-27 19:07:58 -03:00
Juan Linietsky
efdcf205d2
Make most resources (save for packedscenes and scripts) reload if they change on disk. Closes #4059 .
2016-06-27 13:17:20 -03:00
Juan Linietsky
47d6cc08bb
Properly deliver localized coordinates when passing gui events through parents, closes #4215
2016-06-27 10:00:36 -03:00
Samuel Grigolato
9ac7eaa89c
Add support to String type in gdscript iteration. #5188
2016-06-26 21:13:31 -03:00
Juan Linietsky
fb9d1498bf
Cleaner way to enable ptrcall
2016-06-26 11:59:25 -03:00
Juan Linietsky
3813160ea0
-Fix crashes with thread_exit()
...
-Added draft of C script API (still disabled and unused)
2016-06-26 10:54:45 -03:00
Rémi Verschelde
8a5d23c820
Merge pull request #5412 from vnen/dvector-invert-bind
...
Expose *Array.invert() to script
2016-06-26 09:46:51 +02:00
George Marques
a6ec3af349
Expose *Array.invert() to script
...
Properly solve #4601 .
2016-06-25 14:16:28 -03:00
Juan Linietsky
8dac3bf3b1
Added function to notify ScriptLanguage when a thread is created/freed, allows scripts to allocate a stack there via TLS
2016-06-25 10:41:23 -03:00
Juan Linietsky
62dfee768d
changed way to return reference
2016-06-24 20:06:07 -03:00
Rémi Verschelde
d52fa2e0eb
Merge pull request #5380 from vnen/string-canvasitem-docs
...
Documentation for String and CanvasItem
2016-06-24 21:16:20 +02:00
George Marques
f4dfa37a23
Fix bug in String==StrRange comparison
...
It was comparing the StrRange with itself, always return true if both
were the same length.
Fix #3843
2016-06-24 12:39:58 -03:00
George Marques
98b02209a4
Add sha256_buffer() function to String
2016-06-23 13:59:23 -03:00
Rémi Verschelde
60fa2b9815
Merge pull request #5201 from Hinsbart/quat_op
...
Expose missing Quaternion operators.
2016-06-23 10:00:05 +02:00
Rémi Verschelde
0f54ab93bc
Fix typo to PTRCALL_ENABLED from previous commit
...
And boo @reduz, those trailing spaces :p
2016-06-23 07:54:30 +02:00
Rémi Verschelde
20112a338d
Merge pull request #5338 from J08nY/array-bindings
...
*Array bindings
2016-06-23 07:21:10 +02:00
Juan Linietsky
d6225b1e00
Improved binding system (ObjectTypeDB::bind_method) to be friendlier to statically typed languages, should help in the Mono integration.
...
Disabled by default.
2016-06-22 23:13:41 -03:00
J08nY
797168e62d
*Array: added bindings for other DVector methods
...
- affects {RAW,INT,REAL,STRING,VECTOR2,VECTOR3,COLOR}_ARRAY
- adds bindings for append(),append_array(),remove(),insert()
- broadens #4245
2016-06-22 11:51:59 +02:00
Rémi Verschelde
0266d752b3
Merge pull request #5333 from J08nY/signal-list-fix
...
Object: get_signal_connection_list fixed
2016-06-22 07:52:23 +02:00
Juan Linietsky
3edf66477a
Fixed error using the same atlas rect for all images, closes #4139
2016-06-21 20:51:41 -03:00
Juan Linietsky
d57b09e47b
Better support in ScriptLanguage for GC based scripts
2016-06-21 19:36:22 -03:00
Andreas Haas
d08092e113
Expose missing Quaternion operators.
...
Scripts can now evaluate the following cases:
- (quat * real) and (quat / real)
- (quat + quat) and (quat - quat)
2016-06-21 23:26:38 +02:00
Andreas Haas
6d09183c44
Set default duration parameter of joystick vibration to 0.
2016-06-21 17:06:41 +02:00
Rémi Verschelde
81a5e4238d
Merge pull request #5325 from vnen/doc-file
...
Add class reference for File class
2016-06-21 16:34:18 +02:00
George Marques
0f20d8756e
Fix File.get_as_text() to return the whole file
...
It was returning only from the cursor forward.
2016-06-21 11:25:03 -03:00
J08nY
621b8d1324
Object: get_signal_connection_list fixed
...
now returns only the connections for the signal argument, as specified
fixes #5329
2016-06-21 13:07:50 +02:00
Juan Linietsky
fa0d1cd27c
fix CanvasItem.get_global_transform() and CanvasItem.get_local_transform(), closes #4075
2016-06-20 21:19:12 -03:00
Juan Linietsky
9d4cdc6d8a
fix bug decompressing bc texture, closes #4404
2016-06-20 19:43:06 -03:00
Juan Linietsky
6872139300
Add quotes to .tscn keys, solves #4366
2016-06-20 18:41:59 -03:00
Juan Linietsky
e9d2c9ad51
added missing status, closes #4361
2016-06-20 17:54:42 -03:00
Rémi Verschelde
3668768463
Merge pull request #5196 from vnen/similarity-code-completion
...
Improve code completion search
2016-06-20 13:37:24 +02:00
Juan Linietsky
5e816fd8c8
Property reporty base type when a function fails, fixes #4581 probably also closes other issues
2016-06-20 01:15:02 -03:00
George Marques
1b8d0a16b7
Add similarity comparison to String
...
Uses the Sorensen-Dice coefficient to calculate similarity. This also adds
String.bigrams() as a convenience function needed by the comparison.
2016-06-19 11:39:01 -03:00
Rémi Verschelde
e76f744c36
Merge pull request #5283 from djrm/remove_prints
...
Removed lots of prints
2016-06-19 13:10:23 +02:00
Rémi Verschelde
df202127e3
Merge pull request #5281 from J08nY/useless-preprocessor
...
Fix #5263 : Useless preprocessor condition
2016-06-19 13:09:25 +02:00
Juan Linietsky
7c20c386c5
-Added trigger mode to tracks, useful for properties that work as triggers, such as playing a sample, an animation, etc.
...
-Better interpolation of discrete tracks, fixes #4417
2016-06-19 01:43:02 -03:00
Daniel J. Ramirez
422fac5066
Removed lots of prints
2016-06-18 18:01:06 -05:00
J08nY
449571b6cd
Remove USE_QUAD_VECTORS unused check
2016-06-19 00:41:52 +02:00
J08nY
a95a1f47a4
Remove CHARTYPE_16BITS unused checks
...
fix #5263
2016-06-19 00:12:31 +02:00
Juan Linietsky
1c541a2bee
corrently parse utf8 from zip_io open, closes #1708
...
this probably failed when exporting or opening android apk files too, should fix that too.
2016-06-18 17:29:41 -03:00
Rémi Verschelde
c3bf11d4d4
Drop fully commented-out files
...
Part of #5272
2016-06-18 20:23:49 +02:00
Rémi Verschelde
80727b6896
Drop empty .cpp files for header-only classes
...
Part of #5272
2016-06-18 20:00:08 +02:00
Rémi Verschelde
b7dbf9207a
Drop empty files that are not used anywhere
...
Part of #5272
2016-06-18 19:46:30 +02:00
Juan Linietsky
d8be671313
-Changed how Dir works so it's more user friendly, closes #4705
2016-06-18 12:11:48 -03:00
Juan Linietsky
e3905a084e
-made get_space_left() return values more homogenous, also for script, converted to mb, closes #4617
2016-06-18 11:32:45 -03:00
Juan Linietsky
61655d6dc2
Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872
2016-06-18 11:13:03 -03:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Juan Linietsky
ebbd705b63
Merge pull request #5250 from bojidar-bg/add-sha256
...
Add sha256 to String and File/FileAccess.
2016-06-17 10:57:15 -03:00
Bojidar Marinov
7073bb0bb2
Add sha256 to String and File/FileAccess.
...
Probably does #4166
2016-06-17 10:55:16 +03:00
Juan Linietsky
f0d9245ecf
-added missing .inc files
...
-Made it possible to change the editor theme
-Added two options to theme editor plugin to create empty template themes and editor themes
-Make sure that saved themes to .tres keep the null theme fields, to make it easier to keep those when saving/loading the theme
2016-06-17 01:13:23 -03:00
J08nY
6bbc53ee18
Fixed PacketPeer.get_var() return type in docs
2016-06-16 14:15:44 +02:00
J08nY
cffdc52482
Classref: Added docs for StreamPeer* ( #5216 )
2016-06-15 13:32:12 +02:00
Rémi Verschelde
78b745bb0a
Merge pull request #5192 from J08nY/issue-5190
...
Dictionary: rename param in .has() .has_all() .erase()
2016-06-15 11:13:59 +02:00
Rémi Verschelde
ee105744e0
Merge pull request #5210 from J08nY/issue-5189
...
String documentation: .ord_at() returns int not String
2016-06-15 11:08:10 +02:00
Wilhem Barbier
f665200df7
Add joystick vibration support on Linux ( #5043 )
2016-06-15 07:25:35 +02:00
J08nY
58a891265a
String documentation: .ord_at() returns int not String
...
fixes #5189
2016-06-14 14:52:32 +02:00
Juan Linietsky
5f674bdca1
Merge pull request #5179 from RandomShaper/better-android-export
...
Enhanced Android export
2016-06-13 15:06:37 -03:00
J08nY
7a19e3c6ae
Dictionary: rename param in .has() .has_all() .erase()
...
fixes #5190 , param should be named key, not value
2016-06-13 19:08:04 +02:00
Juan Linietsky
20b4567829
Merge pull request #5177 from vnen/string-subsequence
...
Add subsequence search to tools
2016-06-13 13:25:56 -03:00
Juan Linietsky
45443a1651
Changed reload logic to auto-hard-reload scripts on save. It's simpler to use and also fixes #4756
2016-06-13 10:58:32 -03:00
Juan Linietsky
910151a361
-Avoid negative zero from being saved to config files o resource files, fixes #4758
2016-06-13 10:16:43 -03:00
Juan Linietsky
7f02627290
-Add visible IO errors when closing a file fails due to it being locked (most likely on windows), closes #4760
2016-06-13 10:10:50 -03:00
Pedro J. Estébanez
e1948d520a
Zip-align exported APK
2016-06-13 00:19:45 +02:00
George Marques
a6c37d2b5d
Add 'is_subsequence_of' function to String
2016-06-12 14:52:54 -03:00
Juan Linietsky
4bb93c976c
Made error when signal calls a method with the wrong number of parameters more detailed, closes #4893
2016-06-12 12:32:45 -03:00
Juan Linietsky
9ddc13a5cc
-All variables from script are visible through get_property_list(), not just those with export()
...
-Added PROPERTY_USAGE_SCRIPT_VARIABLE to identify what comes from script
-closes #5146
2016-06-11 18:34:49 -03:00
George Marques
46b6bb9dc4
Add 'rfind' function to Array
2016-06-10 17:46:57 -03:00
George Marques
269d570420
Add 'from' argument to Array.find()
2016-06-10 15:43:07 -03:00
Juan Linietsky
f8f30662d9
-Ability to reload (and soft reload) tool scripts. Please test!
2016-06-08 20:00:52 -03:00
Juan Linietsky
4b893ffeeb
Merge pull request #4861 from brakhane/negative-indexing
...
Add support for Python-like negative indexing
2016-06-07 10:17:00 -03:00
J08nY
8a4eca8aa8
Exposed Image.INTERPOLATE_*
2016-06-07 11:46:07 +02:00
Rémi Verschelde
0729c852b4
Fix indentation issues in last commits
...
Ping @reduz.
2016-06-07 07:39:40 +02:00
Juan Linietsky
c86f1f1737
Merge pull request #4693 from kjohnson0451/dvector_invert
...
Adds invert() method DVector
2016-06-06 20:54:39 -03:00
Juan Linietsky
82b759d938
Merge pull request #4895 from TheoXD/_fix_interactive_loader_cache
...
fixed interactive_loader() not returning a cached scene
2016-06-06 20:35:54 -03:00
Juan Linietsky
736b65e566
Merge pull request #4977 from SaracenOne/scripting_expose
...
Expose extra methods and constants to scripts
2016-06-06 20:27:40 -03:00
Juan Linietsky
be830d10c2
Merge pull request #5026 from Geequlim/patch9frame-extension
...
Enhanced Patch9Frame
2016-06-06 20:15:33 -03:00
Juan Linietsky
7499fa4507
Merge pull request #5048 from J08nY/dictionary
...
Added Dictionary.values()
2016-06-06 20:09:04 -03:00
Juan Linietsky
c42651c39e
Merge branch 'master' of https://github.com/godotengine/godot
2016-06-06 19:56:34 -03:00
Juan Linietsky
85f4f39279
Added function get_signals_connected_to_this_this()
...
should help properly implement #5058
2016-06-06 19:55:50 -03:00
Roberto
04fc62c4e3
Add missing license information (MiniZip)
2016-06-06 12:32:02 +02:00
Juan Linietsky
2420e46b44
vsync support
...
-works on windows
-may not work on X11, if so please fix
-OSX does not seem to support disabling vsync
2016-06-05 19:14:33 -03:00
Dennis Brakhane
1e068d34f4
Add support for Python-like negative indexing
...
Negative indexing is a useful feature in Python, especially when combined
with array slicing. Array slicing will hopefully be implemented later, but
negative indexing is useful in its own right.
A negative index is indexing from the end of an array,
"array[-1] == array[array.size()-1]", using a negative index
larger/smaller than the length of the array is still an error.
While primarily useful for arrays and strings, support is also added to
"array like" structures like Vector3 and Color. This is done just
to be consistent; vector3[2] is much clearer than vector3[-1], but disallowing
it while allowing it for an array with 3 elements seems confusing.
2016-06-05 20:00:54 +02:00
Dennis Brakhane
842057e56f
Move repetitive code to macros
...
In preparation for the following "allow negative indexing" commit,
replace the repetitive array "set index" and "get index" code with
macros.
no functional changes were made, the resulting machine code is unchanged.
2016-06-05 20:00:54 +02:00
Andreas Haas
a9779efe82
fix ui_* input events in Editor
...
`input/` is the category for these in globals ^^
fixes #5050
2016-06-05 19:06:57 +02:00
J08nY
dcce477f5e
Added Dictionary.values()
2016-06-05 14:50:06 +02:00
Juan Linietsky
64fd75d91a
Make Input Actions config not affect the editor
2016-06-05 01:19:42 -03:00
Juan Linietsky
007efb6a20
-customizable shortcuts in editor
...
-editor settings now save to .tres instead of .xml
-buttons can now hold a shortcut
2016-06-04 21:31:47 -03:00
Rémi Verschelde
279b7921e8
Merge pull request #5036 from J08nY/inputmap-actions
...
Added InputMap.get_actions()
2016-06-04 21:37:57 +02:00
Rémi Verschelde
2884faf55b
Merge pull request #4999 from volzhs/fix-project-path
...
change invalid characters when get user data dir on Windows & Unix
2016-06-04 21:37:47 +02:00
Geequlim
fdf914e53e
Add texture region support for stylebox render
2016-06-05 00:45:53 +08:00
Juan Linietsky
3ae61f2292
Created a NodeDock with signals and groups
2016-06-04 13:19:08 -03:00
J08nY
1a80b2a04a
Added InputMap.get_actions()
...
get_actions() lists all actions in the InputMap.
2016-06-04 17:56:30 +02:00
J08nY
5f5ca8cd9b
Added Array.find_last() and Array.count()
2016-06-03 23:36:02 +02:00
J08nY
b4fb4a131d
Fix typo in http_client.h
2016-06-03 21:48:20 +02:00
Geequlim
2bbedd35dd
Expose ResourceImportMetadata::set_source_md5 for script
2016-06-03 18:45:44 +08:00
volzhs
9073dc9963
change invalid characters when get user data dir on Windows & Unix
...
Can't create user data folder when project name has ``\ / : * ? " < > |`` characters on OS_Windows & OS_Unix.
So, change it to ``-`` to be able to make folder.
fixes #4928 and it's altanative to #4986 .
2016-06-03 03:39:37 +09:00
Juan Linietsky
9e745b920f
Ability to reload scripts on running game
2016-06-01 20:31:42 -03:00
Ignacio Etcheverry
cceb842a48
Removed invalid DEFVAL for HTTPClient::request_raw
2016-06-01 18:47:04 +02:00
Saracen
4bcc60008d
Expose Vector2 abs method to scripts
2016-06-01 15:47:53 +01:00
Saracen
445909c1e1
Exposed remaining PROPERTY_USAGE constants to script
2016-06-01 15:47:49 +01:00
Saracen
7ebc422945
Expose string 'erase' method to script
2016-06-01 15:47:46 +01:00
Andreas Haas
da3247a500
Make Color.{rgba}8 return int instead float
...
According to the class doc, these should be int.
Also fixed a little bug: the setter for 'r8' changed the green value
2016-05-31 20:50:19 +02:00
Juan Linietsky
9b1f8230ec
-Some fixes to OSX retina scaling for window functions
...
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
TheoXD
47bd1e8688
fixed interactive_loader() not returning a cached scene
2016-05-30 02:47:33 +02:00
Juan Linietsky
4f100f92d8
DPI Detection support
...
Windows only for now.
Many builds may break (older visual studio, mingw32)
2016-05-29 13:40:21 -03:00
Rémi Verschelde
96bdab6edf
Merge pull request #4845 from vnen/pr-magnetometer
...
Add magnetometer sensor support for Android
2016-05-29 18:37:33 +02:00
Juan Linietsky
3e8eb396d7
Finalized DynamicFont implementation
...
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
Juan Linietsky
bccdc11dde
Added translation support to Godot
...
included is a French translation!
2016-05-27 19:58:28 -03:00
fluffrabbit
4877b714b3
Add magnetometer sensor support for Android
2016-05-27 14:36:55 -03:00
Juan Linietsky
8be2fabbe5
Changed import workflow
...
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Geequlim
728ce570a5
Add spaces to macros in memory.h to make C++11 compilers happy
2016-05-27 16:48:27 +08:00
Juan Linietsky
b2a4908e9c
Real-Time Remote Inspector support
2016-05-22 19:29:06 -03:00
Juan Linietsky
eacb8f04c4
Merge remote-tracking branch 'origin/master'
2016-05-21 22:34:55 -03:00
Juan Linietsky
a75f896338
First version of Profiler
...
It is now possible to profile GDScript as well as some parts of Godot
internals.
2016-05-21 21:18:16 -03:00
Hubert Jarosz
33403d91f7
remove trailing whitespace
2016-05-21 15:29:25 +02:00
Juan Linietsky
c195c0df6b
-Added configuration warning system for nodes
...
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
punto-
433de90564
Removing round from int interpolation
...
This might break some animations that use int tracks in continuous mode, but it should provide a more uniform interpolation for things like sprite frames.
2016-05-17 13:27:49 -03:00
kjohnson0451
eb10c21a00
Adds the invert() method to DVector.
...
This effectively allows invert() to be used on the following types:
ByteArray, IntArray, RealArray, StringArray, Vector2Array, Vector3Array, ColorArray
2016-05-16 13:06:41 -04:00
Juan Linietsky
bed3efb17e
New reworked AnimatedSprite!
...
-New SpriteFrames editor, with support for drag&drop, multiple animation
sets, animation speed and loop.
-New AnimatedSprite, with support for all the new features!
AnimatedSprite3D has not been updated yet.
-Added support for drag&drop to other editors, such as resourcepreload,
sample library, etc.
2016-05-14 23:48:45 -03:00
Rémi Verschelde
22d1385caf
classref: Directory and ConfigFile
2016-05-12 08:41:43 +02:00
Mattias Cibien
49c473bb36
Added possibility to strip left and right to strip_edges ( #4594 )
2016-05-11 09:22:59 +02:00
Rémi Verschelde
21a71e8b7c
Merge pull request #4553 from AlexHolly/fix-percent-decode-utf8
...
fix percent decode utf8 error
2016-05-07 20:19:32 +02:00
Rémi Verschelde
c556a97b27
Variant: readd String.ends_with and Dict.has_all
...
Erroneously removed in cfd3efd097
.
2016-05-06 10:45:09 +02:00
Ariel Manzur
cfd3efd097
export fix_alpha_edges
2016-05-05 18:41:06 -03:00
Alexander Holland
f86cffd8e6
fix percent decode utf8 error
2016-05-05 13:34:15 +02:00
Rémi Verschelde
c71afda499
Merge pull request #4549 from AlexHolly/httpclient-rawbody-support
...
HTTPClient request with raw_array body
2016-05-05 09:30:33 +02:00
Rémi Verschelde
99e31e1005
Merge pull request #4547 from neikeq/pr-wrong-debug-methods
...
Fix wrong return and argument types in documentation
2016-05-05 09:27:14 +02:00
Alexander Holland
ab1da5dc1b
httpclient request withh raw_array body
2016-05-04 19:49:01 +02:00
Juan Linietsky
89d87294db
ability to shrink all images x2 on load
...
this is for extreme cases when running on devices with very low video
memory, so you can still retain compatibility.
2016-05-04 12:37:07 -03:00
Ignacio Etcheverry
2060e6616c
Add missing Vector2Array case to Variant::operator String()
...
- Correcly display Vector2Array default arguments in the documentation
2016-05-04 15:16:24 +02:00
Juan Linietsky
567cb691ec
Modified editor strings to be translatable in the future
2016-05-03 22:25:37 -03:00
Juan Linietsky
5bb7cef836
Support for dynamic fonts (TTF)
...
Added support for DynamicFont, which can load a TTF of any size to use
as a font. No import required.
2016-05-01 23:13:06 -03:00
Rémi Verschelde
6883325f92
math: Fix rounding error for 0 in Math::round ( #4495 )
...
Thus revert the previous workaround in commit b123bc4a2a
.
Fixes #3221 .
2016-05-01 11:37:46 +02:00
Franco Eusébio Garcia
a735573327
Add math/script expression evaluation in editor ( #3620 )
...
Rebase of #453
2016-05-01 10:33:32 +02:00
Alexander Holland
6ad226ac38
fix - HTTPClient connection keep-alive duplicate Headers #4208
2016-04-27 21:07:49 +02:00
Rémi Verschelde
a1ebf555b7
Merge pull request #4409 from Hinsbart/encode_axis_value
...
Encode axis_value in Variant for InputEvent::JOYSTICK_MOTION.
2016-04-24 14:32:43 +02:00
Hinsbart
9201b5a27c
Encode axis_value in Variant for InputEvent::JOYSTICK_MOTION.
...
Fixes a bug that caused InputMap actions which have been set to joystick axes
not to work correctly on exported builds as the axis_value property wouldn't be serialized into engine.cfb.
See recent discussion in #49 (Post 121+)
2016-04-23 15:26:07 +02:00
Hinsbart
3b12f9ea82
add sign comparison for joystick axis events in InputMap::_find_event
...
fixes #4400
2016-04-22 16:36:45 +02:00
Rémi Verschelde
fd07ef07fa
Merge pull request #4345 from mownier/add/getter/http-client-connection
...
Added getter method for the connection property in HTTPClient.
2016-04-18 13:50:09 +02:00
Mounir Ybanez
0ca7e19242
Added getter method for the connection property in HTTPClient. ( #4336 )
...
- Exposed a getter method for the private property named `connection` in HTTPClient class.
2016-04-18 17:16:15 +08:00
Alexander Holland
a379ed56ea
string ends_with
2016-04-17 23:49:21 +02:00
Bojidar Marinov
7a18bb8ace
Fix File.get_csv_line not including quoted newlines in the output
...
Close #1232
2016-04-16 15:12:29 +03:00
Rémi Verschelde
89fcd529f3
Merge pull request #4223 from AlexHolly/dictionary-has-all
...
dictionary has_all
2016-04-11 20:59:35 +02:00
punto-
e8a0b2462b
Use non-templated nearest_power_of_2
...
Works around #4262 and likely #4190 .
(cherry picked from commit 3a390e9b44
)
2016-04-11 08:49:44 +02:00
Rémi Verschelde
473de561f8
Remove duplicate
2016-04-07 21:20:22 +02:00
Alexander Holland
a8ebd43ab7
dictionary has_all
2016-04-04 18:37:43 +02:00
Rémi Verschelde
0a5472e697
Remove trailing spaces
2016-04-02 20:26:12 +02:00
Rémi Verschelde
81b449908e
Add support for patch versions (2.0.x)
...
(cherry picked from commit 706d576f7b
)
2016-03-22 18:41:09 +01:00
Kyle Luce
674c6f2f2d
Add function to convert Date time from a dictionary to Epoch
...
- Also changed get_time_from_unix_time to get_date_time_from_unix_time to be
consistent.
Ticket:
https://github.com/godotengine/godot/issues/4038
2016-03-16 23:13:39 -07:00
Kyle Luce
feef563f3f
Fixes the month consistency issue in enums and get_date etc
...
- Also updated the docs to reflect this.
- Added some vim temp files to gitignore
- Changed NaCL to be consistent with the other OS_Unix::get_date implementation
(added 1 to month to map to 1-12)
Ticket:
https://github.com/godotengine/godot/issues/4025
2016-03-13 15:27:39 -07:00
Rémi Verschelde
801221d01b
Remove undefined binds
...
Bug introduced by 6eb4812
2016-03-12 18:53:13 +01:00
Saracen
6eb4812317
Borderless window support for the Win32 build. Default window position is now also centred.
2016-03-12 16:38:12 +00:00
Juan Linietsky
8b1dcbfe4d
-Made editor support SSL certs by default (embedded them)
...
-Made asset sharing support https
-Many fixes to HTTPRequest
-Added an asset installer dialog
-Visual cleanups to asset sharing tab
-Fixed some issues in ScrollContainer, hope it does not break things
-Asset sharing tab is not visible (hidden on purpose) for now.
2016-03-12 10:46:38 -03:00
Rémi Verschelde
042f8bf88c
Merge pull request #3934 from Razzlegames/epocConvert
...
Added epoc to dictionary converter (for human readable display when only given an epoc time)
2016-03-10 15:00:58 +01:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Rémi Verschelde
1dad6eca81
Merge pull request #3991 from JoshuaGrams/issue-3711
...
Issue 3711
2016-03-08 23:54:46 +01:00
Rémi Verschelde
32bb7a04a2
Merge pull request #3833 from AlexHolly/feature-file-md5
...
expose md5 for file(s) to gdscript
2016-03-08 19:32:33 +01:00
Josh Grams
f7fad32188
Variant::blend: add Quat, fix Vector3.
2016-03-08 06:38:19 -05:00
hondres
9544042adb
fix InputMap::action_erase_event()
...
fixes #3976
2016-03-07 19:00:17 +01:00
Kyle Luce
866e47ec54
Added epoc to dictionary converter
...
Useful for when user is storing time as epoc and wants to do operations on this
time and then display in human readable form
https://www.facebook.com/groups/godotengine/permalink/737469773056286/?comment_id=738011009668829&reply_comment_id=738192799650650¬if_t=group_comment_reply
2016-03-05 12:15:01 -07:00
Juan Linietsky
5a9b18b665
-Work on addon editor plugin (disabled by default)
...
-New HTTPRequest node, to make HTTP requests simpler.
2016-03-04 11:10:48 -03:00
Rémi Verschelde
002ff3cc9a
Revert "Merge pull request #3814 from est31/iterators_for_for"
...
This reverts commit adf5056889
, reversing
changes made to ee2bc87c0e
.
2016-03-01 18:09:48 +01:00
Josh Grams
391ce81c5e
AnimationTreePlayer: blend value tracks ( closes #2299 )
...
Variant:
- zero() sets a Variant to the appropriate type of zero value
- blend() blends part of one Variant on top of another.
2016-03-01 07:37:36 -05:00
est31
0b24a13fa0
Fix bug with nearest_power_of_2_templated
...
We have to shift log(num of bits) many times not num of bytes many.
2016-02-29 06:51:19 +01:00
sheepandshepherd
bc87ce6236
Add RangeIterator class for loops
2016-02-28 22:47:41 +01:00
Juan Linietsky
6fc1c3a4d1
Completed the support for plugins! It is not possible to add plugins.
...
Not all APIs are provided yet, please request whathever you are missing.
Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings.
Have fun!
2016-02-27 23:12:27 -03:00
Alexander Holland
d093f558ab
expose md5 for file(s) to gdscript
2016-02-25 19:25:29 +01:00
Rémi Verschelde
32e1a56cd3
Merge pull request #3771 from est31/fix_memalloc
...
Fix allocation bug
2016-02-23 22:12:25 +01:00
eska
104e008b56
Fix missing dependency resolver in Windows
2016-02-21 22:51:19 +01:00
Ariel Manzur
cc7cca55b0
adds original http headers to response_headers
2016-02-19 17:13:29 -03:00
Ariel Manzur
5e36ae3bb6
adds original http header to response_headers
2016-02-19 17:13:29 -03:00
Ariel Manzur
3ac0267daa
better array alignment
2016-02-19 07:01:57 -03:00
Ariel Manzur
0846ab6a5f
fixes array allocation bug and sets DEFAULT_ALIGNMENT to 1. probably needs testing
2016-02-19 05:40:24 -03:00
est31
fb1e52f4d8
Fix allocation bug if compiled with modern clang or gcc
...
* Add overflow checked intrinsic abstractions that check on overflow.
* Use them for memory allocation code.
* Use size_t type for memory allocation code to support full platform dependent width.
Fixes #3756 .
2016-02-19 07:58:42 +01:00
Aren Villanueva
7b25641813
Reject any native video player calls on iOS that point to files within .pck archives.
...
Fix the paths for both res:// and user:// specified video files.
2016-02-19 16:05:49 +11:00
Nuno Donato
b51c720c80
fix color when hue is set to 1
2016-02-18 10:34:45 +00:00
Rémi Verschelde
130f8fa193
Rename KEY_KP_SUBSTRACT to KEY_KP_SUBTRACT
...
The former name was incorrect in English, though for us latin lovers it's an understandable mistake.
Second part of and closes #3626 .
2016-02-17 23:01:27 +01:00
Rémi Verschelde
188474df52
Merge pull request #3743 from StraToN/fix_ustring_camelcase2underscore
...
Fixed String::camelcase_to_underscore() so it works in all cases.
2016-02-17 21:27:37 +01:00
sheepandshepherd
c88c60d08e
Correct octree's AABB intersect test, fixes #3576 and #3253
2016-02-17 20:06:40 +01:00
Julian Murgia - StraToN
7b47153072
Fixed String::camelcase_to_underscore() so it works in all cases. Fixes PR #1650
2016-02-17 19:26:22 +01:00
hondres
6de2b9d864
doc: use correct identifier for InputEventJoystick{Motion, Button}
2016-02-10 23:37:25 +01:00
hondres
df4faf8f33
support horizontal mouse wheel, use in text editor
2016-02-04 17:16:22 +01:00
Rémi Verschelde
c0aade4ba4
Merge pull request #3493 from Hinsbart/wm_class
...
x11: use different strings for WM_CLASS depending on context
2016-02-03 11:30:22 +01:00
Rémi Verschelde
7cb930dbed
Merge pull request #3502 from trtstm/csv
...
Added delimiter to File.get_csv_line
2016-02-03 11:21:52 +01:00
Rémi Verschelde
fc65a57ff5
Merge pull request #3538 from Hinsbart/temp
...
remove pc_joystick_map.h
2016-02-03 11:18:43 +01:00
Juan Linietsky
f6a8a0f513
-Correctly flip BG texture if viewport is flipped, fixes #3507
2016-02-02 07:40:38 -03:00
Juan Linietsky
9386b76497
-Propertly detect mantissa floats in variantparser, fixes #3257
2016-02-01 19:17:05 -03:00
Juan Linietsky
b587614653
Make sure variant parser recognizes "nil" for compatibility with old engine.cfg style cofig. Closes #3531
2016-02-01 19:01:06 -03:00
Juan Linietsky
cecb37a7a3
Merge pull request #3532 from eska014/fix-globals-vectors
...
Encode vectors in Globals
2016-02-01 18:59:47 -03:00
hondres
f4fa74fe28
remove pc_joystick_map.h
2016-02-01 14:28:53 +01:00
Rémi Verschelde
d3bd1a731c
Merge pull request #3533 from Biliogadafr/FixColorArrayTscn
...
Parse ColorArrays correctly (tscn), fixes #3530
2016-02-01 11:53:23 +01:00
Biliogadafr
31fe57778d
Parse ColorArrays correctly (tscn)., fixes #3530
2016-02-01 02:56:58 +03:00
Ariel Manzur
0cd8c054a2
thread renaming
2016-01-31 20:23:24 -03:00
eska
b653762491
Encode vectors in Globals
2016-02-01 00:20:55 +01:00
Juan Linietsky
817fd1ab71
-Added method flags to global constants for script
...
-Added a new flag METHOD_FLAG_FROM_SCRIPT to get_method_list() flag property. Closes #3489
2016-01-31 15:40:51 -03:00
eska
0c85009f1c
Remove debug prints
2016-01-29 18:04:06 +01:00
tmt
2447c3171f
File: Added delimiter to get_csv_line
2016-01-28 23:20:18 +01:00
hondres
11e4c128ac
x11: use different strings for WM_CLASS depending on context
2016-01-27 21:53:37 +01:00
Rémi Verschelde
6ceb1c3a9f
Merge pull request #3440 from TheHX/issue-2946
...
Fixed small inconsistencies with the text format
2016-01-25 10:58:50 +01:00
Franklin Sobrinho
41ae83e415
Fixed small inconsistencies with the text format
2016-01-24 18:38:37 -03:00
Juan Linietsky
72d1f2ef30
Merge pull request #3437 from vnen/fix-3149
...
Change default video mode for X11
2016-01-24 17:44:26 -03:00
reduz
341f8e6d2b
-remved p_peer is null error messages, fixes #1150
2016-01-24 16:59:39 -03:00
George Marques
f4a39692b9
Change default window size for desktop
...
Fix #3149
2016-01-24 17:52:33 -02:00
Juan Linietsky
c247f5ad61
Removed get() function from many variant typed arrays, fixes #2135
2016-01-24 01:00:42 -03:00
Juan Linietsky
a74138a0dc
-Some changes to how scenes and scripts are overriden in scene instance and inheritance
...
-Fixes #3127 and also properly fixes #2958
2016-01-23 21:42:15 -03:00
Juan Linietsky
c9580965ea
-Remote deploy now uses FS over USB on Android, super fast!
2016-01-20 00:29:34 -03:00
volzhs
fb2bf78591
Add ability to set "keep screen on" for android
2016-01-16 20:57:34 +09:00