summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-01EXP-1841 : Use instance instead of getInstance on LLClipboard singleton.Merov Linden
2012-03-01Refactor llleap_test.cpp to streamline adding more unit tests.Nat Goodspeed
Migrate logic from specific test to common reader module, notably parsing the wakeup message containing the reply-pump name. Make test script post to Result struct to communicate success/failure to C++ TUT test, rather than just writing to log. Make test script insensitive to key order in serialized LLSD::Map.
2012-03-01Break out std::ostream << CaptureLog routine for general use.Nat Goodspeed
2012-03-01Add LLLeap class, initial implementation, initial unit tests.Nat Goodspeed
Instantiating LLLeap with a command to execute a particular child process sets up machinery to speak LLSD Event API Plugin protocol with that child process. LLLeap is an LLInstanceTracker subclass, so the code that instantiates need not hold the pointer. LLLeap monitors child-process termination and deletes itself when done.
2012-03-01Allow CaptureLog's consumer to specify desired log level.Nat Goodspeed
Of course, given the way the log machinery works, it's really "everything at that level or stronger."
2012-03-01sync with viewer-developmenteli
2012-03-01Pull from viewer-experienceMerov Linden
2012-03-01CHUI-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-01Added tag DRTVWR-113_3.2.8-release, 3.2.8-release for changeset 51b2fd52e36aOz Linden
2012-03-01Add NamedExtTempFile to invent arbitrary name with specified ext.Nat Goodspeed
This arises, for instance, if you want to be able to create a temporary Python module you can import from test scripts. The Python module file MUST have the .py extension.
2012-03-01Make CaptureLog::withMessage() raise tut::failure if not found.Nat Goodspeed
All known callers were using ensure(! withMessage(...).empty()). Centralize that logic. Make failure message report the string being sought and the log messages in which it wasn't found. In case someone does want to permit the search to fail, add an optional 'required' parameter, default true. Leverage new functionality in llprocess_test.cpp.
2012-03-01Log better error message in case of apr_proc_create() failure.Nat Goodspeed
We were using uniform macro to report the APR function and its C++ parameter expressions. But specifically for apr_proc_create() failure, better to report the command we're attempting to execute.
2012-03-01Break out TestRecorder class as CaptureLog into wrapllerrs.h.Nat Goodspeed
Giving more unit tests the ability to capture and examine log output is generally useful. Renaming the class just makes it less ambiguous: what's a TestRecorder? Something that records tests?
2012-02-29When constructing a pipe to child stdin on Posix, ignore SIGPIPE.Nat Goodspeed
We can't count on every child process reading everything we try to write to it. And if the child terminates with WritePipe data still pending, unless we explicitly suppress it, Posix will hit us with SIGPIPE. That would terminate the calling process, boom. "Ignoring" it means APR gets the correct errno, passes it back to us, we log it, etc.
2012-02-29increment viewer version to 3.3.1Oz Linden
2012-02-29Added tag 3.3.0-start for changeset d5f263687f43Oz Linden
2012-02-29Guarantee LLProcess::Params::postend listener any ReadPipe data.Nat Goodspeed
Previously one might get process-terminated notification but still have to wait for the child process's final data to arrive on one or more ReadPipes. That required complex consumer timing logic to handle incomplete pending ReadPipe data, e.g. a partial last line with no terminating newline. New code guarantees that by the time LLProcess sends process-terminated notification, all pending pipe data will have been buffered in ReadPipes. Document LLProcess::ReadPipe::getPump() notification event; add "eof" key. Add LLProcess::ReadPipe::getline() and read() convenience methods. Add static LLProcess::getline() and basename() convenience methods, publishing logic already present elsewhere. Use ReadPipe::getline() and read() in unit tests. Add unit test for "eof" event on ReadPipe::getPump(). Add unit test verifying that final data have been buffered by termination notification event.
2012-02-29added dummy file to assist in forcing tc buildsRichard Linden
2012-02-29SH-3018 WIP - removed audit texture, other unused diagnostic codeBrad Payne (Vir Linden)
2012-02-29merge changes for vmrg-231Oz Linden
2012-02-29merge changes for sh-2963Oz Linden
2012-02-29merge tags from beta branchOz Linden
2012-02-29SH-3018 WIP - removed obsolete texture category and texture size consolesBrad Payne (Vir Linden)
2012-02-29SH-2689 FIX - a bit more logging and related cleanup. Somewhat arbitrarily ↵Brad Payne (Vir Linden)
calling this done, although tweaks will be ongoing
2012-02-28SH-2908 Reset graphics drivers to "low" if viewer crashes when allocating ↵Dave Parks
deferred rendering targets.
2012-02-28SH-2908 Fix for incompatibility issue with GLSL 1.30Dave Parks
2012-02-28Automated merge with ssh://hg.lindenlab.com/richard/viewer-experienceRichard Linden
2012-02-28EXP-1918 FIX Floaters that are stacked are not offsetRichard Linden
EXP-1919 FIX Resizing viewer window with minimized floaters can result in floaters appearing off screen when un-minimized
2012-02-28EXP-1888 FIX Update text for emtpy Received Items folder in the ViewerRichard Linden
2012-02-28Updated llqtwebkit install URLs for Mac and Win.Seth ProductEngine
2012-02-28EXP-1633 FIXED Updated llqtwebkit package for Linux and WebKitLibPlugin ↵Seth ProductEngine
build configuration.
2012-02-27mergeDave Parks
2012-02-27SH-2889 Fix for crash when encountering certain attachments.Dave Parks
2012-02-27SH-2689 WIP - fix for isFullyTextured when no skirt wornBrad Payne (Vir Linden)
2012-02-27SH-2689 WIP - tracking cloud/gray/textured state for avs, display with ↵Brad Payne (Vir Linden)
rendering cost
2012-02-27fix for mac buildRichard Linden
2012-02-27EXP-1181 FIX As a designer, I would like to specify default floater ↵Richard Linden
positions using relative coordinates store and load floater relative positions
2012-02-27Reduce redundancy in llprocess_test.cpp using get_test_name().Nat Goodspeed
2012-02-27Automated merge with file:///Users/nat/linden/viewer-leap-daggyNat Goodspeed
2012-02-27Add LLInstanceTracker test for exception in subclass constructor.Nat Goodspeed
We want to verify the sequence: LLInstanceTracker constructor adds instance to underlying container Subclass constructor throws exception LLInstanceTracker destructor removes instance from underlying container.
2012-02-27EXP-1832 WIP Viewer Size not persistent across loginsRichard Linden
fixed not unmaximizing properly on Windows put in error logging on Mac
2012-02-27Automated merge with file:///Users/nat/linden/viewer-leap-daggyNat Goodspeed
2012-02-27Make LLInstanceTracker<T, T*>::getInstance(T*) validate passed T*.Nat Goodspeed
For the T* specialization (no string, or whatever, key), the original getInstance() method simply returned the passed-in T* value. It was defined, as the comments noted, for completeness of the analogy with the keyed LLInstanceTracker specialization. It turns out, though, that getInstance(T*) can still be useful to ask whether the T* you have in hand still references a valid T instance. Support that usage.
2012-02-27avatar logging and cleanupBrad Payne (Vir Linden)
2012-02-27EXP-1305 FIXED Prevent avatar from walking after double-clicking the title bar.Vadim ProductEngine
2012-02-26Add TODOs for getTokens() to known places that scan command lines.Nat Goodspeed
Lacking time to properly test new LLStringUtil::getTokens() against the present (different!) command-line scanners in LLExternalEditor::tokenize() and LLCommandLineParser::parseCommandLineString(), just annotate as future work the goal of unifying them... SIGH.
2012-02-26Add LLStringUtil::getTokens() test for quoted empty string.Nat Goodspeed
This is an important differentiator between getTokens() and the present LLCommandLineParser::parseCommandLineString() logic: you cannot currently --set SomeVar to an empty string value because parseCommandLineString() discards empty strings.
2012-02-24ignore *.rej files generated by patchRichard Linden
2012-02-24EXP-1181 FIX As a designer, I would like to specify default floater ↵Richard Linden
positions using relative coordinates fixed bug where resizing window would cause stacked floaters to move relative to each other renamed positioning enums to reflect the fact that they apply all the time now, not just when opening floaters
2012-02-24EXP-1181 FIX As a designer, I would like to specify default floater ↵Richard Linden
positions using relative coordinates floaters given specified positions will stay in that location floaters that stack will treat that as a specified position moving any floater will switch to relative positioning mode cleaned up some XUI where widgets were relying on a default height of 10 pixels