Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Ray Strode d59b22a981 Add Matthias to "Written by" lines (GKeyFileGroup): add field to hold
2004-10-26  Ray Strode  <rstrode@redhat.com>

	* glib/gkeyfile.c: Add Matthias to "Written by" lines
	 (GKeyFileGroup): add field to hold comments about groups
	 (g_key_file_load_from_fd): return TRUE on success and
	 FALSE on failure.  Don't close fd's opened by other
	 parent function.
	 (g_key_file_load_from_file): run FILE_IS_REGULAR test
	 before trying to open file, to save an fd from being
	 leaked (would probably be better to use fstat()). Close
	 fd when done with it. Return TRUE on success and FALSE
	 on failure.
	 (g_key_file_load_from_data): Return TRUE on success and
	 FALSE on failure.
	 (g_key_file_load_from_data_dirs): remove superfluous
	 const modifier.  Return TRUE on success and FALSE on
	 failure.  Stop trying to load files when one succeeds.
	 (g_key_file_parse_key_value_pair): don't validate input
	 for UTF-8 until users uses a getter that does
	 validation.  Don't leak copy of start_group_name.
	 (g_key_file_to_data): serialize new comment field for
	 groups.
	 (g_key_file_get_keys): Remove convenience code to let
	 NULL group mean start group.  Get rid of unneeded NULL
	 check before g_strdup.
	 (g_key_file_get_groups): Reverse groups list before
	 sending to user because it is maintained in backward
	 order internally.
	 (g_key_file_get_value),
	 (g_key_file_set_value): add g_return checks at top of
	 public functions.
	 (g_key_file_get_string),
	 (g_key_file_get_string_list): validate key value is UTF-8.
	 (g_key_file_[sg]et_*comment): new functions for
	 setting/getting comments
	 (g_key_file_remove_comment): new function to remove
	 comment block
	 (g_key_file_remove_key_value_pair_node): new function to
	 pull a key-value pair out of the list and free it.
	 (g_key_file_remove_group_node): call
	 g_key_file_remove_key_value_pair_node instead of
	 freeing the list immediately to get better statistics
	 for approximate_size.
	 (g_key_file_remove_group): use lookup_group_node instead
	 of lookup_group to prevent a g_list_find call.
	 (g_key_file_add_key): report group also when unable to
	 find key.
	 (g_key_file_lookup_group_node): new function to make
	 getting the group node from a group name easier.
	 (g_key_file_lookup_group): use lookup_group_node under
	 the hood.
	 (g_key_file_lookup_key_value_pair_node): new function to
	 make getting the key-value pair from a group and key
	 name eaiser.
	 (g_key_file_parse_comment_as_value): new function to add '#' to the
	 beginning of every line.
	 (g_key_file_parse_value_as_comment): new function that
	 attempts to be the inverse of comment as value.
2004-10-26 12:35:58 +00:00
debian add -b (binary-only; no source packages) flag to dpkg-buildpackage 1998-11-18 05:32:06 +00:00
docs Add GKeyFile section, add index for 2.6 additions. 2004-10-25 13:56:25 +00:00
glib Add Matthias to "Written by" lines (GKeyFileGroup): add field to hold 2004-10-26 12:35:58 +00:00
gmodule 2.5.3 2004-09-18 21:03:46 +00:00
gobject Rename first parameter to check_data, since apparently the system headers 2004-10-24 01:22:30 +00:00
gthread 2.5.3 2004-09-18 21:03:46 +00:00
m4macros Require ngettext. (#123847, Danilo Segan) 2004-08-06 17:26:28 +00:00
po Update. 2004-10-25 10:40:04 +00:00
tests Improve error reporting. 2004-10-26 04:16:02 +00:00
.cvsignore shutup CVS 2002-03-15 01:16:08 +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 Make the various printf feature test macros reflect the system printf, 2003-10-04 23:24:02 +00:00
AUTHORS Changed my e-mail address. Removed my e-mail address. 2003-02-11 10:13:49 +00:00
autogen.sh rm autom4te.cache, since it might interfere with differing autoconf 2004-10-25 22:08:37 +00:00
ChangeLog Add Matthias to "Written by" lines (GKeyFileGroup): add field to hold 2004-10-26 12:35:58 +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 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 Add Matthias to "Written by" lines (GKeyFileGroup): add field to hold 2004-10-26 12:35:58 +00:00
ChangeLog.pre-2-8 Add Matthias to "Written by" lines (GKeyFileGroup): add field to hold 2004-10-26 12:35:58 +00:00
ChangeLog.pre-2-10 Add Matthias to "Written by" lines (GKeyFileGroup): add field to hold 2004-10-26 12:35:58 +00:00
ChangeLog.pre-2-12 Add Matthias to "Written by" lines (GKeyFileGroup): add field to hold 2004-10-26 12:35:58 +00:00
config.h.win32.in Update to match what configure produces. Add the G_ATOMIC_*. Define 2004-08-04 23:12:53 +00:00
configure.in Bump version 2004-09-18 21:25:10 +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 Remove forgotten @TRIO_LIBS@. (#118616, Noah Levitt) 2003-07-30 00:01:39 +00:00
glib-gettextize.in Fix #132858, Sven Neumann, patch by James Henstridge: 2004-07-21 18:14:54 +00:00
glib-zip.in Test where the DLLs actually are. 2003-06-15 23:20:14 +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 Update to match a configure-generated glibconfig.h. Specifically: Remove 2004-03-03 11:40:35 +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 2.5.3 2004-09-18 21:03:46 +00:00
INSTALL.in Move install docs into reference manual. 2003-04-09 18:49:48 +00:00
Makefile.am Fix #132858, Sven Neumann, patch by James Henstridge: 2004-07-21 18:14:54 +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 Update 2004-10-05 18:12:25 +00:00
NEWS.pre-1-3 updates. 2001-04-03 19:22:44 +00:00
README 2.5.3 2004-09-18 21:03:46 +00:00
README.in === Released 2.4.0 === 2004-03-16 19:10:34 +00:00
README.win32 Update. 2004-03-06 07:37:46 +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.5.3. 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.4.0
======================

* GObject now enforces CONSTRUCT_ONLY properties; due to an oversight
  in previous versions, it was possible to set CONSTRUCT_ONLY properties
  after construct time.

* 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 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.)