Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
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
debian add -b (binary-only; no source packages) flag to dpkg-buildpackage 1998-11-18 05:32:06 +00:00
docs use g_type_is_a() to check for object_type being a G_TYPE_OBJECT, not 2001-03-09 09:14:32 +00:00
glib Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
gmodule Set G_LOG_DOMAIN to \"GModule\" instead of g_log_domain_gmodule. 2001-03-07 14:22:25 +00:00
gobject (oops, forgot the file ...) 2001-03-09 16:49:02 +00:00
gthread Match also UNC paths on Win32. 2001-02-21 12:41:28 +00:00
m4macros Fix problem with --disable-nls. 2001-01-31 19:18:48 +00:00
po Added German translation. 2001-03-07 03:05:34 +00:00
tests Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:31:21 +00:00
.cvsignore sunotlokaherethizisprivate 2001-03-07 14:49:04 +00:00
acconfig.h Reverted the changes necessary to enlarge the system thread for 2001-02-15 16:43:02 +00:00
acglib.m4 Rename from GLIB_DIVERT_BEFORE_HELP. Update to track autoconf 2.49b. 2000-12-08 22:48:45 +00:00
acinclude.m4 Fix problem with --disable-nls. 2001-01-31 19:18:48 +00:00
AUTHORS 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
autogen.sh acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.2f 1999-03-20 00:44:22 +00:00
build-dll Fix resource handling, the resource file got left out from the DLL after 2000-07-22 08:38:06 +00:00
ChangeLog Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
ChangeLog.pre-1-2 moved old ChangeLog to ChangeLog.pre-1-2, and started new one. 1999-02-27 00:25:58 +00:00
ChangeLog.pre-2-0 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
ChangeLog.pre-2-2 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
ChangeLog.pre-2-4 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
ChangeLog.pre-2-6 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
ChangeLog.pre-2-8 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
ChangeLog.pre-2-10 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
ChangeLog.pre-2-12 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
config.guess Test for sched_yield as the native yield function first. Corrected typo 2000-03-22 10:04:29 +00:00
config.h.win32.in Define ENABLE_NLS and GETTEXT_PACKAGE. 2001-01-16 22:06:23 +00:00
config.sub Test for sched_yield as the native yield function first. Corrected typo 2000-03-22 10:04:29 +00:00
configure.in Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>. 2001-03-09 21:18:33 +00:00
COPYING version bump to 1.1.1, binary age 1, interface age 0. updates. updates. 1998-08-04 14:26:27 +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
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
gcompat.h New gcompat.h header file as recommended by Havoc. 2000-12-24 12:11:06 +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-2.0.m4 Move glib-config to glib-config-2.0 move glib.m4 to glib-2.0.m4 2000-07-14 19:22:54 +00:00
glib-2.0.pc.in Add @INTLIBS@. 2001-01-16 02:52:13 +00:00
glib-config-2.0.in my name is glib-config-2.0! don't exit with errorcode!=0 for --help or -h. 2001-02-19 06:50:21 +00:00
glib-gettext.m4 Fix problem with --disable-nls. 2001-01-31 19:18: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
glib.rc.in New files, for putting version info in the DLLs on Win32. 2000-02-04 13:57:46 +00:00
glib.spec.in added gobject 2000-05-12 15:23:16 +00:00
glibconfig.h.win32.in giochannel.h giowin32.c Stylistic cleanups. Use G_STRLOC in g_warning() 2001-02-01 22:28:48 +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
gmodule-2.0.pc.in Put the pkg-config scripts back to the correct pkg-config syntax 2000-09-30 02:14:04 +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
gobject-2.0.pc.in Put the pkg-config scripts back to the correct pkg-config syntax 2000-09-30 02:14:04 +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-2.0.pc.in Put the pkg-config scripts back to the correct pkg-config syntax 2000-09-30 02:14:04 +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
HACKING new file 1999-01-20 23:06:30 +00:00
INSTALL Create wrapper functions for iconv() so that we can transparently use the 2000-11-12 23:44:28 +00:00
ltconfig Test for sched_yield as the native yield function first. Corrected typo 2000-03-22 10:04:29 +00:00
ltmain.sh Test for sched_yield as the native yield function first. Corrected typo 2000-03-22 10:04:29 +00:00
MAINTAINERS Fixed my debbugs-test-submit@bugzilla.gnome.org mess. 2001-01-11 21:24:29 +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
NEWS Released 1.3.2 2000-11-17 20:44:24 +00:00
README Add gettext support. 2001-01-16 02:24:24 +00:00
README.win32 Remove test for initial double backslash (UNC path), this will of course 2001-03-01 09:34:45 +00:00
sanity_check 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +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
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
TODO.xml <entry size="small" status="90%" target="1.4"> 2000-05-11 04:12:04 +00:00

 *** IMPORTANT *** 

This is a development version of GLib.  You should be using a stable
version, which is available at ftp://ftp.gtk.org/pub/gtk/v1.2/.  This
version is meant for developers of GLib only:

 * You should not base stable software on this version of GLib.
 * GNOME developers should use a stable version of GLib.

Distributions should *NOT* ship a development package of this GLib.
Do not ship the headers and do not ship the glib-config script.  These
things will conflict with the stable 1.2 series.  Package only enough
to satisfy the requirements of some other package.  Package only the
library itself.  Doing otherwise will do no favors to the community.

If you install this version of GLib, we strongly recommend that you
install it in a different prefix than GLib 1.2.  Use --prefix as an
argument to configure to do this.  Otherwise, you will not be able to
do development with GLib 1.2 any longer.

*** You should be using GLib 1.2 instead. ***


General Information
===================

This is GLib version 1.3.1. GLib is a library which includes support
routines for C such as lists, trees, hashes, memory allocation, and
many other things.

The official ftp site is:
  ftp://ftp.gtk.org/pub/gtk

The official web site is:
  http://www.gtk.org/

A mailing list is located at:
  gtk-list@redhat.com

To subscribe: mail -s subscribe gtk-list-request@redhat.com < /dev/null
(Send mail to gtk-list-request@redhat.com with the subject "subscribe")


Installation
============

See the file 'INSTALL'

How to report bugs
==================

To report a bug, send mail either to gtk-list, as mentioned
above, or to gtk-bugs@gtk.org. If you send mail to gtk-list, you
must be subscribed yourself.

In the mail include:

* The version of GLib

* Information about your system. For instance:

   - What operating system and version
   - What version of X
   - For Linux, what version of the C library

  And anything else you think is relevant.

* How to reproduce the bug. 

  If you can reproduce it with the testglib program that is built 
  in the glib/ directory, that will be most convenient.  Otherwise, 
  please include a short test program that exhibits the behavior. 
  As a last resort, you can also provide a pointer to a larger piece 
  of software that can be downloaded.

* If the bug was a crash, the exact text that was printed out
  when the crash occured.

* Further information such as stack traces may be useful, but
  is not necessary.

Patches
=======

Patches can be uploaded to the incoming/ directory on
ftp.gtk.org.  Please follow the instructions there, and include
your name and email address in the README file.

If the patch fixes a bug, it is usually a good idea to include
all the information described in "How to Report Bugs".