Commit graph

5664 commits

Author SHA1 Message Date
Andreas Haas 6fcf2b2bd8
x11: Fix event.is_action() for release of modifier keys
The bug was that the release events for these also had the modifier state set, so the event comparison
failed.

Fixes #5901
2016-09-22 12:24:44 +02:00
Rémi Verschelde a63167459c Merge pull request #6581 from vnen/fix-mainscreen-crash
Fix crash when disabling main screen plugin
2016-09-22 12:10:23 +02:00
George Marques 0ec2b7baea
Fix crash when disabling main screen plugin 2016-09-21 19:17:55 -03:00
Pedro J. Estébanez 2c9d98bb48 Fix manifest generation bug in Android export 2016-09-21 12:46:40 +02:00
Rémi Verschelde 2f776af2e6 Merge pull request #6573 from syskrank/master
removed redundant assign operation in mesh_add_surface
2016-09-21 07:45:00 +02:00
Rémi Verschelde ae825c5c18 Merge pull request #6569 from vnen/winrt-build
Change winrt build to be less dependent on ANGLE
2016-09-21 07:40:18 +02:00
knd 708a028ce8 removed redundant assign operation in mesh_add_surface: elem_count is reassigned a value before the old one has been used. 2016-09-21 05:23:42 +03:00
George Marques 5c21d49caf
Change winrt build to be less dependent on ANGLE
Now it does not try to build if the solution is not found. This way it's
possible to provide a minimal package with includes and libs and make it
build correctly.

Also remove messages from detect.py since it is ran for every platform
target.
2016-09-20 20:02:58 -03:00
Andreas Haas e0fcd9331a
Add function to get readable names for joystick events
Closes #6476
2016-09-20 23:36:09 +02:00
Geequlim fd236a4b6c More custom theme support for editor 2016-09-20 20:41:57 +08:00
Ignacio Etcheverry 1c50dfdf6c Merge pull request #6557 from anneomcl/master
Fix for #6158
2016-09-20 09:28:26 +02:00
anneomcl aa5ade834c Fix for #6158. Converting Vector2 to Size2 for scaling functions. 2016-09-19 23:31:45 -07:00
Rémi Verschelde 82f5130cad Merge pull request #6552 from Hinsbart/vec2_clamped
Expose Vector2::clamped() to scripts
2016-09-20 06:33:55 +02:00
Rémi Verschelde 52431741d4 Merge pull request #6551 from vnen/doc-xml-tree
Add docs for XMLparser, VideoPlayer and most of Tree
2016-09-20 06:21:28 +02:00
Pawel Kowal 623c483eba Show True/False tooltip in property editor for bool values 2016-09-19 23:41:48 +02:00
George Marques 7cd64c3c8d
Add docs for XMLparser, VideoPlayer and most of Tree 2016-09-19 18:39:36 -03:00
Andreas Haas c21412fa7e
Expose Vector2::clamped() to scripts
Needed this and wondered that there's no built-in function for it.
So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^
2016-09-19 23:10:30 +02:00
Pawel Kowal dd4f2a2ccb Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK 2016-09-19 23:07:24 +02:00
Rémi Verschelde d47e1f11fe Merge pull request #6549 from Hinsbart/default_layout
Make the choosable default editor layout the same as the actual default

[ci skip]
2016-09-19 18:59:53 +02:00
Andreas Haas a2bff72eee
Make the choosable default editor layout the same as the actual default one.
Fixes #6266
2016-09-19 18:52:08 +02:00
Rémi Verschelde 829d69ba52 Merge pull request #6545 from Hinsbart/textedit
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.

[ci skip]
2016-09-19 14:25:48 +02:00
Andreas Haas 9c71e5a9df
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
Fixes #6466
2016-09-19 14:17:48 +02:00
Rémi Verschelde c284ebfb97 Merge pull request #6534 from djrm/icons
New distraction free mode icon
2016-09-18 20:12:12 +02:00
Rémi Verschelde cfa868e900 Merge pull request #6525 from vnen/plugin-bottom-show-hide
Expose bottom panel show/hide for plugins
2016-09-18 20:06:10 +02:00
Daniel J. Ramirez b8ec4a3e02 New distraction free mode icon 2016-09-18 10:19:02 -05:00
Pawel Kowal 9e5aaa27bc Add scrolling to Tree control in Drag and Drop mode 2016-09-17 21:29:55 +02:00
Rémi Verschelde 0e962311be Merge pull request #6516 from vnen/plugin-main-screen
Add a function to plugin get the main screen parent
2016-09-17 18:39:56 +02:00
Rémi Verschelde 1830b80719 Merge pull request #6504 from Hinsbart/joy_axis
Fix input action pressed state not changing for quick joystick moveme…
2016-09-17 18:37:15 +02:00
Rémi Verschelde c47fd20cc6 Merge pull request #6498 from Paulb23/current_script_highlight_fix
Fix highlight current script when script temperature is disabled
2016-09-17 18:36:23 +02:00
Rémi Verschelde c05242e324 Merge pull request #6489 from zaps166/vorbis-no-enc
Vorbis: Don't compile unnecessary encoder files
2016-09-17 18:36:10 +02:00
Rémi Verschelde 80861b7d59 Merge pull request #6414 from RandomShaper/improve-shader-shadow
Expose additional light/shadow properties to canvas item shaders
2016-09-17 18:34:22 +02:00
George Marques 7904b2b405
Expose bottom panel show/hide for plugins 2016-09-17 12:02:11 -03:00
George Marques 98e7c1edba
Add a function to plugin get the main screen parent
- Fix a bug where the main screen button did not disappear when the plugin
  was deactivated.
