Commit Graph

937 Commits

Author SHA1 Message Date
Matthias Clasen
3ab1139aef Add hints for locale-dependent interfaces. Add hints for locale-dependent
2006-12-26  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutf8.c: Add hints for locale-dependent interfaces.
        * glib/gconvert.c: Add hints for locale-dependent interfaces.
2006-12-27 05:09:48 +00:00
Matthias Clasen
e7715bdc4e Small clarification (#369908, Tapani Pälli)
2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * glib/tmpl/keyfile.sgml: Small clarification (#369908,
        Tapani Pälli)
2006-12-18 20:09:12 +00:00
Matthias Clasen
6b52690bb5 Tighten up the check for allowed key and group names. (#343191, Tommi
2006-12-18  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Tighten up the check for allowed
        key and group names.  (#343191, Tommi Komulainen)

        * tests/keyfile-test.c: Test handling of key and group names.
2006-12-18 07:29:56 +00:00
Matthias Clasen
7d0a0206d8 Improve docs 2006-12-17 20:22:20 +00:00
Matthias Clasen
fdfc2fc6fc Expand GObject::notify documentation. (#381722, Nickolay V. Shmyrev)
2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * gobject/tmpl/objects.sgml: Expand GObject::notify
        documentation.  (#381722, Nickolay V. Shmyrev)

        * gobject/tmpl/gparamspec.sgml: Add canonical-parameter-name id.
2006-12-17 19:59:02 +00:00
Matthias Clasen
acd7325895 typo fix 2006-12-17 19:51:28 +00:00
Matthias Clasen
e2285f085d Move docs inline, and improve wording. (#372598, Behdad Esfahbod)
2006-12-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/gstrfuncs.c (g_strndup, g_strnfill): Move docs
        inline, and improve wording.  (#372598, Behdad Esfahbod)
2006-12-17 19:12:58 +00:00
Matthias Clasen
10d14998d8 Move documentation inline.
2006-12-16  Matthias Clasen  <mclasen@redhat.com>

	* glib/gstring.c: Move documentation inline.
2006-12-16 06:14:45 +00:00
Matthias Clasen
a7651b067e broken pipe 2006-12-15 22:58:04 +00:00
Matthias Clasen
0c10536d2e s/Gnome/GNOME/g (#352156, Guillaume Desmottes)
2006-12-14  Matthias Clasen  <mclasen@redhat.com>

        * gobject/*.xml: s/Gnome/GNOME/g (#352156, Guillaume Desmottes)
2006-12-15 04:03:07 +00:00
Matthias Clasen
966872d789 If the group is already there, make it current. (#385910, Joe Halliwell)
2006-12-14  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_add_group): If the group
        is already there, make it current.  (#385910, Joe Halliwell)

        * tests/keyfile-test.c: Add a test for duplicate groups/keys.
2006-12-14 23:19:28 +00:00
Matthias Clasen
ea1512221b Handle valid symbols that are NULL correctly. (#385388, Felix Kater)
2006-12-13  Matthias Clasen  <mclasen@redhat.com>

        * gmodule.c (g_module_open):
        * gmodule-dl.c (_g_module_symbol): Handle valid symbols
        that are NULL correctly.  (#385388, Felix Kater)
2006-12-13 15:41:22 +00:00
Matthias Clasen
4766e33d9b Add docs 2006-10-09 05:09:57 +00:00
Matthias Clasen
ead852a01e Missing files 2006-10-09 04:24:29 +00:00
Matthias Clasen
68e78574db Add Unicode script support 2006-10-09 04:23:58 +00:00
Matthias Clasen
6300eef350 Add a hint about the requirement that enum and flags values must be
2006-10-08  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/enumerations_flags.sgml: Add a hint about
	the requirement that enum and flags values must be static.
2006-10-08 19:35:52 +00:00
Matthias Clasen
81115d312d Improve example. (#367625, Ross Burton)
2006-10-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/option.sgml: Improve example.  (#367625, Ross Burton)
2006-10-01 06:04:54 +00:00
Tim Janik
323e56d824 documented G_DEBUG flags resident-modules and bind-now-modules, patch by
Mon Sep 11 14:57:46 2006  Tim Janik  <timj@imendio.com>

        * glib/running.sgml: documented G_DEBUG flags resident-modules
        and bind-now-modules, patch by Christian Persch on bug #345099.
2006-09-11 13:10:44 +00:00
Matthias Clasen
f8c1c1f9e0 Add functions for approximate timeouts 2006-09-10 05:44:46 +00:00
Matthias Clasen
a66bf6e9f2 Add a note about G_DISABLE_DEPRECATED. (#353172, Matt Barnes)
2006-08-28  Matthias Clasen  <mclasen@redhat.com>

        * glib/compiling.sgml: Add a note about G_DISABLE_DEPRECATED.
        (#353172, Matt Barnes)
2006-08-28 17:20:02 +00:00
Johan Dahlin
c2441aea68 typo, new module name 2006-08-24 23:26:06 +00:00
Tim Janik
f1f0177b9e added notes about complexity.
Wed Aug 16 13:55:39 2006  Tim Janik  <timj@imendio.com>

        * glib/tmpl/trash_stack.sgml: added notes about complexity.
2006-08-16 12:10:41 +00:00
Matthias Clasen
c4bc3fe91d 2.12.2 2006-08-16 00:45:03 +00:00
Josh Parsons
3d4e51759a copyediting API docs 2006-08-09 21:32:12 +00:00
Matthias Clasen
9797823fe2 Add some hints about making warnings fatal. (#348785, Matt Barnes)
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/messages.sgml: Add some hints
	about making warnings fatal.  (#348785, Matt
	Barnes)
2006-08-05 22:04:21 +00:00
Matthias Clasen
395997df20 2.12.1 2006-07-22 18:21:48 +00:00
Tor Lillqvist
9a0f54fe92 Improve doc for g_date_strftime(). (#346197)
2006-07-20  Tor Lillqvist  <tml@novell.com>

	* glib/tmpl/date.sgml: Improve doc for
	g_date_strftime(). (#346197)
2006-07-20 09:52:22 +00:00
Matthias Clasen
5f4e467f33 Fix typos in the docs. (#346660, Mark Drago)
2006-07-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gbase64.c: Fix typos in the docs.  (#346660, Mark
	Drago)
2006-07-05 16:42:19 +00:00
Matthias Clasen
7f25ce8987 2.12.0 2006-07-02 19:52:14 +00:00
Matthias Clasen
2107d8e3ed 2.11.4 2006-06-20 15:09:06 +00:00
Matthias Clasen
ec50b87916 2.11.3 2006-06-12 15:37:27 +00:00
Matthias Clasen
0c26468057 2.11.2 2006-06-05 17:34:53 +00:00
Matthias Clasen
a74af928cf fixups 2006-06-02 02:55:50 +00:00
Matthias Clasen
e7da49e64e document new api 2006-06-02 02:42:24 +00:00
Matthias Clasen
a5b4b8bfb1 Add g_hash_table_{remove,steal}_all to remove all nodes from a hash table.
2006-06-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/ghash.h:
	* glib/ghash.c: Add g_hash_table_{remove,steal}_all to
	remove all nodes from a hash table.  (#168538, Matt Barnes)
2006-06-01 14:16:39 +00:00
Tim Janik
01e5d78f6d amend G_TYPE_CHAR according to #303622.
Wed May 31 11:35:48 2006  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gtype.sgml (Note): amend G_TYPE_CHAR according to #303622.
2006-05-31 09:41:30 +00:00
Matthias Clasen
f4f6480042 Add a GMarkupParseFlags flag for treating CDATA as text.
2006-05-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmarkup.h: Add a GMarkupParseFlags flag for
	treating CDATA as text.

	* glib/gmarkup.c (g_markup_parse_context_parse):
	Implement it here.
2006-05-29 00:08:30 +00:00
Matthias Clasen
49ab402f5a g_ascii_strtoll 2006-05-16 05:49:46 +00:00
Matthias Clasen
ba7dd25959 2.11.1 2006-05-15 17:16:28 +00:00
Matthias Clasen
a052fd1202 Allow optional summary and description texts before and after the option
2006-05-13  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/goption.h:
	* glib/goption.c: Allow optional summary and description
	texts before and after the option descriptions, and add
	a way to translate them.  (#336120, Behdad Esfahbod)
2006-05-13 04:23:38 +00:00
Bastien Nocera
93ec25ad67 add documentation for G_OPTION_ARG_INT64
2006-05-11  Bastien Nocera  <hadess@hadess.net>

	* glib/tmpl/option.sgml: add documentation for G_OPTION_ARG_INT64

2006-05-11  Bastien Nocera  <hadess@hadess.net>

	* glib/goption.c: (parse_int64), (parse_arg), (free_changes_list):
	* glib/goption.h:
	* tests/option-test.c: (arg_test6), (main): add an int64 type for
	GOption (G_OPTION_ARG_INT64) (#341237)
2006-05-11 18:37:15 +00:00
Matthias Clasen
530b06b7e5 Updates
2006-05-10  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gtype.sgml: Updates
2006-05-10 18:26:45 +00:00
Matthias Clasen
4b17ee97a5 2.11.0 2006-05-03 02:05:01 +00:00
Matthias Clasen
4d0f3cf076 document a little pitfall 2006-05-02 15:42:18 +00:00
Behdad Esfahbod
0ec029edd5 Add a period. 2006-04-29 10:02:54 +00:00
Behdad Esfahbod
8f75a97285 docs/reference/glib/glib-sections.txt, Implement g_unichar_iswide_cjk().
2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

        * docs/reference/glib/glib-sections.txt,
        * glib/gunicode.h glib/guniprop.c: Implement g_unichar_iswide_cjk().
        (#105626)
2006-04-27 21:14:47 +00:00
Matthias Clasen
11f335d468 additions 2006-04-27 19:20:10 +00:00
Matthias Clasen
5dd378d2bd Updates 2006-04-24 21:12:52 +00:00
Matthias Clasen
8506d70257 forgotten file 2006-04-24 20:50:12 +00:00
Matthias Clasen
f37cf04194 documentation additions 2006-04-21 16:54:15 +00:00
Matthias Clasen
8926039dde Add some missing Since: 2.8 tags 2006-04-19 14:51:49 +00:00
Matthias Clasen
22ec64756c Add api to get and set doubles and lists of doubles. (#164719, Maurizio
2006-04-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.h:
	* glib/glib.symbols:
	* glib/gkeyfile.c: Add api to get and set doubles and
	lists of doubles.  (#164719, Maurizio Monge, Dom Lachowicz)

	* tests/keyfile-test.c: Add tests for new api.
2006-04-19 02:59:37 +00:00
Matthias Clasen
442ef9d902 Say that ref/unref are thread-safe now. (#322883, Christophe Fergeau)
2006-04-18  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tut_gobject.xml: Say that ref/unref are thread-safe now.
	(#322883, Christophe Fergeau)
2006-04-18 18:36:44 +00:00
Matthias Clasen
f2e6861460 Document class_offset 0. and that class_closure may be NULL.
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Document class_offset 0.
	and that class_closure may be NULL.
2006-04-05 16:18:42 +00:00
Matthias Clasen
5486886c82 Document class_offset 0.
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Document class_offset 0.
2006-04-05 16:07:15 +00:00
Matthias Clasen
6324ed6b34 Add base64 docs 2006-04-05 03:19:30 +00:00
Matthias Clasen
286c730dce Fix docs 2006-04-03 18:32:29 +00:00
Matthias Clasen
0878b0c5ed Add some verbiage to g_object_ref_sink_docs. (#336677)
2006-04-03  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/objects.sgml: Add some verbiage to
	g_object_ref_sink_docs.  (#336677)
2006-04-03 18:31:37 +00:00
Matthias Clasen
9b6f47f9b4 Update the floating docs wrt to GInitiallyUnowned.
2006-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/objects.sgml: Update the floating docs wrt
	to GInitiallyUnowned.
2006-03-30 20:38:09 +00:00
Matthias Clasen
8763438c33 Additions
2006-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/objects.sgml:
	* gobject/tmpl/gtype.sgml: Additions
2006-03-30 20:30:21 +00:00
Matthias Clasen
86bb6c69b8 Cleanup
2006-03-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/messages.sgml: Cleanup

	* glib/tmpl/memory_slices.sgml: Adapt to a parameter name change

	* glib/tmpl/linked_lists_double.sgml: Document g_list_free1
2006-03-30 19:58:01 +00:00
Matthias Clasen
375419da7f Document g_list_free1
2006-03-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/linked_lists_double.sgml: Document g_list_free1
2006-03-30 19:43:58 +00:00
Emmanuele Bassi
189c2c213e Add documentation for GBookmarkFile to GLib's reference guide.
2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* docs/reference/glib/glib-docs.sgml:
	* docs/reference/glib/glib-sections.txt:
	* docs/reference/glib/tmpl/bookmarkfile.sgml: Add documentation for
	GBookmarkFile to GLib's reference guide.
2006-03-27 18:25:33 +00:00
Matthias Clasen
9749aa87e5 Support floating point arguments in goption 2006-03-27 06:57:28 +00:00
Tim Janik
9e98598d04 some wording fixups.
Fri Mar 24 15:22:04 2006  Tim Janik  <timj@imendio.com>

        * glib/tmpl/atomic_operations.sgml: some wording fixups.
2006-03-24 14:22:32 +00:00
Emmanuele Bassi
6db9ec4070 Check for timegm.
2006-03-23  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* configure.in: Check for timegm.

	* glib/gtimer.h:
	* glib/gtimer.c:
	* glib/glib.symbols:
	* docs/reference/glib/glib-sections.txt: Added g_time_val_to_iso8601
	and g_time_val_from_iso8601, to convert a GTimeVal to and from an
	ISO 8601 encoded date.

	* tests/testglib.c: Added test cases for g_time_val_to_iso8601()
	and g_time_val_from_iso8601() functions.
2006-03-23 02:54:29 +00:00
Matthias Clasen
0028b643bc Document G_HAVE_GINT64 as deprecated. (#335294, Richard Laager)
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/types.sgml: Document G_HAVE_GINT64 as deprecated.
	(#335294, Richard Laager)
2006-03-21 01:55:19 +00:00
Matthias Clasen
fd91e6aa5b Hint that @error should be set in error cases. (#334646, Christian Persch)
2006-03-15  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/option.sgml: Hint that @error should
	be set in error cases.  (#334646, Christian Persch)
2006-03-15 13:46:49 +00:00
Matthias Clasen
ee0dfe573e Mention that the second parameter of g_timer_elapsed can be NULL (#333916,
2006-03-09  Matthias Clasen  <mclasen@redhat.com>

        * glib/templ/timers.sgml: Mention that the second
        parameter of g_timer_elapsed can be NULL (#333916,
        Christian Neumair)
2006-03-09 05:45:48 +00:00
Matthias Clasen
a639cb7cb8 2.10.1 2006-03-07 18:30:23 +00:00
Matthias Clasen
2f4f39095f 2.10.0 2006-02-24 17:17:35 +00:00
Stefan Kost
ee57c76a43 add @since: for _add_private, _GET_PRIVATE fix example to use ->priv and
* gobject/tmpl/gtype.sgml:
add @since: for _add_private, _GET_PRIVATE
* gobject/tut_gobject.xml:
fix example to use ->priv and not ->private
* gobject/tut_howto.xml:
fix g_type_class_add_private example
2006-02-22 14:41:14 +00:00
Tor Lillqvist
7cd4460372 Document some Windows-specific issues.
2006-02-14  Tor Lillqvist  <tml@novell.com>

	* glib/tmpl/iochannels.sgml: Document some Windows-specific issues.

	* glib/glib-sections.txt: Move three Windows-specific functions
	that now are documented from being Private to the correct section.
2006-02-20 10:56:13 +00:00
Matthias Clasen
72abb1a5ac 2.9.6 2006-02-11 14:05:58 +00:00
Matthias Clasen
270a6553b7 Fix a typo 2006-02-10 18:47:07 +00:00
Behdad Esfahbod
db298b2f46 Specify the type of varargs arguments. (bug #317679)
2006-01-31  Behdad Esfahbod  <behdad@gnome.org>

        * docs/reference/glib/tmpl/relations.sgml (g_relation_insert): Specify
        the type of varargs arguments. (bug #317679)
2006-01-31 23:22:52 +00:00
Sven Herzberg
e70a6c4be9 tell how to create container classes which are as flexible as a GValue is
2006-01-29  Sven Herzberg  <herzi@gnome-de.org>

        * docs/reference/gobject/tmpl/param_value_types.sgml: tell how to
	create container classes which are as flexible as a GValue is
2006-01-29 14:30:22 +00:00
Matthias Clasen
666e90eae6 2.9.5 2006-01-27 14:37:02 +00:00
Matthias Clasen
5cb432b56c Mention g_trap_object_ref
2006-01-26  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tut_tools.xml: Mention g_trap_object_ref

	* glib/running.sgml: Add g_trap variables to the index.
	Mention conditional breakpoints as an alternative.
2006-01-26 19:28:33 +00:00
Tim Janik
4ec9e3a40d link to G_DEBUG/G_SLICE where appropriate.
Wed Jan 25 17:32:22 2006  Tim Janik  <timj@gtk.org>

        * glib/tmpl/memory_slices.sgml: link to G_DEBUG/G_SLICE where appropriate.
2006-01-25 16:32:53 +00:00
Tim Janik
04f12a2641 documented G_SLICE=always-malloc and G_DEBUG=gc-friendly. added anchors
Wed Jan 25 17:12:47 2006  Tim Janik  <timj@gtk.org>

        * glib/running.sgml: documented G_SLICE=always-malloc and
        G_DEBUG=gc-friendly. added anchors for each env var.
2006-01-25 16:14:09 +00:00
Tim Janik
eda944bca5 honour g_mem_gc_friendly settings when freeing slices, make sure
Wed Jan 25 16:39:18 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: honour g_mem_gc_friendly settings when freeing
        slices, make sure g_mem_gc_friendly is properly initialized.

        * gmem.[hc]: ensure g_mem_gc_friendly is initialized from G_DEBUG upon
        the first allocation. applied some branching optimizations.

        * docs/macros.txt: reflected --enable-gc-friendly change and
        described ENABLE_GC_FRIENDLY_DEFAULT as well as G_DEBUG=gc-friendly.

        * configure.in: changed --enable-gc-friendly=yes to define
        ENABLE_GC_FRIENDLY_DEFAULT.

        * glib/garray.c: changed ENABLE_GC_FRIENDLY macro #ifdef-s to
        if (G_UNLIKELY (g_mem_gc_friendly)).

        * glib/gtree.c:
        * glib/ghash.c: removed ENABLE_GC_FRIENDLY code which is now taken
        care of by g_slice_free1().

        * tests/slice-test.c: fixed leaks, reported by Kjartan Maraas.
2006-01-25 15:51:43 +00:00
Matthias Clasen
1154014f26 2.9.4 2006-01-18 17:16:21 +00:00
Matthias Clasen
9f5b3c1d64 Add a note explaining peculiarities of peek_token wrt to scope changes.
2006-01-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/scanner.sgml: Add a note explaining peculiarities
	of peek_token wrt to scope changes.  (#307922)
2006-01-18 05:35:29 +00:00
Matthias Clasen
402a1081ae Add a note about casting the results of g_new() and g_new0().
2006-01-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/memory.sgml: Add a note about casting the results
	of g_new() and g_new0().
2006-01-18 03:51:39 +00:00
Matthias Clasen
7f737f1f34 2.9.3 2006-01-17 00:00:17 +00:00
Federico Mena Quintero
864c7a4d97 Replaced with the correct file.
2006-01-12  Federico Mena Quintero  <federico@ximian.com>

	* glib/file-name-encodings.sxd: Replaced with the correct file.

	* glib/file-name-encodings.png: Huh?  This was a 6-byte file.
	Replaced it with the correct one.
2006-01-12 19:49:32 +00:00
Federico Mena Quintero
d94b515b79 Huh? This was a 6-byte file. Replaced it with the correct one.
2006-01-12  Federico Mena Quintero  <federico@ximian.com>

	* glib/file-name-encodings.png: Huh?  This was a 6-byte file.
	Replaced it with the correct one.
2006-01-12 19:47:02 +00:00
Sven Herzberg
82395be214 explain that G_TYPE_INSTANCE_GET_CLASS() does behave different during
2005-12-20  Sven Herzberg  <herzi@gnome-de.org>

        * docs/reference/gobject/tmpl/gtype.sgml: explain that
	G_TYPE_INSTANCE_GET_CLASS() does behave different during
	initialization
2006-01-08 15:13:28 +00:00
Stefan Kost
fbaf1c4db6 fix internal link, little XXX cleanup
* gobject/tut_gtype.xml:
fix internal link, little XXX cleanup
2006-01-07 21:08:17 +00:00
Matthias Clasen
9090c67afc 2.9.2 2006-01-06 05:07:47 +00:00
Martyn James Russell
941faa1ca9 - Added new API g_thread_pool_get_idle_time() and
* docs/reference/glib/glib-sections.txt:
* glib/glib.symbols:
* glib/gthreadpool.[ch]:
- Added new API g_thread_pool_get_idle_time() and
g_thread_pool_set_idle_time(). (#324228).

* tests/threadpool-test.c:
- Updated test case to do thread pool sorting, thread pool with
no sorting and a thread pool with idle thread timeouts.
2006-01-03 15:09:52 +00:00
Matthias Clasen
796aa7e06e Small fixes 2006-01-03 12:01:05 +00:00
Stepan Kasal
0a3f176305 typo 2006-01-02 13:50:15 +00:00
Matthias Clasen
9d69eab963 additions 2005-12-24 07:49:51 +00:00
Matthias Clasen
700a71f010 New function to sort tasks pushed into a threadpool. (#324479, Martyn
2005-12-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gthreadpool.h:
	* glib/gthreadpool.c (g_thread_pool_set_sort_function): New function
	to sort tasks pushed into a threadpool.  (#324479, Martyn Russell)

	* tests/threadpool-test.c: Test this.
2005-12-21 04:45:56 +00:00
Matthias Clasen
86f1c798b2 Updates 2005-12-20 04:44:25 +00:00
Matthias Clasen
ce4648d362 Document G_TYPE_HASH_TABLE.
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gboxed.sgml: Document G_TYPE_HASH_TABLE.
2005-12-19 21:31:49 +00:00
Matthias Clasen
037908adbd Add g_list_free1
* glib/glib-sections.txt: Add g_list_free1

	* glib/glib-overrides.txt: Remove G_THREADS_IMPL_SOLARIS
2005-12-19 21:22:29 +00:00
Matthias Clasen
28dd7200d6 Document new atomic operations.
2005-12-14  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt:
	* glib/tmpl/atomic_operations.sgml: Document new atomic
	operations.
2005-12-15 04:37:32 +00:00
Tim Janik
32ffaf4c32 added g_atomic_pointer_set() and g_atomic_int_set()
Tue Dec 13 10:13:32 2005  Tim Janik  <timj@imendio.com>

	* glib/gatomic.h: added g_atomic_pointer_set() and g_atomic_int_set()
2005-12-15 02:23:15 +00:00
Tim Janik
2e6faeec59 corrected floating reference documentation.
Mon Dec 12 15:31:41 2005  Tim Janik  <timj@imendio.com>

        * gobject/tmpl/objects.sgml: corrected floating reference documentation.
2005-12-12 14:32:27 +00:00
Matthias Clasen
eff8046fcc 2.9.1 2005-12-09 18:05:25 +00:00
Matthias Clasen
dfbaeca45b Document n_preallocs as ignored.
2005-12-07  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gparamspec.sgml:
	* gobject/tmpl/gtype.sgml: Document n_preallocs as
	ignored.
2005-12-07 15:57:28 +00:00
Martyn James Russell
a77f5ff0b6 - Added g_list_insert_sorted_with_data () and
* docs/reference/glib/glib-sections.txt:
* docs/reference/glib/tmpl/linked_lists_double.sgml:
* docs/reference/glib/tmpl/linked_lists_single.sgml:
* glib/glist.[ch]:
* glib/gslist.[ch]:
- Added g_list_insert_sorted_with_data () and
g_slist_insert_sorted_with_data ().
- Removed the extra check in g_list_sort() and g_slist_sort() for
GCompareDataFunc vs. GCompareFunc.
2005-12-07 11:35:27 +00:00
Matthias Clasen
0f63e9a347 Updates
2005-12-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Updates

	* glib/tmpl/memory_slices.sgml: Fix a small formatting
	problem.
2005-12-05 16:04:28 +00:00
Matthias Clasen
cab5611661 fix a formatting problem 2005-12-05 15:54:58 +00:00
Matthias Clasen
7d5800d718 Deprecate mem chunks 2005-12-05 15:54:44 +00:00
Matthias Clasen
0b5560da8b Add versioned deprecation information 2005-12-05 15:38:54 +00:00
Martyn James Russell
a127920458 - Added support for sorting async queues by with _push_sorted(),
* docs/reference/glib/glib-sections.txt:
* glib/gasyncqueue.[ch]:
- Added support for sorting async queues by with _push_sorted(),
_push_sorted_unlocked(), _sort() and _sort_unlocked() (#323047).

* tests/Makefile.am:
* tests/asyncqueue-test.c:
- Added test case for gasyncqueue.c
2005-12-05 15:08:45 +00:00
Tim Janik
6ed79b115c implement chain walking for arbitrary ->next pointer offsets in
Mon Dec  5 15:53:20 2005  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: implement chain walking for arbitrary ->next pointer
        offsets in g_slice_free_chain_with_offset() based on a patch by behdad
        in bug 323178. moved time consuming logic from g_slice_free() out of
        the inner loop, so g_slice_free_chain_with_offset() provides a real
        performance benefit over g_slice_free1() now.

        * glib/gslice.h: renamed g_slice_free_chain() to
        g_slice_free_chain_with_offset(). implemented g_slice_free_chain() as
        a type-safe macro as suggested in bug 323178.
        simplified the macro implementation of g_slice_free() and implemented
        it in a type safe manner for all compliers as suggested by Morten
        Welinder <mortenw@gnome.org>.

        * glib/gmain.c:
        * glib/glist.c:
        * glib/gslist.c:
        * glib/glib.symbols: s/g_slice_free_chain/g_slice_free_chain_with_offset/
2005-12-05 15:01:27 +00:00
Matthias Clasen
a59e49a545 Updates
2005-12-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/generic_values.sgml:
	* glib/tmpl/trees-nary.sgml:
	* glib/tmpl/linked_lists_double.sgml:
	* glib/tmpl/linked_lists_single.sgml:
	* glib/tmpl/memory_chunks.sgml:
	* glib/tmpl/allocators.sgml:
	* glib/tmpl/macros_misc.sgml: Updates

	* glib/Makefile.am: Ignore gmirroringtable.h
2005-12-05 06:01:10 +00:00
Matthias Clasen
9e5ac8717f Update for latest header additions 2005-12-05 05:03:11 +00:00
Matthias Clasen
00f952f8e8 Add a macro to make gcc warn if a function result is ignored. (#145466,
2005-12-04  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmacros.h (G_GNUC_WARN_UNUSED_RESULT): Add a macro
	to make gcc warn if a function result is ignored.  (#145466,
	Arjan van de Ven, Alex Larsson)

	* glib/gmem.h: Add the new attribute to g_realloc and
	g_try_realloc.
2005-12-04 06:41:58 +00:00
Matthias Clasen
36c836435b Deprecate g_cache_value_foreach. (#322956, Nicolas Caniart)
2005-12-03  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gcache.h: Deprecate g_cache_value_foreach. (#322956,
	Nicolas Caniart)
2005-12-03 06:53:31 +00:00
Matthias Clasen
9f4e58980d Add more api 2005-12-03 06:36:01 +00:00
Matthias Clasen
1d485e56bc Document the slice allocator 2005-12-03 06:29:12 +00:00
Matthias Clasen
f42f6da6d5 Remove support for Solaris threads. (#136971, Sebastian Wilhelmi, patch by
2005-12-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gspawn.c:
	* configure.in: Remove support for Solaris threads.
	(#136971, Sebastian Wilhelmi, patch by Andrew Paprocki)
2005-12-02 21:37:25 +00:00
Matthias Clasen
745229d452 Broken commit 2005-12-02 21:26:23 +00:00
Matthias Clasen
7ddcde62c0 Define G_GUINT64_CONSTANT in analogy to G_GINT64_CONSTANT. (#322568,
2005-12-02  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Define G_GUINT64_CONSTANT in analogy to
	G_GINT64_CONSTANT.  (#322568, Andrew Paprocki)
2005-12-02 21:25:45 +00:00
Matthias Clasen
9adc9c942d Document GObject API additions 2005-11-27 20:09:13 +00:00
Matthias Clasen
d9d75c48de Document GObject api additions 2005-11-27 20:08:59 +00:00
Matthias Clasen
fe749cbd3b Documentation improvements 2005-11-23 04:29:43 +00:00
Matthias Clasen
d7deadb1e2 2.9.0 2005-11-18 13:58:48 +00:00
Matthias Clasen
f59aac306d Prepare for 2.9.0 2005-11-17 21:33:07 +00:00
Matthias Clasen
2966c751b1 Updates
2005-11-17  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

	* glib/gthread.c (g_thread_foreach): Mark as new api.

	* README.in: Updates.
2005-11-17 19:05:59 +00:00
Matthias Clasen
9f90f2f23e Add functions to set a date from a time_t and from a GTimeVal.
2005-11-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gdate.h:
	* glib/gdate.c (g_date_set_time_t):
	(g_date_set_time_val): Add functions to set a date from
	a time_t and from a GTimeVal.
	(g_date_set_time): Deprecate.  (#314067, Roger Leigh)
2005-11-17 17:51:59 +00:00
Behdad Esfahbod
cac3d6ea8d Correct typo on mentioning @G_UNICODE_BREAK_UNKNOWN that should be
2005-11-16  Behdad Esfahbod  <behdad@gnome.org>

        * docs/reference/glib/tmpl/unicode.sgml: Correct typo on mentioning
        @G_UNICODE_BREAK_UNKNOWN that should be #G_UNICODE_BREAK_UNKNOWN.
2005-11-17 03:39:47 +00:00
Matthias Clasen
a233a0bf08 Improve GOnce docs 2005-11-08 14:30:29 +00:00
Matthias Clasen
8b14175a3e add new GDebugFlag for fatal_criticals handle G_DEBUG=fatal_criticals, to
2005-11-04  Matthias Clasen  <mclasen@redhat.com>

        * glib/gdebug.h: add new GDebugFlag for fatal_criticals
        * glib/gmessages.c: (_g_debug_init): handle G_DEBUG=fatal_criticals,
        to help find critical warnings in applications.  (#320017,
        Vincent Untz)
2005-11-04 19:05:30 +00:00
Matthias Clasen
c0cffcf51b Document g_value_set_instance(), (#319885, Milosz Derezynski)
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

	* gobject/gobject-sections.txt:
	* gobject/tmpl/generic_values.sgml: Document g_value_set_instance(),
	(#319885, Milosz Derezynski)
2005-10-27 02:54:30 +00:00
Matthias Clasen
8e3788a14a Add a footnote about surrogate pairs. (#317683, Behdad Esfahbod)
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/unicode.sgml: Add a footnote about surrogate
	pairs.  (#317683, Behdad Esfahbod)
2005-10-26 13:22:36 +00:00
Matthias Clasen
a8b39bf42b Document gmodule-no-export-2.0
2005-10-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/compiling.sgml: Document gmodule-no-export-2.0
2005-10-05 20:45:50 +00:00
Behdad Esfahbod
c83e2b3349 Updated to Unicode 4.1. There are five new GUnicodeBreakType types. That
2005-10-01  Behdad Esfahbod  <behdad@gnome.org>

        * docs/reference/glib/tmpl/unicode.sgml:
        * glib/gen-unicode-tables.pl:
        * glib/gunibreak.h:
        * glib/gunichartables.h:
        * glib/gunicode.h:
        * tests/casefold.txt:
        * tests/casemap.txt: Updated to Unicode 4.1.  There are five new
        GUnicodeBreakType types.  That may break some applications, like
        Pango <= 1.10.
2005-10-01 12:34:21 +00:00
Davyd Madeley
ef030130ab Minor documentation improvements for g_strchug, g_strchomp and g_strstrip.
2005-10-01  Davyd Madeley  <davyd@fugro-fsi.com.au>

        * glib/tmpl/string_utils.sgml: Minor documentation improvements for           g_strchug, g_strchomp and g_strstrip. Brought forward from glib-2-8.
2005-10-01 02:48:35 +00:00
Matthias Clasen
70af0de0ef Add functions to intern strings.
2005-08-31  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gquark.h:
	* glib/gdataset.c: Add functions to intern strings.
2005-08-31 14:25:45 +00:00
Matthias Clasen
555b46b039 Enhance sort() documentation. (#314839, Behdad Esfahbod)
2005-08-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays.sgml:
	* glib/tmpl/arrays_pointer.sgml:
	* glib/tmpl/arrays_byte.sgml: Enhance sort() documentation.
	(#314839, Behdad Esfahbod)
2005-08-30 14:19:56 +00:00
Matthias Clasen
6f3e44dc4f Add new indices 2005-08-26 19:28:26 +00:00
Matthias Clasen
c593d2b180 Improvements pointed out by Behdad Esfahbod (#314460):
2005-08-26  Matthias Clasen  <mclasen@redhat.com>

	Improvements pointed out by Behdad Esfahbod (#314460):

	* glib/tmpl/strings.sgml: Fix up some character/byte
	sloppyness.

	* glib/tmpl/iochannels.sgml: Don't mention deprecated
	functions in the introduction.
2005-08-26 16:46:09 +00:00
Matthias Clasen
4bf14f1c4e 2.8.1 2005-08-23 04:35:33 +00:00
Matthias Clasen
d7a216df8f Point out time_t vs GTime pitfalls.
2005-08-22  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/date.sgml: Point out time_t vs GTime pitfalls.
2005-08-22 15:39:34 +00:00
Matthias Clasen
d75bbbb124 Fix some formatting problems. 2005-08-15 18:45:27 +00:00
Matthias Clasen
71c21349c3 Document that file_name can be NULL. (#313143, Gustavo Carneiro)
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/modules.sgml: Document that file_name can
	be NULL.  (#313143, Gustavo Carneiro)
2005-08-15 18:35:30 +00:00
Matthias Clasen
95ffa1e5af Clarify docs a little. (#311727, Tristan van Berkom)
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

	* glib/gqueue.c (g_queue_find_custom): Clarify docs
	a little.  (#311727, Tristan van Berkom)
2005-08-15 18:28:12 +00:00
Matthias Clasen
6de0ca7807 2.8.0 2005-08-12 17:18:55 +00:00
Stepan Kasal
1200dbdc98 two stylistic fixes 2005-08-12 09:27:49 +00:00
Stepan Kasal
29e635059f fix typos 2005-08-10 11:07:55 +00:00
Stepan Kasal
f6059af110 a typo 2005-08-10 10:56:46 +00:00
Stepan Kasal
38610c0a36 manual emulation of refresh of manual pages 2005-08-10 10:49:46 +00:00
Stepan Kasal
0169468c8c Fix typos: invokation -> invocation. 2005-08-10 10:46:55 +00:00
Matthias Clasen
bda683f786 Small fixes.
2005-08-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gparamspec.sgml:
	* glib/tmpl/types.sgml:
	* glib/tmpl/option.sgml: Small fixes.
2005-08-06 03:40:07 +00:00
Matthias Clasen
776c3a8bd8 Small fixes
2005-08-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/generic_values.sgml: Small fixes
2005-08-05 20:40:52 +00:00
Matthias Clasen
d5c882abc4 2.7.7 2005-08-05 16:09:42 +00:00
Matthias Clasen
6e103ba100 2.7.6 2005-08-03 20:58:37 +00:00
Ross Burton
fada30c956 Small doc updates 2005-08-03 20:24:18 +00:00
Matthias Clasen
e4c231a62a 2.7.5 2005-08-02 16:17:48 +00:00
Tim Janik
a49fda33d5 document non-thread-safety for _foreach() functions.
Sat Jul 30 23:40:35 2005  Tim Janik  <timj@gtk.org>

        * glib/tmpl/datalist.sgml:
        * glib/tmpl/datalset.sgml: document non-thread-safety for
        _foreach() functions.
2005-07-30 21:41:18 +00:00
Matthias Clasen
39560bf49f One more improvement.
2005-07-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays.sgml: One more improvement.
2005-07-26 15:37:22 +00:00
Matthias Clasen
fd6d142f4f Add details 2005-07-26 02:38:26 +00:00
Matthias Clasen
3c6e2da565 2.7.4 2005-07-22 17:02:04 +00:00
Matthias Clasen
e81747cdc0 Add some discouraging comments to the G_INLINE_FUNC macros. (#310836,
2005-07-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/macros_misc.sgml: Add some discouraging
	comments to the G_INLINE_FUNC macros.  (#310836,
	Callum McKenzie)
2005-07-20 15:41:19 +00:00
Matthias Clasen
e2f521eb19 Add docs for #307047, Bryan Silverthorn.
2005-07-19  Matthias Clasen  <mclasen@redhat.com>

        * glib/tmpl/byte_order.sgml: Add docs for #307047,
        Bryan Silverthorn.
2005-07-19 18:36:39 +00:00
Matthias Clasen
1760b7074d 2.7.3 2005-07-15 17:28:17 +00:00
Matthias Clasen
deef36d182 Add G_VA_COPY
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-overrides.txt: Add G_VA_COPY
2005-07-13 18:57:18 +00:00
Matthias Clasen
7b70e24179 Warn if a short name is not acceptable.
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (g_option_group_add_entries): Warn if a
	short name is not acceptable.
2005-07-13 13:31:30 +00:00
Matthias Clasen
58dd4814b2 Add and implement a new flag to turn off the automatic <groupname>-
2005-07-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.h (G_OPTION_FLAG_NOALIAS):
	* glib/goption.c: Add and implement a new flag
	to turn off the automatic <groupname>- prefixing
	for conflict resolution of long option names. (#171840,
	Adam McLaurin)

	All optional callback arguments  (#308886, Pawel
	Sliwowski)

	* glib/goption.h (G_OPTION_FLAG_OPTIONAL_ARG):
	* glib/goption.c: Add and implement a new flag
	to indicate that a callback *optionally* takes another
	argument.

	* tests/option-test.c: Add tests for optional arguments.
2005-07-12 18:56:25 +00:00
Matthias Clasen
138f260fbc 2.7.2 2005-07-08 15:48:32 +00:00
Matthias Clasen
ec872e77c7 Add the "new in 2.8" index.
2005-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gobject/gobject-docs.sgml:
	* glib/glib-docs.sgml: Add the "new in 2.8" index.
2005-07-08 15:04:29 +00:00
Matthias Clasen
f77e7d1272 Add an example 2005-07-05 05:54:42 +00:00
Matthias Clasen
399b0456ce 2.7.1 2005-06-30 21:01:58 +00:00
Matthias Clasen
18ccd90ef8 Updates 2005-06-30 03:13:35 +00:00
Matthias Clasen
748c230205 Add an mmap() wrapper called GMappedFile. (#148218, David Schleef, Behdad
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	Add an mmap() wrapper called GMappedFile. (#148218,
	David Schleef, Behdad Esfahbod)

	* glib/gmappedfile.[hc]: New files.

	* configure.in: Check for mmap.

	* glib/Makefile.am: Add new files.

	* glib/glib.symbols: Add new functions.

	* glib/glib.h: Include gmappedfile.h

	* tests/mapping-test.c: Tests for GMappedFile.

	* tests/Makefile.am: Add new file.
2005-06-25 03:38:32 +00:00
Matthias Clasen
77e2a25f23 Add new functions 2005-06-23 05:51:40 +00:00
Matthias Clasen
3a7a096682 Add G_OPTION_FLAG_NO_ARG and G_OPTION_FLAG_FILENAME to allow greater
2005-06-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.h:
	* glib/goption.c: Add G_OPTION_FLAG_NO_ARG and
	G_OPTION_FLAG_FILENAME to allow greater control of
	G_OPTION_ARG_CALLBACK options. (#302632, Dan Winship)

	* tests/option-test.c: test callback args
2005-06-18 04:55:26 +00:00
Mathieu Lacage
15c7e35b33 fix typo reported by Hong Gang XU.
2005-06-16  Mathieu Lacage <mathieu@gnome.org>

	* gobject/tut_gtype.xml: fix typo reported by Hong Gang XU.
2005-06-16 07:46:37 +00:00
Matthias Clasen
604ad5fa3d 2.7.0 2005-06-10 15:48:25 +00:00
Matthias Clasen
9eedca42b1 Add g_chdir
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add g_chdir
2005-06-10 03:13:43 +00:00
Matthias Clasen
f15bb122ce Allow setstacksize to fail. (#304790, Michael Banck)
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gthread-posix.c (g_thread_create_posix_impl): Allow
	setstacksize to fail.  (#304790, Michael Banck)
2005-06-09 15:25:01 +00:00
Matthias Clasen
e6cc98c9cd New function to calculate collation keys which are more suitable for
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gunicode.h:
	* glib/gunicollate.c (g_utf8_collate_key_for_filename):
	New function to calculate collation keys which are more
	suitable for sorting filenames.  (#172690, Ole Laursen)
2005-06-08 05:22:05 +00:00
Mathieu Lacage
8db223409d fix lots of typos, some of which were reported by Leonardo Boshell.
2005-05-25  Mathieu Lacage <mathieu@gnome.org>

	* gobject/tut_*.xml: fix lots of typos,
	some of which were reported by Leonardo Boshell.
2005-05-27 12:04:54 +00:00
Matthias Clasen
d38febf6b3 Point out exceptions to the general GLib data structure locking rules.
2005-05-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Point out exceptions to the
	general GLib data structure locking rules.
2005-05-23 19:10:54 +00:00
Matthias Clasen
6b36180679 Add a paragraph about thread safety of GLib data structures.
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Add a paragraph about thread
	safety of GLib data structures.
2005-05-20 17:15:37 +00:00
Matthias Clasen
a9fc3503a1 Add a warning 2005-05-20 14:33:21 +00:00
Matthias Clasen
16f730e41d Update an example from 1.3 to 2.x
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/compiling.sgml: Update an example from 1.3 to 2.x
2005-05-20 14:27:54 +00:00
Matthias Clasen
5ece1d7388 Mention 64bit integer types.
2005-05-13  Matthias Clasen  <mclasen@redhat.com>

	* gobject/glib-genmarshal.1:
	* gobject/glib-genmarshal.xml: Mention 64bit integer
	types.
2005-05-13 18:09:01 +00:00
Matthias Clasen
9ec6c1eb4f Fix sloppy language, pointed out by Daniel Vaillard.
2005-05-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/markup.sgml: Fix sloppy language, pointed out by
	Daniel Vaillard.
2005-05-10 13:30:27 +00:00
Matthias Clasen
bc9e9efbaf Add long descriptions.
2005-05-09  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/value_collection.sgml:
	* gobject/tmpl/gboxed.sgml:
	* gobject/tmpl/enumerations_flags.sgml:
	* gobject/tmpl/objects.sgml: Add long descriptions.
2005-05-09 05:25:21 +00:00
Owen Taylor
2ae1a46b4c Add g_object_add/remove_toggle_ref() functions to get notification when a
2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * gobject.[ch] gobject.symbols: Add
        g_object_add/remove_toggle_ref() functions to get notification
        when a reference count is the last remaining reference; this
        enables better memory management for language bindings.
        (http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * glib/gdataset.[ch] glib/gdatasetprivate.h: Add
        g_datalist_set/unset_flags(), g_datalist_get_flags() functions
        to squeeze some bits into a GDataSet... this is needed for
        efficient implementation of toggle references in GObject.

        * tests/gobject/references.c tests/gobject/Makefile.am:
        Add a test case for weak and toggle references.

        * glib/gfileutils.[ch]: Rename g_file_replace() back
        to g_file_set_contents().

        * glib/glib.symbols: Update.

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * glib/Makefile.am glib/glib-sections.txt gobject/gobject-sections.txt:
        Update

        * gobject/tmpl/objects.sgml: Document toggle-references.
2005-05-05 14:57:29 +00:00
Matthias Clasen
1167d7d6a7 Documentation trivia 2005-05-02 15:45:45 +00:00
Matthias Clasen
728ab5ff7e Small additions.
2005-05-02  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml:
	* gobject/tmpl/generic_values.sgml:
	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/value_arrays.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gtypemodule.sgml:
	* gobject/tmpl/enumerations_flags.sgml: Small additions.
2005-05-02 15:29:43 +00:00
Matthias Clasen
5374882914 Additions 2005-05-01 22:02:16 +00:00
Matthias Clasen
15bd7c1526 More cosmetics 2005-05-01 21:55:40 +00:00
Matthias Clasen
df9f45ca4e cosmetics 2005-05-01 21:53:02 +00:00
Matthias Clasen
9eff594c95 Additions 2005-05-01 21:39:23 +00:00
Matthias Clasen
3ac67799e8 Additions 2005-05-01 21:37:37 +00:00
Matthias Clasen
1c58b74bb9 Additions 2005-05-01 21:28:32 +00:00
Matthias Clasen
62d51bce03 Some additions 2005-05-01 21:20:20 +00:00
Matthias Clasen
a82bcb3107 Add a boxed type for GDate. (#301787, Tim-Philipp Müller)
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gobject.symbols:
	* gboxed.h (G_TYPE_DATE):
	* gboxed.c: Add a boxed type for GDate. (#301787, Tim-Philipp
	Müller)
2005-04-29 18:33:41 +00:00
Stefan Kost
0979140060 all interface examples use 'interface' instead of 'class' 2005-04-23 09:50:36 +00:00
Stefan Kost
f57a5c33c3 add missing image 2005-04-22 18:34:41 +00:00
Stefan Kost
9ce3590d4e merged in docs form the gobject tutorial 2005-04-22 10:27:37 +00:00
Matthias Clasen
ce1509b6ae Clarify the docs for g_ptr_array_free and g_ptr_array_remove_range.
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays_pointer.sgml: Clarify the docs for
	g_ptr_array_free and g_ptr_array_remove_range.  (#170148,
	#170149, Jared Lash)
2005-03-29 13:51:34 +00:00
Matthias Clasen
46fda0cf41 Clarify the docs for g_ptr_array_free. (#170149, Jared Lash)
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays_pointer.sgml: Clarify the docs for
	g_ptr_array_free.  (#170149, Jared Lash)
2005-03-29 13:47:23 +00:00
Tor Lillqvist
dfb8990512 Add Win32 warnings regarding the child setup function.
2005-03-29  Tor Lillqvist  <tml@novell.com>

	* glib/tmpl/spawn.sgml: Add Win32 warnings regarding the child
	setup function.
2005-03-29 08:27:02 +00:00
Matthias Clasen
213e90aa18 Add g_try_new, g_try_new0, g_try_renew and g_try_malloc0. (#169611, Stefan
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmem.h: Add g_try_new, g_try_new0, g_try_renew and
	g_try_malloc0.  (#169611, Stefan Kost)

	* glib/gmem.c: Implement g_try_malloc0.
2005-03-22 04:09:17 +00:00
Matthias Clasen
103fe49b8e Add g_try_new, g_try_new0 and g_try_renew. (#169611, Stefan Kost)
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmem.h: Add g_try_new, g_try_new0 and
	g_try_renew.  (#169611, Stefan Kost)
2005-03-22 04:02:13 +00:00
Matthias Clasen
4bd613efc4 Don't copy strings which are marked as static. Don't allow non-canonical
2005-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gparam.c (g_param_spec_internal): Don't copy strings
	which are marked as static. Don't allow non-canonical static
	names.

	* gparam.h (GParamFlags): Add G_PARAM_STATIC_{NAME,NICK,BLURB}
	flags.  (#160655, Ben Maurer)
2005-03-21 04:55:26 +00:00
Matthias Clasen
6aac5ce82c Define G_GNUC_NULL_TERMINATED. (#164706, Marc Meissner)
2005-03-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmacros.h: Define G_GNUC_NULL_TERMINATED.
	(#164706, Marc Meissner)

	* glib/gstrfuncs.h:
	* glib/gfileutils.h: Use G_GNUC_NULL_TERMINATED where
	appropriate.
2005-03-08 05:41:45 +00:00
Matthias Clasen
e42c2fc58f Apply patches by Stefan Kost to document naming restrictions. (#167614)
2005-03-07  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gparamspec.sgml: Apply patches by
	Stefan Kost to document naming restrictions. (#167614)
2005-03-08 04:43:00 +00:00
Matthias Clasen
1795e0aeb0 Take main group options into account when calculating column size.
2005-02-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (print_help): Take main group options into
	account when calculating column size.  (#166921)
	(g_option_context_parse): Accept -? as documented.  (#166977)
2005-02-11 04:11:34 +00:00
Matthias Clasen
f18cab0ce3 New function to list all environment variables. (#166327, Hans Petter
2005-02-07  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gutils.h:
	* glib/gutils.c (g_listenv): New function to list all
	environment variables.  (#166327, Hans Petter Jansson)
2005-02-08 04:28:31 +00:00
Matthias Clasen
161e54209e Add a note regarding inefficiency of repeated appends. (#166271, Olivier
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/linked_lists_double.sgml:
	* glib/tmpl/linked_lists_single.sgml: Add a note
	regarding inefficiency of repeated appends. (#166271,
	Olivier Sessink)
2005-02-05 03:12:06 +00:00
Matthias Clasen
d2c401d55a Add a warning against using g_quark_from_static_string() in dynamically
2005-02-03  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/quarks.sgml: Add a warning against
	using g_quark_from_static_string() in dynamically
	loaded modules.
2005-02-03 05:45:21 +00:00
Matthias Clasen
5a866843df Move doc comments inline.
2005-02-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.c: Move doc comments inline.

	* glib/ghash.h: Adjust some argument names.

	* configure.in: Give meaningful names to g_memmove()
	arguments.
2005-02-02 06:07:14 +00:00
Sebastien Bacher
987a7b011e fix a typo in my name 2005-01-17 10:25:27 +00:00
Matthias Clasen
56396d4897 Fix an example. (#164269, Sebastian Bacher)
2005-01-16  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/enumerations_flags.sgml: Fix an
	example.  (#164269, Sebastian Bacher)

2
2005-01-17 03:16:29 +00:00
Matthias Clasen
3d1e4844bb 2.6.1 2005-01-07 16:58:16 +00:00
Matthias Clasen
08900dd1d2 Add hint about group name case sensitivity. (#163029, Bastien Nocera)
2005-01-06  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/keyfile.sgml: Add hint about group name
	case sensitivity.  (#163029, Bastien Nocera)
2005-01-06 21:46:32 +00:00
Matthias Clasen
38c39a7cfd Small addition. (#145158, Mariano Suárez-Alvarez)
2005-01-04  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Small addition. (#145158,
	Mariano Suárez-Alvarez)
2005-01-04 18:40:02 +00:00
J. Ali Harlow
572e8b2756 Don't use AC_TRY_RUN to test for long long format when using the
2005-01-01  J. Ali Harlow  <ali@juiblex.co.uk>

	* configure.in: Don't use AC_TRY_RUN to test for long long format
	when using the MSVCRT.DLL runtime since we know the answer anyway
	and it causes some mild inconvience when cross compiling.

	* README.win32: Add a reference to the cross compiling section
	of the reference manual.

	* docs/reference/glib/cross.sgml: MinGW uses MSVCRT.DLL which
	requires %I64i instead of %lli. (#161306)
2005-01-03 00:20:47 +00:00
Matthias Clasen
5d679e08e7 Fix a typo. (#161713, Vincent Untz)
2004-12-20  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Fix a typo.  (#161713,
	Vincent Untz)
2004-12-20 14:20:25 +00:00
Matthias Clasen
f822229fea Clarify g_get_prgname docs. (#161480, Danny Milo)
2004-12-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/misc_utils.sgml: Clarify g_get_prgname docs.
	(#161480, Danny Milo)
2004-12-18 02:06:58 +00:00
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
Hans Breuer
425e5211ed updated
2004-11-21  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc : updated
2004-11-21 20:23:34 +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
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