Commit graph

9709 commits

Author SHA1 Message Date
Rémi Verschelde
2d4f6ef0bf Apply clang-format again to recent changes
Also add missing copyright headers.

[ci skip]
2017-09-16 19:48:45 +02:00
Rémi Verschelde
27cd90f2b0 Merge pull request #11283 from volzhs/fix-icon_map-error
Fix !icon_map.has(p_type) error
2017-09-16 19:19:51 +02:00
bncastle
9d9cfc6f61 Implement +,-,/, * and negate operators for Color type. 2017-09-16 13:09:49 -04:00
Rémi Verschelde
f2d88d8131 Merge pull request #11298 from marcelofg55/fix_gdnative_compile
Fix compile error on gd_native_library_editor.cpp with tools=no
2017-09-16 18:55:42 +02:00
Chris Bradfield
bbed82de29 [DOCS] Update TextureProgress class ref 2017-09-16 09:45:41 -07:00
Paulb23
1a0ffe3b64 Added Left / Right arrow navigation in tree, issue 10737 2017-09-16 16:26:05 +00:00
Juan Linietsky
82f9836a1c forgot to set proper default values for new camera interpolation 2017-09-16 12:14:12 -03:00
Juan Linietsky
844c5e12e6 Fixed to InputDefault, button mask was wrong. Fixes to editor camera interpolation. 2017-09-16 12:12:41 -03:00
Paulb23
afb1dd1e4c Fixed quick open not showing enties with no search text, issue 11277 2017-09-16 13:14:22 +00:00
Ralph Minderhoud
ef0671763e Added EditorImportPlugin class ref docs 2017-09-16 07:51:38 -05:00
Ignacio Etcheverry
61e9623ced Merge pull request #11319 from neikeq/docdata-enum-proxy
DocData: Fix enums for proxy classes
2017-09-16 12:54:53 +02:00
Ignacio Etcheverry
9c71b7b91f Merge pull request #11316 from neikeq/aaaaah
Adds _OS::PowerState enum
2017-09-16 12:51:04 +02:00
Ignacio Etcheverry
7e2c337162 DocData: Fix enums for proxy classes 2017-09-16 12:50:07 +02:00
Bojidar Marinov
ca72a4806f
Make doc_status output a bit more markdown-friendly, hide some prints 2017-09-16 13:47:44 +03:00
Ignacio Etcheverry
f1f8fd1b68 Adds _OS::PowerState enum 2017-09-16 12:28:23 +02:00
Hein-Pieter van Braam
88be952fc9 Create separate debug info files by default
Now that we have a built-in stacktrace on a segfault it would be useful
to have debug information on debug_release builds so that bugreports can
include this information. Without this debug info we will still get
function names in the backtrace but not file location.

This commit will by default build all targets with minimal debug info
and then strip the information into separate files. On MacOS this is a
.dSYM file, on Linux/MingW this is a .debug file. MacOSX will
automatically load a dSYM file if it exists in its debugger. On
Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends
will automatically find the debug symbols if they exist.

Existing workflow for developers does not change at all, except that we
now create two instead of one build artifact by default.

