summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2012-03-14CHUI-60 FIX Initial chat bubble from object is incorrectly sized on loginRichard Linden
bad XUI
2012-03-14Add --leap command-line switch to launch one or more LEAP plugins.Nat Goodspeed
You can specify one or more instances of --leap 'command line'. Each such command line is parsed using bash-like conventions, notably honoring double quotes, e.g. --leap '"c:/Program Files/Something/something.exe" arg1 arg2'. (Specifying such an argument in a Windows Command Prompt may be tricky.) Such a program should read its stdin and write to its stdout using LLSD Event API Plugin protocol: length:serialized_LLSD where 'length' is the decimal integer count of bytes in serialized_LLSD, ':' is a literal colon character, and 'serialized_LLSD' is notation-format LLSD. A typical LLSD object is a map containing 'pump' and 'data' keys, where 'pump' is the name of the LLEventPump on which to send 'data' (or on which 'data' was received). In particular, the initial LLSD object on stdin mentions the name of this plugin's reply LLEventPump: the LLEventPump that will send every subsequent received event to the plugin's stdin. Anything written to the plugin's stderr will be logged in the viewer log. In addition to being generally useful, this helps debug problems with particular plugins.
2012-03-14Backed out changeset 22664c76b59e (reinstate Windows pipe workaround)Nat Goodspeed
Sigh, the rejoicing was premature.
2012-03-14Backed out changeset 51205a909e2c (Windows APR pipe bug workaround)Nat Goodspeed
If in fact we've managed to fix the APR bug writing to a Windows named pipe, it should no longer be necessary to try to work around it by testing with a much smaller data volume on Windows!
2012-03-14On Windows, try cutting down the size of a "very large message."Nat Goodspeed
Ideally we'd love to be able to nail the underlying bug, but log output suggests it may actually go all the way down to the OS level. To move forward, try to bypass it.
2012-03-13EXP-1924 : Relax the cconsistency policy between text and UUID on the clipboard.Merov Linden
2012-03-13EXP-1915 : Rewrote the fetching mechanism for folders making it truly recursive.Merov Linden
2012-03-13If very-large-message test fails, search for a size that works.Nat Goodspeed
We want to write a robust test that consistently works. On Windows, that appears to require constraining the max message size. I, the coder, could try submitting test runs of varying sizes to TC until I found a size that works... but that could take quite a while. If I were clever, I might even use a manual binary search. But computers are good at binary searching; there are even prepackaged algorithms in the STL. If I were cleverer still, I could make the test program itself search for size that works.
2012-03-13Protect LLProcess destructor when run after APR shutdown.Nat Goodspeed
A static LLProcessPtr variable won't be destroyed until after procedural code has shut down APR. The trouble is that LLProcess's destructor unregisters itself from APR -- and, for an autokill LLProcess, attempts to kill the child process. All that is ill-advised after APR shutdown. Disable use of apr_pool_note_subprocess() mechanism. This should be another viable way of coping with static autokill LLProcessPtr variables: when the designated APR pool is cleaned up, APR promises to kill the child process. But whether it's an APR bug or a calling error, the present (now disabled) call in LLProcess results in OUR process, the viewer, getting SIGTERM when it asks to clean up the global APR pool.
2012-03-13Increase timeout for very-large-message test.Nat Goodspeed
Apparently, at least on Mac, there are circumstances in which the very-large- message test can take several times longer than normal, yet still complete successfully. This is always the problem with timeouts: does timeout expiration mean that the code in question is actually hung, or would it complete if given a bit longer? If very-large-message test fails, retry a few times with smaller sizes to try to find a size at which the test runs reliably. The default size, ca 1MB, is intended to be substantially larger than anything we'll encounter in the wild. Is that "unreasonably" large? Is there a "reasonable" size at which the test could consistently pass? Is that "reasonable" size still larger than what we expect to encounter in practice? Need more information, hence this code.
2012-03-13Add timeout functionality to waitfor() helper functions.Nat Goodspeed
Otherwise, a stuck child process could potentially hang the test, and thus the whole viewer build.
2012-03-13CHUI-56 FIXED Fixed a crash when deleting multiple inventory folders.Vadim ProductEngine
2012-03-12MergeMerov Linden
2012-03-12EXP-1914 : Fix the evaluation of isClipboardPasteable() when the clipboard ↵merov
is in cut mode.
2012-03-12SH-2970 WIP - scoped phase tweaking, removed auto-phase-stop on metrics sendBrad Payne (Vir Linden)
2012-03-12SH-2970 WIP - send per-appearance-change metrics packet (disabled)Brad Payne (Vir Linden)
2012-03-12EXP-1922 : Skip the clipboard elements when purging the trash when in cut modeMerov Linden
2012-03-12sync with viewer-developmenteli
2012-03-12Normalize LLErrorThread::run() loop exit condition.Nat Goodspeed
2012-03-12For a test program killed by signal, display signal name.Nat Goodspeed
2012-03-09EXP-1913 : Suppress the text concatenation on clipboard, unused and confusing.Merov Linden
2012-03-09EXP-1915 : Disable copy/cut options for folders as long as all items in them ↵Merov Linden
are not present.
2012-03-09EXP-1913 : Prevent text clipboard to zap inventory clipboardMerov Linden
2012-03-09SH-2970 WIP - more phase trackingBrad Payne (Vir Linden)
2012-03-09merge changes for vmrg-225Oz Linden
2012-03-09merge changes for vmrg-223Oz Linden
2012-03-09merge changes for vmrg-230Oz Linden
2012-03-09merge changes for vmrg-227Oz Linden
2012-03-09merge changes for vmrg-226Oz Linden
2012-03-08EXP-1917 : Suppress clean up callback now that we move things to the trash ↵Merov Linden
immediately
2012-03-08SH-2970 WIP - more phase trackingBrad Payne (Vir Linden)
2012-03-07EXP-1912 : Fix the substring filtering I broke while trying to fix 1912 the ↵Merov Linden
first time around.
2012-03-07fix for mac build errorBrad Payne (Vir Linden)
2012-03-06EXP-1767 WIP Received Items panel state does not persist between sessionsRichard Linden
added get/setTargetDim() for managing layout_panel size even if its collapsed/invisible/etc
2012-03-06EXP-1767 WIP Received Items panel state does not persist between sessionsRichard Linden
ensure that layout stack has updated its layout before manually resizing one of its elements (which was causing the manual resize to be stomped on by the newly triggered layout update) made layout stack animation occur even when layout stack not visible (inventory will appear in proper open/closed state) LLView::setShape() now only calls handleReshape() when dimensions change removed extraneous calls to LLLayoutStack::updateClass() so that it should be called only once per frame now, allowing it to limit animation updates to layout stacks to one per frame. fixed rendering glitches arising from reshaping LLFolderView while in the middle of its draw() method
2012-03-06texture view console tweaksBrad Payne (Vir Linden)
2012-03-06via richard - fix to keep texture debug console anchored at the topBrad Payne (Vir Linden)
2012-03-06SH-2970 WIP - framework for tracking various phases of avatar rezzing/outfit ↵Brad Payne (Vir Linden)
changing
2012-03-06fixed some log warnings resulting from missing "name" attributes in ↵Richard Linden
menu_viewer.xml
2012-03-06Automated merge with http://hg.secondlife.com/viewer-developmentNat Goodspeed
2012-03-06SH-2970 WIPBrad Payne (Vir Linden)
2012-03-05CHUI-55 FIX Floaters that have set positions from old viewer versions can ↵Richard Linden
appear off screen until user repositions the floaters manually
2012-03-05EXP-1917 : Fix items coming back in folders when quit after cut.Merov Linden
2012-03-05Alphabetize cmd_line.xml.Nat Goodspeed
This separate commit is just to order the keys. Data are unchanged, as established by: $ hg cat -rtip cmd_line.xml >cmd_line.xml.tip $ python Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from llbase import llsd >>> tipdata = llsd.parse(open("cmd_line.xml.tip").read()) >>> newdata = llsd.parse(open("cmd_line.xml").read()) >>> tipdata == newdata True
2012-03-05EXP-1912 : Fix filtering of folders when those are being cut.Merov Linden
2012-03-05Further reduce the block size that LLProcess writes to child pipe.Nat Goodspeed
It seems that on Windows, even 32K is too big: one in three load-test runs fails with a duplicated block. Empirically, reducing it to 4K makes it much more stable -- at least we can run successfully 100 consecutive times, which is a step in the right direction.
2012-03-05Additional diagnostic code to track down strange Windows pipe error.Nat Goodspeed
It seems that under certain circumstances, write logic was duplicating a chunk of the data being streamed down our pipe. But as this condition is only driven with a very large data stream, eyeballing that data stream is tedious. Add code to compare the raw received data with the expected stream, reporting where and how they first differ.
2012-03-05Introduce (disabled) LLLeap debugging code to validate stdin writes.Nat Goodspeed
While debugging mysterious problem on Windows, one potential failure mode to rule out was the possibility that streaming std::ostringstream << LLSDNotationStreamer(large_LLSD) might itself cause trouble -- even before attempting to write to the LLProcess::WritePipe. The debugging code validated that the correct length is being reported, and that deserializing the resulting buffer produces equivalent LLSD. This code verified correct operation, and so has been disabled, as it's expensive at runtime.
2012-03-05SH-2970 WIP - av metricsBrad Payne (Vir Linden)
2012-03-05SH-2970 WIP - simple LLSD metrics for self avBrad Payne (Vir Linden)