Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Matthias Clasen dc645ce354 Use G_LIKELY. (#69022)
* glib/gmessages.h (g_return_if_fail):
	(g_return_val_if_fail): Use G_LIKELY.  (#69022)

	* glib/gmacros.h (G_LIKELY):
	(G_UNLIKELY): New macros for hinting the compiler about the
	expected result of expressions. For gcc 3.x, define these
	using __builtin_expect.  (#69022)

	* glib/tmpl/macros_misc.sgml: Document G_LIKELY, G_UNLIKELY.

	* glib/glib-sections.txt: Add G_LIKELY, G_UNLIKELY.
2002-11-20 21:50:16 +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_LIKELY. (#69022) 2002-11-20 21:50:16 +00:00
glib Use G_LIKELY. (#69022) 2002-11-20 21:50:16 +00:00
gmodule add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
gobject Trivial s/foo/foo_/ fixes to make <glib.h> includable with -Wshadow 2002-11-08 18:47:56 +00:00
gthread Include config.h so DISABLE_MEMPOOLS actually has an effect. (#96437, 2002-11-04 20:09:48 +00:00
m4macros fix tyop 2002-05-22 23:11:13 +00:00
po updated 2002-11-13 13:02:52 +00:00
tests Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully 2002-11-17 03:52:55 +00:00
.cvsignore shutup CVS 2002-03-15 01:16:08 +00:00
acconfig.h Check for iconv_* in -liconv as well as libiconv_* in -liconv since AIX 2002-02-26 04:12:52 +00:00
acglib.m4 If sizeof(int) == sizeof(long) run compilation tests to determine which 2002-05-13 15:57:25 +00:00
acinclude.m4 Remove notes about now-fixed-bugs. 2002-05-22 19:52:41 +00:00
AUTHORS Updates. 2002-03-08 05:48:03 +00:00
autogen.sh automake 1.4 2002-09-06 19:28:28 +00:00
ChangeLog Use G_LIKELY. (#69022) 2002-11-20 21:50:16 +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 Move pre-2.0 ChangeLog aside 2002-03-15 22:42:42 +00:00
ChangeLog.pre-2-2 Use G_LIKELY. (#69022) 2002-11-20 21:50:16 +00:00
ChangeLog.pre-2-4 Use G_LIKELY. (#69022) 2002-11-20 21:50:16 +00:00
ChangeLog.pre-2-6 Use G_LIKELY. (#69022) 2002-11-20 21:50:16 +00:00
ChangeLog.pre-2-8 Use G_LIKELY. (#69022) 2002-11-20 21:50:16 +00:00
ChangeLog.pre-2-10 Use G_LIKELY. (#69022) 2002-11-20 21:50:16 +00:00
ChangeLog.pre-2-12 Use G_LIKELY. (#69022) 2002-11-20 21:50:16 +00:00
config.h.win32.in Match new additions in a configure-produced config.h. 2002-05-17 21:02:13 +00:00
configure.in Patch from Havoc Pennington to add functions for setting and getting a 2002-11-08 00:51:25 +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
glib-2.0-uninstalled.pc.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
glib-2.0.pc.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
glib-gettextize.in remove references to po2tbl 2002-01-31 22:26:59 +00:00
glib-zip.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
glib.spec.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
glibconfig.h.win32.in gssize and gsize as in a configure-produced glibconfig.h. 2002-05-17 21:07:59 +00:00
gmodule-2.0-uninstalled.pc.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
gmodule-2.0.pc.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
gobject-2.0-uninstalled.pc.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
gobject-2.0.pc.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
gthread-2.0-uninstalled.pc.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
gthread-2.0.pc.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
HACKING Say we require autoconf 2.52 as that is what configure.in does. 2002-09-28 22:15:05 +00:00
INSTALL Add a note about the deficiency of Tru64 iconv. (#81699, Manuel Op de 2002-06-13 20:00:58 +00:00
INSTALL.in Add a note about the deficiency of Tru64 iconv. (#81699, Manuel Op de 2002-06-13 20:00:58 +00:00
Makefile.am [ merged from stable ] 2002-05-06 16:07:03 +00:00
makefile.mingw After being away for about five months, I'm back working on this... For 2001-08-30 05:09:11 +00:00
makefile.msc added rule for glibconfig.h 2001-09-21 19:48:59 +00:00
msvc_recommended_pragmas.h moved warning to error pragmas to their own file to not force 'good 2002-01-05 18:54:59 +00:00
NEWS Remove warning about g_print, etc, encoding. 2002-03-28 23:24:23 +00:00
NEWS.pre-1-3 updates. 2001-04-03 19:22:44 +00:00
README Released 2.0.1 2002-03-28 23:40:18 +00:00
README.in Remove notes about now-fixed-bugs. 2002-05-22 19:52:41 +00:00
README.win32 Add MSVC-specific text by Hans Breuer. 2002-03-17 21:51:33 +00:00
sanity_check 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
TODO.xml <entry size="small" status="90%" target="1.4"> 2000-05-11 04:12:04 +00:00
win32-fixup.pl Hacky script to fix up your .msc.in files on windows. Dunno if this is a 2001-08-04 15:49:55 +00:00

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

This is GLib version 2.0.1. GLib is the low-level core
library that forms the basis for projects such as GTK+ and GNOME. It
provides data structure handling for C, portability wrappers, and
interfaces for such runtime functionality as an event loop, threads,
dynamic loading, and an object system.

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

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

Information about mailing lists can be found at
  http://www.gtk.org/mailinglists.html

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

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

See the file 'INSTALL'

Notes about GLib-2.0.0
======================

* On systems without the libintl from GNU gettext() or a recent version
  of the GNU C library, the encoding of translated error messages will be 
  incorrect (they should be in UTF-8). A workaround for this is to install 
  GNU gettext and use that libintl. This is expected to be fixed in GLib-2.0.1.
  Application programmers should not call g_locale_to_utf8() on these
  strings.

* Similarly, the GLib error logging functions such as g_print(), g_warning(),
  g_error(), currently do not convert the strings they are passed from
  UTF-8 to the encoding of the locale, or check that the strings they
  are passed are valid UTF-8. They should, despite this, be assumed to take
  UTF-8 arguments.


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

Bugs should be reported to the GNOME bug tracking system. 
(http://bugzilla.gnome.org, product glib.) You will need
to create an account for yourself.

In the bug report please include:

* Information about your system. For instance:

   - What operating system and version
   - 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 testgtk program that is built 
  in the gtk/ subdirectory, 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 should also be submitted to bugzilla.gnome.org. If the
patch fixes an existing bug, add the patch as an attachment
to that bug report.

Otherwise, enter a new bug report that describes the patch,
and attach the patch to that bug report.

Bug reports containing patches should include the PATCH keyword
in their keyword fields. If the patch adds to or changes the GLib 
programming interface, the API keyword should also be included.

Patches should be in unified diff form. (The -u option to GNU
diff.)