summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-23remove debugging prints around packaging the dictionariesOz Linden
2012-04-23IQA-463: Use newest APR package without apr_procattr_inherit_set().Nat Goodspeed
2012-04-23IQA-463: Add apr_file_open(APR_CREATE) flag for downloaded installer.Nat Goodspeed
This handles the case when the target file doesn't exist, just as APR_TRUNCATE handles the case when it does. Strengthen error checks concerning downloaded installer file from ll_apr_warn_status() to ll_apr_assert_status(). Failing to recognize (e.g.) failure to open that file only leads to mysterious crashes down the road; this removes the mystery.
2012-04-23Merge with headcallum
2012-04-23SH-3115 FIX Crash on exit, curl handles not emptycallum
Reviewed by Ted.
2012-04-23add dictionaries to the Hunspell.cmake so that it gets installedOz Linden
2012-04-23add debugging wrappers to check for dictionariesOz Linden
2012-04-23IQA-463: Use APR file I/O for downloaded viewer installer .exe.Nat Goodspeed
On Windows, calling CreateProcess(bInheritHandles=FALSE) is the wrong idea. In that case, CreateProcess() passes NO handles -- even the files you've explicitly designated as the child's stdin, stdout, stderr in the STARTUPINFO struct! Remove LLProcess code to tweak bInheritHandles; we should also remove the corresponding (useless) APR extension. Instead, given that the Windows file-locking problem we've observed is specific to the viewer installer .exe file downloaded by the background updater logic, use APR file I/O for that specific file. Empirically, both llofstream and std::ofstream seem to make the open file handle inheritable; but apr_file_open() documentation says: "By default, the returned file descriptor will not be inherited by child processes created by apr_proc_create()." And indeed, it does appear to sidestep the locking problem.
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-21contributors.txt update.Adam Moss
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
Coalesced patchset.
2012-04-20Adding new controls to the console for showing waterplane and world movables ↵Todd Stinson
only. Also, re-arranging the sorting of the check boxes.
2012-04-20Updating the pathfinding object colors to Leo's recommendations.Todd Stinson
2012-04-20Updating the pathfinding object colors to Leo's recommendations.Todd Stinson
2012-04-20merge changes for latest viewer-developmentOz Linden
2012-04-20MAINT-775 More edge case cleanup -- spinning child prims still break on ↵Dave Parks
deselect until the next LoD update
2012-04-19Ensuring that the view characters button is active in builds with stubbed ↵Todd Stinson
pathing libraries. Also, adding extra label fields to better indicate enabled/disabled controls on the console.
2012-04-19Making the pathfinding color settings automatically adjust the current ↵Todd Stinson
display without reloading.
2012-04-19MAINT-775 Cleanup of some weird corner cases on animated child prims.Dave Parks
2012-04-19startup phase tracking added to appearance metricsBrad Payne (Vir Linden)
2012-04-19Cleaning up the navmesh colors a bit.Todd Stinson
2012-04-19MAINT-775 Don't thrash vertex buffers on animated prims (flexis, spinners, etc).Dave Parks
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-19BUILDFIX: Correcting a linux/mac build issue.Todd Stinson
2012-04-19grumble relative grumble python grumbleOz Linden
2012-04-19reference packages relative to newviewOz Linden
2012-04-19use build directory argument directlyOz Linden
2012-04-19try forcing use of build prefix to copy dictionariesOz Linden
2012-04-19missing paren in dictionary copyingOz Linden
2012-04-18rearrange dictionary copyingOz Linden
2012-04-18fix logging to diagnose path problemOz Linden
2012-04-18Updating to the latest llphysicextensions pre-built package.Todd Stinson
2012-04-18add logging to diagnose path problemOz Linden
2012-04-18Cleaning up how the shape flags are being computed and removing an unneeded ↵Todd Stinson
member variable from the pathfinding console class in the process.
2012-04-18Ensuring that the pathfinding console member variables are private with ↵Todd Stinson
accessor functions where need be.
2012-04-18Updating llpathinglibrary method calls to cleaned-up version of the library ↵Todd Stinson
interface.
2012-04-18Updating to the latest llphysicextensions pre-built package with the now ↵Todd Stinson
lowercased version of the header file names.
2012-04-18MAINT-775 More aggressive removal of textures from video memory.Dave Parks
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-17mergeDave Parks
2012-04-17MAINT-775 WIP on crash when exploring Insilico -- don't hold onto off-screen ↵Dave Parks
vertex buffers for more than a few seconds.
2012-04-17DRTVWR-139: merge back 3.3.1-beta2 fixesOz Linden