Commit Graph

6300 Commits

Author SHA1 Message Date
Sipaha a6b160660c Move wait_for_flush out of queue lock
(cherry picked from commit f6ee4cac39)
2017-08-27 12:49:09 +02:00
Paulb23 802fab11e4 Fixed not being able to scroll to eof
(cherry picked from commit a0457341fc)
2017-08-27 12:48:33 +02:00
Rémi Verschelde 215ce6ab2b Rename "Default" window placement mode to "Top Left"
It is no longer the default value ;)

(cherry picked from commit 686294e4f2)
2017-08-27 12:47:52 +02:00
Andreas Haas 8ed6ddd49f SceneTreeEditor: Fix node_selected signal emission.
Fixes #10131

(cherry picked from commit a80371ce0a)
2017-08-27 12:46:01 +02:00
Rémi Verschelde 8bbe893319 minizip: Fix compatibility with Gentoo's unique zlib API
Fixes #10539 in a diplomatic way (as opposed to telling Gentoo users
to just change their distro or rebuild zlib from upstream...).

(cherry picked from commit 67e6c1b735)
2017-08-27 12:41:52 +02:00
Rémi Verschelde 67a093e844 minizip: Reapply Godot-specific changes for seek support
I have not assessed whether they are still all relevant.

(cherry picked from commit 53fffa12f1)
2017-08-27 12:41:00 +02:00
Rémi Verschelde 487684921c minizip: Sync with pristine contrib/minizip from zlib 1.2.4
Godot-specific changes are undone in this commit, they will be readded
and properly documented in the following commit.

(cherry picked from commit 5681b7b60a)
2017-08-27 12:40:46 +02:00
Andreas Haas e41b44747c TextEdit: Fix line padding.
off-by-one error in the line count calculation.

Fixes #10411

(cherry picked from commit 58b2f441a7)
2017-08-27 12:40:27 +02:00
Rémi Verschelde 5bcfe43a14 Workaround missing WM_TOUCH on mingw-w64 < 4.0
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/

(cherry picked from commit 2ed87f33cf)
2017-08-27 12:36:55 +02:00
Andreas Haas 2ab7a6feb0 TextEdit: Moving between words now works across lines.
Fixes #10403

(cherry picked from commit 3f2d806b02)
2017-08-27 12:36:33 +02:00
Juan Linietsky f6575f8d9a Fixes crash related to animatio editor, closes #8687
(cherry picked from commit cf2fdcb63e)
2017-08-27 12:26:07 +02:00
Jakub Grzesik da15a1b50d spatial selection if subscene geometry is far from origin
(cherry picked from commit 78e72c8e79)
2017-08-27 12:23:09 +02:00
TwistedTwigleg 34263fd39f Exposed create_from_mesh in Navmesh
(cherry picked from commit deaf095dcf)
2017-08-27 12:22:37 +02:00
Rémi Verschelde a6805f37d3 Buildsystem: Prevent building X11/server with GCC 6+
This is due to a Godot bug which is now fixed in the master branch, but would require
too much work for a short-lived branch such as 2.1. Building release binaries with GCC 6+
will trigger segfaults due to UB when dereferencing pointers with Object::cast_to.

In theory this check should also be made for Windows cross-compilation with MinGW,
but I am more concerned about Linux distros shipping broken binaries than adventurous
cross-compilers hitting a wall.
2017-08-27 11:11:35 +02:00
Rémi Verschelde cf80fbc95c RtAudio: Restore previous (incorrect but safer) buffer size
See #10683 for a potential better fix, but this close to the 2.1.4 release
I am taking the safe route.
2017-08-27 10:12:25 +02:00
George Marques 40a778a709
WinRT: Remove unneeded include
Fix #10642
2017-08-25 19:52:20 -03:00
Rémi Verschelde 2656d7c32a Bump version to 2.1.4-rc 2017-08-25 19:27:01 +02:00
Rémi Verschelde 4e2ae2720f doc: Sync with current source 2017-08-25 19:26:30 +02:00
Rémi Verschelde 711259e6c9 Merge pull request #10604 from DrMoriarty/2.1_atlas_packing
more efficient atlas packing algorithm
2017-08-25 16:34:09 +02:00
Vasiliy Makarov bbf66945e7 more efficient atlas packing algorithm 2017-08-25 09:57:55 +03:00
elasota 0895f02d87 "On Top" flag for Sprite3D 2017-08-24 23:12:11 +02:00
elasota 91140904cc Fix AtlasTexture + Sprite3D using the wrong UV region
- Change get_rect_region to return UV region instead of pixel rect
- Fixed atlas texture Sprite3D Y offsets being applied in the wrong direction and fixed Flip not adjusting the geometry.
- Changed get_rect_region name to get_rect_region_uv_rect
2017-08-24 23:05:49 +02:00
Rémi Verschelde 5164eefdbe Merge pull request #10606 from AlexHolly/fix-dummy-rasterizer
fix dummy rasterizer
2017-08-24 15:49:18 +02:00
AlexHolly b18049c2aa fix dummy rasterizer 2017-08-24 15:13:37 +02:00
Rémi Verschelde fb90ac8e48 Merge pull request #10544 from hpvb/fix-10524-2.1
[2.1] Change order of Null check for ParallaxLayer
2017-08-22 15:26:18 +02:00
Hein-Pieter van Braam 7d190b61c8 Change order of Null check for ParallaxLayer
The change in #10524 subtly changes the behavior of set_motion_scale()
and set_motion_offset() if the ParallaxLayer does not have a parent
node. Previously it would still set the corresponding property, but
after this change the property change would be discarded.

