Commit Graph

23375 Commits (f199b298b4bbd01702ea248236d00a1e05b7bdeb)

Author SHA1 Message Date
Dave Parks 7a20b5be78 MAINT-775, MAINT-1022 Regression cleanup. 2012-05-01 15:33:16 -05:00
Merov Linden c0855030de Fix sculpties being deleted while being still in use in the scene 2012-04-30 19:10:55 -07:00
Merov Linden 3f31c82a1c SH-3124 : Fix crash on exit on Mac 2012-04-30 17:44:44 -07:00
Xiaohong Bao 164de6c180 fix for a crash on sculpt 2012-04-27 18:32:42 -06:00
Xiaohong Bao 3a9aa29a44 fix for a crash on "refetch vis cache" 2012-04-27 16:38:16 -06:00
Xiaohong Bao 9c4380a03a fix a crash on cache write 2012-04-27 14:27:48 -06:00
Xiaohong Bao ed78cc0000 fix some flaws for SH-3104 2012-04-27 12:43:14 -06:00
Merov Linden 793d8a4f62 Pull merge from drano-sh-3086 2012-04-27 00:00:07 -07:00
Merov Linden e1ddeb5364 SH-3104 : Implemented HTTP bulk fetch for texture debug console 2012-04-26 23:55:40 -07:00
Xiaohong Bao e703232cae a fix for SH-3097 2012-04-26 18:01:17 -06:00
Xiaohong Bao 1df7655588 for SH-3097: introducing texel pixel ration adjustment 2012-04-26 16:55:06 -06:00
Xiaohong Bao e344b2afa2 For SH-3121: collect time of reloading all textures from cache and through HTTP when all objects loading are done. 2012-04-26 15:53:35 -06:00
Oz Linden 63e51c586f merge changes for drtvwr-140 2012-04-26 14:46:49 -04:00
Nat Goodspeed 0249a0d1e7 Automated merge with http://hg.secondlife.com/viewer-release 2012-04-26 14:07:09 -04:00
Nat Goodspeed 78f2663c4a Automated merge with http://hg.secondlife.com/viewer-release 2012-04-26 14:04:55 -04:00
Brad Payne (Vir Linden) 2c0774302b tracking for copy-to-wear inventory failures 2012-04-26 13:18:06 -04:00
Oz Linden 79a24d5d51 merge changes for wolf-318 2012-04-25 19:35:23 -04:00
Xiaohong Bao 5ab4dadc70 for subtasks SH-3118, SH-3112, SH-3110, SH-3106, SH-3091 for SH-3086:
As a viewer architect, I would like to understand how fast each of the components of the texture pipeline can run in isolation
2012-04-25 16:59:20 -06:00
Seth ProductEngine 784ec58401 MAINT-813 FIXED crash when trying to access the region info after viewer disconnect.
Added checks for LLViewerRegion pointer in LLViewerObject being invalid.
2012-04-26 00:40:42 +03:00
Nat Goodspeed b18d21486a Try to suppress spurious Mac ld warnings (lib/release/Release dir).
Mindful that some autobuild packages populate only packages/lib/release
(rather than packages/lib/debug), Linking.cmake always appends
packages/lib/release to CMake's link_directories() directive. But since CMake
always appends CMAKE_BUILD_TYPE to those directories, we end up with a phantom
packages/lib/release/Release directory on the search path. This would be
harmless except that the Mac's 'ld' command produces a warning. These warnings
quickly make TC's "Important Messages" output useless. Try appending
packages/lib/release only when the build type isn't already Release.
2012-04-25 17:17:08 -04:00
Oz Linden 92ae8c8472 WOLF-318: change default verbosity of some unit tests to keep them out of the logs when passing
WOLF-363: (partial) correct ordering of cleaning build dir vs running
          'autobuild install'
