Commit graph

1572 commits

Author SHA1 Message Date
Florent Le Coz
27e587118b Merge branch 'master' of http://git.louiz.org/poezio 2011-11-16 20:43:17 +01:00
Florent Le Coz
b2c84055df Add a vertical separator between the vertical tab list and the rest 2011-11-16 20:42:33 +01:00
mathieui
24ba3b6ed9 Add CHAR_CHATSTATE_* to the available theme options 2011-11-16 11:25:20 +01:00
mathieui
75f7d71080 Use os.path.expanduser to interpret '~' for _dir config options 2011-11-16 09:46:09 +01:00
mathieui
f40f5cb6c2 Add a wrapper for RawConfigParser.options() in PluginConfig 2011-11-16 09:44:07 +01:00
Florent Le Coz
c5b15c8119 Disable horizontal tab list when vertical one is enabled. 2011-11-16 03:10:37 +01:00
Florent Le Coz
a40199d8ef Add an option to display vertical tabs from bottom to top. 2011-11-16 02:23:40 +01:00
Florent Le Coz
1777d7414d Document the two new options. 2011-11-16 02:09:30 +01:00
Florent Le Coz
d67ec3278a Add an optional vertical tab list. 2011-11-16 02:09:30 +01:00
mathieui
9a32229d0b Add the 's' modifier (allow a string to be "50s1d1d4m1s") 2011-11-15 21:37:04 +01:00
mathieui
d6ceb78c82 Also parse strings with only seconds properly 2011-11-15 21:25:28 +01:00
mathieui
50b4b4989a Some utility functions to go from/to seconds/strings 2011-11-15 21:21:01 +01:00
mathieui
5c47b735b3 Should avoir connecting on port -1.
Fixes #2289
2011-11-15 19:41:49 +01:00
mathieui
c7ba8fd5b6 Fixes #2264 2011-11-15 19:37:59 +01:00
mathieui
e8837e252f Fixes #2292 2011-11-15 19:15:06 +01:00
mathieui
68aa832a49 Use Theme.CHAR_STATUS whenever it is possible
Fixes #2293
2011-11-15 19:07:57 +01:00
mathieui
0fe7061eb5 Fixes #2294 2011-11-15 18:48:09 +01:00
mathieui
4208920f42 Fixes #2279 2011-11-15 01:42:24 +01:00
mathieui
6e35dcf612 Fix PluginConfig.set 2011-11-14 20:45:59 +01:00
mathieui
e4634b9095 Completion for /version 2011-11-14 20:05:41 +01:00
mathieui
e4dccc8d8f Fix priority for command completion
(tab command > core command)
2011-11-14 20:05:13 +01:00
mathieui
a5f115a6e2 Fix Plugin.config.get to use the right section instead of Poezio 2011-11-14 00:45:15 +01:00
mathieui
338a4b5717 Add a way for a plugin to add a keybind only for a type of tab 2011-11-13 20:17:33 +01:00
mathieui
39fcd9a4f6 Allow a plugin to add a keybinding 2011-11-13 19:43:31 +01:00
mathieui
ba7ee1d76c Tweak auto_completion in order to add quotes only when needed 2011-11-13 18:45:44 +01:00
mathieui
587a74df6e Fix the completion with space-separated items
Fixes #2261
2011-11-13 18:37:17 +01:00
mathieui
34511797a9 Completion for /nick 2011-11-13 17:36:16 +01:00
mathieui
6af593f44b Completion for /info 2011-11-13 16:31:03 +01:00
mathieui
ed53ab4edf Completion for /query (re-uses /ignore) 2011-11-13 16:29:36 +01:00
mathieui
552c504559 Completion for /affiliation 2011-11-13 16:28:11 +01:00
mathieui
3ddbac5e47 Completion for /role 2011-11-13 16:25:11 +01:00
mathieui
23f5ee5e11 Fix /kick with nicks with spaces in it 2011-11-13 16:21:27 +01:00
mathieui
33f8efd772 Completion for /kick 2011-11-13 16:21:15 +01:00
mathieui
283b258d4e Completion for /ignore 2011-11-13 16:15:34 +01:00
mathieui
8f826388f0 Completion for /export and /import 2011-11-13 16:11:39 +01:00
mathieui
1fd21bc783 Completion for /server_cycle 2011-11-13 15:43:40 +01:00
mathieui
9d575afbf8 Completion for /message (re-uses the completion for /version) 2011-11-13 15:38:32 +01:00
mathieui
48679cb703 Completion for /theme 2011-11-13 15:33:17 +01:00
mathieui
97ac583aac Completion for /set_plugin 2011-11-13 15:27:21 +01:00
mathieui
23a9d88ce2 Completion for /set 2011-11-13 15:20:11 +01:00
mathieui
8cf237680b Completion for /bookmark 2011-11-13 15:12:52 +01:00
mathieui
98c342c1d4 Completion for /version 2011-11-13 14:34:45 +01:00
mathieui
30b9827a27 Move /clear to the chattab instead of the muctab 2011-11-13 14:31:11 +01:00
mathieui
6dfc2ef9b5 Completion for /presence 2011-11-13 14:28:25 +01:00
mathieui
1efdfcd566 Fix some incoherences and possible bugs with PluginConfig objects 2011-11-13 00:58:16 +01:00
mathieui
aac980cd4c Add a /set_plugin command 2011-11-13 00:57:54 +01:00
mathieui
4b02b1a812 Fix add_tab_command (and remove) 2011-11-13 00:25:30 +01:00
Florent Le Coz
e677a5bec1 When we receive a message, open a tab with the concerned FULL jid. 2011-11-12 06:09:22 +01:00
Florent Le Coz
a1096281e0 Fix an tb because the get_jid method was changed. 2011-11-12 06:02:05 +01:00
Florent Le Coz
9e8706a2e8 a plugin can now add informations in ConversationTab’s InfoWin. And the GPG plugin does that. 2011-11-12 05:48:29 +01:00
Florent Le Coz
744af2459d Add three new events to modify a message JUST before we send it. It is NOT safe, and the doc says that pretty clearly. It is used to encrypt messages just before sending them (this way we can remove ALL potential in-clear bodies). 2011-11-12 03:42:07 +01:00
Florent Le Coz
3dda32ea5b Do not ignore presence coming from a JID not in our roster. 2011-11-12 02:46:44 +01:00
Florent Le Coz
0c7674efb1 New event: send_normal_presence 2011-11-12 02:40:24 +01:00
mathieui
4d5e2d21a4 /xhtml command, Fixes #2237 2011-11-12 00:00:17 +01:00
mathieui
632175b79f Fix the xhtml parser (do not add wrong colors) 2011-11-11 23:55:31 +01:00
mathieui
1cca4b8a1f /rawxml command 2011-11-11 22:58:48 +01:00
mathieui
101b20724f Fix a refresh issue in the ConversationTab on status change 2011-11-11 22:45:44 +01:00
mathieui
b13f8786cf Modify /presence 2011-11-11 22:36:43 +01:00
mathieui
e53446a7b2 Add a /presence command for directed presences 2011-11-11 22:15:04 +01:00
mathieui
0cfe87a9a6 Fix a (possible) traceback on /remove 2011-11-11 22:13:51 +01:00
mathieui
ea5692544a Fixes presence handhake 2011-11-11 21:49:27 +01:00
mathieui
0cb9a5a61f Fixes #2271 2011-11-10 21:12:33 +01:00
mathieui
fde8a8a1c9 Fixes #2231 2011-11-10 20:59:55 +01:00
mathieui
80edd248ec Make custom_host and custom_port work better 2011-11-10 17:20:25 +01:00
mathieui
bd2d1caa0a Autoload plugins in session_start instead of core.__init__ 2011-11-10 17:06:28 +01:00
mathieui
eaced10c16 Also, do not crash when receiving a message from someone who is not a
contact
2011-11-10 15:26:34 +01:00
mathieui
5c12216392 Also in the DataFormTab 2011-11-10 15:17:30 +01:00
mathieui
628ff3b0d9 Add per_tab_type commands for the plugins 2011-11-10 14:39:19 +01:00
mathieui
953dc36c47 typo 2011-11-10 11:45:23 +01:00
mathieui
138a0b78cd Forgotten changes 2011-11-10 11:29:36 +01:00
mathieui
e467020e29 Add messages on plugin load/unload 2011-11-09 23:28:01 +01:00
mathieui
4e0c1b0820 New events in the plugins API 2011-11-09 23:17:00 +01:00
mathieui
f55a0c92f2 Do not send chatstates when the contact is offline 2011-11-09 22:34:16 +01:00
mathieui
1f5d104834 -get -set +@property +@property.setter 2011-11-09 22:00:38 +01:00
mathieui
e6663c317c Do not display an empty message when only a chatstate is received
(again).
2011-11-09 21:02:37 +01:00
mathieui
a7ed473437 What. 2011-11-09 18:39:33 +01:00
mathieui
e8e4b0bb4c Plugin docstrings 2011-11-09 18:38:56 +01:00
mathieui
0e10c04cce Fixed a display bug (the info buffer popped even in the RosterInfoTab) 2011-11-09 17:55:43 +01:00
mathieui
aee7baab24 Same as previous commit, but with _say 2011-11-09 14:29:13 +01:00
mathieui
5e840e6437 Give the concerned tab to the _msg handlers 2011-11-09 14:23:38 +01:00
mathieui
cc7f010aed Do not create a private tab when receiving only a chatstate 2011-11-09 14:07:10 +01:00
mathieui
98b9506983 Remove poezio_event_handler to keep only event_handler 2011-11-09 14:02:17 +01:00
Florent Le Coz
cfb074c178 Set version to 0.7.5 and update the changelog 2011-11-09 01:35:27 +01:00
Florent Le Coz
4a961c0dc6 Merge branch 'releases' 2011-11-09 01:34:48 +01:00
Florent Le Coz
23d81901e7 Merge remote-tracking branch 'origin/master' 2011-11-09 01:24:56 +01:00
Florent Le Coz
d3d7b397d0 Remove useless commands 2011-11-09 01:24:45 +01:00
Florent Le Coz
ad0b3b41ec Merge branch 'plugins'
Conflicts:
	README
	src/core.py
	src/tabs.py
