Oz Linden
9be58e915a
merge with 4.0.3-release
2016-04-04 15:53:09 -04:00
Rider Linden
d51a5a615a
Merge
2016-03-07 10:24:39 -08:00
Oz Linden
c7ebeb8420
merge with El Capitan and packaging fixes
2016-03-07 09:46:02 -05:00
Rider Linden
bfabb7bd2b
MAINT-6137: Re enable pipelining by default, use new version of CURL (7.47) with corrections for timed out connections in pipelining. Minor fix for safer op retrieval.
2016-02-19 11:19:50 -08:00
JJ Linden
47f6782ad0
kludge for darwin builds on el capitan
2016-02-17 16:46:40 -08:00
Rider Linden
37286b3d39
MAINT-5915: Put in some extra null checks around completed HTTP checks to try and eliminate a crash in the wild.
2016-01-21 16:08:07 -08:00
Oz Linden
c8726aba30
remove execute permission from many files that should not have it
2015-11-10 09:48:56 -05:00
rider
7c56430258
MAINT-5271: Microsoft is just too permissive.
2015-10-16 12:15:33 -07:00
Rider Linden
8d334ca1bf
MAINT-5271: Converted internal pointers to internal operation to managed shared pointers. Removed direct cast and dereference of handles.
2015-10-16 11:40:48 -07:00
Rider Linden
6ff0bff8f0
Another fix for unit tests. Missed on Windows.
2015-10-15 11:42:43 -07:00
Rider Linden
b30e408a42
MAINT-5732: Update unit tests
2015-10-15 11:03:13 -07:00
Rider Linden
3fdd5abf96
MAINT-5732: Issue in texture_load example and some comments regarding NoOpDeletor
2015-10-15 10:12:58 -07:00
rider
eca891e261
MAINT-5732: Fixes for Mac build
2015-10-15 09:32:19 -07:00
Rider Linden
bbb9d4f21b
MAINT-5732: Change to the way event polling handles error conditions and cancel calls.
...
Refactor any remaining LLCore::HTTPHandlers to use boost::shared_ptr
Started minor refactor in the materials manager into coroutines (unfinished)
2015-10-14 17:46:24 -07:00
Rider Linden
2d2c90157d
Remove ares dependency from build.
2015-09-23 15:48:06 -07:00
Rider Linden
2a37a8b1cc
Add cleanup to LLCore prevent occasional crash on exit.
2015-09-21 17:01:26 -07:00
Rider Linden
907efc9cc9
MAINT-5507: Remove llcurl, move constant values and untilities to llcorehttp lib
2015-09-15 17:01:26 -07:00
Rider Linden
921478803c
Break circular dep. Things get cranky.
2015-08-19 09:07:50 -07:00
Rider Linden
6a6e914286
MAINT-5506: Establish circular dependency between LLMessage & LLCoreHttp
2015-08-18 16:35:03 -07:00
Rider Linden
248d61fe0e
MAINT-5500: Finish converting the AIS responders to the new coroutine model, Cleaned up dead an unused code.
...
MAINT-4952: Added COPY and MOVE methods to Core:Http adapter
2015-08-12 16:32:49 -07:00
Nat Goodspeed
9bde72f784
Automated merge with file:///Users/nat/linden/maint-4952-v-t-u
2015-07-10 19:37:19 -04:00
Nat Goodspeed
768ef45067
Merge suppress http_proxy in INTEGRATION_TEST_llcorehttp
2015-07-09 21:44:02 -04:00
Nat Goodspeed
657944cda7
Suppress http_proxy env var for llcorehttp integration test.
...
Sometimes it can be useful to have http_proxy set in the environment, but if
we leave it set while INTEGRATION_TEST_llcorehttp is running, the test hangs.
Suppress that variable for that integration test.
2015-07-09 21:42:34 -04:00
Rider Linden
675b6a8074
Fix the sample.
2015-07-08 15:16:54 -07:00
Rider Linden
75b12d79e1
Enforcing constness of refs
2015-07-08 14:49:08 -07:00
Rider Linden
7ff38e34ea
Update the unit tests to use the new pointer type.
2015-07-08 12:44:57 -07:00
Rider Linden
fe5567639d
Change HttpOptions::ptr_t to be shared_ptr<> rather than intrusive.
2015-07-08 12:09:36 -07:00
Rider Linden
1138c57f9a
Convert LLCore::HttpHeaders to use shared_ptr<> rather than an intrusive_ptr<> for refrence counting.
2015-07-08 10:01:27 -07:00
Nat Goodspeed
80d17b2dd9
MAINT-4952: Use IntrusivePtr for BufferArray,HttpHeaders,HttpOptions.
...
Specifically, change the ptr_t typedefs for these LLCore classes to use
IntrusivePtr rather than directly using boost::intrusive_ptr. This allows us
to use a simple ptr_t(raw ptr) constructor rather than having to remember to
code ptr_t(raw ptr, false) everywhere. In fact, the latter form is now invalid:
remove the now-extraneous 'false' constructor parameters.
2015-06-29 17:19:51 -04:00
Nat Goodspeed
76cb1fcf0b
MAINT-4952: Add IntrusivePtr wrapper for boost::intrusive_ptr.
...
For a RefCounted subclass T, boost::intrusive_ptr<T> must be instantiated as
boost::intrusive_ptr<T>(raw ptr, false) to avoid immortal instances.
Forgetting that final bool parameter is both easy and extremely hard to spot
with desk checking or code review. IntrusivePtr<T> provides constructors that
Do The Right Thing, so we can typedef a subclass T's ptr_t to IntrusivePtr<T>
rather than directly to boost::intrusive_ptr<T>.
2015-06-29 15:37:32 -04:00
Rider Linden
9703397551
MAINT-5295 Remove POSTFIELDS from PUT operation.
2015-06-24 10:10:22 -07:00
Rider Linden
dde75d7621
Mac builds are very picking about testing an unsigned for < 0
2015-06-05 16:11:27 -07:00
Rider Linden
daf4d167b6
Added a seek method to LLCore::Http for data rewind.
...
A couple of minor changes to merchant out box in hopes that the would fix the issues.
2015-06-05 15:19:24 -07:00
Rider Linden
68da6fa846
Set follow redirects so that the default is the same when no options are are specified and when follow redirects is not specified on the options object.
2015-06-01 16:54:53 -07:00
Rider Linden
83543e556c
Memory leak (extra ref) in webprofile
...
Viewer media routines to coroutine.
Post with raw respons in llcorehttputil
LLCore::Http added headers only option (applies only on get)
2015-05-27 17:15:01 -07:00
Rider Linden
c437a9c4ec
Webprofile converted to coroutine.
...
Added JSON->LLSD converter
Added corohandler for JSON data
2015-05-20 17:37:27 -07:00
Rider Linden
da32de179d
Converting llmediaclient to new order.
...
Temp disable llmediaclient's unit tests for link issues.
2015-04-28 09:39:47 -07:00
Rider Linden
d0c85b6dd9
Adding support for DELETE, PATCH and COPY
2015-04-10 17:23:58 -07:00
Rider Linden
1c91c8a106
Adding weak pointer support.
...
Event polling as a coroutine. (incomplete)
Groundwork for canceling HttpCoroutineAdapter yields.
2015-04-08 10:17:34 -07:00
Rider Linden
edc1439bd6
Added AvatarNameCache as coroutine, with LLCore::HttpHandler to respond correctly to Event Pumps.
...
Added get/setRequestURL() to LLCore::HttpResponse
Removed URI from the HttpSDHandler.
2015-04-01 16:37:00 -07:00
Rider Linden
0b02b36b65
Remove test for size of HttpStatus
2015-03-27 17:38:00 -07:00
Rider Linden
7353640387
first set of chnages from code review from Nat
2015-03-27 17:00:02 -07:00
Rider Linden
e140118fc4
Replace appearance responder with new LLCore Appearance Handler.
...
Prep for some slight cleanup of the code.
Add AP_AVATAR Policy
2015-03-25 11:31:11 -07:00
Rider Linden
d9e8868096
Fix the tests to not directly access HttpsStatus' internals.
2015-03-23 15:41:40 -07:00
Rider Linden
d46fe1a1bb
Microsoft is not nearly picky enough. Headder issues caught by gcc MS likes fine.
2015-03-23 14:48:34 -07:00
Rider Linden
90ae8b84c6
Fix headers for gcc build
2015-03-23 14:22:07 -07:00
Rider Linden
379c49fc89
Scratch the unique_ptr for the moment.
2015-03-23 13:50:07 -07:00
Rider Linden
e7a1e6198b
Slightly cleaner than this-> ing everythnig.
2015-03-23 13:39:33 -07:00
Rider Linden
530bf560b2
Continue with gcc issues.
2015-03-23 13:28:24 -07:00
Rider Linden
3b923962f8
Reogranized some headers for GCC added <memory> to the linden_common.h for shared_ptr
2015-03-23 12:23:35 -07:00