Commit graph

27333 commits

Author SHA1 Message Date
Rémi Verschelde 35e700e931
Merge pull request #37290 from akien-mga/style-header-guards-core
Style: Harmonize header guards to style guide [Core]
2020-03-25 13:58:29 +01:00
Rémi Verschelde 13a9bfbca7 Style: Harmonize header guards to style guide [Core] 2020-03-25 11:22:19 +01:00
Rémi Verschelde 5fede4a81c
Merge pull request #37272 from AndreaCatania/fix_ik_rot
Fixed IK rotation issue
2020-03-25 08:25:44 +01:00
Rémi Verschelde 00e4f88e41
Merge pull request #37276 from Calinou/tweak-message-queue-max-size-hint
Tweak the message queue maximum size property hint
2020-03-25 08:19:36 +01:00
Rémi Verschelde 4d7ab010db
Merge pull request #37281 from ThakeeNathees/fix-project-manager-don't-consume-Enter
Fix: project manager don't consume Enter key #17620
2020-03-25 08:13:04 +01:00
Thakee Nathees b98153886f fix project manager don't consume Enter key #17620 2020-03-25 07:09:36 +05:30
Rémi Verschelde e9ecb06cf3
Merge pull request #37280 from KoBeWi/n
Make search in RichTextLabel case-insensitive
2020-03-24 21:31:57 +01:00
Rémi Verschelde b587f98fcc
Merge pull request #37176 from dkaste/line-edit-secret-fix-2
Use LineEdit secret character width everywhere
2020-03-24 21:27:44 +01:00
Tomasz Chabora b3f83ac115 Make search in RichTextLabel case-insensitive 2020-03-24 20:03:09 +01:00
Rémi Verschelde 641c85a54f
Merge pull request #37268 from clayjohn/VULKAN-sky-color
Replace subpass textures with color in sky shader
2020-03-24 19:22:55 +01:00
clayjohn 61c67cd5e1 Replace subpass textures with color in sky shader 2020-03-24 10:11:00 -07:00
Rémi Verschelde 6bc1ae8a2c
Merge pull request #37271 from akien-mga/cleanup-unused-classes
Remove unused classes and stray headers
2020-03-24 15:49:21 +01:00
Hugo Locurcio 8d8c7a9383 Tweak the message queue maximum size property hint
The minimum slider value no longer allows decreasing the value below
the default, as this can cause things to break in the editor.

The maximum slider value was also increased to 4096 since it can safely
be increased to that value (some add-ons may require it).

This closes #37052.
2020-03-24 15:05:07 +01:00
Rémi Verschelde ebf21e2288
Merge pull request #37261 from m6c7l/feature/issue-37239
Linux: add relaxation to conditions in the joystick check routine
2020-03-24 11:17:54 +01:00
Andrea Catania 277696d6c5 Fixed IK rotation issue 2020-03-24 10:06:24 +01:00
Rémi Verschelde cfd84625f0 Move DocData and Collada out of their subfolders
Now that the unused DocDump was removed, the `editor/doc` subfolder is
redundant.

Similarly, there's no reason for Collada to have a subfolder for itself
when glTF or OBJ don't.
2020-03-24 09:56:04 +01:00
Rémi Verschelde 9d24541597 Remove unused classes and stray headers
Found by reviewing headers with 1 or less matching includes:
```
find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers
for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes
```
2020-03-24 09:50:51 +01:00
Rémi Verschelde 985cae95fa
Merge pull request #37247 from Ev1lbl0w/bugfix
Fixed WM_DELETE flag being set too late
2020-03-24 09:48:21 +01:00
Rémi Verschelde c450d4d3bb
Merge pull request #37264 from dreamsComeTrue/remove-space2d-class
Remove unreferenced & undocumented class scene/resources/Space2D
2020-03-24 09:01:24 +01:00
m6c7l 36293f4256 issue-37239 add relaxation to conditions in the joystick check routine for being identified as joystick 2020-03-24 08:42:21 +01:00
Dominik 'dreamsComeTrue' Jasiński f530c38174 Remove unreferenced & undocumented class Space2D 2020-03-24 01:30:28 +01:00
Rémi Verschelde 20edf69f96
Merge pull request #33508 from nekomatata/object-has-signal
Added has_signal method for Object
2020-03-23 16:16:25 +01:00
Ev1lbl0w bc53288d1e
Fixed WM_DELETE flag being set too late 2020-03-23 12:42:19 +00:00
PouleyKetchoupp 258d91f883 Added has_signal method for Object 2020-03-23 11:27:17 +01:00
Rémi Verschelde cbbe0743a9
Merge pull request #37219 from RajatGoswami/missing-include-guards
Adding missing include guards to header files identified by LGTM
2020-03-23 11:17:24 +01:00
Rajat Goswami 2ecf928ae3 Adding missing include guards to header files identified by LGTM.
This addresses the issue godotengine/godot#37143
2020-03-23 04:52:36 -04:00
Rémi Verschelde ed9a0d0484
Merge pull request #37179 from clayjohn/VULKAN-sky-shader
Implement Sky Shaders
2020-03-22 20:03:35 +01:00
Rémi Verschelde 7acdf74a6a
Merge pull request #37210 from van800/fix-36995
Fix warning: Property not found: mono/editor/editor_path_optional
2020-03-22 09:34:47 +01:00
Rémi Verschelde aac31cf0ee
Merge pull request #37216 from aaronfranke/file-formatting
Make file formatting comply with POSIX standards
2020-03-22 09:34:17 +01:00
Rémi Verschelde dbb3f992a4 Travis: Temporarily disable macOS builds
Travis CI has had trouble the past few days and macOS builds error out
for no reason.
2020-03-22 09:11:04 +01:00
clayjohn 61a74739ca Working sky shader implementation 2020-03-21 20:43:44 -07:00
Aaron Franke 7dbe8b65ae
Make file formatting comply with POSIX and Unix standards
UTF-8, LF, no BOM, and newlines at the end of files
2020-03-21 17:41:03 -04:00
Ivan.Shakhov 05946be2f1 Fix warning: Property not found: mono/editor/editor_path_optional (#36995) 2020-03-21 15:33:14 +01:00
Rémi Verschelde 7ed9da0a54
Merge pull request #37161 from simpuid/positon-gizmo-fix
Fixes transform gizmo position when node has default transform
2020-03-21 15:31:47 +01:00
Rémi Verschelde 9547018bcf
Merge pull request #37201 from akien-mga/textedit-divide-by-zero
Fix potential divisions by 0 reported by MSVC
2020-03-21 14:22:59 +01:00
simpuid 19825436d4 Fixes transform gizmo position when node has default transform
Changes made:
* Added dirty bit for SpatialEditorSelectedItem's last_xform
* SpatialEditorViewport checks that dirt bit too before skipping the selection
2020-03-21 18:31:46 +05:30
Rémi Verschelde ca4e4506db Fix potential divisions by 0 reported by MSVC
The `TextEdit` one was indeed a potential bug.
The `PCKPacker` one seems to be a false positive, it's already in a
`for` loop that depends on `files.size()`.
2020-03-21 11:54:08 +01:00
Yuri Roubinsky cce0a27ec7
Merge pull request #37187 from Chaosus/shader_fix
Fix incorrect shader block parsing
2020-03-20 17:45:48 +03:00
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