summaryrefslogtreecommitdiff
path: root/indra/llappearance
AgeCommit message (Collapse)Author
2015-01-28MAINT-4744: Eliminate viewer dependency on (old) GNU libstdc++.Nat Goodspeed
To be more accurate, this changeset doesn't actually eliminate the dependency: it eliminates the use cases for the llifstream / llofstream feature that requires it. Currently you can construct an llifstream or llofstream from an open LLFILE* file handle (or, except on Windows, an int file descriptor). But rather than containing a streambuf implementation based on FILE*, llfile.h relies on the fact that the Windows std::filebuf happens to support that as a nonstandard extension; also on a nonstandard GNU extension __gnu_cxx::stdio_filebuf<char>. To move from GNU libstdc++ to clang's libc++ (the direction on Mac), we could code a streambuf that supports FILE*. But before doing that, it's worth asking whether anyone actually uses this questionable feature. In fact there were only two methods: LLWearable::exportFile() and importFile() -- and only one call to either, in LLViewerWearable::saveNewAsset(). The code in saveNewAsset() opened the LLFILE* immediately before calling exportFile(), meaning we could reasonably push the open operation down into exportFile(). That logic was complex anyway due to the need for the caller to close the LLFILE* regardless of the success of the exportFile(). Change LLWearable::exportFile() and importFile() to accept a std::string filename rather than an open LLFILE*. Change LLViewerWearable::saveNewAsset() to simply call exportFile(filename) rather than horsing around with an LLFILE* handle. (This improves the code in another way too: it encapsulates the need to open the relevant file in binary mode. Previously, each caller had to remember to do that.) To prevent inadvertent reintroduction of ll[io]fstream(LLFILE*) code, add llstream_LLFILE preprocessor macro (default 0) to control access to the relevant constructors. Also suppress rdbuf() override, the only method whose signature references llstdio_filebuf.
2015-01-13merge changes for 3.7.24-releaseOz Linden
2014-12-11Add bespoke ctor/dtor that align on 16byte boundaries when creating things ↵callum_linden
on the heap
2014-10-30SL-93 - WIP on managing pelvis fixups using new joint offset frameworkBrad Payne (Vir Linden)
2014-10-20Update to build on Xcode 6.0: typedef declared protected incorrectly herecallum_linden
2014-10-20Update to build on Xcode 6.0: delete called on that is abstract but has ↵callum_linden
non-virtual dest
2014-10-17Update to build on Xcode 6.0: clang detecting unsigned int (size_t) ↵callum_linden
comparison with <0 [-Wtautological-compare]
2014-10-17Update to build on Xcode 6.0: delete called on 'LLTranslationBridge' that is ↵callum_linden
abstract but has non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
2014-09-05MAINT-4158 cleanupBrad Payne (Vir Linden)
2014-08-28MAINT-4158 WIP - comment changeBrad Payne (Vir Linden)
2014-08-28MAINT-4158 WIP - track position overrides requested by attachments so they ↵Brad Payne (Vir Linden)
can be undone intelligently
2014-08-21MAINT-4158 WIP - fix for bug caused by multiple wearables with the same asset idBrad Payne (Vir Linden)
2014-06-02Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-drtvwr-365.Stinson Linden
2014-05-23MAINT-4077: Refactoring to add copy constructors to the LLVisualParam class ↵Stinson Linden
and all of its derived descendants in order to clarify ownership of memory pointers.
2014-05-14MAINT-4009: Patching a leak of LLVisualParam derived objects that were being ↵Stinson Linden
leaked because the LLWearable class was not destroying itself properly.
2014-05-14v-r -> s-e merge WIPBrad Payne (Vir Linden)
2014-05-14MAINT-4009: Patching the final leak of LLViewerFetchedTexture objects ↵Stinson Linden
occurring because the LLWearable class was not properly destroying itself.
2014-05-13sunshine-external merge WIPBrad Payne (Vir Linden)
2014-03-12mergeBrad Payne (Vir Linden)
2014-03-12merge with releaseRichard Linden
2014-02-14[MAINT-3555] Crash in LLPanel::~LLPanel() on shutdownBaker Linden
- Added clear() after DeletePointer() call to hopfully fix this...
2013-10-25SH-4572 FIX changing clothing parameters do not take effect in edit appearanceNyx Linden
fix, new back-end utility and restoring the necessary functionality.
2013-10-21MergeXiaohong Bao
2013-10-17SH-4160 WIP, build fixBrad Payne (Vir Linden)
2013-10-17mergeBrad Payne (Vir Linden)
2013-10-16mergeBrad Payne (Vir Linden)
2013-10-16SH-3455 BUILDFIX Updating linux appearance utility to use the new refactorNyx Linden
Eliminated some unnecessary functions that the refactor took care of, linux build should be fixed.
2013-10-15renamed TimeBlock to BlockTimerStatHandleRichard Linden
2013-10-10MAINT-2968 Fix for crash on AMD hardware running current drivers.Dave Parks
2013-10-04mergeBrad Payne (Vir Linden)
2013-09-24SH-2728 SH-4010 FIX pants flare issuesNyx Linden
When wearing multiple layers of pants, the morph masks for all layers would be composited, resulting in the smallest intersection of all layers. Instead we should only be applying the top layer. This change will affect all consumers of the llappearance library.
2013-09-24mergeBrad Payne (Vir Linden)
2013-09-23SH-3455 WIP - post-SSA cleanup, including removal of mUseServerBakes and ↵Brad Payne (Vir Linden)
related methods
2013-09-20SH-3943 FIX beard morph masks applied inconsistently on login to server bake ↵Nyx Linden
region Looks like we were caching bad morph masks that were generated on login. Adjusting algorithms to always replace the cache when we have invalidated the other channels of the baked texture.
2013-09-19SH-3455 WIP - removing bake upload codeBrad Payne (Vir Linden)
2013-09-19SH-3455 WIP - removing bake upload codeBrad Payne (Vir Linden)
2013-09-18sunshine cleanup annotationsBrad Payne (Vir Linden)
2013-09-05changed fast timer over to using macroRichard Linden
another attempt to move mem stat into base class
2013-08-16merge with viewer-releaseNyx Linden
2013-10-21MAINT-3336 : double calls to deleteAndClear() in LLAvatarAppearance destructorsimon_linden
2013-10-10MAINT-2968 Fix for crash on AMD hardware running current drivers.Dave Parks
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders
2013-07-24Sh-4321 # Fixes for detach deformations. General code cleanup as well.prep
2013-07-18SH-4297 WIP interesting: viewer-interesting starts loading cached scene lateRichard Linden
dependency cleanup - removed a lot of unecessary includes
2013-06-28SH-4240 FIX users can set hover height to 0Nyx Linden
removing minimum height enforcement, as changes are local-only and would not be visible by other users in this repro, unless the user explicitly saved the changes. Since there are many ways to get around the enforcement, and the enforced minimums won't be visible to other users, its simpler to allow users to use the full range of the hover slider. NOTE: this means that a user's avatar can be underground, leading to the camera pointing up at the sky. this is a known issue.
2013-06-20merge with releaseRichard Linden
2013-06-12Cleanup rollback and try point MIPs experiment to see if that's what is ↵Graham Madarasz
hosing the Mac on 10.6.8
2013-06-12Changes to protect against use of normalize3fast on degenerate vectorsGraham Madarasz
2013-06-05merge with viewer-releaseRichard Linden