Commit Graph

39337 Commits (405f5c879c44f32635dcb94de2c7dfb9e4a8673a)

Author SHA1 Message Date
Monroe Linden 86787b58ed Major refactor of LLViewerMediaFocus and LLPanelMediaHUD.
LLViewerMediaFocus now tracks two separate objects:  the currently focused media object, and the media object that's currently being hovered over.  It no longer stores smart pointers to either the LLViewerObject or the LLViewerMediaImpl -- it now looks up both by UUID every time they're needed, and fails gracefully if either goes away.  This will prevent it from keeping objects from being deleted.

The poorly-understood "mouseOverFlag" has been expunged.

LLViewerMediaFocus no longer uses LLSelectMgr at all.  The object to focus on is explicitly passed between LLViewerMediaFocus and LLPanelMediaHUD instead of going indirectly through the selection manager.

LLViewerMediaFocus also no longer interacts with the pick from LLToolPie -- the data it needs from the pick (the object and normal vector) is passed explicitly.

LLViewerMediaFocus::setCameraZoom and LLViewerMediaFocus::getBBoxAspectRatio now have no dependencies on the LLViewerMediaFocus object -- all the data they need is passed in when they're called by the LLPanelMediaHUD.  I made them static member functions, but they could be moved to LLPanelMediaHUD or even made into file-scoped static functions.  The only reason I didn't do either of those is that it seems like they belong with the LLViewerMediaFocus code as opposed to the HUD.
2009-10-15 18:42:30 -07:00
Steve Bennetts 217b1b1b6b Merge from branch-test (EXT-651) 2009-10-15 18:23:01 -07:00
Steve Bennetts 9037800408 EXT-651 - Added Upload Image shortcut to Advanced > Keyboard Shortcuts. Also cleaned up that menu a little.
--HG--
branch : branch-test
2009-10-15 18:07:39 -07:00
Rick Pasetto f1beac1a70 Merge from remote repo 2009-10-15 17:39:17 -07:00
Rick Pasetto 9a7f79cbcf Merge from remote repo 2009-10-15 17:38:56 -07:00
Rick Pasetto 665bac16ce Clarify comments a little 2009-10-15 17:33:42 -07:00
Ramzi Ramey 5d80277c57 DEV-41389 Localize the splash screen 'loading...' icon in all languages
* added files should already be covered in viewer_manifest.py
* Also fix a 1-line typo in Italian installer.
2009-10-16 00:12:48 +00:00
Erica Olsen b8b5af4a39 EXT-1561 Update People Profiles to match Style guide
EXT-770 Update Me Profile and Me Edit Profile to match updated style guide
EXT-302 Update and My Account links in the Me Panel are misplaced
EXT-805 Update Me Pick Info and Me Edit Edit Pick Info to match updated style guide
2009-10-16 00:01:10 +00:00
Rick Pasetto 2cb043a626 FIX DEV-39513: Tweak target camera position to avoid a flip when target normal is vertical
Review #21
This attempts to tweak the target camera position slightly towards where the camera started from, so as to avoid the flip noted in this JIRA.
2009-10-15 16:30:48 -07:00
callum 893fc8afa7 Merge to update new version number. 2009-10-15 15:33:32 -07:00
Justin Rounds 3976c2a7b0 Fixed search button icon to match spec. http://jira.secondlife.com/browse/EXT-1320 2009-10-15 22:20:17 +00:00
Justin Rounds f20e9521a9 Set scale_image to false in combo_box.xml to fix stretching. http://jira.secondlife.com/browse/EXT-1319 2009-10-15 22:08:19 +00:00
callum 113053b504 Fixed defects - added back getLoadedDuration() code that mysteriously vanished and fix name of function that checks the title.
See http://10.1.19.90:8080/go?page=ReviewDisplay&reviewid=19
2009-10-15 15:08:10 -07:00
callum 12628429d8 Fixed defect for URLs that already have a scheme
See http://10.1.19.90:8080/go?page=ReviewDisplay&reviewid=18
2009-10-15 14:49:27 -07:00
Richard Nelson 2ff7f8a772 fix for gcc build 2009-10-15 21:35:30 +00:00
Steve Bennetts dce043b317 Merge from branch-test (EXT-1279) 2009-10-15 14:21:03 -07:00
Steve Bennetts 590d3b9e3a EXT-1279 Crash if font file not found.
Added getFontDefault() to llfontgl.h

--HG--
branch : branch-test
2009-10-15 14:14:46 -07:00
Justin Rounds 5debafb966 Discovered implementation of Favorites links is not to spec (they are buttons instead of text links). Edited XML to "fake" the spec and make the Favorites "buttons" behave as required. Made other layout changes as per http://jira.secondlife.com/browse/EXT-1317 2009-10-15 21:06:48 +00:00
skolb e9f7205ba9 Merge fix for DEV-39832 2009-10-15 13:58:16 -07:00
Richard Nelson 5edb4f2171 removed requirement for specializing ParamCompare on boost::function types
eliminated usage of iterator_range from LLInitParam
made LLTextEditor::addChar consistent with truncate in counting text bytes (not including null terminator)
EXT-1494 - Avatar profile description text truncated to 255 characters

