summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2022-12-07SL-18330: Merge 'contribute' of secondlife/viewer into sl-18330Nat Goodspeed
2022-12-06SL-18330: Adapt LLSDSerialize and tests to llssize max_bytes params.Nat Goodspeed
2022-12-02SL-18330: Test Python llsd.parse() both from bytes and from stream.Nat Goodspeed
2022-12-02SL-18330: Fix new C++ <-> Python LLSD compatibility tests.Nat Goodspeed
When sending multiple LEAP packets in the same file (for testing convenience), use a length prefix instead of delimiting with '\n'. Now that we allow a serialization format that includes an LLSD format header (e.g. "<?llsd/binary?>"), '\n' is part of the packet content. But in fact, testing binary LLSD means we can't pick any delimiter guaranteed not to appear in the packet content. Using a length prefix also lets us pass a specific max_bytes to the subject C++ LLSD parser. Make llleap_test.cpp use new freestanding Python llsd package when available. Update Python-side LEAP protocol code to work directly with encoded bytes stream, avoiding bytes<->str encoding and decoding, which breaks binary LLSD. Make LLSDSerialize::deserialize() recognize LLSD format header case- insensitively. Python emits and checks for "llsd/binary", while LLSDSerialize emits and checks for "LLSD/Binary". Once any of the headers is recognized, pass corrected max_bytes to the specific parser. Make deserialize() more careful about the no-header case: preserve '\n' in content. Introduce debugging code (disabled) because it's a little tricky to recreate. Revert LLLeap child process stdout parser from LLSDSerialize::deserialize() to the specific LLSDNotationParser(), as at present: the generic parser fails one of LLLeap's integration tests for reasons that remain mysterious.
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-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-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-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-21Update message template URL after move to GitHubAnsariel
2022-11-01Increment viewer version to 6.6.8Nat Goodspeed
following promotion of DRTVWR-575
2022-10-31Fix SL-18511 TOS and MFA login failure handlers must cooperate to answer ↵Brad Kittenbrink
both reasons at the same time
2022-10-26Increment viewer version to 6.6.7Nat Goodspeed
following promotion of DRTVWR-574
2022-10-24SL-18432 Fix for alpha sortingAndrey Lihatskiy
2022-10-20Increment viewer version to 6.6.6Nat Goodspeed
following promotion of DRTVWR-548
2022-10-17SL-17779 Texture position changes were ignored on rigged meshesAndrey Kleshchev
Since the performance overhaul project, there should be essentially no difference between rigged meshes and non-rigged as far as vertex buffer management is concerned.
2022-09-28SL-18240 Don't disable HUD media when "Obscure MOAP" is active on landMnikolenko Productengine
2022-09-22Merge remote-tracking branch 'origin/SL-18119' into DRTVWR-548-maint-NAndrey Lihatskiy
2022-09-22SL-18119 - log group join, object add or rezBrad Payne (Vir Linden)
2022-09-21SL-18119 - bug fixBrad Payne (Vir Linden)
2022-09-21SL-18119 - more ViewerStats logs for NUXBrad Payne (Vir Linden)
2022-09-20SL-18119 - logCommand() for friend operationsBrad Payne (Vir Linden)
2022-09-16SL-18119 - UIUsage logs for some common operationsBrad Payne (Vir Linden)
2022-09-16SL-18131 Increase region cap access count before returning errorsAndrey Kleshchev
It might be safe to merge mSeedCapAttempts with mHttpResponderID, but for now leaving them separated, if only for making this mechanic clearer.
2022-09-16Merge branch master (DRTVWR-571) into DRTVWR-548-maint-NAndrey Kleshchev
2022-09-15DRTVWR-571: Belated merge of DRTVWR-544 version bump.Nat Goodspeed
2022-09-15Merge branch 'master' into DRTVWR-548-maint-NAndrey Lihatskiy
# Conflicts: # indra/newview/llmodelpreview.h
2022-09-15Increment viewer version to 6.6.5Nat Goodspeed
following promotion of DRTVWR-544
2022-09-15SL-18153 Fixed bring to front multiple dialog handlingAndrey Kleshchev
2022-09-14SL-18151 [SEC] MOAP can force multiple floaters open on users screen: The ↵Callum Linden
Viewer part of the fix for this JIRA - pulls in the updated Dullahan that exposes the user_gesture/is_redirect flags and uses them to determine what type of 'nav_type' is exchanged with viewer/plugin
2022-09-14SL-18153 Fix invisible blocking popupAndrey Kleshchev
Don't add popup to the list twice
2022-09-14SL-18153 Fix invisible blocking popupAndrey Kleshchev
Don't add popup to the list twice
2022-09-08SL-3007 Report abuse option in paticipan listAndrey Kleshchev
2022-09-08SL-15787 Crash at setCapabilityAndrey Kleshchev
2022-09-06SL-18097 Don't permit multiple instances of 'unsaved changes' popupsAndrey Kleshchev
Make notifications modal. When multiple ones are visible, first popup works, interacting with second one causes a crash. And it shouldn't be possible to change anything in floater when these notifications are visible
2022-09-06SL-17984 Small cleanup in profilesAndrey Kleshchev
2022-09-06SL-3007 Small improvements for auto filling abuse reports #2Andrey Kleshchev
2022-08-31SL-17984 The top two lines in the Description field are not available for ↵Andrey Kleshchev
selection Viewer was drawing empty "indicator_stack" over description
2022-08-31Merge branch 'master' into DRTVWR-548-maint-NAndrey Lihatskiy
2022-08-31Merge branch 'master' into DRTVWR-544-maintAndrey Lihatskiy
# Conflicts: # indra/newview/llpanelpicks.cpp # indra/newview/llpanelprofile.cpp
2022-08-30Increment viewer version to 6.6.4Nat Goodspeed
following promotion of DRTVWR-483
2022-08-25SL-18007 Edit shape freezes avatar in the middle of the turning animationAndrey Kleshchev
2022-08-10SL-17925 Fix SLURL based creation of picks and classifiedsAndrey Kleshchev
2022-08-10SL-17924 Don't clear pick's description when clicking on description for the ↵Andrey Kleshchev
first time
2022-08-10SL-17923 "Title" and "Description" labels are not displayed in "Picks" tabAndrey Kleshchev
Fixed unlabeled fields in picks: For consistency purposes and for clarity both picks and classifieds should display title and descriprion labels. Fixed extra large spacing in classifieds
2022-08-08SL-14556 Profile floater does not update after a name changeAndrey Kleshchev
2022-08-05SL-17908 No left and right events when both held downAndrey Kleshchev
Reverts part of SL-15746
2022-08-04SL-17902 Crash at LLAlignedArray, out of boundsAndrey Kleshchev
2022-08-04SL-17785 FIXED World Map scrolls too slowly after pressing "Me" buttonMnikolenko Productengine
2022-08-04DRTVWR-544 Post-merge build fixAndrey Lihatskiy
2022-08-04Merge branch 'master' into DRTVWR-544-maintAndrey Lihatskiy
# Conflicts: # indra/newview/llpanelface.cpp # indra/newview/llpanelface.h # indra/newview/llpanelobject.cpp