Commit Graph

511 Commits

Author SHA1 Message Date
Juan Linietsky
fb255a69b6 Add quotes to .tscn keys, solves #4366
(cherry picked from commit 6872139300)
2016-06-25 01:41:59 +02:00
Juan Linietsky
1bfaea0d76 added missing status, closes #4361
(cherry picked from commit e9d2c9ad51)
2016-06-25 01:41:59 +02:00
J08nY
be4babccba Fixed PacketPeer.get_var() return type in docs
(cherry picked from commit 6bbc53ee18)
2016-06-25 01:41:57 +02:00
J08nY
109e58cf75 Classref: Added docs for StreamPeer* (#5216)
(cherry picked from commit cffdc52482)
2016-06-25 01:41:56 +02:00
J08nY
c1e004ffca String documentation: .ord_at() returns int not String
fixes #5189

(cherry picked from commit 58a891265a)
2016-06-25 01:41:56 +02:00
J08nY
d8d926730c Dictionary: rename param in .has() .has_all() .erase()
fixes #5190, param should be named key, not value

(cherry picked from commit 7a19e3c6ae)
2016-06-25 01:22:42 +02:00
Juan Linietsky
da45e32ef1 -Avoid negative zero from being saved to config files o resource files, fixes #4758
(cherry picked from commit 910151a361)
2016-06-25 01:22:41 +02:00
Juan Linietsky
acc552c447 Made error when signal calls a method with the wrong number of parameters more detailed, closes #4893
(cherry picked from commit 4bb93c976c)
2016-06-25 01:22:41 +02:00
J08nY
74d0f8b65b Exposed Image.INTERPOLATE_*
(cherry picked from commit 8a4eca8aa8)
2016-06-25 00:21:56 +02:00
TheoXD
5a45b295ae fixed interactive_loader() not returning a cached scene
(cherry picked from commit 47bd1e8688)
2016-06-25 00:15:28 +02:00
Roberto
b18000349e Add missing license information (MiniZip)
(cherry picked from commit 04fc62c4e3)
2016-06-25 00:10:59 +02:00
Andreas Haas
7bff33ea92 fix ui_* input events in Editor
`input/` is the category for these in globals ^^
fixes #5050

(cherry picked from commit a9779efe82)
2016-06-25 00:09:26 +02:00
Juan Linietsky
d5bed26e42 Make Input Actions config not affect the editor
(cherry picked from commit 64fd75d91a)
2016-06-25 00:05:40 +02:00
volzhs
356c35954a 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.

(cherry picked from commit 9073dc9963)
2016-06-25 00:05:00 +02:00
J08nY
845a0e2566 Added InputMap.get_actions()
get_actions() lists all actions in the InputMap.

(cherry picked from commit 1a80b2a04a)
2016-06-05 00:03:48 +02:00
J08nY
8a7c4c017f Fix typo in http_client.h
(cherry picked from commit b4fb4a131d)
2016-06-05 00:00:28 +02:00
Andreas Haas
2b06d7e6f7 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

(cherry picked from commit da3247a500)
2016-06-04 22:20:02 +02:00
Geequlim
178168aa8a Add spaces to macros in memory.h to make C++11 compilers happy
(cherry picked from commit 728ce570a5)
2016-06-04 22:20:02 +02:00
Rémi Verschelde
c734a508c3 classref: Directory and ConfigFile
(cherry picked from commit 22d1385caf)
2016-05-12 09:07:43 +02:00
Mattias Cibien
c575f31d5d Added possibility to strip left and right to strip_edges (#4594)
(cherry picked from commit 49c473bb36)
2016-05-12 09:04:59 +02:00
Alexander Holland
f58cfaf585 fix percent decode utf8 error
(cherry picked from commit f86cffd8e6)
2016-05-12 08:59:30 +02:00
Ignacio Etcheverry
975b4d2927 Add missing Vector2Array case to Variant::operator String()
- Correcly display Vector2Array default arguments in the documentation

(cherry picked from commit 2060e6616c)
2016-05-06 11:13:25 +02:00
Rémi Verschelde
ea9b552e27 Variant: readd Dict.has_all
Erroneously removed in 4bc494ae2e.
2016-05-06 10:56:39 +02:00
Juan Linietsky
d6e30256ad 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-05 18:43:47 -03:00
Ariel Manzur
4bc494ae2e export fix_alpha_edges 2016-05-05 18:42:55 -03:00
Rémi Verschelde
26c2e0d09d math: Fix rounding error for 0 in Math::round (#4495)
Thus revert the previous workaround in commit b123bc4a2a.
Fixes #3221.
(cherry picked from commit 6883325f92)
2016-05-01 12:28:01 +02:00
Alexander Holland
d3ee8de754 fix - HTTPClient connection keep-alive duplicate Headers #4208
(cherry picked from commit 6ad226ac38)
2016-04-29 07:42:40 +02:00
Hinsbart
93b1f60ca2 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+)

(cherry picked from commit 9201b5a27c)
2016-04-27 20:17:13 +02:00
Hinsbart
94b321822d add sign comparison for joystick axis events in InputMap::_find_event
fixes #4400

(cherry picked from commit 3b12f9ea82)
2016-04-27 20:16:51 +02:00
Bojidar Marinov
ff1d370b9f Fix File.get_csv_line not including quoted newlines in the output
Close #1232

(cherry picked from commit 7a18bb8ace)
2016-04-27 08:50:03 +02:00
Alexander Holland
d4d810faac dictionary has_all
(cherry picked from commit a8ebd43ab7)
2016-04-27 08:36:08 +02:00
punto-
3a390e9b44 Update vector.h
using non-templated neares_power_of_2
2016-04-11 03:34:10 -03:00
Rémi Verschelde
cbac9a2ca3 Remove duplicate
(cherry picked from commit 473de561f8)
2016-04-07 21:28:28 +02:00
Rémi Verschelde
bac8248316 Remove trailing spaces
(cherry picked from commit 0a5472e697)
2016-04-02 22:19:40 +02:00
Hubert Jarosz
424a104666 remove trailing whitespace
(cherry picked from commit 4a4f247914)
2016-04-02 22:03:48 +02:00
Josh Grams
ee20365f7c Variant::blend: add Quat, fix Vector3.
(cherry picked from commit f7fad32188)
2016-04-02 22:00:18 +02:00
hondres
656aa0a501 fix InputMap::action_erase_event()
fixes #3976

(cherry picked from commit 9544042adb)
2016-04-02 21:58:26 +02:00
Rémi Verschelde
706d576f7b Add support for patch versions (2.0.x) 2016-03-06 19:05:27 +01:00
Josh Grams
cafcdb015d 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.

(cherry picked from commit 391ce81c5e)
2016-03-05 12:55:43 +01:00
est31
b05c27a27f 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-27 15:26:18 +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
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