Commit Graph

189 Commits (798ba45606b4e4affcfde157ec64e877dd39e91c)

Author SHA1 Message Date
James Cook 3c06dc4df2 Merge 2009-12-16 16:40:06 -08:00
Leyla Farazha b76c439983 EXT-2649 Replace 'Advanced > Set Away After 30 Minutes' with Away time options
EXT-2649 [BSI] Confirm on Drop
EXT-3416  Can't name a new gesture on creation (and renaming is HARD)
reviewed by James
2009-12-15 16:25:11 -08:00
Vadim Savchuk e303864c17 Merge from default branch.
Resolved conflicts in llalertdialog.h and llnotify.cpp (local deletion vs
remote change) by removing them.

--HG--
branch : product-engine
2009-12-15 17:14:31 +02:00
brad kittenbrink cee8909ee4 Final merge of precompiled header dependency cleanup work. 2009-12-14 16:53:52 -08:00
richard 36dae1c1a0 merge 2009-12-14 13:07:28 -08:00
brad kittenbrink cb9b874b17 Merge of my old precompiled headers dependency cleanup with tip of viewer-2-0. 2009-12-14 11:07:29 -08:00
Vadim Savchuk f493b62f86 Merge from default branch.
--HG--
branch : product-engine
2009-12-14 15:07:16 +02:00
James Cook fce0d168ae EXT-3233 Button label vertical placement cannot be adjusted via xml
Added bottom_pad attribute to widgets/button.xml and removed old
LLBUTTON_VPAD global and ButtonVPad saved setting.
Reviewed with Richard.
2009-12-11 13:48:35 -08:00
skolb f0da8a7420 Merge media back into viewer 2-0 2009-12-11 09:07:39 -08:00
Alexei Arabadji 4fc7b91a79 implemented EXT-2323 “Get rid from obsolete notification widgets”;
--HG--
branch : product-engine
2009-12-11 14:26:27 +02:00
Monroe Linden 95b044a5c6 Fix for DEV-41388 (SNOW-307: Linux viewer builds renames gstreamer plugin to quicktime.)
Of the four options suggested in the jira, this is a modified version of #2.  Since the mime_types.xml file actually gets localized (it contains a bunch of user-visible text in addition to the mappings), I don't think renaming it in viewer_manifest.py will work.

Instead, I've created additional files (mime_types_linux.xml and mime_types_mac.xml) in the same location, and changed the code that loads the file in LLAppViewer::init() to look for different names per-platform.

I'm sure there are cleverer solutions (such as abusing the translation xml overlay system to create files that have deltas per platform), but those don't fit in the time-box allocated to this issue.
2009-12-10 16:03:39 -08:00
Vadim Savchuk cc6f28432e Merge from default branch.
--HG--
branch : product-engine
2009-12-09 12:47:36 +02:00
Vadim Savchuk d87c492d72 Merge from default branch.
--HG--
branch : product-engine
2009-12-08 15:27:20 +02:00
Yuri Chebotarev d36b993e92 fix low EXT-1112 No critical notification if quiting SL with unsaved group
--HG--
branch : product-engine
2009-12-08 12:53:45 +02:00
Lynx Linden 98111a40ec DEV-43439: Created new LLVersionInfo API.
Renamed llviewerversion to llversioninfo, to avoid confusion with
llversionviewer in llcommon (llversion is already used by llwindow).

Created new LLVersionInfo class with the following methods:

        static S32 getMajor();
        static S32 getMinor();
        static S32 getPatch();
        static S32 getBuild();
        static const std::string &getVersion();
        static const std::string &getShortVersion();
        static const std::string &getChannel();

All viewer code has been updated to use this API. Viewer code no
longer directly includes llversionviewer.h from llcommon.
2009-12-08 14:56:19 +00:00
Lynx Linden 24cba353a4 DEV-43439: Rename llviewerbuild.{cpp|h} -> llviewerversion.{cpp|h}
This module now contains general viewer version routines, not just
access to the viewer build number, so I've renamed it from
llviewerbuild to llviewerversion.
2009-12-07 20:30:29 +00:00
brad kittenbrink 8e912657e8 Another merge of include dependency cleanup work with viewer-2-0. 2009-12-07 12:20:47 -08:00
Lynx Linden de2f8212f0 DEV-43439: Added calls to query the viewer version.
Rather than copy/paste the same version string formatting pattern
again, I added new string-based version routines:

/// return the full viewer version as a string like "2.0.0.200030"
const std::string &llGetViewerVersion();

