Commit Graph

841 Commits

Author SHA1 Message Date
Matthias Clasen
5b918f8ddc Update the example to demonstrate error handling. (#497033, Matti Katila)
2007-11-18  Matthias Clasen <mclasen@redhat.com>

        * glib/tmpl/option.sgml: Update the example to demonstrate
        error handling.  (#497033, Matti Katila)



svn path=/trunk/; revision=5865
2007-11-19 03:50:16 +00:00
Ryan Lortie
1e2c77ecbc new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the parser to prepend
006-11-15  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/glib/tmpl/markup.sgml:
        * glib/gmarkup.h:
        * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
        parser to prepend location information (ie: "Error on line %d, char
        %d:") to errors generated by the GMarkupParser callbacks.

        Closes #496046.

svn path=/trunk/; revision=5860
2007-11-16 03:36:51 +00:00
Ryan Lortie
f2a5aa6700 new functions g_prefix_error and g_propagate_prefixed_error.
2006-11-15  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/glib/glib-sections.txt:
        * glib/glib.symbols:
        * glib/gerror.h:
        * glib/gerror.c: new functions g_prefix_error and
        g_propagate_prefixed_error.


svn path=/trunk/; revision=5859
2007-11-16 03:05:45 +00:00
Cody Russell
515f42c9ed Documentation fixes. Recommend macro type names such as
2007-11-13  Cody Russell  <bratsche@gnome.org>

        * docs/reference/gobject/gobject-docs.sgml:
        * docs/reference/gobject/tut_gsignal.xml:
        * docs/reference/gobject/tut_gtype.xml:
        * docs/reference/gobject/tut_intro.xml:
        * docs/reference/gobject/tut_tools.xml:
        * docs/reference/gobject/tut_howto.xml:
        * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
        Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
        NAUTILUS_WINDOW_TYPE).  Fixed text which erroneously stated that 
        superclass initializers don't run when an object is 
        instantiated.  Fixed numerous spelling mistakes.  Minor grammar 
        edits. (#490637, Adam Dingle)


svn path=/trunk/; revision=5857
2007-11-13 07:10:42 +00:00
Matthias Clasen
1d174f072b Add a warning about strlen vs g_utf8_strlen. (#455725, Michael Rasmussen)
2007-11-09  Matthias Clasen <mclasen@redhat.com>

        * glib/tmpl/patterns.sgml: Add a warning about strlen vs
        g_utf8_strlen.  (#455725, Michael Rasmussen)



svn path=/trunk/; revision=5855
2007-11-10 02:09:08 +00:00
Matthias Clasen
a3c92d9305 Add a footnote explain leap years
svn path=/trunk/; revision=5854
2007-11-10 01:56:13 +00:00
Matthias Clasen
0a967d39e7 Improve g_date_clamp docs. (#491970, Areg Beketovski)
2007-11-09  Matthias Clasen <mclasen@redhat.com>

        * glib/tmpl/date.sgml: Improve g_date_clamp docs.  (#491970,
        Areg Beketovski)


svn path=/trunk/; revision=5849
2007-11-10 00:16:23 +00:00
Matthias Clasen
dd9cdb33aa Some cleanupos
svn path=/trunk/; revision=5844
2007-11-09 03:59:00 +00:00
Matthias Clasen
c8fe40d439 Fixes and cleanups
svn path=/trunk/; revision=5843
2007-11-09 03:47:33 +00:00
Matthias Clasen
43a6a226b2 Fix a mistake in the docs
svn path=/trunk/; revision=5839
2007-11-09 03:25:50 +00:00
Matthias Clasen
f1675bbcc7 Fixes and corrections
svn path=/trunk/; revision=5838
2007-11-09 03:21:27 +00:00
Matthias Clasen
6fec255f17 Doc fixes
svn path=/trunk/; revision=5837
2007-11-09 03:05:21 +00:00
Matthias Clasen
589bd2f463 New function, to get the stack of open elements. (#452887, Ryan Lortie)
2007-11-07  Matthias Clasen <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
        New function, to get the stack of open elements.  (#452887,
        Ryan Lortie)


svn path=/trunk/; revision=5816
2007-11-08 03:28:09 +00:00
Matthias Clasen
1af98f9196 Fix a typo
svn path=/trunk/; revision=5813
2007-11-08 02:48:35 +00:00
Matthias Clasen
1c6dffc356 2.14.3
svn path=/trunk/; revision=5802
2007-11-07 05:42:02 +00:00
Mathias Hasselmann
9b79a12192 Use correct naming conventions when explaining maman_bar_get_type().
* docs/reference/gobject/tut_gtype.xml: Use correct naming conventions
when explaining maman_bar_get_type(). (#493688) Mention G_DEFINE_TYPE.

svn path=/trunk/; revision=5799
2007-11-05 16:21:36 +00:00
Matthias Clasen
10d275d751 Small doc update
svn path=/trunk/; revision=5788
2007-10-17 03:32:16 +00:00
Matthias Clasen
83684e4b03 2.14.2
svn path=/trunk/; revision=5786
2007-10-16 06:33:50 +00:00
Matthias Clasen
c1a9780043 Improve g_value_set_object docs
svn path=/trunk/; revision=5784
2007-10-16 05:35:23 +00:00
Behdad Esfahbod
fda8f9e5cf Fix gettext URL. (#478349, kraai ftbfs.org)
2007-09-19  Behdad Esfahbod  <behdad@gnome.org>

        * glib/building.sgml: Fix gettext URL. (#478349, kraai ftbfs.org)


svn path=/trunk/; revision=5775
2007-09-19 20:17:05 +00:00
Matthias Clasen
ae35ce1aa6 2.14.1
svn path=/trunk/; revision=5770
2007-09-16 19:49:44 +00:00
Matthias Clasen
669ed90b87 Remove trio reference
svn path=/trunk/; revision=5768
2007-09-16 18:04:19 +00:00
Matthias Clasen
40647e0ffc Updates
svn path=/trunk/; revision=5767
2007-09-16 18:03:57 +00:00
Matthias Clasen
30e729d9b2 Updates
svn path=/trunk/; revision=5765
2007-09-16 16:43:58 +00:00
Matthias Clasen
dd5ef3f9f8 Add an example
svn path=/trunk/; revision=5747
2007-09-11 04:04:51 +00:00
Behdad Esfahbod
78b57664f5 Improve G_BREAKPOINT docs. (#474899)
2007-09-09  Behdad Esfahbod  <behdad@gnome.org>

        * glib/tmpl/warnings.sgml: Improve G_BREAKPOINT docs. (#474899)


svn path=/trunk/; revision=5741
2007-09-09 20:06:04 +00:00
Tim Janik
b3e7ac276e clarified alignment expectations for g_slice_alloc().
Tue Aug 28 19:04:12 2007  Tim Janik  <timj@gtk.org>                                                                                                           
                                                                                                                                                              
        * glib/tmpl/memory_slices.sgml: clarified alignment                                                                                                   
        expectations for g_slice_alloc().                                                                                                                     
                                                                                                                                                              


svn path=/trunk/; revision=5724
2007-08-28 17:05:13 +00:00
Behdad Esfahbod
9d6ace02aa Document that GUnicodeScript is interchangeable with PangoScript.
2007-08-20  Behdad Esfahbod  <behdad@gnome.org>

        * glib/tmpl/unicode.sgml: Document that GUnicodeScript is
        interchangeable with PangoScript.

2007-08-20  Behdad Esfahbod  <behdad@gnome.org>

        * glib/guniprop.c: Document that g_unichar_get_script() is
        equivalent to pango_script_for_unichar().


svn path=/trunk/; revision=5713
2007-08-21 02:51:11 +00:00
Behdad Esfahbod
bf04380d3c Fix typos
svn path=/trunk/; revision=5712
2007-08-20 23:34:35 +00:00
Mikael Hallendal
1fdd81374a Clearify that only comments can precede groups in Key-files. (#466768)
2007-08-15  Mikael Hallendal  <micke@imendio.com>

	* glib/tmpl/keyfile.sgml: Clearify that only comments can precede
	groups in Key-files. (#466768)


svn path=/trunk/; revision=5706
2007-08-15 19:49:07 +00:00
Tristan Van Berkom
24e24fed8b fixed a typo in docs.
svn path=/trunk/; revision=5682
2007-08-08 18:02:57 +00:00
Matthias Clasen
0b434a3cbd 2.14.0
svn path=/trunk/; revision=5674
2007-08-04 03:03:02 +00:00
Matthias Clasen
bda8d80b6d Documentation cleanups
svn path=/trunk/; revision=5652
2007-07-22 04:14:54 +00:00
Matthias Clasen
59207d2798 Some improvements
svn path=/trunk/; revision=5650
2007-07-22 00:22:01 +00:00
Matthias Clasen
1ceabbb305 Doc updates
svn path=/trunk/; revision=5648
2007-07-20 19:11:17 +00:00
Behdad Esfahbod
613b489b6b Make g_unichar_combining_class() public. (#453998)
2007-07-19  Behdad Esfahbod  <behdad@gnome.org>

        * glib/glib.symbols:
        * glib/gunicode.h:
        * glib/gunicodeprivate.h:
        * glib/gunidecomp.c (g_unichar_combining_class):
        * glib/guniprop.c (has_more_above):
        Make g_unichar_combining_class() public. (#453998)


svn path=/trunk/; revision=5644
2007-07-19 13:46:05 +00:00
Matthias Clasen
b09c2ff4cd 2.13.7
svn path=/trunk/; revision=5634
2007-07-12 17:53:42 +00:00
Tim Janik
39248d5123 fixed g_type_name() docs to forbid passing in invalid type IDs.
Thu Jul 12 18:28:47 2007  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gtype.sgml: fixed g_type_name() docs to forbid passing in
        invalid type IDs.



svn path=/trunk/; revision=5632
2007-07-12 16:29:21 +00:00
Tim Janik
64acb31862 document major caveat of g_private_set/g_private_get, i.e. not retaining
Thu Jul 12 15:45:27 2007  Tim Janik  <timj@imendio.com>

        * glib/tmpl/threads.sgml: document major caveat of g_private_set/g_private_get,
        i.e. not retaining private data across g_thread_init.



svn path=/trunk/; revision=5628
2007-07-12 13:46:22 +00:00
Tim Janik
f78096e361 corrected descriptions of gsize and gssize.
Tue Jul 10 13:11:55 2007  Tim Janik  <timj@imendio.com>

        * glib/tmpl/types.sgml: corrected descriptions of gsize and gssize.



svn path=/trunk/; revision=5621
2007-07-10 11:12:28 +00:00
Tim Janik
c58a67cbe7 minor docu build fixes.
Tue Jul 10 13:04:03 2007  Tim Janik  <timj@imendio.com>                                                                                                       
                                                                                                                                                              
        * minor docu build fixes.                                                                                                                             
                                                                                                                                                              


svn path=/trunk/; revision=5620
2007-07-10 11:04:24 +00:00
Tim Janik
0162bbdfce fixed typos spotted by Richard Hult
svn path=/trunk/; revision=5619
2007-07-10 10:49:00 +00:00
Tim Janik
1132766280 document g_once_init_enter and g_once_init_leave.
Tue Jul 10 12:31:04 2007  Tim Janik  <timj@imendio.com>

        * glib/tmpl/threads.sgml: document g_once_init_enter and g_once_init_leave.



svn path=/trunk/; revision=5617
2007-07-10 10:31:31 +00:00
Matthias Clasen
aff06ab1d1 Remove duplicate paragraph. (#45786, Ruben Vermeersch)
2007-07-09  Matthias Clasen <mclasen@redhat.com>

        * tmpl/modules.sgml: Remove duplicate paragraph.
        (#45786, Ruben Vermeersch)

        * tmpl/modules.sgml: Remove duplicate code from
        an example. (#454785, Ruben Vermeersch)


svn path=/trunk/; revision=5612
2007-07-09 17:54:38 +00:00
Tim Janik
3a132f5dd5 GClosure docu fixes from Guillaume Cottenceau, #383155.
Mon Jul  9 10:23:53 2007  Tim Janik  <timj@imendio.com>                                                                                                       
                                                                                                                                                              
        * gobject/tmpl/gclosure.sgml: GClosure docu fixes from Guillaume                                                                                      
        Cottenceau, #383155.                                                                                                                                  
                                                                                                                                                              


svn path=/trunk/; revision=5610
2007-07-09 08:25:14 +00:00
Matthias Clasen
c4a98c9265 2.13.6
svn path=/trunk/; revision=5591
2007-06-29 17:50:00 +00:00
Tim Janik
90a9f513c3 typo fix, #451459.
Wed Jun 27 11:43:01 2007  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gtype.sgml (initializers): typo fix, #451459.



svn path=/trunk/; revision=5588
2007-06-27 09:43:53 +00:00
Emmanuele Bassi
ce0ad84a78 Add a clarification about pairing the memory allocation and free
2007-06-23  Emmanuele Bassi  <ebassi@gnome.org>

	* glib/tmpl/memory.sgml: Add a clarification about pairing the
	memory allocation and free functions, and not mix system's
	malloc/free with the corresponding GLib ones. (#450216, Hubert
	Figuiere)

svn path=/trunk/; revision=5586
2007-06-23 21:18:05 +00:00
Matthias Clasen
fc0a52ca3a 2.13.5
svn path=/trunk/; revision=5577
2007-06-18 17:31:49 +00:00
Emmanuele Bassi
00ab83b8e8 Add full variant to the approximate timeout functiont
The g_timeout_add_seconds() API lacks a _full() counterpart, allowing the
setting of a destroy notification function to be invoked when the timeout
source is removed.

This patch adds g_timeout_add_seconds_full() to the public API and
reimplements g_timeout_add_seconds() as a call to g_timeout_add_seconds_full().

svn path=/trunk/; revision=5575
2007-06-18 16:55:50 +00:00