Commit Graph

1166 Commits

Author SHA1 Message Date
Ross Burton
b207146976 Put my changelog entries in the right changelog, whoops
svn path=/trunk/; revision=7047
2008-06-16 09:31:20 +00:00
Ross Burton
3480685d4e Bug 536252 – GFileEnumerator should allow access to the containing GFile
2008-06-16  Ross Burton  <ross@burtonini.com>

	Bug 536252 – GFileEnumerator should allow access to the containing
	GFile
	
	* gio/gfileenumerator.c:
	* gio/gfileenumerator.h:
	* gio/gfile.h:
	Add g_file_enumerator_get_container() and a container writeable
	construct-only property.  Also shuffle around typedefs to make it
	compile.
	
	* gio/glocalfileenumerator.c:
	* gio/glocalfileenumerator.h:
	* gio/glocalfile.c:
	Instead of a string filename take a GFile in the constructor and
	use it to set the container property.
	
	* gio/gio.symbols:
	* docs/reference/gio/gio-sections.txt:
	Update with new API.

svn path=/trunk/; revision=7044
2008-06-16 08:49:08 +00:00
Matthias Clasen
666185a4fd Additions
svn path=/trunk/; revision=7042
2008-06-15 01:50:24 +00:00
Matthias Clasen
b0c9ea5ca3 Move docs around
svn path=/trunk/; revision=7041
2008-06-15 00:49:30 +00:00
Matthias Clasen
9c50a730e7 Document break types
svn path=/trunk/; revision=7040
2008-06-15 00:20:03 +00:00
Matthias Clasen
113f3d318a Add docs
svn path=/trunk/; revision=7039
2008-06-15 00:04:59 +00:00
Matthias Clasen
135bb794fd 2.17.2
svn path=/trunk/; revision=7032
2008-06-12 18:37:44 +00:00
Matthias Clasen
6427d30d1f 2.17.1
svn path=/trunk/; revision=7029
2008-06-12 17:21:49 +00:00
Matthias Clasen
8f77d0cbd1 additions
svn path=/trunk/; revision=7028
2008-06-12 15:47:26 +00:00
Matthias Clasen
c304ebc0de Remove mention of G_WIN32_PRETEND_WIN9X
svn path=/trunk/; revision=7027
2008-06-12 12:59:28 +00:00
Ross Burton
98e1e4afdd Add g_file_make_directory_with_parents.
2008-06-12  Ross Burton  <ross@burtonini.com>

	* gio/gio-sections.txt:
	Add g_file_make_directory_with_parents.

svn path=/trunk/; revision=7026
2008-06-12 10:51:34 +00:00
Matthias Clasen
ca72690041 Testing documentation fixups
svn path=/trunk/; revision=7025
2008-06-12 06:20:04 +00:00
Matthias Clasen
273f7036f1 Remove an erroneous @returns
svn path=/trunk/; revision=7022
2008-06-12 03:25:56 +00:00
Behdad Esfahbod
e0916c3f54 Bug 503071 – Application direction changes to right to left even if
2008-06-11  Behdad Esfahbod  <behdad@gnome.org>

        Bug 503071 – Application direction changes to right to left even if
        theres no translation

        * glib/gi18n-lib.h:
        * glib/glib.symbols:
        * glib/gstrfuncs.h:
        * glib/gstrfuncs.c:
        Add new functions g_dgettext() and g_dngettext().

        * glib/gutils.c (glib_gettext):
        * glib/gfileutils.c (g_format_size_for_display):
        * glib/goption.c (dgettext_swapped):
        Use the new functions.


svn path=/trunk/; revision=7020
2008-06-11 23:37:49 +00:00
Matthias Clasen
3d89a7781b Add Since tag to goffset
svn path=/trunk/; revision=7012
2008-06-11 18:35:38 +00:00
Matthias Clasen
40334783bc Fix typos Noticed by Areg Beketovski
* glib/tmpl/macros_misc.sgml:
        * gobject/tmpl/gclosure.sgml:
        * gobject/tmpl/gtype.sgml: Fix typos
        Noticed by Areg Beketovski


