You can subscribe to this list here.
2005 |
Jan
(4) |
Feb
(37) |
Mar
(7) |
Apr
(9) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
(12) |
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
(18) |
Aug
(36) |
Sep
(15) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(2) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(3) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Martin Q. <mqu...@us...> - 2005-02-10 11:31:29
|
Update of /cvsroot/flexml/CVSROOT In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8409 Modified Files: loginfo Log Message: use unified diffs Index: loginfo =================================================================== RCS file: /cvsroot/flexml/CVSROOT/loginfo,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** loginfo 25 Jan 2005 07:52:37 -0000 1.3 --- loginfo 10 Feb 2005 11:31:19 -0000 1.4 *************** *** 25,27 **** # or #DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog ! DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail -q -S ' ' -R fle...@li... %{sVv} fle...@li... --- 25,27 ---- # or #DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog ! DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail -q -S ' ' -u -R fle...@li... %{sVv} fle...@li... |
From: Martin Q. <mqu...@us...> - 2005-02-10 11:26:26
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5969/debian Modified Files: changelog control Log Message: build-dep on flex Index: control =================================================================== RCS file: /cvsroot/flexml/flexml/debian/control,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** control 10 Feb 2005 10:54:06 -0000 1.5 --- control 10 Feb 2005 11:26:17 -0000 1.6 *************** *** 4,8 **** Maintainer: Martin Quinson <mqu...@de...> Uploaders: Kristoffer H. Rose <kri...@de...>, Martin Quinson <mqu...@de...> ! Build-Depends: libwww-perl, debhelper (>>4.0.0), liburi-perl, libdate-calc-perl Standards-Version: 3.5.10 --- 4,8 ---- Maintainer: Martin Quinson <mqu...@de...> Uploaders: Kristoffer H. Rose <kri...@de...>, Martin Quinson <mqu...@de...> ! Build-Depends: libwww-perl, debhelper (>>4.0.0), liburi-perl, libdate-calc-perl, flex Standards-Version: 3.5.10 Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** changelog 10 Feb 2005 11:18:26 -0000 1.10 --- changelog 10 Feb 2005 11:26:17 -0000 1.11 *************** *** 31,34 **** --- 31,35 ---- * Switch from the deprecated dh_installmanpages to dh_installman * Conflict with flex-old now that Arnaud fixed the issues + * Build-dep on flex * Remove EnlargeFlex.patch from the debian package since this is integrated in the stable version of flex (!) |
From: Martin Q. <mqu...@us...> - 2005-02-10 11:18:37
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2682/debian Modified Files: changelog Log Message: recognize the encoding attribute of the XML tag (Closes: #62171) Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** changelog 10 Feb 2005 11:13:51 -0000 1.9 --- changelog 10 Feb 2005 11:18:26 -0000 1.10 *************** *** 2,6 **** The "back to life" version (hopefully). ! [Arnaud Legrand] * Fix a few bugs and make gcc happy. --- 2,6 ---- The "back to life" version (hopefully). ! [Arnaud Legrand] * Fix a few bugs and make gcc happy. *************** *** 17,21 **** not occur. * Avoid using "new" as identifier since it breaks C++ ! [Martin Quinson] (upstream) --- 17,21 ---- not occur. * Avoid using "new" as identifier since it breaks C++ ! [Martin Quinson] (upstream) *************** *** 33,38 **** * Remove EnlargeFlex.patch from the debian package since this is integrated in the stable version of flex (!) ! -- Martin Quinson <mqu...@de...> Thu, 10 Feb 2005 10:25:45 +0100 flexml (1-6.1) unstable; urgency=low --- 33,39 ---- * Remove EnlargeFlex.patch from the debian package since this is integrated in the stable version of flex (!) + * recognize the encoding attribute of the XML tag (Closes: #62171) ! -- Martin Quinson <mqu...@de...> Thu, 10 Feb 2005 12:17:40 +0100 flexml (1-6.1) unstable; urgency=low |
From: Martin Q. <mqu...@us...> - 2005-02-10 11:18:36
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2682 Modified Files: skel Log Message: recognize the encoding attribute of the XML tag (Closes: #62171) Index: skel =================================================================== RCS file: /cvsroot/flexml/flexml/skel,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** skel 10 Feb 2005 10:47:25 -0000 1.21 --- skel 10 Feb 2005 11:18:26 -0000 1.22 *************** *** 197,201 **** <PROLOG>{ ! "<?xml"({S}version{Eq}(\'{VersionNum}\'|\"{VersionNum}\"))?"?>" SET(DOCTYPE); "<?xml"[^>]*">" FAIL("Bad declaration %s.",yytext); } --- 197,201 ---- <PROLOG>{ ! "<?xml"({S}version{Eq}(\'{VersionNum}\'|\"{VersionNum}\"))?({S}encoding{Eq}(\'[^']*\'|\"[^"]*\"))?"?>" SET(DOCTYPE); "<?xml"[^>]*">" FAIL("Bad declaration %s.",yytext); } |
From: Martin Q. <mqu...@us...> - 2005-02-10 11:14:01
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv930/debian Modified Files: changelog Log Message: Do not include the header if it wasn't generated (Closes: #62172) Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** changelog 10 Feb 2005 10:57:01 -0000 1.8 --- changelog 10 Feb 2005 11:13:51 -0000 1.9 *************** *** 25,28 **** --- 25,29 ---- * Let the dist target work (and don't add the debian/ dir since flexml should't be a native package) + * Do not include the header if it wasn't generated (Closes: #62172) (debian package) * Put myself as maintainer. Thanks and kudos to Kristoffer for his work on |
From: Martin Q. <mqu...@us...> - 2005-02-10 11:14:00
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv930 Modified Files: flexml.pl Log Message: Do not include the header if it wasn't generated (Closes: #62172) Index: flexml.pl =================================================================== RCS file: /cvsroot/flexml/flexml/flexml.pl,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** flexml.pl 10 Feb 2005 10:47:25 -0000 1.37 --- flexml.pl 10 Feb 2005 11:13:51 -0000 1.38 *************** *** 1116,1121 **** else { print "/* XML processor api. */\n"; ! print "#include \"$HEADER\"\n"; ! print "\n"; api_data(''); } --- 1116,1121 ---- else { print "/* XML processor api. */\n"; ! print "#include \"$HEADER\"\n\n" ! if ($opt{H}); api_data(''); } |
From: Martin Q. <mqu...@us...> - 2005-02-10 10:57:15
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26873/debian Modified Files: changelog Log Message: Document last changes Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** changelog 25 Jan 2005 08:20:26 -0000 1.7 --- changelog 10 Feb 2005 10:57:01 -0000 1.8 *************** *** 1,9 **** flexml (1.1-1) unstable; urgency=low [Arnaud Legrand] * Fix a few bugs and make gcc happy. * Make flexml work with the current flex (closes: #192692, #192243). * Change the build-dep to flex and make lintian happy. ! [William Dowling] * Handle ']' at end of CDATA like: <![CDATA[val xxx]]]>; --- 1,11 ---- flexml (1.1-1) unstable; urgency=low + The "back to life" version (hopefully). + [Arnaud Legrand] * Fix a few bugs and make gcc happy. * Make flexml work with the current flex (closes: #192692, #192243). * Change the build-dep to flex and make lintian happy. ! [William Dowling] * Handle ']' at end of CDATA like: <![CDATA[val xxx]]]>; *************** *** 15,20 **** not occur. * Avoid using "new" as identifier since it breaks C++ ! -- Arnaud Legrand <Arn...@im...> Wed, 5 Jan 2005 10:27:58 -0800 flexml (1-6.1) unstable; urgency=low --- 17,37 ---- not occur. * Avoid using "new" as identifier since it breaks C++ + + [Martin Quinson] + (upstream) + * Let the user decide whether they want to keep the parser quiet and use + the second feature introduced by William above (flag -q), or if they + want to stick to the old behaviour (by default). + * Let the dist target work (and don't add the debian/ dir since flexml + should't be a native package) + (debian package) + * Put myself as maintainer. Thanks and kudos to Kristoffer for his work on + this neat tool. + * Switch from the deprecated dh_installmanpages to dh_installman + * Conflict with flex-old now that Arnaud fixed the issues + * Remove EnlargeFlex.patch from the debian package since this is + integrated in the stable version of flex (!) ! -- Martin Quinson <mqu...@de...> Thu, 10 Feb 2005 10:25:45 +0100 flexml (1-6.1) unstable; urgency=low |
From: Martin Q. <mqu...@us...> - 2005-02-10 10:56:17
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26509/debian Modified Files: copyright Log Message: thin update Index: copyright =================================================================== RCS file: /cvsroot/flexml/flexml/debian/copyright,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** copyright 27 Jun 2003 08:58:40 -0000 1.2 --- copyright 10 Feb 2005 10:56:01 -0000 1.3 *************** *** 1,4 **** This package is developed for Debian GNU/Linux on Debian GNU/Linux by ! Kristoffer Rose <kri...@de...>. It is available from <http://flexml.sourceforge.net/> --- 1,4 ---- This package is developed for Debian GNU/Linux on Debian GNU/Linux by ! Kristoffer Rose <kri...@de...> and others. It is available from <http://flexml.sourceforge.net/> |
From: Martin Q. <mqu...@us...> - 2005-02-10 10:55:17
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26063/debian Modified Files: rules Log Message: Remove obsolete EnlargeFlex.patch, switch from obsolete dh_installmanpages Index: rules =================================================================== RCS file: /cvsroot/flexml/flexml/debian/rules,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** rules 12 Feb 2003 02:55:41 -0000 1.3 --- rules 10 Feb 2005 10:55:07 -0000 1.4 *************** *** 28,31 **** --- 28,32 ---- dh_installdirs $(MAKE) install DESTDIR=`pwd`/debian/tmp + rm debian/tmp/usr/share/doc/flexml/EnlargeFlex.patch touch install-stamp *************** *** 41,45 **** dh_installdocs dh_installexamples ! dh_installmanpages dh_installchangelogs dh_link --- 42,46 ---- dh_installdocs dh_installexamples ! dh_installman flexml.1 dh_installchangelogs dh_link |
From: Martin Q. <mqu...@us...> - 2005-02-10 10:54:16
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25658/debian Modified Files: control Log Message: Take the maintainership, add a conflict to flex-old Index: control =================================================================== RCS file: /cvsroot/flexml/flexml/debian/control,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** control 5 Jan 2005 18:52:51 -0000 1.4 --- control 10 Feb 2005 10:54:06 -0000 1.5 *************** *** 2,6 **** Section: devel Priority: optional ! Maintainer: Kristoffer H. Rose <kri...@de...> Build-Depends: libwww-perl, debhelper (>>4.0.0), liburi-perl, libdate-calc-perl Standards-Version: 3.5.10 --- 2,7 ---- Section: devel Priority: optional ! Maintainer: Martin Quinson <mqu...@de...> ! Uploaders: Kristoffer H. Rose <kri...@de...>, Martin Quinson <mqu...@de...> Build-Depends: libwww-perl, debhelper (>>4.0.0), liburi-perl, libdate-calc-perl Standards-Version: 3.5.10 *************** *** 10,13 **** --- 11,15 ---- Depends: ${shlibs:Depends}, libwww-perl, liburi-perl, libdate-calc-perl Recommends: flex + Conflicts: flex-old Description: generate fast validating XML processors and applications FleXML makes it easy to generate very fast validating XML processors |
From: Martin Q. <mqu...@us...> - 2005-02-10 10:50:13
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24008 Modified Files: Makefile Log Message: Do not add the debian dir into the tarball: flexml shouldn't be a native package Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** Makefile 10 Feb 2005 10:33:52 -0000 1.29 --- Makefile 10 Feb 2005 10:50:05 -0000 1.30 *************** *** 97,101 **** cp $(STUFF) $(DATA) $(DOCS) $(HTMLS) $(SAMPS) flexml-act-bootstrap.c flexml-$(VER)/ cp -r examples flexml-$(VER)/ - cp -r debian flexml-$(VER)/ find flexml-$(VER) -name CVS | xargs rm -rf find flexml-$(VER) -name .cvsignore | xargs rm -rf --- 97,100 ---- |
From: Martin Q. <mqu...@us...> - 2005-02-10 10:47:50
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22851 Modified Files: flexml.pl skel Log Message: Add a -q flag to keep the parser quiet (not writting on stderr) ; Add some function prototypes so that generated parsers compile with -Wmissing-prototypes Index: skel =================================================================== RCS file: /cvsroot/flexml/flexml/skel,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** skel 24 Jan 2005 20:44:03 -0000 1.20 --- skel 10 Feb 2005 10:47:25 -0000 1.21 *************** *** 60,63 **** --- 60,64 ---- #define FAIL return fail static int fail(const char*, ...); + const char * parse_err_msg(void); /* Text buffer stack handling. */ *************** *** 334,339 **** chars_left = flexml_max_err_msg_size - used - 1; vsnprintf(flexml_err_msg + used, chars_left, fmt, ap); - va_end(ap); return 1; } --- 335,346 ---- chars_left = flexml_max_err_msg_size - used - 1; vsnprintf(flexml_err_msg + used, chars_left, fmt, ap); va_end(ap); + + #ifndef FLEXML_quiet_parser + /* print directly to sdterr */ + fprintf(stderr, "%s", flexml_err_msg); + flexml_err_msg[0] = '\0'; + #endif + return 1; } Index: flexml.pl =================================================================== RCS file: /cvsroot/flexml/flexml/flexml.pl,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** flexml.pl 24 Jan 2005 21:47:29 -0000 1.36 --- flexml.pl 10 Feb 2005 10:47:25 -0000 1.37 *************** *** 51,54 **** --- 51,55 ---- my $lineno; # -L option flag my $nofail; # -X option flag + my $quiet_parser; # -q option flag my $uri; # -u option uri my $pubid; # -p option string *************** *** 459,463 **** # Parse options. ! $Use = "Usage: flexml [-ASHDvdnLXV] [-s skel] [-p pubid] [-u uri]\n" . " [-r roottags] [-a actions] name[.dtd]"; --- 460,464 ---- # Parse options. ! $Use = "Usage: flexml [-ASHDvdqnLXV] [-s skel] [-p pubid] [-u uri]\n" . " [-r roottags] [-a actions] name[.dtd]"; *************** *** 475,478 **** --- 476,482 ---- $lineno = $opt{L}; + # Quiet parser? + $quiet_parser = $opt{q}; + # Exit without fail message? $nofail = $opt{X}; *************** *** 1043,1046 **** --- 1047,1054 ---- print "extern int yylex(void);\n"; print "\n"; + + print "/* Flexml error handling function (useful only when -q flag passed to flexml) */\n"; + print "const char * parse_err_msg(void);\n"; + print "#endif\n"; *************** *** 1094,1097 **** --- 1102,1106 ---- print "#define FLEXML_yylineno\n" if $lineno; print "#define FLEXML_NOFAIL\n" if $nofail; + print "#define FLEXML_quiet_parser\n" if $quiet_parser; print "#define FLEXML_HasMixed\n" if %inmixed; print "#define FLEXML_BUFFERSTACKSIZE 100000\n"; *************** *** 1674,1677 **** --- 1683,1693 ---- overhead is significant.) + =item B<-q> + + Prevents the XML processor (as produced by I<flex>(1)) from reporting + the error it runs into on stderr. Instead, users will have to pool for + error messages with the parse_err_msg() function. + By default, error messages are written on stderr. + =item B<-n> |
From: Martin Q. <mqu...@us...> - 2005-02-10 10:34:00
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16993 Modified Files: Makefile Log Message: Let the dist target do its job (a compressed tarball) Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** Makefile 5 Jan 2005 18:51:35 -0000 1.28 --- Makefile 10 Feb 2005 10:33:52 -0000 1.29 *************** *** 23,26 **** --- 23,28 ---- # FILES. + VER = 1.1 + STUFF = GPL Makefile flexml.pl FleXML.html BINS = flexml *************** *** 28,33 **** DATA = skel MANS = flexml.1 ! DOCS = README flexml-act.dtd EnlargeFlex.patch ! HTMLS = index.html flexml.html paper.html SAMPS = #SAMPS = my.dtd my-show.act my-joke.xml my-joke2.xml my-joke3.xml \ --- 30,36 ---- DATA = skel MANS = flexml.1 ! DOCS = README NOTES TODO flexml-act.dtd EnlargeFlex.patch ! HTMLS = FleXML.html ! # index.html flexml.html paper.html SAMPS = #SAMPS = my.dtd my-show.act my-joke.xml my-joke2.xml my-joke3.xml \ *************** *** 90,98 **** --- 93,113 ---- dist: clean + @echo "Building distribution..." + mkdir flexml-$(VER)/ + cp $(STUFF) $(DATA) $(DOCS) $(HTMLS) $(SAMPS) flexml-act-bootstrap.c flexml-$(VER)/ + cp -r examples flexml-$(VER)/ + cp -r debian flexml-$(VER)/ + find flexml-$(VER) -name CVS | xargs rm -rf + find flexml-$(VER) -name .cvsignore | xargs rm -rf + tar cvfz flexml-$(VER).tar.gz flexml-$(VER) + rm -rf flexml-$(VER)/ + #rsync -v FleXML.html $(WEBHOME)/FleXML.html #rsync -va --cvs-exclude --delete-excluded ./ $(FTPHOME)/ clean::; @echo "Cleaning..." + $(RM) -rf flexml-$(VER)/ $(RM) *.[olh1] *-dummy.? lex.* *~ ./#* + find -name '*~' | xargs $(RM) test:: all @echo "Testing..." |
From: Martin Q. <mqu...@us...> - 2005-01-25 08:20:37
|
Update of /cvsroot/flexml/flexml/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10415/debian Modified Files: changelog Log Message: Document last changes of William Index: changelog =================================================================== RCS file: /cvsroot/flexml/flexml/debian/changelog,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** changelog 5 Jan 2005 18:54:14 -0000 1.6 --- changelog 25 Jan 2005 08:20:26 -0000 1.7 *************** *** 1,8 **** ! flexml (1-6.2) unstable; urgency=low * Fix a few bugs and make gcc happy. * Make flexml work with the current flex (closes: #192692, #192243). * Change the build-dep to flex and make lintian happy. -- Arnaud Legrand <Arn...@im...> Wed, 5 Jan 2005 10:27:58 -0800 --- 1,19 ---- ! flexml (1.1-1) unstable; urgency=low + [Arnaud Legrand] * Fix a few bugs and make gcc happy. * Make flexml work with the current flex (closes: #192692, #192243). * Change the build-dep to flex and make lintian happy. + [William Dowling] + * Handle ']' at end of CDATA like: <![CDATA[val xxx]]]>; + * Do not print to stderr: add primitive error message facility; + [requests the user to pool for error messages with parse_err_msg()] + * Allow multiple calls/multiple returns, so flexml-generated parsers + can parse document sequences (>1 document in a stream); + * Allow failure from all states (<*>) so flex scanner jammed does + not occur. + * Avoid using "new" as identifier since it breaks C++ + -- Arnaud Legrand <Arn...@im...> Wed, 5 Jan 2005 10:27:58 -0800 |
From: Martin Q. <mqu...@us...> - 2005-01-25 07:52:46
|
Update of /cvsroot/flexml/CVSROOT In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5351 Modified Files: loginfo Log Message: Produce unified diffs, fix reply-to of commit mails Index: loginfo =================================================================== RCS file: /cvsroot/flexml/CVSROOT/loginfo,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** loginfo 6 Jan 2005 19:24:19 -0000 1.2 --- loginfo 25 Jan 2005 07:52:37 -0000 1.3 *************** *** 25,27 **** # or #DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog ! DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv} fle...@li... --- 25,27 ---- # or #DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog ! DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail -q -S ' ' -R fle...@li... %{sVv} fle...@li... |
From: William D. <wdo...@us...> - 2005-01-24 21:48:05
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20481 Modified Files: flexml.pl Log Message: Remove compiler complaint about (void *) <-> (const char **) conversion. Index: flexml.pl =================================================================== RCS file: /cvsroot/flexml/flexml/flexml.pl,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** flexml.pl 5 Jan 2005 06:29:58 -0000 1.35 --- flexml.pl 24 Jan 2005 21:47:29 -0000 1.36 *************** *** 1143,1147 **** print " /* FleXML_init */\n"; ! print " if(!statenames) statenames=calloc(IMPOSSIBLE,sizeof(char*));\n"; for ('PROLOG','DOCTYPE','EPILOG','INCOMMENT','INPI','VALUE1','VALUE2','CDATA') { print " statenames[$_] = NULL;\n"; --- 1143,1147 ---- print " /* FleXML_init */\n"; ! print " if(!statenames) statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*));\n"; for ('PROLOG','DOCTYPE','EPILOG','INCOMMENT','INPI','VALUE1','VALUE2','CDATA') { print " statenames[$_] = NULL;\n"; |
From: William D. <wdo...@us...> - 2005-01-24 20:44:27
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7371 Modified Files: skel Log Message: - Handle ] at end of CDATA like: <![CDATA[val xxx]]]>; - Do not print to stderr: add primitive error message facility; - Allow multiple calls/multiple returns, so flexml-generated parsers can parse document sequences (>1 document in a stream); - Allow failure from all states (<*>) so flex scanner jammed does not occur. Index: skel =================================================================== RCS file: /cvsroot/flexml/flexml/skel,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** skel 5 Jan 2005 18:49:27 -0000 1.19 --- skel 24 Jan 2005 20:44:03 -0000 1.20 *************** *** 1,8 **** /* Flex(1) XML processor skeleton scanner (in -*-C-*-). * Copyright © 1999 Kristoffer Rose. All rights reserved. ! * * This file is part of the FleXML XML processor generator system. * Copyright © 1999 Kristoffer Rose. All rights reserved. ! * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free --- 1,8 ---- /* Flex(1) XML processor skeleton scanner (in -*-C-*-). * Copyright © 1999 Kristoffer Rose. All rights reserved. ! * * This file is part of the FleXML XML processor generator system. * Copyright © 1999 Kristoffer Rose. All rights reserved. ! * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free *************** *** 65,69 **** char* limit = bufferstack + FLEXML_BUFFERSTACKSIZE; typedef struct BufferLast_s { ! struct BufferLast_s *old; char* saved; char new[1]; } BufferLast; BufferLast* last = (BufferLast*)0; --- 65,69 ---- char* limit = bufferstack + FLEXML_BUFFERSTACKSIZE; typedef struct BufferLast_s { ! struct BufferLast_s *old; char* saved; char new1[1]; } BufferLast; BufferLast* last = (BufferLast*)0; *************** *** 82,86 **** if (isspace(*s)) { BUFFERPUTC(' '); while (isspace(*s)) ++s; } else BUFFERPUTC(*s); ! } BUFFERDONE; } --- 82,86 ---- if (isspace(*s)) { BUFFERPUTC(' '); while (isspace(*s)) ++s; } else BUFFERPUTC(*s); ! } BUFFERDONE; } *************** *** 93,97 **** l->old = last; l->saved = p; ! next = l->new; last = l; } --- 93,97 ---- l->old = last; l->saved = p; ! next = l->new1; last = l; } *************** *** 166,170 **** /* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */ ! SET(PROLOG); FLEXML_EXTRA_DEFINITIONS_INIT --- 166,170 ---- /* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */ ! SET(PROLOG); FLEXML_EXTRA_DEFINITIONS_INIT *************** *** 213,217 **** <EPILOG>{ ! . FAIL("Unexpected character `%c' after document.", yytext[0]); <<EOF>> SUCCEED; } --- 213,217 ---- <EPILOG>{ ! . {SET(PROLOG); yyless(0); return -1;} <<EOF>> SUCCEED; } *************** *** 256,260 **** <CDATA>{ "]""]>" LEAVE; ! "]""]" BUFFERPUTC(yytext[0]); BUFFERPUTC(yytext[1]); . BUFFERPUTC(yytext[0]); <<EOF>> FAIL("EOF in CDATA section."); --- 256,260 ---- <CDATA>{ "]""]>" LEAVE; ! /* "]""]" BUFFERPUTC(yytext[0]); BUFFERPUTC(yytext[1]); */ . BUFFERPUTC(yytext[0]); <<EOF>> FAIL("EOF in CDATA section."); *************** *** 262,268 **** /* Impossible rules to avoid warnings from flex(1). */ ! ! <INITIAL,IMPOSSIBLE>{ ! .|[\n] FAIL("The Impossible Happened: INITIAL or IMPOSSIBLE state entered?"); } --- 262,269 ---- /* Impossible rules to avoid warnings from flex(1). */ ! /* Ideally, this should be replaced by code in flexml.pl that ! generates just the states not covered by other rules. */ ! <*>{ ! .|[\n] FAIL("Syntax error on character `%c'.", yytext[0]); } *************** *** 304,319 **** #endif static int fail(const char* fmt, ...) { ! va_list ap; va_start(ap, fmt); #ifdef FLEXML_yylineno ! fprintf(stderr, "Invalid XML (XML input line %d, state %d): ", yylineno, YY_START); #else ! fprintf(stderr, "Invalid XML (state %d): ",YY_START); #endif ! vfprintf(stderr, fmt, ap); ! fprintf(stderr, "\n"); ! va_end(ap); ! return 1; } --- 305,339 ---- #endif + enum {flexml_max_err_msg_size = 512}; + + static char flexml_err_msg[flexml_max_err_msg_size]; + const char * parse_err_msg() + { + return flexml_err_msg; + } + + static void reset_parse_err_msg() + { + flexml_err_msg[0] = '\0'; + } + static int fail(const char* fmt, ...) { ! int chars_left, used; ! va_list ap; va_start(ap, fmt); #ifdef FLEXML_yylineno ! used = sprintf(flexml_err_msg, ! "Invalid XML (XML input line %d, state %d): ", ! yylineno, YY_START); #else ! used = sprintf(flexml_err_msg, ! "Invalid XML (state %d): ", ! YY_START); #endif ! chars_left = flexml_max_err_msg_size - used - 1; ! vsnprintf(flexml_err_msg + used, chars_left, fmt, ap); ! ! va_end(ap); ! return 1; } |