summaryrefslogtreecommitdiff
path: root/src/xhtml.py
AgeCommit message (Collapse)Author
2013-06-06Do not traceback when receiving malformed XML in a xhtml-im bodyFlorent Le Coz
2013-05-16Fix the parser for the rainbow pluginmathieui
2013-05-14Rewrite the poezio colors parser (also Fix #2279)mathieui
The parser now handles text with multiple style attributes (e.g. bold, underlined and red text).
2013-04-19Actually use the deprecated method for versions INFERIOR to 3.2mathieui
2013-04-18Use ''.join(str) instead of str += …mathieui
Should improve speed on xhtml parsing, but be noticeable only with *heavy* (e.g. 1000chars with the rainbow plugin) xhtml stanzas.
2013-03-06FIX XHTML ISSUES DUE TO A SLEEKXMPP UPDATEmathieui
(THE NAMESPACE WAS NOT PRESENT ANYMORE)
2013-03-04Fix /xhtmlmathieui
2013-02-28Fix a traceback due to a sleekxmpp API changemathieui
- remove the help message for people still using the old custom sleekxmpp repo
2013-01-17Move to the upstream SleekXMPPmathieui
- remove the decline command that is not in the trunk (and mediated declines are supported nowhere anyway) - change a bit xhtml-im support - change the bookmarks management a bit - Add a verification to avoid crashing when poezio will be launched the next time - Fix the (unrelated) bug when setting a jid affiliation
2012-07-29Implement the sending of underlined text in xhtml-im messages (C-c u).Florent Le Coz
Note that a portion of text can NOT have a color AND be underlined at the same time, but it's not really tragic (see comment in source code).
2012-05-21Docstrings, and small cleanupmathieui
2012-05-13Catch a possible exception when trying to retrieve the rgb value in cursesmathieui
Fixes #2354
2012-02-07Fixed #2328mathieui
2012-01-30Do not crash when given a link without textmathieui
(e.g <a href="example.com"/>)
2011-11-11Fix the xhtml parser (do not add wrong colors)mathieui
2011-11-08Merge branch 'master' into pluginsFlorent Le Coz
Conflicts: src/tabs.py src/xhtml.py
2011-11-08escape <, > and & in xhtml-im bodies.Florent Le Coz
2011-11-08poezio_colors_to_html now takes full colors (\x19xxx}) to generate the xhtml ↵Florent Le Coz
code (cherry picked from commit 2b9a43ce6a5fa6ad93ab570a99d4d92337a40110)
2011-11-08Fix the curses -> html color conversionFlorent Le Coz
(cherry picked from commit 689f17cfd79b152d3ca75e570f9f13f70aa6c425)
2011-11-08Add a function to convert ncurses colors to HTML color code.Florent Le Coz
(cherry picked from commit 04f103b9e67ccd1de7376be4f7b5156ec425e99c)
2011-11-07poezio_colors_to_html now takes full colors (\x19xxx}) to generate the xhtml ↵Florent Le Coz
code
2011-11-07Little cleanupFlorent Le Coz
2011-11-07Fix the curses -> html color conversionFlorent Le Coz
2011-11-07Add a function to convert ncurses colors to HTML color code.Florent Le Coz
2011-11-06Fix the sending of colors in private.Florent Le Coz
fixes #2287
2011-10-20Fix crash on completion of recent words containing xhtml-im attributesFlorent Le Coz
fixes #2278
2011-09-29use getiterator if python < 3.2Florent Le Coz
2011-09-24tgFlorent Le Coz
2011-09-24mergeFlorent Le Coz
2011-09-23Really, really fix whitespace handling.Emmanuel Gil Peyrot
2011-09-23Really fix whitespace handling, and malformed CSS.Emmanuel Gil Peyrot
2011-09-23Do not remove trailing spaces in an XHTML-IM element’s text.Florent Le Coz
2011-09-23make colors work with 3-digits color numbersFlorent Le Coz
2011-09-23Fix whitespace handling in XHTML.Emmanuel Gil Peyrot
2011-09-23Add support for 256 colors in XHTML messages, and fix a stupid bug with img ↵Emmanuel Gil Peyrot
without @alt.
2011-09-19Remove Elinks support and add a pure python XHTML/CSS parser.Emmanuel Gil Peyrot
2011-09-11Change license to zlib (MIT sucks :()Florent Le Coz
2011-08-16Do not print a message on the screen on errorFlorent Le Coz
2011-06-04fix the display of the action 'emptying the status', and some few minor changesmathieui
2011-05-27Fixes #2137 (altough it could have been done better)mathieui
2011-05-13Don’t break xhtml-immathieui
2011-05-13Fix a traceback on C-c ❶ or C-c ², etcmathieui
2011-05-11should fix #2161, and enable xhtml-im while in debugmathieui
2011-05-04Fix python 3.1 compatmathieui
2011-05-04fixes #2148, #2156, #2155mathieui
2011-04-10Fix the dispay of links in xhtml messages. Reenabling xhtml-im by defaultFlorent Le Coz
2011-04-04Disable xhtml-im by defaultFlorent Le Coz
2011-03-31Fix a crash on normal messages, and add colors to information messagesFlorent Le Coz
2011-03-30Fix the generated xhtml: span was closed too often at the endFlorent Le Coz
2011-03-30Finish colors support with xhtml (clean the elinks dump, handle the input etc)Florent Le Coz