2012-04-25 16:45:24 -04:00
Kelly Washington 6d3be57d33 SEC-995 FIX viewer is easily spammed to death by chat
removed a couple more unnecessary string copies from unfortunate LLSD behavior.
reviewed with simon, post review from Richard.
2012-04-25 11:26:54 -07:00
eli 080c9faf5e FIX INTL-96 Viewer translation for Set31 2012-04-24 11:51:45 -07:00
eli 3d8d8b6dee sync with viewer-development 2012-04-24 11:40:57 -07:00
Oz Linden 9b87cfbc91 merge back tags for 3.3.1-release 2012-04-24 11:36:12 -04:00
Boroondas Gupte 1b832eaa4b OPEN-54: correct JsonCpp include path 2012-04-24 11:24:11 -04:00
Oz Linden d6569db352 Added tag viewer-release-candidate, 3.3.1-release for changeset c623bbc854b6 2012-04-24 08:38:38 -04:00
Richard Linden 4472354b54 SEC-995 FIX viewer is easily spammed to death by chat
removed unnecessary string copies from chat message handling
2012-04-23 18:48:43 -07:00
Nat Goodspeed 8c44511d2c IQA-463: Use newest APR package without apr_procattr_inherit_set(). 2012-04-23 14:50:32 -04:00
Nat Goodspeed 7079513c23 IQA-463: Add apr_file_open(APR_CREATE) flag for downloaded installer.
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-23 14:49:32 -04:00
callum 3cd9047233 Merge with head 2012-04-23 11:29:21 -07:00
callum 4ccae31320 SH-3115 FIX Crash on exit, curl handles not empty
Reviewed by Ted.
2012-04-23 11:28:52 -07:00
Nat Goodspeed 78816bb156 IQA-463: Use APR file I/O for downloaded viewer installer .exe.
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-23 12:01:15 -04:00
Brad Payne (Vir Linden) 1253c11e0b more phase tracking for inventory ops 2012-04-23 11:38:53 -04:00
Nat Goodspeed eb1bea2223 IQA-463: LLError::addRecorder() claims ownership of passed Recorder*.
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-23 11:26:18 -04:00
Adam Moss b6f2b2f399 remove a now-unused uniform. 2012-04-22 19:58:14 +01:00
Adam Moss 62f7777b7a and another! 2012-04-22 19:54:46 +01:00
Adam Moss 5adf6bdd28 remove a frightening llwarns that was just there for my own education. 2012-04-22 19:53:46 +01:00
Adam Moss ab82a96f6e STORM-1819: Ternary/graded shadow support
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-21 18:51:57 +01:00
Adam Moss 26df2b941e STORM-1819: Ternary/graded shadow support
cleanup: get rid of the no-op 'mex' function in the shaders which was being used as a dummy replacement for 'mix'
2012-04-21 18:42:47 +01:00
Adam Moss 442c5cf339 STORM-1819: Ternary/graded shadow support
a bunch of trivial clean-ups and commentary.
2012-04-21 18:33:07 +01:00
Adam Moss 03442801bd contributors.txt update. 2012-04-21 18:17:37 +01:00
Adam Moss 9ce481a5ac STORM-1819: Ternary/graded shadow support
Coalesced patchset.
2012-04-21 17:35:50 +01:00
Dave Parks 5ef21ba6c5 MAINT-775 More edge case cleanup -- spinning child prims still break on deselect until the next LoD update 2012-04-20 00:58:55 -05:00
Dave Parks d953cce386 MAINT-775 Cleanup of some weird corner cases on animated child prims. 2012-04-19 17:29:32 -05:00
Brad Payne (Vir Linden) 08704b36f6 startup phase tracking added to appearance metrics 2012-04-19 17:12:49 -04:00
Dave Parks 5334c410ea MAINT-775 Don't thrash vertex buffers on animated prims (flexis, spinners, etc). 2012-04-19 14:16:49 -05:00
Brad Payne (Vir Linden) 7fbf42dec8 Move phase tracking to its own set of classes inside LLViewerStats - simplifies llvoavatar and allows adding such tracking to classes that live outside the avatar lifetime 2012-04-19 14:52:44 -04:00
Dave Parks 06bd745027 MAINT-775 More aggressive removal of textures from video memory. 2012-04-18 14:50:23 -05:00
Nat Goodspeed 38e23bb0eb IQA-463: Make LLProcess call apr_procattr_inherit_set() extension.
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-18 15:43:34 -04:00