I'm not entirely sure if this actually matters as there doesn't appear
to be any code that picks up this change if the ParallaxLayer gets
re-parented later, but it's better to not change behavior regardless.
2017-08-22 15:17:59 +02:00
Rémi Verschelde 3e397586bb Merge pull request #10521 from RandomShaper/fix-double-parsing-2.1
Fix tokenization of doubles (2.1)
2017-08-22 15:03:33 +02:00
Rémi Verschelde 371473db89 Merge pull request #10510 from marcelofg55/osx_window_position_2.1
Fix y axis for set_window_position on OS X
2017-08-22 08:10:26 +02:00
Rémi Verschelde 6fab2a6314 Merge pull request #10525 from hpvb/fix-10515-2.1
[2.1]  Add null check to ParallaxLayer get_parent() calls
2017-08-22 08:08:33 +02:00
Hein-Pieter van Braam f33e8d7793 [2.1] Add null check to ParallaxLayer get_parent() calls
This fixes #10515
2017-08-22 02:14:07 +02:00
Pedro J. Estébanez c97435cfa5 Fix tokenization of doubles
(cherry picked from commit 6759a28050)
2017-08-22 00:01:04 +02:00
Marcelo Fernandez e3394fc437 Fix y axis for set_window_position on OS X 2017-08-21 15:36:55 -03:00
Rémi Verschelde 813d82c54b Merge pull request #10490 from hpvb/v2.1-fix-nan-index
[v2.1] Correct hash behavior for floating point numbers
2017-08-21 10:58:08 +02:00
Rémi Verschelde 9a98f3b71c Merge pull request #10482 from marcelofg55/2.1
Fixed issues with borderless windows on Windows
2017-08-20 23:56:24 +02:00
Hein-Pieter van Braam 364f2e8082 Correct hash behavior for floating point numbers
This backports the work in #7815 and the subsequent fixes in #8393

The following program now works as expected in this branch in both
release_debug and debug mode:

```gdscript
        print(sqrt(-1))
        print(sqrt(-1))

        var simple1=asin(10.0)
        var simple2=acos(10.0)
        print(simple1)
        print(simple2)
```

And successfully prints -nan 4 times

This fixes #9580 and fixes #8925
2017-08-20 23:44:28 +02:00
Marcelo Fernandez e0a243385b Fixed issues with borderless windows on Windows 2017-08-20 12:22:14 -03:00
Rémi Verschelde 58508eef5b Merge pull request #10438 from DrMoriarty/2.1_compile_fix
fix build for osx (2.1)
2017-08-19 10:39:32 +02:00
Vasiliy Makarov d37d9aea8e fix build for osx 2017-08-19 10:47:15 +03:00
Rémi Verschelde e5102a99b9 Merge pull request #10419 from marcelofg55/2.1
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 21:21:08 +02:00
Marcelo Fernandez 647c4ae5bf Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-18 12:10:21 -03:00
Rémi Verschelde 49028e0c49 Revert "Child Process Connected (in Editor Debugger) is now friendlier :-)"
This reverts commit 478531d5a8.

As explained in #10192, this commit changed the color of all errors.
2017-08-18 08:53:29 +02:00
Rémi Verschelde 938dc07b2b Merge pull request #7912 from RandomShaper/pause-rasterizer-2.1
Implement time scaling for the rasterizer (2.1)
2017-08-17 11:43:58 +02:00
Rémi Verschelde 729c4113a6 Merge pull request #10381 from marcelofg55/2.1
Fix get_screen_* funcs returning old values after resolution changes on Windows
2017-08-17 11:07:49 +02:00
Rémi Verschelde 4a5ed3fd03 Merge pull request #10371 from Listwon/2.1
Update detect_visual_c_compiler_version(tools_env)
2017-08-17 07:36:42 +02:00
Rémi Verschelde 3552755306 TileMap Editor: Improve tile info setting using signal
The event-based approach avoids the need to query editor settings
and call show/hide on the Control at every mouse input.

Improves #9141.
2017-08-16 20:03:02 +02:00
Rémi Verschelde 29632aadfd Merge pull request #9141 from pixelpicosean/add-settings-to-hide-tile-info
Add setting to hide tile info on the tilemap menu
2017-08-16 19:06:04 +02:00
Marcelo Fernandez 830d7c1af1 Fix get_screen_* funcs returning old values after resolution changes on Windows 2017-08-16 13:13:31 -03:00
Rémi Verschelde 479c5ba754 Some fixes to 2 to 3 exporter 2017-08-16 17:52:03 +02:00
Rémi Verschelde 447f7644b0 Merge pull request #10327 from kubecz3k/fix-spatial-crash
fix crash after click on MeshInstance with no owner
2017-08-16 17:13:03 +02:00
Rémi Verschelde 29a8e1ac25 Merge pull request #10335 from marcelofg55/2.1
Implemented borderless window functions on OS X
2017-08-16 17:12:51 +02:00