2011-11-09 01:23:35 +01:00
mathieui
33b3c7e31a Correct the firstrun message 2011-11-09 00:13:54 +01:00
Florent Le Coz
8fad2f464a Update version to 0.7.2 2011-11-08 23:48:32 +01:00
mathieui
e61f496d29 Edited the help messages of the commands for clarity/consistency 2011-11-08 23:28:29 +01:00
mathieui
08349495af Fix /kick with the optional message 2011-11-08 22:03:33 +01:00
mathieui
95dcaa7fec Forgot those hardcoded values… 2011-11-08 20:51:48 +01:00
Florent Le Coz
d28b70ccd4 Some documentation improvements. 2011-11-08 19:39:52 +01:00
Florent Le Coz
d2c02174c8 /theme takes an optional argument to change the theme directly. 2011-11-08 19:56:46 +01:00
Florent Le Coz
cd0b2681e0 Fix new messages separator when it is a the top of the text window 2011-11-08 02:41:19 +01:00
Florent Le Coz
b3072bd261 Merge branch 'master' into plugins
Conflicts:
	src/tabs.py
	src/xhtml.py
2011-11-08 02:15:57 +01:00
Florent Le Coz
d83eda6fd4 escape <, > and & in xhtml-im bodies. 2011-11-08 02:07:40 +01:00
Florent Le Coz
1ccfd09552 poopt now handles correctly the size of the chars by jumping
the color attributes properly and ignoring their length.
2011-11-08 01:52:39 +01:00
Florent Le Coz
b8b54735c7 Merge remote-tracking branch 'origin/plugins' into plugins 2011-11-08 00:53:31 +01:00
mathieui
c2798ba8de Display actual status message on contact connection instead of
unreadable status type
2011-11-08 00:47:56 +01:00
mathieui
1b06a7d48b Add a warning in case of theme not found, and now unsetting 'theme',
setting it to 'default' or a number of spaces has the same effect
2011-11-08 00:47:56 +01:00
mathieui
9c688795d1 Removed "WARNING" debug messages, because they are irrelevant 2011-11-08 00:47:56 +01:00
mathieui
f2b228e692 Refresh the RosterInfoTab on got_offline and got_online 2011-11-08 00:47:56 +01:00
mathieui
1f0ffa9253 Fix subscriptions (/add → /accept instead of /add → /accept → /accept) 2011-11-08 00:47:56 +01:00
mathieui
b3b5d0229e Move a space (for perfectionnists) 2011-11-08 00:47:56 +01:00
mathieui
8c231287bd Make private join/parts work properly 2011-11-08 00:47:56 +01:00
mathieui
51364f7bea Code cleanup (unused import, variables, undefined names, etc…) 2011-11-08 00:47:56 +01:00
Florent Le Coz
9c5cab09d4 fix the last errors that are in another commit that I don’t want
to cherry-pick.
2011-11-08 00:41:32 +01:00
Florent Le Coz
52599f9b8c use only full color mode when sending messages. Simple color mode should never
be used in any part of the code except inside the input.
(cherry picked from commit 17e5411d8f)

Conflicts:

	src/tabs.py
2011-11-08 00:31:11 +01:00
mathieui
7d6c92ffc6 Add a command /clear_infos 2011-11-08 00:30:53 +01:00
Florent Le Coz
4610a1d6e3 trigger events *_say BEFORE generating the xhtml, making it possible to add colors in the hook
Conflicts:

	src/tabs.py
2011-11-08 00:19:31 +01:00
Florent Le Coz
f13d03c149 poezio_colors_to_html now takes full colors (\x19xxx}) to generate the xhtml code
(cherry picked from commit 2b9a43ce6a)
2011-11-08 00:16:35 +01:00
Florent Le Coz
2404358689 Fix the curses -> html color conversion
(cherry picked from commit 689f17cfd7)
2011-11-08 00:15:41 +01:00
Florent Le Coz
f271ef0620 Add a function to convert ncurses colors to HTML color code.
(cherry picked from commit 04f103b9e6)
2011-11-08 00:15:27 +01:00
mathieui
33997e4356 Should fix day_change plugin 2011-11-08 00:14:44 +01:00
Florent Le Coz
2c9cbc9f58 avoid a crash on invalid colors
(cherry picked from commit 15780364cf)
2011-11-08 00:14:24 +01:00
Florent Le Coz
32a75fd5c7 Trigger conversation_say and private_say only once,
and fix the place where we add the message to the window (before
removing the colors)
2011-11-07 23:49:24 +01:00
mathieui
27f28f2624 Display actual status message on contact connection instead of
unreadable status type
2011-11-07 23:07:32 +01:00
mathieui
0bfabab834 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 21:08:30 +01:00
mathieui
f4201bf754 Add a /plugins command that lists the plugins currently in use 2011-11-07 21:05:41 +01:00
mathieui
7e78353621 Add a warning in case of theme not found, and now unsetting 'theme',
setting it to 'default' or a number of spaces has the same effect
2011-11-07 19:56:59 +01:00
Florent Le Coz
2b9a43ce6a poezio_colors_to_html now takes full colors (\x19xxx}) to generate the xhtml code 2011-11-07 19:56:03 +01:00
Florent Le Coz
60b58301d3 Little cleanup 2011-11-07 19:55:40 +01:00
Florent Le Coz
689f17cfd7 Fix the curses -> html color conversion 2011-11-07 19:55:16 +01:00
Florent Le Coz
36cd91dc9c trigger events *_say BEFORE generating the xhtml, making it possible to add colors in the hook 2011-11-07 19:54:45 +01:00
Florent Le Coz
15780364cf avoid a crash on invalid colors 2011-11-07 19:54:12 +01:00
Florent Le Coz
cd16403cb4 typo 2011-11-07 19:57:16 +01:00
mathieui
153137e5d2 Removed "WARNING" debug messages, because they are irrelevant 2011-11-07 19:38:37 +01:00
mathieui
70a809a7b4 Refresh the RosterInfoTab on got_offline and got_online 2011-11-07 19:28:12 +01:00
Florent Le Coz
953783c200 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 15:15:34 +01:00
mathieui
d6b8ca50f2 Remove first&last and only use "position" in plugins events 2011-11-07 15:09:39 +01:00
Florent Le Coz
41b5497330 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 14:57:13 +01:00
Florent Le Coz
54962e6796 Merge branch 'plugins' of /home/louiz/git/poezio into plugins
Conflicts:
	src/core.py
2011-11-07 19:48:16 +01:00
Florent Le Coz
17e5411d8f use only full color mode when sending messages. Simple color mode should never
be used in any part of the code except inside the input.
2011-11-07 19:47:16 +01:00
Florent Le Coz
04f103b9e6 Add a function to convert ncurses colors to HTML color code. 2011-11-07 19:43:13 +01:00
mathieui
1f3fafe155 Add somme triggers 2011-11-07 14:45:08 +01:00
mathieui
10fe12086d Fix subscriptions (/add → /accept instead of /add → /accept → /accept) 2011-11-07 14:33:37 +01:00
mathieui
78174a6eae Move a space (for perfectionnists) 2011-11-07 13:47:23 +01:00
mathieui
452f62ecf4 Actually add the events.py file 2011-11-07 13:06:57 +01:00
Florent Le Coz
8911f85a42 Merge branch 'master' into plugins
Conflicts:
	src/core.py
2011-11-07 01:02:03 +01:00
mathieui
961cf5df85 New type of events to be used with the plugins 2011-11-06 23:46:00 +01:00
mathieui
14c05b2dee Make private join/parts work properly 2011-11-06 21:22:59 +01:00
mathieui
c3c67b5e0a Code cleanup (unused import, variables, undefined names, etc…) 2011-11-06 21:10:09 +01:00
Florent Le Coz
a0404f3077 Fix a crash on empty command in muclisttab 2011-11-06 20:30:41 +01:00
mathieui
fcbe84e5a6 Fixes #2241 2011-12-03 17:51:22 +01:00
Florent Le Coz
cb32f6d30a show_tab_names option lets you display the name of the tabs in the horizontal bar 2011-11-30 23:26:22 +01:00
mathieui
1e8383c3e3 Fix a traceback when using ^W with xhtml-im
(it does not work perfectly as it should, but it doesn’t crash anymore, at least)
2011-11-29 00:18:31 +01:00
mathieui
f92e875611 Add an XML tab (/xml_tab) to view incoming/outgoing stanzas
Fixes #2074
2011-11-29 00:00:47 +01:00
mathieui
4b549406ce Python 3.0/.1 compatibility 2011-11-28 21:27:40 +01:00
mathieui
2f8f4eccb8 Curses operations must operate within the lock 2011-11-28 16:48:02 +01:00
Florent Le Coz
122d700ac3 We can now configure each conversation independently, for some options.
Fixed #2039.
2011-11-28 22:32:44 +01:00
Florent Le Coz
6a0ac419c5 Merge branch 'master' into plugins 2011-11-06 19:24:37 +01:00
Florent Le Coz
0315b05f51 Fix the sending of colors in private.
fixes #2287
2011-11-06 19:22:20 +01:00
Florent Le Coz
07f9fab401 Merge branch 'master' into plugins
Conflicts:
	src/core.py