2016-09-16 15:02:01 -03:00
Brickcaster cc7bc07e33 Fix for issue #6496
Canged order of NOTIFICATION_DRAW to update scrollbar before scrollbar
is checked to see which list elements to display.
2016-09-16 11:25:07 -04:00
yg2f 663d4ee7de scons detects standalone MSVC on Windows
Under Windows, Scons is now capable of detecting and compiling with
standalone MSVC compilers (aka "Visual C++ Build Tools").
http://landinghub.visualstudio.com/visual-cpp-build-tools

Tried with version 2015, and native x86 and x64 compilers under
Windows 10 pro 64 and Windows 8.1 64, with the default Win8 SDK
provided by the "Visual C++ Build Tools" web-installer.

Follow the same compiling instructions than for compiling with Visual
Studio, except that Visual Studio is no more required.

KNOWN ISSUES :
- ``methods.detect_visual_c_compiler_version()`` will emit a warning message
on computers where the ``VSINSTALLDIR`` environement variable is not present.
But it should compile just fine and still automatically detects the 32 or
64 bits according to the compiler you picked.

TODO :
- eventually, update ``platform/winrt/dectet.py`` with function
``methods.msvc_is_detected()`` and try to compile winrt/UWP with
these standalone compilers (if you did not select Win10 SDK when
installing the standalone tools, you can run it again).
- update doc to make users aware of "Visual C++ Build Tools" aka
"stadalone MSVC".
- eventually, update ``methods.detect_visual_c_compiler_version()``
2016-09-16 11:17:57 +02:00
Rémi Verschelde c05ff0577f Merge pull request #6510 from Hinsbart/doc_vib
Update documentation on joystick vibration.

[ci skip]
2016-09-16 11:13:11 +02:00
Andreas Haas cef70a5f8b
Update documentation on joystick vibration.
Added a note that long vibration durations are not recommended because of hardware limitations.
For example, my ps4 controller can only vibrate for ~3s on linux.
2016-09-16 11:08:32 +02:00
Andreas Haas 84783fe77b
Fix input action pressed state not changing for quick joystick movements.
fixes #6488
Also removes a bunch of dead code related to checking if a joystick axis is pressed.
2016-09-15 19:30:35 +02:00
Paulb23 fbd0b6f995 Fix highlight current script when script temputure is disabled 2016-09-15 17:34:32 +01:00
Juan Linietsky 4613cb7874 Hacked a demo C# class parser for neikeq. 2016-09-15 10:13:28 -03:00
Juan Linietsky 913925f106 Center camera2D with the proper viewport size 2016-09-15 08:17:23 -03:00
Juan Linietsky 08688931a1 Call run callback 2016-09-14 19:44:08 -03:00
Juan Linietsky a75f5f039e Added API version and hashing to ObjectTypeDB 2016-09-14 19:37:37 -03:00
Błażej Szczygieł 222bc07874 Vorbis: Don't compile unnecessary encoder files 2016-09-14 22:40:20 +02:00
Juan Linietsky a4156f1f0a Added a few functions to make 2D split screen easier. 2016-09-14 15:55:14 -03:00
Juan Linietsky 51466ae5d2 Merge pull request #6486 from Faless/viewport2d
Restore Viewport::set_world_2d() functionality (2D Split Screen)
2016-09-14 14:32:53 -03:00
Fabio Alessandrelli 97cf3eba56 Restore viewport set_world_2d functionality 2016-09-14 15:18:00 +02:00
Pedro J. Estébanez 66dac878ac Improve debug focus behavior
Fix focusing debugged game on Windows
Add re-focusing editor on continue
2016-09-14 04:02:18 +02:00
Juan Linietsky 827a9aa829 Added a generic AStar implementation to Godot.
It's pretty fast, use it for games where Navigation does not cut it.
2016-09-13 18:17:18 -03:00
Juan Linietsky bfe67a3b87 Make Godot detect if the screen is too small (<1200 pixels wide), and use single dock column like in 1.0 if that's the case. 2016-09-13 11:20:09 -03:00