/// return the viewer version as a string like "2.0.0"
const std::string &llGetViewerShortVersion();

/// return the viewer build version as a string, e.g., "200130"
const std::string &llGetViewerBuildVersion();
2009-12-07 20:05:52 +00:00
Steve Bennetts a5c5a6598c Un-threaded LLTextureFetch to address potential performance and edge case crash issues.
Changed an assert to an llerrs with extra info
Added "HTTP Textures" to "Develop" menu
2009-12-03 12:07:18 -08:00
brad kittenbrink bf4f21ecf8 Merge of include dependency cleanup work with viewer-2-0 2009-12-03 10:41:31 -08:00
Rick Pasetto 659dc5224e DEV-42989: Adjust media priority based on app minimization and focus
Review #49

This change adjusts each media's priority based on whether the viewer is minimized (media priority becomes HIDDEN) or unfocused (media priority becomes LOW). However, due to the fact that updateMedia() was no longer being called when minimized, I moved its call out of LLViewerTextureList::updateImages() (a seemingly odd place anyway) and into its own idle callback.
2009-12-01 15:38:09 -08:00
Steve Bennetts d4e01315e3 EXT-2595 - Sounds not playing because LFSThread (Local File System) wasn't being updated. 2009-11-29 22:49:15 -08:00
James Cook 957055396d merge in changes from viewer-2-0, manually fixed conflict in llviewermessages.cpp 2009-11-25 12:31:24 -08:00
James Cook cbc0783cd1 Created lightweight LLNotificationsUtil::add(), switched most alerts to use it
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-25 01:15:50 -08:00
Loren Shih ccf6cb3f9b viewer-2.0 automated merge
--HG--
branch : avatar-pipeline
2009-11-24 22:11:24 -05:00
Bryan O'Sullivan de78ec1345 Nuke the last few references to the long-dead LCD code. 2009-11-24 15:31:34 -08:00
Loren Shih a22bb00530 merge
--HG--
branch : avatar-pipeline
2009-11-24 12:10:10 -05:00
Steve Bennetts aec42e3fa2 merge 2009-11-23 17:49:01 -08:00
Steve Bennetts 9730dd6a94 Added some threading debugging code. Should catch any recursive mutex locks in non Release builds. 2009-11-23 17:00:53 -08:00
James Cook 75138ddfb2 Fix main loop to llerrs on memory alloc failure, was masked by misuse of LLFLoaterReg with LLFloaterMemLeak.
Reviewed with Bao
2009-11-20 10:46:58 -08:00
Loren Shih 56a861138b EXT-2675 : Folder that contains baseitems for COF doesn't load on first click
EXT-2456 : Usability: Inventory > Clothing > context menu not intuitive

RightClickFetchInventoryObserver now works correctly to update menu
FetchInventoryDescendents now triggers notifyObservers properly
Fixed up gInventory.notifyObservers logic

--HG--
branch : avatar-pipeline
2009-11-19 21:57:14 -05:00
Nat Goodspeed ce80f253e5 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-18 17:10:34 -05:00
Nat Goodspeed 51d5005fa3 Make failure to load lleventhost.dll when requested a fatal error.
This addresses a failure mode Mani encountered when lleventhost.dll wasn't
built. testlangs.py couldn't talk to the newly-launched viewer -- but thinking
that was because it had crashed, it went ahead and launched a whole bunch
more. This fix avoids the possibility of rogue viewer processes on an
unattended test machine.
2009-11-18 17:07:37 -05:00
Loren Shih 5dea0791f7 EXT-2581 : Old items still display as "(worn)" even after I change outfits
Added gInventory.notifyObservers to idle callbacks so it gets triggered without explicit notifyObservers synchronization.
Added more state tracking for attachments, wearables, and links of those types, so that they're marked as changed properly.
2009-11-18 14:51:14 -05:00
Alexei Arabadji a77bf7a1c2 fixed EXT-2365 "LLAlertHandler should can process notifications before login.";
initialized notifications screen channels after LLViewerWindow instantiated
and disabled all old notifications widgets(LLNotifyBox, LLGroupNotifyBox,
LLAlertDialog);

--HG--
branch : product-engine
2009-11-16 16:51:06 +02:00
brad kittenbrink 1ea60591a9 Refactoring of llviewerprecompiledheaders.h to hopefully increase stability
and reduce unnecessary dependencies and incredibuild wedging.  Hopefully in
the long run this will reduce build time.  Also cleaned up a lot of header
file usage to conform better to the coding standard.

