diff options
author | McCabe Maxsted | 2010-10-23 18:34:01 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-10-23 18:34:01 -0700 |
commit | 17b5d969358b73056a9509312a6ef5b387e4f173 (patch) | |
tree | dd96bf5ba249ed6b35d4e947ba7e8a869138e5fc | |
parent | Merge remote branch 'armin/weekly' into weekly (diff) | |
parent | IMP-664: WARNING: addFeature: LLFeatureList::Attempting to add preexisting fe... (diff) | |
download | meta-impy-17b5d969358b73056a9509312a6ef5b387e4f173.zip meta-impy-17b5d969358b73056a9509312a6ef5b387e4f173.tar.gz meta-impy-17b5d969358b73056a9509312a6ef5b387e4f173.tar.bz2 meta-impy-17b5d969358b73056a9509312a6ef5b387e4f173.tar.xz |
Merge remote branch 'aleric/weekly' into weekly
-rw-r--r-- | linden/doc/contributions.txt | 41 | ||||
-rw-r--r-- | linden/indra/llui/llnotifications.cpp | 4 | ||||
-rw-r--r-- | linden/indra/llvfs/llvfs.cpp | 5 | ||||
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 20 | ||||
-rw-r--r-- | linden/indra/newview/llfeaturemanager.cpp | 11 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/notifications.xml | 1 |
6 files changed, 39 insertions, 43 deletions
diff --git a/linden/doc/contributions.txt b/linden/doc/contributions.txt index 1cbc2dd..cd708fd 100644 --- a/linden/doc/contributions.txt +++ b/linden/doc/contributions.txt | |||
@@ -62,24 +62,29 @@ Aleric Inglewood | |||
62 | SNOW-766 | 62 | SNOW-766 |
63 | SNOW-796 | 63 | SNOW-796 |
64 | SNOW-800 | 64 | SNOW-800 |
65 | RED-429 | 65 | IMP-429 |
66 | RED-552 | 66 | IMP-552 |
67 | RED-553 | 67 | IMP-553 |
68 | RED-554 | 68 | IMP-554 |
69 | RED-556 | 69 | IMP-556 |
70 | RED-560 | 70 | IMP-560 |
71 | RED-561 | 71 | IMP-561 |
72 | RED-562 | 72 | IMP-562 |
73 | RED-565 | 73 | IMP-565 |
74 | RED-566 | 74 | IMP-566 |
75 | RED-567 | 75 | IMP-567 |
76 | RED-573 | 76 | IMP-573 |
77 | RED-575 | 77 | IMP-575 |
78 | RED-576 | 78 | IMP-576 |
79 | RED-577 | 79 | IMP-577 |
80 | RED-578 | 80 | IMP-578 |
81 | RED-579 | 81 | IMP-579 |
82 | RED-581 | 82 | IMP-581 |
83 | IMP-660 | ||
84 | IMP-661 | ||
85 | IMP-662 | ||
86 | IMP-663 | ||
87 | IMP-664 | ||
83 | Alissa Sabre | 88 | Alissa Sabre |
84 | VWR-81 | 89 | VWR-81 |
85 | VWR-83 | 90 | VWR-83 |
diff --git a/linden/indra/llui/llnotifications.cpp b/linden/indra/llui/llnotifications.cpp index 2459110..4d3ff46 100644 --- a/linden/indra/llui/llnotifications.cpp +++ b/linden/indra/llui/llnotifications.cpp | |||
@@ -1190,13 +1190,13 @@ void replaceSubstitutionStrings(LLXMLNodePtr node, StringMap& replacements) | |||
1190 | if (found != replacements.end()) | 1190 | if (found != replacements.end()) |
1191 | { | 1191 | { |
1192 | replacement = found->second; | 1192 | replacement = found->second; |
1193 | //llwarns << "replaceSubstituionStrings: value: " << value << " repl: " << replacement << llendl; | 1193 | //llinfos << "replaceSubstitutionStrings: value: \"" << value << "\" repl: \"" << replacement << "\"." << llendl; |
1194 | 1194 | ||
1195 | it->second->setValue(replacement); | 1195 | it->second->setValue(replacement); |
1196 | } | 1196 | } |
1197 | else | 1197 | else |
1198 | { | 1198 | { |
1199 | llwarns << "replaceSubstituionStrings FAILURE: value: " << value << " repl: " << replacement << llendl; | 1199 | llwarns << "replaceSubstitutionStrings FAILURE: could not find replacement \"" << value << "\"." << llendl; |
1200 | } | 1200 | } |
1201 | } | 1201 | } |
1202 | } | 1202 | } |
diff --git a/linden/indra/llvfs/llvfs.cpp b/linden/indra/llvfs/llvfs.cpp index 7df2a81..9bf5b59 100644 --- a/linden/indra/llvfs/llvfs.cpp +++ b/linden/indra/llvfs/llvfs.cpp | |||
@@ -583,8 +583,9 @@ LLVFS::LLVFS(const std::string& index_filename, const std::string& data_filename | |||
583 | } | 583 | } |
584 | } | 584 | } |
585 | 585 | ||
586 | LL_WARNS("VFS") << "Using index file " << mIndexFilename << LL_ENDL; | 586 | // Success! |
587 | LL_WARNS("VFS") << "Using data file " << mDataFilename << LL_ENDL; | 587 | LL_INFOS("VFS") << "Using index file " << mIndexFilename << LL_ENDL; |
588 | LL_INFOS("VFS") << "Using data file " << mDataFilename << LL_ENDL; | ||
588 | 589 | ||
589 | mValid = VFSVALID_OK; | 590 | mValid = VFSVALID_OK; |
590 | } | 591 | } |
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index e85abb1..4485cdf 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp | |||
@@ -440,8 +440,6 @@ static void settings_to_globals() | |||
440 | gMapScale = gSavedSettings.getF32("MapScale"); | 440 | gMapScale = gSavedSettings.getF32("MapScale"); |
441 | LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); | 441 | LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); |
442 | 442 | ||
443 | LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); | ||
444 | |||
445 | LLSlider::setScrollWheelMultiplier( gSavedSettings.getS32("SliderScrollWheelMultiplier") ); | 443 | LLSlider::setScrollWheelMultiplier( gSavedSettings.getS32("SliderScrollWheelMultiplier") ); |
446 | 444 | ||
447 | LLHUDEffectLookAt::sDebugLookAt = gSavedSettings.getBOOL("PersistShowLookAt"); | 445 | LLHUDEffectLookAt::sDebugLookAt = gSavedSettings.getBOOL("PersistShowLookAt"); |
@@ -779,6 +777,9 @@ bool LLAppViewer::init() | |||
779 | // | 777 | // |
780 | initWindow(); | 778 | initWindow(); |
781 | 779 | ||
780 | // initWindow also initializes the Feature List, so now we can initialize this global. | ||
781 | LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); | ||
782 | |||
782 | { | 783 | { |
783 | BOOL download = gSavedSettings.getBOOL("DownloadClientTags"); | 784 | BOOL download = gSavedSettings.getBOOL("DownloadClientTags"); |
784 | 785 | ||
@@ -2694,35 +2695,32 @@ void LLAppViewer::initMarkerFile() | |||
2694 | std::string llerror_marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, LLERROR_MARKER_FILE_NAME); | 2695 | std::string llerror_marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, LLERROR_MARKER_FILE_NAME); |
2695 | std::string error_marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, ERROR_MARKER_FILE_NAME); | 2696 | std::string error_marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, ERROR_MARKER_FILE_NAME); |
2696 | 2697 | ||
2697 | |||
2698 | if (LLAPRFile::isExist(mMarkerFileName, LL_APR_RB) && !anotherInstanceRunning()) | 2698 | if (LLAPRFile::isExist(mMarkerFileName, LL_APR_RB) && !anotherInstanceRunning()) |
2699 | { | 2699 | { |
2700 | gLastExecEvent = LAST_EXEC_FROZE; | 2700 | gLastExecEvent = LAST_EXEC_FROZE; |
2701 | LL_INFOS("MarkerFile") << "Exec marker found: program froze on previous execution" << LL_ENDL; | 2701 | LL_INFOS("MarkerFile") << "Exec marker found: program froze on previous execution" << LL_ENDL; |
2702 | } | 2702 | } |
2703 | |||
2704 | if(LLAPRFile::isExist(logout_marker_file, LL_APR_RB)) | 2703 | if(LLAPRFile::isExist(logout_marker_file, LL_APR_RB)) |
2705 | { | 2704 | { |
2706 | LL_INFOS("MarkerFile") << "Last exec LLError crashed, setting LastExecEvent to " << LAST_EXEC_LLERROR_CRASH << LL_ENDL; | ||
2707 | gLastExecEvent = LAST_EXEC_LOGOUT_FROZE; | 2705 | gLastExecEvent = LAST_EXEC_LOGOUT_FROZE; |
2706 | LL_INFOS("MarkerFile") << "Last exec LLError crashed, setting LastExecEvent to " << gLastExecEvent << LL_ENDL; | ||
2707 | LLAPRFile::remove(logout_marker_file); | ||
2708 | } | 2708 | } |
2709 | if(LLAPRFile::isExist(llerror_marker_file, LL_APR_RB)) | 2709 | if(LLAPRFile::isExist(llerror_marker_file, LL_APR_RB)) |
2710 | { | 2710 | { |
2711 | llinfos << "Last exec LLError crashed, setting LastExecEvent to " << LAST_EXEC_LLERROR_CRASH << llendl; | ||
2712 | if(gLastExecEvent == LAST_EXEC_LOGOUT_FROZE) gLastExecEvent = LAST_EXEC_LOGOUT_CRASH; | 2711 | if(gLastExecEvent == LAST_EXEC_LOGOUT_FROZE) gLastExecEvent = LAST_EXEC_LOGOUT_CRASH; |
2713 | else gLastExecEvent = LAST_EXEC_LLERROR_CRASH; | 2712 | else gLastExecEvent = LAST_EXEC_LLERROR_CRASH; |
2713 | LL_INFOS("MarkerFile") << "Last exec LLError crashed, setting LastExecEvent to " << gLastExecEvent << LL_ENDL; | ||
2714 | LLAPRFile::remove(llerror_marker_file); | ||
2714 | } | 2715 | } |
2715 | if(LLAPRFile::isExist(error_marker_file, LL_APR_RB)) | 2716 | if(LLAPRFile::isExist(error_marker_file, LL_APR_RB)) |
2716 | { | 2717 | { |
2717 | LL_INFOS("MarkerFile") << "Last exec crashed, setting LastExecEvent to " << LAST_EXEC_OTHER_CRASH << LL_ENDL; | ||
2718 | if(gLastExecEvent == LAST_EXEC_LOGOUT_FROZE) gLastExecEvent = LAST_EXEC_LOGOUT_CRASH; | 2718 | if(gLastExecEvent == LAST_EXEC_LOGOUT_FROZE) gLastExecEvent = LAST_EXEC_LOGOUT_CRASH; |
2719 | else gLastExecEvent = LAST_EXEC_OTHER_CRASH; | 2719 | else gLastExecEvent = LAST_EXEC_OTHER_CRASH; |
2720 | LL_INFOS("MarkerFile") << "Last exec crashed, setting LastExecEvent to " << gLastExecEvent << LL_ENDL; | ||
2721 | LLAPRFile::remove(error_marker_file); | ||
2720 | } | 2722 | } |
2721 | 2723 | ||
2722 | LLAPRFile::remove(logout_marker_file); | ||
2723 | LLAPRFile::remove(llerror_marker_file); | ||
2724 | LLAPRFile::remove(error_marker_file); | ||
2725 | |||
2726 | // No new markers if another instance is running. | 2724 | // No new markers if another instance is running. |
2727 | if(anotherInstanceRunning()) | 2725 | if(anotherInstanceRunning()) |
2728 | { | 2726 | { |
diff --git a/linden/indra/newview/llfeaturemanager.cpp b/linden/indra/newview/llfeaturemanager.cpp index 35613b7..54da31b 100644 --- a/linden/indra/newview/llfeaturemanager.cpp +++ b/linden/indra/newview/llfeaturemanager.cpp | |||
@@ -250,11 +250,9 @@ BOOL LLFeatureManager::loadFeatureTables() | |||
250 | mTableVersion = version; | 250 | mTableVersion = version; |
251 | 251 | ||
252 | LLFeatureList *flp = NULL; | 252 | LLFeatureList *flp = NULL; |
253 | while (!file.eof() && file.good()) | 253 | while (file >> name) |
254 | { | 254 | { |
255 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ | 255 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ |
256 | |||
257 | file >> name; | ||
258 | 256 | ||
259 | if (name.substr(0,2) == "//") | 257 | if (name.substr(0,2) == "//") |
260 | { | 258 | { |
@@ -263,13 +261,6 @@ BOOL LLFeatureManager::loadFeatureTables() | |||
263 | continue; | 261 | continue; |
264 | } | 262 | } |
265 | 263 | ||
266 | if (name.empty()) | ||
267 | { | ||
268 | // This is a blank line | ||
269 | file.getline(buffer, MAX_STRING); | ||
270 | continue; | ||
271 | } | ||
272 | |||
273 | if (name == "list") | 264 | if (name == "list") |
274 | { | 265 | { |
275 | if (flp) | 266 | if (flp) |
diff --git a/linden/indra/newview/skins/default/xui/en-us/notifications.xml b/linden/indra/newview/skins/default/xui/en-us/notifications.xml index 333e362..c69e792 100644 --- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml +++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml | |||
@@ -7008,6 +7008,7 @@ IM history could not be found for [NAME]. | |||
7008 | type="alert"> | 7008 | type="alert"> |
7009 | Show Look At is a debug setting that displays where an avatar's head is looking. Be aware: this will *NOT* show where an avatar's camera is actually pointed. This setting should not be relied on for any form of privacy! | 7009 | Show Look At is a debug setting that displays where an avatar's head is looking. Be aware: this will *NOT* show where an avatar's camera is actually pointed. This setting should not be relied on for any form of privacy! |
7010 | <usetemplate | 7010 | <usetemplate |
7011 | ignoretext="When setting Show Look At" | ||
7011 | name="okignore" | 7012 | name="okignore" |
7012 | yestext="OK"/> | 7013 | yestext="OK"/> |
7013 | </notification> | 7014 | </notification> |