Commit Graph

79 Commits (8b6392c0aa7b695855a96e2f02b6463f58773d53)

Author SHA1 Message Date
Ansariel c4e18fbcaa Merge viewer-neko 2018-02-27 18:08:48 +01:00
andreykproductengine e32b4f481a MAINT-8308 Additional logging for mesh processing 2018-02-19 21:01:34 +02:00
andreykproductengine f22c1bcf20 MAINT-8022 Handling memory errors in unzip_llsdNavMesh 2018-02-19 21:30:48 +02:00
Ansariel 6d6a2dcd17 Merge viewer-neko 2018-02-02 14:48:43 +01:00
andreykproductengine 64b9b4c771 MAINT-2338 Implemented binary parser depth control 2018-02-01 16:35:02 +02:00
Ansariel 98569f84a2 Merge viewer-neko 2018-01-13 19:11:09 +01:00
andreykproductengine 74362e145b MAINT-8022 Crashes in unzip_llsd #2 2017-11-28 15:55:40 +02:00
andreykproductengine 0c58af90f7 MAINT-8022 Crashes in unzip_llsd 2017-11-27 19:04:41 +02:00
andreykproductengine c56298d4ba MAINT-8022 Make unzip silent yet include failure reason into output 2018-01-03 16:30:57 +02:00
andreykproductengine a35008993e MAINT-8022 String crashes in unzip_llsd 2018-01-02 20:31:23 +02:00
andreykproductengine dcfccc6f43 MAINT-8022 Crashes in unzip_llsd #2 2017-11-28 15:55:40 +02:00
andreykproductengine 6d7c19623d MAINT-8022 Crashes in unzip_llsd 2017-11-27 19:04:41 +02:00
Ansariel 0feaeed779 MAINT-6697 Correct pointer freeing 2017-06-09 09:34:58 +02:00
Ansariel 424faadc46 Build fix 2017-06-07 21:30:07 +02:00
Ansariel 946bf50568 MAINT-6697 More nullchecks for zip/unzip functions + changes to do it the right way 2017-06-07 21:16:29 +02:00
AndreyL ProductEngine 54ec262671 MAINT-6697 Added a nullcheck to unzip_llsd() 2017-06-07 03:16:56 +03:00
AndreyL ProductEngine 7cc9455fe1 MAINT-6697 Correct pointer freeing 2017-06-07 23:05:37 +03:00
AndreyL ProductEngine d9fe21f17f MAINT-6697 More nullchecks for zip/unzip functions 2017-06-07 19:30:32 +03:00
AndreyL ProductEngine f2780a93c0 MAINT-6697 Added a nullcheck to unzip_llsd() 2017-06-07 03:16:56 +03:00
andreykproductengine 7daef28f7c MAINT-6825 Fixing bad_alloc crash 2016-10-28 17:29:30 +03:00
andreykproductengine 26e73e2f58 MAINT-6825 Fixing bad_alloc crash 2016-10-28 17:29:30 +03:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Nicky 2bec55ee38 Fix for a possible double free and access of invalid memory. 2015-04-18 19:28:33 +02:00
Ansariel a45088cb6b Merge LL V3.7.11 2015-01-12 12:54:15 +01:00
Ansariel f4bfb1aadf Merge LL V3.7.9 (AIS3 + SSA) 2014-10-22 02:02:08 +02:00
Oz Linden e15002a11c merge changes for 3.7.9-release 2014-06-16 11:42:37 -04:00
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
Oz Linden a98b4b6bee merge changes for 3.7.7-release 2014-05-07 11:09:04 -04:00
Oz Linden 776aadf4ef OPEN-199: replace the confusing STANDALONE switch with USESYSTEMLIBS 2014-03-19 17:30:07 -04:00
Ansariel 386b58944c More replacements of deprecated logging macros 2014-06-10 19:15:47 +02:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07: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
Cinders ae594876b6 Quell spammy unzip warning in the log. 2013-09-16 04:38:28 -06:00
Nicky a36870d16a Properly handle out of memory situations. 2013-09-10 11:07:20 +02:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Techwolf Lupindo 29a16359f7 First round of export and import support. 2013-03-24 20:35:24 -04:00
Don Kjer c06c35609c Updating linux build to gcc4.6 2012-10-11 00:09:04 +00:00
Monty Brandenberg fdb2ae8335 Merge of viewer-development (3.4.1). 2012-08-03 11:57:51 -04:00
Monty Brandenberg 8e5197a71b Merge 3.3.3 release with Drano HTTP library at 3.3.0
Big delta was converting the new texture debugger support code
to the new library.  Viewer manifest should probably get an eyeball
before release.
2012-07-02 18:06:22 -04:00
Monty Brandenberg fb5a29c069 Platform fixups Linux: unused variables, make error strings constant. 2012-06-01 23:06:24 +00:00
Todd Stinson cbebd682f7 Removing windows line endings from .h and .cpp files. 2012-04-25 13:04:13 -07:00
prep fab57eea61 pull and merge from viewer-development 2012-03-13 15:48:24 -04:00
prep 95aa437160 Path-305: Added support for retrieving compressed navmeshes in a LLSD. 2012-02-22 12:00:37 -05:00
Richard Linden 5a14a67e06 converted a bunch of narrowing implicit conversions to explicit 2012-02-01 13:03:46 -08:00
Richard Nelson ff46a6f423 EXP-1107 FIX Crash in LLFastTimer::NamedTimer::accumulateTimings 2011-08-18 13:59:38 -07:00