aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:08 -0500
committerJacek Antonelli2008-08-15 23:45:08 -0500
commitd3536025fdb47955c02c897d8274b81d6f8eadbb (patch)
tree36d53aa6bccfad3a267d994d5d99cafb16aed498 /linden/indra/newview
parentSecond Life viewer sources 1.18.3.2-RC (diff)
downloadmeta-impy-d3536025fdb47955c02c897d8274b81d6f8eadbb.zip
meta-impy-d3536025fdb47955c02c897d8274b81d6f8eadbb.tar.gz
meta-impy-d3536025fdb47955c02c897d8274b81d6f8eadbb.tar.bz2
meta-impy-d3536025fdb47955c02c897d8274b81d6f8eadbb.tar.xz
Second Life viewer sources 1.18.3.3-RC
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/English.lproj/InfoPlist.strings4
-rw-r--r--linden/indra/newview/Info-SecondLife.plist2
-rw-r--r--linden/indra/newview/app_settings/keywords.ini2
-rwxr-xr-xlinden/indra/newview/linux_tools/wrapper.sh1
-rw-r--r--linden/indra/newview/llpanelgroupgeneral.cpp47
-rw-r--r--linden/indra/newview/llpanelgroupgeneral.h4
-rw-r--r--linden/indra/newview/lltracker.cpp51
-rw-r--r--linden/indra/newview/newview.vcproj3
-rw-r--r--linden/indra/newview/newview_vc8.vcproj12
-rw-r--r--linden/indra/newview/releasenotes.txt22
-rw-r--r--linden/indra/newview/res/newViewRes.rc8
11 files changed, 101 insertions, 55 deletions
diff --git a/linden/indra/newview/English.lproj/InfoPlist.strings b/linden/indra/newview/English.lproj/InfoPlist.strings
index e622664..0b95b39 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
3CFBundleName = "Second Life"; 3CFBundleName = "Second Life";
4CFBundleShortVersionString = "Second Life version 1.18.3.2"; 4CFBundleShortVersionString = "Second Life version 1.18.3.3";
5CFBundleGetInfoString = "Second Life version 1.18.3.2, Copyright 2004-2007 Linden Research, Inc."; 5CFBundleGetInfoString = "Second Life version 1.18.3.3, Copyright 2004-2007 Linden Research, Inc.";
diff --git a/linden/indra/newview/Info-SecondLife.plist b/linden/indra/newview/Info-SecondLife.plist
index f4ac5c6..e1e04be 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.3.2</string> 35 <string>1.18.3.3</string>
36 <key>CSResourcesFileMapped</key> 36 <key>CSResourcesFileMapped</key>
37 <true/> 37 <true/>
38</dict> 38</dict>
diff --git a/linden/indra/newview/app_settings/keywords.ini b/linden/indra/newview/app_settings/keywords.ini
index 4496ee7..5a68c5b 100644
--- a/linden/indra/newview/app_settings/keywords.ini
+++ b/linden/indra/newview/app_settings/keywords.ini
@@ -149,7 +149,7 @@ PSYS_SRC_PATTERN_ANGLE
149PSYS_SRC_PATTERN_ANGLE_CONE 149PSYS_SRC_PATTERN_ANGLE_CONE
150PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY 150PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY
151 151
152OBJECT_UNKOWN_DETAIL Returned by llGetObjectDetails when passed an invalid object parameter type. 152OBJECT_UNKNOWN_DETAIL Returned by llGetObjectDetails when passed an invalid object parameter type.
153OBJECT_NAME Used with llGetObjectDetails to get an object's name. 153OBJECT_NAME Used with llGetObjectDetails to get an object's name.
154OBJECT_DESC Used with llGetObjectDetails to get an object's description. 154OBJECT_DESC Used with llGetObjectDetails to get an object's description.
155OBJECT_POS Used with llGetObjectDetails to get an object's position. 155OBJECT_POS Used with llGetObjectDetails to get an object's position.
diff --git a/linden/indra/newview/linux_tools/wrapper.sh b/linden/indra/newview/linux_tools/wrapper.sh
index 9adc4d3..fd15f21 100755
--- a/linden/indra/newview/linux_tools/wrapper.sh
+++ b/linden/indra/newview/linux_tools/wrapper.sh
@@ -38,6 +38,7 @@ export LL_GL_BASICEXT=x
38## you're building your own viewer, bear in mind that the executable 38## you're building your own viewer, bear in mind that the executable
39## in the bin directory will be stripped: you should replace it with 39## in the bin directory will be stripped: you should replace it with
40## an unstripped binary before you run. 40## an unstripped binary before you run.
41#export LL_WRAPPER='gdb --args'
41#export LL_WRAPPER='valgrind --smc-check=all --log-file=secondlife.vg --leak-check=full --suppressions=/usr/lib/valgrind/glibc-2.5.supp --suppressions=secondlife-i686.supp' 42#export LL_WRAPPER='valgrind --smc-check=all --log-file=secondlife.vg --leak-check=full --suppressions=/usr/lib/valgrind/glibc-2.5.supp --suppressions=secondlife-i686.supp'
42 43
43## - Avoids an often-buggy X feature that doesn't really benefit us anyway. 44## - Avoids an often-buggy X feature that doesn't really benefit us anyway.
diff --git a/linden/indra/newview/llpanelgroupgeneral.cpp b/linden/indra/newview/llpanelgroupgeneral.cpp
index 8d30f09..1db306d 100644
--- a/linden/indra/newview/llpanelgroupgeneral.cpp
+++ b/linden/indra/newview/llpanelgroupgeneral.cpp
@@ -187,6 +187,7 @@ BOOL LLPanelGroupGeneral::postBuild()
187 { 187 {
188 mSpinEnrollmentFee->setCommitCallback(onCommitAny); 188 mSpinEnrollmentFee->setCommitCallback(onCommitAny);
189 mSpinEnrollmentFee->setCallbackUserData(this); 189 mSpinEnrollmentFee->setCallbackUserData(this);
190 mSpinEnrollmentFee->setPrecision(0);
190 } 191 }
191 192
192 BOOL accept_notices = FALSE; 193 BOOL accept_notices = FALSE;
@@ -484,6 +485,8 @@ bool LLPanelGroupGeneral::apply(LLString& mesg)
484 else 485 else
485 { 486 {
486 gdatap->mMaturePublish = FALSE; 487 gdatap->mMaturePublish = FALSE;
488 // Set to the used value, and reset initial value used for isdirty check
489 mSpinEnrollmentFee->set( (F32)gdatap->mMembershipFee );
487 } 490 }
488 } 491 }
489 if (mCtrlShowInGroupList) gdatap->mShowInList = mCtrlShowInGroupList->get(); 492 if (mCtrlShowInGroupList) gdatap->mShowInList = mCtrlShowInGroupList->get();
@@ -509,6 +512,8 @@ bool LLPanelGroupGeneral::apply(LLString& mesg)
509 mChanged = FALSE; 512 mChanged = FALSE;
510 notifyObservers(); 513 notifyObservers();
511 514
515 notifyObservers();
516
512 return true; 517 return true;
513} 518}
514 519
@@ -811,21 +816,35 @@ void LLPanelGroupGeneral::updateMembers()
811 } 816 }
812} 817}
813 818
814
815void LLPanelGroupGeneral::updateChanged() 819void LLPanelGroupGeneral::updateChanged()
816{ 820{
821 // List all the controls we want to check for changes...
822 LLUICtrl *check_list[] =
823 {
824 mGroupNameEditor,
825 mGroupName,
826 mFounderName,
827 mInsignia,
828 mEditCharter,
829 mCtrlShowInGroupList,
830 mCtrlPublishOnWeb, // To fix after merge: Erase this line, and uncomment the mCtrlListGroup line. -- Soft
831 mCtrlMature,
832 mCtrlOpenEnrollment,
833 mCtrlEnrollmentFee,
834 mSpinEnrollmentFee,
835 mCtrlReceiveNotices,
836// mCtrlListGroup, // To fix after merge: See above comment -- Soft
837 mComboActiveTitle
838 };
839
817 mChanged = FALSE; 840 mChanged = FALSE;
818 if ( mGroupNameEditor )
819 mChanged = mGroupNameEditor->isDirty();
820 if ( mGroupName )
821 mChanged |= mGroupName->isDirty();
822 if ( mFounderName )
823 mChanged |= mFounderName->isDirty();
824 if ( mInsignia )
825 mChanged |= mInsignia->isDirty();
826 if ( mEditCharter )
827 mChanged |= mEditCharter->isDirty();
828// if ( mCtrlReceiveNotices ) // "Receive group notices" is different, see onReceiveNotices()
829// mChanged |= mCtrlReceiveNotices->isDirty();
830}
831 841
842 for( int i= 0; i< sizeof(check_list)/sizeof(*check_list); i++ )
843 {
844 if( check_list[i] && check_list[i]->isDirty() )
845 {
846 mChanged = TRUE;
847 break;
848 }
849 }
850}
diff --git a/linden/indra/newview/llpanelgroupgeneral.h b/linden/indra/newview/llpanelgroupgeneral.h
index a8615b2..07b8752 100644
--- a/linden/indra/newview/llpanelgroupgeneral.h
+++ b/linden/indra/newview/llpanelgroupgeneral.h
@@ -83,7 +83,7 @@ private:
83 std::string mConfirmGroupCreateStr; 83 std::string mConfirmGroupCreateStr;
84 LLUUID mDefaultIconID; 84 LLUUID mDefaultIconID;
85 85
86 // Group information 86 // Group information (include any updates in updateChanged)
87 LLLineEditor *mGroupNameEditor; 87 LLLineEditor *mGroupNameEditor;
88 LLTextBox *mGroupName; 88 LLTextBox *mGroupName;
89 LLNameBox *mFounderName; 89 LLNameBox *mFounderName;
@@ -94,7 +94,7 @@ private:
94 94
95 LLNameListCtrl *mListVisibleMembers; 95 LLNameListCtrl *mListVisibleMembers;
96 96
97 // Options 97 // Options (include any updates in updateChanged)
98 LLCheckBoxCtrl *mCtrlShowInGroupList; 98 LLCheckBoxCtrl *mCtrlShowInGroupList;
99 LLCheckBoxCtrl *mCtrlPublishOnWeb; 99 LLCheckBoxCtrl *mCtrlPublishOnWeb;
100 LLCheckBoxCtrl *mCtrlMature; 100 LLCheckBoxCtrl *mCtrlMature;
diff --git a/linden/indra/newview/lltracker.cpp b/linden/indra/newview/lltracker.cpp
index feb4207..4125bb6 100644
--- a/linden/indra/newview/lltracker.cpp
+++ b/linden/indra/newview/lltracker.cpp
@@ -107,6 +107,15 @@ void LLTracker::stopTracking(void* userdata)
107// static virtual 107// static virtual
108void LLTracker::drawHUDArrow() 108void LLTracker::drawHUDArrow()
109{ 109{
110 /* tracking autopilot destination has been disabled
111 -- 2004.01.09, Leviathan
112 // Draw dot for autopilot target
113 if (gAgent.getAutoPilot())
114 {
115 instance()->drawMarker( gAgent.getAutoPilotTargetGlobal(), gTrackColor );
116 return;
117 }
118 */
110 switch (getTrackingStatus()) 119 switch (getTrackingStatus())
111 { 120 {
112 case TRACKING_AVATAR: 121 case TRACKING_AVATAR:
@@ -470,6 +479,7 @@ void LLTracker::renderBeacon(LLVector3d pos_global,
470 if (dist > 0.99f * gCamera->getFar()) 479 if (dist > 0.99f * gCamera->getFar())
471 { 480 {
472 color_frac = 0.4f; 481 color_frac = 0.4f;
482 // pos_global = gAgent.getCameraPositionGlobal() + 0.99f*(gCamera->getFar()/dist)*to_vec;
473 } 483 }
474 else 484 else
475 { 485 {
@@ -494,6 +504,7 @@ void LLTracker::renderBeacon(LLVector3d pos_global,
494 504
495 draw_shockwave(1024.f, gRenderStartTime.getElapsedTimeF32(), 32, fogged_color); 505 draw_shockwave(1024.f, gRenderStartTime.getElapsedTimeF32(), 32, fogged_color);
496 506
507 //glScalef(1.f, 1.f, 1000.f);
497 glColor4fv(fogged_color.mV); 508 glColor4fv(fogged_color.mV);
498 const U32 BEACON_VERTS = 256; 509 const U32 BEACON_VERTS = 256;
499 const F32 step = 1024.0f/BEACON_VERTS; 510 const F32 step = 1024.0f/BEACON_VERTS;
@@ -543,30 +554,24 @@ void LLTracker::renderBeacon(LLVector3d pos_global,
543 glEnd(); 554 glEnd();
544 } 555 }
545 556
557 //gCylinder.render(1000);
546 glPopMatrix(); 558 glPopMatrix();
547 559
548 if (!gCamera || to_vec.magVec() > gCamera->getFar()) 560 char text[1024]; /* Flawfinder: ignore */
549 { 561 snprintf(text, sizeof(text), "%.0f m", to_vec.magVec()); /* Flawfinder: ignore */
550 hud_textp->clearString();
551 }
552 else
553 {
554 char text[1024]; /* Flawfinder: ignore */
555 snprintf(text, sizeof(text), "%.0f m", to_vec.magVec()); /* Flawfinder: ignore */
556 562
557 LLWString wstr; 563 LLWString wstr;
558 wstr += utf8str_to_wstring(label); 564 wstr += utf8str_to_wstring(label);
559 wstr += '\n'; 565 wstr += '\n';
560 wstr += utf8str_to_wstring(text); 566 wstr += utf8str_to_wstring(text);
561 567
562 hud_textp->setFont(LLFontGL::sSansSerif); 568 hud_textp->setFont(LLFontGL::sSansSerif);
563 hud_textp->setZCompare(FALSE); 569 hud_textp->setZCompare(FALSE);
564 hud_textp->setColor(LLColor4(1.f, 1.f, 1.f, llmax(0.2f, llmin(1.f,(dist-FADE_DIST)/FADE_DIST)))); 570 hud_textp->setColor(LLColor4(1.f, 1.f, 1.f, llmax(0.2f, llmin(1.f,(dist-FADE_DIST)/FADE_DIST))));
565 571
566 hud_textp->setString(wstr); 572 hud_textp->setString(wstr);
567 hud_textp->setVertAlignment(LLHUDText::ALIGN_VERT_CENTER); 573 hud_textp->setVertAlignment(LLHUDText::ALIGN_VERT_CENTER);
568 hud_textp->setPositionAgent(pos_agent); 574 hud_textp->setPositionAgent(pos_agent);
569 }
570} 575}
571 576
572 577
@@ -638,14 +643,6 @@ void LLTracker::drawMarker(const LLVector3d& pos_global, const LLColor4& color)
638 return; 643 return;
639 } 644 }
640 645
641 LLVector3d to_vec = pos_global - gAgent.getCameraPositionGlobal();
642 to_vec.mdV[2] = 0;
643
644 if (to_vec.magVec() > gCamera->getFar())
645 { //only draw arrow if lateral distance to object is less than view distance.
646 return;
647 }
648
649 // get position 646 // get position
650 LLVector3 pos_local = gAgent.getPosAgentFromGlobal(pos_global); 647 LLVector3 pos_local = gAgent.getPosAgentFromGlobal(pos_global);
651 648
diff --git a/linden/indra/newview/newview.vcproj b/linden/indra/newview/newview.vcproj
index 1ae7f8b..726f77a 100644
--- a/linden/indra/newview/newview.vcproj
+++ b/linden/indra/newview/newview.vcproj
@@ -1868,6 +1868,9 @@
1868 RelativePath=".\llpanelaudioprefs.h"> 1868 RelativePath=".\llpanelaudioprefs.h">
1869 </File> 1869 </File>
1870 <File 1870 <File
1871 RelativePath=".\llpanelaudiovolume.h">
1872 </File>
1873 <File
1871 RelativePath=".\llpanelavatar.h"> 1874 RelativePath=".\llpanelavatar.h">
1872 </File> 1875 </File>
1873 <File 1876 <File
diff --git a/linden/indra/newview/newview_vc8.vcproj b/linden/indra/newview/newview_vc8.vcproj
index ba05819..635bb34 100644
--- a/linden/indra/newview/newview_vc8.vcproj
+++ b/linden/indra/newview/newview_vc8.vcproj
@@ -800,6 +800,10 @@
800 > 800 >
801 </File> 801 </File>
802 <File 802 <File
803 RelativePath=".\llfloaterreleasemsg.cpp"
804 >
805 </File>
806 <File
803 RelativePath=".\llfloaterreporter.cpp" 807 RelativePath=".\llfloaterreporter.cpp"
804 > 808 >
805 </File> 809 </File>
@@ -1870,6 +1874,10 @@
1870 > 1874 >
1871 </File> 1875 </File>
1872 <File 1876 <File
1877 RelativePath=".\llassetuploadresponders.h"
1878 >
1879 </File>
1880 <File
1873 RelativePath=".\llappearance.h" 1881 RelativePath=".\llappearance.h"
1874 > 1882 >
1875 </File> 1883 </File>
@@ -2750,6 +2758,10 @@
2750 > 2758 >
2751 </File> 2759 </File>
2752 <File 2760 <File
2761 RelativePath=".\llresourcedata.h"
2762 >
2763 </File>
2764 <File
2753 RelativePath=".\llrig.h" 2765 RelativePath=".\llrig.h"
2754 > 2766 >
2755 </File> 2767 </File>
diff --git a/linden/indra/newview/releasenotes.txt b/linden/indra/newview/releasenotes.txt
index f4d6a8a..a9ea3f3 100644
--- a/linden/indra/newview/releasenotes.txt
+++ b/linden/indra/newview/releasenotes.txt
@@ -1,10 +1,24 @@
1Release Notes for Second Life 1.18.3(3) September 12, 2007
2=====================================
3Changes:
4* Reverted map beacon behavior (per VWR-2270)
5
6LSL changes:
7* VWR-2265: Mis-spelled LSL constant OBJECT_UNKOWN_DETAIL renamed to OBJECT_UNKNOWN_DETAIL
8** Scripts written with the old, mis-spelled constant will not recompile unless corrected
9
10Bug fixes:
11* Enrollment fees are no longer displayed with decimals
12* VWR-2275: Linux 1.18.3 Won't Link
13* VWR-2283: Some changes to groups cannot be saved
14* VWR-2324: llkdu.dll needs updating in RC viewer
15* VWR-2291: LOD defaults are now too aggressive in RC 1.18.3
16* VWR-2307: secondlife startup shell script needs a comment about gdb now
17
18
1Release Notes for Second Life 1.18.3(2) August 27, 2007 19Release Notes for Second Life 1.18.3(2) August 27, 2007
2===================================== 20=====================================
3Changes: 21Changes:
4* Altered beacon behavior
5** The beacon shaft is always drawn
6** The arrow is drawn if the lateral distance to the location being tracked is less than your view distance
7** The text appears if the total distance to the location being tracked is less than your view distance
8* Changed Bug Reporting links to http:// instead of https:// 22* Changed Bug Reporting links to http:// instead of https://
9* Build mode no longer automatically turns on beacons 23* Build mode no longer automatically turns on beacons
10* Removed 'Ping User' in statistics window (was returning 0, as userserver no longer exists) 24* Removed 'Ping User' in statistics window (was returning 0, as userserver no longer exists)
diff --git a/linden/indra/newview/res/newViewRes.rc b/linden/indra/newview/res/newViewRes.rc
index 78267b8..04ed824 100644
--- a/linden/indra/newview/res/newViewRes.rc
+++ b/linden/indra/newview/res/newViewRes.rc
@@ -227,8 +227,8 @@ TOOLPIPETTE CURSOR "toolpipette.cur"
227// 227//
228 228
229VS_VERSION_INFO VERSIONINFO 229VS_VERSION_INFO VERSIONINFO
230 FILEVERSION 1,18,3,2 230 FILEVERSION 1,18,3,3
231 PRODUCTVERSION 1,18,3,2 231 PRODUCTVERSION 1,18,3,3
232 FILEFLAGSMASK 0x3fL 232 FILEFLAGSMASK 0x3fL
233#ifdef _DEBUG 233#ifdef _DEBUG
234 FILEFLAGS 0x1L 234 FILEFLAGS 0x1L
@@ -245,12 +245,12 @@ BEGIN
245 BEGIN 245 BEGIN
246 VALUE "CompanyName", "Linden Lab" 246 VALUE "CompanyName", "Linden Lab"
247 VALUE "FileDescription", "Second Life" 247 VALUE "FileDescription", "Second Life"
248 VALUE "FileVersion", "1.18.3.2" 248 VALUE "FileVersion", "1.18.3.3"
249 VALUE "InternalName", "Second Life" 249 VALUE "InternalName", "Second Life"
250 VALUE "LegalCopyright", "Copyright © 2001-2007, Linden Research, Inc." 250 VALUE "LegalCopyright", "Copyright © 2001-2007, Linden Research, Inc."
251 VALUE "OriginalFilename", "SecondLife.exe" 251 VALUE "OriginalFilename", "SecondLife.exe"
252 VALUE "ProductName", "Second Life" 252 VALUE "ProductName", "Second Life"
253 VALUE "ProductVersion", "1.18.3.2" 253 VALUE "ProductVersion", "1.18.3.3"
254 END 254 END
255 END 255 END
256 BLOCK "VarFileInfo" 256 BLOCK "VarFileInfo"