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
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
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
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
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
Thomas Herzog
7dffed485b
Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
...
Fix enums bindings
2017-09-15 08:43:35 +02: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
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
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
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
Daniel J. Ramirez
b17c801ee8
Changed source font to Mononoki.
2017-09-14 01:13:30 -05:00
poke1024
9ba92f5baa
sprite selection rectangle updates again (fixes issue 10936)
...
sprite selection rectangle was not updating in real time when dragging or rotating sprites; undoing translation/rotation changes did not update sprite rectangles either.
2017-09-14 07:12:50 +02:00
Nabor Erices
b79ec86b64
Deleted unnecessary print
2017-09-13 18:43:37 -03:00
Rémi Verschelde
9ac940677c
Merge pull request #11245 from akien-mga/travis-ccache
...
Travis: Try enabling ccache to speed up builds
2017-09-13 22:57:01 +02:00
Rémi Verschelde
99c7421eae
Travis: Try enabling ccache to speed up builds
2017-09-13 22:36:39 +02:00
Rémi Verschelde
f48a1c9ebf
Buildsystem: Windows cross-compilation on Linux defaults to 64-bit
2017-09-13 22:36:15 +02:00
Daniel J. Ramirez
7a362afb88
More consistent script color temperatures.
2017-09-13 14:07:05 -05:00
Rémi Verschelde
cc30e2a9a5
doc: Sync classref with current source
...
[ci skip]
2017-09-13 20:56:23 +02:00
Rémi Verschelde
ae4cd72e62
Drop unused EventQueue class
...
Thanks to @Marqin for the notice.
2017-09-13 20:56:23 +02:00
Rémi Verschelde
a5e907b830
Copyright: Document recastnavigation
2017-09-13 20:56:23 +02:00
Rémi Verschelde
375378b4e8
Merge pull request #11226 from StraToN/docssprint-atlastexture-2
...
Documentation for AtlasTexture.
2017-09-13 20:22:59 +02:00
Rémi Verschelde
e6a3ea1e26
Merge pull request #11209 from djrm/pr_docs
...
Added documentation for ClassDB and Marshalls
[ci skip]
2017-09-13 20:22:29 +02:00
Rémi Verschelde
8a6b023cb3
Merge pull request #11200 from SaracenOne/filesystem_tooltip_fix
...
Added missing file system display toggle button.
2017-09-13 20:20:48 +02:00
Rémi Verschelde
22d9e56c71
Merge pull request #11199 from SaracenOne/filesystem_dirs
...
Add option to always show directories in filesystem dock
2017-09-13 20:20:35 +02:00
Rémi Verschelde
57a5548965
Merge pull request #11191 from toger5/slider_highlight_area
...
added highlight area to slider
2017-09-13 20:09:28 +02:00
Rémi Verschelde
cc7c892bca
Merge pull request #11160 from marcelofg55/drive_funcs_x11
...
Implemented DirAccess get_drive and get_drive_count for Linux
2017-09-13 20:04:54 +02:00
Maxim Sheronov
0fffa45158
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Daniel J. Ramirez
2551647690
Added documentation for ClassDB and Marshalls
2017-09-13 12:43:12 -05:00
Rémi Verschelde
6ec9383706
Merge pull request #11125 from zavb074/master
...
Removed code that flips normal if facing away from test direction
2017-09-13 19:33:01 +02:00
Rémi Verschelde
97a2ed6fa6
Merge pull request #11081 from djrm/pr_better_3d_grid
...
Better looking spatial editor grid
2017-09-13 19:30:47 +02:00
Rémi Verschelde
fe3bbaa9d0
Merge pull request #11076 from hpvb/fix-10935
...
Fix crash on wrong type drag into the vs editor
2017-09-13 19:28:13 +02:00
Rémi Verschelde
095ff6dda8
Merge pull request #11063 from toger5/svg_generation_optimization
...
optimized color conversion for svg generation
2017-09-13 19:27:21 +02:00
Rémi Verschelde
ea25573297
Merge pull request #10995 from GodotExplorer/pr-tree
...
Add custom minumus height to TreeItem
2017-09-13 19:25:55 +02:00