Commit graph

33034 commits

Author SHA1 Message Date
Michael Alexsander
96fa719026 Fix various small issues with PopupMenu 2021-02-16 01:12:08 -03:00
kobewi
282639d653 Select TreeItem if none is selected 2021-02-16 01:36:16 +01:00
PouleyKetchoupp
4586357dde Expose RichTextLabel selection to script
Expose existing get_selection_text and add methods to get the current
selection index from and index to.
2021-02-15 17:26:58 -07:00
Fredia Huya-Kouadio
fe9f0758db Expose GodotPlugin's utility methods used for registration and signal emitting.
This enables creation and use of a plugin like class by composition rather than inheritance.
2021-02-15 15:55:59 -08:00
Rémi Verschelde
f14008b600
Merge pull request #46069 from bruvzg/fix_font_crash_empty_data
Fix font `draw_*string` crash with empty data.
2021-02-15 22:19:53 +01:00
Rémi Verschelde
f673a9efe0
Merge pull request #46071 from bruvzg/fix_text_line_para_crash_with_invalid_font
Fix `TextLine`/`TextParagraph` crash when `add_string` / `set_dropcap` is called null font reference.
2021-02-15 22:18:22 +01:00
Hugo Locurcio
7279b4ee35
Add icons for the new GPU particle attractor and collision nodes 2021-02-15 22:15:48 +01:00
bruvzg
a354125d7d
Fix TextLine/TextParagraph crash when add_string / set_dropcap is called null font reference. 2021-02-15 22:57:42 +02:00
bruvzg
0fcbc1c6e3
Fix font draw_*string crash with empty data. 2021-02-15 22:41:16 +02:00
Ellen Poe
936767deca Fail mp3 loading when attempting to load invalid mp3s
This also adds a warning for unspecified MP3 loading error codes
2021-02-15 10:02:19 -08:00
Rémi Verschelde
a59286f019
Merge pull request #46048 from akien-mga/codeowners-teams
CODEOWNERS: Update with newly added teams
2021-02-15 15:57:44 +01:00
Rémi Verschelde
52964fdd3f
Merge pull request #44355 from EricEzaM/PR/fix-action-false-positives-and-allow-checking-exact-matches
Allow checking for exact matches with Action events.
2021-02-15 14:52:17 +01:00
Rémi Verschelde
9335f4de70
Merge pull request #45991 from goostengine/makerst-filter
makerst: Add an option to filter which XML classes to output
2021-02-15 13:46:24 +01:00
Rémi Verschelde
9d511ff924
Merge pull request #45704 from EricEzaM/PR/popup-menu-beautification
Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead
2021-02-15 13:38:47 +01:00
Rémi Verschelde
aed41cdfc9
CI: Remove file_format.sh changes hard to reproduce on Windows
Until we provide a cross-platform pre-commit hook that can perform those changes
on Windows, this only leads to a lot of frustration from Windows contributors.