This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW
targets. The default is 'yes' which corresponds to -g1. The alternatives
are 'no' (don't generate debug infos at all) or 'full' which runs with
-g2. A target=debug build will now build with -g3.
2017-09-16 12:00:46 +02:00
Marcelo Fernandez
a2837360d0 Fix possible crash with ctrl-u on script editor 2017-09-16 04:20:20 -03:00
Roger Smith
f818448199 Refactor the BoxContainer and BoxShape classes 2017-09-16 18:39:00 +12:00
Roger Smith
cbe7e9e309 Rewrite the AcceptDialog class 2017-09-16 14:56:04 +12:00
Matthias Hoelzl
f3745a23be Fix errors in Python 3 build 2017-09-16 04:18:14 +02:00
Daniel J. Ramirez
059d007423 Use code font in editor log 2017-09-15 20:07:04 -05:00
Rémi Verschelde
62cb43bb8d doc: Sync classref with current source
[ci skip]
2017-09-16 01:46:29 +02:00
Rémi Verschelde
a74cc22591 Merge pull request #11300 from djrm/pr_update_doc_status
Update doc status generator.
2017-09-16 00:25:53 +02:00
Thomas Herzog
57926f8091 Merge pull request #11307 from godotengine/revert-11078-fix-10717
Revert "Don't allow division by false (zero)"
2017-09-15 23:39:26 +02:00
Thomas Herzog
111dae950d Revert "Don't allow division by false (zero)" 2017-09-15 23:39:09 +02:00
Daniel J. Ramirez
ba11dc3f48 Added adaptive text editor theme, this includes the shader editor 2017-09-15 16:08:22 -05:00
Hein-Pieter van Braam
79c7e21847 Merge pull request #11078 from hpvb/fix-10717
Don't allow division by false (zero)
2017-09-15 22:21:15 +02:00
Hein-Pieter van Braam
4f16baca43 Don't allow division by false (zero)
This fixes #10717
2017-09-15 22:02:22 +02:00
volzhs
8d1792a294 Make clickable properly in editor help
fixes #3671
2017-09-16 02:14:45 +09:00
Daniel J. Ramirez
e23454d5c3 Update doc status generator.
[ciskip]
2017-09-15 12:12:22 -05:00
Juan Linietsky
25f742cc3d Added type on export file callback, and initial export function. 2017-09-15 13:45:03 -03:00
Marcelo Fernandez
12a7f15bdc Fix compile error on gd_native_library_editor.cpp with tools=no 2017-09-15 13:29:29 -03:00
karroffel
308d20aba5 added JSON singleton
There was no way to access JSON functionality in scripting languages
apart from GDScript because the JSON class wasn't exposed to ClassDB.
2017-09-15 15:40:27 +02:00
Andreas Haas
6b729726e0 Merge pull request #11280 from BastiaanOlij/fix_arvr_joyid
joyid is set to -1, not 0 when no joystick entity has been created
2017-09-15 10:33:48 +02:00
Przemysław Gołąb (n-pigeon)
c32d857480 Spatial, Transform and Transform2D documentation tweaks 2017-09-15 09:16:30 +02:00
Thomas Herzog
7dffed485b Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
Fix enums bindings
2017-09-15 08:43:35 +02:00
sersoong
433da3ef23 fix editor/property_editor.cpp missing TTR 2017-09-15 10:36:48 +08:00
volzhs
f1176e2a93 Fix !icon_map.has(p_type) error
"ResizedFolder" "ResizedFile" icons are removed from 15904d6
2017-09-15 10:53:49 +09:00
BastiaanOlij
c46b8f444a joyid is set to -1, not 0 when no joystick entity has been created 2017-09-15 09:53:59 +10:00
toger5
10c400c456 Added border for tabs + container.
- moved tabConetent position to be more reasonable.
 - fixed drawing order to allow those kind of styles.
2017-09-15 00:50:34 +02:00
Juan Linietsky
d3c1f2a7f6 Re-Added export plugins with a more interesting API, as well as the ability to do path remapping.
Also added ability to tell the exporter that a shared object needs to be bundled in the build.
2017-09-14 19:41:14 -03:00
toger5
b37e869c89 fixed double border for debugger tab panel 2017-09-15 00:29:31 +02:00
Hein-Pieter van Braam
65af96eab0 Only do 'drive' discovery on X11
As it turns out older versions of the Android NDK have mntent.h but not
a complete implementation. If it did work it would most likely give the
wrong results on Android anyway.

This commit enables the UNIX drive discovery only for X11

We also missed '/run/media' (default for gnome desktops) in the list of
places to look for 'drives' on Linux. Add that to the list also.

This fixes #11270
2017-09-14 23:04:30 +02:00
Andreas Haas
9488f06e4a
X11: Fix gamepads not being added whith udev.
Seems like this property isn't present on some gamepads...
Fixes #10958
2017-09-14 22:50:40 +02:00
Thomas Herzog
5636ac526e Merge pull request #11237 from endragor/gdnative-variant-ref
Construct Variants from Reference properly in GDNative
2017-09-14 21:21:50 +02:00
Juan Linietsky
35ed1eef2a Added a menu to enable/disabled GDNative singletons in project settings 2017-09-14 15:02:51 -03:00
Wilson E. Alvarez
072e379ffe Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
Daniel J. Ramirez
74d028729f Improved VisualScriptEditor 2017-09-14 12:45:42 -05:00
Wilson E. Alvarez
0f4643a4f6 Moved class_name and return_val to initializer list 2017-09-14 12:54:37 -04:00
Daniel J. Ramirez
4cc4f5cc5d Fix non flat favorite icons 2017-09-14 11:21:56 -05:00