glib/tests
Tor Lillqvist 754d8ddad8 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>.
2001-02-21  Tor Lillqvist  <tml@iki.fi>

	Cygwin support contributed by Stefan Ondrejicka
	<ondrej@idata.sk>. Hopefully I got it all in while simultaneously
	adding support for auto*/libtool for mingw.

	* Makefile.am: Changes for auto* support on Cygwin and Win32. Do
	still distribute the hand-written makefiles and *.win32.in files,
	though. Use GIO, GSPAWN and PLATFORMDEP macros set by configure.
	Use -no-undefined. Pass -export-symbols glib.def to libtool.

	* configure.in: Define G_PLATFORM_WIN32 on both pure Win32 (mingw)
	and Cygwin. Add AC_CYGWIN, AC_EXEEXT and AC_LIBTOOL_WIN32_DLL
	calls for Cygwin and mingw support.  Check for %I64u guint64
	format (in MS C library). Set G_MODULE_IMPL on mingw and
	Cygwin. Use ac_object and ac_exeext.  Set GIO, GSPAWN, PLATFORMDEP
	and G_LIBS_EXTRA. Compile timeloop only on Unix. Define OS_WIN32
	automake conditional on Win32.

	* glib.h: Include gwin32.h also on Cygwin.

	* gfileutils.c (get_contents_posix): Use O_BINARY (defined as 0 on
	Unix) for Cygwin's sake.

	* gtimer.c (GETTIME): Reduce #ifdefs, use a macro GETTIME().

	* gconvert.c
	* gthread.c
	* gutf8.c
	* gutils.c: For code needed both on Cygwin and native Win32,
	test for G_PLATFORM_WIN32.

	* gmarkup.h: Use G_BEGIN_DECLS and G_END_DECLS.

	* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
	in case compiling a static library on Win32 or Cygwin.

	* gwin32.c: No <direct.h> on Cygwin. No need for ftruncate() or
	dirent emulation on Cygwin.
	(get_package_directory_from_module) Convert return value from
	GetModuleFileName() to POSIX path on Cygwin.

	* tests/Makefile.am (progs_LDADD): Link with libglib, libgthread
	and libgmodule as appropriate. Use -no-undefined.

	* gbacktrace.c: Move #ifdefs around a bit on Win32.

	* gshell.c (unquote_string_inplace): Make static.

	* testglib.c: Make some vars static. Add Cygwin path tests.
2001-03-09 21:31:21 +00:00
..
markups New module to parse a simple markup language 2000-10-27 02:46:04 +00:00
.cvsignore Match also UNC paths on Win32. 2001-02-21 12:41:28 +00:00
array-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
date-test.c New gcompat.h header file as recommended by Havoc. 2000-12-24 12:11:06 +00:00
dirname-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
gio-test.c Socket support rewritten. It was utterly broken, and untested in fact. We 2001-01-25 21:16:46 +00:00
hash-test.c Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
libmoduletestplugin_a.c Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
libmoduletestplugin_b.c Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
list-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
mainloop-test.c Get len using strlen() if arg is negative in the Win32 code, too. 2001-01-06 03:09:46 +00:00
Makefile.am Change order of libs, put progs_LDADD last. Needed for cygwin, says 2001-02-03 22:32:10 +00:00
makefile.mingw.in makefile.mingw.in Protect the rule to rebuild makefile.mingw if 2001-01-25 22:08:11 +00:00
makefile.msc.in Get len using strlen() if arg is negative in the Win32 code, too. 2001-01-06 03:09:46 +00:00
markup-test.c New module to parse a simple markup language 2000-10-27 02:46:04 +00:00
module-test.c Determine the suffix of the shared librarries for this system. This is 2000-12-22 13:44:25 +00:00
node-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
queue-test.c Renamed g_queue_create to g_queue_new in conformance to all other GLib 2000-04-17 10:31:10 +00:00
rand-test.c Moved struct declaration up. Style fixes. 1999-04-12 12:53:37 +00:00
relation-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
run-markup-tests.sh Rearrange into other veriables, and include run-markup-tests.sh. 2000-12-08 21:04:52 +00:00
shell-test.c Fix warnings. 2000-11-28 23:44:21 +00:00
slist-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
spawn-test.c Some more debugging output. (g_io_channel_win32_poll): Remove unused vars. 2000-10-16 18:54:29 +00:00
strfunc-test.c add g_strdupv test 2000-12-07 04:48:37 +00:00
string-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
testgdate.c Match also UNC paths on Win32. 2001-02-21 12:41:28 +00:00
testgdateparser.c Match also UNC paths on Win32. 2001-02-21 12:41:28 +00:00
testglib.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
thread-test.c Added functions g_static_rec_mutex_init, g_static_rec_mutex_free, 2001-02-13 15:57:44 +00:00
threadpool-test.c Moved determination of G_THREAD_FLAGS before G_THREAD_LIBS. Check for 2000-09-28 07:54:40 +00:00
timeloop-basic.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
timeloop.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
tree-test.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
type-test.c Some platforms support 64 bit 'long long', but you can not printf or scanf 2000-09-28 07:45:04 +00:00
unicode-encoding.c Get len using strlen() if arg is negative in the Win32 code, too. 2001-01-06 03:09:46 +00:00
utf8.txt move $enable_debug down below checks for GCC to avoid setting CFLAGS 2001-01-05 21:22:47 +00:00