The UTF-8, newline and EOF and BOM checks are still good to keep as those are
issues that we'd otherwise have to point out manually in the review.
The removed changes are mostly cosmetic and should be handled by clang-format
ideally, or by some self-developed cross-platform tooling.
2021-02-15 13:34:27 +01:00
Andrii Doroshenko (Xrayez)
7fcdd15f0c makerst: Add an option to filter which XML classes to output
Usage:
```
# Output `VisualScript` classes only (found in `modules/visual_script`)
python doc/tools/makerst.py "doc/classes" "modules" --filter "visual_script"

# Output CSG classes only (found in `modules/csg`)
python doc/tools/makerst.py "doc/classes" "modules" --filter "csg"
```
2021-02-15 14:28:11 +02:00
Rémi Verschelde
e13312db79
Merge pull request #46028 from Beuc/patch-passby
doc: explain TouchScreenButton passby mode
2021-02-15 12:54:25 +01:00
Rémi Verschelde
a25bfce694
CODEOWNERS: Update with newly added teams 2021-02-15 12:53:59 +01:00
Sylvain Beucler
9e21077fad doc: explain TouchScreenButton passby mode 2021-02-15 11:45:58 +01:00
Rémi Verschelde
3f6295a1ed
Merge pull request #45855 from hoontee/fix-45718
Implement CollisionPolygon3D margin
2021-02-15 11:23:15 +01:00
Rémi Verschelde
d8691e8ce2
Merge pull request #46043 from bruvzg/restore_char_and_space_extra_spacing
[TextServer] Restore character and space extra spacing support.
2021-02-15 11:10:42 +01:00
Rémi Verschelde
fa06d3cf63
Merge pull request #46033 from bruvzg/ignore_warp_on_mode_change_4
[macOS] Ignore mouse move event caused by mouse mode switch.
2021-02-15 11:08:49 +01:00
bruvzg
f4d095cdd3
[TextServer] Restore character and space extra spacing support. 2021-02-15 10:46:23 +02:00
Eric M
26c29cc0d7 Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead. 2021-02-15 15:45:25 +10:00
Ellen Poe
15b8480b2c Return setseek position if one exists in get_playback_position. 2021-02-14 20:41:59 -08:00
bruvzg
d756f6a294
[macOS] Ignore mouse move event caused by mouse mode switch. 2021-02-15 00:20:50 +02:00
Rémi Verschelde
8fa92c70ea
Merge pull request #46031 from RandomShaper/fix_update_tree
Fix SceneTreeEditor::_update_tree() binding
2021-02-14 22:55:56 +01:00
Pedro J. Estébanez
20f48f0105 Fix SceneTreeEditor::_update_tree() binding 2021-02-14 22:32:42 +01:00
Rémi Verschelde
fc5e9828b4
Merge pull request #44071 from dalexeev/editor-about-logo
Change logo in the About dialog box (return Godot's teeth)
2021-02-14 17:37:26 +01:00
Rémi Verschelde
4302b506d2
Merge pull request #46021 from kleonc/visualshader_index_check
VisualShader::_input_type_changed Fix index out of bounds crash.
2021-02-14 17:34:24 +01:00
Rémi Verschelde
4a41367949
Merge pull request #42784 from mujpao/search-results-font-size-4.0
Make search results font follow code editor font
2021-02-14 17:28:11 +01:00
Rémi Verschelde
f5f3f440f1
Merge pull request #46024 from kleonc/rtl_add_image_fix
RichTextLabel::add_image Fail if passed image has no area
2021-02-14 17:26:47 +01:00
Danil Alexeev
c553ca54d5 Change logo in the About dialog box (return Godot's teeth) 2021-02-14 18:50:05 +03:00
kleonc
a4afdd4a77 RichTextLabel::add_image Fail if passed image has no area 2021-02-14 16:09:55 +01:00
kleonc
7d451c0040 VisualShader::_input_type_changed Fix index out of bounds crash. 2021-02-14 15:26:33 +01:00
Rémi Verschelde
cdfd3ffe15
Merge pull request #44747 from bruvzg/missing_outlines
[CTL] Add missing theme properties for outlines, fix underline scaling, and RTL cell padding.
2021-02-14 13:49:14 +01:00
bruvzg
1f60ac1e08
[CTL] Fix RichTextLabel cell horizontal padding. 2021-02-14 14:11:49 +02:00
bruvzg
2f391bd9c3
[CTL] Fix scaling of the underline position and size. 2021-02-14 14:11:48 +02:00
bruvzg
d78336c65e
[CTL] Add missing font outline drawing routines and theme constants. 2021-02-14 14:11:44 +02:00
Rémi Verschelde
6fb1ed2bca
Merge pull request #45942 from YeldhamDev/label_height_empty
Keep Label's min height when empty
2021-02-14 13:10:54 +01:00
Rémi Verschelde
b21f854b7f
Merge pull request #45910 from Ansraer/default-scale-highres-monitor
Adjust auto scale on 4k monitors to 150%
2021-02-14 12:54:04 +01:00
Rémi Verschelde
b9aa2d0dfb
Merge pull request #45953 from BastiaanOlij/no_unload_non_reloadable
Only unload the library if the reloadable flag is true
2021-02-14 12:17:14 +01:00
Rémi Verschelde
4eae532921
Merge pull request #46009 from qarmin/xatlas_leak
Fix memory leak in Xatlas module
2021-02-14 12:16:46 +01:00
Rafał Mikrut
e57b8d79ec Fix memory leak in Xatlas module 2021-02-14 11:59:57 +01:00
Rémi Verschelde
ff9cd8d374
Merge pull request #45968 from KoBeWi/do_not_SAVE
Don't save project settings when not necessary
2021-02-14 11:04:16 +01:00
Rémi Verschelde
db9ad80b63
Merge pull request #45987 from bruvzg/fix_uninit_material_features
Fix uninitialized `BaseMaterial3D::features` variable.
2021-02-14 10:46:27 +01:00
Bastiaan Olij
ae7675065a Only unload the library when no NativeScript objects exist if the reloadable flag is true. If it is false it is likely the library does other things and can't be unloaded 2021-02-14 15:47:49 +11:00
bruvzg
be14f065d1
Fix uninitialized BaseMaterial3D::features variable. 2021-02-14 01:12:30 +02:00
Rémi Verschelde
2b95372ad1
Merge pull request #45956 from reduz/fix-editor-always-redrawing
Fix editor always redrawing
2021-02-13 21:58:08 +01:00
Rémi Verschelde
4c0d889191
Merge pull request #45959 from Xartorx/fix-mono-load-cache
Fix Mono build after resource load cache changes
2021-02-13 21:54:16 +01:00