Commit Graph

705 Commits

Author SHA1 Message Date
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