summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-29SL-18330: WIP: Send LLLeap to child as binary LLSD; generic parser.Nat Goodspeed
Since parsing binary LLSD is faster than parsing notation LLSD, send data from the viewer to the LEAP plugin child process's stdin in binary instead of notation. Similarly, instead of parsing the child process's stdout using specifically a notation parser, use the generic LLSDSerialize::deserialize() LLSD parser. Add more LLSDSerialize Python compatibility tests.
2022-11-28SL-18718 Crash at LLEventPump::listen and connection issuesAndrey Kleshchev
Cleaner reinit and termination.
2022-11-25SL-18101 MoaP Reset button should reset the Current URLAndrey Kleshchev
2022-11-25SL-18713 fix crash in handleCompositionMessage (#12)Maxim Nikolenko
2022-11-23SL-18330: LLSDSerialize::deserialize() w/o hdr uses XML or notationNat Goodspeed
Absent a header from LLSDSerialize::serialize(), make deserialize() distinguish between XML or notation by recognizing an initial '<'.
2022-11-23Merge branch 'main' into DRTVWR-573-maint-RAndrey Lihatskiy
2022-11-23Merge branch 'main' into DRTVWR-570-maint-QAndrey Lihatskiy
2022-11-23Merge branch 'main' into DRTVWR-565-maint-PAndrey Lihatskiy
2022-11-22SL-18330: Make LLSDSerialize::deserialize() default to notation.Nat Goodspeed
LLSDSerialize::serialize() emits a header string, e.g. "<? llsd/notation ?>" for notation format. Until now, LLSDSerialize::deserialize() has required that header to properly decode the input stream. But none of LLSDBinaryFormatter, LLSDXMLFormatter or LLSDNotationFormatter emit that header themselves. Nor do any of the Python llsd.format_binary(), format_xml() or format_notation() functions. Until now, you could not use LLSD::deserialize() to parse an arbitrary-format LLSD stream serialized by anything but LLSDSerialize::serialize(). Change LLSDSerialize::deserialize() so that if no header is recognized, instead of failing, it attempts to parse as notation. Add tests to exercise this case. The tricky part about this processing is that deserialize() necessarily reads some number of bytes from the input stream first, to try to recognize the header. If it fails to do so, it must prepend the bytes it has already read to the rest of the input stream since they're probably the beginning of the serialized data. To support this use case, introduce cat_streambuf, a std::streambuf subclass that (virtually) concatenates other std::streambuf instances. When read by a std::istream, the sequence of underlying std::streambufs appears to the consumer as a single continuous stream.
2022-11-22Merge branch 'DRTVWR-568' into DRTVWR-539Mnikolenko Productengine
2022-11-22SL-18219 Crash getting and sending render info on exitAndrey Kleshchev
There might be other causes for sendRenderInfoToRegion and getRenderInfoFromRegion, crashing, but in some cases viewer was shutting down
2022-11-22Merge branch 'master' into DRTVWR-539Mnikolenko Productengine
2022-11-21Merge pull request #4 from secondlife/signal/staleSignal Linden
Close stale PRs
2022-11-21Fix a thread safety issue in the GL image worker.Henri Beauchamp
LLViewerTexture::mNeedsCreateTexture needs to be an attomic bool since it is written both in the main thread and in the GL image worker thread. We can now enable threaded bump maps creation as a result of this fix. I have read the CLA Document and I hereby sign the CLA
2022-11-21Merge pull request #6 from sldevel/masterRunitaiLinden
Fix a thread safety issue in the GL image worker.
2022-11-22SL-18689 Crash at LLTabContainer::selectNextTab()Andrey Kleshchev
FPE_NOOP at "idx = (idx + 1 ) % (S32)mTabList.size();"
2022-11-22SL-18565 Prevent texture fetch crash on second login attemptAndrey Kleshchev
2022-11-21Merge pull request #8 from Ansariel/masterSignal Linden
Update message template URL after move to GitHub
2022-11-21Merge branch 'master' into DRTVWR-570-maint-QAndrey Lihatskiy
2022-11-21Merge branch 'master' into DRTVWR-573-maint-RAndrey Lihatskiy
2022-11-21Update default URL for message template in template_verifier.py as wellAnsariel
2022-11-21SL-18218: Switch canonical_repo to GitHub URLBennett Goble
2022-11-21Update message template URL after move to GitHubAnsariel
2022-11-21Merge branch master into DRTVWR-565-maint-PAndrey Kleshchev
2022-11-21SL-18565 restoreGL should re-add bumpmapsAndrey Kleshchev
2022-11-19Fix a thread safety issue in the GL image worker.Henri Beauchamp
LLViewerTexture::mNeedsCreateTexture needs to be an attomic bool since it is written both in the main thread and in the GL image worker thread. We can now enable threaded bump maps creation as a result of this fix. I have read the CLA Document and I hereby sign the CLA
2022-11-19restore correct glh_linear versionMnikolenko Productengine
2022-11-19SL-18670 change limits of RenderVolumeLODFactor in Preference similar to ↵Mnikolenko Productengine
Distance detail ctrl; update slider text correctly
2022-11-19SL-18675 Display render time as 1 even it's actually lessMnikolenko Productengine
2022-11-18Merge pull request #1 from FelixWolf/CZ-1Signal Linden
Various repo fixes
2022-11-18Renamed LICENSE.txt to follow naming scheme of other reposKyler Eastridge
2022-11-18Merge pull request #3 from secondlife/signal/labelSignal Linden
Add automatic PR labels
2022-11-18Merge pull request #2 from secondlife/signal/claSignal Linden
Add CLA bot
2022-11-18Mark PRs as stale after 60 days, close them automatically if no responseBennett Goble
after 7 days.
2022-11-18Add automatic PR labelsBennett Goble
2022-11-18Add CLA botBennett Goble
2022-11-18SL-17135 Pull in apr-suit packageAndrey Kleshchev
Same apr suit version, but with debug symbols
2022-11-18SL-18528 Clear cached MFA token when Remember Password is unchecked in viewerMnikolenko Productengine
2022-11-18Add copy of license to root directory so it is recognized by ghKyler Eastridge
2022-11-18Fix spelling error on license file nameKyler Eastridge
2022-11-18Fix readme logo for dark theme sitesKyler Eastridge
2022-11-17SL-18644 reset 'All items' filter when using 'Find Original' in Recent tabMaxim Nikolenko
2022-11-17SL-18641 fix for 'Always display friends in full detail' settingMaxim Nikolenko
2022-11-17SL-15869 Do not account for login menu when checking if key combination is ↵Andrey Kleshchev
avaliable Ex: Allow mapping actions to Ctrl+Alt+D
2022-11-15Merge remote-tracking branch 'github/master'Bennett Goble
2022-11-15SL-18618 Update libpngAndrey Kleshchev
2022-11-14SL-18637 Reverted material shader changesAndrey Lihatskiy
original fix by Beq Janus
2022-11-13DRTVWR-575: Explain that NSInteger is really int64_t.Nat Goodspeed
2022-11-13DRTVWR-575: Merge brad's xcode-14.1 fixes with nat'sNat Goodspeed
2022-11-12DRTVWR-575: Address review comments on Xcode 14.1 type tweaks.Nat Goodspeed
Introduce LLSD template constructors and assignment operators to disambiguate construction or assignment from any integer type to Integer, likewise any floating point type to Real. Use new narrow() function to validate conversions. For LLSD method parameters converted from LLSD::Integer to size_t, where the method previously checked for a negative argument, make it now check for size_t converted from negative: in other words, more than S32_MAX. The risk of having a parameter forced from negative to unsigned exceeds the risk of a valid length or index over that max. In lltracerecording.cpp's PeriodicRecording, now that mCurPeriod and mNumRecordedPeriods are size_t instead of S32, defend against subtracting 1 from 0. Use narrow() to validate newly-introduced narrowing conversions. Make llclamp() return the type of the raw input value, even if the types of the boundary values differ. std::ostream::tellp() no longer returns a value we can directly report as a number. Cast to U64.