Commit graph

27395 commits

Author SHA1 Message Date
Yuri Roubinsky
50729e4e35 Fix incorrect shader block parsing 2020-03-20 17:24:00 +03:00
Yuri Roubinsky
2772840a60
Merge pull request #37183 from Chaosus/shader_reassign
Allow to reassign local variables in shaders
2020-03-20 16:37:53 +03:00
Rémi Verschelde
075870bc0d
Merge pull request #37185 from akien-mga/i18n-classref-headers
i18n: Improve classref translation extractor, add Makefile and generate .pot file
2020-03-20 13:33:40 +01:00
Rémi Verschelde
36baa0247e i18n: Generate translation template for class reference 2020-03-20 12:58:38 +01:00
Rémi Verschelde
87d23bf85a i18n: Add Makefile to extract classref strings
Change extract script `path` argument to support specifying multiple
paths, like `makerst.py`. This prevents parsing invalid XML files while
scanning the whole repository.
2020-03-20 12:56:36 +01:00
Rémi Verschelde
aca1971a12 i18n: Add header strings to translation catalog 2020-03-20 12:35:22 +01:00
Yuri Roubinsky
a757bd7625 Allow to reassign local variables in shaders 2020-03-20 14:09:43 +03:00
Rémi Verschelde
a02c16c1d2
Merge pull request #37164 from akien-mga/doc-translations
i18n: Add support for translating the class reference
2020-03-20 09:44:55 +01:00
Rémi Verschelde
87404bda8a
Merge pull request #37169 from AndreaCatania/AndreaCatania-patch-2
Fixes navigation path reset
2020-03-20 09:34:53 +01:00
Rémi Verschelde
63f77efdc6
Merge pull request #37114 from ThakeeNathees/translation-catalog-maker
Add script to generate translation catalog for the class reference
2020-03-20 09:03:31 +01:00
Rémi Verschelde
bec9fe2c2a
Merge pull request #37174 from m4gr3d/make_godot_plugin_callbacks_generic
Update the naming scheme for the GodotPlugin's methods
2020-03-20 09:00:50 +01:00
Thakee Nathees
8c3ad2af93 i18n: Fix parsing of multiple escapes before quotes
See https://github.com/godotengine/godot/pull/37114#issuecomment-601463765
2020-03-20 08:48:11 +01:00
Rémi Verschelde
4857648a16 i18n: Add support for translating the class reference
- Parse `.po` files from `doc/translations/*.po` like already done
  with `editor/translations/*.po`.
- Add logic to register a doc translation mapping in `TranslationServer`
  and `EditorSettings`.
- Add `DTR()` to lookup the doc translation mapping (similar to `TTR()`).
  Strings are automatically dedented and stripped of whitespace to ensure
  that they would match the translation catalog.
- Use `DTR()` to translate relevant strings in `EditorHelp`,
  `EditorInspector`, `CreateDialog`, `ConnectionsDialog`.
- Small simplification to `TranslationLoaderPO`, the path argument was
  not really meaningful.
