glib/glib
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
..
galloca.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
garray.c changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
garray.h changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gasyncqueue.c Added documentation for asynchronous queues. 2000-11-02 14:54:52 +00:00
gasyncqueue.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gbacktrace.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
gbacktrace.h Some more debugging output. (g_io_channel_win32_poll): Remove unused vars. 2000-10-16 18:54:29 +00:00
gbsearcharray.c changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gbsearcharray.h changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gcache.c Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
gcache.h Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
gcompletion.c Fix warnings. 2000-11-28 23:44:21 +00:00
gcompletion.h Warn if no callback. Call callback correctly. (g_io_win32_create_watch): 2000-12-14 21:02:20 +00:00
gconvert.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
gconvert.h move $enable_debug down below checks for GCC to avoid setting CFLAGS 2001-01-05 21:22:47 +00:00
gdataset.c include string.h 2001-02-17 23:30:48 +00:00
gdataset.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gdate.c New gcompat.h header file as recommended by Havoc. 2000-12-24 12:11:06 +00:00
gdate.h New gcompat.h header file as recommended by Havoc. 2000-12-24 12:11:06 +00:00
gen-unicode-tables.pl s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
gerror.c don't overwrite errors 2001-02-13 18:20:13 +00:00
gerror.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gfileutils.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
gfileutils.h template is a reserved word in C++ s/template/tmpl/. 2000-11-12 20:38:19 +00:00
ghash.c Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I 2000-12-19 15:40:30 +00:00
ghash.h return whether a value got removed. 2000-12-13 00:44:18 +00:00
ghook.c destruction cleanup. there's one ->finalize_hook member in the hooklist 2001-03-08 16:34:59 +00:00
ghook.h destruction cleanup. there's one ->finalize_hook member in the hooklist 2001-03-08 16:34:59 +00:00
giochannel.c Remove pollfds from the context here, not when actually freeing the 2000-12-10 16:02:48 +00:00
giochannel.h giochannel.h giowin32.c Stylistic cleanups. Use G_STRLOC in g_warning() 2001-02-01 22:28:48 +00:00
giounix.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
giowin32.c giochannel.h giowin32.c Stylistic cleanups. Use G_STRLOC in g_warning() 2001-02-01 22:28:48 +00:00
glib-object.h changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
glib.def Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
glib.h Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
glibintl.h Optimize for size rather than speed by making _() always call 2001-01-17 04:31:20 +00:00
glist.c changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
glist.h changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gmacros.h Provide G_CONST_RETURN which is 'const' by default, and nothing when 2000-12-01 05:42:51 +00:00
gmain.c Add missing implementation ofsource->priority, g_source_remove_poll. 2001-02-22 15:39:57 +00:00
gmain.h Switch GMainLoop to be ref/unref, use to make dropping reference to 2001-01-03 20:18:40 +00:00
gmarkup.c Add gettext support. 2001-01-16 02:24:24 +00:00
gmarkup.h Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
gmem.c include string.h 2001-02-17 23:30:48 +00:00
gmem.h include string.h 2001-02-17 23:30:48 +00:00
gmessages.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
gmessages.h Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
gnode.c Added --disable-mem-pools option. 2000-12-19 09:35:44 +00:00
gnode.h Readded GFreeFunc, g_node_insert_after and g_find_program_in_path resp., 2000-10-13 08:16:54 +00:00
gprimes.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
gprimes.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gqsort.c changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gqsort.h changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gquark.h include string.h 2001-02-17 23:30:48 +00:00
gqueue.c Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I 2000-12-19 15:40:30 +00:00
gqueue.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
grand.c Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
grand.h Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
grel.c Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
grel.h Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
gscanner.c got rid of outdated dmalloc support. provide g_try_malloc() and 2000-12-29 02:16:51 +00:00
gscanner.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gshell.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
gshell.h Added 2000-11-05 16:38:16 +00:00
gslist.c changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gslist.h changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gspawn-win32-helper.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
gspawn-win32.c Add gettext support. 2001-01-16 02:24:24 +00:00
gspawn.c include string.h 2001-02-17 23:30:48 +00:00
gspawn.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gstrfuncs.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
gstrfuncs.h include string.h 2001-02-17 23:30:48 +00:00
gstring.c changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gstring.h changed prototype of g_boxed_type_register_static() to contain an optional 2001-03-07 14:46:45 +00:00
gthread.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:23:33 +00:00
gthread.h Change the order to match the order in g_thread_create(). 2001-02-23 16:42:48 +00:00
gthreadpool.c Make max_unused_threads work for -1 as well. 2001-02-26 14:27:12 +00:00
gthreadpool.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gtimer.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
gtimer.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gtree.c I'm stupid and managed to screw up my own patch. Now the new function 2001-03-08 18:18:16 +00:00
gtree.h added new function g_tree_lookup_extended(). 2001-03-08 17:51:39 +00:00
gtypes.h Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
gunibreak.c Forgot gunibreak.c, mistake in ChangeLog 2000-11-29 23:49:44 +00:00
gunibreak.h s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
gunichartables.h s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
gunicode.h Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
gunidecomp.c s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
gunidecomp.h s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
guniprop.c Fix warnings. 2000-11-28 23:44:21 +00:00
gutf8.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
gutils.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
gutils.h include string.h 2001-02-17 23:30:48 +00:00
gwin32.c Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
gwin32.h Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
Makefile.am Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
makefile.mingw.in Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
makefile.msc.in Remove test for initial double backslash (UNC path), this will of course 2001-03-01 09:34:45 +00:00