aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
Commit message (Collapse)AuthorAgeFilesLines
* Drop Chandler and Filter, do not use MC for dispatching channels, do it ourself.Xavier Claessens2008-04-206-588/+32
| | | | svn path=/trunk/; revision=967
* Fix acknoledge of messagesXavier Claessens2008-04-202-47/+77
| | | | svn path=/trunk/; revision=966
* Always set urgency hint on p2p chat windows when receiving a message.Xavier Claessens2008-04-182-6/+19
| | | | svn path=/trunk/; revision=962
* If the RequestAliases fails, make sure the name property on all contacts ↵Xavier Claessens2008-04-162-40/+43
| | | | | | becomes ready to avoid waiting infinitely. svn path=/trunk/; revision=952
* Add/Remove preview window can be done at anytime, the call don't have to be ↵Xavier Claessens2008-04-161-2/+0
| | | | | | running. svn path=/trunk/; revision=949
* Add collabora in copyright and myself in authors since I did lots of changes ↵Xavier Claessens2008-04-152-26/+32
| | | | | | in that module. svn path=/trunk/; revision=947
* Update copyright year in .h too, it was done in .c only.Xavier Claessens2008-04-1518-18/+18
| | | | svn path=/trunk/; revision=946
* Get the chat ID only if the handle and handle_type are != 0. Get the ↵Xavier Claessens2008-04-151-15/+19
| | | | | | remote_contact from the channel's handle if it's of type CONTACT. svn path=/trunk/; revision=945
* Request audio and video streams if capabilities are unknown.Xavier Claessens2008-04-151-17/+8
| | | | svn path=/trunk/; revision=944
* Various fixes for chatsXavier Claessens2008-04-141-3/+4
| | | | svn path=/trunk/; revision=938
* Set "remote-contact" property even if there is a group interface.Xavier Claessens2008-04-141-0/+41
| | | | svn path=/trunk/; revision=937
* Fix disconnection of AccountStatusChanged signal.Xavier Claessens2008-04-134-23/+33
| | | | svn path=/trunk/; revision=932
* Fix some warningsXavier Claessens2008-04-112-3/+3
| | | | svn path=/trunk/; revision=926
* Remove deleted file from the makefileXavier Claessens2008-04-111-3/+1
| | | | svn path=/trunk/; revision=924
* We can't use *_run_* API from dbus signal cb or method implementation. To ↵Xavier Claessens2008-04-116-39/+218
| | | | | | avoid problems move the code to a g_idle cb. svn path=/trunk/; revision=922
* Do not add signal "process", it's added in generated codeXavier Claessens2008-04-111-12/+0
| | | | svn path=/trunk/; revision=921
* Use generated API in EmpathyChandlerXavier Claessens2008-04-112-63/+57
| | | | svn path=/trunk/; revision=920
* Make use of generated API for EmpathyFilterXavier Claessens2008-04-112-79/+66
| | | | svn path=/trunk/; revision=919
* Add Chandler and Filter interfacesXavier Claessens2008-04-112-31/+0
| | | | svn path=/trunk/; revision=918
* TpChannel is not a DBusGProxyXavier Claessens2008-04-111-5/+4
| | | | svn path=/trunk/; revision=914
* Fix a warningXavier Claessens2008-04-111-1/+1
| | | | svn path=/trunk/; revision=913
* Remove unused includesXavier Claessens2008-04-112-3/+0
| | | | svn path=/trunk/; revision=909
* Update for new APIXavier Claessens2008-04-111-1/+1
| | | | svn path=/trunk/; revision=907
* Remove empathy_inspect_* and add empathy_channel_get_accountXavier Claessens2008-04-112-69/+16
| | | | svn path=/trunk/; revision=906
* Do not take McAccount as construct param, it can be found from the TpChannelXavier Claessens2008-04-116-232/+72
| | | | svn path=/trunk/; revision=905
* Port EmpathyTpRoomlist to tp-glib APIXavier Claessens2008-04-112-224/+272
| | | | svn path=/trunk/; revision=904
* Add empathy_tp_group_get_invitationXavier Claessens2008-04-112-0/+36
| | | | svn path=/trunk/; revision=903
* Chandler and Filter only dispatch ready TpChannelXavier Claessens2008-04-113-54/+38
| | | | svn path=/trunk/; revision=902
* Update for new APIXavier Claessens2008-04-111-1/+1
| | | | svn path=/trunk/; revision=901
* Port to tp-glib API and cleanup the codeXavier Claessens2008-04-112-394/+252
| | | | svn path=/trunk/; revision=900
* Disconnect invalidated signal before unref the connection.Xavier Claessens2008-04-111-0/+3
| | | | svn path=/trunk/; revision=899
* Remove all references to TpChan in EmpathyTpGroupXavier Claessens2008-04-112-54/+7
| | | | svn path=/trunk/; revision=898
* Port EmpathyTpContactList to tp-glib APIXavier Claessens2008-04-112-247/+240
| | | | svn path=/trunk/; revision=897
* Use tp-glib API in empathy_call_with_contactXavier Claessens2008-04-111-23/+24
| | | | svn path=/trunk/; revision=896
* Completely remove TpConn and TpChanXavier Claessens2008-04-112-16/+2
| | | | svn path=/trunk/; revision=895
* Fix get_property('ready') on EmpathyTpChat and EmpathyTpGroup (Alban Crequy).Xavier Claessens2008-04-112-0/+6
| | | | svn path=/trunk/; revision=894
* Make use of empathy_run_until_ready_fullXavier Claessens2008-04-111-45/+10
| | | | svn path=/trunk/; revision=893
* Add empathy_run_until_read[_full] functionsXavier Claessens2008-04-112-0/+86
| | | | svn path=/trunk/; revision=892
* Wait for the TpGroup to be ready before using itXavier Claessens2008-04-111-34/+59
| | | | svn path=/trunk/; revision=891
* Use tp-glib client APIXavier Claessens2008-04-112-16/+58
| | | | svn path=/trunk/; revision=889
* Make use of mission_control_get_tpconnection()Xavier Claessens2008-04-112-20/+5
| | | | svn path=/trunk/; revision=888
* Use tp-glib API in EmpathyTpGroup and add a ready propertyXavier Claessens2008-04-113-241/+330
| | | | svn path=/trunk/; revision=884
* Use g_date_set_time_t instead of g_date_set_time. Fixes bug #523703 ↵Xavier Claessens2008-04-091-1/+1
| | | | | | (Frederic Peters). svn path=/trunk/; revision=881
* Display a warning if used when not ready instead of silently return.Xavier Claessens2008-04-021-11/+3
| | | | svn path=/trunk/; revision=862
* Add a 'ready' property telling if the object is ready to use.Xavier Claessens2008-04-022-6/+27
| | | | svn path=/trunk/; revision=861
* Do not ack pending messages until they are displayedXavier Claessens2008-04-021-1/+22
| | | | svn path=/trunk/; revision=857
* ref the contact temporally when setting properties because it could destroy ↵Xavier Claessens2008-04-021-3/+8
| | | | | | the object. svn path=/trunk/; revision=855
* Rework EmpathyChat's API, it is now a subclass of GtkBin.Xavier Claessens2008-04-024-64/+148
| | | | svn path=/trunk/; revision=840
* Fix leaks in finalizeXavier Claessens2008-04-021-0/+7
| | | | svn path=/trunk/; revision=832
* Unify EmpathyTpChatroom and EmpathyTpChat.Xavier Claessens2008-04-025-385/+131
| | | | svn path=/trunk/; revision=830
* Disconnect invalidated signal when TpCall is finalized. Fixes bug #523766.Xavier Claessens2008-03-261-9/+9
| | | | svn path=/trunk/; revision=826
* Disconnect invalidated signal from stream-engine when media channel is ↵Xavier Claessens2008-03-231-12/+20
| | | | | | closed. Fixes bug #523766. svn path=/trunk/; revision=822
* Fix some coding styleXavier Claessens2008-03-231-14/+14
| | | | svn path=/trunk/; revision=820
* Use empathy_file_lookup for glade files since some are in libempathy-gtk/ ↵Xavier Claessens2008-03-172-1/+21
| | | | | | and others in src/ svn path=/trunk/; revision=813
* Remove previous hack, it was stupid, we have a param to increase dbus ↵Xavier Claessens2008-03-171-29/+8
| | | | | | timeout now that we use tp-glib API. svn path=/trunk/; revision=812
* Keep the 0 in the end of the array when duping itXavier Claessens2008-03-171-1/+1
| | | | svn path=/trunk/; revision=810
* Make sure the dup_handles array is ended by 0.Xavier Claessens2008-03-171-1/+3
| | | | svn path=/trunk/; revision=809
* Retry requesting aliases if it fails, it can happen if there is too many ↵Xavier Claessens2008-03-162-4/+26
| | | | | | aliases to request and it takes too much time svn path=/trunk/; revision=798
* Wait for the factory to be ready before getting membersXavier Claessens2008-03-141-19/+47
| | | | svn path=/trunk/; revision=793
* Emit notify::ready signalsXavier Claessens2008-03-141-0/+3
| | | | svn path=/trunk/; revision=792
* Add a ready property on EmpathyTpContactFactoryXavier Claessens2008-03-144-11/+34
| | | | svn path=/trunk/; revision=790
* Make use of tp-glib helpers func for GValueXavier Claessens2008-03-111-6/+3
| | | | svn path=/trunk/; revision=779
* Remove useless libtelepathy headersXavier Claessens2008-03-1111-11/+9
| | | | svn path=/trunk/; revision=777
* Connect to PropertyFlagsChangedXavier Claessens2008-03-111-0/+40
| | | | svn path=/trunk/; revision=775
* Check if property is writable before setting it. Fix leaksXavier Claessens2008-03-111-0/+7
| | | | svn path=/trunk/; revision=774
* Implement _set_propertyXavier Claessens2008-03-112-1/+42
| | | | svn path=/trunk/; revision=773
* Fix usage of property iface and make use of it to get chatroom topic.Xavier Claessens2008-03-111-18/+15
| | | | svn path=/trunk/; revision=772
* Display GError's message when a call fails.Xavier Claessens2008-03-111-0/+18
| | | | svn path=/trunk/; revision=771
* Fix some warnings when getting propertiesXavier Claessens2008-03-111-8/+21
| | | | svn path=/trunk/; revision=770
* Add back "tp-chan" property, still used to inspect the channel handle.Xavier Claessens2008-03-112-9/+23
| | | | svn path=/trunk/; revision=769
* Continue property stuffXavier Claessens2008-03-112-4/+84
| | | | svn path=/trunk/; revision=768
* Do not close the channel if the channel is invalidatedXavier Claessens2008-03-111-1/+1
| | | | svn path=/trunk/; revision=767
* Prepare a new API for chat propertiesXavier Claessens2008-03-113-107/+160
| | | | svn path=/trunk/; revision=766
* Fix coding styleXavier Claessens2008-03-111-2/+2
| | | | svn path=/trunk/; revision=765
* Remove unused priv->factoryXavier Claessens2008-03-111-8/+4
| | | | svn path=/trunk/; revision=764
* Queue received messages until the sender got his alias.Xavier Claessens2008-03-113-31/+48
| | | | svn path=/trunk/; revision=763
* Refactor EmpathyTpChat to use tp-glib client codeXavier Claessens2008-03-112-456/+173
| | | | svn path=/trunk/; revision=762
* Don't wait for connection-ready if it was already ready.Xavier Claessens2008-03-111-3/+11
| | | | svn path=/trunk/; revision=761
* Improve a bit the test and fix empathy_contact_run_until, data.ready was not ↵Xavier Claessens2008-03-111-1/+2
| | | | | | set. svn path=/trunk/; revision=760
* Make sure we don't expect contact id and handle to be directly ready. Add ↵Xavier Claessens2008-03-116-88/+69
| | | | | | some _run_until_ready. svn path=/trunk/; revision=755
* Simplify tp_group_get_contact.Xavier Claessens2008-03-111-1/+1
| | | | svn path=/trunk/; revision=754
* Add debug messages in _run_until_readyXavier Claessens2008-03-111-0/+5
| | | | svn path=/trunk/; revision=753
* Keep EmpathyContact object instead of the self handle, avoid using the ↵Xavier Claessens2008-03-111-98/+141
| | | | | | connection when not ready and request contact info when the connection gets ready. svn path=/trunk/; revision=752
* simplify empathy_call_with_contact_id using empathy_contact_run_until_readyXavier Claessens2008-03-111-25/+5
| | | | svn path=/trunk/; revision=750
* Add empathy_contact_run_until_ready()Xavier Claessens2008-03-112-2/+81
| | | | svn path=/trunk/; revision=749
* Ready property on EmpathyContact is not a boolean but flags for each property.Xavier Claessens2008-03-112-10/+19
| | | | svn path=/trunk/; revision=748
* Add a ready property on EmpathyContact and make use of tp_strdiff.Xavier Claessens2008-03-112-13/+33
| | | | svn path=/trunk/; revision=747
* Lazy init of contact hash.Xavier Claessens2008-03-111-4/+5
| | | | svn path=/trunk/; revision=746
* If we set contact's id and name is still empty, emit notify::name.Xavier Claessens2008-03-111-0/+3
| | | | svn path=/trunk/; revision=745
* Make InspectHandles call asyncXavier Claessens2008-03-111-26/+41
| | | | svn path=/trunk/; revision=744
* Set self handle to 0 when connection is invalidatedXavier Claessens2008-03-111-2/+1
| | | | svn path=/trunk/; revision=743
* Use new apiXavier Claessens2008-03-112-383/+305
| | | | svn path=/trunk/; revision=742
* Do not use a global variable but a field in the call. Use a boolean since we ↵Xavier Claessens2008-03-111-9/+9
| | | | | | don't need the owner name. svn path=/trunk/; revision=731
* Fix: do not close the call channel if stream-engine is not yet started ↵Xavier Claessens2008-03-111-1/+13
| | | | | | (Alban Crequy) svn path=/trunk/; revision=730
* Queue received messages until the sender got his alias.Xavier Claessens2008-03-093-73/+149
| | | | svn path=/trunk/; revision=713
* Reorder functions to avoid having to declare them in the beginingXavier Claessens2008-03-091-471/+421
| | | | svn path=/trunk/; revision=712
* Allow underscores in URLs. Fixes bug #505616 (Marco Barisione).Xavier Claessens2008-03-081-1/+1
| | | | svn path=/trunk/; revision=708
* Replace g_signal_emit_by_name by g_signal_emit (Alban Crequy).Xavier Claessens2008-03-051-8/+8
| | | | svn path=/trunk/; revision=701
* Fix call when then stream is created with a 'Bidirectional' direction (Alban ↵Xavier Claessens2008-03-051-0/+13
| | | | | | Crequy). svn path=/trunk/; revision=700
* Remove EMPATHY_CAPABILITIES_UNKNOWN flag when setting capabilitiesXavier Claessens2008-03-051-0/+1
| | | | svn path=/trunk/; revision=699
* Don't hardcode path to uninstalled files, use EMPATHY_SRCDIR env var instead.Xavier Claessens2008-03-041-1/+2
| | | | svn path=/trunk/; revision=693
* Update collabora copyright to 2008Xavier Claessens2008-03-0319-19/+19
| | | | svn path=/trunk/; revision=688
* Fix crash: g_object_new()'s last argument must be NULL (Alban Crequy).Xavier Claessens2008-03-021-1/+2
| | | | svn path=/trunk/; revision=686
* Add missing include of tp-conn.hXavier Claessens2008-03-021-0/+1
| | | | svn path=/trunk/; revision=682
* Add filter for incoming calls so the status icon blink instead of popup ↵Xavier Claessens2008-02-272-0/+13
| | | | | | directly the call window. svn path=/trunk/; revision=676
* Cancel name owner watch when the call is finalizedXavier Claessens2008-02-261-0/+7
| | | | svn path=/trunk/; revision=672
* Watch name owner changes to know when s-e falls off the bus.Xavier Claessens2008-02-261-1/+24
| | | | svn path=/trunk/; revision=671
* Avoid calling Close() on the media channel if it's already closed.Xavier Claessens2008-02-261-0/+5
| | | | svn path=/trunk/; revision=670
* Close the channel if se proxy is invalidated and do not change status to ↵Xavier Claessens2008-02-261-8/+1
| | | | | | closed if a se call fails svn path=/trunk/; revision=669
* Change status to closed if stream engine dies or if a call fails.Xavier Claessens2008-02-261-1/+24
| | | | svn path=/trunk/; revision=668
* unref stream-engine proxy when TpCall is finalizedXavier Claessens2008-02-261-2/+3
| | | | svn path=/trunk/; revision=667
* It's now safe to call emp_cli_init multiple times. Move that call to ↵Xavier Claessens2008-02-261-0/+2
| | | | | | empathy_tp_call_class_init. svn path=/trunk/; revision=665
* Make use of generated code for using stream engine.Xavier Claessens2008-02-264-157/+75
| | | | svn path=/trunk/; revision=664
* Import tools from telepathy-glib 0.7.3 and build a static libemp-extensions.la.Xavier Claessens2008-02-261-0/+2
| | | | | | | | | | | | Link that library into libempathy (it's not actually used for anything at this point). Extensions currently built: ChannelHandler and StreamEngine. The namespacing convention used is emp_*, Emp*, EMP_* so it won't be included in the library ABI. svn path=/trunk/; revision=663
* Do not load avatar from cache if token is empty. Fixes bug #517098.Xavier Claessens2008-02-181-1/+1
| | | | svn path=/trunk/; revision=652
* Merge commit 'bari/marshalList'Xavier Claessens2008-02-181-1/+1
| | | | svn path=/trunk/; revision=651
* Merge commit 'cassidy/irc'Xavier Claessens2008-02-189-4/+2204
| | | | svn path=/trunk/; revision=649
* EmpathyContact: Set G_PARAM_CONSTRUCT on the capabilities property. (Sjoerd)Xavier Claessens2008-02-181-1/+1
| | | | svn path=/trunk/; revision=646
* Remove unused PROP_SUBSCRIPTIONXavier Claessens2008-02-161-1/+0
| | | | svn path=/trunk/; revision=642
* Removed unused PROP_GROUPSXavier Claessens2008-02-161-1/+0
| | | | svn path=/trunk/; revision=640
* Cleanup code from previous mergeXavier Claessens2008-02-163-15/+14
| | | | svn path=/trunk/; revision=638
* Merge commit 'sjoerd/master'Xavier Claessens2008-02-164-4/+33
| | | | svn path=/trunk/; revision=637
* Simplifies empathy_call_with_contact_id.Xavier Claessens2008-02-161-20/+11
| | | | svn path=/trunk/; revision=636
* Merge commit 'sjoerd/master'Xavier Claessens2008-02-162-8/+49
| | | | svn path=/trunk/; revision=635
* Add self contact to the group iface of media channel.Xavier Claessens2008-02-161-8/+15
| | | | svn path=/trunk/; revision=634
* If there is an error when listing streams, return for the func to avoid ↵Xavier Claessens2008-02-151-0/+1
| | | | | | crashing later. svn path=/trunk/; revision=633
* Merge call branch from Elliot Fairweather with cleanups from Xavier Claessens.Xavier Claessens2008-02-153-582/+891
| | | | svn path=/trunk/; revision=632
* EmpathyTpContactFactory: If the presence dict doesn't contain a ↵Xavier Claessens2008-02-101-0/+2
| | | | | | presence-message set the presence message to NULL svn path=/trunk/; revision=620
* Generate marshal.list thanks to gabble black magic.Xavier Claessens2008-02-102-15/+12
| | | | svn path=/trunk/; revision=614
* Do not export symbols outside the empathy_ namespace.Xavier Claessens2008-02-106-18/+19
| | | | svn path=/trunk/; revision=613
* Change new message dialog to new conversation and make possible to do voip call.Xavier Claessens2008-02-092-49/+25
| | | | svn path=/trunk/; revision=608
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-2511-492/+166
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Move empathy-conf to libempathy-gtk. libempathy do not depend directly on ↵Xavier Claessens2008-01-233-461/+0
| | | | | | gconf anymore. svn path=/trunk/; revision=597
* Try to load dtd and glade files from the srcdir first to aboid having to ↵Xavier Claessens2008-01-231-2/+6
| | | | | | install them each time we change them. svn path=/trunk/; revision=596
* Move empathy-contact-groups to libempathy, it has nothing to do in -gtkXavier Claessens2008-01-214-1/+344
| | | | svn path=/trunk/; revision=592
* Move empathy-status-presets to libempathy, nothing to do with GTKXavier Claessens2008-01-214-0/+470
| | | | svn path=/trunk/; revision=591
* Add a property to have or not groups on EmpathyContactListStoreXavier Claessens2008-01-211-0/+2
| | | | svn path=/trunk/; revision=586
* Remove not implemented and not used empathy_time_parse_format function.Xavier Claessens2008-01-171-2/+0
| | | | svn path=/trunk/; revision=570
* Add a missing includeXavier Claessens2008-01-161-0/+1
| | | | svn path=/trunk/; revision=560
* Make use of tp_strdiff() to be NULL-safe. Fixes bug #509656.Xavier Claessens2008-01-161-13/+7
| | | | svn path=/trunk/; revision=558
* Make use of PresenceChanged signal now that it got fixed in MC 4.53. Fixes ↵Xavier Claessens2008-01-141-7/+10
| | | | | | bug #466960. svn path=/trunk/; revision=547
* Add sanity check to public APIXavier Claessens2008-01-121-2/+19
| | | | svn path=/trunk/; revision=542
* Add avatar token in logs and load avatar from cache when getting logs messagesXavier Claessens2008-01-121-1/+21
| | | | svn path=/trunk/; revision=538
* Reset status message when coming back from away and the status was manually ↵Xavier Claessens2008-01-121-4/+16
| | | | | | set to away. svn path=/trunk/; revision=537
* Add a remove option to delete a contact group. Fixes bug #459520 (David Turner).Xavier Claessens2008-01-024-0/+66
| | | | svn path=/trunk/; revision=528
* Add convinience functions empathy_chat_with_contact() and ↵Xavier Claessens2008-01-022-0/+34
| | | | | | empathy_chat_with_contact_id() to start a chat with a contact. Make use of it when appropriate. svn path=/trunk/; revision=527
* Add back empathy_tp_chat_new_with_contactXavier Claessens2008-01-022-0/+44
| | | | svn path=/trunk/; revision=526
* Merge branch 'ignore'Xavier Claessens2007-12-231-0/+4
| | | | svn path=/trunk/; revision=497
* New chat theme engine imported from Gossip (Daniel Gryniewicz, Xavier ↵Xavier Claessens2007-12-213-0/+23
| | | | | | Claessens). svn path=/trunk/; revision=494
* Have to append a value before doing anything otherwise the array's size is 0Xavier Claessens2007-12-131-1/+2
| | | | svn path=/trunk/; revision=477
* Replace g_array_insert_val(array, 0, handle) by ↵Xavier Claessens2007-12-131-1/+1
| | | | | | g_array_index(array,guint,0)=handle svn path=/trunk/; revision=476
* Correctly store/restore presence when NM state changesXavier Claessens2007-12-131-7/+10
| | | | svn path=/trunk/; revision=473
* Split EmpathyContactFactory to have one EmpathyTpContactFactory per accountXavier Claessens2007-12-124-1225/+1414
| | | | svn path=/trunk/; revision=472
* When NM is in sleeping (=disabled) state, do just like if it wasXavier Claessens2007-12-061-8/+13
| | | | | | | | | | | | | 2007-12-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-preferences.c: * libempathy-gtk/empathy-preferences.glade: * libempathy/empathy-idle.c: When NM is in sleeping (=disabled) state, do just like if it was connected. Remove option from preference dialog to disabled NM support because NM can be disabled using nm-applet, but let the option in gconf, it can be useful in case of buggy NM. svn path=/trunk/; revision=469
* Add a preference option to disable/enable NM support.Xavier Claessens2007-12-062-77/+78
| | | | | | | | | | | | | | | 2007-12-06 Xavier Claessens <xclaesse@gmail.com> * data/empathy.schemas.in: * libempathy-gtk/empathy-preferences.c: * libempathy-gtk/empathy-preferences.glade: * libempathy-gtk/empathy-preferences.h: * libempathy-gtk/empathy-status-icon.c: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: Add a preference option to disable/enable NM support. svn path=/trunk/; revision=468
* Cleanup chat objects API and request a new Text channel if account getsXavier Claessens2007-12-032-44/+13
| | | | | | | | | | | | | | | | | | | | 2007-12-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-chat-window.c: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-chat.h: * libempathy-gtk/empathy-group-chat.c: * libempathy-gtk/empathy-group-chat.h: * libempathy-gtk/empathy-private-chat.c: * libempathy-gtk/empathy-private-chat.h: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: * python/pyempathy/pyempathy.defs: * python/pyempathygtk/pyempathygtk.defs: * src/empathy-chat-chandler.c: Cleanup chat objects API and request a new Text channel if account gets reconnected. svn path=/trunk/; revision=461
* Call tp_debug_set_flags() to get tp-glib debug messagesXavier Claessens2007-12-031-0/+3
| | | | svn path=/trunk/; revision=458
* Conflicts:Xavier Claessens2007-12-0311-188/+112
| | | | | | ChangeLog svn path=/trunk/; revision=455
* Do not use deprecated tp_conn_new(), use tp_conn_new_without_connect()Xavier Claessens2007-11-132-6/+17
| | | | | | | | | | | 2007-11-13 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-chandler.c: * libempathy/empathy-filter.c: Do not use deprecated tp_conn_new(), use tp_conn_new_without_connect() instead. svn path=/trunk/; revision=436
* Better debug messagesXavier Claessens2007-11-041-4/+8
| | | | svn path=/trunk/; revision=419
* Call ClearAvatar if the data is NULL or size <= 0 inXavier Claessens2007-11-041-8/+30
| | | | | | | | | | 2007-11-03 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-contact-factory.c: Call ClearAvatar if the data is NULL or size <= 0 in empathy_contact_factory_set_avatar(). svn path=/trunk/; revision=418
* Rename empathy_contact_factory_set_name() to _set_alias(). ImplementsXavier Claessens2007-11-042-7/+60
| | | | | | | | | | | | | | | | | 2007-11-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-avatar-chooser.c: * libempathy-gtk/empathy-avatar-chooser.h: * python/pyempathy/pyempathy.defs: * libempathy/empathy-contact-factory.c: * libempathy/empathy-contact-factory.h: Rename empathy_contact_factory_set_name() to _set_alias(). Implements empathy_contact_factory_set_avatar(). Return the mime_type in empathy_avatar_chooser_get_image_data(). svn path=/trunk/; revision=417
* Cleanup licences and copyrights, Modules with 100% collabora code are nowXavier Claessens2007-10-252-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-chooser.c: * libempathy-gtk/empathy-profile-chooser.c: * libempathy-gtk/empathy-account-chooser.h: * libempathy-gtk/empathy-profile-chooser.h: * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-main-window.h: * libempathy-gtk/empathy-cell-renderer-activatable.c: * libempathy-gtk/empathy-account-widget-salut.c: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-cell-renderer-activatable.h: * libempathy-gtk/empathy-account-widget-salut.h: * libempathy-gtk/empathy-account-widget-msn.c: * libempathy-gtk/empathy-presence-chooser.h: * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-account-widget-msn.h: * libempathy-gtk/empathy-status-icon.h: * libempathy-gtk/empathy-contact-dialogs.h: * libempathy-gtk/empathy-account-widget-jabber.c: * libempathy-gtk/empathy-account-widget-jabber.h: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/empathy-smiley-manager.c: * libempathy-gtk/empathy-about-dialog.h: * libempathy-gtk/empathy-smiley-manager.h: * libempathy-gtk/empathy-accounts-dialog.h: * libempathy/empathy-avatar.h: * libempathy/empathy-debug.h: Cleanup licences and copyrights, Modules with 100% collabora code are now relicenced to LGPL. * doc/libempathy-gtk/tmpl/empathy-contact-list-store.sgml: Updated. svn path=/trunk/; revision=392
* Don't accept invitation if we are not invited.Xavier Claessens2007-10-191-2/+6
| | | | | | | | | | | | | | 2007-10-19 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-group-chat.c: * libempathy/empathy-tp-chatroom.c:Don't accept invitation if we are not invited. * libempathy-gtk/empathy-status-icon.c: Correctly toggle visibility with ALT-F4 on the main windows. svn path=/trunk/; revision=378
* Cleanup licences and copyrights, Modules with 100% collabora code are nowXavier Claessens2007-10-1827-251/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-137-29/+26
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use g_timeout_add_seconds when appropriated to avoid weaking the processXavier Claessens2007-10-131-3/+3
| | | | | | | | | | | | | | | | | | 2007-10-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-chat-window.c: * libempathy/empathy-idle.c: * tests/contact-manager.c: Use g_timeout_add_seconds when appropriated to avoid weaking the process too much. svn path=/trunk/; revision=370
* Set supress_handler to TRUE when creating new group channel.Xavier Claessens2007-10-121-3/+3
| | | | | | | | | | 2007-10-11 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Set supress_handler to TRUE when creating new group channel. svn path=/trunk/; revision=369
* Initialize every GError to NULL. Fixes bug #482889.Marco Barisione2007-10-044-5/+5
| | | | | | | | | | | | 2007-10-03 Marco Barisione <marco@barisione.org> * libempathy/empathy-contact-factory.c: * libempathy/empathy-tp-call.c: * libempathy/empathy-tp-group.c: * libempathy/empathy-utils.c: Initialize every GError to NULL. Fixes bug #482889. svn path=/trunk/; revision=360
* Oops, useless g_printXavier Claessens2007-10-021-1/+0
| | | | svn path=/trunk/; revision=359
* really fix protocol groupXavier Claessens2007-10-021-8/+10
| | | | svn path=/trunk/; revision=358
* Add back protocol group.Xavier Claessens2007-10-021-0/+8
| | | | | | | | | 2007-10-02 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Add back protocol group. svn path=/trunk/; revision=357
* Add tp-stream-engine.xml to EXTRA_DIST. Add empathy-call-window.glade.EMPATHY_0_14Xavier Claessens2007-10-011-0/+1
| | | | | | | | | | 2007-10-01 Xavier Claessens <xclaesse@gmail.com> * libempathy/Makefile.am: Add tp-stream-engine.xml to EXTRA_DIST. * po/POTFILES.in: Add empathy-call-window.glade. svn path=/trunk/; revision=352
* Add some sanity checks. Fixes bug #463051.Xavier Claessens2007-10-011-1/+8
| | | | | | | | | | 2007-10-01 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-utils.c: Add some sanity checks. Fixes bug #463051. svn path=/trunk/; revision=348
* Disconnect all signals in finalize. Fixes bug #462815.Xavier Claessens2007-10-011-0/+21
| | | | | | | | | | 2007-10-01 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-chat.c: Disconnect all signals in finalize. Fixes bug #462815. svn path=/trunk/; revision=347
* ref group when async calls are in flight to avoid destroying the objectXavier Claessens2007-09-292-8/+12
| | | | | | | | | | | 2007-09-29 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-group.c: ref group when async calls are in flight to avoid destroying the object before receiving the reply. * libempathy/empathy-utils.c: Unref the group to not leak it. svn path=/trunk/; revision=341
* Refcount ContactFactoryAccountData struct.Xavier Claessens2007-09-291-100/+85
| | | | | | | | | | 2007-09-29 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-contact-factory.c: Refcount ContactFactoryAccountData struct. svn path=/trunk/; revision=340
* Initial Voice+Video support Fixes bug #468204 (Elliot Fairweather, XavierXavier Claessens2007-09-296-1/+869
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-29 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-call-window.c: * libempathy-gtk/empathy-call-window.h: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-call-window.glade: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-chat-window.c: * src/empathy-call-chandler.c: * src/empathy-call.chandler: * src/org.gnome.Empathy.Call.service.in: * src/Makefile.am: * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-tp-call.c: * libempathy/empathy-tp-call.h: * libempathy/Makefile.am: * libempathy/tp-stream-engine.xml: * configure.ac: * doc/libempathy-gtk/libempathy-gtk-docs.sgml: * doc/libempathy/libempathy.types: * doc/libempathy/libempathy-docs.sgml: * doc/libempathy/Makefile.am: * doc/libempathy/tmpl/empathy-utils.sgml: Initial Voice+Video support Fixes bug #468204 (Elliot Fairweather, Xavier Claessens). svn path=/trunk/; revision=339
* Ported from VOIP branch.Xavier Claessens2007-09-282-7/+7
| | | | | | | | | | | | | 2007-09-28 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-chat-window.c: * src/Makefile.am: * libempathy/empathy-tp-group.c: * libempathy/Makefile.am: Ported from VOIP branch. svn path=/trunk/; revision=335
* Remove GnomeProgram, not useful anymore, drop libgnome dependency. FixesXavier Claessens2007-09-284-6/+23
| | | | | | | | | | | | | | | | | | | 2007-09-28 Xavier Claessens <xclaesse@gmail.com> * configure.ac: * src/empathy.c: Remove GnomeProgram, not useful anymore, drop libgnome dependency. Fixes bug #442079 * libempathy/empathy-avatar.c: * libempathy/empathy-avatar.h: Fix Copyright header. * libempathy/empathy-contact-factory.c: * libempathy/empathy-tp-group.c: Free return value for async DBus calls, they are not owned by dbus-glib. This fix big leaks, thanks again to valgrind. svn path=/trunk/; revision=330
* Look in the local_pendings list if a contact is already local pending. FixXavier Claessens2007-09-281-1/+1
| | | | | | | | | | | 2007-09-28 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-group.c: Look in the local_pendings list if a contact is already local pending. * tests/contact-manager.c: Fix white space typo. svn path=/trunk/; revision=326
* Fix 2 leaks thanks to valgrind.Xavier Claessens2007-09-272-0/+2
| | | | | | | | | | 2007-09-27 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-utils.c: * libempathy/empathy-contact-factory.c: Fix 2 leaks thanks to valgrind. svn path=/trunk/; revision=325
* Fix leak when loading avatar from cache. Do not request avatar for unknownXavier Claessens2007-09-272-60/+58
| | | | | | | | | | | 2007-09-27 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-avatar.c: Fix leak when loading avatar from cache. * libempathy/empathy-contact-factory.c: Do not request avatar for unknown tokens, wait for AvatarUpdate signal. svn path=/trunk/; revision=323
* Cache avatars and RequestAvatars only when needed.Xavier Claessens2007-09-275-61/+334
| | | | | | | | | | | | | | 2007-09-26 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-avatar.c: * libempathy/empathy-avatar.h: * libempathy/empathy-contact-factory.c: Cache avatars and RequestAvatars only when needed. svn path=/trunk/; revision=320
* Fix capabilities update, the NOT operator is ~ and not !Xavier Claessens2007-09-261-2/+2
| | | | | | | | | | 2007-09-26 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-contact-factory.c: Fix capabilities update, the NOT operator is ~ and not ! svn path=/trunk/; revision=319
* 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
* Fix warnings when finalizing.Xavier Claessens2007-09-211-18/+13
| | | | | | | | | | | | | | 2007-09-21 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Fix warnings when finalizing. * tests/contact-manager.c: * tests/Makefile.am: * configure.ac: * Makefile.am: Add a test program to track leaks. svn path=/trunk/; revision=304
* Fix ref count error for account objects.Xavier Claessens2007-09-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-21 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: Fix ref count error for account objects. * libempathy/empathy-contact-manager.c: Disconnect signals from MissionControl object when finalising the contact manager. * configure.ac: * megaphone/src/megaphone-applet.c: * megaphone/src/Makefile.am: * megaphone/src/megaphone-applet.h: * megaphone/data/GNOME_Megaphone_Applet.schemas.in: * megaphone/data/Makefile.am: * megaphone/data/GNOME_Megaphone_Applet.server.in.in: * megaphone/data/GNOME_Megaphone_Applet.xml: * megaphone/Makefile.am: * nothere/src/nothere-applet.c: * nothere/src/Makefile.am: * nothere/src/nothere-applet.h: * nothere/data/Makefile.am: * nothere/data/GNOME_NotHere_Applet.server.in.in: * nothere/data/GNOME_NotHere_Applet.xml: * nothere/Makefile.am: * Makefile.am: * po/POTFILES.in: * po/POTFILES.skip: Add Megaphone and Nothere applets. Fixes bug #464954 (Raphael Slinckx, Xavier Claessens). svn path=/trunk/; revision=303
* Add 2 properties to EmpathyIdle to activate auto-away and auto-disconnect,Xavier Claessens2007-09-202-18/+97
| | | | | | | | | | | | | | | | 2007-09-20 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: * doc/libempathy/tmpl/empathy-idle.sgml: Add 2 properties to EmpathyIdle to activate auto-away and auto-disconnect, default to off. Only empathy main client will turn them on, like that if other processes are running with an EmpathyIdle instance they won't change presence in the same time than Empathy client. svn path=/trunk/; revision=301
* Fix debug message.Xavier Claessens2007-09-102-3/+1
| | | | | | | | | | | | 2007-09-10 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-contact-factory.c: Fix debug message. * libempathy/Makefile.am: * configure.ac: Remove useless code. svn path=/trunk/; revision=295
* Adding UI to start a VoIP call. It does nothing yet. Most of the code isXavier Claessens2007-09-092-0/+14
| | | | | | | | | | | | | | | | | | | 2007-09-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-chat.glade: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-contact-list-store.h: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-chat-window.c: * libempathy/empathy-contact.c: * libempathy/empathy-contact.h: Adding UI to start a VoIP call. It does nothing yet. Most of the code is ported from Gossip patch (Raphael Slinckx, Xavier Claessens). svn path=/trunk/; revision=292
* Adding capabilities contact property.Xavier Claessens2007-09-093-31/+221
| | | | | | | | | | | | 2007-09-08 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-contact.c: * libempathy/empathy-contact.h: * libempathy/empathy-contact-factory.c: Adding capabilities contact property. svn path=/trunk/; revision=291
* Don't use deprecated RequestAvatar method.Xavier Claessens2007-08-311-51/+8
| | | | | | | | | | 2007-08-30 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-contact-factory.c: Don't use deprecated RequestAvatar method. svn path=/trunk/; revision=282
* Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug ↵Xavier Claessens2007-08-3119-2911/+3048
| | | | | | #459540 and bug #462907. svn path=/trunk/; revision=280
* Salut's protocol name is going to change to local-xmpp. Fixes bug #469638Xavier Claessens2007-08-251-1/+1
| | | | | | | | | | | | | | 2007-08-24 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-tp-contact-list.c: * data/salut.profile: Salut's protocol name is going to change to local-xmpp. Fixes bug #469638 (Sjoerd Simons) svn path=/trunk/; revision=270
* Add python binding. Fixes bug #457660 (Michael Sheldon).Xavier Claessens2007-08-201-0/+2
| | | | | | | | | | | | | | | | | | | | 2007-08-19 Xavier Claessens <xclaesse@gmail.com> * python/pyempathy/pyempathy.defs: * python/pyempathy/pyempathymodule.c: * python/pyempathy/Makefile.am: * python/pyempathy/pyempathy.override: * python/pyempathygtk/pyempathygtk.override: * python/pyempathygtk/pyempathygtk.defs: * python/pyempathygtk/Makefile.am: * python/pyempathygtk/pyempathygtkmodule.c: * python/Makefile.am: * libempathy/empathy-time.h: * configure.ac: * Makefile.am: Add python binding. Fixes bug #457660 (Michael Sheldon). svn path=/trunk/; revision=264
* s/Local Network/People nearby/ (Sjoerd Simons)Xavier Claessens2007-08-111-1/+1
| | | | | | | | | | 2007-08-11 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: s/Local Network/People nearby/ (Sjoerd Simons) svn path=/trunk/; revision=248
* Change a bit some debug outputXavier Claessens2007-08-102-1/+6
| | | | svn path=/trunk/; revision=246
* Add hidden supprot. Fixes bug #455510 (Cosimo Cecchi).Xavier Claessens2007-08-101-0/+1
| | | | | | | | | | | | | | | | | | | 2007-08-10 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-ui-utils.c: * libempathy/empathy-presence.c: Add hidden supprot. Fixes bug #455510 (Cosimo Cecchi). * data/gtalk.profile: * data/jabber.profile: * data/salut.profile: * data/irc.profile: * data/msn.profile: Updated to use SupportedPresences field. svn path=/trunk/; revision=243
* Remove workaround for mc-enum-types.h not being installed by MC and bumpXavier Claessens2007-08-092-16/+3
| | | | | | | | | | | | 2007-08-09 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-presence.c: * libempathy/empathy-idle.c: * configure.ac: Remove workaround for mc-enum-types.h not being installed by MC and bump MC minimal version to 4.33. svn path=/trunk/; revision=239
* Remove empathy-marshal-main.c and include empathy-marshal.h fromMarco Barisione2007-08-086-45/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-07 Marco Barisione <marco@barisione.org> * libempathy/Makefile.am: * libempathy/empathy-marshal-main.c: Remove empathy-marshal-main.c and include empathy-marshal.h from empathy-marshal.c. * libempathy/Makefile.am: * libempathy-gtk/Makefile.am: Generate files for enum types with glib-mkenums. * libempathy/empathy-contact.c: * libempathy/empathy-idle.c: * libempathy/empathy-message.c: * libempathy/empathy-presence.c: * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-preferences.c: * doc/libempathy-gtk/libempathy-gtk.types: * doc/libempathy-gtk/tmpl/empathy-contact-list-store.sgml: Use g_param_spec_enum() and g_param_spec_flags() instead of g_param_spec_(u)int. Fixes bug #462465. * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-contact-list-store.h: Remove empathy_contact_list_store_sort_get_type() as it's now auto-generated by glib-mkenums. svn path=/trunk/; revision=234
* Don't forget to reverse the glist of pending messages.Xavier Claessens2007-08-062-1/+4
| | | | | | | | | | | | | 2007-08-06 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-chat.c: Don't forget to reverse the glist of pending messages. * libempathy/empathy-tp-roomlist.c: Fix wrong room list names when listing them. svn path=/trunk/; revision=232
* Adding new empathy_strdiff API stolen from telepathy-glib. It check ifXavier Claessens2007-08-022-133/+16
| | | | | | | | | | | | | 2007-08-02 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: Adding new empathy_strdiff API stolen from telepathy-glib. It check if strings are != NULL before using strcmp. Using that API to fix bug #461886. Should be used in more places. svn path=/trunk/; revision=224
* Add missing include string.h.Xavier Claessens2007-07-301-0/+2
| | | | | | | | | | 2007-07-29 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-profile-chooser.c: * libempathy/empathy-message.c: Add missing include string.h. svn path=/trunk/; revision=217
* Add message type in log files. Fixes bug #459579.Xavier Claessens2007-07-273-34/+81
| | | | | | | | | | | | | | 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
* Fix Room listing. Fixes bug #460416 (Sjoerd Simons).Xavier Claessens2007-07-261-5/+1
| | | | | | | | | | | 2007-07-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy/empathy-tp-roomlist.c: Fix Room listing. Fixes bug #460416 (Sjoerd Simons). svn path=/trunk/; revision=201
* Use libtool -version-info. Fixes bug #460579 (Laurent Bigonville).Xavier Claessens2007-07-261-0/+3
| | | | | | | | | | | | 2007-07-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/Makefile.am: * libempathy/Makefile.am: * configure.ac: Use libtool -version-info. Fixes bug #460579 (Laurent Bigonville). svn path=/trunk/; revision=200
* Fix problems when NM is not running. Fixes bug #460419.Xavier Claessens2007-07-261-3/+15
| | | | | | | | | | | | 2007-07-26 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-idle.c: Fix problems when NM is not running. Fixes bug #460419. * doc/*: Updated documentation. svn path=/trunk/; revision=195
* Adding more debug output.Xavier Claessens2007-07-261-4/+10
| | | | | | | | | 2007-07-25 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-filter.c: Adding more debug output. svn path=/trunk/; revision=192
* Add a check to be sure the new channel is valid in the NewChannel cb.Xavier Claessens2007-07-251-0/+1
| | | | | | | | | | 2007-07-25 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Add a check to be sure the new channel is valid in the NewChannel cb. Fixes bug #451564. svn path=/trunk/; revision=191
* Initial room list support. It does not works yet.Xavier Claessens2007-07-2012-87/+555
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-20 Xavier Claessens <xclaesse@gmail.com> * libempathy/Makefile.am: * libempathy/empathy-tp-roomlist.h: * libempathy/empathy-tp-roomlist.c: * libempathy-gtk/empathy-chatrooms-window.c: * libempathy-gtk/empathy-new-chatroom-dialog.c: Initial room list support. It does not works yet. * libempathy-gtk/empathy-account-widget-generic.c: Add support for all types of integer and float. Fixes bug #457740 (Jamey Hicks). * libempathy/empathy-tp-chat.c: * libempathy-gtk/empathy-chat.c: If there is an error sending a message, show an error message to the user. * libempathy-gtk/empathy-accounts-dialog.c: Fix a leak, profile should be unrefed after mc_account_get_profile. * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-group.h: * libempathy/empathy-tp-group.c: * src/empathy.c: Rename empathy_get_channel_id() to empathy_inspect_channel(). We now have empathy_inspect_handle(). * po/POTFILES.in: * libempathy/empathy-tp-contact-list.c: Set all contacts from salut protocol to the "Local Network" group. * libempathy/empathy-idle.c: Fix NetworkManager support. * libempathy/empathy-chatroom.h: Fix indentation. * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-ui-utils.c: * libempathy-gtk/empathy-ui-utils.h: - Iconify main window to the status icon like in rhythmbox. Fixes bug #458106 (Jaap A. Haitsma). - Rounded avatars. Fixes bug #457992 (Raphael Slinckx) * Makefile.am: Fix distcheck for gtkdoc (Vincent Untz) * data/empathy.desktop.in.in: Change application description (Jaap A. Haitsma). svn path=/trunk/; revision=190
* Fix avatar request queue.Xavier Claessens2007-07-131-24/+23
| | | | | | | | | 2007-07-13 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Fix avatar request queue. svn path=/trunk/; revision=186
* Remove unused nickname entry and use a GtkTable for room information. MoreXavier Claessens2007-07-131-0/+8
| | | | | | | | | | | | | | | | | | | | | 2007-07-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-new-chatroom-dialog.glade: Remove unused nickname entry and use a GtkTable for room information. More work is needed here. * libempathy-gtk/empathy-contact-widget.glade: Change padding to 6. * libempathy-gtk/empathy-contact-dialogs.c: Set a window title. * libempathy-gtk/empathy-contact-widget.c: Fix alignment of widgets. * libempathy/empathy-tp-contact-list.c: Add more debug msg for avatar handling. svn path=/trunk/; revision=184
* Auto-accept to publish presence to contacts that are in our subscribeXavier Claessens2007-07-121-8/+20
| | | | | | | | | | | 2007-07-12 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Auto-accept to publish presence to contacts that are in our subscribe list. When accepting a pending contact add it to publish and subscribe list. svn path=/trunk/; revision=180
* Add EMPATHY_LOGFILE env variable. Fixes bug #455240 (Guillaume Desmottes).Xavier Claessens2007-07-102-1/+41
| | | | | | | | | | | | 2007-07-09 Xavier Claessens <xclaesse@gmail.com> * src/empathy.c: * libempathy/empathy-debug.c: * libempathy/empathy-debug.h: Add EMPATHY_LOGFILE env variable. Fixes bug #455240 (Guillaume Desmottes). svn path=/trunk/; revision=179
* Add MSN setting UI. Fixes bug #443162 (Cosimo Cecchi).Xavier Claessens2007-07-092-32/+56
| | | | | | | | | | | | | | | | | | | 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
* Workaround to fix a commonly reported crash. Add a missing check.Xavier Claessens2007-07-071-0/+1
| | | | | | | | | | | 2007-07-07 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-widget-generic.c: Workaround to fix a commonly reported crash. * libempathy/empathy-tp-group.c: Add a missing check. svn path=/trunk/; revision=177
* Fix a leaked ref.Xavier Claessens2007-07-016-103/+498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-30 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-widget-generic.c: Fix a leaked ref. * src/empathy.c: If we get a chatroom we have to create an EmpathyTpChatroom object. * src/Makefile.am: Fix build system, programs links to libempathy-gtk and libempathy. * configure.ac: libempathy does not depends on libgnome-vfs. * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-chat.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-filter.c: * libempathy/empathy-filter.h: * libempathy/empathy-filter.xml: * libempathy/Makefile.am: Filter incoming text channels and make status icon flash when there we receive a new message. Dispatch the channel only when we get a message and the user click on the icon. svn path=/trunk/; revision=175
* Install libempathy and libempathy-gtk and make their API public.Xavier Claessens2007-06-232-22/+56
| | | | | | | | | | | | | | 2007-06-22 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/libempathy-gtk.pc.in: * libempathy-gtk/Makefile.am: * libempathy/libempathy.pc.in: * libempathy/Makefile.am: * configure.ac: Install libempathy and libempathy-gtk and make their API public. svn path=/trunk/; revision=172
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-2245-1830/+1828
| | | | | | | | | | | | | 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
* Fix typo causing warnings.Xavier Claessens2007-06-221-1/+1
| | | | | | | | | 2007-06-21 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-contact-list.c: Fix typo causing warnings. svn path=/trunk/; revision=165
* We show in our roster all contacts members and remote-pending of subscribeXavier Claessens2007-06-215-40/+130
| | | | | | | | | | | | | | | | | | | 2007-06-21 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/gossip-contact-list-store.c: * libempathy-gtk/gossip-contact-list-view.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-list.h: * libempathy/gossip-contact.c: We show in our roster all contacts members and remote-pending of subscribe list. Adding/Removing a contact only add/remove from subscribe list. Accept/Reject a contact in local-pending of publish list is done using _process_pending(). svn path=/trunk/; revision=164
* Adding NetworkManager support.Xavier Claessens2007-06-211-38/+116
| | | | | | | | | | 2007-06-15 Xavier Claessens <xclaesse@gmail.com> * src/empathy.c: * libempathy/empathy-idle.c: Adding NetworkManager support. svn path=/trunk/; revision=162
* Prepare for slack time when coming back from auto away. Not yet fullyXavier Claessens2007-06-152-20/+42
| | | | | | | | | | | | | | 2007-06-15 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/gossip-presence-chooser.c: * libempathy-gtk/gossip-presence-chooser.h: * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: Prepare for slack time when coming back from auto away. Not yet fully implemented. svn path=/trunk/; revision=159
* Empathy is no more splitted into 2 processes. It makes debugging moreXavier Claessens2007-06-141-52/+0
| | | | | | | | | | | | | | | | | | | 2007-06-14 Xavier Claessens <xclaesse@gmail.com> * src/org.gnome.Empathy.Chat.service.in: * src/empathy-accounts.c: * src/empathy-accounts-main.c: * src/empathy-chat-main.c: * src/empathy.c: * src/Makefile.am: * src/empathy-main.c: * libempathy/gossip-chatroom-manager.c: * autogen.sh: Empathy is no more splitted into 2 processes. It makes debugging more difficult when emmpathy-chat crashes. It's also more optimised like that since contact objects can be shared. svn path=/trunk/; revision=154
* Do not create log directory for a chat if there is no messages to put in.Xavier Claessens2007-06-142-10/+28
| | | | | | | | | | | | | | 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-148-88/+465
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Adding spellcheck support.Xavier Claessens2007-06-101-10/+0
| | | | | | | | | | | | | | | | | 2007-06-10 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-spell-dialog.glade: * libempathy-gtk/gossip-spell-dialog.c: * libempathy-gtk/gossip-spell-dialog.h: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/Makefile.am: * configure.ac: Adding spellcheck support. * libempathy-gtk/gossip-spell.c: * libempathy/gossip-conf.c: Remove useless debug messages. svn path=/trunk/; revision=144
* Emit notify signal only if the property value effectively changed.Xavier Claessens2007-06-101-0/+28
| | | | | | | | | | 2007-06-09 Xavier Claessens <xclaesse@gmail.com> * libempathy/gossip-contact.c: Emit notify signal only if the property value effectively changed. svn path=/trunk/; revision=141
* We can now add a new contact. EmpathyContactWidget can change the contactXavier Claessens2007-06-091-2/+2
| | | | | | | | | | | | | | | | | | 2007-06-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-dialogs.h: * libempathy-gtk/empathy-contact-widget.c: We can now add a new contact. EmpathyContactWidget can change the contact it's displaying on-the-fly, like that we can display info when typing the contact ID we want to add to our contact list. * libempathy/empathy-tp-contact-list.c: Fix a refcount bug. svn path=/trunk/; revision=134
* Checks if the chatroom has an account and a room. Fixes bug #444135.Xavier Claessens2007-06-091-1/+2
| | | | | | | | | | 2007-06-08 Xavier Claessens <xclaesse@gmail.com> * libempathy/gossip-chatroom-manager.c: Checks if the chatroom has an account and a room. Fixes bug #444135. svn path=/trunk/; revision=133
* Do not save when closing the dialog. Update information in real-time andXavier Claessens2007-06-093-37/+51
| | | | | | | | | | | | | | | | | | 2007-06-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-dialogs.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: Do not save when closing the dialog. Update information in real-time and just provides a "Close" button. That's more GNOME spirite. * libempathy/empathy-tp-contact-list.c: * libempathy/gossip-contact.h: * libempathy/gossip-contact.c: New methods: gossip_contact_add/remove_group(). This fixes leaks when a contact is added/removed from a group. svn path=/trunk/; revision=132
* New dialog: EmpathySubscriptionDialog. It uses EmpathyContactWidget toXavier Claessens2007-06-071-0/+1
| | | | | | | | | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-subscription-dialog.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/gossip-contact-list-view.c: * libempathy-gtk/empathy-subscription-dialog.c: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-subscription-dialog.h: * libempathy/empathy-tp-contact-list.c: New dialog: EmpathySubscriptionDialog. It uses EmpathyContactWidget to display information about the contact who wants to get your presence. This dialog appears when clicking on the status icon when it blinks. You can also remove contacts when right-click on it in the roster. svn path=/trunk/; revision=125
* New widget: EmpathyContactWidget. It displays information about a contact,Xavier Claessens2007-06-062-38/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/Makefile.am: New widget: EmpathyContactWidget. It displays information about a contact, it can be used in any kind of dialog which needs to display contact information like alias, groups, avatar, etc. If the contact is the selfcontact information are editable. * libempathy/empathy-tp-contact-list.c: Do not take care of subscription changes. * libempathy/gossip-contact.c: Use gossip_presence_state_get_default_status (MC_PRESENCE_OFFLINE) when there is no presence. svn path=/trunk/; revision=124
* Add support for blinking when there is an event. Make use of EmpathyIdleXavier Claessens2007-06-068-215/+598
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: Add support for blinking when there is an event. Make use of EmpathyIdle for presence handling. Add an event when a contact requets subscription. * libempathy-gtk/gossip-contact-list-store.c: * libempathy-gtk/gossip-contact-list-view.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-list.h: get_contacts() is renamed to get_members(). Adding a signal and a method for local-pending with contacts with the message. Rework completely the contact-list handling in EmpathyTpContactList to follow tp spec. * libempathy/empathy-idle.c: * libempathy/empathy-idle.h: Add properties for the state and the status message. EmpathyIdle is now a singleton to manager self presence. * TODO: Updated. svn path=/trunk/; revision=123
* libempathy-gtk/gossip-ui-utils.c libempathy-gtk/gossip-accounts-dialog.cXavier Claessens2007-06-044-91/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-06-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-ui-utils.c * libempathy-gtk/gossip-accounts-dialog.c * libempathy-gtk/Makefile.am * src/empathy-accounts-main.c * src/empathy-chat-main.c * src/Makefile.am * src/empathy-main.c * libempathy/gossip-utils.c * libempathy/Makefile.am * src/empathy-filter.h * src/empathy-filter-plugin.c * src/empathy-filter.xml * src/empathy-filter.c * libempathy/gossip-paths.c * libempathy/gossip-paths.h: Remove unused code. svn path=/trunk/; revision=120
* Add all properties described by TP spec for the Text channel onXavier Claessens2007-06-031-42/+298
| | | | | | | | | | | | | | | 2007-06-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: * libempathy-gtk/gossip-private-chat.c: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/gossip-chat.h: * libempathy/empathy-tp-chat.c: Add all properties described by TP spec for the Text channel on EmpathyTpChat. Make use of "name" and "subject" properties in GossipGroupChat. svn path=/trunk/; revision=118
* Fix crash when there is no log available for a chat. Fix a crash whenXavier Claessens2007-06-032-6/+9
| | | | | | | | | | | | 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-024-0/+670
| | | | | | | | | | | | | | | | 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
* Set default presence to available if there is no presence iface.Xavier Claessens2007-06-022-3/+15
| | | | | | | | | | | | 2007-06-02 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: * libempathy/empathy-tp-contact-list.c: * libempathy/gossip-contact.c: Set default presence to available if there is no presence iface. svn path=/trunk/; revision=113
* Monitor changes on chatrooms.xml file and relead it when it's modified.Xavier Claessens2007-06-022-9/+63
| | | | | | | | | | | | | | | 2007-06-01 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-chatrooms-window.c: * libempathy-gtk/gossip-chat-window.c: * libempathy/gossip-chatroom.c: * libempathy/gossip-chatroom-manager.c: * configure.ac: Monitor changes on chatrooms.xml file and relead it when it's modified. connect chatroom-added/removed in some places where needed. svn path=/trunk/; revision=111
* Do not restore away presence message when coming back after the user setXavier Claessens2007-05-311-2/+1
| | | | | | | | | | 2007-05-31 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-idle.c: Do not restore away presence message when coming back after the user set manually to away. svn path=/trunk/; revision=101
* Fix warning when selecting all accounts.Xavier Claessens2007-05-3111-65/+1100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-31 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-account-chooser.c: Fix warning when selecting all accounts. * src/empathy-accounts-main.c: * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/gossip-accounts-dialog.h: * libempathy-gtk/gossip-accounts-dialog.c: * libempathy-gtk/gossip-preferences.h: * libempathy-gtk/gossip-preferences.c: Set parent window. * libempathy-gtk/empathy-main-window.c: Implement favorite chatroom menu and fix a leak. * libempathy-gtk/Makefile.am: * libempathy/Makefile.am: * libempathy/gossip-chatroom.c: * libempathy/gossip-chatroom.h: * libempathy/gossip-chatroom-manager.c: * libempathy/gossip-chatroom-manager.h: * libempathy/gossip-chatroom-manager.dtd: * libempathy-gtk/gossip-chatrooms-window.glade: * libempathy-gtk/gossip-chatrooms-window.c: * libempathy-gtk/gossip-chatrooms-window.h: New files to implement favorite chatrooms and a window to show them. * libempathy-gtk/gossip-chat.c: Fix tooltip leaked. * libempathy-gtk/gossip-chat-window.h: * libempathy-gtk/gossip-chat-window.c: Do not use deprecated gtk_object_sink(). Implement favorite chatroom features. Find a chat by comparing the account AND the chat ID. * src/empathy-chat-main.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-tp-chat.c: * libempathy/gossip-utils.h: * libempathy/gossip-utils.c: empathy_tp_chat_get_id() returns the Text channel's name. The chat ID is unique only for a specified account. * libempathy/empathy-tp-contact-list.c: Fix some leaks and add a FIXME comment for a leak not yet fixed. * TODO: Would be cool to have a glade catalog for libempathy-gtk. svn path=/trunk/; revision=100
* Do not highlight contacts already known when creating the contact list. DoXavier Claessens2007-05-262-3/+3
| | | | | | | | | | | | | | 2007-05-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-contact-list-store.c: Do not highlight contacts already known when creating the contact list. * libempathy/empathy-tp-contact-list.c: Do not set alias if DBus returns an error. * libempathy/empathy-idle.c: Do not set status message to "Extended autoaway", let user's message unchanged. svn path=/trunk/; revision=99
* Fix refcounting of GossipGroupChat. Add debug message when alias requestXavier Claessens2007-05-251-1/+6
| | | | | | | | | | | | | | 2007-05-25 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: Fix refcounting of GossipGroupChat. * libempathy/empathy-tp-contact-list.c: Add debug message when alias request fails. * data/22x22/empathy-group-message.png: * data/22x22/Makefile.am: Add group message icon. svn path=/trunk/; revision=94
* Do not use the server entry's value if it's hidden. Do not highlightXavier Claessens2007-05-251-7/+35
| | | | | | | | | | | | | | | | 2007-05-25 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-new-chatroom-dialog.c: Do not use the server entry's value if it's hidden. * libempathy-gtk/gossip-contact-list-view.c:Do not highlight groups when adding them in the roster. * libempathy/empathy-tp-contact-list.c: DO not create new GossipContact object in presence/avatar/alias changed signal if we don't already know that contact from a contact list channel. This should fix DBus max pending calls limit reached in some cases. svn path=/trunk/; revision=93
* Preset the server only for jabber protocol to conference.server. ThisXavier Claessens2007-05-252-19/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-25 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-new-chatroom-dialog.c: Preset the server only for jabber protocol to conference.server. This fixes a warning. * libempathy-gtk/gossip-group-chat.h: * libempathy-gtk/gossip-group-chat.c: gossip_group_chat_set_topic() is a public function. * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-main-window.glade: * libempathy-gtk/empathy-status-icon.glade: Make use of empathy-new-message icon name. * libempathy-gtk/gossip-contact-list-store.c: By default we sort by contacts names. * libempathy-gtk/gossip-chat.c: Do not display composing state if it's our own contact that is composing. * src/empathy-chat-main.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: Make possible to build the id based on the account and the channel's name. For private chats that means the contact's id. * libempathy-gtk/gossip-chat-window.c: Un-comment the code related to chatrooms that is now implemented. We can now Show/Hide contact list for group chats, DnD contact on the window to begin a discussion, join a new chatroom. * libempathy-gtk/gossip-account-chooser.c: Add a FIXME message. * data/22x22/empathy-new-message.png: * data/22x22/empathy-proto-irc.png: * data/22x22/Makefile.am: * data/32x32/empathy-proto-irc.png: * data/32x32/Makefile.am: * data/gtalk.profile: * data/16x16/empathy-new-message: * data/16x16/empathy-message-new.png: * data/16x16/empathy-proto-irc.png: * data/16x16/Makefile.am: * data/scalable/empathy-proto-irc.svg: * data/scalable/Makefile.am: * data/irc.profile: Adding icons for empathy-new-message and IRC protocol. Make use of the irc icon in the irc profile. svn path=/trunk/; revision=91
* New objects: GossipAccountChooser and GossipNewChatroom, we can now joinXavier Claessens2007-05-241-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-24 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-account-chooser.c: * libempathy-gtk/gossip-new-chatroom-dialog.c: * libempathy-gtk/gossip-account-widget-jabber.c: * libempathy-gtk/gossip-account-chooser.h: * libempathy-gtk/gossip-new-chatroom-dialog.h: * libempathy-gtk/gossip-group-chat.c: * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/gossip-new-chatroom-dialog.glade: * libempathy-gtk/gossip-account-widget-jabber.glade: * libempathy-gtk/Makefile.am: * libempathy/empathy-tp-chatroom.c: * data/gtalk.profile: * data/jabber.profile: * data/salut.profile: * data/Makefile.am: * data/empathy.desktop.in.in: * data/msn.profile: * data/irc.profile: New objects: GossipAccountChooser and GossipNewChatroom, we can now join any chatroom. Adding IRC profile. svn path=/trunk/; revision=89
* If we are offline do not set away on idle. If we are already away restoreXavier Claessens2007-05-211-13/+28
| | | | | | | | | | | 2007-05-21 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-idle.c: If we are offline do not set away on idle. If we are already away restore to available when we are no mode idle. Do no modify status message. svn path=/trunk/; revision=88
* Implementing basic chatroom support. Actually it works only if we getXavier Claessens2007-05-215-41/+248
| | | | | | | | | | | | | | | | | | | | | 2007-05-21 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: * libempathy-gtk/gossip-group-chat.h: * libempathy-gtk/gossip-private-chat.c: * libempathy-gtk/gossip-private-chat.h: * libempathy-gtk/gossip-group-chat.glade: * libempathy-gtk/Makefile.am: * src/empathy-chat-main.c: * libempathy/empathy-tp-contact-list.c: * libempathy/gossip-telepathy-group.c: * libempathy/gossip-telepathy-group.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-chatroom.h: Implementing basic chatroom support. Actually it works only if we get invited in a chatroom. svn path=/trunk/; revision=87