svn path=/trunk/; revision=7011
2008-06-11 18:25:44 +00:00
Matthias Clasen
f9f98f1c8b Fix a typo
svn path=/trunk/; revision=7009
2008-06-11 17:56:49 +00:00
Matthias Clasen
777df550ab more doc fixage
svn path=/trunk/; revision=7008
2008-06-11 17:47:53 +00:00
Matthias Clasen
5b12bf33a4 Improve docs
svn path=/trunk/; revision=7007
2008-06-11 17:03:11 +00:00
Matthias Clasen
74820f48db Improve docs
svn path=/trunk/; revision=7006
2008-06-11 17:00:57 +00:00
Matthias Clasen
7372ce2981 Doc improvements
svn path=/trunk/; revision=7005
2008-06-11 16:35:53 +00:00
Matthias Clasen
107d1d330d fix some docs
svn path=/trunk/; revision=7004
2008-06-11 16:27:22 +00:00
Matthias Clasen
bd216ba3c8 Bug 528717 – Misprint in the description of the parameter
'type_id' for the interface g_type_register_fundamental

        * gobject/tmpl/gtype.sgml: Remove references to GTypeFundamentals
        Pointed out by Areg Beketovski


svn path=/trunk/; revision=7000
2008-06-11 15:01:11 +00:00
Matthias Clasen
90f1812309 Fix docs
svn path=/trunk/; revision=6999
2008-06-11 14:58:42 +00:00
Matthias Clasen
e0072d4441 Additions
svn path=/trunk/; revision=6994
2008-06-10 17:54:24 +00:00
Matthias Clasen
0f370f9a04 Add g_themed_icon_prepend_name
svn path=/trunk/; revision=6991
2008-06-10 16:45:54 +00:00
14:06:34 Tim Janik
a52a14e4a9 fixed documentation regarding type checking macros that do and do not
2008-06-10 14:06:34  Tim Janik  <timj@imendio.com>

        * gobject/tmpl/gtype.sgml: fixed documentation regarding type checking
        macros that do and do not issue warnings.


svn path=/trunk/; revision=6986
2008-06-10 12:07:18 +00:00
Matthias Clasen
3d65ed3d54 Add indexes
svn path=/trunk/; revision=6959
2008-05-29 03:49:48 +00:00
Matthias Clasen
e14f918de9 2.17.0
svn path=/trunk/; revision=6948
2008-05-27 21:22:45 +00:00
Matthias Clasen
8aa6abbd6c Additions
svn path=/trunk/; revision=6945
2008-05-27 16:46:43 +00:00
Matthias Clasen
689a9e4b1a Revert the patch for bug 527214 and related changes. GTimer
is supposed to work without threads.


svn path=/trunk/; revision=6943
2008-05-27 16:00:51 +00:00
Michael Natterer
ab81018b52 Forgot ChangeLog
svn path=/trunk/; revision=6942
2008-05-27 14:53:43 +00:00
Michael Natterer
1ab3525c93 glib/tmpl/gurifuncs.sgml new files.
2008-05-27  Michael Natterer  <mitch@gimp.org>

	* glib/tmpl/gurifuncs.sgml
	* glib/tmpl/testing.sgml: new files.

	* glib/tmpl/unicode.sgml
	* glib/tmpl/macros_misc.sgml
	* glib/tmpl/checksum.sgml: regenerated.

	* Updated lots of svn:ignore all over the place.


svn path=/trunk/; revision=6941
2008-05-27 14:51:16 +00:00
Matthias Clasen
8b08deaaf5 Bug 535021 – g_param_spec_internal documentation should
describe purpose of nick and blurb

        * gobject/tmpl/gparamspec.sgml: Explain nicks and blurbs
        some more.

