Commit Graph

351 Commits

Author SHA1 Message Date
Stephan Erb 7b05adc678 Do not handle unknow commands as messages. 2007-06-13 19:16:57 +00:00
Yann Leboulanger 2aeeeaa896 fix substitution in some strings 2007-06-13 19:07:25 +00:00
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
Jean-Marie Traissard efd73e04bf Also merge metacontacts logs in restore_lines() 2006-06-04 17:21:14 +00:00
Yann Leboulanger 59c3b7b3c8 JEP 172 support (user nickname) Fixes #464 and #884 2006-06-01 15:23:38 +00:00
Yann Leboulanger 3e1dd88ee0 we can now save avatars on HD where we want (right click on image). Fixes #1817 2006-05-26 13:19:52 +00:00
Yann Leboulanger 5942399214 [Geobert] ability to remove nickname in chat when consecutive message from same person. Fixes #1942 2006-05-08 08:19:20 +00:00
Yann Leboulanger 2e06ec6d7e new ACE option: print_status_in_muc. Fixes #1502 2006-05-03 13:22:05 +00:00
Dimitur Kirov 5e6b016af1 split gtkgui.glade in several small glade
files, which are now located in data/glade/
2006-05-02 15:53:25 +00:00
Yann Leboulanger 1e6c848761 use jid_is_transport func to detect transport jid 2006-05-01 13:29:16 +00:00
Dimitur Kirov 8d35bf38af don't activate PGP and FT menuitems/button
for transports. fixes #1903
2006-04-30 19:52:02 +00:00
Yann Leboulanger 29784e622c handle correctly clear and compact commands. Fixes #1882 2006-04-21 19:54:47 +00:00
Dimitur Kirov b865cc678c clear is a method of ConversationTextview
fixes #1881
2006-04-21 10:18:03 +00:00
Yann Leboulanger d040cc13fc be sure chat_control.contact is never None, even when server connection is brocken. Fixes #1878 2006-04-20 16:57:43 +00:00
Yann Leboulanger 2e1e2e2c86 chat_control.contact MUST always be a Contact instance. Fixes #1874 2006-04-20 07:43:24 +00:00
Dimitur Kirov 5c9613db65 break more circular references that keep
objects alive (the other 1/2 of #1829)
context menu for groupchat banner
2006-04-18 15:36:16 +00:00
Dimitur Kirov b6ca28f342 make sure ChatControl instances are destroyed
when chat tab is closed
1/2 fixes #1829
2006-04-17 21:59:04 +00:00
Yann Leboulanger c4a3262488 [sol] save GPG status 2006-04-15 08:10:24 +00:00
Dimitur Kirov 97dc7215df keep reference to unread messages untill they
are printed in tv
2006-04-10 22:08:02 +00:00
Yann Leboulanger 87bb1c5551 print error in chat window even if print_status_in_chat is False. See #1802 2006-04-10 13:23:56 +00:00
Nikos Kouremenos f0f054af6b [Geobert] new compact view so important info are not hidden (f.e. chatstates) for maximum adjustment, see hide_* in ACE. fixes #1276 2006-04-10 12:09:05 +00:00
Dimitur Kirov d3013cc367 removed useless argument 2006-04-09 19:16:27 +00:00
Dimitur Kirov ad803388ad destroy banner tooltip on close 2006-04-07 23:44:34 +00:00
Yann Leboulanger c73abbab57 correctly handle resources when chat window get focus. Fixes #1785 2006-04-07 23:29:07 +00:00
Yann Leboulanger a2b3acd864 remove contact from roster when we read his awaiting events and showOffline is False. Fixes #1812 2006-04-05 17:25:02 +00:00
Yann Leboulanger d91d0e0b0e emoticons_menu is created only once, and correctly destroyed when we change emoticon theme. (It was never destroyed before -> memory leak) 2006-04-05 09:55:22 +00:00
Nikos Kouremenos d7e6979887 fjid ==> full_jid so we can distinguish it from fjid (which should progressively become fake_jid) 2006-04-04 17:21:38 +00:00
Yann Leboulanger 671985c50f handle correctly resource when we already have chat window opened. Fixes #1785 2006-04-04 15:20:12 +00:00
Yann Leboulanger bf56c34a83 count only incoming messages for gajim.last_message_time value. Fixes #1281 2006-04-03 16:55:31 +00:00
Yann Leboulanger c201b03dce typo: update correctly gajim.last_message_time when we receive a message. Fixes #1281 2006-04-02 17:38:06 +00:00
Yann Leboulanger 31e54bc2ed remove many call to dialog.run() function. Some are still here, but they happend only when the user do an action (close a chat window, change status, ...). So UI is not blocked when we receive a groupchat invitation or an error message. 2006-04-02 16:11:21 +00:00
Yann Leboulanger 111ea2c9b6 cleanup ichat mode code. No need of timeout. Fixes #1213 2006-03-31 20:08:47 +00:00
Nikos Kouremenos df3dacfac1 put Dimitur as hacker for chat_control.py too. 2006-03-28 14:11:53 +00:00
Nikos Kouremenos 34aef80124 rm print. fix issue. previous commit also was obey to coding standards [yes again] 2006-03-28 12:43:57 +00:00
Nikos Kouremenos fe32959028 clean up. leave a print to debug 2006-03-28 12:39:47 +00:00
Nikos Kouremenos e08598c6bf rm double assignment of the same signal!!!!!!!!!!!!!!!!! 2006-03-28 11:58:57 +00:00
Nikos Kouremenos 4d2a36707b clean up code; obey to coding standards 2006-03-28 11:52:25 +00:00
Nikos Kouremenos 428d5996e5 fix typo 2006-03-28 11:39:14 +00:00
Nikos Kouremenos af9edc1f7c mention menuitem by name [so refactoring does not break code]; fix sensitivy of history to be disabled for transports 2006-03-28 11:33:31 +00:00
Nikos Kouremenos 2ea292c9e6 fix a nice thought of travis to work ok with talkig to 2 or more resources the same time [do not show account name then] 2006-03-27 22:26:30 +00:00
Yann Leboulanger 05793cc27c prevent a TB 2006-03-27 00:16:24 +00:00
Yann Leboulanger ee6ce3c324 message_textview is not editable when we are not connected 2006-03-26 10:43:18 +00:00
Yann Leboulanger 1fafe3b08c handle correctly resources in queue of events. Fixes #1706 2006-03-25 17:05:54 +00:00
Nikos Kouremenos 1ff4e4f48d rm leftover FIXME 2006-03-25 11:22:42 +00:00
Nikos Kouremenos 4c2f8d9400 make clearer what we do 2006-03-25 11:12:31 +00:00
Nikos Kouremenos ba15eb2114 no need to realize a widget that is already NOT invisible 2006-03-25 10:50:13 +00:00
Dimitur Kirov b64f199c08 realize is safer 2006-03-25 02:07:02 +00:00
Dimitur Kirov 7ca9a4e08f take plain banner colors from gtkrc style class
*GtkFrame.GtkEventBox.* :wq
2006-03-25 01:21:16 +00:00
Yann Leboulanger 2b725f05ba remove useless tabulations 2006-03-24 19:20:05 +00:00
Yann Leboulanger f8db75e255 New metacontact way. JEP is not published yet, but I talked with the author. Old metacontact info are removed automaticaly 2006-03-24 12:55:56 +00:00
Dimitur Kirov f7dd517030 use small for status message. Last revert, I
promise!
2006-03-21 22:55:25 +00:00