diff options
author | Jacek Antonelli | 2008-11-24 18:11:26 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-11-25 17:22:50 -0600 |
commit | 265113e2c2a89826611ec61ba9ad37590d9a13bf (patch) | |
tree | 20c2d91bb3c5ad6795367c61f084f5d44f3663b9 /linden/indra | |
parent | Likely fix for VWR-8920 (disappearing attachments). (diff) | |
download | meta-impy-265113e2c2a89826611ec61ba9ad37590d9a13bf.zip meta-impy-265113e2c2a89826611ec61ba9ad37590d9a13bf.tar.gz meta-impy-265113e2c2a89826611ec61ba9ad37590d9a13bf.tar.bz2 meta-impy-265113e2c2a89826611ec61ba9ad37590d9a13bf.tar.xz |
Changed the grid selector options at login.
Renamed "Agni" to "SL Main Grid", etc. and removed private
LL grids from the list. Also added "Local OpenSim" option.
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llpanellogin.cpp | 64 | ||||
-rw-r--r-- | linden/indra/newview/llviewernetwork.cpp | 78 | ||||
-rw-r--r-- | linden/indra/newview/llviewernetwork.h | 15 |
3 files changed, 11 insertions, 146 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp index 61bf215..86dab63 100644 --- a/linden/indra/newview/llpanellogin.cpp +++ b/linden/indra/newview/llpanellogin.cpp | |||
@@ -134,74 +134,14 @@ void LLLoginHandler::parse(const LLSD& queryMap) | |||
134 | mLastName = queryMap["last_name"].asString(); | 134 | mLastName = queryMap["last_name"].asString(); |
135 | 135 | ||
136 | EGridInfo grid_choice = GRID_INFO_NONE; | 136 | EGridInfo grid_choice = GRID_INFO_NONE; |
137 | if (queryMap["grid"].asString() == "aditi") | 137 | if (queryMap["grid"].asString() == "sl beta grid") |
138 | { | 138 | { |
139 | grid_choice = GRID_INFO_ADITI; | 139 | grid_choice = GRID_INFO_ADITI; |
140 | } | 140 | } |
141 | else if (queryMap["grid"].asString() == "agni") | 141 | else if (queryMap["grid"].asString() == "sl main grid") |
142 | { | 142 | { |
143 | grid_choice = GRID_INFO_AGNI; | 143 | grid_choice = GRID_INFO_AGNI; |
144 | } | 144 | } |
145 | else if (queryMap["grid"].asString() == "siva") | ||
146 | { | ||
147 | grid_choice = GRID_INFO_SIVA; | ||
148 | } | ||
149 | else if (queryMap["grid"].asString() == "damballah") | ||
150 | { | ||
151 | grid_choice = GRID_INFO_DAMBALLAH; | ||
152 | } | ||
153 | else if (queryMap["grid"].asString() == "durga") | ||
154 | { | ||
155 | grid_choice = GRID_INFO_DURGA; | ||
156 | } | ||
157 | else if (queryMap["grid"].asString() == "shakti") | ||
158 | { | ||
159 | grid_choice = GRID_INFO_SHAKTI; | ||
160 | } | ||
161 | else if (queryMap["grid"].asString() == "soma") | ||
162 | { | ||
163 | grid_choice = GRID_INFO_SOMA; | ||
164 | } | ||
165 | else if (queryMap["grid"].asString() == "ganga") | ||
166 | { | ||
167 | grid_choice = GRID_INFO_GANGA; | ||
168 | } | ||
169 | else if (queryMap["grid"].asString() == "vaak") | ||
170 | { | ||
171 | grid_choice = GRID_INFO_VAAK; | ||
172 | } | ||
173 | else if (queryMap["grid"].asString() == "uma") | ||
174 | { | ||
175 | grid_choice = GRID_INFO_UMA; | ||
176 | } | ||
177 | else if (queryMap["grid"].asString() == "mohini") | ||
178 | { | ||
179 | grid_choice = GRID_INFO_MOHINI; | ||
180 | } | ||
181 | else if (queryMap["grid"].asString() == "yami") | ||
182 | { | ||
183 | grid_choice = GRID_INFO_YAMI; | ||
184 | } | ||
185 | else if (queryMap["grid"].asString() == "nandi") | ||
186 | { | ||
187 | grid_choice = GRID_INFO_NANDI; | ||
188 | } | ||
189 | else if (queryMap["grid"].asString() == "mitra") | ||
190 | { | ||
191 | grid_choice = GRID_INFO_MITRA; | ||
192 | } | ||
193 | else if (queryMap["grid"].asString() == "radha") | ||
194 | { | ||
195 | grid_choice = GRID_INFO_RADHA; | ||
196 | } | ||
197 | else if (queryMap["grid"].asString() == "ravi") | ||
198 | { | ||
199 | grid_choice = GRID_INFO_RAVI; | ||
200 | } | ||
201 | else if (queryMap["grid"].asString() == "aruna") | ||
202 | { | ||
203 | grid_choice = GRID_INFO_ARUNA; | ||
204 | } | ||
205 | 145 | ||
206 | if(grid_choice != GRID_INFO_NONE) | 146 | if(grid_choice != GRID_INFO_NONE) |
207 | { | 147 | { |
diff --git a/linden/indra/newview/llviewernetwork.cpp b/linden/indra/newview/llviewernetwork.cpp index 13d432a..7d1d351 100644 --- a/linden/indra/newview/llviewernetwork.cpp +++ b/linden/indra/newview/llviewernetwork.cpp | |||
@@ -46,81 +46,21 @@ struct LLGridData | |||
46 | static LLGridData gGridInfo[GRID_INFO_COUNT] = | 46 | static LLGridData gGridInfo[GRID_INFO_COUNT] = |
47 | { | 47 | { |
48 | { "None", "", "", ""}, | 48 | { "None", "", "", ""}, |
49 | { "Aditi", | 49 | { "SL Beta Grid", |
50 | "util.aditi.lindenlab.com", | 50 | "util.aditi.lindenlab.com", |
51 | "https://login.aditi.lindenlab.com/cgi-bin/login.cgi", | 51 | "https://login.aditi.lindenlab.com/cgi-bin/login.cgi", |
52 | "http://aditi-secondlife.webdev.lindenlab.com/helpers/" }, | 52 | "http://aditi-secondlife.webdev.lindenlab.com/helpers/" }, |
53 | { "Agni", | 53 | { "SL Main Grid", |
54 | "util.agni.lindenlab.com", | 54 | "util.agni.lindenlab.com", |
55 | "https://login.agni.lindenlab.com/cgi-bin/login.cgi", | 55 | "https://login.agni.lindenlab.com/cgi-bin/login.cgi", |
56 | "https://secondlife.com/helpers/" }, | 56 | "https://secondlife.com/helpers/" }, |
57 | { "Aruna", | 57 | { "Local OpenSim", |
58 | "util.aruna.lindenlab.com", | 58 | "localhost", |
59 | "https://login.aruna.lindenlab.com/cgi-bin/login.cgi", | 59 | "http://0.0.0.0:9000", |
60 | "http://aruna-secondlife.webdev.lindenlab.com/helpers/" }, | ||
61 | { "Damballah", | ||
62 | "util.damballah.lindenlab.com", | ||
63 | "https://login.damballah.lindenlab.com/cgi-bin/login.cgi", | ||
64 | "http://damballah-secondlife.webdev.lindenlab.com/helpers/" }, | ||
65 | { "Durga", | ||
66 | "util.durga.lindenlab.com", | ||
67 | "https://login.durga.lindenlab.com/cgi-bin/login.cgi", | ||
68 | "http://durga-secondlife.webdev.lindenlab.com/helpers/" }, | ||
69 | { "Ganga", | ||
70 | "util.ganga.lindenlab.com", | ||
71 | "https://login.ganga.lindenlab.com/cgi-bin/login.cgi", | ||
72 | "http://ganga-secondlife.webdev.lindenlab.com/helpers/" }, | ||
73 | { "Mitra", | ||
74 | "util.mitra.lindenlab.com", | ||
75 | "https://login.mitra.lindenlab.com/cgi-bin/login.cgi", | ||
76 | "http://mitra-secondlife.webdev.lindenlab.com/helpers/" }, | ||
77 | { "Mohini", | ||
78 | "util.mohini.lindenlab.com", | ||
79 | "https://login.mohini.lindenlab.com/cgi-bin/login.cgi", | ||
80 | "http://mohini-secondlife.webdev.lindenlab.com/helpers/" }, | ||
81 | { "Nandi", | ||
82 | "util.nandi.lindenlab.com", | ||
83 | "https://login.nandi.lindenlab.com/cgi-bin/login.cgi", | ||
84 | "http://nandi-secondlife.webdev.lindenlab.com/helpers/" }, | ||
85 | { "Radha", | ||
86 | "util.radha.lindenlab.com", | ||
87 | "https://login.radha.lindenlab.com/cgi-bin/login.cgi", | ||
88 | "http://radha-secondlife.webdev.lindenlab.com/helpers/" }, | ||
89 | { "Ravi", | ||
90 | "util.ravi.lindenlab.com", | ||
91 | "https://login.ravi.lindenlab.com/cgi-bin/login.cgi", | ||
92 | "http://ravi-secondlife.webdev.lindenlab.com/helpers/" }, | ||
93 | { "Siva", | ||
94 | "util.siva.lindenlab.com", | ||
95 | "https://login.siva.lindenlab.com/cgi-bin/login.cgi", | ||
96 | "http://siva-secondlife.webdev.lindenlab.com/helpers/" }, | ||
97 | { "Shakti", | ||
98 | "util.shakti.lindenlab.com", | ||
99 | "https://login.shakti.lindenlab.com/cgi-bin/login.cgi", | ||
100 | "http://shakti-secondlife.webdev.lindenlab.com/helpers/" }, | ||
101 | { "Soma", | ||
102 | "util.soma.lindenlab.com", | ||
103 | "https://login.soma.lindenlab.com/cgi-bin/login.cgi", | ||
104 | "http://soma-secondlife.webdev.lindenlab.com/helpers/" }, | ||
105 | { "Uma", | ||
106 | "util.uma.lindenlab.com", | ||
107 | "https://login.uma.lindenlab.com/cgi-bin/login.cgi", | ||
108 | "http://uma-secondlife.webdev.lindenlab.com/helpers/" }, | ||
109 | { "Vaak", | ||
110 | "util.vaak.lindenlab.com", | ||
111 | "https://login.vaak.lindenlab.com/cgi-bin/login.cgi", | ||
112 | "http://vaak-secondlife.webdev.lindenlab.com/helpers/" }, | ||
113 | { "Yami", | ||
114 | "util.yami.lindenlab.com", | ||
115 | "https://login.yami.lindenlab.com/cgi-bin/login.cgi", | ||
116 | "http://yami-secondlife.webdev.lindenlab.com/helpers/" }, | ||
117 | { "Local", | ||
118 | "localhost", | ||
119 | "https://login.dmz.lindenlab.com/cgi-bin/login.cgi", | ||
120 | "" }, | 60 | "" }, |
121 | { "Other", | 61 | { "Other", |
122 | "", | 62 | "", |
123 | "https://login.dmz.lindenlab.com/cgi-bin/login.cgi", | 63 | "", |
124 | "" } | 64 | "" } |
125 | }; | 65 | }; |
126 | 66 | ||
diff --git a/linden/indra/newview/llviewernetwork.h b/linden/indra/newview/llviewernetwork.h index 53bb0ab..e39507d 100644 --- a/linden/indra/newview/llviewernetwork.h +++ b/linden/indra/newview/llviewernetwork.h | |||
@@ -40,21 +40,6 @@ enum EGridInfo | |||
40 | GRID_INFO_NONE, | 40 | GRID_INFO_NONE, |
41 | GRID_INFO_ADITI, | 41 | GRID_INFO_ADITI, |
42 | GRID_INFO_AGNI, | 42 | GRID_INFO_AGNI, |
43 | GRID_INFO_ARUNA, | ||
44 | GRID_INFO_DAMBALLAH, | ||
45 | GRID_INFO_DURGA, | ||
46 | GRID_INFO_GANGA, | ||
47 | GRID_INFO_MITRA, | ||
48 | GRID_INFO_MOHINI, | ||
49 | GRID_INFO_NANDI, | ||
50 | GRID_INFO_RADHA, | ||
51 | GRID_INFO_RAVI, | ||
52 | GRID_INFO_SIVA, | ||
53 | GRID_INFO_SHAKTI, | ||
54 | GRID_INFO_SOMA, | ||
55 | GRID_INFO_UMA, | ||
56 | GRID_INFO_VAAK, | ||
57 | GRID_INFO_YAMI, | ||
58 | GRID_INFO_LOCAL, | 43 | GRID_INFO_LOCAL, |
59 | GRID_INFO_OTHER, // IP address set via command line option | 44 | GRID_INFO_OTHER, // IP address set via command line option |
60 | GRID_INFO_COUNT | 45 | GRID_INFO_COUNT |