Commit Graph

3695 Commits

Author SHA1 Message Date
Rémi Verschelde 7ce99c23dd Version 2.0.4 stable 2016-07-09 01:05:23 +02:00
Rémi Verschelde af3cf7806e OSX export: Default to fat format, make it an enum
Since we want to distribute only the fat binary in the official templates, this should
make it work out of the box. 32 bits and 64 bits options are still available for people
that want them, but will throw an error if the binaries are not in the template zip.

(cherry picked from commit 02aeac12d1)
2016-07-09 01:01:31 +02:00
Ariel Manzur 687248bbf4 added "arch" parameter, made iphone use it to build isim
(cherry picked from commit 10c512e46d)
2016-07-09 00:54:22 +02:00
Rémi Verschelde 6d6b14d112 iOS simulator: merge into iphone detect.py
Fixes #4489

(cherry picked from commit dc8c145488)
2016-07-09 00:54:16 +02:00
Juan Linietsky 75cc8dc6b4 corrently parse utf8 from zip_io open, closes #1708
this probably failed when exporting or opening android apk files too, should fix that too.

(cherry picked from commit 1c541a2bee)
2016-07-09 00:08:33 +02:00
Rémi Verschelde 106199dfa7 classref: Add docs for InputEvent* and InputMap
(cherry picked from commit 69c8b583e7)
2016-07-08 23:45:31 +02:00
Rémi Verschelde 192688e7eb classref: Fix arg name for is_action_pressed/released
Also position TEXTURE_SPHERE constant properly.

(cherry picked from commit a15de80942)
2016-07-08 23:41:58 +02:00
eska a9a8bb281d Pass mouse position to Input singleton in web export
(cherry picked from commit 4beeff9433)
2016-07-08 21:27:00 +02:00
Franklin Sobrinho 90c8dbb890 Fix own world option of Viewport.
It happens when the viewport has WorldEnviroment child with a valid Enviroment

(cherry picked from commit 6b154c9706)
2016-07-08 20:47:19 +02:00
Juan Linietsky 6e7db99614 Avoid crash if setting modifiers fails, closes #5158
(cherry picked from commit 7e3044981e)
2016-07-08 19:28:54 +02:00
Juan Linietsky 3963f89ebd remove warnings if a script is missing and can't be opened
(cherry picked from commit d8c31e0e74)
2016-07-08 19:28:54 +02:00
Juan Linietsky f4a5963ca9 Fix several bugs related to node duplication and signals, closes #5405
(cherry picked from commit 17e4ead62a)
2016-07-08 19:18:09 +02:00
Pawel Kowal d4cb381ce0 Update String.capitalize() documentation
(cherry picked from commit fe49b71804)
2016-07-08 19:15:03 +02:00
Rémi Verschelde 2c3511a284 classref: Sync for new sorting of constants 2016-07-08 19:13:06 +02:00
George Marques 9420a1b6c1 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.

(cherry picked from commit 29b62ce5d0)
2016-07-08 19:01:59 +02:00
volzhs 8aeacd935c Fix crash when null value through jni on android
(cherry picked from commit b09dbaa78e)
2016-07-08 19:01:36 +02:00
Ignacio Etcheverry f9b7baa546 Prettier str() for arrays
(cherry picked from commit 38ed5d9c7d)
2016-07-08 18:56:50 +02:00
Andreas Haas 7589307911 Windows: prevent freeze while moving or resizing the game window.
When moving or resizing the window, Windows spins up a seperate event-loop, effectively blocking the normal one.
To work around this, we're starting a timer that will continue sending WM_TIMER messages which we can use to keep the mainloop running.

fixes #4695

(cherry picked from commit 6856c52491)
2016-07-08 18:56:28 +02:00
Juan Linietsky 6199efbc7e throw error if GridContainer::set_columns goes below 1, closes #5316
(cherry picked from commit f6725f9768)
2016-07-08 18:52:30 +02:00
Juan Linietsky 801db4c708 Make both signals be ordered and samplelibrary items too, fixes scenes changing for git, closes #5289
(cherry picked from commit b391306828)
2016-07-08 18:52:17 +02:00
Juan Linietsky 9b90d70ae7 Only emit item_selected once per Tree row, closes #5280
(cherry picked from commit 89bb72b2d3)
2016-07-08 18:48:46 +02:00
Juan Linietsky 242ceb1869 Remove error when getting dependencies from tscn files in some cases, closes #3897
(cherry picked from commit 519fce94e9)
2016-07-08 18:43:29 +02:00
Juan Linietsky de0b7b871b Fix bug in inner class reference, closes #1411
(cherry picked from commit cf6450043d)
2016-07-08 18:42:07 +02:00
Juan Linietsky eaca35adfe Fixed bug related to resolving constants in a class, closes #1110
(cherry picked from commit f4c6640827)
2016-07-08 18:42:02 +02:00
Juan Linietsky dffa1da012 Fix extends issue, closes #4026
(cherry picked from commit 565bb3afcc)
2016-07-08 18:41:37 +02:00
Juan Linietsky a2103bac7c Fixed bug in instance state ordering, closes #3904
(cherry picked from commit 8e1c0f287d)
2016-07-08 18:39:23 +02:00
Juan Linietsky a2d2eb9a63 Avoid recursion in filesystem scanning, closes #3838
(cherry picked from commit 41a26528e4)
2016-07-08 18:39:12 +02:00
Rémi Verschelde 3ce0380ba4 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.

