256 Commits over 244 Days - 0.04cph!
Wrap property tooltips in rich text tags so they wrap, resolves Facepunch/sbox-issues#6723
Do Widget.AdjustSize before ConstrainToScreen
Fix colour picker relying on late sizing and not constraining to screen properly, Facepunch/sbox-issues#6717
Don't let the user drag AssetPicker tabs about/outside the window (lol)
AssetPicker: Disable type facet dropdown if FilterAssetTypes is specified
AssetPicker: Default to project assets folder when no initial selection is given
Fix CloudBrowser not saving/restoring from cookie
Shift cloud locations around again, this makes more sense I think
AssetPicker: make sure we're raising the tab you'd expect by default
Add clear button to asset/cloud browser search bars
AssetPicker: Standardise initial selection logic, prefer selecting cloud package for cloud assets (and not .sbox disk path)
Fix focusing AssetList on entry sneakily not working
Wait for cloud browser to receive results before selecting initial selection
Prevent cloud browser from shitting pant with duplicate facet tags in query
Don't add type tag twice when FilterAssetTypes is specified for cloud browser
Cloud browser: Hide sidebar type locations when FilterAssetTypes is specified
Cloud asset uninstall flow/ui
- removes all references to the package from your project
- deletes all files that're no longer needed from disk
- updates package references to remaining installed package where there's shared files
https://files.facepunch.com/solw/2024/October/31_13-07-ComposedAmericancreamdraft.png
Fix path widget error with meta locations
Fix asset dependency list with new browser
Save/restore asset inspector tabs to cookie
Don't do AssetListEntry scroll events in list mode
Don't show libraries in cloud browser
Add windows-style subdirectory flyout to path separator
https://files.facepunch.com/solw/2024/October/30_09-20-IllfatedUlyssesbutterfly.png
Include final path separator if the directory has subdirs
Add scroll layout enter/exit events to ListView
Asset browser: only render thumbnails for assets within visible scroll region, dequeue when culled
Don't refresh whole browser content when a thumbnail is updated
Just do a single thumbnail render per frame for now, feels less janky
Reorganise cloud browser sidebar, add type shortcuts
Add count badge to cloud Installed node
Fix qt exception when installing cloud assets
Cloud browser: Update facet dropdown selection from actual value in query, avoid putting crap in the searchbar from sidebar shortcuts
Cloud browser: Still show facet title when there's a selection
Fix asset context menus in native tools, resolves Facepunch/sbox-issues#6722
IsValid() wrapper for main asset browser instance
Fix path breadcrumbs not working outside of main asset browser
Don't show the menu path for custom assets' file type, just the title
Add "Open File Location" shortcut for files in search results, meta locations etc. Tweak context menu icons.
Fix asset icons at 16x16, centre
Use 16x16 icon for unknown files so that doesn't get cut off
Pretty up file modified date, standardised w/ leading zeros so it's nicer in column view
Use full paths for engine asset locations
Only try to filter by asset type if we have any filters on, fixes excluding most files from search
Show full file path in window status bar on hover again, resolves Facepunch/sbox-issues#6709
Always update the path widget even if it's not a real location
Fix asset browser not saving to cookies, bring back history cookie logic
(this is all in the project cookie now too)
Restore fix for dragging in installed cloud assets, resolves Facepunch/sbox-issues#6703
Stick 'New Component' at the top of component picker flyout, Facepunch/sbox-issues#6670
Add clear button to component flyout search
Use custom JsonSerializerOptions when grabbing whole scene undo snapshot
Prevent MapInstance on clients from binning received network objects, Facepunch/sbox-issues#6669
Fix NRE in SceneEditorSession.Resolve when an unsaved scene/prefab session is open, Facepunch/sbox-issues#6594
Fix adding new cloud asset ServerPackages sometimes causing silly hang
Disable new cloud packages stuff while I work out why that breaks shit sometimes
Add "new" cloud asset refs to ServerPackages table when hosting a game from editor
Adding cloud assets will now work in clients without having to publish/upload your project (Facepunch/sbox-issues#6598)
Add SerializedProperty IsPublic, IsField, IsProperty
Only show properties in GameResource inspector that'll actually be serialised, Facepunch/sbox-issues#6656
MapInstance explicitly fails when trying to load scenemaps, fallback to configured map when map arg isn't valid
- Fixes case where an uploaded scenemap containing a MapInstance (mis?)configured to pull from launch args, would try to load itself and fall apart, Facepunch/sbox-issues#6620
Show unambiguous ident subdirectory path in project creator window, resolves Facepunch/sbox-issues#6609
Bring back automatic default project names (My Project 1, 2 etc) now we use idents for project subdirs (and have for ages)
Smite the random third-party cloud references in core assets
JsonIgnore Resource.IsValid
Attempt to include map vpks as LargeNetworkFiles, Facepunch/sbox-issues#6573
Bump up log level of native warnings
Print more user friendly error when we try and fail to load vpk of an uncompiled map, don't piss out searchpath debug anymore
Show inspector hint when an assigned map is uncompiled
https://files.facepunch.com/solw/2024/October/09_19-20-JumpyOropendola.png
Move server package list to networked StringTable, sync to clients/late joiners when host mounts packages, resolves Facepunch/sbox-issues#6529
Obsolete unused MountAsnc, IsMounted params
Catch ServerPackage download exceptions and flag download as errored
Fix NRE updating recent scene list
Include new .sbox/cloud directory as build map cmdline -searchpaths arg
Renaming assets now lets you just change capitalisation, resolves Facepunch/sbox-issues#6564
Fix crash from drawing SceneObject with an override but no mesh material, resolves Facepunch/sbox-issues#6553
Always trigger native asset reload when files are added or deleted while in editor
- Fixes cases of error/fallbacks being used until a restart when a resource is added or a package updated.
- Deleting resources will now also update to accurately show fallbacks for most types.
Save viewport settings to project cookie instead of global editor cookie
Fix scene view cookie not always correctly saving
Scene view: Save 2d zoom per-scene alongside camera position/rotation
Scene view: Save Layout to project cookie
Move project cookies to .sbox/
Move asset thumbnails to .sbox/
Fix some cloud package thumbnails getting unnecessarily downloaded
Stick cloud/local asset thumbnail cache on different paths so these can't conflict
Capitalise code folder in game minimal template, resolves Facepunch/sbox-issues#6331
Add addon .sbox/ to gitignore
Catch possible NRE
Expanded logging for cases where Package.FetchAsync can fail
Don't bother with cloud stuff if the backend isn't available
Attempt retries when failing to save asset metadata
Cloud asset tweaks (#1666)
(.sbox folder, version-pinning fixes, manual update flow, searchpath prio fix)
Update these to check the new cloud path
Logging non vs versioned idents as a conflicting version is dramatic and actually I don't care, we'll use the versioned one anyway
Replace .source2/ with .sbox/
Revert "Redownload package manifests if they're dodgy instead of breaking a download"
This reverts commit 4ea8058ad72c4c3a9c9d2c29e0c76f78d1a9edcc.
Make sure we've got the right package version installed, update if not
Bin global tools package cache, replace with per-project store
Redownload package manifests if they're dodgy instead of breaking a download
Fix pinned version # getting dropped when installing package
Prevent trying to install different versions of the same package
Add manual cloud asset updating
Update asset package refs when updating dependency, fix when broken (yuck)
Basic 'in project' filter for installed cloud assets, show as asset location
Check revision matches when we're checking for an installed package at a specific #
Don't redownload a package we've already got installed
Catch possible NRE
This isn't needed anymore
Add .source2/ to gitignore template
If package is on disk just use asset directly when dragging into scene
Update existing refs in GameResources when updating package
Normal GameResource processor uses versioned idents too
Consistently sort reference lists alphabetically so diffs aren't so mental to read
Only update references inside project assets folder
Avoid walking into a LoadResource exception, we don't really care that much
Differentiate between persistent and preview contexts when fetching cloud assets, only update references for persistent installs
Show remote/latest version info, incl version id, in PackagePopup