diff options
| author | michael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2009-01-22 21:53:30 +0000 |
|---|---|---|
| committer | michael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2009-01-22 21:53:30 +0000 |
| commit | 793f861ded00a02df2d6b92ae396fe201d40310d (patch) | |
| tree | 6ab91c337b5f9fe5242daa23ebb2cba7fd02ea1d /packages/fcl-xml/Makefile.fpc | |
| parent | 63ae2905933db9e982be4e85e1cff5b502bd7ae8 (diff) | |
| download | fpc-793f861ded00a02df2d6b92ae396fe201d40310d.tar.gz | |
* Patch from Sergei Gorelkin:
* Changed the design of input decoders so they process data by chunks
instead of char-by-char. It is much faster, and allows supporting
external pluggable decoders.
+ Interface for external decoders.
* ResolvePredefined() is rewritten so it doesn't call CompareMem five
times do determine a single char.
* ParseCharRef renamed to ParseRef, because it parses entity refs as
well.
* Added guard conditions to prevent integer overflows in ParseRef.
* ContextPush(TXMLCharSource) merged into Initialize().
xmliconv.pas is a new unit, containing an libiconv-based decoder. It depends on existing iconvenc package, and
thus supports all platforms that are supported by iconvenc.
xmliconv_windows.pas is the variation that allows to use libiconv functionality on Windows (It would require
the iconv.dll to be distributed with the application, but since I haven't succeeded yet in writing a native
Windows decoder, this is better than nothing).
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@12582 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-xml/Makefile.fpc')
| -rw-r--r-- | packages/fcl-xml/Makefile.fpc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/fcl-xml/Makefile.fpc b/packages/fcl-xml/Makefile.fpc index 4c1922df37..a3efc208e5 100644 --- a/packages/fcl-xml/Makefile.fpc +++ b/packages/fcl-xml/Makefile.fpc @@ -8,10 +8,18 @@ version=2.2.2 [target] units=htmldefs sax xmlutils dom sax_html dom_html xmlcfg xmlread xmlstreaming xmlwrite xhtml htmwrite xpath htmlelements htmlwriter xmlconf sax_xml +units_linux=xmliconv +units_freebsd=xmliconv +units_darwin=xmliconv +units_win64=xmliconv_windows +units_win32=xmliconv_windows rsts=sax xpath htmlwriter xmlconf [require] packages=fcl-base +packages_linux=iconvenc +packages_darwin=iconvenc +packages_freebsd=iconvenc [compiler] options=-S2h |
