Commit Graph

519 Commits

Author SHA1 Message Date
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
Mathieu Lacage
f09a5d8ac2 fix typo 2004-11-05 08:45:17 +00:00
Mathieu Lacage
be092b4ac4 integrate patches by Sylvain Foret 2004-11-05 07:33:28 +00:00
Mathieu Lacage
b7d67f62ec improve a bit the introduction 2004-11-04 15:14:23 +00:00
Mathieu Lacage
7d30332bab forgot to add this file. 2004-11-04 14:55:05 +00:00
Mathieu Lacage
acba30a9eb integrate patch from Stefan Kost 2004-11-04 14:52:33 +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
eca5c5ea7d Update. 2004-10-29 20:26:19 +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
034fef999e Typo fix. 2004-10-24 01:25:42 +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
e0811a5e15 Commit accumulated changes. 2004-09-16 03:16:57 +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
Ray Strode
305e8c86d9 Add new XDG basedir API (bug 139973).
2004-08-11  Ray Strode  <rstrode@redhat.com>

	* docs/reference/glib/glib-sections.txt:
	* glib/gutils.[ch] (g_get_user_data_dir),
	(g_get_user_config_dir), (g_get_user_cache_dir),
	(g_get_system_data_dirs), (g_get_system_config_dirs):
	Add new XDG basedir API (bug 139973).
2004-08-11 17:53:05 +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
Mathieu Lacage
7825b925de fill in ulinks 2004-07-16 06:56:20 +00:00
Mathieu Lacage
80b6ffc717 apply patch by stefan Kost 2004-07-16 06:37:58 +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
b3b1c3b3eb Add forgotten "Since" tag 2004-07-06 04:44:22 +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
Mathieu Lacage
47d4ea5f83 integrate the last changes by Stefan 2004-06-10 20:21:59 +00:00
Mathieu Lacage
75a9e23f18 Fix a typo reported by Laurent Lemaitre. Tweak the GType section on instiable objects and update the change list. 2004-06-10 11:00:53 +00:00
Mathieu Lacage
33129dca91 add chain up section 2004-06-10 09:41:43 +00:00
Mathieu Lacage
9af6ab55db commit first patches from stefan, work on the chaining up section 2004-06-09 20:22:04 +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
df592b6e53 SGML markup fix 2004-03-14 16:35:54 +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
Owen Taylor
109ebb109a === Released 2.3.5 ===
Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.5 ===

        * configure.in: Version 2.3.5, interface ago 0.

        * NEWS: Some further updates.
2004-03-02 00:05:36 +00:00
Owen Taylor
38cbfaeb7a Patch from J. Ali Harlow
Mon Mar  1 15:39:57 2004  Owen Taylor  <otaylor@redhat.com>

       Patch from J. Ali Harlow

        * configure.in: Use void * not HANDLE for GPid on win32.

        * glib/gspawn.[ch] glib/gspawn-win32.[ch] glib/glib.def:
        Add g_spawn_close_pid().

        * glib/gspawn.[ch]: Make g_spawn functions take
        GPid * instead if int * (GPid == int on unix, will
        produce compile warnings until fixed on Win32.)

        * tests/child-test.c: Make the test a little more
        inappropriately verbose.

        * glib/gmain.c: Add some documentation warnings about
        not closing @pid while the source is active.
2004-03-01 20:47:49 +00:00
Owen Taylor
0875017ad1 Add g_main_depth() (Request from Tim Janik and Stefan Westerfeld)
Sun Feb 29 21:34:34 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.[ch]: Add g_main_depth() (Request from
        Tim Janik and Stefan Westerfeld)
2004-03-01 02:41:09 +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
Tim Janik
ee4e622d37 applied patch from #131937 with slight renames. provides
Fri Feb 20 03:02:05 2004  Tim Janik  <timj@gtk.org>

        * glib/ghash.[hc]: applied patch from #131937 with slight
        renames. provides g_hash_table_find().
2004-02-20 02:05:36 +00:00
Tim Janik
defca980e4 applied patch from David Schleef <ds@schleef.org> which implements a
Fri Feb 20 02:39:03 2004  Tim Janik  <timj@gtk.org>

        * applied patch from David Schleef <ds@schleef.org> which implements
        a G_MODULE_BIND_LOCAL flag to g_module_open() to disable global
        symbol registration.
2004-02-20 01:41:00 +00:00
Tim Janik
c0930e2c71 for G_CAN_INLINE environments, inline g_string_append_c() for efficiency.
Thu Feb 19 18:40:01 2004  Tim Janik  <timj@gtk.org>

        * glib/gstring.[hc]: for G_CAN_INLINE environments, inline
        g_string_append_c() for efficiency. (vaguely based on #118707).
2004-02-19 17:42:00 +00:00
Sebastian Wilhelmi
1a2b93f361 Forgot ChangeLog
Forgot ChangeLog
2004-02-18 12:21:22 +00:00
Sebastian Wilhelmi
1f8fc773b5 Add the new g_rand_* functions
2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>

	* glib/glib-sections.txt: Add the new g_rand_* functions
2004-02-18 12:20:13 +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
Tim Janik
999a87a19a provide a short-cut version for this macro in case
Tue Feb  3 21:24:01 2004  Tim Janik  <timj@gtk.org>

        * gtype.h (_G_TYPE_CVH): provide a short-cut version for
        this macro in case value->g_type==checked_type for gcc, similar
        to instance and class check short-cuts. this speeds up code that
        makes frequent use of G_VALUE_HOLDS_*() (e.g. setters/getters).

        * gtype.c (type_data_last_unref_Wm): don't call class-cache functions
        for the uncached case, this rendered g_type_class_unref_uncached()
        useless. pointed out by Stefan Westerfeld.
2004-02-03 20:30:23 +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
e009f72e5d === Released 2.3.2 ===
Thu Jan 22 15:16:11 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.2 ===
2004-01-22 20:20:31 +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
Mathieu Lacage
e992ea6fb6 Initial revision 2004-01-22 18:39:45 +00:00