Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-25 | SL-793: Use Boost.Fiber instead of the "dcoroutine" library. | Nat Goodspeed | |
Longtime fans will remember that the "dcoroutine" library is a Google Summer of Code project by Giovanni P. Deretta. He originally called it "Boost.Coroutine," and we originally added it to our 3p-boost autobuild package as such. But when the official Boost.Coroutine library came along (with a very different API), and we still needed the API of the GSoC project, we renamed the unofficial one "dcoroutine" to allow coexistence. The "dcoroutine" library had an internal low-level API more or less analogous to Boost.Context. We later introduced an implementation of that internal API based on Boost.Context, a step towards eliminating the GSoC code in favor of official, supported Boost code. However, recent versions of Boost.Context no longer support the API on which we built the shim for "dcoroutine." We started down the path of reimplementing that shim using the current Boost.Context API -- then realized that it's time to bite the bullet and replace the "dcoroutine" API with the Boost.Fiber API, which we've been itching to do for literally years now. Naturally, most of the heavy lifting is in llcoros.{h,cpp} and lleventcoro.{h,cpp} -- which is good: the LLCoros layer abstracts away most of the differences between "dcoroutine" and Boost.Fiber. The one feature Boost.Fiber does not provide is the ability to forcibly terminate some other fiber. Accordingly, disable LLCoros::kill() and LLCoprocedureManager::shutdown(). The only known shutdown() call was in LLCoprocedurePool's destructor. We also took the opportunity to remove postAndSuspend2() and its associated machinery: FutureListener2, LLErrorEvent, errorException(), errorLog(), LLCoroEventPumps. All that dual-LLEventPump stuff was introduced at a time when the Responder pattern was king, and we assumed we'd want to listen on one LLEventPump with the success handler and on another with the error handler. We have never actually used that in practice. Remove associated tests, of course. There is one other semantic difference that necessitates patching a number of tests: with "dcoroutine," fulfilling a future IMMEDIATELY resumes the waiting coroutine. With Boost.Fiber, fulfilling a future merely marks the fiber as ready to resume next time the scheduler gets around to it. To observe the test side effects, we've inserted a number of llcoro::suspend() calls -- also in the main loop. For a long time we retained a single unit test exercising the raw "dcoroutine" API. Remove that. Eliminate llcoro_get_id.{h,cpp}, which provided llcoro::get_id(), which was a hack to emulate fiber-local variables. Since Boost.Fiber has an actual API for that, remove the hack. In fact, use (new alias) LLCoros::local_ptr for LLSingleton's dependency tracking in place of llcoro::get_id(). In CMake land, replace BOOST_COROUTINE_LIBRARY with BOOST_FIBER_LIBRARY. We don't actually use the Boost.Coroutine for anything (though there exist plausible use cases). | |||
2016-04-04 | merge with 4.0.3-release | Oz Linden | |
2015-11-10 | remove execute permission from many files that should not have it | Oz Linden | |
2015-09-29 | DRTVWR-409: merge DRTVWR-368 | Rider Linden | |
2015-08-19 | Be sure the correct include is included. | Rider Linden | |
2015-08-17 | Adding llcorehttp to links | Rider Linden | |
2014-05-29 | Mergeup to 3.7.9 viewer-release | Graham Linden | |
2014-04-22 | Modify importer to (optionally) improve debug output, perform name-based LOD ↵ | Graham Linden | |
association, and handle models with many materials. | |||
2013-07-30 | Summer cleaning - removed a lot of llcommon dependencies to speed up build times | Richard Linden | |
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders | |||
2013-06-20 | merge with release | Richard Linden | |
2013-06-05 | merge with viewer-release | Richard Linden | |
2013-05-06 | SH-4080 WIP interesting: random crash on Mac | Richard Linden | |
cleaning up more unused files | |||
2013-04-25 | Merge 3.5.1 into Materials | Graham Madarasz | |
2013-04-19 | merge changes for DRTVWR-294 | Oz Linden | |
2013-03-29 | Update Mac and Windows breakpad builds to latest | Graham Madarasz | |
2012-11-29 | Encapsulate material definitions in LLMaterial and refactor ↵ | Kitty Barnett | |
LLFloaterDebugMaterials to use the new class | |||
2012-10-11 | Updating linux build to gcc4.6 | Don Kjer | |
2012-10-09 | Initial pass at getting a list of viewer objects with non-null material IDs. | William Todd Stinson | |
2012-09-13 | Fleshed out target_link_libraries dependencies between libraries. ↵ | Don Kjer | |
Appearance utility now reads avatar_lad.xml during stubbed out params processing. | |||
2012-07-05 | partial changes for building with the llphysicsextensions source package | Oz Linden | |
2011-08-17 | convert tabs to spaces where they are forbidden | Oz Linden | |
2010-09-30 | Put some errant tests under if (LL_TESTS) conditional. | Dave Parks | |
2010-09-27 | merge | Dave Parks | |
2010-09-21 | Fix for build failures - disabling tcmalloc for now | Brad Payne (Vir Linden) | |
2010-08-18 | VWR-20768 (SNOW-507) FIXED Missing LL_TEST conditions in cmake files | Aimee Linden | |
2009-12-07 | Merge of viewer 2 changes | Palmer | |
2009-11-28 | Migrated LLUUIDs and some float constants out of headers into .cpp files | James Cook | |
Moved some functions with llinfos into .cpp files Linker optimizations, all | |||
2009-11-02 | Sync up with render-pipeline-7 ignore-dead-branch | David Parks | |
2009-10-01 | svn merge -r 134922:134973 ↵ | Monroe Williams | |
svn+ssh://svn.lindenlab.com/svn/linden/branches/media-on-a-prim/moap-7 Merging branches/media-on-a-prim/moap-7 down to viewer-2.0. | |||
2009-04-01 | QAR-1284 ip-takedown tools simulator work is ready for merge | Andrew Meadows | |
svn merge -r115879:116020 svn+ssh://svn.lindenlab.com/svn/linden/branches/dmcat/dmcat-5 no conflicts | |||
2008-06-02 | svn merge -r88066:88786 ↵ | Bryan O'Sullivan | |
svn+ssh://svn.lindenlab.com/svn/linden/branches/cmake-9-merge dataserver-is-deprecated for-fucks-sake-whats-with-these-commit-markers |