Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8e64aa1
Switched to Phoenix Viewers Boost 1.43 libs for Windows
kow Feb 26, 2011
86e1ee9
disabled a few warnings and movement floaters
kow Feb 27, 2011
a1226d0
renamed grid manager to account manager
kow Feb 27, 2011
204fa07
fixed position of water in var sized regions
kow Feb 27, 2011
8942554
disabled some exportracker code for a future feature that was causing…
kow Feb 28, 2011
b3ff039
fixed property download counter
kow Feb 28, 2011
d24c565
fix for AO from Emerald
kow Feb 28, 2011
8e9d1e5
fix line endings
kow Feb 28, 2011
21c7652
configs for gemini and dark skins
kow Mar 1, 2011
46b1124
moved the AO inventory preloading to a better place, a place where it…
kow Mar 2, 2011
f2eef1e
updated boost libs for mac
kow Mar 5, 2011
08a161f
make install.xml UTF compatible
kow Mar 5, 2011
1b32caf
more mac fixes
kow Mar 5, 2011
3e81ecc
more mac fixing
kow Mar 5, 2011
988d5e8
macmacmac
kow Mar 5, 2011
50840cc
renamed mac installer
kow Mar 5, 2011
fb8c54c
renamed mac installer
kow Mar 5, 2011
cea6ff6
renamed SL grid to be prettier
kow Mar 5, 2011
55dc061
enabled packaging of astra.exe.config
kow Mar 6, 2011
6ba648b
Allow for arbitrary terrain textures to be set (not just 512x512 or 2…
RevolutionSmythe Mar 9, 2011
5c38ee7
Commit a working develop.py for express editions as well.
Mar 9, 2011
6d9c8c4
Fix teleports/crossings with var sized regions.
Mar 10, 2011
c38bb3f
Make the parcel overlay not crash the client and make it work for the…
Mar 10, 2011
9286ef0
Fix parcel overlays after a tp as well. If a region has neighbors and…
Mar 10, 2011
35babc0
fixed where the viewer manifest is copied from
kow Mar 8, 2011
420585a
fixed a few crashes in floaterregioninfo that happened when we were d…
kow Mar 8, 2011
c7ba648
fixed some URLs in grids
kow Mar 10, 2011
01b53fd
fixed some grid manager bugs
kow Mar 10, 2011
1491d0f
fixed a teleport crash introduced with var sized regions
kow Mar 14, 2011
62c7bc8
how di
kow Mar 14, 2011
53d812b
line ending mismatch fixed
kow Mar 16, 2011
d0be257
pull VC runtimes from the right place
kow Mar 16, 2011
988f220
use KDU/fmod on mac if available
kow Mar 17, 2011
20ceaff
Fix crashing with logging/teleporting into < 256m regions.
Mar 26, 2011
19024ec
Merge branch 'master' of github.com:kow/imprudence
Mar 26, 2011
62e3c1b
n/t
kow Mar 31, 2011
84a0a60
make silent installs work
kow Apr 5, 2011
ae5d505
updated license on kowopenregionsettings to LGPL
kow Apr 29, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ linden/indra/newview/character/
linden/indra/newview/app_settings/*.db2
linden/indra/newview/app_settings/windlight/
linden/indra/newview/cursors_mac/
linden/indra/newview/viewer.icns
linden/indra/newview/installers/windows/README.txt
linden/indra/newview/installers/windows/*
linden/indra/newview/res/imp_icon.ico #no.
Expand Down
15 changes: 11 additions & 4 deletions linden/indra/cmake/Boost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ else (STANDALONE)
set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)

if (WINDOWS)
set(BOOST_VERSION 1_36)
set(BOOST_VERSION 1_43)
if (MSVC80)
set(BOOST_PROGRAM_OPTIONS_LIBRARY
optimized libboost_program_options-vc80-mt-${BOOST_VERSION}
Expand All @@ -37,9 +37,16 @@ else (STANDALONE)
debug libboost_signals-vc90-mt-gd-${BOOST_VERSION})
endif (MSVC80)
elseif (DARWIN)
set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt)
set(BOOST_REGEX_LIBRARY boost_regex-mt)
set(BOOST_SIGNALS_LIBRARY boost_signals-mt)
set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options)
set(BOOST_REGEX_LIBRARY boost_regex)
set(BOOST_PYTHON_LIBRARY boost_python)
set(BOOST_SIGNALS_LIBRARY boost_signals)
set(BOOST_WAVE_LIBRARY boost_wave)
set(BOOST_SYSTEM_LIBRARY boost_system)
set(BOOST_FILESYSTEM_LIBRARY boost_filesystem)
set(BOOST_IOSTREAMS_LIBRARY boost_iostreams)
set(BOOST_DATE_TIME_LIBRARY boost_date_time)
set(BOOST_THREAD_LIBRARY boost_thread)
elseif (LINUX)
set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt)
set(BOOST_REGEX_LIBRARY boost_regex-mt)
Expand Down
6 changes: 3 additions & 3 deletions linden/indra/cmake/CopyWinLibs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ set(all_targets ${all_targets} ${out_targets})
# *TODO - Adapt this to support VC9
FIND_PATH(debug_msvc8_redist_path msvcr80d.dll
PATHS
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/redist/Debug_NonRedist/x86/Microsoft.VC80.DebugCRT
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/redist/Debug_NonRedist/x86/Microsoft.VC80.DebugCRT
NO_DEFAULT_PATH
NO_DEFAULT_PATH
)
Expand Down Expand Up @@ -285,14 +285,14 @@ if(EXISTS ${debug_msvc8_redist_path})
${CMAKE_CURRENT_SOURCE_DIR}/ImprudenceDebug.exe.config
${debug_appconfig_file}
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Debug/Microsoft.VC80.DebugCRT.manifest
COMMENT "Creating debug app config file"
COMMENT "Creating debug app config file ${debug_appconfig_file}"
)

endif (EXISTS ${debug_msvc8_redist_path})

FIND_PATH(release_msvc8_redist_path msvcr80.dll
PATHS
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/redist/x86/Microsoft.VC80.CRT
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\8.0\\Setup\\VC;ProductDir]/redist/x86/Microsoft.VC80.CRT
NO_DEFAULT_PATH
NO_DEFAULT_PATH
)
Expand Down
38 changes: 35 additions & 3 deletions linden/indra/develop.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,15 @@ def _get_generator(self):
print 'Building with ', self.gens[version]['gen']
break
else:
print >> sys.stderr, 'Cannot find a Visual Studio installation!'
sys.exit(1)
print >> sys.stderr, 'Cannot find a Visual Studio installation, testing for express editions'
for version in 'vc80 vc90 vc100 vc71'.split():
if self.find_visual_studio_express(version):
self._generator = version
print 'Building with ', self.gens[version]['gen'] , "Express edition"
break
else:
print >> sys.stderr, 'Cannot find any Visual Studio installation'
eys.exit(1)
return self._generator

def _set_generator(self, gen):
Expand Down Expand Up @@ -530,6 +537,28 @@ def get_HKLM_registry_value(self, key_str, value_str):
value = _winreg.QueryValueEx(key, value_str)[0]
print 'Found: %s' % value
return value

def find_visual_studio_express(self, gen=None):
if gen is None:
gen = self._generator
gen = gen.lower()
try:
import _winreg
key_str = (r'SOFTWARE\Microsoft\VCExpress\%s\Setup\VC' %
self.gens[gen]['ver'])
value_str = (r'ProductDir')
print ('Reading VS environment from HKEY_LOCAL_MACHINE\%s\%s' %
(key_str, value_str))
print key_str

reg = _winreg.ConnectRegistry(None, _winreg.HKEY_LOCAL_MACHINE)
key = _winreg.OpenKey(reg, key_str)
value = _winreg.QueryValueEx(key, value_str)[0]+"IDE"
print 'Found: %s' % value
return value
except WindowsError, err:
print >> sys.stderr, "Didn't find ", self.gens[gen]['gen']
return ''

def find_visual_studio(self, gen=None):
if gen is None:
Expand Down Expand Up @@ -564,7 +593,10 @@ def get_build_cmd(self):
return (executable, cmd)

# devenv.com is CLI friendly, devenv.exe... not so much.
executable = '%sdevenv.com' % (self.find_visual_studio(),)
environment = self.find_visual_studio()
if environment == '':
environment = self.find_visual_studio_express()
executable = '%sdevenv.com' % (environment,)
cmd = ('"%s" %s.sln /build %s' %
(executable, self.project_name, self.build_type))
return (executable, cmd)
Expand Down
1 change: 1 addition & 0 deletions linden/indra/llinventory/llparcel.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const F32 PARCEL_PASS_HOURS_DEFAULT = 1.f;

// Number of "chunks" in which parcel overlay data is sent
// Chunk 0 = southern rows, entire width
// NOTE: NOT USABLE FOR VAR SIZED REGIONS!
const S32 PARCEL_OVERLAY_CHUNKS = 4;

// Bottom three bits are a color index for the land overlay
Expand Down
2 changes: 2 additions & 0 deletions linden/indra/llmessage/message_prehash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ char* _PREHASH_LastName = LLMessageStringTable::getInstance()->getString("LastNa
char* _PREHASH_From = LLMessageStringTable::getInstance()->getString("From");
char* _PREHASH_RoleChange = LLMessageStringTable::getInstance()->getString("RoleChange");
char* _PREHASH_Port = LLMessageStringTable::getInstance()->getString("Port");
char* _PREHASH_RegionSizeX = LLMessageStringTable::getInstance()->getString("RegionSizeX");
char* _PREHASH_RegionSizeY = LLMessageStringTable::getInstance()->getString("RegionSizeY");
char* _PREHASH_MemberTitle = LLMessageStringTable::getInstance()->getString("MemberTitle");
char* _PREHASH_LogParcelChanges = LLMessageStringTable::getInstance()->getString("LogParcelChanges");
char* _PREHASH_AgentCachedTextureResponse = LLMessageStringTable::getInstance()->getString("AgentCachedTextureResponse");
Expand Down
2 changes: 2 additions & 0 deletions linden/indra/llmessage/message_prehash.h
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ extern char * _PREHASH_LastName;
extern char * _PREHASH_From;
extern char * _PREHASH_RoleChange;
extern char * _PREHASH_Port;
extern char * _PREHASH_RegionSizeX;
extern char * _PREHASH_RegionSizeY;
extern char * _PREHASH_MemberTitle;
extern char * _PREHASH_LogParcelChanges;
extern char * _PREHASH_AgentCachedTextureResponse;
Expand Down
6 changes: 3 additions & 3 deletions linden/indra/newview/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1472,16 +1472,16 @@ if (LINUX)
endif (LINUX)

if (DARWIN)
set(product "Imprudence")
set(product "Astra Viewer")
set_target_properties(
${VIEWER_BINARY_NAME}
PROPERTIES
OUTPUT_NAME "${product}"
MACOSX_BUNDLE_INFO_STRING "info string - localize me"
MACOSX_BUNDLE_ICON_FILE "viewer.icns"
MACOSX_BUNDLE_GUI_IDENTIFIER "Imprudence"
MACOSX_BUNDLE_GUI_IDENTIFIER "Astra Viewer"
MACOSX_BUNDLE_LONG_VERSION_STRING "ververver"
MACOSX_BUNDLE_BUNDLE_NAME "Imprudence"
MACOSX_BUNDLE_BUNDLE_NAME "Astra Viewer"
MACOSX_BUNDLE_SHORT_VERSION_STRING "asdf"
MACOSX_BUNDLE_BUNDLE_VERSION "asdf"
MACOSX_BUNDLE_COPYRIGHT "copyright linden lab 2007 - localize me and run me through a legal wringer"
Expand Down
8 changes: 0 additions & 8 deletions linden/indra/newview/Microsoft.VC80.CRT.manifest

This file was deleted.

7 changes: 4 additions & 3 deletions linden/indra/newview/app_settings/default_grids.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<key>gridnick</key><string>AstraGrid</string>
<key>gridname</key><string>AstraGrid</string>
<key>platform</key><string>OpenSim</string>
<key>loginuri</key><string>http://login.astragrid.com:8003/</string>
<key>loginpage</key><string>http://astragrid.com/loginscreen.php</string>
<key>loginuri</key><string>http://login.astragrid.com:8002/</string>
<key>loginpage</key><string>http://astragrid.com/loginscreen/</string>
<key>helperuri</key><string>http://astragrid.com/index.php?page=help</string>
<key>website</key><string>http://astragrid.com/</string>
<key>support</key><string>http://astragrid.com/index.php?page=support</string>
Expand All @@ -21,7 +21,7 @@

<!-- Second Life -->
<map>
<key>gridnick</key><string>secondlife</string>
<key>gridnick</key><string>SecondLife</string>
<key>gridname</key><string>Second Life</string>
<key>platform</key><string>SecondLife</string>
<key>loginuri</key><string>https://login.agni.lindenlab.com/cgi-bin/login.cgi</string>
Expand Down Expand Up @@ -150,6 +150,7 @@
<key>version</key> <string>0</string>
</map>

<!-- AuroraGrid -->
<map>
<key>gridname</key>
<string>AuroraGrid</string>
Expand Down
10 changes: 5 additions & 5 deletions linden/indra/newview/app_settings/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
<integer>0</integer>
</map>
<key>WarnFirstVoiceLicense</key>
<map>
Expand All @@ -1408,7 +1408,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
<integer>0</integer>
</map>
<key>WornItemsSortOrder</key>
<map>
Expand Down Expand Up @@ -10677,7 +10677,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
<integer>0</integer>
</map>
<key>ShowChatHistory</key>
<map>
Expand Down Expand Up @@ -11054,7 +11054,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
<integer>1</integer>
</map>
<key>ShowMovementControls</key>
<map>
Expand All @@ -11065,7 +11065,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
<integer>0</integer>
</map>
<key>ShowNearClip</key>
<map>
Expand Down
7 changes: 4 additions & 3 deletions linden/indra/newview/exporttracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ void JCExportTracker::doexportworker(void *userdata)
{
//CHECK IF WE'RE DONE
if(ExportTrackerFloater::mObjectSelection.empty() && ExportTrackerFloater::mObjectSelectionWaitList.empty()
&& (requested_inventory.empty() ||gSavedSettings.getBOOL("ExporterInventoryLater"))
&& (requested_inventory.empty())// ||gSavedSettings.getBOOL("ExporterInventoryLater"))
&& requested_properties.empty() && expected_surrogate_pos.empty())
{
gIdleCallbacks.deleteFunction(JCExportTracker::exportworker);
Expand Down Expand Up @@ -1707,7 +1707,7 @@ void JCExportTracker::doexportworker(void *userdata)
//Find an object that has completed export

if(((export_properties==FALSE) || (*iter)->mPropertiesRecieved) &&
( ((export_inventory==FALSE) || (*iter)->mInventoryRecieved))|| gSavedSettings.getBOOL("ExporterInventoryLater") )
( ((export_inventory==FALSE) || (*iter)->mInventoryRecieved)))//|| gSavedSettings.getBOOL("ExporterInventoryLater") )
{
//we have the root properties and inventory now check all children
bool got_all_stuff=true;
Expand Down Expand Up @@ -2472,7 +2472,8 @@ void JCExportTracker::actuallyprocessObjectProperties(LLMessageSystem* msg)
{
free(req);
requested_properties.erase(iter);
mPropertiesReceived++;
if(mStatus == EXPORTING)
mPropertiesReceived++;
break;
}
}
Expand Down
12 changes: 12 additions & 0 deletions linden/indra/newview/floaterao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ AOInvTimer::AOInvTimer() : LLEventTimer( (F32)1.0 )
AOInvTimer::~AOInvTimer()
{
}

BOOL AOInvTimer::fullfetch = FALSE;

BOOL AOInvTimer::tick()
{
if (!(gSavedSettings.getBOOL("AOEnabled"))) return TRUE;
Expand All @@ -129,6 +132,15 @@ BOOL AOInvTimer::tick()
// cmdline_printchat("Inventory fetched, loading AO.");
LLFloaterAO::init();
return TRUE;
}else
{
//static BOOL startedfetch = FALSE;
if(fullfetch == FALSE)
{
fullfetch = TRUE;
//no choice, can't move the AO till we find it, should only have to happen once
gInventory.startBackgroundFetch();
}
}
}
return FALSE;
Expand Down
1 change: 1 addition & 0 deletions linden/indra/newview/floaterao.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class AOStandTimer : public LLEventTimer
class AOInvTimer : public LLEventTimer
{
public:
static BOOL fullfetch;
AOInvTimer();
~AOInvTimer();
BOOL tick();
Expand Down
Loading