Commit Graph

630 Commits

Author SHA1 Message Date
Matthias Clasen
a64d63c59a Improve wording. (#161484, Christian Biere)
2004-12-16  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/version.sgml: Improve wording.  (#161484,
	Christian Biere)
2004-12-17 01:42:03 +00:00
Matthias Clasen
32247a04c6 2.6.0 2004-12-16 05:48:25 +00:00
Matthias Clasen
50695caa2c Add g_rmdir
2004-12-15  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add g_rmdir
2004-12-15 16:42:36 +00:00
Alexander Larsson
aba9e78ec4 Add g_filename_display_basename.
2004-12-15  Alexander Larsson  <alexl@redhat.com>

	* glib/gconvert.[ch]:
	Add g_filename_display_basename.
2004-12-15 16:34:49 +00:00
Matthias Clasen
80aded0d23 *** empty log message *** 2004-12-15 13:55:34 +00:00
Matthias Clasen
23265157fb 2.5.7 2004-12-02 21:13:05 +00:00
Matthias Clasen
eb12e6983b Add some warnings regarding --disable-mem-pools.
2004-12-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/building.sgml:
	* glib/tmpl/linked_lists_single.sgml:
	* glib/tmpl/linked_lists_double.sgml:
	* glib/tmpl/trees-nary.sgml: Add some warnings regarding
	--disable-mem-pools.
2004-12-02 15:46:09 +00:00
Matthias Clasen
9b925d5087 Fix a typo. (#160162, Tom Copeland)
2004-12-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/iochannels.sgml: Fix a typo.  (#160162, Tom Copeland)
2004-12-02 03:37:24 +00:00
Matthias Clasen
67379ad08b Document --enable-man and --disable-visibility.
2004-11-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/building.sgml: Document --enable-man and --disable-visibility.
2004-11-30 14:48:55 +00:00
Tor Lillqvist
8d25dee6d5 Document encoding of g_get_user_name(), g_get_real_name(), g_get_tmp_dir()
2004-11-28  Tor Lillqvist  <tml@iki.fi>

	* glib/tmpl/misc_utils.sgml: Document encoding of g_get_user_name(),
	g_get_real_name(), g_get_tmp_dir() and g_get_current_dir().
2004-11-28 22:54:37 +00:00
Matthias Clasen
7735d799c5 Document G_GNUC_MALLOC.
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/macros_misc.sgml: Document G_GNUC_MALLOC.

	* glib/glib-sections.txt: Add G_GNUC_MALLOC
2004-11-28 19:13:36 +00:00
Matthias Clasen
98121469ec 2.5.6 2004-11-12 17:15:54 +00:00
Matthias Clasen
a84cbafcec Add G_TRAVERSE_LEAVES and G_TRAVERSE_NON_LEAVES as alternative names for
2004-11-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gnode.h (enum GTraverseFlags): Add G_TRAVERSE_LEAVES
	and G_TRAVERSE_NON_LEAVES as alternative names for
	G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS, which are
	grammatically brutal.  (#138853, Morten Welinder)
2004-11-08 19:14:04 +00:00
Matthias Clasen
c83e52605f Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(),
2004-11-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gasyncqueue.[hc]:
	* glib/ghook.[hc]:
	* glib/gmain.[hc]:
	* glib/giochannel.[hc]: Make g_io_channel_ref(),
	g_main_context_ref(), g_hook_ref(), g_async_queue_ref()
	return the passed in pointer. (#151663, Manish Singh)
2004-11-08 18:26:56 +00:00
Tor Lillqvist
e8de52f31e Improve G_WIN32_HAVE_WIDECHAR_API documentation.
2004-11-04  Tor Lillqvist  <tml@iki.fi>

	* glib/tmpl/windows.sgml: Improve G_WIN32_HAVE_WIDECHAR_API
	documentation.

	* glib/tmpl/option.sgml: Document G_OPTION_FLAG_REVERSE.
2004-11-04 00:41:58 +00:00
Matthias Clasen
7f1bfaee74 *** empty log message *** 2004-11-02 23:06:58 +00:00
Matthias Clasen
87ad7806a7 New function to convert a filename to a UTF-8 string for display purposes.
2004-11-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c (g_filename_display_name): New function to
	convert a filename to a UTF-8 string for display purposes.
	(g_get_filename_charsets): New function to return the
	encodings which are tried when converting a filename to
	UTF-8.
2004-11-02 21:29:33 +00:00
Matthias Clasen
938f1a9a5a Documentation updates. 2004-11-01 17:52:02 +00:00
Matthias Clasen
0032a3c1b6 Document G_WIN32_IS_NT_BASED, G_WIN32_HAVE_WIDECHAR_API.
2004-10-31  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/windows.sgml: Document G_WIN32_IS_NT_BASED,
	G_WIN32_HAVE_WIDECHAR_API.

	* glib/glib-sections.txt: Add g_lstat

	* glib/running.sgml: Document G_WIN32_PRETEND_WIN9X.

200
2004-10-31 17:41:29 +00:00
Matthias Clasen
eb0b4db5ff Doc additions. 2004-10-30 05:06:15 +00:00
Matthias Clasen
dd028d11f6 Add G_OPTION_REMAINING
2004-10-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add G_OPTION_REMAINING
2004-10-29 20:27:01 +00:00
Matthias Clasen
a0e217e94a Document GOption 2004-10-29 18:43:34 +00:00
Matthias Clasen
9e8ebbbdfb Add some introductory notes.
2004-10-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/keyfile.sgml: Add some introductory notes.
2004-10-28 18:38:07 +00:00
Matthias Clasen
25dc3ce452 2.5.4 2004-10-27 17:56:33 +00:00
Matthias Clasen
8a7eecd7c6 Introduce the idea of a filename encoding, which is *literally* the
2004-10-27  Matthias Clasen  <mclasen@redhat.com>

	Introduce the idea of a filename encoding, which is
	*literally* the filename encoding on Unix. On windows,
	use the Unicode name converted to UTF-8. (#156325,
	Tor Lillqvist, Owen Taylor)

	* glib/gdir.[hc]:
	* glib/gconvert.[hc]:
	* glib/gfileutils.[hc]:
	* glib/gutils.[hc]:
	* glib/giowin32.c: On Windows, keep old ABI versions
	of GLib pathname api for DLL ABI stability. Use different
	names for the new-style UTF-8 versions. Hide this through
	a #define.

	* glib/gstdio.[hc]: New files containing wrappers for
	POSIX pathname api.

	* glib/glib.symbols: Add new symbols.

	* glib/makegalias.pl: Drop Win32 specific .def syntax,
	include gstdio.h
2004-10-27 16:46:29 +00:00
Matthias Clasen
933afd0277 Add a 2.6 index. 2004-10-26 16:13:20 +00:00
Matthias Clasen
5a6df6dd65 Documentation fixes. 2004-10-26 16:10:52 +00:00
Matthias Clasen
5883072cb2 Add GKeyFile section, add index for 2.6 additions.
2004-10-25  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-docs.sgml:  Add GKeyFile section, add
	index for 2.6 additions.
2004-10-25 13:56:25 +00:00
Matthias Clasen
481fe81c06 Rename first parameter to check_data, since apparently the system headers
2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* gtype.h (GTypeInterfaceCheckFunc): Rename first parameter to
	check_data, since apparently the system headers on AIX leak a
	macro named func_data.  (#155178, Andrea Campi)
2004-10-24 01:22:30 +00:00
Matthias Clasen
6811b264e4 Add GKeyFile section.
2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add GKeyFile section.
2004-10-23 06:23:18 +00:00
Matthias Clasen
4293525fc8 Make public. (#155589, Tim-Philipp Müller)
2004-10-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.h (G_IS_DIR_SEPARATOR):
	* glib/gutils.c: Make public.  (#155589, Tim-Philipp Müller)
2004-10-17 06:46:16 +00:00
Matthias Clasen
2118d96318 Improve the docs for g_object_get_property(). (#153424, Stefan Kost)
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/objects.sgml: Improve the docs for
	g_object_get_property().  (#153424, Stefan Kost)
2004-10-05 19:44:33 +00:00
Matthias Clasen
0523aca07c Improve docs for g_signal_add_emission_hook. (#154299, Nickolay V.
2004-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Improve docs for
	g_signal_add_emission_hook.  (#154299, Nickolay V. Shmyrev)
2004-10-04 02:36:14 +00:00
Matthias Clasen
af13bb21bb Correct the docs for the default log handler wrt to which messages go to
2004-09-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/messages.sgml: Correct the docs for the default log
	handler wrt to which messages go to stderr. (#153041, Philippe Blain)
2004-09-20 14:49:57 +00:00
Matthias Clasen
859b7b4959 Point to g_utf8_strreverse() for reversing UTF-8 strings. (#153091, Adam
Sun Sep 19 23:15:17 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/patterns.sgml: Point to g_utf8_strreverse() for
	reversing UTF-8 strings.  (#153091, Adam Hooper)
2004-09-20 03:16:32 +00:00
Matthias Clasen
36e34772d8 2.5.3 2004-09-18 21:03:46 +00:00
Matthias Clasen
f2f53d7ce8 Ignore galias.h
2004-09-16  Matthias Clasen  <mclasen@redhat.com>

	* glib/Makefile.am: Ignore galias.h

	* glib/glib-sections.txt: Updates.
2004-09-16 14:16:18 +00:00
Matthias Clasen
ea01de53fe Clarify the relation of g_get_home_dir() and $HOME. 2004-09-09 14:06:20 +00:00
Matthias Clasen
6ec4724399 Add a function to calculate the length of a NULL-terminated string array.
Thu Sep  9 00:10:40 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gstrfuncs.h:
	* glib/gstrfuncs.c (g_strv_length): Add a function to
	calculate the length of a NULL-terminated string
	array.  (#150455, Tim-Philipp Müller)

	* tests/strfunc-test.c (main): Add a test for g_strv_length().
2004-09-09 04:12:19 +00:00
Matthias Clasen
d209e108b1 Add a function to return a list of applicable locale names. (#95587,
2004-09-07  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.h:
	* glib/gutils.c (g_get_language_names): Add a function to
	return a list of applicable locale names.  (#95587,
	Hidetoshi Tajima)
	(guess_category_value, compute_locale_variants):
	(explode_locale, unalias_lang, read_aliases): Helper
	functions for g_get_language_names()

	* tests/testglib.c (main): Show the results of
	g_get_language_names()
2004-09-07 18:37:10 +00:00
Matthias Clasen
b52552a568 Remove excess markup and fix a markup error.
Mon Sep  6 01:56:13 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/messages.sgml: Remove excess markup and fix a markup
	error.
2004-09-06 05:56:47 +00:00
Matthias Clasen
4dcb22c14a New function to install an alternate default log handler. (#66387, Darin
Sun Sep  5 01:46:11 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/glib.def:
	* glib/gmessages.h:
	* glib/gmessages.c (g_log_set_default_handler): New
	function to install an alternate default log
	handler.  (#66387, Darin Adler)
2004-09-05 05:46:33 +00:00
Matthias Clasen
ca9fa3e7f8 Add g_date_get_iso8601_week_of_year.
Wed Sep  1 20:27:59 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/glib-sections.txt: Add g_date_get_iso8601_week_of_year.
2004-09-02 00:28:33 +00:00
Matthias Clasen
f04024e32d Fix a typo. (#151109, Stepan Kasal)
Sun Aug 29 23:50:45 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/fileutils.sgml: Fix a typo.  (#151109, Stepan Kasal)
2004-08-30 03:54:01 +00:00
Matthias Clasen
981fe434ee Fix #151193, Stepan Kasal:
2004-08-27  Matthias Clasen  <mclasen@redhat.com>

	Fix #151193, Stepan Kasal:

	* glib/gfileutils.c (g_file_error_from_errno):
	* glib/gfileutils.h (enum GFileError): Add G_FILE_ERROR_NOSYS.
2004-08-27 14:57:34 +00:00
Matthias Clasen
7f014a1ff3 2.5.2 2004-08-25 05:02:57 +00:00
Matthias Clasen
66a18b3f64 Add an example for g_on_error_query() usage. (#148716, Christian Persch)
2004-08-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/warnings.sgml: Add an example for
	g_on_error_query() usage.  (#148716, Christian Persch)
2004-08-23 17:56:35 +00:00
Matthias Clasen
31e039c739 Document the necessity to call g_thread_init() when using threads (even
2004-08-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Document the necessity to call
	g_thread_init() when using threads
	(even non-gthreads).  (#149490, Vincent Untz)
2004-08-12 15:00:35 +00:00
Matthias Clasen
983dd431f1 Add a section for GOption. Include GOption section. New template.
Tue Aug  3 16:43:22 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/glib-sections.txt: Add a section for GOption.
	* glib/glib-docs.sgml: Include GOption section.
	* glib/tmpl/option.sgml: New template.
2004-08-03 20:44:24 +00:00
Matthias Clasen
a62fd5ec60 New function to check the version of GLib at runtime. (#149175, Michael
Tue Aug  3 14:58:20 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gutils.h:
	* glib/gutils.c (glib_check_version): New function to
	check the version of GLib at runtime.  (#149175, Michael Natterer)
2004-08-03 19:41:02 +00:00
Matthias Clasen
f1024215a4 Add a G_GNUC_INTERNAL macro to mark function declarations as internal and
2004-08-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmacros.h: Add a G_GNUC_INTERNAL macro to mark function
	declarations as internal and avoid PLT indirections for
	them.  (#145465, Arjan van de Ven)

	* glib/gunicodeprivate.h:
	* glib/gthreadinit.h:
	* glib/gmessages.h:
	* glib/gdebug.h:
	* glib/gconvert.c: Use G_GNUC_INTERNAL for _g_charset_get_aliases(),
	_g_debug_init(), _g_log_fallback_handler(), _g_mem_thread_init(),
	_g_messages_thread_init(), _g_convert_thread_init(),
	_g_rand_thread_init(), _g_main_thread_init(), _g_atomic_thread_init(),
	_g_mem_thread_private_init(), _g_messages_thread_private_init(),
	_g_utf8_normalize_wc() and _g_unichar_combining_class().

	* glib/gatomic.c: Include gthreadinit.h here to see the declaration
	for _g_atomic_thread_init().
2004-08-02 15:34:30 +00:00
Matthias Clasen
5b1c38b0b3 2.5.1 2004-08-01 03:51:21 +00:00
Matthias Clasen
e032d5e222 Clarify docs for g_get_real_name(). (#143552, Danek Duvall)
2004-07-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/misc_utils.sgml: Clarify docs for
	g_get_real_name().  (#143552, Danek Duvall)
2004-07-28 15:39:01 +00:00
Matthias Clasen
f5a8ae228a Fix docs for G_MAXSIZE. (#148262, Christophe Fergeau)
Fri Jul 23 10:38:24 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/limits.sgml: Fix docs for G_MAXSIZE.  (#148262,
	Christophe Fergeau)
2004-07-23 14:39:25 +00:00
Soeren Sandmann
0192c59937 === Released 2.5.0 ===
Sun Jul 18 19:40:30 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* === Released 2.5.0 ===

	* Makefile.am (BUILT_EXTRA_DIST): move gtk-doc.make here.
2004-07-18 17:44:23 +00:00
Matthias Clasen
1285c810c6 Improve g_array_free() docs. (#146875, Ed Griffiths) 2004-07-09 13:10:47 +00:00
Matthias Clasen
8414d97c5b Add g_type_module_register_enum() and g_type_module_register_flags().
Tue Jul  6 00:54:38 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/gobject-sections.txt:
	* gobject/tmpl/gtypemodule.sgml: Add g_type_module_register_enum()
	and g_type_module_register_flags().
2004-07-06 04:56:36 +00:00
Matthias Clasen
45306c3a01 Complete the g_log() family. (#135730, Sven Herzberg)
Mon Jul  5 18:50:27 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gmessages.h (g_debug): Complete the g_log()
	family.  (#135730, Sven Herzberg)
2004-07-05 22:52:06 +00:00
Federico Mena Quintero
d131bae53d New section on file name encodings.
2004-06-15  Federico Mena Quintero  <federico@ximian.com>

	* glib/tmpl/conversions.sgml: New section on file name encodings.

	* glib/file-name-encodings.sxd: New diagram of how file name
	encodings work.

	* glib/file-name-encodings.png: Same as above, for inclusion in
	the generated docs.

	* glib/Makefile.am (HTML_IMAGES): Add file-name-encodings.png.
	(EXTRA_DIST): Add the new images.

	* glib/running.sgml: Add ids to the corresponding paragraphs that
	describe G_FILENAME_ENCODING and G_BROKEN_FILENAMES, to be able to
	reference them from elsewhere.
2004-06-16 00:20:54 +00:00
Matthias Clasen
c441dca3db Add an example for GModule usage. (#144127, Tommi Komulainen)
Thu Jun 10 21:29:55 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/modules.sgml: Add an example for GModule
	usage.  (#144127, Tommi Komulainen)
2004-06-11 01:31:02 +00:00
Matthias Clasen
73f130eab5 Fix the docs for G_DEFINE_TYPE() and friends. (#143800, Crispin Flowerday)
Sun Jun  6 23:20:42 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtype.sgml: Fix the docs for G_DEFINE_TYPE()
	and friends.  (#143800, Crispin Flowerday)
2004-06-07 03:22:17 +00:00
Matthias Clasen
16cc3960d4 Add multiple indices.
2004-05-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/gobject-docs.sgml:
	* glib/glib-docs.sgml: Add multiple indices.
2004-05-05 17:32:12 +00:00
Matthias Clasen
6c6c7a0782 Add multiple indices.
2004-05-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-docs.sgml: Add multiple indices.
2004-05-05 17:30:47 +00:00
Matthias Clasen
0ce7180eec === Released 2.4.1 ===
2004-04-30  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.4.1 ===

	* glib/libcharset/Makefile.am (INCLUDES): Add -I$(top_srcdir)
	to make make distcheck happy.

	* configure.in: Version 2.4.1, interface age 1.

	* NEWS: Updates
2004-04-30 14:45:14 +00:00
Matthias Clasen
f5eb6acc72 Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some point.
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
	Reinstate LIBCHARSET_ALIAS_DIR support which got lost at some
	point.  (#139134, Piotr Klaban)
2004-04-23 14:47:44 +00:00
Matthias Clasen
ae0c9d95bb Correct the initial minimal value to be -G_MAXFLOAT. The initial values
2004-04-15  Matthias Clasen  <mclasen@redhat.com>

	* gparamspecs.c (param_float_init): Correct the initial
	minimal value to be -G_MAXFLOAT. The initial values were
	inconsistant before, with the initial default being smaller
	than the inital minimum.
	(param_double_init): Correct the initial minimal value
	to be -G_MAXDOUBLE.

	* glib/tmpl/types.sgml: Correct the description of the
	gfloat and gdouble ranges.
2004-04-15 16:45:31 +00:00
Owen Taylor
c309c65ecb === Released 2.4.0 ===
Tue Mar 16 11:50:56 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.4.0 ===

        * configure.in: Version 2.4.0, interface age 0.

        * README.in: Updates

        * NEWS: Updates
2004-03-16 19:10:34 +00:00
Owen Taylor
8e4b5453a7 Document the fact that g_signal_connect_object() does *not* remove the
Sun Mar 14 11:00:41 2004  Owen Taylor  <otaylor@redhat.com>

        * gobject/tmpl/signals.sgml: Document the fact that
        g_signal_connect_object() does *not* remove the signal
        when the object is disconnected currently and describe
        a workaround to prevent memory leaks.
2004-03-14 16:34:23 +00:00
Owen Taylor
55df929d48 === Released 2.3.6 ===
Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.6 ===

        * configure.in: Version 2.3.6, interface age 1.

        * NEWS: Updates
2004-03-09 14:44:02 +00:00
Owen Taylor
947ba12536 Reference g_source_set_callback(), not g_source_attach(). (Takeshi AIHANA
Mon Mar  8 08:32:36 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/main.sgml: Reference g_source_set_callback(),
        not g_source_attach(). (Takeshi AIHANA )
2004-03-08 13:35:38 +00:00
Sebastian Wilhelmi
fe2efd06a0 Moved the assembler functions from gatomic.h to gatomic.c, which makes for
2004-02-29  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in, glib/gatomic.c, glib/gatomic.h: Moved the
	assembler functions from gatomic.h to gatomic.c, which makes for
	better maintainability. Also use gint instead of gint32 to be able
	to use reference counting for ABI-fixed structures with
	gint/guint.

	* glib/gthread.h: Adapted accordingly.

	* tests/atomic-test.c: Updated to test for G_MAXINT and G_MININT.

	* glib/glib-overrides.txt, glib/glib-sections.txt,
	glib/tmpl/atomic_operations.sgml: Updated according to code changes.
2004-02-29 16:47:48 +00:00
Sven Herzberg
760d96edc5 fix bug #135723 2004-02-29 01:32:03 +00:00
Matthias Clasen
3ce97fa284 Documentation updates. 2004-02-27 21:11:51 +00:00
Sebastian Wilhelmi
76c213543a Removed the PID niceness surrogate for thread priorities as requested by
2004-02-26  Sebastian Wilhelmi  <seppi@seppi.de>

	* configure.in, config.h.win32.in, glib/gthread.c: Removed the PID
	niceness surrogate for thread priorities as requested by Tim. It
	does more harm than good.

        * glib/tmpl/threads.sgml: Updated to reflect removal of the PID
	niceness surrogate for thread priorities.
2004-02-26 14:44:42 +00:00
Sebastian Wilhelmi
dbbb29f608 New files to implement atomic operations for different platforms. Fixes
2004-02-26  Sebastian Wilhelmi  <seppi@seppi.de>

	* glib/gatomic.c, glib/gatomic.h: New files to implement atomic
	operations for different platforms. Fixes bug #63621.

	* glib/glib.h: Include gatomic.h.

	* configure.in: Add test for assembler routines for atomic operations.

	* glib/Makefile.am: Add gatomic.c, gatomic.h.

	* tests/Makefile.am, tests/atomic-test.c: Unit test for atomic
	operations.

	* glib/glib-overrides.txt, glib/glib-sections.txt,
	glib/glib-docs.sgml, glib/tmpl/atomic_operations.sgml: Add docs
	for atomic operations.
2004-02-26 14:30:35 +00:00
Owen Taylor
81e39b7858 === Released 2.3.3 ===
Tue Feb 24 14:09:21 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.3 ===

        * configure.in: Version 2.3.3, interface age 0.
2004-02-24 19:27:19 +00:00
Matthias Clasen
c0b5617ae9 New function to deep-copy a GNode and its children. (#93464, James M.
Sun Feb 22 00:47:04 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gnode.c (g_node_copy_deep): New function to deep-copy a
	GNode and its children.  (#93464, James M. Cape)
2004-02-21 23:56:54 +00:00
Sebastian Wilhelmi
1a2b93f361 Forgot ChangeLog
Forgot ChangeLog
2004-02-18 12:21:22 +00:00
Matthias Clasen
540d02ba8b Wrap waitpid() as a GSource. This is a partial implementation of the "Unix
Sat Feb 14 01:21:34 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gmain.h:
	* glib/gmain.c (g_child_watch_source_new):
	* glib/gmain.c (g_child_watch_add):
	* glib/gmain.c (g_child_watch_add_full): Wrap waitpid() as a
	GSource. This is a partial implementation of the "Unix signal
	source".  (#50296, Jonathan R. Blandford)

	* configure.in: Add the necessary configury to typedef GPid
	appropriately.

	* tests/Makefile.am:
	* tests/child-test.c: Test child_watch sources.
2004-02-14 00:23:36 +00:00
Matthias Clasen
fff62fd3df Fix a typo. 2004-02-13 22:13:02 +00:00
Matthias Clasen
1c778a6235 Fix some external links. 2004-02-06 23:59:12 +00:00
Matthias Clasen
dd394749f9 New function which works like g_completion_complete(), but strips a
Thu Feb  5 00:56:28 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gcompletion.c (g_completion_complete_utf8): New function which
	works like g_completion_complete(), but strips a trailing incomplete
	UTF-8 character from the prefix.  (#133313, Theppitak Karoonboonyanan)

	* tests/completion-test.c (main): Some GCompletion tests.

	* tests/Makefile.am: Add completion-test.
2004-02-04 23:54:17 +00:00
Matthias Clasen
e7b9ca87a2 Remove references to deprecated GTK+ and GDK functions. (#130756, Vincent
Fri Jan 30 23:25:58 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/iochannels.sgml:
	* glib/tmpl/main.sgml: Remove references to deprecated GTK+ and
	GDK functions.  (#130756, Vincent Untz)
2004-01-30 22:23:59 +00:00
Matthias Clasen
326c025205 New function, a cross between g_strsplit() and strtok(). (#88329, Soeren
Wed Jan 28 01:39:21 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gstrfuncs.h:
	* glib/gstrfuncs.c (g_strsplit_set): New function, a cross
	between g_strsplit() and strtok().  (#88329, Soeren Sandmann)

	* tests/strfunc-test.c (main): Add g_strsplit_set() tests.
2004-01-28 00:37:46 +00:00
Owen Taylor
7ace455394 Add g_timer_continue(). (#98536, Tim-Philipp Müller)
Thu Jan 22 13:55:44 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gtimer.c: Add g_timer_continue().
        (#98536, Tim-Philipp Müller)

        * configure.in: Version 2.3.2, interface age 0.

        * NEWS: tweak, finish.
2004-01-22 19:56:28 +00:00
Matthias Clasen
af81f44e66 Improve docs for G_DEFINE_TYPE_* macros.
Sun Jan 11 01:25:44 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtype.sgml: Improve docs for G_DEFINE_TYPE_* macros.

Sun Jan 11 01:25:29 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/gobject-sections.txt: Add G_DEFINE_TYPE_EXTENDED.
2004-01-11 00:23:57 +00:00
Matthias Clasen
43da83fdae Document the new GType boilerplate macros with an example.
Sat Jan 10 02:18:32 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtype.sgml: Document the new GType boilerplate macros
	with an example.
2004-01-10 01:16:47 +00:00
Matthias Clasen
f05c39ab42 Document g_type_class_peek_static.
Sat Jan 10 01:36:01 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtype.sgml: Document g_type_class_peek_static.

Sat Jan 10 01:23:58 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/gobject-sections.txt: Add g_type_class_peek_static,
	G_DEFINE_TYPE, G_DEFINE_TYPE_WITH_CODE, G_DEFINE_ABSTRACT_TYPE,
	G_DEFINE_ABSTRACT_TYPE_WITH_CODE, G_IMPLEMENT_INTERFACE.


Sat Jan 10 01:23:01 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/objects.sgml: Update docs of g_object_connect.

Fri Jan  9 23:40:23 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gboxed.sgml:
	* gobject/gobject-sections.txt: Add G_TYPE_STRV and GStrv.
2004-01-10 00:34:26 +00:00
Matthias Clasen
b4f769efaf Add a boxed type for nul-terminated string arrays. (#110528)
Fri Jan  9 23:41:00 2004  Matthias Clasen  <maclas@gmx.de>

	* gboxed.h:
	* gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated
	string arrays.  (#110528)
2004-01-09 22:39:55 +00:00
Matthias Clasen
e09de99eb5 New function to call a function for each element of a GPtrArray. (#114790)
Fri Dec 26 02:03:58 2003  Matthias Clasen  <maclas@gmx.de>

	* glib/garray.[hc] (g_ptr_array_foreach): New function to
	call a function for each element of a GPtrArray.  (#114790)

	* tests/array-test.c (main): Add a test for g_ptr_array_foreach().
2003-12-26 01:04:12 +00:00
Matthias Clasen
421f6d3b18 Document the encoding of g_get_real_name().
Sun Dec 21 01:01:34 2003  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/misc_utils.sgml: Document the encoding of
	g_get_real_name().
2003-12-21 00:01:03 +00:00
Matthias Clasen
0f563c0f26 Some rewording. 2003-12-19 20:39:37 +00:00
Matthias Clasen
04c96e8fa3 Fix for #103710, Mark Jones:
Tue Dec  2 02:29:41 2003  Matthias Clasen  <maclas@gmx.de>

	Fix for #103710, Mark Jones:

	* glib/gtypes.h (G_MAXINT64): Define G_{MIN,MAX,MAXU}INT{8,16,32,64}.
	* configure.in: Don't put G_{MIN,MAX,MAXU}INT64 in glibconfig.h.
2003-12-02 01:31:43 +00:00
Matthias Clasen
fa65fd554b Add an i18n section. Include the corresponding entity. Template for i18n
Thu Nov  6 01:42:36 2003  Matthias Clasen  <maclas@gmx.de>

	* glib/glib-sections.txt: Add an i18n section.
	* glib/glib-docs.sgml: Include the corresponding entity.
	* glib/tmpl/i18n.sgml: Template for i18n section.

Thu Nov  6 00:56:04 2003  Matthias Clasen  <maclas@gmx.de>

	* glib/running.sgml: Document G_FILENAME_ENCODING.
2003-11-06 00:43:48 +00:00
Matthias Clasen
eb9b3fbdeb 100% 2003-10-24 23:10:37 +00:00
Owen Taylor
dfa8c540a1 === Released 2.3.0 ===
Thu Oct 23 12:38:24 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.0 ===

        * tests/gobject/Makefile.am (dist-hook): Remove
        and extra backslash.

        * tests/gobject/Makefile.am (EXTRA_DIST): Add
        testmarshal.list.

        * glib/Makefile.am (libglib_2_0_la_SOURCES): Add
        missing gunicode-private.h.

        * tests/testglib.c (main): Fix a warning.

        * tests/gobject/ifaceinherit.c: Remove check that
        wasn't supposed to work (adding an interface already
        added to the derived class to the base class),
        fix a bug.
2003-10-23 22:42:31 +00:00
Matthias Clasen
d619ee159b Additions.
Tue Oct 21 23:29:54 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtypemodule.sgml:
	* gobject/tmpl/enumerations_flags.sgml:
	* gobject/tmpl/gtype.sgml: Additions.
2003-10-21 21:49:21 +00:00
Matthias Clasen
28f255d1d0 Add "Since 2.4" markers where appropriate.
Tue Oct 21 23:09:15 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gparamspec.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/signals.sgml: Add "Since 2.4" markers where
	appropriate.
2003-10-21 21:10:26 +00:00
Owen Taylor
4d3e3f0bd9 Document interface properties and GParamSpecOverride.
Tue Oct 14 17:45:33 2003  Owen Taylor  <otaylor@redhat.com>

        * gobject/gobject-sections.txt gobject/tmpl/objects.sgml
        gobject/tmpl/param_value_types.sgml gobject/tmpl/gparamspec.sgml:
        Document interface properties and GParamSpecOverride.
2003-10-21 19:14:04 +00:00
Matthias Clasen
4a29291187 Documentation additions. 2003-10-20 20:07:45 +00:00
Matthias Clasen
04d27d2299 Removed... ...and readded. Change to the standard file extension for
Mon Oct 20 20:38:06 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/gobject.i: Removed...
	* gobject/gobject.cI: ...and readded.
	* gobject/gobject.types: Change to the standard file
	extension for included hunks of C code.

Mon Oct 20 20:34:33 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/Makefile.am (INCLUDES): Add $(top_builddir)/glib
	as an include dir again, this time for real.
2003-10-20 18:40:00 +00:00
Matthias Clasen
ad23d7bb7f Additions.
Mon Oct 20 01:12:46 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/value_arrays.sgml: Additions.

	* gobject/tmpl/gboxed.sgml:
	* gobject/gobject-sections.txt: Remove prematurely added
	GStrv documentation.
2003-10-19 23:17:30 +00:00
Matthias Clasen
702fc02f8f Add $(top_builddir)/glib as an include dir. (#124934, Mariano
Sun Oct 19 22:18:28 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/Makefile.am (INCLUDES): Add $(top_builddir)/glib
	as an include dir.  (#124934, Mariano Suárez-Alvarez)
2003-10-19 20:20:17 +00:00
Matthias Clasen
2c12a01665 Additions.
Sun Oct 19 00:33:28 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/generic_values.sgml:
	* gobject/tmpl/objects.sgml:
	* gobject/tmpl/signals.sgml: Additions.
2003-10-18 22:55:00 +00:00
Matthias Clasen
0cbbe0bcdf Add /*< public >*/ and /*< private >*/ markers for documentation purposes.
Sat Oct 18 01:30:47 2003  Matthias Clasen  <maclas@gmx.de>

	* gtypeplugin.h (struct _GTypePluginClass): Add /*< public >*/
	and /*< private >*/ markers for documentation purposes.

	* gobject/tmpl/gboxed.sgml:
	* gobject/tmpl/gtypeplugin.sgml:
	* gobject/tmpl/enumerations_flags.sgml: Additions.
2003-10-17 23:33:03 +00:00
Matthias Clasen
a414fb77de List GObject here, since the documentation misses the notify signal
Sat Oct 18 00:04:22 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/gobject.types: List GObject here, since the
	documentation misses the notify signal otherwise. Needs
	a little bit of a hack to work around a gtkdoc-scangobj
	limitation, see the comment in gobject/gobject.i.

	* gobject/gobject.i: New file, containing a trivial
	g_object_get_type() function.
2003-10-17 22:08:04 +00:00
Matthias Clasen
7681dc412e Add the necessary stuff to compile gobject-scan.
Fri Oct 17 00:23:51 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/Makefile.am (GTKDOC_LIBS):
	(INCLUDES): Add the necessary stuff to compile gobject-scan.

	* gobject/gobject.types: Add g_type_module_get_type() and
	g_type_plugin_get_type().
2003-10-16 22:24:57 +00:00
Matthias Clasen
6e5ded7781 Additions, document GParamSpecPool.
Thu Oct 16 01:02:04 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gparamspec.sgml: Additions, document
	GParamSpecPool.
2003-10-15 23:03:20 +00:00
Matthias Clasen
4dd7b60fb9 Improvements from Owen's feedback.
* gobject/tmpl/gclosure.sgml: Improvements from Owen's feedback.
2003-10-14 22:57:32 +00:00
Matthias Clasen
9d641fd17a Document closures. 2003-10-14 00:37:18 +00:00
Matthias Clasen
1a197c35c3 Fix includes.
Sun Oct  5 23:23:53 2003  Matthias Clasen  <maclas@gmx.de>

	* gobject/glib-sections.txt:
	* gobject/gobject-sections.txt: Fix includes.

	* gobject/tmpl/value_collection.sgml: Add docs found in the
	header.
2003-10-05 21:32:09 +00:00
Owen Taylor
3963846335 Add g_type_add/remove_interface_check()
Thu Oct  2 01:22:46 2003  Owen Taylor  <otaylor@redhat.com>

        * gobject/gobject-sections.txt gobject/tmpl/gtype.sgml:
        Add g_type_add/remove_interface_check()
2003-10-02 05:25:32 +00:00
Matthias Clasen
dd012cc3ed Additions.
2003-09-30  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gparamspec.sgml:
	* gobject/tmpl/signals.sgml: Additions.
2003-09-29 22:48:05 +00:00
Matthias Clasen
712c9d672e Add "Since: 2.4" to docs. Add g_unichar_get_mirror_char and
2003-09-29  Matthias Clasen  <maclas@gmx.de>

	* glib/guniprop.c (g_unichar_get_mirror_char): Add "Since: 2.4"
	to docs.
	* glib/glib-sections.txt: Add g_unichar_get_mirror_char and
	g_static_mutex_get_mutex_impl_shortcut.
2003-09-29 22:04:28 +00:00
Owen Taylor
4cfce6290b Docs for g_type_default_interface_ref(), etc. :
Mon Sep 29 10:55:23 2003  Owen Taylor  <otaylor@redhat.com>

        *  gobject/gobject-sections.txt gobject/tmpl/gtype.sgml:
        Docs for g_type_default_interface_ref(), etc.
: ----------------------------------------------------------------------
2003-09-29 14:56:23 +00:00
Owen Taylor
89e16ea9c7 Add docs for g_signal_accumulator_true_handled.
Fri Sep 12 16:29:29 2003  Owen Taylor  <otaylor@redhat.com>

        * gobject/tmpl/signals.sgml: Add docs for
        g_signal_accumulator_true_handled.
2003-09-12 20:37:29 +00:00
Matthias Clasen
c3acb9da0c Make the g_value_set_x_take_ownership() functions "official" part of the
2003-09-12  Matthias Clasen  <maclas@gmx.de>

	Make the g_value_set_x_take_ownership() functions "official"
	part of the API (#100948):

	* gvaluetypes.[hc]: Add g_value_take_string() (synonym to the
	now deprecated g_value_set_string_take_ownership()).

	* gparam.[hc]: Add g_value_take_param() (synonym to the
	now deprecated g_value_set_param_take_ownership()).

	* gobject.[hc]: Add g_value_take_object() (synonym to the
	now deprecated g_value_set_object_take_ownership()).

	* gboxed.[hc]: Add g_value_take_boxed() (synonym to the
	now deprecated g_value_set_boxed_take_ownership()).

	* gobject/gobject-sections.txt: Add new g_value_take_x() functions.

	* gobject/tmpl/param_value_types.sgml: Document new g_value_take_x()
	functions.  (#100948)
2003-09-12 20:11:38 +00:00
Matthias Clasen
10d02e3aef Add note about in-place editing to g_strdelimit() doc.
(#118875, Thomas Vander Stichele)
2003-08-05 21:35:55 +00:00
Matthias Clasen
b3814b0cdc Small doc additions. 2003-07-30 19:00:36 +00:00
Matthias Clasen
beca86c32b Small doc fixes. 2003-07-30 18:50:26 +00:00
Matthias Clasen
e7fde02e4f Add paragraph about multi-threading policy.
* glib/glib-docs.sgml: Add paragraph about multi-threading policy.
2003-07-29 22:37:37 +00:00
Matthias Clasen
15edef6ff2 Rename g_read_link() to g_file_read_link() to better match the remaining
* glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
	utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
	as the function is just 2 days old.
2003-07-29 22:31:40 +00:00
Matthias Clasen
3c51de64fe Integrate gnulib vasnprintf(). 2003-07-28 23:00:05 +00:00
Matthias Clasen
355eb38190 New function g_read_link(). (#72545)
* glib/gfileutils.h:
	* glib/gfileutils.c: New function g_read_link(). (#72545)
2003-07-28 19:49:47 +00:00
Matthias Clasen
f723402708 Add g_setenv() and g_unsetenv(). (#100763)
* glib/gutils.[ch]: Add g_setenv() and g_unsetenv().  (#100763)
2003-07-28 19:24:22 +00:00
Matthias Clasen
971af34af9 New functions to remove a range of elements from an array. (#94879, Nalin
2003-07-26  Matthias Clasen  <maclas@gmx.de>

	* glib/garray.h:
	* glib/garray.c (g_{,byte,pointer}_remove_range): New functions to remove a range of elements
	from an array.  (#94879, Nalin Dahyabhai)
2003-07-26 08:03:16 +00:00
Matthias Clasen
ffa186dfc9 Remove the 1024 char limit in the common (non-recursive) case.
2003-07-26  Matthias Clasen  <maclas@gmx.de>

	* glib/gmessages.c (g_logv): Remove the 1024 char limit in the common (non-recursive)
	case.
2003-07-25 23:17:23 +00:00
Matthias Clasen
8f74a6a78a Mention the restriction on message length. (#118043, Martyn Russell)
* glib/tmpl/messages.sgml: Mention the restriction on message length.  (#118043, Martyn Russell)
2003-07-23 22:41:23 +00:00
Matthias Clasen
27da11aa5a Add a note about double indirection in g_ptr_array_sort[_with_data]().
2003-07-18  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/arrays_pointer.sgml: Add a note about double indirection in
	g_ptr_array_sort[_with_data]().  (#113697, Owen Taylor)
2003-07-17 23:11:21 +00:00
Matthias Clasen
238c7c368b Doc additions.
2003-07-12  Matthias Clasen  <maclas@gmx.de>

	* glib/gprintf.c: Doc additions.

2003-07-12  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/string_utils.sgml: Add a paragraph about string precision, add links to it.
	Remove markup which is now handled better by gtk-doc.
2003-07-08 23:43:47 +00:00
Matthias Clasen
fe5c4f3e50 Support for one-time initialization functions. (#69668, Sebastian
2003-07-09  Matthias Clasen  <maclas@gmx.de>

	Support for one-time initialization functions.  (#69668, Sebastian Wilhelmi)

	* configure.in: Check whether double checked locking is safe, define g_once() in
	glibconfig.h accordingly.
	* glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
	* glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
	locking is unsafe.
	* tests/thread-test.c: Add tests for g_once().
2003-07-08 23:43:47 +00:00
Matthias Clasen
8940b82eb4 Move g_strfreev() docs inline.
2003-07-02  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/string_utils.sgml: Move g_strfreev() docs inline.
2003-07-01 22:15:54 +00:00
Matthias Clasen
67c48e49ee Move the documentation inline and add details. (#108505) Move
2003-06-19  Matthias Clasen  <maclas@gmx.de>

	* glib/gutils.c (g_path_get_basename): Move the documentation
	inline and add details.  (#108505)
	* glib/tmpl/misc_utils.sgml: Move g_path_get_basename() docs inline.
2003-06-18 23:12:56 +00:00
Matthias Clasen
be019f685f Add g_thread_init_glib to silence gtk-doc.
* glib/glib-sections.txt: Add g_thread_init_glib to silence gtk-doc.
2003-06-18 21:47:16 +00:00
Matthias Clasen
54f796b1b6 New macros to check for XML catalog contents and path, borrowed from
2003-06-17  Matthias Clasen  <maclas@gmx.de>

	* acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
	macros to check for XML catalog contents and path, borrowed from
	gtk-doc.
	* configure.in: New option --enable-man to enable regeneration of
	man pages from Docbook, if the necessary tools are found.

	* gobject/Makefile.am: Add rule to regenerate man pages from
	Docbook.
	(man_MANS): Add glib-mkenums.1, glib-genmarshal.1 and gobject-query.1.
	(content_files): Add glib-mkenums.xml, glib-genmarshal.xml and
	gobject-query.xml.

	* gobject/glib-mkenums.xml:
	* gobject/glib-genmarshal.xml:
	* gobject/gobject-query.xml: New refentries.

	* gobject/glib-mkenums.1:
	* gobject/glib-genmarshal.1:
	* gobject/gobject-query.1: Man pages generated from the .xml
	sources.

	* gobject/gobject-docs.sgml: Include glib-mkenums.xml,
	glib-genmarshal.xml and gobject-query.xml.

	* glib/Makefile.am: Add rule to regenerate man pages from
	Docbook.
	(man_MANS): Add glib-gettextize.1.
	(content_files): Add glib-gettextize.xml.

	* glib/glib-gettextize.xml: New refentry.

	* glib/glib-gettextize.1: Man page generated from the .xml source.

	* glib/glib-docs.sgml: Include glib-gettextize.xml.
2003-06-17 23:08:37 +00:00
Matthias Clasen
6411bedd01 Add an autogenerated index.
2003-06-17  Matthias Clasen  <mc2@YAST_ASK>

	* gobject/gobject-docs.sgml:
	* glib/glib-docs.sgml: Add an autogenerated index.

2003-06-17  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/macros_misc.sgml: Document G_GNUC_DEPRECATED.
2003-06-16 23:01:00 +00:00
Matthias Clasen
34d2573657 A small addition.
2003-06-11  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/objects.sgml: A small addition.
2003-06-11 21:18:55 +00:00
Owen Taylor
1c5f52baa2 XML fix.
Sun Jun  8 12:28:39 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/error_reporting.sgml: XML fix.

        * glib/glib-sections.txt: Updated.
2003-06-08 16:35:16 +00:00
Matthias Clasen
a495b2cb03 Correct the documentation for G_MINFLOAT and G_MINDOUBLE. (#114513,
* glib/tmpl/limits.sgml: Correct the documentation for
	G_MINFLOAT and G_MINDOUBLE.  (#114513, Christophe Fergeau)
2003-06-06 21:20:34 +00:00
Matthias Clasen
53efcd835d Add g_vasprintf().
2003-06-06  Matthias Clasen  <maclas@gmx.de>

	* glib/glib-sections.txt: Add g_vasprintf().

	* glib/tmpl/string_utils.sgml: Add a hint about g_vasprintf() to
	the g_strdup_printf() docs.
2003-06-05 22:54:55 +00:00
Matthias Clasen
d1db6f8b36 Document that g_strdup() and g_strndup() accept NULL. (#106987, Christian
2003-05-28  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/string_utils.sgml: Document that g_strdup() and
	g_strndup() accept NULL.  (#106987, Christian Biere)
2003-05-27 22:25:03 +00:00
Matthias Clasen
a45782e8ee Fix a duplicate id left by copy-and-paste. (#112785, Owen Taylor)
2003-05-12  Matthias Clasen  <maclas@gmx.de>

	* glib/cross.sgml: Fix a duplicate id left by copy-and-paste.
	(#112785, Owen Taylor)
2003-05-11 22:29:50 +00:00
Matthias Clasen
b9415110b1 Correct the documentation GSignalEmissionHook (#110906) and some cleanups.
2003-04-18  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/signals.sgml: Correct the documentation
	GSignalEmissionHook (#110906) and some cleanups.
2003-04-18 00:17:16 +00:00
Matthias Clasen
890792db1a Fix a few typos. 2003-04-11 21:56:50 +00:00
Matthias Clasen
754d18b050 Move install docs into reference manual. 2003-04-09 18:49:48 +00:00
Matthias Clasen
7b0da6c54a Move cross-compilation info to reference manual. 2003-04-07 23:20:57 +00:00
Matthias Clasen
91da77c5b4 Additions. 2003-04-07 00:08:19 +00:00
Matthias Clasen
aad05b82e0 Fix formatting of examples.
2003-04-01  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/error_reporting.sgml:
	* glib/tmpl/random_numbers.sgml:
	* glib/tmpl/arrays_pointer.sgml:
	* glib/tmpl/arrays.sgml: Fix formatting of examples.
2003-03-31 22:51:28 +00:00
Matthias Clasen
e4112b8b1b New function, to insert possible non-nul-terminated byte sequences into a
2003-04-01  Matthias Clasen  <maclas@gmx.de>

	* glib/gstring.[hc] (g_string_chunk_insert_len): New function, to
	insert possible non-nul-terminated byte sequences into a string
	chunk.  (#96279)
	(g_string_chunk_insert): Implement in terms of
	g_string_chunk_insert_len() now.
2003-03-31 22:08:08 +00:00
Matthias Clasen
46ae53a931 Additions. 2003-03-27 23:17:59 +00:00
Matthias Clasen
dfa521fdf7 Additions. 2003-03-24 23:28:35 +00:00
Matthias Clasen
e35363d894 Additions.
2003-03-24  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/objects.sgml: Additions.
2003-03-24 01:10:28 +00:00
Owen Taylor
e6d15f6eaf Document private instance data.
Mon Mar 10 11:33:10 2003  Owen Taylor  <otaylor@redhat.com>

        * gobject/tmpl/gtype.sgml gobject/gobject-sections.txt:
        Document private instance data.
2003-03-10 16:38:58 +00:00
Matthias Clasen
9796402280 Fix an off-by-one error in the g_strescape() docs. (#105431, Phillip
2003-02-11  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/string_utils.sgml: Fix an off-by-one error in the
	g_strescape() docs.  (#105431, Phillip Vandry)
2003-02-10 23:56:45 +00:00
Matthias Clasen
280a213b09 Move all docs out-of-line. Boy, what a waste of time.
2003-02-07  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtypemodule.sgml:
	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/gclosure.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gparamspec.sgml:
	* gobject/tmpl/objects.sgml:
	* gobject/tmpl/signals.sgml: Move all docs out-of-line. Boy, what
	a waste of time.
2003-02-07 22:08:53 +00:00
Matthias Clasen
d671206b9e Document the return value of g_string_free().
2003-01-21  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/strings.sgml: Document the return value of g_string_free().
2003-01-21 22:24:00 +00:00
Matthias Clasen
7b5bfca305 Fix the description of G_TYPE_FUNDAMENTAL. (#103119, Josh Parsons)
2003-01-15  Matthias Clasen  <maclas@gmx.de>

	* gobject/tmpl/gtype.sgml: Fix the description of
	G_TYPE_FUNDAMENTAL.  (#103119, Josh Parsons)
2003-01-14 23:38:34 +00:00
Tor Lillqvist
7809df2a6a Remove comment that only stdout would be used on Windows, no longer true.
2003-01-01  Tor Lillqvist  <tml@iki.fi>

	* glib/tmpl/messages.sgml: Remove comment that only stdout would
	be used on Windows, no longer true.
2003-01-01 01:40:52 +00:00
Matthias Clasen
8b8616bb9c Move some docs inline.
* gobject/tmpl/param_value_types.sgml: Move some docs inline.

	* gsignal.c (g_signal_new): Typo fix.

	* gparamspecs.c:
	* gparam.c (g_param_spec_internal):
	* gobject.c (g_object_class_install_property): Add docs.
2002-12-15 02:38:49 +00:00
Matthias Clasen
7baf68502f Add gprintfint.h and trio.
2002-12-15  Matthias Clasen  <maclas@gmx.de>

	* glib/Makefile.am (IGNORE_HFILES): Add gprintfint.h and trio.

	* glib/trio/glibtrio.h: New file, redefining all trio symbols to
	fall into the _G/_g_ private glib namespace.

	* glib/trio/Makefile.am (libtrio_la_SOURCES): Add glibtrio.h

	* glib/trio/trionan.c:
	* glib/trio/triostr.c:
	* glib/trio/trio.c: Include glibtrio.h

	* glib/gprintfint.h:
	* glib/trio/trionan.c:
	* glib/trio/triostr.c:
	* glib/trio/trio.c: Include glibtrio.h
2002-12-15 00:03:46 +00:00
Matthias Clasen
ab5fe79f8a Add --ignore-files=trio to avoid gtk-doc warnings about doxygen comments.
* glib/Makefile.am (MKDB_OPTIONS): Add --ignore-files=trio to
	avoid gtk-doc warnings about doxygen comments.
2002-12-12 23:34:37 +00:00
Owen Taylor
63524f96ee Improve docs for return value and @microseconds out parameter. (Reported
Tue Dec 10 11:55:28 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/timers.sgml: Improve docs for return value
        and @microseconds out parameter. (Reported by
        Dennis Haney, #100841)
2002-12-10 16:57:25 +00:00
Matthias Clasen
657428da90 Add docs.
* gobject/tmpl/generic_values.sgml:
	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/enumerations_flags.sgml: Add docs.
2002-12-09 23:26:17 +00:00
Matthias Clasen
20f6d1b814 Add docs.
* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/enumerations_flags.sgml: Add docs.
2002-12-09 19:47:10 +00:00
Matthias Clasen
bec0034918 Add GTypeClass, GTypePluginClass and GTypeModuleClass.
* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/gtypeplugin.sgml:
	* gobject/tmpl/gtypemodule.sgml:
	* gobject/gobject-sections.txt: Add GTypeClass, GTypePluginClass
	and GTypeModuleClass.

	* gobject/tmpl/gboxed.sgml: Add docs.
2002-12-09 19:06:42 +00:00
Matthias Clasen
b9da696ea0 Add docs.
* gobject/tmpl/enumerations_flags.sgml:
	* gobject/tmpl/gclosure.sgml:
	* gobject/tmpl/param_value_types.sgml: Add docs.
2002-12-08 23:16:50 +00:00
Matthias Clasen
9b275961ef Typo fix. 2002-12-06 01:47:27 +00:00
Matthias Clasen
4a2fac6031 Add Since and Deprecation info for symbols documented in the templates.
* glib/tmpl/strings.sgml:
	* glib/tmpl/scanner.sgml:
	* glib/tmpl/main.sgml:
	* glib/tmpl/macros_misc.sgml:
	* glib/tmpl/hash_tables.sgml: Add Since and Deprecation info
	for symbols documented in the templates.

	* glib/gstrfuncs.c (g_strncasecmp): Break long deprecation
	info into two paragraphs.
2002-12-05 22:32:20 +00:00
Matthias Clasen
6df677db74 Sync parameter names with docs and implementation.
* gsignal.h (g_signal_add_emission_hook):
	* gtype.h (g_type_interface_get_plugin): Sync parameter names with
	docs and implementation.

	* gtype.c (g_type_add_interface_dynamic):
	(g_type_interface_get_plugin):
	(g_type_interface_peek_parent):
	(g_type_query): Add docs.

	* gobject/tmpl/gtype.sgml: Add docs.

	* gobject/tmpl/signals.sgml: Regenerated.
2002-12-03 23:54:55 +00:00
Matthias Clasen
0b93fa4048 More GSignal docs. 2002-12-02 19:56:12 +00:00
Matthias Clasen
90d5b0fced More docs.
* gsignal.c: More docs.

	* gobject/gobject-sections.txt: Mark g_signal_handlers_destroy as
	private.

	* gobject/tmpl/signals.sgml: Move some docs inline.
2002-12-01 01:32:11 +00:00
Matthias Clasen
97489993f7 Adjust to changed parameter names.
* glib/gtimer.c (g_time_val_add): Adjust to changed parameter names.

	* glib/gutils.c (g_get_application_name): Mark as 2.2. addition.

	* glib/gstrfuncs.c (g_ascii_strtoull): Mark as 2.0.7 addition.

	* glib/tmpl/main.sgml: Write something about GSourceDummyMarshal.

	* glib/tmpl/date.sgml:
	* glib/tmpl/string_utils.sgml: Remove redundant docs.

	* glib/glib-sections.txt: Add g_ascii_strtoull and
	g_get_application_name.
2002-11-28 23:11:58 +00:00
Matthias Clasen
803bae66a3 Move some docs inline, and add deprecation information. To see the list of
* glib/gutils.c:
	* glib/gtree.c:
	* glib/gstring.c:
	* glib/gstrfuncs.c:
	* glib/giochannel.c: Move some docs inline, and add deprecation
	information. To see the list of affected functions, grep for
	"Deprecated:".

	* glib/tmpl/strings.sgml:
	* glib/tmpl/string_utils.sgml:
	* glib/tmpl/misc_utils.sgml: Move some docs inline.
2002-11-28 20:46:29 +00:00
Matthias Clasen
e80c828a42 Add missing short descriptions, standardize them to start with a capital
* gobject/tmpl/gclosure.sgml:
	* gobject/tmpl/signals.sgml:
	* gobject/tmpl/gparamspec.sgml:
	* gobject/tmpl/value_collection.sgml:
	* gobject/tmpl/generic_values.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gboxed.sgml:
	* gobject/tmpl/enumerations_flags.sgml:
	* gobject/tmpl/objects.sgml:
	* gobject/tmpl/gtypemodule.sgml:
	* gobject/tmpl/gtypeplugin.sgml: Add missing short descriptions,
	standardize them to start with a capital and end without a period.

	* glib/tmpl/arrays.sgml:
	* glib/tmpl/memory_chunks.sgml:
	* glib/tmpl/macros.sgml: Remove periods from titles in examples.
2002-11-23 22:57:35 +00:00
Matthias Clasen
940d8a269d Explain --enable-include-printf.
* glib/building.sgml: Explain --enable-include-printf.
2002-11-23 21:37:54 +00:00
Matthias Clasen
105183376d Add version info to API docs. 2002-11-23 01:37:17 +00:00
Owen Taylor
eaf8e13856 Add helpful comments about the encoding of a new iochannel. (Amaury
Thu Nov 21 15:52:04 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/iochannels.sgml: Add helpful comments about
        the encoding of a new iochannel. (Amaury Jacquot,
        #96444)
2002-11-21 20:54:44 +00:00
Matthias Clasen
bc54ea6edf Include a printf implementation supporting C99 snprintf and SUS
positional parameters:  (#79488)

	* glib/gstrfuncs.c:
	* glib/gspawn-win32.c:
	* glib/gscanner.c:
	* glib/gconvert.c:
	* glib/gbacktrace.c: Use _g_printf wrappers.

	* glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99
	snprintf semantics now.

	* glib/gmessages.c (printf_string_upper_bound): No longer needed,
	since we can assume C99 snprintf semantics now.
	(g_logv): Simplify.

	* acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether
	printf supports SUS positional parameters.

	* configure.in: New option --enable-included-printf to force
	compilation of trio; otherwise trio is compiled if the system
	printf misses either C99 snprintf semantics of SUS positional
	parameters.

	* glib/Makefile.am (SUBDIRS): Conditionally compile trio.
	(libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h.
	(glibsubinclude_HEADERS): Add gprintf.h.

	* glib/gprintfint.h: New private wrapping either system printf
	or trio printf variants in _g_printf wrappers for use inside glib.

	* glib/gprintf.h: New public header declaring g_printf variants.
	* glib/gprintf.c: Corresponding implementations.

	* glib/trio/*: New directory, containing the trio-1.9 sources.

	* glib/tmpl/string_utils.sgml: Add note on including gprintf.h,
	move some docs inline.

	* glib/glib-sections.txt: Add g_printf, g_vprintf, g_fprintf,
	g_vfprintf, g_sprintf, g_vsprintf.
2002-11-21 00:35:15 +00:00
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
Matthias Clasen
f74c33fc1d Update to latest gtk-doc version. 2002-10-19 23:41:27 +00:00
Matthias Clasen
1565a2027e Add g_type_interface_prerequisites. 2002-10-15 21:16:20 +00:00
Matthias Clasen
336d715c8e Dist the xml/*.xml, not sgml/*.sgml. (#95678, Owen Taylor)
* gobject/Makefile.am (dist-hook):
	* glib/Makefile.am (dist-hook): Dist the xml/*.xml, not
	sgml/*.sgml.  (#95678, Owen Taylor)
2002-10-14 21:54:11 +00:00
Matthias Clasen
c359153dfd Adapt to latest gtk-doc changes. 2002-10-14 00:14:27 +00:00
Matthias Clasen
8ca0f66ea7 Replace G_LOG_FLAG_RECURSIVE by G_LOG_FLAG_RECURSION throughout. (#93390)
* glib/tmpl/messages.sgml: Replace G_LOG_FLAG_RECURSIVE by
	G_LOG_FLAG_RECURSION throughout.  (#93390)
2002-09-16 20:55:59 +00:00
Matthias Clasen
71f016708a Add g_markup_parse_context_get_element and g_utf8_strreverse.
* glib/glib-sections.txt: Add g_markup_parse_context_get_element
	and g_utf8_strreverse.
2002-08-12 21:28:45 +00:00
Owen Taylor
0f6d709867 Fix reference to non-existing @priority parameter. (#88500, Linux Walleij)
Thu Jul 25 18:58:29 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/threads.sgml: Fix reference to non-existing
        @priority parameter. (#88500, Linux Walleij)
2002-07-25 22:59:54 +00:00
Matthias Clasen
a2e3f606ed Replace homegrown "hash" entity by standard ISO entity "num".
* glib/gwin32.c (g_win32_get_package_installation_directory):
	Replace homegrown "hash" entity by standard ISO entity "num".

	* gobject/gobject-docs.sgml:
	* glib/glib-docs.sgml:
	* glib/tmpl/macros.sgml:
	* glib/tmpl/string_utils.sgml: Replace homegrown "nbsp", "hash"
	and "percent" entities by standard ISO entities "nbsp", "num" and
	"percnt".
2002-06-03 17:34:37 +00:00
Matthias Clasen
bca67c15fe Small formatting fixes.
* glib/tmpl/string_utils.sgml:
	* glib/tmpl/threads.sgml: Small formatting fixes.
2002-05-30 21:55:14 +00:00
Matthias Clasen
5e45a337b8 Remove references to nonexisting functions
* glib/gmain.c: Remove references to nonexisting functions
	g_source_set_callback_closure(), g_source_poll(), g_source_add()
	from docs.

	* glib/gdir.c (g_dir_open): Typo fix in docs.

	* glib/gasyncqueue.c (g_async_queue_lock):
	(g_async_queue_unref_and_unlock): Fix markup to avoid erroneous
	<link>s in docs.

	* glib/gwin32.c: Escape #'s leading to erroneous <link>s in docs.

	* glib/gtree.c: Replace some occurances of Gtree by GTree in docs.

	* glib/gstring.c (g_string_insert_unichar): Typo fix in docs.

	* glib/tmpl/conversions.sgml: Add GIConv.

	* glib/tmpl/main.sgml: Fix references to nonexisting functions
	g_main_loop_destroy(), g_source_add(), g_source_connect().

	* glib/glib-sections.txt: Add GIConv, g_str_has_prefix, g_str_has_suffix.

	* glib/tmpl/linked_lists_single.sgml:
	* glib/tmpl/linked_lists_double.sgml: GListAllocator doesn't exist.

	* glib/glib-docs.sgml: Declare hash entity.

	* glib/tmpl/macros.sgml: Escape # in #ifdef to suppress erroneous links.

	* gobject/Makefile.am, gobject/gobject-docs.sgml, gobject/tmpl/*:
	* glib/Makefile.am, glib/glib-docs.sgml, glib/tmpl/*: Produce XML,
	not SGML.
2002-05-26 22:46:28 +00:00
Matthias Clasen
ea3db7ce06 Added proper support for CDATA sections. Updates.
* glib/gmarkup.c (g_markup_parse_context_parse): Added
	proper support for CDATA sections.
	* glib/tmpl/markup.sgml: Updates.
2002-05-20 22:59:11 +00:00
Tim Janik
7aebfd424f [merged from stable]
Sat May 18 00:44:35 2002  Tim Janik  <timj@gtk.org>

        [merged from stable]

        * glib/tmpl/scanner.sgml: fix documentation for g_scanner_unexp_token().
2002-05-17 22:49:06 +00:00
Sebastian Wilhelmi
81d6a7dd7c Clarify recursion issues with GMutex. (#78171)
2002-05-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml: Clarify recursion issues with
	GMutex. (#78171)
2002-05-01 14:39:48 +00:00
Matthias Clasen
61f76fa4e5 Updates.
* gobject/gobject-sections.txt:
	* gobject/tmpl/gtype.sgml: Updates.
2002-04-23 23:18:37 +00:00
Matthias Clasen
031fb85282 Fix the description of g_string_assign. (#78728)
* glib/tmpl/strings.sgml: Fix the description of g_string_assign. (#78728)
2002-04-20 23:46:05 +00:00
Matthias Clasen
5cbcd52547 s/<!>/<!-- -->/g throughout the documentation to bring the produced
* glib/tmpl/error_reporting.sgml:
	* glib/tmpl/threads.sgml:
	* glib/tmpl/arrays_pointer.sgml:
	* glib/tmpl/arrays_byte.sgml:
	* glib/tmpl/memory_chunks.sgml: s/<!>/<!-- -->/g throughout the
	documentation to bring the produced Docbook closer to XML.
2002-04-18 22:03:38 +00:00
Sven Neumann
1543f95a77 Fixed documentation about unused struct fields and added a note about
2002-03-25  Sven Neumann  <sven@gimp.org>

	* glib/tmpl/scanner.sgml: Fixed documentation about unused struct
	fields and added a note about proper g_scanner_unexp_token() usage.
2002-03-25 11:55:14 +00:00
Matthias Clasen
3346808702 Add a note about g_strreverse() and UTF-8.
* glib/tmpl/string_utils.sgml: Add a note about g_strreverse() and UTF-8.

	* glib/gstrfuncs.c (g_strtod):
	(g_ascii_strtod):
	(g_ascii_dtostr):
	(g_ascii_formatd): Doc formatting fixes.
2002-03-11 21:38:18 +00:00
Matthias Clasen
642897a7f3 New header containing GTK_DEBUG-style debugging support for GLib.
* glib/gdebug.h: New header containing GTK_DEBUG-style debugging
	support for GLib. Currently only the fatal_warnings debug option exists.

	* glib/gmessages.c (g_log_msg_prefix_init): New one-shot function
	for parsing G_MESSAGES_PREFIXED.
	(_g_debug_init): New one-shot function for parsing G_DEBUG.
	(g_log_write_prefix): Use g_log_msg_prefix_init().
	(g_messages_init): Use g_log_msg_prefix_init() and _g_debug_init().

	* glib/Makefile.am (libglib_1_3_la_SOURCES): Add gdebug.h.


	* glib/Makefile.am (IGNORE_HFILES): Add gdebug.h.

	* glib/running.sgml: Document the G_DEBUG environment variable.

	* glib/tmpl/threads.sgml: Replace g_thread_wait() by
	g_thread_join() in two places.
2002-02-21 23:07:34 +00:00
Sven Neumann
5eced196ba gobject/gobject-sections.txt gobject/tmpl/generic_values.sgml updated for
2002-02-20  Sven Neumann  <sven@gimp.org>

	* gobject/gobject-sections.txt
	* gobject/tmpl/generic_values.sgml
	* gobject/tmpl/param_value_types.sgml: updated for GValue changes.
2002-02-20 09:51:10 +00:00
Tim Janik
f2620633c1 added GValue documentation.
Tue Feb 19 17:45:43 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/generic_values.sgml: added GValue documentation.
2002-02-19 17:08:11 +00:00
Tim Janik
a1c162e123 document value transformation.
Thu Feb  7 12:07:06 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/generic_values.sgml: document value transformation.
2002-02-07 11:09:26 +00:00
Tim Janik
c73fba247b doc common functions like ref/ sink/unref/invalidate.
Mon Feb  4 17:55:39 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/closures.sgml: doc common functions like ref/
        sink/unref/invalidate.
2002-02-04 18:08:23 +00:00
Tim Janik
179963de91 document g_obejct_watch_closure() and qdata functions.
Mon Feb  4 17:55:39 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/objects.sgml: document g_obejct_watch_closure() and
        qdata functions.
2002-02-04 17:17:44 +00:00
Owen Taylor
5a7cf7fa60 1.3.13
Tue Jan 29 11:18:44 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.13

        * NEWS: Updated.

        * configure.in: Micro == 13, binary age, interface age 0.
        [ binary breakage was return type of g_signal_connect_object(),
        probably could have used binary age == 0, but a little safer not to.]

        * configure.in: Remove configure warning.
2002-01-29 17:10:34 +00:00
Ron Steinke
03b9590095 Some documentation fixes/elaborations I really should have gotten
in a long time ago
2002-01-28 21:17:45 +00:00
Matthias Clasen
cdcf0ac63f New files.
* glib/building.sgml, glib/compiling.sgml,
        glib/running.sgml, glib/resources.sgml,
        glib/changes-2.0.sgml: New files.

        * glib/Makefile.am (content_files): Add new files.

        * glib/glib-docs.sgml: Add an Overview chapter.
2002-01-17 23:06:12 +00:00
Sebastian Wilhelmi
c3d59500e0 Name the right function.
2002-01-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml: Name the right function.
2002-01-08 09:55:13 +00:00
Matthias Clasen
963926c795 Replace references to deprecated functions.
* glib/tmpl/main.sgml, glib/tmpl/string_utils.sgml,
        glib/tmpl/strings.sgml: Replace references to deprecated
        functions.
2001-12-29 00:09:15 +00:00
Matthias Clasen
9504ea2f6f Remove FIXME. (#67063)
* glib/gfileutils.c (g_file_get_contents): Remove FIXME. (#67063)

        * glib/glib-sections.txt: Move g_get_charset() to the
        Charset conversion section. (#65630)
2001-12-20 23:13:19 +00:00
Owen Taylor
3de06553d4 SGML fixes. Small updates.
Wed Dec 19 23:07:53 2001  Owen Taylor  <otaylor@redhat.com>
        * glib/tmpl/messages.sgml glib/tmpl/string_utils.sgml:
        SGML fixes.
        * gobject/gobject-sections.txt glib/glib-sectoins.txt: Small updates.
2001-12-20 04:48:36 +00:00
Matthias Clasen
a52e2986cd Minor markup fixes.
* glib/gshell.c, glib/gspawn.c, glib/gspawn-win32.c, glib/gerror.c,
        glib/gfileutils.c, glib/ghash.c, glib/gmain.c, glib/gasyncqueue.c,
        glib/gtree.c: Minor markup fixes.

        * glib/tmpl/caches.sgml: GCs are cached by GTK, not by GDK.
2001-12-16 19:31:36 +00:00
Matthias Clasen
d6977cf92f Typo fixes.
* glib/tmpl/memory.sgml: Typo fixes.
2001-12-15 19:29:20 +00:00
Matthias Clasen
a3d7806b6d Revert mistaken change: it is UNIX, not Unix.
* glib/tmpl/completion.sgml, glib/tmpl/date.sgml,
        glib/tmpl/fileutils.sgml, glib/tmpl/iochannels.sgml,
        glib/tmpl/macros.sgml, glib/tmpl/memory.sgml,
        glib/tmpl/misc_utils.sgml, glib/tmpl/warnings.sgml,
        glib/tmpl/windows.sgml: Revert mistaken change: it is UNIX, not Unix.

        * glib/tmpl/memory_chunks.sgml,
        glib/tmpl/date.sgml, glib/tmpl/threads.sgml,
        glib/tmpl/gtype.sgml: Trivial markup fixes.

        * glib/gconvert.c, glib/giochannel.c, glib/gmain.c,
        glib/gwin32.c: Revert mistaken change: it is UNIX, not Unix.
2001-12-13 22:24:18 +00:00
Matthias Clasen
a99e75d0a8 This fixes #60543:
* glib/gutils.c (g_snprintf, g_vsnprintf): Switch to C99-[v]snprintf().

        * tests/strfunc-test.c: Add some tests for g_snprintf().
2001-12-12 22:05:55 +00:00
Matthias Clasen
3fa33317b7 Documentation fixes.
* glib/gconvert.c, glib/grand.c, glib/ghash.c,
        glib/gthreadpool.c, glib/gtree.c: Documentation fixes.

        * glib/tmpl/allocators.sgml, glib/tmpl/arrays.sgml,
        glib/tmpl/arrays_byte.sgml, glib/tmpl/arrays_pointer.sgml,
        glib/tmpl/caches.sgml, glib/tmpl/completion.sgml,
        glib/tmpl/conversions.sgml,
        glib/tmpl/datalist.sgml, glib/tmpl/date.sgml,
        glib/tmpl/error_reporting.sgml, glib/tmpl/fileutils.sgml,
        glib/tmpl/hash_tables.sgml,
        glib/tmpl/hooks.sgml, glib/tmpl/macros.sgml,
        glib/tmpl/macros_misc.sgml, glib/tmpl/main.sgml, glib/tmpl/markup.sgml,
        glib/tmpl/memory.sgml, glib/tmpl/memory_chunks.sgml,
        glib/tmpl/messages.sgml, glib/tmpl/misc_utils.sgml,
        glib/tmpl/modules.sgml, glib/tmpl/numerical.sgml,
        glib/tmpl/patterns.sgml, glib/tmpl/queue.sgml,
        glib/tmpl/shell.sgml, glib/tmpl/spawn.sgml,
        glib/tmpl/string_utils.sgml, glib/tmpl/thread_pools.sgml,
        glib/tmpl/threads.sgml, glib/tmpl/timers.sgml,
        glib/tmpl/trees-binary.sgml, glib/tmpl/trees-nary.sgml,
        glib/tmpl/type_conversion.sgml, glib/tmpl/unicode.sgml,
        glib/tmpl/warnings.sgml, glib/tmpl/windows.sgml:
        Improve markup of examples, general consistency improvements.
2001-12-12 20:32:07 +00:00
Havoc Pennington
e3516e3ad8 improve g_log_set_handler docs
2001-12-06  Havoc Pennington  <hp@redhat.com>

	* glib/tmpl/messages.sgml: improve g_log_set_handler docs
2001-12-06 22:48:10 +00:00
Owen Taylor
13852a10d4 Rename (private) GSource.id and id parameter to
Wed Nov 28 18:34:22 2001  Owen Taylor  <otaylor@redhat.com>
        * glib/gmain.[ch]: Rename (private) GSource.id and
        id parameter to g_main_context_find_source_by_id()
        to avoid problems with Objective C where 'id' is
        a keyword. (#65616)
2001-11-28 23:51:51 +00:00
Sebastian Wilhelmi
0d189bad07 Fix g_usleep docs.
2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/date.sgml: Fix g_usleep docs.
2001-11-28 16:51:19 +00:00
Matthias Clasen
1d5e8cbc7d Document G_LEVEL_ORDER better.
* glib/tmpl/trees-binary.sgml: Document G_LEVEL_ORDER better.
2001-11-27 22:16:54 +00:00
Matthias Clasen
e409b5ae5e Implement G_LEVEL_ORDER correctly.
* glib/gnode.c (g_node_traverse): Implement G_LEVEL_ORDER correctly.

        * tests/node-test.c: Add a testcase for G_LEVEL_ORDER implementation.

        * glib/tmpl/trees-nary.sgml: Document G_LEVEL_ORDER better.
2001-11-26 19:08:46 +00:00
Matthias Clasen
e08120da5f Fixes for #61284:
* glib/tmpl/windows.sgml: Document G_WIN32_DLLMAIN_FOR_DLL_NAME.

        * glib/tmpl/fileutils.sgml: Document GDir.

        * glib/tmpl/limits.sgml: Document G_MININT64, G_MAXINT64, G_MAXUINT64.
2001-11-23 20:59:06 +00:00
Owen Taylor
b9f59f0f9d Update.
Thu Nov 22 12:56:57 2001  Owen Taylor  <otaylor@redhat.com>

        * gobject/gobject-sections.txt: Update.

        * glib/tmpl/{spawn.sgml,patterns.sgml}: SGML fixes.

        * glib/glib-sections.txt: Updated.

        * glib/Makefile.am (IGNORE_HFILES): Don't scan
        headers in build/
2001-11-22 18:54:47 +00:00
Owen Taylor
9d3cee6ac3 Remove g_log_domain_glib
Sat Nov 17 17:24:19 2001  Owen Taylor  <otaylor@redhat.com>

	* glib/glib-sections.txt: Remove g_log_domain_glib
2001-11-17 23:24:19 +00:00
Matthias Clasen
50c2504186 Documentation fixes.
* glib/giochannel.c: Documentation fixes.

        * glib/tmpl/iochannels.sgml: Document GIOFlags, fix typos.

        * glib/tmpl/conversions.sgml, glib/tmpl/unicode.sgml,
        glib/tmpl/spawn.sgml, glib/tmpl/fileutils.sgml,
        glib/tmpl/shell.sgml, glib/tmpl/windows.sgml: Add
        some missing short and long descriptions.
2001-11-15 23:03:29 +00:00
Matthias Clasen
a49a78a3b3 add UTF-8 support.
* glib/gpattern.c: add UTF-8 support.

        * tests/patterntest.c: add UTF-8 and equality tests.

        * docs/reference/glib/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.

        * docs/reference/glib/tmpl/patterns.sgml: Document UTF-8 support.
2001-11-14 22:22:34 +00:00
Tim Janik
e5c99d932f more docs.
Wed Nov 14 03:19:49 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmp/param_value_types.sgml: more docs.
2001-11-14 03:01:31 +00:00
Tim Janik
4abd166025 list parameter and value types.
Tue Nov 13 21:31:58 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmp/param_value_types.sgml: list parameter and
        value types.

        * gobject/tmpl/gparamspec.sgml: more docs for g_param_spec*()
        functions.

        * gobject/*: section cleanups.
2001-11-14 01:08:19 +00:00
Tim Janik
930d11d2af param spec updates.
Tue Nov 13 19:49:16 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gparamspec.sgml: param spec updates.
2001-11-13 18:49:56 +00:00
Matthias Clasen
ee83ed4c13 Remove excess listitem from long description.
* glib/tmpl/markup.sgml: Remove excess listitem from long
        description.
2001-11-12 22:26:21 +00:00
Matthias Clasen
c72df49bf9 Document GNormalizeMode enum.
* glib/tmpl/unicode.sgml: Document GNormalizeMode enum.

        * glib/tmpl/spawn.sgml: Document GSpawnFlags flags.

        * glib/tmpl/error_reporting.sgml: Document GError struct.

        * glib/tmpl/main.sgml: Document GMainContext, GSource and
        GSourceCallbackFuncs structs.
2001-11-11 00:27:27 +00:00
Matthias Clasen
eb17b20bd2 Fix documentation. Document g_log_domain_glib, gunichar, gunichar2,
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
        * glib/tmpl/messages.sgml, glib/tmpl/unicode.sgml:
        Document g_log_domain_glib, gunichar, gunichar2, GUnicodeType,
        GUnicodeBreakType.
2001-10-30 23:56:30 +00:00
Owen Taylor
11609462b4 Remove $(srcdir)/html before building HTML to prevent stale files. Dist
Fri Oct 26 11:42:50 2001  Owen Taylor  <otaylor@redhat.com>

	* */Makefile.am: Remove $(srcdir)/html before building
	HTML to prevent stale files. Dist all files in html/
2001-10-26 15:58:11 +00:00
Havoc Pennington
0628133a11 docs on why the deprecated functions are deprecated.
2001-10-25  Havoc Pennington  <hp@pobox.com>

	* glib/tmpl/string_utils.sgml: docs on why the deprecated
	functions are deprecated.
2001-10-25 14:38:45 +00:00
Sven Neumann
01b07656ea fixed typo.
2001-10-15  Sven Neumann  <sven@gimp.org>

	* glib/tmpl/random_numbers.sgml: fixed typo.
2001-10-15 15:48:24 +00:00
Tim Janik
92dfa96114 make struct _GPatternSpec and GMatchType private. (g_pattern_equal): new
Fri Oct 12 18:24:02 2001  Tim Janik  <timj@gtk.org>

        * glib/gpattern.[hc]: make struct _GPatternSpec and GMatchType
        private.
        (g_pattern_equal): new function to return equality of two patterns
        (required because GPatternSpec is private now).
        (g_pattern_spec_new): fix bug wrg wildcard counting which produced
        incorrect pattern specs (discovered by Matthias Clasen).
        optimized code so we just keep one compiled pattern string now.
        correctly canonicalize patterns. reduce string walks, optimize
        decision about MATCH_ALL vs. MATCH_ALL_TAIL.
        (g_pattern_match_string): call just g_pattern_match() with NULL
        reversed string.
        (g_pattern_match): allow NULL reversed strings now, reverse_dup
        strings on demand.

        * tests/patterntest.c (test_compilation): added an extended testcase
        for pattern matching from Matthias Clasen <matthiasc@poet.de>.

Sat Oct 13 06:58:23 2001  Tim Janik  <timj@gtk.org>

        * glib/tmpl/patterns.sgml: amended documentation.
2001-10-13 05:54:10 +00:00
Matthias Clasen
2125a86d73 Updates.
* glib/tmpl/patterns.sgml, glib/tmpl/shell.sgml: Updates.
2001-10-11 20:40:55 +00:00
Matthias Clasen
fc0ed5b29d Document G_HOOK_FLAG_USER_SHIFT.
* glib/tmpl/hooks.sgml: Document G_HOOK_FLAG_USER_SHIFT.

        * glib/tmpl/trash_stacks.sgml: Document trash stacks.

        * glib/tmpl/async_queues.sgml, glib/tmpl/caches.sgml,
        glib/tmpl/completion.sgml, glib/tmpl/patterns.sgml,
        glib/tmpl/numerical.sgml, glib/tmpl/random_numbers.sgml,
        glib/tmpl/relations.sgml, glib/tmpl/modules.sgml: Update.
2001-10-05 20:53:02 +00:00
Matthias Clasen
f80cd10350 Update.
* glib/tmpl/conversions.sgml: Update.
2001-10-05 00:06:48 +00:00
Matthias Clasen
643bbe8912 Update.
* glib/tmpl/patterns.sgml: Update.
2001-10-04 23:51:36 +00:00
Matthias Clasen
6af390c1e5 Update.
* glib/tmpl/hooks.sgml, glib/tmpl/spawn.sgml,
        glib/tmpl/macros_misc.sgml: Update.

        * glib/tmpl/linked_lists_double.sgml, glib/tmpl/trees-binary.sgml,
        glib/glib-sections.txt: Document GCompareDataFunc.
2001-10-04 22:26:23 +00:00
Matthias Clasen
d761fb4b3b documentation update. add documentation. update docs. Remove references to
* glib/gstrfuncs.c, glib/giochannel.c: documentation update.
        * glib/gqueue.c: add documentation.
        * glib/tmpl/iochannel.sgml, glib/tmpl/macros_misc.sgml,
          glib/tmpl/queue.sgml: update docs.
        * glib/tmpl/modules.sgml, glib/tmpl/threads.sgml: Remove
          references to glib-config.
2001-10-02 23:09:51 +00:00
Matthias Clasen
e9d05783f6 More markup fixes and completions.
* glib/tmpl/iochannels.sgml, glib/tmpl/shell.sgml,
glib/tmpl/spawn.sgml, glib/tmpl/memory.sgml,
glib/tmpl/macros.sgml, glib/tmpl/completion.sgml,
glib/tmpl/main.sgml, glib/tmpl/messages.sgml,
glib/tmpl/misc_utils.sgml, glib/tmpl/threads.sgml,
glib/tmpl/trees-nary.sgml, glib/tmpl/string_utils.sgml:
More markup fixes and completions.
2001-10-01 22:54:48 +00:00
Owen Taylor
58d6b101ca Rename g_string_printfa(). to g_string_append_printf().
Mon Oct  1 15:59:46 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/strings.sgml docs/glib-sections.txt: Rename
        g_string_printfa(). to g_string_append_printf().
2001-10-01 20:26:11 +00:00
Matthias Clasen
42a186482c Move all *_error_quark() unctions to the 'Private' sections. (#61472)
* glib/glib-sections.txt: Move all *_error_quark()
unctions to the 'Private' sections. (#61472)
2001-10-01 18:57:18 +00:00
Matthias Clasen
66fb9a2951 document allowed uses for 'out' parameters.
* glib/tmpl/macros.sgml (G_CONST_RETURN): document
allowed uses for 'out' parameters.
2001-10-01 18:19:02 +00:00
Matthias Clasen
a6e1fafdc9 consistently refer to GTK+.
* glib/tmpl/caches.sgml, glib/tmpl/datalist.sgml,
glib/tmpl/hash_tables.sgml, glib/tmpl/messages.sgml,
glib/tmpl/misc_utils.sgml: consistently refer to GTK+.

* glib/tmpl/error_reporting.sgml, glib/tmpl/fileutils.sgml,
glib/tmpl/windows.sgml, glib/tmpl/modules.sgml,
glib/tmpl/linked_lists_single.sgml, glib/tmpl/trees-nary.sgml,
glib/tmpl/trees-binary.sgml, glib/tmpl/timers.sgml: Markup fixes.
2001-10-01 18:11:58 +00:00
Matthias Clasen
abf9f5f8f8 glib/tmpl/arrays.sgml,glib/tmpl/arrays_byte.sgml
glib/tmpl/arrays_pointer.sgml, glib/tmpl/caches.sgml,
glib/tmpl/datalist.sgml, glib/tmpl/date.sgml,
glib/tmpl/datasets.sgml, glib/tmpl/type_conversion.sgml,
glib/tmpl/memory.sgml, glib/tmpl/hash_tables.sgml:
Markup fixes and a few additions.
2001-09-30 22:49:01 +00:00
Matthias Clasen
bafb616c35 glib/tmpl/macros.sgml, glib/tmpl/macros_misc.sgml,
glib/tmpl/scanner.sgml: Additions and markup fixes.
2001-09-29 00:21:16 +00:00
Matthias Clasen
42d4554111 Documented some functions, markup fixes. New file. Add entity for
* glib/tmpl/warnings.sgml, glib/tmpl/linked_lists_double.sgml,
glib/tmpl/completion.sgml, glib/tmpl/strings.sgml: Documented
some functions, markup fixes.
* glib/tmpl/patterns.sgml: New file.
* glib/glib-docs.sgml: Add entity for patterns.sgml.
2001-09-28 21:33:14 +00:00
Matthias Clasen
c7896e13d3 glib/gmem.c (g_mem_is_system_malloc): Return !vtable_set.
docs/reference/glib/glib-sections.txt: Add g_mem_is_system_malloc.
2001-09-26 22:00:17 +00:00
Matthias Clasen
9a11290d59 glib/glib-section.txt: Add a missing SECTION endtag. (#61126) 2001-09-25 18:13:12 +00:00
Darin Adler
a96d96a947 Fix a typo and change documentation for g_ascii_isdigit and
* glib/tmpl/string_utils.sgml: Fix a typo and change
	documentation for g_ascii_isdigit and g_ascii_isxdigit
	to reflect the fact that the standard isdigit and
	isxdigit are already locale-independent.
2001-09-17 15:26:48 +00:00
Tim Janik
dc0b74d416 got rid of g_set_error_handler(), g_set_warning_handler(),
Mon Sep 10 17:13:36 2001  Tim Janik  <timj@gtk.org>

        * glib/gmessages.h: got rid of g_set_error_handler(),
        g_set_warning_handler(), g_set_message_handler().

Wed Sep  5 05:24:07 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gboxed.sgml: documented some functions.

        * gobject/tmpl/objects.sgml: some fixups.

Mon Sep 10 19:27:47 2001  Tim Janik  <timj@gtk.org>

        * gtype.[hc]:
        g_type_add_interface*(): implement the ability to add an interface to
        a type whose parents already conform to this interface.
        such "overriding" interfaces, when initialized, are not just initialized
        with 0, but with a copy of the interface they override.
        g_type_interface_peek_parent(): new function, return the interface
        that this interface "overrides", if any.

        * testgruntime.c: test new interface stuff.
2001-09-10 18:03:31 +00:00
Owen Taylor
a5c41a993f Update.
Mon Sep 10 11:37:02 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/glib-sections.txt: Update.
2001-09-10 15:50:02 +00:00
Owen Taylor
65c9b6e40a Add gbsearcharray.[ch].
Sat Sep  8 14:11:53 2001  Owen Taylor  <otaylor@redhat.com>

       * glib/Makefile.am (libglib_1_3_la_SOURCES): Add
       gbsearcharray.[ch].

       * glib/glib-object.h: Remove include of gbsearcharray.

Sat Sep  8 14:13:57 2001  Owen Taylor  <otaylor@redhat.com>

       * gobject/Makefile.am: Move gbsearcharray.[ch] to glib
       as a private ininstalled header.

Sat Sep  8 14:13:44 2001  Owen Taylor  <otaylor@redhat.com>

       * glib/Makefile.am (IGNORE_HFILES): Add
       gbsearcharray.h.

       * gobject/Makefile.am (IGNORE_HFILES): Remove
       gbsearcharray.h.
2001-09-08 18:21:27 +00:00
Ron Steinke
e7931debd2 Modified Files: glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c
Modified Files:
	glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c
	glib/glib/giochannel.h glib/glib/glib.def
	glib/docs/reference/ChangeLog
	glib/docs/reference/glib/glib-sections.txt

	* glib/giochannel.c glib/glib.def glib/giochannel.h: Added
	new functions g_io_channel_[set,get]_close_on_unref ()

	* glib/giochannel.c: glib/giochannel.h: Documentation fixes

	* glib/giochannel.c: Fixed g_io_channel_write_chars ()
	so that bytes_written is always set to an appropriate
	value when it returns

	* glib/giounix.c: changed g_io_channel_get_flags () to
	set the is_readable and is_writeable flags cached
	by the channel

	* docs/reference/glib/glib-sections.txt: Added
	declarations for g_io_channel_[set,get]_close_on_unref
2001-08-16 23:02:53 +00:00
Owen Taylor
9a9b43bca8 Set GPATH to fix srcdir != builddir problems with GNU make.
Sun Aug 12 10:03:42 2001  Owen Taylor  <otaylor@redhat.com>

	* */Makefile.am: Set GPATH to fix srcdir != builddir
        problems with GNU make.
2001-08-12 14:04:13 +00:00
Tim Janik
535f773bd3 document value arrays.
Sun Aug 12 02:24:36 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/value_arrays.sgml: document value arrays.
2001-08-12 00:56:22 +00:00
Sven Neumann
d1d623b072 added new function g_nullify_pointer().
2001-08-06  Sven Neumann  <sven@gimp.org>

	* glib/gutils.[ch]: added new function g_nullify_pointer().

	* gobject/gobject.[ch]:
	added new functions g_object_[add|remove]_weak_pointer().
2001-08-06 20:55:11 +00:00
Darin Adler
3fa620d4df Add missing const. (g_strsplit): Add g_return_val_if_fail for case of
* glib/gstrfuncs.c: (g_ascii_strdown), (g_ascii_strup): Add
	missing const.
	(g_strsplit): Add g_return_val_if_fail for case of empty
	delimiter, which can result in an infinite loop otherwise.
	* glib/gstrfuncs.h: Add missing const.
	* tests/.cvsignore: Ignore a generated file.

	* tests/array-test.c:
	* tests/dirname-test.c:
	* tests/hash-test.c:
	* tests/list-test.c:
	* tests/node-test.c:
	* tests/relation-test.c:
	* tests/shell-test.c:
	* tests/slist-test.c:
	* tests/spawn-test.c:
	* tests/strfunc-test.c:
	* tests/string-test.c:
	* tests/testglib.c:
	* tests/tree-test.c:
	* tests/type-test.c:
	Add an #undef G_DISABLE_ASSERT so all tests will assert even if
	asserts are disabled inside glib itself.
2001-07-19 20:07:41 +00:00
Matthias Clasen
f9a6307e06 fix some typos.
2001-06-03  Matthias Clasen  <matthiasc@poet.de>

        * glib/tmpl/caches.sgml, glib/tmpl/main.sgml,
        gobject/gobject-docs.sgml, gobject/tmpl/generic_values.sgml,
        gobject/tmpl/gtypemodule.sgml, gobject/tmpl/signals.sgml,
        gobject/tmpl/types.sgml: fix some typos.
2001-07-19 16:11:16 +00:00
Owen Taylor
4be0cfddf9 Buffers Files Tools Edit Search Mule Help Thu Jun 28 17:43:29 2001 Owen Taylor <otaylor@redhat.com>
* glib/tmpl/memory.sgml glib/tmpl/macros_misc.sgml: Add
	notes about inclusion of string.h to docs on g_memmove,
        G_VA_COPY. (#54411)
2001-06-28 21:45:02 +00:00
Owen Taylor
5552cd67fc Fix problem with glibconfig.h
Tue Jun 26 12:28:20 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/Makefile.am: Fix problem with glibconfig.h
2001-06-26 16:28:50 +00:00
Sebastian Wilhelmi
2c9c0fabc8 Corrected.
2001-06-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml (example): Corrected.
2001-06-26 10:28:48 +00:00
Sebastian Wilhelmi
632943f359 Look for nanosleep function.
2001-06-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Look for nanosleep function.

	* gtimer.c: Use nanosleep for g_usleep, when found.

	* gtimer.c, gtimer.h: Add g_time_val_add function. Closes #54271.

	* gasyncqueue.c: Documentation updates.

	* gthreadpool.c: Use g_time_val_add now that we have it.

	* glib/glib-sections.txt, glib/tmpl/date.sgml: Add g_time_val_add.

	* glib/tmpl/threads.sgml: Updated.
2001-06-07 13:46:14 +00:00
Sebastian Wilhelmi
ef49296716 Tiny speed improvement suggested by noon@users.sourceforge.net.
2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* garray.c (g_array_remove_index_fast): Tiny speed improvement
	suggested by noon@users.sourceforge.net.

	* glib/tmpl/arrays.sgml, glib/tmpl/arrays_pointers.sgml,
	glib/tmpl/arrays_byte.sgml: Corrected documentation for the
	..._sized_new functions. Discovered by noon@users.sourceforge.net.
2001-05-23 10:20:56 +00:00
Havoc Pennington
94b8df8ca0 add glibintl.h
2001-05-19  Havoc Pennington  <hp@pobox.com>

	* glib/Makefile.am (IGNORE_HFILES): add glibintl.h

	* glib/tmpl/*.sgml: fix various missing docs
2001-05-19 05:32:50 +00:00
Sebastian Wilhelmi
f2a9c8883d Updated.
2001-05-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/glib-overrides.txt, glib/glib-sections.txt,
	glib/tmpl/thread_pools.sgml, glib/tmpl/threads.sgml: Updated.
2001-05-18 08:49:29 +00:00
Sebastian Wilhelmi
2e7b1367d8 Updates after some renaming took place.
2001-05-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/thread_pools.sgml, glib/tmpl/thread_pools.sgml:
	Updates after some renaming took place.
2001-05-09 12:53:42 +00:00
Sebastian Wilhelmi
f7e009b00a Clarification for g_mutex_trylock.
2001-05-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml: Clarification for g_mutex_trylock.
2001-05-08 14:21:40 +00:00
Sebastian Wilhelmi
66863bcd97 Updated.
2001-05-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml, glib/glib-overrides.txt: Updated.
2001-05-08 08:25:43 +00:00
Sebastian Wilhelmi
7ee286440d Changes due to deprecation update.
2001-04-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/hash_tables.sgml, glib/tmpl/misc_utils.sgml,
	glib/tmpl/scanner.sgml: Changes due to deprecation update.
2001-04-19 14:50:44 +00:00
Owen Taylor
0b6f686b75 More tweaks from GTK+. Reenable $(HTML_IMAGES) with shell portability
Mon Apr 16 12:18:26 2001  Owen Taylor  <otaylor@redhat.com>

        * {glib,gobject}/Makefile.am (tmpl-build.stamp): More tweaks
        from GTK+. Reenable $(HTML_IMAGES) with shell portability fixes.
2001-04-16 16:34:15 +00:00
Tim Janik
924271012f disabled "for i in $(HTML_IMAGES) ;" dist-hook because $(HTML_IMAGES) is
Wed Apr  4 00:56:00 2001  Tim Janik  <timj@gtk.org>

        * gobject/Makefile.am: disabled "for i in $(HTML_IMAGES) ;"
        dist-hook because $(HTML_IMAGES) is empty.
2001-04-04 02:31:40 +00:00
Owen Taylor
1a8d6fecda Add explicit path to tmpl files in dependencies.
Tue Apr  3 11:51:02 2001  Owen Taylor  <otaylor@redhat.com>

	* {glib,gobject}/Makefile.am (sgml-build.stamp): Add
	explicit path to tmpl files in dependencies.

	* glib/glib.types gobject/gobject.types: empty files
	to keep generic makefiles happy.
2001-04-03 18:27:08 +00:00
Sebastian Wilhelmi
c4b6fccb96 Added GThreadPool documentation.
2001-04-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/thread_pools.sgml: Added GThreadPool documentation.
2001-04-03 11:10:05 +00:00
Sebastian Wilhelmi
9ce8b08ca4 Updated.
2001-04-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml: Updated.
2001-04-03 11:08:48 +00:00
Sebastian Wilhelmi
5c2b963a59 Removed g_static_private_(get|set)_for_thread.
2001-04-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/glib-sections.txt: Removed
	g_static_private_(get|set)_for_thread.
2001-04-03 11:05:36 +00:00
Owen Taylor
2cfcb9fe0b Add --deprecated-guards
Mon Mar 26 14:20:36 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/Makefile.am (SCAN_OPTIONS): Add --deprecated-guards
2001-03-26 19:22:18 +00:00
Owen Taylor
1207d757f2 A couple of small fixes.
Sat Mar 17 17:51:17 2001  Owen Taylor  <otaylor@redhat.com>

	* gobject/Makefile.am glib/Makefile.am: A couple
        of small fixes.
2001-03-17 22:51:41 +00:00
Sebastian Wilhelmi
c811ed93d3 Spelling corrections.
2001-03-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml: Spelling corrections.
2001-03-08 09:43:45 +00:00
Owen Taylor
4463418e64 Revert Tim's last commit to get rid of 7+ unnecessary / broken changes.
Wed Mar  7 15:02:17 2001  Owen Taylor  <otaylor@redhat.com>

	* gobject/Makefile.am: Revert Tim's last commit to
	get rid of 7+ unnecessary / broken changes. Add
	back the useful part. Also fix problem with grep,
	add dependency on template files.

	* gobject/gobject-sections.txt: Remove double
	value_types names which was screwing up builds.

	* glib/Makefile.am: Propagate changes from
	gobject/Makefile.am
2001-03-07 20:11:09 +00:00
Sebastian Wilhelmi
f7096ddfd9 Fixed stupid typo.
2001-03-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml: Fixed stupid typo.
2001-03-07 20:09:01 +00:00
Sebastian Wilhelmi
7208b0f183 C2001-03-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
C2001-03-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml: Completed.

VS: ----------------------------------------------------------------------
2001-03-07 17:36:58 +00:00
Tim Janik
37e4b8c87e changed prototype of g_boxed_type_register_static() to contain an optional
Wed Mar  7 09:36:33 2001  Tim Janik  <timj@gtk.org>

	* gboxed.[hc]: changed prototype of g_boxed_type_register_static()
	to contain an optional init function and a hint at whether the
	boxed structure uses ref counting internally.
	added g_value_set_boxed_take_ownership().
	made G_TYPE_BOXED an abstract value type.

	* genums.[hc]: made G_TYPE_ENUM and G_TYPE_FLAGS abstract value
	types.

	* glib-genmarshal.c: argument type changes, preparation for third-party
	arg specification.

	* gobject.[hc]: cleaned up get/set property code.
	added g_strdup_value_contents() to improve warnings.

	* gparam.[hc]: added g_param_value_convert(), taking over responsibility
	of the old g_value_convert(). added G_PARAM_LAX_VALIDATION flag so
	validation alterations may be valid a part of the property setting
	process.

	* gparamspecs.[hc]: made value comparisons stable (for sort applications).
	added GParamSpecValueArray, a param spec for value arrays and
	GParamSpecClosure. nuked the value exchange functions and
	GParamSpecCCallback.

	* gtype.[hc]: catch unintialized usages of the type system with
	g_return_val_if_uninitialized(). introduced G_TYPE_FLAG_VALUE_ABSTRACT
	to flag types that introduce a value table, but can't be used for
	g_value_init(). cleaned up reserved type ids.

	* gvalue.[hc]: code cleanups and saner checking.
	nuked the value exchange API. implemented value transformations, we
	can't really "convert" values, rather transforms are an anylogy to
	C casts, real conversions need a param spec for validation, which is
	why g_param_value_convert() does real conversions now.

	* gvaluearray.[hc]: new files that implement a GValueArray, a struct
	that can hold inhomogeneous arrays of value (to that extend that it
	also allowes undefined values, i.e. G_VALUE_TYPE(value)==0).
	this is exposed to the type system as a boxed type.

	* gvaluetransform.c: new file implementing most of the former value
	exchange functions as single-sided transformations.

	* gvaluetypes.[hc]: nuked G_TYPE_CCALLBACK, added
	g_value_set_string_take_ownership().

	* *.h: s/G_IS_VALUE_/G_VALUE_HOLDS_/.

	* *.[hc]: many fixes and cleanups.

	* many warning improvements.

Tue Feb 27 18:35:15 2001  Tim Janik  <timj@gtk.org>

	* gobject.c (g_object_get_valist): urg, pass G_VALUE_NOCOPY_CONTENTS
	into G_VALUE_LCOPY(), this needs proper documenting.

	* gparam.c: fixed G_PARAM_USER_MASK.

	* gtype.c (type_data_make_W):
	(type_data_last_unref_Wm): fixed invalid memory freeing.

	* gobject.c (g_object_last_unref): destroy signal handlers associated
	with object, right before finalization.

	* gsignal.c (g_signal_parse_name): catch destroyed nodes or signals
	that don't actually support details.

	* gobject.[hc]: got rid of property trailers. nuked GObject
	properties "data" and the "signal" variants.
	(g_object_connect): new convenience function to do multiple
	signal connections at once.
	(g_object_disconnect): likewise, for disconnections.

	* gparam.[hc] (g_param_spec_pool_lookup): took out trailer support.

	* gvalue.[hc]: marked g_value_fits_pointer() and g_value_peek_pointer()
	as private (the latter got renamed from g_value_get_as_pointer()).

Wed Mar  7 09:32:06 2001  Tim Janik  <timj@gtk.org>

        * glib-object.h: add gvaluearray.h.

        * gstring.[hc]: fixup naming of g_string_sprint*.

        * gtypes.h: fixed GCompareDataFunc naming.

Wed Mar  7 09:33:27 2001  Tim Janik  <timj@gtk.org>

        * gobject/Makefile.am: shuffled rules to avoid excessive
        rebuilds.

        * gobject/gobject-sections.txt: updates.

        * gobject/tmpl/*: bunch of updates, added another patch
        from Eric Lemings <eric.b.lemings@lmco.com>.
2001-03-07 14:46:45 +00:00
Sebastian Wilhelmi
66107ac7e1 Set G_LOG_DOMAIN to \"GModule\" instead of g_log_domain_gmodule.
2001-03-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* Makefile.am, makefile.mingw.in, makefile.msc.in: Set
	G_LOG_DOMAIN to \"GModule\" instead of g_log_domain_gmodule.

	* gmodule.def, gmodule.h, gmodule.c: Removed g_log_domain_gmodule.

	* docs/reference/glib/glib-sections.txt,
	docs/reference/glib/tmpl/messages.sgml: Removed	g_log_domain_gmodule.
2001-03-07 14:22:25 +00:00
Sebastian Wilhelmi
2395a333cc Change the order to match the order in g_thread_create().
2001-02-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gthread.h (struct _GThread): Change the order to match the order
	in g_thread_create().

	* gthread.c (g_static_rec_mutex_lock_full): Also do the right
	thing (behave like 'depth' calls to g_static_rec_mutex_lock) for a
	mutex, that is already locked.

	* glib/tmpl/threads.sgml: Big update. Almost ready.

	* glib/tmpl/async_queues.sgml: Typo.

	* glib/glib-sections.txt: Added g_static_rec_mutex_init,
	g_static_rec_mutex_free, g_static_rw_lock_init,
	g_static_private_init and g_static_private_free.

	* glib/glib-overrides.txt: Added g_thread_yield and g_thread_exit.
2001-02-23 16:42:48 +00:00
Tim Janik
12a0d19c11 incorporated huge docu patch from Eric Lemings <eric.b.lemings@lmco.com>
Fri Feb 16 06:52:20 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/types.sgml: incorporated huge docu patch from Eric
        Lemings <eric.b.lemings@lmco.com> with a bunch of editing on my part.

Fri Feb 16 07:10:44 2001  Tim Janik  <timj@gtk.org>

        * gclosure.c:
        (g_closure_ref):
        (g_closure_sink): make closure sinking explicit.

        * gsignal.c:
        (g_signal_connect_data):
        (g_signal_connect_closure):
        (g_signal_connect_closure_by_id):
        (g_signal_newv): perform explicit closure sinking.

Thu Feb  8 00:31:45 2001  Tim Janik  <timj@gtk.org>

        * gtype.h: added G_TYPE_DEBUG_NONE for/from Eric Lemings ;)
2001-02-16 07:22:59 +00:00
Owen Taylor
d6fe9f43b3 The ultimate gtk-doc makefile.
Mon Feb 12 12:42:45 2001  Owen Taylor  <otaylor@redhat.com>

	* {glib,gobject}/Makefile.am: The ultimate gtk-doc makefile.
2001-02-12 17:43:44 +00:00
Sebastian Wilhelmi
5434105fcb Added g_static_mutex_init to allow initialization of a GStaticMutex, that
2001-02-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gthread.c, gthread.h: Added g_static_mutex_init to allow
	initialization of a GStaticMutex, that can not be initialized with
	G_STATIC_MUTEX_INIT, for example in allocated structures.

	* glib/tmpl/threads.sgml, glib/glib-sections.txt: Added
	documentation for g_static_mutex_init().

WCVS: ----------------------------------------------------------------------
2001-02-01 09:37:28 +00:00
Tim Janik
f0b9abe801 adapt to work with new CVS gtk-doc, leaving the old rules in place caused
Wed Jan 31 07:14:22 2001  Tim Janik  <timj@gtk.org>

        * gobject/Makefile.am: adapt to work with new CVS gtk-doc, leaving the old
        rules in place caused bogus recursions. main changes:
        - add to conditionalized section:
          all-local:
                $(MAKE) scan
                $(MAKE) templates
                $(MAKE) sgml
                $(MAKE) html.stamp
          html.stamp: sgml.stamp $(EXTRA_SGML_FILES)
                $(MAKE) html
          DOC_STAMPS= html.stamp sgml.stamp
        - change:
          maintainer-clean-local: clean
          -     cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
          +     cd $(srcdir) && rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt $(DOC_STAMPS)

        * glib/Makefile.am (maintainer-clean-local): dito.

Wed Jan 31 06:21:32 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/types.sgml: applied docu patch from Eric Lemings
        <eric.b.lemings@lmco.com>, did some more editing.

Wed Jan 31 06:19:49 2001  Tim Janik  <timj@gtk.org>

        * gparam.h: gtk-doc sucks for not dealing with #define inside enums.

        * gtype.[hc]: added G_TYPE_FLAG_RESERVED_ID_BIT, a bit in the type
        number that's supposed to be left untouched (preserved mainly
        for the signal code).

        * *.c: added thread safety code, based on an old patch from sebastian.
        the remaining thread safety issues are now datalists on pspecs (to be
        solved im gdataset.c) and gvalue.c where locking concerns value exchange
        functionality only, and that's soon to be revised.
2001-01-31 06:27:41 +00:00
Sebastian Wilhelmi
f9dfcb27b7 Call g_thread_impl_init(), as g_thread_init won't call it.
2001-01-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gthread/gthread-impl.c (g_thread_init_with_errorcheck_mutexes): Call
	g_thread_impl_init(), as g_thread_init won't call it.


	* glib/glib-sections.txt, glib/tmpl/threads.sgml: Added
	g_static_mutex_free

	* gthread.c, gthread.h: Added g_static_mutex_free to allow using
	GStaticMutexes with limited lifetime without leaking.

	* configure.in: GStaticMutex doesn't have to provide extra space
	for debugging information for G_ERRORCHECK_MUTEXES, as then the
	non-default implementation (runtime_mutex) is used anyway.
2001-01-30 14:16:56 +00:00
Tim Janik
05122f2861 added some function documentations.
Tue Jan  9 03:10:38 2001  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/types.sgml: added some function documentations.

        * gobject/gobject-sections.txt: buncha fixups.
2001-01-09 02:18:57 +00:00
Owen Taylor
29cff66fc1 Updated.
Fri Jan  5 15:47:10 2001  Owen Taylor  <otaylor@redhat.com>

	* glib/glib-sections.txt glib/tmpl/* glib/Makefile.am: Updated.
2001-01-05 20:48:43 +00:00
Sebastian Wilhelmi
57a7a2b010 Determine the suffix of the shared librarries for this system. This is
2000-12-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Determine the suffix of the shared librarries for
	this system. This is done analogous to
	ltconfig.sh. G_MODULE_SUFFIX in glibconfig.h is set to either
	"sl", "dll", or (most often) "so".

	* tests/Makefile.am, tests/module-test.c,
	tests/libmoduletestplugin_a.c, tests/libmoduletestplugin_b.c:
	Added new testcase for gmodule. This is mostly copied from
	gmodule/testgmodule.c, but unlike that is is quiet. (Why BTW are
	some tests that verbose, not to say loquacious...)

	* gmodule.c: Make g_module_open more tolerant wrt to the module
	name. First it tries to open the module as named, if that fails,
	it checks, whether it is a libtool archive and parses it, if that
	fails it appends the systems shared library suffix
	(i.e. ".so") (if not already found) and tries again and if that
	fails it tries to append the ".la" libtool suffix (if not already
	found) and parses it.

	* gmodule.c: Lock recursive mutex during most module functions for
	safety.

	* gmodule-dl.c: Return an error from _g_module_symbol only, if
	dlerror says so. All other functions return an error as well, if
	dlerror returns NULL.

	* testgmodule.c: Thanks to the above change the #ifdefs have
	vanished.

	* glib/glib-sections.txt: Added G_MODULE_SUFFIX.

	* glib/tmpl/modules.sgml: Updated.
2000-12-22 13:44:25 +00:00
Sebastian Wilhelmi
32241715f4 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double()
2000-12-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* grand.c: Updated G_RAND_DOUBLE_TRANSFORM to be more
	accurate. Redid g_rand_double() such that it returns 52 bits after
	the point instead of 32 as before. That OTOH requires calling
	g_rand_int() twice. Overhauled g_rand_int_range(), which is easier
	now thanks to the new precision of g_rand_double(). Thanks to
	Sverre Johansen <sj@ifi.uio.no> for the hint.

	* grand.h: Added g_rand_boolean() and g_random_boolean()
	macros. While they could be omitted due to extreme simplicity,
	they make intention clearer in code and are therefore good to have.

	* grand.c, grand.h: Renamed all 'min' and 'max' parameters to'
	begin' and 'end' resp. to avoid making people think, that 'max' is
	included in the interval. 'end' now isn't, whereas 'begin'
	is. That's similar to the use in the STL.

	* glib/glib-sections.txt: Added g_rand_boolean and
	g_random_boolean macros.

	* glib/tmpl/random_numbers.sgml: Updated.
2000-12-19 15:57:53 +00:00
Owen Taylor
5791ec5b85 add images
Tue Dec  5 15:41:23 2000  Owen Taylor  <otaylor@redhat.com>

        * glib/Makefile.am glib/mainloop-states*: add images

	* glib/glib-sections.txt: Updated

	* glib/tmpl/main.sgml: More documentation, move function
	docs to .c file.
2000-12-05 20:43:58 +00:00
Owen Taylor
8eb6625370 Move conversion functions into GConv section.
Mon Nov 13 00:18:55 2000  Owen Taylor  <otaylor@redhat.com>

        * glib/glib-sections.sgml: Move conversion functions
	into GConv section.

	* gobject/gobject-docs.sgml: Fix some malformed sgml.
2000-11-13 18:59:45 +00:00
Owen Taylor
975d1e3e4d Updates added
Sun Nov  5 13:24:50 2000  Owen Taylor  <otaylor@redhat.com>

	* gobject/Makefile.am gobject/gobject-sections.sgml: Updates
	* gobject/tmpl/g{boxed,type{plugin,module}}.sgml: added
2000-11-11 00:03:57 +00:00
Havoc Pennington
14c4da8cdd rename G_MARKUP_FOO to G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG
2000-11-05  Havoc Pennington  <hp@pobox.com>

* gmarkup.h: rename G_MARKUP_FOO to
G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG

* gmarkup.c: don't start doc comments with "Returns"

2000-11-05  Havoc Pennington  <hp@pobox.com>

* glib/tmpl/markup.sgml: Write docs
2000-11-05 18:38:08 +00:00
Havoc Pennington
7e85ae4f28 remove parens from section name, confuses gtk-doc
2000-11-05  Havoc Pennington  <hp@pobox.com>

* glib/glib-sections.txt: remove parens from section name,
confuses gtk-doc

* glib/glib-docs.sgml: Add the new files here, doh.

* glib/tmpl/shell.sgml: add gshell.[hc] docs
2000-11-05 17:07:19 +00:00
Havoc Pennington
d4ff0ef999 Free the src error if the dest location is NULL - I'm pretty sure that's
2000-11-05  Havoc Pennington  <hp@pobox.com>

* gerror.c (g_propagate_error): Free the src error if the dest
location is NULL - I'm pretty sure that's what this function was
supposed to do.

2000-11-05  Havoc Pennington  <hp@pobox.com>

* glib/tmpl/error_reporting.sgml: fixes
2000-11-05 17:02:37 +00:00
Havoc Pennington
110c6cbac8 Added
2000-11-05  Havoc Pennington  <hp@pobox.com>

        * glib/tmpl/spawn.sgml, glib/tmpl/markup.sgml,
	glib/tmpl/fileutils.sgml: Added

	* glib/Makefile.am: Add new files

	* glib/glib-sections.txt: Add stuff from -unused

2000-11-05  Havoc Pennington  <hp@pobox.com>

* gutils.c (g_find_program_in_path): cleanup docs, sync param
names to those in the header

* gfileutils.c (g_mkstemp): clean up docs

* gshell.h: sync param names with param names in .c file

* gfileutils.h (enum GFileTest): remove trailing comma from last
member, confuses gtk-doc

* gmarkup.h: s/GMarkupErrorType/GMarkupError/g; to follow
convention
2000-11-05 16:38:16 +00:00
Tim Janik
3cc60a9ab1 prefix internal functions with '_'. renamed g_signal_connect_closure() to
Fri Nov  3 07:35:00 2000  Tim Janik  <timj@gtk.org>

        * gsignal.[hc]: prefix internal functions with '_'. renamed
        g_signal_connect_closure() to g_signal_connect_closure_by_id().
        added g_signal_parse_name() to retrive signal_id and detail quark
        from a signal name (internal).

Fri Nov  3 07:33:15 2000  Tim Janik  <timj@gtk.org>

        * gobject/gobject-docs.sgml: added &gobject-closures; section.

        * gobject/Makefile.am (tmpl_sources): add tmpl/clsoures.sgml

        * gobject/gobject-sections.txt: added Closure section.

        * gobject/tmpl/closures.sgml: new file with template description
        for GClosure functions.
2000-11-03 08:18:09 +00:00
Sebastian Wilhelmi
e78311ff4e Remove superfluous GSearchFunc.
2000-11-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/glib-unused.sgml: Remove superfluous GSearchFunc.
2000-11-02 15:22:57 +00:00
Sebastian Wilhelmi
91b9b2dd12 Added documentation for asynchronous queues.
2000-11-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/async_queues.sgml, glib/glib-sections.txt: Added
	documentation for asynchronous queues.

	* gasyncqueue.c: Added inline documentation for asyncronous
	queues.
2000-11-02 14:54:52 +00:00
Sebastian Wilhelmi
b6eb9a2e7d This time the right fix.
2000-10-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/linked_lists_single.sgml: This time the right fix.

	* glib/tmpl/scanner.sgml, glib/tmpl/strings.sgml: Changed
	parameter names.

	* glib/tmpl/string_utils.sgml: Corrected the documentation of
	g_strescape and added those of g_strcompress.
2000-10-31 14:55:23 +00:00
Sebastian Wilhelmi
3de6638d23 Added documentation for G_MAXU(INT|SHORT|LONG).
2000-10-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/limits.sgml: Added documentation for
	G_MAXU(INT|SHORT|LONG).

	* glib/tmpl/macros_misc.sgml: Added documentation for
	G_G(U)INT(16|32|64)_FORMAT.

	* glib/tmpl/types.sgml: Mention G_MAXU(INT|SHORT|LONG) in
	documentation for gu(int|short|long).
2000-10-30 16:08:23 +00:00
Sebastian Wilhelmi
6ca80ce85f Move GCompareFunc to GList and introduce and document GEqualFunc in
2000-10-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/glib-sections.txt, glib/tmpl/linked_lists_double.sgml,
	glib/tmpl/caches.sgml: Move GCompareFunc to GList and introduce
	and document GEqualFunc in GHashTable.

	* glib/tmpl/caches.sgml, glib/tmpl/hash_tables.sgml,
	glib/tmpl/relations.sgml : Changed to reflect the changed API
	(GCompareFunc -> GEqualFunc).

	* glib/tmpl/linked_lists_single.sgml, glib/tmpl/threads.sgml: Typo
	fixes.
2000-10-30 14:49:50 +00:00
Tim Janik
d42361a6e3 start at general description.
Mon Oct 30 11:13:12 2000  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/signals.sgml: start at general description.

        * gobject/gobject-docs.sgml: added introduction.
2000-10-30 10:14:47 +00:00
Tim Janik
817110279d opened up a new section on signals.
Mon Oct 30 06:01:43 2000  Tim Janik  <timj@gtk.org>

        * gobject/gobject-sections.txt: opened up a new section on signals.

Mon Oct 30 05:52:45 2000  Tim Janik  <timj@gtk.org>

        * gsignal.c (g_signal_list_ids): get rid of inline documentation owen
        added, the doc system would ignore it anyways (for some reason not
        aparent to me).
2000-10-30 05:03:19 +00:00
Sebastian Wilhelmi
e6dfecacc0 Removed the win32 limitation.
2000-10-27  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/misc_utils.sgml: Removed the win32 limitation.
2000-10-27 12:53:05 +00:00
Sebastian Wilhelmi
b6b00bab53 Document the recently deprecated functions as such.
2000-10-27  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/glib-sections.txt, glib/tmpl/hash_tables.sgml,
	glib/tmpl/macros_misc.sgml, glib/tmpl/misc_utils.sgml,
	glib/tmpl/scanner.sgml: Document the recently deprecated functions
	as such.
2000-10-27 12:34:49 +00:00
Raja R Harinath
a626a650e5 gmodule: New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).
gmodule:
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).

gobject:
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
(*): Remove traces of @STRIP_{BEGIN,END}@.

gthread:
* Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).

docs/reference:
'make distcheck' fixes.
* glib/Makefile.am (EXTRA_DIST): Add $(DOC_MODULE)-decl.txt.
(html): Run 'gtkdoc-fixxref' in $(srcdir).
(dist-check-gtkdoc): Add missing quote.
(dist-hook): Copy in dependency order, so that none of the
makerules are fired in a tarball build.

* gobject/Makefile.am: Likewise.

toplevel:
Remove need for acconfig.h, and misc. cleanups.
* acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to
AC_DEFINE_UNQUOTED.
(GLIB_BYTE_CONTENTS): Likewise.

* configure.in: Add 'autoheader' comments to all AC_DEFINE(...)
and AC_DEFINE_UNQUOTED(...) lines.
Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK.
(AM_PROG_LIBTOOL): Move after AC_PROG_CC.

* acconfig.h: Empty out.

* Makefile.am (BUILT_EXTRA_DIST): New variable.  List 'dist'able
files that are created in the builddir.
(dist-hook): Handle those files.
(libglib_1_3_la_SOURCES): Remove @ALLOCA@.  @ALLOCA@ should only
be used in an _LDADD or _LIBADD, since it expands (if necessary)
to 'alloca.o'.

* tests/Makefile.am (BUILT_EXTRA_DIST): New variable.
(dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-16 01:02:19 +00:00
Sebastian Wilhelmi
eb27cad0f0 Added inline documentation.
2000-10-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* grand.c: Added inline documentation.

	* docs/refernce/glib/glib-sections.txt: Added misc items.

	* docs/refernce/glib/tmpl/random_numbers.sgml: Documentation for
        the random number generator.
2000-10-13 13:52:47 +00:00
Raja R Harinath
412710cbcd Forgot to commit this. 2000-10-09 18:02:36 +00:00
Jonathan Blandford
b3ee868f94 Added function to keep symetry with g_node_insert_before. 2000-09-29
2000-09-29  Jonathan Blandford  <jrb@redhat.com>

	* gnode.c (g_node_insert_after): Added function to keep symetry
	with g_node_insert_before.
2000-09-29  Jonathan Blandford  <jrb@redhat.com>

	* glib/tmpl/trees-nary.sgml: Add g_node_insert_after().
2000-09-29 23:13:02 +00:00
Owen Taylor
a5c0df554e Some further makefile improvement.
Thu Sep  7 12:35:35 2000  Owen Taylor  <otaylor@redhat.com>

        * Some further makefile improvement.

	* Restore all the docs that mysteriously vanished earlier.
2000-09-07 16:36:56 +00:00
Owen Taylor
98dbc6a710 Improve separation of generic non-generic parts and dependencies.
Wed Sep  6 10:59:45 2000  Owen Taylor  <otaylor@redhat.com>

	* gobject/Makefile.am glib/Makefile.am: Improve
	separation of generic non-generic parts and dependencies.
2000-09-06 15:01:07 +00:00
Owen Taylor
19f04a9024 head -n 4 ChangeLog 2000-09-06 00:04:49 +00:00
Damon Chaplin
0df07abdb1 updated g_strndup.
2000-07-01  Damon Chaplin  <damon@helixcode.com>

	* tmpl/string_utils.sgml: updated g_strndup.
2000-07-01 22:45:11 +00:00
Damon Chaplin
876a6767eb updated a bit more.
2000-06-11  Damon Chaplin  <damon@helixcode.com>

	* tmpl/messages.sgml: updated a bit more.
2000-06-11 18:32:13 +00:00
Damon Chaplin
2c4d8d1ae2 updated a few bits about log handlers & flags.
2000-06-11  Damon Chaplin  <damon@helixcode.com>

	* tmpl/messages.sgml: updated a few bits about log handlers & flags.
2000-06-11 17:28:20 +00:00
Damon Chaplin
186010f7ab updated.
2000-04-16  Damon Chaplin  <damon@helixcode.com>

        * tmpl/linked_lists_single.sgml:
        * tmpl/linked_lists_double.sgml:
        * tmpl/trees-nary.sgml: updated.

        * tmpl/modules.sgml: described g_module_build_path().

        * tmpl/date.sgml: made short description lower case and end in a '.'.

        * glib-sections.txt: rearranged GDate section.

        * tmpl/arrays.sgml:
        * tmpl/arrays_byte.sgml:
        * tmpl/arrays_pointer.sgml: updated.
2000-04-15 23:34:34 +00:00
Damon Chaplin
4a3f7e3b42 updated the g_source_remove_by_XXX() descriptions to note that only the
2000-02-21  Damon Chaplin  <damon@helixcode.com>

        * tmpl/main.sgml: updated the g_source_remove_by_XXX() descriptions
        to note that only the first source found is removed.
2000-02-21 21:08:17 +00:00
Damon Chaplin
86b2741c1e g_bit_nth_lsf/msf docs from Nils Rennebarth <nils@ipe.uni-stuttgart.de>,
2000-01-25  Damon Chaplin  <damon@karuna.freeserve.co.uk>

        * tmpl/misc_utils.sgml: g_bit_nth_lsf/msf docs from
         Nils Rennebarth <nils@ipe.uni-stuttgart.de>, and updates for
        GVoidFunc & GFreeFunc.
2000-01-27 22:14:26 +00:00
Sebastian Wilhelmi
d1bbb7f07f Removed G_THREADS_IMPL_NSPR. Shouldn't be used anyway.
1999-12-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib-sections.txt, tmpl/threads.sgml: Removed
	G_THREADS_IMPL_NSPR. Shouldn't be used anyway.

	* glib-overrides.txt: New file, that makes most of the thread
	related macros look like functions.

	* Makefile.am: Added glib-overrides.txt to EXTRA_DIST.

	* tmpl/threads.sgml: Minor updates.
1999-12-02 14:32:41 +00:00
Owen Taylor
0abbf9b6fb Added missing </para> Added missing </para> Added missing </para> Added
Tue Aug 17 08:42:17 1999  Owen Taylor  <otaylor@redhat.com>

	* tmpl/datasets.sgml: Added missing </para>
	* tmpl/timers.sgml: Added missing </para>
	* tmpl/misc_utils.sgml: Added missing </para>
	* tmpl/linked_lists_double.sgml: Added missing </para>
	* tmpl/linked_lists_single.sgml: Added missing </para>
	* tmpl/threads.sgml: Removed extra <para>s.
	* tmpl/main.sgml: Added missing </para>
1999-08-17 12:39:52 +00:00
Owen Taylor
3ae5f29ce1 Added some simple build instructions.
Wed Aug 18 23:38:52 1999  Owen Taylor  <otaylor@redhat.com>

	* README: Added some simple build instructions.

Added a .cvsignore
1999-08-16 18:28:01 +00:00
Owen Taylor
9231462089 Initial revision 1999-08-16 17:58:30 +00:00