Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Tor Lillqvist a689811a41 glib/gmain.c Clarify what a "child pid" is in the doc comments.
2008-06-11  Tor Lillqvist  <tml@novell.com>

	* glib/gmain.c
	* glib/gspawn.c: Clarify what a "child pid" is in the doc
	comments.


svn path=/trunk/; revision=6995
2008-06-11 06:57:22 +00:00
build Include dirent.h with doublequotes so that it is searched from this same 2008-05-19 12:39:24 +00:00
debian add -b (binary-only; no source packages) flag to dpkg-buildpackage 1998-11-18 05:32:06 +00:00
docs Additions 2008-06-10 17:54:24 +00:00
gio Bug 537546 – 'desktop' shortcut in file chooser looks like a generic 2008-06-10 16:56:25 +00:00
glib glib/gmain.c Clarify what a "child pid" is in the doc comments. 2008-06-11 06:57:22 +00:00
gmodule don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now. 2008-05-28 16:17:13 +00:00
gobject g_type_class_ref() comment fixes. 2008-06-10 11:41:34 +00:00
gthread don't define G_DISABLE_SINGLE_INCLUDES, it's in the global CPPFLAGS now. 2008-05-28 16:16:38 +00:00
m4macros Remove AC_CANONICAL_HOST from GLIB_WITH_NLS again. (#385132) 2008-01-27 23:01:43 +00:00
po Updated Thai translation. 2008-06-10 09:06:11 +00:00
tests Bug 535628 - test/patterntest.c still includes gpattern.h directly. 2008-05-30 09:05:08 +00:00
.gitignore for the benefit of git users, checkout build/ if it is missing but after 2007-12-05 06:34:18 +00:00
acglib.m4 quote AC_DEFUN macro names so automake 1.8 won't whine at us. (#134882) 2004-02-27 00:57:25 +00:00
acinclude.m4 Move some inter-*.m4 includes from configure.in to acinclude.m4 to avoid 2007-11-08 02:43:17 +00:00
AUTHORS Updates 2005-12-26 05:23:08 +00:00
autogen.sh 2.15.0 2007-12-21 00:37:41 +00:00
ChangeLog glib/gmain.c Clarify what a "child pid" is in the doc comments. 2008-06-11 06:57:22 +00:00
ChangeLog.pre-1-2 Fix typos: invokation -> invocation. 2005-08-10 10:46:55 +00:00
ChangeLog.pre-2-0 Fix typos: invokation -> invocation. 2005-08-10 10:46:55 +00:00
ChangeLog.pre-2-2 Split ChangeLog 2002-12-28 21:16:55 +00:00
ChangeLog.pre-2-4 Move aside ChangeLog for 2.4 2004-05-04 20:13:47 +00:00
ChangeLog.pre-2-6 Split ChangeLog for 2.6 2005-01-10 15:52:23 +00:00
ChangeLog.pre-2-8 Truncate ChangeLog after moving aside 2005-08-24 18:53:51 +00:00
ChangeLog.pre-2-10 Adjust docs 2006-03-23 13:38:17 +00:00
ChangeLog.pre-2-12 Branch for 2.12 2006-08-23 03:43:36 +00:00
ChangeLog.pre-2-14 Added missing ChangeLog 2007-11-08 11:11:39 +00:00
ChangeLog.pre-2-16 Rotate ChangeLog 2008-03-12 16:13:54 +00:00
config.h.win32.in Update to match the configure-produced one. 2008-05-16 16:42:52 +00:00
configure.in add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS globally. 2008-05-28 16:18:27 +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
gio-2.0-uninstalled.pc.in Require glib-2.0 2008-01-06 17:18:52 +00:00
gio-2.0.pc.in Require glib-2.0 2008-01-06 17:18:52 +00:00
gio-unix-2.0-uninstalled.pc.in gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00
gio-unix-2.0.pc.in gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00
glib-2.0-uninstalled.pc.in Bug 534319 - GLib's .pc files could use Libs.private 2008-05-25 10:26:42 +00:00
glib-2.0.pc.in Bug 534319 - GLib's .pc files could use Libs.private 2008-05-25 10:26:42 +00:00
glib-gettextize.in Silence autoconf warnings about datarootdir. (#391367, Loïc Minier) 2007-01-02 05:26:14 +00:00
glib-zip.in Add lib/gio-2.0.lib and lib/gio-2.0.def. 2008-03-13 17:12:03 +00:00
glibconfig.h.win32.in Define GLIB_STATIC_COMPILATION here also, if needed. 2008-04-03 22:43:31 +00:00
gmodule-2.0-uninstalled.pc.in Bug 534319 - GLib's .pc files could use Libs.private 2008-05-25 10:26:42 +00:00
gmodule-2.0.pc.in Bug 534319 - GLib's .pc files could use Libs.private 2008-05-25 10:26:42 +00:00
gmodule-export-2.0.pc.in Bug 534319 - GLib's .pc files could use Libs.private 2008-05-25 10:26:42 +00:00
gmodule-no-export-2.0-uninstalled.pc.in Added gmodule-no-export-2.0-uninstalled.pc.in to allow building of other 2005-05-06 21:54:52 +00:00
gmodule-no-export-2.0.pc.in Bug 534319 - GLib's .pc files could use Libs.private 2008-05-25 10:26:42 +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 Some file list updates (#398069, Owen Taylor) 2007-01-19 15:50:30 +00:00
INSTALL 2.17.0 2008-05-27 21:22:45 +00:00
INSTALL.in Document new dependencies 2008-01-06 17:48:41 +00:00
MAINTAINERS Update file format 2007-08-08 03:13:55 +00:00
Makefile.am fixed build order to build gobject after gmodule gthread so gobject tests 2008-02-07 12:00:34 +00:00
Makefile.decl /bin/ksh can't handle a for-loop with no arguments, so add a "." for when 2008-02-10 04:41:25 +00:00
makefile.msc added glib_gettext (in use by gio) also try building gio 2007-12-03 22:46:17 +00:00
mkinstalldirs Make executable 2007-11-09 23:34:31 +00:00
msvc_recommended_pragmas.h removed -GD to compile with msvc9 (vs2008) with less complains 2007-12-09 14:38:26 +00:00
NEWS Updates 2008-05-27 19:49:17 +00:00
NEWS.pre-1-3 updates. 2001-04-03 19:22:44 +00:00
README 2.17.0 2008-05-27 21:22:45 +00:00
README.in Updates 2008-05-27 19:56:26 +00:00
README.win32 More edits. 2008-03-07 01:58:49 +00:00
sanity_check Replace bash-specific == with sh-understood =. Fixes bug #373864. 2006-11-14 18:23:48 +00:00
win32-fixup.pl adapt to recent api changes variable declaration at the beginning of a 2007-12-21 10:11:35 +00:00

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

This is GLib version 2.17.0. 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/glib

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.18
=====================

* The recommended way of using GLib has always been to only include the
  toplevel headers glib.h, glib-object.h and gio.h. GLib enforces this by 
  generating an error when individual headers are directly included. 
  To help with the transition, the enforcement is not turned on by 
  default for GLib headers (it is turned on for GObject and GIO).
  To turn it on, define the preprocessor symbol G_DISABLE_SINGLE_INCLUDES.
  
Notes about GLib 2.16
=====================

* GLib now includes GIO, which adds optional dependencies against libattr
  and libselinux for extended attribute and SELinux support. Use 
  --disable-xattr and --disable-selinux to build without these.

Notes about GLib 2.10
=====================

* The functions g_snprintf() and g_vsnprintf() have been removed from
  the gprintf.h header, since they are already declared in glib.h. This
  doesn't break documented use of gprintf.h, but people have been known
  to include gprintf.h without including glib.h.

* The Unicode support has been updated to Unicode 4.1. This adds several
  new members to the GUnicodeBreakType enumeration.

* The support for Solaris threads has been retired. Solaris has provided 
  POSIX threads for long enough now to have them available on every 
  Solaris platform. 

* 'make check' has been changed to validate translations by calling 
  msgfmt with the -c option. As a result, it may fail on systems with 
  older gettext implementations (GNU gettext < 0.14.1, or Solaris gettext). 
  'make check' will also fail on systems where the C compiler does not
  support ELF visibility attributes.

* The GMemChunk API has been deprecated in favour of a new 'slice 
  allocator'. See the g_slice documentation for more details. 

* A new type, GInitiallyUnowned, has been introduced, which is
  intended to serve as a common implementation of the 'floating reference'
  concept that is e.g. used by GtkObject. Note that changing the
  inheritance hierarchy of a type can cause problems for language
  bindings and other code which needs to work closely with the type
  system. Therefore, switching to GInitiallyUnowned should be done
  carefully. g_object_compat_control() has been added to GLib 2.8.5
  to help with the transition.

Notes about GLib 2.6.0
======================

* GLib 2.6 introduces the concept of 'GLib filename encoding', which is the
  on-disk encoding on Unix, but UTF-8 on Windows. All GLib functions
  returning or accepting pathnames have been changed to expect
  filenames in this encoding, and the common POSIX functions dealing
  with pathnames have been wrapped. These wrappers are declared in the
  header <glib/gstdio.h> which must be included explicitly; it is not
  included through <glib.h>.

  On current (NT-based) Windows versions, where the on-disk file names
  are Unicode, these wrappers use the wide-character API in the C
  library. Thus applications can handle file names containing any
  Unicode characters through GLib's own API and its POSIX wrappers,
  not just file names restricted to characters in the system codepage.

  To keep binary compatibility with applications compiled against
  older versions of GLib, the Windows DLL still provides entry points
  with the old semantics using the old names, and applications
  compiled against GLib 2.6 will actually use new names for the
  functions. This is transparent to the programmer.

  When compiling against GLib 2.6, applications intended to be
  portable to Windows must take the UTF-8 file name encoding into
  consideration, and use the gstdio wrappers to access files whose
  names have been constructed from strings returned from GLib.

* Likewise, g_get_user_name() and g_get_real_name() have been changed 
  to return UTF-8 on Windows, while keeping the old semantics for 
  applications compiled against older versions of GLib.

* The GLib uses an '_' prefix to indicate private symbols that
  must not be used by applications. On some platforms, symbols beginning 
  with prefixes such as _g will be exported from the library, on others not. 
  In no case can applications use these private symbols. In addition to that, 
  GLib+ 2.6 makes several symbols private which were not in any installed 
  header files and were never intended to be exported.

* To reduce code size and improve efficiency, GLib, when compiled 
  with the GNU toolchain, has separate internal and external entry 
  points for exported functions. The internal names, which begin with 
  IA__, may be seen when debugging a GLib program.

* On Windows, GLib no longer opens a console window when printing
  warning messages if stdout or stderr are invalid, as they are in
  "Windows subsystem" (GUI) applications. Simply redirect stdout or
  stderr if you need to see them.

* The child watch functionality tends to reveal a bug in many
  thread implementations (in particular the older LinuxThreads 
  implementation on Linux) where it's not possible to call waitpid() 
  for a child created in a different thread. For this reason, for 
  maximum portability, you should structure your code to fork all 
  child processes that you want to wait for from the main thread.

* A problem was recently discovered with g_signal_connect_object(); 
  it doesn't actually disconnect the signal handler once the object being 
  connected to dies, just disables it. See the API docs for the function 
  for further details and the correct workaround that will continue to 
  work with future versions of GLib.

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 one of the test programs that are built 
  in the tests/ 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.)