Skip to content
Snippets Groups Projects
  1. Dec 01, 2016
    • Nat Goodspeed's avatar
      DRTVWR-418: Until we figure out how to say FIXED:NO to linker, don't. · 8a461c00
      Nat Goodspeed authored
      The present CMake logic wants to pass FIXED:NO to the linker for 64-bit
      builds, which on the face of it seems like a Good Thing: it permits code to be
      relocated in memory, preventing collisions if two libraries happen to want to
      load into overlapping address ranges.
      
      However the way it's being specified is wrong and harmful. Passing /FIXED:NO
      to the compiler command line engages /FI (Forced Include!) of a nonexistent
      file XED:NO -- producing lots of baffling fatal compile errors.
      
      Thanks Callum for diagnosing this!
      8a461c00
  2. Nov 15, 2016
    • Nat Goodspeed's avatar
      DRTVWR-418: Fold windows64 into windows platform with new autobuild. · 6c7a9728
      Nat Goodspeed authored
      autobuild 1.1 now supports expanding $variables within a config file --
      support that was explicitly added to address this very problem. So now the
      windows platform in autobuild.xml uses $AUTOBUILD_ADDRSIZE,
      $AUTOBUILD_WIN_VSPLATFORM and $AUTOBUILD_WIN_CMAKE_GEN, which should handle
      most of the deltas between the windows platform and windows64.
      
      This permits removing the windows64 platform definition from autobuild.xml.
      
      The one remaining delta between the windows64 and windows platform definitions
      was -DLL_64BIT_BUILD=TRUE. But we can handle that instead by checking
      ADDRESS_SIZE. Change all existing references to WORD_SIZE to ADDRESS_SIZE
      instead, and set ADDRESS_SIZE to $AUTOBUILD_ADDRSIZE. Change the one existing
      LL_64BIT_BUILD reference to test (ADDRESS_SIZE EQUAL 64) instead.
      6c7a9728
  3. Aug 17, 2016
    • Nat Goodspeed's avatar
      MAINT-5011: Add llexception_test.cpp with tests (and conclusions). · 1ed76c38
      Nat Goodspeed authored
      llexception_test.cpp is an unusual test source in that it need not be verified
      on every build, so its invocation in indra/llcommon/CMakeLists.txt is
      commented out with that remark. Its purpose is to help a developer decide what
      base class(es) to use for LLException, how to throw and how to catch.
      
      Our current conclusions are written up as comments in llexception_test.cpp.
      
      Added CRASH_ON_UNHANDLED_EXCEPTION() and LOG_UNHANDLED_EXCEPTION() macros to
      llexception.h -- macros to log __FILE__, __LINE__ and __PRETTY_FUNCTION__ of
      the catch site. These invoke functions in llexception.cpp so we don't need to
      #include llerror.h for every possible catch site.
      1ed76c38
  4. Jul 19, 2016
    • Nat Goodspeed's avatar
      MAINT-5011: Introduce LLException base class for viewer exceptions. · 9c49a6c9
      Nat Goodspeed authored
      This also introduces LLContinueError for exceptions which should interrupt
      some part of viewer processing (e.g. the current coroutine) but should attempt
      to let the viewer session proceed.
      
      Derive all existing viewer exception classes from LLException rather than from
      std::runtime_error or std::logic_error.
      
      Use BOOST_THROW_EXCEPTION() rather than plain 'throw' to enrich the thrown
      exception with source file, line number and containing function.
      9c49a6c9
  5. Apr 21, 2016
  6. Dec 18, 2015
  7. Nov 20, 2015
  8. Nov 10, 2015
  9. Oct 31, 2015
  10. Oct 17, 2015
  11. Aug 25, 2015
  12. Aug 19, 2015
  13. Jun 17, 2015
  14. May 20, 2015
  15. Oct 22, 2014
  16. Oct 07, 2014
  17. Apr 22, 2014
  18. Apr 08, 2014
  19. Apr 04, 2014
  20. Oct 03, 2013
  21. Aug 27, 2013
  22. Aug 22, 2013
  23. Jul 30, 2013
  24. Jun 22, 2013
  25. May 23, 2013
    • Nat Goodspeed's avatar
      MAINT-2724: Make viewer explicitly set coroutine stack size. · 3be79d53
      Nat Goodspeed authored
      Introduce LLCoros::setStackSize(), with a compile-time default value we hope
      we never have to use. Make LLAppViewer call it with the value of the new
      settings variable CoroutineStackSize as soon as we've read settings files.
      (While we're at it, notify interested parties that we've read settings files.)
      Give CoroutineStackSize a default value four times the previous default stack
      size. Make LLCoros::launch() pass the saved stack size to each new coroutine
      instance.
      Re-enable lleventcoro integration test. Use LLSDMap() construct rather than
      LLSD::insert(), which used to return the modified object but is now void.
      3be79d53
  26. May 05, 2013
  27. May 01, 2013
  28. Apr 11, 2013
  29. Apr 09, 2013
  30. Mar 29, 2013
  31. Mar 27, 2013
  32. Mar 13, 2013
    • Don Kjer's avatar
      Large changes to the LLCurl::Responder API, as well as pulling in some changes... · f9454152
      Don Kjer authored
      Large changes to the LLCurl::Responder API, as well as pulling in some changes to common libraries from the server codebase:
      
      * Additional error checking in http handlers.
      * Uniform log spam for http errors.
      * Switch to using constants for http heads and status codes.
      * Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error.
      * Reduced spam regarding LLSD parsing errors in the default completedRaw http handler.  It should not longer be necessary to short-circuit completedRaw to avoid spam.
      * Ported over a few bug fixes from the server code.
      * Switch mode http status codes to use S32 instead of U32.
      * Ported LLSD::asStringRef from server code; avoids copying strings all over the place.
      * Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob.
      * Ported server pretty notation format (and pretty binary format) to llsd serialization.
      
      * The new LLCurl::Responder API no longer has two error handlers to choose from.  Overriding the following methods have been deprecated:
      ** error - use httpFailure
      ** errorWithContent - use httpFailure
      ** result - use httpSuccess
      ** completed - use httpCompleted
      ** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers.
      
      * In order to 'catch' a completed http request, override one of these methods:
      ** httpSuccess - Called for any 2xx status code.
      ** httpFailure - Called for any non-2xx status code.
      ** httpComplete - Called for all status codes.  Default implementation is to call either httpSuccess or httpFailure.
      * It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below).
      
      * Uniform error handling should followed whenever possible by calling a variant of this during httpFailure:
      ** llwarns << dumpResponse() << llendl;
      * Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context.
      
      * In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed.
      * Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class).
      * Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods:
      ** successResult - Sets results and calls httpSuccess
      ** failureResult - Sets results and calls httpFailure
      ** completedResult - Sets results and calls httpCompleted
      
      * To obtain information about a the response from a reponder method, use the following getters:
      ** getStatus - HTTP status code
      ** getReason - Reason string
      ** getContent - Content (Parsed body LLSD)
      ** getResponseHeaders - Response Headers (LLSD map)
      ** getHTTPMethod - HTTP method of the request
      ** getURL - URL of the request
      
      * It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO.
      
      * See indra/llmessage/llcurl.h for more information.
      f9454152
  33. Mar 11, 2013
  34. Mar 01, 2013
  35. Jan 11, 2013
  36. Jan 09, 2013
  37. Jan 03, 2013
  38. Dec 07, 2012
Loading