Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-18 | Automated merge with ssh://bitbucket.org/rider_linden/azumarill-vivox | Nat Goodspeed | |
2015-12-18 | MAINT-5976: Fix bug in LLCoros::set_consuming() mechanism. | Nat Goodspeed | |
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 | Another rt link for linux | Rider Linden | |
2015-12-18 | Merge | Rider Linden | |
2015-12-18 | Disable unit test on Linux only | Rider Linden | |
2015-12-18 | Merge | Rider Linden | |
2015-12-18 | More rt lib | Rider Linden | |
2015-12-18 | Adding RT to another cmake file for Linux | Rider Linden | |
2015-12-18 | Reorder the rt library for Linux build | Rider Linden | |
2015-12-18 | increment viewer version to 4.0.1 | Oz Linden | |
2015-12-17 | MAINT-5977: Update cmake file to always include boost with LLCommon | Rider Linden | |
2015-12-17 | MAINT-5977: Check get_consuming() as well as listener return when draining ↵ | Rider Linden | |
queue. | |||
2015-12-17 | MAINT-5977: Finish implementation of MailBox event pump type for guaranteed ↵ | Rider Linden | |
delivery | |||
2015-12-17 | Merge | rider | |
2015-12-17 | MAINT-5976: Adding MailDrop type event Queue | rider | |
2015-12-16 | merge with head | callum_linden | |
2015-12-16 | maint-5875 fix llceflib_host.exe' error about missing MSVCP120.dll | callum_linden | |
2015-12-16 | MAINT-5976: Introduce LLCoros::set_consuming(bool). | Nat Goodspeed | |
set_consuming(true) tells each postAndSuspend() call to consume the event for which it is suspending. | |||
2015-12-15 | Fix for OS X and Linux - their compilers do not like missing entries in case ↵ | callum_linden | |
statement | |||
2015-12-15 | MAINT-5966 - file download failures need feedback | callum_linden | |
2015-12-15 | Throttle consecutive connect attempts. | rider | |
2015-12-14 | MAINT-5962: Added routine for checking MoaP double click and forwarding ↵ | Rider Linden | |
those double click events into to the plugin. | |||
2015-12-11 | Missed a commit for MAINT-5948 - enable double click | callum_linden | |
2015-12-11 | Remove some of the dead code. 1:1 chat is working but group chat fails now. ↵ | Rider Linden | |
Need to reexamine the entire flow. | |||
2015-12-10 | Possible fix for private call hangup. | Rider Linden | |
2015-12-09 | Voice session state now in coro (includes all sub states as part of the coro) | Rider Linden | |
2015-12-09 | Automated merge with ssh://bitbucket.org/callum_linden/viewer-cef | Nat Goodspeed | |
2015-12-09 | MAINT-5862: Change the Linux wording in the ToS floater per Grumpity. | Nat Goodspeed | |
2015-12-08 | Adjust login to account for required double response. | Rider Linden | |
2015-12-08 | Convert session joining/adding and creating to coroutine | Rider Linden | |
2015-12-04 | Start work on capture/playback routines. | Rider Linden | |
2015-12-04 | Initial changes for Vivox/Azumarill merge. Lots of temporary code and ↵ | Rider Linden | |
conditional compile switches. Begin switch from statemachine to coroutine. | |||
2015-12-04 | MAINT-5941 [Valhalla] Default flash to on by default (reverts MAINT-5773) | callum_linden | |
2015-12-04 | Merge fix for MAINT-5892 | AndreyL ProductEngine | |
2015-12-04 | MAINT-5892 Argument fix | AndreyL ProductEngine | |
2015-12-03 | Merged callum_linden/viewer-cef into default | Rider Linden | |
2015-12-03 | MAINT-5909: Enable unicode text input on mac and feed that directly into the ↵ | rider | |
viewer. Windows fixes still required. | |||
2015-12-02 | merge changes for MAINT-5901 | Oz Linden | |
2015-12-02 | merge changes for MAINT-5901 | Oz Linden | |
2015-11-25 | MAINT-5901: Make avatar auto pilot work correctly through transparent objects | Oz Linden | |
2015-11-24 | SL-192 Edit Experience Profile shows up once an Exp is acquired | andreykproductengine | |
2015-11-24 | MAINT-5892 Added the comments to the function parameters | AndreyL ProductEngine | |
2015-11-23 | Merged callum_linden/viewer-cef into default | Rider Linden | |
2015-11-23 | Merge from Vivox Repo | Rider Linden | |
2015-11-23 | Refrain from sending right mouse button events - crashes OS X - and we don't ↵ | Callum Prentice | |
need them | |||
2015-11-23 | MAINT-5892 FIXED Alt camming on rigged mesh makes the camera judder, get ↵ | AndreyL ProductEngine | |
stuck or fly off into the distance. | |||
2015-11-20 | pull in llceflib changes for user agent, flash plugins and pdf | callum_linden | |
2015-11-20 | MAINT-5835: Cut down on log spam from coros and voice. | Rider Linden | |
2015-11-20 | MAINT-5831: If there is a teleport request active and it has failed, ↵ | Rider Linden | |
teleport state will always return "None". | |||
2015-11-19 | MAINT-5804, MAINT-5890: Incorrectly trapping timeout in event poll and ↵ | Rider Linden | |
canceling coroutine before it's finished. |