<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/newview/tests/lltranslate_test.cpp, branch 26.3</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://megapahit.org/viewer.git/atom?h=26.3</id>
<link rel='self' href='https://megapahit.org/viewer.git/atom?h=26.3'/>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/'/>
<updated>2015-09-14T18:15:23Z</updated>
<entry>
<title>MAINT-5507: Remove HTTPClient and related cruft.</title>
<updated>2015-09-14T18:15:23Z</updated>
<author>
<name>Rider Linden</name>
<email>rider@lindenlab.com</email>
</author>
<published>2015-09-14T18:15:23Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=97236a42ca08979897d5c7b0826312345754cd67'/>
<id>urn:sha1:97236a42ca08979897d5c7b0826312345754cd67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge viewer-release =&gt; sunshine-internal</title>
<updated>2013-10-29T13:20:18Z</updated>
<author>
<name>Don Kjer</name>
<email>don@lindenlab.com</email>
</author>
<published>2013-10-29T13:20:18Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=7866356d7719413b952787a509ebd3c4ce8d39b1'/>
<id>urn:sha1:7866356d7719413b952787a509ebd3c4ce8d39b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pull merge from viewer-release</title>
<updated>2013-05-22T21:21:49Z</updated>
<author>
<name>Merov Linden</name>
<email>merov@lindenlab.com</email>
</author>
<published>2013-05-22T21:21:49Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=1c740dfb516aa03ea07d37f12de8a98b94be9572'/>
<id>urn:sha1:1c740dfb516aa03ea07d37f12de8a98b94be9572</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge</title>
<updated>2013-05-21T20:18:48Z</updated>
<author>
<name>Brad Payne (Vir Linden)</name>
<email>vir@lindenlab.com</email>
</author>
<published>2013-05-21T20:18:48Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=a04a706c1bf145505afd2da8d149ba909b56045f'/>
<id>urn:sha1:a04a706c1bf145505afd2da8d149ba909b56045f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding follow_redirects parameter to LLHTTPClient get/head variants.  Not following redirects for facebook connect requests.</title>
<updated>2013-05-08T05:51:28Z</updated>
<author>
<name>Don Kjer</name>
<email>don@lindenlab.com</email>
</author>
<published>2013-05-08T05:51:28Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=3a351c4ee548e2bce8ad0d5935377a090591621f'/>
<id>urn:sha1:3a351c4ee548e2bce8ad0d5935377a090591621f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update Mac and Windows breakpad builds to latest</title>
<updated>2013-03-29T14:50:08Z</updated>
<author>
<name>Graham Madarasz</name>
<email>graham@lindenlab.com</email>
</author>
<published>2013-03-29T14:50:08Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=bf6182daa8b4d7cea79310547f71d7a3155e17b0'/>
<id>urn:sha1:bf6182daa8b4d7cea79310547f71d7a3155e17b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Large changes to the LLCurl::Responder API, as well as pulling in some changes to common libraries from the server codebase:</title>
<updated>2013-03-13T06:26:25Z</updated>
<author>
<name>Don Kjer</name>
<email>don@lindenlab.com</email>
</author>
<published>2013-03-13T06:26:25Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=f945415210f0e18c2c6d941fda6b7d45cb0f06f1'/>
<id>urn:sha1:f945415210f0e18c2c6d941fda6b7d45cb0f06f1</id>
<content type='text'>
* 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 &lt;&lt; dumpResponse() &lt;&lt; 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.
</content>
</entry>
<entry>
<title>Fix for tests</title>
<updated>2012-10-03T20:17:55Z</updated>
<author>
<name>Dave Parks</name>
<email>davep@lindenlab.com</email>
</author>
<published>2012-10-03T20:17:55Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=20e1f567d5c09df10fe120fde0d5f294eff0fff4'/>
<id>urn:sha1:20e1f567d5c09df10fe120fde0d5f294eff0fff4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>STORM-1577 WIP Addressing review feedback.</title>
<updated>2011-09-15T21:38:17Z</updated>
<author>
<name>Vadim ProductEngine</name>
<email>vsavchuk@productengine.com</email>
</author>
<published>2011-09-15T21:38:17Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=1474f8c9a288dbc475ae8c482ee9961a39e94c0a'/>
<id>urn:sha1:1474f8c9a288dbc475ae8c482ee9961a39e94c0a</id>
<content type='text'>
* Don't enable the "Verify" button if use just moves cursor in the API key input field.
* Fixed copy&amp;paste error in unit tests.
* Fixed a typo: LLBingTranslarionHandler
* Added Doxygen comments to lltranslate.h.
</content>
</entry>
<entry>
<title>STORM-1577 WIP Trying to fix a Windows compiler error in unit tests.</title>
<updated>2011-09-15T11:55:32Z</updated>
<author>
<name>Vadim ProductEngine</name>
<email>vsavchuk@productengine.com</email>
</author>
<published>2011-09-15T11:55:32Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=10b7c8d07f0c68613e29acecc334ea2d345d8ca3'/>
<id>urn:sha1:10b7c8d07f0c68613e29acecc334ea2d345d8ca3</id>
<content type='text'>
</content>
</entry>
</feed>
