Ansariel
9fdca96f8b
Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now
2024-07-08 20:27:14 +02:00
Andrey Lihatskiy
1b68f71348
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
2024-04-29 07:56:09 +03:00
Alexander Gavriliuk
a2552a5556
Build fix for Visual Studio patch
2024-02-08 23:44:34 +03:00
Nat Goodspeed
5fa7f69101
SL-20546: Defend llrand's random generator against concurrent access
...
by making it thread_local.
2023-11-17 14:31:21 -05:00
Nat Goodspeed
e7ae20c96f
SL-20546: Avoid promoting F32 to double just to compare bounds.
2023-11-17 10:24:14 -05:00
Nat Goodspeed
d427d5dbfa
SL-20546: Use narrow() explicit conversion from F64 to F32.
2023-11-15 10:12:12 -05:00
Nat Goodspeed
d255c3dda8
DRTVWR-588: Try to fix sporadic llrand test failures.
...
With GitHub viewer builds, every few weeks we've seen test failures when
ll_frand() returns exactly 1.0. This is a problem for a function that's
supposed to return [0.0 .. 1.0).
Monty suggests that the problem is likely to be conversion of F32 to F64 to
pass to fmod(), and then truncation of fmod()'s F64 result back to F32. Moved
the clamping code to each size-specific ll_internal_random specialization.
Monty also noted that a stateful static random number engine isn't
thread-safe. Added a mutex lock.
2023-11-14 20:29:51 -05:00
Nat Goodspeed
14d0b514af
SL-18837: Ditch inactive llrand.cpp LL_USE_SYSTEM_RAND code.
...
LL_USE_SYSTEM_RAND has been disabled since June 2008; that code only clutters
the implementation we actually use.
2023-07-18 09:45:00 -04:00
Nat Goodspeed
167ac704c8
SL-18837: Clean up some redundancy in llrand.cpp.
2023-07-17 16:20:59 -04:00
Oz Linden
c8726aba30
remove execute permission from many files that should not have it
2015-11-10 09:48:56 -05:00
Graham Madarasz
bf6182daa8
Update Mac and Windows breakpad builds to latest
2013-03-29 07:50:08 -07:00
Oz Linden
06b0d72efa
Change license from GPL to LGPL (version 2.1)
2010-08-13 07:24:57 -04:00
Aaron Brashears
e3cf284388
Result of svn merge -r107256:107258 svn+ssh://svn/svn/user/phoenix/license_2009_merge into trunk. QAR-1165
2009-01-08 00:05:06 +00:00
Bryan O'Sullivan
9db949eec3
svn merge -r88066:88786 svn+ssh://svn.lindenlab.com/svn/linden/branches/cmake-9-merge
...
dataserver-is-deprecated
for-fucks-sake-whats-with-these-commit-markers
2008-06-02 21:14:31 +00:00