Commit Graph

8650 Commits (97f9dbee2ccd32b666c14bd79111bc2dbe2523e2)

Author SHA1 Message Date
Tofu Linden 97f9dbee2c BOOL->bool on llassettype.* 2010-04-01 14:40:44 +01:00
Monroe Linden 68870a1f59 Added copyright header to new unit test. 2010-03-31 18:53:50 -07:00
Monroe Linden e868159922 Added unit test for LLPluginCookieStore. 2010-03-31 18:51:09 -07:00
Monroe Linden 11b588c29c Fixed a problem with LLPluginCookieStore that would have caused problems when adding multiple cookies with setCookies(), setAllCookies(), and setCookiesFromHost(). 2010-03-31 18:50:20 -07:00
CG Linden a1092147e0 merge 2010-03-31 15:25:04 -07:00
CG Linden ac271e1d50 Include channel names in update_version_files.py invocation to fix bad viewer channel name. 2010-03-31 15:24:42 -07:00
Monroe Linden 5c19099622 Enable OpenID auth in the embedded webkit browser.
Extract openid_url and openid_token tokens from the login response in process_login_success_response() and send them to LLViewerMedia if they're present.

Added LLViewerMedia::openIDSetup() to receive openid_url and openid_token, and added code to LLViewerMedia to do a POST with LLHTTPClient, retrieve the resulting cookie, and push it into the central cookie store.  Also made sure the OpenID cookie gets re-added when the cookie store is cleared.

Added LLPluginCookieStore::setCookiesFromHost() to properly add a cookie that may not have a domain set.  Made LLPluginCookieStore::Cookie::parse() add missing domain and path fields to cookies as necessary.

Fixed an issue where carriage returns in the string passed to LLPluginCookieStore::setCookies() or LLPluginCookieStore::setCookiesFromHost() would cause a parse failure.

Reviewed by gino and callum at http://codereview.lindenlab.com/1254001
2010-03-31 13:53:40 -07:00
Brad Payne (Vir Linden) e504f89513 merge 2010-03-31 16:11:21 -04:00
Brad Payne (Vir Linden) 2208e6da2c asset request logging for DEV-47362 investigation. 2010-03-31 16:09:34 -04:00
Loren Shih fc8c4ea485 automated merge 2010-03-31 12:06:22 -04:00
Loren Shih e5443c4e76 automated merge 2010-03-31 12:06:01 -04:00
Loren Shih d4fef262bc EXT-5581 : Centralize is_asset_fetch/knowlable into asset dictionary
Took out some ugly case statements and stuck those functions into the asset dictionary instead.  This makes the code a lot more centralized/extensible since if we ever add assets, it'll be clear that their fetch/knowable fields need to be added (versus that logic being in some obscure case statement).
2010-03-31 12:05:51 -04:00
Tofu Linden 5038f1fb61 merge from viewer-2-0 2010-03-31 16:52:59 +01:00
Tofu Linden 8f5e094757 recent crash regression fix from Seraph. 2010-03-31 16:46:57 +01:00
Loren Shih b3bbc9d9ac Fix for crash in process_avatar_movement.
gAgentAvatarp pointer was being checked for null instead of the local avatarp.
2010-03-31 11:05:23 -04:00
Tofu Linden 3e11f81b69 EXT-2418 - improved cursors for sit/open/buy - the neglected Linux part. 2010-03-31 15:24:10 +01:00
Loren Shih d99a7d2f1d automated merge 2010-03-30 17:47:16 -04:00
Loren Shih 2e05cc588f EXT-5916 : INFRASTRUCTURE: Move autopopulation code into its own separate class
Moved LLLibraryOutfitsFetch and LLInitialWearablesFetch
2010-03-30 17:39:16 -04:00
Nyx (Neal Orman) 98695056c2 Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk 2010-03-30 16:49:35 -04:00
Loren Shih d7002c0695 EXT-3529 : INFRASTRUCTURE : Move LLFindWearables code and others into LLInventoryFunctions
These functions are defined in LLInventoryFunctions.h but their implementation is in LLInventoryBridge...  moved everything to LLInventoryFunctions.
2010-03-30 16:24:18 -04:00
Loren Shih 094700f499 Rename to remove camelcase from llinventorymodelbackground files. 2010-03-30 16:05:16 -04:00
Loren Shih 116c42750b Rename to remove camelcase from llinventorymodelbackground files. 2010-03-30 16:03:48 -04:00
Loren Shih 715e38fb53 EXT-6630 : INFRASTRUCTURE: Pull out -Keys functions from llagent into llagentcamera
Fix for S32/F32 mismatch.
2010-03-30 16:01:17 -04:00
Loren Shih 909091cc0c EXT-3415 : INFRASTRUCTURE : Move LLInventoryCollectFunctors to separate class
Moved all the LLInventoryModelCOllectFunctors from LLInventoryModel to LLInventoryFunctions
2010-03-30 15:56:15 -04:00
Nyx (Neal Orman) 4270739741 Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk 2010-03-30 15:45:53 -04:00
Loren Shih 856eccdb53 Rename to remove camelcase from llinventorymodelbackground files. 2010-03-30 15:45:29 -04:00
Nyx (Neal Orman) 56434c5542 Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk 2010-03-30 15:42:30 -04:00
Loren Shih bf49c0fcc4 Rename to remove camelcase from llinventorymodelbackground files. 2010-03-30 15:38:16 -04:00
Nyx (Neal Orman) 6d82b0c0a2 EXT-6633 enable demo of multiwearables code
cleaning up a merge conflict where HG didn't quite do the right thing.
2010-03-30 15:30:59 -04:00
Loren Shih b0d2cd38f0 EXT-6634 : INFRASTRUCTURE: Generic header file / #include cleanup
LLAgent.* cleanup
Also took out some constants from llagent.cpp that aren't being used.
2010-03-30 15:21:53 -04:00
Nyx (Neal Orman) cc3f4c1f59 Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk 2010-03-30 15:20:37 -04:00
Nyx (Neal Orman) dbcd12a4d1 EXT-6633 enable basic multiwearables demo
Fixed several areas of code that were not multi-wearables enabled.
Specifically allowed for the wearing of created outfits that had links to
multiple items of the same type. Such outfits can be created by dragging
multiple items of the same type into an unworn outfit folder. When you
wear the outfit, all items (up to 5 per type) should be worn. Does not
affect right-click options or other buttons.

