Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Tim Janik 09f8e937f2 define gstring in terms of gchar*. this typedef reflects the type name of
Fri Jun 23 17:20:26 2000  Tim Janik  <timj@gtk.org>

        * glib.h: define gstring in terms of gchar*. this typedef reflects
        the type name of the primitive G_TYPE_STRING in the gobject module.

Sat Jun 24 23:03:04 2000  Tim Janik  <timj@gtk.org>

        * gtype.[hc]: provide G_TYPE_CHAR, G_TYPE_UCHAR, G_TYPE_BOOLEAN,
        G_TYPE_INT, G_TYPE_UINT, G_TYPE_LONG, G_TYPE_ULONG, G_TYPE_FLOAT,
        G_TYPE_DOUBLE and G_TYPE_STRING fundamental types.
        added a GTypeValueTable* pointer to GTypeInfo structure for types
        to implement GValue handling functions.
        GTypeValueTable contains the following members:
          value_init(): initialize a GValue structure.
          value_free(): free GValue structure contents (optional).
          value_copy(): copy one GValue contents to another GValue structure of
          collect_type: varargs collection type for the first variable argument
          to be collected by collect_value().
          collect_value(): variable arguments collection function (optional).
          lcopy_type: varargs collection type for the first variable argument
          to be location copyied by lcopy_value().
          lcopy_value(): variable arguments location copy function (optional).
        g_type_value_table_peek(): new function to retrive the GTypeValueTable*
        for a type node. ValueTables get inherited from parent types, unless
        overridden through the GTypeInfo structure. internally, GTypeValueTable
        support means an added overhead of one pointer per static or used
        dynamic type node.
        g_type_add_class_cache_func(): provide a cache_func/data pair to be
        called  prior to a type nodes last_unref() function, this can be used
        to prevent premature class destruction. multiple installed cache_func()
        will be chained upon last_unref() untill one of them returns TRUE.
        the cache_func()s have to check the type id passed in to figure whether
        they actually wants to cache the class of this type (since any types are
        routed through the cache_func() chain).
        g_type_remove_class_cache_func(): remove a previously installed
        cache_func/data pair. the cache maintained by this function has to be
        clear when calling g_type_remove_class_cache_func() to avoid leaks.
        g_type_class_unref_uncached(): class unref function for cache_func()
        implementations, unreferences a class omitting the cache chain (and
        therefore unref->cache->unref->... loops).

        * gvaluetypes.[hc]: provide the value setters/getters for the primitive
        fundamental types boolean, char, uchar, int, uint, long, ulong, float,
        double and string.

        * gvalue.[hc]: provide G_TYPE_IS_VALUE() in terms of whether a
        GTypeValueTable is provided for this type.
        removed g_value_init_default(), g_value_validate(), g_value_defaults(),
        g_value_set_default() and g_values_cmp() as these are supplied by the
        GParamSpec API now.
        moved g_values_exchange() into the "implementation details" section,
        since it just provides the underlying functionality for
        g_value_convert().

        * gvaluecollector.h: renamed the varargs value container from
        GParamCValue to GTypeCValue as the value collection methods are
        supplied by the type system now.
        G_PARAM_COLLECT_VALUE() and G_PARAM_LCOPY_VALUE() got renamed to
        G_VALUE_COLLECT() and G_VALUE_LCOPY() and operate without a
        GParamSpec structure now.

        * genums.h: macros cleanups/fixes.

        * genum.c: provide G_TYPE_ENUM and G_TYPE_FLAGS type
        and assorted g_value_{s|g}et_{enum|flags}() implementations.

        * gobject.[hc]:
        provide G_IS_VALUE_OBJECT(), G_TYPE_OBJECT ValueTable methods
        and g_value_{s|g}et_object().

        * gparam.[hc]: reduced class to value_set_default(),
        value_validate() and values_cmp(). also parameters now need to fill
        in a GType value_type; field to indicate the GValue type they
        are handling. provide g_param_value_set_default(),
        g_param_value_defaults(), g_param_value_validate() and
        g_param_values_cmp().

        * gparamspecs.[hc]: got rid of the g_value_* functions and
        the G_IS_VALUE_* macros. adapted param spec implementations
        according to the GParamSpecClass changes.
