Commit Graph

85 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Lynx Linden 5f8cc41e79 Merging latest dessie/viewer-release into brad/viewer-public 2010-06-10 18:57:18 +01:00
Mark Palange (Mani) 7bf5e5c618 EXT-3780 FIX Added llprocessor regression test 2010-06-01 18:39:43 -07:00
brad kittenbrink fa06293a4c Added call to use_prebuilt_binary for google-breakpad so it actually gets installed by install.py. 2010-05-21 11:48:07 -07:00
Andrew A. de Laix 719edddf04 Switch Darwin to use breakpad minidump rather than os generated crash stack. 2010-05-21 09:38:29 -07:00
Mark Palange (Mani) 1aef4820a5 EXT-3780 Added linux impl - wip 2010-05-03 17:06:14 -07:00
Dmitry Zaporozhan b15e2beabf Implemented EXT-6724(normal task) - Implement flat list view of filtered inventory for "add wearables" panel of outfit editor
1. Modified LLInventoryItemsList - implemented delayed item construction. Items are added during draw, not more than 50 items will be added in single draw. This lets us reduce system overload during multiple panel construction.
2. Implemented LLFilteredWearableListManager to populate inventory flat list with data. This class filters entire inventory according to specified filter and populates specified inventory list with data.
3. Created LLCommonUtil::computeDifference() to avoid code copy-pasting(will use it in all appropriate places in next review request)

Reviewed by Mike Antipov - https://codereview.productengine.com/secondlife/r/301/

