summaryrefslogtreecommitdiff
path: root/indra/llmessage
AgeCommit message (Collapse)Author
2011-04-04fix a crash inherited from viewer-developmentXiaohong Bao
2011-02-23MergeXiaohong Bao
2011-02-09STORM-937 : Fix python scripts shebang line and license header for consistencyMerov Linden
2011-02-05Introduces a LLThreadLocalData class that can beAleric Inglewood
accessed through the static LLThread::tldata(). Currently this object contains two (public) thread-local objects: a LLAPRRootPool and a LLVolatileAPRPool. The first is the general memory pool used by this thread (and this thread alone), while the second is intended for short lived memory allocations (needed for APR). The advantages of not mixing those two is that the latter is used most frequently, and as a result of it's nature can be destroyed and reconstructed on a "regular" basis. This patch adds LLAPRPool (completely replacing the old one), which is a wrapper around apr_pool_t* and has complete thread-safity checking. Whenever an apr call requires memory for some resource, a memory pool in the form of an LLAPRPool object can be created with the same life-time as this resource; assuring clean up of the memory no sooner, but also not much later than the life-time of the resource that needs the memory. Many, many function calls and constructors had the pool parameter simply removed (it is no longer the concern of the developer, if you don't write code that actually does an libapr call then you are no longer bothered with memory pools at all). However, I kept the notion of short-lived and long-lived allocations alive (see my remark in the jira here: https://jira.secondlife.com/browse/STORM-864?focusedCommentId=235356&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-235356 which requires that the LLAPRFile API needs to allow the user to specify how long they think a file will stay open. By choosing 'short_lived' as default for the constructor that immediately opens a file, the number of instances where this needs to be specified is drastically reduced however (obviously, any automatic LLAPRFile is short lived). *** Addressed Boroondas remarks in https://codereview.secondlife.com/r/99/ regarding (doxygen) comments. This patch effectively only changes comments. Includes some 'merge' stuff that ended up in llvocache.cpp (while starting as a bug fix, now only resulting in a cleanup). *** Added comment 'The use of apr_pool_t is OK here'. Added this comment on every line where apr_pool_t is correctly being used. This should make it easier to spot (future) errors where someone started to use apr_pool_t; you can just grep all sources for 'apr_pool_t' and immediately see where it's being used while LLAPRPool should have been used. Note that merging this patch is very easy: If there are no other uses of apr_pool_t in the code (one grep) and it compiles, then it will work. *** Second Merge (needed to remove 'delete mCreationMutex' from LLImageDecodeThread::~LLImageDecodeThread). *** Added back #include <apr_pools.h>. Apparently that is needed on libapr version 1.2.8., the version used by Linden Lab, for calls to apr_queue_*. This is a bug in libapr (we also include <apr_queue.h>, that is fixed in (at least) 1.3.7. Note that 1.2.8 is VERY old. Even 1.3.x is old. *** License fixes (GPL -> LGPL). And typo in comments. Addresses merov's comments on the review board. *** Added Merov's compile fixes for windows.
2011-01-21merge changes for storm-874/ER-428: fix lost movement updates when walkingOz Linden
2011-01-19ER-428 / CTS-422 : [PUBLIC] movement updates are lost when walking. Changed ↵Dave SIMmONs
code to detect if the circuit has stopped getting packets. Reviewed by Andrew
2011-01-19pull changes back from betaOz Linden
2011-01-18remove problematic include used during debugOz Linden
2011-01-18make storing the cache obey the same unrefreshed time as other usageOz Linden
2011-01-16DN-202: Make avatar name caching more aggressive and error handling more uniformOz Linden
Add logging (mostly at DEBUG level)
2011-01-15renamed temp name flag member in name cache to avoid confusion with similar ↵Oz Linden
names in other classes
2011-01-10STORM-807 : Clean up code as discussed with AndrewMerov Linden
2010-12-22mergeAndrew Meadows
2010-12-22mergeAndrew Meadows
2010-12-17Merge from viewer-development post 2.4 releaseMonty Brandenberg
2010-12-10ESC-228 ESC-227 Corrections for metrics counters and send-on-quit delivery.Monty Brandenberg
Wanted to avoid computing metrics for duplicate requests as much as possible, they artificially depress averages but missed an opportunity and was including them in the counts. The non-texture case is solid. Textures are.... confounding still. Do a better job of trying to send one last packet to the grid when quitting. It is succeeding now, at least sometimes. Put a comment in base llassetstorage.cpp pointing to cut-n-paste derivation in llviewerassetstorage.cpp so that changes can be replicated. Hate doing this but current design forces it.
2010-12-09Falling back to legacy cache on display name fetch errorleyla_linden
2010-11-30DN-217 Changing between View Display Names on and off during a conference ↵Leyla Farazha
call session put viewer in a state where last name resident was shown in viewer everywhere for user in conference call with last name resident.
2010-11-23DN-212 [crashhunters] LLCacheName::buildLegacyNameLeyla Farazha
2010-11-18Added viewer-side "object overlaps parcel" check encroachment returnabilty UIAndrew Meadows
Reviewed with Falcon
2010-11-11Turning down dummy avatar name entry expiration to 2 minutesLeyla Farazha
2010-11-04DN-188 Fixed users with lastname residents not having inspectors in chat historyLeyla Farazha
2010-10-29DN-154 Display Names only shown in Nearby Chat History when a user logs back ↵Leyla Farazha
in even if Usernames were shown in Chat during previous session
2010-10-27DN-188 Inspectors and Profile images not available in IM history or local ↵Leyla Farazha
chat history
2010-10-22DN-181 Chat & IM logs saved in unreadable .llsd instead of .txtLeyla Farazha
2010-09-13DEV-52931 Toggling "View Display Names" doesn't take effect right away in ↵Leyla Farazha
the Friends list
2010-09-04Standardize test name to match class name on LLAvatarNameCacheAimee Linden
2010-09-04Correct license on newly exported files to LGPL.Aimee Linden
2010-09-03Post-convert merge by convert_monolith.py from ↵Aimee Linden
/Users/Aimee/Documents/Work/Linden-Lab/Development/viewer/convert/viewer-identity-evolution
2010-09-03Merge between james/viewer-identity-evolution and dessie/viewer-publicAimee Linden
2010-08-30merging up from viewer-developmentAaron Terrell (Enus)
2010-08-24standardizing test suite names as class name under testAaron Terrell (Enus)
2010-08-24fixing test names for reporting purposes - removing ' test'. also, updated ↵Aaron Terrell (Enus)
docs to remove that naming schema
2010-08-24Backed out changeset c3d41f18ce2bTofu Linden
back-out the back-out for this branch. yay.
2010-08-24Backed out changeset a62bf7c0af21Tofu Linden
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24merge heads. whew.Tofu Linden
2010-08-19synchronous llavatarcachename::get calls now return true even if entry is ↵Leyla Farazha
expired
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-08-04DEV-52354 Username shown in local chat if idle for over 90 secondsLeyla Farazha
reviewd by richard
2010-07-30Merge with dessie/viewer-releaseLeyla Farazha
2010-07-22EOL added.Palmer
2010-07-22EXT-7145 - Handle http redirects in viewer properly. Didn't work before.Palmer
Reviewed by Bao and Babbage
2010-07-26(hairy) merge from viewer-releaseTofu Linden
2010-06-28EXT-7498 WIP Snapshot SharingAimee Linden
Reviewed by Tofu.
2010-06-21Merge with q/viewer-releaseLeyla Farazha
2010-06-15Merged from viewer-releaseDessie Linden
2010-06-14Merge.brad kittenbrink
2010-06-14FIX EXT-7857 - c-ares library initialization was skipping a new step.brad kittenbrink
2010-06-14EXT-7855 FIXED Memory leak in llmessage/llhttpclient.cppLynx Linden
We now free the fileBuffer when we're done in VFileInjector::process_impl()
2010-06-14Merged from viewer-releaseDessie Linden