Commit graph

278 commits

Author SHA1 Message Date
Travis Shirk
5c5467d823 Show no JEP-85 status in the chat banner when the contact is offline; closes #1202 2005-12-20 02:40:29 +00:00
Yann Leboulanger
776af99d11 don't send active chatstate to non-active tab 2005-12-14 19:55:53 +00:00
Yann Leboulanger
761528f213 don't remove contact in gc roster when he leaves if there are awaiting events from him, but only when we read his messages 2005-12-13 22:13:07 +00:00
Yann Leboulanger
7b31cb56de one more check to not TB:
don't try to remove roster contact when it's about gc contact
2005-12-13 21:40:12 +00:00
Nikos Kouremenos
495803a48a send_on_ctrl_enter works as it should; now works in GC too 2005-12-12 21:55:22 +00:00
Nikos Kouremenos
c6f079029c typo 2005-12-12 15:36:48 +00:00
Nikos Kouremenos
792496b754 fix a testing to be better when 32x32 is not at all there 2005-12-12 15:33:48 +00:00
Nikos Kouremenos
f7ee0dffd9 we now use 32x32 in Tabbed Chat banner img for state; and can control the size between 32x32 and 16x16 in general [of course only for those iconsets that ship 32x32 2005-12-12 15:13:31 +00:00
Yann Leboulanger
612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger
cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Nikos Kouremenos
83f52dbbff remove emacs line 2005-12-08 17:35:07 +00:00
Nikos Kouremenos
2c575169af [gjc] bigger avatar now is transparent and has center the smaller avatar 2005-12-08 17:24:37 +00:00
Yann Leboulanger
34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger
8eebd2c26f remove a useless test that introduced a bug: when we restore conversation we are not active tab yet (tab is not drawn yet), but we'll in some ms, so we can safely do systray.remove_jid() as we already removed the events from awaiting_messages 2005-12-07 17:01:15 +00:00
Yann Leboulanger
a337412821 don't print empty restored messages 2005-12-02 22:24:01 +00:00
Nikos Kouremenos
3020c31981 only clear message when needed. (send_message() clears it if no errors) 2005-12-02 13:23:12 +00:00
Nikos Kouremenos
e981cd5690 prevent a tb 2005-11-30 15:45:20 +00:00
Yann Leboulanger
0bb2e5c1d0 be sure to print restored conversation BEFORE we print new messages 2005-11-28 21:22:48 +00:00
Nikos Kouremenos
caade489ee new db design and improved migration script. if you ran before the migration please remove you old logs.db as it is incompatible with the new one and rerun migration if you care about old logs. a print on show is on purpose, bonus of the first to traceback and give us the value of show that causes the tb. yea svn got unstable these days. sorry about that but big changes 2005-11-25 23:23:25 +00:00
Yann Leboulanger
21e203f6c2 open chat window quicker and print restored_conversation after window is shown 2005-11-25 08:01:30 +00:00
Nikos Kouremenos
97371d384c ACE: restored_messages_color. you can now configure from grey to blue, red, green whatever you like 2005-11-24 00:17:28 +00:00
Nikos Kouremenos
d9cc33cf26 log system rewrite to use sqlite database instead of plain ascii files. this allows us to scale better (be faster), provide search in history, and save logs for JIDs that are non-ASCII. PLEASE read http://trac.gajim.org/wiki/MigrateLogToDot9DB 2005-11-23 19:12:52 +00:00
Nikos Kouremenos
e0ba19f93c commit logic of func; we were returning anyways. TC is oftenly touched, so I commit to avoid conflicts 2005-11-23 00:20:07 +00:00
Yann Leboulanger
d302c3a907 remove some print 2005-11-22 00:32:20 +00:00
Yann Leboulanger
508d176d5a contact.chatstate becomes contact.our_chatstate
contact.chatstate is now contact's chatstate
2005-11-22 00:28:36 +00:00
Travis Shirk
a180b3be8f Send 'gone' for each tab when the entire chat window was closed instead
of only when a tab is individually closed.
2005-11-21 02:32:59 +00:00
Nikos Kouremenos
ca31a7f67a history window now has a calendar; tons of cleanups, comments, better varnames and in general better quality of code; also a fixme for another day 2005-11-20 21:58:08 +00:00
Yann Leboulanger
f3eef962c6 gc now have draw_contact, draw_roster and draw_all_roster functions and they are used to update style, iconset ... 2005-11-15 09:08:08 +00:00
Nikos Kouremenos
082fc7aaa9 fixing dict name: gajim.interface.windows --> gajim.interface.instances 2005-11-13 15:08:47 +00:00
Nikos Kouremenos
82b7e98371 [gjc] destroy bigger_avatar_window not just hide it 2005-11-12 22:43:18 +00:00
Nikos Kouremenos
33e7b103c0 gtkexcepthook only for those that run svn versions; release user should not be bugged with TBs as they should be minor to overall functionality and he should not care. if he is advanced he knows how to find out what is wrong (how to get to see a traceback etc); also moving get_avatar_pixbuf_from_cache to gtkgui_helpers (all in one commit because of import issues) 2005-11-12 21:24:54 +00:00
Nikos Kouremenos
4034efa762 we now have avatars in roster. I default to 48x48 (gaim defaults to that too) u can change that to whatever you want via ACE and you can take avatars off via PREFS; defaulting to 32x32 is too small. njoy 2005-11-08 13:04:59 +00:00
Nikos Kouremenos
a1d8b08d90 no need to save var, and better comment 2005-11-06 20:57:52 +00:00
Travis Shirk
cf9d5705b5 Reset chatstates when tab/window is closed. Closes ticket [1034] 2005-11-06 20:14:49 +00:00
Travis Shirk
6840f97c1f Keep name banner up to date with chatstate info. 2005-11-06 18:58:35 +00:00
Yann Leboulanger
004cb9c5d3 first popuped message is a new message 2005-11-05 23:43:43 +00:00
Nikos Kouremenos
e0d9933b23 remove unused vars and modules 2005-11-03 21:11:37 +00:00
Nikos Kouremenos
9b5a55ea7d ctrl+enter no longers sends message and all work as they should. damn bindings 2005-11-03 17:01:44 +00:00
Nikos Kouremenos
b8fce2f1fe do not ask xml anymore 2005-11-03 15:21:18 +00:00
Nikos Kouremenos
1ab95cdc6a if gtk has default action for a widget, bindings never work, so we must use key_press_event for those and return True after we do the job in key_press_event CB 2005-11-03 15:10:00 +00:00
Yann Leboulanger
2720f1ce7c move function to get real_jid to gajim.py 2005-11-02 08:12:54 +00:00
Yann Leboulanger
c9c319a141 get the avatar from real jid if we have it
if we don't habe the real jid, we don't show bigger avatar cause it's not saved in HD
2005-11-01 22:08:15 +00:00
Yann Leboulanger
9121514778 don't open a tabbedchat or a groupchat window over another one 2005-11-01 15:42:08 +00:00
Yann Leboulanger
a8cb9d69ff we now save sha in stored vcard
we save the current sha in memory and we update it when we receive the vcard
we re-ask the vcard when we receive a presence with a new sha
2005-10-31 17:31:30 +00:00
Yann Leboulanger
17f67e6a90 remove unneeded BeautifulSoup class
refactor the code so that it's not dup (vcard.get_avatar_pixbuf)
2005-10-31 10:23:33 +00:00
Nikos Kouremenos
ee46edcfb8 if we have avatar in HD, we get it from there now 2005-10-30 21:39:09 +00:00
Nikos Kouremenos
3e7c2c563f MessageTextView also used in Group Chat. at last! 2005-10-29 16:33:59 +00:00
Nikos Kouremenos
629f565c0d Tabbed Chat now uses MessageTextView which does it all via gtk bindings so japanese and other IM can come before us to handle Enter as required 2005-10-29 16:06:39 +00:00
Yann Leboulanger
0cbb37e865 here is a new widget: conversation_textview: it displays url, emoticons, ... 2005-10-28 21:46:55 +00:00
Yann Leboulanger
726640ef4b the old self.plugin variable becomes gajim.interface, no need to pass it to every functions/classes 2005-10-20 11:17:17 +00:00