summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2012-01-22Add LLProcess logging on launch(), kill(), isRunning().Nat Goodspeed
Much as I dislike viewer log spam, seems to me starting a child process, killing it and observing its termination are noteworthy events. New logging makes LLExternalEditor launch message redundant; removed.
2012-01-22Make LLProcess::Params streamable; use that in LLExternalEditor.Nat Goodspeed
2012-01-22On Windows, introduce viewer Job Object and assign children to it.Nat Goodspeed
The idea is that, with the right flag settings, this will cause the OS to terminate remaining viewer child processes when the viewer terminates -- whether or not it terminates intentionally. Of course, if LLProcess's caller specifies autokill=false, e.g. to run the viewer updater, that asserts that we WANT the child to persist beyond the viewer session itself.
2012-01-21Since lltrans.h moved to llui, fix linux_updater/CMakeLists.txt.Nat Goodspeed
2012-01-21Convert LLProcess consumers from LLSD to LLProcess::Params block.Nat Goodspeed
Using a Params block gives compile-time checking against attribute typos. One might inadvertently set myLLSD["autofill"] = false and only discover it when things behave strangely at runtime; but trying to set myParams.autofill will produce a compile error. However, it's excellent that the same LLProcess::create() method can accept either LLProcess::Params or a properly-constructed LLSD block.
2012-01-20Define LLProcess::Params; accept create(const LLSDParamAdapter<Params>&).Nat Goodspeed
This allows callers to pass either LLSD formatted as before -- which all callers still do -- or an actual LLProcess::Params block.
2012-01-20* Modified so "Copy" context menu option is not available for "no copy" items.Leslie Linden
2012-01-20EXP-1799 FIX -- Replace and Add to Outfit options appear as grayed out in ↵Leslie Linden
Inventory * Refactored LLFolderBridge::buildContextMenu fetch to clear and rebuild basic context menu options after the fetch rather than trying to merge the two.
2012-01-20Automated merge with http://hg.lindenlab.com/richard/viewer-initparam-llcommonNat Goodspeed
2012-01-20Per Richard, replace LLProcessLauncher with LLProcess.Nat Goodspeed
LLProcessLauncher had the somewhat fuzzy mandate of (1) accumulating parameters with which to launch a child process and (2) sometimes tracking the lifespan of the ensuing child process. But a valid LLProcessLauncher object might or might not have ever been associated with an actual child process. LLProcess specifically tracks a child process. In effect, it's a fairly thin wrapper around a process HANDLE (on Windows) or pid_t (elsewhere), with lifespan management thrown in. A static LLProcess::create() method launches a new child; create() accepts an LLSD bundle with child parameters. So building up a parameter bundle is deferred to LLSD rather than conflated with the process management object. Reconcile all known LLProcessLauncher consumers in the viewer code base, notably the class unit tests.
2012-01-20moved LLSDParam to llcommon so that LLSD<->Param Block conversion are usable ↵Richard Linden
by everyone
2012-01-20Automated merge with ↵Xiaohong Bao
https://bitbucket.org/VirLinden/viewer-development-shining-fixes
2012-01-20trivial: remove debug code for SH-2828 [crashhunters] Crash in ↵Xiaohong Bao
LLRefCount::unref(), bad stacks
2012-01-20SH-2889 Add visual auto-muting controlsDave Parks
2012-01-20removed LLXUIXML libraryRichard Linden
moved LLInitParam, and LLRegistry to llcommon moved LLUIColor, LLTrans, and LLXUIParser to llui reviewed by Nat
2012-01-20EXP-1799 FIX -- Replace and Add to Outfit options appear as grayed out in ↵Leslie Linden
Inventory * Modified build context menu code to not disable items that are invisible so secondary background fetch can coalesce menu options with proper state. * Removed "Move to Merchant Outbox" context menu option.
2012-01-20fix for SH-2823 and SH-2824: LLCurl crash inside LLBufferArray::countAfter() ↵Xiaohong Bao
and LLBufferArray::copyIntoBuffers
2012-01-19fixed buildRichard Linden
2012-01-19made layoutPanels have constant user_resize and auto_resize attributesRichard Linden
2012-01-19Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-merge/Richard Linden
2012-01-19EXP-1824 FIX Received Items panel does not collapse correct when Height of ↵Richard Linden
panel is maximized in Inventory window
2012-01-19EXP-1829 FIX -- Selecting a valid item last allows other selected invalid ↵Leslie Linden
items to be copied to Outbox with context menu option * Updated context menu default enabled state to use the last state rather than TRUE. Once per frame, the states are all reset to TRUE so this has the effect of AND'ing together successive buildContextMenu functions rather than ignoring previous states.
2012-01-19EXP-1828 FIX -- Drag and drop to an open folder in the outbox causes it to ↵Leslie Linden
close automatically * Updated auto-open behavior to ignore items that are already open.
2012-01-19To grow std::string by a char, use push_back() instead of append().Nat Goodspeed
2012-01-19* Added member variables to avoid several per-frame getChild calls.Leslie Linden
2012-01-19EXP-1827 FIX -- Drag area in outbox does not always highlight green when ↵Leslie Linden
indicating a top level drop * Updated the outbox drop area highlight to include top level drops within the outbox inventory panel itself.
2012-01-19Try to fix argument quoting on Windows.Nat Goodspeed
Despite LLProcessLauncher's list-of-argument-strings API, on Windows it must ram them all into a single command-line string anyway. This means that if arguments contain spaces (or anything else that would confuse Windows command- line parsing), the target process won't receive the intended arguments. Introduce double quotes for any arguments not already double-quoted by caller.
2012-01-19SH-2794 Fix for bad textures on some hardware when vbo mapping disabled ↵Dave Parks
(always use GL_STREAM_DRAW as the usage hint when mapping is disabled as geometry will be uploaded again and again)
2012-01-19SH-2779 Fix for some transparent rigged attachments not being rendered ↵Dave Parks
correctly.
2012-01-19mergeDave Parks
2012-01-19SH-2885 Add mesh requests pending/processing line to "Show Render Info"Dave Parks
2012-01-18Fix a Linux compilation failureMerov Linden
2012-01-18Automated merge with ↵Xiaohong Bao
https://bitbucket.org/VirLinden/viewer-development-shining-fixes
2012-01-18fix for SH-2827: [crashhunters] Crash in LLPipeline::generateWaterReflection()Xiaohong Bao
2012-01-18Merge with latestLeslie Linden
2012-01-18EXP-1704 FIX -- Updated text for Empty Received Items panel in ViewerLeslie Linden
* Updated to latest text per Leo's comment in the JIRA.
2012-01-18EXP-1550 FIX -- New tag shown and not removed on click when rezzing an item ↵Leslie Linden
from Received Items panel and taking back into inventory. * Inventory folder creation dates are now only set once, rather than being updated every time a new item is added.
2012-01-18SH-2598 Fix for crash when rendering mesh silhouette (workaround driver bug ↵Dave Parks
by rendering from client memory instead of using face VBO).
2012-01-18removed some invalid attributesRichard Linden
2012-01-18EXP-1816 FIX -- Drag area in outbox can remain highlighted after drag and ↵Leslie Linden
drop ends * Added handleHover function to clear highlight
2012-01-18EXP-1125 FIX -- New tags always shown in Received Items inbox when Inventory ↵Leslie Linden
window is detached from side panel EXP-1578 FIX -- received items folder shows shadows of content when scrolling through lots of folders in same window * Put in guard to prevent the inventory panel from being created multiple times
2012-01-18EXP-1812 FIX Cannot resize location bar / favorites in top navigation bar in ↵Richard Linden
viewer
2012-01-18mergeDave Parks
2012-01-18SH-2794 Map buffer now performs as well as buffersubdataDave Parks
2012-01-18Make embedded Python scripts compatible with Python 2.5 *SIGH*Nat Goodspeed
Apparently our TeamCity build machines are still not up to Python 2.6.
2012-01-18Add tests for implicit-kill-on-destroy, also orphan() method.Nat Goodspeed
2012-01-18Introduce static LLProcessLauncher::isRunning(ll_pid_t) method.Nat Goodspeed
typedef LLProcessLauncher::ll_pid_t to be HANDLE on Windows, pid_t elsewhere. Then we can define getProcessID() returning ll_pid_t on all platforms, retaining getProcessHandle() for hypothetical existing consumers... of which there are none in practice. This lets us define isRunning(ll_pid_t) to encapsulate the platform-specific logic to actually check on a running child process, turning non-static isRunning() into a fairly trivial wrapper.
2012-01-17add more exception handlings for llcurl fix.Xiaohong Bao
2012-01-17Add tests for child-process args management and for kill() method.Nat Goodspeed
2012-01-17Refactor llprocesslauncher_test.cpp for better code reuse.Nat Goodspeed
Instead of free python() and python_out() functions containing a local temporary LLProcessLauncher instance, with a 'tweak' callback param to "do stuff" to that inaccessible object, change to a PythonProcessLauncher class that sets up a (public) LLProcessLauncher member, then allows you to run() or run() and then readfile() the output. Now you can construct an instance and tweak to your heart's content -- without funky callback syntax -- before running the script. Move all such helpers from TUT fixture struct to namespace scope. While fixture-struct methods can freely call one another, introducing a nested class gets awkward: constructor must explicitly require and bind a fixture-struct pointer or reference. Namespace scope solves this. (Truthfully, I only put them in the fixture struct originally because I thought it necessary for calling ensure() et al. But ensure() and friends are free functions; need only qualify them with tut:: namespace.)