Commit Graph

71 Commits

Author SHA1 Message Date
kobewi 366f3e5ded Re-add support for installing templates from TPZ 2026-04-22 19:00:59 +02:00
Thaddeus Crews abd4a0613e Merge pull request #118751 from syntaxerror247/export-template-manager
Remove the separate "Android Source" group in  ExportTemplateManager
2026-04-20 14:31:58 -05:00
Thaddeus Crews a5fa0c920a Merge pull request #118725 from KoBeWi/rare_unhack
Remove StyleBox hack from template manager
2026-04-20 09:15:45 -05:00
Anish Kumar 45eecbf133 Remove the separate "Android Source" group in ExportTemplateManager 2026-04-20 17:46:22 +05:30
kobewi 7ce7859125 Remove StyleBox hack from template manager 2026-04-19 12:41:26 +02:00
kobewi 83ffa17f99 Add a button to delete all installed templates 2026-04-18 22:54:07 +02:00
LanzaSchneider 2a46557eeb fix: compile error with deprecated=no option 2026-04-17 18:48:20 +08:00
kobewi 2f079a1360 Extract individual templates from remote TPZ
Co-authored-by: Alexander Hartmann <alex.hart.278@gmail.com>
2026-04-16 13:17:59 +02:00
kobewi 64c8952975 Rework export template dialog to allow individual templates 2026-04-16 12:31:58 +02:00
Rémi Verschelde bfc504a0cc Merge pull request #117707 from KoBeWi/ring_of_progres
Add progress indicator for background template download
2026-03-23 22:36:07 +01:00
kobewi 3c112db63a Add progress indicator for background template download 2026-03-23 14:13:22 +01:00
kobewi 7606284fcc Ask before quitting when templates are downloading 2026-03-20 21:03:46 +01:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
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 ad4b910a10 Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
kobewi 6370c37160 Use EditorFileDialog eveywhere in the editor 2025-12-19 02:47:45 +01:00
Michael Alexsander 5246b5fba9 Add leftover scroll hints, and panels for scrollables without hints 2025-12-12 10:59:03 -03:00
Marc Gilleron 0534423c58 Fix unreachable code warning in double-precision builds 2025-09-29 18:36:00 +02:00
A Thousand Ships f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Haoyu Qiu 88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
kobewi d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
kobewi e565ee86ce FileDialog code cleanup 2025-04-23 19:28:14 +02:00
Pāvels Nadtočajevs 5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Pāvels Nadtočajevs 302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Kiro 23129a66ed Replace append_utfx with direct String::utfx 2025-03-30 19:56:38 +02:00
Thaddeus Crews 780cf03051 Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
Lukas Tenbrink ffa6ef220b Use append_ instead of parse_ for String methods. 2025-03-27 17:51:02 +01:00
Hugo Locurcio 2044bd898a Add double to the version full build string when using a double-precision build
This means that `double` is now visible in the command line startup version,
project manager, editor About dialog and at the bottom of the editor.
This is because double-precision mode has a significant impact on how the
editor and projects run.

Similar to `mono` for C# builds, this affects which export templates the editor
looks for, since it needs a different set of export templates.

The export templates manager now indicates that no official double-precision export
template downloads are currently available (although the `dev` status message
takes priority over it).
2025-03-22 19:02:15 +01:00
Aaron Franke 97ee05e9b7 Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
Etherealxx 9cbfeff940 Add "Go Online" button on Export Template Manager
Godot 4.4 introduces network mode, which by default sets to offline.
Some features are disabled on offline mode, including downloading export
templates. Newcomers to the engine that has no knowledge about the network
mode might be confused on why the Export Template Manager tells them that
they're offline, despite them having internet connection.

This commit introduces a message that tells the user that online mode is
required, and a link button that user can click to enable online mode from
the Export Template Manager popup UI. Some code changes also made to make
sure that the button and message only shows on official build only.
2025-03-04 09:04:09 +07:00
Yufeng Ying f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Malcolm Anderson 2336415623 Ignore __MACOSX directory in export template collection ZIP file and project import ZIP file
Update editor/export/export_template_manager.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-04 13:31:26 -08:00
Aaron Franke 562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Anish Mishra 2323042e7b Refresh Filesystem Dock after android build template is created 2024-10-08 06:30:44 +05:30
kobewi c8a0766930 Don't use EditorSettings metadata 2024-09-05 19:05:18 +02:00
Haoyu Qiu 5e473b8584 Disable export template downloading in offline mode 2024-08-30 22:17:36 +08:00
Fredia Huya-Kouadio a5897d579b Update the GodotHost interface to support signing and verifying Android apks
Update the export logic to enable apk generation and signing for Android editor builds

Note: Only legacy builds are supported. Gradle builds are not supported at this point in time.
2024-08-26 11:16:38 -07:00
kobewi 065dd099dd Remove empty bind_methods() 2024-08-15 08:24:32 +02:00
A Thousand Ships ca18a06ecb [Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
A Thousand Ships d519715d94 [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
Hilderin df10fdc367 Fix Bug when downloading export templates and re-open the template manager #93121 2024-06-14 01:15:05 -04: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
Haoyu Qiu 8cd1ebbd6d Fix unexpected auto translation of Tree content 2024-03-18 09:31:00 +08:00
Hugo Locurcio 4f52c49006 Don't refresh mirrors for development builds in editor export template manager
Export template downloads are only available for official (pre)-releases,
not development builds.

This prevents an error popup from displaying every time you open
the export template manager on a development build. UI elements
that are non-functional in development builds are now disabled as well.
2024-03-07 01:17:04 +01:00
David Snopek a37ad265dc Android: Allow using alternative Gradle build directory 2024-02-16 15:20:47 -06:00
Christian Kaiser edcb581627 Use indeterminate progressbars for downloads (export templates & assets) 2024-02-08 11:08:11 -03:00
Yuri Sizov 6d2a827f73 Merge pull request #79374 from raulsntos/ignore-directories-in-tpz
Ignore directory entries in TPZ
2024-01-24 14:07:30 +01:00
Yuri Sizov 635b8a1474 Split theme generation logic into several subroutines
This change introduces a new theme configuration struct to be
passed to the aforementioned routines to better control reuse
of styles and definitions in the generator.

Everything not passed and not explicitly shared is scoped so it
is not automatically accessible throughout the routine. This
should ensure that the decision to share styles is a conscious one.

In the future we will try to reduce the number of unique definitions
and share most of it. This PR is a stepping stone on this path.

This also puts the effort into separating redefinitions of
default theme items vs custom types introduced only by the editor.
In a few cases where editor-specific definitions need to reference
default definitions we simply fetch them from the theme. It's not
ideal and hides the dependency a bit, but hopefully these cases
will be abstracted properly in due time.
2024-01-16 11:57:45 +01:00