summaryrefslogtreecommitdiff
path: root/indra/llcommon
AgeCommit message (Collapse)Author
2024-09-19Merge pull request #2610 from secondlife/frame-profile-jsonnat-goodspeed
Make Develop->Render Tests->Frame Profile dump JSON to a file too.
2024-09-19viewer#2608 Crash at LLSnapshotLivePreview::getFormattedImageAndrey Kleshchev
2024-09-19trailing spaces from other branchesNat Goodspeed
2024-09-19Merge branch 'develop' into frame-profile-jsonNat Goodspeed
2024-09-18Turn off sLogInSignal to avoid crashing. (#2607)Brad Linden
fixes secondlife/viewer#2566
2024-09-18Add hexdump.h with iostream manipulators to dump a byte range as hexNat Goodspeed
or to produce readable text from a mix of printing and nonprinting ASCII characters. (cherry picked from commit 01a59bab1a4b7c4645271a21cfaadc3735b6029c)
2024-09-18Ditch trailing space.Nat Goodspeed
2024-09-18Give our fsyspath an operator std::string() conversion method.Nat Goodspeed
This is redundant (but harmless) on a Posix system, but it fills a missing puzzle piece on Windows. The point of fsyspath is to be able to interchange freely between fsyspath and std::string. Existing fsyspath could be constructed and assigned from std::string, and we could explicitly call its string() method to get a std::string, but an implicit fsyspath-to-string conversion that worked on Posix would trip us up on Windows. Fix that. (cherry picked from commit fbeff6d8052d4b614a0a2c8ebaf35b45379ab578)
2024-09-18Introduce fsyspath subclass of std::filesystem::path.Nat Goodspeed
Our std::strings are UTF-8 encoded, so conversion from std::string to std::filesystem::path must use UTF-8 decoding. The native Windows std::filesystem::path constructor and assignment operator accepting std::string use "native narrow encoding," which mangles path strings containing UTF-8 encoded non-ASCII characters. fsyspath's std::string constructor and assignment operator explicitly engage std::filesystem::u8path() to handle encoding. u8path() is deprecated in C++20, but once we adapt fsyspath's conversion to C++20 conventions, consuming code need not be modified. (cherry picked from commit e399b02e3306a249cb161f07cac578d3f2617bab)
2024-09-18Add LLFloaterAbout info (esp. GPU info) to Frame Profile stats dumpNat Goodspeed
With the About info added, `getProfileStatsContext()` need not redundantly add `"channel"`, `"version"` or `"region"`. Slightly improve the efficiency of `LlsdToJson()` and `LlsdFromJson()` by preallocating the known size of the source array or map. (Unfortunately the C++ `LLSD` class offers us no way to preallocate a map.) In `LLAppViewer::getViewerInfo()`, avoid immediate successive calls to `gAgent.getRegion()`. (cherry picked from commit f4b65638879c10c832b3bb8448f82001106ffd11)
2024-09-13Clean up Windows build (#2562)Ansariel Hiller
* APR_DECLARE_STATIC and APU_DECLARE_STATIC gets already defined in APR.cmake * Move both _CRT_SECURE_NO_WARNINGS and _WINSOCK_DEPRECATED_NO_WARNINGS definitions to 00-Common.cmake * Always define WIN32_LEAN_AND_MEAN and include subset of Windows API by default * Remove llwin32headerslean.h and remove unnecessary WIN32_LEAN_AND_MEAN definition handling in llwin32headers.h * Clean up includes of Windows API headers * Get rid of workaround to link against IPHLPAPI.lib in lluuid.cpp - this seems to have been an issue in the past that has been fixed
2024-09-12Merge pull request #2561 from secondlife/brad/2553-about-sl-crash-locale-initBrad Linden
secondlife/viewer#2553 about sl crash locale init
2024-09-12Attempted fix for mac crash when showing About Second Life.Brad Linden
secondlife/viewer#2553
2024-09-12Fix for mac build with tracy enabled.Brad Linden
2024-09-12Fix for tracy not working on macDave Parks
2024-09-10Profile guided optimizationsRunitaiLinden
2024-09-09Changes towards C++20 compatibility (#2520)Ansariel Hiller
2024-09-05Fixed md5 buffer not being correctly zero-initialized and refactored code. ↵TJ
(#2507)
2024-08-28Attempt to get better file/line info for LL_ERRS crahses in bugsplat. (#2447)Brad Linden
secondlife/viewer#2445
2024-08-26Improve safety of macOS available RAM calcuations at suggestion of Ansariel ↵Brad Linden
and Beq (#2423)
2024-08-26secondlife/viewer#2391: Remove avatar rigging "callstack" loggingCosmic Linden
2024-08-26Remove or suppress left over debug messages in hot paths (#2392)Rye Mutt
2024-08-20Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into developBrad Linden
# Conflicts: # autobuild.xml # indra/newview/llvoicewebrtc.cpp
2024-08-20Clean up boost includes and remove compiler warning pragma for unreachable ↵Ansariel Hiller
code in PCH (#2361)
2024-08-20Remove orphaned LLAllocator (#2348)Ansariel Hiller
2024-08-19Refactor LLFileSystem for and fix an old issue in LLFile (#2332)Ansariel Hiller
2024-08-15Merge remote-tracking branch 'origin/release/webrtc-voice' into ↵Brad Linden
release/2024.06-atlasaurus
2024-08-15BugSplat Crash #1504587: std::vector::empty()Alexander Gavriliuk
2024-08-14Enable /permissive- on MSVC for better standards conformance (#2251)Rye Mutt
* Enable /permissive- on MSVC for better C++ conformance and fix related errors * Clean up left over warning suppressions from old library or msvc versions
2024-08-13Introduce tracy instrumentation of mutex in LLSingleton, LLInstanceTracker ↵Rye Mutt
and logging
2024-08-13Update tracy integration to 0.11 and rework client library to be ↵Rye Mutt
configurable at build time Also copy tracy profiler client next to windows binary when enabled
2024-08-09Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into developBrad Linden
# Conflicts: # .github/workflows/build.yaml # indra/llui/llscrolllistctrl.cpp
2024-08-09Merge remote-tracking branch 'origin/release/webrtc-voice' into ↵Brad Linden
release/2024.06-atlasaurus # Conflicts: # .github/workflows/build.yaml # indra/newview/CMakeLists.txt # indra/newview/llspeakers.cpp # indra/newview/llvoicechannel.cpp # indra/newview/llvoicechannel.h # indra/newview/llvoiceclient.cpp # indra/newview/llvoiceclient.h # indra/newview/llvoicewebrtc.cpp
2024-08-07Replace boost::shared_ptr with std in voice classesAndrey Kleshchev
2024-08-01Fix failure to join or detach threads causing rare shutdown terminationRye Mutt
2024-07-29Replace liburiparser with boost::urlRye Mutt
2024-07-19Merge pull request #1996 from secondlife/davep/fix_tracy_buildBrad Linden
Fix for tracy build.
2024-07-19#2053 BugSplat Crash #1494325: LLVOVolume::getReflectionProbeNearClip()Alexander Gavriliuk
2024-07-18#1500 Better out of disk space handlingAlexander Gavriliuk
2024-07-11Fix for tracy build.RunitaiLinden
2024-07-10Introduce LLCoros::RMutex, use for SettingsConfig::mRecorderMutex (#1980)nat-goodspeed
in llerror.cpp.
2024-07-09Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into developBrad Linden
2024-07-09Update tracy profiler to 0.10 (#1946)Rye Mutt
2024-07-09#1943 make sys free in texture console llmemorysavailphysicalmeminkb tell ↵Dave Parks
the truth (#1966) * Also fix for crash when applying MoaP to PBR material
2024-07-09Review feedback changeRunitaiLinden
2024-07-09#1826 Fix for LL_ERRS crashing in mutex lockRunitaiLinden
2024-07-09Merge pull request #1949 from sldevel/xmlrpc-crash-fixAndrey Lihatskiy
Fix for crash in XMLRPC reply decoding on login with large inventories
2024-07-09Merge pull request #1945 from Ansariel/develop_msvc7Andrey Lihatskiy
Remove ancient MSVC7 code
2024-07-09Merge pull request #1944 from Ansariel/develop_c4244Andrey Lihatskiy
Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now
2024-07-08Fix for crash in XMLRPC reply decoding on login with large inventoriesHenri Beauchamp
Commit 2ea5ac0c43e3e28d2b1774f5367d099271a1da32 introduced a crash bug due to the recursive construction of the XMLTreeNode wrapper class. The constructor of the said class typically recurses twice as many times as there are entries in the user's inventory list. This commit: - Moves the fromXMLRPCValue() method and its helper functions from the LLSD class/module to the LLXMLNode class, where it belongs, thus making LLSD::TreeNode (which was a wrapper class to avoid making llcommon dependant on llxml, which is still the case after this commit) totally moot; the fromXMLRPCValue() call is now done directly on the LLXMLNode. - Moves the XML and XMLRPC decoding code out of the HTTP coroutine LLXMLRPCTransaction::Handler (coroutines got an even smaller and fixed stack), and into LLXMLRPCTransaction::Impl::process(). - Removes XMLTreeNode entirely, fixing the crash as a result.