Thread overview |
---|
September 23, 2006 [Issue 363] New: XHTML support | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=363 Summary: XHTML support Product: D Version: 0.167 Platform: PC OS/Version: Linux Status: NEW Keywords: patch Severity: enhancement Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: thomas-dloop@kuehne.cn The attached patches add XHTML support to dgcc-r19 and dmd-0.167. Changes: * treat "<code />" correctly * handle "<![CDATA[" and "]]>" * support the file extension ".xhtml" -- |
September 23, 2006 [Issue 363] XHTML support | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=363 ------- Comment #1 from thomas-dloop@kuehne.cn 2006-09-23 07:08 ------- Created an attachment (id=31) --> (http://d.puremagic.com/issues/attachment.cgi?id=31&action=view) XHTML support for dgcc (subversion revision 19) -- |
September 23, 2006 [Issue 363] XHTML support | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=363 ------- Comment #2 from thomas-dloop@kuehne.cn 2006-09-23 07:08 ------- Created an attachment (id=32) --> (http://d.puremagic.com/issues/attachment.cgi?id=32&action=view) XHTML support for DMD-0.167 -- |
October 05, 2006 [Issue 363] XHTML support | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=363 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from bugzilla@digitalmars.com 2006-10-04 20:00 ------- Incorporated DMD 0.168 -- |
October 12, 2006 [Issue 363] XHTML support | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=363 thomas-dloop@kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #4 from thomas-dloop@kuehne.cn 2006-10-12 03:35 ------- The html.c source included in dmd-0.168/0.169 isn't the source used for compiling dmd-0.168/0.169. Thus the dmd binaries don't support parsing of XHTML source files. html.c:529: int lineSepLength = isLineSeperator(p); The implementation of isLineSeparator can't be found in DMD's frontend sources(it was introduced into GDC-0.10's frontend for simplifying parsing). Due to a typo, GDC calls this function isLineSeperator instead of isLineSeparator. /** * identify DOS, Linux, Mac, Next and Unicode line endings * 0 if this is no line separator * >0 the length of the separator * Note: input has to be UTF-8 */ static int isLineSeparator(const unsigned char* p){ // Linux if( p[0]=='\n'){ return 1; } // Mac & Dos if( p[0]=='\r'){ return (p[1]=='\n') ? 2 : 1; } // Unicode (line || paragraph sep.) if( p[0]==0xE2 && p[1]==0x80 && (p[2]==0xA8 || p[2]==0xA9)){ return 3; } // Next if( p[0]==0xC2 && p[1]==0x85){ return 2; } return 0; } -- |
November 25, 2006 [Issue 363] XHTML support | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=363 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #5 from bugzilla@digitalmars.com 2006-11-25 03:50 ------- Incorporated DMD 0.175 -- |
Copyright © 1999-2021 by the D Language Foundation