Commit Graph

269 Commits (680194deaf7a35caaa629abc16e886d71baff636)

Author SHA1 Message Date
Oz Linden a74d0d44d1 remove skip from llframetimer_test now that it is fixed 2014-11-14 22:34:13 -05:00
Oz Linden 6b4916fc75 merge up to tip of viewer-tools-update 2014-11-14 22:32:54 -05:00
Oz Linden dbdbcbbd3c rewrite an llframetimer test to be less sensitive to extended ms_sleep calls 2014-11-14 17:22:26 -05:00
Nat Goodspeed 6991eb58c3 Skip LLFrameTimer test<3>, which fails with Xcode 6.x builds.
Hopefully this is temporary until we figure out the real problem!
2014-11-14 12:09:55 -05:00
Nat Goodspeed 918e2b629b Bring in new TUT library build. Clean up ensure_equals() overloads.
The new TUT library build eliminates the ambiguity about ensure_equals(const
char*, ...) versus ensure_equals(const std::string&, ...). Now it's all based
on const std::string&. Remove pointless const char* overloads and ambiguous
forwarding templates.
With clang in Xcode 6, any new datatypes we intend to use with ensure_equals()
must have operator<<(std::ostream&, datatype) declared BEFORE lltut.h
#includes tut.hpp. Reorder code in certain test source files to guarantee that
visibility.
2014-10-23 20:23:08 -07:00
Oz Linden 9e9779d3f8 Remove unit test case that relied on undefined order of evaluation
in: 'cout << a() << b()' the order of evaluation of a() and b() is undefined.
2014-10-22 21:20:10 -04:00
Oz Linden 25dcb53aa2 merge with more fixes from callum 2014-10-22 16:46:12 -04:00
Oz Linden 04291ba319 correct merge error in llerror_test.cpp 2014-10-22 16:42:18 -04:00
callum_linden 221c521f23 Update to build on Xcode 6.0 (fix unit tests): remove unused statement warning 2014-10-22 11:38:56 -07:00
callum_linden 0bcfb017ce Update to build on Xcode 6.0 (fix unit tests): skip llerror_test test for now - operator << issues on clang 2014-10-22 11:03:00 -07:00
callum_linden 428adcb35c Update to build on Xcode 6.0 (fix unit tests): remove unused functions that trigger clang warnings 2014-10-22 10:12:36 -07:00
Oz Linden 98d8313847 added skip to llerror_test of nested logging, noted in todo file 2014-10-22 12:00:03 -04:00
Stinson Linden 8392fde6f6 Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-drtvwr-365. 2014-06-02 22:32:16 +01:00
Stinson Linden 08e83a341e MAINT-4009: Final pass refactoring to eliminate memory allocation related to error reporting that is not properly cleaned up. 2014-05-17 00:41:36 +01:00
Stinson Linden 34b2f2d1f8 MAINT-4009: First pass refactoring to eliminate memory related to error reporting that is not properly cleaned up. 2014-05-16 22:44:25 +01:00
Brad Payne (Vir Linden) 487ca1bad3 v-r -> s-e merge WIP 2014-05-14 17:50:59 -04:00
Richard Linden 98aabdc176 merge with release 2014-04-07 19:09:40 -07:00
Richard Linden 80b4a4a1f5 merge with release 2014-02-24 18:45:59 -08:00
obscurestar 8fd270af1c Pulled from release. 2014-02-24 15:12:04 -08:00
Aura Linden ea7e6a5174 Some cleanup of string to wstring conversion and vice versa. 2014-01-14 15:28:35 -08:00
Richard Linden 1dfba44b3d fixed things so that trace recordings can be read from even while active 2013-10-21 14:22:21 -07:00
Richard Linden fcf5602ba8 more buildfix 2013-10-21 11:56:31 -07:00
Richard Linden 318a1eca57 more buildfix stuff 2013-10-21 11:24:35 -07:00
Richard Linden 30863e0af0 another attempted buildfix 2013-10-21 11:19:38 -07:00
Richard Linden aef2a527e5 BUILDFIX: double delete in instancetracker unit test 2013-10-21 10:32:19 -07:00
Richard Linden 4170ef8ecc fixed llinstancetracker unit test 2013-10-18 09:50:26 -07:00
Richard Linden 52da9f5f49 merge with viewer-release 2013-09-09 18:58:41 -07:00
Richard Linden 5ddd5694b5 fixed bad logic in unit test 2013-08-27 18:59:32 -07:00
Richard Linden 25e2fbe419 got comparisons between implicit and explicit units working right 2013-08-27 18:08:32 -07:00
Richard Linden 00bd492b30 got linear unit conversions (like fahrenheit <-> celsius) working correctly
further optimizations for codegen
2013-08-27 16:36:36 -07:00
Richard Linden a7aed07a5b broke out llunit.h into llunittype.h and llunits.h for unit declarations
changed unit declarations macros to make a lot more sense
2013-08-27 13:41:19 -07:00
Richard Linden 0b96a0e80c BUILDFIX: corrected template parameter for LL_BAD_TEMPLATE_INSTANTIATION macro in llunit 2013-08-26 18:37:07 -07:00
Richard Linden 1f3f660cf4 Automated merge with http://bitbucket.org/lindenlab/viewer-interesting 2013-08-26 18:17:26 -07:00
Richard Linden 8535b87544 removed some unecessary template parameters from LLUnit member functions
forced unit conversion code to inline
unit conversion now no longer converts all the way to base and back, but tries
to find equivalent units as early as possible
fixed another llinfos instance
scene monitor now outputs n/a for invalid samples
2013-08-26 18:00:24 -07:00
Monty Brandenberg f00b6c7133 Merge. Pull in viewer-release after SSA merge. 2013-08-26 18:54:39 -04:00
Richard Linden e30b03198c Automated merge with https://bitbucket.org/lindenlab/viewer-interesting 2013-08-23 15:35:45 -07:00
Richard Linden 4c7f489629 BUILDFIX: replaced function that was accidentally removed 2013-08-23 15:02:37 -07:00
Richard Linden a77f424945 BUILDFIX: fix for crashes in unit tests on mac and linux 2013-08-23 13:41:51 -07:00
Richard Linden 258bdb10a4 Automated merge with https://bitbucket.org/lindenlab/viewer-interesting 2013-08-23 09:49:11 -07:00
Richard Linden cf014375b8 SH-4433 FIX: Interesting: Statistics > Ping Sim is always 0 ms
removed bad assert
fixed precision issues during int->unsigned int conversions and vice
versa
2013-08-22 14:21:16 -07:00
Richard Linden 049317fc64 SH-4433 WIP Interesting: Statistics > Ping Sim is always 0 ms
added unit tests for lltrace
2013-08-21 23:51:46 -07:00
Richard Linden 2c6bc5afa5 SH-4433 WIP Interesting: Statistics > Ping Sim is always 0 ms
made getPrimaryAccumulator return a reference since it was an
always non-null pointer
changed unit conversion to perform lazy division in order to avoid truncation
of timer values
2013-08-21 14:06:57 -07:00
Richard Linden 612892b45a SH-4433 WIP: Interesting: Statistics > Ping Sim is always 0 ms
continued conversion to units system
made units perform type promotion correctly and preserve type in arithmetic
e.g. can now do LLVector3 in units
added typedefs for remaining common unit types, including implicits
2013-08-18 22:30:27 -07:00
Richard Linden 26581404e4 BUILDFIX: added header for numeric_limits support on gcc
added convenience types for units F32Seconds, etc.
2013-08-14 11:51:49 -07:00
Richard Linden 9faaa28f44 SH-4346 FIX Interesting: some integer Statistics are displayed as floating point after crossing region boundary
fine-tuned heuristics for switching between mean and current values in stat bar display
added comments to LLUnits unit test
2013-08-13 18:33:07 -07:00
Richard Linden cc31b4ae79 SH-4399 FIX: Interesting: Texture console MB Bound 0/384 and texture queue bounces once per second
SH-4346 FIX: Interesting: some integer Statistics are displayed as floating point after crossing region boundary
made llerrs/infos/etc properly variadic wrt tags
LL_INFOS("A", "B", "C") works, for example
fixed unit tests
remove llsimplestat
2013-08-12 20:05:16 -07:00
Richard Linden a2e22732f1 Summer cleaning - removed a lot of llcommon dependencies to speed up build times
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-07-30 19:13:45 -07:00
Richard Linden 7e7b9ddc32 BUILDFIX fixed llunits unit test to use new unit declaration syntax 2013-07-24 11:24:41 -07:00
Richard Linden 4ff19b8f63 removed debug spam
fast timer data now resets on login
2013-07-20 09:41:55 -07:00
Monty Brandenberg 38b3da4a20 Merge. Refresh from viewer-release. 2013-07-18 18:43:58 -04:00