Commit graph

21880 commits

Author SHA1 Message Date
SonerSound
90b2415343 Export path may now be written as a relative path
If the target directory does not exist, it will be recursively created.

Export paths are now saved as a relative to the projects base directory

Renamed relative_to function to final_path_from_relative which takes a relative path and outputs the final path from a string that represents a directory.
Added relative_path_from_final which takes in a final path and outputs a relative path if possible. If not possible it outputs the relative path that represents the current directory.
If the target directory does not exist when exporting the project, then it is recursively created.

Removed final_path_from_relative function

Changed DirAccess into DirAccessRef for automatic object destruction
2019-06-30 19:13:49 +01:00
Rémi Verschelde
96d3270c34
Merge pull request #24227 from BastiaanOlij/arkit31
ARKit for Godot 3.2
2019-06-30 12:14:23 +02:00
BastiaanOlij
d9cefb34c1 ARKit for Godot 3.2
This PR introduces support for ARKit to the iOS version of Godot.
ARKit is Apples Augmented Reality platform.
This PR brings in support for ARKit 1.0 and implements a few ARKit 2.0 features.
It requires iOS 11 to run but should not prevent Godot from running on older versions as long as ARKit remains unused.
2019-06-30 18:54:48 +10:00
Rémi Verschelde
b4aba3ae7c
Merge pull request #30177 from hbina/use_FALLTHROUGH_macro
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29 23:40:08 +02:00
hbina085
9f0c6a6009 Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended. 2019-06-29 16:08:48 -04:00
Rémi Verschelde
9ca1a5af3e
Merge pull request #30167 from Xrayez/module-editor-icons
Add support for creating editor icons per module
2019-06-29 18:51:28 +02:00
Rémi Verschelde
9a999876c3
Merge pull request #30168 from Calinou/label-font-shadow-use-outline
Draw the outline as part of the Label font shadow
2019-06-29 18:43:47 +02:00
Rémi Verschelde
187d8addf9
Merge pull request #30152 from Chaosus/vs_conversion
Added convertor from VisualShader to Shader
2019-06-29 18:40:28 +02:00
Rémi Verschelde
176188b1c6
Merge pull request #30187 from bojidar-bg/30184-null-values
Remove bogus nulls from generated default values
2019-06-29 18:38:12 +02:00
Rémi Verschelde
b0809046be
Merge pull request #30154 from bojidar-bg/30149-export-flag-editor
Ensure --export implies --editor
2019-06-29 18:16:43 +02:00
Rémi Verschelde
5cf51cc7e4
Merge pull request #30182 from hbina/pylint_anomalous_backlash
"Anomalous backslash in string: '-'" in extract.py
2019-06-29 18:15:46 +02:00
Rémi Verschelde
4ca22d81d7
Merge pull request #30156 from qarmin/fix_memory_leak_in_tilemap
Fix memory leak in Tilemaps
2019-06-29 16:51:15 +02:00
Rémi Verschelde
19c780b0ed
Merge pull request #30185 from hbina/fix_issue_30111
use vformat for duplicate strings
2019-06-29 16:50:18 +02:00
Rémi Verschelde
cd423f4712
Merge pull request #25649 from bojidar-bg/4454-promote-tilemap-shapes
Allow CollisionObject2D to get shapes from tilemaps
2019-06-29 15:35:13 +02:00
Rémi Verschelde
f8df412512
Merge pull request #24156 from AnaDenisa/master
Add option to input value in EditorPropertyEasing. Fixes #8449
2019-06-29 15:34:24 +02:00
Rémi Verschelde
dceb300b71
Merge pull request #30178 from hbina/removed_unnecessary_variables
some variables in methods.py are not used
2019-06-29 15:33:36 +02:00
Rémi Verschelde
a7fb50ec72
Merge pull request #30186 from Anutrix/os-doc-upd
Added descriptions to OS.get_splash_tick_msec() and OS.get_window_safe_area()
2019-06-29 15:32:58 +02:00
Bojidar Marinov
55234d62b0
Remove bogus nulls from generated default values
Also, fix crash in PluginScript destructor.
2019-06-29 15:51:33 +03:00
hbina085
f531a92057 use vformat for duplicate strings
many strings in visual_shader_editor_plugin.cpp does not use vformat for duplicate strings making it harder to translate
2019-06-29 07:52:09 -04:00
unknown
f2fd5dfb91 Added descriptions to OS.get_splash_tick_msec() and OS.get_window_safe_area() 2019-06-29 17:21:25 +05:30
Rémi Verschelde
ae70eca5af
Merge pull request #30183 from Andrettin/Variant-Pointer-Fixes
Fixed cases of unsupported pointers being used to construct variants
2019-06-29 13:45:45 +02:00
Rémi Verschelde
1df38f2372
Merge pull request #30112 from AgentEnder/master
AStar get_current_point enabled consideration
2019-06-29 13:45:17 +02:00
hbina085
f4e1ed7e63 some variables in methods.py are not used
Thus they can be safely ignored
2019-06-29 06:56:57 -04:00
Rémi Verschelde
52355c638b
Merge pull request #29380 from bojidar-bg/16086-docs-default-value
Add default values to the editor help, docs, and generated RST
2019-06-29 12:28:30 +02:00
Rémi Verschelde
e222e31fe6 doc: Sync classref with current source 2019-06-29 12:24:18 +02:00
Rémi Verschelde
ba6b0dc38d
Merge pull request #30174 from LikeLakers2/resourcepropertyeditor-selection-bugfix
Fix an EditorPropertyResource bug where clicking on the flat buttons …
2019-06-29 12:22:57 +02:00
Andrettin
42e5d825b4 Fixed cases of unsupported pointers being used to construct variants 2019-06-29 12:06:29 +02:00
Rémi Verschelde
c49ba7de0c
Merge pull request #30158 from Faless/net/no_sigpipe
Properly disable SIGPIPE on OSX/iOS network sockets.
2019-06-29 12:03:13 +02:00
Rémi Verschelde
8355df153b
Merge pull request #30157 from Chaosus/color_picker_fix
Fix some bugs inside ColorPicker
2019-06-29 12:01:58 +02:00
Rémi Verschelde
1bbad8c469
Merge pull request #29923 from zaksnet/Document-Spinbox
Document SpinBox Node
2019-06-29 11:41:14 +02:00
hbina085
fd39e94121 Pylint warning for extract.py
pylint is complaining that an "Anomalous backslash in string: '\-'"
The string constant might be missing an 'r' prefix.
2019-06-29 05:31:42 -04:00
Rémi Verschelde
9adc158097
Merge pull request #30162 from KoBeWi/doc-ready
Clarify docs for _ready and request_ready
2019-06-29 11:27:27 +02:00
Zak
f9cbd34fe0 Document SpinBox node 2019-06-29 11:13:02 +02:00
Rémi Verschelde
ff3a54398d
Merge pull request #29911 from zaksnet/document-popup
Document PopupMenu node.
2019-06-29 11:04:39 +02:00
Craigory V Coppola
dc9659a9bf AStar get_closest_point/get_closest_position_in_segment enabled consideration 2019-06-29 02:04:13 -05:00
LikeLakers2
facafeb19a Fix an EditorPropertyResource bug where clicking on the flat buttons would not select the property in the inspector 2019-06-28 19:23:57 -04:00
Hugo Locurcio
fa0e66a88f
Draw the outline as part of the Label font shadow
This closes #30165.
2019-06-28 23:21:55 +02:00
Andrii Doroshenko (Xrayez)
7c11a1b162 Add support for creating editor icons per module
The functionality is similar to how `doc_classes` are retrieved per module.
The build system will search for custom icons path defined per module via
`get_icons_path()` method in `config.py` or default icons path.
If such paths don't exist, only the editor's own icons will be built.

