aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-log-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* log-manager: port to new tp-glib account APIJonny Lamb2009-10-241-5/+5
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Remove last references to mission-control 4Sjoerd Simons2009-07-161-0/+1
|
* Port libempathy to EmpathyAccountSjoerd Simons2009-07-011-10/+5
|
* empathy-log-manager: update FSF addressGuillaume Desmottes2009-05-181-2/+2
|
* Fix typo in a commentXavier Claessens2009-03-061-2/+2
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2623
* Improve comment to explain what empathy_log_manager_get_filtered_messages doesXavier Claessens2009-03-061-1/+2
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2620
* Optimize empathy_log_manager_get_filtered_messages and make it easier to ↵Xavier Claessens2009-03-061-39/+44
| | | | | | | | understand. From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2617
* Simplify finalize using g_list_foreachcXavier Claessens2009-03-061-7/+1
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2616
* Use if (n != NULL) instead of if (n).Jonny Lamb2009-03-061-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2615
* Use g_list_delete_link instead of g_list_remove.Jonny Lamb2009-03-061-5/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2614
* Use g_list_next (l) instead of l->next.Jonny Lamb2009-03-061-9/+9
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2613
* Use a single-line return statement instead of if/else if/else if.Jonny Lamb2009-03-061-10/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2612
* Replaced get_last_messages with get_filtered_messages.Jonny Lamb2009-03-061-21/+54
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2605
* Get last messages for the last day - 1 as well as the last day.Jonny Lamb2009-03-061-1/+11
| | | | | | | | | As messages are being logged straight away, the most recent day will *always* be today. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2603
* Removed duplicate log source addition.Jonny Lamb2009-03-061-3/+0
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2601
* Remove MessageObserveData as the TpChannel can be retrieved from an ↵Jonny Lamb2009-03-061-27/+8
| | | | | | | | EmpathyTpChat. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2597
* Cleaned up rebasing brokenness.Jonny Lamb2009-03-061-2/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2595
* Renamed EmpathyLogSource to EmpathyLogStore.Jonny Lamb2009-03-061-32/+32
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2593
* Moved dispatcher observing and logging into EmpathyLogManager.Jonny Lamb2009-03-061-0/+75
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2592
* Only write messages to one specified log source, hardcoded at the moment.Jonny Lamb2009-03-061-7/+27
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2590
* Use g_list_concat even if the current GList is empty (NULL).Jonny Lamb2009-03-061-16/+6
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2588
* Fixed problems picked up when rebasing and cherry-picking.Jonny Lamb2009-03-061-14/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2585
* Made EmpathyLogSource an interface and EmpathyLogSourceEmpathy extend it.Jonny Lamb2009-03-061-42/+29
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2582
* Don't override the constructor. (Jonny Lamb)Jonny Lamb2009-03-061-4/+15
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2581
* Make get_dates check whether a date is already in the GList before adding it ↵Jonny Lamb2009-03-061-3/+21
| | | | | | | | now in order. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2580
* Made get_last_messages source independent. (Jonny Lamb)Jonny Lamb2009-03-061-15/+11
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2579
* Converted log code to Collabora coding style. (Jonny Lamb)Jonny Lamb2009-03-061-651/+211
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2578
* Revert "Started splitting empathy log code from the log manager to make ↵Xavier Claessens2009-03-031-125/+580
| | | | | | | | | | logging more pluggable. (Jonny Lamb)" This reverts commit 73948b3c4ddebe5c24b679e7650090128bd35403. From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2546
* Started splitting empathy log code from the log manager to make logging more ↵Jonny Lamb2009-03-031-580/+125
| | | | | | | | pluggable. (Jonny Lamb) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2545
* Fix type punned pointers warningsOlivier Crête2009-02-121-1/+1
| | | | | | | | | Remove senseless (void **) From: Olivier Crête <olivier.crete@collabora.co.uk> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2440
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-231-3/+3
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249
* Set the right weak pointer.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2122
* Port EmpathyLogManager to the new singleton policy.Xavier Claessens2009-01-091-18/+31
| | | | svn path=/trunk/; revision=2115
* Move avatar cache to ~/.cache and don't mix avatar from different contacts, ↵Xavier Claessens2008-05-281-7/+3
| | | | | | tokens are not garanteed to be different. svn path=/trunk/; revision=1128
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-11/+11
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-17/+14
| | | | svn path=/trunk/; revision=1066
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Do not load avatar from cache if token is empty. Fixes bug #517098.Xavier Claessens2008-02-181-1/+1
| | | | svn path=/trunk/; revision=652
* Add avatar token in logs and load avatar from cache when getting logs messagesXavier Claessens2008-01-121-1/+21
| | | | svn path=/trunk/; revision=538
* Cleanup licences and copyrights, Modules with 100% collabora code are nowXavier Claessens2007-10-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-18 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy/empathy-tp-chat.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-contact-manager.h: * libempathy/empathy-avatar.c: * libempathy/empathy-chandler.c: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-chandler.h: * libempathy/empathy-filter.c: * libempathy/empathy-tp-roomlist.c: * libempathy/empathy-tp-contact-list.h: * libempathy/empathy-filter.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-roomlist.h: * libempathy/empathy-contact-factory.c: * libempathy/empathy-tp-chatroom.h: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-factory.h: * libempathy/empathy-contact-list.h: * libempathy/empathy-chatroom.c: * libempathy/empathy-idle.c: * libempathy/empathy-tp-group.c: * libempathy/empathy-chatroom.h: * libempathy/empathy-idle.h: * libempathy/empathy-tp-group.h: Cleanup licences and copyrights, Modules with 100% collabora code are now relicenced to LGPL. svn path=/trunk/; revision=377
* Don't use deprecated GtkTooltips API. Add commented out lines inXavier Claessens2007-10-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-chat-view.h: * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-chat-window.c: * libempathy-gtk/empathy-chat-view.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-time.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-time.h: * libempathy/empathy-message.c: * libempathy/empathy-message.h: * libempathy/empathy-presence.c: * configure.ac: Don't use deprecated GtkTooltips API. Add commented out lines in configure.ac to disable GLib and GTK deprecated symbols. Replace EmpathyTime by time_t which is more appropriate for timestamps. * doc/*: Updated. svn path=/trunk/; revision=371
* Ignore log files that don't have a good filename. Fixes bug #462046Xavier Claessens2007-09-211-0/+4
| | | | | | | | | | | 2007-09-21 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-log-manager.c: Ignore log files that don't have a good filename. Fixes bug #462046 (Michael Scherer). * configure.ac: Bump GLIB version to 2.14.0. svn path=/trunk/; revision=309
* Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug ↵Xavier Claessens2007-08-311-10/+8
| | | | | | #459540 and bug #462907. svn path=/trunk/; revision=280
* Add message type in log files. Fixes bug #459579.Xavier Claessens2007-07-271-10/+23
| | | | | | | | | | | | | | 2007-07-27 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-message.c: * libempathy/empathy-message.h: * libempathy/empathy-log-manager.c: Add message type in log files. Fixes bug #459579. * doc/*: Updated. svn path=/trunk/; revision=205
* Add MSN setting UI. Fixes bug #443162 (Cosimo Cecchi).Xavier Claessens2007-07-091-32/+52
| | | | | | | | | | | | | | | | | | | 2007-07-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-widget-msn.glade: * libempathy-gtk/empathy-account-widget-msn.c: * libempathy-gtk/empathy-account-widget-msn.h: * libempathy-gtk/empathy-accounts-dialog.c: * libempathy-gtk/Makefile.am: Add MSN setting UI. Fixes bug #443162 (Cosimo Cecchi). * libempathy-gtk/empathy-chat-view.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: Add needed API to show chat logs in Tracker. Fixes bug #452536. svn path=/trunk/; revision=178
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-44/+44
| | | | | | | | | | | | | 2007-06-22 Xavier Claessens <xclaesse@gmail.com> * libempathy/*.[ch]: * libempathy-gtk/*.[ch]: * src/*.[ch]: Rename all filenames starting with "gossip" by "empathy", change namespace of all gossip_*() functions to empathy_*(). Fixes bug #444490 (Mario Danic, Xavier Claessens). svn path=/trunk/; revision=170
* Do not create log directory for a chat if there is no messages to put in.Xavier Claessens2007-06-141-10/+24
| | | | | | | | | | | | | | 2007-06-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-log-window.c: * libempathy-gtk/gossip-chat-window.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: Do not create log directory for a chat if there is no messages to put in. Show logs and information for the contact we are speaking with in the chat window menu. svn path=/trunk/; revision=150
* New window for viewing logs.Xavier Claessens2007-06-141-47/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/Makefile.am: * libempathy-gtk/gossip-log-window.glade: * libempathy-gtk/gossip-log-window.h: * libempathy-gtk/gossip-log-window.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/empathy-main-window.c: New window for viewing logs. * libempathy-gtk/gossip-chat-view.c: Do not use smooth scroll when resizing the view. * libempathy-gtk/gossip-contact-list-store.c: Do not set active contacts when creating the store, and when contact groups changed. * src/empathy-main.c: Fix warning when using command-line options. * libempathy/empathy-tp-contact-list.c: Check if we have an aliasing iface before setting the alias of a contact. * TODO: Updated. * data/jabber.profile: Ignore ssl errors by default. This is a security vulnerability but we don't really have the choice. * libempathy/gossip-contact.h: * libempathy/gossip-contact.c: Add a "is-user" property to know if it's our self contact. * libempathy/gossip-message.h: * libempathy/gossip-message.c: Add a "receiver" property like that we have our self contact for nick highlight. svn path=/trunk/; revision=148
* Fix crash when there is no log available for a chat. Fix a crash whenXavier Claessens2007-06-031-5/+7
| | | | | | | | | | | | 2007-06-02 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-log-manager.c: Fix crash when there is no log available for a chat. * libempathy/empathy-tp-contact-list.c: Fix a crash when destroy signal is emitted before StatusChanged. svn path=/trunk/; revision=115
* Log chats and display 10 last messages when opening a new chat.Xavier Claessens2007-06-021-0/+445
2007-06-02 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: * libempathy-gtk/gossip-private-chat.c: * libempathy-gtk/gossip-chat.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy/empathy-log-manager.xsl: * libempathy/Makefile.am: Log chats and display 10 last messages when opening a new chat. svn path=/trunk/; revision=114