summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
AgeCommit message (Collapse)Author
2009-12-16MergeJames Cook
2009-12-15EXT-2649 Replace 'Advanced > Set Away After 30 Minutes' with Away time optionsLeyla Farazha
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-15Merge from default branch.Vadim Savchuk
Resolved conflicts in llalertdialog.h and llnotify.cpp (local deletion vs remote change) by removing them. --HG-- branch : product-engine
2009-12-14Final merge of precompiled header dependency cleanup work.brad kittenbrink
2009-12-14mergerichard
2009-12-14Merge of my old precompiled headers dependency cleanup with tip of viewer-2-0.brad kittenbrink
2009-12-14Merge from default branch.Vadim Savchuk
--HG-- branch : product-engine
2009-12-11EXT-3233 Button label vertical placement cannot be adjusted via xmlJames Cook
Added bottom_pad attribute to widgets/button.xml and removed old LLBUTTON_VPAD global and ButtonVPad saved setting. Reviewed with Richard.
2009-12-11Merge media back into viewer 2-0skolb
2009-12-11implemented EXT-2323 “Get rid from obsolete notification widgets”;Alexei Arabadji
--HG-- branch : product-engine
2009-12-10Fix for DEV-41388 (SNOW-307: Linux viewer builds renames gstreamer plugin to ↵Monroe Linden
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-09Merge from default branch.Vadim Savchuk
--HG-- branch : product-engine
2009-12-08Merge from default branch.Vadim Savchuk
--HG-- branch : product-engine
2009-12-08fix low EXT-1112 No critical notification if quiting SL with unsaved groupYuri Chebotarev
--HG-- branch : product-engine
2009-12-08DEV-43439: Created new LLVersionInfo API.Lynx Linden
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-07DEV-43439: Rename llviewerbuild.{cpp|h} -> llviewerversion.{cpp|h}Lynx Linden
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-07Another merge of include dependency cleanup work with viewer-2-0.brad kittenbrink
2009-12-07DEV-43439: Added calls to query the viewer version.Lynx Linden
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-03Un-threaded LLTextureFetch to address potential performance and edge case ↵Steve Bennetts
crash issues. Changed an assert to an llerrs with extra info Added "HTTP Textures" to "Develop" menu
2009-12-03Merge of include dependency cleanup work with viewer-2-0brad kittenbrink
2009-12-01DEV-42989: Adjust media priority based on app minimization and focusRick Pasetto
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-11-29EXT-2595 - Sounds not playing because LFSThread (Local File System) wasn't ↵Steve Bennetts
being updated.
2009-11-25merge in changes from viewer-2-0, manually fixed conflict in ↵James Cook
llviewermessages.cpp
2009-11-25Created lightweight LLNotificationsUtil::add(), switched most alerts to use itJames Cook
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-24viewer-2.0 automated mergeLoren Shih
--HG-- branch : avatar-pipeline
2009-11-24Nuke the last few references to the long-dead LCD code.Bryan O'Sullivan
2009-11-24mergeLoren Shih
--HG-- branch : avatar-pipeline
2009-11-23mergeSteve Bennetts
2009-11-23Added some threading debugging code. Should catch any recursive mutex locks ↵Steve Bennetts
in non Release builds.
2009-11-20Fix main loop to llerrs on memory alloc failure, was masked by misuse of ↵James Cook
LLFLoaterReg with LLFloaterMemLeak. Reviewed with Bao
2009-11-19EXT-2675 : Folder that contains baseitems for COF doesn't load on first clickLoren Shih
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-18Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Nat Goodspeed
2009-11-18Make failure to load lleventhost.dll when requested a fatal error.Nat Goodspeed
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-18EXT-2581 : Old items still display as "(worn)" even after I change outfitsLoren Shih
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-16fixed EXT-2365 "LLAlertHandler should can process notifications before login.";Alexei Arabadji
initialized notifications screen channels after LLViewerWindow instantiated and disabled all old notifications widgets(LLNotifyBox, LLGroupNotifyBox, LLAlertDialog); --HG-- branch : product-engine
2009-11-13Refactoring of llviewerprecompiledheaders.h to hopefully increase stabilitybrad kittenbrink
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-11Add LLEventAPI class, formalizing the mechanism by which we wrap a C++ APINat Goodspeed
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-10Sanitize naming of getWindowRect (scaled vs. raw pixels) and ↵James Cook
getWorldViewRect (scaled vs. raw) Reduces chance of future UI bugs related to UI size. Discussed with Richard.
2009-11-06merge from texture-pipelineSteve Bennetts
2009-11-06merge QAR-1829: texture pipeline branch in viewer-2.0.0.3Xiaohong Bao
2009-11-05Support QAModeTermCode var for unattended shutdown on LL_ERRS.Nat Goodspeed
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-02Fix unclear function names around Pacific versus "SLT" time in string ↵James Cook
operations. Reviewed with Brad.
2009-10-28merge from defaultVadim Savchuk
--HG-- branch : product-engine
2009-10-27Fix for gInventory cleanup on shutdown, includes making LLNavigationBar a ↵Steve Bennetts
LLSingleton and explicitly destroying it with the rest of the UI.
2009-10-27IM refactoring: moved voice channel related classes to its own ↵Igor Borovkov
llvoicechannel.* files from dying llimpanel.* files --HG-- branch : product-engine
2009-10-27EXT-760 Move Tap tap hold to run to Preferences > Advanced , and make the ↵angela
default to false
2009-10-26Fixed a crash on exit in gInventory destructor.Steve Bennetts
2009-10-21Workaround for DEV-35406 lleventhost crash on shutdown.brad kittenbrink
The fix deletes all LLEventPumps boost::signal objects prior to unloading any dlls. reviewed by Nat.
2009-10-17Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Nat Goodspeed
2009-10-17DEV-40930: Introduce LLAppViewerListener "forceQuit" operation.Nat Goodspeed
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.