Commit graph

917 commits

Author SHA1 Message Date
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
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
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
Florent Le Coz
2c9cbc9f58 avoid a crash on invalid colors
(cherry picked from commit 15780364cf)
2011-11-08 00:14: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
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
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
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
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
0315b05f51 Fix the sending of colors in private.
fixes #2287
2011-11-06 19:22:20 +01:00
Florent Le Coz
7d861ee885 Fix another thing related to Room removale 2011-11-06 17:31:56 +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
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
fc77f2d1d0 Merge branch 'master' of https://git.louiz.org/poezio 2011-11-05 03:08:44 +01:00
Florent Le Coz
bb572219d1 Add documentation for themes. 2011-11-05 03:08:15 +01:00
mathieui
44ee989658 Merge branch 'master' of https://git.louiz.org/poezio 2011-11-03 08:58:14 +01:00
mathieui
a603f46906 Fix a typo that causes a curses TB 2011-11-03 08:57:21 +01:00
Florent Le Coz
7e8ea8e47f Merge branch 'doc' 2011-11-03 03:42:19 +01:00
Florent Le Coz
af64505feb Merge remote-tracking branch 'myrtille/doc' into doc
Conflicts:
	doc/en/configure.txt
2011-11-03 00:09:09 +01:00
mathieui
0872d69eb4 Add the configuration "help" 2011-11-03 00:00:43 +01:00
Florent Le Coz
027b2e2148 Fix the key configuration example 2011-11-02 20:24:23 +01:00
Florent Le Coz
ebef15ec40 Add configure and keys documentation, also edit some default configuration values. 2011-11-02 20:21:09 +01:00
mathieui
971aad1e0e Doc: how to install poezio 2011-11-01 23:52:22 +01:00
Florent Le Coz
4e40512ff9 First example of a documentation page + makefile to build the doc 2011-11-01 23:25:52 +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