summaryrefslogtreecommitdiffstats
path: root/editor/plugins/asset_library_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add expand modes to TextureRectkobewi2023-01-121-1/+1
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Add support for svg images in the asset lib.HolonProduction2022-12-201-0/+22
| | | | | | Pixel based image formats are identified by magic numbers. This is not possible with svg therefore svg parsing is tried and if it succeeded the result is used. WebP and bmp support is added as well. But I could not test it as I am not able to run a local instance of the asset lib and there is no asset using those formats.
* Use forward-declarations in big editor classestrollodel2022-11-291-0/+1
|
* Rename TextureButton set_*_texture methods to set_texture_*Aaron Franke2022-11-191-3/+3
|
* Rename queue_delete => queue_freeMarc Gilleron2022-10-241-3/+3
| | | | | # Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-11/+11
| | | | change warnings=all to use /W4.
* Fix Ctrl/Cmd+F always processed by the asset library, instead of script ↵bruvzg2022-09-101-1/+1
| | | | editor / help.
* Merge pull request #65241 from bruvzg/no_keymap_ambiguityRémi Verschelde2022-09-081-1/+1
|\ | | | | | | Fix key mapping changes when moving from macOS to other platform.
| * Fix key mapping changes when moving from macOS to other platformbruvzg2022-09-071-1/+1
| | | | | | | | | | Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
* | Merge pull request #60108 from KoBeWi/arise_to_topRémi Verschelde2022-09-081-1/+1
|\ \ | | | | | | | | | Rename raise() to move_to_front()
| * | Rename raise() to move_to_front()kobewi2022-09-061-1/+1
| | |
* | | Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_moreRémi Verschelde2022-09-081-2/+2
|\ \ \ | |_|/ |/| | | | | [Net] Rename "ssl" references to "tls" in methods and members.
| * | [Net] Rename "ssl" references to "tls" in methods and members.Fabio Alessandrelli2022-09-081-2/+2
| | |
* | | Add set_default_margin_all/individual to StyleBoxFireForge2022-09-071-8/+2
|/ /
* | Merge pull request #65447 from Faless/net/4.x_ssl_to_tlsRémi Verschelde2022-09-071-2/+2
|\ \ | | | | | | | | | [Net] Rename StreamPeerSSL to StreamPeerTLS.
| * | [Net] Rename StreamPeerSSL to StreamPeerTLS.Fabio Alessandrelli2022-09-071-2/+2
| |/ | | | | | | SSL has been deprectated almost 10 years ago.
* | Merge pull request #65449 from ↵Rémi Verschelde2022-09-071-1/+1
|\ \ | | | | | | | | | | | | | | | YuriSizov/editor-main-control-screen-container-node Rename `EditorInterface.get_editor_main_control` to `get_editor_main_screen`
| * | Rename EditorInterface.get_editor_main_control to get_editor_main_screenYuri Sizov2022-09-071-1/+1
| |/
* / Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-2/+2
|/ | | | | | | | | | | | | | Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
* Disable logic that triggers automatic focus gain as the Godot Editor is loadedFredia Huya-Kouadio2022-09-051-0/+2
| | | | For the Godot Android Editor, this is an inconvenience as it causes the soft keyboard to show and block half of the view
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-4/+4
|
* Merge pull request #65023 from Faless/js/4.x_is_webRémi Verschelde2022-08-291-1/+1
|\
| * [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-291-1/+1
| | | | | | | | Also rename export name from "HTML5" to "Web".
* | Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde2022-08-291-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
* Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record2022-08-271-3/+0
|
* Remove Signal connect bindsJuan Linietsky2022-07-291-7/+7
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Merge pull request #59301 from fire-forge/layout-preset-full-rectRémi Verschelde2022-07-191-1/+1
|\
| * Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge2022-07-181-1/+1
| |
* | Use integer types in Image and ImageTexture methodsFireForge2022-07-181-1/+1
|/ | | | | | | | | | | - Image.blit_rect() - Image.blit_rect_mask() - Image.blend_rect() - Image.blend_rect_mask() - Image.fill_rect() - Image.get_used_rect() - Image.get_rect() - ImageTexture.set_size_override()
* Merge pull request #62827 from fire-forge/ok-cancelRémi Verschelde2022-07-131-5/+5
|\ | | | | Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
| * Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge2022-07-091-5/+5
| |
* | Seperate filter and description in FileDialog.add_filter()FireForge2022-07-091-1/+1
| |
* | Add static methods for creating Image and ImageTexturekobewi2022-07-081-9/+2
|/
* Make asset library's column count dynamicpython2732022-07-021-6/+15
|
* Stretch image on resize in asset description dialogKirill2022-07-011-0/+3
|
* [AssetLib] Fix crash in Web editor.Fabio Alessandrelli2022-06-301-0/+11
| | | | | Add EditorAssetLibrary::is_available which always returns false in the Web editor and use it in EditorNode for detection.
* Use consistent casing in editor filter/search barsFireForge2022-05-281-2/+2
|
* Tweaks to improve the Project Manager display at small sizesAaron Franke2022-05-191-0/+7
|
* Handle AssetLib repository config errorHaoyu Qiu2022-05-041-14/+44
|
* Rename theme properties to include underscoresFireForge2022-04-231-4/+4
| | | | | | | | | | | | | | - check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-18/+7
|
* [Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg2022-04-051-2/+2
| | | | character input with Alt / Ctrl modifiers, after processing of shortcuts.
* Add TTR context for pagination button textsHaoyu Qiu2022-03-241-4/+4
|
* Remove extra borders from the AssetLib pluginMichael Alexsander2022-03-151-1/+1
|
* Allow negative indexes in ItemList and PopupMenukobewi2022-03-121-1/+1
|
* Remove duplicate editor settings definitionskobewi2022-03-061-2/+2
|
* Update if == NOTIFICATION_* to switch statements to match coding stylemegalobyte2022-02-161-5/+12
|
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-0/+1
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-3/+2
|