aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/cmake/Boost.cmake4
-rw-r--r--linden/indra/llcommon/llsecondlifeurls.cpp2
-rw-r--r--linden/indra/mac_updater/mac_updater.cpp2
-rw-r--r--linden/indra/newview/app_settings/default_grids.xml39
-rw-r--r--linden/indra/newview/app_settings/settings.xml21
-rw-r--r--linden/indra/newview/floatercommandline.cpp9
-rw-r--r--linden/indra/newview/hippolimits.cpp4
-rw-r--r--linden/indra/newview/imprudence.url6
-rw-r--r--linden/indra/newview/llappviewer.cpp49
-rw-r--r--linden/indra/newview/llpanellogin.cpp96
-rw-r--r--linden/indra/newview/llpanellogin.h3
-rw-r--r--linden/indra/newview/llstartup.cpp7
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_about.xml2
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml4
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notifications.xml36
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_login.xml23
-rw-r--r--linden/indra/win_updater/updater.cpp2
17 files changed, 188 insertions, 121 deletions
diff --git a/linden/indra/cmake/Boost.cmake b/linden/indra/cmake/Boost.cmake
index 665a162..75ac62e 100644
--- a/linden/indra/cmake/Boost.cmake
+++ b/linden/indra/cmake/Boost.cmake
@@ -14,7 +14,7 @@ else (STANDALONE)
14 set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include) 14 set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
15 15
16 if (WINDOWS) 16 if (WINDOWS)
17 set(BOOST_VERSION 1_39) 17 set(BOOST_VERSION 1_43)
18 if (MSVC80) 18 if (MSVC80)
19 set(BOOST_PROGRAM_OPTIONS_LIBRARY 19 set(BOOST_PROGRAM_OPTIONS_LIBRARY
20 optimized libboost_program_options-vc80-mt-${BOOST_VERSION} 20 optimized libboost_program_options-vc80-mt-${BOOST_VERSION}
@@ -25,8 +25,6 @@ else (STANDALONE)
25 set(BOOST_SIGNALS_LIBRARY 25 set(BOOST_SIGNALS_LIBRARY
26 optimized libboost_signals-vc80-mt-${BOOST_VERSION} 26 optimized libboost_signals-vc80-mt-${BOOST_VERSION}
27 debug libboost_signals-vc80-mt-gd-${BOOST_VERSION}) 27 debug libboost_signals-vc80-mt-gd-${BOOST_VERSION})
28 # Default support for VS2008 was lost in the move from 1.36 to 1.39.
29 # Remove this comment when this is fixed -- MC
30 elseif (MSVC90) 28 elseif (MSVC90)
31 set(BOOST_PROGRAM_OPTIONS_LIBRARY 29 set(BOOST_PROGRAM_OPTIONS_LIBRARY
32 optimized libboost_program_options-vc90-mt-${BOOST_VERSION} 30 optimized libboost_program_options-vc90-mt-${BOOST_VERSION}
diff --git a/linden/indra/llcommon/llsecondlifeurls.cpp b/linden/indra/llcommon/llsecondlifeurls.cpp
index 1669f7b..7be7bde 100644
--- a/linden/indra/llcommon/llsecondlifeurls.cpp
+++ b/linden/indra/llcommon/llsecondlifeurls.cpp
@@ -44,4 +44,4 @@ const std::string BUY_CURRENCY_URL (
44 44
45 45
46const std::string RELEASE_NOTES_BASE_URL ( 46const std::string RELEASE_NOTES_BASE_URL (
47 "http://imprudenceviewer.org/wiki/Release_Notes/"); \ No newline at end of file 47 "http://wiki.kokuaviewer.org/wiki/Imprudence:Release_Notes/");
diff --git a/linden/indra/mac_updater/mac_updater.cpp b/linden/indra/mac_updater/mac_updater.cpp
index cf9de4b..03c6f6f 100644
--- a/linden/indra/mac_updater/mac_updater.cpp
+++ b/linden/indra/mac_updater/mac_updater.cpp
@@ -472,7 +472,7 @@ int main(int argc, char **argv)
472 err = CreateStandardAlert( 472 err = CreateStandardAlert(
473 kAlertStopAlert, 473 kAlertStopAlert,
474 CFSTR("Error"), 474 CFSTR("Error"),
475 CFSTR("An error occurred while updating Imprudence. Please download the latest version from http://imprudenceviewer.org/download/"), 475 CFSTR("An error occurred while updating Imprudence. Please download the latest version from http://wiki.kokuaviewer.org/wiki/Imprudence:Downloads"),
476 &params, 476 &params,
477 &alert); 477 &alert);
478 478
diff --git a/linden/indra/newview/app_settings/default_grids.xml b/linden/indra/newview/app_settings/default_grids.xml
index 3f44e4b..802558a 100644
--- a/linden/indra/newview/app_settings/default_grids.xml
+++ b/linden/indra/newview/app_settings/default_grids.xml
@@ -1,7 +1,7 @@
1<llsd> 1<llsd>
2 <array> 2 <array>
3 <map> 3 <map>
4 <key>default_grids_version</key><string>26</string> 4 <key>default_grids_version</key><string>31</string>
5 </map> 5 </map>
6 6
7 <!-- Second Life --> 7 <!-- Second Life -->
@@ -16,7 +16,7 @@
16 <key>support</key><string>http://secondlife.com/support/</string> 16 <key>support</key><string>http://secondlife.com/support/</string>
17 <key>register</key><string>http://secondlife.com/registration/</string> 17 <key>register</key><string>http://secondlife.com/registration/</string>
18 <key>password</key><string>http://secondlife.com/account/request.php</string> 18 <key>password</key><string>http://secondlife.com/account/request.php</string>
19 <key>version</key><string>0</string> 19 <key>version</key><string>2</string>
20 </map> 20 </map>
21 21
22 <!-- Second Life Beta --> 22 <!-- Second Life Beta -->
@@ -31,7 +31,7 @@
31 <key>support</key><string>http://secondlife.com/support/</string> 31 <key>support</key><string>http://secondlife.com/support/</string>
32 <key>register</key><string>http://secondlife.com/registration/</string> 32 <key>register</key><string>http://secondlife.com/registration/</string>
33 <key>password</key><string>http://secondlife.com/account/request.php</string> 33 <key>password</key><string>http://secondlife.com/account/request.php</string>
34 <key>version</key><string>1</string> 34 <key>version</key><string>3</string>
35 </map> 35 </map>
36 36
37 <!-- Local Host --> 37 <!-- Local Host -->
@@ -57,22 +57,7 @@
57 <key>support</key><string>http://osgrid.org/</string> 57 <key>support</key><string>http://osgrid.org/</string>
58 <key>register</key><string>http://www.osgrid.org/index.php/auth/register</string> 58 <key>register</key><string>http://www.osgrid.org/index.php/auth/register</string>
59 <key>password</key><string>http://www.osgrid.org/index.php/auth/forgot_password</string> 59 <key>password</key><string>http://www.osgrid.org/index.php/auth/forgot_password</string>
60 <key>version</key><string>1</string> 60 <key>version</key><string>2</string>
61 </map>
62
63 <!-- Legend City Online -->
64 <map>
65 <key>gridnick</key><string>legendcityonline</string>
66 <key>gridname</key><string>Legend City Online</string>
67 <key>platform</key><string>OpenSim</string>
68 <key>loginuri</key><string>http://login.legendcityonline.com</string>
69 <key>loginpage</key><string>http://www.legendcityonline.com/welcome.php</string>
70 <key>helperuri</key><string>https://secure.legendcityonline.com/</string>
71 <key>website</key><string>http://www.legendcityonline.com/</string>
72 <key>support</key><string>http://www.legendcityonline.com/</string>
73 <key>register</key><string>http://www.legendcityonline.com/</string>
74 <key>password</key><string>http://www.legendcityonline.com/</string>
75 <key>version</key><string>0</string>
76 </map> 61 </map>
77 62
78 <!-- WorldSimTerra --> 63 <!-- WorldSimTerra -->
@@ -135,15 +120,17 @@
135 <key>version</key><string>0</string> 120 <key>version</key><string>0</string>
136 </map> 121 </map>
137 122
138 <!-- Cyberlandia --> 123 <!-- Craft (offspring of Cyberlandia) -->
139 <map> 124 <map>
140 <key>gridnick</key><string>cyberlandia</string> 125 <key>gridnick</key><string>craft</string>
141 <key>gridname</key><string>Cyberlandia</string> 126 <key>gridname</key><string>Craft</string>
142 <key>platform</key><string>OpenSim</string> 127 <key>platform</key><string>OpenSim</string>
143 <key>loginuri</key><string>http://grid.cyberlandia.net:8002</string> 128 <key>loginuri</key><string>http://craft-world.org:8002/</string>
144 <key>loginpage</key><string></string> 129 <key>loginpage</key><string>http://www.craft-world.org/loginscreen.php</string>
145 <key>helperuri</key><string></string> 130 <key>helperuri</key><string>http://webapp.craft-world.org/</string>
146 <key>website</key><string>http://www.cyberlandia.net</string> 131 <key>website</key><string>http://www.craft-world.org/</string>
132 <key>register</key><string>http://craft-world.org:8002/wifi/user/account/</string>
133 <key>password</key><string>http://craft-world.org:8002/wifi/forgotpassword</string>
147 <key>version</key><string>0</string> 134 <key>version</key><string>0</string>
148 </map> 135 </map>
149 136
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index 2d9d810..ac8b236 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -219,7 +219,7 @@
219 <key>Type</key> 219 <key>Type</key>
220 <string>String</string> 220 <string>String</string>
221 <key>Value</key> 221 <key>Value</key>
222 <string>http://imprudenceviewer.org</string> 222 <string>http://blog.kokuaviewer.org</string>
223 </map> 223 </map>
224 <key>BrowserLastVisited</key> 224 <key>BrowserLastVisited</key>
225 <map> 225 <map>
@@ -832,6 +832,17 @@
832 <key>Value</key> 832 <key>Value</key>
833 <integer>1</integer> 833 <integer>1</integer>
834 </map> 834 </map>
835 <key>NewsBarURL</key>
836 <map>
837 <key>Comment</key>
838 <string>URL to load in the news bar on the login screen</string>
839 <key>Persist</key>
840 <integer>1</integer>
841 <key>Type</key>
842 <string>String</string>
843 <key>Value</key>
844 <string>http://app.kokuaviewer.org/news/</string>
845 </map>
835 <key>ObjectIMColor</key> 846 <key>ObjectIMColor</key>
836 <map> 847 <map>
837 <key>Comment</key> 848 <key>Comment</key>
@@ -1369,7 +1380,7 @@
1369 <key>WarnFirstPrivacy</key> 1380 <key>WarnFirstPrivacy</key>
1370 <map> 1381 <map>
1371 <key>Comment</key> 1382 <key>Comment</key>
1372 <string>Enables FirstPrivacy warning on login</string> 1383 <string>Warn about statistics packet when first logging in to Second Life.</string>
1373 <key>Persist</key> 1384 <key>Persist</key>
1374 <integer>1</integer> 1385 <integer>1</integer>
1375 <key>Type</key> 1386 <key>Type</key>
@@ -1702,7 +1713,7 @@
1702 <key>Type</key> 1713 <key>Type</key>
1703 <string>String</string> 1714 <string>String</string>
1704 <key>Value</key> 1715 <key>Value</key>
1705 <string>http://imprudenceviewer.org/app/client_list/</string> 1716 <string>http://app.kokuaviewer.org/client_list/</string>
1706 </map> 1717 </map>
1707 1718
1708 <key>WarnClientTags</key> 1719 <key>WarnClientTags</key>
@@ -1967,7 +1978,7 @@
1967 <key>Type</key> 1978 <key>Type</key>
1968 <string>String</string> 1979 <string>String</string>
1969 <key>Value</key> 1980 <key>Value</key>
1970 <string>http://imprudenceviewer.org/app/dics/</string> 1981 <string>http://kokuaviewer.org/app/dics/</string>
1971 </map> 1982 </map>
1972 <key>EmeraldEnableAutoCorrect</key> 1983 <key>EmeraldEnableAutoCorrect</key>
1973 <map> 1984 <map>
@@ -7725,7 +7736,7 @@
7725 <key>Type</key> 7736 <key>Type</key>
7726 <string>String</string> 7737 <string>String</string>
7727 <key>Value</key> 7738 <key>Value</key>
7728 <string>http://imprudenceviewer.org/splash/</string> 7739 <string></string>
7729 </map> 7740 </map>
7730 <key>LogTextureDownloadsToViewerLog</key> 7741 <key>LogTextureDownloadsToViewerLog</key>
7731 <map> 7742 <map>
diff --git a/linden/indra/newview/floatercommandline.cpp b/linden/indra/newview/floatercommandline.cpp
index 6889696..a700b62 100644
--- a/linden/indra/newview/floatercommandline.cpp
+++ b/linden/indra/newview/floatercommandline.cpp
@@ -32,7 +32,6 @@
32 32
33#include "floatercommandline.h" 33#include "floatercommandline.h"
34 34
35#include "hippogridmanager.h"
36#include "lluictrlfactory.h" 35#include "lluictrlfactory.h"
37#include "llviewercontrol.h" 36#include "llviewercontrol.h"
38 37
@@ -65,14 +64,6 @@ BOOL FloaterCommandLine::postBuild()
65 childSetCommitCallback("CmdLineChatbarAO", onCommitApplyControl); 64 childSetCommitCallback("CmdLineChatbarAO", onCommitApplyControl);
66 childSetCommitCallback("CmdLineChatbarClearChat", onCommitApplyControl); 65 childSetCommitCallback("CmdLineChatbarClearChat", onCommitApplyControl);
67 66
68 // hide options that don't work on non-SL-based grids
69 if (!gHippoGridManager->getConnectedGrid()->isSecondLife())
70 {
71 childSetEnabled("CmdLineChatbarRezPlatform", FALSE);
72 childSetEnabled("loltxt6", FALSE);
73 childSetEnabled("CmdLineChatbarPlatformSize", FALSE);
74 }
75
76 return TRUE; 67 return TRUE;
77} 68}
78 69
diff --git a/linden/indra/newview/hippolimits.cpp b/linden/indra/newview/hippolimits.cpp
index d899f60..691508a 100644
--- a/linden/indra/newview/hippolimits.cpp
+++ b/linden/indra/newview/hippolimits.cpp
@@ -85,7 +85,9 @@ void HippoLimits::setOpenSimLimits()
85void HippoLimits::setSecondLifeLimits() 85void HippoLimits::setSecondLifeLimits()
86{ 86{
87 llinfos << "Using Second Life limits" << llendl; 87 llinfos << "Using Second Life limits" << llendl;
88 mMaxAgentGroups = 25; 88 S32 max_groups = gHippoGridManager->getConnectedGrid()->getMaxAgentGroups();
89 mMaxAgentGroups = llmax(max_groups, 25);
90
89 mMaxPrimScale = 10.0f; 91 mMaxPrimScale = 10.0f;
90 mMinPrimScale = 0.01f; 92 mMinPrimScale = 0.01f;
91 mMaxHeight = 4096.0f; 93 mMaxHeight = 4096.0f;
diff --git a/linden/indra/newview/imprudence.url b/linden/indra/newview/imprudence.url
index 9cc3cc0..d90f3b2 100644
--- a/linden/indra/newview/imprudence.url
+++ b/linden/indra/newview/imprudence.url
@@ -1,2 +1,6 @@
1[InternetShortcut] 1[InternetShortcut]
2URL=http://imprudenceviewer.org/wiki/Features \ No newline at end of file 2URL=http://wiki.kokuaviewer.org/wiki/Imprudence:Features
3IDList=
4HotKey=0
5[{000214A0-0000-0000-C000-000000000046}]
6Prop3=19,2
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 6b98c8e..268c4c0 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -618,18 +618,16 @@ bool LLAppViewer::init()
618 618
619 writeSystemInfo(); 619 writeSystemInfo();
620 620
621
621 // Build a string representing the current version number. 622 // Build a string representing the current version number.
622 gCurrentVersion = llformat("%s %d.%d.%d %s / %s %d.%d.%d.%d", 623 gCurrentVersion = llformat(
623 gSavedSettings.getString("VersionChannelName").c_str(), 624 "%s %d.%d.%d.%d",
625 gSavedSettings.getString("VersionChannelName").c_str(),
624 ViewerVersion::getImpMajorVersion(), 626 ViewerVersion::getImpMajorVersion(),
625 ViewerVersion::getImpMinorVersion(), 627 ViewerVersion::getImpMinorVersion(),
626 ViewerVersion::getImpPatchVersion(), 628 ViewerVersion::getImpPatchVersion(),
627 ViewerVersion::getImpTestVersion().c_str(), 629 0 // our 'build number'
628 ViewerVersion::getLLViewerName().c_str(), 630 );
629 ViewerVersion::getLLMajorVersion(),
630 ViewerVersion::getLLMinorVersion(),
631 ViewerVersion::getLLPatchVersion(),
632 ViewerVersion::getLLBuildVersion() );
633 631
634 ////////////////////////////////////////////////////////////////////////////// 632 //////////////////////////////////////////////////////////////////////////////
635 ////////////////////////////////////////////////////////////////////////////// 633 //////////////////////////////////////////////////////////////////////////////
@@ -2461,14 +2459,10 @@ void LLAppViewer::writeSystemInfo()
2461 gDebugInfo["SLLog"] = LLError::logFileName(); 2459 gDebugInfo["SLLog"] = LLError::logFileName();
2462 2460
2463 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); 2461 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName");
2464 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = ViewerVersion::getImpMajorVersion(); 2462 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getImpMajorVersion();
2465 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = ViewerVersion::getImpMinorVersion(); 2463 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getImpMinorVersion();
2466 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = ViewerVersion::getImpPatchVersion(); 2464 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getImpPatchVersion();
2467 gDebugInfo["ClientInfo"]["ImpTestVersion"] = ViewerVersion::getImpTestVersion(); 2465 gDebugInfo["ClientInfo"]["BuildVersion"] = 0;
2468 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getLLMajorVersion();
2469 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getLLMinorVersion();
2470 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getLLPatchVersion();
2471 gDebugInfo["ClientInfo"]["BuildVersion"] = ViewerVersion::getLLBuildVersion();
2472 2466
2473 gDebugInfo["CAFilename"] = gDirUtilp->getCAFile(); 2467 gDebugInfo["CAFilename"] = gDirUtilp->getCAFile();
2474 2468
@@ -2554,15 +2548,10 @@ void LLAppViewer::handleViewerCrash()
2554 //We already do this in writeSystemInfo(), but we do it again here to make /sure/ we have a version 2548 //We already do this in writeSystemInfo(), but we do it again here to make /sure/ we have a version
2555 //to check against no matter what 2549 //to check against no matter what
2556 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); 2550 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName");
2557 2551 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getImpMajorVersion();
2558 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = ViewerVersion::getImpMajorVersion(); 2552 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getImpMinorVersion();
2559 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = ViewerVersion::getImpMinorVersion(); 2553 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getImpPatchVersion();
2560 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = ViewerVersion::getImpPatchVersion(); 2554 gDebugInfo["ClientInfo"]["BuildVersion"] = 0;
2561 gDebugInfo["ClientInfo"]["ImpTestVersion"] = ViewerVersion::getImpTestVersion();
2562 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getLLMajorVersion();
2563 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getLLMinorVersion();
2564 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getLLPatchVersion();
2565 gDebugInfo["ClientInfo"]["BuildVersion"] = ViewerVersion::getLLBuildVersion();
2566 2555
2567 LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); 2556 LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel();
2568 if ( parcel && parcel->getMusicURL()[0]) 2557 if ( parcel && parcel->getMusicURL()[0])
@@ -3288,7 +3277,7 @@ void LLAppViewer::badNetworkHandler()
3288 "the issue. \n" 3277 "the issue. \n"
3289 " \n" 3278 " \n"
3290 "If the problem continues, please report the issue at: \n" 3279 "If the problem continues, please report the issue at: \n"
3291 "http://imprudenceviewer.org" << grid_support_msg; 3280 "http://redmine.kokuaviewer.org/projects/imprudence" << grid_support_msg;
3292 forceDisconnect(message.str()); 3281 forceDisconnect(message.str());
3293} 3282}
3294 3283
@@ -4334,11 +4323,11 @@ void LLAppViewer::handleLoginComplete()
4334 4323
4335 // Store some data to DebugInfo in case of a freeze. 4324 // Store some data to DebugInfo in case of a freeze.
4336 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); 4325 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName");
4326 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getImpMajorVersion();
4327 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getImpMinorVersion();
4328 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getImpPatchVersion();
4329 gDebugInfo["ClientInfo"]["BuildVersion"] = 0;
4337 4330
4338 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getLLMajorVersion();
4339 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getLLMinorVersion();
4340 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getLLPatchVersion();
4341 gDebugInfo["ClientInfo"]["BuildVersion"] = ViewerVersion::getLLBuildVersion();
4342 gDebugInfo["SettingsFilename"] = gSavedSettings.getString("ClientSettingsFile"); 4331 gDebugInfo["SettingsFilename"] = gSavedSettings.getString("ClientSettingsFile");
4343 gDebugInfo["CAFilename"] = gDirUtilp->getCAFile(); 4332 gDebugInfo["CAFilename"] = gDirUtilp->getCAFile();
4344 gDebugInfo["ViewerExePath"] = gDirUtilp->getExecutablePathAndName(); 4333 gDebugInfo["ViewerExePath"] = gDirUtilp->getExecutablePathAndName();
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index db086bf..7388e7f 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -302,17 +302,6 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
302 // make links open in external browser 302 // make links open in external browser
303 web_browser->setOpenInExternalBrowser( true ); 303 web_browser->setOpenInExternalBrowser( true );
304 304
305 // force the size to be correct (XML doesn't seem to be sufficient to do this) (with some padding so the other login screen doesn't show through)
306 LLRect htmlRect = getRect();
307#if USE_VIEWER_AUTH
308 htmlRect.setCenterAndSize( getRect().getCenterX() - 2, getRect().getCenterY(), getRect().getWidth() + 6, getRect().getHeight());
309#else
310 htmlRect.setCenterAndSize( getRect().getCenterX() - 2, getRect().getCenterY() + 40, getRect().getWidth() + 6, getRect().getHeight() - 78 );
311#endif
312 web_browser->setRect( htmlRect );
313 web_browser->reshape( htmlRect.getWidth(), htmlRect.getHeight(), TRUE );
314 reshape( getRect().getWidth(), getRect().getHeight(), 1 );
315
316 // kick off a request to grab the url manually 305 // kick off a request to grab the url manually
317 gResponsePtr = LLIamHereLogin::build( this ); 306 gResponsePtr = LLIamHereLogin::build( this );
318 std::string login_page = gSavedSettings.getString("LoginPage"); 307 std::string login_page = gSavedSettings.getString("LoginPage");
@@ -327,6 +316,8 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
327 refreshLocation( false ); 316 refreshLocation( false );
328#endif 317#endif
329 318
319 loadNewsBar();
320
330 LLFirstUse::useLoginScreen(); 321 LLFirstUse::useLoginScreen();
331} 322}
332 323
@@ -419,13 +410,20 @@ void LLPanelLogin::draw()
419 S32 width = getRect().getWidth(); 410 S32 width = getRect().getWidth();
420 S32 height = getRect().getHeight(); 411 S32 height = getRect().getHeight();
421 412
413 S32 news_bar_height = 0;
414 LLMediaCtrl* news_bar = getChild<LLMediaCtrl>("news_bar");
415 if (news_bar)
416 {
417 news_bar_height = news_bar->getRect().getHeight();
418 }
419
422 if ( mHtmlAvailable ) 420 if ( mHtmlAvailable )
423 { 421 {
424#if !USE_VIEWER_AUTH 422#if !USE_VIEWER_AUTH
425 // draw a background box in black 423 // draw a background box in black
426 gl_rect_2d( 0, height - 264, width, 264, LLColor4( 0.0f, 0.0f, 0.0f, 1.f ) ); 424 gl_rect_2d( 0, height - 264 + news_bar_height, width, 264, LLColor4( 0.0f, 0.0f, 0.0f, 1.f ) );
427 // draw the bottom part of the background image - just the blue background to the native client UI 425 // draw the bottom part of the background image - just the blue background to the native client UI
428 mLogoImage->draw(0, -264, width + 8, mLogoImage->getHeight()); 426 mLogoImage->draw(0, -264 + news_bar_height, width + 8, mLogoImage->getHeight());
429#endif 427#endif
430 } 428 }
431 else 429 else
@@ -1164,3 +1162,75 @@ void LLPanelLogin::onServerComboLostFocus(LLFocusableElement* fe, void*)
1164 } 1162 }
1165} 1163}
1166*/ 1164*/
1165
1166
1167bool LLPanelLogin::loadNewsBar()
1168{
1169 std::string news_url = gSavedSettings.getString("NewsBarURL");
1170
1171 if (news_url.empty())
1172 {
1173 return false;
1174 }
1175
1176 LLMediaCtrl* news_bar = getChild<LLMediaCtrl>("news_bar");
1177
1178 if (!news_bar)
1179 {
1180 return false;
1181 }
1182
1183 // *HACK: Not sure how else to make LLMediaCtrl respect user's
1184 // preference when opening links with target="_blank". -Jacek
1185 if (gSavedSettings.getBOOL("UseExternalBrowser"))
1186 {
1187 news_bar->setOpenInExternalBrowser( true );
1188 news_bar->setOpenInInternalBrowser( false );
1189 }
1190 else
1191 {
1192 news_bar->setOpenInExternalBrowser( false );
1193 news_bar->setOpenInInternalBrowser( true );
1194 }
1195
1196
1197 std::ostringstream full_url;
1198
1199 full_url << news_url;
1200
1201 // Append a "?" if the URL doesn't already have query params.
1202 if (LLURI(news_url).queryMap().size() == 0)
1203 {
1204 full_url << "?";
1205 }
1206
1207 std::string channel = gSavedSettings.getString("VersionChannelName");
1208 std::string skin = gSavedSettings.getString("SkinCurrent");
1209
1210 std::string version =
1211 llformat("%d.%d.%d",
1212 ViewerVersion::getImpMajorVersion(),
1213 ViewerVersion::getImpMinorVersion(),
1214 ViewerVersion::getImpPatchVersion());
1215 if (!ViewerVersion::getImpTestVersion().empty())
1216 {
1217 version += " " + ViewerVersion::getImpTestVersion();
1218 }
1219
1220 char* curl_channel = curl_escape(channel.c_str(), 0);
1221 char* curl_version = curl_escape(version.c_str(), 0);
1222 char* curl_skin = curl_escape(skin.c_str(), 0);
1223
1224 full_url << "&channel=" << curl_channel;
1225 full_url << "&version=" << curl_version;
1226 full_url << "&skin=" << curl_skin;
1227
1228 curl_free(curl_channel);
1229 curl_free(curl_version);
1230 curl_free(curl_skin);
1231
1232 news_bar->navigateTo( full_url.str() );
1233
1234
1235 return true;
1236}
diff --git a/linden/indra/newview/llpanellogin.h b/linden/indra/newview/llpanellogin.h
index c99fa30..5830b52 100644
--- a/linden/indra/newview/llpanellogin.h
+++ b/linden/indra/newview/llpanellogin.h
@@ -87,6 +87,9 @@ public:
87 // inherited from LLViewerMediaObserver 87 // inherited from LLViewerMediaObserver
88 /*virtual*/ void handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event); 88 /*virtual*/ void handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event);
89 89
90 /// Load the news bar web page, return true if successful.
91 bool loadNewsBar();
92
90private: 93private:
91 static void onClickConnect(void*); 94 static void onClickConnect(void*);
92 static void onClickGrid(void*); 95 static void onClickGrid(void*);
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 4bfcf52..bd94a59 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -1776,8 +1776,15 @@ bool idle_startup()
1776 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setRealCurrencySymbol(tmp); 1776 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setRealCurrencySymbol(tmp);
1777 tmp = LLUserAuth::getInstance()->getResponse("directory_fee"); 1777 tmp = LLUserAuth::getInstance()->getResponse("directory_fee");
1778 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setDirectoryFee(atoi(tmp.c_str())); 1778 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setDirectoryFee(atoi(tmp.c_str()));
1779
1780 //OpenSim
1779 tmp = LLUserAuth::getInstance()->getResponse("max_groups"); 1781 tmp = LLUserAuth::getInstance()->getResponse("max_groups");
1780 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setMaxAgentGroups(atoi(tmp.c_str())); 1782 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setMaxAgentGroups(atoi(tmp.c_str()));
1783
1784 //SL
1785 tmp = LLUserAuth::getInstance()->getResponse("max-agent-groups");
1786 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setMaxAgentGroups(atoi(tmp.c_str()));
1787
1781 tmp = LLUserAuth::getInstance()->getResponse("VoiceConnector"); 1788 tmp = LLUserAuth::getInstance()->getResponse("VoiceConnector");
1782 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setVoiceConnector(tmp); 1789 if (!tmp.empty()) gHippoGridManager->getConnectedGrid()->setVoiceConnector(tmp);
1783 gHippoGridManager->saveFile(); 1790 gHippoGridManager->saveFile();
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_about.xml b/linden/indra/newview/skins/default/xui/en-us/floater_about.xml
index ef02bfa..db4e11d 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_about.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_about.xml
@@ -9,7 +9,7 @@
9 word_wrap="true"> 9 word_wrap="true">
10 The Imprudence Viewer was rocked hard by: 10 The Imprudence Viewer was rocked hard by:
11 Jacek Antonelli, McCabe Maxsted, Armin Weatherwax, Elektra Hesse, and CodeBastard Redgrave. 11 Jacek Antonelli, McCabe Maxsted, Armin Weatherwax, Elektra Hesse, and CodeBastard Redgrave.
12 http://imprudenceviewer.org 12 http://kokuaviewer.org/
13 13
14 Imprudence is so awesome thanks to contributions from many generous people: 14 Imprudence is so awesome thanks to contributions from many generous people:
15 15
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
index c2424d7..c2afe40 100644
--- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
@@ -827,12 +827,12 @@
827 <menu_item_call name="Imprudence Blog" 827 <menu_item_call name="Imprudence Blog"
828 label="Imprudence Blog"> 828 label="Imprudence Blog">
829 <on_click function="PromptShowURL" 829 <on_click function="PromptShowURL"
830 userdata="WebLaunchImprudenceBlog,http://imprudenceviewer.org/" /> 830 userdata="WebLaunchImprudenceBlog,http://blog.kokuaviewer.org/" />
831 </menu_item_call> 831 </menu_item_call>
832 <menu_item_call name="Imprudence Forums" 832 <menu_item_call name="Imprudence Forums"
833 label="Imprudence Forums"> 833 label="Imprudence Forums">
834 <on_click function="PromptShowURL" 834 <on_click function="PromptShowURL"
835 userdata="WebLaunchImprudenceForums,http://imprudenceviewer.org/forums/" /> 835 userdata="WebLaunchImprudenceForums,http://forums.kokuaviewer.org/" />
836 </menu_item_call> 836 </menu_item_call>
837 <menu_item_separator /> 837 <menu_item_separator />
838 <menu_item_call name="Scripting Portal" 838 <menu_item_call name="Scripting Portal"
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 d4d86c0..e3b6364 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
@@ -1,7 +1,7 @@
1<?xml version="1.0" ?><notifications> 1<?xml version="1.0" ?><notifications>
2 2
3<global name="VIEWER_NAME">Imprudence</global> 3<global name="VIEWER_NAME">Imprudence</global>
4<global name="VIEWER_SITE">imprudenceviewer.org</global> 4<global name="VIEWER_SITE">kokuaviewer.org</global>
5<global name="SECOND_LIFE">Second Life</global> 5<global name="SECOND_LIFE">Second Life</global>
6<global name="SECOND_LIFE_SITE">secondlife.com</global> 6<global name="SECOND_LIFE_SITE">secondlife.com</global>
7 7
@@ -6870,7 +6870,7 @@ The region you have entered is running a different simulator version. Click this
6870 icon="notify.tga" 6870 icon="notify.tga"
6871 name="QueryClientTags" 6871 name="QueryClientTags"
6872 type="notify"> 6872 type="notify">
6873Would you like to have the client tag database automatically updated from imprudenceviewer.org? 6873Would you like to have the client tag database automatically updated from kokuaviewer.org?
6874 6874
6875This ensures that you have the latest information available regarding other clients. 6875This ensures that you have the latest information available regarding other clients.
6876 <form name="form"> 6876 <form name="form">
@@ -6942,7 +6942,7 @@ GRAVITY -- -9.8
6942 6942
6943For information about this feature, click "More Info". 6943For information about this feature, click "More Info".
6944 <url option="1" name="url"> 6944 <url option="1" name="url">
6945 http://imprudenceviewer.org/wiki/Build_Math_Expressions 6945 http://wiki.kokuaviewer.org/wiki/Imprudence:Build_Math_Expressions
6946 </url> 6946 </url>
6947 <usetemplate 6947 <usetemplate
6948 name="okhelpbuttons" 6948 name="okhelpbuttons"
@@ -6971,7 +6971,7 @@ GLOW -- Glow
6971 6971
6972For information about this feature, click "More Info". 6972For information about this feature, click "More Info".
6973 <url option="1" name="url"> 6973 <url option="1" name="url">
6974 http://imprudenceviewer.org/wiki/Build_Math_Expressions 6974 http://wiki.kokuaviewer.org/wiki/Imprudence:Build_Math_Expressions
6975 </url> 6975 </url>
6976 <usetemplate 6976 <usetemplate
6977 name="okhelpbuttons" 6977 name="okhelpbuttons"
@@ -7088,7 +7088,7 @@ WARNING: Don't restore if you aren't sure where the object will go!
7088 7088
7089For information about this feature, click "More Info". 7089For information about this feature, click "More Info".
7090 <url option="1" name="url"> 7090 <url option="1" name="url">
7091 http://imprudenceviewer.org/wiki/Restore_to_Last_Position 7091 http://wiki.kokuaviewer.org/wiki/Imprudence:Restore_to_Last_Position
7092 </url> 7092 </url>
7093 <usetemplate 7093 <usetemplate
7094 name="okcancelhelpignore" 7094 name="okcancelhelpignore"
@@ -7285,22 +7285,20 @@ The new font will appear after you restart [VIEWER_NAME].
7285</notification> 7285</notification>
7286 7286
7287<notification 7287<notification
7288 icon="alertmodal.tga"
7289 name="FirstPrivacy" 7288 name="FirstPrivacy"
7289 icon="alertmodal.tga"
7290 type="alertmodal"> 7290 type="alertmodal">
7291Terms of service of the grid you are connecting to require sending a "statistics packet" every 5 minutes. 7291Attention: The Second Life Terms of Service require that all viewers, including the Imprudence Viewer, send a "statistics packet" to Linden Lab every 5 minutes while you are connected to Second Life.
7292That is for example: Data about your hardware (CPU, RAM), number of avatars around, number of sims visited. 7292
7293Please check *the grids* privacy policy about usage of that data. 7293The packet includes non-personally-identifying data about your computer and your Second Life usage, such as your computer hardware and operating system, average framerate, number of sims visited, number of avatars nearby, and more. Please check the Second Life Privacy Policy for information about how Linden Lab uses this and other data.
7294 <form name="form"> 7294
7295 <button 7295The packet is sent only to Linden Lab; the Imprudence Project does not receive or collect any data of this kind.
7296 index="0" 7296
7297 name="ok" 7297The Second Life Terms of Service do not allow you to opt out. By logging in to Second Life, you are consenting to this data collection.
7298 text="Login anyway"/> 7298 <usetemplate
7299 <button 7299 name="okcancelbuttons"
7300 index="1" 7300 yestext="Log In"
7301 name="notok" 7301 notext="Cancel"/>
7302 text="Do not log in"/>
7303 </form>
7304</notification> 7302</notification>
7305 7303
7306<!--End Imprudence notifications--> 7304<!--End Imprudence notifications-->
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_login.xml b/linden/indra/newview/skins/default/xui/en-us/panel_login.xml
index 048005d..16dd4ad 100644
--- a/linden/indra/newview/skins/default/xui/en-us/panel_login.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_login.xml
@@ -5,7 +5,7 @@
5 follows="left|top|right|bottom" mouse_opaque="true" > 5 follows="left|top|right|bottom" mouse_opaque="true" >
6 6
7 <web_browser name="login_html" 7 <web_browser name="login_html"
8 bottom="0" top="-1" left="0" right="-1" 8 bottom="102" top="-1" left="0" right="-1"
9 border_visible="false" follows="top|left|bottom|right" 9 border_visible="false" follows="top|left|bottom|right"
10 start_url="data:text/html, 10 start_url="data:text/html,
11 %3Chtml%3E 11 %3Chtml%3E
@@ -33,7 +33,7 @@
33 <!-- START LOCATION --> 33 <!-- START LOCATION -->
34 34
35 <text name="start_location_text" 35 <text name="start_location_text"
36 bottom="8" left="10" height="16" right="115" 36 bottom="32" left="10" height="16" right="115"
37 follows="left|bottom" h_pad="0" halign="right" v_pad="0" 37 follows="left|bottom" h_pad="0" halign="right" v_pad="0"
38 bg_visible="false" drop_shadow_visible="true" 38 bg_visible="false" drop_shadow_visible="true"
39 border_visible="false" border_drop_shadow_visible="false" 39 border_visible="false" border_drop_shadow_visible="false"
@@ -59,7 +59,7 @@
59 <!-- FIRST NAME --> 59 <!-- FIRST NAME -->
60 60
61 <text name="first_name_text" 61 <text name="first_name_text"
62 bottom="56" left="24" height="16" width="120" 62 bottom="80" left="24" height="16" width="120"
63 follows="left|bottom" h_pad="0" halign="left" v_pad="0" 63 follows="left|bottom" h_pad="0" halign="left" v_pad="0"
64 bg_visible="false" drop_shadow_visible="true" 64 bg_visible="false" drop_shadow_visible="true"
65 border_visible="false" border_drop_shadow_visible="false" 65 border_visible="false" border_drop_shadow_visible="false"
@@ -123,7 +123,7 @@
123 <!-- GRIDS --> 123 <!-- GRIDS -->
124 124
125 <text name="grid_text" 125 <text name="grid_text"
126 bottom="56" left_delta="150" height="16" width="120" 126 bottom="80" left_delta="150" height="16" width="120"
127 follows="left|bottom" h_pad="0" halign="left" v_pad="0" 127 follows="left|bottom" h_pad="0" halign="left" v_pad="0"
128 bg_visible="false" drop_shadow_visible="true" 128 bg_visible="false" drop_shadow_visible="true"
129 border_visible="false" border_drop_shadow_visible="false" 129 border_visible="false" border_drop_shadow_visible="false"
@@ -143,7 +143,7 @@
143 <!-- LOG IN --> 143 <!-- LOG IN -->
144 144
145 <button name="connect_btn" label="Log In" 145 <button name="connect_btn" label="Log In"
146 bottom="34" left_delta="140" height="24" width="120" 146 bottom="58" left_delta="140" height="24" width="120"
147 follows="left|bottom" font="SansSerif" halign="center" 147 follows="left|bottom" font="SansSerif" halign="center"
148 mouse_opaque="true" scale_image="TRUE" /> 148 mouse_opaque="true" scale_image="TRUE" />
149 149
@@ -151,7 +151,7 @@
151 <!-- ACCOUNT / FORGOT PASSWORD --> 151 <!-- ACCOUNT / FORGOT PASSWORD -->
152 152
153 <text name="create_new_account_text" 153 <text name="create_new_account_text"
154 bottom="45" left="-210" height="16" width="200" 154 bottom="69" left="-210" height="16" width="200"
155 follows="right|bottom" h_pad="0" halign="right" v_pad="0" 155 follows="right|bottom" h_pad="0" halign="right" v_pad="0"
156 bg_visible="false" drop_shadow_visible="true" 156 bg_visible="false" drop_shadow_visible="true"
157 border_visible="false" border_drop_shadow_visible="false" 157 border_visible="false" border_drop_shadow_visible="false"
@@ -161,7 +161,7 @@
161 </text> 161 </text>
162 162
163 <text name="forgot_password_text" 163 <text name="forgot_password_text"
164 bottom="25" left="-210" height="16" width="200" 164 bottom="49" left="-210" height="16" width="200"
165 follows="right|bottom" h_pad="0" halign="right" v_pad="0" 165 follows="right|bottom" h_pad="0" halign="right" v_pad="0"
166 bg_visible="false" drop_shadow_visible="true" 166 bg_visible="false" drop_shadow_visible="true"
167 border_visible="false" border_drop_shadow_visible="false" 167 border_visible="false" border_drop_shadow_visible="false"
@@ -174,7 +174,7 @@
174 <!-- CHANNEL & VERSION --> 174 <!-- CHANNEL & VERSION -->
175 175
176 <text name="channel_text" 176 <text name="channel_text"
177 bottom="5" left="-310" height="16" width="300" 177 bottom="29" left="-310" height="16" width="300"
178 follows="right|bottom" h_pad="0" halign="right" v_pad="0" 178 follows="right|bottom" h_pad="0" halign="right" v_pad="0"
179 bg_visible="false" drop_shadow_visible="true" 179 bg_visible="false" drop_shadow_visible="true"
180 border_visible="false" border_drop_shadow_visible="false" 180 border_visible="false" border_drop_shadow_visible="false"
@@ -182,4 +182,11 @@
182 hover="true" hover_color="50 115 185"> 182 hover="true" hover_color="50 115 185">
183 [CHANNEL] [VERSION] 183 [CHANNEL] [VERSION]
184 </text> 184 </text>
185
186
187 <web_browser name="news_bar"
188 bottom="0" top="20" left="0" right="-1"
189 border_visible="true" follows="left|bottom|right"
190 start_url="data:text/html,%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody bgcolor=%22#000%22%3E%3C/body%3E%3C/html%3E" />
191
185</panel> 192</panel>
diff --git a/linden/indra/win_updater/updater.cpp b/linden/indra/win_updater/updater.cpp
index c6fa3c8..8c26ade 100644
--- a/linden/indra/win_updater/updater.cpp
+++ b/linden/indra/win_updater/updater.cpp
@@ -459,7 +459,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
459 L"The Imprudence auto-update has failed.\n" 459 L"The Imprudence auto-update has failed.\n"
460 L"The problem may be caused by other software installed \n" 460 L"The problem may be caused by other software installed \n"
461 L"on your computer, such as a firewall.\n" 461 L"on your computer, such as a firewall.\n"
462 L"Please visit http://imprudenceviewer.org/download/ \n" 462 L"Please visit http://wiki.kokuaviewer.org/wiki/Imprudence:Downloads \n"
463 L"to download the latest version of Imprudence.\n", 463 L"to download the latest version of Imprudence.\n",
464 NULL, MB_OK); 464 NULL, MB_OK);
465 return 1; 465 return 1;