kobewi
74d08a305e
Fix FileDialog localization issues
2022-01-19 17:04:06 +01:00
Hugo Locurcio
84a69d7429
Improve the default project theme
...
The new default project theme uses StyleBoxFlat extensively for
a more modern design and better scalability to multiple resolutions.
SVG icons are now used in place of PNG icons. While this does not
allow for true vector-based icon drawing (icons are still rasterized
at load-time), this makes the design work easier for contributors
and opens the door to vector drawing in the future (e.g. with polygons
or SDFs).
Like for editor icons, the SVG header file is now built automatically
when a SVG file is changed. This removing the need for running
`make_header.py` manually (TODO).
The "Use Hidpi" project setting has been removed in favor of a
"Default Theme Scale" project setting, which allows creating the
default theme at a higher/lower scale than the default.
This can be used when designing GUIs with a high base resolution
to ensure crisp visuals.
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-01-19 18:46:01 +03:00
Yuri Sizov
bcbbbeb050
Ignore layout and translation changes in Controls outside of tree
2022-01-19 18:02:22 +03:00
Rémi Verschelde
82efb1d262
Merge pull request #53923 from KoBeWi/RichBugLabel
2022-01-19 15:23:13 +01:00
kobewi
42c79161c2
Fix bottom line in editor log
2022-01-19 14:26:31 +01:00
Kevin Fischer
a4bac268c9
Addded methods to propagate checks & refactored classes to use new methods.
2022-01-18 19:21:59 -08:00
Yuri Sizov
3f5ed098bb
Fix RichTextLabel tables shrinking expanded columns when there is not enough space
2022-01-19 00:44:19 +03:00
Yuri Sizov
3b1c02a139
Fix RichTextLabel not respecting line separation in several cases
2022-01-18 23:01:01 +03:00
Rémi Verschelde
030638e5b4
Merge pull request #56104 from Geometror/add-flow-layout-container
...
Add FlowContainer
2022-01-18 20:26:29 +01:00
Rémi Verschelde
ce2b5bdfa8
Merge pull request #52969 from bruvzg/locale_detection
2022-01-18 15:43:04 +01:00
Rémi Verschelde
7c771ea310
Merge pull request #47522 from madmiraal/rename-test_width-test_height
2022-01-18 13:39:57 +01:00
bruvzg
40c56ed410
Improve locale detection.
...
Use separate language, script and country lists.
Add locale selection dialog and property hint.
2022-01-18 14:30:00 +02:00
bruvzg
e02a097280
[TextServer] Implement locale and context sensitive case conversion functions.
2022-01-17 14:23:36 +02:00
Rémi Verschelde
8958e1b352
Merge pull request #56720 from volokh0x/to-fix-#56274
2022-01-16 15:54:42 +01:00
volokh0x
034f31aa5c
Save clear action of TextEdit in history when used from context menu
2022-01-16 15:00:57 +02:00
Ricardo Buring
4562106cbf
OptionButton::pressed(): give focus to selected
2022-01-15 22:52:12 +01:00
Rémi Verschelde
cba3d5f34d
Merge pull request #56457 from gerhean/focus_file_text_after_popup
2022-01-14 21:17:59 +01:00
Rémi Verschelde
66c9002dab
Merge pull request #56787 from bruvzg/fix_guidelines
...
Fix CodeEdit guidelines position.
2022-01-14 19:53:20 +01:00
Rémi Verschelde
6689a9360c
Merge pull request #56756 from KoBeWi/great_unification_theory
2022-01-14 16:13:53 +01:00
bruvzg
85424afee6
Fix CodeEdit guidelines position.
2022-01-14 15:51:07 +02:00
kobewi
fbb5580b3d
Add ViewPanner to more editors
2022-01-14 13:09:39 +01:00
Rémi Verschelde
e529803ef9
Merge pull request #56738 from YeldhamDev/improve_tab_consistency
2022-01-14 10:42:30 +01:00
Rémi Verschelde
a987ebfde2
Merge pull request #56714 from bruvzg/fix_alignment_break_overrun
2022-01-13 10:20:02 +01:00
Rémi Verschelde
f6792eacf5
Merge pull request #54956 from Calinou/lineedit-textedit-add-caret-width-theme-item
...
Add a theme constant to change LineEdit and TextEdit's caret width
2022-01-13 09:21:01 +01:00
bruvzg
baec983d8a
[TextServer] Improvements for line breaking, "Fill" alignment, overrun, and interaction between these modes.
...
Fix "Fill" alignment processing wrong side of the text if overrun trim was applied.
Improve "Fill" alignment to avoid adding excessive subsequent spaces or elongations.
Add font detection to the overrun, to correctly add ellipsis (was using last glyph font, which doesn't necessary have dot character).
Improve line breaking to avoid adding excessive subsequent soft break points for languages without word separator.
Port missing overrun/justification code to the Fallback text server.
Fix inferred text direction detection by controls.
Add tests for "Fill" alignment and line breaking glyph flags.
2022-01-13 08:53:28 +02:00
Michael Alexsander
a989dc019b
Improve looks and consistency of tabs
2022-01-12 22:11:43 -03:00
Rémi Verschelde
585231a172
Merge pull request #56492 from akien-mga/remove-author-docstrings
2022-01-12 15:24:17 +01:00
Rémi Verschelde
f135c950a5
Merge pull request #56709 from YeldhamDev/die_monster_you_dont_belong_in_this_world
2022-01-12 11:37:04 +01:00
Rémi Verschelde
b5495783b2
Merge pull request #53185 from KoBeWi/viewing_pan
2022-01-12 11:36:41 +01:00
Michael Alexsander
cb1a648f42
Fix several issues in ´TabBar´
2022-01-12 00:17:36 -03:00
Ger Hean
9dbe314da6
Create function focus_file_text
...
This function focuses the text field when saving a file
It is called when the save file dialogue is opened
2022-01-12 01:34:04 +08:00
Rémi Verschelde
019474f2b8
Merge pull request #56586 from dalexeev/rtl-bracket-escapes
2022-01-11 16:17:16 +01:00
kobewi
ba7ed05792
Unify panning in sub-editors and make it configurable
2022-01-11 13:57:19 +01:00
Rémi Verschelde
46624388d4
Merge pull request #56322 from madmiraal/fix-42450
2022-01-11 11:33:59 +01:00
Haoyu Qiu
df1c64feba
Fix BBCode underline prevents strikethrough from rendering
2022-01-11 12:54:04 +08:00
Rémi Verschelde
b52f90e795
Merge pull request #56637 from KoBeWi/maxxxxxxcroll
...
Set max value of inactive TextEdit scrolls to 0
2022-01-10 22:15:57 +01:00
Rémi Verschelde
7faf02383c
Merge pull request #55225 from bruvzg/fix_ligature_cursor_and_ot_features
2022-01-10 13:32:54 +01:00
Rémi Verschelde
5f7bbf4d33
Merge pull request #55456 from KoBeWi/break_all_the_things
2022-01-10 12:36:21 +01:00
bruvzg
8c973f21ee
Fix glyph index for bitmap fonts.
...
Fix TextEdit glyph position rounding.
2022-01-10 08:00:27 +02:00
bruvzg
c89ee71297
Fix button multiline text alignment.
2022-01-09 21:25:28 +02:00
bruvzg
c89c515ccf
[TextServer] Improve ligature cursor handling.
...
Fix mid-grapheme hit test.
Fix OpenType features property handling, add default features override option.
Enable mid-grapheme cursor by default.
2022-01-09 19:03:48 +02:00
kobewi
892d93759c
Set max value of inactive TextEdit scrolls to 0
2022-01-09 01:45:07 +01:00
kobewi
b403954e41
Improve FileDialog filters
2022-01-08 16:27:15 +01:00
Rémi Verschelde
13d25f9980
Merge pull request #56608 from jmb462/itemlist_item_selectable
...
Expose selectable property of ItemList's Item and set default to true
2022-01-08 11:48:33 +01:00
Rémi Verschelde
cb7daddbeb
Merge pull request #54647 from rafallus/fix/popupmenu_ids
...
Fix `PopupMenu` items id range in inspector
2022-01-08 11:39:09 +01:00
rafallus
38d578e24e
Fix `PopupMenu` items id range in inspector
2022-01-07 19:58:09 -06:00
jmb462
cf5cad7126
Expose selectable property of ItemList's Item
2022-01-08 00:32:12 +01:00
Hugo Locurcio
f6443beade
Add a theme constant to change LineEdit and TextEdit's caret width
...
This can be useful to improve caret visibility, especially at
larger font sizes. This can also be used for accessibility purposes.
2022-01-07 20:51:22 +01:00
Rémi Verschelde
c09c4e0154
Merge pull request #56575 from HaSa1002/drag-signal-began
...
Rename GraphEdit `connection_drag_begun` to `connection_drag_started`
2022-01-07 20:41:39 +01:00
kobewi
562fc4cc0d
Rename TextureRect.expand to ignore_texture_size
2022-01-07 20:21:17 +01:00
Johannes Witt
4c5ceb1a97
Rename GraphEdit connection_drag_begun to connection_drag_started
2022-01-07 18:25:03 +01:00
Rémi Verschelde
6a27d7361a
Merge pull request #56321 from pycbouh/core-use-gdvirtual-everywhere
2022-01-07 16:14:28 +01:00
Hendrik Brucker
40ee2b8953
Add FlowContainer
2022-01-07 15:51:49 +01:00
Rémi Verschelde
d2772af0d8
Merge pull request #54351 from LeaoLuciano/leak-remove-line-richtextlabel
2022-01-07 15:22:24 +01:00
Rémi Verschelde
fcc2648e18
Fix missing arg name in bindings for GDExtension API
2022-01-07 14:24:06 +01:00
Rémi Verschelde
7640dc2c73
Merge pull request #55775 from timothyqiu/slider-drag
2022-01-07 13:02:40 +01:00
Rémi Verschelde
096a13b3bb
Merge pull request #56472 from KoBeWi/now_focus
2022-01-07 10:49:05 +01:00
Danil Alexeev
884f1acff8
Add BBCode escape sequences
2022-01-07 11:40:13 +03:00
Rémi Verschelde
dc7235b71c
Merge pull request #54560 from rafallus/tab_items
2022-01-07 00:46:46 +01:00
Johannes Witt
0505b08a56
Add `GraphEdit` drag notifications
...
This commit adds two signals:
* connection_drag_begun, which is emitted when a connection is started
to be created by the user and
* `connection_drag_ended`, which is emitted when no longer a connection
is created.
Additionally `force_connection_drag_end()` adds the possibility to end
the connection dragging. If called from user code, no other connection
request signals are invoked. This is useful to add `GraphNode`s via
shortcuts while the user is dragging a connection to directly connect
the newly added node.
2022-01-06 17:51:40 +01:00
Tomasz Chabora
e72adab511
Update the minimum size of ViewportContainer
2022-01-06 15:43:12 +01:00
Rémi Verschelde
a2a4ec7cb5
Merge pull request #56376 from pycbouh/theme-tombe-les-theme-properties
2022-01-06 11:33:43 +01:00
Rémi Verschelde
b238218363
Merge pull request #55851 from Chaosus/better-completion-options-list_rebased
2022-01-06 09:40:44 +01:00
rafallus
b4abb73ea5
Inspector property array for `TabBar`
2022-01-05 12:23:11 -06:00
Rémi Verschelde
c0b3da78ad
Merge pull request #56255 from PucklaMotzer09/control_unfocus
2022-01-05 10:59:39 +01:00
Rémi Verschelde
8eb1d20346
Merge pull request #56206 from KoBeWi/random_call_deferred_to_the_rescue_once_again
2022-01-05 10:57:53 +01:00
Rémi Verschelde
319c442771
Merge pull request #55791 from kleonc/tree-dont-consume-mouse-if-collapser-not-visible
2022-01-05 10:56:50 +01:00
Rémi Verschelde
e32c685092
Merge pull request #54441 from Geometror/checkbutton-checkbox-font-hover-pressed-color
2022-01-05 10:55:33 +01:00
Rémi Verschelde
0719deea8a
Merge pull request #56346 from pycbouh/control-treenteger
2022-01-05 10:47:05 +01:00
Rémi Verschelde
89f070065b
Merge pull request #56408 from eazrael/tree-fix-selectionmode-row
...
Tree: Fix de-select when selection mode set to SELECT_ROW
2022-01-05 09:22:00 +01:00
Rémi Verschelde
ba2bdc478b
Style: Remove inconsistently used `@author` docstrings
...
Each file in Godot has had multiple contributors who co-authored it over the
years, and the information of who was the original person to create that file
is not very relevant, especially when used so inconsistently.
`git blame` is a much better way to know who initially authored or later
modified a given chunk of code, and most IDEs now have good integration to
show this information.
2022-01-04 20:42:50 +01:00
Marcel Admiraal
f107139979
Rename Project Window width and height settings to match their function
2022-01-04 13:59:16 +00:00
kobewi
11111d997e
Fix TextureButton focus texture logic
2022-01-04 01:06:24 +01:00
Rémi Verschelde
8501233401
Merge pull request #56347 from NNesh/fix/graph_editor_out_of_range_alignment
...
Fixed an invalidation of sets and out of range for an alignment
2022-01-04 00:37:43 +01:00
Rémi Verschelde
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Rémi Verschelde
1032c2c434
Merge pull request #55487 from YeldhamDev/scroll_bikeshedding
2022-01-03 14:10:41 +01:00
luz paz
a124f1effe
Fix various typos
...
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update doc/classes/TileSetScenesCollectionSource.xml
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/graph_edit.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/rich_text_label.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Revert previously committed change
2022-01-02 01:03:58 -05:00
Christoph Nelles
185724e5e9
Tree: Fix de-select when selection mode set to SELECT_ROW
...
It no longer de-selects an already selected row if the SELECT_MODE is
set to SELECT_ROW.
Update scene/gui/tree.cpp
Co-authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-01-02 00:36:30 +00:00
NNesh
0af3d6b990
Fixed a invalidation of sets and out of range in the _horizontal_alignment function
...
Fixed start index (to the second half element)
Fixed out of range when size is equal 1
2022-01-02 00:21:36 +05:00
Yuri Sizov
fe283fd07a
Correctly use fallback Theme values as last resort
2021-12-31 18:53:43 +03:00
Yuri Sizov
f1bc5c976a
Fix an incorrect exposed property type in Tree
2021-12-30 20:04:14 +03:00
Yuri Sizov
7d37f76241
Use GDVIRTUAL* macros when binding virtual methods in exposed classes
2021-12-29 20:27:44 +03:00
Marcel Admiraal
3105d9b1f3
Rename speed to velocity when it's a directional Vector
2021-12-29 15:35:26 +00:00
PucklaMotzer09
be2d59fa0a
Unfocus Control on NOTIFICATION_EXIT_TREE
2021-12-26 17:53:07 +01:00
kobewi
a7a41a3431
Fix TabContainer not setting layout immediately
2021-12-23 23:47:27 +01:00
Rémi Verschelde
1906b59675
Merge pull request #55636 from bruvzg/vis_char_modes
...
Add different "visible characters" behavior modes.
2021-12-23 00:43:33 +01:00
kobewi
540ddbc33b
Fix being unable to clear some theme overrides
2021-12-21 10:37:08 +01:00
Rémi Verschelde
78857ec770
Merge pull request #55823 from KoBeWi/optional_button
2021-12-21 09:43:42 +01:00
Rémi Verschelde
011c0279c5
Merge pull request #56102 from jmb462/fix-wrong-gradientedit-colorpicker-shape
2021-12-21 09:43:26 +01:00
kobewi
c68e93ad52
Implement property array for OptionButton
2021-12-21 08:53:09 +01:00
Zae
e957f7aeb0
Fix BaseButton's localization for tooltip with shortcut
2021-12-21 01:08:37 +08:00
jmb462
f491b43edd
Fix wrong ColorPicker shape with GradientEdit
2021-12-20 18:00:11 +01:00
Rémi Verschelde
deb30a4108
Merge pull request #52015 from mechPenSketch/expose_hotzones2
...
Expose connection hot zones in `GraphNode`
2021-12-15 20:23:07 +01:00
Rémi Verschelde
e8011be6f5
Merge pull request #55729 from cdemirer/fix-script-editor-unexpected-scroll-upon-resize
2021-12-12 20:54:53 +01:00
Yuri Roubinsky
526390c048
Fix highlight for completion options match (rebased)
...
Co-authored-by: Gustav Andersson <gvekan@users.noreply.github.com>
2021-12-12 10:39:49 +03:00
mechPenSketch
0449b30bbc
Expose connection hot zones in GraphNode
2021-12-12 15:20:40 +08:00
cdemirer
a361236526
Fix unexpected scroll on resize + consistent return value
2021-12-11 10:03:24 +08:00
kobewi
1ff9ddeb27
Fix wrong internal children usage in BoxContainer
2021-12-10 18:01:44 +01:00
kleonc
67dd4f15ee
Tree Don't consume mouse event by collapse arrow which isn't shown
2021-12-10 16:54:47 +01:00
Rémi Verschelde
7e32a27879
Merge pull request #55739 from Paulb23/text-edit-base-performance
2021-12-10 09:46:15 +01:00
Rémi Verschelde
bdf8340e59
Merge pull request #43181 from nathanfranke/string-empty
...
Replace String comparisons with "", String() to is_empty()
2021-12-10 08:56:31 +01:00
Haoyu Qiu
753ae7403f
Add drag start/end signals for Slider
2021-12-10 11:19:10 +08:00
FelipeMatoba
29178d3564
Increased time delay on selection when opening a popup
2021-12-09 16:44:56 -03:00
Nathan Franke
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Nathan Franke
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
Paulb23
bfe2cd2f03
Optimise TextEdit base operations
2021-12-08 18:23:07 +00:00
kobewi
347e50f73b
Improve PopupMenu doc about id and index
2021-12-08 13:02:42 +01:00
Rémi Verschelde
5cf178f3bf
Merge pull request #55694 from KoBeWi/scrollbar_modding_tools
...
ScrollContainer's scrollbar visibility is now enum
2021-12-08 09:16:57 +01:00
jmb462
083ff9a133
Fix bad mouse offset with Control::wrap_mouse()
2021-12-07 20:55:12 +01:00
kobewi
841a9ef820
ScrollContainer's scrollbar visibility is now enum
2021-12-07 18:27:12 +01:00
Rémi Verschelde
3ed2bd13ad
Merge pull request #55670 from akien-mga/rename-videoplayer
2021-12-07 09:24:35 +01:00
Aaron Franke
6eb7179f1c
Rename "items_count" property to "item_count"
2021-12-06 22:02:27 -06:00
Rémi Verschelde
7ac9ea75cc
Rename `VideoPlayer` to `VideoStreamPlayer` for consistency
...
It's a player for `VideoStream` resources, just like `AudioStreamPlayer` is a
player for `AudioStream` resources.
Closes https://github.com/godotengine/godot-proposals/issues/3624 .
2021-12-06 19:01:28 +01:00
Rémi Verschelde
75ac048e4b
Merge pull request #55662 from KoBeWi/update_minimum_size_changed_to_update_minimum_size
2021-12-06 18:28:46 +01:00
jmb462
81efebb3a1
Fix bad popups offset in editor with single window off
...
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06 14:29:48 +01:00
kobewi
ea7cc1dea9
Rename minimum_size_changed() method
2021-12-06 14:02:34 +01:00
bruvzg
ad4408d413
Add different "visible characters" behavior modes.
2021-12-06 12:14:49 +02:00
kobewi
7f6ab0006d
Bind column_titles_visible as property
2021-12-05 02:55:38 +01:00
Paulb23
f9b66da748
Fixed TextEdit underline draw pos
2021-12-03 16:56:01 +00:00
ConteZero
0699941f07
Add drag and drop to TextEdit
2021-12-02 22:00:07 +01:00
Rémi Verschelde
892a5a72cd
Merge pull request #55474 from akien-mga/copy-operators-no-reference
2021-12-02 17:34:45 +01:00
Yuri Sizov
c33f407d27
Allow scrolling theme preview when the control picker is active
2021-12-02 17:57:53 +03:00
Michael Alexsander
ec4f4c6cda
Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`
2021-11-30 13:46:36 -03:00
Rémi Verschelde
7da392bcc5
Don't return reference on copy assignment operators
...
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this
can lead to confusing code and subtle bugs.
According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B) , C++
allows any arbitrary return type, so this is standard compliant.
This could be re-assessed if/when we have an actual need for a behavior more
akin to that of the C++ STL, for now this PR simply changes a handful of
cases which were inconsistent with the rest of the codebase (`void` return
type was already the most common case prior to this commit).
2021-11-30 16:26:29 +01:00
ator-dev
8c2b7ea537
Prevent hidden tab close buttons from intercepting input [4.0]
2021-11-29 20:25:42 +00:00
Red Headphone
8a6c6d5329
progress_offset now added to reference cross draw function
2021-11-28 17:59:00 +05:30
Rémi Verschelde
3a0a935fcc
Merge pull request #54345 from floppyhammer/fix-circular-texture-progress
...
Fix nine patch of circular TextureProgressBar
2021-11-26 08:23:45 +01:00
Rémi Verschelde
1b89296fad
Merge pull request #55227 from ator-dev/fix-code-folding
2021-11-25 22:21:46 +01:00
ator-dev
bac0a035c9
Fix code folding when end of block is unindented delimiter
2021-11-24 22:43:06 +00:00
Lightning_A
e078f970db
Rename `remove()` to `remove_at()` when removing by index
2021-11-23 18:58:57 -07:00
Rémi Verschelde
76aa1d0a43
Merge pull request #55151 from Chaosus/control_reset_size
2021-11-22 16:22:57 +01:00
Yuri Roubinsky
eabf8f5edf
Added `reset_size` method to `Control` and `Window` classes
2021-11-22 16:55:21 +03:00
Yuri Sizov
e85e6ec7fc
Add methods to get position from column and line in TextEdit
2021-11-22 15:13:13 +03:00
Rémi Verschelde
78dbe4e3e4
Merge pull request #54339 from ConteZero/line_edit_drag_and_drop
2021-11-22 12:20:01 +01:00
Rémi Verschelde
395558c021
Merge pull request #54462 from Paulb23/the-last-hidden-line
2021-11-18 15:56:06 +01:00
Rémi Verschelde
bae15cb90e
Merge pull request #53602 from KoBeWi/mountain_range
2021-11-18 13:02:02 +01:00
Paulb23
2a302f7097
Fix TextEdit mouse interactions when the last line is hidden
2021-11-17 18:29:19 +00:00
Yuri Roubinsky
8be89357ce
Fix `ColorPicker` inverted input on color circle
2021-11-17 20:33:17 +03:00
Hugo Locurcio
8fb7e622a6
Rename built-in `SGN()` macro to `SIGN()`
...
This matches the name of the GDScript function (except it's uppercase
here).
2021-11-16 20:40:49 +01:00
Rémi Verschelde
098e3cf8f7
Fix style issue after #54148
2021-11-16 14:27:44 +01:00
Rémi Verschelde
1edbe4f3c1
Merge pull request #54148 from miraz12/fix-scrollContrainer-notification-crash
2021-11-16 14:13:21 +01:00
ConteZero
2b1787b446
Fix drag and drop on LineEdit
2021-11-15 17:10:56 +01:00
Umang Kalra
840225bdb1
Making nodes enclosed within comment move with the comment node
2021-11-15 10:59:07 +05:30
Aaron Franke
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
Rémi Verschelde
88c4380737
Modules: Make sure to include modules_enabled.gen.h where needed
2021-11-12 13:42:58 +01:00
Rémi Verschelde
1aa3c8419b
Merge pull request #54869 from akien-mga/string-remove-erase
2021-11-11 13:00:21 +01:00
Rémi Verschelde
2beaae4b6f
String: Remove `erase` method, bindings can't mutate String
2021-11-11 11:23:32 +01:00
bruvzg
76d42c7b32
Fix RichTextLabel selection copy with table cells.
2021-11-11 12:06:51 +02:00
Rémi Verschelde
b46a42b689
Merge pull request #54204 from Ev1lbl0w/bugfix-textedit_selection_mode_crash
2021-11-10 19:03:33 +01:00
Ev1lbl0w
1843662510
Fix crash with indexing array with bad values
2021-11-10 12:44:40 +00:00
Rémi Verschelde
d9a74fd07f
Merge pull request #54372 from bruvzg/text_edit_ui
2021-11-09 00:13:25 +01:00
Rémi Verschelde
6c4737341d
Merge pull request #54649 from bruvzg/shadows
2021-11-09 00:07:41 +01:00
Hendrik Brucker
ed0337c0b9
Several Gradient improvements
2021-11-08 19:11:36 +01:00
bruvzg
5f9cd9ccbc
Fix Label and RichTextLabale text shadows and shadow outlines.
2021-11-06 10:22:09 +02:00
Rémi Verschelde
3abb5a9035
Add missing argument names for bindings in GDExtension
2021-11-04 15:27:23 +01:00
Hugo Locurcio
c012fbc8b2
Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`
...
This is consistent with other constants that include `NO`,
such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03 23:06:17 +01:00
Rémi Verschelde
f00ba792b3
Merge pull request #54533 from rafallus/menubutton_items
2021-11-03 17:33:11 +01:00
Rémi Verschelde
a2803f3d86
Merge pull request #54072 from KoBeWi/hrcr_is_ded
2021-11-03 17:31:48 +01:00
rafallus
4554892223
Implement inspector property array for `PopupMenu` and `MenuButton`
2021-11-03 09:32:29 -06:00
floppyhammer
f9b1ce0922
Fix nine patch of circular TextureProgressBar
2021-11-01 14:14:49 +08:00
HungryProton
5869d053f9
Fix popup trying to emit a non existing signal when closed
2021-10-31 23:21:31 +01:00
bruvzg
3f33e1d7d6
Add functions for getting name and font style from dynamic and bitmap fonts.
...
Add font selection toolbar editor plugin.
2021-10-31 12:40:58 +02:00
Hendrik Brucker
231285b6fb
Fix CheckButton and CheckBox font hover pressed color
...
Co-authored-by: Kjetil Fosse <kjetil.fosse@outlook.com>
2021-10-31 02:10:45 +02:00
Hugo Locurcio
2ad6e11b78
Don't store and show current file/directory/path FileDialog properties
...
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.
2021-10-29 20:16:45 +02:00
Max Hilbrunner
343414cba5
Merge pull request #54328 from YeldhamDev/tabbar_close_signal_rename
...
Rename `TabBar`'s `tab_closed` signal to `tab_close_pressed`
2021-10-29 13:21:09 +02:00
Michael Alexsander
4c563a51c3
Rename `TabBar`'s `tab_closed` signal to `tab_close_pressed`
2021-10-28 13:10:44 -03:00
Rémi Verschelde
3b11e33a09
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 15:19:35 +02:00
LeaoLuciano
f21b5e4d2f
Fix memory leak in RichTextLabel.remove_line
2021-10-28 07:51:48 -03:00
Rémi Verschelde
6d930bd270
Merge pull request #54342 from groud/remove_item_list_editor
2021-10-28 11:52:47 +02:00
Gilles Roudière
a51f92273a
Remove ItemList editor and replace it by a property array
2021-10-28 10:16:51 +02:00
kobewi
de4f29f458
Remove node_hrcr hack
2021-10-28 01:43:34 +02:00
Rémi Verschelde
3e26ad3a5f
Merge pull request #54320 from YeldhamDev/tabbar_close_last_fix
2021-10-27 22:24:43 +02:00
Michael Alexsander
96fdb030ec
Fix uninteractable singular tab in `TabBar`
2021-10-27 16:13:04 -03:00
Rémi Verschelde
21529c90f8
Merge pull request #54166 from ConteZero/unique_selection
2021-10-27 20:50:54 +02:00
ConteZero
fbee4efa5f
Add option to make selection unique
2021-10-27 19:45:52 +02:00
Yuri Sizov
12838bd99d
Add focus font color to Button and derivatives
2021-10-26 17:42:40 +03:00
bruvzg
ebbc25e89c
Ignore empty Font resources as theme override.
...
Add range hint to font_size properties.
Remove excessive `base_size` Font property.
2021-10-25 14:05:37 +03:00
Rémi Verschelde
b2ab5cb504
Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warning
2021-10-23 19:13:34 +02:00
Rémi Verschelde
e0f887accd
Merge pull request #54120 from zaevi/fix_null-ref_crashes
2021-10-23 19:00:12 +02:00
Rémi Verschelde
e12fe670e6
Merge pull request #54145 from zedutch/Fix-tree-notification-crash
2021-10-23 18:33:12 +02:00
ConteZero
8c48b4a7e0
Fix primary clipboard warning
2021-10-23 15:50:01 +02:00
Anton Christoffersson
ee81979f90
Fixed crash in `ScrollContainer` _notification
2021-10-23 14:03:26 +02:00
Robin Arys
5c25497aa2
Fix possible crash when calling Tree.notification from _ready
2021-10-23 12:02:09 +02:00
Haoyu Qiu
4f8dfa1667
Make RichTextLabel's parse_bbcode and append_text return void
2021-10-23 14:25:39 +08:00
Zae
924c2078da
Fix unexpected crashes in `notification`
2021-10-23 13:01:52 +08:00
Rémi Verschelde
9f7218eb69
Merge pull request #54088 from madmiraal/remove-unimplemented-methods
2021-10-22 12:59:32 +02:00
Marcel Admiraal
87a4ba492e
Remove unimplemented methods
2021-10-21 18:44:25 +01:00
Rémi Verschelde
0264efe895
Merge pull request #54035 from Calinou/ctl-context-dialog-use-title-case
...
Use TitleCase for CTL dialog menu options
2021-10-21 19:32:35 +02:00
Hugo Locurcio
abbc8facc6
Use TitleCase for CTL dialog menu options
...
This is more consistent with other actions exposed in the dialog.
2021-10-21 17:47:39 +02:00
Robin Arys
2203670ccc
Fix Tabs crash where it still tries to detect the clicked tab even if there are none
2021-10-20 18:26:10 +02:00
Rémi Verschelde
8748247d6f
Merge pull request #53702 from ConteZero/primary_clipboard_linux
2021-10-20 16:35:04 +02:00
Rémi Verschelde
c942d567eb
Merge pull request #53926 from YeldhamDev/i_am_tabbar_now
2021-10-20 15:42:41 +02:00
Murilo Gonçalves
94cba835eb
Fix: typo in TextParagraph class and docs
2021-10-19 16:38:58 -03:00
Michael Alexsander
67acb7de6e
Rename `Tabs` to `TabBar`
2021-10-19 11:37:31 -03:00
Gilles Roudière
1a95f893c4
Implement TileMap patterns palette
2021-10-19 11:57:37 +02:00
ConteZero
838c9d37b4
Added primary clipboard for Linux
2021-10-18 14:01:06 +02:00
Haoyu Qiu
0a381137bc
Fix crash when executing CodeEdit._main_gutter_draw_callback
2021-10-18 19:26:47 +08:00
Ricardo Subtil
88985cbf3a
Fix null crash with TextEdit
2021-10-16 18:24:46 +01:00
Rémi Verschelde
ae74e78909
Remove WebM support (and deps libvpx and opus)
...
We've had many issues with WebM support and specifically the libvpx library
over the years, mostly due to its poor integration in Godot's buildsystem,
but without anyone really interested in improving this state.
With the new GDExtensions in Godot 4.0, we intend to move video decoding to
first-party extensions, and this would likely be done using something like
libvlc to expose more codecs.
Removing the `webm` module means we can remove libsimplewebm, libvpx and
opus, which we were only used for that purpose. Both libvpx and opus were
fairly complex pieces of the buildsystem, so this is a nice cleanup.
This also removes the compile-time dependency on `yasm`.
Fixes lots of compilation or non-working WebM issues which will be linked
in the PR.
2021-10-15 12:09:11 +02:00
floppyhammer
a238816f0b
Fix bilinear TextureProgressBar with nine patch enabled
2021-10-14 11:19:32 +08:00