Unused assets can DIAF.
@@ -38,11 +38,6 @@ if (WINDOWS)
|
|||||||
${CMAKE_SOURCE_DIR}/newview/res/viewerRes.rc.in
|
${CMAKE_SOURCE_DIR}/newview/res/viewerRes.rc.in
|
||||||
${CMAKE_SOURCE_DIR}/newview/res/viewerRes.rc
|
${CMAKE_SOURCE_DIR}/newview/res/viewerRes.rc
|
||||||
)
|
)
|
||||||
|
|
||||||
configure_file(
|
|
||||||
${CMAKE_SOURCE_DIR}/newview/res/viewerRes_bc.rc.in
|
|
||||||
${CMAKE_SOURCE_DIR}/newview/res/viewerRes_bc.rc
|
|
||||||
)
|
|
||||||
endif (WINDOWS)
|
endif (WINDOWS)
|
||||||
|
|
||||||
if (DARWIN)
|
if (DARWIN)
|
||||||
|
|||||||
@@ -1,95 +0,0 @@
|
|||||||
"""@file llversion.py
|
|
||||||
@brief Utility for parsing llcommon/llversion${server}.h
|
|
||||||
for the version string and channel string
|
|
||||||
Utility that parses svn info for branch and revision
|
|
||||||
|
|
||||||
$LicenseInfo:firstyear=2006&license=mit$
|
|
||||||
|
|
||||||
Copyright (c) 2006-2009, Linden Research, Inc.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
$/LicenseInfo$
|
|
||||||
"""
|
|
||||||
|
|
||||||
import re, sys, os, commands
|
|
||||||
|
|
||||||
# Methods for gathering version information from
|
|
||||||
# llversionviewer.h and llversionserver.h
|
|
||||||
|
|
||||||
def get_src_root():
|
|
||||||
indra_lib_python_indra_path = os.path.dirname(__file__)
|
|
||||||
return os.path.abspath(os.path.realpath(indra_lib_python_indra_path + "/../../../../../"))
|
|
||||||
|
|
||||||
def get_version_file_contents(version_type):
|
|
||||||
filepath = get_src_root() + '/indra/llcommon/llversion%s.h' % version_type
|
|
||||||
file = open(filepath,"r")
|
|
||||||
file_str = file.read()
|
|
||||||
file.close()
|
|
||||||
return file_str
|
|
||||||
|
|
||||||
def get_version(version_type):
|
|
||||||
file_str = get_version_file_contents(version_type)
|
|
||||||
m = re.search('const S32 LL_VERSION_MAJOR = (\d+);', file_str)
|
|
||||||
VER_MAJOR = m.group(1)
|
|
||||||
m = re.search('const S32 LL_VERSION_MINOR = (\d+);', file_str)
|
|
||||||
VER_MINOR = m.group(1)
|
|
||||||
m = re.search('const S32 LL_VERSION_PATCH = (\d+);', file_str)
|
|
||||||
VER_PATCH = m.group(1)
|
|
||||||
m = re.search('const S32 LL_VERSION_BUILD = (\d+);', file_str)
|
|
||||||
VER_BUILD = m.group(1)
|
|
||||||
version = "%(VER_MAJOR)s.%(VER_MINOR)s.%(VER_PATCH)s.%(VER_BUILD)s" % locals()
|
|
||||||
return version
|
|
||||||
|
|
||||||
def get_channel(version_type):
|
|
||||||
file_str = get_version_file_contents(version_type)
|
|
||||||
m = re.search('const char \* const LL_CHANNEL = "(.+)";', file_str)
|
|
||||||
return m.group(1)
|
|
||||||
|
|
||||||
def get_viewer_version():
|
|
||||||
return get_version('viewer')
|
|
||||||
|
|
||||||
def get_server_version():
|
|
||||||
return get_version('server')
|
|
||||||
|
|
||||||
def get_viewer_channel():
|
|
||||||
return get_channel('viewer')
|
|
||||||
|
|
||||||
def get_server_channel():
|
|
||||||
return get_channel('server')
|
|
||||||
|
|
||||||
# Methods for gathering subversion information
|
|
||||||
def get_svn_status_matching(regular_expression):
|
|
||||||
# Get the subversion info from the working source tree
|
|
||||||
status, output = commands.getstatusoutput('svn info %s' % get_src_root())
|
|
||||||
m = regular_expression.search(output)
|
|
||||||
if not m:
|
|
||||||
print "Failed to parse svn info output, resultfollows:"
|
|
||||||
print output
|
|
||||||
raise Exception, "No matching svn status in "+src_root
|
|
||||||
return m.group(1)
|
|
||||||
|
|
||||||
def get_svn_branch():
|
|
||||||
branch_re = re.compile('URL: (\S+)')
|
|
||||||
return get_svn_status_matching(branch_re)
|
|
||||||
|
|
||||||
def get_svn_revision():
|
|
||||||
last_rev_re = re.compile('Last Changed Rev: (\d+)')
|
|
||||||
return get_svn_status_matching(last_rev_re)
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1228,7 +1228,6 @@ if (WINDOWS)
|
|||||||
res/arrowcopmulti.cur
|
res/arrowcopmulti.cur
|
||||||
res/arrowdrag.cur
|
res/arrowdrag.cur
|
||||||
res/circleandline.cur
|
res/circleandline.cur
|
||||||
res/icon1.ico
|
|
||||||
res/llarrow.cur
|
res/llarrow.cur
|
||||||
res/llarrowdrag.cur
|
res/llarrowdrag.cur
|
||||||
res/llarrowdragmulti.cur
|
res/llarrowdragmulti.cur
|
||||||
@@ -1248,8 +1247,7 @@ if (WINDOWS)
|
|||||||
res/lltooltranslate.cur
|
res/lltooltranslate.cur
|
||||||
res/lltoolzoomin.cur
|
res/lltoolzoomin.cur
|
||||||
res/lltoolzoomout.cur
|
res/lltoolzoomout.cur
|
||||||
res/snowglobe_icon.BMP
|
res/${VIEWER_BRANDING_ID}_icon.ico
|
||||||
res/snowglobe_icon.ico
|
|
||||||
res/resource.h
|
res/resource.h
|
||||||
res/toolpickobject.cur
|
res/toolpickobject.cur
|
||||||
res/toolpickobject2.cur
|
res/toolpickobject2.cur
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 256 KiB |
|
Before Width: | Height: | Size: 356 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 256 KiB |
|
Before Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 256 KiB |
|
Before Width: | Height: | Size: 139 KiB |
|
Before Width: | Height: | Size: 45 KiB |
@@ -1,193 +0,0 @@
|
|||||||
// Microsoft Visual C++ generated resource script.
|
|
||||||
//
|
|
||||||
#include "resource.h"
|
|
||||||
|
|
||||||
#ifdef IDC_STATIC
|
|
||||||
#undef IDC_STATIC
|
|
||||||
#endif
|
|
||||||
#define IDC_STATIC (-1)
|
|
||||||
#include "winresrc.h"
|
|
||||||
|
|
||||||
#define APSTUDIO_READONLY_SYMBOLS
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Generated from the TEXTINCLUDE 2 resource.
|
|
||||||
//
|
|
||||||
// Commented out because it only compiles if you have MFC installed.
|
|
||||||
//#include "winres.h"
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
#undef APSTUDIO_READONLY_SYMBOLS
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
// English (U.S.) resources
|
|
||||||
|
|
||||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
||||||
#ifdef _WIN32
|
|
||||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
||||||
#pragma code_page(1252)
|
|
||||||
#endif //_WIN32
|
|
||||||
|
|
||||||
#ifdef APSTUDIO_INVOKED
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// TEXTINCLUDE
|
|
||||||
//
|
|
||||||
|
|
||||||
1 TEXTINCLUDE
|
|
||||||
BEGIN
|
|
||||||
"resource.h\0"
|
|
||||||
END
|
|
||||||
|
|
||||||
2 TEXTINCLUDE
|
|
||||||
BEGIN
|
|
||||||
"#include ""winres.h""\r\n"
|
|
||||||
"\0"
|
|
||||||
END
|
|
||||||
|
|
||||||
3 TEXTINCLUDE
|
|
||||||
BEGIN
|
|
||||||
"\r\n"
|
|
||||||
"\0"
|
|
||||||
END
|
|
||||||
|
|
||||||
#endif // APSTUDIO_INVOKED
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Icon
|
|
||||||
//
|
|
||||||
|
|
||||||
// Icon with lowest ID value placed first to ensure application icon
|
|
||||||
// remains consistent on all systems.
|
|
||||||
IDI_LL_ICON ICON "${VIEWER_BRANDING_ID}_icon_bc.ico"
|
|
||||||
IDI_LCD_LL_ICON ICON "${VIEWER_BRANDING_ID}_icon_bc.ico"
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Dialog
|
|
||||||
//
|
|
||||||
|
|
||||||
SPLASHSCREEN DIALOG 32, 32, 144, 34
|
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE
|
|
||||||
FONT 8, "MS Sans Serif"
|
|
||||||
BEGIN
|
|
||||||
ICON IDI_LL_ICON,IDC_STATIC,7,7,20,20
|
|
||||||
LTEXT "Loading ${VIEWER_CHANNEL}...",666,36,13,91,8
|
|
||||||
END
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// DESIGNINFO
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifdef APSTUDIO_INVOKED
|
|
||||||
GUIDELINES DESIGNINFO
|
|
||||||
BEGIN
|
|
||||||
|
|
||||||
"SPLASHSCREEN", DIALOG
|
|
||||||
BEGIN
|
|
||||||
LEFTMARGIN, 7
|
|
||||||
RIGHTMARGIN, 137
|
|
||||||
VERTGUIDE, 36
|
|
||||||
TOPMARGIN, 7
|
|
||||||
BOTTOMMARGIN, 27
|
|
||||||
END
|
|
||||||
END
|
|
||||||
#endif // APSTUDIO_INVOKED
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Cursor
|
|
||||||
//
|
|
||||||
|
|
||||||
TOOLGRAB CURSOR "lltoolgrab.cur"
|
|
||||||
TOOLLAND CURSOR "lltoolland.cur"
|
|
||||||
TOOLZOOMIN CURSOR "lltoolzoomin.cur"
|
|
||||||
TOOLCREATE CURSOR "lltoolcreate.cur"
|
|
||||||
ARROWDRAG CURSOR "llarrowdrag.cur"
|
|
||||||
ARROW CURSOR "llarrow.cur"
|
|
||||||
NOLOCKED CURSOR "llnolocked.cur"
|
|
||||||
ARROWLOCKED CURSOR "llarrowlocked.cur"
|
|
||||||
GRABLOCKED CURSOR "llgrablocked.cur"
|
|
||||||
TOOLROTATE CURSOR "lltoolrotate.cur"
|
|
||||||
TOOLTRANSLATE CURSOR "lltooltranslate.cur"
|
|
||||||
TOOLSCALE CURSOR "lltoolscale.cur"
|
|
||||||
TOOLCAMERA CURSOR "lltoolcamera.cur"
|
|
||||||
TOOLPAN CURSOR "lltoolpan.cur"
|
|
||||||
TOOLFOCUS CURSOR "lltoolfocus.cur"
|
|
||||||
TOOLPICKOBJECT3 CURSOR "toolpickobject3.cur"
|
|
||||||
ARROWCOPY CURSOR "arrowcop.cur"
|
|
||||||
ARROWDRAGMULTI CURSOR "llarrowdragmulti.cur"
|
|
||||||
ARROWCOPYMULTI CURSOR "arrowcopmulti.cur"
|
|
||||||
TOOLSIT CURSOR "toolsit.cur"
|
|
||||||
TOOLBUY CURSOR "toolbuy.cur"
|
|
||||||
TOOLPAY CURSOR "toolpay.cur"
|
|
||||||
TOOLOPEN CURSOR "toolopen.cur"
|
|
||||||
TOOLPIPETTE CURSOR "toolpipette.cur"
|
|
||||||
TOOLPLAY CURSOR "toolplay.cur"
|
|
||||||
TOOLPAUSE CURSOR "toolpause.cur"
|
|
||||||
TOOLMEDIAOPEN CURSOR "toolmediaopen.cur"
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Version
|
|
||||||
//
|
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
|
||||||
FILEVERSION ${vMAJOR},${vMINOR},${vPATCH},${vBUILD}
|
|
||||||
PRODUCTVERSION ${vMAJOR},${vMINOR},${vPATCH},${vBUILD}
|
|
||||||
FILEFLAGSMASK 0x3fL
|
|
||||||
#ifdef _DEBUG
|
|
||||||
FILEFLAGS 0x1L
|
|
||||||
#else
|
|
||||||
FILEFLAGS 0x0L
|
|
||||||
#endif
|
|
||||||
FILEOS 0x40004L
|
|
||||||
FILETYPE 0x1L
|
|
||||||
FILESUBTYPE 0x0L
|
|
||||||
BEGIN
|
|
||||||
BLOCK "StringFileInfo"
|
|
||||||
BEGIN
|
|
||||||
BLOCK "040904b0"
|
|
||||||
BEGIN
|
|
||||||
VALUE "CompanyName", "Siana Gearz"
|
|
||||||
VALUE "FileDescription", "Singularity Viewer"
|
|
||||||
VALUE "FileVersion", "${vMAJOR}.${vMINOR}.${vPATCH}.${vBUILD}"
|
|
||||||
VALUE "InternalName", "Second Life"
|
|
||||||
VALUE "LegalCopyright", "Copyright <20> 2001-2010, Linden Research, Inc., Copyright 2010 Siana Gearz"
|
|
||||||
VALUE "OriginalFilename", "SingularityViewer.exe"
|
|
||||||
VALUE "ProductName", "Singularity Viewer"
|
|
||||||
VALUE "ProductVersion", "${vMAJOR}.${vMINOR}.${vPATCH}.${vBUILD}"
|
|
||||||
END
|
|
||||||
END
|
|
||||||
BLOCK "VarFileInfo"
|
|
||||||
BEGIN
|
|
||||||
VALUE "Translation", 0x409, 1200
|
|
||||||
END
|
|
||||||
END
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Bitmap
|
|
||||||
//
|
|
||||||
|
|
||||||
#endif // English (U.S.) resources
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef APSTUDIO_INVOKED
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Generated from the TEXTINCLUDE 3 resource.
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
#endif // not APSTUDIO_INVOKED
|
|
||||||
|
|
||||||