Commit Graph

258 Commits

Author SHA1 Message Date
Yann Leboulanger c61c33765f here is a mutex for events_for_ui:
threads and main thread won't conflict
2005-08-09 18:45:16 +00:00
Yann Leboulanger d0eb029f74 connection.pt doesn't send events to ui: it just put it in gajim.events_for_ui[account]
gui read this queue
(mutex will come)
2005-08-09 17:21:35 +00:00
Dimitur Kirov cdf6e034b8 when IOError occurs during saving preferences
now print os.strerror of the error code
2005-08-09 11:17:32 +00:00
Yann Leboulanger 613d999ca1 gtk doesn't use threads 2005-08-08 16:04:11 +00:00
Nikos Kouremenos 73a4bf97e8 fix jep0070 accidental reversion 2005-08-08 15:38:07 +00:00
Nikos Kouremenos 63d667484b threads_init() just before gtk.main 2005-08-08 15:14:21 +00:00
Nikos Kouremenos 21bdf27b9c fix typo 2005-08-08 15:00:51 +00:00
Nikos Kouremenos c944035684 [nicfit] jep0070 now works as a charm 2005-08-08 14:56:25 +00:00
Nikos Kouremenos bb949ef623 add a call gjc (for pygtk fame) says we must have 2005-08-08 14:55:19 +00:00
Nikos Kouremenos f202c09213 typo 2005-08-08 14:53:21 +00:00
Nikos Kouremenos 485dc4bcbb reset chatstate of a contact that signed out 2005-08-08 14:43:50 +00:00
Nikos Kouremenos b164f4a1ea typos and logical fixes for chatstates 2005-08-07 23:04:36 +00:00
Dimitur Kirov 3ae4c1e0d4 fixed wrong method call 2005-08-06 21:39:33 +00:00
Dimitur Kirov 3290deb238 \ after commas - removed 2005-08-06 20:21:00 +00:00
Dimitur Kirov d82dab9fbf handle socks5 error replies 2005-08-06 16:18:25 +00:00
Yann Leboulanger d00a039ba6 we can now configure autoaway/xa messages 2005-08-06 15:17:20 +00:00
Nikos Kouremenos de46aeaa08 when new_chat give the oontact with higher priority not the first resource 2005-08-06 10:20:04 +00:00
Yann Leboulanger 5cca92fb4e xml console is now hidden instead of destroyed, has an enable checkbutton and a clear button, and scroll to the end if we was at the end 2005-08-06 00:38:24 +00:00
Yann Leboulanger 37a315ac9d xml console now print everything that is sent/received 2005-08-05 23:43:28 +00:00
Yann Leboulanger 6f6d5c0dcc JEP70 support (thx nicfit !) 2005-08-05 13:29:39 +00:00
Nikos Kouremenos 6ff5643ce2 autodetect for links now should work 2005-08-04 23:11:55 +00:00
Yann Leboulanger 899396bc90 all incomming stanza are printed in xml console
need much more work (out going stanza ...)
2005-08-04 20:32:38 +00:00
Dimitur Kirov a9d00f7412 show FT window if autopup(away) is set
ask on file exists
2005-08-04 11:17:16 +00:00
Dimitur Kirov 284160c5b2 use non blocking sockets everywhere in FT 2005-08-04 07:23:14 +00:00
Yann Leboulanger b88922f30c fix 2 TB (fix #640) 2005-08-03 21:27:26 +00:00
Yann Leboulanger ba796be13b fix a TB 2005-08-03 19:37:23 +00:00
Dimitur Kirov 5c95785ffd stop transfer on error accept socket 2005-08-03 16:52:45 +00:00
Dimitur Kirov e7536c0679 show disconnected, when recipient rejects
transfer
2005-08-03 16:21:23 +00:00
Dimitur Kirov 26544535a1 fixed TB when file_props['sender'] is type str 2005-08-03 15:15:55 +00:00
Dimitur Kirov 237b6b7bf6 removed comment 2005-08-03 14:12:58 +00:00
Yann Leboulanger 4e203be8bc we now know when we are connected in a room or not (fix #570) 2005-08-03 09:23:36 +00:00
Dimitur Kirov 760453870f moved socks5 module outside xmpp 2005-08-01 22:58:14 +00:00
Nikos Kouremenos dd821ac164 use better strings (adhere to HIG, try to describe better what is going on), make code by dkirov adhere to our coding standards, fix comments and FIXME in comments 2005-08-01 22:48:58 +00:00
Dimitur Kirov 54e9215ca0 moved socks5queu to gajim.py in order to have
only one queue
2005-08-01 22:44:05 +00:00
Dimitur Kirov d8d50e0adc removed useless slash 2005-08-01 15:37:09 +00:00
Dimitur Kirov a6dda66f9d handle file transfer progress 2005-08-01 15:02:46 +00:00
Nikos Kouremenos a628f6ae72 better pattern 2005-08-01 14:38:21 +00:00
Nikos Kouremenos ca1176bc79 exclude some more chars in mail detection 2005-08-01 14:27:23 +00:00
Yann Leboulanger f9b4bb36fe no need to translate glade strings here 2005-08-01 09:47:00 +00:00
Dimitur Kirov d57c420112 show notification if there is no space on the
device
2005-08-01 09:37:41 +00:00
Dimitur Kirov fd1e2e7a3f notifications for completed download 2005-07-30 14:14:10 +00:00
Dimitur Kirov d30efa1421 simple file receiving 2005-07-30 10:20:46 +00:00
Yann Leboulanger a3cbad7ad7 move groupchat.contacts to gajim.gc_contacts 2005-07-25 20:04:24 +00:00
Nikos Kouremenos bae6755899 [liorithiel] autodetect everytime browser/mailer by default 2005-07-25 14:38:21 +00:00
Dimitur Kirov 948aa286e1 disconnect from server after 'register new' -
fixes bug 603
2005-07-24 22:42:36 +00:00
Nikos Kouremenos 586d268c72 do not detect abc@doremi.org: with : in it 2005-07-23 13:50:38 +00:00
Nikos Kouremenos 55e3a64f0b use of in 2005-07-23 11:52:53 +00:00
Yann Leboulanger f6892ea4f4 fix autoaway 2005-07-23 11:29:31 +00:00
Yann Leboulanger 0274905793 when we go autoaway, we save our status message so we restore it when we come back online 2005-07-22 21:27:04 +00:00
Nikos Kouremenos b5fe60112d nick was utf8, room_jid was unicode so we had a problem. it is fixed [stills Tracebacks because of TODO: use gc_contacts in common/gaim.py] 2005-07-22 14:30:35 +00:00
Nikos Kouremenos ef3b60a586 0/False 1/True 2005-07-22 11:07:52 +00:00
Nikos Kouremenos dfc7638cf5 idle should now work once again 2005-07-22 11:07:06 +00:00
Nikos Kouremenos 9fc1516522 we now have contact.chatstate ! 2005-07-22 00:34:08 +00:00
Nikos Kouremenos 549b10369e moving contacts-related functions to common/gajim.py 2005-07-22 00:01:05 +00:00
Nikos Kouremenos ef6643b24d status message in the banner instaed of jid; remove_user => remove_contact 2005-07-21 17:54:58 +00:00
Nikos Kouremenos 4ec127aa92 cleanups 2005-07-21 17:00:05 +00:00
Nikos Kouremenos c851323c51 do not play sound when standalone chatstate message 2005-07-21 15:23:18 +00:00
Nikos Kouremenos 2db64d9ce8 put chatstate in the banner 2005-07-21 14:56:39 +00:00
Dimitur Kirov c503bb7227 removed is_initial in 'enable_dbus' 2005-07-21 08:05:10 +00:00
Nikos Kouremenos 754999db24 if peer doesn't do chat state do not keep respect that; overcome jep violations for chat state transitions 2005-07-20 22:08:42 +00:00
Nikos Kouremenos 53c96cab64 79 chars margin 2005-07-20 20:39:04 +00:00
Nikos Kouremenos 51aa52683a we can now disbale chat state via GUI [a MUST in jep] 2005-07-20 20:00:57 +00:00
Yann Leboulanger 8d7dac3553 We copy the list of connections because one can disappear while we process() 2005-07-20 14:58:05 +00:00
Nikos Kouremenos d9fc6234be typo 2005-07-20 13:20:47 +00:00
Yann Leboulanger 840252a367 show avatar in tabbed chat even for pm 2005-07-20 13:13:52 +00:00
Yann Leboulanger b4ff6fd116 vcard now works in gc 2005-07-20 12:48:11 +00:00
Nikos Kouremenos 692c15e9a6 a correction in a comment 2005-07-20 11:39:01 +00:00
Nikos Kouremenos d5b1cbbd34 typo 2005-07-19 21:09:30 +00:00
Nikos Kouremenos 09fe8a83da fix strings for dbus errors 2005-07-19 21:03:17 +00:00
Yann Leboulanger 517a9c6850 use of pychecker (http://pychecker.sourceforge.net/) on gajim.py, other files will follow 2005-07-19 19:41:23 +00:00
Yann Leboulanger 2cfe7ad0d4 don't print empty messages (especialy with typing notif) 2005-07-19 19:10:03 +00:00
Nikos Kouremenos 92c0c5fdb2 nothing 2005-07-19 18:58:50 +00:00
Yann Leboulanger 6abc354035 we don't take into account the presence if it's the same jid, same resource, same show and same status 2005-07-19 18:23:27 +00:00
Nikos Kouremenos ef11016a77 [dkirov] enable disable dbus on the fly 2005-07-19 15:07:00 +00:00
Nikos Kouremenos d6c9c7cbc6 [peralta] Chat State Notifications inital patch. I assume that every wm will focus-out before iconify. If that is not the case I am going to use window-state-changed too [to be tested] 2005-07-19 14:38:58 +00:00
Yann Leboulanger 73204c2d2c prevent a TB 2005-07-18 22:39:59 +00:00
Yann Leboulanger a47cca07f0 move var that have nothing to do with GTK to gajim instead of roster or gajim.py: contacts, groups, newly_added, to_be_removed, awaiting_messages (was queues), nicks, allow_notifications, con_types, sleeper_state 2005-07-18 21:08:31 +00:00
Nikos Kouremenos 4ec2eea678 update_user => update_contact 2005-07-18 14:52:28 +00:00
Nikos Kouremenos 683ca7347a add a pass 2005-07-18 09:06:00 +00:00
Nikos Kouremenos 38b2e15c26 better fixme description 2005-07-18 08:37:43 +00:00
Nikos Kouremenos 740a987004 possible fix on disable_dbus 2005-07-18 08:31:56 +00:00
Nikos Kouremenos e814975d6f fix a typo 2005-07-18 08:18:30 +00:00
Nikos Kouremenos 009f471368 avoid double import of the same module 2005-07-17 23:03:40 +00:00
Nikos Kouremenos e9696514e6 commit gui to enable/disable dbus on the fly 2005-07-17 22:52:15 +00:00
Nikos Kouremenos 139bb5ac0c [dkirov] patch to give dbus capabilities to Gajim. /me fixes and cleanups [possible break ups too :P] 2005-07-17 21:41:54 +00:00
Nikos Kouremenos 9c102c421b does not work as it should, does not traceback either though 2005-07-16 09:33:43 +00:00
Nikos Kouremenos f8a4675174 not in the roster string can be translated now 2005-07-07 17:33:15 +00:00
Nikos Kouremenos f2cb015f73 user --> contact in some functions name, also type is contact too now 2005-07-07 16:38:36 +00:00
Nikos Kouremenos 6c9d148e07 advanced actions show account if multiple acocunts 2005-07-07 15:41:03 +00:00
Nikos Kouremenos 94c01aeecc we can now receive normal and chat messages with subject and handle them ok. we can also reply to received normal message with RE: previous message and all the good stuff! hoooray! 2005-07-05 21:35:37 +00:00
Nikos Kouremenos 192ccf2075 General group marked for translation. pending: Transports and not in the roster 2005-07-04 23:18:29 +00:00
Yann Leboulanger 669b7bde6b last_message_time is now saved in gajim.py so we begin to count time when we receive the message and not when we print it (fix #162) 2005-07-03 15:27:41 +00:00
Yann Leboulanger 210d989525 encrytion state is keeped even if we close the chat window 2005-07-02 11:06:02 +00:00
Yann Leboulanger 25f03759cd we need to have messages in a queue before we do new_chat() in order not to have message printed twice 2005-07-01 22:13:45 +00:00
Nikos Kouremenos 15934c1ece typo 2005-06-30 23:30:16 +00:00
Nikos Kouremenos 44379a87f0 fix it in a better way 2005-06-30 23:24:39 +00:00
Nikos Kouremenos 9199cffa2d fix bad logic by aldafu 2005-06-30 16:28:36 +00:00
Nikos Kouremenos 217a7d6fb1 fix by aldafu so abc@dore and www.abc get prefixed so gnome-open and kde's open work ok 2005-06-30 13:33:21 +00:00
Yann Leboulanger b2990a7bdf nicks[account] already has a default value 2005-06-30 06:16:32 +00:00
Yann Leboulanger 2563414ccd nickname can contain '/' 2005-06-29 20:50:30 +00:00