summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2012-04-23more phase tracking for inventory opsBrad Payne (Vir Linden)
2012-04-23IQA-463: LLError::addRecorder() claims ownership of passed Recorder*.Nat Goodspeed
That is, when the underlying LLError::Settings object is destroyed -- possibly at termination, possibly on LLError::restoreSettings() -- the passed Recorder* is deleted. There was much existing code that seemed as unaware of this alarming fact as I was myself. Passing to addRecorder() a pointer to a stack object, or to a member of some other object, is just Bad. It might be preferable to make addRecorder() accept std::auto_ptr<Recorder> to make the ownership transfer more explicit -- or even boost::shared_ptr<Recorder> instead, which would allow the caller to either forget or retain the passed Recorder. This preliminary pass retains the Recorder* dumb pointer API, but documents the ownership issue, and eliminates known instances of passing pointers to anything but a standalone heap Recorder subclass object.
2012-04-22remove a now-unused uniform.Adam Moss
2012-04-22and another!Adam Moss
2012-04-22remove a frightening llwarns that was just there for my own education.Adam Moss
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
missed a few spots: cleanup: get rid of the no-op 'mex' function in the shaders which was being used as a dummy replacement for 'mix'
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
cleanup: get rid of the no-op 'mex' function in the shaders which was being used as a dummy replacement for 'mix'
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
a bunch of trivial clean-ups and commentary.
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
Coalesced patchset.
2012-04-19startup phase tracking added to appearance metricsBrad Payne (Vir Linden)
2012-04-19Move phase tracking to its own set of classes inside LLViewerStats - ↵Brad Payne (Vir Linden)
simplifies llvoavatar and allows adding such tracking to classes that live outside the avatar lifetime
2012-04-18IQA-463: Make LLProcess call apr_procattr_inherit_set() extension.Nat Goodspeed
On Windows, Bad Things happen when apr_proc_create() is allowed to pass TRUE to CreateProcess(bInheritHandles). For instance, the open handle for a new installer executable file being downloaded by the background updater gets inadvertently passed to a couple slplugin.exe instances. When the viewer finishes downloading, closes the file and tries to remove it, Windows balks because the file is still open by another process. Require an apr_suite package that includes the new Linden apr_procattr_inherit_set() extension, and call it to turn off CreateProcess(bInheritHandles).
2012-04-18IQA-463: Add error logging for certain LLFile operations.Nat Goodspeed
Attempting to debug an observed LLFile::remove() failure, I was floored to find that remove() made no attempt whatsoever to report its lack of success! Add warnif() function to log errno text in platform-dependent way. Support the notion that for some functions, certain errno values are acceptable -- e.g. we expect stat() to frequently hit ENOENT -- and need not be logged. Add commented-out Windows-specific logic to try to provide further information in the case of EACCES ("Permission denied," e.g. another process has the file open). To use, enable the code block, download handle.exe and turn on DEBUG logging for LLFile. handle.exe can be obtained from: http://technet.microsoft.com/en-us/sysinternals/bb896655
2012-04-17DRTVWR-139: merge back 3.3.1-beta2 fixesOz Linden
2012-04-17Mac build fix.Seth ProductEngine
2012-04-16sync with viewer-developmenteli
2012-04-16MAINT-922 FIX Client side code to catch the SCRIPT_PERMISSION_TELEPORT ↵callum
request from similator and display a notification Reviewed by Simon
2012-04-14DRTVWR-136: Remove redundant remove_(item|category)() functions.Nat Goodspeed
Incoming changes from two different project repos left viewer-development with LLInventoryModel::removeItem() and removeCategory() plus free functions remove_item() and remove_category() in llinventoryfunctions.cpp. remove_category() was actually the better implementation; migrated its body into LLInventoryModel::removeCategory(). Clearly the previous state of affairs -- with LLInventoryModel::removeItem() plus a remove_category() free function in a very different source file -- fooled two different developers into overlooking the other of the pair. Unfortunately we each added different "missing" functions, leaving us with a complete set of four. Fix existing references to remove_item() and remove_category() free functions.
2012-04-13fix merge conflict in remove_itemOz Linden
2012-04-13merge changes for drtvwr-136Oz Linden
2012-04-13Final pull from viewer-thx1138Merov Linden
2012-04-13SH-3060 : Always use old byte range on low res (faster), reserve new byte ↵Merov Linden
range for high res.
2012-04-14Touched a file to fix the TC build.Seth ProductEngine
2012-04-13merge changes for drtvwr-135Oz Linden
2012-04-13fix for linux build failureBrad Payne (Vir Linden)
2012-04-13SH-3080 : Fix wrong settings reading code (will crash on some machine)Merov Linden
2012-04-13Pull from viewer-thx1138Merov Linden
2012-04-12SH-3081 : Implement TextureCameraMotion settings as well as faster loading ↵Merov Linden
when the camera is still
2012-04-12SH-3080 : Implement the TextureReverseByteRange setting so we can play with ↵Merov Linden
that parameter
2012-04-12for SH-3074: clear ghost and stale texture fetching requests in timeXiaohong Bao
2012-04-12CHUI-87 FIXED crash in handling notifications after viewer disconnect.Seth ProductEngine
Notification handlers now use LLHandles to screen channels.
2012-04-12MAINT-891 FIXED Disabled focus return from modal dialog after viewer logoff.Seth ProductEngine
Fixed boost trackable objects usage.
2012-04-12mergeBrad Payne (Vir Linden)
2012-04-12SH-3065 FIX Investigate fixes for out-of-order operations on startupcallum
Reviewed by Simon
2012-04-12Fix misleading comments, per Richard's code review.Nat Goodspeed
2012-04-11Automated merge with https://hg.lindenlab.com/merov/viewer-thx1138Xiaohong Bao
2012-04-11merge changes for drtvwr-137Oz Linden
2012-04-11Automated merge with file:///home/nat/linden/viewer-leap-tempNat Goodspeed
2012-04-11Merge daggy fix c167ae699e17 for Linux UI issues.Nat Goodspeed
2012-04-11Fix Linux UI issues introduced by moving llinitparam to llcommon.Nat Goodspeed
In a number of places, the viewer uses a lookup based on std::type_info*. We used to use std::map<std::type_info*, whatever>. But on Linux, &typeid(SomeType) can produce different pointer values, depending on the dynamic load module in which the code is executed. Introduce LLTypeInfoLookup<T>, with an API that deliberately mimics std::map<std::type_info*, T>. LLTypeInfoLookup::find() first tries an efficient search for the specified std::type_info*. But if that fails, it scans the underlying container for a match on the std::type_info::name() string. If found, it caches the new std::type_info* to optimize subsequent lookups with the same pointer. Use LLTypeInfoLookup instead of std::map<std::type_info*, ...> in llinitparam.h and llregistry.h. Introduce LLSortedVector<KEY, VALUE>, a std::vector<std::pair<KEY, VALUE>> maintained in sorted order with binary-search lookup. It presents a subset of the std::map<KEY, VALUE> API.
2012-04-11IQA-463: Linux fonts look better without libfontconfig.so.1 symlink.Nat Goodspeed
Making llmanifest.py support library-file wildcards allows viewer_manifest.py to avoid specifying the exact version number of every shared library we want to package. Specifying "libfontconfig.so.*" was copying the libfontconfig.so.1 symlink as well as the libfontconfig.so.1.4.4 binary. To my dismay, packaging that symlink makes the Linux viewer fonts look WORSE! I suspect that means that the released Linux viewer completely ignores our packaged libfontconfig.so.1.4.4 library, finding the system fontconfig instead. But that would be a whole different project. For present purposes it suffices to make the updated viewer_manifest.py copy the same files as the older one.
2012-04-10storm-64: One more toast on failure to verify initial image, and changed a ↵Vaalith
bool to enum
2012-04-09FIX VWR-28730 JA terminology consistency fixeli
2012-04-09possible fix for linux build failureBrad Payne (Vir Linden)
2012-04-09merge viewer-release to runwayBrad Payne (Vir Linden)
2012-04-09SH-3064 FIX - added cloud and cloud-or-gray stats to summary metrics. Moved ↵Brad Payne (Vir Linden)
summary metrics out of per-region info. Removed phase stats from avatar appearance change msg.
2012-04-09STORM-64: Added toasts to display critical errors during update cycle.Vaalith Jinn
2012-04-06SH-3060 : Complete new byte range computation, clean up and back pedal on ↵Merov Linden
some changes that didn't pay of.
2012-04-06SH-3060 : Fix kdu unit test I broke while changing mRate init policyMerov Linden
2012-04-06STORM-1837: check for valid png header before attempting to decodeOz Linden