summaryrefslogtreecommitdiff
path: root/indra/llfilesystem
AgeCommit message (Collapse)Author
23 hoursMerge remote-tracking branch 'secondlife/release/26.4' into 26.4Erik Kundiman
2026-08-11Merge remote-tracking branch 'origin/develop-linux' into geenz/linux-to-developJonathan "Geenz" Goodman
2026-07-20#6014 More tracy coverageAndrey Kleshchev
2026-05-12fix: replace non-ASCII source commentssantoslgl01-web
Resolves #5664
2026-04-23Fix another wstring Boost filesystem linking errorErik Kundiman
The errors were: llfilesystem.lib(llfilesystem.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::detail::path_traits::convert(char const *,char const *,cl ass std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > &,class std::codecvt<unsigned short,char,struct _Mbstatet> const *)" (__imp _?convert@path_traits@detail@filesystem@boost@@YAXPEBD0AEAV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@PEBV?$codecvt@GDU_Mbstatet@@@6@@Z) referenced in function "public: __cd ecl boost::filesystem::path::path<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,void>(class std::basic_string<char,struct std::char_traits<char>,clas s std::allocator<char> > const &)" (??$?0V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@X@path@filesystem@boost@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2 @@std@@@Z) [C:\Users\erik\Documents\Megapahit\viewer\build-mingw64_nt-10.0-26200-arm64-x86_64\newview\Megapahit.vcxproj] Hint on symbols that are defined and could potentially match: "__declspec(dllimport) void __cdecl boost::filesystem::detail::path_traits::convert(char const *,char const *,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std: :allocator<wchar_t> > &,class std::codecvt<wchar_t,char,struct _Mbstatet> const *)" (__imp_?convert@path_traits@detail@filesystem@boost@@YAXPEBD0AEAV?$basic_string@_WU?$char_traits@_W@std@@ V?$allocator@_W@2@@std@@PEBV?$codecvt@_WDU_Mbstatet@@@6@@Z) "__declspec(dllimport) void __cdecl boost::filesystem::detail::path_traits::convert(wchar_t const *,wchar_t const *,class std::basic_string<char,struct std::char_traits<char>,class std: :allocator<char> > &,class std::codecvt<wchar_t,char,struct _Mbstatet> const *)" (__imp_?convert@path_traits@detail@filesystem@boost@@YAXPEB_W0AEAV?$basic_string@DU?$char_traits@D@std@@V?$a llocator@D@2@@std@@PEBV?$codecvt@_WDU_Mbstatet@@@6@@Z)
2026-04-23Adjust open path on FreeBSD againErik Kundiman
2026-03-07Merge tag 'Second_Life_Release#3529bc5f-2026.02' into 2026.02Erik Kundiman
2026-02-11#5405 Stalls on LLFileSystem::getExistsAndrey Kleshchev
2026-02-03Improve windir detection in LLDir::openDirCarbon Cowboy
2026-02-03Add clickable notification for saved screenshotsCarbon Cowboy
Display notification with filepath after screenshot is saved to disk. Clicking the notification opens the system file browser to reveal the saved file. Fixes #5329
2026-01-21Merge remote-tracking branch 'origin/develop' into develop-linuxRye
2026-01-21Add early out for disk cache when app is shutting down to reduce shutdown timeRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-21Introduced Tracy instrumentation to app initializationRye
2026-01-07#4899 Fix permissions flags on files that shouldn't be executable #2Andrey Kleshchev
2026-01-07Address feedback from copilotRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-07Replace remaining boost::filesystem usage with std::filesystemRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-07Reduce temporary allocations and repeated utf8->utf16 in LLTextureCache with ↵Rye
new LLFile IO code Add non-allocating to_chars and to_wchars string creation functions to LLUUID Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-07Clean up LLFile and LLFilesystem operations to reduce temporaries ↵Rye
allocations and utf8->utf16 conversions Fix LLFile::tmpdir failing when temp directory is located in a unicode path on windows Add Tracy profiler tagging to LLFile that's disabled by default Replace LLFile::utf8StringToWstring with our fsyspath std::filesystem::path adapter Introduce std::filesystem::path to llifstream/llofstream wrappers Add move operators to fsyspath to match copy operator Restore LLUniqueFile RAII class for direct c file io wrapping and reducing merge conflicts with downstream code that may depend upon it Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-07#4899 Fix permissions flags on files that shouldn't be executableAndrey Kleshchev
2026-01-07Reapply "Add more functionality to LLFile and cleanup LLAPRFile""Andrey Kleshchev
# Conflicts: # indra/llcrashlogger/llcrashlock.cpp # indra/llrender/llshadermgr.cpp # indra/test/CMakeLists.txt
2025-12-16Clean up dead legacy headers and compiler work aroundsRye
Clean up dead macos files Clean up dead windows build files Signed-off-by: Rye <rye@alchemyviewer.org>
2025-12-11Revert #4899 "Add more functionality to LLFile and cleanup LLAPRFile"Andrey Kleshchev
Interferes with linux work, will be moved to a different branch and applied separately.
2025-12-10Remove chatty warning message when checking for existence of a fileFrederick Martian
2025-12-10Improve comment and remove superfluous error_code checkFrederick Martian
2025-12-10Incorporate some of the comment improvements suggested by Copilot and make ↵Frederick Martian
LLFile::size() return -1 on error and adjust the callers to account for that.
2025-12-10The returned vector should only contain filenames, not the entire pathsFrederick Martian
2025-12-10- Improve documentation of LLFile functions and methodsFrederick Martian
- Improve error handling in LLFile::read(), LLFile::write() and LLFile::copy() - Improve LLFileSystem::getFileSize() to work with the extra possibility of LLFile::size() returning -1 on error - Replace LLAPRFile:readEx() and LLAPRFile::writeEx() with according LLFile functions
2025-12-10Refactoring of LLFile class to support additional methodsFrederick Martian
- LLFile with its own class method interface to access files for read and write - Remove rudimentary LLUniqueFile class as LLFile supports now all of that and more - Implement most of the filename based functions using std::filesystem functions - Replace LLFile::rmdir() with LLFile::remove() since this function now supports deleting files and directories on all platforms.
2025-12-04Merge remote-tracking branch 'secondlife/release/2026.01' into 2026.01Erik Kundiman
2025-12-03Merge branch 'release/2026.01' into marchcat/devlinux-2601Andrey Lihatskiy
# Conflicts: # indra/llcommon/llprocessor.cpp # indra/llcorehttp/_refcounted.h # indra/llcorehttp/_thread.h # indra/newview/llfeaturemanager.cpp # indra/newview/llviewershadermgr.cpp
2025-12-01#5078 Replace boost::assign usage with modern c++ brace initializationRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-11-07Merge branch 'main' into 2025.08Erik Kundiman
2025-11-07Move media plugins to SLPlugin's Frameworks on macErik Kundiman
and remove unnecessary links, such as to graphics libraries. CEF framework is still in the viewer bundle's Frameworks, with the link in SLPlugin's, as moving it to SLPlugin's would cause it to not work even though the media plugin gets loaded.
2025-10-31Add early out for disk cache when app is shutting down to reduce shutdown timeRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-10-31Fix multiple unicode file io handling issues with llofstream and llifstreamRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-10-27Introduce global precompiled header to accelerate buildRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-10-27Cherrypick 42885c0d23d8efc47ad77e09bb327e4ec6a4fada from archive/developRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-10-27Restore linux CEF build support including changes from archive/developRye
Fix various files missing linden_common Signed-off-by: Rye <rye@alchemyviewer.org>
2025-10-26Merge tag 'Second_Life_Release#4e2a9667-2025.08' into 2025.08Erik Kundiman
2025-10-21Improve LLFile to be consistent between Windows and Linux/MacRolfKal
2025-10-20Fix tabs and trailing spaces in objc sourcesRye
2025-10-01Merge tag 'Second_Life_Release#a6d4c1d3-2025.07' into 2025.07Erik Kundiman
2025-09-05Revert "Replace boost filesystem with std filesystem"Callum Prentice
This reverts commit 94e45ca2e60b4013a4e38d8f2c1fe8dad4207c3a.
2025-09-05Replace boost filesystem with std filesystemAndrey Kleshchev
Build fixes, instead of resolving unclear boost filesystem errors just updated to std in affected places.
2025-08-27Merge branch 'callum/viewer-cef-2025-08' into rye/infinitemacRye
2025-08-27MacOS companion changes for dullahan 1.21 including package structure and ↵Rye
linkage fixes
2025-08-22Fix test build on macOSRye
2025-08-20Merge branch 'develop' of github.com:secondlife/viewer into rye/infinitemacRye
2025-07-03Merge tag 'Second_Life_Project#bca9ba9b-glTF_Mesh_Import' into gltf_mesh_importErik Kundiman
2025-06-06Fix another wstring Boost filesystem linking errorErik Kundiman
I couldn't get the LL_WARNS to link on Windows yet, so they're just disabled for now, they're only warnings to the users anyway. The error was: llfilesystem.lib(lldiskcache.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::detail::path_traits::convert(unsigned short const *,unsigned short const *,class std::basic_string<char,struct std::char_traits<char>,cla ss std::allocator<char> > &,class std::codecvt<unsigned short,char,struct _Mbstatet> const *)" (__imp_?convert@path_traits@detail@filesystem@boost@@YAXPEBG0AEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBV?$codecvt@GDU_Mbstatet@@@6@@Z) referenced in function "public: void __cdecl LLDiskCache::clearCache(void)" (?clearCache@LLDiskCache@@QEAAXXZ) [C:\Users\erik\Documents\Megapahit\viewer\build-mingw64_nt-10.0-19045-x86_64\newview\megapahit.vcxproj]