Merge branch 'future' into V2Baking

This commit is contained in:
Shyotl
2011-10-31 20:41:58 -05:00
20 changed files with 63 additions and 35 deletions

View File

@@ -1,4 +0,0 @@
This is a modified version of openal-soft from GIT (56cc03860378e2758370b773b2a6f1b4e086b49a).
The modified source which this was built from is available here:
http://viewer-source-downloads.s3.amazonaws.com/install_pkgs/openal-soft-linden-56cc03860378e2758370b773b2a6f1b4e086b49a.tar.bz2

View File

@@ -1,10 +1,10 @@
# -*- cmake -*- # -*- cmake -*-
include(Prebuilt) include(Prebuilt)
if (NOT STANDALONE) if (NOT (STANDALONE OR DARWIN))
use_prebuilt_binary(glext) use_prebuilt_binary(glext)
# possible glh_linear should have its own .cmake file instead # possible glh_linear should have its own .cmake file instead
#use_prebuilt_binary(glh_linear) #use_prebuilt_binary(glh_linear)
# actually... not any longer, it's now in git -SG # actually... not any longer, it's now in git -SG
set(GLEXT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include) set(GLEXT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include)
endif (NOT STANDALONE) endif ()

View File

@@ -749,6 +749,7 @@ class CygwinSetup(WindowsSetup):
setup_platform = { setup_platform = {
'darwin': DarwinSetup, 'darwin': DarwinSetup,
'linux2': LinuxSetup, 'linux2': LinuxSetup,
'linux3': LinuxSetup,
'win32' : WindowsSetup, 'win32' : WindowsSetup,
'cygwin' : CygwinSetup 'cygwin' : CygwinSetup
} }

View File

@@ -1454,9 +1454,12 @@ S32 LLSDBinaryFormatter::format(const LLSD& data, std::ostream& ostr, U32 option
} }
case LLSD::TypeUUID: case LLSD::TypeUUID:
{
ostr.put('u'); ostr.put('u');
ostr.write((const char*)(&(data.asUUID().mData)), UUID_BYTES); LLUUID value = data.asUUID();
ostr.write((const char*)(&value.mData), UUID_BYTES);
break; break;
}
case LLSD::TypeString: case LLSD::TypeString:
ostr.put('s'); ostr.put('s');

View File

@@ -34,9 +34,9 @@
#define LL_LLVERSIONVIEWER_H #define LL_LLVERSIONVIEWER_H
const S32 LL_VERSION_MAJOR = 1; const S32 LL_VERSION_MAJOR = 1;
const S32 LL_VERSION_MINOR = 5; const S32 LL_VERSION_MINOR = 6;
const S32 LL_VERSION_PATCH = 10; const S32 LL_VERSION_PATCH = 0;
const S32 LL_VERSION_BUILD = 1; const S32 LL_VERSION_BUILD = 2;
const char * const LL_CHANNEL = "Singularity"; const char * const LL_CHANNEL = "Singularity";

View File