Most module icons were moved from editor/icons to respective modules.
2019-06-28 23:42:26 +03:00
Tomasz Chabora
b71a339160 Clarify docs for _ready and request_ready 2019-06-28 19:18:43 +02:00
Chaosus
da7cf8b49f Added convertor from VisualShader to Shader 2019-06-28 19:54:43 +03:00
Fabio Alessandrelli
c540411a7f Fix ip_unix.cpp inclusion order for OpenBSD. 2019-06-28 18:42:21 +02:00
Fabio Alessandrelli
4517db75b5 Properly disable SIGPIPE on OSX network sockets.
Disable SO_NOSIGPIPE socket option when avaiable.
Use MSG_NOSIGNAL send flag on systems that support it.
2019-06-28 18:42:21 +02:00
Chaosus
eb6e260918 Fix some bugs inside ColorPicker 2019-06-28 17:25:00 +03:00
qarmin
67b58de0f8 Fix memory leak in Tilemaps 2019-06-28 15:37:09 +02:00
Bojidar Marinov
9ebc146383
Ensure --export implies --editor
Fixes #30149
2019-06-28 15:34:09 +03:00
Zak
316931998c Document PopupMenu node. 2019-06-28 12:57:52 +02:00
Rémi Verschelde
6e03236574
Merge pull request #30134 from Calinou/doc-proofread
Proofread and improve the whole class reference
2019-06-28 12:36:41 +02:00
AnaDenisa
13279a7da7 Add option to input value manually in EditorPropertyEasing
Double-clicking on the EditorPropertyEasing widget (e.g. for the Light
Attenuation parameter) shows an EditorSpinSlider to set the value manually.

Fixes #8449.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-28 12:25:19 +02:00
Rémi Verschelde
7b10bae916
Merge pull request #30131 from Anutrix/correct-arg-fix
Fixed regression bug caused in #30095 and actually fix the issue it was supposed to fix(#26850).
2019-06-28 12:10:29 +02:00
Rémi Verschelde
f5c034a2d4
Merge pull request #30130 from Anutrix/search_highlight
Fixed search highlight when search text not found or empty
2019-06-28 12:09:49 +02:00