Commit Graph

5857 Commits

Author SHA1 Message Date
Juan Linietsky 548a69aca7 Merge pull request #5909 from akien-mga/pr-gles2-error-before-crash
GLES2: Check for GPU capabilities to display an error
2016-07-26 18:48:55 -03:00
Dima Granetchi 759e20aac6
Command-F focus filter input field in project manager 2016-07-27 00:48:00 +03:00
Rémi Verschelde 80e8904784 Merge pull request #5905 from jlopezcur/master
Update Tween class documentation
2016-07-26 23:30:52 +02:00
Rémi Verschelde 60e19f7751 Fix GraphEdit dragging issues at scales != 1
Works around the issue originally described in #5907 (that was then
hijacked to describe the broader issue it exposes).
2016-07-26 23:19:41 +02: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
Rémi Verschelde fd659e869b Windows: Make alert message box use MB_TASKMODAL
This flag pauses the current running thread, allowing for the user to see the
alert and acknowledge it before the thread continues (and e.g. crashes :)).

Thanks to @SuperUserNameMan for finding it.
Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
2016-07-26 15:16:45 +02:00
Rémi Verschelde 8d4d167234 Merge pull request #5918 from Hinsbart/sc-mapping
Add gamepad mapping for the free steam controller userspace driver.
2016-07-26 12:03:12 +02:00
Andreas Haas ccf6b3151d Add gamepad mapping for the steam controller userspace driver. 2016-07-26 11:54:59 +02:00
Rémi Verschelde bc6e750f95 Merge pull request #5913 from djrm/fix_bake_segfault
Stop baking process if there is no geometry in the BakedLightInstance.
2016-07-26 07:17:48 +02:00
Daniel J. Ramirez 213a57ccaf Stop baking process if there is no geometry in the BakedLightInstance.
moved missing baked light warning to BakedLightInstance configuration warning
2016-07-25 21:45:20 -05:00
Rémi Verschelde a155342eca GLES2: Check for GPU capabilities to display an error
The engine will still segfault, but the error message should be displayed by the
OS in a blocking manner, so that it will only crash once users have acknowledged
the error dialog.