svn path=/trunk/; revision=6940
2008-05-27 14:18:14 +00:00
Matthias Clasen
c1d7063c06 Doc improvements
svn path=/trunk/; revision=6933
2008-05-26 04:51:41 +00:00
Matthias Clasen
b68e507b6a Add g_checksum_reset
svn path=/trunk/; revision=6932
2008-05-26 04:48:24 +00:00
Matthias Clasen
9f64fa6fe9 Fix docs for g_cclosure_marshal_STRING__OBJECT_POINTER. (#534177, Areg
2008-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gobject/tmpl/gclosure.sgml: Fix docs for
        g_cclosure_marshal_STRING__OBJECT_POINTER. (#534177, Areg Beketovski)

svn path=/trunk/; revision=6929
2008-05-25 19:53:47 +00:00
Matthias Clasen
4b06cf6ce9 Bug 527214 – g_timer_elapsed() returns random values.
* glib/gtimer.c (g_timer_new()):
        Print warning if g_thread_init() has not been called yet.
        Patch by Mathias Hasselmann


svn path=/trunk/; revision=6907
2008-05-18 19:15:32 +00:00
Matthias Clasen
4f21fe18cb New function to create a content type from a mime type. (#527175, Milan
2008-05-17  Matthias Clasen  <mclasen@redhat.com>

        * gcontenttype.h:
        * gcontenttype.c: (g_content_type_from_mime_type):
        New function to create a content type from a mime type. (#527175,
        Milan Crha)


svn path=/trunk/; revision=6906
2008-05-18 02:50:48 +00:00
Matthias Clasen
537075e94c Bug 528648 – Extra >s in Object Construction section...
* gobject/tut_howto.xml: Fix a formatting glitch


svn path=/trunk/; revision=6900
2008-05-17 05:56:29 +00:00
Tor Lillqvist
9480455b94 Don't mention fork()/exec() in the short description. fork()/exec() is an
2008-05-14  Tor Lillqvist  <tml@novell.com>

	* glib/tmpl/spawn.sgml: Don't mention fork()/exec() in the short
	description. fork()/exec() is an implementation detail on Unix.


svn path=/trunk/; revision=6891
2008-05-14 14:19:59 +00:00
Matthias Clasen
db1594e164 Bug 491554 – Update to Unicode 5.1.0
* glib/gunichartables.h:
        * glib/gunicode.h:
        * glib/gunibreak.h:
        * glib/gmirroringtable.h:
        * glib/gscripttable.h:
        * glib/gen-script-table.pl: Update to Unicode 5.1.0. Patch by
        Behdad Esfahbod


svn path=/trunk/; revision=6834
2008-04-08 02:59:05 +00:00
Matthias Clasen
43964b2fc1 Add missing *.
* gobject/tut_howto.xml: Add missing *.

svn path=/trunk/; revision=6829
2008-04-08 01:54:28 +00:00
Matthias Clasen
524bb816e0 Add credits
svn path=/trunk/; revision=6813
2008-04-03 04:18:08 +00:00
Matthias Clasen
587b5986da Correct an example
svn path=/trunk/; revision=6812
2008-04-03 04:17:19 +00:00
Matthias Clasen
a07b747200 Add g_file_query_file_type convenience function to query the type of a
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * gio.symbols:
        * gfile.c:
        * gfile.h: Add g_file_query_file_type convenience function
        to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)



svn path=/trunk/; revision=6784
2008-03-31 04:46:22 +00:00
Matthias Clasen
2af49e60a1 Add macros wrapping the gcc alloc_size function attribute. (#523019,
2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmacros.h: Add macros wrapping the gcc alloc_size
        function attribute.  (#523019, Rodrigo Moya)

        * glib/gmem.h:
        * glib/gslice.h:
        * glib/gstrfuncs.h: Use the new attribute where appropriate.



svn path=/trunk/; revision=6781
2008-03-31 04:17:22 +00:00
A. Walton
096201834d Adds GIO_EXTRA_MODULES environment variable support, closing bug #523039.
2008-03-28  A. Walton  <awalton@svn.gnome.org>

	* giomodule.c (_g_io_modules_ensure_loaded):
	Adds GIO_EXTRA_MODULES environment variable support, closing bug 
	#523039.


svn path=/trunk/; revision=6768
2008-03-28 14:31:09 +00:00
Matthias Clasen
663d15d1a6 Document GVFS_DISABLE_FUSE
svn path=/trunk/; revision=6739
2008-03-19 20:36:56 +00:00
Matthias Clasen
2e0bab6bfd Make up an ending for this sentence.
svn path=/trunk/; revision=6714
2008-03-15 00:40:47 +00:00
Benjamin Otte
4f72f3a471 g_file_contains_file() doesn't exist anymore
2008-03-12  Benjamin Otte  <otte@gnome.org>

	* gio/gio-sections.txt:
	g_file_contains_file() doesn't exist anymore


svn path=/trunk/; revision=6696
2008-03-12 16:47:06 +00:00
Matthias Clasen
7cff233d6e 2.16.1
svn path=/trunk/; revision=6671
2008-03-11 02:18:18 +00:00
Matthias Clasen
e2a4ed3287 2.16.0
svn path=/trunk/; revision=6661
2008-03-10 18:09:06 +00:00
Matthias Clasen
ff4685caa0 Remove inlined docs
svn path=/trunk/; revision=6656
2008-03-10 16:47:58 +00:00
Matthias Clasen
1e781bc080 Add Since marker
svn path=/trunk/; revision=6651
2008-03-10 15:07:21 +00:00
Matthias Clasen
36de18e662 2.15.6
svn path=/trunk/; revision=6593
2008-02-25 19:32:42 +00:00
Matthias Clasen
5eec5db7b5 Updates
svn path=/trunk/; revision=6559
2008-02-23 05:04:13 +00:00
Tor Lillqvist
b60f5cf11b glib/gutf8.c (g_get_charset) glib/gconvert.c (g_locale_from_utf8) Clarify
2008-02-21  Tor Lillqvist  <tml@novell.com>
	
	* glib/gutf8.c (g_get_charset)
	* glib/gconvert.c (g_locale_from_utf8)
	* docs/reference/glib/running.sgml: Clarify character set
	issues on Windows.


svn path=/trunk/; revision=6551
2008-02-21 13:07:49 +00:00
Sven Neumann
becae8108c moved ChangeLog entries to their proper location in docs/reference
svn path=/trunk/; revision=6537
2008-02-19 13:30:26 +00:00
Ryan Lortie
8cb3db68f0 add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2008-02-13  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/gio/gio-sections.txt: add
        G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT

2008-02-13  Ryan Lortie  <desrt@desrt.ca>

        * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT


svn path=/trunk/; revision=6511
2008-02-13 20:27:18 +00:00
Matthias Clasen
d760d3e22d Additions
svn path=/trunk/; revision=6507
2008-02-13 02:30:14 +00:00
Matthias Clasen
69cb5eda41 2.15.5
svn path=/trunk/; revision=6503
2008-02-11 22:30:35 +00:00
Matthias Clasen
f21fdabf2a Additions
svn path=/trunk/; revision=6494
2008-02-11 07:18:56 +00:00
Philip Withnall
39edc34bb4 Improve the documentation for the G_MODULE_EXPORT macro. (#514470)
2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>

	* glib/tmpl/modules.sgml: Improve the documentation for
	the G_MODULE_EXPORT macro. (#514470)


svn path=/trunk/; revision=6488
2008-02-10 04:48:31 +00:00
Matthias Clasen
634d64c9a1 Doc improvement
svn path=/trunk/; revision=6486
2008-02-10 04:26:54 +00:00
Tim Janik
da246088a8 Fixed typo spotted by Xan.
svn path=/trunk/; revision=6479
2008-02-07 10:26:00 +00:00
Christian Persch
9ac7dbc9b4 G_GNUC_[PRETTY_]FUNCTION are deprecated since 2.16, not 2.14.
2008-01-29  Christian Persch  <chpe@gnome.org>

	* docs/reference/glib/tmpl/macros_misc.sgml: G_GNUC_[PRETTY_]FUNCTION
	are deprecated since 2.16, not 2.14.

svn path=/trunk/; revision=6419
2008-01-29 18:04:23 +00:00
Matthias Clasen
fb5ddf6ecf 2.15.4
svn path=/trunk/; revision=6402
2008-01-29 00:00:31 +00:00
Matthias Clasen
cf9b04e7df Move docs inline. (#316260, Philippe Blain)
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gnode.[hc]: Move docs inline.  (#316260, Philippe Blain)



svn path=/trunk/; revision=6392
2008-01-28 04:50:12 +00:00
Matthias Clasen
7bfc60de2e Deprecate G_GNUC_(PRETTY)_FUNCTION.
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION.



svn path=/trunk/; revision=6389
2008-01-27 23:42:33 +00:00
Matthias Clasen
c3d7de6859 More trash info
svn path=/trunk/; revision=6369
2008-01-25 04:16:48 +00:00
Matthias Clasen
32a0b4407d Simplify markup
svn path=/trunk/; revision=6367
2008-01-25 01:49:08 +00:00
Matthias Clasen
bebb750ac2 Updates
svn path=/trunk/; revision=6362
2008-01-24 05:35:33 +00:00
Matthias Clasen
04213a8f72 Additions
svn path=/trunk/; revision=6359
2008-01-23 06:24:27 +00:00
Matthias Clasen
1b8bad5973 2.15.3
svn path=/trunk/; revision=6347
2008-01-21 18:07:13 +00:00
Matthias Clasen
d16037e0e7 Documentation updates
svn path=/trunk/; revision=6336
2008-01-21 03:49:20 +00:00
Matthias Clasen
da7494c1e9 2.15.2
svn path=/trunk/; revision=6310
2008-01-14 16:43:59 +00:00
Matthias Clasen
2cc67d528e hook up testutils docs
svn path=/trunk/; revision=6296
2008-01-11 16:44:15 +00:00
Alexander Larsson
99a5be29bf Remove GDirectoryMonitor refernces
2008-01-08  Alexander Larsson  <alexl@redhat.com>

        * gio/gio-docs.xml:
        * gio/migrating.xml:
	Remove GDirectoryMonitor refernces


svn path=/trunk/; revision=6278
2008-01-08 09:11:15 +00:00
Matthias Clasen
60c8bdfe8f 2.15.1
svn path=/trunk/; revision=6267
2008-01-07 16:47:36 +00:00
Matthias Clasen
3ed44e0ce3 Updates
svn path=/trunk/; revision=6265
2008-01-07 14:09:12 +00:00
Matthias Clasen
dbc8cd84c5 Document new dependencies
svn path=/trunk/; revision=6252
2008-01-06 17:48:41 +00:00
Matthias Clasen
9569a7c002 Updates
svn path=/trunk/; revision=6248
2008-01-06 08:04:57 +00:00
Wouter Bolsterlee
124aad71b4 Fixed invalid XML entity
2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* gio/migrating.xml: Fixed invalid XML entity

svn path=/trunk/; revision=6224
2007-12-31 11:59:09 +00:00
Wouter Bolsterlee
66e7df9f7e Fixed typo
2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* glib/tmpl/macros_misc.sgml: Fixed typo

svn path=/trunk/; revision=6223
2007-12-31 11:35:35 +00:00
Matthias Clasen
265646ec64 Updates
svn path=/trunk/; revision=6214
2007-12-30 05:54:31 +00:00
Matthias Clasen
fd28036701 Add a note on restrictions of child setup functions
svn path=/trunk/; revision=6208
2007-12-29 05:18:58 +00:00
Benjamin Otte
fcf262e393 Add a warning about g_thread_init invalidating timers. (#491218)
* glib/tmpl/timers.sgml: Add a warning about g_thread_init
invalidating timers. (#491218)

svn path=/trunk/; revision=6197
2007-12-24 09:47:31 +00:00
Mathias Hasselmann
ca963dec51 Fix typo in g_try_new0 docs (#505195, Felix Riemann).
* docs/reference/glib/tmpl/memory.sgml: Reference
n_structs, instead of non-existant n_counts argument.

svn path=/trunk/; revision=6196
2007-12-24 08:14:33 +00:00
Matthias Clasen
3d4b7be047 Fix a typo
svn path=/trunk/; revision=6189
2007-12-23 02:57:57 +00:00
Matthias Clasen
48ba9ea756 2.15.0
svn path=/trunk/; revision=6180
2007-12-21 00:37:41 +00:00
Christian Persch
1ea515d019 Add g_checksum_type_get_length, and change g_checksum_get_digest to use a
2007-12-19  Christian Persch  <chpe@gnome.org>

	* glib/gchecksum.c: (g_checksum_type_get_length),
	(g_checksum_get_digest):
	* glib/gchecksum.h:
	* glib/glib.symbols:
	* tests/checksum-test.c: (test_checksum): Add
	g_checksum_type_get_length, and change g_checksum_get_digest to use a
	provided buffer instead of returning allocated memory. Bug #501853.

svn path=/trunk/; revision=6162
2007-12-19 18:53:27 +00:00
Alexander Larsson
67586ddfa4 Some minor fixes and additions.
2007-12-19  Alexander Larsson  <alexl@redhat.com>

        * gio/migrating.xml:
        * gio/overview.xml:
	Some minor fixes and additions.


svn path=/trunk/; revision=6154
2007-12-19 11:19:12 +00:00
Tim-Philipp Müller
3ca41fe109 add g_async_queue_new_full() which takes a GDestroyNotify function to free
* docs/reference/glib/glib-sections.txt:
	* glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
	  (g_async_queue_unref):
	* glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
	  GDestroyNotify function to free any remaining queue items when the
	  queue is destroyed after the final atomic unref (#367550).


svn path=/trunk/; revision=6152
2007-12-18 16:46:36 +00:00
Matthias Clasen
2df62bf0ed Flesh out the docs
svn path=/trunk/; revision=6150
2007-12-18 03:14:39 +00:00
Matthias Clasen
c0cc7663cb Additions
svn path=/trunk/; revision=6148
2007-12-18 00:56:35 +00:00
Matthias Clasen
747bb6bec7 Add some very modest beginnings
svn path=/trunk/; revision=6146
2007-12-17 17:54:02 +00:00
Matthias Clasen
66ff85f3ac Stub of a migration chapter Stub of an overview Overview diagram taken
2007-12-17  Matthias Clasen <mclasen@redhat.com>

        * gio/migration.xml: Stub of a migration chapter
        * gio/overview.xml: Stub of an overview
        * gio/gvfs-overview.{odg,png}: Overview diagram taken
        from Alex Guadec slides.

        * gio/Makefile.am:
        * gio/gio-docs.xml: Include these


svn path=/trunk/; revision=6145
2007-12-17 17:28:40 +00:00
Matthias Clasen
feb5258cf9 Namespace waste reduction, move some g_get_unix_mount functions to the
2007-12-17  Matthias Clasen  <mclasen@redhat.com>

        * gio.symbols:
        * gunixmounts.[hc]: Namespace waste reduction, move some
        g_get_unix_mount functions to the g_unix_mount namespace.

        * gunixmounts.c:
        * gunixvolumemonitor.c:
        * glocalfile.c:
        * glocaldirectorymonitor.c: Update all callers.

        * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path


svn path=/trunk/; revision=6143
2007-12-17 14:59:23 +00:00
Matthias Clasen
96a0e238e5 Updates
svn path=/trunk/; revision=6139
2007-12-17 07:05:28 +00:00
Matthias Clasen
d741d3e7a3 Add hash table iterators. (#500507, Jean-Yves Lefort)
2007-12-14  Matthias Clasen  <mclasen@redhat.com>

        * glib/glib.symbols:
        * glib/ghash.[hc]: Add hash table iterators.  (#500507,
        Jean-Yves Lefort)

        * tests/hash-test.c: Test iterators.



svn path=/trunk/; revision=6130
2007-12-15 03:54:09 +00:00
Matthias Clasen
355d85b171 Install gdesktopappinfo as unix-specific api
svn path=/trunk/; revision=6090
2007-12-10 18:51:21 +00:00
Bastien Nocera
1105ce1193 Mention the difference in handling booleans between GKeyFile and .INI
2007-12-10  Bastien Nocera  <hadess@hadess.net>

	* glib/tmpl/keyfile.sgml: Mention the difference
	in handling booleans between GKeyFile and .INI files
	(Closes: #468882)


svn path=/trunk/; revision=6089
2007-12-10 17:02:29 +00:00
Alexander Larsson
3a44f82b82 Remove more internal headers.
2007-12-10  Alexander Larsson  <alexl@redhat.com>

        * gio/Makefile.am:
	Remove more internal headers.
	
        * gio/gio-sections.txt:
	Update for changes



svn path=/trunk/; revision=6083
2007-12-10 10:58:43 +00:00
Matthias Clasen
a3dce6b45e Updates
svn path=/trunk/; revision=6082
2007-12-10 07:26:01 +00:00
Behdad Esfahbod
da0359d90e Fix tiny grammar typo.
2007-12-07  Behdad Esfahbod  <behdad@gnome.org>

        * glib/tmpl/date.sgml: Fix tiny grammar typo.


svn path=/trunk/; revision=6063
2007-12-07 07:30:59 +00:00
Emmanuele Bassi
d0bca4a65a Add GChecksum public API.
2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>

	* glib/glib-sections.txt: Add GChecksum public API.

	* glib/tmpl/checksum.sgml:
	* glib/glib-docs.sgml: Add the checksums API page.

svn path=/trunk/; revision=6044
2007-12-04 16:34:00 +00:00
Marco Barisione
458f3eca76 Add new error codes for when compilation fails and make compilation error
2007-12-03  Marco Barisione <marco@barisione.org>

	* glib/gregex.c:
	* glib/gregex.h: Add new error codes for when compilation fails and
	make compilation error translatable. (#482313, Morten Welinder)

svn path=/trunk/; revision=6021
2007-12-03 18:36:26 +00:00
Behdad Esfahbod
f3be1cf2d1 Bug 500361 – Improve docs for g_array_free() and g_ptr_array_free()
2007-11-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 500361 – Improve docs for g_array_free() and g_ptr_array_free()

        * glib/tmpl/arrays.sgml:
        * glib/tmpl/arrays_pointer.sgml:
        Document how to free the return value.


svn path=/trunk/; revision=5998
2007-11-30 03:40:56 +00:00
Matthias Clasen
c40ead97eb Ignore gio
svn path=/trunk/; revision=5991
2007-11-29 03:20:16 +00:00
Matthias Clasen
019f4480cf Add moved stuff from gio
svn path=/trunk/; revision=5990
2007-11-29 03:14:06 +00:00
Matthias Clasen
745e55213a Additions
svn path=/trunk/; revision=5989
2007-11-29 03:13:27 +00:00
Matthias Clasen
6623170e65 Additions
svn path=/trunk/; revision=5987
2007-11-29 02:52:23 +00:00
Matthias Clasen
e73f24aadc More cleanup
svn path=/trunk/; revision=5984
2007-11-28 19:00:39 +00:00
Matthias Clasen
85fe74f893 Remove internal types
svn path=/trunk/; revision=5983
2007-11-28 18:58:51 +00:00
Matthias Clasen
4c5c339b89 Remove nonexisting api
svn path=/trunk/; revision=5980
2007-11-28 18:39:24 +00:00
Matthias Clasen
794b7d0bbe More doc updates
svn path=/trunk/; revision=5969
2007-11-28 06:01:51 +00:00
Matthias Clasen
82d1ac187f some additions
svn path=/trunk/; revision=5967
2007-11-28 04:35:49 +00:00
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
Ryan Lortie
052bd9da4f Add new function g_markup_collect_attributes (bug #496847).
2007-11-26  Ryan Lortie  <desrt@desrt.ca>
 
        Add new function g_markup_collect_attributes (bug #496847).
 
        * glib/glib.symbols: add g_markup_collect_attributes
 
        * docs/reference/glib/glib-sections.txt:
        * glib/gmarkup.h:
        * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
        type GMarkupCollectType.  Add new error code
        G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
        collector.


svn path=/trunk/; revision=5947
2007-11-27 01:37:33 +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
21:06:47 Tim Janik
1e55738f31 initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-21 21:06:47  Tim Janik  <timj@imendio.com>

	* Makefile.decl: initialize automake variables EXTRA_DIST and
	TEST_PROGS for unconditional appending via += in other makefiles.
	define recursive test targets: test, test-report, perf-report,
	full-report, as described here:
      http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html

	* Makefile.am:
	* build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
	* build/win32/Makefile.am, build/Makefile.am:
	* docs/Makefile.am, docs/reference/Makefile.am:
	* docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
	* gmodule/Makefile.am, tests/Makefile.am:
	* tests/refcount/Makefile.am, tests/gobject/Makefile.am:
	* glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
	* glib/tests/Makefile.am, glib/pcre/Makefile.am:
	* glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
	* gthread/Makefile.am, glib/Makefile.am:
	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.

	* glib/tests/Makefile.am: removed example testing rules.

	* glib/tests/testing.c: conditionalized performance and slow tests.

	* glib/gtestutils.h:
	* glib/gtestutils.c: work around g_test_config_vars not changing its
	exported value after value assignments, aparently due to symbol aliases.

	* glib/gtester.c: fixed off-by-one error which produced junk in logs.

	* configure.in: check for python >= 2.4 and provide $PYTHON for scripts.


svn path=/trunk/; revision=5914
2007-11-21 20:09:46 +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
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
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
Sebastian Wilhelmi
16b4963816 Extended the comments on those functions, that are NOOPs, before
2007-06-15  Sebastian Wilhelmi  <wilhelmi@google.com>

	* docs/reference/glib/tmpl/threads.sgml: Extended the comments on
	those functions, that are NOOPs, before g_thread_init() has been
	called. (#447583)

	* glib/gthread.c (g_static_mutex_free): Clarified comment to
	remind myself, tha calling g_static_mutex_free() before
	g_thread_init() is safe.


svn path=/trunk/; revision=5567
2007-06-15 17:03:13 +00:00
Cody Russell
49f802b83e Added GRegex boxed type. (#445065, Carlos Garnacho)
2007-06-15  Cody Russell  <bratsche@gnome.org>

	* docs/reference/gobject/tmpl/gboxed.sgml:
	* docs/reference/gobject/gobject-sections.txt:
	* glib/gregex.c:
	* gobject/gboxed.[ch]:
	* gobject/gobject.symbols: Added GRegex boxed type.
	(#445065, Carlos Garnacho)


svn path=/trunk/; revision=5566
2007-06-15 16:31:21 +00:00
Ryan Lortie
020af9f1dc Improve performance by removing the use of an intermediate g_malloc'd
2007-06-14  Ryan Lortie  <desrt@desrt.ca>

	* docs/reference/glib/glib-sections.txt:
	* glib/glib/symbols:
	* glib/gstring.[ch] (g_string_printf_internal): Improve
	performance by removing the use of an intermediate g_malloc'd
	buffer.  Rename to g_string_append_vprintf, document, and expose
	along with g_string_vprintf as new public API (#57693).


svn path=/trunk/; revision=5564
2007-06-15 12:43:54 +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
Matthias Clasen
9bb331cf6c 2.13.4
svn path=/trunk/; revision=5540
2007-06-06 04:57:11 +00:00
Matthias Clasen
f69d1b7439 2.13.3
svn path=/trunk/; revision=5531
2007-06-04 15:40:33 +00:00
Matthias Clasen
d154485bc7 Add support for a number of special directories, as defined by the
2007-06-04  Matthias Clasen  <mclasen@redhat.com>

        Add support for a number of special directories, as
        defined by the xdg-user-dirs specification.  (#432651,
        Bastien Nocera, Emmanuele Bassi, Michael Natterer)

        * glib/glib.symbols:
        * glib/gutils.[hc]: Add the GUserDirectory enum and
        g_get_user_special_dir(), with implementations based
        on the xdg-user-dirs spec and on native interfaces
        for Win32 and Carbon.

        * configure.in: Add Carbon checks.

        * tests/tetsglib.c: Test g_get_user_special_dir().


svn path=/trunk/; revision=5528
2007-06-04 14:54:49 +00:00
Yevgen Muntyan
904c42896f New functions: g_regex_ref(), g_regex_unref() which replaces
2007-06-03  Yevgen Muntyan  <muntyan@tamu.edu>

	* glib/gregex.c:
	* glib/gregex.h: New functions: g_regex_ref(), g_regex_unref() which
	replaces g_regex_free(); g_match_info_get_regex(), g_match_info_get_string();
	g_regex_check_replacement().
	Made g_match_info_expand_references() accept NULL; changed GRegexEvalCallback
	to take only arguments which are likely to be actualy used.

	* docs/reference/glib/glib-sections.txt:
	* glib/glib.symbols: Added new functions.

	* tests/regex-test.c: Test them.

	* docs/reference/glib/tmpl/gregex.sgml: Updated GRegexEvalCallback docs.


svn path=/trunk/; revision=5524
2007-06-03 05:48:17 +00:00
Matthias Clasen
63d87b99e8 Add some hints about xgettext invokation.
* glib/tmpl/i18n.sgml: Add some hints about
        xgettext invokation.


svn path=/trunk/; revision=5522
2007-05-30 15:20:23 +00:00
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
Christian Persch
15d995bc79 Improve g_strerror and g_strsignal docs. Bug #438293.
2007-05-14  Christian Persch  <chpe@gnome.org>

	* docs/reference/glib/tmpl/string_utils.sgml: Improve g_strerror and
	g_strsignal docs. Bug #438293.

svn path=/trunk/; revision=5491
2007-05-14 17:14:11 +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
Matthew Barnes
cc3e80c26a Add G_QUEUE_INIT, g_queue_init(), and g_queue_clear() to better support
2007-03-06  Matthew Barnes  <mbarnes@redhat.com>

	* glib/gqueue.h:
	* glib/gqueue.c: Add G_QUEUE_INIT, g_queue_init(), and
	g_queue_clear() to better support statically allocated
	queues.  (#413244)


svn path=/trunk/; revision=5378
2007-03-06 18:43:10 +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
Soren Sandmann
674c4df418 New files implementing GSequence, a list implemented using a binary tree.
2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>

	* glib/gsequence.[ch]: New files implementing GSequence, a list
	implemented using a binary tree.
	* glib/glib.h, glib/glib.symbols: Update for GSequence.
	* docs/reference: Add documentation for GSequence
	* tests: Add sequence-test.c, a thorough test of all of 
	the GSequence API.


svn path=/trunk/; revision=5322
2007-02-03 23:24:50 +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
Matthias Clasen
912027f0df Some file list updates (#398069, Owen Taylor)
2007-01-19  Matthias Clasen  <mclasen@redhat.com>

        Some file list updates (#398069, Owen Taylor)

        * docs/Changes-2.0.txt
        * docs/reference/README.cvs-commits
        * glib.spec.in: Remove obsolete files

        * tests/Makefile.am:
        * glib/libcharset/Makefile.am:
        * gobject/Makefile.am:
        * Makefile.am: Add some missing files to EXTRA_DIST

        * tests/timeloop-basic.c: Make it build
        * HACKING: Small updates


svn path=/trunk/; revision=5302
2007-01-19 15:50:30 +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
a81c9a78a7 Cleanups
svn path=/trunk/; revision=5265
2007-01-15 03:57:41 +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
Michael Natterer
feb07512f0 removed all .cvsignore files. SVN doesn't need them.
2007-01-03  Michael Natterer  <mitch@imendio.com>

	* removed all .cvsignore files. SVN doesn't need them.


svn path=/trunk/; revision=5198
2007-01-03 11:22:36 +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
0f27a7cd04 updates from new doc builds 2006-12-28 14:14:29 +00:00
Tim Janik
34bef7ab9f fixed tag nesting 2006-12-28 13:03:41 +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
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