bruvzg
1bdf84b31c
Sync native and embedded dialog missing extension handling.
2025-02-14 00:15:04 +02:00
Pāvels Nadtočajevs
e1f129cb52
Support MIME types in file dialog filters on macOS and Linux.
2025-01-04 22:05:35 +02:00
Thaddeus Crews
6c04997d0d
Merge pull request #100596 from bruvzg/flt_upd
...
[EditorFileDialog] Do not update file selection on filter change if nothing was previously selected.
2024-12-19 20:00:16 -06:00
bruvzg
348ee200f8
[EditorFileDialog] Do not update file selection on filter change if nothing was previously selected.
2024-12-19 10:01:26 +02:00
bruvzg
b9a00feb66
[Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter.
2024-12-19 09:47:46 +02:00
Haoyu Qiu
bf4e5cca3f
Make editor's shortcut names translated on-site
2024-12-18 13:00:30 +08:00
Timo Schwarzer
11bf2da9de
Improve editor file dialog options
2024-12-11 15:11:34 +01:00
Chaosus
ba39b078f5
[Scene] Add SceneStringName::FlatButton
2024-12-10 11:12:26 +03:00
Haoyu Qiu
1ef3bd5768
Fix UI inconsistencies in EditorFileDialog's toolbar
...
- Sort button has different stylebox compared to others
- The top toolbar has a separator on the right side when in open mode
- Update fav up/down buttons when fav list changes
2024-12-05 16:56:59 +08:00
Thaddeus Crews
44cda51110
Merge pull request #98812 from bruvzg/macos_bundles_as_file
...
[macOS] Handle bundles as files in the embedded file dialogs.
2024-12-03 14:41:07 -06:00
bruvzg
d5e599f77e
[macOS] Handle bundles as files in the embedded file dialogs.
2024-12-03 12:41:52 +02:00
Pāvels Nadtočajevs
6a331dafe1
Fix native file dialog filter selection in save dialogs.
2024-12-02 18:38:53 +02:00
Rémi Verschelde
aab12fd273
Merge pull request #99652 from bruvzg/fd_cd_win
...
[Windows] Fix root and current folder in native file dialog.
2024-12-02 17:20:27 +01:00
Rémi Verschelde
60e1490df1
Merge pull request #99644 from bruvzg/fd_all_name
...
Change file dialog all files filter name from `All Files (*)` to `All Files (*.*)`.
2024-12-02 17:20:23 +01:00
A Thousand Ships
af56d6e8e8
Use SceneStringName in more places
2024-12-02 14:39:16 +01:00
Rémi Verschelde
bfa38e463c
Merge pull request #98022 from vPumpking/editor_file_dialog_filter_master
...
Unify filter feature and improve space management for EditorFileDialog
2024-11-29 22:46:18 +01:00
Rémi Verschelde
8de2abd075
Merge pull request #85789 from DevilboxGames/FileDialogCaseSensitivity
...
Make `FileDialog` filtering case insensitive
2024-11-29 22:45:32 +01:00
bruvzg
e0b4f3d314
[Windows] Fix root and current folder in native file dialog.
...
Co-authored-by: RedMser <redmser.jj2@gmail.com>
2024-11-25 15:00:25 +02:00
Pāvels Nadtočajevs
1d43fa9a64
Change file dialog all files filter name from All Files (*) to All Files(*.*).
2024-11-24 20:09:05 +02:00
vPumpking
0542bccee0
Improve space management for EditorFileDialog
...
Move buttons related to the file view on the container above so that they take less horizontal space and make search bar similar to the one in FileDialog
2024-11-22 18:59:03 +01:00
passivestar
0ff5d5fd04
Add theme type variations for secondary Trees and ItemLists
2024-11-19 18:33:30 +04:00
A Thousand Ships
68f638cf02
Use (r)find_char instead of (r)find for single characters
2024-11-17 10:02:18 +01:00
Pāvels Nadtočajevs
f5fad7592f
Use processed filter list for native dialogs.
2024-11-15 12:08:33 +02:00
Pāvels Nadtočajevs
932b2269f8
Fix missing native file dialog title translation.
2024-11-14 14:48:52 +02:00
Thaddeus Crews
696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
...
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
Adam Scott
0d350e7108
Set clang-format RemoveSemicolon rule to true
...
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Thaddeus Crews
975f42227f
Merge pull request #97706 from lalitshankarchowdhury/fix-create-folder
...
Display proper message on invalid folder path
2024-10-21 16:39:10 -05:00
Lalit Shankar Chowdhury
25687c5b99
Display proper message on invalid folder path
2024-10-17 13:06:48 +05:30
Alex Darby
cd269b825f
Make File Dialog case insensitive
...
Change FileDialog and EditorFileDialog to use case insensitive string
comparisons when saving files to avoid duplicate file extensions.
2024-10-07 15:07:36 +01:00
Haoyu Qiu
ecb56fca26
Make EditorFileDialog's Recent and Fav list show full path in tooltip
2024-10-06 21:32:31 +08:00
Rémi Verschelde
0d1873da9c
Merge pull request #95544 from KoBeWi/clean_code™
...
Misc code cleanup in EditorFileDialog
2024-10-04 22:43:13 +02:00
Pablo Andres Fuente
163753949e
Add filter & sort to editor file dialog
...
Closes https://github.com/godotengine/godot-proposals/issues/2721
On `EditorFileDialog`:
* Add filter box that only shows folders and files in current directory that match
* Add sort button to sort files and directories
* Add a shortcut for CTRL+F for selecting the filter box
Also moved common code between `EditorFileDialog` and `FileSystemDock`
to it's own file.
Co-authored-by: fox <12120644+foxydevloper@users.noreply.github.com>
2024-09-26 11:08:13 -03:00
Haoyu Qiu
818acb4290
Make editor use translation domains
...
How editor plugins use this feature:
1. Pick a unique translation domain name.
2. `_enter_tree()`: load translations into that translation domain.
3. Call `set_translation_domain()` for its root UI node.
4. `_exit_tree()`: remove that translation domain.
Plugins can also set the translation domain to `godot.editor` for
nested nodes that should use editor translations. `EditorFileDialog`
automatically does this.
2024-09-17 13:09:44 +08:00
Rémi Verschelde
3cc99d3e31
Merge pull request #95983 from bruvzg/win_fd_opt_fix
...
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-09-04 17:11:57 +02:00
Yuri Rubinsky
52889ab7ee
[Scene] Add SceneStringName::toggled
2024-08-28 15:14:26 +03:00
bruvzg
ea252675aa
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-08-23 09:53:16 +03:00
kobewi
b67eb68e5b
Misc code cleanup in EditorFileDialog
2024-08-15 13:51:27 +02:00
Rémi Verschelde
383a6e4ef2
Merge pull request #94172 from jsjtxietian/open-save
...
Prevent confirm button being override to "Open" when in save file mode
2024-07-11 09:41:18 +02:00
jsjtxietian
4a4968f7d8
Prevent confirm button being override to "Open" when in save file mode
2024-07-10 19:49:03 +08:00
Yuri Rubinsky
af5fc8354b
Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit
2024-07-09 19:38:52 +03:00
A Thousand Ships
ca18a06ecb
[Scene] Add SceneStringNames::confirmed
2024-06-19 09:40:54 +02:00
A Thousand Ships
d9e2fc74c7
[Scene] Add SceneStringNames::item_selected
2024-06-19 09:39:05 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
Gilles Roudière
7705265477
Fix PropertyListHelper::_get_property returning a valid value even if an index is outside the array valid indices
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-05-10 10:46:04 +02:00
Rémi Verschelde
a7c59fe192
Merge pull request #91331 from dsnopek/expose-editor-file-dialog-popup-function
...
Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension
2024-05-06 15:15:01 +02:00
A Thousand Ships
fd8a31b53d
[Editor] Prevent some shortcut errors when generating docs
2024-05-03 17:43:54 +02:00
David Snopek
8ce54d4632
Expose EditorFileDialog::popup_file_dialog() to GDScript and GDExtension
2024-04-29 14:49:32 -05:00
jsjtxietian
d06db652ef
Fix editor's file explorer will show directories that should be skipped
2024-04-15 11:13:46 +08:00