Commit Graph

70 Commits (9edad026f4494de1a6f02ecc3f477faa27a361ef)

Author SHA1 Message Date
Ansariel 536a3f6c8e Merge viewer-neko 2019-01-18 23:41:21 +01:00
andreykproductengine 26fae750ba SL-10291 Replace apr_mutex with standard C++11 functionality 2019-01-14 22:04:44 +02:00
Ansariel 92df9704a5 Set LLScopedLock::mLocked to false if it gets unlocked; Thanks to Henri Beauchamp for pointing at this 2018-07-30 22:33:51 +02:00
Nicky 7cc408a5cd Merge. 2018-04-10 12:33:45 +02:00
Nicky 3ea9a01423 Change pointer to member where possible and do a bit of cleanup in lerror (move the mutexex in there and us the LLMutextTryLock rather than a custom class). 2018-04-06 09:49:32 +02:00
Nicky ef20e3f523 Replace ARP Mutex and Condition with std::mutx and std::conditional_variable 2018-04-05 12:02:12 +02:00
Ansariel 1a788686ad Merge Firestorm LGPL 2018-02-12 19:59:48 +01:00
Ansariel ebb14abbd8 FIRE-13474: Fix Collada export to filenames containing brackets fail 2018-01-24 13:00:10 +01:00
Ansariel 915496bbea Merge viewer-vivox 2017-03-21 22:14:02 +01:00
Oz Linden fd2ccb1606 merge changes for 4.1.2-release 2016-11-16 09:52:59 -05:00
Oz Linden 9260fbe0bd add location details to apr status logging 2016-07-21 15:38:55 -04:00
Ansariel 04039bd5df Merge viewer-bear 2016-06-16 00:05:04 +02:00
Mnikolenko Productengine 0a7144c870 MAINT-5040 Warning "ll_apr_warn_status: APR: Connection refused" continually appears on Linux 2016-06-14 13:47:27 +03:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Nicky fa96509726 Cleanup. 2016-01-27 10:02:48 +01:00
Nicky f2d1ad0b3b Remove ndfile, as the new apr can handle utf8 filenames on Windows. 2016-01-26 23:36:53 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Richard Linden 59628d6f85 Automated merge with http://bitbucket.org/lindenlab/viewer-release 2013-10-01 14:28:39 -07:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Richard Linden a2a6bf20d7 merge with release 2013-06-20 16:46:23 -07:00
Graham Linden d75667560c Silence spurious asserts when pool is cleared at exactly it's limit 2013-06-15 07:19:23 -07:00
Graham Madarasz 6b2a22e11c MAINT-2777 work-around for APR assert_always causing random crash in materials build 2013-06-10 16:55:05 -07:00
Richard Linden 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Nicky d8b44ed2f7 Make sure marker files always get properly flushed after write. 2013-11-02 03:13:17 +01:00
Tank_Master 5519c39beb Merge Viewer-bear (Materials 3.6.6 RC) 2013-09-16 16:18:33 -07:00
Tank_Master 718f6fa0ff merge LL 3.6.1 2013-07-10 00:23:23 -07:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Richard Linden 62a9f557d2 SH-3406 WIP convert fast timers to lltrace system
moved thread local storage to its own cpp file
2013-01-11 10:16:26 -08:00
Richard Linden 3c341a11ab SH-3468 WIP add memory tracking base class
more fixes for unit test crashes
added llcommon initialization/teardown for unit tests
that indirectly trigger lltrace
changed access of atomic refcount to use preincrement/decrement
operators to reflect desired semantics
always call apr_initialize in LLCommon::initClass, even
if already initialized...apr does internal reference counting
to keep things straight
2013-01-08 00:25:07 -08:00
Richard Linden 6841351502 SH-3468 WIP add memory tracking base class
fix for unit test failures...cleanup apr without destroying
pools, allowing LLProxy to clean itself up as a singleton (and
avoiding spurious dependencies associated with manually destorying
singletons that rely on apr pools)
2013-01-06 21:37:31 -08:00
Richard Linden cda2cdda51 SH-3406 WIP convert fast timers to lltrace system
made fast timer stack thread local
added LLThreadLocalSingleton
made LLThreadLocalPointer obey pointer rules for const
added LLThreadLocalSingletonPointer for fast thread local pointers
2013-01-03 00:30:54 -08:00
Richard Linden 3fd640a6e3 SH-3468 WIP add memory tracking base class
fixed crash on exit by making LLInstanceTracker iterators use atomic iterator
nesting count for thread safety
2012-12-23 12:27:25 -08:00
Richard Linden 013f04cabe SH-3468 WIP add memory tracking base class
improvements on lifetime of lltrace core data structures
tweaks to thread local pointer handling so that static constructors/destructors
can safely call functions that use lltrace
2012-12-21 00:13:21 -08:00
Richard Linden dbe9742703 SH-3404 create sampler class
renamed LLTrace::ThreadTrace to LLTrace::ThreadRecorder
renamed LLTrace::Sampler to LLTrace::Recording
2012-10-02 15:37:16 -07:00
Richard Linden 14b1b0b2bb SH-3275 WIP Run viewer metrics for object update messages
cleaned up API
samplers are now value types with copy-on-write buffers under the hood
removed coupling with LLThread
2012-10-01 19:39:04 -07:00
Richard Linden 05a3203d82 SH-3275 WIP Run viewer metrics for object update messages
fixed various issues related to unit tests and LLThreadLocalPtr initialization and teardown
2012-09-26 17:04:57 -07:00
Richard Linden adeeabfc13 SH-3275 WIP Run viewer metrics for object update messages
moved LLThreadLocalPtr to llapr
fixed various startup race conditions for LLThreadLocalPtr
2012-09-24 18:56:01 -07:00
Nicky 7893cf238d Add ndfile.h into llapr.h so it is visible where needed. Add typedef apr_file_t tFiletype to LLAPRFile and then use this in all classes instead of apr_file_t, this way we can swap between LLAPRFile and ndFile with use a typedef 2013-01-23 02:25:14 +01:00
Nicky 4226e07e90 Backout 30712/30705/30684 and bring back the volatileaprpool to test if that helps with memory. 2012-11-03 22:35:33 +01:00
Nicky f77f0561c6 Set ownership of apr allocators. 2012-10-27 12:40:52 +02:00
Nicky 86a34f2d93 Make sure apr_pools release on destruction by giving them their own allocator 2012-10-26 01:19:41 +02:00
Nicky b6490af591 Remove LLVolatileAPRPool 2012-10-22 21:39:48 +02:00
Nicky fdb23cb0e8 Crashfix/FIRE-4090/FIRE-4820: Always create LLVolatileAPRPool so it can be safely used from different threads. 2012-07-15 03:19:04 +02:00
Nicky c26a5156eb FIRE-5215, FIRE-5216: Allow filenames with UTF-8 characters (eg. German Umlauts). 2012-02-26 12:57:08 +01:00
Tonya Souther 5c0b0ebe97 Show actual APR error code with warning message. 2012-01-09 21:29:00 -06:00
Nat Goodspeed e04f9ef109 SWAT-352: when loading lleventhost, call apr_dso_error() function.
In addition to its usual apr_sterror() function, APR defines a special
function specifically for errors relating to the apr_dso_*() functions.
Introduce ll_apr_warn_status() and ll_apr_assert_status() overloads accepting
apr_dso_handle_t* to call apr_dso_error() as well as apr_strerror() and log
its output. Use new ll_apr_warn_status() in LLAppViewer::loadEventHostModule()
for apr_dso_load() and apr_dso_sym() calls. Instead of shorthand
ll_apr_assert_status(), use with llassert_always() so check is still performed
even in Release build.
Add more lleventhost-related debugging output, e.g. full pathname of the DLL.
On Mac and Linux, call 'file' command to report nature of the DLL too.
2010-12-14 19:27:43 -05:00
Arrehn 10e88f3891 Merge with RLVa-LL2.5.2 2011-04-09 22:24:22 -07:00
Tank_Master 82cddd0011 Fixed missing syntax 2011-03-09 23:03:57 -08:00