From noreply at sourceforge.net Sat Oct 2 00:23:57 2004 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Oct 2 00:24:00 2004 Subject: [Expat-bugs] [ expat-Bugs-1038755 ] Change xmltok_impl.c and xmltokns.c extension Message-ID: Bugs item #1038755, was opened at 2004-10-01 15:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1038755&group_id=10127 Category: www.libexpat.org Group: Not a Bug Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Fred L. Drake, Jr. (fdrake) Summary: Change xmltok_impl.c and xmltokns.c extension Initial Comment: It would be very good if you don't give c extensions to the files you include from anothers. While I used MS VC, it was only annoying not to take it as a source file. But Eclipse/CDT compile whole directories and so I have needed to rename xmltok_impl_c, xmltokns_c and changing the xmltok.c's source also... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1038755&group_id=10127 From noreply at sourceforge.net Tue Oct 5 13:09:57 2004 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Oct 5 13:10:01 2004 Subject: [Expat-bugs] [ expat-Bugs-1040561 ] expat_external.h not installed Message-ID: Bugs item #1040561, was opened at 2004-10-05 20:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1040561&group_id=10127 Category: Build control Group: None Status: Open Resolution: None Priority: 5 Submitted By: KUGA Tsutomu (tsk777) Assigned to: Greg Stein (gstein) Summary: expat_external.h not installed Initial Comment: Version 1.95.8 expat_external.h is not installed when `make install' performed. On line 83 in Makefile, it is intended to be installed along with expat.h using conftools/install.sh, but the script installs only one file at a time as described in line 23 ( of the script). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1040561&group_id=10127 From noreply at sourceforge.net Tue Oct 5 14:52:50 2004 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Oct 5 15:02:28 2004 Subject: [Expat-bugs] [ expat-Bugs-1040561 ] expat_external.h not installed Message-ID: Bugs item #1040561, was opened at 2004-10-05 07:09 Message generated for change (Comment added) made by kwaclaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1040561&group_id=10127 Category: Build control Group: None Status: Open Resolution: None Priority: 5 Submitted By: KUGA Tsutomu (tsk777) Assigned to: Greg Stein (gstein) Summary: expat_external.h not installed Initial Comment: Version 1.95.8 expat_external.h is not installed when `make install' performed. On line 83 in Makefile, it is intended to be installed along with expat.h using conftools/install.sh, but the script installs only one file at a time as described in line 23 ( of the script). ---------------------------------------------------------------------- >Comment By: Karl Waclawek (kwaclaw) Date: 2004-10-05 08:52 Message: Logged In: YES user_id=290026 This depends on the platform - whcih is yours? Seems like a duplicate of bug #1000112, which is already fixed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1040561&group_id=10127 From noreply at sourceforge.net Sun Oct 10 17:40:27 2004 From: noreply at sourceforge.net (SourceForge.net) Date: Sun Oct 10 17:40:32 2004 Subject: [Expat-bugs] [ expat-Bugs-842049 ] Configure script error - CC or CPP Message-ID: Bugs item #842049, was opened at 2003-11-14 12:48 Message generated for change (Comment added) made by legoscia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=842049&group_id=10127 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Greg Stein (gstein) Summary: Configure script error - CC or CPP Initial Comment: expat-1.95.7 My check install is in a none standard location. I set the CFLAGS enviroment variable so the file could be found. You then get a configure warning: configure: WARNING: check.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: check.h: proceeding with the preprocessor's result This seems to be due to the preprocessor check using CPP and the CPPFLAGS while the compiler check uses CC and CFLAGS. ---------------------------------------------------------------------- Comment By: Magnus Henoch (legoscia) Date: 2004-10-10 17:40 Message: Logged In: YES user_id=920364 This patch seems to fix the problem. (I found no way to attach it...) Can it be installed in CVS? Index: conftools/expat.m4 =================================================================== RCS file: /cvsroot/expat/expat/conftools/expat.m4,v retrieving revision 1.1 diff -u -r1.1 expat.m4 --- conftools/expat.m4 9 Nov 2001 04:55:33 -0000 1.1 +++ conftools/expat.m4 10 Oct 2004 15:26:46 -0000 @@ -1,6 +1,6 @@ dnl Check if --with-expat[=PREFIX] is specified and dnl Expat >= 1.95.0 is installed in the system. -dnl If yes, substitute EXPAT_CFLAGS, EXPAT_LIBS with regard to +dnl If yes, substitute EXPAT_CPPFLAGS, EXPAT_LIBS with regard to dnl the specified PREFIX and set with_expat to PREFIX, or 'yes' if PREFIX dnl has not been specified. Also HAVE_LIBEXPAT, HAVE_EXPAT_H are defined. dnl If --with-expat has not been specified, set with_expat to 'no'. @@ -14,11 +14,11 @@ AM_CONDITIONAL(EXPAT_INSTALLED, test $with_expat != no) - EXPAT_CFLAGS= + EXPAT_CPPFLAGS= EXPAT_LIBS= if test $with_expat != no; then if test $with_expat != yes; then - EXPAT_CFLAGS="-I$with_expat/include" + EXPAT_CPPFLAGS="-I$with_expat/include" EXPAT_LIBS="-L$with_expat/lib" fi AC_CHECK_LIB(expat, XML_ParserCreate, @@ -29,15 +29,24 @@ if test $expat_found = no; then AC_MSG_ERROR([Could not find the Expat library]) fi - expat_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $EXPAT_CFLAGS" + expat_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $EXPAT_CPPFLAGS" AC_CHECK_HEADERS(expat.h, , expat_found=no) if test $expat_found = no; then AC_MSG_ERROR([Could not find expat.h]) fi - CFLAGS="$expat_save_CFLAGS" + CPPFLAGS="$expat_save_CPPFLAGS" fi + AC_SUBST(EXPAT_CPPFLAGS) AC_SUBST(EXPAT_CFLAGS) AC_SUBST(EXPAT_LIBS) + + # Earlier versions of this script incorrectly used CFLAGS instead + # of CPPFLAGS, causing preprocessor-only autoconf tests to fail + # when expat was installed in a nonstandard location. The following + # lines make sure that existing scripts depending on this bug + # still work. + EXPAT_CFLAGS="$EXPAT_CPPFLAGS" + AC_SUBST(EXPAT_CFLAGS) ]) Magnus ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=842049&group_id=10127 From noreply at sourceforge.net Sat Oct 16 22:16:13 2004 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Oct 16 22:16:17 2004 Subject: [Expat-bugs] [ expat-Bugs-1048448 ] Create different link symbols for different XML_Char sizes Message-ID: Bugs item #1048448, was opened at 2004-10-16 22:16 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1048448&group_id=10127 Category: None Group: Feature Request Status: Open Resolution: None Priority: 5 Submitted By: Steinar Bang (steinarb) Assigned to: Nobody/Anonymous (nobody) Summary: Create different link symbols for different XML_Char sizes Initial Comment: It would be nice if some C preprocessor magic could be used to make different XML_Char sizes, selected at compile time, result in different link symbols for the functions in the API. This would make it possible for different shared libraries making up an application on linux, to link against expat shared libraries that have been compiled with different values for XML_char. I ran into a problem when I had compiled my own shared library version of expat on linux, compiled with -DUNICODE, and a base library had been linked with the fontconfig library, to improve X11 font handling. The fontconfig library had an XML config file, and used expat to parse the file. It used the system installed version of expat, which had a char sized XML_Char. This resulted in the following console output at my application's startup: Fontconfig error: line 1: unknown encoding Fontconfig error: Cannot load default config file and the application started up with a strange-looking font named "Arioso", when what I expected was "Helvetica". ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1048448&group_id=10127 From noreply at sourceforge.net Wed Oct 20 04:30:00 2004 From: noreply at sourceforge.net (SourceForge.net) Date: Wed Oct 20 04:30:03 2004 Subject: [Expat-bugs] [ expat-Patches-1050446 ] custom allocators with state Message-ID: Patches item #1050446, was opened at 2004-10-19 21:30 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310127&aid=1050446&group_id=10127 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Corey Brenner (coreybrenner) Assigned to: Nobody/Anonymous (nobody) Summary: custom allocators with state Initial Comment: It is sometimes necessary to use different memory allocation routines operating on one pool for different kinds of allocation, or to use different pools with one memory allocation routine (for instance, allocating data structures with a fixed-size allocator, and strings from a string heap utilizing a specialized string allocator). I have made a non-intrusive patch to the expat memory-handling suite which should be binary-compatible for those who are dynamic-linking the expat library. This patch allows one to provide "pool-allocation" function pointers, and a void pointer which is passed to the allocation routines as an extra argument, as part of the memory-handling suite structure. For instance: /* my_allocator prototype, wrapper functions */ extern int my_allocator(int op, void** pp, size_t siz, void* pool); void* my_malloc (size_t siz, void* pool) { void* p = NULL; (void) my_allocator(OBTAIN, &p, siz, pool); return p; } void* my_realloc (void* old, size_t siz, void* pool) { (void) my_allocator(RESIZE, &old, siz, pool); return old; } void my_free (void* mem, void* pool) { (void) my_allocator(RETURN, &mem, 0, pool); } /* using it all */ int foo (void* pool) { XML_Memory_Handling_Suite mhs = { /* malloc_fcn */ NULL, /* realloc_fcn */ NULL, /* free_fcn */ NULL, /* pool_malloc_fcn */ my_malloc, /* pool_realloc_fcn */ my_realloc, /* pool_free_fcn */ my_free, /* pool */ NULL }; XML_Parser parser; mhs.pool = pool; parser = XML_Parser_Create_MM(NULL, &mhs, NULL); if (!parser) { die_horribly(); } /* ... */ } Note: XML_Memory_Handling_Suite has changed, but not in a way that will harm older programs which do not see these additions. The memory-using macros provided in this patch first attempt to utilize the old allocators, if present, and then the new ones, so behavior for older programs is consistent. Documentation is updated to reflect the change. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310127&aid=1050446&group_id=10127 From noreply at sourceforge.net Sat Oct 30 19:36:36 2004 From: noreply at sourceforge.net (SourceForge.net) Date: Sat Oct 30 19:36:39 2004 Subject: [Expat-bugs] [ expat-Patches-1057413 ] two small documentation fixes in links Message-ID: Patches item #1057413, was opened at 2004-10-30 19:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310127&aid=1057413&group_id=10127 Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michal Molhanec (mol1111) Assigned to: Nobody/Anonymous (nobody) Summary: two small documentation fixes in links Initial Comment: There was missing # in the links. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310127&aid=1057413&group_id=10127