diff options
author | Jacek Antonelli | 2008-08-15 23:45:18 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:18 -0500 |
commit | 8241b4d734ad553948c801164f5d2cd5fee1becd (patch) | |
tree | b8fd3c57f139f81b36e2c9aea8c0d7b2b2f225d0 /linden | |
parent | Second Life viewer sources 1.18.5.2-RC (diff) | |
download | meta-impy-8241b4d734ad553948c801164f5d2cd5fee1becd.zip meta-impy-8241b4d734ad553948c801164f5d2cd5fee1becd.tar.gz meta-impy-8241b4d734ad553948c801164f5d2cd5fee1becd.tar.bz2 meta-impy-8241b4d734ad553948c801164f5d2cd5fee1becd.tar.xz |
Second Life viewer sources 1.18.5.3
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llversionviewer.h | 2 | ||||
-rw-r--r-- | linden/indra/llui/lltexteditor.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/English.lproj/InfoPlist.strings | 4 | ||||
-rw-r--r-- | linden/indra/newview/Info-SecondLife.plist | 2 | ||||
-rw-r--r-- | linden/indra/newview/llpaneldirfind.cpp | 35 | ||||
-rw-r--r-- | linden/indra/newview/llpanelplace.cpp | 7 | ||||
-rw-r--r-- | linden/indra/newview/llwebbrowserctrl.cpp | 13 | ||||
-rw-r--r-- | linden/indra/newview/macview.xcodeproj/project.pbxproj | 9 | ||||
-rw-r--r-- | linden/indra/newview/releasenotes.txt | 49 | ||||
-rw-r--r-- | linden/indra/newview/res/newViewRes.rc | 8 |
10 files changed, 66 insertions, 65 deletions
diff --git a/linden/indra/llcommon/llversionviewer.h b/linden/indra/llcommon/llversionviewer.h index e24c38b..1df8a89 100644 --- a/linden/indra/llcommon/llversionviewer.h +++ b/linden/indra/llcommon/llversionviewer.h | |||
@@ -35,7 +35,7 @@ | |||
35 | const S32 LL_VERSION_MAJOR = 1; | 35 | const S32 LL_VERSION_MAJOR = 1; |
36 | const S32 LL_VERSION_MINOR = 18; | 36 | const S32 LL_VERSION_MINOR = 18; |
37 | const S32 LL_VERSION_PATCH = 5; | 37 | const S32 LL_VERSION_PATCH = 5; |
38 | const S32 LL_VERSION_BUILD = 2; | 38 | const S32 LL_VERSION_BUILD = 3; |
39 | 39 | ||
40 | const char * const LL_CHANNEL = "Second Life Release"; | 40 | const char * const LL_CHANNEL = "Second Life Release"; |
41 | 41 | ||
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp index 1f13bbb..200cf29 100644 --- a/linden/indra/llui/lltexteditor.cpp +++ b/linden/indra/llui/lltexteditor.cpp | |||
@@ -4202,7 +4202,7 @@ BOOL LLTextEditor::findHTML(const LLString &line, S32 *begin, S32 *end) | |||
4202 | m2 = line.substr(*begin,(m1 - *begin)).find("http"); | 4202 | m2 = line.substr(*begin,(m1 - *begin)).find("http"); |
4203 | m3 = line.substr(*begin,(m1 - *begin)).find("secondlife"); | 4203 | m3 = line.substr(*begin,(m1 - *begin)).find("secondlife"); |
4204 | 4204 | ||
4205 | LLString badneighbors=".,<>/?';\"][}{=-+_)(*&^%$#@!~`\t\r\n\\"; | 4205 | LLString badneighbors=".,<>?';\"][}{=-+_)(*&^%$#@!~`\t\r\n\\"; |
4206 | 4206 | ||
4207 | if (m2 >= 0 || m3>=0) | 4207 | if (m2 >= 0 || m3>=0) |
4208 | { | 4208 | { |
diff --git a/linden/indra/newview/English.lproj/InfoPlist.strings b/linden/indra/newview/English.lproj/InfoPlist.strings index 9dfdda9..da89514 100644 --- a/linden/indra/newview/English.lproj/InfoPlist.strings +++ b/linden/indra/newview/English.lproj/InfoPlist.strings | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Localized versions of Info.plist keys */ | 1 | /* Localized versions of Info.plist keys */ |
2 | 2 | ||
3 | CFBundleName = "Second Life"; | 3 | CFBundleName = "Second Life"; |
4 | CFBundleShortVersionString = "Second Life version 1.18.5.2"; | 4 | CFBundleShortVersionString = "Second Life version 1.18.5.3"; |
5 | CFBundleGetInfoString = "Second Life version 1.18.5.2, Copyright 2004-2007 Linden Research, Inc."; | 5 | CFBundleGetInfoString = "Second Life version 1.18.5.3, Copyright 2004-2007 Linden Research, Inc."; |
diff --git a/linden/indra/newview/Info-SecondLife.plist b/linden/indra/newview/Info-SecondLife.plist index fac66b8..427651c 100644 --- a/linden/indra/newview/Info-SecondLife.plist +++ b/linden/indra/newview/Info-SecondLife.plist | |||
@@ -32,7 +32,7 @@ | |||
32 | </dict> | 32 | </dict> |
33 | </array> | 33 | </array> |
34 | <key>CFBundleVersion</key> | 34 | <key>CFBundleVersion</key> |
35 | <string>1.18.5.2</string> | 35 | <string>1.18.5.3</string> |
36 | <key>CSResourcesFileMapped</key> | 36 | <key>CSResourcesFileMapped</key> |
37 | <true/> | 37 | <true/> |
38 | </dict> | 38 | </dict> |
diff --git a/linden/indra/newview/llpaneldirfind.cpp b/linden/indra/newview/llpaneldirfind.cpp index 591f06d..3dd419f 100644 --- a/linden/indra/newview/llpaneldirfind.cpp +++ b/linden/indra/newview/llpaneldirfind.cpp | |||
@@ -182,23 +182,36 @@ void LLPanelDirFindAll::search(const std::string& search_text) | |||
182 | // Replace spaces with "+" for use by Google search appliance | 182 | // Replace spaces with "+" for use by Google search appliance |
183 | // Yes, this actually works for double-spaces | 183 | // Yes, this actually works for double-spaces |
184 | // " foo bar" becomes "+foo++bar" and works fine. JC | 184 | // " foo bar" becomes "+foo++bar" and works fine. JC |
185 | std::string query = search_text; | 185 | |
186 | std::string::iterator it = query.begin(); | 186 | // Since we are already iterating over the query, |
187 | for ( ; it != query.end(); ++it ) | 187 | // do our own custom escaping here. |
188 | |||
189 | // Our own special set of allowed chars (RFC1738 http://www.ietf.org/rfc/rfc1738.txt) | ||
190 | const char* allowed = | ||
191 | "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" | ||
192 | "0123456789" | ||
193 | "-._~$+!*'()"; | ||
194 | |||
195 | std::string query; | ||
196 | std::string::const_iterator it = search_text.begin(); | ||
197 | for ( ; it != search_text.end(); ++it ) | ||
188 | { | 198 | { |
189 | if ( std::isspace( *it ) ) | 199 | if ( std::isspace( *it ) ) |
190 | { | 200 | { |
191 | *it = '+'; | 201 | query += '+'; |
202 | } | ||
203 | else if(strchr(allowed,*it)) | ||
204 | { | ||
205 | // The character is in the allowed set, just copy it | ||
206 | query += *it; | ||
207 | } | ||
208 | else | ||
209 | { | ||
210 | // Do escaping | ||
211 | query += llformat("%%%02X", *it); | ||
192 | } | 212 | } |
193 | } | 213 | } |
194 | 214 | ||
195 | // If user types "%" into search, it builds a bogus URL. | ||
196 | // Try to work around that. It's not a security problem | ||
197 | // as far as I can tell -- we MySQL escape database queries | ||
198 | // on the server. Do this after "+" substitution because | ||
199 | // "+" is an allowed character. | ||
200 | query = LLURI::escape(query); | ||
201 | |||
202 | std::string url = gSavedSettings.getString("SearchURLQuery"); | 215 | std::string url = gSavedSettings.getString("SearchURLQuery"); |
203 | std::string substring = "[QUERY]"; | 216 | std::string substring = "[QUERY]"; |
204 | url.replace(url.find(substring), substring.length(), query); | 217 | url.replace(url.find(substring), substring.length(), query); |
diff --git a/linden/indra/newview/llpanelplace.cpp b/linden/indra/newview/llpanelplace.cpp index 8825ce7..a05f712 100644 --- a/linden/indra/newview/llpanelplace.cpp +++ b/linden/indra/newview/llpanelplace.cpp | |||
@@ -390,13 +390,6 @@ void LLPanelPlace::onClickTeleport(void* data) | |||
390 | void LLPanelPlace::onClickMap(void* data) | 390 | void LLPanelPlace::onClickMap(void* data) |
391 | { | 391 | { |
392 | LLPanelPlace* self = (LLPanelPlace*)data; | 392 | LLPanelPlace* self = (LLPanelPlace*)data; |
393 | LLView* parent_viewp = self->getParent(); | ||
394 | if (parent_viewp->getWidgetType() == WIDGET_TYPE_FLOATER) | ||
395 | { | ||
396 | LLFloater* parent_floaterp = (LLFloater*)parent_viewp; | ||
397 | parent_floaterp->close(); | ||
398 | } | ||
399 | |||
400 | if (!self->mPosGlobal.isExactlyZero()) | 393 | if (!self->mPosGlobal.isExactlyZero()) |
401 | { | 394 | { |
402 | gFloaterWorldMap->trackLocation(self->mPosGlobal); | 395 | gFloaterWorldMap->trackLocation(self->mPosGlobal); |
diff --git a/linden/indra/newview/llwebbrowserctrl.cpp b/linden/indra/newview/llwebbrowserctrl.cpp index 879d229..7fedc4c 100644 --- a/linden/indra/newview/llwebbrowserctrl.cpp +++ b/linden/indra/newview/llwebbrowserctrl.cpp | |||
@@ -66,8 +66,8 @@ LLWebBrowserCtrl::LLWebBrowserCtrl( const std::string& name, const LLRect& rect | |||
66 | mIgnoreUIScale( true ), | 66 | mIgnoreUIScale( true ), |
67 | mAlwaysRefresh( false ) | 67 | mAlwaysRefresh( false ) |
68 | { | 68 | { |
69 | S32 screen_width = mIgnoreUIScale ? llround((F32)mRect.getWidth() * LLUI::sGLScaleFactor.mV[VX]) : mRect.getWidth(); | 69 | S32 screen_width = mIgnoreUIScale ? llround((F32)mRect.getWidth() * LLUI::sGLScaleFactor.mV[VX]) : llround((F32)mRect.getWidth() * gViewerWindow->getDisplayScale().mV[VX]); |
70 | S32 screen_height = mIgnoreUIScale ? llround((F32)mRect.getHeight() * LLUI::sGLScaleFactor.mV[VY]) : mRect.getHeight(); | 70 | S32 screen_height = mIgnoreUIScale ? llround((F32)mRect.getHeight() * LLUI::sGLScaleFactor.mV[VY]) : llround((F32)mRect.getHeight() * gViewerWindow->getDisplayScale().mV[VY]); |
71 | 71 | ||
72 | // create a new browser window | 72 | // create a new browser window |
73 | { | 73 | { |
@@ -322,8 +322,9 @@ void LLWebBrowserCtrl::onVisibilityChange ( BOOL new_visibility ) | |||
322 | // | 322 | // |
323 | void LLWebBrowserCtrl::reshape( S32 width, S32 height, BOOL called_from_parent ) | 323 | void LLWebBrowserCtrl::reshape( S32 width, S32 height, BOOL called_from_parent ) |
324 | { | 324 | { |
325 | S32 screen_width = mIgnoreUIScale ? llround((F32)width * LLUI::sGLScaleFactor.mV[VX]) : width; | 325 | S32 screen_width = mIgnoreUIScale ? llround((F32)width * LLUI::sGLScaleFactor.mV[VX]) : llround((F32)width * gViewerWindow->getDisplayScale().mV[VX]); |
326 | S32 screen_height = mIgnoreUIScale ? llround((F32)height * LLUI::sGLScaleFactor.mV[VX]) : height; | 326 | S32 screen_height = mIgnoreUIScale ? llround((F32)height * LLUI::sGLScaleFactor.mV[VY]) : llround((F32)height * gViewerWindow->getDisplayScale().mV[VY]); |
327 | |||
327 | // when floater is minimized, these sizes are negative | 328 | // when floater is minimized, these sizes are negative |
328 | if ( screen_height > 0 && screen_width > 0 ) | 329 | if ( screen_height > 0 && screen_width > 0 ) |
329 | { | 330 | { |
@@ -500,8 +501,8 @@ void LLWebBrowserCtrl::draw() | |||
500 | 501 | ||
501 | void LLWebBrowserCtrl::convertInputCoords(S32& x, S32& y) | 502 | void LLWebBrowserCtrl::convertInputCoords(S32& x, S32& y) |
502 | { | 503 | { |
503 | x = mIgnoreUIScale ? llround((F32)x * LLUI::sGLScaleFactor.mV[VX]) : x; | 504 | x = mIgnoreUIScale ? llround((F32)x * LLUI::sGLScaleFactor.mV[VX]) : llround((F32)x * gViewerWindow->getDisplayScale().mV[VX]); |
504 | y = mIgnoreUIScale ? llround((F32)(mRect.getHeight() - y) * LLUI::sGLScaleFactor.mV[VY]) : (mRect.getHeight() - y); | 505 | y = mIgnoreUIScale ? llround((F32)(mRect.getHeight() - y) * LLUI::sGLScaleFactor.mV[VY]) : llround((F32)(mRect.getHeight() - y) * gViewerWindow->getDisplayScale().mV[VY]); |
505 | } | 506 | } |
506 | 507 | ||
507 | //////////////////////////////////////////////////////////////////////////////// | 508 | //////////////////////////////////////////////////////////////////////////////// |
diff --git a/linden/indra/newview/macview.xcodeproj/project.pbxproj b/linden/indra/newview/macview.xcodeproj/project.pbxproj index d1c572f..c3a4b0a 100644 --- a/linden/indra/newview/macview.xcodeproj/project.pbxproj +++ b/linden/indra/newview/macview.xcodeproj/project.pbxproj | |||
@@ -4942,17 +4942,20 @@ | |||
4942 | target = 99CDED4905E70BAB0000F8AA /* llcommon */; | 4942 | target = 99CDED4905E70BAB0000F8AA /* llcommon */; |
4943 | targetProxy = D64593570B3B4D8500FAB68F /* PBXContainerItemProxy */; | 4943 | targetProxy = D64593570B3B4D8500FAB68F /* PBXContainerItemProxy */; |
4944 | }; | 4944 | }; |
4945 | D64E29CE0B4B288600963559 /* PBXTargetDependency */ = { | ||
4946 | isa = PBXTargetDependency; | ||
4947 | }; | ||
4948 | FD53B40C09BDFD3E00BFE3BC /* PBXTargetDependency */ = { | 4945 | FD53B40C09BDFD3E00BFE3BC /* PBXTargetDependency */ = { |
4949 | isa = PBXTargetDependency; | 4946 | isa = PBXTargetDependency; |
4947 | target = FD53B40509BDF9F600BFE3BC /* third party libs */; | ||
4948 | targetProxy = FD53B40B09BDFD3E00BFE3BC /* PBXContainerItemProxy */; | ||
4950 | }; | 4949 | }; |
4951 | FD53B41009BDFD5300BFE3BC /* PBXTargetDependency */ = { | 4950 | FD53B41009BDFD5300BFE3BC /* PBXTargetDependency */ = { |
4952 | isa = PBXTargetDependency; | 4951 | isa = PBXTargetDependency; |
4952 | target = FD53B40509BDF9F600BFE3BC /* third party libs */; | ||
4953 | targetProxy = FD53B40F09BDFD5300BFE3BC /* PBXContainerItemProxy */; | ||
4953 | }; | 4954 | }; |
4954 | FD53B41209BDFD5A00BFE3BC /* PBXTargetDependency */ = { | 4955 | FD53B41209BDFD5A00BFE3BC /* PBXTargetDependency */ = { |
4955 | isa = PBXTargetDependency; | 4956 | isa = PBXTargetDependency; |
4957 | target = FD53B40509BDF9F600BFE3BC /* third party libs */; | ||
4958 | targetProxy = FD53B41109BDFD5A00BFE3BC /* PBXContainerItemProxy */; | ||
4956 | }; | 4959 | }; |
4957 | /* End PBXTargetDependency section */ | 4960 | /* End PBXTargetDependency section */ |
4958 | 4961 | ||
diff --git a/linden/indra/newview/releasenotes.txt b/linden/indra/newview/releasenotes.txt index d98a14c..72288b8 100644 --- a/linden/indra/newview/releasenotes.txt +++ b/linden/indra/newview/releasenotes.txt | |||
@@ -1,38 +1,29 @@ | |||
1 | Release Notes for Second Life 1.18.5(2) November 21, 2007 | 1 | Release Notes for Second Life 1.18.5(3) November 29, 2007 |
2 | ===================================== | ||
3 | Changes: | ||
4 | * Permissions request dialogue boxes are now throttled to prevent griefing | ||
5 | * Additional localization work on xml files for Japanese, Korean, and German. | ||
6 | |||
7 | Bug fixes: | ||
8 | * Fixed various XML errors related to the search feature, Windows & Linux only | ||
9 | * Fixed VWR-3064: Land Search does not show Description Text for any parcel selected in Search | ||
10 | * Fixed VWR-3084: Dramatic drop in frame rate after the first use of the new search engine. | ||
11 | * Fixed VWR-3200: Classifieds Statistics in profile are broken | ||
12 | |||
13 | Release Notes for Second Life 1.18.5(1) November 16, 2007 | ||
14 | ===================================== | ||
15 | Changes: | ||
16 | * Search button always enabled in Search All panel | ||
17 | ** Empty searches show the classifieds splash page | ||
18 | * Teleport is the first option listed for landmarks in inventory | ||
19 | |||
20 | Bug fixes: | ||
21 | * Fixed search turning transparent instead of minimizing | ||
22 | * Fixed VWR-3073: Right-clicking someone's attachments to view profile loads (???) (???) instead | ||
23 | |||
24 | Release Notes for Second Life 1.18.5(0) November 13, 2007 | ||
25 | ===================================== | 2 | ===================================== |
26 | New features: | 3 | New features: |
27 | * New inworld search via the 'All' tab | 4 | * New inworld search via the 'All' tab |
28 | ** Includes improved search functionality on land parcels, profiles, groups, wiki documents, events, classifieds, and some individual objects | 5 | ** Includes improved search functionality on land parcels, profiles, groups, wiki documents, events, classifieds, and some individual objects |
29 | ** Classifieds are returned both within and next to search results | 6 | ** Classifieds are returned both within and next to search results |
30 | 7 | ||
31 | Bug fixes: | 8 | Changes: |
32 | * Fixed avatar turning in Appearance mode | 9 | * slurls with 3 slashes (secondlife:///app....) are now highlighted in the text window |
33 | * Fixed Lag Meter metrics for non-USA residents | 10 | * UI elements placement/sizing updated to accommodate localized versions of Second Life viewer |
34 | * Fixed open source build issues | 11 | * Korean text displays correctly on Leopard (Mac OS X 10.5) |
35 | * Fixed Korean text display on Mac OSX 10.5 | 12 | * Permissions dialogs are now throttled to avoid griefing |
13 | |||
14 | Fixes: | ||
15 | * Public source bundle not getting all ares libs | ||
16 | * VWR-2959: Windows (Visual Studio) solution file refers to a non-existing project "build_all" | ||
17 | * VWR-2551: Error in macview.xcodeproj -- invalid dependencies | ||
18 | * VWR-2856: libs package missing c-ares | ||
19 | * VWR-3073: Right-clicking someone's attachments to view profile loads (???) (???) instead | ||
20 | * VWR-592: crash in LLTemplateMessageBuilder::addString | ||
21 | * VWR-2826: Several problems on handling Japanese input (and possiblly Chinese/Korean also) | ||
22 | * VWR-2834: Builds fail on 1.18.4.0 with no mozlib | ||
23 | * VWR-2030: Avatar only turns half-way in Appearance Mode | ||
24 | * VWR-2803: Lag Meter network ping metric doesn't account for residents outside the USA | ||
25 | * VWR-3311: Web UI elements' focus rectangle are offset from their displayed position | ||
26 | |||
36 | 27 | ||
37 | Release Notes for Second Life 1.18.4(3) November 7, 2007 | 28 | Release Notes for Second Life 1.18.4(3) November 7, 2007 |
38 | ===================================== | 29 | ===================================== |
diff --git a/linden/indra/newview/res/newViewRes.rc b/linden/indra/newview/res/newViewRes.rc index fe21ed9..a3dfa72 100644 --- a/linden/indra/newview/res/newViewRes.rc +++ b/linden/indra/newview/res/newViewRes.rc | |||
@@ -228,8 +228,8 @@ TOOLPIPETTE CURSOR "toolpipette.cur" | |||
228 | // | 228 | // |
229 | 229 | ||
230 | VS_VERSION_INFO VERSIONINFO | 230 | VS_VERSION_INFO VERSIONINFO |
231 | FILEVERSION 1,18,5,2 | 231 | FILEVERSION 1,18,5,3 |
232 | PRODUCTVERSION 1,18,5,2 | 232 | PRODUCTVERSION 1,18,5,3 |
233 | FILEFLAGSMASK 0x3fL | 233 | FILEFLAGSMASK 0x3fL |
234 | #ifdef _DEBUG | 234 | #ifdef _DEBUG |
235 | FILEFLAGS 0x1L | 235 | FILEFLAGS 0x1L |
@@ -246,12 +246,12 @@ BEGIN | |||
246 | BEGIN | 246 | BEGIN |
247 | VALUE "CompanyName", "Linden Lab" | 247 | VALUE "CompanyName", "Linden Lab" |
248 | VALUE "FileDescription", "Second Life" | 248 | VALUE "FileDescription", "Second Life" |
249 | VALUE "FileVersion", "1.18.5.2" | 249 | VALUE "FileVersion", "1.18.5.3" |
250 | VALUE "InternalName", "Second Life" | 250 | VALUE "InternalName", "Second Life" |
251 | VALUE "LegalCopyright", "Copyright © 2001-2007, Linden Research, Inc." | 251 | VALUE "LegalCopyright", "Copyright © 2001-2007, Linden Research, Inc." |
252 | VALUE "OriginalFilename", "SecondLife.exe" | 252 | VALUE "OriginalFilename", "SecondLife.exe" |
253 | VALUE "ProductName", "Second Life" | 253 | VALUE "ProductName", "Second Life" |
254 | VALUE "ProductVersion", "1.18.5.2" | 254 | VALUE "ProductVersion", "1.18.5.3" |
255 | END | 255 | END |
256 | END | 256 | END |
257 | BLOCK "VarFileInfo" | 257 | BLOCK "VarFileInfo" |