Skip to content
Snippets Groups Projects
  1. Jan 28, 2015
    • Nat Goodspeed's avatar
      MAINT-4744: Eliminate viewer dependency on (old) GNU libstdc++. · ae6440ee
      Nat Goodspeed authored
      To be more accurate, this changeset doesn't actually eliminate the dependency:
      it eliminates the use cases for the llifstream / llofstream feature that
      requires it.
      Currently you can construct an llifstream or llofstream from an open LLFILE*
      file handle (or, except on Windows, an int file descriptor). But rather than
      containing a streambuf implementation based on FILE*, llfile.h relies on the
      fact that the Windows std::filebuf happens to support that as a nonstandard
      extension; also on a nonstandard GNU extension __gnu_cxx::stdio_filebuf<char>.
      To move from GNU libstdc++ to clang's libc++ (the direction on Mac), we could
      code a streambuf that supports FILE*. But before doing that, it's worth asking
      whether anyone actually uses this questionable feature.
      In fact there were only two methods: LLWearable::exportFile() and importFile()
      -- and only one call to either, in LLViewerWearable::saveNewAsset(). The code
      in saveNewAsset() opened the LLFILE* immediately before calling exportFile(),
      meaning we could reasonably push the open operation down into exportFile().
      That logic was complex anyway due to the need for the caller to close the
      LLFILE* regardless of the success of the exportFile().
      Change LLWearable::exportFile() and importFile() to accept a std::string
      filename rather than an open LLFILE*. Change LLViewerWearable::saveNewAsset()
      to simply call exportFile(filename) rather than horsing around with an LLFILE*
      handle. (This improves the code in another way too: it encapsulates the need
      to open the relevant file in binary mode. Previously, each caller had to
      remember to do that.)
      To prevent inadvertent reintroduction of ll[io]fstream(LLFILE*) code, add
      llstream_LLFILE preprocessor macro (default 0) to control access to the
      relevant constructors. Also suppress rdbuf() override, the only method whose
      signature references llstdio_filebuf.
      ae6440ee
  2. Oct 17, 2014
  3. Mar 07, 2014
  4. Apr 30, 2013
  5. Apr 22, 2013
  6. Mar 29, 2013
  7. Nov 15, 2012
    • Richard Linden's avatar
      SH-3406 WIP convert fast timers to lltrace system · 9d77e030
      Richard Linden authored
      cleaning up build
      moved most includes of windows.h to llwin32headers.h to disable min/max macros, etc
      streamlined Time class and consolidated functionality in BlockTimer class
      llfasttimer is no longer included via llstring.h, so had to add it manually in several places
      9d77e030
  8. Sep 22, 2012
  9. Sep 20, 2012
  10. Apr 18, 2012
    • Nat Goodspeed's avatar
      IQA-463: Add error logging for certain LLFile operations. · 54228ddf
      Nat Goodspeed authored
      Attempting to debug an observed LLFile::remove() failure, I was floored to
      find that remove() made no attempt whatsoever to report its lack of success!
      Add warnif() function to log errno text in platform-dependent way. Support the
      notion that for some functions, certain errno values are acceptable -- e.g. we
      expect stat() to frequently hit ENOENT -- and need not be logged.
      Add commented-out Windows-specific logic to try to provide further information
      in the case of EACCES ("Permission denied," e.g. another process has the file
      open). To use, enable the code block, download handle.exe and turn on DEBUG
      logging for LLFile. handle.exe can be obtained from:
      http://technet.microsoft.com/en-us/sysinternals/bb896655
      54228ddf
  11. Nov 19, 2010
  12. Oct 13, 2010
  13. Sep 21, 2010
  14. Aug 13, 2010
  15. Jan 07, 2009
  16. Jun 25, 2008
  17. Jun 02, 2008
  18. May 08, 2008
  19. Mar 25, 2008
  20. Mar 20, 2008
  21. Mar 14, 2008
  22. Feb 27, 2008
  23. 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
  24. Oct 04, 2007
  25. Jun 21, 2007
  26. Mar 02, 2007
  27. Feb 05, 2007
  28. Feb 02, 2007
  29. Jan 02, 2007
Loading