summaryrefslogtreecommitdiff
path: root/indra/llmessage
AgeCommit message (Collapse)Author
2011-02-28Automated merge up from viewer-development into mesh-developmentLoren Shih
2011-02-25Fix llhost integration test: replaced linux.org by lindenlab.com in the DNS ↵Merov Linden
lookup test as linux.org was not being resolved as expected
2011-02-24pull latest changes from viewer-vs2010Oz Linden
2011-02-23MergeXiaohong Bao
2011-02-23Automated merge with ssh://bitbucket.org/jenn_linden/viewer-vs2010Oz Linden
2011-02-22update vstool to support vs2010.Alain Linden
2011-02-21change host reverse lookup test to use our own host (linux.org failed)Oz Linden
2011-02-18Automated merge up from viewer-development into mesh-developmentLoren Shih
2011-02-17merge up from viewer-autobuildOz Linden
2011-02-16fix for INTEGRATION_TEST_llcapabilitylistener (include Python to run with ↵Alain Linden
correct python executable).
2011-02-11SH-813 Switch llerrs in llcurl.cpp to an assert.Dave Parks
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-02-03SH-580 FIXED Crash in curl on exitLoren Shih
New defensive programming added this llerrs trigger. This is worth investigating but not at the top of our priority at the moment. Reverting to llinfos for now as has been done for non-Windows builds already.
2011-02-01Mergeleyla_linden
2011-02-01SH-734 [REGRESSION] INTEGRATION_TEST_llsdmessage and _capabilitylistener ↵leyla_linden
failing in opensource environment
2011-01-24Automated merge up from viewer-development into mesh-developmentLoren Shih
2011-01-21merge changes for storm-874/ER-428: fix lost movement updates when walkingOz Linden
2011-01-21Automated merge up from viewer-developmentLoren Shih
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-13Automated merge up from viewer-developmentLoren Shih
2011-01-10STORM-807 : Clean up code as discussed with AndrewMerov Linden
2010-12-22mergeAndrew Meadows
2010-12-22mergeAndrew Meadows
2010-12-21Automated merge up from viewer-developmentLoren Shih
2010-12-17Merge from viewer-development post 2.4 releaseMonty Brandenberg
2010-12-13Automated merge up from viewer-developmentLoren Shih
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-12-03Mergeleyla_linden
2010-12-03VWR-21764 FIX: changed two vars for curl_easy_getinfo to doubleBrad Payne (Vir Linden)
2010-12-02automated merge up from viewer-developmentLoren Shih
2010-12-01Automated merge up from viewer-developmentLoren Shih
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-08MergeLoren Shih
2010-11-05BUILDFIX making curl asserts llinfos for non-windows platformsNyx (Neal Orman)
linux curl appears to throw an initialization error once per session after login. Can't hunt it down right now, so making curl asserts llinfos for non-windows platforms. Also added a new assert on curl initialization.
2010-11-04BUILDFIX curl error causes linux build to crash on login.Nyx (Neal Orman)
Switching curl errors from llerrs to llinfos allows the client to continue on its merry way. Will file a jira to follow up later on why the error happens in the first place.
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-25Automated merge up from viewer-developmentLoren Shih
2010-10-22DN-181 Chat & IM logs saved in unreadable .llsd instead of .txtLeyla Farazha