glib/glib/gnulib
Hans Breuer 770b29bad2 define PCRE_STATIC to reflect the inclusion of pcre as LIB, not
2007-03-17  Hans Breuer  <hans@breuer.org>

	* glib/makefile.msc.in glib/pcre/makefile.msc 
	  glib/update-pcre/update.sh : define PCRE_STATIC to reflect the 
	inclusion of pcre as LIB, not stand-alone DLL. Also set NEWLINE=-1
	to match any newline by default, use of ../../build/win32/make.msc

	* glib/gregex.h : minimal includes of <glib/*.H> instead of <glib.h>

	* glib/gnulib/makefile.msc : make use of ../../build/win32/make.msc

	* tests/regex-test.c(verbose): don't pass a string containing '%' 
	as first parameter to g_print ()
	(test_match) : for the unexpected case output pattern and string
	escaped

	* tests/child-test.c tests/slice-color.c : fix c99ism
	* tests/slice-test.c : fix c99ism and gccism
	* tests/mapping-test.c tests/base-64-tests.c : don't 
	#include <unistd.h> unconditionally
	* tests/option-test.c : use G_GINT64_CONSTANT() instead of direct LL

	* tests/makefile.msc.in : more tests build


svn path=/trunk/; revision=5423
2007-03-17 09:49:09 +00:00
..
asnprintf.c Add gnulib vasnprintf(). 2003-07-28 22:58:01 +00:00
g-gnulib.h Fix PLT issues 2006-09-30 14:06:45 +00:00
Makefile.am Add -I$(top_srcdir)/glib so that gregex.h finds <glib.h>. 2007-03-15 15:17:17 +00:00
makefile.msc define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
printf-args.c Fix 64bit printing for MSVC builds (#119292, Hans Breuer): 2003-11-02 00:54:02 +00:00
printf-args.h Fix 64bit printing for MSVC builds (#119292, Hans Breuer): 2003-11-02 00:54:02 +00:00
printf-parse.c Fix 64bit printing for MSVC builds (#119292, Hans Breuer): 2003-11-02 00:54:02 +00:00
printf-parse.h Add gnulib vasnprintf(). 2003-07-28 22:58:01 +00:00
printf.c Make the various printf feature test macros reflect the system printf, 2003-10-04 23:24:02 +00:00
printf.h for msvc build 2003-08-05 22:21:19 +00:00
README Fix 64bit printing for MSVC builds (#119292, Hans Breuer): 2003-11-02 00:54:02 +00:00
vasnprintf.c Fix bug 161288: 2006-12-18 14:38:07 +00:00
vasnprintf.h Add gnulib vasnprintf(). 2003-07-28 22:58:01 +00:00

The files
 
 asnprintf.c 
 printf-args.c
 printf-args.h
 printf-parse.c
 printf-parse.h
 vasnprintf.c
 vasnprintf.h

are taken from the vasnprintf module of the GNUlib package, which can
be found at: 

 http://www.gnu.org/software/gnulib/

All files have been modified to include g-gnulib.h. 

vasnprintf.c has also been modified to include support for long long 
printing if the system printf doesn't. This code is protected by 
#ifndef HAVE_LONG_LONG_FORMAT.

Code has been added to printf-args.[ch], printf-parse.c and vasnprintf.c
to support printing of __int64 values with the I64 format modifier. This
is protected by #ifdef HAVE_INT64_AND_I64.

The files

 printf.h 
 printf.c
 g-gnulib.h

have been written by me. printf.[hc] contain implementations of the  
remaining functions in the printf family based on vasnprintf. 
g-gnulib.h is included by all source files in order to move all
exported functions to the _g_gnulib namespace, replace malloc by
g_malloc and make sure that snprintf is only used if it implements 
C99 return value semantics. 

Matthias Clasen
November 1, 2003