Code reviewed by Vir.
2010-03-30 15:17:14 -04:00
Loren Shih 7a8c6a235e EXT-6632 : INFRASTRUCTURE: LLAgentCamera / LLAgent header file / #include cleanup
Took out unnecessary #includes from llagentcamera.*
2010-03-30 15:05:48 -04:00
Loren Shih b15e34b942 EXT-6630 : INFRASTRUCTURE: Pull out -Keys functions from llagent into llagentcamera
Orbit/Pan keys were already in llagentcamera.  Pulled alt/walk/left/up/yaw/pitch into llagentcamera.
2010-03-30 14:21:20 -04:00
Loren Shih 9ec2e86929 automated merge 2010-03-30 11:50:41 -04:00
Loren Shih 5861a2faf2 EXT-3414 : Move static backgroundfetch methods and variables to llinventorymodel subclass
Created LLInventoryModelBackgroundFetch file for handling background fetch.
2010-03-30 11:49:15 -04:00
Tofu Linden 7b801ca15d EXT-6589 "Are you sure you want to teleport.." dialog has broken "[LOCATION]" tag 2010-03-30 15:51:40 +01:00
Tofu Linden 088a878f42 fix linux build error. 2010-03-30 15:43:28 +01:00
Monroe Linden e1517318c5 Fix for EXT-6615 (SL webkit no longer reports "Second Life" in the HTTP_USER_AGENT)
The issue here is that initBrowserWindow() was doing the wrong thing if it got called after the set_user_agent message was received.

Made the handler for the set_user_agent message save the string in a member variable (mUserAgent).

Initialize mUserAgent to the default string in the MediaPluginWebKit constructor.

initBrowserWindow() now sets the user agent string from mUserAgent instead of from a literal.
2010-03-29 18:36:47 -07:00
Monroe Linden 9e211a3e20 Default MediaShowOnOthers setting to false.
--HG--
branch : EXT-4880
2010-03-29 17:00:44 -07:00
Richard Nelson eeeca91797 merge 2010-03-29 15:29:12 -07:00
Richard Nelson e50586043b EXT-3258 - Viewer freezes while external web browser loads page
reviewed by Callum
2010-03-29 15:28:48 -07:00
Loren Shih 114e5ca083 EXT-5940 : Typedef all vector<LLUUID>'s
Superficial cleanup to change all typedef std::vector<LLUUID> to use a common typedef uuid_vec_t instead.
2010-03-29 16:33:35 -04:00
Eli Linden ab6a2456c0 VWR-17649 en_xui_change 2010-03-29 13:16:12 -07:00
Eli Linden 78436b3237 EXT-6572 (major bug) DE workaround to remove the word "Kaufen" and leave just the L$ link to avoid obvious linguistic error due to poor source design, at Simone's request 2010-03-29 12:51:01 -07:00
Eli Linden 998c7fb94b VWR-17644 undo old 'es' overrides 2010-03-29 12:45:29 -07:00
Loren Shih b1b5a11bb0 EXT-3075 : Remove swear words from comments across viewer
This bugs me in a minor way.  Did a search-and-cleanup on various swear words.
2010-03-29 15:33:48 -04:00
Loren Shih 3ce8365062 automated merge 2010-03-29 14:46:14 -04:00
Loren Shih fbdd93bb91 EXT-6536 : Make LLVOAvatarSelf a singleton
No longer explicitly deleting gAgentAvatarp due to reference counting.
2010-03-29 14:45:21 -04:00
Xiaohong Bao 5de0c907de Automated merge with ssh://hg.lindenlab.com/q/viewer-trunk 2010-03-29 12:33:22 -06:00