Commit graph

325 commits

Author SHA1 Message Date
Rémi Verschelde
f332faf46b
Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde
8c0f175c94
Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde
a447ac95ec
Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Thaddeus Crews
4108ed03a0
Merge pull request #116824 from KoBeWi/resourceuserdata
Print error when trying to change to directory out of scope
2026-02-27 08:49:38 -06:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
kobewi
af6b344192 Print error when trying to change to directory out of scope 2026-02-26 18:35:15 +01:00
Thaddeus Crews
74ecf68e15
Merge pull request #115111 from KoBeWi/icons_are_baaaaaaaaaaaaack
Restore context menu icons in EditorFileDialog
2026-02-20 14:34:27 -06:00
kobewi
e2c955eb20 Fix wrong normal icon color in FileDialog 2026-02-05 19:56:15 +01:00
Michael Alexsander
d061d9bac3
Stop exposing external theme item properties 2026-01-26 11:49:03 -03:00
kobewi
8b400edb92 Don't force list icon size in EditorFileDialog 2026-01-24 13:29:37 +01:00
kobewi
59b2bb1fe8 Fix EditorFileDialog icon scale in list mode 2026-01-19 22:50:33 +01:00
kobewi
ed4689c4ee Fix favorite files handling 2026-01-19 14:48:48 +01:00
kobewi
4dda11b3f9 Restore context menu icons in EditorFileDialog 2026-01-18 22:03:45 +01:00
kobewi
07c709bb4b Fix changing directory in FileDialog 2025-12-19 02:38:25 +01:00
Rémi Verschelde
00f4fb7271
Merge pull request #113608 from bruvzg/fd_prefix
[FileDialog] Filter drive list when root folder is set.
2025-12-18 14:24:04 +01:00
kobewi
18b9821a47 Fix FileDialog relative paths 2025-12-17 20:06:00 +01:00
Ayan Chavand
16f9c8653c Fix save dialog clearing filename when navigating folders 2025-12-15 20:56:09 +05:30
kobewi
30d7ecfcc9 Fix file thumbnails not using theme scale 2025-12-13 13:15:33 +01:00
Michael Alexsander
5246b5fba9
Add leftover scroll hints, and panels for scrollables without hints 2025-12-12 10:59:03 -03:00
Rémi Verschelde
eb79fb80de
Merge pull request #113746 from sockeye-d/filedialog-erroneous-popup
Fix native FileDialogs popping up when `use_native_dialog` is modified
2025-12-09 17:17:33 +01:00
fish
eb3e169b79 Fix native FileDialogs popping up when use_native_dialog is modified 2025-12-08 03:43:39 -08:00
Pāvels Nadtočajevs
def5763eac
Restore FileDialog::_popup_base 2025-12-08 09:57:46 +02:00
Rémi Verschelde
9706b4e53a
Merge pull request #113564 from MattiaZir/fix-project-import-error-parent-child
Fix signal order for directory selection in `file_dialog`
2025-12-05 12:55:57 +01:00
Rémi Verschelde
09abc05878
Merge pull request #113581 from bruvzg/meh_fd
[FileDialog] Use base dir instead of ".." when going up.
2025-12-05 09:38:34 +01:00
Pāvels Nadtočajevs
e8e59a25fa
[FileDialog] Filter drive list when root folder is set. 2025-12-05 09:01:49 +02:00
Pāvels Nadtočajevs
ccd84d79a7
[FileDialog] Use base dir instead of ".." when going up. 2025-12-04 21:12:20 +02:00
mattia.zirpoli
98ccfb07c1 Fix signal order for directory selection in file_dialog 2025-12-04 17:23:10 +01:00
kobewi
31f6413717 Fix wrong file thumbnails icon 2025-12-04 17:02:24 +01:00
风青山
5ff8f21ff3
Fix the issue of no scan after dir creation and/or deletion
When `EditorFileDialog` creates/deletes a directory during interactive
operation, it needs to notify `EditorFileSystem` to scan and detect
the filesystem change.
2025-12-04 21:39:53 +08:00
kobewi
c1cc178a82 Make EditorFileDialog inherit FileDialog 2025-12-02 12:30:51 +01:00
Thaddeus Crews
5afc01c46d
Merge pull request #112604 from bruvzg/pop_center_rec
Update rect after `_pre_popup` in `popup_centered_*`.
2025-11-25 09:52:38 -06:00
Thaddeus Crews
3cc90cd925
Merge pull request #110524 from paul-marechal/filedialog-windows-fix
Fix file_dialog's root_subfolder on Windows
2025-11-13 17:43:03 -06:00
Pāvels Nadtočajevs
adf18ff44d
Update rect after _pre_popup in popup_centered_*. 2025-11-10 11:24:37 +02:00
Thaddeus Crews
eff2f822a1
Merge pull request #111439 from bruvzg/fd_filt_add
Add MIME argument to the `FileDialog.add_filter`.
2025-10-21 10:27:07 -05:00
Thaddeus Crews
43438fec2a
Merge pull request #111529 from wagnerfs/fix-windows-native-filedialog-filters
Fix Windows native FileDialog filters not showing descriptions
2025-10-13 12:30:05 -05:00
Wagner
f835707f7a Fix Windows native FileDialog filters not showing descriptions 2025-10-12 16:22:45 -03:00
kobewi
263a2bdec6 Rework FileDialog shortcuts 2025-10-11 14:37:40 +02:00
Pāvels Nadtočajevs
e4988b4bf3
Add MIME argument to the FileDialog.add_filter. 2025-10-09 22:17:56 +03:00
Thaddeus Crews
30a0a41982
Merge pull request #111274 from chocola-mint/include-optimization-logger
Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`.
2025-10-06 09:06:32 -05:00
chocola-mint
ead282ff13 Remove file_access.h and script_backtrace.h includes from logger.h. 2025-10-05 17:49:23 +09:00
Paul Marechal
375f88d161 Fix file_dialog's root_subfolder on Windows
`root_prefix` either contains an empty string or the current root
including the drive letter. This means that the previous logic would
never ever match since `dir_access->get_current_dir(false)` explicitly
excludes the drive letter.

This change removes this boolean parameter so we compare paths in a way
that can match.

I've had a look at the implementations for other platforms for
`DirAccess::get_current_dir(bool include_drive)` and outside Windows
none seem to consider the `include_drive` parameter which makes me
believe that this change won't break other platforms.
2025-10-03 14:45:37 -04:00
kobewi
9af58c1133 Unify FileDialog context menus 2025-10-02 23:10:27 +02:00
kobewi
fdc79f5286 Remaining FileDialog changes before unification 2025-10-02 19:13:04 +02:00
kobewi
f88b51995b Expose FileDialog callbacks for getting custom icons 2025-10-01 12:08:34 +02:00
kobewi
3615b188d7 Expose methods to access FileDialog's favorite/recent lists 2025-09-30 22:46:09 +02:00
Thaddeus Crews
be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Thaddeus Crews
c852872cb2
Merge pull request #108804 from bruvzg/mac_bundle_icon
[macOS] Use "file" icon for bundles in the file dialogs.
2025-09-22 08:50:02 -05:00
Michael Alexsander
aeb3a45c97
Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
Thaddeus Crews
9812d405b8
Merge pull request #109354 from KoBeWi/ETRC
Fix some localization issues in controls
2025-08-18 08:29:09 -05:00
Anish Mishra
5bcf9a5a57 Fix drive selection issue on Android 2025-08-11 21:47:00 +05:30