Commit graph

5772 commits

Author SHA1 Message Date
eska
e4bbc1067a Improve usability in web export presentation
- Make canvas support check message visible
 - Make it obvious status can be closed by clicking
 - Don't use status to display non-critical errors
 - Fix setting total memory

(cherry picked from commit 1f7d4c4d0e)
2017-01-16 18:39:04 +01:00
Rémi Verschelde
5aac8eeb0f Merge pull request #7549 from RandomShaper/cp-usability-2.1
Cherry-pick node creation usability enhancements (2.1)
2017-01-16 18:05:56 +01:00
Rémi Verschelde
b351d4cbc1 zlib: Update to upstream version 1.2.11
(cherry picked from commit 6a3dae5be9)
2017-01-16 17:58:43 +01:00
Rémi Verschelde
1f2293d5cc Merge pull request #7554 from Faless/2.1-tcp-winfix
2.1.x - Fix bug in windows TCP poll function
2017-01-16 16:00:27 +01:00
Fabio Alessandrelli
8322c1aa64 Fix bug in windows TCP poll function
Bug introduced when implementing TCP disconnection detection.
(too much yank-paste).
Fixes #7545

(cherry picked from commit c356ec5e8b)
2017-01-16 15:51:43 +01:00
Pedro J. Estébanez
8fca6870c4 Added favorites and recent history to create dialog
Cherry-picked from 8d785812351a0a3eca88214f2436bb7574d55873 and 827a9aa829
2017-01-16 12:38:46 +01:00
Juan Linietsky
9f3c594f9e Making bits of docs appear in different dialogues is made easier with EditorHelpBit 2017-01-16 11:56:00 +01:00
Pedro J. Estébanez
b3d0596c4b Add EditorNode::set_visible_editor()
Cherry-picked from d8af6330e5
2017-01-16 11:56:00 +01:00
Rémi Verschelde
6b5a852bd8 Merge pull request #7522 from Faless/2.1-split
2.1.x Cherry pick patch to enable 2D split screen. ( #6486 )
2017-01-16 10:11:39 +01:00
Juan Linietsky
25a62a3e32 Added a few functions to make 2D split screen easier.
(cherry picked from commit a4156f1f0a)
2017-01-12 20:53:03 +01:00
Fabio Alessandrelli
b61d7e6261 Restore viewport set_world_2d functionality
(cherry picked from commit 97cf3eba56)
2017-01-12 19:44:22 +01:00
Fabio Alessandrelli
9c8ecb45f8 Improvements to scons defined WINVER/_WIN32_WINNT
(cherry picked from commit 65483d57bf)
2017-01-12 19:15:30 +01:00
Ignacio Etcheverry
8a5596322d Detect bits when building with MinGW
(cherry picked from commit 460f030b73)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
93a83c81f0 Windows: Workaround missing includes in MinGW-w64 < 4
The MinGW-w64 version we have on our Travis build environment (Ubuntu 12.04,
mingw-w64 2.0.1, gcc 4.6) is old and has some missing includes in the
dependencies of the `tcpmib.h` header [0] [1] [2].
Those were not triggered before 6323779596
probably due to conflicting WINVER definitions which prevented triggering the code
specific to >= 0x0600 (Vista). We ensure it won't be triggered by defining the
_WIN32_WINNT macro to Windows XP compatibility.
(cherry picked from commit b24fe6879a)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
af7fd899f4 opus: Update to upstream opusfile 0.8
Had missed it in the previous commit as the upstream website is outdated.

(cherry picked from commit c2310b41fa)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
d66740175e Windows: Define _WIN32_WINRT to 0x0600 (Vista)
Passed as a compiler define to be sure it is always define before windows.h
is loaded. This means that Godot officially requires Vista API or later, it will
not work on Windows XP or earlier.

Also fix a bogus check for Windows 7 API.

(cherry picked from commit 6323779596)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
5672852351 x11: Improve logic for cross-dependencies between freetype, zlib and libpng
Fixes #7373.

(cherry picked from commit d945c4e58e)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
349e62835b i18n: Add support for Scots (sco) language
Fixes #6931.

(cherry picked from commit ede36aca8d)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
ff490e42da Move core engine tests to main
(cherry picked from commits 790f629e5e
and 8b7a86ec7b)
2017-01-12 19:15:30 +01:00
karroffel
b1fc41a301 exposed OS.set_exit_code and OS.get_exit_code to ObjectTypeDB
(cherry picked from commit fbfcc981d9)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
3cd976366e opus: Update to upstream libopus 1.1.3
(cherry picked from commit 9845bdde8d)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
6e9584e0c5 zlib: Update to upstream 1.2.10
(cherry picked from commit 2ca0337f5f)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
c24c2ca17b libpng: Update to upstream 1.6.28
Fixes a NULL pointer dereference bug (CVE-2016-10087).

(cherry picked from commit a0141fa823)
2017-01-12 19:15:30 +01:00
lonesurvivor
d2240404e3 Fix for the huge audio latency of the SamplePlayer (>200 ms)
- fixes PulseAudio, ALSA and RtAudio driver
- cleans up the driver files for better readability (mostly whitespace-related stuff)
- makes ALSA and Pulseaudio actually use the global setting "audio/mix_rate" for the sample rate instead of a
fixed value (RtAudio did this already)

(cherry picked from commit da6b6c2dd7)
2017-01-12 19:15:30 +01:00
Bruno Ortiz
01b8beb023 Making deselect work for TreeItem when select_mode is SELECT_SINGLE and item_selected is now properly emitted
(cherry picked from commit 4b9a96859b)
2017-01-12 19:15:30 +01:00
Bruno Ortiz
4f35fdd1e3 Exposing edit_resource method of EditorNode in the EditorPlugin (#7355)
(cherry picked from commit 7e0d0d0bb9)
2017-01-12 19:15:30 +01:00
Wilhem Barbier
0b6d4e92b5 Add the 'finished' signal to AnimatedSprite
(cherry picked from commit f6262fde11)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
d8223ffa75 Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!

(cherry picked from commit c7bc44d5ad)
2017-01-12 19:15:30 +01:00
Ignacio Etcheverry
b5bdc60f58 TileMap: _update_dirty_quadrants() cancel pending update pre return
(cherry picked from commit 5b3acd287d)
2017-01-12 19:15:29 +01:00
Marc Gilleron
ba50bb9cb1 Added option to toggle bucket fill preview
(cherry picked from commit 39771f22b6)
2017-01-12 19:15:29 +01:00
Marc Gilleron
2a60bf1cd9 Added bucket fill preview
(cherry picked from commit 36d0281a2b)
2017-01-12 19:15:29 +01:00
ktksgit
1bb1b6986c Update DebugMesh when NavMesh changes
Fixes #7371
(cherry picked from commit 2807507325)
2017-01-12 19:15:29 +01:00
Bojidar Marinov
4c9c43735a Disallow assignment to expressions
Fixes #6824

(cherry picked from commits 0b077162a3
and dcc4ee21c1)
2017-01-12 19:15:28 +01:00
Fabio Alessandrelli
6940830627 Properly localize absolute path.
Calling localize_path will return a localized path in res:// if the
path starts with the resource file-system/folder, and will return
the unchanged absolute path otherwise.

Closes #6979 and #7161.

(cherry picked from commit cdc97ca453)
2017-01-12 19:15:28 +01:00
Bojidar Marinov
27a801df99 Fix #7098 by not accepting right clicks while dragging the range
(cherry picked from commit d40eb1565e)
2017-01-12 19:15:28 +01:00
volzhs
f520e7788e Show visual notice for visibility on Scene Dock
(cherry picked from commit f33e21e7af)
2017-01-12 19:15:28 +01:00
volzhs
580031e6f5 Able to change visibility when ancestor node is hidden
(cherry picked from commit 792ff11642)
2017-01-12 19:15:28 +01:00
volzhs
d5e4011bc3 Scroll horizontally with mouse wheel when horizontal enabled only
(cherry picked from commit 22b76511fb)
2017-01-12 19:15:28 +01:00
chanon
1397019424 fix ColorPicker not correctly updating after pasting hex html color
(cherry picked from commit 0bf5d86546)
2017-01-12 19:15:28 +01:00
Guilherme Felipe
eea6c43676 Add new option to always open output on play
(cherry picked from commit faf6f865dd)
2017-01-12 19:15:28 +01:00
Guilherme Felipe
3a4c412153 Fix visibility of bottom panel when start playing
(cherry picked from commit 83b82fc267)
2017-01-12 19:15:28 +01:00
Elia Argentieri
9b0be3753b Expose set_bone_name and get_bone_name to GDscript
(cherry picked from commit b96e2e1126)
2017-01-12 19:15:28 +01:00
volzhs
5698571235 Update libwebp to 0.5.2
(cherry picked from commit e04c7e11ec)
2017-01-12 19:15:28 +01:00
Ivan P. Skodje
0701e7c2d8 PopupMenu upgrade: Hide on item selection (#7306)
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item

* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory

(cherry picked from commit da950cd0f2)
2017-01-12 19:15:28 +01:00
REBELLIOUSX\Rebel_X
2fbae72d14 Fix issue #7331
A Drive with "Z" letter assigned to it on Windows will be shown.

(cherry picked from commit 20d6af6028)
2017-01-12 19:15:28 +01:00
volzhs
dbeb1ca114 Fix duplicated string on RichTextLabel if starts with '\n'
Fix #6212, #3773

(cherry picked from commit 0ecc968c5c)
2017-01-12 19:15:28 +01:00
bebae
0aebdb346a Allows to start the scene with custom arguments within the editor
fixes #7346

Path from the current scene isn't added too the argumens anymore by default and needs to be added throug the custom arguments, with $scene. Matches the behaviour of the executable without any arguments.
Custom Arguments are read from editor/main_run_args

(cherry picked from commit abdedc3522)
2017-01-12 19:15:28 +01:00
Bojidar Marinov
71b35c527f Remove extraneous line in .po reader, which caused it to disregard first line
Fixes #7337

(cherry picked from commit 474eafbbf6)
2017-01-12 19:15:28 +01:00
Ignacio Etcheverry
a282579f5c Register SpatialGizmo as a scene type
(cherry picked from commit ce41464fc0)
2017-01-12 19:15:27 +01:00
Johnson Earls
f08aa02688 Fix search to find "whole" words at end of line
Fix `_get_column_pos_of_word` so that the `SEARCH_WHOLE_WORDS` flag will properly find words that are at the end of a line.

Fixes #7326 .
(cherry picked from commit d1cf29fe99)
2017-01-12 19:15:27 +01:00