Skip to content
Snippets Groups Projects
  1. Aug 07, 2012
  2. Jul 16, 2012
  3. Jan 20, 2012
  4. Oct 14, 2011
  5. Jul 21, 2011
  6. Feb 05, 2011
    • Aleric Inglewood's avatar
      Introduces a LLThreadLocalData class that can be · ef490e30
      Aleric Inglewood authored
      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.
      ef490e30
  7. Oct 13, 2010
  8. Sep 21, 2010
  9. Aug 13, 2010
  10. Jan 29, 2010
    • Tofu Linden's avatar
      CID-312 · 68304cbd
      Tofu Linden authored
      Checker: UNINIT_CTOR
      Function: LLHTTPPipe::Response::Response()
      File: /indra/llmessage/lliohttpserver.cpp
      68304cbd
    • Tofu Linden's avatar
      CID-313 · 54cc8274
      Tofu Linden authored
      Checker: UNINIT_CTOR
      Function: LLHTTPPipe::LLHTTPPipe(const LLHTTPNode &)
      File: /indra/llmessage/lliohttpserver.cpp
      54cc8274
    • Tofu Linden's avatar
      CID-314 · c99025f6
      Tofu Linden authored
      Checker: UNINIT_CTOR
      Function: LLHTTPResponseHeader::LLHTTPResponseHeader()
      File: /indra/llmessage/lliohttpserver.cpp
      c99025f6
  11. Jul 16, 2009
  12. Jul 15, 2009
  13. Feb 25, 2009
    • Robert Knop's avatar
      svn merge -r108815:112761 svn+ssh://svn.lindenlab.com/svn/linden/branches/server/server-1.26 · c88b470a
      Robert Knop authored
      The biggest things in this are Scalable Space Servers and Maint-Server-6
      
      QAR-1209 : SSS
      QAR-1295 : maint-server-6
      
      Conflicts resolved by prospero:
      
      C    scripts/farm_distribute
      
      C    scripts/automated_build_scripts/build-linux.sh : resolved by
                           prospero, mostly kept the merge-right version in
                           the conflict, but there was one block of repeated
                           code from earlier that I removed.
      
      C    scripts/automated_build_scripts/build-mac.sh : kept merge-right
      
      C    indra/llcommon/llversionserver.h : svn revert
      
      C    indra/newsim/llsimparcel.h : kept *both*... working had "setArea",
                          merge-right had exportStream and importStream
      
      C    indra/newsim/llsimparcel.cpp : see llsimparcel.h
      
      C    indra/newsim/lltask.h : working had LLTask derived also from
                         LLScriptResourceConsumer, merge-right had LLTask
                         dervied also from LLAgentPosition.  To resolve
                         conflict, derive from both.
      
      C    indra/newsim/lllslmanager.h : kept merge-right (had an added comment)
      
      C    indra/llmessage/llhttpnode.h : kept working (added the definition
                         of method LLHTTPNode::extendedResult)
      
      C    indra/lscript/lscript_execute_mono/llscriptexecutemono.cpp
      C    indra/lscript/lscript_execute_mono/llscriptexecutemono.h
                        : These two were resolved by si, in consultation with daveh
      
      
      I also had to add the following stubs to
      indra/newsim/tests/llgodkickutils_test.cpp in order to get it to
      compile:
      
        // LLScriptResourceConsumer interface methods in LLTask
        LLScriptResource::LLScriptResource() { }
        LLScriptResourcePool::LLScriptResourcePool() { }
        LLScriptResourcePool LLScriptResourcePool::null;
      
        LLScriptResourceConsumer::LLScriptResourceConsumer() { }
        LLScriptResourcePool& LLScriptResourceConsumer::getScriptResourcePool() { return LLScriptResourcePool::null; }
        const LLScriptResourcePool& LLScriptResourceConsumer::getScriptResourcePool() const { return LLScriptResourcePool::null; }
        bool LLScriptResourceConsumer::switchScriptResourcePools(LLScriptResourcePool& new_pool) { return false; }
        bool LLScriptResourceConsumer::canUseScriptResourcePool(const LLScriptResourcePool& resource_pool) { return false; }
        bool LLScriptResourceConsumer::isInPool(const LLScriptResourcePool& resource_pool) { return false; }
        void LLScriptResourceConsumer::setScriptResourcePool(LLScriptResourcePool& pool) { }
      
        S32 LLTask::getUsedPublicURLs() const { return 0; }
        void LLTask::setScriptResourcePool(LLScriptResourcePool& pool) { }
      c88b470a
  14. Feb 24, 2009
  15. Jan 07, 2009
  16. Oct 09, 2008
  17. Sep 29, 2008
  18. Jun 25, 2008
  19. Jun 21, 2008
  20. Apr 03, 2008
  21. Feb 07, 2008
    • Josh Bell's avatar
      svn merge -r 79445:79449 svn+ssh://svn.lindenlab.com/svn/linden/qa/maintenance-5-merge-79386 · 8bd6a0b3
      Josh Bell authored
      QAR-242 merge of maintenance-5 (QAR-203)
      * DEV-6548 Copy To Inventory fail to execute without any output feedback when Notecard has changes but not saved
      * DEV-7600 Deleting someone else's object in god mode crashes sim
      * DEV-5329 LLSD parsers should determine and set maximum parse sizes
      * DEV-7473 Resolve instant message crash report
      * DEV-2904 Presence Issues not (apparently) caused by scripted attachments
      * DEV-7083 Investigate Null Folder IDs Bug that caused 470K inventory items with Null Folder IDS on the Grid
      * DEV-2865 Textures/Snapshots in a notecard are opened again when you click copy to inventory.
      * DEV-6612 VWR-3290: Linux scons build script doesn't work with distcc
      * DEV-8002 c++ llsd notation parser accepts malformed data
      * DEV-8001 c++ xml parse returns wrong number of elements parsed
      * DEV-8089 Double delete in statc structured data parse functions
      * DEV-5326 Any viewer can request presence information for any agent
      * DEV-2378 python service builder does not sort query string
      * DEV-7872 Block teleport off teen grid sub-estates like Schome Park / Open University
      * DEV-4465 Add a "logfile" command line option to the sim to create log files
      8bd6a0b3
  22. Jan 07, 2008
  23. Dec 18, 2007
  24. Oct 04, 2007
  25. Jul 20, 2007
  26. Jun 21, 2007
  27. May 02, 2007
  28. May 01, 2007
  29. Jan 02, 2007
Loading