summaryrefslogtreecommitdiffstats
path: root/editor/plugins/asset_library_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Hide header and footer in AssetLib when not necessaryErik2018-10-151-0/+3
| | | | | | | Reduces visual clutter by hiding pages navigator header and footer in AssetLib if no results are found or when results fit on one page one page. Fix for issue #23036
* Fix occasional crash when downloading assets from the Asset LibraryHugo Locurcio2018-08-201-1/+10
| | | | | | | | | | | This is caused by GitHub not publishing a Content-Length header in all cases (it only does so if the file was requested recently), which in turn made `String.humanize_size()` try to humanize a size of -1 byte (as returned by HTTPRequest when no Content-Length is contained in the response). This crashed the editor due to a division by zero. This closes #21200.
* Merge pull request #20760 from Calinou/improve-assetlib-download-uxRémi Verschelde2018-08-141-11/+20
|\ | | | | Improve the asset library download UX
| * Improve the asset library download UXHugo Locurcio2018-08-061-11/+20
| | | | | | | | | | The progress bar is now correctly set to 0% while initiating the download and is hidden once the download is completed.
* | Do not use theme to set LineEdit right_iconŁukasz Rutkowski2018-08-111-2/+2
| |
* | Add clear text button to LineEditŁukasz Rutkowski2018-08-111-0/+4
|/ | | | | | | | | | - Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* Fix #16069, #19292, #19267 and #18940Guilherme Felipe2018-06-061-0/+1
|
* Fix AssetLib image loadingKarolis K2018-05-211-3/+14
|
* AssetLib pagination modificationsKarolis K2018-05-161-32/+32
|
* Merge pull request #18797 from TailyFair/assetlib-video-overlayRémi Verschelde2018-05-141-1/+17
|\ | | | | Added video thumbnail overlay in asset description
| * Thumbnail overlay for videos in AssetLibKarolis K2018-05-111-1/+17
| |
* | Fix icon if remote icon load failsKarolis K2018-05-101-5/+6
|/
* Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde2018-05-011-12/+2
|\ | | | | Fix Coverity reports of uninitialized scalar variable
| * Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-191-12/+2
| | | | | | | | | | | | | | | | | | | | | | Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
* | Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-4/+4
|/
* Revert "Unify http- and percent- encode/decode"Pedro J. Estébanez2018-04-121-1/+1
| | | | This reverts commit b76ee30917c63211ac9e94a21bebbddf518d169f.
* Unify http- and percent- encode/decodePedro J. Estébanez2018-03-271-1/+1
| | | | | There was a percent-prefixed version, which was exposed, and a http-prefixed version which was not (only to GDNative). This commit keeps the percent-prefixed versions, but with the http-prefixed implementations.
* Merge pull request #17013 from Noshyaar/themeRémi Verschelde2018-03-131-3/+5
|\ | | | | Update icons when theme changed
| * Update icons when theme changedPoommetee Ketson2018-02-251-3/+5
| |
* | More threading in AssetLibFabio Alessandrelli2018-02-281-0/+2
|/ | | | AssetLib now uses thread as requested to download previews and items
* Refactor version macros and fix related bugsRémi Verschelde2018-02-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were several places hardcoding their own variant of the version string, potentially with bugs (e.g. forgetting the patch number when defined). The new logic defines: - VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1) - VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch', depending on whether the latter is defined (e.g. 3.1.4) - VERSION_FULL_CONFIG, which contains the version status (e.g. stable) and the module-specific suffix (e.g. mono) - VERSION_FULL_BUILD, same as above but with build/reference name (e.g. official, custom_build, mageia, etc.) Note: Slight change here, as the previous format had the build name *before* the module-specific suffix; now it's after - VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed with "Godot v" for readability Bugs fixed thanks to that: - Export templates version matching now properly takes VERSION_PATCH into account by relying on VERSION_FULL_CONFIG. - ClassDB hash no longer takes the build name into account, but limits itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant for the API hash). - Docs XML no longer hardcode the VERSION_STATUS, this was annoying. - Small cleanup in Windows .rc file thanks to new macros.
* Fix #16773 (Rename "Install" to "Download" in AssetLib)Artem Varaksa2018-02-171-1/+1
|
* Remove debugging prints related to the asset libraryHugo Locurcio2018-02-051-10/+0
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Enhance undoredo action name, TTR, cleanupPoommetee Ketson2017-12-121-1/+1
|
* Project Manager: Fix Templates search signal connection.Andreas Haas2017-12-091-1/+7
| | | | Fixes #13921
* Ask users to explore official projects when none is loaded.Juan Linietsky2017-11-261-0/+4
|
* Merge pull request #13008 from Chaosus/assetstorefixesRémi Verschelde2017-11-201-15/+28
|\ | | | | Few fixes for asset store browser
| * Few fixes for asset store browserChaosus2017-11-201-15/+28
| |
* | Use new XDG folders to dehardcode pathsRémi Verschelde2017-11-191-4/+4
| |
* | EditorSettings: Rename settings_path to settings_dirRémi Verschelde2017-11-171-4/+4
|/ | | | Also to prepare for upcoming refactoring for XDG support.
* Enable asset store for godot 3.0Chaosus2017-11-091-4/+6
|
* Removed most of the custom colors from the interface.Daniel J. Ramirez2017-09-251-1/+1
|
* Remove set_area_as_parent_rect and replace it by ↵Gilles Roudiere2017-09-221-1/+1
| | | | set_anchors_and_margins_preset(PRESET_WIDE)
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Cleanup tons of obsolete commented out codeRémi Verschelde2017-08-261-0/+1486
Mostly in EditorNode, dropping some obsolete editor plugins and also a cleanup of ProjectSettings/EditorSettings.