Commit graph

891 commits

Author SHA1 Message Date
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