Commit Graph

24781 Commits (ad4102db1b0b6730d6d1fe7119cab2149bb48e2c)

Author SHA1 Message Date
Nat Goodspeed ad4102db1b LLPanelLogin::loadLoginPage() can now use "sourceid" settings var.
Previously we borrowed the sourceid= param value from create_account_url,
which we "happened to know" was overridden with the sourceid of interest. Now
that we have a settings variable that directly captures sourceid, though, much
more straightforward to use that.
2012-10-16 21:13:25 -04:00
Nat Goodspeed 50c633bf35 Reference new "[sourceid]" substitution in "create_account_url".
join.secondlife.com needs to know the sourceid as well as the user's language
of choice. Ensure that sourceid gets passed with the URL.
2012-10-16 21:10:54 -04:00
Nat Goodspeed 94bc6ac857 Steam skin no longer needed: we can now embed "[sourceid]" in URLs.
The whole point of --skin steam was to override (specifically)
"create_account_url" in strings.xml, adding to each URL value a sourceid= URL
parameter. Now we can do that more simply with '--set sourceid blah'. Less
overhead, less maintenance, scales better to potential future sourceid values.
Remove the steam skin.
2012-10-16 21:04:35 -04:00
Nat Goodspeed c370313676 Automated merge with file:///Users/nat/linden/viewer-sourceid 2012-10-16 21:02:48 -04:00
Nat Goodspeed 988767d5ec Introduce LLAppViewer::initStrings(); reload default_trans_args.
Calling LLTrans::setDefaultArg() after LLTransUtil::parseStrings() is almost
good enough -- but it fails to address the case in which one or more of the
default_trans_args strings (e.g. "create_account_url") embeds a reference to
the new substitution. So after the setDefaultArg() call, go back through
default_trans_args, refetching each string to perform the substitution and
updating it with a setDefaultArg() call of its own. All this is way too much
logic to replicate in both LLAppViewer::initConfiguration() and init(), so
break out new LLAppViewer::initStrings() method and call it from both places.
2012-10-16 09:56:45 -04:00
Nat Goodspeed c5373b90eb Add 'sourceid' settings var specifically for skin-files insertion.
Add logic after (both!) LLTransUtil::parseStrings() calls to ensure that
"[sourceid]" embedded in (e.g.) strings.xml content will be replaced.
2012-10-15 16:16:24 -04:00
Nat Goodspeed f2e2ea99a3 Resync steam/xui/*/strings.xml with default/xui/*/strings.xml.
The steam/xui/*/strings.xml files are intended only to override a single
string (create_account_url). But until the strings.xml C++ code supports
fallback to the default skin, we must manually keep them synchronized except
for that one string.
2012-09-11 12:44:09 -04:00
Nat Goodspeed f8207208f0 Merge up to http://hg.secondlife.com/viewer-development 2012-09-11 12:13:48 -04:00
Oz Linden a8aa7dbd8b inconsequential change to force new build 2012-09-10 13:44:14 -04:00
Nat Goodspeed 695c4135ff Automated merge with file:///Users/nat/linden/davep-viewer-development-rebased 2012-09-07 14:47:24 -04:00
Dave Parks af6e665d5c MAINT-1491 Fix for L&S never being enabled by default on XP/Linux/OS X 2012-09-07 11:22:45 -05:00
Nat Goodspeed b6f0921099 Automated merge with file:///Users/nat/linden/davep-viewer-development-rebased 2012-09-06 19:02:39 -04:00
Nat Goodspeed 84884b06f2 Reapply f6ed57210865 to zh/notifications.xml: remove "FirstRun" link.
Because create_account_url should vary between viewer languages and skins,
we've made an effort to ensure that create_account_url is used everywhere,
instead of directly embedding http://join.secondlife.com. Recent rev
6ee71714935f accidentally reinserted the link embedded in the "FirstRun"
notification for language 'zh'. Delete it again.
2012-09-05 17:07:39 -04:00
Nat Goodspeed a372fb2851 Automated merge with http://hg.secondlife.com/viewer-development 2012-09-05 17:04:44 -04:00
Oz Linden e3b4b3875a merge changes for DRTVWR-207 2012-09-04 11:08:14 -04:00
Oz Linden fa449e17e5 merge changes for DRTVWR-206 2012-09-04 09:30:27 -04:00
Oz Linden 946a57084c tag merge of DRTVWR-206 2012-09-04 09:30:25 -04:00
Oz Linden 8189b28d22 merge changes for 2012-08-31 16:28:24 -04:00
Nat Goodspeed f346cbbdeb Copy sourceid= from create_account_url to login-page URL.
This allows the login-page server to respond to any sourceid= associated with
the create_account_url, which (we happen to know) varies by skin -- e.g. for
the Steam viewer.
2012-08-31 11:58:25 -04:00
Nat Goodspeed 488362b0ac Now that LLURI isn't broken, use it to construct login-page URL.
Previous logic constructed a std::ostringstream, directly messing with '?' vs.
'&', ugly libcurl escape calls etc. Now we can deconstruct the LLGridManager::
getLoginPage() URL, supplement the params map as needed and then rebuild a new
URL using LLURI::buildHTTP().
2012-08-31 11:32:31 -04:00
Nat Goodspeed 7db0cb7583 Fix longstanding LLURI::buildHTTP() bug when passing string path.
The LLURI::buildHTTP() overloads that take an LLSD 'path' accept 'undefined',
LLSD::String and (LLSD::Array of LLSD::String). A sequence of path components
passed in an Array is constructed into a slash-separated path. There are unit
tests in lluri_test.cpp to exercise that case.
To my amazement, there were NO unit tests covering the case of an LLSD::String
path. The code for that case escaped and appended the entire passed string.
While that might be fine for a 'path' consisting of a single undecorated path
component, the available documentation does not forbid one from passing a path
containing slashes as well. But this had the dubious effect of replacing every
slash with %2F.
In particular, decomposing a URL string with one LLURI instance and
constructing another like it using LLURI::buildHTTP() was not symmetrical.
Having consulted with Richard, I made the string-path logic a bit more nuanced:
- The passed path string is split on slashes. Every path component is
  individually escaped, then recombined with slashes into the final path.
- Duplicate slashes are eliminated.
- The presence or absence of a trailing slash in the original path string is
  carefully respected.
Now that we've nailed down how it ought to behave -- added unit tests to
ensure that it DOES behave that way!!
2012-08-31 09:55:52 -04:00
Oz Linden 7f0b247d4b Added tag 3.3.4-release3 for changeset 351eea5f9dc1 2012-08-31 09:01:09 -04:00
Oz Linden 2ba33302f5 tag merge of DRTVWR-207 2012-08-31 08:53:58 -04:00
Oz Linden dab915c1d2 Added tag 3.4.0-beta5 for changeset 573e863be2f2 2012-08-30 17:15:02 -04:00
eli 22a851663c WIP INTL-46 Set24 translation for traditional chinese; add new files; remove obsolete files 2012-08-30 13:54:52 -07:00
eli 92a69950ab FIX INTL-101 translation of set33 for 8 languages; add new files; remove obsolete files 2012-08-30 13:40:14 -07:00
Dave Parks b12ade128b MAINT-1491 Make GPU table more readable, clear out some cruft, and start reporting raw GL strings in viewer stats instead of GPU table labels to make future GPU table overhauls more effective. 2012-08-29 20:49:47 -05:00
Dave Parks fd906e603e MAINT-1491 Add Intel HD Graphics entries. 2012-08-29 16:44:29 -05:00
Oz Linden 5e254a946d merge changes for DRTVWR-205 2012-08-29 17:30:27 -04:00
Oz Linden 67b1ebe80a tag merge of DRTVWR-205 2012-08-29 17:30:25 -04:00
Dave Parks 15f619c4b9 MAINT-1491 Add Radeon HD 7xxx chips, get rid of "ATI Technologies" catch all, split up NVIDIA GT(X) 6xx series into mobile/desktop. 2012-08-29 16:19:18 -05:00
eli 28ff2c209d WIP INTL-46 Traditional Chinese translation for Set23TW (120829) 2012-08-29 13:36:14 -07:00
Dave Parks 1779db5fa0 MAINT-1497 Remove "ATI Geforce" lines (also add "expected OpenGL version" field) 2012-08-29 14:07:29 -05:00
callum e4230e640a MAINT-1455 FIX Media Texture not visually updated correctly
Reviewed by me. (Bao created)
2012-08-29 11:16:22 -07:00
Oz Linden 65ce4ee166 Added tag oz-build-test-tag for changeset 34dbbe2b00af 2012-08-29 11:28:17 -04:00
Dave Parks 81996a034c MAINT-1491 Tuned analysis function for more consistent results 2012-08-28 17:53:04 -05:00
Dave Parks 9611356556 MAINT-1491 Integration of statistically generated GPU table -- enable shadows by default where appropriate. 2012-08-28 13:52:14 -05:00
Oz Linden e51a57b895 pull back beta tag 2012-08-23 10:57:30 -04:00
Nat Goodspeed b974422a07 MAINT-1444: Make bottom-right corner of new login panel overlap.
MAINT-1444 complains that with all optional login-panel controls enabled, the
login panel is wider than 1024 pixels: at that width, the new "Start now"
button is pushed completely off the right edge of the window. Richard told me
how to tweak the layout so that the controls can squeeze together in an
overlapping way, enabling all controls to be visible even at 1024 width.
2012-08-22 18:20:56 -04:00
Oz Linden 43d29ea03e merge changes for DRTVWR-202 2012-08-22 17:11:10 -04:00
Oz Linden d34e584b41 tag merge of DRTVWR-202 2012-08-22 17:11:08 -04:00
Oz Linden fcfc686d9c Added tag 3.4.0-beta4 for changeset 84fb70dfe344 2012-08-22 17:08:49 -04:00
callum_linden 848ed9cb2f Fix up white space to follow coding policy guidelines 2012-08-22 12:58:08 -07:00
Oz Linden f78861c7bc pull back release hotfix and beta fixes 2012-08-22 11:36:09 -04:00
Oz Linden 5c4babf0fd merge changes for DRTVWR-201 2012-08-22 11:12:55 -04:00
Oz Linden 0e4fa75e64 tag merge of DRTVWR-201 2012-08-22 11:12:53 -04:00
Oz Linden e4b553075e merge changes for 2012-08-22 10:51:52 -04:00
Oz Linden 63d04204a9 merge changes for DRTVWR-203 2012-08-22 08:46:19 -04:00
Oz Linden e0f391df2a tag merge of DRTVWR-203 2012-08-22 08:46:03 -04:00
Oz Linden 5949d605d7 merge back 3.4.0-beta3 fixes 2012-08-22 08:40:05 -04:00