2020-03-20 08:48:11 +01:00
Yuri Roubinsky
b0aecb466d
Merge pull request #37171 from Chaosus/shader_fix_time
Fix shader TIME auto-completion
2020-03-20 09:35:54 +03:00
Bastiaan Olij
c3fee7ba6c Add shader based background mode 2020-03-19 18:30:39 -07:00
Darren Kaste
c7c47410aa Use LineEdit secret character width everywhere 2020-03-19 19:06:14 -04:00
fhuya
d7b10beb1b Update the naming scheme for the GodotPlugin's methods in preparate of the vulkan integration. 2020-03-19 15:28:33 -07:00
Yuri Roubinsky
523dae6bba Fix shader TIME auto-completion 2020-03-19 21:42:06 +03:00
Yuri Roubinsky
1a532d53cc
Merge pull request #37167 from Chaosus/shader_fix
Removed old TIME references from shader_types
2020-03-19 20:58:43 +03:00
Andrea Catania
c7cf624836 Fixes navigation path reset 2020-03-19 18:05:31 +01:00
Yuri Roubinsky
ef6320d82a Removed old TIME references from shader_types 2020-03-19 19:09:15 +03:00
Fabio Alessandrelli
10dd73c868
Merge pull request #37159 from ThakeeNathees/f8-stop-process-crash-fix
Fix editor crash when stopping game with F8.
2020-03-19 16:51:41 +01:00
Yuri Roubinsky
6407b60fbf
Merge pull request #37166 from Chaosus/shader_time
Makes shader 'TIME' available in custom functions by default
2020-03-19 18:36:10 +03:00
Yuri Roubinsky
dbffa2e0bb Makes shader 'TIME' available in custom functions by default 2020-03-19 17:58:39 +03:00
Rémi Verschelde
500086587a
Merge pull request #35712 from KoBeWi/theheme_spy
Show theme property descriptions in the inspector
2020-03-19 14:50:59 +01:00
Thakee Nathees
76fd073f58 stop game process with KEY_F8 crash fixed
Fix: #37121
2020-03-19 19:13:19 +05:30
Rémi Verschelde
af0b7f90bc
Merge pull request #37151 from nodj/fix_unstable_high_zoom
Editor 2D: Change pixel alignment strategy, fix jittering in high zoom
2020-03-19 11:35:14 +01:00
Rémi Verschelde
3b1c04550f
Merge pull request #37133 from theoway/DocEdit
Doc edit at InputEventMouseMotion
2020-03-19 10:05:04 +01:00
Rémi Verschelde
256ac9a51d
Merge pull request #37039 from Chaosus/astar2d_cost
Implements estimate/compute_cost for AStar2D
2020-03-19 08:19:59 +01:00
Thakee Nathees
e817792c0a Add script to generate translation catalog for the class reference
Fixes #37109.
2020-03-19 03:32:47 +05:30
Rémi Verschelde
cf50ee4fa4
Merge pull request #37094 from dkaste/line-edit-secret-select
Calculate LineEdit selection with secret character
2020-03-18 21:50:14 +01:00
Rémi Verschelde
ae68c33570
Merge pull request #37123 from simpuid/placeholder-fix
Remove update condition from LineEdit::update_placeholder_width
2020-03-18 21:49:43 +01:00
Rémi Verschelde
87118ac39e
Merge pull request #37113 from KoBeWi/to_enable_or_not_to_enable
Fix visibility enabler flag toggling
2020-03-18 20:27:30 +01:00
Umang Kalra
052424c76d Doc edit at InputEventMouseMotion
Doc edit
2020-03-19 00:04:13 +05:30
johan
1c02906a6f Editor 2D: Change pixel alignment strategy, fix jittering in high zoom
Alignment of scene pixels on screen pixel ensure a crisp rendering of small features (such as text). Unfortunately, alignment of top left pixel on screen adds a lot of jittering when zooming at high zoom factor.

This change allow to snap the top left scene pixel on the closest screen pixel (not only the top-left most), and we do so only when the scale factor is an integer.
2020-03-18 12:37:14 -04:00
Rémi Verschelde
0d907a6320
Merge pull request #37115 from RandomShaper/imvu/windows_stack_size
Make stack size on Windows match Linux and MacOS
2020-03-18 16:11:55 +01:00
Rémi Verschelde
194d2ccb72
Merge pull request #37116 from neikeq/issue-12917
Sync csproj when files are changed from the Godot FileSystem dock
2020-03-18 16:07:49 +01:00
Ignacio Roldán Etcheverry
97efd33ada
Merge pull request #37145 from neikeq/issue-37128
C#: Fix uses of old Configuration names
2020-03-18 15:36:12 +01:00
Rémi Verschelde
4663625d11
Merge pull request #37112 from Xrayez/mono-generate-help
Generate command line help text for the `mono` module
2020-03-18 15:32:08 +01:00
Ignacio Etcheverry
40f8de4c1e Sync csproj when files are changed from the Godot FileSystem dock 2020-03-18 15:06:41 +01:00
Ignacio Etcheverry
fe0b783e70 Expose FileSystemDock to the scripting API and fixed signals
Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being
emitted because the emitted was using the wrong signal name.
2020-03-18 15:06:07 +01:00
Ignacio Etcheverry
66c0b7ce98 C#: Fix uses of old Configuration names 2020-03-18 14:50:49 +01:00
Rémi Verschelde
78ef4b707a
Merge pull request #37141 from Anutrix/remove_android_unused_pycode
Removed unused code in android detect.py and SCsub
2020-03-18 14:42:57 +01:00
Rémi Verschelde
70e12d8615
Merge pull request #37139 from akien-mga/opus-vorbis-drop-audiostream-code
opus/vorbis: Remove dead code not used since 3.0
2020-03-18 14:42:13 +01:00
Yuri Roubinsky
cc8d21a421
Merge pull request #37142 from Chaosus/shader_qual
Show shader method out/inout qualifier in intellisense
2020-03-18 16:27:48 +03:00
Ignacio Roldán Etcheverry
f62fc10bb6
Merge pull request #37131 from van800/master
fix RiderPathLocator - searching for toolbox on Mac
2020-03-18 14:25:02 +01:00
Yuri Roubinsky
387d6859d7 Show shader method out/inout qualifier in intellisense 2020-03-18 16:06:47 +03:00
unknown
90cdacd741 Removed unused code in android detect.py and SCsub 2020-03-18 18:12:50 +05:30
Rémi Verschelde
ae28c0fdb8
Merge pull request #37135 from Anutrix/remove_dead_function_win32_spawn
Remove dead function win32_spawn from methods.py
2020-03-18 13:28:54 +01:00
Yuri Roubinsky
602d0d2785
Merge pull request #37134 from Chaosus/shader_fix_crash
Fix shader crash if passing const values to modf function
2020-03-18 15:19:07 +03:00