From ef490e308ccce8e6df85144784a0f4580f5ac6a1 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Sat, 5 Feb 2011 15:58:07 +0100 Subject: Introduces a LLThreadLocalData class that can be accessed through the static LLThread::tldata(). Currently this object contains two (public) thread-local objects: a LLAPRRootPool and a LLVolatileAPRPool. The first is the general memory pool used by this thread (and this thread alone), while the second is intended for short lived memory allocations (needed for APR). The advantages of not mixing those two is that the latter is used most frequently, and as a result of it's nature can be destroyed and reconstructed on a "regular" basis. This patch adds LLAPRPool (completely replacing the old one), which is a wrapper around apr_pool_t* and has complete thread-safity checking. Whenever an apr call requires memory for some resource, a memory pool in the form of an LLAPRPool object can be created with the same life-time as this resource; assuring clean up of the memory no sooner, but also not much later than the life-time of the resource that needs the memory. Many, many function calls and constructors had the pool parameter simply removed (it is no longer the concern of the developer, if you don't write code that actually does an libapr call then you are no longer bothered with memory pools at all). However, I kept the notion of short-lived and long-lived allocations alive (see my remark in the jira here: https://jira.secondlife.com/browse/STORM-864?focusedCommentId=235356&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-235356 which requires that the LLAPRFile API needs to allow the user to specify how long they think a file will stay open. By choosing 'short_lived' as default for the constructor that immediately opens a file, the number of instances where this needs to be specified is drastically reduced however (obviously, any automatic LLAPRFile is short lived). *** Addressed Boroondas remarks in https://codereview.secondlife.com/r/99/ regarding (doxygen) comments. This patch effectively only changes comments. Includes some 'merge' stuff that ended up in llvocache.cpp (while starting as a bug fix, now only resulting in a cleanup). *** Added comment 'The use of apr_pool_t is OK here'. Added this comment on every line where apr_pool_t is correctly being used. This should make it easier to spot (future) errors where someone started to use apr_pool_t; you can just grep all sources for 'apr_pool_t' and immediately see where it's being used while LLAPRPool should have been used. Note that merging this patch is very easy: If there are no other uses of apr_pool_t in the code (one grep) and it compiles, then it will work. *** Second Merge (needed to remove 'delete mCreationMutex' from LLImageDecodeThread::~LLImageDecodeThread). *** Added back #include . Apparently that is needed on libapr version 1.2.8., the version used by Linden Lab, for calls to apr_queue_*. This is a bug in libapr (we also include , that is fixed in (at least) 1.3.7. Note that 1.2.8 is VERY old. Even 1.3.x is old. *** License fixes (GPL -> LGPL). And typo in comments. Addresses merov's comments on the review board. *** Added Merov's compile fixes for windows. --- doc/contributions.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index 8765240caa..03e4978dd0 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -61,11 +61,15 @@ Aimee Trescothick Alejandro Rosenthal VWR-1184 Aleric Inglewood + SNOW-84 SNOW-240 + SNOW-477 SNOW-522 SNOW-626 + SNOW-744 SNOW-756 SNOW-764 + SNOW-766 VWR-10001 VWR-10579 VWR-10759 @@ -86,11 +90,8 @@ Aleric Inglewood VWR-24321 VWR-24354 VWR-24519 - SNOW-84 - SNOW-477 - SNOW-744 - SNOW-766 STORM-163 + STORM-864 Ales Beaumont VWR-9352 SNOW-240 -- cgit v1.3 From 13458a96c7f9b77fe22f831baf418633cc38fad6 Mon Sep 17 00:00:00 2001 From: Boroondas Gupte Date: Wed, 6 Apr 2011 03:33:53 +0200 Subject: contributions.txt entry for OPEN-38 --- doc/contributions.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index 4e91bbdd36..d604cc0d15 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -61,6 +61,7 @@ Aimee Trescothick Alejandro Rosenthal VWR-1184 Aleric Inglewood + OPEN-38 SNOW-240 SNOW-522 SNOW-626 -- cgit v1.3 From c9eae38156b1eafad0c9e3ba5fdf7989b0a8d9db Mon Sep 17 00:00:00 2001 From: Boroondas Gupte Date: Mon, 20 Jun 2011 15:16:27 +0200 Subject: VWR-26066: FIXED request LLFloaterWorldMap child "zoom slider" with correct type LLSliderCtrl instead of LLSlider to get rid of warning when opening map flaoter --- doc/contributions.txt | 1 + indra/newview/llfloaterworldmap.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index c18d3eb171..ccae0de59b 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -125,6 +125,7 @@ blino Nakamura VWR-17 Boroondas Gupte VWR-233 + VWR-26066 WEB-262 Bulli Schumann CT-218 diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index cdc4cbc411..bd68875ba5 100644 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -67,7 +67,7 @@ #include "llappviewer.h" #include "llmapimagetype.h" #include "llweb.h" -#include "llslider.h" +#include "llsliderctrl.h" #include "llglheaders.h" #include "llwindow.h" // copyTextToClipboard() @@ -974,7 +974,7 @@ void LLFloaterWorldMap::adjustZoomSliderBounds() F32 min_power = log(pixels_per_region/256.f)/log(2.f); - getChild("zoom slider")->setMinValue(min_power); + getChild("zoom slider")->setMinValue(min_power); } -- cgit v1.3 From cce5dd64e09eb2f0da039c3e6c4c1ebd7b5aafeb Mon Sep 17 00:00:00 2001 From: Jonathan Yap Date: Sun, 26 Jun 2011 04:59:02 -0400 Subject: STORM-1276 [MULTIPLE LANGS] Text truncation in Email Snapshot floater in Spanish localization --- doc/contributions.txt | 1 + indra/newview/llfloaterpostcard.cpp | 4 ++-- indra/newview/skins/default/xui/en/floater_postcard.xml | 12 ++++++------ 3 files changed, 9 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index b744f4db3e..71c815e00c 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -446,6 +446,7 @@ Jonathan Yap STORM-1313 STORM-899 STORM-1273 + STORM-1276 Kage Pixel VWR-11 Ken March diff --git a/indra/newview/llfloaterpostcard.cpp b/indra/newview/llfloaterpostcard.cpp index dd0b1d999c..3bcbb987f7 100644 --- a/indra/newview/llfloaterpostcard.cpp +++ b/indra/newview/llfloaterpostcard.cpp @@ -137,9 +137,9 @@ void LLFloaterPostcard::draw() // first set the max extents of our preview rect.translate(-rect.mLeft, -rect.mBottom); - rect.mLeft += 280; + rect.mLeft += 320; rect.mRight -= 10; - rect.mTop -= 20; + rect.mTop -= 27; rect.mBottom = rect.mTop - 130; // then fix the aspect ratio diff --git a/indra/newview/skins/default/xui/en/floater_postcard.xml b/indra/newview/skins/default/xui/en/floater_postcard.xml index 8da35e9d7f..c756661ffc 100644 --- a/indra/newview/skins/default/xui/en/floater_postcard.xml +++ b/indra/newview/skins/default/xui/en/floater_postcard.xml @@ -7,11 +7,11 @@ height="380" layout="topleft" min_height="380" - min_width="450" + min_width="490" name="Postcard" help_topic="postcard" title="EMAIL SNAPSHOT" - width="450"> + width="490"> Postcard from [SECOND_LIFE]. @@ -40,7 +40,7 @@ follows="left|top" height="20" layout="topleft" - left_delta="108" + left_delta="148" name="to_form" top_delta="-4" width="150" /> @@ -59,7 +59,7 @@ follows="left|top" height="20" layout="topleft" - left_delta="108" + left_delta="148" name="from_form" top_delta="-4" width="150" /> @@ -78,7 +78,7 @@ follows="left|top" height="20" layout="topleft" - left_delta="108" + left_delta="148" max_length_bytes="100" name="name_form" top_delta="-4" @@ -99,7 +99,7 @@ height="20" label="Type your subject here." layout="topleft" - left_delta="108" + left_delta="148" max_length_bytes="100" name="subject_form" top_delta="-4" -- cgit v1.3 From 912e99906b30c4558b755eb2c9e1c5efbde5e88c Mon Sep 17 00:00:00 2001 From: Boroondas Gupte Date: Thu, 21 Jul 2011 10:49:19 +0200 Subject: Credit Zi: FIRE-543 change fixes SH-489 and VWR-24017 and therefore also VWR-25588 It looks like the parent changeset (86eec7b46566; transplanted from http://hg.phoenixviewer.com/phoenix-firestorm-lgpl/rev/7af0278beaef) fixes the following issues: * SH-489 (object hover text not occluded) * VWR-24017 (nametag / bubblechat not occluded) * VWR-25588 (union of the above two symptopms) Thus list them all under Zi's entry in doc/contributions.txt. Also removed her name from the in-code comment, to adhere to our CS. --- doc/contributions.txt | 3 +++ indra/llrender/llfontgl.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index c8125c675f..ef0383abe9 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -668,12 +668,15 @@ Wilton Lundquist Zarkonnen Decosta VWR-253 Zi Ree + SH-489 VWR-423 VWR-671 VWR-682 VWR-684 VWR-9127 VWR-1140 + VWR-24017 + VWR-25588 Zipherius Turas VWR-76 VWR-77 diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp index 328d520417..d23cb2e151 100644 --- a/indra/llrender/llfontgl.cpp +++ b/indra/llrender/llfontgl.cpp @@ -195,7 +195,7 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons origin.mV[VX] -= llround((F32)sCurOrigin.mX) - (sCurOrigin.mX); origin.mV[VY] -= llround((F32)sCurOrigin.mY) - (sCurOrigin.mY); - // don't forget to do the depth translation, too. -Zi + // don't forget to do the depth translation, too. gGL.translatef(0.f,0.f,sCurOrigin.mZ); S32 chars_drawn = 0; -- cgit v1.3 From 8cc315a1997d98456b33c310ff8010973af3ee93 Mon Sep 17 00:00:00 2001 From: Boroondas Gupte Date: Fri, 22 Jul 2011 00:14:03 +0200 Subject: VWR-26458: fixed typo in German translation: "Hilmmel" instead of "Himmel" --- doc/contributions.txt | 1 + indra/newview/skins/default/xui/de/floater_delete_env_preset.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index 68b0a4279f..8d4e1e1bc4 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -219,6 +219,7 @@ Boroondas Gupte VWR-20891 VWR-23455 VWR-24487 + VWR-26458 WEB-262 Bulli Schumann CT-218 diff --git a/indra/newview/skins/default/xui/de/floater_delete_env_preset.xml b/indra/newview/skins/default/xui/de/floater_delete_env_preset.xml index c924716523..cc14ce640d 100644 --- a/indra/newview/skins/default/xui/de/floater_delete_env_preset.xml +++ b/indra/newview/skins/default/xui/de/floater_delete_env_preset.xml @@ -4,7 +4,7 @@ Wasser-Voreinstellung löschen - Hilmmel-Voreinstellung löschen + Himmel-Voreinstellung löschen Tageszyklus löschen -- cgit v1.3 From 732a6e3c8134cb9bed61612e27fdc02461a28db5 Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Tue, 2 Aug 2011 13:42:41 -0400 Subject: STORM-1534: Derive Credits in About Second Life from doc/ sources --- doc/contributions.txt | 274 ++++++++++++++++++++- doc/translations.txt | 26 ++ indra/newview/llfloaterabout.cpp | 46 +++- .../newview/skins/default/xui/en/floater_about.xml | 53 +++- indra/newview/viewer_manifest.py | 29 +++ 5 files changed, 409 insertions(+), 19 deletions(-) create mode 100644 doc/translations.txt (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index ee56ef3665..0a1c1182f3 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -1,8 +1,8 @@ -Linden Lab would like to acknowledge source code contributions from the +Linden Lab would like to acknowledge contributions from the following residents. The Second Life resident name is given below, -along with the issue identifier corresponding to the patches we've -received from them. +along with the issue identifiers to which they have contributed. +45ms Zhong Able Whitman VWR-650 VWR-1460 @@ -11,10 +11,14 @@ Able Whitman VWR-1813 Adam Marker VWR-2755 +Adeon Writer +Aeonix Aeon Agathos Frascati CT-246 CT-317 CT-352 +Ai Austin +Aiko Ying Aimee Trescothick SNOW-227 SNOW-570 @@ -154,14 +158,18 @@ Alissa Sabre VWR-12620 VWR-12789 SNOW-322 +Alliez Mysterio Angus Boyd VWR-592 Ann Congrejo CT-193 +Annie Milestone +Annika Genezzia Ansariel Hiller STORM-1101 VWR-25480 VWR-26150 +Aralara Rajal Ardy Lay STORM-859 VWR-19499 @@ -170,16 +178,30 @@ Argent Stonecutter VWR-68 Armin Weatherwax VWR-8436 +ArminasX Saiman +Arya Braveheart +Asaeda Meltingdots +Asturkon Jua Asuka Neely VWR-3434 VWR-8179 +Aura Dirval +Avallyn Oakleaf +Avatar Quinzet +BabyA Littlething +Bacchus Ireto Balp Allen VWR-4157 +Bazaar Be Holder SNOW-322 SNOW-397 +Beansy Twine Benja Kepler VWR-746 +Benjamin Bigdipper +Beth Walcher +Bezilon Kasei Biancaluce Robbiani CT-225 CT-226 @@ -190,6 +212,7 @@ Biancaluce Robbiani CT-231 CT-321 CT-352 +Bill Walach Blakar Ogre VWR-418 VWR-881 @@ -199,6 +222,8 @@ Blakar Ogre VWR-2164 blino Nakamura VWR-17 +Blitzckreed Levenque +Borg Capalini Boroondas Gupte OPEN-29 OPEN-39 @@ -221,6 +246,8 @@ Boroondas Gupte VWR-24487 VWR-26066 WEB-262 +Bryn Oh +Buckaroo Mu Bulli Schumann CT-218 CT-219 @@ -235,6 +262,9 @@ Bulli Schumann bushing Spatula VWR-119 VWR-424 +blakopal Galicia +Callipygian Christensen +Cap Carver Carjay McGinnis VWR-3737 VWR-4070 @@ -242,37 +272,64 @@ Carjay McGinnis VWR-6154 VWR-9400 VWR-9620 +Carla Broek +Carr Arbenlow Catherine Pfeffer VWR-1282 VWR-8624 VWR-10854 +Cayu Cluny Celierra Darling VWR-1274 VWR-6975 +Chantal Harvey +Charles Courtois +Charlie Sazaland +Cherry Cheevers +ChickyBabes Zuzu +Christopher Organiser +Ciaran Laval +Clara Young Coaldust Numbers VWR-1095 +Colpo Wexler +Corinne Helendale +Corro Moseley +Coughdrop Littlething Cron Stardust VWR-10579 VWR-25120 STORM-1075 Cypren Christenson STORM-417 +Dante Tucker Dale Glass VWR-120 VWR-560 VWR-2502 VWR-1358 VWR-2041 +Darien Caldwell +Dartagan Shepherd +Debs Regent +Decro Schmooz +Denim Kamachi +DiJodi Dubratt +Dil Spitz +Dimitrio Lewis +Dirk Draconis Neurocam STORM-1259 Drew Dri VWR-19683 +Drew Dwi Drewan Keats VWR-28 VWR-248 VWR-412 VWR-638 VWR-660 +Dusan Writer Dylan Haskell VWR-72 Dzonatas Sol @@ -295,28 +352,51 @@ Eddy Stryker VWR-23 VWR-1468 VWR-1475 +Edgware Marker +Egehan Dryke +Ellla McMahon +Elric Anatine +Emma Portilo +Emmie Fairymeadow EponymousDylan Ra VWR-1289 VWR-1465 Eva Nowicka CT-324 CT-352 +Eva Rau +Evangelista Emerald +Faelon Swordthain Farallon Greyskin VWR-2036 Feep Larsson VWR-447 VWR-1314 VWR-4444 +Fiachra Lach Flemming Congrejo CT-193 CT-318 +Flower Ducatillon Fluf Fredriksson VWR-3450 Fremont Cunningham VWR-1147 +FreeSL Aeon +Frenchimmo Sabra +Frontera Thor +Fury Rosewood +Gaberoonie Zanzibar +Ganymedes Costagravas +Gene Frostbite +GeneJ Composer Geneko Nemeth CT-117 VWR-11069 +Gentle Heron +Gentle Welinder +gwampa Lomu +Giggles Littlebird Gigs Taggart SVC-493 VWR-6 @@ -342,20 +422,31 @@ Gigs Taggart VWR-8783 Ginko Bayliss VWR-4 +Grady Echegaray Grazer Kline VWR-1092 VWR-2113 Gudmund Shepherd VWR-1594 VWR-1873 +Guni Greenstein +Gwyneth Llewelyn +Gypsy Tripsa +Hackshaven Harford +Ham Rambler Hamncheese Omlet VWR-333 +Han Shuffle +Hanglow Short HappySmurf Papp CT-193 +Harleen Gretzky +Hatzfeld Runo Henri Beauchamp VWR-1320 VWR-1406 VWR-4157 +herina Bode Hikkoshi Sakai VWR-429 Hiro Sommambulist @@ -368,23 +459,33 @@ Hiro Sommambulist VWR-132 VWR-136 VWR-143 +Holger Gilruth +Horatio Freund Hoze Menges VWR-255 +Hydra Shaftoe +Hypatia Callisto +Hypatia Pickens Ian Kas VWR-8780 (Russian localization) [NO JIRA] (Ukranian localization) CT-322 CT-325 +Identity Euler Ima Mechanique OPEN-50 OPEN-61 STORM-1175 +Imnotgoing Sideways +Inma Rau +Innula Zenovka Irene Muni CT-324 CT-352 Iskar Ariantho VWR-1223 VWR-11759 +Iyoba Tarantal Jacek Antonelli SNOW-388 VWR-165 @@ -398,9 +499,18 @@ Jacek Antonelli VWR-2948 VWR-3605 VWR-8617 +Jack Abraham +Jagga Meredith JB Kraft VWR-5283 VWR-7802 +Jennifer Boyle +Jeremy Marquez +Jessica Qin +Jinx Nordberg +Jo Bernandes +Jocial Sonnenkern +Joel Savard Joghert LeSabre VWR-64 Jonathan Yap @@ -454,17 +564,31 @@ Jonathan Yap STORM-1273 STORM-1462 STORM-1459 +Jondan Lundquist +Josef Munster +Josette Windlow +Juilan Tripsa +Juro Kothari +Justin RiversRunRed Kage Pixel VWR-11 +Kagehi Kohn +Kaimen Takahe +Keklily Longfall +Ken Lavender Ken March CT-245 +Kestral Karas Kerutsen Sellery VWR-1350 +Khisme Nitely Khyota Wulluf VWR-2085 VWR-8885 VWR-9256 VWR-9966 +Kimar Coba +Kithrak Kirkorian Kitty Barnett VWR-19699 STORM-288 @@ -473,6 +597,9 @@ Kitty Barnett STORM-1001 STORM-1175 VWR-24217 +Kolor Fall +Komiko Okamoto +Korvel Noh Kunnis Basiat VWR-82 VWR-102 @@ -482,6 +609,7 @@ Latif Khalifa VWR-5370 leliel Mirihi STORM-1100 +len Starship Lisa Lowe CT-218 CT-219 @@ -493,16 +621,40 @@ Lisa Lowe CT-319 Lockhart Cordoso VWR-108 +LSL Scientist +Lamorna Proctor +Lares Carter +Larry Pixel +Laurent Bechir +Leal Choche +Lenae Munz +Lexi Frua +Lillie Cordeaux +Lilly Zenovka +Lizzy Macarthur +Luban Yiyuan +Luc Starsider +Lunita Savira +Maccus McCullough maciek marksman CT-86 +Madison Blanc +Maggie Darwin Magnus Balczo CT-138 +Malarthi Behemoth +Mallory Destiny Malwina Dollinger CT-138 +Manx Wharton march Korda SVC-1020 +Marc Claridge +Marc2 Sands +Marianne McCann Marine Kelley STORM-281 +Matthew Anthony Matthew Dowd VWR-1344 VWR-1651 @@ -510,6 +662,8 @@ Matthew Dowd VWR-1737 VWR-1761 VWR-2681 +Matto Destiny +Maxim RiversRunRed McCabe Maxsted SNOW-387 VWR-1318 @@ -523,6 +677,10 @@ McCabe Maxsted VWR-8454 VWR-8689 VWR-9007 +Medhue Simoni +Mel Vanbeeck +Melinda Latynina +Mencius Watts Michelle2 Zenovka STORM-477 VWR-2652 @@ -540,6 +698,12 @@ Michelle2 Zenovka VWR-8889 VWR-8310 VWR-9499 +Michi Lumin +Midian Farspire +Miles Glaz +Mindy Mathy +Minerva Memel +Mitch Wagner Mm Alder SNOW-376 VWR-197 @@ -547,8 +711,20 @@ Mm Alder VWR-4232 VWR-4794 VWR-13578 +Mo Hax +Mourna Biziou Mr Greggan VWR-445 +Nao Noe +naofan Teardrop +Naomah Beaumont +Nathiel Siamendes +Nber Medici +Neko Link +Netpat Igaly +Neutron Chesnokov +Newfie Pendragon +Nicholai Laviscu Nicholaz Beresford VWR-132 VWR-176 @@ -619,12 +795,19 @@ Nicholaz Beresford VWR-2412 VWR-2682 VWR-2684 +Nick Rhodes Nicky Perian OPEN-1 STORM-1087 STORM-1090 +Nicoladie Gymnast Nounouch Hapmouche VWR-238 +Ollie Kubrick +Orenj Marat +Orion Delphis +Oryx Tempel +Parvati Silverweb Patric Mills VWR-2645 Paul Churchill @@ -647,6 +830,9 @@ Peekay Semyorka VWR-79 Peter Lameth VWR-7331 +PeterPunk Mooney +Pixel Gausman +Pixel Scientist Pf Shan CT-225 CT-226 @@ -657,15 +843,29 @@ Pf Shan CT-231 CT-321 SNOW-422 +Polo Gufler +Pounce Teazle princess niven VWR-5733 CT-85 CT-320 CT-352 +Professor Noarlunga +Psi Merlin +Quantum Destiny +Questar Utu +Quicksilver Hermes +RAT Quan +Radio Signals +Ralf Setsuko +RedMokum Bravin Renault Clio VWR-1976 resu Ampan SNOW-93 +Revolution Perenti +Rezit Sideways +Rich Grainger Ringo Tuxing CT-225 CT-226 @@ -675,6 +875,7 @@ Ringo Tuxing CT-230 CT-231 CT-321 +Riva Robin Cornelius SNOW-108 SNOW-204 @@ -706,9 +907,17 @@ Robin Cornelius VWR-12763 VWR-12995 VWR-20911 +Rosco Teardrop +Rose Evans +Rudee Voom +RufusTT Horsefly Ryozu Kojima VWR-53 VWR-287 +Sachi Vixen +Sahkolihaa Contepomi +Saii Hallard +SaintLEOlions Zimer Salahzar Stenvaag CT-225 CT-226 @@ -718,11 +927,15 @@ Salahzar Stenvaag CT-230 CT-231 CT-321 +Samm Larkham Sammy Frederix VWR-6186 +Sasy Scarborough +Satanello Miami Satomi Ahn STORM-501 STORM-229 +Scrim Pinion Scrippy Scofield VWR-3748 Seg Baphomet @@ -742,11 +955,16 @@ Sergen Davies CT-230 CT-231 CT-321 +SexySteven Morrisey Shawn Kaufmat SNOW-240 +Sheet Spotter +Shnurui Troughton Siana Gearz STORM-960 STORM-1088 +sicarius Thorne +Sicarius Toxx SignpostMarv Martin VWR-153 VWR-154 @@ -756,6 +974,10 @@ SignpostMarv Martin VWR-8357 Simon Nolan VWR-409 +Sini Nubalo +Sitearm Madonna +SLB Wirefly +snowy Sidran SpacedOut Frye VWR-34 VWR-45 @@ -768,8 +990,13 @@ SpacedOut Frye VWR-1823 Sporked Friis VWR-4903 +Soupa Segura +Squirrel Wood +ST Mensing +Starshine Halasy Stevex Janus VWR-1182 +Stickman Ingmann Still Defiant VWR-207 VWR-227 @@ -785,8 +1012,13 @@ Strife Onizuka VWR-2265 VWR-4111 SNOW-691 +Sudane Erato +Synystyr Texan +Takeda Terrawyng TankMaster Finesmith STORM-1100 +Talamasca +Tali Rosca Tayra Dagostino SNOW-517 SNOW-543 @@ -817,8 +1049,10 @@ Techwolf Lupindo SNOW-746 VWR-12385 VWR-20893 +Templar Merlin tenebrous pau VWR-247 +Tezcatlipoca Bisiani Tharax Ferraris VWR-605 Thickbrick Sleaford @@ -841,16 +1075,23 @@ Thickbrick Sleaford Thraxis Epsilon SVC-371 VWR-383 +Tiel Stonecutter tiamat bingyi CT-246 Tofu Buzzard CTS-411 STORM-546 VWR-24509 +Tony Kembia +Torben Trautman +TouchaHoney Perhaps TraductoresAnonimos Alter CT-324 +Trey Reanimator TriloByte Zanzibar STORM-1100 +Trinity Dechou +Trinity Dejavu Tue Torok CT-68 CT-69 @@ -866,13 +1107,26 @@ Twisted Laws STORM-643 STORM-954 STORM-1103 +Unlikely Quintessa +UsikuFarasi Kanarik Vadim Bigbear VWR-2681 Vector Hastings VWR-8726 +Veritas Raymaker +Vex Streeter +Viaticus Speculaas +Vick Forcella +Villain Baroque Vixen Heron VWR-2710 CT-88 +Vixie Durant +Void Singer +Watty Berkson +Westley Schridde +Westley Streeter +Whimsy Winx Whoops Babii VWR-631 VWR-1640 @@ -898,6 +1152,7 @@ Whoops Babii VWR-8296 VWR-8297 VWR-8298 +Winter Ventura Wilton Lundquist VWR-7682 WolfPup Lowenhar @@ -922,10 +1177,19 @@ WolfPup Lowenhar STORM-1098 VWR-20741 VWR-20933 +Wundur Primbee +Xiki Luik +xstorm Radek +YongYong Francois +Zak Westminster Zai Lynch VWR-19505 +Zana Kohime +Zaren Alexander Zarkonnen Decosta VWR-253 +Zeja Pyle +ZenMondo Wormser Zi Ree VWR-423 VWR-671 @@ -936,4 +1200,8 @@ Zi Ree Zipherius Turas VWR-76 VWR-77 +Zoex Flanagan + + + diff --git a/doc/translations.txt b/doc/translations.txt new file mode 100644 index 0000000000..c9cfc1cdeb --- /dev/null +++ b/doc/translations.txt @@ -0,0 +1,26 @@ +#List of translators who contribute to SL Viewer 2.0+ and SL web translation by language + + Danish +Flemming Congrejo + French +Valerie Linden + Polish +Identity Euler + Portuguese +Zaza Linden + Spanish +Aralara Rajal +Aura Dirval +Cayu Cluny +Eva Rau +FreeSL Aeon +Frontera Thor +Inma Rau +Irene Muni +Lunita Savira +Minerva Memel +Polo Gufler +Xiki Luik +Perez Linden + Traditional Chinese +gefeit Dufaux diff --git a/indra/newview/llfloaterabout.cpp b/indra/newview/llfloaterabout.cpp index 2873bc0059..cf52ee71ea 100644 --- a/indra/newview/llfloaterabout.cpp +++ b/indra/newview/llfloaterabout.cpp @@ -26,6 +26,8 @@ */ #include "llviewerprecompiledheaders.h" +#include +#include #include "llfloaterabout.h" @@ -108,8 +110,11 @@ BOOL LLFloaterAbout::postBuild() LLViewerTextEditor *support_widget = getChild("support_editor", true); - LLViewerTextEditor *credits_widget = - getChild("credits_editor", true); + LLViewerTextEditor *contrib_names_widget = + getChild("contrib_names", true); + + LLViewerTextEditor *trans_names_widget = + getChild("trans_names", true); getChild("copy_btn")->setCommitCallback( boost::bind(&LLFloaterAbout::onClickCopyToClipboard, this)); @@ -190,8 +195,41 @@ BOOL LLFloaterAbout::postBuild() support_widget->setEnabled(FALSE); support_widget->startOfDoc(); - credits_widget->setEnabled(FALSE); - credits_widget->startOfDoc(); + // Get the names of contributors, extracted from .../doc/contributions.txt by viewer_manifest.py at build time + std::string contributors_path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS,"contributors.txt"); + llifstream contrib_file; + std::string contributors; + contrib_file.open(contributors_path); /* Flawfinder: ignore */ + if (contrib_file.is_open()) + { + std::getline(contrib_file, contributors); // all names are on a single line + contrib_file.close(); + } + else + { + LL_WARNS("AboutInit") << "Could not read contributors file at " << contributors_path << LL_ENDL; + } + contrib_names_widget->setText(contributors); + contrib_names_widget->setEnabled(FALSE); + contrib_names_widget->startOfDoc(); + + // Get the names of translators, extracted from .../doc/tranlations.txt by viewer_manifest.py at build time + std::string translators_path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS,"translators.txt"); + llifstream trans_file; + std::string translators; + trans_file.open(translators_path); /* Flawfinder: ignore */ + if (trans_file.is_open()) + { + std::getline(trans_file, translators); // all names are on a single line + trans_file.close(); + } + else + { + LL_WARNS("AboutInit") << "Could not read translators file at " << translators_path << LL_ENDL; + } + trans_names_widget->setText(translators); + trans_names_widget->setEnabled(FALSE); + trans_names_widget->startOfDoc(); return TRUE; } diff --git a/indra/newview/skins/default/xui/en/floater_about.xml b/indra/newview/skins/default/xui/en/floater_about.xml index a8b3ce9c28..2595c1ee3b 100644 --- a/indra/newview/skins/default/xui/en/floater_about.xml +++ b/indra/newview/skins/default/xui/en/floater_about.xml @@ -98,26 +98,55 @@ Packets Lost: [PACKETS_LOST,number,0]/[PACKETS_IN,number,0] ([PACKETS_PCT,number label="Credits" help_topic="about_credits_tab" name="credits_panel"> + +Second Life is brought to you by the Lindens, with open source contributions from: + -Second Life is brought to you by Philip, Tessa, Andrew, Cory, Ian, James, Phoenix, Ryan, Haney, Dan, Char, Ben, John, Tanya, Eddie, Richard, Mitch, Doug, Eric, Frank, Bruce, Aaron, Peter, Alice, Charlie, Debra, Eileen, Helen, Janet, Steffan, Steve, Tom, Mark, Hunter, Xenon, Burgess, Bill, Jim, Lee, Hamlet, Daniel, Jeff, Todd, Sarah, Tim, Stephanie, Colin, Michael, Evan, Nicolas, Catherine, Rachelle, Dave, Holly, Bub, Kelly, Ramzi, Don, Sabin, Jill, Rheya, Jeska, Torley, Kona, Callum, Charity, Jack, Vektor, Chris, Nicole, Mick, Reuben, Blue, Babbage, Yedwab, Deana, Lauren, Brent, Pathfinder, Chadrick, Jesse, David, Tess, Lizzie, Patsy, Isaac, Lawrence, Cyn, Bo, Gia, Annette, Marius, Tbone, Jonathan, Karen, Ginsu, Yuko, Makiko, Thomas, Harry, Seth, Brian, Guy, Runitai, Ethan, Data, Cornelius, Kenny, Swiss, Zero, Brad, Natria, Wendy, Stephen, Teeple, Thumper, Lucy, Dee, Mia, Liana, Warren, Branka, Aura, Beez, Milo, Hermia, Red, Thrax, Gulliver, Joe, Sally, Paul, Jose, Rejean, Dore, Henrik, Lexie, Amber, Logan, Xan, Nora, Morpheus, Donovan, Leyla, MichaelFrancis, Beast, Cube, Bucky, Joshua, Stryfe, Harmony, Teresa, Claudia, Walker, Glenn, Fritz, Fordak, June, Cleopetra, Ivy, Betsy, Roosevelt, Spike, Ken, Which, Tofu, Chiyo, Rob, Zee, Dustin, George, Del, Matthew, Cat, Jacqui, Adrian, Viola, Alfred, Noel, Irfan, Yool, Rika, Jane, Frontier, Neo, Siobhan, Yoz, Justin, Elle, Qarl, Benjamin, Isabel, Everett, Christopher, Izzy, Stephany, Garry, Sejong, Sean, Tobin, Iridium, Meta, Jeremy, JP, Jake, Anthony, Maurice, Madhavi, Leopard, Kyle, Joon, Bert, Belinda, Jon, Kristi, Bridie, Pramod, Socrates, Maria, Aric, Adreanne, Jay, Kari, Ceren, Coco, Durl, Jenny, Periapse, Kartic, Storrs, Lotte, Sandy, Colossus, Zen, BigPapi, Pastrami, Kurz, Mani, Neuro, Mel, Sardonyx, MJ, Rowan, Sgt, Elvis, Samuel, Leo, Bryan, Niko, Austin, Soft, Poppy, Rachel, Aki, Banzai, Alexa, Sue, Bender, CG, Angelo, Gillian, Pelle, Nick, Echo, Zara, Christine, Shamiran, Emma, Blake, Keiko, Plexus, Joppa, Sidewinder, Erica, Ashlei, Twilight, Kristen, Brett, Q, Enus, Simon, Bevis, Kraft, Kip, Chandler, Ron, LauraP, Ram, KyleJM, Scouse, Prospero, Melissa, Marty, Nat, Hamilton, Kend, Lordan, Jimmy, Kosmo, Seraph, Green, Ekim, Wiggo, JT, Rome, Doris, Miz, Benoc, Whump, Trinity, Patch, Kate, TJ, Bao, Joohwan, Christy, Sofia, Matias, Cogsworth, Johan, Oreh, Cheah, Angela, Brandy, Mango, Lan, Aleks, Gloria, Mitchell, Space, Colton, Bambers, Einstein, Maggie, Malbers, Rose, Rothman, Niall, Marin, Allison, Katie, Dawn, Dusty, Katt, Judy, Andrea, Ambroff, Infinity, Rico, Gail, Kalpana, Raymond, Yi, William, Christa, M, Teagan, Scout, Molly, Dante, Corr, Dynamike, Usi, Kaylee, Lil, Danica, Sascha, Kelv, Jacob, Nya, Rodney, Brandon, Elsie, Blondin, Grant, Katrin, Nyx, Gabriel, Locklainn, Claire, Devin, Minerva, Monty, Bradford, Si, Keira, H, Caitlin, Dita, Makai, Jenn, Ann, Meredith, Clare, Joy, Praveen, Cody, Edmund, Ruthe, Sirena, Gayathri, Spider, FJ, Davidoff, Tian, Jennie, Louise, Oskar, Landon, Noelle, Jarv, Ingrid, Al, Sommer, Doc, Aria, Huin, Gray, Lili, Vir, DJ, Maestro, Simone, Yang, T, Shannon, Nelson, Khanh, Scott, Courtney, Charlene, Quixote, Susan, Zed, Amanda, Katelin, Enkidu, Roxie, Esbee, JoRoan, Scarlet, Tay, Kevin, Wolfgang, Johnny, Ray, Andren, Merov, Bob, Rand, Howard, Callen, Heff, Galen, Newell, Dessie, Les, Michon, Jenelle, Geo, Siz, Shapiro, Pete, Calyle, Selene, Allen, Phoebe, Goldin, Kimmora, Dakota, Slaton, Lindquist, Zoey, Hari, Othello, Rohit, Sheldon, Petra, Viale, Gordon, Kaye, Pink, Ferny, Emerson, Davy, Bri, Chan, Juan, Robert, Terrence, Nathan, Carl, Ashley, JessieAnn, Huseby, Karina, Paris, Kurt, Rick, Lis, Kotler, Theeba, Lynx, Murphy, Doten, Taka, Norm, Jillian, Marcus, Mae, Novack, Esther, Perry, Dana, Ducot, Javier, Porter, Madison, Gecko, Dough, JR, Gisele, Crimp, Norie, Arch, Kimi, Fisher, Barbara, Jason, Peggy, Bernard, Jules, Leroy, Eva, Khederian, Campbell, Vogt, Masido, Karel, Torres, Lo, Breezer, Delby, Rountree, Anna, Servus, Rue, Itiaes, Chuck, Luna, Novella, Zaza, Wen, Gino, Lex, Cassandra, Limey, Nancy, Anukul, Silver, Brodesky, Jinsai, Squid, Gez, Rakesh, Ladan, Edelman, Marcet, Squire, Tatem, Tony, Jerm, Tia, Falcon, BK, Tiggs, Driscoll, Bacon, Timothee, Cru, Carmilla, Coyot, Webb, Kazu, Rudas, LJ, Sea, Ali Wallace, Bewest, Pup, Drub, Dragon, Inoshiro, Byron, Rhett, Xandix, Aimee, Fredrik, Thor, Teddy, Baron, Nelly, Ghengis, Epic, Eli, Stone, Grapes, Irie, Prep, Scobu, Valerie, Alain, and many others. - -Thank you to the following Residents for helping to ensure that this is the best version yet: Drew Dwi, Zai Lynch, Latif Khalifa, Ellla McMahon, Harleen Gretzky, Squirrel Wood, Malarthi Behemoth, Dante Tucker, Buckaroo Mu, Eddi Decosta, Dirk, Talamasca, Torben Trautman, Irene Muni, Aralara Rajal, Aura Dirval, Cayu Cluny, Eva Rau, FreeSL Aeon, Frontera Thor, Inma Rau, Lunita Savira, Minerva Memel, Polo Gufler, Xiki Luik, Lilly Zenovka, Vick Forcella, Sasy Scarborough, Gentle Welinder, Elric Anatine, Techwolf Lupindo, Dusan Writer, WolfPup Lowenhar, Marianne McCann, Fiachra Lach, Sitearm Madonna, Sudane Erato, Sahkolihaa Contepomi, Sachi Vixen, Questar Utu, Dimitrio Lewis, Matto Destiny, Scrim Pinion, Radio Signals, Psi Merlin, Pixel Gausman, Mel Vanbeeck, Laurent Bechir, Lamorna Proctor, Lares Carter, Gwyneth Llewelyn, Hydra Shaftoe, Holger Gilruth, Gentle Heron, Carla Broek, Boroondas Gupte, Fury Rosewood, Flower Ducatillon, Colpo Wexler, gwampa Lomu, Borg Capalini, Beansy Twine, Ardy Lay, , 45ms Zhong, Adeon Writer, Aeonix Aeon, Ai Austin, Aiko Ying, Alexandrea Fride, Alliez Mysterio, Annie Milestone, Annika Genezzia, Ansariel Hiller, ArminasX Saiman, Arya Braveheart, Asaeda Meltingdots, Asturkon Jua, Avallyn Oakleaf, Avatar Quinzet, BabyA Littlething, Bacchus Ireto, Bazaar, Riva, Benjamin Bigdipper, Beth Walcher, Bezilon Kasei, Biancaluce Robbiani, Bill Walach, blakopal Galicia, Blitzckreed Levenque, Bryn Oh, Callipygian Christensen, Cap Carver, Carr Arbenlow, Chantal Harvey, Charles Courtois, Charlie Sazaland, Cherry Cheevers, ChickyBabes Zuzu, Christopher Organiser, Ciaran Laval, Clara Young, Celierra Darling, Corinne Helendale, Corro Moseley, Coughdrop Littlething, Darien Caldwell, Dartagan Shepherd, Debs Regent, Decro Schmooz, Denim Kamachi, DiJodi Dubratt, Dil Spitz, Edgware Marker, Egehan Dryke, Emma Portilo, Emmie Fairymeadow, Evangelista Emerald, Faelon Swordthain, Frenchimmo Sabra, Gaberoonie Zanzibar, Ganymedes Costagravas, Gene Frostbite, GeneJ Composer, Giggles Littlebird, Grady Echegaray, Guni Greenstein, Gypsy Tripsa, Hackshaven Harford, Ham Rambler, Han Shuffle, Hanglow Short, Hatzfeld Runo, herina Bode, Horatio Freund, Hypatia Callisto, Hypatia Pickens, Identity Euler, Imnotgoing Sideways, Innula Zenovka, Iyoba Tarantal, Jack Abraham, Jagga Meredith, Jennifer Boyle, Jeremy Marquez, Jessica Qin, Jinx Nordberg, Jo Bernandes, Jocial Sonnenkern, Joel Savard, Jondan Lundquist, Josef Munster, Josette Windlow, Juilan Tripsa, Juro Kothari, Justin RiversRunRed, Kagehi Kohn, Kaimen Takahe, Keklily Longfall, Ken Lavender, Kestral Karas, Khisme Nitely, Kimar Coba, Kithrak Kirkorian, Kitty Barnett, Kolor Fall, Komiko Okamoto, Korvel Noh, Larry Pixel, Leal Choche, len Starship, Lenae Munz, Lexi Frua, Lillie Cordeaux, Lizzy Macarthur, LSL Scientist, Luban Yiyuan, Luc Starsider, Maccus McCullough, Madison Blanc, Maggie Darwin, Mallory Destiny, Manx Wharton, Marc Claridge, Marc2 Sands, Matthew Anthony, Maxim RiversRunRed, Medhue Simoni, Melinda Latynina, Mencius Watts, Michi Lumin, Midian Farspire, Miles Glaz, Mindy Mathy, Mitch Wagner, Mo Hax, Mourna Biziou, Nao Noe, naofan Teardrop, Naomah Beaumont, Nathiel Siamendes, Nber Medici, Neko Link, Netpat Igaly, Neutron Chesnokov, Newfie Pendragon, Nicholai Laviscu, Nick Rhodes, Nicoladie Gymnast, Ollie Kubrick, Orenj Marat, Orion Delphis, Oryx Tempel, Parvati Silverweb, PeterPunk Mooney, Pixel Scientist, Pounce Teazle, Professor Noarlunga, Quantum Destiny, Quicksilver Hermes, Ralf Setsuko, RAT Quan, RedMokum Bravin, Revolution Perenti, Rezit Sideways, Rich Grainger, Rosco Teardrop, Rose Evans, Rudee Voom, RufusTT Horsefly, Saii Hallard, SaintLEOlions Zimer, Samm Larkham, Satanello Miami, SexySteven Morrisey, Sheet Spotter, Shnurui Troughton, sicarius Thorne, Sicarius Toxx, Sini Nubalo, SLB Wirefly, snowy Sidran, Soupa Segura, ST Mensing, Starshine Halasy, Stickman Ingmann, Synystyr Texan, Takeda Terrawyng, Tali Rosca, Templar Merlin, Tezcatlipoca Bisiani, Tiel Stonecutter, Tony Kembia, TouchaHoney Perhaps, Trey Reanimator, TriloByte Zanzibar, Trinity Dechou, Trinity Dejavu, Unlikely Quintessa, UsikuFarasi Kanarik, Veritas Raymaker, Vex Streeter, Viaticus Speculaas, Villain Baroque, Vixie Durant, Void Singer, Watty Berkson, Westley Schridde, Westley Streeter, Whimsy Winx, Winter Ventura, Wundur Primbee, xstorm Radek, YongYong Francois, Zak Westminster, Zana Kohime, Zaren Alexander, Zeja Pyle, ZenMondo Wormser, Zoex Flanagan, and many others. - - - - -"The work goes on, the cause endures, the hope still lives, and the dreams shall never die" - Edward Kennedy +Dummy Name replaced at run time + + +and translations from: + + +Dummy Name replaced at run time Date: Thu, 4 Aug 2011 16:52:19 -0400 Subject: storm-1060 : add windows (thanks Kadah and Michelle), remove some files I think are no longer used --- .hgignore | 1 + doc/contributions.txt | 3 +++ indra/newview/CMakeLists.txt | 26 ++++++++++++++++++++++++++ indra/newview/res-sdl/ll_icon.BMP | Bin 262198 -> 0 bytes indra/newview/res/ll_icon.BMP | Bin 262198 -> 0 bytes indra/newview/res/ll_icon.ico | Bin 367958 -> 0 bytes indra/newview/res/ll_icon.png | Bin 29561 -> 0 bytes 7 files changed, 30 insertions(+) delete mode 100644 indra/newview/res-sdl/ll_icon.BMP delete mode 100644 indra/newview/res/ll_icon.BMP delete mode 100644 indra/newview/res/ll_icon.ico delete mode 100644 indra/newview/res/ll_icon.png (limited to 'doc') diff --git a/.hgignore b/.hgignore index bd4f19a91e..e3ad4fe7b2 100644 --- a/.hgignore +++ b/.hgignore @@ -33,6 +33,7 @@ indra/newview/character indra/newview/fmod.dll indra/newview/mozilla-theme indra/newview/mozilla-universal-darwin.tgz +indra/newview/res/ll_icon.* indra/newview/res-sdl indra/newview/vivox-runtime indra/server-linux-* diff --git a/doc/contributions.txt b/doc/contributions.txt index ee56ef3665..b7be56e6c3 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -454,6 +454,8 @@ Jonathan Yap STORM-1273 STORM-1462 STORM-1459 +Kadah Coba + STORM-1060 Kage Pixel VWR-11 Ken March @@ -540,6 +542,7 @@ Michelle2 Zenovka VWR-8889 VWR-8310 VWR-9499 + STORM-1060 Mm Alder SNOW-376 VWR-197 diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 935dd2e887..f87ecbd2f5 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1248,6 +1248,31 @@ if (WINDOWS) set(viewer_SOURCE_FILES "${viewer_SOURCE_FILES}" llviewerprecompiledheaders.cpp) endif(USE_PRECOMPILED_HEADERS) + # Replace the icons with the appropriate ones for the channel + set(ICON_PATH "test") + string(TOLOWER ${VIEWER_CHANNEL} channel_lower) + if(channel_lower MATCHES "^(release|beta|development)") + set(ICON_PATH ${channel_lower}) + elseif(channel_lower MATCHES "^(project.*)") + set(ICON_PATH "project") + endif() + message("Copying icons for ${ICON_PATH}") + execute_process( + COMMAND ${CMAKE_COMMAND} -E copy_if_different + "${CMAKE_CURRENT_SOURCE_DIR}/icons/${ICON_PATH}/secondlife.ico" + "${CMAKE_CURRENT_SOURCE_DIR}/res/ll_icon.ico" + ) + execute_process( + COMMAND ${CMAKE_COMMAND} -E copy_if_different + "${CMAKE_CURRENT_SOURCE_DIR}/icons/${ICON_PATH}/secondlife_256.BMP" + "${CMAKE_CURRENT_SOURCE_DIR}/res/ll_icon.BMP" + ) + execute_process( + COMMAND ${CMAKE_COMMAND} -E copy_if_different + "${CMAKE_CURRENT_SOURCE_DIR}/icons/${ICON_PATH}/secondlife_256.BMP" + "${CMAKE_CURRENT_SOURCE_DIR}/res-sdl/ll_icon.BMP" + ) + # Add resource files to the project. # viewerRes.rc is the only buildable file, but # the rest are all dependencies of it. @@ -1277,6 +1302,7 @@ if (WINDOWS) res/lltooltranslate.cur res/lltoolzoomin.cur res/lltoolzoomout.cur + res-sdl/ll_icon.BMP res/ll_icon.BMP res/ll_icon.ico res/resource.h diff --git a/indra/newview/res-sdl/ll_icon.BMP b/indra/newview/res-sdl/ll_icon.BMP deleted file mode 100644 index 6f9366df41..0000000000 Binary files a/indra/newview/res-sdl/ll_icon.BMP and /dev/null differ diff --git a/indra/newview/res/ll_icon.BMP b/indra/newview/res/ll_icon.BMP deleted file mode 100644 index 3a9964cd95..0000000000 Binary files a/indra/newview/res/ll_icon.BMP and /dev/null differ diff --git a/indra/newview/res/ll_icon.ico b/indra/newview/res/ll_icon.ico deleted file mode 100644 index 87985b9285..0000000000 Binary files a/indra/newview/res/ll_icon.ico and /dev/null differ diff --git a/indra/newview/res/ll_icon.png b/indra/newview/res/ll_icon.png deleted file mode 100644 index ae573b3874..0000000000 Binary files a/indra/newview/res/ll_icon.png and /dev/null differ -- cgit v1.3 From a666878a011b9b1e8ebb922b42e1b300c7d2cc99 Mon Sep 17 00:00:00 2001 From: callum Date: Wed, 17 Aug 2011 12:11:58 -0700 Subject: EXP-700 (VWR-24502) - added Satomi Ahn's name to list of contributors --- doc/contributions.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index f94997b8b5..c598636858 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -727,6 +727,7 @@ Sammy Frederix Satomi Ahn STORM-501 STORM-229 + VWR-24502 Scrippy Scofield VWR-3748 Seg Baphomet -- cgit v1.3 From 677135f3c7e0a375bfc3ea1a08ce653c1daa91ee Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Thu, 18 Aug 2011 14:33:24 +0200 Subject: STORM-1532: Don't re-request ParcelVoiceInfoRequest capability if the region definitely doesn't have it. --- doc/contributions.txt | 2 ++ indra/newview/llvoicevivox.cpp | 31 ++++++++++++++++--------------- 2 files changed, 18 insertions(+), 15 deletions(-) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index 0cdf37d72f..b22ef13870 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -176,6 +176,8 @@ Ardy Lay VWR-24917 Argent Stonecutter VWR-68 +ArminWeatherHax + STORM-1532 Armin Weatherwax VWR-8436 ArminasX Saiman diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 0db0010688..56d71e96b3 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -4498,17 +4498,25 @@ bool LLVivoxVoiceClient::parcelVoiceInfoReceived(state requesting_state) bool LLVivoxVoiceClient::requestParcelVoiceInfo() { - LL_DEBUGS("Voice") << "sending ParcelVoiceInfoRequest (" << mCurrentRegionName << ", " << mCurrentParcelLocalID << ")" << LL_ENDL; - - // grab the cap for parcel voice info from the region. LLViewerRegion * region = gAgent.getRegion(); - if (region == NULL) + if (region == NULL || !region->capabilitiesReceived()) { + // we don't have the cap yet, so return false so the caller can try again later. + + LL_DEBUGS("Voice") << "ParcelVoiceInfoRequest capability not yet available, deferring" << LL_ENDL; return false; } + // grab the cap. std::string url = gAgent.getRegion()->getCapability("ParcelVoiceInfoRequest"); - if (!url.empty()) + if (url.empty()) + { + // Region dosn't have the cap. Stop probing. + LL_DEBUGS("Voice") << "ParcelVoiceInfoRequest capability not available in this region" << LL_ENDL; + setState(stateDisableCleanup); + return false; + } + else { // if we've already retrieved the cap from the region, go ahead and make the request, // and return true so we can go into the state that waits for the response. @@ -4517,18 +4525,11 @@ bool LLVivoxVoiceClient::requestParcelVoiceInfo() LL_DEBUGS("Voice") << "sending ParcelVoiceInfoRequest (" << mCurrentRegionName << ", " << mCurrentParcelLocalID << ")" << LL_ENDL; LLHTTPClient::post( - url, - data, - new LLVivoxVoiceClientCapResponder(getState())); + url, + data, + new LLVivoxVoiceClientCapResponder(getState())); return true; } - else - { - - // we don't have the cap yet, so return false so the caller can try again later. - LL_DEBUGS("Voice") << "ParcelVoiceInfoRequest cap not yet available, deferring" << LL_ENDL; - return false; - } } void LLVivoxVoiceClient::switchChannel( -- cgit v1.3 From 541e26d947e19cf087e068ab3f1bd46fb1d8fd4f Mon Sep 17 00:00:00 2001 From: Jonathan Yap Date: Tue, 23 Aug 2011 07:55:34 -0400 Subject: STORM-1567 Mute button for llDialog popup Updating patch to current version of viewer-development --- doc/contributions.txt | 1 + indra/newview/lltoastnotifypanel.cpp | 26 ++++++++++++++++++++++ indra/newview/llviewermessage.cpp | 25 ++++++++++++++++----- .../newview/skins/default/xui/en/notifications.xml | 4 ++++ 4 files changed, 51 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/contributions.txt b/doc/contributions.txt index 0368cd1ff0..57d2fd2449 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -565,6 +565,7 @@ Jonathan Yap STORM-1273 STORM-1462 STORM-1459 + STORM-1567 Kadah Coba STORM-1060 Jondan Lundquist diff --git a/indra/newview/lltoastnotifypanel.cpp b/indra/newview/lltoastnotifypanel.cpp index fa91f129b8..ea047a1878 100644 --- a/indra/newview/lltoastnotifypanel.cpp +++ b/indra/newview/lltoastnotifypanel.cpp @@ -305,10 +305,17 @@ void LLToastNotifyPanel::updateButtonsLayout(const std::vectorgetRect().getWidth(); LLButton* ignore_btn = NULL; + LLButton* mute_btn = NULL; for (std::vector::const_iterator it = buttons.begin(); it != buttons.end(); it++) { + if (-2 == it->first) + { + mute_btn = it->second; + continue; + } if (it->first == -1) { ignore_btn = it->second; @@ -328,6 +335,8 @@ void LLToastNotifyPanel::updateButtonsLayout(const std::vectoraddChild(btn, -1); } + + U32 ignore_btn_width = 0; if (mIsScriptDialog && ignore_btn != NULL) { LLRect ignore_btn_rect(ignore_btn->getRect()); @@ -337,11 +346,28 @@ void LLToastNotifyPanel::updateButtonsLayout(const std::vectorsetRect(ignore_btn_rect); + ignore_btn_width = ignore_btn_rect.getWidth(); mControlPanel->addChild(ignore_btn, -1); } + + if (mIsScriptDialog && mute_btn != NULL) + { + LLRect mute_btn_rect(mute_btn->getRect()); + S32 buttons_per_row = max_width / BUTTON_WIDTH; //assume that h_pad far less than BUTTON_WIDTH + S32 mute_btn_left = buttons_per_row * BUTTON_WIDTH + (buttons_per_row - 1) * h_pad - mute_btn_rect.getWidth() - ignore_btn_width - (h_pad / 2); + if (mute_btn_left + mute_btn_rect.getWidth() > max_width) // make sure that the mute button is in panel + { + mute_btn_left = max_width - mute_btn_rect.getWidth() - 2 * HPAD; + } + mute_btn_rect.setOriginAndSize(mute_btn_left, BOTTOM_PAD,// always move mute button at the bottom + mute_btn_rect.getWidth(), mute_btn_rect.getHeight()); + mute_btn->setRect(mute_btn_rect); + mControlPanel->addChild(mute_btn); + } } void LLToastNotifyPanel::adjustPanelForScriptNotice(S32 button_panel_width, S32 button_panel_height) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 321d02aaf1..8471de3004 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -6544,8 +6544,22 @@ bool callback_script_dialog(const LLSD& notification, const LLSD& response) rtn_text = LLNotification::getSelectedOptionName(response); } - // Didn't click "Ignore" - if (button_idx != -1) + // Button -2 = Mute + // Button -1 = Ignore - no processing needed for this button + // Buttons 0 and above = dialog choices + + if (-2 == button_idx) + { + std::string object_name = notification["payload"]["object_name"].asString(); + LLUUID object_id = notification["payload"]["object_id"].asUUID(); + LLMute mute(object_id, object_name, LLMute::OBJECT); + if (LLMuteList::getInstance()->add(mute)) + { + LLPanelBlockedList::showPanelAndSelect(object_id); + } + } + + if (0 <= button_idx) { LLMessageSystem* msg = gMessageSystem; msg->newMessage("ScriptDialogReply"); @@ -6588,12 +6602,12 @@ void process_script_dialog(LLMessageSystem* msg, void**) std::string message; std::string first_name; std::string last_name; - std::string title; + std::string object_name; S32 chat_channel; msg->getString("Data", "FirstName", first_name); msg->getString("Data", "LastName", last_name); - msg->getString("Data", "ObjectName", title); + msg->getString("Data", "ObjectName", object_name); msg->getString("Data", "Message", message); msg->getS32("Data", "ChatChannel", chat_channel); @@ -6604,6 +6618,7 @@ void process_script_dialog(LLMessageSystem* msg, void**) payload["sender"] = msg->getSender().getIPandPort(); payload["object_id"] = object_id; payload["chat_channel"] = chat_channel; + payload["object_name"] = object_name; // build up custom form S32 button_count = msg->getNumberOfBlocks("Buttons"); @@ -6622,7 +6637,7 @@ void process_script_dialog(LLMessageSystem* msg, void**) } LLSD args; - args["TITLE"] = title; + args["TITLE"] = object_name; args["MESSAGE"] = message; LLNotificationPtr notification; if (!first_name.empty()) diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index c9ccd44b83..43e01a1080 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -6275,6 +6275,10 @@ Grant this request? [GROUPNAME]'s '<nolink>[TITLE]</nolink>' [MESSAGE]
+