summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2011-08-30CHOP-763: Introduce LLView::getPathname().Nat Goodspeed
2011-08-30CHOP-763: make sendReply() treat replyKey as optional.Nat Goodspeed
It's not worth bothering to tweak reply LLSD or attempt to send it if the incoming request has no replyKey, in effect not requesting a reply. This supports LLEventAPI operations for which the caller might or might not care about a reply, invoked using either send() (fire and forget) or request() (send request, wait for response). This logic should be central, instead of having to perform that test in every caller that cares. The major alternative would have been to treat missing replyKey as an error (whether LL_ERRS or exception). But since there's already a mechanism by which an LLEventAPI operation method can stipulate its replyKey as required, at this level we can let it be optional.
2011-08-29CHOP-763: Implement widget-pathname-based routing for mouse events.Nat Goodspeed
Send mouseDown(), mouseUp(), mouseMove() through static mouseEvent() helper function. Process new optional ["path"] param, validating corresponding LLView and capturing certain information about it for caller. Synthesize (x, y) pos if need be. Use LLView::TemporaryDrilldownFunc and llview::TargetEvent to temporarily hijack normal LLView mouse-event propagation. Define Response helper class to capture LLSD blob about the current request and ensure it gets sent on return.
2011-08-29a better way to inject key events.Andrew A. de Laix
2011-08-26implement path option for key events.Andrew A. de Laix
2011-08-25CHOP-763: Move llwindowlistener.{h,cpp} from llwindow to newview.Nat Goodspeed
Instantiate LLWindowListener on LLViewerWindow instead of on LLWindow. This permits LLWindowListener to use machinery from llui, e.g. LLUI::resolvePath(). Document planned new ["path"], ["reply"] params to "keyDown", "keyUp", "mouseDown", "mouseUp", "mouseMove" operations; document relationship between ["path"] and ["x"] and ["y"]. NEW PARAMS NOT YET IMPLEMENTED.
2011-08-25CHOP-763: Add LLView::TemporaryDrilldownFunc to support UI injection.Nat Goodspeed
Instead of unconditionally calling LLView::pointInView(), LLView::visibleAndContains() now consults a class-static boost::function called sDrilldown -- which is initialized to LLView::pointInView(). Introduce LLView::TemporaryDrilldownFunc, instantiated with a callable whose signature is compatible with LLView::pointInView(). This replaces sDrilldown, but only for the life of the TemporaryDrilldownFunc object. Introduce llview::TargetEvent, an object intended to serve as a TemporaryDrilldownFunc callable. Construct it with a desired target LLView* and pass it to TemporaryDrilldownFunc. When called with each candidate child LLView*, instead of selecting the one containing the particular (x, y) point, it selects the one that will lead to the ultimate desired target LLView*. Add optional 'recur' param to LLView::childFromPoint(); default is current one-level behavior. But when you pass recur=true, it should return the frontmost visible leaf LLView containing the passed (x, y) point.
2011-08-11CHOP-763: Collect nontrivial LLView::childrenHandle*() methods.Nat Goodspeed
There are 5 remaining childrenHandleSomething() methods with nontrivial bodies -- the rest all forward to one of those 5. Move them all to be physically adjacent in the source file to make it easy to compare/maintain.
2011-08-11CHOP-763: Reduce redundancy in LLView::childrenHandle*() methods.Nat Goodspeed
There were 13 different methods that were more or less clones of each other. Consolidate those down to 5 variations on the basic method body, where each variation has good (commented!) reason to differ. Use helper methods to further simplify the remaining distinct method bodies. Use BOOST_FOREACH() to improve readability of iterating over mChildList.
2011-08-03CHOP-763: Remove redundant KEY string names from llwindowlistener.cpp.Nat Goodspeed
A couple of the lookup tables in llwindowlistener.cpp essentially duplicated LLKeyboard::keyFromString() and maskFromString(). Remove those tables and use LLKeyboard lookup methods instead.
2011-07-27merge changes for storm-1474Oz Linden
2011-07-25merge fix for SH-2031Oz Linden
2011-07-25increment viewer version to 2.8.3Oz Linden
2011-07-25close head created by 54e071a92450Oz Linden
2011-07-25merge changes for storm-1458Oz Linden
2011-07-25SH-2031 Fix for bad vertex shader/fragment shader varying usage.Dave Parks
2011-07-24mergeDave Parks
2011-07-24dummy check in to make hg happyDave Parks
2011-07-24mergeDave Parks
2011-07-22merge changes for storm-1526Oz Linden
2011-07-22SH-2031 Fix for sometimes deadlocking a curl thread.Dave Parks
2011-07-22Automated merge with http://hg.secondlife.com/viewer-developmentNat Goodspeed
2011-07-22merge changes from snowstorm team review buildOz Linden
2011-07-22STORM-1474 FIXED Implement Show Last Search in viewer chromePaul ProductEngine
- Minimize the search floater on teleport
2011-07-22SH-2031 Cleanup from threaded curl implementation (remove errors/loops on ↵Dave Parks
shutdown).
2011-07-22SH-2031 Disable usage of glMapBuffer (again). Despite using MapBufferRange, ↵Dave Parks
this is still a source of frame stalls.
2011-07-21SH-2031 Followup to curl threading work -- don't start and stop the thread ↵Dave Parks
on every request, use a signal (cuts time spent in Pump IO down from 1-2 ms to 0.1ms)
2011-07-21SH-2031 Don't do network I/O from the main thread in llcurl.Dave Parks
Reviewed by Kelly
2011-07-21SH-2031 Fix for stall in "Cleanup"Dave Parks
2011-07-21merge changes for eli2_viewer-developmentOz Linden
2011-07-21SH-2020 Fix for avatar skin/eyes and trees being bright/black/busted underwater.Dave Parks
2011-07-20SH-2048 Fix for invisiprims infecting neighboring prims with their invisi-ness.Dave Parks
2011-07-20SH-2021 Fix for black water at the horizon from occlusion culling madness.Dave Parks
2011-07-20SH-1838 Add error handling for allocation of off screen render targets.Dave Parks
Reviewed by Leslie
2011-07-20FIX INTL-58 set25, light set4 translation for 6 languageseli
2011-07-19SH-2038 FIX -- [PUBLIC] Severe performance drop on MacBook ProsLeslie Linden
EXP-997 FIX -- Significant FPS degradation in 2.8.0 Beta on Mac equipped ATI video card * Disabled VBO's on mac to avoid stalls in renderer * Placed valid data into the padding between triangles in the vertex buffer to remove uninitialized craziness * Removed invalid rendering checks causing GL errors in debug mode Reviewed by davep
2011-07-19merge changes for storm-1487Oz Linden
2011-07-19merge changes for storm-1221Oz Linden
2011-07-19merge changes for storm-1502Oz Linden
2011-07-19merge changes for storm-1503Oz Linden
2011-07-19merge changes for vwr-26066Oz Linden
2011-07-19merge changes for storm-1476Oz Linden
2011-07-19STORM-519 FIXED "Delete" is enabled in the context menu for folders which ↵Paul ProductEngine
contain worn items - Disable "Delete" menu item in case selected folder contains non-removable items.
2011-07-19STORM-1487 FIXED Changed the "get more gestures" marketplace URL.Vadim ProductEngine
2011-07-19STORM-1221 FIXED Hard coded dates made localizable under Group Profile ↵Seth ProductEngine
Land/Assets. Added a function for parsing a date string of specific format. Added strings defining the date format in Group Profile Land/Assets that should be localized.
2011-07-19More FormatMessage compile errors, try again to fixNat Goodspeed
2011-07-19Fix copy/paste error in swiped FormatMessage() example code.Nat Goodspeed
2011-07-19Per Josh's comments in http://codereview.lindenlab.com/6510035/Nat Goodspeed
Instead of low-level open(O_CREAT | O_EXCL) loop on all platforms, use GetTempFileName() on Windows and mkstemp() elsewhere. Don't append a final newline to NamedTempFile: use caller's data literally. Tweak a couple comments.
2011-07-18sync with viewer-developmenteli
2011-07-18merge changes for storm-1515Oz Linden