Commit Graph

534 Commits (bbfc0e47196ecbae8d89e7b721a61ba5eeaaa2b7)

Author SHA1 Message Date
Tofu Linden a4d224ff93 EXT-5055 LLInstanceTracker promotes some dangerous patterns - detect them 2010-02-06 21:38:57 +00:00
Tofu Linden 346cabd557 make the instancetracker unit test really, like, work. before I fiddle with a big pile of stuff. 2010-02-06 21:03:55 +00:00
Tofu Linden 4c7ae59996 move LLEventTimer into its own source module. everyone includes it, almost no-one wants it. now I can dick with it a bit without rebuilding the world, at least. :) 2010-02-06 18:59:44 +00:00
Mark Palange (Mani) ec076c97fe EXT-4754 Fix for LLEventTimer::updateClass crash.
Ugh. Update on Tofu's patch for this bug.
Reviewed by Richard
2010-02-05 18:15:31 -08:00
Tofu Linden 2c30ccf34d EXT-4754 Crash in LLEventTimer::updateClass 2010-02-04 11:24:14 +00:00
Tofu Linden 14d942f16b A flag+assert to help track bad behaviour in LLEventTimer, especially EXT-4754 2010-02-04 11:08:49 +00:00
Tofu Linden 33a92be286 CID-269
Checker: UNINIT_CTOR
Function: LLWorkerClass::LLWorkerClass(LLWorkerThread *, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
File: /indra/llcommon/llworkerthread.cpp
2010-02-03 20:39:52 +00:00
Tofu Linden 193f2e2edc CID-271
Checker: UNINIT_CTOR
Function: LLTreeDFSIter<LLView, std::list<LLView *, std::allocator<LLView *>>::_Const_iterator<(bool)0>>::LLTreeDFSIter()
File: /indra/llcommon/lltreeiterators.h
2010-02-03 20:36:56 +00:00
Tofu Linden 8b4823acfb CID-272
Checker: UNINIT_CTOR
Function: LLTreeDFSPostIter<LLView, std::list<LLView *, std::allocator<LLView *>>::_Const_iterator<(bool)0>>::LLTreeDFSPostIter()
File: /indra/llcommon/lltreeiterators.h
2010-02-03 20:33:47 +00:00
Tofu Linden 930035ebdc CID-273
Checker: UNINIT_CTOR
Function: NamedTimerFactory::NamedTimerFactory()
File: /indra/llcommon/llfasttimer_class.cpp
2010-02-03 20:29:57 +00:00
richard 45e700cb3e merge 2010-02-01 12:39:59 -08:00
Tofu Linden c6fb7a0b1a Hint to compiler that logging is never *expected* on the fast-path. 2010-02-01 12:13:12 +00:00
Alexei Arabadji 86609394ca fixed major EXT-3643 “Embed friendship offer into IM window”;
--HG--
branch : product-engine
2010-01-29 17:48:10 +02:00
Igor Borovkov f6fceac081 fixed EXT-3841 [BSI] "Send IM..." choosable in IM floater context menu
--HG--
branch : product-engine
2010-01-28 15:51:49 +02:00
Tofu Linden e133a98246 CID-227
Checker: STRING_OVERFLOW
Function: CProcessor::AnalyzeIntelProcessor()
File: /indra/llcommon/llprocessor.cpp
2010-01-27 15:49:22 -08:00
Tofu Linden 9e2ba40d13 less dumb partial fix for CID-219 2010-01-27 15:45:41 -08:00
Tofu Linden a7c3fde789 partial fix for CID-219
Checker: STREAM_FORMAT_STATE
Function: LLDate::toStream(std::basic_ostream<char, std::char_traits<char>>&) const
File: /indra/llcommon/lldate.cpp
2010-01-27 15:45:07 -08:00
Tofu Linden 4321857774 CID-220
Checker: STREAM_FORMAT_STATE
Function: encode_character(std::basic_ostream<char, std::char_traits<char>>&, char)
File: /indra/llcommon/lluri.cpp
2010-01-27 15:37:28 -08:00
Tofu Linden 635290cc87 CID-186
Checker: RESOURCE_LEAK
Function: LLStringUtilBase<unsigned int>::addCRLF(std::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int>>&)
File: /indra/llcommon/llstring.h
2010-01-27 15:09:25 -08:00
Tofu Linden 3616ed1e99 sigh, follow-up fix. 2010-01-27 13:28:13 -08:00
Tofu Linden eeb30616f6 CID-99
Checker: INVALIDATE_ITERATOR
Function: LLAllocatorHeapProfile::parse(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
File: /indra/llcommon/llallocator_heap_profile.cpp

not a bug, but make it clearer to coverity.
2010-01-27 13:26:05 -08:00
Tofu Linden b77fe6dc72 DEV-45468 SNOW-108: Fast timers are broken / badly-scaled on linux
more reliable fix based on feedback from Richard.  dicked with the Darwin results too since those seemed wrong based on the same feedback (also covered in test plan).
2010-01-26 12:35:22 -08:00
Tofu Linden cbe647786f We already have a LL_FORCE_INLINE in llpreprocessor.h, don't re-invent it for llfasttimers.h.
Also define LL_LIKELY/LL_UNLIKELY with a warning about its micro-optimizey nature, and use it to annotate llasserts (i.e. make llassert() lower-overhead and thus more attractive, even in inner-ish loops.)
2010-01-25 14:25:58 -08:00
Tofu Linden 2375afc428 Gosh, the mac prototypes for get_cpu_clock_count_64 have always been wrong, but the compiler didn't start caring until I made these proper member functions.
fixed.
2010-01-25 13:49:13 -08:00
Tofu Linden 18bdeb3d0e DEV-45468 'SNOW-108: Fast timers are broken / badly-scaled on linux' ready to merge.
legacy coding policy fix-up.
2010-01-25 13:32:49 -08:00
Tofu Linden 3d0ff2585e Final fix for fast timer reshuffle. 2010-01-25 13:24:45 -08:00
Tofu Linden ec7b204ed6 shuffle shuffle of timer code. cleanup. 2010-01-25 12:31:50 -08:00
Tofu Linden 563daa96a8 pull in the linux+solaris fast-timers impl from snowglobe, fit it into viewer2, start moving headers around. 2010-01-25 12:07:25 -08:00
richard 947398563e merge 2010-01-22 17:40:28 -08:00
richard 337716d946 LLPointer cleanup and fix for EXT-4413
reviewed by Rick
2010-01-22 16:51:13 -08:00
Rick Pasetto 5a83247f03 Fix assert in lldictionary as used by llfoldertype
Review #88
This assert might be valid in general, but LLFolderType has a valid reason for getting "not found"
2010-01-22 14:03:13 -08:00
Tofu Linden a0666bdb70 Turn on llassert() and llverify() for RelWithDebInfo builds.
Convert top firing asserts into big warnings.
To be reviewed by Mani.
2010-01-21 14:42:11 -08:00
Bryan O'Sullivan 2d65e6295d Convert all C++ files to Unix line endings 2010-01-20 10:35:22 -08:00
richard 798e33767f fix for gcc build 2010-01-15 19:15:27 -08:00
richard 9e506e499c wrong line endings 2010-01-15 18:50:27 -08:00
richard d87de15776 fix for build error in xmmintrins.h 2010-01-15 18:45:18 -08:00
richard d278333828 fix for mac fast timer resetting too often 2010-01-13 19:16:59 -08:00
richard 6da4746d5c better commented fix for VS2005 compile issues
reviewed by Leyla
2010-01-13 17:48:49 -08:00
richard ab1ec1285d potential fix for build issues on vs2005 2010-01-13 17:33:27 -08:00
richard daa4965fe0 renamed LLFastTimerUtil to LLFastTimer 2010-01-11 12:05:13 -08:00
richard eb228dcf3a fast timer performance tuning 2010-01-08 16:41:39 -08:00
Nat Goodspeed 5a1e07002a Add lleventhost queries to list LLEventAPIs or describe one.
Add LLEventDispatcher::getDispatchKey() to retrieve a previously-
inaccessible value.
2009-12-22 19:17:14 -05:00
richard 06fb97735d merge 2009-12-21 16:05:41 -08:00
richard 4a460a1dcf added optional timing of fast timers themselves 2009-12-21 16:05:20 -08:00
Steve Bennetts abe0eb2ba7 HTTP Texture changes:
* Fixed bug in llqueuedthread.cpp causing unnecesssary sleeeping
* Fixed an issue that was preventing retries on 503 errors
* Added number of pending creates to Texture View
* Increased time allocated for texture creates
2009-12-17 16:19:00 -08:00
brad kittenbrink 89201ba29a Fix for mac build post-merge. 2009-12-14 16:05:13 -05:00
brad kittenbrink cb9b874b17 Merge of my old precompiled headers dependency cleanup with tip of viewer-2-0. 2009-12-14 11:07:29 -08:00
Mark Palange (Mani) be49b8bed5 EXT-3158 - Removing logging of users password hash from new login code.
Reviewed by Brad
2009-12-08 16:57:45 -08:00
brad kittenbrink 7c69928ff8 Fixups for things broken after the last merge and for the linux build. 2009-12-07 18:43:47 -08:00
brad kittenbrink 8e912657e8 Another merge of include dependency cleanup work with viewer-2-0. 2009-12-07 12:20:47 -08:00