Commit Graph

299 Commits

Author SHA1 Message Date
Brendan Taylor 62cf72910f functioning XEP-0200 implementation (hardcoded keys and counters) 2007-06-11 22:42:29 +00:00
Julien Pivotto 6338f63f03 Fix some bugs with minimized groupchats. 2007-06-11 10:13:16 +00:00
Brendan Taylor 4f2cd0a0fc stubs for XEP-0116 2007-06-08 19:42:02 +00:00
Julien Pivotto 2f6c9f0d19 Open private messages in minimized rooms by middle-clicking on systray icon. 2007-06-07 11:58:56 +00:00
Brendan Taylor 7898686680 reverted back to per-JID windows, pass around sessions instead of thread_ids 2007-06-05 23:19:34 +00:00
Brendan Taylor 17c5bf5e52 massive everything-breaking overhaul for per-session windows 2007-06-05 21:26:45 +00:00
Brendan Taylor 00209abaf9 support for one 'chat' session per Contact 2007-05-31 01:47:08 +00:00
Julien Pivotto 47319e62f5 Fix a bug with highlighing in groupchats. 2007-05-20 16:31:09 +00:00
Yann Leboulanger a45a14546a handle correctly vcards in groupchats : ask them to real jid if we know it, but considere it arrive from fake jid. Fixes #3172, #3173 2007-05-20 15:41:20 +00:00
Julien Pivotto 993d72a8c1 Fix a bug with receiving Private Messages when roster is minimized, print the number of unread pm in roster, and change icon when a pm is received. 2007-05-17 12:55:44 +00:00
Julien Pivotto 93dbdd3dd8 (Fix #3174) Groupchats in roster: Open groupchats with middleclick, fix notifications in systray and print number of unread marked messages in roster. 2007-05-17 08:39:21 +00:00
Jean-Marie Traissard b10981bd03 Use only one (up to date) error dialog for aspell dictionary error. See #3165. 2007-05-14 03:59:57 +00:00
Julien Pivotto 1ee858e606 Fix a bug with notifs in systray. 2007-05-08 15:38:23 +00:00
Julien Pivotto c72d4cfb35 Call self.account directly instead of using an 'account = self.account' in chat_control.py. 2007-05-07 21:07:50 +00:00
Julien Pivotto 19df2a0f9e Fix some bugs and improve coding of minimized groupchats. 2007-05-07 21:02:48 +00:00
Julien Pivotto 253c7e6cfc (Fix #3034) Add ability to minimize groupchats in roster, and to minimize autojoigned bookmarked rooms at launch. 2007-05-03 21:02:50 +00:00
Yann Leboulanger 36f4bb14bd remove ping menuitem and add /help command to chat_window. fixes #2947 2007-04-19 21:23:50 +00:00
Yann Leboulanger 38b48d0134 [roidelapluie] add /ping command and ping menuitem in chat window. fixes #2947 2007-04-18 16:40:48 +00:00
Yann Leboulanger 230eadd010 scroll to the end when we shrink conversation window. fixes #3078 2007-04-17 09:41:22 +00:00
Jean-Marie Traissard 8500cbcda7 Stop asking for xep85 (chat notifs) many times, xep says ask only one. Can
break notifs with gajim 0.10.1 or less. Fixes #2711.
2007-03-31 12:21:53 +00:00
Yann Leboulanger db6a9787f2 [Branko Kokanovic] Serbian translation 2007-02-12 18:33:33 +00:00
Jean-Marie Traissard 039fbb7953 better var name, use int instead of float 2007-02-11 02:35:02 +00:00
Jean-Marie Traissard 9611d4f945 oups, forgot that one 2007-02-08 23:48:52 +00:00
Jean-Marie Traissard 60cccbbd3d Use one var less and works better (we could lost first typing message previously)
See Yann, was possible, even if it's only one bit gain :D
2007-02-08 23:36:17 +00:00
Jean-Marie Traissard e6b3c40e97 Deleting control.display_names, useless var now 2007-02-08 18:32:10 +00:00
Yann Leboulanger b971afec24 always use contact chatstate when none is given 2007-01-29 18:29:51 +00:00
Yann Leboulanger d85eb8b95f fix english words breton ans basque 2007-01-28 16:11:21 +00:00
Yann Leboulanger 7d8f7e2a6e don't scroll to end each time we press a key in message textview, but only when scrollbar appear. fixes #2944 2007-01-28 14:20:37 +00:00
Yann Leboulanger d83d744a27 reset tab color when contact goes offline. fixes #2951 2007-01-28 13:31:30 +00:00
Nikos Kouremenos e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Yann Leboulanger 9b336bceed fix TB 2007-01-13 21:42:28 +00:00
Yann Leboulanger 4d5790e8cb restore correctly error messages. fixes #2880 2007-01-10 12:51:15 +00:00
Jean-Marie Traissard 6b0edad24d Memory usage : Don't store some vars in self when not necessary 2007-01-09 23:09:14 +00:00
Jean-Marie Traissard 0b3af95972 I deleted this var, was always None, but when does this happen ? 2007-01-09 22:05:27 +00:00
Jean-Marie Traissard eea2e1c881 Remove a LOT of useless draw_banner()
(stop drawing it 5 times when joining muc, stop reloading banner state icon on ALL
notifications, ...)
roster.py one seems useless because ctrl.update_ui() did it already
2007-01-09 14:23:28 +00:00
Yann Leboulanger a08267b759 add belarussion in speller list 2007-01-02 13:50:32 +00:00
Yann Leboulanger 53b901cf4e [Yavor Doganov] some typoe in strings and comments 2007-01-02 12:17:51 +00:00
Yann Leboulanger 9a8862099e redraw gc window title when we open a pm. fixes #2777 2006-12-13 12:52:59 +00:00
Yann Leboulanger f89ccfe441 detect error while encrypting message, block sending it, and display error message. fixes #2712 2006-12-06 16:19:47 +00:00
Yann Leboulanger 7dbccecd6f redraw gc tab when we open pm. fixes #2716 2006-11-28 10:15:44 +00:00
Nikos Kouremenos f33ff3a74d remove utf8 data in file that does not declare it uses utf8 [make Gajim boot] 2006-11-27 11:33:21 +00:00
Jean-Marie Traissard 6b0664fa83 Cache xep85 support but continue to violate xep85 5.1.2 for release. See #2637. 2006-11-26 22:00:53 +00:00
Yann Leboulanger 5e6f9d0118 add an option to define the chatstate we want to show in char window. fixes #2706 2006-11-26 09:06:47 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 6775c3a43d Some errors spoted by file source checkers 2006-11-20 19:11:31 +00:00
Yann Leboulanger ed5930a1b1 count as pending events message from other resources too. see #2657 2006-11-11 14:47:08 +00:00
Yann Leboulanger f39fd2a861 redraw transport when we read it's queue 2006-11-08 16:47:07 +00:00
Jean-Marie Traissard bb072aafb8 agh, re typo 2006-11-08 02:34:12 +00:00
Jean-Marie Traissard 72ae44ec0c Typo 2006-11-08 02:32:49 +00:00
Jean-Marie Traissard 2e1e5ab218 Use good filename when saving avatar of a contact without a renamed nick. Fixes #2650. 2006-11-08 02:28:03 +00:00
Jean-Marie Traissard cdd9618635 Fix roster not refreshed in on_conversation_vadjustment_value_changed() by merging duplicate code 2006-11-07 21:29:59 +00:00
Jean-Marie Traissard e2929d12bf Fix notify_on_all_muc_messages I just broke, remove useless and unclear function 2006-11-03 21:27:56 +00:00
Jean-Marie Traissard a8354e1132 Fixed totally broken trayicon_notification_on_new_messages behaviour, change name to
trayicon_notification_on_events and do what's expected
2006-11-03 19:52:39 +00:00
Jean-Marie Traissard b50d3b86ba Show good count of awaiting messages in message_window title 2006-11-03 18:03:59 +00:00
Jean-Marie Traissard 3acfe5f359 Do not clear when Xclear or whatever is not /clear in a chat_control, thanks b4d for report 2006-11-02 20:30:14 +00:00
Yann Leboulanger f0f5243e32 don't show pm event twice when we restore conversation. fixes #2621 2006-11-01 17:09:10 +00:00
Yann Leboulanger fa1be18664 show transport if they have awaiting events, even if show_transport is off. fixes #2568 2006-10-16 20:05:09 +00:00
Yann Leboulanger dc1b4951b2 save gpg_enabled pref for jid, not full_jid. Fixes #2448 2006-10-14 13:13:00 +00:00
Jean-Marie Traissard ccf2b261c7 Use "group chat" instead of "room" in all strings. Fixes #2523. 2006-10-12 02:12:10 +00:00
Yann Leboulanger aae7e7e99c allow shutdown func now get the method we used to close the tab. So that we check if a row is selected in gc control only if we close tab by pressing Esc key. fixes #2528 2006-10-10 15:53:42 +00:00
Yann Leboulanger c3062d493b PrivateChatControl now hold room name so that we can draw banner of pm even if room control has been closed. Fixes #2527 2006-10-09 09:40:04 +00:00
Yann Leboulanger 9b83c74487 move gtkgui_helpers.reduce_chars_newlines to common/helpers.py. It's not GTK related. 2006-10-06 14:52:25 +00:00
Nikos Kouremenos 8eb1c7ce75 move rst_xhtml_generator.py to common/ where it belongs 2006-10-06 12:33:10 +00:00
Yann Leboulanger cc03d5d190 print in XHTML messages in queue 2006-10-05 09:48:57 +00:00
Jean-Marie Traissard f19ef94aec Undo first change of [7064]. What was that ?? Fixes #2488. 2006-10-04 15:08:21 +00:00
Yann Leboulanger 53f8b119bc [sgala]Do not depend on docutils if we don't use rst xhtml generator. See #316 2006-10-04 11:53:03 +00:00
Yann Leboulanger 1345afa86c [Santiago Gala] We can now generate HTML thanks to rst. see #316 2006-10-03 14:22:49 +00:00
Yann Leboulanger 6b40b5ad32 [Santiago Gala] we can now see XHTML (JEP 0071). See #316 2006-10-03 14:12:42 +00:00
Yann Leboulanger f4a7ecbad0 fix var name. chatestate are back. Fixes #2463 2006-10-02 08:19:43 +00:00
Jean-Marie Traissard 452f8bea2b Count only gc HIGHLIGHTED messages, except if notify_o_all_muc_meessages. Show count in tab.
Note that this disable previous inconsistent behaviour where all gc_messages were counted in
systray
whereas tray icon was not animated. notify_on_all_muc_messages can still be used for that.
2006-09-30 14:28:10 +00:00
Jean-Marie Traissard 30f31c522e Spelling language submenu more close from spell hints one 2006-09-30 00:18:58 +00:00
Nikos Kouremenos 091504b40c love our translators 2006-09-29 10:53:45 +00:00
Yann Leboulanger fd0a9e863f show account name in chat banner if a contact in another account have the same nick. Fixes #2031 2006-09-27 21:08:10 +00:00
Jean-Marie Traissard ee7b16c405 Do not set tab to active color when we shouldn't, fix bug in [6914] 2006-09-25 14:36:24 +00:00
Jean-Marie Traissard 921274b6c4 Remove "state_active_color" option. Get fg color from gtk. 2006-09-25 04:23:31 +00:00
Nikos Kouremenos 1c3aa8fda6 we now have a ui for speller 2006-09-23 14:44:26 +00:00
Jean-Marie Traissard 7868edb0ad Do not check for nick of gc when checking if we want to show account
name, it's useless and make us TB for PM to own.
2006-09-15 12:08:53 +00:00
Yann Leboulanger a3a91eada6 show all incoming chatstate, even if we send only composing. 2006-09-13 07:20:49 +00:00
Yann Leboulanger 7759dd9289 save speller_language per room. Fixes #2387 2006-09-12 07:30:19 +00:00
Yann Leboulanger be90361641 we now save speller_language per contact. For #2387 2006-09-12 07:18:43 +00:00
Yann Leboulanger 152093e42e [bronger] translate correclt strings during runtime. Fixes #2394 2006-09-08 22:27:04 +00:00
Yann Leboulanger 29cef733f2 don't count pm messages in roster window, but in groupchat window. Fixes #2401 2006-09-07 14:35:23 +00:00
Yann Leboulanger b3957742d4 remove useless print 2006-09-07 14:17:09 +00:00
Yann Leboulanger c2ece68e43 handle correctly pm messages. 2006-09-07 13:19:43 +00:00
Yann Leboulanger d0c359f134 use a per-textview var to remember which language is set instead of the global speller_language one. 2006-09-04 08:00:49 +00:00
Yann Leboulanger 5b2e68d52c when we open a tab that require account name to be displayed (another tab with the same nick is opened), we now redraw first tab too so that account is displayed there too. Fixes #2371 2006-09-03 21:00:05 +00:00
Yann Leboulanger 2d56a72fcb give focus to conversation textview when we insensitive message_textview so that it can receive Ctrl+1,2,3. Fixes #2263 2006-09-03 17:50:18 +00:00
Yann Leboulanger e80467dc0d [Santiago Gala] we can now have a different spellchecking language in each chat window. Fixes #2383 and #746. 2006-09-03 17:04:41 +00:00
Yann Leboulanger a67eaba727 events are now saved in an Event class. show in roster/systray options in Advanced Notification Control (for incomming messages) now work. 2006-09-02 21:01:11 +00:00
Yann Leboulanger fd719bcbc6 add an advanced option: restored_message_small tu disable small font in restored messages. Fixes #2048 2006-08-28 15:10:23 +00:00
Yann Leboulanger c09f00aa7f Show "%nick from room %room" in pm banner. Fixes #2197 2006-07-31 20:52:28 +00:00
Yann Leboulanger dc9bf86184 we can now the language we want for speller. Just use speller_language advanced
option to define it.
2006-07-31 13:55:21 +00:00
Yann Leboulanger 2d876923d9 move the draw og the focus out line to conversation_textview.py
reset focus_out_end_iter_offset var when we clear the textview. Fixes #2175
2006-07-27 10:54:12 +00:00
Yann Leboulanger bc1949111b [Simon Paillard] fix warning 2006-07-18 21:14:07 +00:00
Yann Leboulanger 3895724710 systray now saves unread messages even if it is not enabled (but module is present). Fixes #2134 2006-07-17 21:41:11 +00:00
Yann Leboulanger 80bd370216 Fix TB. Fixes #2029 2006-07-17 12:48:07 +00:00
Jean-Marie Traissard df5903a95a [nk] Deleted var not needed anymore 2006-07-13 13:07:31 +00:00
Jean-Marie Traissard 285a7949f5 Get real jid of the chatcontrol when we talk to specific ressource. This prevent systray icon to be stuck to
incomming message in some rare case (new message window + auto_open). Thanks beerfan for spoting this rare
case :)
2006-07-04 21:23:42 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Yann Leboulanger 4ae020946c destroy bigger_avatar_window when we close a tab. Fixes #2034 2006-06-14 14:54:23 +00:00