Closes #1162.
2016-07-25 23:08:46 +02:00
Javier López Úbeda 2f8910185e Update Tween class documentation 2016-07-25 21:15:27 +02:00
Rémi Verschelde 6273ec901f Merge pull request #5902 from 29jm/fix-warnings
Fix some warnings
2016-07-25 18:41:25 +02:00
Johan Manuel a2b8ef6d51 Fix some warnings 2016-07-25 16:46:26 +02:00
Rémi Verschelde f86176d20b Merge pull request #5900 from bojidar-bg/fix-integer-ranges
Fix default ranges of the inspector, as well as Range.
2016-07-25 12:46:10 +02:00
Bojidar Marinov 7dbdfe8dbd
Fix default ranges of the inspector
Probably closes #3091
(Should apply to Variant::REAL and Variant::INT)
2016-07-25 12:41:17 +03:00
Rémi Verschelde 29c1a6eb23 Merge pull request #5898 from MarianoGnu/master
expose bottom panel button to EditorPlugin scripts
2016-07-25 08:58:58 +02:00
MarianoGNU 23a20791d1 Update documentation. 2016-07-24 18:09:56 -03:00
MarianoGNU ed094d52a9 expose bottom panel button to EditorPlugin scripts 2016-07-24 16:42:40 -03:00
Juan Linietsky ab93fd1af9 Add thread support to HTTPRequest, changed assetlib to use it. 2016-07-24 16:09:43 -03:00
Juan Linietsky 85f365bbff shows progress (bytes) on download even if getting chunked content 2016-07-24 14:37:52 -03:00
Rémi Verschelde 991d9394d7 Bump version to 2.1-rc1 2016-07-24 18:17:20 +02:00
Rémi Verschelde dc3c32b488 Merge pull request #5894 from vnen/windows-set-position
Avoid changing position when the window is fullscreen
2016-07-24 17:55:25 +02:00
Rémi Verschelde f8f3f30248 Merge pull request #5893 from akien-mga/pr-invisible-col
Fix non-visible col number in text editor
2016-07-24 17:55:12 +02:00
Juan Linietsky 6b0a810970 Merge pull request #5855 from Alex-doc/fix_velocity_at_pos
Fix #5854 (get_contact_collider_velocity_at_pos() strange behavior)
2016-07-24 12:53:07 -03:00
Juan Linietsky 62cdfeaf58 Merge pull request #5881 from neikeq/pr-fix-propagation
Viewport: Replace obsolete "windows" group calls
2016-07-24 12:37:59 -03:00
Juan Linietsky 6e3c7fe5fe Merge pull request #5803 from jarfil/issue/origin5695-pr
Fix tooltips blinking
2016-07-24 12:37:17 -03:00
Juan Linietsky 0b75f894c3 Merge pull request #5746 from Ovnuniarchos/FileDialogExposed
Corrections and additions to FileDialog
2016-07-24 12:36:05 -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
Juan Linietsky ba625a14c6 Merge pull request #5447 from RandomShaper/parallax-layer-fix-tidy
Improve parallax mirroring algorithm
2016-07-24 12:19:27 -03:00
Juan Linietsky 9213400cd5 Merge pull request #5415 from volzhs/improve-android-payment
Improve android payment
2016-07-24 12:18:13 -03:00
Rémi Verschelde 60d9373547 Fix non-visible col number in text editor
The issue itself cannot be fully fixed due to the changes in 864c0e8,
but this solution makes the bug less likely to happen (it would only
happen with > 5 digits for line or column, and/or a much bigger font.
Could be further refined by taking the configured font into account...

Fixed #5890.
2016-07-24 17:12:11 +02:00
George Marques 7be70c5a3c
Avoid changing position when the window is fullscreen 2016-07-24 12:07:59 -03:00
Juan Linietsky bafcabb157 Merge pull request #5832 from Algrin6/patch-1
Fixes defects in Curve2D and Curve3D
2016-07-24 11:44:42 -03:00
Ignacio Etcheverry 67640c84eb Viewport: Replace obsolete "windows" group calls
- Fixes neighbour focusing event propagation not being stopped
2016-07-24 14:11:30 +02:00
Alex Piola 2182ee3270 Merge remote-tracking branch 'origin/fix_velocity_at_pos' into fix_velocity_at_pos 2016-07-24 12:55:50 +02:00
Alex Piola ffdd9f16dd Fix for incorrect velocity report due to a typo.
Closes #5854
2016-07-24 12:53:07 +02:00
Rémi Verschelde 8fbe804bd1 Merge pull request #5884 from 29jm/fix-crash-graphnode
Fix crash when GraphNode wasn't a child of a Control
2016-07-24 00:37:20 +02:00
Johan Manuel 580b4465c6 Fix crash when GraphNode wasn't a child of a Control 2016-07-24 00:25:32 +02: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
Rémi Verschelde ebefdaa598 Merge pull request #5737 from neikeq/pr-issue-5269
TextEdit: Scroll search results to the center
2016-07-23 22:54:32 +02:00
Rémi Verschelde 990a23e48e Merge pull request #5821 from TheHX/issue-5795
Improved FileSystem dock "Instance" option
2016-07-23 22:53:41 +02:00
Rémi Verschelde e2644ed188 Merge pull request #5875 from 29jm/fix-warnings
Fix warnings in core/variant_op.cpp
2016-07-23 22:33:46 +02:00
Rémi Verschelde d248a7d78b Merge pull request #5882 from neikeq/pr-issue-1481
Project Manager: Added project list scrolling with keyboard
2016-07-23 22:32:57 +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
Ignacio Etcheverry 761193ecd9 Project Manager: Added project list scrolling with keyboard 2016-07-23 21:37:25 +02: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
Juan Linietsky 221cb58382 Add some doc to ImmediateGeometry 2016-07-23 08:58:57 -03:00
Rémi Verschelde 1eefff283a Merge pull request #5872 from akien-mga/pr-libraries-update
Update embedded libraries: rg_etc1 1.04, zlib 1.2.8, RtAudio 4.1.2
2016-07-23 13:54:43 +02:00
Rémi Verschelde c1ab343f02 RtAudio: Update to upstream version 4.1.2
The only differences we have with the upstream tarball are marked with
`// -GODOT-` comments for clarity. The changes we currently have are
just some defines for cross-platform configuration, and could likely be
moved to the SCons buildsystem (ideally in a sub-environment to avoid
having RtAudio-specific defines pollute the whole build log).

One change for WinRT was not kept, if it is needed it should ideally be
integrated upstream:
```
 #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || defined(__WINDOWS_WASAPI__)
-#ifdef WINRT_ENABLED
-  #define MUTEX_INITIALIZE(A) InitializeCriticalSectionEx(A, 0, 0)
-#else
   #define MUTEX_INITIALIZE(A) InitializeCriticalSection(A)
-#endif
```
2016-07-23 13:25:25 +02:00