summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2023-03-02SL-18330: Review and tweak LLTrace::PeriodicRecording indexingNat Goodspeed
per Leviathan code review.
2023-03-01SL-18330: Tweaks for Visual Studio buildsNat Goodspeed
2023-03-01SL-18330: Fix a narrowing conversion in LLSDSerialize::deserialize().Nat Goodspeed
2023-03-01SL-18330: Use recursive variadic llmax(), llmin()Nat Goodspeed
instead of having specific binary, ternary and quaternary overloads.
2023-03-01SL-18330: Use size_t max for LLTrace::PeriodicRecording methods.Nat Goodspeed
The num_periods arguments have all been changed to size_t, but the default argument values were still coded as S32_MAX. Change to std::numeric_limits<size_t>::max().
2023-03-01SL-18330: Use C++ standard types for llmd5, not local typedefs.Nat Goodspeed
Not only do the local typedefs make the code less readable, they also rely on assumptions about the implementation. The standard types are guaranteed by the C++ library implementation.
2023-02-15SL-18330: Fix per PR review comments.Nat Goodspeed
2023-02-15SL-18330: Merge branch 'contribute' into sl-18330-mergeNat Goodspeed
2023-02-15SL-18330: Fix egregious existing build errors in contribute branch.Nat Goodspeed
2023-02-15SL-19159 Build fixesAndrey Kleshchev
2023-02-15SL-18330: Merge branch 'contribute' into sl-18330-mergeNat Goodspeed
2023-02-14SL-19207 Skins cleanup; Remove unused files (not present in /en/) across all ↵Pantera Północy
translations (#80)
2023-02-13SL-19207 Polish translation: notifications, strings, a few floaters; Minor ↵Pantera Północy
changes in /en/ (#78)
2023-02-13SL-19110 revert LLUUID::combine() to old algorithm to match server code. (#75)Henri Beauchamp
As it happens, the change in the LLUUID::combine() algorithm introduced by one of my previous commits is causing invalid assets creation (seen with some clothing items, such as Shape and Universal types); obviously, the server is using the old algorithm for UUID validation purpose of these assets. This commit reverts LLUUID::combine() code to use LLMD5.
2023-02-07SL-19159 pull request #71 from sldevel/invcat-fast-hashakleshchev
Faster and simpler inventory category hashing.
2023-02-07Added a digest_t typedef to clarify the usage of the digest LLUUIDHenri Beauchamp
As suggested in comments for previous commit.
2023-02-07SL-19159 Faster LLUUID and LLMaterialID hashing for std and boost containers ↵Henri Beauchamp
keys (#70) LLUUID and LLMaterialID already have an excellent entropy and value dispersion; there is therefore strictly no need to further (slowly) hash their value for use with std and boost libraries containers. This commit adds a trivial getDigest64() method to both LLUUID and LLMaterialID (which simply returns the XOR of the two 64 bits long words their value is made of), and uses it in std::hash and hash_value() specializations for use with containers.
2023-02-07SL-19110 Make HBXXH* classes no-copy. (#72)Henri Beauchamp
These classes are not trivially copyable because of the mState pointer on an internal XXH3 state that would have to be explicitely copied. While it would be possible to add custom copy constructor and operator for them, it does not really make sense to allow copying an instance of these classes, since all we care about storing and copying is the digest (which is either an U64 or an LLUUID).
2023-02-06Faster and simpler inventory category hashing.Henri Beauchamp
This commit changes inventory category hashing from slow LLMD5 to fast HBXX128 hashing, and allows to use a simple LLUUID for the hash, instead of an LLMD5 instance. It also removes some old cruft dealing with unused baked texture hashing.
2023-02-04SL-17761: Replace 'Grid emergency' message with generic errorBennett Goble
The viewer currently presents a startling "Grid emergency" warning if an unrecognized error is returned from login. Let's tone this down a bit and present the error as it is: an unrecognized login failure rather than SLearth exploding.
2023-01-31SL-19110 Fix coding policyAndrey Kleshchev
2023-01-31SL-19110 Fix xxhash build link and properly register contributionAndrey Kleshchev
2023-01-31SL-19110 Fast hashing classes for use in place of the slow LLMD5, where ↵Henri Beauchamp
speed matters. (#64) This commit adds the HBXX64 and HBXX128 classes for use as a drop-in replacement for the slow LLMD5 hashing class, where speed matters and backward compatibility (with standard hashing algorithms) and/or cryptographic hashing qualities are not required. It also replaces LLMD5 with HBXX* in a few existing hot (well, ok, just "warm" for some) paths meeting the above requirements, while paving the way for future use cases, such as in the DRTVWR-559 and sibling branches where the slow LLMD5 is used (e.g. to hash materials and vertex buffer cache entries), and could be use such a (way) faster algorithm with very significant benefits and no negative impact. Here is the comment I added in indra/llcommon/hbxx.h: // HBXXH* classes are to be used where speed matters and cryptographic quality // is not required (no "one-way" guarantee, though they are likely not worst in // this respect than MD5 which got busted and is now considered too weak). The // xxHash code they are built upon is vectorized and about 50 times faster than // MD5. A 64 bits hash class is also provided for when 128 bits of entropy are // not needed. The hashes collision rate is similar to MD5's. // See https://github.com/Cyan4973/xxHash#readme for details.
2023-01-28SL-19097 Crash when selecting a model for upload and waiting too longAndrey Kleshchev
Should be fixed by SL-18996, but just in case user decides to select a model while viewer closes
2023-01-27SL-18996 make MacOS picker dialogs modeless to avoid disconnects #2Andrey Kleshchev
2023-01-27SL-18996 [WIP] MacOS make picker dialogs non-modal to avoid disconnects #1Andrey Kleshchev
2023-01-18SL-3033 flv files prompt download instead of playingAndrey Kleshchev
Viewer doesn't support web downloads, it should be safe to assume stream and play it
2023-01-16SL-18893 OSX buildfixAndrey Lihatskiy
2023-01-16MacOS Build fixAndrey Kleshchev
2023-01-16SL-18937 Add missing panel_* files in Polish translation (#50)Pantera Północy
2023-01-10SL-18937 Merge pull request #45 from PanteraPolnocy/contributeakleshchev
Translate missing control_*, floater_* menu_* and few panel_* files in Polish directory; Fix localizability in various English XMLs
2023-01-10SL-18893 Fixes for pull requests #38, #41, and #42 (#46)Fawrsk
Eliminate unnecessary copies, and remove uses of auto
2023-01-09Eliminate needless copiesFawrsk
2023-01-07Translate missing control_*, floater_* menu_* and few panel_* files in ↵PanteraPolnocy
Polish directory; Fix localizability in various English XMLs
2023-01-07Cleanup for loops in llcommon to use C++11 range based for loopsFawrsk
2023-01-05SL-18893 Cleanup for loops in llcharacter to use C++11 range based for loops ↵Fawrsk
(#42)
2023-01-05SL-18893 Clean up for loops in llaudio to use C++11 range based for loops (#41)Fawrsk
2023-01-04SL-18904 Remove unused translation filesAndrey Kleshchev
2023-01-03Polish translation: Leftovers cleanup (files not present in /en/)PanteraPolnocy
2023-01-03Widgets cleanup in Polish translation (up to 6.6.9), fix translatability for ↵PanteraPolnocy
density_ctrl.xml file
2023-01-03SL-18893 Clean up for loops in llappearance to use C++11 range based for ↵Fawrsk
loops (#38)
2023-01-03SL-18891 Remove duplicate entry in settings filePantera Północy
2023-01-03SL-18874 Rigged mesh upload crash when using Bounding Box physicsAndrey Kleshchev
2022-12-14SL-18384 Fix NSException for keyboard handlingAndrey Kleshchev
Affects accent keys for diacritical marks
2022-12-13SL-15175 Merge pull request #26 from sldevel/contributeakleshchev
Fix failures to update the TP states while the viewer is minimized.
2022-12-12DRTVWR-565: Merge branch 'main' into contributeNat Goodspeed
2022-12-12Increment viewer version to 6.6.9Nat Goodspeed
following promotion of DRTVWR-565
2022-12-12DRTVWR-565: Merge branch 'origin/contribute' into DRTVWR-565Nat Goodspeed
2022-12-12Merge branch 'xcode-14.1' into contributeAndrey Kleshchev
2022-12-12SL-8839 Make About Land resizableAndrey Kleshchev