(cherry picked from commit bd424d8f73)
2016-07-08 18:38:35 +02:00
Juan Linietsky 34e6e284db fix bug in reporting of message queue size
(cherry picked from commit 1f9812ab83)
2016-07-08 18:38:14 +02:00
Juan Linietsky 302abb1449 Properly complain when a scene file has not be selected, closes #3811
(cherry picked from commit d41b7a66e9)
2016-07-08 18:36:06 +02:00
Juan Linietsky c5fd6a3b69 Ability to rotate controls using tool, closes #3800
(cherry picked from commit e2d208f122)
2016-07-08 18:34:31 +02:00
Juan Linietsky 6813c89021 Properly deliver localized coordinates when passing gui events through parents, closes #4215
(cherry picked from commit 47d6cc08bb)
2016-07-08 18:34:10 +02:00
Ferdinand Thiessen 406daa8f7f Fix compiling for X11 on non-86, this fixes #5444
(cherry picked from commit 9e751178eb)
2016-07-08 18:33:27 +02:00
George Marques 694120210a Fix visual server error when minimizing the window
(cherry picked from commit bf44275b1a)
2016-07-08 18:33:13 +02:00
Juan Linietsky 9a7c310134 Avoid mirroring to go negative to fix crash, closes #4036
(cherry picked from commit 10f411b47b)
2016-07-08 18:23:22 +02:00
Juan Linietsky ea7da3bf08 remove the warning of instances in use at exit
(cherry picked from commit 8baa85d6b4)
2016-07-08 18:23:08 +02:00
Juan Linietsky 9592dd3e3b Fix error reporting when a scene is not imported properly, closes #3968
(cherry picked from commit 33f1204dc4)
2016-07-08 18:20:55 +02:00
Paulb23 9d85bfa00a Fixed selected text turning black, issue 5199
(cherry picked from commit 7f98f37f13)
2016-07-08 18:18:48 +02:00
Pedro J. Estébanez 5083e18b89 Optimize member access with self
Let the compiler take the fast path when a member is superfluously accessed with `self.`.

(cherry picked from commit d306b9bea5)
2016-07-08 18:18:00 +02:00
paper-pauper 3ff466770a Changes X11 res_name to "Godot_Engine"
Add additional/alternative WM_CLASS; only affects the game window, avoids redundancy and allows finer control in WMs (#5265)
(cherry picked from commit dd1ad31757)
2016-07-08 18:16:09 +02:00
volzhs 584deb807e Fix string array parameter check with jni
(cherry picked from commit 456b7733fc)
2016-07-08 18:07:11 +02:00
volzhs 6116174d49 Remove duplicated aidl for android
Tested IAP function on device.

(cherry picked from commit a5a5bdef25)
2016-07-08 18:06:59 +02:00
Rémi Verschelde 8a451e49e5 Revert "Fixed the order of events called by _input, closes #4384"
This reverts commit 299b0102f0.
2016-07-08 16:25:19 +02:00
Saracen b0aab53853 Dynamic property list for control margins allowing floating point properties to be used with ratio anchors.
(cherry picked from commit d8392dd117)
2016-07-08 16:25:19 +02:00
Juan Linietsky 10eedf62b8 Fixed bug using DirAccess in Android Marshmallow due to data dir being a symlink 2016-07-02 11:46:15 -03:00
Rémi Verschelde 673ef0cf88 Ignore some 2.1-specific files 2016-06-25 02:04:27 +02:00
Andreas Haas f7436c7d16 Add "bool" to GDScript reserverd keywords
Noticed that "bool" wasn't highlighted when used like `export(bool) var is_xy = false`

(cherry picked from commit c871cf6801)
2016-06-25 02:04:27 +02:00
George Marques c015341221 Fix bug in String==StrRange comparison
It was comparing the StrRange with itself, always return true if both
were the same length.

Fix #3843

(cherry picked from commit f4dfa37a23)
2016-06-25 02:04:27 +02:00
Juan Linietsky 6e49bc8210 Properly report a valid error instead of reporting as a bug, closes #3841
(cherry picked from commit 95e3279d34)
2016-06-25 02:04:27 +02:00
volzhs c2226d1199 Fix network IP setting change
Fix #5368

(cherry picked from commit 515472bc52)
2016-06-25 02:04:27 +02:00