--HG--
branch : product-engine
2010-04-22 15:48:48 +03:00
Tofu Linden 346cabd557 make the instancetracker unit test really, like, work. before I fiddle with a big pile of stuff. 2010-02-06 21:03:55 +00:00
Tofu Linden 4c7ae59996 move LLEventTimer into its own source module. everyone includes it, almost no-one wants it. now I can dick with it a bit without rebuilding the world, at least. :) 2010-02-06 18:59:44 +00:00
Tofu Linden 18bdeb3d0e DEV-45468 'SNOW-108: Fast timers are broken / badly-scaled on linux' ready to merge.
legacy coding policy fix-up.
2010-01-25 13:32:49 -08:00
Tofu Linden ec7b204ed6 shuffle shuffle of timer code. cleanup. 2010-01-25 12:31:50 -08:00
palange 03104e6998 intermediate commit, to pass to windows machine 2010-01-11 16:43:06 -08:00
Nat Goodspeed 91dd8b2371 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-12-03 10:38:26 -05:00
Nat Goodspeed 7681212d87 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-30 14:19:40 -05:00
Nat Goodspeed 7b6ddb4106 DEV-43463: Keep LLEventPump's LLStandardSignal alive during post()
Replace LLEventPump's boost::scoped_ptr<LLStandardSignal> with
boost::shared_ptr. Take a local stack copy of that shared_ptr in post()
methods, and invoke the signal through that copy. This guards against scenario
in which LLEventPump gets destroyed during signal invocation. (See Jira for
details.) Re-enable Mani's test case that used to crash.
Introduce ll_template_cast<> to allow a template function to recognize a
parameter of a particular type.
Introduce LLListenerWrapper mechanism to support wrapper objects for
LLEventPump listeners. You instantiate an LLListenerWrapper subclass object
inline in the listen() call (typically with llwrap<>), passing it the real
listener, trusting it to forward the eventual call.
Introduce prototypical LLCoutListener and LLLogListener subclasses for
illustrative and diagnostic purposes. Test that LLLogListener doesn't block
recognizing LLEventTrackable base class bound into wrapped listener.
2009-11-30 12:57:45 -05:00
Palmer 6b81dfb139 Allow USE_GOOGLE_PERFTOOLS to be set to on. For memory manager
Reviewed by Bao
2009-11-18 11:59:09 -08:00
James Cook e9b07c480a Fix build, missed a file and items need LL_COMMON_API 2009-11-28 23:10:38 -08:00
James Cook 8ff96a3515 Migrated LLUUIDs and some float constants out of headers into .cpp files
Moved some functions with llinfos into .cpp files
Linker optimizations, all
2009-11-28 20:08:09 -08:00
James Cook cb29ce1243 Move hard-coded image IDs to .cpp file to speed link time. 2009-11-28 16:39:50 -08:00
James Cook 3858992603 Add CMake var LL_TESTS to optionally disable tests for build timing 2009-11-27 22:24:57 -08:00
Nat Goodspeed 062d0a13db Add LLEventAPI class, formalizing the mechanism by which we wrap a C++ API
with an event API. In addition to the LLEventPump name on which to listen,
LLEventAPI accepts a documentation string for event API introspection.
Give every LLEventDispatcher::add() overload a new documentation string
parameter for event API introspection.
Convert every existing event API to new conventions, introducing suitable
documentation strings for the API and each of its operations.
2009-11-11 07:41:50 -05:00
Nat Goodspeed f8ddc9a8ce Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-10 17:10:57 -05:00
Nat Goodspeed a97aebb84a Enhance LLInstanceTracker variants to be more uniform.
For both the (so far unused) generic KEY form and the KEY = T* form, provide
key_iter, beginKeys(), endKeys().
Change instance_iter so that when dereferenced, it gives you a T& rather than
a T*, to be more harmonious with a typical STL container. (You parameterize
LLInstanceTracker with T, not with T*.)
Fix existing usage in llfasttimer.cpp and lltimer.cpp to agree.
For the KEY = T* specialization, add T* getInstance(T*) so client isn't forced
to know which variant was used.
Add unit tests for uniformity of public operations on both variants.
2009-11-10 13:30:29 -05:00
palange ec32310c86 Removed search_dirs and dst_path arguments from ll_deploy_sharedlibs_command()
Fixed mac breakage.
2009-11-05 17:51:50 -08:00
brad kittenbrink 797b4e22b3 Merge of my DEV-41724/DEV-41725 work with viewer-2-0
normalizing shared library staging on all 3 platforms.  Test executables should
now run in the debugger.
2009-11-05 12:07:10 -05:00
brad kittenbrink 4bff7b0853 Wrap-up work for DEV-41724/DEV-41725 - normalizing shared library staging on all 3 platforms.
Should now work out of the box on all 3 platforms and in the debugger.
2009-11-04 18:50:35 -05:00
Bryan O'Sullivan b806edf4ac Redo Bao's broken merge 2009-11-04 14:59:23 -08:00
brad kittenbrink a17ca8260a Beginning work for DEV-41722 normalizing shared lib staging on all 3 platforms. Renamed CopyWinLibs.cmake to Copy3rdPartyLibs.cmake. 2009-10-26 16:08:43 -04:00
Steve Bennetts 65bf35cfed merge 2009-10-19 10:49:48 -07:00
Mark Palange (Mani) 3e10fa4d51 merge from latest svn/viewer-2-0 to hg/viewer-2-0 2009-10-16 16:42:45 -07:00
Adam Moss a0ee6fbbdd DEV-41408 convert lldependencies tut test to llcommon integration test. 2009-10-16 13:42:58 +00:00
Adam Moss fc6c7e3933 DEV-41403 convert reflection tut test to llcommon integration test. 2009-10-16 11:37:17 +00:00
Adam Moss 95cf5766f9 DEV-41402 convert stringize tut test to llcommon integration test. 2009-10-16 11:32:46 +00:00
Adam Moss 9672abecd4 DEV-41367 resurrect dead bitpack test, convert it to a llcommon integration test. 2009-10-15 18:51:23 +00:00
Adam Moss 35c0d21c1e DEV-41366 convert monolithic llbase64 test into a llcommon integration test. 2009-10-15 18:44:59 +00:00
Adam Moss db6dff1d1f DEV-41354 convert llerror tut test into a llcommon integration test 2009-10-15 18:10:46 +00:00
Adam Moss 986bf99839 DEV-41352 convert lluri tut test to a llcommon integration test 2009-10-15 18:05:15 +00:00
Adam Moss c7df37b531 DEV-41344 convert monolithic tut lltreeiterators test to a llcommon integration test. 2009-10-15 16:49:08 +00:00
Adam Moss 423f5b0078 DEV-41341 tut lltiming test -> llframetimer integration test 2009-10-15 16:32:56 +00:00
Adam Moss 2a99e18ea1 DEV-41178 convert lldate legacy monolithic tut test into a llcommon integration test. 2009-10-12 14:56:03 +00:00
Adam Moss c3c03419fe DEV-41175 convert legacy common.cpp tut test into llcommon integration test. 2009-10-12 14:20:51 +00:00
Adam Moss b73e71ebdf DEV-41174 more automated testing love
* turn llnamevalue_tut into a llmessage unit test
* turn llsdserialize_tut into a llcommon integration test
* re-enable the (quite slow) llsdserialize test on win32 now that it doesn't have to run on every recompile
* re-enable all llmessage unit tests on linux viewer builds
2009-10-12 14:13:57 +00:00
Adam Moss c017455439 DEV-41080 - I found out why llmath can't be unit tested and fixed it, this checkin is some harmless preparation for that... 2009-10-08 15:45:34 +00:00
Adam Moss 1ee1570288 DEV-41090 convert legacy llrand tut test into a llcommon integration test. 2009-10-08 13:52:53 +00:00
Adam Moss 7db4992f34 DEV-41081 turn llstring_tut into a real llcommon unit (well, integration :() test. 2009-10-08 11:47:27 +00:00
brad kittenbrink bb1d4592bd Merged latest viewer/viewer-20 into login-api. 2009-09-18 15:22:25 -04:00
Bryan O'Sullivan 91aa2f37f4 Fix some linking problems for tests. 2009-09-08 14:24:22 -07:00
Bryan O'Sullivan 7ad3af45a6 Merge 2009-09-08 13:27:05 -07:00
Nat Goodspeed a1c69da326 QAR-1619: Fix Windows link errors when building INTEGRATION_TEST_lllazy.
The problem arose because we were setting LL_COMMON_BUILD in
llcommon/CMakeLists.txt, not only for the library build itself but also for
its LL_ADD_INTEGRATION_TEST tests. This told all the headers compiled into the
INTEGRATION_TEST_lllazy executable that the executable was providing all the
llcommon symbols, rather than importing them.
The solution is to switch to the llcommon_EXPORTS symbol automagically defined
by CMake when building the llcommon shared library itself.
2009-09-03 16:50:44 -04:00
brad kittenbrink bae94e4340 Merged login-api with viewer-2.0.0-3 up through r132290. 2009-09-01 12:21:51 -04:00
Nat Goodspeed 3069355a6f DEV-34522: [COMMENTS ONLY] clean up comments about (formerly) disabled tests 2009-09-01 14:41:04 +00:00