summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicechannel.cpp
AgeCommit message (Collapse)Author
2014-06-18Merge downstream codesimon
2014-05-13sunshine-external merge WIPBrad Payne (Vir Linden)
2014-05-12MAINT-3963 FIXED The behavior of speak button in the conversations HUB and ↵Mnikolenko ProductEngine
toolbar button is consistent now. Use setUserPTTState(false) to switch off the mic.
2013-06-05merge with viewer-releaseRichard Linden
2013-05-21mergeBrad Payne (Vir Linden)
2013-05-05Spring cleaning: removed unused .cpp and.h files, and cleaned up header ↵Richard Linden
dependencies
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-13Merging LLCURL::Responder changes with CHUI changes. Fixed gcc 4.6 compile ↵Don Kjer
failures
2013-03-13Large changes to the LLCurl::Responder API, as well as pulling in some ↵Don Kjer
changes to common libraries from the server codebase: * Additional error checking in http handlers. * Uniform log spam for http errors. * Switch to using constants for http heads and status codes. * Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error. * Reduced spam regarding LLSD parsing errors in the default completedRaw http handler. It should not longer be necessary to short-circuit completedRaw to avoid spam. * Ported over a few bug fixes from the server code. * Switch mode http status codes to use S32 instead of U32. * Ported LLSD::asStringRef from server code; avoids copying strings all over the place. * Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob. * Ported server pretty notation format (and pretty binary format) to llsd serialization. * The new LLCurl::Responder API no longer has two error handlers to choose from. Overriding the following methods have been deprecated: ** error - use httpFailure ** errorWithContent - use httpFailure ** result - use httpSuccess ** completed - use httpCompleted ** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers. * In order to 'catch' a completed http request, override one of these methods: ** httpSuccess - Called for any 2xx status code. ** httpFailure - Called for any non-2xx status code. ** httpComplete - Called for all status codes. Default implementation is to call either httpSuccess or httpFailure. * It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below). * Uniform error handling should followed whenever possible by calling a variant of this during httpFailure: ** llwarns << dumpResponse() << llendl; * Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context. * In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed. * Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class). * Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods: ** successResult - Sets results and calls httpSuccess ** failureResult - Sets results and calls httpFailure ** completedResult - Sets results and calls httpCompleted * To obtain information about a the response from a reponder method, use the following getters: ** getStatus - HTTP status code ** getReason - Reason string ** getContent - Content (Parsed body LLSD) ** getResponseHeaders - Response Headers (LLSD map) ** getHTTPMethod - HTTP method of the request ** getURL - URL of the request * It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO. * See indra/llmessage/llcurl.h for more information.
2013-03-11Viewer-chui mergeprep
2013-03-05Fixing issues with not detecting when LLSD XML parsing fails. Changing most ↵Don Kjer
http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam.
2012-10-17CHUI-422 : One last clean upMerov Linden
2012-10-17CHUI-422 : Clean up of leftover traces and testsMerov Linden
2012-10-15MAINT-1551 : WIP : Trace IM messaging in and out.Merov Linden
2012-08-31CHUI-298 FIXED (Conversation started as an IM and then goes to voice call ↵Paul ProductEngine
does not show as call in conversation log) - Show voice icon when call is started - Added flag LLConversation::mIsConversationPast which means that this conversation is finished and any of its data can't be changed. I.e. it cannot be reused. - When session removed (i.e. finished) corresponding conversation is marked as Past conversation. I.e. mIsConversationPast is true. - Added changed(const LLUUID& session_id, U32 mask) method to LLConversationLog to notify particular conversation. This is used in LLConversationLogList to update its particular item and not to rebuild the whole list.
2011-05-13EXP-783 User can accept a call and see end call option in IM window but they ↵Leyla Farazha
are in nearby voice
2011-05-11EXP-783 User can accept a call and see end call option in IM window but they ↵Leyla Farazha
are in nearby voice
2011-02-11STORM-680 FIXED (Avaline callers are added to the Recent list)paul_productengine
- When accepting an avaline call, add a caller to the recent list as AvalineListItem - When adding item to the LLRecentPeople, check whether item with the same phone number exists and delete it if exists. This is need to avoid duplication in the Recent list of the panel People.
2010-09-27STORM-210 FIXED Implemented adding of ad-hoc call participans in Recent.Andrew Productengine
Both offline and online users are added. It is done in LLVoiceChannelGroup::activate(), where TODO for it was placed earlier. To avoid code duplication when adding users from speakers list to Recent, a new method was added to LLIMModel.
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-05-21Automated merge with ssh://hg.lindenlab.com/dessie/viewer-publicAimee Linden
2010-05-20EXT-7371 FIXED Improved new state handling in p2p Voice channel to process ↵Mike Antipov
session leave event correctly. Reason: * when user leave a p2p voice session himself the session's voice channel is marked as "ignore next leave session event" * but when he re-starts the voice session the channel stays in "ignore next leave session event" state. So, when an other p2p participant ends call this voice channel is not deactivated because of this flag. Fix: reset "ignore next leave session event" flag to FALSE when viewer is joining p2p voice session. Reviewed by Aimee Walton at https://codereview.productengine.com/secondlife/r/418/ --HG-- branch : product-engine
2010-05-13EXT-7138 WIP Merged Voice fonts work into the newly modularized LLVoiceClient.Aimee Linden
Created LLVoiceEffectInterface as an optional interface to be implemented by voice modules that support voice effects.
2010-04-19Identify fonts with UUIDs rather than using the font indexes directly as ↵Aimee Linden
they are not guaranteed unique across sessions. Replaced all references to "Font" with "Voice Font" where possible to reduce confusion for anyone grepping code in future.
2010-04-19automated merge with trunkRoxie Linden
2010-04-08Fix-up some breakage from backing out the SLE merge.Aimee Linden
Was causing a crash on viewer exit if the Voice Control Panel was left open and detached.
2010-04-07Re-insert backed out SLE checkin so we can fix itRoxie Linden
2010-04-07Backed out changeset 63b699f90efdTofu Linden
2010-03-01Automated merge with a few fixups for code review commentsRoxie Linden
2010-02-26automated mergeRoxie Linden
2010-02-26automated mergeRoxie Linden
2010-02-25automated merge from trunkRoxie Linden
2010-02-19Partial fix for major bug EXT-5524 (Crash in LLVoiceClient when quitting ↵Andrew Dyukov
viewer without login). - Used call of LLVoiceClient::instanceExists() instead of gVoiceClient in check in LLVoiceChannel destructor to avoid crash when quitting viewer by closing console window before login. So now crash won't happen in LLVoiceClient::removeObserver(). But crash will occur in other destructors later, so further investigation needed. --HG-- branch : product-engine
2010-02-10Fixed normal bug EXT-4566 ([BSI] private chat end floater reports ↵Andrew Dyukov
incorrectly who ended the call) - Added flag to voicechannel which is true when call is ended by agent. - It is sent to imview via signal and used to properly customize text in outgoing call floater. --HG-- branch : product-engine
2010-02-03fixed EXT-4764 “Forbid connecting to different voice channels at once”,Alexei Arabadji
removed redundant call status notifications: ringing, connected, hang_up, unavailable, answering; --HG-- branch : product-engine
2010-01-29Fixed low bug EXT-4749 (There is misleading notification after voice has ↵Andrew Dyukov
been turned off from preferences) - Added skipping "Voice not available at your current location" when agent voice is disabled --HG-- branch : product-engine
2010-01-26fixed EXT-3783 “System messages displayed in nearby chat”,Alexei Arabadji
made voice status messages displayed in pop-out window; --HG-- branch : product-engine
2010-01-04mergeIgor Borovkov
--HG-- branch : product-engine
2010-01-04implemented EXT-3642 Default mic states for voice callsIgor Borovkov
--HG-- branch : product-engine
2009-12-30Work on task EXT-938 (Get rid of deprecated list controls)Mike Antipov
-- remove unused LLFloaterCall & LLPanelAvatarRow used in it. --HG-- branch : product-engine
2009-12-23Fixed normal bug EXT-3628 ("Connecting to.." popup appears behind voice ↵Eugene Mutavchi
control panel while calling), removed temporary workaround. --HG-- branch : product-engine
2009-12-18reverted current voice channel changes notification timeIgor Borovkov
--HG-- branch : product-engine
2009-12-17fixed normal bug (EXT-3435) All voice notifications should look similar and ↵Dmitry Oleshko
according to the Voice UI Spec - added new voice notification that replaced notification toasts - now LLOutgoingCallDialog manages visibility of its controls on its own --HG-- branch : product-engine
2009-12-11fixed normal bug (EXT-3246) Do not show "Calling to..." notification dialog ↵Dmitry Oleshko
for incoming group and ad-hoc calls now is is able to get a direction of calls through the voice channel's signal for its state changing also choosing of type of IMSession was fixed and was moved from a separate function to the constructor --HG-- branch : product-engine
2009-12-04partial implementation for the following tasksDmitry Oleshko
(EXT-2803) Create notifications and dialogs to negotiate P2P voice chat (shown over the Speak button) (EXT-2806) Create notification windows and dialogs to negotiate Group Voice Chat (docked to Speak button's chevron) (EXT-2802) Create notifications and dialogs to negotiate AvaLine calls (shown over Speak button) (EXT-2805) Create notifications and dialogs to negotiate Ad-Hoc calls (shown over Speak button) implemented: invitations, displaying of notifications according to the state of current voice chat session --HG-- branch : product-engine
2009-12-03implemented major task EXT-3092 Disable LLFloaterCall from showing on call ↵Andrew Polunin
establishments --HG-- branch : product-engine
2009-12-01Work on EXT-2985 (Implement Avaline calls processing in Voice Control Panel)Mike Antipov
-- updated reaction to accepting incoming call: added session URI argument. For now avaline caller is shown in the voice controls. --HG-- branch : product-engine
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-18merge.Tofu Linden