@@ -90,7 +90,7 @@ int LLPluginInstance::load(std::string &plugin_file)
#if LL_LINUX && defined(LL_STANDALONE) #if LL_LINUX && defined(LL_STANDALONE)
void *dso_handle = dlopen(plugin_file.c_str(), RTLD_NOW | RTLD_GLOBAL); void *dso_handle = dlopen(plugin_file.c_str(), RTLD_NOW | RTLD_GLOBAL);
int result = (!dso_handle)?APR_EDSOOPEN:apr_os_dso_handle_put(&mDSOHandle, int result = (!dso_handle)?APR_EDSOOPEN:apr_os_dso_handle_put(&mDSOHandle,
dso_handle, AIAPRRootPool::get()()); dso_handle, LLAPRRootPool::get()());
#else #else
int result = apr_dso_load(&mDSOHandle, int result = apr_dso_load(&mDSOHandle,
plugin_file.c_str(), plugin_file.c_str(),

View File

@@ -409,7 +409,7 @@ void LLPluginProcessParent::idle(void)
cmd << gdb_path << " -n /proc/" << mProcess.getProcessID() << "/exe " << mProcess.getProcessID(); cmd << gdb_path << " -n /proc/" << mProcess.getProcessID() << "/exe " << mProcess.getProcessID();
typedef boost::tokenizer< boost::escaped_list_separator< typedef boost::tokenizer< boost::escaped_list_separator<
char>, typename std::basic_string< char>, std::basic_string<
char>::const_iterator, char>::const_iterator,
std::basic_string<char> > tokenizerT; std::basic_string<char> > tokenizerT;
@@ -418,7 +418,7 @@ void LLPluginProcessParent::idle(void)
boost::escaped_list_separator< char >("\\", boost::escaped_list_separator< char >("\\",
" ", "'\"")); " ", "'\""));
std::vector< std::basic_string<char> > tokens; std::vector< std::basic_string<char> > tokens;
for (typename tokenizerT::iterator for (tokenizerT::iterator
cur_token(tok.begin()), end_token(tok.end()); cur_token(tok.begin()), end_token(tok.end());
cur_token != end_token; ++cur_token) { cur_token != end_token; ++cur_token) {
if (!cur_token->empty()) if (!cur_token->empty())

View File

@@ -277,6 +277,14 @@ LLPluginSharedMemoryPlatformImpl::~LLPluginSharedMemoryPlatformImpl()
bool LLPluginSharedMemory::map(void) bool LLPluginSharedMemory::map(void)
{ {
llassert(mSize);
if (!mSize)
{
LL_DEBUGS("Plugin") << "Tried to mmap zero length" << LL_ENDL;
return false;
}
llassert(mImpl->mSharedMemoryFD != -1);
llassert(fcntl(mImpl->mSharedMemoryFD, F_GETFL) != -1);
mMappedAddress = ::mmap(NULL, mSize, PROT_READ | PROT_WRITE, MAP_SHARED, mImpl->mSharedMemoryFD, 0); mMappedAddress = ::mmap(NULL, mSize, PROT_READ | PROT_WRITE, MAP_SHARED, mImpl->mSharedMemoryFD, 0);
if(mMappedAddress == NULL) if(mMappedAddress == NULL)
{ {

View File

@@ -68,6 +68,7 @@ BOOL gGLActive = FALSE;
std::ofstream gFailLog; std::ofstream gFailLog;
#if !LL_DARWIN //Darwin doesn't load extensions that way! -SG
void* gl_get_proc_address(const char *pStr) void* gl_get_proc_address(const char *pStr)
{ {
void* pPtr = (void*)GLH_EXT_GET_PROC_ADDRESS(pStr); void* pPtr = (void*)GLH_EXT_GET_PROC_ADDRESS(pStr);
@@ -77,6 +78,7 @@ void* gl_get_proc_address(const char *pStr)
} }
#undef GLH_EXT_GET_PROC_ADDRESS #undef GLH_EXT_GET_PROC_ADDRESS
#define GLH_EXT_GET_PROC_ADDRESS(p) gl_get_proc_address(p) #define GLH_EXT_GET_PROC_ADDRESS(p) gl_get_proc_address(p)
#endif //!LL_DARWIN
void ll_init_fail_log(std::string filename) void ll_init_fail_log(std::string filename)
{ {

View File

@@ -436,7 +436,7 @@
<key>Type</key> <key>Type</key>
<string>String</string> <string>String</string>
<key>Value</key> <key>Value</key>
<string>secondlife</string> <string>Second Life</string>
</map> </map>
<key>VivoxLicenseAccepted</key> <key>VivoxLicenseAccepted</key>

View File

@@ -99,6 +99,14 @@ ATI Mobility Radeon HD 5500 .*ATI.*Mobility *HD *55.* 2 1
ATI Mobility Radeon HD 5600 .*ATI.*Mobility *HD *56.* 2 1 ATI Mobility Radeon HD 5600 .*ATI.*Mobility *HD *56.* 2 1
ATI Mobility Radeon HD 5700 .*ATI.*Mobility *HD *57.* 3 1 ATI Mobility Radeon HD 5700 .*ATI.*Mobility *HD *57.* 3 1
ATI Mobility Radeon HD 5800 .*ATI.*Mobility *HD *58.* 3 1 ATI Mobility Radeon HD 5800 .*ATI.*Mobility *HD *58.* 3 1
ATI Mobility Radeon HD 6200 .*ATI.*Mobility.*HD *62.* 3 1
ATI Mobility Radeon HD 6300 .*ATI.*Mobility.*HD *63.* 3 1
ATI Mobility Radeon HD 6400M .*ATI.*Mobility.*HD *64.* 3 1
ATI Mobility Radeon HD 6500M .*ATI.*Mobility.*HD *65.* 3 1
ATI Mobility Radeon HD 6600M .*ATI.*Mobility.*HD *66.* 3 1
ATI Mobility Radeon HD 6700M .*ATI.*Mobility.*HD *67.* 3 1
ATI Mobility Radeon HD 6800M .*ATI.*Mobility.*HD *68.* 3 1
ATI Mobility Radeon HD 6900M .*ATI.*Mobility.*HD *69.* 3 1
ATI Mobility Radeon X1xxx .*ATI.*Mobility.*X1.* 0 1 ATI Mobility Radeon X1xxx .*ATI.*Mobility.*X1.* 0 1
ATI Mobility Radeon X2xxx .*ATI.*Mobility.*X2.* 0 1 ATI Mobility Radeon X2xxx .*ATI.*Mobility.*X2.* 0 1
ATI Mobility Radeon X3xx .*ATI.*Mobility.*X3.* 1 1 ATI Mobility Radeon X3xx .*ATI.*Mobility.*X3.* 1 1

View File

@@ -294,12 +294,11 @@ bool HippoPanelGridsImpl::saveCurGrid()
{ {
HippoGridInfo *gridInfo = 0; HippoGridInfo *gridInfo = 0;
if (mState == NORMAL) { gridInfo = gHippoGridManager->getGrid(mCurGrid);
gridInfo->retrieveGridInfo();
refresh();
gridInfo = gHippoGridManager->getGrid(mCurGrid); if ((mState == ADD_NEW) || (mState == ADD_COPY)) {
gridInfo->retrieveGridInfo();
refresh();
} else if ((mState == ADD_NEW) || (mState == ADD_COPY)) {
// check nickname // check nickname
std::string gridname = childGetValue("gridname"); std::string gridname = childGetValue("gridname");

View File

@@ -327,6 +327,7 @@ int HippoRestRequest::getBlocking(const std::string &url, std::string *result)
curl_easy_setopt(curlp, CURLOPT_NOSIGNAL, 1); // don't use SIGALRM for timeouts curl_easy_setopt(curlp, CURLOPT_NOSIGNAL, 1); // don't use SIGALRM for timeouts
curl_easy_setopt(curlp, CURLOPT_TIMEOUT, 5); // seconds curl_easy_setopt(curlp, CURLOPT_TIMEOUT, 5); // seconds
curl_easy_setopt(curlp, CURLOPT_CAINFO, gDirUtilp->getCAFile().c_str());
curl_easy_setopt(curlp, CURLOPT_WRITEFUNCTION, curlWrite); curl_easy_setopt(curlp, CURLOPT_WRITEFUNCTION, curlWrite);
curl_easy_setopt(curlp, CURLOPT_WRITEDATA, result); curl_easy_setopt(curlp, CURLOPT_WRITEDATA, result);

View File

@@ -82,7 +82,7 @@ LLIconDictionary::LLIconDictionary()
addEntry(LLInventoryIcon::ICONNAME_ANIMATION, new IconEntry("inv_item_animation.tga")); addEntry(LLInventoryIcon::ICONNAME_ANIMATION, new IconEntry("inv_item_animation.tga"));
addEntry(LLInventoryIcon::ICONNAME_GESTURE, new IconEntry("inv_item_gesture.tga")); addEntry(LLInventoryIcon::ICONNAME_GESTURE, new IconEntry("inv_item_gesture.tga"));
addEntry(LLInventoryIcon::ICONNAME_CLOTHING_PHYSICS, new IconEntry("inv_item_physics.png")); addEntry(LLInventoryIcon::ICONNAME_CLOTHING_PHYSICS, new IconEntry("inv_item_physics.tga"));
addEntry(LLInventoryIcon::ICONNAME_LINKITEM, new IconEntry("inv_link_item.tga")); addEntry(LLInventoryIcon::ICONNAME_LINKITEM, new IconEntry("inv_link_item.tga"));
addEntry(LLInventoryIcon::ICONNAME_LINKFOLDER, new IconEntry("inv_link_folder.tga")); addEntry(LLInventoryIcon::ICONNAME_LINKFOLDER, new IconEntry("inv_link_folder.tga"));

View File

@@ -808,7 +808,7 @@ void init_menus()
menu->appendSeparator(); menu->appendSeparator();
menu->append(new LLMenuItemCallGL( "Fake Away Status", &handle_fake_away_status, NULL)); menu->append(new LLMenuItemCallGL( "Fake Away Status", &handle_fake_away_status, NULL));
menu->append(new LLMenuItemCallGL( "Force Ground Sit", &handle_force_ground_sit, NULL)); menu->append(new LLMenuItemCallGL( "Force Ground Sit", &handle_force_ground_sit, NULL));
menu->append(new LLMenuItemCallGL( "Phantom Avatar", &handle_phantom_avatar, NULL)); menu->append(new LLMenuItemCallGL( "Phantom Avatar", &handle_phantom_avatar, NULL, NULL, 'P', MASK_CONTROL | MASK_ALT));
menu->appendSeparator(); menu->appendSeparator();
menu->append(new LLMenuItemCallGL( "Animation Override...", menu->append(new LLMenuItemCallGL( "Animation Override...",
&handle_edit_ao, NULL)); &handle_edit_ao, NULL));

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -31,7 +31,7 @@
width="400" /> width="400" />
</panel> </panel>
<panel border="true" left="1" bottom="-190" height="180" width="500" mouse_opaque="true" <panel border="true" left="1" bottom="-190" height="180" width="500" mouse_opaque="true"
follows="left|top|right|bottom" label="Tags\Colors" name="Tags\Colors"> follows="left|top|right|bottom" label="Tags/Colors" name="TagsColors">
<!-- Client tag options --> <!-- Client tag options -->
<check_box bottom_delta="-25" control_name="AscentUseTag" enabled="true" <check_box bottom_delta="-25" control_name="AscentUseTag" enabled="true"
follows="left|top" font="SansSerifSmall" height="16" initial_value="true" follows="left|top" font="SansSerifSmall" height="16" initial_value="true"

View File

@@ -801,7 +801,7 @@ class Linux_i686Manifest(LinuxManifest):
self.path("libELFIO.so") self.path("libELFIO.so")
#self.path("libopenjpeg.so.1.3.0", "libopenjpeg.so.1.3") #self.path("libopenjpeg.so.1.3.0", "libopenjpeg.so.1.3")
self.path("libalut.so") self.path("libalut.so")
self.path("libopenal.so", "libopenal.so.1") self.path("libopenal.so.1")
self.path("libtcmalloc_minimal.so.0") self.path("libtcmalloc_minimal.so.0")
self.path("libtcmalloc_minimal.so.0.2.2") self.path("libtcmalloc_minimal.so.0.2.2")
self.end_prefix("lib") self.end_prefix("lib")

View File

@@ -408,9 +408,9 @@
<key>darwin</key> <key>darwin</key>
<map> <map>
<key>md5sum</key> <key>md5sum</key>
<string>a9ab0e2910e1a8fe06a2a42ffdc8b7da</string> <string>2849e9dd6f26294371a27197972fd1cf</string>
<key>url</key> <key>url</key>
<uri>https://github.com/siana-osx/SingularityViewer/downloads/freetype-2.4.4-darwin-20110705.tar.bz2</uri> <uri>https://github.com/downloads/siana/SingularityViewer/freetype-2.4.4-darwin-20111010.tar.bz2</uri>
</map> </map>
<key>linux</key> <key>linux</key>
<map> <map>
@@ -1109,9 +1109,9 @@ anguage Infrstructure (CLI) international standard</string>
<key>linux</key> <key>linux</key>
<map> <map>
<key>md5sum</key> <key>md5sum</key>
<string>c8223e9454223e3d519fe40d71c3ddd2</string> <string>01cff9a641348bb15856b808a4e9ccc6</string>
<key>url</key> <key>url</key>
<uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/openal-linux-20091216-56cc0386.tar.bz2</uri> <uri>https://github.com/downloads/siana/SingularityViewer/openal-linux-111022.tar.bz2</uri>
</map> </map>
<key>linux64</key> <key>linux64</key>
<map> <map>

View File

@@ -15,6 +15,10 @@ LIBPATH=""
INCPATH="" INCPATH=""
PWD=`pwd` PWD=`pwd`
if [ -z "$1" ]; then
usage
fi
shopt -s nocasematch shopt -s nocasematch
case "$1" in case "$1" in
--windows|-w|windows|win) --windows|-w|windows|win)
@@ -40,6 +44,7 @@ case "$1" in
INCPATH="libraries/x86_64-linux/include" INCPATH="libraries/x86_64-linux/include"
;; ;;
*) *)
echo ERROR: No mode specified
usage usage
;; ;;
esac esac
@@ -51,14 +56,14 @@ case "$2" in
;; ;;
esac esac
test -n "$2" && FILEIN=`readlink -e $2` FILEIN=$2
test -n "$3" && FILEOUT=`readlink -f $3` if [ -z "$FILEIN" ]; then
echo ERROR: No input file specified
if [ -z $FILEIN ]; then
usage usage
fi fi
if [ -z $FILEOUT ]; then test -n "$3" && FILEOUT=`readlink -f $3`
if [ -z "$FILEOUT" ]; then
FILEOUT=`readlink -m package.tar.bz2` FILEOUT=`readlink -m package.tar.bz2`
fi fi
@@ -66,7 +71,7 @@ mkdir "$TMP"
cd "$TMP" cd "$TMP"
case "$FILEIN" in case "$FILEIN" in
http\:\/\/|https\:\/\/) http\:\/\/*|https\:\/\/*)
echo " Downloading..." echo " Downloading..."
wget "$FILEIN" -O package.tar.bz2 wget "$FILEIN" -O package.tar.bz2
echo " Unpacking..." echo " Unpacking..."
@@ -74,6 +79,11 @@ case "$FILEIN" in
rm package.tar.bz2 rm package.tar.bz2
;; ;;
*) *)
FILEIN=`readlink -e $FILEIN`
if [ -z "$FILEIN" ]; then
echo ERROR: Input file not found
usage
fi
echo " Unpacking..." echo " Unpacking..."
tar -xjvf "$FILEIN" tar -xjvf "$FILEIN"
;; ;;