Commit graph

42 commits

Author SHA1 Message Date
mathieui
93c17f8ece Fixed #2328 2012-02-07 21:47:40 +01:00
mathieui
e74a640fdd Do not crash when given a link without text
(e.g <a href="example.com"/>)
2012-01-30 01:10:41 +01:00
mathieui
632175b79f Fix the xhtml parser (do not add wrong colors) 2011-11-11 23:55:31 +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
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
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
04f103b9e6 Add a function to convert ncurses colors to HTML color code. 2011-11-07 19:43:13 +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
aa6738800d Fix crash on completion of recent words containing xhtml-im attributes
fixes #2278
2011-10-20 21:55:24 +02:00
Florent Le Coz
c89d9a3aa4 use getiterator if python < 3.2 2011-09-29 23:19:21 +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
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
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
96794a4e49 Change license to zlib (MIT sucks :() 2011-09-11 17:10:05 +02:00
Florent Le Coz
d917ec5ea2 Do not print a message on the screen on error 2011-08-16 14:53:29 +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
2d570a4028 Fixes #2137 (altough it could have been done better) 2011-05-27 23:36:20 +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
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
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
cb1abbd945 Disable xhtml-im by default 2011-04-04 19:19:27 +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
5e3381f6d4 Add files for xhtml containing xhtml->shell colors and shell colors->poezio colors 2011-03-29 16:11:37 +02:00