reviewed by james and steve.
2009-11-13 20:33:59 -05:00
Nat Goodspeed 062d0a13db Add LLEventAPI class, formalizing the mechanism by which we wrap a C++ API
with an event API. In addition to the LLEventPump name on which to listen,
LLEventAPI accepts a documentation string for event API introspection.
Give every LLEventDispatcher::add() overload a new documentation string
parameter for event API introspection.
Convert every existing event API to new conventions, introducing suitable
documentation strings for the API and each of its operations.
2009-11-11 07:41:50 -05:00
James Cook 0f6242d9fd Sanitize naming of getWindowRect (scaled vs. raw pixels) and getWorldViewRect (scaled vs. raw)
Reduces chance of future UI bugs related to UI size.
Discussed with Richard.
2009-11-10 14:00:38 -08:00
Steve Bennetts afe6350160 merge from texture-pipeline 2009-11-06 12:15:41 -08:00
Xiaohong Bao 35e200881c merge QAR-1829: texture pipeline branch in viewer-2.0.0.3 2009-11-06 06:52:24 +00:00
Nat Goodspeed 04add8806e Support QAModeTermCode var for unattended shutdown on LL_ERRS.
Normally LL_ERRS in a developer build of the viewer pops up an OS message box
with the text of the LL_ERRS log message, requiring user intervention to
proceed. This isn't good for unattended testing, especially on Parabuild
machines. Running the viewer with '--set QAModeTermCode n' for some
0 < n < 256 will, on LL_ERRS, cause the viewer to terminate immediately with
_exit(n).
2009-11-05 16:53:35 -05:00
James Cook b4b516b966 Fix unclear function names around Pacific versus "SLT" time in string operations.
Reviewed with Brad.
2009-11-02 08:35:37 -08:00
Vadim Savchuk 2663bad36b merge from default
--HG--
branch : product-engine
2009-10-28 15:50:36 +02:00
Steve Bennetts cadc8dc4a3 Fix for gInventory cleanup on shutdown, includes making LLNavigationBar a LLSingleton and explicitly destroying it with the rest of the UI. 2009-10-27 16:31:07 -07:00
Igor Borovkov 6222149487 IM refactoring: moved voice channel related classes to its own llvoicechannel.* files from dying llimpanel.* files
--HG--
branch : product-engine
2009-10-27 13:16:44 +02:00
angela 13184abdc3 EXT-760 Move Tap tap hold to run to Preferences > Advanced , and make the default to false 2009-10-27 18:32:55 +08:00
Steve Bennetts c0abbb6a64 Fixed a crash on exit in gInventory destructor. 2009-10-26 23:41:18 -07:00
brad kittenbrink 0fc5ab7f18 Workaround for DEV-35406 lleventhost crash on shutdown.
The fix deletes all LLEventPumps boost::signal objects prior to unloading any dlls.
reviewed by Nat.
2009-10-21 19:08:25 -07:00
Nat Goodspeed 4ea9361aa8 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2009-10-17 12:23:38 -04:00
Nat Goodspeed 27cadfbe95 DEV-40930: Introduce LLAppViewerListener "forceQuit" operation.
The bug was driven by the following sequence in llstartup.cpp:
            if(reason_response == "update"
                || reason_response == "optional")
            {
                // used to resend status event still containing "update",
                // erroneously instantiating a second forced-update
                // LLAlertDialog
                LLLoginInstance::getInstance()->disconnect();
                // quit with an LLAlertDialog still on sModalStack used
                // to result in LL_ERRS
                LLAppViewer::instance()->forceQuit();
            }
I hope to be able to introduce a test script to verify the fix. That
script would need to be able to call LLAppViewer::forceQuit() rather than
requestQuit(), which is already available via LLAppViewerListener.

At the same time, changed LLAppViewerListener to bind a functor to
retrieve an LLAppViewer instance (namely LLAppViewer::instance) rather
than an LLAppViewer*. Apparently the static instantiation of
LLAppViewerListener was calling LLAppViewer::instance() too early, before
things were ready, so the declaration was changed to pass NULL -- then
in each method, call LLAppViewer::instance() if the bound pointer is NULL.
Binding the LLAppViewer* is a Feathers tactic intended to avoid the need
to reference the singleton. Binding a functor still leaves it up to the
instantiating code to reference LLAppViewer::instance, while deferring
the actual call to that method.
2009-10-17 12:21:22 -04:00