f7f8af232c
Merge pull request #64885 from Mickeon/rename-tooltip-hint
...
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-28 17:43:01 +02:00
4b817a565c
Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGED
2022-08-27 11:52:29 -06:00
ef5b9a06a9
Rename hint_tooltip to tooltip_text & setget
...
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
2022-08-27 01:35:01 +02:00
d4433ae6d3
Remove Signal connect binds
...
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
2022-07-29 16:26:13 +02:00
b942c1ffe3
Merge pull request #62827 from fire-forge/ok-cancel
...
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-13 14:10:38 +02:00
af19501cc7
Seperate filter and description in FileDialog.add_filter()
2022-07-09 10:51:45 -05:00
e4067064ce
Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
2022-07-09 10:47:08 -05:00
446f1b7052
Fix FileDialog file name autocompletion with filters
...
Fixes #38195 .
2022-07-04 01:26:34 +02:00
b5c96df277
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
2022-06-16 16:49:37 +03:00
81520be31d
Cleanups after changes in ItemList signals
2022-05-10 13:26:16 +03:00
aef3b5681d
Changed signals of ItemList
2022-05-06 13:09:04 +05:30
c273ddc3ee
Style: Partially apply clang-tidy's cppcoreguidelines-pro-type-member-init
...
Didn't commit all the changes where it wants to initialize a struct
with `{}`. Should be reviewed in a separate PR.
Option `IgnoreArrays` enabled for now to be conservative, can be
disabled to see if it proposes more useful changes.
Also fixed manually a handful of other missing initializations / moved
some from constructors.
2022-05-02 16:28:25 +02:00
be611c1c05
Implement Label3D node.
...
Add "generate_mipmap" font import option.
Add some missing features to the Sprite3D.
Move BiDi override code from Control to TextServer.
Add functions to access TextServer font cache textures.
Add MSDF related flags and shader to the standard material.
Change standard material cache to use HashMap instead of Vector.
2022-04-22 12:08:46 +03:00
9381acb6a4
Make FileAccess and DirAccess classes reference counted.
2022-04-11 13:28:51 +03:00
38fed916e7
Restore hidden folder behavior for project manager
2022-04-06 22:37:33 +01:00
da2b5da0c5
Fix Project Manager hard crashes due to invalid access to Editor Nodes
2022-04-05 11:40:47 -07:00
d1207a0504
[Input] Add extra shortcut_input input processing step to process Unicode character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-04-05 13:46:45 +03:00
8e7d2826d8
Merge pull request #59453 from DanielKriz/master
2022-03-28 12:20:15 +02:00
188ca5470b
Merge pull request #46638 from Ev1lbl0w/feature-hide_gdignored_dirs
2022-03-26 15:54:51 +01:00
0535ef549a
Fix persistent favorites after rename
...
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com >
2022-03-25 09:32:10 +01:00
2a6cb29a0f
Add better alert dialogs if directory already exists
...
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com >
2022-03-25 09:07:24 +01:00
84b358c1d8
Merge pull request #58338 from aaronfranke/bools
...
Initialize bools in the headers in `editor/`
2022-03-12 22:00:38 +01:00
71da4c4132
Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
...
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00
918b09cabc
Initialize bools in the headers in editor
2022-03-12 13:34:06 -06:00
42078dec9f
Allow negative indexes in ItemList and PopupMenu
2022-03-12 01:14:03 +01:00
a5e30c0228
Allow absolute file paths in file dialogs
2022-03-02 19:42:39 +01:00
dcd2a92af3
Port existing _notification code to use switch statements (part 1/3)
2022-02-16 11:38:24 +01:00
77fb65debf
Use EditorFileDialog instead of FileDialog in the project manager
2022-02-12 12:06:51 +01:00
b396fd4eef
Improve compilation speed (forward declarations/includes cleanup)
2022-02-12 02:46:22 +01:00
cba8280515
[Windows] Add support for handling network share paths.
2022-01-24 16:22:59 +02:00
c1e78f749e
Merge pull request #56706 from KoBeWi/we_need_to_go_higher
2022-01-14 21:19:34 +01:00
18633b975b
Automatically go up if current dir was deleted
2022-01-12 12:46:37 +01:00
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
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
1032c2c434
Merge pull request #55487 from YeldhamDev/scroll_bikeshedding
2022-01-03 14:10:41 +01:00
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
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
ec4f4c6cda
Rename all methods that return ScrollBar nodes to get_*_scroll_bar()
2021-11-30 13:46:36 -03:00
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
e078f970db
Rename remove() to remove_at() when removing by index
2021-11-23 18:58:57 -07:00
eabf8f5edf
Added reset_size method to Control and Window classes
2021-11-22 16:55:21 +03:00
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
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
a7ba227631
Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_master
2021-10-05 21:02:27 +02:00
88b347dc27
Merge pull request #51920 from jmb462/missing-sname-macro-optimization-in-some-functions
2021-09-23 13:14:20 +02:00
69f890ff11
Provide a getter for the project data directory.
2021-09-15 12:52:03 -07:00
d11c1afc04
Rename String::is_rel_path to String::is_relative_path
2021-08-29 20:41:29 -04:00
5cecdfa8af
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
...
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-23 08:10:13 -03:00
72e49eadec
Fix ItemList layout (+EditorFileDialog)
2021-08-21 00:22:09 +02:00
54de7114c5
Add missing SNAME macro optimization for StringName in some functions
2021-08-20 14:50:24 +02:00