Rémi Verschelde
be771e7165
Fix version.txt validation logic for export templates .tpz
...
It assumed that the version would always be `x.y-status`,
with no dot possible in `status`, so:
- It would not work for 3.0.1-stable (nor 3.0.1.stable with new version logic)
- It would not support Mono templates when we provide them
The validation it did was not really useful anyway, so we just use the raw
string.
(cherry picked from commit eec9261a75
)
2018-02-25 15:29:28 +01:00
Rémi Verschelde
d79a7a2773
Refactor version macros and fix related bugs
...
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).
The new logic defines:
- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
(e.g. official, custom_build, mageia, etc.)
Note: Slight change here, as the previous format had the build name
*before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
with "Godot v" for readability
Bugs fixed thanks to that:
- Export templates version matching now properly takes VERSION_PATCH
into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.
(cherry picked from commit 23ebae01dc
)
2018-02-24 01:34:34 +01:00
Rémi Verschelde
07e2461995
i18n: Sync translation templates with current source
2018-02-22 18:47:07 +01:00
Rémi Verschelde
ca5f3b9f8d
i18n: Sync translations with Weblate
...
(cherry picked from commit 661ab3c88e
)
2018-02-22 18:42:25 +01:00
Yan Pas
3e8c214a19
Delete all selected lines using the delete line shortcut in script editor
...
(cherry picked from commit 7368978a48
)
2018-02-22 13:09:02 +01:00
Artem Varaksa
eacd66e784
Clean up some bad words from code comments
...
(cherry picked from commit d35e486228
)
2018-02-22 12:22:41 +01:00
Rémi Verschelde
f55b376d78
Improve error reporting of ProjectSettings::setup()
...
And use it to better report errors in the console and project manager
when a project.godot file is corrupted.
Fixes #14963 .
(cherry picked from commit 7839076f95
)
2018-02-22 12:19:28 +01:00
Michael Alexsander Silva Dias
fdac09a0aa
Made the Debugger's Stack Frames items reselectable.
...
(cherry picked from commit 32e3f257ac
)
2018-02-22 12:18:45 +01:00
luz.paz
751806b5c7
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
(cherry picked from commit 612ab4bbc6
)
2018-02-22 12:17:06 +01:00
Artem Varaksa
29089b715d
Insert proper copy icon to debugger
...
(cherry picked from commit db2a1544c0
)
2018-02-22 12:02:41 +01:00
Daniel J. Ramirez
7e89cc46dd
Icons update
...
includes new enum, MeshInstance2D, Skeleton2D, Cut, Copy and Paste icons.
(cherry picked from commit cecf274364
)
2018-02-22 12:02:02 +01:00
Florian Zwoch
e1fc7776f6
gltf: improve embedded data discovery
...
Some editors seems to use the image resource's mime type (e.g. "image/png") for data embedded uris instead of "application/octet-stream".
(cherry picked from commit 1abf464b59
)
2018-02-21 22:17:09 +01:00
Chaosus
c6a96fc360
Enable snapping when control key pressed
...
(cherry picked from commit 24c170555d
)
2018-02-21 22:16:20 +01:00
volzhs
317cb336eb
Keep to show current script when closing all docs
...
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.
Fix #16403
(cherry picked from commit df84290a7e
)
2018-02-21 22:09:23 +01:00
Nathan Warden
83b76a8171
Added an auto quit and auto build flag to the command line options.
...
(cherry picked from commit 4bfb504c2f
)
2018-02-21 21:56:37 +01:00
George Marques
fa02b58b46
Remove unused variable from plugin settings update
...
Fix #16199
(cherry picked from commit 9f0cce840d
)
2018-02-19 23:15:56 +01:00
Stephen Traskal
000caef623
Fixing folder/file case sensitive renaming issue
...
Example:
Could not rename "Objects" to "objects" or vice versa
(cherry picked from commit e790ca084d
)
2018-02-19 22:47:39 +01:00
damarindra
9f9731da3a
fix crash autotile edit mode
...
(cherry picked from commit cceb176be3
)
2018-02-19 22:30:13 +01:00
ianb96
2f87e7ffe9
option to disable sort in script list
...
(cherry picked from commit e1778fb921
)
2018-02-19 22:26:29 +01:00
BTaskaya
12da8dcdeb
PEP3101 applied with changing old type string formatting as new ones
...
(cherry picked from commit 78dba05fc0
)
2018-02-19 22:25:41 +01:00
Marcelo Fernandez
c5388fb0cf
Fix for a possible compile error under OS X
...
(cherry picked from commit 621d28adef
)
2018-02-19 22:24:57 +01:00
Michael Alexsander Silva Dias
9fb843db06
Added "allow_reselect" property to ItemList and enabled it for the method/help lists.
...
(cherry picked from commit 4dbf6ac1b8
)
2018-02-19 22:21:14 +01:00
George Marques
a39930c5b9
Add a function to remove controls from containers
...
Closes #5968
(cherry picked from commit da69a06253
)
2018-02-19 22:18:22 +01:00
Artem Varaksa
c94d8e6577
Fix #16543 (add button to copy error from debugger)
...
(cherry picked from commit b169b16f98
)
2018-02-19 22:17:26 +01:00
George Marques
eb5e5200cc
Fix infinite recursion with editor import plugins
...
(cherry picked from commit 95f7879923
)
2018-02-19 22:16:33 +01:00
George Marques
d54ac732ae
Expose priority and order for custom import plugins
...
(cherry picked from commit c68948fdfa
)
2018-02-19 22:16:13 +01:00
ShyRed
ef60123938
Add import option "scale_mesh" to obj file importer
...
The new import option "scale_mesh" allows setting a scale that is applied to the mesh's vertices during import.
(cherry picked from commit 291c1d0f45
)
2018-02-19 22:13:46 +01:00
Paulb23
148e059940
Fixed members overview not scrolling to correct line
...
(cherry picked from commit 4d92c5e1c3
)
2018-02-19 22:13:46 +01:00
Artem Varaksa
7af43c4ca3
Fix #16479 (deselect text when jumping to function)
...
(cherry picked from commit 3094e89782
)
2018-02-19 22:13:46 +01:00
Hugo Locurcio
a7d7f763d0
Remove debugging prints related to the asset library
...
(cherry picked from commit 5513e4e1f9
)
2018-02-19 22:13:46 +01:00
Marcin Zawiejski
e6252bda5e
download templates to a file using separate thread
...
(cherry picked from commit b4f1a035e3
)
2018-02-19 22:13:46 +01:00
Paolo Perkovic
82b9a13e0c
Fix timeline track name overlapping keyframe area
...
(cherry picked from commit 398f5b74e3
)
2018-02-19 22:13:46 +01:00
Hugo Locurcio
fda35b3f42
Draw the Camera gizmo more accurately
...
The Camera gizmo no longer looks twice as wide as it actually is.
This fixes #16399 .
(cherry picked from commit 0d7d293889
)
2018-02-19 22:13:45 +01:00
binbitten
65aa9063c4
Fix spaces and quotes in external editor flags
...
(cherry picked from commit fb8d2420b5
)
2018-02-19 22:13:45 +01:00
ianb96
9eb546e7ff
drop path text at mouse pos
...
(cherry picked from commit 06965f2770
)
2018-02-19 22:13:45 +01:00
ianb96
f031e2f665
disable scene tree shortcuts when in a textfield
...
(cherry picked from commit 4e96e04389
)
2018-02-19 22:13:45 +01:00
Chaosus
91692ce72a
Fix gradient texture preview
...
(cherry picked from commit 3ba43ac975
)
2018-02-19 22:13:45 +01:00
Michael Alexsander Silva Dias
617bcd1b91
Capitalized "View" menu options.
...
(cherry picked from commit b507eeddcc
)
2018-02-19 22:13:45 +01:00
Paolo Perkovic
79b931d093
Fix UX with project settings search functionality
...
(cherry picked from commit e7b98119df
)
2018-02-19 22:13:45 +01:00
JFonS
8787850286
Fix gizmo solid box mesh being added twice
...
(cherry picked from commit d0a2931cd7
)
2018-02-19 22:13:45 +01:00
Guilherme Felipe
1a9a40fe31
Make parent folder selectable. Fix #16253
...
(cherry picked from commit 6e1c02b828
)
2018-02-19 22:13:44 +01:00
Guilherme Felipe
eda3169cd1
Fixes open button not appearing with multiple selection
...
Fix #16231
(cherry picked from commit 09c277693e
)
2018-02-19 22:13:44 +01:00
George Marques
d7f73031fb
Show default values in docs for GDScript built-in functions
...
(cherry picked from commit dca2ae78dd
)
2018-02-19 22:13:44 +01:00
Poommetee Ketson
ba36ef5465
3DEditor: fix selecting node in viewport not update inspector
...
(cherry picked from commit cfac160f9f
)
2018-02-19 22:13:44 +01:00
Poommetee Ketson
41f9904e71
3DEditor: fix multiple node selection crash the editor
...
I'm not sure about this fix. This seems to also fixes the weird
selection bug where when selecting node 1 to 3 it focuses on
2nd node.
(cherry picked from commit 25dd1f0681
)
2018-02-19 22:13:44 +01:00
Bernhard Liebl
c04d868476
Make KEY_ESCAPE close all output/debugger docks on bottom
...
(cherry picked from commit 2ae2735a7a
)
2018-02-19 21:01:41 +01:00
Julian Murgia
3548f71cc4
Display path to preloaded res + button to open it
...
(cherry picked from commit b766a849ad
)
2018-02-19 20:56:16 +01:00
Michael Alexsander Silva Dias
f1d26c1c72
Re-enabled type icons.
...
(cherry picked from commit f7547a7f28
)
2018-02-19 20:48:36 +01:00
Vincenzo Greco
7f5fde6459
Select root node if search_box is empty in create_dialog
...
(cherry picked from commit 586e735125
)
2018-02-19 20:47:44 +01:00
Paolo Perkovic
7de47fbabb
Fix inconsistencies and typos in argument names
...
(cherry picked from commit 08d4bfacaf
)
2018-02-04 20:10:13 +01:00
volzhs
62dc7ba82f
Expand project root directory on editor start
...
close #16232
Option for expanding all directories on start up is a bit tricky and buggy.
(cherry picked from commit 127d1241bd
)
2018-02-04 20:09:26 +01:00
Guilherme Felipe
501880e9ba
Hide button tree when file system dock isn't in split mode
...
(cherry picked from commit bb936b5503
)
2018-02-04 20:07:56 +01:00
George Marques
0a75a38db4
Add interface for plugins to enable/disable other plugins
...
(cherry picked from commit 87be0bc110
)
2018-02-04 20:05:12 +01:00
Andreas Haas
845f44b976
ProjectSettings: Disallow adding properties without name.
...
(cherry picked from commit d664d6e634
)
2018-02-04 20:04:31 +01:00
Marlon Henry Schweigert
5481ece976
Display set_nodelay to GDScript
...
Pass enabled arg
Rename set_nodelay to set_no_delay
Add description to the method
Change description
(cherry picked from commit 87adf9cfba
)
2018-02-04 20:02:04 +01:00
Juan Linietsky
c77047d6a3
Ability to import .escn files, which is just a .tscn but with forced import.
...
This works together with the new Blender to Godot exporter.
(cherry picked from commit 1322ca6fb2
)
2018-01-31 01:15:00 +01:00
Poommetee Ketson
499a0b77dc
ProjectManager: prevent installing project template in non-empty dir
2018-01-28 21:48:27 +07:00
Rémi Verschelde
bcbf744b73
i18n: Sync translations with Weblate
2018-01-25 23:29:19 +01:00
Razah
72901936cc
Fix shortcut conflict
...
fix https://github.com/godotengine/godot/issues/16054
The clone_down shortcut that conflicts with the "editor / play" shortcut has been replaced by "SHIFT + COMMAND + C" instead of "COMMAND + B" on macOS
2018-01-25 19:24:51 +03:00
Razah
3455e43a13
maximum recent files increment fix
2018-01-25 00:52:49 +03:00
Rémi Verschelde
bd716cf81e
i18n: Sync translations with Weblate
2018-01-24 21:54:44 +01:00
Rémi Verschelde
925791dd8a
Merge pull request #15869 from guilhermefelipecgs/fix_always_open_output_on_play
...
Fix option run/output/always_open_output_on_play
2018-01-24 11:51:59 +01:00
volzhs
48611afb80
Rotate Control node with respecting pivot offset
2018-01-24 15:44:28 +09:00
Rémi Verschelde
879e5abe05
i18n: Fix typo in translation msgid
2018-01-22 09:19:09 +01:00
Rémi Verschelde
4d1d0e6f62
i18n: Sync translations with Weblate
2018-01-22 09:17:17 +01:00
Poommetee Ketson
70be6848c2
Fix ObjectDB Instances still exist
...
```
WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1989.
Leaked Instance: VSeparator:13837 - Node Name:
Leaked Instance: AutotileEditorHelper:13814
Orphan StringName: VSeparator
Orphan StringName: AutotileEditorHelper
StringName: 2 unclaimed string names at exit.
```
2018-01-22 11:46:05 +07:00
Emmanuel Leblond
9fba9e5465
Hide only PluginScript in dialog box
2018-01-21 00:43:57 +01:00
Rémi Verschelde
09732a15a5
i18n: Sync translation templates with current source
2018-01-20 10:10:49 +01:00
Rémi Verschelde
1f70ba5bd9
i18n: Sync translations with Weblate
...
Adds Romanian translation.
2018-01-20 10:10:00 +01:00
Guilherme Silva
9974e86904
Fix option run/output/always_open_output_on_play
2018-01-19 11:56:07 -02:00
Emmanuel Leblond
431ecc2061
Hide Script nodes in dialog box to prevent crash with pluginscript
2018-01-19 09:55:52 +01:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Rémi Verschelde
7b4e45b794
Merge pull request #15803 from Noshyaar/pm
...
ProjectManager: show error/warning by default
2018-01-18 14:30:18 +01:00
Poommetee Ketson
61d1604da2
ProjectManager: show error/warning by default
...
Deprecate "That's a BINGO" message
2018-01-18 19:11:58 +07:00
bruvzg
2317364ac6
Disallow creating new projects in a non-empty folder.
2018-01-18 12:29:31 +02:00
Rémi Verschelde
945248052c
Merge pull request #15817 from volzhs/icon-color
...
Fix Error/Success/Warning icon color
2018-01-18 10:20:28 +01:00
Rémi Verschelde
92fe1f27ec
Merge pull request #15826 from MarianoGnu/master
...
TileSetEditorPlugin: take scale in accout when highlighting current selected subtile.
2018-01-18 09:40:40 +01:00
volzhs
e96a808756
Fix find/replace bar
...
- make LineEdit resizable for find/replace
- move replaced count/no match message to status bar
- fix replaced n occuurence message is not displayed when n > 0
Fixes #15394
2018-01-18 09:08:01 +09:00
Mariano Suligoy
489eac3f13
TileSetEditorPlugin: take scale in accout when highlighting current selected subtile.
2018-01-17 21:07:43 -03:00
volzhs
a5908ada06
Fix Error/Success/Warning icon color
...
Fix #15781
Fix #15757
2018-01-18 04:15:22 +09:00
Juan Linietsky
03475ba197
Filled tutorial field in most relevent classes.
...
Added tutorial display in doc.
2018-01-15 18:41:13 -03:00
Rémi Verschelde
d6caf32675
Merge pull request #15701 from groud/changes_default_keep_margin_to_true
...
Changes the keep_margin parameter to true by default
2018-01-15 20:32:18 +01:00
Andreas Haas
122837e73a
PropertyEditor: Add missing MAKE_PROPSELECT.
...
Fixes #15745
2018-01-15 19:43:32 +01:00
Gilles Roudiere
b06c6602c8
Changes the keep_margin parameter to true by default, so that people are not suprised that set_anchor changes the margins values
2018-01-15 10:37:13 +01:00
Rémi Verschelde
05b1843818
Merge pull request #15696 from bojidar-bg/15646-assigned-animation
...
Fix an issue with the animation editor not seeking to the target time
2018-01-15 08:54:07 +01:00
Marc Gilleron
6a4e89b6ec
Fix crash when freelook shortcuts are undefined
2018-01-15 00:32:27 +01:00
Paulb23
896a0c5ef5
Fixed member keywords colour not updating on settings change
2018-01-14 16:31:46 +00:00
Rémi Verschelde
515da5b08b
Merge pull request #15706 from groud/remove_unused_class
...
Remove the unused FindReplaceDialog class
2018-01-14 16:57:27 +01:00
Gilles Roudiere
c318cdad66
Remove the unused FindReplaceDialog class
2018-01-14 16:23:01 +01:00
Bernhard Liebl
89057dd289
Fix external editors always opening on scene change
2018-01-14 12:34:00 +01:00
Bojidar Marinov
f2355949c4
Fix an issue with the animation editor not seeking to the target time properly.
...
Fixes #15646 .
2018-01-14 12:28:57 +02:00
Rémi Verschelde
d4fc8c8ea1
Merge pull request #15669 from poke1024/fix-dep-files-size
...
Fix files section size in dependency error dialog
2018-01-13 17:04:14 +01:00
Bernhard Liebl
42d59f4c5d
Fix files section size in dependency error dialog
2018-01-13 17:00:00 +01:00
binbitten
1e9fbcf36c
Fix clicking on sub-resources in a node's right-click menu
2018-01-13 09:05:50 +01:00
Juan Linietsky
702e28f265
Properly save the new save safe setting, avoid crash.
2018-01-12 17:18:40 -03:00
Juan Linietsky
e56b3439a5
Attempt renaming multiple times on safe file save, and make the behavior optional. Fixes #14339 .
2018-01-12 17:03:52 -03:00
Juan Linietsky
46fa9c49cd
Make members a bit more visible color wise
2018-01-12 11:23:45 -03:00
Juan Linietsky
419705db6e
Add special coloring to members, to make shadowing more obvious.
2018-01-12 11:01:09 -03:00
Juan Linietsky
a26e6c8215
Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification.
...
Updated doc accordingly.
2018-01-12 08:29:24 -03:00
Rémi Verschelde
e24f2c6489
Merge pull request #15611 from bojidar-bg/x-bind-more-properties
...
Bind many more properties to scripts
2018-01-12 09:00:20 +01:00