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
Daniel J. Ramirez
d31215e4cd
Match status icons colors with the theme status colors.
2017-09-14 11:21:56 -05:00
Daniel J. Ramirez
04291c1e77
Updated icons
2017-09-14 11:21:56 -05:00
toger5
202e4c8836
also loop for classes if there is no coustom theme fixes #11250
2017-09-14 18:15:39 +02:00
poke1024
d9b68c5f5d
adds display of old bounding box as suggested by Zephilinox in issue #10936
2017-09-14 17:46:24 +02:00
Andreas Haas
57516a4473
Merge pull request #11268 from ISylvox/fix-typo
...
Fixes typo : from 'my' to 'may'
2017-09-14 16:38:46 +02:00
Indah Sylvia
3aa7ea3bfc
Fixed typo in editor_node.cpp: 'my' to 'may'
2017-09-14 21:30:16 +07:00
Juan Linietsky
7e3c5043c1
Warn the user that changes to resources will be lost when editing imported or instanced resources from scenes.
2017-09-14 10:39:47 -03:00
Ruslan Mustakov
f08bc0df7c
Construct Variants from Reference properly in GDNative
...
Previously godot_variant_new_object constructed Variant without
accounting for the fact that the Object can be a Reference, so refcount
was not increased and References were destructed prematurely.
Also, Reference::init_ref did not propagate refcount increment to the
script instance, which led to desync of refcount info on the script
side and Godot side.
2017-09-14 19:40:36 +07:00
Rémi Verschelde
8c08f2380d
Merge pull request #11253 from djrm/pr_better_docs
...
Improved editor docs
2017-09-14 12:06:36 +02:00
Rémi Verschelde
395eb7a3ad
Merge pull request #11259 from RaTi17/master
...
Fix 2 typos, rename "/constant" to "constant"
[ci skip]
2017-09-14 11:43:30 +02:00
Jeroen
ca5abae1e7
Fix 2 typos
2017-09-14 10:31:43 +02:00
Hein-Pieter van Braam
3f4062c708
Merge pull request #11246 from djrm/pr_better_script_temperature
...
More consistent script color temperatures.
2017-09-14 09:05:31 +02:00
Hein-Pieter van Braam
bdb07fcf4d
Merge pull request #11031 from nabor/rename-dialog
...
Added support to rename projects on manager
2017-09-14 09:01:29 +02:00
Rémi Verschelde
8e8724126c
Merge pull request #11195 from poke1024/fix10936
...
Sprite selection rectangle updates again (fixes #10936 )
2017-09-14 08:58:36 +02:00
Daniel J. Ramirez
d21f20eb5f
Several fixed to editor doc.
...
Improved style
Fixed editor help issues
Added editor help index
2017-09-14 01:13:37 -05:00