diff options
author | Anders Arnholm | 2008-12-13 18:49:24 +0100 |
---|---|---|
committer | Anders Arnholm | 2008-12-13 18:49:24 +0100 |
commit | c7fca44072ae101b986a87c87ebda1e99de5141a (patch) | |
tree | a9884591ca07983234a0ed41275d7b92dc513f46 /linden/indra/newview | |
parent | Merge 1.0.0 RC2 into openal (diff) | |
parent | Merge branch 'next' of git://github.com/jacek/imprudence into next (diff) | |
download | meta-impy-c7fca44072ae101b986a87c87ebda1e99de5141a.zip meta-impy-c7fca44072ae101b986a87c87ebda1e99de5141a.tar.gz meta-impy-c7fca44072ae101b986a87c87ebda1e99de5141a.tar.bz2 meta-impy-c7fca44072ae101b986a87c87ebda1e99de5141a.tar.xz |
Merge branch 'next' into openal
Conflicts:
ChangeLog.txt
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 7 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterabout.cpp | 19 | ||||
-rw-r--r-- | linden/indra/newview/llpanellogin.cpp | 13 | ||||
-rw-r--r-- | linden/indra/newview/llpanellogin.h | 1 | ||||
-rw-r--r-- | linden/indra/newview/llpreviewlandmark.cpp | 10 | ||||
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 4 | ||||
-rw-r--r-- | linden/indra/newview/llurlhistory.cpp | 14 | ||||
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 6 | ||||
-rw-r--r-- | linden/indra/newview/llviewernetwork.cpp | 39 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_login.xml | 66 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/notify.xml | 6 | ||||
-rwxr-xr-x | linden/indra/newview/viewer_manifest.py | 109 |
12 files changed, 194 insertions, 100 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index 4fe387f..2cf418e 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp | |||
@@ -602,11 +602,12 @@ bool LLAppViewer::init() | |||
602 | writeSystemInfo(); | 602 | writeSystemInfo(); |
603 | 603 | ||
604 | // Build a string representing the current version number. | 604 | // Build a string representing the current version number. |
605 | gCurrentVersion = llformat("%s %d.%d.%d / %s %d.%d.%d.%d", | 605 | gCurrentVersion = llformat("%s %d.%d.%d %s / %s %d.%d.%d.%d", |
606 | gSavedSettings.getString("VersionChannelName").c_str(), | 606 | gSavedSettings.getString("VersionChannelName").c_str(), |
607 | IMP_VERSION_MAJOR, | 607 | IMP_VERSION_MAJOR, |
608 | IMP_VERSION_MINOR, | 608 | IMP_VERSION_MINOR, |
609 | IMP_VERSION_PATCH, | 609 | IMP_VERSION_PATCH, |
610 | IMP_VERSION_TEST, | ||
610 | LL_VIEWER_NAME, | 611 | LL_VIEWER_NAME, |
611 | LL_VERSION_MAJOR, | 612 | LL_VERSION_MAJOR, |
612 | LL_VERSION_MINOR, | 613 | LL_VERSION_MINOR, |
@@ -2248,6 +2249,7 @@ void LLAppViewer::writeSystemInfo() | |||
2248 | gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; | 2249 | gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; |
2249 | gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; | 2250 | gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; |
2250 | gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; | 2251 | gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; |
2252 | gDebugInfo["ClientInfo"]["ImpTestVersion"] = IMP_VERSION_TEST; | ||
2251 | gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; | 2253 | gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; |
2252 | gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; | 2254 | gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; |
2253 | gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; | 2255 | gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; |
@@ -2331,6 +2333,7 @@ void LLAppViewer::handleViewerCrash() | |||
2331 | gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; | 2333 | gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; |
2332 | gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; | 2334 | gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; |
2333 | gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; | 2335 | gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; |
2336 | gDebugInfo["ClientInfo"]["ImpTestVersion"] = IMP_VERSION_TEST; | ||
2334 | gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; | 2337 | gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; |
2335 | gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; | 2338 | gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; |
2336 | gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; | 2339 | gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; |
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp index 6bd2c41..4953410 100644 --- a/linden/indra/newview/llfloaterabout.cpp +++ b/linden/indra/newview/llfloaterabout.cpp | |||
@@ -111,9 +111,9 @@ LLFloaterAbout::LLFloaterAbout() | |||
111 | 111 | ||
112 | // Version string | 112 | // Version string |
113 | std::string version = llformat( | 113 | std::string version = llformat( |
114 | "%s %d.%d.%d / %s %d.%d.%d (%d), %s %s\n", | 114 | "%s %d.%d.%d %s / %s %d.%d.%d (%d), %s %s\n", |
115 | IMP_VIEWER_NAME, | 115 | IMP_VIEWER_NAME, |
116 | IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, | 116 | IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, IMP_VERSION_TEST, |
117 | LL_VIEWER_NAME, | 117 | LL_VIEWER_NAME, |
118 | LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, | 118 | LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, |
119 | __DATE__, __TIME__); | 119 | __DATE__, __TIME__); |
@@ -267,17 +267,16 @@ void LLFloaterAbout::show(void*) | |||
267 | static std::string get_viewer_release_notes_url() | 267 | static std::string get_viewer_release_notes_url() |
268 | { | 268 | { |
269 | std::ostringstream version; | 269 | std::ostringstream version; |
270 | version << LL_VERSION_MAJOR << "." | 270 | version << IMP_VERSION_MAJOR << "." |
271 | << LL_VERSION_MINOR << "." | 271 | << IMP_VERSION_MINOR << "." |
272 | << LL_VERSION_PATCH << "." | 272 | << IMP_VERSION_PATCH; |
273 | << LL_VERSION_BUILD; | ||
274 | 273 | ||
275 | LLSD query; | 274 | // Append the test version if it's not empty |
276 | query["channel"] = gSavedSettings.getString("VersionChannelName"); | 275 | if( strcmp(IMP_VERSION_TEST, "") != 0 ) |
277 | query["version"] = version.str(); | 276 | version << "-" << IMP_VERSION_TEST; |
278 | 277 | ||
279 | std::ostringstream url; | 278 | std::ostringstream url; |
280 | url << RELEASE_NOTES_BASE_URL << LLURI::mapToQueryString(query); | 279 | url << RELEASE_NOTES_BASE_URL << version.str(); |
281 | 280 | ||
282 | return url.str(); | 281 | return url.str(); |
283 | } | 282 | } |
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp index 09e2cee..a495516 100644 --- a/linden/indra/newview/llpanellogin.cpp +++ b/linden/indra/newview/llpanellogin.cpp | |||
@@ -360,10 +360,11 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect, | |||
360 | // childSetAction("quit_btn", onClickQuit, this); | 360 | // childSetAction("quit_btn", onClickQuit, this); |
361 | 361 | ||
362 | std::string imp_channel = gSavedSettings.getString("VersionChannelName"); | 362 | std::string imp_channel = gSavedSettings.getString("VersionChannelName"); |
363 | std::string imp_version = llformat("%d.%d.%d", | 363 | std::string imp_version = llformat("%d.%d.%d %s", |
364 | IMP_VERSION_MAJOR, | 364 | IMP_VERSION_MAJOR, |
365 | IMP_VERSION_MINOR, | 365 | IMP_VERSION_MINOR, |
366 | IMP_VERSION_PATCH ); | 366 | IMP_VERSION_PATCH, |
367 | IMP_VERSION_TEST ); | ||
367 | 368 | ||
368 | std::string ll_channel = LL_VIEWER_NAME; | 369 | std::string ll_channel = LL_VIEWER_NAME; |
369 | std::string ll_version = llformat("%d.%d.%d (%d)", | 370 | std::string ll_version = llformat("%d.%d.%d (%d)", |
@@ -711,6 +712,14 @@ void LLPanelLogin::addServer(const std::string& server, S32 domain_name) | |||
711 | combo->setCurrentByIndex(0); | 712 | combo->setCurrentByIndex(0); |
712 | } | 713 | } |
713 | 714 | ||
715 | |||
716 | // static | ||
717 | void LLPanelLogin::setServer(S32 domain_name) | ||
718 | { | ||
719 | LLComboBox* combo = sInstance->getChild<LLComboBox>("server_combo"); | ||
720 | combo->setCurrentByIndex(domain_name); | ||
721 | } | ||
722 | |||
714 | // static | 723 | // static |
715 | void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password, | 724 | void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password, |
716 | BOOL &remember) | 725 | BOOL &remember) |
diff --git a/linden/indra/newview/llpanellogin.h b/linden/indra/newview/llpanellogin.h index 539997b..78b0a22 100644 --- a/linden/indra/newview/llpanellogin.h +++ b/linden/indra/newview/llpanellogin.h | |||
@@ -87,6 +87,7 @@ public: | |||
87 | const std::string& password, BOOL remember); | 87 | const std::string& password, BOOL remember); |
88 | 88 | ||
89 | static void addServer(const std::string& server, S32 domain_name); | 89 | static void addServer(const std::string& server, S32 domain_name); |
90 | static void setServer(S32 domain_name); | ||
90 | static void refreshLocation( bool force_visible ); | 91 | static void refreshLocation( bool force_visible ); |
91 | 92 | ||
92 | static void getFields(std::string& firstname, std::string& lastname, | 93 | static void getFields(std::string& firstname, std::string& lastname, |
diff --git a/linden/indra/newview/llpreviewlandmark.cpp b/linden/indra/newview/llpreviewlandmark.cpp index 01d77f6..dba603b 100644 --- a/linden/indra/newview/llpreviewlandmark.cpp +++ b/linden/indra/newview/llpreviewlandmark.cpp | |||
@@ -90,7 +90,15 @@ LLPreviewLandmark::LLPreviewLandmark(const std::string& name, | |||
90 | { | 90 | { |
91 | 91 | ||
92 | mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this); | 92 | mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this); |
93 | LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap()); | 93 | if (show_keep_discard) |
94 | { | ||
95 | LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_new_landmark.xml", &getFactoryMap()); | ||
96 | childSetAction("Discard btn",onDiscardBtn,this); | ||
97 | } | ||
98 | else | ||
99 | { | ||
100 | LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap()); | ||
101 | } | ||
94 | 102 | ||
95 | /* | 103 | /* |
96 | childSetCommitCallback("desc_editor", LLPreview::onText, this); | 104 | childSetCommitCallback("desc_editor", LLPreview::onText, this); |
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 4266d82..c863d19 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -2492,14 +2492,14 @@ void login_show() | |||
2492 | // UI textures have been previously loaded in doPreloadImages() | 2492 | // UI textures have been previously loaded in doPreloadImages() |
2493 | 2493 | ||
2494 | LL_DEBUGS("AppInit") << "Setting Servers" << LL_ENDL; | 2494 | LL_DEBUGS("AppInit") << "Setting Servers" << LL_ENDL; |
2495 | 2495 | LL_INFOS("AppInit") << "getGridChoice is " << LLViewerLogin::getInstance()->getGridChoice() << LL_ENDL; | |
2496 | LLPanelLogin::addServer(LLViewerLogin::getInstance()->getGridLabel(), LLViewerLogin::getInstance()->getGridChoice()); | ||
2497 | 2496 | ||
2498 | LLViewerLogin* vl = LLViewerLogin::getInstance(); | 2497 | LLViewerLogin* vl = LLViewerLogin::getInstance(); |
2499 | for(int grid_index = GRID_INFO_NONE + 1; grid_index < GRID_INFO_OTHER; ++grid_index) | 2498 | for(int grid_index = GRID_INFO_NONE + 1; grid_index < GRID_INFO_OTHER; ++grid_index) |
2500 | { | 2499 | { |
2501 | LLPanelLogin::addServer(vl->getKnownGridLabel((EGridInfo)grid_index), grid_index); | 2500 | LLPanelLogin::addServer(vl->getKnownGridLabel((EGridInfo)grid_index), grid_index); |
2502 | } | 2501 | } |
2502 | LLPanelLogin::setServer(LLViewerLogin::getInstance()->getGridChoice()-1); | ||
2503 | } | 2503 | } |
2504 | 2504 | ||
2505 | // Callback for when login screen is closed. Option 0 = connect, option 1 = quit. | 2505 | // Callback for when login screen is closed. Option 0 = connect, option 1 = quit. |
diff --git a/linden/indra/newview/llurlhistory.cpp b/linden/indra/newview/llurlhistory.cpp index ac3fa93..c10add4 100644 --- a/linden/indra/newview/llurlhistory.cpp +++ b/linden/indra/newview/llurlhistory.cpp | |||
@@ -72,9 +72,17 @@ bool LLURLHistory::loadFile(const std::string& filename) | |||
72 | 72 | ||
73 | // static | 73 | // static |
74 | bool LLURLHistory::saveFile(const std::string& filename) | 74 | bool LLURLHistory::saveFile(const std::string& filename) |
75 | { | 75 | { |
76 | std::string temp_str = gDirUtilp->getLindenUserDir() + gDirUtilp->getDirDelimiter(); | 76 | std::string temp_str = gDirUtilp->getLindenUserDir(); |
77 | llofstream out((temp_str + filename)); | 77 | if( temp_str.empty() ) |
78 | { | ||
79 | llwarns << "Can't save " << filename | ||
80 | << ": No user directory set." << llendl; | ||
81 | return false; | ||
82 | } | ||
83 | |||
84 | temp_str += gDirUtilp->getDirDelimiter() + filename; | ||
85 | llofstream out(temp_str); | ||
78 | if (!out.good()) | 86 | if (!out.good()) |
79 | { | 87 | { |
80 | llwarns << "Unable to open " << filename << " for output." << llendl; | 88 | llwarns << "Unable to open " << filename << " for output." << llendl; |
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 260265e..28ca198 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -833,9 +833,9 @@ void open_offer(const std::vector<LLUUID>& items, const std::string& from_name) | |||
833 | //if we are throttled, don't display them - Gigs | 833 | //if we are throttled, don't display them - Gigs |
834 | if (check_offer_throttle(from_name, false)) | 834 | if (check_offer_throttle(from_name, false)) |
835 | { | 835 | { |
836 | // I'm not sure this is a good idea. JC | 836 | // I'm not sure this is a good idea. JC - Definitely a bad idea. HB |
837 | bool show_keep_discard = item->getPermissions().getCreator() != gAgent.getID(); | 837 | //bool show_keep_discard = item->getPermissions().getCreator() != gAgent.getID(); |
838 | //bool show_keep_discard = true; | 838 | bool show_keep_discard = true; |
839 | switch(asset_type) | 839 | switch(asset_type) |
840 | { | 840 | { |
841 | case LLAssetType::AT_NOTECARD: | 841 | case LLAssetType::AT_NOTECARD: |
diff --git a/linden/indra/newview/llviewernetwork.cpp b/linden/indra/newview/llviewernetwork.cpp index c8cffcf..9019b88 100644 --- a/linden/indra/newview/llviewernetwork.cpp +++ b/linden/indra/newview/llviewernetwork.cpp | |||
@@ -110,34 +110,34 @@ void LLViewerLogin::setGridChoice(const std::string& grid_name) | |||
110 | // The string can be: | 110 | // The string can be: |
111 | // - a grid label from the gGridInfo table | 111 | // - a grid label from the gGridInfo table |
112 | // - an ip address | 112 | // - an ip address |
113 | if(!grid_name.empty()) | 113 | if(!grid_name.empty()) |
114 | { | 114 | { |
115 | // find the grid choice from the user setting. | 115 | // find the grid choice from the user setting. |
116 | int grid_index = GRID_INFO_NONE; | 116 | int grid_index = GRID_INFO_NONE; |
117 | for(;grid_index < GRID_INFO_OTHER; ++grid_index) | 117 | for(;grid_index < GRID_INFO_OTHER; ++grid_index) |
118 | { | 118 | { |
119 | if(0 == LLStringUtil::compareInsensitive(gGridInfo[grid_index].mLabel, grid_name)) | 119 | if(0 == LLStringUtil::compareInsensitive(gGridInfo[grid_index].mLabel, grid_name)) |
120 | { | 120 | { |
121 | // Founding a matching label in the list... | 121 | // Founding a matching label in the list... |
122 | setGridChoice((EGridInfo)grid_index); | 122 | setGridChoice((EGridInfo)grid_index); |
123 | break; | 123 | break; |
124 | } | 124 | } |
125 | } | 125 | } |
126 | 126 | ||
127 | if(GRID_INFO_OTHER == grid_index) | 127 | if(GRID_INFO_OTHER == grid_index) |
128 | { | 128 | { |
129 | // *FIX:MEP Can and should we validate that this is an IP address? | 129 | // *FIX:MEP Can and should we validate that this is an IP address? |
130 | mGridChoice = GRID_INFO_OTHER; | 130 | mGridChoice = GRID_INFO_OTHER; |
131 | mGridName = grid_name; | 131 | mGridName = grid_name; |
132 | gSavedSettings.setS32("ServerChoice", mGridChoice); | 132 | gSavedSettings.setS32("ServerChoice", mGridChoice); |
133 | gSavedSettings.setString("CustomServer", mGridName); | 133 | gSavedSettings.setString("CustomServer", mGridName); |
134 | } | 134 | } |
135 | } | 135 | } |
136 | } | 136 | } |
137 | 137 | ||
138 | void LLViewerLogin::resetURIs() | 138 | void LLViewerLogin::resetURIs() |
139 | { | 139 | { |
140 | // Clear URIs when picking a new server | 140 | // Clear URIs when picking a new server |
141 | gSavedSettings.setValue("CmdLineLoginURI", LLSD::emptyArray()); | 141 | gSavedSettings.setValue("CmdLineLoginURI", LLSD::emptyArray()); |
142 | gSavedSettings.setString("CmdLineHelperURI", ""); | 142 | gSavedSettings.setString("CmdLineHelperURI", ""); |
143 | } | 143 | } |
@@ -163,7 +163,8 @@ std::string LLViewerLogin::getGridLabel() const | |||
163 | 163 | ||
164 | std::string LLViewerLogin::getGridCodeName() const | 164 | std::string LLViewerLogin::getGridCodeName() const |
165 | { | 165 | { |
166 | if( gGridInfo[mGridChoice].mCodeName == "" ) | 166 | // Fall back to grid label if code name is empty. |
167 | if( strcmp(gGridInfo[mGridChoice].mCodeName, "") == 0 ) | ||
167 | { | 168 | { |
168 | return getGridLabel(); | 169 | return getGridLabel(); |
169 | } | 170 | } |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_login.xml b/linden/indra/newview/skins/default/xui/en-us/menu_login.xml index d7ff80b..8d06657 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_login.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_login.xml | |||
@@ -1,33 +1,33 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> | 1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> |
2 | <menu_bar bottom="-18" drop_shadow="false" enabled="true" follows="left|top|right" | 2 | <menu_bar bottom="-18" drop_shadow="false" enabled="true" follows="left|top|right" |
3 | height="18" left="0" mouse_opaque="true" name="Login Menu" opaque="true" | 3 | height="18" left="0" mouse_opaque="true" name="Login Menu" opaque="true" |
4 | tear_off="false" width="802"> | 4 | tear_off="false" width="802"> |
5 | <menu bottom="273" create_jump_keys="true" drop_shadow="true" enabled="true" | 5 | <menu bottom="273" create_jump_keys="true" drop_shadow="true" enabled="true" |
6 | height="263" label="File" left="0" mouse_opaque="false" name="File" | 6 | height="263" label="File" left="0" mouse_opaque="false" name="File" |
7 | opaque="true" tear_off="false" width="243"> | 7 | opaque="true" tear_off="false" width="243"> |
8 | <menu_item_call bottom="-29" enabled="true" height="19" label="Quit" left="0" | 8 | <menu_item_call bottom="-29" enabled="true" height="19" label="Quit" left="0" |
9 | mouse_opaque="true" name="Quit" shortcut="control|Q" width="243"> | 9 | mouse_opaque="true" name="Quit" shortcut="control|Q" width="243"> |
10 | <on_click function="File.Quit" userdata="" /> | 10 | <on_click function="File.Quit" userdata="" /> |
11 | </menu_item_call> | 11 | </menu_item_call> |
12 | </menu> | 12 | </menu> |
13 | <menu bottom="97" create_jump_keys="true" drop_shadow="true" enabled="true" | 13 | <menu bottom="97" create_jump_keys="true" drop_shadow="true" enabled="true" |
14 | height="439" label="Edit" left="38" mouse_opaque="false" name="Edit" | 14 | height="439" label="Edit" left="38" mouse_opaque="false" name="Edit" |
15 | opaque="true" tear_off="false" width="153"> | 15 | opaque="true" tear_off="false" width="153"> |
16 | <menu_item_call bottom="-29" enabled="true" height="19" label="Preferences..." left="0" | 16 | <menu_item_call bottom="-29" enabled="true" height="19" label="Preferences..." left="0" |
17 | mouse_opaque="true" name="Preferences..." shortcut="control|P" width="153"> | 17 | mouse_opaque="true" name="Preferences..." shortcut="control|P" width="153"> |
18 | <on_click function="ShowFloater" userdata="preferences" /> | 18 | <on_click function="ShowFloater" userdata="preferences" /> |
19 | </menu_item_call> | 19 | </menu_item_call> |
20 | </menu> | 20 | </menu> |
21 | <menu bottom="219" create_jump_keys="true" drop_shadow="true" enabled="true" | 21 | <menu bottom="219" create_jump_keys="true" drop_shadow="true" enabled="true" |
22 | height="317" label="Help" left="80" mouse_opaque="false" name="Help" | 22 | height="317" label="Help" left="80" mouse_opaque="false" name="Help" |
23 | opaque="true" tear_off="false" width="166"> | 23 | opaque="true" tear_off="false" width="166"> |
24 | <menu_item_call bottom="-29" enabled="true" height="19" label="Second Life Help" left="0" | 24 | <menu_item_call bottom="-29" enabled="true" height="19" label="Viewer Help" left="0" |
25 | mouse_opaque="true" name="Second Life Help" shortcut="F1" width="166"> | 25 | mouse_opaque="true" name="Viewer Help" shortcut="F1" width="166"> |
26 | <on_click function="ShowFloater" userdata="help f1" /> | 26 | <on_click function="ShowFloater" userdata="help f1" /> |
27 | </menu_item_call> | 27 | </menu_item_call> |
28 | <menu_item_call bottom="-48" enabled="true" height="19" label="About Second Life..." left="0" | 28 | <menu_item_call bottom="-48" enabled="true" height="19" label="About Imprudence..." left="0" |
29 | mouse_opaque="true" name="About Second Life..." width="166"> | 29 | mouse_opaque="true" name="About Imprudence..." width="166"> |
30 | <on_click function="ShowFloater" userdata="about" /> | 30 | <on_click function="ShowFloater" userdata="about" /> |
31 | </menu_item_call> | 31 | </menu_item_call> |
32 | </menu> | 32 | </menu> |
33 | </menu_bar> | 33 | </menu_bar> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/notify.xml b/linden/indra/newview/skins/default/xui/en-us/notify.xml index 6af19ee..d169741 100644 --- a/linden/indra/newview/skins/default/xui/en-us/notify.xml +++ b/linden/indra/newview/skins/default/xui/en-us/notify.xml | |||
@@ -593,6 +593,9 @@ see each other's online status.) | |||
593 | <option name="Decline"> | 593 | <option name="Decline"> |
594 | Decline | 594 | Decline |
595 | </option> | 595 | </option> |
596 | <option name="Ignore"> | ||
597 | Ignore | ||
598 | </option> | ||
596 | </notify> | 599 | </notify> |
597 | <notify name="FriendshipAccepted" tip="false"> | 600 | <notify name="FriendshipAccepted" tip="false"> |
598 | <message name="message"> | 601 | <message name="message"> |
@@ -616,6 +619,9 @@ so you can quickly IM this resident. | |||
616 | <option name="Decline"> | 619 | <option name="Decline"> |
617 | Decline | 620 | Decline |
618 | </option> | 621 | </option> |
622 | <option name="Ignore"> | ||
623 | Ignore | ||
624 | </option> | ||
619 | </notify> | 625 | </notify> |
620 | <notify name="RegionRestartMinutes" tip="false"> | 626 | <notify name="RegionRestartMinutes" tip="false"> |
621 | <message name="message"> | 627 | <message name="message"> |
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py index cbc9a84..0dfd8db 100755 --- a/linden/indra/newview/viewer_manifest.py +++ b/linden/indra/newview/viewer_manifest.py | |||
@@ -44,6 +44,16 @@ class ViewerManifest(LLManifest): | |||
44 | self.exclude("*.svn*") | 44 | self.exclude("*.svn*") |
45 | self.path(src="../../scripts/messages/message_template.msg", dst="app_settings/message_template.msg") | 45 | self.path(src="../../scripts/messages/message_template.msg", dst="app_settings/message_template.msg") |
46 | self.path(src="../../etc/message.xml", dst="app_settings/message.xml") | 46 | self.path(src="../../etc/message.xml", dst="app_settings/message.xml") |
47 | self.path(src="../../../ChangeLog.txt", dst="doc/ChangeLog.txt") | ||
48 | self.path(src="../../../CONTRIBUTE.txt", dst="doc/CONTRIBUTE.txt") | ||
49 | self.path(src="../../../MANIFESTO.txt", dst="doc/MANIFESTO.txt") | ||
50 | self.path(src="../../../README.txt", dst="doc/README.txt") | ||
51 | self.path(src="../../../RELEASE_NOTES.txt", dst="doc/RELEASE_NOTES.txt") | ||
52 | self.path(src="../../doc/contributions.txt", dst="doc/ll-contributions.txt") | ||
53 | self.path(src="../../doc/FLOSS-exception.txt", dst="doc/FLOSS-exception.txt") | ||
54 | self.path(src="../../doc/GPL-license.txt", dst="doc/GPL-license.txt") | ||
55 | self.path(src="../../doc/releasenotes-where.txt", dst="doc/ll-releasenotes-where.txt") | ||
56 | # | ||
47 | 57 | ||
48 | if self.prefix(src="app_settings"): | 58 | if self.prefix(src="app_settings"): |
49 | self.exclude("logcontrol.xml") | 59 | self.exclude("logcontrol.xml") |
@@ -75,30 +85,60 @@ class ViewerManifest(LLManifest): | |||
75 | self.path("*.txt") | 85 | self.path("*.txt") |
76 | self.end_prefix("fonts") | 86 | self.end_prefix("fonts") |
77 | 87 | ||
78 | # skins | 88 | # skins |
79 | if self.prefix(src="skins"): | 89 | if self.prefix(src="skins"): |
80 | self.path("paths.xml") | 90 | self.path("paths.xml") |
81 | # include the entire textures directory recursively | 91 | |
82 | if self.prefix(src="*/textures"): | 92 | # include the entire textures directory recursively |
83 | self.path("*.tga") | 93 | if self.prefix(src="*/textures"): |
84 | self.path("*.j2c") | 94 | self.path("*.tga") |
85 | self.path("*.jpg") | 95 | self.path("*.j2c") |
86 | self.path("*.png") | 96 | self.path("*.jpg") |
87 | self.path("textures.xml") | 97 | self.path("*.png") |
88 | self.end_prefix("*/textures") | 98 | self.path("textures.xml") |
89 | self.path("*/xui/*/*.xml") | 99 | self.end_prefix("*/textures") |
90 | self.path("*/*.xml") | 100 | |
91 | 101 | self.path("*/xui/*/*.xml") | |
92 | # Local HTML files (e.g. loading screen) | 102 | self.path("*/*.xml") |
93 | if self.prefix(src="*/html"): | 103 | |
94 | self.path("*.png") | 104 | # Local HTML files (e.g. loading screen) |
95 | self.path("*/*/*.html") | 105 | if self.prefix(src="*/html"): |
96 | self.path("*/*/*.gif") | 106 | self.path("*.png") |
97 | self.end_prefix("*/html") | 107 | self.path("*/*/*.html") |
98 | self.end_prefix("skins") | 108 | self.path("*/*/*.gif") |
109 | self.end_prefix("*/html") | ||
110 | |||
111 | self.end_prefix("skins") | ||
112 | |||
99 | self.path("lsl_guide.html") | 113 | self.path("lsl_guide.html") |
100 | self.path("gpu_table.txt") | 114 | self.path("gpu_table.txt") |
101 | 115 | ||
116 | |||
117 | # Gather up the README file, etc. | ||
118 | def gather_documents(self): | ||
119 | # From the top level directory (imprudence) | ||
120 | if self.prefix("../../..", dst=""): | ||
121 | self.path("README.txt") | ||
122 | self.path("MANIFESTO.txt") | ||
123 | self.path("CONTRIBUTE.txt") | ||
124 | self.path("RELEASE_NOTES.txt") | ||
125 | self.path("ChangeLog.txt") | ||
126 | self.end_prefix("../../..") | ||
127 | |||
128 | # From the linden directory | ||
129 | if self.prefix("../..", dst="doc"): | ||
130 | self.path("LICENSE-source.txt") | ||
131 | self.path("LICENSE-logos.txt", "LICENSE-artwork.txt") | ||
132 | self.end_prefix("../..") | ||
133 | |||
134 | # From the linden/doc directory | ||
135 | if self.prefix("../../doc", dst="doc"): | ||
136 | self.path("contributions.txt") | ||
137 | self.path("GPL-license.txt", "GPL.txt") | ||
138 | self.path("FLOSS-exception.txt") | ||
139 | self.end_prefix("../../doc") | ||
140 | |||
141 | |||
102 | def login_channel(self): | 142 | def login_channel(self): |
103 | """Channel reported for login and upgrade purposes ONLY; | 143 | """Channel reported for login and upgrade purposes ONLY; |
104 | used for A/B testing""" | 144 | used for A/B testing""" |
@@ -161,7 +201,13 @@ class WindowsManifest(ViewerManifest): | |||
161 | #'../llkdu/relwithdebinfo/llkdu.dll', | 201 | #'../llkdu/relwithdebinfo/llkdu.dll', |
162 | #'../../libraries/i686-win32/lib/release/llkdu.dll'), | 202 | #'../../libraries/i686-win32/lib/release/llkdu.dll'), |
163 | # dst='llkdu.dll') | 203 | # dst='llkdu.dll') |
164 | self.path(src="licenses-win32.txt", dst="licenses.txt") | 204 | |
205 | self.gather_documents() | ||
206 | |||
207 | if self.prefix("../..", dst="doc"): | ||
208 | self.path("LICENSE-libraries-win32.txt") | ||
209 | self.end_prefix("../..") | ||
210 | |||
165 | 211 | ||
166 | self.path("featuretable.txt") | 212 | self.path("featuretable.txt") |
167 | 213 | ||
@@ -388,7 +434,13 @@ class DarwinManifest(ViewerManifest): | |||
388 | self.path("*.tif") | 434 | self.path("*.tif") |
389 | self.end_prefix("cursors_mac") | 435 | self.end_prefix("cursors_mac") |
390 | 436 | ||
391 | self.path("licenses-mac.txt", dst="licenses.txt") | 437 | # From the linden directory |
438 | if self.prefix("../..", dst="doc"): | ||
439 | self.path("LICENSE-libraries-mac.txt") | ||
440 | self.end_prefix("../..") | ||
441 | |||
442 | self.gather_documents() | ||
443 | |||
392 | self.path("featuretable_mac.txt") | 444 | self.path("featuretable_mac.txt") |
393 | self.path("SecondLife.nib") | 445 | self.path("SecondLife.nib") |
394 | 446 | ||
@@ -528,16 +580,23 @@ class DarwinManifest(ViewerManifest): | |||
528 | class LinuxManifest(ViewerManifest): | 580 | class LinuxManifest(ViewerManifest): |
529 | def construct(self): | 581 | def construct(self): |
530 | super(LinuxManifest, self).construct() | 582 | super(LinuxManifest, self).construct() |
531 | self.path("licenses-linux.txt","licenses.txt") | 583 | |
532 | self.path("res/imprudence_icon.png","imprudence_icon.png") | 584 | self.path("res/imprudence_icon.png","imprudence_icon.png") |
533 | if self.prefix("linux_tools", dst=""): | 585 | if self.prefix("linux_tools", dst=""): |
534 | self.path("client-readme.txt","README-linux.txt") | 586 | #self.path("client-readme.txt","README-linux.txt") |
535 | #self.path("client-readme-voice.txt","README-linux-voice.txt") | 587 | #self.path("client-readme-voice.txt","README-linux-voice.txt") |
536 | self.path("wrapper.sh","imprudence") | 588 | self.path("wrapper.sh","imprudence") |
537 | self.path("handle_secondlifeprotocol.sh") | 589 | self.path("handle_secondlifeprotocol.sh") |
538 | self.path("register_secondlifeprotocol.sh") | 590 | self.path("register_secondlifeprotocol.sh") |
539 | self.end_prefix("linux_tools") | 591 | self.end_prefix("linux_tools") |
540 | 592 | ||
593 | self.gather_documents() | ||
594 | |||
595 | # From the linden directory | ||
596 | if self.prefix("../..", dst="doc"): | ||
597 | self.path("LICENSE-libraries-linux.txt") | ||
598 | self.end_prefix("../..") | ||
599 | |||
541 | # Create an appropriate gridargs.dat for this package, denoting required grid. | 600 | # Create an appropriate gridargs.dat for this package, denoting required grid. |
542 | self.put_in_file(self.flags_list(), 'gridargs.dat') | 601 | self.put_in_file(self.flags_list(), 'gridargs.dat') |
543 | 602 | ||