- Dec 19, 2016
-
-
Nat Goodspeed authored
It's not really clear to me why the original coder felt it necessary to cast the two sigaction::sa_sigaction fields to unsigned int in the first place, but in a 64-bit clang compile, that discards information.
-
Nat Goodspeed authored
Going forward, the intention is to set in 00-Common.cmake only switches not already set for ALL viewer-related libraries in https://bitbucket.org/lindenlab/viewer-build-variables/src/tip/variables. To that end, remove all switches redundant with settings from that file. Remove redundancies within 00-Common.cmake. Remove cruft testing for gcc versions older than 4.3.
-
Nat Goodspeed authored
Turns out that Monty didn't intend for the int-flavored representation of HttpStatus to expand to 64 bits even when unsigned long is that wide. So change the implicit conversion operator, and its uses, to U32 instead. That produces a consistent toHex() result for both 32-bit and 64-bit builds.
-
Nat Goodspeed authored
When std::istream::good() returns false, presumably we can no longer rely on get() returning valid data. Certain streamtools tests were assuming that get() would return the empty string at EOF, but in fact it appears that it left the previous buffer contents unmodified.
-
- Dec 17, 2016
-
-
Nat Goodspeed authored
-
Nat Goodspeed authored
Ruslan points out that changing TYPE_MAX could lead to extra (useless) render passes. We will have to solve the TYPE_INDEX > TYPE_MAX problem another way.
-
Nat Goodspeed authored
Ruslan assures me that in fact this usage is valid.
-
- Dec 16, 2016
-
-
Nat Goodspeed authored
LLStatGraph::Threshold has an operator<(const Threshold& other) -- but because the method itself wasn't marked const, it could only be used on a non-const instance. This change fixes a case when it was applied to const instances.
-
Nat Goodspeed authored
when passing -- something -- to glVertexAttribPointerARB() in LLVertexBuffer::setupVertexArray().
-
Nat Goodspeed authored
-
Nat Goodspeed authored
LLVertexBuffer::TYPE_INDEX was past TYPE_MAX, which is used to set the maximum sizes of various (scattered) arrays, bleh. The alarm bells that this SHOULD set off are indeed correct: TYPE_INDEX was being used to index at least one of those arrays, meaning we've been indexing past the end of that array, meaning undefined behavior. The enum that defines both TYPE_INDEX and TYPE_MAX provides a helpful comment indicating what things must be updated when modifying the enum. (Far better to define things centrally in a single place... but another time.) Update the designated arrays to include a final TYPE_INDEX entry. Contents of those entries are wild guesses -- but even wild guesses are better than completely indeterminate data.
-
- Dec 15, 2016
-
-
Callum Prentice authored
-
Nat Goodspeed authored
In a clang 64-bit compile, with that switch set in CMAKE_CXX_LINK_FLAGS, we cannot catch any user exception. This shows up right away because TUT relies on internal exceptions to walk through test<n>() test methods, but of course being unable to catch any exceptions in the viewer would be just as bad. A quick Google search turned up lots of people mentioning -no_compact_unwind without finding any documentation about what it's supposed to be good for. But since no tests work with it, whereas they work without it -- kill it.
-
Callum Prentice authored
-
Nat Goodspeed authored
In a 64-bit build, std::string::npos is way bigger than a U32.
-
Nat Goodspeed authored
-
- Dec 14, 2016
-
-
Nat Goodspeed authored
-
- Dec 13, 2016
-
-
Nat Goodspeed authored
That should be set in TeamCity template hierarchy; don't override it.
-
Nat Goodspeed authored
Also make it Persist so if someone hand-edits it to try to find a more suitable size, they won't have to keep re-editing it for every session.
-
- Dec 12, 2016
-
-
Nat Goodspeed authored
-
Nat Goodspeed authored
-
Nat Goodspeed authored
-
- Dec 10, 2016
-
-
Nat Goodspeed authored
-
- Dec 09, 2016
-
-
Nat Goodspeed authored
-
Nat Goodspeed authored
-
nat_linden authored
DRTVWR-418: Change Mac build_directory to build-darwin-x86_64 since we no longer support 32-bit Mac builds.
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
- Dec 08, 2016
-
-
Nat Goodspeed authored
since we no longer support 32-bit Mac builds. The old build-darwin-i386 directory name appeared in a shocking number of files. Change CMake paths to use ${CMAKE_BINARY_DIR} -- or, when trying to find the packages subdirectory, ${AUTOBUILD_INSTALL_DIR}. Change the rest to at least look for build-darwin-*.
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
- Dec 07, 2016
-
-
Nat Goodspeed authored
-
Nat Goodspeed authored
-
Nat Goodspeed authored
-
Oz Linden authored
-