Commit Graph

35097 Commits (bfabb7bd2b02654e00f5b8d12541e9bec9cbbad7)

Author SHA1 Message Date
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
Rider Linden 70d4c0ad7d MAINT-6067: There appears to be an issue with HTTP pipelining and timeouts in CURL that has never been resolved (see https://github.com/bagder/curl/issues/627). Until resolved disable pipelining for meshes and textures. 2016-02-02 12:11:08 -08:00
Rider Linden b9292fdef7 MAINT-6099: One more log message. 2016-01-29 16:11:52 -08:00
Rider Linden af47bfff6b MAINT-6099: Add a check on the result of requestPostWithLLSD for error. Also log the failed URL. 2016-01-29 14:11:28 -08:00
Rider Linden 83a62fa2e1 MAINT-6086: Fixed an issue with management of sessionStates (was removing one before it was added in certain cases.) Also changed the calls to LL_ERRS to LL_WARNS (LL_ERRS is a "HaltCatchFire" command and will crash the viewer and nothing in voice should ever bring down the viewer. 2016-01-26 14:41:59 -08:00
Rider Linden f800a22bc6 MAINT-6055: Handle logout message when processing voice connection session (occurs at sleep). Attempt to reconnect if received (at wakeup) 2016-01-26 11:52:42 -08:00
Rider Linden cf77fea0cd MAINT-6086: Reworked how sessions were being tracked and recovered. A case was occurring where a session was being created and then destroyed, but had never been added to the session tracking map. 2016-01-25 17:10:29 -08:00
Rider Linden de81e34dc6 Merge 2016-01-21 16:12:01 -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
callum_linden 0f265ebf72 Backed out changeset 672bd34768c6 2016-01-20 17:15:02 -08:00
callum_linden 73c0b004d1 Backed out changeset 2e77fb7b61b6 2016-01-20 17:13:12 -08:00
callum_linden 65ab91ff46 MAINT-6004 (Fix) Add non blocking file upload picker support 2016-01-20 17:11:50 -08:00
Rider Linden 28921896f1 OPEN-312: Removed add_dependency entries for items listed in target_link_libraries. Superfluous. 2016-01-20 16:08:33 -08:00
Rider Linden f51a240755 MAINT-6064: If an add and join is "rejected" (rather than "failed") this the run session routine should return success (since technically it did not fail... was simply rejected by the other party) This prevents the Vivox coroutine from attempting to tear down the voice connection. 2016-01-20 14:15:54 -08:00
Rider Linden e5bfdac024 MAINT-6071: Change reference to a copy to avoid later use of erased variable. 2016-01-20 09:46:25 -08:00
Rider Linden f7ab567621 Merge 2016-01-15 13:38:47 -08:00
Rider Linden e7eaa94dfa Merge VR 2016-01-15 13:36:38 -08:00
Oz Linden 5a5c023e29 increment viewer version to 4.0.2 2016-01-15 14:19:20 -05:00
Oz Linden 0fb2ebec7b Added tag 4.0.1-release for changeset 759710a9acef 2016-01-15 14:19:20 -05:00
callum_linden f37fb8abe1 Pull in updated LLCEFLib with settings option to turn off WebRTC media and modify the setting in viewer code - nuclear fix for MAINT-6060 2016-01-14 17:23:51 -08:00
rider f78b5c2dea MAINT-6055: If disconnected from voice client attempt to logout and back in. If login fails tear down Vivox client and restart it from scratch. 2016-01-13 14:50:45 -08:00
Rider Linden 34fe371bfd Remove a couple of lines that were spamming the logs. 2016-01-12 12:12:36 -08:00
AndreyL ProductEngine 61f3a06003 MAINT-6018 Open URL dialog spam
Removed "close by owner" item form chiclet's right-click menu
2016-01-12 21:08:27 +02:00
Rider Linden f91e287475 MAINT-6044: Throttle positional updates to no more than two a second. Compare angle between avatar rotations if trivially small do not trigger update. 2016-01-11 18:16:28 -08:00
Rider Linden 59bf97529a MAINT-5978: Code review changes 2016-01-11 14:48:49 -08:00
Rider Linden e982e88b34 MAINT-5978: comment out the caps log reporting. 2016-01-11 11:59:52 -08:00
Rider Linden 3c3cab141d MAINT-5978: Removed HTTP core file snuck back into repo. 2016-01-11 11:51:35 -08:00
AndreyL ProductEngine f6d995b0a2 MAINT-6018 Open URL dialog spam
Remove notifications of muted agents
2016-01-11 03:35:24 +02:00
AndreyL ProductEngine 30446d6afc MAINT-6018 Open URL dialog spam
Added the ability to close all notifications from one owner at once
2016-01-11 03:24:36 +02:00
Mnikolenko ProductEngine 3892685922 MAINT-6040 FIXED crash in LLFavoritesOrderStorage 2016-01-12 15:48:00 +02:00
rider 55e03df727 MAINT-5978: Couple of tweeks for smart pointers on Mac 2016-01-08 14:59:44 -08:00
Rider Linden f7e3c58b50 MAINT-5978: Remove vestigial state machine code. Convert over to smart pointers for state information structures. 2016-01-08 14:07:31 -08:00
Rider Linden 1e1358b2a7 MAINT-5976: Remove residual setState() calls. Clear next session before starting new session. 2016-01-07 14:06:52 -08:00
Rider Linden d4661a71e4 Use #if rather than #ifdef to test platform switch. 2016-01-07 09:47:36 -08:00
rider cdde5d0f03 MAINT-5976: No sleep for mac on shutdown. 2016-01-07 09:20:11 -08:00
Rider Linden 7692e9554d MAINT-5976: Shutdown and reconnection for coroutine version. 2016-01-06 16:42:53 -08:00
Rider Linden 334d13f332 MAINT-5976: Handle connect and disconnect for P2P calls. 2016-01-06 12:56:55 -08:00
Rider Linden 27bc0e049b MAINT-5978: Remove move of the residual state machine. Send initial positional update upon joining channel. 2016-01-06 10:10:07 -08:00
Rider Linden d0e90ea0cf MAINT-5976: On Linux builds do not specify explict for bool conversion operator. 2016-01-04 13:38:13 -08:00
Rider Linden 38f4019752 MAINT-5978: Disable state machine, turn running of vivox over to the coroutine. 2016-01-04 12:16:29 -08:00
Rider Linden ae1c75c1c8 MAINT-5976: Removed temp code to simulate Nat's fix. Now redundant. 2015-12-22 10:17:44 -08:00
Andrey Lihatskiy 579ed3849a Merged lindenlab/viewer-bear into default 2015-12-22 19:24:33 +02:00
AndreyL ProductEngine 60dfd55eda Merge downstream, version 4.0.1 2015-12-22 11:07:18 +02:00
Rider Linden c6fd58f0c4 Merged in nat_linden/viewer-azumarill-vivox (pull request #2)
MAINT-5976: Fix bug in LLCoros::set_consuming() mechanism.
2015-12-21 15:37:52 -08:00
Rider Linden 3edc3c5554 CMake fixes for Linux build 2015-12-21 14:26:41 -08:00
Rider Linden 5ae4299291 And more linux linking 2015-12-18 15:56:07 -08:00
Nat Goodspeed a0a0288f6a Automated merge with ssh://bitbucket.org/rider_linden/azumarill-vivox 2015-12-18 18:06:52 -05:00
Nat Goodspeed 2ee22ed264 MAINT-5976: Fix bug in LLCoros::set_consuming() mechanism.
The original implementation of set_consuming() involved a bool* pointing to a
local bool in VoidListener::operator()()'s stack frame. postAndSuspend() would
set that bool (through the pointer) as soon as it returned from suspension.

The trouble with that is that LLEventMailDrop potentially calls its new
listener (fulfilling the future) immediately in the listen_impl() override --
in other words, way up at the top of postAndSuspend(), well before the code
that sets the relevant bool.

Instead, make the adapter formerly known as VoidListener bind the coroutine's
get_consuming() value at adapter construction time (before listening on the
LLEventPump), so that its operator()() has the coroutine's correct
get_consuming() value to return. Eliminating the bool* makes the code both
simpler AND more correct!

This change makes that adapter very specific to coroutine usage. Rename it
FutureListener and migrate it from lleventcoros.h into the .cpp file. Nobody
else was using it anyway.

Make corresponding changes to postAndSuspend2() and its WaitForEventOnHelper
class -- whose name no longer corresponds to the function as it used to.
Rename that one FutureListener2. The new FutureListener functionality, common
to both these adapters, makes it useful to derive FutureListener2 from
FutureListener.

Introduce llmake(), a generic function to deduce template type arguments from
function parameter types. This allows us to remove the voidlistener() and
wfeoh() helper functions.

Hiding VoidListener broke one of the lleventcoro_test.cpp tests. But that test
was sort of a lame recap of an earlier implementation of postAndSuspend(),
based on LLEventPump events. Recast that test to illustrate how to use a
coroutine future to suspend a coroutine for something other than an LLEventPump.

But that rubbed my nose in the fact that we MUST wrap future's context
switching with proper management of the current coroutine. Introduce
LLCoros::Future<T>, which wraps boost::dcoroutines::future<T>.

Use LLCoros::Future<T> in postAndSuspend() and postAndSuspend2().
2015-12-18 18:06:32 -05:00
Rider Linden 7900e2ee77 Another rt link for linux 2015-12-18 15:06:24 -08:00
Rider Linden 909e409743 Merge 2015-12-18 14:10:02 -08:00