reviewed by Leyla
2009-10-15 19:56:45 +00:00
Nat Goodspeed 050ae3cf51 Merge up to latest viewer/viewer-2-0 2009-10-15 15:43:59 -04:00
Adam Moss 56fed69c4a remove moved test from this CMakeLists. 2009-10-15 19:06:40 +00:00
Adam Moss 6db2141a06 skip a failing resurrected test in m3math >:( 2009-10-15 19:04:42 +00:00
Adam Moss 4a8c59bd96 DEV-41368 resurrect dead m3math tut test, convert it to a llmath integration test. 2009-10-15 18:58:23 +00:00
Adam Moss 9672abecd4 DEV-41367 resurrect dead bitpack test, convert it to a llcommon integration test. 2009-10-15 18:51:23 +00:00
Adam Moss 35c0d21c1e DEV-41366 convert monolithic llbase64 test into a llcommon integration test. 2009-10-15 18:44:59 +00:00
Adam Moss 7c55efa4bc DEV-41363 convert legacy llhost tut test into a llmessage integration test. 2009-10-15 18:41:04 +00:00
Adam Moss 4d5a74da9e DEV-41357 resurrect dead lldir test, turn it into an integration test of llvfs. 2009-10-15 18:31:45 +00:00
callum 3831ca912e https://jira.lindenlab.com/jira/browse/DEV-40649
Media auto refreshes after Whitelist set
This checkin fixes a related issue to this task and prohibits user from (A) adding an item to the whitelist that would invalidate the home URL and (b) adding a home URL that would not pass the whitelist.
2009-10-15 11:29:14 -07:00
callum 4347096803 https://jira.lindenlab.com/jira/browse/DEV-40711
Implement name fetching capabilities for Webkit and Quicktime plugins
Adds support for new PluginAPI message (MEDIA_EVENT_NAME_CHANGED) that updates the "title" of the media. In WebKit plugin this is the contents of the <title> tag. In The QuickTime plugin it is the "display name" from the movie meta data
2009-10-15 11:26:52 -07:00
Adam Moss 11501bb4b4 DEV-41355 convert llmime monolithic tut test to a llmessage unit test. 2009-10-15 18:16:51 +00:00
Adam Moss ad583afe2c DEV-41354 #includes tidyup. 2009-10-15 18:12:10 +00:00
Adam Moss db6dff1d1f DEV-41354 convert llerror tut test into a llcommon integration test 2009-10-15 18:10:46 +00:00
Adam Moss 986bf99839 DEV-41352 convert lluri tut test to a llcommon integration test 2009-10-15 18:05:15 +00:00
Ramzi Ramey 2af2a25c8a L10N: add a comment to provide context to a string in strings.xml 2009-10-15 17:43:07 +00:00
Ramzi Ramey 1a1c7efe4b EXT-1477 (part2) Last tweak to the Develop menu with a much better name for the Console Window option thingy. 2009-10-15 16:59:58 +00:00
Adam Moss f31397291b DEV-41345 turn llmodularmath_tut into a real llmath unit test. 2009-10-15 16:59:54 +00:00
Adam Moss c7df37b531 DEV-41344 convert monolithic tut lltreeiterators test to a llcommon integration test. 2009-10-15 16:49:08 +00:00
Adam Moss 226c08130d DEV-41343 lljoint unit test - resurrected - this was previously disabled (and old-style monolithic tut) 2009-10-15 16:43:12 +00:00
Adam Moss 423f5b0078 DEV-41341 tut lltiming test -> llframetimer integration test 2009-10-15 16:32:56 +00:00
Martin Reddy 925f01f6a0 DEV-41253: Updated the help context calculation code so that it will
now search through a panel's children to see if there are any visible
tabs that have a help topic string defined. If so, we use this string.

Updated all of the XUI files that include a tab_container to define
help topic strings for their child panels. I named all of these strings
with the floater name as the prefix and "tab" at the end. For example,
"preferences_display_tab" or "people_nearby_tab".
2009-10-15 13:08:12 +00:00
Richard Nelson 0051f6bc6d forgot to shift timing values by 8 bits on mac
fixed fast timer values being multiplied by 256
2009-10-15 02:31:50 +00:00
Erica Olsen 76a9e26ba7 EXT-1561 Update People Profiles to match Style guide
EXT-1562 Improve design of Home panel in Sidetray
2009-10-14 23:46:48 +00:00
CG Linden 47e02d13f7 Increase the .dmg setup size from 500MB to 700MB 2009-10-14 16:41:48 -07:00
James Cook 93983272bd EXT-1304 DEV-40867 Login screen typed in start location is now readable. Changed combo_box.xml text tentative color to black, because autocomplete is sufficient to inform the user that they typed something that matches an item in the list. Reviewed with Erica. 2009-10-14 23:34:02 +00:00
Richard Nelson e3cb3e9e8d fixed a bug in LLFastTimer data gathering, and made them even faster (122 cycles on my 2.5Ghz Xeon)
can call LLFastTimer::nextFrame with timers still on the stack...first step towards more flexible data gathering
LLInstanceTracker works with statically allocated instances now
reviewed by Brad
2009-10-14 23:13:16 +00:00
James Cook 8799193fde EXT-946 There is no terrain on the Mini-Map. Unclear if this fixes the problem or not, does not reliably repro for me. Found several uninitialized variables in LLNetMap and fixed those. Reviewed with Richard. 2009-10-14 23:02:38 +00:00
Ramzi Ramey 69228f1197 DEV-35179 (part2) improve Keyboard shortcut indicators - oops, missed a few references in other files.
TEXT CHANGES ONLY
2009-10-14 22:52:08 +00:00
Lisabeth Pardi 50b1706511 Texture view "Keep"/"Discard" buttons are in reverse order. Also, changed Keep/Discard to OK/Cancel
EXT-762
2009-10-14 22:35:48 +00:00
Lisabeth Pardi 32445ee3f9 Remove old art resources from viewer
EXT-785
2009-10-14 21:11:28 +00:00