Commit Graph

648 Commits

Author SHA1 Message Date
Dan Winship
90320fba4f add defines for desktop file handling. #339225, original patch from
* glib/gkeyfile.h: add defines for desktop file handling. #339225,
	original patch from Vincent Untz.

svn path=/trunk/; revision=5521
2007-05-30 14:25:34 +00:00
Matthias Clasen
07d778754a Fix a typo
svn path=/trunk/; revision=5517
2007-05-27 02:03:14 +00:00
Matthias Clasen
aa088c4072 2.13.2
svn path=/trunk/; revision=5511
2007-05-23 04:30:07 +00:00
Matthias Clasen
d21e54e61e Fix a typo (#436547, Guillaume Desmottes)
2007-05-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/tmpl/messages.sgml: Fix a typo (#436547,
        Guillaume Desmottes)


svn path=/trunk/; revision=5499
2007-05-17 17:23:15 +00:00
Matthias Clasen
a061009f52 Make g_slice_debug_tree_statistics() debug-only functionality again.
2007-05-14  Matthias Clasen  <mclasen@redhat.com>

        * glib/gslice.h:
        * glib/gslice.c:
        * glib/glib.symbols: Make g_slice_debug_tree_statistics()
        debug-only functionality again.


svn path=/trunk/; revision=5492
2007-05-15 03:32:29 +00:00
Matthias Clasen
8f88ba6ffa Allow G_OPTION_ARG_CALLBACK for G_OPTION_REMAINING. (#437297, Dave Benson)
2007-05-11  Matthias Clasen  <mclasen@redhat.com>

        * glib/goption.c: Allow G_OPTION_ARG_CALLBACK for
        G_OPTION_REMAINING.  (#437297, Dave Benson)

        * tests/option-test.c: Add a test for this.



svn path=/trunk/; revision=5487
2007-05-11 18:53:57 +00:00
Behdad Esfahbod
3ed6b66e8f svn path=/trunk/; revision=5482
2007-05-03  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in:
        * glib/glib.symbols:
        * glib/gthread.h:
        * glib/gunicode.h:
        * glib/guniprop.c (g_unichar_ismark):


svn path=/trunk/; revision=5482
2007-05-03 23:42:05 +00:00
Matthias Clasen
4d996274a3 2.13.1
svn path=/trunk/; revision=5478
2007-05-03 05:09:20 +00:00
Matthias Clasen
88651f758b Add g_regex_get_max_backref() and g_regex_get_capture_count(). (#419371,
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/gregex.[hc]: Add g_regex_get_max_backref() and
        g_regex_get_capture_count().  (#419371, Marco Barisione)


svn path=/trunk/; revision=5469
2007-04-30 16:37:38 +00:00
Matthias Clasen
a793051fda Split GRegex into GRegex and GMatchInfo. (#419368, Marco Barisione)
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/gregex.[hc]: Split GRegex into GRegex and GMatchInfo.
        (#419368, Marco Barisione)

        * tests/regex-test.c: Adapt.


svn path=/trunk/; revision=5468
2007-04-30 16:02:26 +00:00
Matthias Clasen
ba2dc0c2b2 New function to get the formatted help string. (#336089, Dom Lachowicz)
2007-04-24  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/goption.h:
        * glib/goption.c (g_option_context_get_help): New function to
        get the formatted help string.  (#336089, Dom Lachowicz)



svn path=/trunk/; revision=5456
2007-04-25 03:53:30 +00:00
Emmanuele Bassi
3b6c740849 Add new hash functions.
2007-04-11  Emmanuele Bassi  <ebassi@gnome.org>

	* glib/glib-sections.txt: Add new hash functions.

svn path=/trunk/; revision=5445
2007-04-11 13:09:55 +00:00
Ryan Lortie
e3562e543a Document ->constructed().
2007-04-02  Ryan Lortie  <desrt@desrt.ca>

        * gobject/tmpl/objects.sgml: Document ->constructed().



svn path=/trunk/; revision=5440
2007-04-03 10:44:14 +00:00
Matthias Clasen
46d22e511a Cleanups
svn path=/trunk/; revision=5428
2007-03-19 03:47:05 +00:00
Matthias Clasen
1cb4af3e96 2.13.0
svn path=/trunk/; revision=5419
2007-03-16 22:11:15 +00:00
Tim Janik
44d5b8af2a some fixups, mention that changing scanner config during the parsing phase
Fri Mar 16 16:04:42 2007  Tim Janik  <timj@gtk.org>

        * glib/tmpl/scanner.sgml: some fixups, mention that changing scanner 
        config during the parsing phase is supported behavior.



svn path=/trunk/; revision=5416
2007-03-16 15:02:14 +00:00
Marco Barisione
0196d63975 Add GRegex for regular expression matching. (#50075)
2007-03-15  Marco Barisione <marco@barisione.org>

	Add GRegex for regular expression matching.  (#50075)

	* configure.in: Handle GRegex compilation.

	* glib/gregex.c:
	* glib/gregex.h: Code for GRegex.

	* glib/Makefile.am:
	* glib/makefile.msc.in: Updated makefiles.

	* glib/pcre/*: Internal copy of PCRE.

	* glib/update-pcre/*: Stuff to automatically update the internal PCRE
	to a newer version.

	* tests/regex-test.c:
	* tests/Makefile.am:
	* tests/makefile.msc.in: Add tests for GRegex.

svn path=/trunk/; revision=5408
2007-03-15 13:01:31 +00:00
Stefan Kost
676506cf2d Readd docs for G_PARAM_STATIC_NICK and add docs for new
* gobject/tmpl/gparamspec.sgml:
Readd docs for G_PARAM_STATIC_NICK and add docs for new
G_PARAM_STATIC_STRINGS (fixes #418021).

svn path=/trunk/; revision=5403
2007-03-14 19:09:49 +00:00
Matthias Clasen
cbaaa4006e Document errorchecking mutexes
svn path=/trunk/; revision=5381
2007-03-06 19:44:19 +00:00
Matthias Clasen
ff5419ec40 Fix a typo in the docs for g_node_first_child(). (#409395, Vincent Untz)
2007-03-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/tmpl/trees-nary.sgml: Fix a typo in the docs for
        g_node_first_child().  (#409395, Vincent Untz)



svn path=/trunk/; revision=5380
2007-03-06 19:29:54 +00:00
Stefan Kost
8ec7d6ca3f Format XML to be more editable. Describe Interfaces better. Add a footnote
* gobject/tut_gobject.xml:
* gobject/tut_gsignal.xml:
* gobject/tut_gtype.xml:
* gobject/tut_howto.xml:
* gobject/tut_intro.xml:
* gobject/tut_tools.xml:
Format XML to be more editable. Describe Interfaces better. Add a
footnote at first occurance of 'maman_'.

svn path=/trunk/; revision=5334
2007-02-10 22:08:42 +00:00
Stefan Kost
b8fcf708d0 Unify spelling of GObject and GType. Improve some wording. Update the
* gobject/tut_gobject.xml:
* gobject/tut_gsignal.xml:
* gobject/tut_gtype.xml:
* gobject/tut_howto.xml:
* gobject/tut_tools.xml:
Unify spelling of GObject and GType. Improve some wording. Update the
usage of private data. Make tables use row-spans and add id's to them.

svn path=/trunk/; revision=5327
2007-02-07 22:15:34 +00:00
Matthias Clasen
20a05714cc Fix a typo
svn path=/trunk/; revision=5319
2007-01-30 18:56:09 +00:00
Matthias Clasen
df3dd538e5 Define G_GNUC_INTERNAL for Sun Studio as __hidden. (#342981, Brian
2007-01-26  Matthias Clasen <mclasen@redhat.com>

        * configure.in: Define G_GNUC_INTERNAL for Sun Studio
        as __hidden.  (#342981, Brian Cameron)

        * glib/gconvert.c:
        * glib/gutf8.c: Move G_GNUC_INTERNAL uses to the right
        spot.

2

svn path=/trunk/; revision=5317
2007-01-27 03:34:48 +00:00
Matthias Clasen
62534876c5 Updates
svn path=/trunk/; revision=5310
2007-01-24 04:13:33 +00:00
Behdad Esfahbod
4651177384 Put back G_GNUC_HAVE_VISIBILITY doc that was removed accidentally.
2007-01-17  Behdad Esfahbod  <behdad@gnome.org>

        * glib/tmpl/macros_misc.sgml: Put back G_GNUC_HAVE_VISIBILITY
        doc that was removed accidentally.


svn path=/trunk/; revision=5289
2007-01-17 17:38:22 +00:00
Matthias Clasen
daeff90d19 Additions
svn path=/trunk/; revision=5261
2007-01-15 03:05:27 +00:00
Matthias Clasen
38b9221961 Rework the handling of invalid keys/groups again. We are back to being
2007-01-12  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Rework the handling of invalid
        keys/groups again. We are back to being liberal about
        what we accept, and only reject things that would lead
        to non-rereadable keyfiles.

        * tests/keyfile-test.c: Adapt tests.



svn path=/trunk/; revision=5254
2007-01-12 20:25:57 +00:00
Behdad Esfahbod
a0c60a62d6 Add g_unichar_iszerowidth(). (#347645)
2007-01-03  Behdad Esfahbod  <behdad@gnome.org>

        * glib/glib.symbols:
        * glib/gunicode.h:
        * glib/guniprop.c: Add g_unichar_iszerowidth(). (#347645)


svn path=/trunk/; revision=5202
2007-01-03 20:48:24 +00:00
Matthias Clasen
db9c08d08b Guard g_slice_debug_tree_statistics by G_ENABLE_DEBUG. (#390940, Kazuki
2007-01-02  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols: Guard g_slice_debug_tree_statistics
        by G_ENABLE_DEBUG.  (#390940, Kazuki Iwamoto)



svn path=/trunk/; revision=5190
2007-01-02 13:09:03 +00:00
Matthias Clasen
470152f268 Fix whitespace
svn path=/trunk/; revision=5184
2006-12-31 16:33:32 +00:00
Matthias Clasen
d7b7c44e40 Define G_DEFINE_DYNAMIC_TYPE and and _EXTENDED variant. (#334437)
2006-12-29 Matthias Clasen  <mclasen@redhat.com>

        * gtypemodule.h: Define G_DEFINE_DYNAMIC_TYPE and
        and _EXTENDED variant.  (#334437)
2006-12-29 06:12:11 +00:00
Matthias Clasen
b1e4310d6f Clarify a detail about g_object_set_data_full. (#343750, Christian
2006-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gobject/tmpl/objects.sgml: Clarify a detail about
        g_object_set_data_full.  (#343750, Christian Neumair)
2006-12-29 05:10:50 +00:00
Tim Janik
636dae32c3 document G_SLICE=debug-blocks.
Wed Dec 27 15:56:53 2006  Tim Janik  <timj@gtk.org>

        * glib/tmpl/memory_slices.sgml:
        * glib/running.sgml: document G_SLICE=debug-blocks.
2006-12-28 11:50:00 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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