Commit Graph

64 Commits (680194deaf7a35caaa629abc16e886d71baff636)

Author SHA1 Message Date
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
Brad Payne (Vir Linden) ea7f34d37a merge 2014-04-08 13:20:23 -04:00
Richard Linden 98aabdc176 merge with release 2014-04-07 19:09:40 -07:00
Aura Linden 9ea2694c0e Not ideal but sufficient. 2014-03-26 02:07:29 -07:00
Aura Linden 0893b49ebd The simple approach has not worked. This hybrid solution should avoid the Windows issues and get us per-run logfiles. 2014-03-24 22:44:51 -07:00
Aura Linden 877f87a360 Old is the new new. 2014-03-24 15:19:03 -07:00
Aura Linden 489f265be2 Current log was actually correct. 2014-03-21 13:58:39 -07:00
Aura Linden 35ab71d8ea Returned Secondlife.log to main directory due to unforeseen LLErrorThread complexities. 2014-03-20 12:04:39 -07:00
Aura Linden 706ec08deb Merged in viewer-release 2014-03-13 21:55:22 +00:00
Brad Payne (Vir Linden) d9e3a2948a merge 2014-03-12 17:24:07 -04:00
Richard Linden 5b846ed2a6 merge with release 2014-03-12 12:48:43 -07:00
Aura Linden d2bb4dae98 Fixes for crash reporter startup race condition, crash reporter CPU use, Secondlife.log filehandle, XP Crash. 2014-03-07 14:58:22 -08:00
maksymsproductengine e6c85c46c4 MAINT-3555 crash in LLPanel::~LLPanel() on shutdown:
- memory leaks fixing;
2014-02-05 20:45:09 +02:00
obscurestar 262f8b8473 Was not using correct name for results of file search. 2014-01-26 02:56:23 -08:00
Aura Linden 33b0ae6ebf Debugging changes. fixed broken pipe. 2014-01-23 17:04:33 -08:00
Aura Linden ce2cd00cc5 Removed debugging code. 2013-12-04 19:57:11 -08:00
Aura Linden 6809348125 Creating a cleaner branch 2013-12-03 17:06:06 -08:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Brad Payne (Vir Linden) a04a706c1b merge 2013-05-21 16:18:48 -04:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Don Kjer f945415210 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.
2013-03-13 06:26:25 +00:00
Don Kjer 54cdc322b8 Fixing issues with not detecting when LLSD XML parsing fails. Changing most http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam. 2013-03-05 22:05:22 -08:00
Aura Linden 6b059d183b Crash reporter fixed, debugging removed. 2012-12-11 07:40:26 -08:00
Aura Linden 53ea30af06 Interim debug checkin to test from teamcity 2012-12-11 06:56:14 -08:00
Aura Linden 1149c94c5b Crashlogger only runs when it comes from teamcity so I must checkin debug and wait. What fun. 2012-11-29 23:33:31 -08:00
Richard Linden 5a14a67e06 converted a bunch of narrowing implicit conversions to explicit 2012-02-01 13:03:46 -08:00
Dave Parks cfb666e9d9 merge 2011-11-15 17:04:37 -06:00
Brad Payne (Vir Linden) 0c84957d31 SH-2606 FIX, SH-2628 FIX - crash on exit in crash logger fixed by LLProxy::cleanupClass() 2011-10-27 14:50:54 -04:00
Dave Parks fbd5bd7adc SH-2183 Add a debug setting to control whether or not to use multiple threads in LLCurl 2011-08-01 17:50:43 -05:00
Aaron Stone a517d32c48 STORM-1482 Change the defaults, look in the app_settings dir for configs as well. 2011-07-15 12:46:06 -07:00
Aaron Stone 42daa3497b STORM-1482 The Viewer shouldn't overwrite the crash behavior settings, some cleanups to the crash reporters, and the ability to use --set GroupName.SettingName to set parameters outside of the (default) Global settings group. 2011-07-12 15:48:02 -07:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Dessie Linden a21b7b330b Merged from viewer-release 2010-06-11 11:51:59 -07:00
brad kittenbrink 602feee681 Merge 2010-06-03 18:21:27 -07:00
brad kittenbrink 94a2a1a98b Backed out renaming of log files (changeset 7357f4ef70df)
executed: 'hg backout -r 7357f4ef70df --merge'
2010-06-03 18:21:06 -07:00
Andrew A. de Laix 6b9442a88d Automated merge with ssh://hg.lindenlab.com/brad/viewer-public 2010-06-03 14:57:04 -07:00
Andrew A. de Laix 671092bcbc Strip invalid characters from log files before adding into crash log llsd. 2010-06-03 13:22:50 -07:00
Andrew A. de Laix 8990498b42 Crash logger renames log flies to safe names so they don't get clobbered on SL restart. Old logs are cleaned up after 1 week. 2010-06-02 11:03:03 -07:00
Andrew A. de Laix f24335d790 Fix log file inclusion; include SecondLife.log on crash, but SecondLife.old on freeze. 2010-06-01 14:07:20 -07:00
Lynx Linden bd32a9c6ef Don't try to add old stack trace files to the crash report.
Such as stack_trace.log on Linux or SecondLifeException.log on Win32.
2010-05-27 15:47:05 +01:00
Andrew A. de Laix 6a39149fec Added configuration setting to send crash reports to configured url rather than through the grid. 2010-05-25 15:08:36 -07:00
Andrew A. de Laix 5a52c5eb8a Mac crash behavior matches windows and linux: report on crash (not after restart). This is OK because we use Breakpad generated minidumps instead of OS generated ones. 2010-05-25 13:32:12 -07:00
Andrew A. de Laix 719edddf04 Switch Darwin to use breakpad minidump rather than os generated crash stack. 2010-05-21 09:38:29 -07:00
Palmer 8bf1ade40d Fix for crash logger crashing. bleh!
Reviewed by DaveP
2010-03-23 13:29:40 -07:00
Steven Bennetts 9ec432034d merge -r 122421-124917 viewer-2.0.0-2 -> viewer-2.0.0-3
ignore-dead-branch
2009-06-21 08:04:56 +00:00
Aaron Brashears 6df2755ba6 Result of svn merge -r119432:120464 svn+ssh://svn/svn/linden/branches/http_database/merge-03 into trunk. QAR-1462 2009-05-18 23:38:35 +00:00