2000-06-24 22:30:10 +00:00
debian add -b (binary-only; no source packages) flag to dpkg-buildpackage 1998-11-18 05:32:06 +00:00
docs updated a bit more. 2000-06-11 18:32:13 +00:00
glib define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
gmodule makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to 2000-05-13 19:30:58 +00:00
gobject define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
gthread makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to 2000-05-13 19:30:58 +00:00
tests Implement on Win32. 2000-05-30 20:46:03 +00:00
.cvsignore .cvsignore updates 2000-03-22 10:02:34 +00:00
acconfig.h Add function to get the codeset name for the current locale. 2000-05-29 18:48:29 +00:00
acglib.m4 Completed the thread support in GLib. Thread creation, prioritizing 1999-06-17 15:39:31 +00:00
acinclude.m4 libtool 1.3.2 (BeOS changes merged) 1999-06-02 18:43:45 +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 makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to 2000-05-13 19:30:58 +00:00
ChangeLog define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +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 define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
ChangeLog.pre-2-2 define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
ChangeLog.pre-2-4 define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
ChangeLog.pre-2-6 define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
ChangeLog.pre-2-8 define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
ChangeLog.pre-2-10 define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
ChangeLog.pre-2-12 define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +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 Renamed GLIB_SIZEOF_PTHREAD_T to GLIB_SIZEOF_SYSTEM_THREAD to reflect 1999-11-16 10:30:25 +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 Add function to get the codeset name for the current locale. 2000-05-29 18:48:29 +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
garray.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
gasyncqueue.c added gobject 2000-05-12 15:23:16 +00:00
gbacktrace.c Don't define WIN32 and NATIVE_WIN32. 1999-10-04 23:04:34 +00:00
gcache.c Changed the 'value' parameter of g_cache_remove from gpointer to 2000-04-26 08:42:19 +00:00
gcompletion.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
gdataset.c return stolen data from g_datalist_id_remove_no_notify() and 2000-02-03 20:43:00 +00:00
gdate.c 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
gerror.c Don't define WIN32 and NATIVE_WIN32. 1999-10-04 23:04:34 +00:00
ghash.c Add configure test for garbage collector friendliness for GLib. If 2000-04-17 13:23:27 +00:00
ghook.c Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org> 1999-03-17 01:05:49 +00:00
giochannel.c inserted additional note to look for ChangeLog and AUTHORS file for a log 1999-02-24 06:14:27 +00:00
giounix.c Interpret EINTR as G_IO_ERROR_AGAIN. 2000-03-20 13:19:20 +00:00
giowin32.c If we are watching the same fd several times (for different conditions, 2000-06-06 06:56:03 +00:00
glib-config.in added gobject 2000-05-12 15:23:16 +00:00
glib-object.h define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
glib.def Implement on Win32. 2000-05-30 20:46:03 +00:00
glib.h define gstring in terms of gchar*. this typedef reflects the type name of 2000-06-24 22:30:10 +00:00
glib.m4 added gobject 2000-05-12 15:23:16 +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 Move Win32-only includes after inclusion of glib.h, so that G_OS_WIN32 is 2000-03-22 20:46:19 +00:00
glist.c Changed the 'data' parameters from gpointer to gconstpointer for the 2000-04-18 14:01:33 +00:00
gmain.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
gmem.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
gmessages.c Don't crash if removing a nonexistent value. 1999-10-31 12:15:34 +00:00
gnode.c Add configure test for garbage collector friendliness for GLib. If 2000-04-17 13:23:27 +00:00
gprimes.c inserted additional note to look for ChangeLog and AUTHORS file for a log 1999-02-24 06:14:27 +00:00
gqueue.c Add configure test for garbage collector friendliness for GLib. If 2000-04-17 13:23:27 +00:00
grand.c Fixed bug. Thanks to Marko Kreen <marko@l-t.ee> for reporting that. 2000-04-07 11:44:43 +00:00
grel.c Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org> 1999-03-17 01:05:49 +00:00
gscanner.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
gslist.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
gstrfuncs.c added gobject 2000-05-12 15:23:16 +00:00
gstring.c added argument assertments. 2000-05-19 10:01:08 +00:00
gthread.c Added the missing POSIX_NO_YIELD and POSIX_NO_PRIORITIES warning messages. 2000-03-17 14:49:59 +00:00
gthreadpool.c New File implementing an asynchronous queue to be used for asynchronous 2000-04-28 12:24:53 +00:00
gtimer.c After finding the right thread library (containing e.g. pthread_create) we 2000-03-23 16:23:50 +00:00
gtree.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
gunichartables.h Initial pass at adding unicode support functions. A few things still need 2000-06-21 16:11:21 +00:00
gunicode.h Initial pass at adding unicode support functions. A few things still need 2000-06-21 16:11:21 +00:00
gunidecomp.c Initial pass at adding unicode support functions. A few things still need 2000-06-21 16:11:21 +00:00
gunidecomp.h Initial pass at adding unicode support functions. A few things still need 2000-06-21 16:11:21 +00:00
guniprop.c Initial pass at adding unicode support functions. A few things still need 2000-06-21 16:11:21 +00:00
gutf8.c Initial pass at adding unicode support functions. A few things still need 2000-06-21 16:11:21 +00:00
gutils.c Implement on Win32. 2000-05-30 20:46:03 +00:00
gwin32.c makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to 2000-05-13 19:30:58 +00:00
HACKING new file 1999-01-20 23:06:30 +00:00
INSTALL 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +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 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
Makefile.am Initial pass at adding unicode support functions. A few things still need 2000-06-21 16:11:21 +00:00
makefile.mingw.in Small fixes to test progam build. 2000-05-13 19:38:37 +00:00
makefile.msc.in Add new functions. Add new object files. Add threadpool-test. No need to 2000-05-01 21:13:02 +00:00
NEWS removed useless g_string(x) macro that cluttered the namespace and was 1999-10-14 22:04:24 +00:00
README 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
README.win32 makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to 2000-05-13 19:30:58 +00:00
sanity_check 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
testgdate.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
testgdateparser.c Two new files. This is kind of ugly code, but I want to go ahead and make 1998-12-02 20:20:35 +00:00
testglib.c minor optimization. 2000-03-01 09:44:10 +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".