Commit Graph

602 Commits

Author SHA1 Message Date
Matthias Clasen
53e58aafb7 Some additions
svn path=/trunk/; revision=5963
2007-11-28 03:19:32 +00:00
Matthias Clasen
32adcf540b More of the same
svn path=/trunk/; revision=5961
2007-11-27 19:11:39 +00:00
Matthias Clasen
b6bc5a6106 Update for api changes
svn path=/trunk/; revision=5960
2007-11-27 19:07:27 +00:00
Alexander Larsson
3781343738 gio/ docs/reference/gio Merged gio-standalone into glib.
2007-11-26  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * configure.in:
        * gio-2.0-uninstalled.pc.in:
        * gio-2.0.pc.in: 
        * gio-unix-2.0-uninstalled.pc.in:
        * gio-unix-2.0.pc.in:
	* gio/
	* docs/reference/gio
	Merged gio-standalone into glib.
	
        * glib/glibintl.h:
        * glib/gutils.c:
	Export glib_gettext so that gio can use it
	Add P_ (using same domain for now)
	Add I_ as g_intern_static_string


svn path=/trunk/; revision=5941
2007-11-26 16:13:05 +00:00
Matthias Clasen
a1ac3c0e23 Define a two-argument macro C_() for marking translatable strings with
2007-11-23  Matthias Clasen  <mclasen@redhat.com>

        * glib/gi18n-lib.h:
        * glib/gi18n.h: Define a two-argument macro C_() for marking
        translatable strings with context and implement C_() and Q_()
        using g_dpgettext().  (#142676, Morten Welinder)

        * glib/glib.symbols:
        * glib/gstrfuncs.[hc]: Implement g_dpgettext().


svn path=/trunk/; revision=5917
2007-11-23 07:50:54 +00:00
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
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
c8fe40d439 Fixes and cleanups
svn path=/trunk/; revision=5843
2007-11-09 03:47:33 +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
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
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
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
Behdad Esfahbod
f50d64c6ad Accept NULL and return GQuark value of zero. (#446859)
2007-06-17  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gdataset.c (g_quark_from_string),
        (g_quark_from_static_string): Accept NULL and return GQuark
        value of zero. (#446859)


svn path=/trunk/; revision=5572
2007-06-17 07:43:34 +00:00
Emmanuele Bassi
fe20105fb4 Document the undefined behaviour of CLAMP() if low > high. (#448260)
2007-06-16  Emmanuele Bassi  <ebassi@gnome.org>

        * glib/tmpl/macros.sgml: Document the undefined behaviour of
        CLAMP() if low > high. (#448260)


svn path=/trunk/; revision=5571
2007-06-16 19:05:19 +00:00
Sven Neumann
ecab745847 glib/glib-sections.txt document g_slice_copy() and g_slice_dup().
2007-06-13  Sven Neumann  <sven@gimp.org>

	* glib/glib-sections.txt
	* glib/tmpl/memory_slices.sgml: document g_slice_copy() and
	g_slice_dup().


svn path=/trunk/; revision=5555
2007-06-13 18:58:49 +00:00
Matthias Clasen
94327cb6a7 Add some docs
svn path=/trunk/; revision=5553
2007-06-13 16:26:59 +00:00