aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
Commit message (Collapse)AuthorAgeFilesLines
...
* | AccountChooser: don't return garbage from _set_accountWill Thompson2011-09-131-0/+1
| | | | | | | | | | | | | | | | | | Previously, the 'set' field of the stack-allocated 'data' structure was not initialized. It's explicitly set to TRUE if the account is found, but never otherwise set; so if the account is not found, this function returned random garbage. Reviewed-by: Xavier Claessens <xclaesse@gmail.com>
* | theme-adium: ensure we always use the same color when sending messagesGuillaume Desmottes2011-09-131-4/+10
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=658821
* | rename text/{persona,individual}-id as they are not standardGuillaume Desmottes2011-09-133-8/+8
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=648315
* | Because we like whalesXavier Claessens2011-09-091-2/+43
| |
* | individual_store_remove_individual: ensure that the store stays alive during ↵Guillaume Desmottes2011-09-091-0/+7
| | | | | | | | | | | | the process https://bugzilla.gnome.org/show_bug.cgi?id=658644
* | contact_list_store_remove_contact: ensure that the store stays alive during ↵Guillaume Desmottes2011-09-091-0/+7
| | | | | | | | | | | | the process https://bugzilla.gnome.org/show_bug.cgi?id=658644
* | log-window: sort "Who" list store alphabeticallyJussi Kukkonen2011-09-081-11/+27
| | | | | | | | | | | | | | | | | | | | Currently "Who"-list is sorted with "g_strcmp0 (name)" which is not what we want (e.g. "Chris" becomes before "bob" because of the initial capital letter). Start sorting using g_utf8_collate_key(). https://bugzilla.gnome.org/show_bug.cgi?id=658336
* | ContactSelector: mark standard action as the default.Will Thompson2011-09-071-16/+5
| | | | | | | | | | | | | | | | | | | | This allows Gtk+ to style the button differently to indicate that it will be pressed when the user hits Enter; it also fixes hitting enter in the New Conversation dialog, which does not consider GTK_RESPONSE_ACCEPT to be a reasonable response and ignores it. So we get a bug fix and better styling in exchange for less code! https://bugzilla.gnome.org/show_bug.cgi?id=658343
* | individual-store: use Folks directly to watch is-favourite changesGuillaume Desmottes2011-09-071-20/+18
| | | | | | | | | | We already use it to check if a contact is in favourite or not. The contact manager should probably be killed at some point any way.
* | Support launching GNOME Online Accounts in empathy-accountsDanielle Madeley2011-09-061-7/+65
| |
* | log-window: add the "raised" style class to the account chooserCosimo Cecchi2011-09-031-0/+3
|/ | | | | | So that it raises up from the toolbar below. https://bugzilla.gnome.org/show_bug.cgi?id=657954
* Use format-justify-fill everywhereEmilio Pozuelo Monfort2011-09-021-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657843
* LogWindow: fix toolbar iconsEmilio Pozuelo Monfort2011-09-021-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657843
* log-window: align the account chooser and search widgetGuillaume Desmottes2011-09-021-0/+26
| | | | | | | Center the account chooser and align the search widget to the right of the toolbar. https://bugzilla.gnome.org/show_bug.cgi?id=657842
* Fixes a segfault in empathy-individual-store.cCosimo Alfarano2011-09-021-0/+8
| | | | | | | | | | | When a contact cannot be obtained from an individual, icon_name and contact will be NULL, leading to g_hash_table_lookup for a NULL-value, segfaulting. Although there's probably an underlying error somewhere, the NULL case should be handled, being a valid return value for the method; https://bugzilla.gnome.org/show_bug.cgi?id=657914
* Merge branch 'timezones-656189'Danielle Madeley2011-09-011-3/+3
|\
| * Use g_date_time_new_from_unix_local() to read timestamps from loggerDanielle Madeley2011-08-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | g_date_time_new_from_unix_local() reads a Unix timestamp (which is defined to be in UTC) and sets the timezone for the GDateTime to be the local timezone. Thus when we format it, we get times in local time. g_date_time_new_from_unix_utc() is not correct, because it sets the timezone to UTC. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=656189
* | Correct grouping in the hostname regexpSjoerd Simons2011-08-311-3/+4
|/ | | | | | | Correctly group our subregexp otherwise hostnames like the following won't be recognized due to the way things expand: a.com example.c-om
* coding style fixEMPATHY_3_1_90Guillaume Desmottes2011-08-292-3/+3
|
* Merge branch 'account-widget-657616'Guillaume Desmottes2011-08-291-0/+10
|\
| * account-widget-local-xmpp: put all the labels in a GtkSizeGroupGuillaume Desmottes2011-08-291-0/+10
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=657616
* | contact list: optimize loading contactsAlban Crequy2011-08-292-194/+220
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous algorithm was O(n^2) with the number of contacts. Each contact can be in several groups, so when a contact is added or updated, we iterated over all the contact list to find the rows representing the contact. When connecting to an account and getting all the contacts, this was too slow. The groups are stored in the GtkTreeStore and suffer from the same problem: to look for a group, it needed to iterate on all contacts. The new algorithm maintains a hash from the contact to the list of rows representing it, and another hash from the group to the row representing it. On Empathy 2.30.2 when tested on MeeGo with 300 contacts, loading the contacts is faster: roughly 9 seconds before the patch, 3 seconds after. On Empathy 3.1.5, it seems to load in background so I don't know how to measure the time lost in GtkTreeStore. But before the patch, GProf says 23% is lost in individual_store_find_contact_foreach(), and after the patch it is not visible anymore. And "time" says we win 5s of CPU when starting+quitting Empathy: Before the patch: After the patch: real 0m23.485s real 0m23.460s user 0m13.805s user 0m8.305s sys 0m0.308s sys 0m0.316s https://bugzilla.gnome.org/show_bug.cgi?id=657086
* contact-widget: use the day-selected sig to update birthdayGuillaume Desmottes2011-08-291-1/+1
| | | | | Having to double click on a day to update it was really confusing and most people (including me!) were just thinking that was not working.
* Allow to call phone number of contactsGuillaume Desmottes2011-08-292-1/+209
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=650112
* add EmpathyAccountSelectorDialogGuillaume Desmottes2011-08-293-0/+268
| | | | | | Dialog asking user to pick an account from a pre-defined list. https://bugzilla.gnome.org/show_bug.cgi?id=650112
* Don't leak FDs when loading avatars.Will Thompson2011-08-261-5/+5
| | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Move the 'Show previous conversation' menu entryGuillaume Desmottes2011-08-262-15/+15
| | | | It used to be right in the middle of actions on the contact.
* Fix unclear string in avatar chooserMilo Casagrande2011-08-261-1/+1
| | | | | | * Fix an unclear error string in the avatar chooser when saving camera taken image to file. Fixes bug #657166
* account-widget-sip: add option to mark account as being able to call phonesGuillaume Desmottes2011-08-242-1/+40
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657220
* widget-sip: load/save file in GladeGuillaume Desmottes2011-08-241-18/+73
| | | | | | No change has been done, this is just to keep commits simpler. https://bugzilla.gnome.org/show_bug.cgi?id=657220
* account-widget: add empathy_account_widget_get_settings()Guillaume Desmottes2011-08-242-0/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657220
* libempathy-gtk: Explicitly close the input stream used for reading avatarsPhilip Withnall2011-08-241-0/+20
| | | | | | | | | | | | Due to a missing unref in GIO, the input stream is leaked by GFileIcon, so if we rely on its FD being implicitly closed when the stream is finalised, we'll end up leaking (lots of) file descriptors. As well as fixing the unref in GIO (see: bgo#657206), we now explicitly close the input stream so that even if the stream object is leaked, the FD isn't. Closes: bgo#656682
* Merge branch 'search-bar'Jonny Lamb2011-08-231-16/+27
|\
| * search-bar: shorten labels to just Next & PreviousJonny Lamb2011-08-221-3/+6
| | | | | | | | | | | | The verb, "Find", is already present on the left of the entry. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * search-bar: use smaller iconsJonny Lamb2011-08-221-1/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * search-bar: make close button non-important stock gtk-closeJonny Lamb2011-08-221-3/+2
| | | | | | | | | | | | | | | | This has the much nicer side-effect that if it gets thrown off the side because it doesn't have enough room, the icon and label will be shown in the expander. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * search-bar: move close button to RHSJonny Lamb2011-08-221-12/+21
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | widget-irc: quit message entry shouldn't be invisibleGuillaume Desmottes2011-08-231-3/+0
|/ | | | https://bugzilla.gnome.org/show_bug.cgi?id=657104
* Don't assume that all FolksIndividuals have a corresponding EmpathyContact.Travis Reitter2011-08-222-17/+25
| | | | | | | Closes: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Don't assume that all TpfPersonas contain valid TpContactsTravis Reitter2011-08-226-94/+163
| | | | | | | Helps: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Hide the request message entry if it can't be usedEmilio Pozuelo Monfort2011-08-201-8/+30
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656934
* Set the scrolled window shadow type to Etched inEmilio Pozuelo Monfort2011-08-201-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656934
* Allow to specify the subscription request messageEmilio Pozuelo Monfort2011-08-201-3/+34
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656934
* contact-chooser: use tp_connection_get_account()Guillaume Desmottes2011-08-191-5/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656866
* Merge branch 'trivia'Danielle Madeley2011-08-192-5/+5
|\
| * [log-window] Change Quit for CloseDanielle Madeley2011-08-192-5/+5
| |
* | new-message-dialog: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-44/+11
| | | | | | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | new-call-dialog: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-44/+17
| | | | | | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | individual-widget: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-61/+35
| | | | | | | | | | | | TP_CONNECTION_FEATURE_CONTACT_INFO https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | contact-widget: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-10/+6
| | | | | | | | | | | | TP_CONNECTION_FEATURE_CONTACT_INFO https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | contact-search-dialog: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-50/+10
| | | | | | | | | | | | TP_CONNECTION_FEATURE_AVATAR_REQUIREMENTS https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | avatar-chooser: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-5/+1
| | | | | | | | | | | | TP_CONNECTION_FEATURE_AVATAR_REQUIREMENTS https://bugzilla.gnome.org/show_bug.cgi?id=656831
* | account-chooser: rely on the factory to prepare ↵Guillaume Desmottes2011-08-191-44/+11
|/ | | | | | | | | TP_CONNECTION_FEATURE_CAPABILITIES, Also simplify empathy_account_chooser_filter_supports_chatrooms in the process. https://bugzilla.gnome.org/show_bug.cgi?id=656831
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-182-17/+13
| | | | | | | | | | | | | | | | | - EmpathyChannelFactory has been changed to EmpathyClientFactory and inherit from TpAutomaticClientFactory. - We now always use the _with_am variant of TpSimple* constructors - We define our own factory as default. - Replace empathy_get_account_for_connection() by tp_connection_get_account() - The factory is passed to EmpathyTpChat and TpyCallChannel - Use tp_simple_client_factory_ensure_account() instead of tp_account_manager_ensure_account(). - Rely on the factory to prepare connection features. This should ensure that all the TpProxy and TpContact objects created in Empathy are shared and use EmpathyClientFactory. https://bugzilla.gnome.org/show_bug.cgi?id=655799
* Merge branch 'log-window-webview'Danielle Madeley2011-08-187-429/+713
|\
| * Use context menu utility in log viewerDanielle Madeley2011-08-171-5/+25
| |
| * Factor out WebKit context menu as a utilityDanielle Madeley2011-08-173-118/+145
| |
| * Allow clicking on a row to select the contactDanielle Madeley2011-08-161-29/+83
| | | | | | | | Does not currently highlight the row.
| * Reimplement scrollToRowDanielle Madeley2011-08-161-14/+23
| | | | | | | | | | N.B. This has not been properly tested, because I'm not actually sure how to exhaust this codepath.
| * Make WebKit compulsoryDanielle Madeley2011-08-163-48/+11
| | | | | | | | | | It is now required for the log viewer, furthermore it will be required once we remove non-adium themes.
| * Style fixDanielle Madeley2011-08-121-1/+1
| |
| * Remove unused variableDanielle Madeley2011-08-121-2/+0
| |
| * Remove old codeDanielle Madeley2011-08-091-15/+0
| |
| * Set the primary toolbar styleDanielle Madeley2011-08-091-0/+3
| |
| * Add icons to the new log viewerDanielle Madeley2011-08-091-2/+20
| |
| * Add dates to new log viewerDanielle Madeley2011-08-091-3/+6
| |
| * Use the same font-setting utility for empathy-theme-adiumDanielle Madeley2011-08-091-62/+15
| |
| * Use this utility in the log viewerDanielle Madeley2011-08-091-0/+9
| | | | | | | | | | It should also be used for the Adium theme, but this also supports fonts specified in the Adium theme, which we need to support.
| * Utility to set the webkit default font/size from GSettingsDanielle Madeley2011-08-092-0/+77
| |
| * Reimplement log_window_maybe_expand_events()Danielle Madeley2011-08-081-9/+6
| |
| * Remove treeview_events -- make the webview the only viewing componentDanielle Madeley2011-08-072-117/+58
| | | | | | | | Still some commented out code to reimplement.
| * Replace highlighting of search stringsDanielle Madeley2011-08-051-41/+6
| |
| * Support smileys in log viewerDanielle Madeley2011-08-041-2/+9
| |
| * Handle links via external browserDanielle Madeley2011-08-011-0/+19
| |
| * Add expander togglesDanielle Madeley2011-08-011-0/+23
| |
| * Use webkit-utils in LogWindow webviewDanielle Madeley2011-08-011-45/+56
| |
| * Abstract WebKit string parsers into empathy-webkit-utilsDanielle Madeley2011-08-014-68/+137
| | | | | | | | | | | | This file is currently optionally built, but if the logviewer is going to depend on WebKit, maybe that's a bad idea? Maybe we should just make WebKit required (this will probably happen when we require Adium themes in the future).
| * Add a webview widget for displaying the logDanielle Madeley2011-07-291-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The widget is currently bolted in alongside the existing log display widget for comparison. This includes some debugging cruft like showing the secret notebook tabs. The webview is populated from the store_events treestore, allowing all of the existing node-management and ordering code to be used. Attempting to replace this logic in Javascript was demonstratably too hard. This approach keeps the Javascript code down to the 4 GtkTreeModel signals. TODO: - icons - pretty printed dates - expanders - supporting smileys, links, etc. - using the correct font, etc. - removing the debugging
* | Merge branch 'blockade'Will Thompson2011-08-162-11/+24
|\ \ | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656167
| * | Blocking dialog: use a sensible default sizeWill Thompson2011-08-091-0/+2
| | | | | | | | | | | | | | | | | | This is the same area as is used for the custom status dialog's scrolled window. The content area turns out very slightly smaller, because the area includes the tree view's header.
| * | Blocking dialog: Gnome 3-ify Remove buttonWill Thompson2011-08-092-11/+22
| | |
* | | Bug 655212 — Update for libfolks API changes to AvatarDetailsPhilip Withnall2011-08-161-39/+101
| | | | | | | | | | | | | | | | | | | | | Folks' AvatarDetails.avatar is now a GLoadableIcon rather than a GFile. Closes: bgo#655212 https://bugzilla.gnome.org/show_bug.cgi?id=655212
* | | manually build the GstStructureGuillaume Desmottes2011-08-151-5/+11
| | |
* | | Enable echo cancellation if neededGuillaume Desmottes2011-08-151-2/+16
| | |
* | | Use gst_parse_bin_from_description() when EMPATHY_AUDIO_* vars are setGuillaume Desmottes2011-08-152-0/+15
| | | | | | | | | | | | Also factor out empathy_call_set_stream_properties().
* | | LogWindow: don't crash if there are logs from the futureEmilio Pozuelo Monfort2011-08-101-1/+1
|/ / | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656065
* | EmpathyContactChooser: remove EmpathyTpChat propertyGuillaume Desmottes2011-08-052-61/+2
| | | | | | | | | | | | It's not used any more and a generic widget shouldn't need it. https://bugzilla.gnome.org/show_bug.cgi?id=656020
* | Implement TpContact selection in EmpathyInviteParticipantDialogGuillaume Desmottes2011-08-052-55/+4
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656020
* | Implement filtering logic in EmpathyInviteParticipantDialogGuillaume Desmottes2011-08-052-43/+35
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=656020
* | Add EmpathyContactChooserGuillaume Desmottes2011-08-053-0/+550
| | | | | | | | | | | | | | This is a pure code refactoring from EmpathyInviteParticipantDialog, this widget is not generic yet. https://bugzilla.gnome.org/show_bug.cgi?id=656020
* | Allow to enter an email address as Yahoo IDGuillaume Desmottes2011-08-041-2/+4
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=655959
* | Factor out empathy_launch_program()Emilio Pozuelo Monfort2011-08-042-0/+56
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=655884
* | Dialpad: show an entry with the entered numbersEmilio Pozuelo Monfort2011-08-041-2/+31
| |
* | empathy_send_file_with_file_chooser: keep on the contact while the dialog is ↵Guillaume Desmottes2011-08-021-1/+2
| | | | | | | | | | | | running It's not safe to assume that the EmpathyContact stays alive.
* | chat_text_maybe_append_date_and_time: compute the right delta between timestampsGuillaume Desmottes2011-08-011-1/+1
| | | | | | | | | | | | The first argument of g_date_time_difference() should be the older timestamp. https://bugzilla.gnome.org/show_bug.cgi?id=654958
* | Add letters underneath the numbers on the dialpadDanielle Madeley2011-07-261-13/+39
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=632874
* | Factor out dialpad into a utility functionDanielle Madeley2011-07-262-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | The dialpad is shared between empathy-call and empathy-av. Really it would be nice to make the dialpad its own little widget that emits signals with DTMF event ids, but I've got things to get done. Conflicts: libempathy-gtk/empathy-ui-utils.c src/empathy-call-window.c src/empathy-streamed-media-window.c
* | Merge remote-tracking branch 'danni/populate-popup-654669'Xavier Claessens2011-07-261-2/+4
|\ \
| * | Assume GDK_KEY_PRESS in the default caseDanielle Madeley2011-07-261-2/+4
| | | | | | | | | | | | Warn if making this assumption.
* | | Merge remote-tracking branch 'danni/drag-n-drop-558942'Xavier Claessens2011-07-263-12/+52
|\ \ \ | |_|/ |/| |
| * | Apply the same fix to EmpathyContactListViewDanielle Madeley2011-07-261-3/+3
| | |
| * | Don't generate critical when dragging with no contact selectedDanielle Madeley2011-07-201-3/+3
| |/ | | | | | | | | | | | | This also fixes the problem where dragging with no contact selected drags the previously selected contact. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=558942
| * Populate spelling suggestions when menu key is pressedDanielle Madeley2011-07-181-6/+46
| | | | | | | | | | | | | | Track what kind of event generated the populate-popup event and then use the cursor position or mouse position as appropriate. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=654669
* | Merge branch 'irc-dialog'Will Thompson2011-07-253-82/+205
|\ \ | | | | | | | | | | | | Fixes: <https://bugzilla.gnome.org/show_bug.cgi?id=654552> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
| * | IRC accounts: top-justify the password hint.Will Thompson2011-07-251-0/+1
| | | | | | | | | | | | | | | | | | | | | As mentioned on <https://bugzilla.gnome.org/show_bug.cgi?id=654552#c13>, this makes the password hint text be right up against the field it's hinting about, at the cost of even more ugly space between it and the Advanced expander. I think this is the lesser of two evils.
| * | IRC: validate 'username' parameter.Will Thompson2011-07-191-0/+12
| | |
| * | IRC: rename “user_name” regex to “nick_name”Will Thompson2011-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | The 'account’ parameter in Telepathy, to which this regex applies, is the ‘nickname’ in IRC parlance. (I'm about to add a regex for what IRC calls ‘usernames’.)
| * | IRC accounts: make labels the same width.Will Thompson2011-07-191-0/+10
| | | | | | | | | | | | | | | This addresses Nick's concern on https://bugzilla.gnome.org/show_bug.cgi?id=654552
| * | Add an advanced section to the IRC configuration pageRob Sharp2011-07-192-80/+180
| |/ | | | | | | | | | | | | -Move the Real Name and Quit Message to the advanced section -Add a new Username field to the advanced section https://bugzilla.gnome.org/show_bug.cgi?id=654552
* / Revert "empathy_call_new_with_streams: prefer StreamedMedia over Call"Emilio Pozuelo Monfort2011-07-191-15/+15
|/ | | | | | | | Default to Call channels again. https://bugzilla.gnome.org/show_bug.cgi?id=654611 This reverts commit 1cacc0945f81e0513013b83ca7488589dd6c61f7.
* LogWindow: stop retrieving logs if the window is closedEmilio Pozuelo Monfort2011-07-121-1/+4
|
* Only follow available cameras if the contact can do Video callsEmilio Pozuelo Monfort2011-07-121-4/+9
|
* LogWindow: disable Video calls if no camera connectedEmilio Pozuelo Monfort2011-07-121-1/+18
|
* Bind 'Video call' menu items to available camerasEmilio Pozuelo Monfort2011-07-121-0/+7
|
* NewCallDialog: make 'Enable video' unsensitive when there's no cameraEmilio Pozuelo Monfort2011-07-121-0/+19
|
* CallWindow: save the window geometry without the sidebarEmilio Pozuelo Monfort2011-07-122-16/+38
| | | | | | | | Since we don't show the sidebar when creating new call windows, we should not take the sidebar into account when saving the window geometry. https://bugzilla.gnome.org/show_bug.cgi?id=634809
* CallWindow: don't add calls to searches if they don't matchEmilio Pozuelo Monfort2011-07-121-0/+15
|
* LogWindow: select 'Anyone' when searchingEmilio Pozuelo Monfort2011-07-121-3/+7
|
* LogWindow: don't crash when searchingEmilio Pozuelo Monfort2011-07-121-2/+3
|
* use tp_text_channel_ack_all_pending_messages_async()Guillaume Desmottes2011-07-111-1/+2
|
* theme-adium: use the pending-message-id instead of message-token in ↵Guillaume Desmottes2011-07-081-18/+24
| | | | | | | | | x-empathy-message-id message-token is not guaranteed to be implemented by all CMs while pending-message-id is (for incoming messages). https://bugzilla.gnome.org/show_bug.cgi?id=654015
* LogWindow: make type filters unsensitive as necessaryEmilio Pozuelo Monfort2011-07-051-0/+81
| | | | | | | If there are no events of one type, make its row in the What pane unsensitive. https://bugzilla.gnome.org/show_bug.cgi?id=653343
* LogWindow: expand/collapse events when a row is activatedEmilio Pozuelo Monfort2011-07-051-0/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653341
* Display `Chat in ...' for MUCsEmilio Pozuelo Monfort2011-07-051-13/+21
| | | | | | Instead of `Chat with ...'. https://bugzilla.gnome.org/show_bug.cgi?id=653175
* LogWindow: really show the users' alias in the Who paneEmilio Pozuelo Monfort2011-07-051-2/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653116
* empathy_contact_from_tpl_contact: don't override the aliasEmilio Pozuelo Monfort2011-07-053-5/+5
| | | | | | | Add a logged-alias property instead, which can be used by those who need the old alias. And use it in chat themes for the backlog.
* LogWindow: refresh the logs when new events happenEmilio Pozuelo Monfort2011-07-041-3/+260
| | | | | | If they would be displayed for the current selection. https://bugzilla.gnome.org/show_bug.cgi?id=653760
* LogWindow: make it a proper GtkWindow subclassEmilio Pozuelo Monfort2011-07-043-574/+645
| | | | | | And a proper singleton while at it. https://bugzilla.gnome.org/show_bug.cgi?id=653803
* Mark untranslated strings for translation. Fixes:Gabor Kelemen2011-07-012-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653767
* Autocomplete contacts when blocking by aliasEmilio Pozuelo Monfort2011-06-301-2/+81
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653650
* LogWindow: keep the selected dates when changing Who or WhatEmilio Pozuelo Monfort2011-06-291-5/+78
| | | | | | If the same dates are present for the new selection. https://bugzilla.gnome.org/show_bug.cgi?id=653635
* Merge branch 'account-parameters'Will Thompson2011-06-281-2/+6
|\
| * Set require-encryption for Facebook and Google TalkWill Thompson2011-06-281-1/+4
| | | | | | | | | | Future versions of Gabble will do this too, but Empathy can make sure it's set too.
| * Set 'server' parameter on GTalk accounts.Will Thompson2011-06-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stops us depending on properly-configured SRV records. 'fallback-servers' is not good enough in this situation: • foo.com's XMPP stuff is served by Google Apps; • your router breaks SRV requests; • foo.com resolves to 1.2.3.4 which has a (different) XMPP server listening on port 5222. This may seem far-fetched, but this happened to two completely different people, both hosted with Dreamhost. https://bugzilla.gnome.org/show_bug.cgi?id=653510
* | account-widget: hide advanced section for GTalk accountsGuillaume Desmottes2011-06-281-1/+1
|/ | | | | Our fallback path is now robust enough, users shouldn't have to change advanced parameters.
* PresetDialog: remove support for adding statuses entirelyWill Thompson2011-06-242-335/+4
| | | | | | | | We already have a way to do this, namely on the contact list itself. So this dialog now becomes just a way to edit/remove the existing statuses. The margins on the VBox are chosen to make its right-hand edge line up exactly with the right-hand edge of the Close button in the dialog.
* PresetDialog: make status icon in entry non-activatableWill Thompson2011-06-241-0/+3
| | | | | | It's not meaningfully activatable; this has the effect of making it not glow on mouse-over, and preventing the cursor from changing from a caret back to a pointer.
* PresetDialog: GNOME 3-ify the remove buttonWill Thompson2011-06-242-28/+54
| | | | Yum yum joined-toolbar!
* PresetDialog: Don't leak path when focusing freshly-created statusWill Thompson2011-06-241-0/+1
| | | | (This was not introduced by my changes.)
* PresetDialog: Select text cell of freshly-added statusWill Thompson2011-06-241-8/+12
| | | | | | | | | | | | | | | This means you can just mash Enter to edit your mistake. It's more useful than leaving the text entry focused. It also helps hide a bug where the entry doesn't get cleared if you just start typing another message. So previously, typing: Hello<Enter>Miaow<Enter> would give you two statuses, "Hello" and "MiaowEnter Custom Message". It didn't seem worth fixing this much more since Gtk+ 3.2 will probably grow native support for placeholder text: <https://bugzilla.gnome.org/show_bug.cgi?id=440963>
* PresetDialog: Allow >1 status to be removed at a time.Will Thompson2011-06-241-16/+22
| | | | | | This is pretty niche but we may as well. I want it sometimes. There's no reason to disallow it, and it's not like it adds any significant complexity.
* PresetDialog: Don't allow resizing status preset dialogWill Thompson2011-06-241-0/+1
| | | | It's big enough.
* PresetDialog: make Add button less huge.Will Thompson2011-06-241-0/+1
| | | | | I tried and failed to make it the same size as the other two buttons, so this will have to do.
* PresetDialog: make the window tallerWill Thompson2011-06-241-2/+2
| | | | | | | | | | | | | The element we really care about the size of is the list of statuses past. So I moved the horizontal size request to that—the window has 6px of padding or so, so this makes it pretty much exactly the same width—and made the height request be in the golden ratio to it. I'm probably unusual in having enough statuses to fill my laptop screen vertically, but, subjectively, this makes the dialog look less stubby even now I've removed them all to test. https://bugzilla.gnome.org/show_bug.cgi?id=630943
* PresenceChooser: remove unused #define FLASH_TIMEOUTWill Thompson2011-06-241-3/+0
|
* Don't try to access adium theme when webkit support is disabledMarc-Antoine Perennou2011-06-231-0/+2
| | | | Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
* Merge branch 'history-misc'Emilio Pozuelo Monfort2011-06-231-2/+19
|\
| * LogWindow: display the user id in a tooltip in the Who paneEmilio Pozuelo Monfort2011-06-231-0/+5
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573652
| * LogWindow: show "Chat with <MUC>" for MUCsEmilio Pozuelo Monfort2011-06-221-2/+14
| | | | | | | | | | | | | | Instead of "Chat with <someone>", which is confusing as there may be (and most likely there are) many people in the room. https://bugzilla.gnome.org/show_bug.cgi?id=653175
* | Use tp-glib password API (#651055)Guillaume Desmottes2011-06-221-5/+5
| |
* | Merge branch 'unread-653090'Guillaume Desmottes2011-06-211-0/+11
|\ \ | |/ |/|
| * empathy-chat: properly count unread messages when the connection goes away ↵Guillaume Desmottes2011-06-211-0/+11
| | | | | | | | (#653090)
* | Merge branch 'history-ui'Emilio Pozuelo Monfort2011-06-212-126/+183
|\ \ | |/ |/|
| * LogWindow: also show the spinner and expand the chats for searchesEmilio Pozuelo Monfort2011-06-211-10/+13
| |
| * LogWindow: allow to start actions from an event rowEmilio Pozuelo Monfort2011-06-211-112/+76
| | | | | | | | | | | | | | | | If we don't know the contact by looking at the 'Who' pane (because e.g. there are many selected or it has 'Anyone'), look at the selected row (if any) in the events pane to determine the contact. https://bugzilla.gnome.org/show_bug.cgi?id=652278
| * LogWindow: expand the events when there's only oneEmilio Pozuelo Monfort2011-06-211-0/+15
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=652265
| * LogWindow: improve loading spinnerEmilio Pozuelo Monfort2011-06-211-1/+30
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=652279
| * LogWindow: highlight the searched textEmilio Pozuelo Monfort2011-06-211-7/+50
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=652522
| * LogWindow: Add a border between the three search panesEmilio Pozuelo Monfort2011-06-201-0/+3
| |
* | EmpathySearchBar: inherit from a GtkBox instead of a GtkBinGuillaume Desmottes2011-06-212-48/+4
| |
* | EmpathyIndividualLinker: inherit from a GtkBox instead of a GtkBinGuillaume Desmottes2011-06-212-34/+4
| |
* | EmpathyChat: inherit from a GtkBox instead of a GtkBinGuillaume Desmottes2011-06-212-30/+4
| | | | | | | | This allows us to get rid of the size_allocate method.
* | individual-widget: use tp_g_signal_connect_object to connect the ↵Guillaume Desmottes2011-06-201-2/+2
|/ | | | notify::contact-info signal (#652496)
* Only decrement unread_messages if it's not an edited messageDanielle Madeley2011-06-141-2/+4
| | | | Prevents ending up with message counts of -1
* Use an enum instead of the value type to determine what kind of object it isDanielle Madeley2011-06-141-20/+57
|
* Reset the chat state after receiving an edited messageDanielle Madeley2011-06-141-12/+9
|
* Replace tpl_text_event_dup_supersedes() with synthetic messageDanielle Madeley2011-06-141-18/+24
| | | | | This allows us to handle the case where we get b-supersedes-a, but we've lost the original message a.
* Set the edited icon for edited messages in the log viewerDanielle Madeley2011-06-141-1/+8
|
* Get the original message from the logger so we can supersede itDanielle Madeley2011-06-141-1/+22
| | | | | | | Strictly, we don't need to do this, we could just use the supersedes-token as the message-token and we'd still be able to edit the messages in the future, but this way we get the nice pretty annotation saying that we edited it and when.
* Add an icon to edited messagesDanielle Madeley2011-06-142-0/+30
| | | | | | | Currently this is using "format-text-direction-ltr" which is a crappy choice. We should ask for a better icon. Also, this should really be implemented as a class, so that the icon can change with the theme. Or be made part of the Adium theme, or something. Basically this is kludgey.
* Add a tooltip saying when the message was editedDanielle Madeley2011-06-141-0/+14
|
* [theme-adium] implement edit_message()Danielle Madeley2011-06-141-2/+66
| | | | | | | | | | | | | This is done via DOM manipulation, we find the id for the <span> tag we wrapped the message in in the previous commit. We then replace the innerHTML with the new message. This requires a version of WebKitGtk 1.3.x, but I'm not precisely sure what. I used WebKitGtk 1.4.0, but natty only has 1.3.13, so we'll try setting that as the dep. Need to somehow mark a message as edited. Could set a class on it, but that requires support in the theme. Need inspiration here.
* [theme-adium] wrap the messages in <span id=...> so we can find them againDanielle Madeley2011-06-121-4/+16
| | | | This will enable our DOM manipulation
* Pass edited messages through to the ChatViewDanielle Madeley2011-06-121-15/+28
|
* Add edit_message() method to ChatView ifaceDanielle Madeley2011-06-122-0/+16
|
* Cope with tpl_event_get_receiver() returning NULLEmilio Pozuelo Monfort2011-06-101-0/+3
|
* Rationalize use of EMPATHY_IMAGE_CALL_* images (#652270)Guillaume Desmottes2011-06-102-6/+7
| | | | | | We now always use call-start for incoming and outgoing calls and call-stop for missed ones. Ideally it would be cool to have different icons for incoming and outgoing but that will do for now.
* Merge branch 'new-log-window'Emilio Pozuelo Monfort2011-06-106-1382/+3012
|\
| * Don't unref NULL pointersEmilio Pozuelo Monfort2011-06-101-1/+1
| | | | | | | | | | | | log_window_got_messages_for_date_cb() can return NULL for unknown event types, so don't unref the result in those cases.
| * Don't require telepathy-logger with --enable-callEmilio Pozuelo Monfort2011-06-101-3/+20
| | | | | | | | | | Having it is required for displaying call events in the history window though.
| * Update empathy-log-window.ui for GTK+ 3Emilio Pozuelo Monfort2011-06-091-18/+64
| |
| * Fix typoEmilio Pozuelo Monfort2011-06-091-1/+1
| |
| * Remove unused variablesEmilio Pozuelo Monfort2011-06-091-4/+0
| |
| * Use some markup to make the logs more readableDanielle Madeley2011-06-091-5/+7
| | | | | | | | | | Emotes are in italics. Sender's names are in bold. Mark emotes for translation since we've done that for messages.
| * Don't allow interactive searching on the log paneDanielle Madeley2011-06-091-0/+2
| |
| * Remove unrequired COL_WHAT_EXPANDERDanielle Madeley2011-06-091-3/+1
| |
| * [log-viewer] set search columnsDanielle Madeley2011-06-091-0/+5
| |
| * log_window_chats_set_selected: only act on normal rowsEmilio Pozuelo Monfort2011-06-091-0/+5
| |
| * LogWindow: Don't cut the log messagesEmilio Pozuelo Monfort2011-06-091-1/+0
| |
| * LogWindow: better logic for the buttons sensitivityEmilio Pozuelo Monfort2011-06-091-12/+55
| |
| * LogWindow: don't crash if closed while retrieving logsEmilio Pozuelo Monfort2011-06-091-1/+4
| |
| * Show an spinner while logs are being retrievedEmilio Pozuelo Monfort2011-06-092-4/+103
| |
| * LogWindow: scroll the events view to the endEmilio Pozuelo Monfort2011-06-091-0/+17
| | | | | | | | Where newest messages are.
| * LogWindow: select the first normal date by defaultEmilio Pozuelo Monfort2011-06-091-2/+3
| |
| * LogWindow: set 'All accounts' by defaultEmilio Pozuelo Monfort2011-06-091-0/+1
| |
| * Add empathy_account_chooser_set_allEmilio Pozuelo Monfort2011-06-092-0/+25
| |
| * Display date and time in the event treeviewEmilio Pozuelo Monfort2011-06-091-3/+6
| |
| * Make the three panes a bit taller by defaultEmilio Pozuelo Monfort2011-06-091-0/+1
| |
| * Add a clear icon to the search entryEmilio Pozuelo Monfort2011-06-091-0/+23
| |
| * Don't use global variablesEmilio Pozuelo Monfort2011-06-091-12/+13
| |
| * Fix buttons to work again with multiselectionEmilio Pozuelo Monfort2011-06-091-35/+48
| |
| * Use a define instead of hardcoding a magic numberEmilio Pozuelo Monfort2011-06-091-2/+4
| |
| * Use a for instead of a do while to avoid returning earlyEmilio Pozuelo Monfort2011-06-091-5/+4
| | | | | | | | So we always free the stuff at the end of the function.
| * Don't leak the account and entityEmilio Pozuelo Monfort2011-06-091-3/+6
| |
| * Don't leak pathsEmilio Pozuelo Monfort2011-06-091-0/+1
| |
| * Compare against NULLEmilio Pozuelo Monfort2011-06-091-2/+2
| |
| * Be neutralEmilio Pozuelo Monfort2011-06-091-1/+1
| |
| * Style: use braces consistentlyEmilio Pozuelo Monfort2011-06-091-11/+31
| |
| * Return early if the iter isn't a top levelEmilio Pozuelo Monfort2011-06-091-6/+7
| |
| * Use a macro for magic numbersEmilio Pozuelo Monfort2011-06-091-1/+4
| |
| * Don't leak the account and entityEmilio Pozuelo Monfort2011-06-091-6/+9
| |
| * Use tp_clear_pointerEmilio Pozuelo Monfort2011-06-091-2/+1
| |
| * LogWindow: group MUC events properlyEmilio Pozuelo Monfort2011-06-091-1/+30
| |
| * LogWindow: check the 30min gap with the last messageEmilio Pozuelo Monfort2011-06-091-2/+8
| |
| * LogWindow: find the corrent parent for chat eventsEmilio Pozuelo Monfort2011-06-091-1/+6
| |
| * LogWindow: Display /me messages properlyEmilio Pozuelo Monfort2011-06-091-4/+14
| |
| * make check fixesEmilio Pozuelo Monfort2011-06-091-1/+1
| |
| * Remove more dead codeEmilio Pozuelo Monfort2011-06-091-6/+0
| |
| * Use a do while instead of a for loop where appropriateEmilio Pozuelo Monfort2011-06-091-2/+2
| |
| * Remove dead codeEmilio Pozuelo Monfort2011-06-091-3/+0
| |
| * Fix commentEmilio Pozuelo Monfort2011-06-091-3/+2
| |
| * Remove stray print statementsEmilio Pozuelo Monfort2011-06-091-6/+4
| |
| * Remove dead codeEmilio Pozuelo Monfort2011-06-091-30/+0
| |
| * LogWindow: don't add duplicate datesEmilio Pozuelo Monfort2011-06-091-11/+15
| |
| * LogWindow: add 'Anyone' to search resultsEmilio Pozuelo Monfort2011-06-091-3/+1
| |
| * LogWindow: select 'Anytime' by default when searchingEmilio Pozuelo Monfort2011-06-091-0/+4
| |
| * Block the callback when clearing the storeEmilio Pozuelo Monfort2011-06-091-0/+9
| |
| * Switch remaining functions to the new styleEmilio Pozuelo Monfort2011-06-091-218/+238
| |
| * LogWindow: Add live search supportEmilio Pozuelo Monfort2011-06-091-3/+12
| |
| * LogWindow: Show dates properlyEmilio Pozuelo Monfort2011-06-091-8/+46
| |
| * LogWindow: Add multiselection to the 'When' paneEmilio Pozuelo Monfort2011-06-091-50/+93
| |
| * Stop processing logger calls when unneededEmilio Pozuelo Monfort2011-06-091-8/+36
| |
| * Populate from 'Anyone' when changing the accountEmilio Pozuelo Monfort2011-06-091-4/+19
| |
| * Make 'Anyone' workEmilio Pozuelo Monfort2011-06-091-4/+44
| |
| * LogWindow: Add multiselection to the 'Who' paneEmilio Pozuelo Monfort2011-06-091-95/+195
| |
| * LogWindow: Add multiselection to the 'What' paneEmilio Pozuelo Monfort2011-06-091-4/+41
| |
| * log_window_chats_get_selected -> log_window_get_selectedEmilio Pozuelo Monfort2011-06-091-5/+5
| |
| * Don't free an uninitialized variableEmilio Pozuelo Monfort2011-06-091-2/+5
| |
| * LogWindow: convert the event view to a treeviewEmilio Pozuelo Monfort2011-06-092-40/+366
| | | | | | | | Following the design.
| * Add icons for missed/incoming/outgoing callsEmilio Pozuelo Monfort2011-06-091-0/+4
| |
| * Adapt to the empathy-dispatcher removalEmilio Pozuelo Monfort2011-06-091-1/+2
| |
| * Complete rewrite of the history windowEmilio Pozuelo Monfort2011-06-093-1284/+1855
| | | | | | | | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=619866 Conflicts: libempathy-gtk/empathy-log-window.c libempathy-gtk/empathy-log-window.ui
| * account_chooser_find_account_foreach: check the col typeEmilio Pozuelo Monfort2011-06-091-1/+8
| | | | | | | | As non ROW_ACCOUNT rows don't have an account.
| * AccountChooser: add empathy_account_chooser_get_account_manager()Emilio Pozuelo Monfort2011-06-092-1/+10
| |
| * AccountChooser: All -> All accountsEmilio Pozuelo Monfort2011-06-091-1/+1
| |
| * Add a empathy_account_chooser_has_all_selectedEmilio Pozuelo Monfort2011-06-092-0/+25
| | | | | | | | So we can know if 'All' is selected in the accounts chooser.
* | empathy_individual_match_string: match if the string IS a prefixGuillaume Desmottes2011-06-091-1/+1
|/
* Merge branch 'call'Emilio Pozuelo Monfort2011-06-096-49/+262
|\
| * Build fixEmilio Pozuelo Monfort2011-06-091-1/+1
| |
| * Check for TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED when a call failsEmilio Pozuelo Monfort2011-06-091-0/+2
| |