2011-11-06 17:54:05 +01:00
Florent Le Coz
7d861ee885 Fix another thing related to Room removale 2011-11-06 17:31:56 +01:00
Florent Le Coz
1a57fcc4fa Actually, no, messages are in _text_buffer 2011-11-06 17:20:59 +01:00
Florent Le Coz
aa78a454fb Merge branch 'master' of https://git.louiz.org/poezio 2011-11-06 17:11:55 +01:00
Florent Le Coz
200019574d Use threads RLock to avoid crash on simultaneous refresh and resize.
fixes #2180
2011-11-06 17:08:40 +01:00
Florent Le Coz
b9c6f08a79 Wasn’t that already remove, like, TWICE? 2011-11-06 16:50:10 +01:00
mathieui
8b8128c416 Fixes #2286 (with /info) 2011-11-06 16:27:47 +01:00
Florent Le Coz
16854c39fd Remove a tab._room reference in a plugin API. 2011-11-06 16:01:14 +01:00
Florent Le Coz
6597d83355 Merge branch 'master' into plugins 2011-11-06 16:00:41 +01:00
Florent Le Coz
7bf63c51e2 Fix a remaining crash from the Room class deletion. 2011-11-06 15:57:03 +01:00
mathieui
bf9857b782 Fixes mostly #2285 (no more crashes), but as for why we get an iqerror
when trying to get the version from a full jid……
2011-11-06 15:46:52 +01:00
mathieui
fc20de76ff Should really fix #2284 and some other tbs 2011-11-06 14:38:00 +01:00
mathieui
fbb465a092 Fixes #2284 2011-11-06 14:18:45 +01:00
mathieui
12850ed062 Use Tab.state proxy everywhere, also, use the right color on private
message
2011-11-06 03:57:43 +01:00
Florent Le Coz
9ff6380149 fix variable name, and remove ALL tab._room references. 2011-11-06 03:34:39 +01:00
Florent Le Coz
e3477d7db8 Remove the Room class. fixes #2122 2011-11-06 03:31:47 +01:00
Florent Le Coz
3412c119a9 First part of the “remove the Room class” change 2011-11-06 03:27:56 +01:00
mathieui
e6797c29a5 Smaller means being insane, and even then, it should’nt bug too much
Fixes #2259
2011-11-06 00:15:38 +01:00
mathieui
af6e534578 More @property magic, for transparency 2011-11-05 22:12:55 +01:00
mathieui
25fb35d7e1 Things related to priority, fixes #2266 (imo) 2011-11-05 22:12:03 +01:00
mathieui
a49af71f7c Fixes #2255 with some lambda fun 2011-11-05 21:25:17 +01:00
mathieui
3f08e235a1 Fix some chat states problems (e.g. /dnd sending inactive) 2011-11-05 21:10:16 +01:00
mathieui
038869d2f7 Fix the /kick command 2011-11-05 19:38:03 +01:00
mathieui
4a8ef77839 Partial fix to #2266 and #2255 (removes the idea of "color state" and
adds state, that are computed to the current theme color)
2011-11-05 19:35:24 +01:00
Florent Le Coz
458e853874 Merge branch 'master' of https://git.louiz.org/poezio into plugins 2011-11-05 01:42:50 +01:00
mathieui
a603f46906 Fix a typo that causes a curses TB 2011-11-03 08:57:21 +01:00
Emmanuel Gil Peyrot
dac8a12abf Add a config option that display the nick in join/part/status
change/etc. in that user color. Fixes #2282.
2011-11-01 17:14:43 +01:00
mathieui
ecf3685db6 Fixed #2281 2011-11-01 12:17:17 +01:00
mathieui
611acbeb2a Fixes #2277 2011-10-30 23:18:47 +01:00
mathieui
9d64bd1398 Remove aliases to /status 2011-10-29 17:46:45 +02:00
Florent Le Coz
21f0c8f3f3 Fix the url matching in the link plugin 2011-10-29 17:20:18 +02:00
Florent Le Coz
db1e84d34e Daemon now reads from a pipe and not in the fifo directly 2011-10-29 16:58:36 +02:00
Florent Le Coz
0451127ff8 Merge branch 'master' into plugins 2011-10-29 07:20:10 +02:00
Florent Le Coz
881de6a7c0 add get_conversation_messages for the plugin API 2011-10-29 07:05:19 +02:00
Florent Le Coz
a090b235d7 Make the PluginConfig class heritate the poezio Config
We can use the nice and safe get() method
2011-10-29 07:04:32 +02:00
Florent Le Coz
cb2796abc5 Add a \n when writing the command to the fifo 2011-10-29 07:03:49 +02:00
Florent Le Coz
f8fcf6696d Remove any mention of “coucou” 2011-10-29 05:14:05 +02:00
Florent Le Coz
1303919706 Add the daemon. 2011-10-29 05:13:12 +02:00
Florent Le Coz
7e16ffd9e0 Remote execution.
We can use a fifo to write command, and execute them on the local
machine by running a simple daemon.
2011-10-29 05:11:30 +02:00
mathieui
6d436f570a Fixed a TB on /kick 2011-10-27 21:20:26 +02:00
Florent Le Coz
aa6738800d Fix crash on completion of recent words containing xhtml-im attributes
fixes #2278
2011-10-20 21:55:24 +02:00
mathieui
b29f11ce19 /affiliation command
(without the 'outcast' affiliation ATM)
2011-10-17 21:30:36 +02:00
mathieui
69c6b38894 remove /visitor /participant /moderator and replace them with /role 2011-10-17 21:29:39 +02:00
Mathieu Pasquet
7d392c6093 Typo 2011-10-17 19:07:53 +02:00
mathieui
ad45e89ded User role management in MUC (ie /visitor /particpant /moderator) 2011-10-14 01:32:14 +02:00
mathieui
14702b1806 Fixed some typos 2011-10-11 23:04:40 +02:00
mathieui
2479201b30 Fix the data forms 2011-10-11 23:00:29 +02:00
mathieui
be2d66f8a2 Fixed #2268 2011-10-09 19:54:13 +02:00
Florent Le Coz
e35bf19aed fixes #2263 2011-10-04 18:56:02 +02:00
Florent Le Coz
bfcf20f301 By default, log only critical messages. This avoid
warnings to be displayed on stdout if no debug file was
specified
2011-10-02 21:18:25 +02:00
Florent Le Coz
5ae665b253 Fix completion case-sensitiveness 2011-10-02 17:39:18 +02:00
mathieui
d589896599 Adds a way to delete the commands without reloading the plugin 2011-10-02 13:21:51 +02:00
Todd Eisenberger
b7279678df Frumious hacks to make plugins less likely to kill a client 2011-10-02 00:09:50 -07:00
mathieui
ed87f26db7 Added a connect() function to the plugins API, for internal event 2011-10-01 23:48:42 +02:00
Florent Le Coz
4dfe2229da remove white from the nick colors 2011-10-01 22:47:47 +02:00
mathieui
a5c067fd93 /clear command in MUC 2011-10-02 00:12:22 +02:00
Florent Le Coz
347733804f Do not try to cycle completion on commands if there was only one possibily.
You can now see by the space appended at the end if it was the only one.
It lets you complete arguments without having to add a stupid space after the command name
2011-10-01 20:46:20 +02:00
Todd Eisenberger
d02c764c47 More contact management commands 2011-10-01 05:26:19 -07:00
Florent Le Coz
7683bf92a7 fixed #2258 2011-09-30 17:30:06 +02:00
Florent Le Coz
fdf6a00bbc fixes #2185 completion can be done with the cursor ANYWHERE! 2011-09-30 17:20:36 +02:00
Florent Le Coz
c89d9a3aa4 use getiterator if python < 3.2 2011-09-29 23:19:21 +02:00
Florent Le Coz
90699130b9 ² 2011-09-29 02:08:47 +02:00
Florent Le Coz
e9e15058bd Mais putain 2011-09-29 02:07:45 +02:00
Florent Le Coz
deea31d9b7 merge missing changeset from default into plugin, so both branches are up to date 2011-09-29 00:25:01 +02:00
Florent Le Coz
31cad9a4ac Fix that resize bug AGAIN 2011-09-29 00:19:33 +02:00
Todd Eisenberger
7b8a860de9 Fix loading already loaded plugins 2011-09-27 10:14:18 -07:00
mathieui
ff3c40c5b4 Fixes a bug when the user leaves a MucTab, goes to a privatetab and /join with no args
(it joined the muc, but did not open a new tab)
2011-09-26 10:40:04 +02:00
mathieui
a80338f25b [teisenbe] Make the data forms more usable (highlight of the selected row) + theme colors instead of hardcoded ones 2011-09-26 09:35:58 +02:00
mathieui
4f96907653 Fix the DataFormTab (was broken with the new theming method) 2011-09-26 01:12:15 +02:00
Florent Le Coz
55d624c0ee exec plugin 2011-09-25 21:16:31 +02:00
Florent Le Coz
47c052acf4 Add a send_message() function for plugins 2011-09-25 21:15:00 +02:00
mathieui
c427ce7ac0 Remove /pubsub command 2011-09-25 20:30:23 +02:00
mathieui
6037c4be65 Fix some more presence leaks 2011-09-25 20:28:57 +02:00
Florent Le Coz
c80022e816 merge default into plugins branch. So that branch is still up to date too 2011-09-25 20:12:43 +02:00
Florent Le Coz
d5a013dd6a Fixes the refresh issue when the user of a private conversation leaves/joins 2011-09-25 19:36:08 +02:00
Florent Le Coz
24dda3ff25 and that 2011-09-25 19:31:42 +02:00
Florent Le Coz
7ee5f251d9 Restaure that 2011-09-25 19:30:09 +02:00
Florent Le Coz
8d67fbf133 merge 2011-09-25 19:28:31 +02:00
Florent Le Coz
674f151c38 Default theme is now ok, I think 2011-09-25 19:24:14 +02:00
mathieui
0f7ec35c97 Remove /pubsub command for the time being 2011-09-25 18:25:50 +02:00
Florent Le Coz
412e9c281c Convert 256 colors to 8 if the terminal doesn’t support them 2011-09-25 15:58:27 +02:00
Florent Le Coz
e718682c7f That. 2011-09-25 15:33:05 +02:00
Florent Le Coz
0ee2194d3c Backed out changeset e811b4e21013 2011-09-25 15:32:00 +02:00
Florent Le Coz
b5ce85869b Forgot that… 2011-09-25 15:31:12 +02:00
mathieui
00ed9b4842 [teisenbe] Fix a bug in case of XDG_CONFIG_HOME not set 2011-09-25 03:01:32 +02:00
mathieui
fd99fb32bb [teisenbe] Make the data forms more usable (add color to the labels) 2011-09-25 02:50:03 +02:00
mathieui
b63132d32d remove yet another unneeded call for GlobalInfoBar 2011-09-25 02:43:52 +02:00
mathieui
1a6d903e34 Add a config file to the plugins by default 2011-09-25 02:39:00 +02:00
Florent Le Coz
cac130e754 Autoload plugins 2011-09-24 23:44:52 +02:00
Florent Le Coz
eb096892a9 Completion for load and unload commands 2011-09-24 23:10:55 +02:00
Florent Le Coz
f275567478 [teisenbe] Use the imp module to import modules.
Also add a simple translator module
2011-09-24 22:26:31 +02:00
Florent Le Coz
5ac6b7f8dc tg 2011-09-24 00:10:16 +02:00
Florent Le Coz
c7a0659a1d merge 2011-09-24 00:02:09 +02:00
Emmanuel Gil Peyrot
6f1481e830 Really, really fix whitespace handling. 2011-09-23 23:50:43 +02:00
Emmanuel Gil Peyrot
8f675044b1 Really fix whitespace handling, and malformed CSS. 2011-09-23 23:47:25 +02:00
Florent Le Coz
1ff421075d Do not remove trailing spaces in an XHTML-IM element’s text. 2011-09-23 23:01:13 +02:00
Florent Le Coz
a9d2cf8ff2 make colors work with 3-digits color numbers 2011-09-23 22:50:14 +02:00
Florent Le Coz
b5beb9d8bf Merge branch 256 into master 2011-09-23 21:31:18 +02:00
Florent Le Coz
e3b933445f [teisenbe] first attempt at a plugin system. 2011-09-23 17:43:01 +02:00
Emmanuel Gil Peyrot
8845cdce8e Fix whitespace handling in XHTML. 2011-09-23 00:20:34 +02:00
Emmanuel Gil Peyrot
e37f98aa5d Add support for 256 colors in XHTML messages, and fix a stupid bug with img without @alt. 2011-09-23 00:09:01 +02:00
mathieui
f34d3172a1 Fixes #2251 2011-09-21 17:44:41 +02:00
Florent Le Coz
700b11e42d Handles 256 colors, easier theming and more flexible way to define colors
Doesn’t run yet if term doesn’t support 256 colors, I know
(thus the branch "256")
2011-09-21 00:52:03 +02:00
Florent Le Coz
46705e1861 oh, merge 2011-09-20 21:31:10 +02:00
Florent Le Coz
b9348519bb merge 2011-09-20 21:22:24 +02:00
Florent Le Coz
6debaa6c3f Do not limit the size of the windows, fixes #2246 2011-09-20 21:21:26 +02:00
mathieui
6ec1ca42cc Fixes #2221 2011-09-20 01:27:57 +02:00
mathieui
a3b8452358 Fixes #2245 2011-09-20 00:53:49 +02:00
Emmanuel Gil Peyrot
00e12ccec1 Remove Elinks support and add a pure python XHTML/CSS parser. 2011-09-19 22:41:46 +02:00
Florent Le Coz
324fcf817c And fix the display of the part message in that case 2011-09-17 19:18:49 +02:00
Florent Le Coz
195d461a86 merge 2011-09-17 18:59:32 +02:00
Florent Le Coz
900bf8c97a Fix a bug where the private tabs would pop on the screen when the user parts or join the associated room 2011-09-17 18:59:14 +02:00
Florent Le Coz
02593a265e merge 2011-09-17 14:17:12 +02:00
Florent Le Coz
a8537481ac Refresh only once, not at every refresh() call, after we resized the screen once. 2011-09-17 14:15:31 +02:00
mathieui
f5258c2e92 Cycle on the disconnected tabs with M-e 2011-09-16 23:33:04 +02:00
Florent Le Coz
2484889225 merge 2011-09-16 16:00:59 +02:00
Florent Le Coz
489852a593 Fixes the new-message-separator (I think) 2011-09-16 16:00:33 +02:00
mathieui
a3959bd12c Fixes #2244 2011-09-15 00:15:05 +02:00
Florent Le Coz
c332732d13 Clean a little bit the poopt module, and fix some comments 2011-09-14 13:59:25 +02:00
Florent Le Coz
b33a09f0f6 Keep one bool LESS in each line, YAY, that’s HUGE. 2011-09-13 01:59:50 +02:00
Florent Le Coz
c8d80807c7 fix issues with too long nicknames 2011-09-13 01:55:52 +02:00
mathieui
d1bf1dfa53 Fix the (now rare) tracebacks from curses. 2011-09-12 20:22:12 +02:00
mathieui
455a2746bc Disable the pubsub.louiz.org browser 2011-09-12 20:21:32 +02:00
mathieui
7fd3f9b0fa Fixes #2213 2011-09-12 18:44:19 +02:00
mathieui
1df856969f The active chat state is not sent anymore with a message when being xa or away. 2011-09-12 17:17:49 +02:00
mathieui
e372d2e8bc Refresh properly the display after private part/join 2011-09-12 10:56:38 +02:00
mathieui
7a31299292 Add a color state for disconnected rooms (Fixes #2166) 2011-09-12 10:56:02 +02:00
mathieui
d24b3c4295 PGUP/PGDOWN on muc list (partially fixes #2165) 2011-09-12 01:24:43 +02:00
mathieui
a20b42d2b4 Add an history in the RosterInfoTab (Fixes #2223) 2011-09-12 00:55:00 +02:00
Florent Le Coz
71ed190f30 By the way, that’s version 0.7.2 2011-09-11 20:29:19 +02:00
Florent Le Coz
fa0939622b Fix an issue that breaks the message display if it contains \t 2011-09-11 19:29:14 +02:00
Florent Le Coz
96794a4e49 Change license to zlib (MIT sucks :() 2011-09-11 17:10:05 +02:00
Florent Le Coz
e6622db4ca fix a offset size issue that made the text be cut in too short lines. 2011-09-11 15:19:33 +02:00
Florent Le Coz
b7b1faebdb merge 2011-09-11 04:22:04 +02:00
Florent Le Coz
362ff75e32 fixes crashes on too small size (except on the /configure tab, but that’s an other issue)
fixes #2186
2011-09-11 04:17:17 +02:00
Florent Le Coz
1a485318bf Fix a traceback when a contact not yet accepted goes offline 2011-09-11 03:32:54 +02:00
Florent Le Coz
e84cbf6ba5 Make the roster tab shine when someone added you in her roster 2011-09-11 03:29:27 +02:00
Florent Le Coz
555b915669 w t f
t
f
2011-09-10 20:14:00 +02:00
Florent Le Coz
1ed0581357 cleanup in build_new_message, and very little speedups as well 2011-09-10 20:02:01 +02:00
mathieui
78c216cd61 Added a help message for the first run 2011-09-10 16:41:47 +02:00
mathieui
62233527c5 Fixes #2215 2011-09-10 16:07:29 +02:00
Florent Le Coz
eacf2bf62d Merge changes from default branch, too 2011-09-09 19:13:56 +02:00
Florent Le Coz
eb180ed52e Add (optional) lazy resize, and also fix the screen becoming empty when resizing to a lower width. 2011-09-09 19:12:20 +02:00
Florent Le Coz
fa5b5fc45d Make it work. MAY segfault. Need intensive testing.
Should be A. LOT. FASTER. though.
2011-09-09 18:43:20 +02:00
Florent Le Coz
2e04c5c77e c code that doesn’t work 2011-09-08 17:05:02 +02:00
mathieui
ff6f829e8d Fixes #2235 2011-09-06 21:05:00 +02:00
mathieui
1fcc2ec83c Fixed various things regarding privatetabs:
the room nick is used when it is not defined in the config file (was appearing as a message from the room itself)
connections/deconnections are now monitored (→ Fixes #2233, and thus fixes #2211)
2011-09-06 20:59:11 +02:00
mathieui
6c3b43bb1c Fixes #2236 2011-09-06 17:01:08 +02:00
mathieui
229d64d355 Fixed shell completion 2011-09-06 14:52:17 +02:00
mathieui
70c63691f8 An 'inactive' chat state is now sent to the current room when going away 2011-09-06 14:42:10 +02:00
mathieui
ee8eb0934d Clean up chatstate stuff (removed empty_before), and fixed some bugs 2011-09-06 14:41:12 +02:00
Florent Le Coz
d41634d4ea Change license to MIT 2011-09-06 02:45:53 +02:00
Florent Le Coz
f56295650d merge 2011-09-06 02:31:14 +02:00
Florent Le Coz
a6932c688a Add the /quit command 2011-09-06 02:30:19 +02:00
Florent Le Coz
a808187550 Fix a refresh bug on /query with a message 2011-08-21 01:25:07 +02:00
Florent Le Coz
d917ec5ea2 Do not print a message on the screen on error 2011-08-16 14:53:29 +02:00
Emmanuel Gil Peyrot
84fc61eec4 Show /info in the info window, like /version. Fixes #2225. 2011-08-14 14:49:41 +02:00
Emmanuel Gil Peyrot
12bcb9235f Display the JID of an error sender. Fixes #2218. 2011-08-12 21:24:28 +02:00
Florent Le Coz
94436e075b Fix a tb on invalid show in presence from a muc
(Displays a warning in that case, so that we can laugh about it.)
2011-08-11 23:31:03 +02:00
Florent Le Coz
9426b25902 Fix 2 typos 2011-08-04 17:22:25 +02:00
Florent Le Coz
8da125bbc5 Merge 2011-08-01 00:45:50 +02:00
Florent Le Coz
04f67c1b4e Fix typos in some command help messages. 2011-08-01 00:45:16 +02:00
Florent Le Coz
0866c9eb94 Deactivate the /info command for private rooms until it’s finished 2011-08-01 00:44:32 +02:00
Florent Le Coz
a93069e3a0 Fix the crash on Escape key 2011-07-31 19:03:15 +02:00
Florent Le Coz
c2ba5388a5 Fix a crash on missing completion for /bind 2011-07-18 22:22:13 +02:00
mathieui
f967a81142 Fixes #2220 …… 2011-07-18 22:17:46 +02:00
Florent Le Coz
1a50dd9241 Fix that correctly :) 2011-07-18 00:05:10 +02:00
Florent Le Coz
60a8fe2444 Fix the size of the text area in ConversationTab. fixed #2193 2011-07-15 16:42:13 +02:00
Florent Le Coz
8084e5cd36 /version doesn’t block anymore waiting for the answer. 2011-07-11 20:55:05 +02:00
Florent Le Coz
956bda066b PUBSUB: publish items on node, with a text editor 2011-07-11 02:23:45 +02:00
Florent Le Coz
c03557efd7 Remove useless feedparser import 2011-07-10 18:17:38 +02:00
Florent Le Coz
fa464e4d86 Pubsub browser can display atom element, etc 2011-07-10 18:15:52 +02:00
Florent Le Coz
0327e5aca3 [pubsub] use callbacks to make everything non-blocking.
And add an informative message in the top bar to know what just happened
2011-07-09 18:21:19 +02:00
Florent Le Coz
bd2d63f8a5 Check that all needed config sections are there at startup, and create them if not 2011-07-05 23:48:28 +02:00
Florent Le Coz
d9cc0aac4d Merge these forgotten commits as well. 2011-07-04 22:54:38 +02:00
Florent Le Coz
3dbf9228d8 Merge that too 2011-07-04 22:48:40 +02:00
Florent Le Coz
e24d513c23 Merge pubsub branch to default 2011-07-04 22:44:26 +02:00
Florent Le Coz
1935f5ec23 Remove useless keyboard shortcuts 2011-07-03 02:40:28 +02:00
Florent Le Coz
606360e07c /bind command 2011-07-03 02:24:56 +02:00
Florent Le Coz
a99257ad9a Key bindings \o/ 2011-07-03 02:06:40 +02:00
Florent Le Coz
13f885fb74 merge 2011-06-30 23:23:29 +02:00
Florent Le Coz
8127f66e4d Fix the roster erasing in the refresh() 2011-06-30 23:22:27 +02:00
mathieui
5a5736bb3c Fixes #2220 (that was hard) 2011-06-29 00:13:22 +02:00
Florent Le Coz
b470c7875f Beep() on highlight/message/private-messages (configurable) 2011-06-27 22:01:57 +02:00
Florent Le Coz
d0231331fa Fixed a stupid crash caused by mathieui. Shame on him. 2011-06-25 15:57:07 +02:00
Florent Le Coz
67639847eb Fixed #2190 2011-06-25 15:52:53 +02:00
mathieui
306abbf974 Fixes #1736 2011-06-23 23:33:02 +02:00
Florent Le Coz
4e04c0bb7b Fix receipt of private message. They were seen as comig from the room. 2011-06-23 02:29:34 +02:00
Florent Le Coz
f25013f540 Fix a stupid traceback. 2011-06-21 17:37:30 +02:00
mathieui
7d6a03c9bb /reconnect is too dangerous for retards 2011-06-21 17:17:42 +02:00
Florent Le Coz
76cacb32a6 Enter displays the content of the selected item 2011-06-21 02:43:59 +02:00
Florent Le Coz
0fa3cf756a Reset the cursor position from the item list when node changes 2011-06-21 02:01:23 +02:00
Florent Le Coz
06f4dd783e Nodes can be scrolled and the item list is updated accordingly 2011-06-21 01:58:24 +02:00
Florent Le Coz
511ecf6195 Meta + up and down scrolls the nodes, up and down scrolls the items 2011-06-21 00:10:41 +02:00
Florent Le Coz
ca0b4af364 First pubsub browser iteration: can list root nodes, create an item and receive items 2011-06-20 03:19:37 +02:00
Florent Le Coz
283d06e3c2 Remove a useless refresh (that would make things a little slower) 2011-06-20 00:20:19 +02:00
mathieui
afab9e050f Fixes bug #2183 2011-06-18 18:31:57 +02:00
Florent Le Coz
f4c2438046 Oups. 2011-06-18 16:23:41 +02:00
Florent Le Coz
53ee85ea6d Fix colors in private quit messages 2011-06-18 16:09:34 +02:00
Florent Le Coz
77a2165639 Handler error messages even when not comming from a room 2011-06-18 15:48:19 +02:00
mathieui
c51559b14f Fixes #2209 2011-06-18 14:28:49 +02:00
Florent Le Coz
c93815737f Empty roster on disconnect 2011-06-18 12:52:58 +02:00
mathieui
07ce4dcb10 Fix /connect (and renamed it to /reconnect) 2011-06-18 12:00:28 +02:00
mathieui
da5623094d hopefully fix chat states 2011-06-18 11:17:20 +02:00
Florent Le Coz
dd9186c72a Fix the refresh of the muc info header on new messae 2011-06-15 23:33:29 +02:00
Florent Le Coz
40d445e509 I add a char to show the active and paused chatstates in muc user lists 2011-06-14 22:20:04 +02:00
mathieui
7d82a4fb19 some path.join forgotten causing the config file to be overwritten an not taken into account… 2011-06-04 20:44:14 +02:00
mathieui
e27c6d74ad fix the display of the action 'emptying the status', and some few minor changes 2011-06-04 20:15:18 +02:00
mathieui
fc3f6d936d make command case-insentitive (which means /w 1 works as fine as /W 1) 2011-06-02 17:30:03 +02:00
mathieui
edbd07cf54 Added a /names command 2011-06-02 00:32:42 +02:00
mathieui
aa0c054f9f don’t leak presences with chat states when xa or away 2011-05-29 16:40:41 +02:00
mathieui
c44e182a00 Remove InfoTab references 2011-05-29 16:29:38 +02:00
mathieui
f6d38cbd10 fixes #2121 2011-05-29 16:08:02 +02:00
Florent Le Coz
e0fcaeac86 fixes #2153 Remove the anon-specific tab 2011-05-29 02:15:52 +02:00
Florent Le Coz
8021283e65 Fix some bug due to the new way chars are returned 2011-05-29 02:07:30 +02:00
Florent Le Coz
0db064fdf7 Merge, whatever 2011-05-29 00:35:47 +02:00
Florent Le Coz
8d3053bd93 fixes #2164. Restore multiline messages on paste of big text. That’s now faster and works ~100% of the time (no more message cut in two part for no reason, I think) 2011-05-29 00:35:11 +02:00
mathieui
67881b9779 Fixes #2179 2011-05-28 23:51:58 +02:00
mathieui
1c9fc655dd Fixes #2174 2011-05-27 23:36:52 +02:00
mathieui
2d570a4028 Fixes #2137 (altough it could have been done better) 2011-05-27 23:36:20 +02:00
Florent Le Coz
4a98792bbf Automated merge with http://hg.louiz.org/poezio 2011-05-27 11:15:34 +02:00
mathieui
5d1953a807 fixes #2187 (import/export) 2011-05-24 20:33:37 +02:00
mathieui
7182f96868 fixes #2184 2011-05-24 00:31:19 +02:00
Florent Le Coz
2f0015c631 Fix arguments for /status command 2011-05-19 20:45:14 +02:00
Florent Le Coz
5aff41b69b Fix the argument split issues 2011-05-19 20:38:12 +02:00
mathieui
dfc276a4b9 Breaking poezio is a bad thing 2011-05-14 23:23:22 +02:00
mathieui
423a7d1447 Fixes #2177, and fixes chatstates a bit 2011-05-14 15:45:30 +02:00
mathieui
c55f199143 fixes #2171, fixes #2173, also set a minimum size (< 5 lines crashes poezio when resizing) 2011-05-14 01:21:59 +02:00
mathieui
bf5599d4d0 fixes #1995 (hopefully google will fix their server, one day…) 2011-05-13 21:00:39 +02:00
mathieui
ec1aef198b Fix #2170 2011-05-13 20:34:19 +02:00
mathieui
007170e39e Fix #2175 2011-05-13 20:24:10 +02:00
mathieui
03a691c4d1 Fix #2176, and remove useless stuff added by 2to3 2011-05-13 20:19:10 +02:00
mathieui
3d43517a41 Don’t break xhtml-im 2011-05-13 11:46:50 +02:00
mathieui
2860232cc6 Fix a traceback on C-c ❶ or C-c ², etc 2011-05-13 11:34:31 +02:00
mathieui
c631673cf3 should fix #2161, and enable xhtml-im while in debug 2011-05-11 14:33:22 +02:00
mathieui
4a007eb42b -log.debug 2011-05-10 00:49:20 +02:00
mathieui
6e58f88d05 Fix the /version command in mucs (and globaaly) & improve shlex parsing 2011-05-10 00:47:41 +02:00
Florent Le Coz
bc67a7d654 Aha, remove this duplicate function 2011-05-06 02:47:34 +02:00
Florent Le Coz
897aa5bd70 M-backspace deletes a word 2011-05-05 23:28:06 +02:00
Florent Le Coz
118a81992d Fix /recolor correctly, and also fixes #2158 2011-05-04 23:08:58 +02:00
Florent Le Coz
c784deea9c Fix the paused status that was sent on /part and other inapropriate situations 2011-05-04 22:52:24 +02:00
mathieui
0029f47082 Fix python 3.1 compat 2011-05-04 22:25:26 +02:00
mathieui
c93aafa8f5 fixes #2148, #2156, #2155 2011-05-04 22:05:02 +02:00
Florent Le Coz
4b932d3a87 Do not dispaly information message about the contact that were already connected at the moment we got logged in. 2011-04-18 03:42:10 +02:00
Florent Le Coz
d913e71513 Refresh optimization on chatstates 2011-04-18 03:34:51 +02:00
Florent Le Coz
3aa6e891a5 Add some more debug and optimze the general refresh again 2011-04-18 03:07:28 +02:00
Florent Le Coz
78d8d3e74b Great roster refresh optimization 2011-04-18 02:27:46 +02:00
Florent Le Coz
da76355af0 Remove the paused timed event when we send the message 2011-04-17 15:49:38 +02:00
Florent Le Coz
d1a797205a Fix the infinite loop… 2011-04-17 15:18:17 +02:00
Florent Le Coz
b4d1eda1e0 Fixed #2150 2011-04-17 15:12:12 +02:00
Florent Le Coz
cd623aef58 Litter bug on roster presence 2011-04-17 13:55:34 +02:00
Florent Le Coz
f509c3ee22 idem etc 2011-04-17 00:49:49 +02:00
Florent Le Coz
bf2bd33bd3 Idem 2011-04-16 22:55:30 +02:00
Florent Le Coz
1c4867b180 Fix some refresh issues 2011-04-16 22:03:11 +02:00
Florent Le Coz
3711c258a8 Optimize refresh by doing only when strictly required and on the concerned part of the screen.
Also remove the \n at the end of /info when status message is empty
2011-04-16 21:46:07 +02:00
Florent Le Coz
9889baf0ce Make the information messages "pop" the information buffer temporarly 2011-04-16 18:07:14 +02:00
Florent Le Coz
8167f9d3a4 Fix a typo that made the ban messages not appear at all 2011-04-16 01:19:53 +02:00
Florent Le Coz
5c0cf9a98d fix the colors for Subscribed alerts 2011-04-10 20:03:16 +02:00
Florent Le Coz
f414f341a4 Remove the bugged handling of :ctrl+arrows 2011-04-10 17:02:48 +02:00
Florent Le Coz
737bbbface Fix the read_keyboard on ^C 2011-04-10 17:00:29 +02:00
Florent Le Coz
6cd5f8d4f7 Fix the dispay of links in xhtml messages. Reenabling xhtml-im by default 2011-04-10 16:44:26 +02:00
Florent Le Coz
72ec428320 Ignore messages with empty body. fixed #2144 2011-04-10 14:19:18 +02:00
Florent Le Coz
01509b463b Fix the *args of timed events 2011-04-10 04:08:33 +02:00
Florent Le Coz
a6c56682b7 Implement paused chate state. fixed #2124 2011-04-10 03:52:46 +02:00
Florent Le Coz
35b6e146cb Basic timed event implementation. 2011-04-09 22:18:36 +02:00
Florent Le Coz
27a20b349c Have a timeout in read_char to enable timed events 2011-04-08 16:36:00 +02:00
Florent Le Coz
ce5d67d8f6 Alt+ a number returns to the previous tab if we are already on tab “number”.
Kassdédi mrk
2011-04-05 20:51:35 +02:00
Florent Le Coz
f4c138e444 Save the last presence. Fix #2133 2011-04-05 05:27:52 +02:00
Florent Le Coz
cb1abbd945 Disable xhtml-im by default 2011-04-04 19:19:27 +02:00
Florent Le Coz
7e2a98b0f5 Color 7is now the default color instead of white 2011-04-04 16:09:05 +02:00
Florent Le Coz
b3a9dc8637 Fixed #2136 2011-04-04 15:22:06 +02:00
Florent Le Coz
5aa5a25b8a Fix that again 2011-04-04 02:31:46 +02:00
Florent Le Coz
22832b339b Fix colors of reason in a kick message 2011-04-04 02:29:35 +02:00
Florent Le Coz
63e4833b09 Fix a crash on normal messages, and add colors to information messages 2011-03-31 00:36:15 +02:00
Florent Le Coz
eac38e0316 Fix the generated xhtml: span was closed too often at the end 2011-03-30 04:48:02 +02:00
Florent Le Coz
92e63829a6 Finish colors support with xhtml (clean the elinks dump, handle the input etc) 2011-03-30 04:34:45 +02:00
Florent Le Coz
51cebe7bdc Remove the xhtml-im that was inserted for debug, add the start of a method to enter attributes in Inputs, convert \n to <br /> in xhtml_im bodies and put that body in a <p> element 2011-03-29 21:07:53 +02:00
Florent Le Coz
42f4d55512 poezio_colors to_html 2011-03-29 20:56:11 +02:00
Florent Le Coz
ba02b51554 Convert html markup received in xhtml_im elements to poezio colors
and use that as the body
2011-03-29 20:36:02 +02:00
Florent Le Coz
a0248d4324 Change the highlight color of the default theme 2011-03-29 16:48:25 +02:00
Florent Le Coz
a799e5c16f Fix some colors, again... 2011-03-29 16:43:33 +02:00
Florent Le Coz
5e3381f6d4 Add files for xhtml containing xhtml->shell colors and shell colors->poezio colors 2011-03-29 16:11:37 +02:00
Florent Le Coz
8108b703a8 Fix the color in join message 2011-03-29 14:48:27 +02:00
Florent Le Coz
25162f0a06 Messages in text_buffer should not be colored when they
have no nickname
2011-03-29 14:39:51 +02:00
Florent Le Coz
38cffe43b6 Message and complete words can now be colored even if the
take more than one line to be displayed.
2011-03-29 14:35:59 +02:00
Florent Le Coz
8b032a6ece Fix the highlight (now the nick is colored, not the message itself) 2011-03-29 14:27:30 +02:00
Florent Le Coz
c2cb61da06 Cleanup some code not used anymore 2011-03-29 14:15:02 +02:00
Florent Le Coz
dcd29c636f Change how colors are handled. With \x19x etc
Should work like before and be a little lighter on the RA
2011-03-29 12:44:19 +02:00
Florent Le Coz
a2abc116e5 Jump the space on /message JID blabla command 2011-03-27 14:40:29 +02:00
Florent Le Coz
e4f2828347 comment + fix an except 2011-03-25 01:00:37 +01:00
Florent Le Coz
1916eedcde 2011-03-21 21:25:51 +01:00
Florent Le Coz
3ad429f00b Hix a crash on last word completion 2011-03-21 21:24:39 +01:00
Florent Le Coz
dca88cadbd Use namedtuples instead of dict, this should GREATELY lower the memory footprint 2011-03-21 03:18:12 +01:00
Florent Le Coz
2d81b7407b Alt+J 2011-03-20 03:32:48 +01:00
Florent Le Coz
356dd4b5ec Case insensitive HL 2011-03-20 03:05:52 +01:00
Florent Le Coz
902cfd9056 Little mistake 2011-03-20 02:44:51 +01:00
Florent Le Coz
56cbdaacb6 Alt+x where x is a number 2011-03-20 02:42:29 +01:00
Florent Le Coz
cba3adcced Command connect, to reconnect if needed. Fixed #1149 2011-03-20 01:46:44 +01:00
Florent Le Coz
6e14fce61f /version <jid> command 2011-03-15 23:40:54 +01:00
Florent Le Coz
e06b8baa52 Remove the avail command, since /ava[TAB] is even shorter than that. 2011-03-13 14:22:20 +01:00
Florent Le Coz
49f3f0af2c Text in TextWins not is cut one row before the end of line.
Thus fixing a strange display bug, and making it easier to
copy a text without the "|" at the end of line
2011-03-13 14:12:45 +01:00
Emmanuel Gil Peyrot
e178924c1f Remove the /show command and map /away, /avail, etc. to /status. 2011-03-11 22:10:37 +01:00
Florent Le Coz
8ab4af1082 Send chatstate composing if we are starting our message with // 2011-03-11 01:18:35 +01:00
Florent Le Coz
59969d2f6e Fix a dataforms traceback due to the new resize method. 2011-03-10 14:08:31 +01:00
Florent Le Coz
e835bd2d20 Fix the search (the enter key opens the conversation BEFORE restoring the roster list) 2011-03-10 05:11:12 +01:00
Florent Le Coz
36eed51b90 use config.get() only once instead of doing it at each iteration 2011-03-10 04:57:26 +01:00
Florent Le Coz
a519b90cba Avoid stupid traceback on normal message 2011-03-09 18:15:01 +01:00
Florent Le Coz
769b6ec33b little fixes and (very little) optimization 2011-03-09 05:27:10 +01:00
Florent Le Coz
a516e78bcf Some optimizations in build_new_message. Also cleaned up. Added an optimized way to do "wcswidth(string) > n": wcsislonger. And should use less memory because the dict replacing Message and Lines object stores ONLY the needed attributes. 2011-03-09 04:56:53 +01:00
Florent Le Coz
1a2252b3e5 Have a single TextWin in common for each tab, reducing the needed memory, and simplifying its resize (F7 and F8 stuff) 2011-03-08 04:20:46 +01:00
Florent Le Coz
8f48c5ede7 Inputs are garbage collected, making MucListTab collectable.
Memory improvement issues.
2011-03-07 21:41:13 +01:00
Florent Le Coz
a769babf0a Typo 2011-03-07 20:58:12 +01:00
Florent Le Coz
b6a5ed7286 very little cleanup 2011-03-07 20:11:47 +01:00
Florent Le Coz
d6d566e39b pylint 2011-03-07 19:57:55 +01:00
Florent Le Coz
6b469dbde9 Fix data forms to work properly with the previous changes in windows.py 2011-03-06 05:09:45 +01:00
Florent Le Coz
8d8b13fb7a Remove a useless "locale" change 2011-03-06 02:55:35 +01:00
Florent Le Coz
83fbf8dae1 Move a lot of muc-only-related stuff insid the MucTab class
instead of core.
May break some stuff, maybe
2011-03-05 22:39:35 +01:00
Florent Le Coz
fb40ac54fc Kind of big cleanup.
Core and Connection classes are now used as singletons, we do not need to pass them to each Tab and Win. This remove a lot of arguments to varius methods.
2011-03-05 21:42:56 +01:00
Florent Le Coz
9c291d1368 fixed #2117 Fix tracebacks: remove traceback handler. 2011-03-03 03:43:48 +01:00
Florent Le Coz
40426cb715 Avoid a blink at startup with a stupid hack… 2011-03-03 03:24:04 +01:00
Florent Le Coz
5a90c70568 Send chatstates to MUC only if the room is joined 2011-02-26 14:19:15 +01:00
Florent Le Coz
8be400792a Fix a tb when receiving the first private message of a conversation 2011-02-25 00:38:34 +01:00
Florent Le Coz
001a20c91a Display chatstates in the user list in MucTabs 2011-02-24 21:56:16 +01:00
Florent Le Coz
cccbad13d5 end and handle chatstates in privateconversations 2011-02-24 21:39:49 +01:00
Florent Le Coz
e4b96eb752 Send chat states in muc and private conversations.
Also, do not send active/inactive states if we switch tab
while we are composing a message
2011-02-24 21:03:30 +01:00
Florent Le Coz
1d94e80da7 Send active/inactive if we are focused on the tab or not. And send
"gone" when we close the tab
2011-02-24 20:50:21 +01:00
Florent Le Coz
3084a9cff7 Do not send chat states if send_chat_states = false in config 2011-02-24 20:41:52 +01:00
Florent Le Coz
3f41cc8967 Refresh the tab when we receive a chat state 2011-02-24 20:31:34 +01:00
Florent Le Coz
d0b1349cf4 Better handle the 'not composing, just typing a command',
the user cannot trick the system by doing (e.g), "w, ←, /, ENTER"
2011-02-24 20:27:53 +01:00
Florent Le Coz
1d2bb35f3b Pass the message too 2011-02-24 20:16:35 +01:00
Florent Le Coz
6f87306a7e Do not send the composing chatstate if we are typing a command 2011-02-24 20:13:45 +01:00
Florent Le Coz
138b17cdb3 In normal conversations: Send composing and active chat states
and display the state of the remote contact
2011-02-24 20:02:18 +01:00
Florent Le Coz
cc74576c9f Avoid crash when write to log file fails 2011-02-21 21:00:23 +01:00
Florent Le Coz
0d6ec6c5d3 Properly take into account the length of the characters, fixing
some display issues (for example the cursor position
when entering stranges characters likes 癔)
2011-02-18 00:47:44 +01:00
Florent Le Coz
2f864c9fc1 Re-add the /configure command 2011-02-17 19:00:40 +01:00
Florent Le Coz
8aede04f5b Fix the info_win of the InfoTab (anon mode) 2011-02-16 02:54:02 +01:00
Florent Le Coz
fd05c7d707 Change the timer to avoid split of big pastes 2011-02-15 22:16:45 +01:00
Florent Le Coz
32d8a5281d Line ^M are now converted to ^J if we are pasting
from the clipboard, making it possible to paste huge multi-lines
texts in only one message
2011-02-15 21:03:24 +01:00
Florent Le Coz
d184c55580 ^J now inserts a line break in the input.
It is now possible to send multi-lines messages
2011-02-15 20:55:31 +01:00
Florent Le Coz
adf5a977a9 Remove ^J from the shortcuts triggering the Enter event, because
we’ll use it to add a (real) \n into the input’s text.
Also remove "\n" because it’s useless
2011-02-15 20:49:54 +01:00
Florent Le Coz
b707696b46 Ctrl+Shift+left and right switch to the previous/next tab 2011-02-15 20:44:31 +01:00
Florent Le Coz
7103a102bb Ctrl+up and down go to the next/previous group in the roster 2011-02-15 20:34:50 +01:00
Florent Le Coz
3302c730af Ctrl+left and right jump a word in the input 2011-02-15 20:33:00 +01:00
Florent Le Coz
36094c15cf Keyboard can now read all shortcuts with Ctrl (e.g Ctrl+left)
Any unicode character is accepted after the meta key
The meta key can be concatened until a non-meta key is pressed
(e.g M-M-M-M-M-M-M-M-e)
2011-02-15 20:25:32 +01:00
Florent Le Coz
690d449560 PgUp and PgDown scroll one page in the roster
M-u, M-y Moves to the next/previous roster group
2011-02-15 17:24:35 +01:00
Florent Le Coz
5a6f9f92cb Scroll user list by "height-1" lines, instead of 4 2011-02-15 16:36:16 +01:00
Florent Le Coz
83e52d55f2 /message command. Fixed #2106 2011-02-15 16:22:25 +01:00
Florent Le Coz
68c468b1a9 Remove the resize timer etc, because the resize process
is waaaaaay faster now.
2011-02-15 15:27:30 +01:00
Florent Le Coz
68f784e5c2 Make the resize faster by resizing each tab
only at its next refresh
2011-02-15 15:20:34 +01:00
Florent Le Coz
85d645b7d2 Automated merge with http://hg.louiz.org/poezio 2011-02-14 14:54:56 +01:00
Florent Le Coz
4b31e5acf1 Make the number of lines and messages kept in memory configurable
and lower (a lot) the number of lines kept in the info_win buffers
This lower the memory usage.
2011-02-14 14:54:26 +01:00
Florent Le Coz
3e550f4ae7 Properly remove the info_win from the list of the
global information_buffer to make it Garbage Collected
when we close the tab
2011-02-14 14:37:36 +01:00
Florent Le Coz
ac99467965 Make the tab collectable by remove self references when closing
them.
2011-02-13 22:28:35 +01:00
Florent Le Coz
8d0ebdfc12 Automated merge with http://hg.louiz.org/poezio 2011-02-13 22:26:23 +01:00
Florent Le Coz
1a058c3579 Make it possible to define bold in the theme files 2011-02-13 22:26:05 +01:00
Florent Le Coz
6ed087a65c Fix /list completion (complete the servers only) 2011-02-10 16:18:17 +01:00
Florent Le Coz
30f9f2b055 Fix the /help command with commands of the current tab 2011-02-10 16:15:33 +01:00
Florent Le Coz
ffcf65ec43 /help completion 2011-02-10 16:13:28 +01:00
Florent Le Coz
ad7e9b749d /win completion and fix the return values of other completions 2011-02-10 16:08:17 +01:00
Florent Le Coz
23fa745629 /show completion 2011-02-10 13:05:37 +01:00
Florent Le Coz
e7418bb867 /unignore completion 2011-02-10 12:54:51 +01:00
Florent Le Coz
bd1733355b Topic completion 2011-02-10 12:49:11 +01:00
Florent Le Coz
3dbb6590d3 Make the shell split do a normal split if the syntax is wrong 2011-02-10 12:39:15 +01:00
Florent Le Coz
538c843ec7 Remove a useless UnicodeError check 2011-02-10 11:49:25 +01:00
Florent Le Coz
d31f1390ad update version to 0.7.5-dev and remove some debug 2011-02-09 20:42:57 +01:00
Florent Le Coz
7598a9eff9 Update to 0.7.1 2011-02-02 01:48:46 +01:00
Florent Le Coz
5da23e07d1 euh ok 2011-02-02 01:39:57 +01:00
Florent Le Coz
b737c09c4e Disable /configure while it's broken with sleekxmpp 2011-02-02 01:39:05 +01:00
mathieui
01f3409505 fixed #2115 2011-02-02 00:51:34 +01:00
Florent Le Coz
89f337a457 Avoid crash if info_win_size is over the window height. fixed #2114 2011-01-31 15:15:16 +01:00
Florent Le Coz
399434c1ae get_tab_by_name is safer now, by passing the type of the tab we want.
This avoid confusion between various tabs having an identical name (which
should not happen anyway…)
2011-01-26 23:43:07 +01:00
Florent Le Coz
b89a10bd05 Fix a traceback occuring when an (unknown) tab has a name corresponding to an existant MucTab. 2011-01-26 23:32:41 +01:00
Florent Le Coz
41e29926eb Properly consider the size of the window on data-form tab 2011-01-26 05:01:16 +01:00
Florent Le Coz
8b6c0c5a2e data-forms: an help message 2011-01-25 21:38:31 +01:00
Florent Le Coz
6a0346a12a Fix a little issue on the default values of text-multi 2011-01-25 21:17:11 +01:00
Florent Le Coz
cc0449f73b data-forms: text-multi and jid-multi support 2011-01-25 21:15:46 +01:00
Florent Le Coz
716b8be04f data-forms: temporary text-multi support 2011-01-25 18:09:40 +01:00
Florent Le Coz
90c003f975 data-forms: list-multi support 2011-01-25 18:07:47 +01:00
Florent Le Coz
f9cf0ac76d /status also changes your presence in MUCs 2011-01-24 17:02:46 +01:00
Florent Le Coz
33421513c9 fixed #2109. HUGE DIFF OMG 2011-01-23 23:08:44 +01:00
Florent Le Coz
4a84691228 Handle correctly the banning of a muc participant
Fixed #2112
2011-01-23 23:01:53 +01:00
Florent Le Coz
333b80b5df /status command. fixed #2110 2011-01-23 22:49:58 +01:00
Florent Le Coz
28460d2f6f Fix a crash on unknown role 2011-01-23 18:38:49 +01:00
Florent Le Coz
a84769890b fix get_output_of_command. fixed #2018 2011-01-22 15:03:54 +01:00
Florent Le Coz
7c531eeec1 Fix on_user_join issue, and displays the jid if available on /info 2011-01-21 19:39:41 +01:00
Florent Le Coz
d8f92a67e4 Avoid traceback when configuration is forbidden… 2011-01-21 04:54:01 +01:00
Florent Le Coz
1b995e4bf0 Data form support.
supported yet:
text-single, text-private, list-single, boolean

The interface is really ugly, but, well, it works
2011-01-21 04:46:21 +01:00
Florent Le Coz
33c69df12b /info command (to see user's affiliation, role, etc) 2011-01-17 16:25:15 +01:00
Florent Le Coz
1fe6160cfc /join @server.tld now works. fixed #2038 2011-01-17 15:54:11 +01:00
Florent Le Coz
6154872444 /win's arg can be a part of the tab's name 2011-01-17 12:17:37 +01:00
Florent Le Coz
a14c2ad2da Version 0.7 2011-01-13 23:59:14 +01:00
Florent Le Coz
baf65fed2e Fix copy of default config file 2011-01-13 23:37:30 +01:00
Florent Le Coz
7509fb0002 Prompt password if no password is provided in config file 2011-01-13 23:20:17 +01:00
Florent Le Coz
c94be4761a Restaure the display of the kick's reason if available 2011-01-13 22:02:35 +01:00
Florent Le Coz
7994507bc3 Fix /bookmark command on non-MUC tabs 2011-01-13 20:34:17 +01:00
Florent Le Coz
086cc82e1e /close command closes MucListTab 2011-01-13 00:25:43 +01:00
Florent Le Coz
7b5407b7b7 Correctly refresh the screen on ^G on roster commands 2011-01-12 21:27:43 +01:00
Florent Le Coz
b10fd0d229 Update CHANGELOG and s/codingteam.net/dev.louiz.org/ 2011-01-12 21:23:03 +01:00
Florent Le Coz
7a9b9edee8 Fix // 2011-01-12 21:08:17 +01:00
Florent Le Coz
9d0d8b88b9 Fix the size of nicks in user_list window 2011-01-12 20:37:57 +01:00
Florent Le Coz
9237f79490 Have a notification when someone wants to suscribe to your presence 2011-01-12 20:37:28 +01:00
Florent Le Coz
28b2dbcc84 Fix InfoTab 2011-01-12 20:18:34 +01:00
Florent Le Coz
6d4e5c069e Finish the two default themes
And remove the automatic copy of the config files
2011-01-12 20:09:48 +01:00
Florent Le Coz
ce1fc18e10 Log messages from normal and private conversations as well 2011-01-12 18:34:04 +01:00
Florent Le Coz
22ad96e7aa Clean up the on_enter methods. fixed #2101 2011-01-12 17:19:14 +01:00
Florent Le Coz
2aa799fc26 fixed #2100 2011-01-12 17:12:25 +01:00
Florent Le Coz
621048dede Cleanly reset curses, so the term is never messed up after an exit 2011-01-12 16:53:07 +01:00
Florent Le Coz
7f6957b906 Avoid various crashes by denying the resize AND the refresh on too small size 2011-01-12 16:45:40 +01:00
Florent Le Coz
9f514d8c7d Avoid a traceback on remove_contact: 2011-01-12 07:50:12 +01:00
Florent Le Coz
1a44819269 Also, fix C-w 2011-01-12 07:18:17 +01:00
Florent Le Coz
fce9a60f9a Fix M-b and M-f, fixed #2102 2011-01-12 07:13:02 +01:00
Florent Le Coz
469bbd2900 /add and /remove commands, yay 2011-01-12 06:49:33 +01:00
Florent Le Coz
e016305c2b And fix the on_enter again (for commands) 2011-01-11 19:56:40 +01:00
Florent Le Coz
a8630190fd Avoid traceback on Enter in ChatTabs 2011-01-11 19:50:47 +01:00
Florent Le Coz
26b38c8107 Limit nick size to the user list width 2011-01-11 13:42:14 +01:00
Florent Le Coz
749933fc16 /accept and /deny commands
User can now decide to accept or deny a subscription, in
the roster
2011-01-11 06:43:31 +01:00
Florent Le Coz
6bb94cdf0b Displays the subscription and Ask states in the roster 2011-01-11 03:41:06 +01:00
Florent Le Coz
f7102ae33d And also that 2011-01-11 02:53:45 +01:00
Florent Le Coz
6b3fdec468 Fix // on roster 2011-01-11 02:52:00 +01:00
Florent Le Coz
5d4b0a9e2b Move the Contact Window in the left part of the roster tab 2011-01-11 02:49:43 +01:00
Florent Le Coz
9a81b923e6 Do not automatically reconnect. Ever 2011-01-10 19:28:17 +01:00
Florent Le Coz
63d2b8f06f Avoid traceback on text_win refresh 2011-01-10 18:59:34 +01:00
Florent Le Coz
97ee65fcb8 use fast search by default (s), and possibly use slow search (S) 2011-01-10 18:54:21 +01:00
Florent Le Coz
cb96bf4280 Handle correctly disconnections
When we are disconnected from the server and we reconnect,
do not reopen the MUCs in double.
2011-01-10 17:40:07 +01:00
Florent Le Coz
8e7b678506 Fix an error in textwin.refresh
a \n was added when the line was exactly the same width as the
window, so the next nick was one line too low
2011-01-10 17:24:37 +01:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1e17eeb7ea avoid a traceback on subject, whatever 2011-01-09 15:34:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
02a805679c remove the separator when it is at the bottom (unles the user maid M-v) 2011-01-09 02:23:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
3ef50faf76 Handle subject with no nick. And avoid duplicates 2011-01-09 01:54:36 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cfc3309009 restaure software version and local time 2011-01-09 00:09:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
8017b2d9f1 Handle authentication and connection errors. fixed #1994 2011-01-08 23:20:27 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
af651cbc46 MessageInput now have a 'draft' option. When you're typing a new message, ↑ and ↓ will keep the unfinished (and unsent) message in the history. fixed #1852 2011-01-06 20:46:38 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c2344d0d33 Fix input history, and avoid consecutive duplicates. fixed #1851 2011-01-06 19:57:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
850bde1655 remove useless debug 2011-01-05 14:19:17 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2c840b6bf8 correctly refresh the screen on got_offline/online 2011-01-05 02:02:53 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
828ed2991b also displays a message in ConversationTabs when a resource goes online 2011-01-05 01:59:26 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
98c32b05e8 same thing, but nicer code 2011-01-05 01:46:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1f2959d96e correctly displays a message in ConversationTabs when a resource goes offline 2011-01-05 01:41:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6de2673c8f fix ConversationTab's nicks when a contact has no name 2011-01-05 01:14:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
4ace901909 fix the refresh of textwin when there's no message yet 2011-01-05 01:06:25 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2e285cf426 fix a crash on resize of size 0×0 2011-01-05 00:28:26 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
073972a5c0 ask for NO history message when using /cycle 2011-01-04 03:36:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
81e71fee30 use the argument of /cycle as the part message 2011-01-04 03:08:44 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ea7fe6bb96 /cycle command 2011-01-04 03:05:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a1b609e0c4 displays message in ConversationTabs when a resource goes offline 2011-01-04 02:59:42 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
59195ffaff display the 'nickname' instead of the JID 2011-01-03 15:07:32 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ab85a3dc21 fix the log of MUC messages in files 2011-01-02 16:58:40 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c29cc8b15f also fix /join completion (using xep 30), and add a timeout 2011-01-02 16:00:47 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1135716518 fix /list with new SleekXMPP xep_0030 version. Also add some error handling and a '(loading)' information while waiting for the answer 2011-01-02 15:50:01 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
15f7340661 fixed #1901 Alt-U and Alt-Y scrolls the participant-list in MUCs 2011-01-01 15:37:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ea3e606d47 fix /recolor with the new nick_color method 2011-01-01 14:47:29 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d712d2e1c9 update copyright date 2011-01-01 13:27:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
94f44a5254 show_inactive_tabs lets the other chose if she wants to display ALL tabs or just those with activity 2011-01-01 13:17:54 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
61245f40eb fix InfoTab, fixed #2087 2010-12-31 13:05:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c3597c4257 use the theme color 2010-12-31 11:31:09 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
b815cbf055 fix some stuff, maybe 2010-12-31 11:23:56 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
3b2d28e6ee remote nickname is colored in ConversationTab 2010-12-31 10:52:15 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
9f4474be20 fixed #2072, fix TextWin refresh 2010-12-26 21:44:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cdb8128d32 fixed #1988 Traceback handler 2010-12-26 20:51:14 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
133cda1912 fix a traceback 2010-12-22 01:03:55 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cb9ec92655 little fix 2010-12-21 07:02:22 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
dc7910570c improve performances a little more. And avoid a very rare crash, too 2010-12-21 06:28:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ac3e0f7099 datetime.strftime seems (according to cProfile) to be VERY slow. Improve the refresh performances by reducing A LOT the number of call of this method 2010-12-21 05:43:57 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1c923fcdcc hop, fixed #2068 2010-12-18 18:54:55 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c7b021c55d stupid… 2010-12-17 21:09:37 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
acd047863c ^L now works 2010-12-17 21:06:59 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e07f631609 fix the Enter key on roster search 2010-12-17 18:58:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a41b036155 Also catch errors on config save 2010-12-17 14:48:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c7515605a7 correctly differentiate private and normal messages 2010-12-17 14:47:18 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
80a1fac0fe syntax 2010-12-17 14:40:08 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e6afe9d691 fix typo and catch NoSectionError in config 2010-12-17 14:39:44 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c77842e1be fixed #1892 save folded rosters and info_win_height in the config file 2010-12-17 14:36:14 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a13d768e0d config file can now have various section 2010-12-15 22:24:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
56dee2c7ee fix the issue of first private message received 2010-12-15 22:13:38 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
23aa5542b2 fixed #2037 2010-12-15 21:21:33 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7401c8ba57 do not complete our own nickname. fixed #2061 2010-12-15 19:32:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
289f5e65b8 fixed #2058 2010-12-15 17:26:34 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c38cb65080 fix print_scroll_position for private and conversation tabs 2010-12-15 17:15:46 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
883c0ec812 fix the /recolor command 2010-12-15 17:05:52 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ff24960b6a fix the ---- that I just broke 2010-12-15 16:10:53 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0db8bf7d46 HUGE performance improvement on refresh. fixed #1855 2010-12-15 15:40:43 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
24d6894b64 enter in MucListTab does like 'j' 2010-12-07 19:45:08 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
190fc0a1f7 fix 'j' on MucListTab when row number 0 is selected 2010-12-07 19:37:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
9671db5980 fixed #2036 (ctrl+l) 2010-12-07 16:37:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
62427ff401 (link mauve) fixed #2041 use JID class everywhere 2010-12-07 16:31:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d837ce2381 /list command, can join the room with J (cannot sort, search or filter yet, and lacks some information) 2010-12-07 16:20:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2b58f653b7 fix default config path 2010-12-06 19:17:12 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a96188385f can now complete with NOTHING in the node 2010-11-29 18:54:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cbcec6a798 completion of the jid's node when doing /join ro@some.server.fr/[TAB](it completes the 'ro' part \o/. Also a begining of /list command, but that does nothing 2010-11-29 18:36:54 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
69e335c0ad fix last_words_completion 2010-11-27 02:41:45 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
956a33f0d0 fix // 2010-11-25 03:20:01 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
435bdd6e85 command completion. Also completion for command's arguments. (try it to complete the server of the muc with /join test@kiko[TAB] for example 2010-11-25 03:04:03 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c1a62ac897 fix the comment, too 2010-11-24 06:03:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e1ed45ae5f error are also displayed in non-muc rooms. fixed #2028 2010-11-24 05:55:36 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d3dc3ef251 Global commands AND tab-specific commands. fixed #2027 2010-11-24 05:41:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d0cfb69b02 fix ctrl+F on roster 2010-11-23 15:25:18 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0648da85bc fasten the refresh of Private and Normal tabs, on input 2010-11-23 13:46:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d803d5f95a fix the crash on '/' in the roster 2010-11-22 02:48:24 +00:00