Commit Graph

791 Commits

Author SHA1 Message Date
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
Martyn James Russell
a77f5ff0b6 - Added g_list_insert_sorted_with_data () and
* docs/reference/glib/glib-sections.txt:
* docs/reference/glib/tmpl/linked_lists_double.sgml:
* docs/reference/glib/tmpl/linked_lists_single.sgml:
* glib/glist.[ch]:
* glib/gslist.[ch]:
- Added g_list_insert_sorted_with_data () and
g_slist_insert_sorted_with_data ().
- Removed the extra check in g_list_sort() and g_slist_sort() for
GCompareDataFunc vs. GCompareFunc.
2005-12-07 11:35:27 +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
cab5611661 fix a formatting problem 2005-12-05 15:54:58 +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
Martyn James Russell
a127920458 - Added support for sorting async queues by with _push_sorted(),
* docs/reference/glib/glib-sections.txt:
* glib/gasyncqueue.[ch]:
- Added support for sorting async queues by with _push_sorted(),
_push_sorted_unlocked(), _sort() and _sort_unlocked() (#323047).

* tests/Makefile.am:
* tests/asyncqueue-test.c:
- Added test case for gasyncqueue.c
2005-12-05 15:08:45 +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
7ddcde62c0 Define G_GUINT64_CONSTANT in analogy to G_GINT64_CONSTANT. (#322568,
2005-12-02  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Define G_GUINT64_CONSTANT in analogy to
	G_GINT64_CONSTANT.  (#322568, Andrew Paprocki)
2005-12-02 21:25:45 +00:00
Matthias Clasen
9adc9c942d Document GObject API additions 2005-11-27 20:09:13 +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
f59aac306d Prepare for 2.9.0 2005-11-17 21:33:07 +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
Behdad Esfahbod
cac3d6ea8d Correct typo on mentioning @G_UNICODE_BREAK_UNKNOWN that should be
2005-11-16  Behdad Esfahbod  <behdad@gnome.org>

        * docs/reference/glib/tmpl/unicode.sgml: Correct typo on mentioning
        @G_UNICODE_BREAK_UNKNOWN that should be #G_UNICODE_BREAK_UNKNOWN.
2005-11-17 03:39:47 +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
Behdad Esfahbod
c83e2b3349 Updated to Unicode 4.1. There are five new GUnicodeBreakType types. That
2005-10-01  Behdad Esfahbod  <behdad@gnome.org>

        * docs/reference/glib/tmpl/unicode.sgml:
        * glib/gen-unicode-tables.pl:
        * glib/gunibreak.h:
        * glib/gunichartables.h:
        * glib/gunicode.h:
        * tests/casefold.txt:
        * tests/casemap.txt: Updated to Unicode 4.1.  There are five new
        GUnicodeBreakType types.  That may break some applications, like
        Pango <= 1.10.
2005-10-01 12:34:21 +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
Matthias Clasen
71c21349c3 Document that file_name can be NULL. (#313143, Gustavo Carneiro)
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/modules.sgml: Document that file_name can
	be NULL.  (#313143, Gustavo Carneiro)
2005-08-15 18:35:30 +00:00
Matthias Clasen
95ffa1e5af Clarify docs a little. (#311727, Tristan van Berkom)
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

	* glib/gqueue.c (g_queue_find_custom): Clarify docs
	a little.  (#311727, Tristan van Berkom)
2005-08-15 18:28:12 +00:00
Matthias Clasen
6de0ca7807 2.8.0 2005-08-12 17:18:55 +00:00
Stepan Kasal
1200dbdc98 two stylistic fixes 2005-08-12 09:27:49 +00:00
Stepan Kasal
29e635059f fix typos 2005-08-10 11:07:55 +00:00
Stepan Kasal
f6059af110 a typo 2005-08-10 10:56:46 +00:00
Stepan Kasal
38610c0a36 manual emulation of refresh of manual pages 2005-08-10 10:49:46 +00:00
Stepan Kasal
0169468c8c Fix typos: invokation -> invocation. 2005-08-10 10:46:55 +00:00
Matthias Clasen
bda683f786 Small fixes.
2005-08-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gparamspec.sgml:
	* glib/tmpl/types.sgml:
	* glib/tmpl/option.sgml: Small fixes.
2005-08-06 03:40:07 +00:00
Matthias Clasen
776c3a8bd8 Small fixes
2005-08-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/generic_values.sgml: Small fixes
2005-08-05 20:40:52 +00:00
Matthias Clasen
d5c882abc4 2.7.7 2005-08-05 16:09:42 +00:00
Matthias Clasen
6e103ba100 2.7.6 2005-08-03 20:58:37 +00:00
Ross Burton
fada30c956 Small doc updates 2005-08-03 20:24:18 +00:00
Matthias Clasen
e4c231a62a 2.7.5 2005-08-02 16:17:48 +00:00
Tim Janik
a49fda33d5 document non-thread-safety for _foreach() functions.
Sat Jul 30 23:40:35 2005  Tim Janik  <timj@gtk.org>

        * glib/tmpl/datalist.sgml:
        * glib/tmpl/datalset.sgml: document non-thread-safety for
        _foreach() functions.
2005-07-30 21:41:18 +00:00
Matthias Clasen
39560bf49f One more improvement.
2005-07-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays.sgml: One more improvement.
2005-07-26 15:37:22 +00:00
Matthias Clasen
fd6d142f4f Add details 2005-07-26 02:38:26 +00:00
Matthias Clasen
3c6e2da565 2.7.4 2005-07-22 17:02:04 +00:00
Matthias Clasen
e81747cdc0 Add some discouraging comments to the G_INLINE_FUNC macros. (#310836,
2005-07-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/macros_misc.sgml: Add some discouraging
	comments to the G_INLINE_FUNC macros.  (#310836,
	Callum McKenzie)
2005-07-20 15:41:19 +00:00
Matthias Clasen
e2f521eb19 Add docs for #307047, Bryan Silverthorn.
2005-07-19  Matthias Clasen  <mclasen@redhat.com>

        * glib/tmpl/byte_order.sgml: Add docs for #307047,
        Bryan Silverthorn.
2005-07-19 18:36:39 +00:00
Matthias Clasen
1760b7074d 2.7.3 2005-07-15 17:28:17 +00:00
Matthias Clasen
deef36d182 Add G_VA_COPY
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-overrides.txt: Add G_VA_COPY
2005-07-13 18:57:18 +00:00
Matthias Clasen
7b70e24179 Warn if a short name is not acceptable.
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (g_option_group_add_entries): Warn if a
	short name is not acceptable.
2005-07-13 13:31:30 +00:00
Matthias Clasen
58dd4814b2 Add and implement a new flag to turn off the automatic <groupname>-
2005-07-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.h (G_OPTION_FLAG_NOALIAS):
	* glib/goption.c: Add and implement a new flag
	to turn off the automatic <groupname>- prefixing
	for conflict resolution of long option names. (#171840,
	Adam McLaurin)

	All optional callback arguments  (#308886, Pawel
	Sliwowski)

	* glib/goption.h (G_OPTION_FLAG_OPTIONAL_ARG):
	* glib/goption.c: Add and implement a new flag
	to indicate that a callback *optionally* takes another
	argument.

	* tests/option-test.c: Add tests for optional arguments.
2005-07-12 18:56:25 +00:00
Matthias Clasen
138f260fbc 2.7.2 2005-07-08 15:48:32 +00:00
Matthias Clasen
ec872e77c7 Add the "new in 2.8" index.
2005-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gobject/gobject-docs.sgml:
	* glib/glib-docs.sgml: Add the "new in 2.8" index.
2005-07-08 15:04:29 +00:00
Matthias Clasen
f77e7d1272 Add an example 2005-07-05 05:54:42 +00:00
Matthias Clasen
399b0456ce 2.7.1 2005-06-30 21:01:58 +00:00
Matthias Clasen
18ccd90ef8 Updates 2005-06-30 03:13:35 +00:00
Matthias Clasen
748c230205 Add an mmap() wrapper called GMappedFile. (#148218, David Schleef, Behdad
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	Add an mmap() wrapper called GMappedFile. (#148218,
	David Schleef, Behdad Esfahbod)

	* glib/gmappedfile.[hc]: New files.

	* configure.in: Check for mmap.

	* glib/Makefile.am: Add new files.

	* glib/glib.symbols: Add new functions.

	* glib/glib.h: Include gmappedfile.h

	* tests/mapping-test.c: Tests for GMappedFile.

	* tests/Makefile.am: Add new file.
2005-06-25 03:38:32 +00:00
Matthias Clasen
77e2a25f23 Add new functions 2005-06-23 05:51:40 +00:00
Matthias Clasen
3a7a096682 Add G_OPTION_FLAG_NO_ARG and G_OPTION_FLAG_FILENAME to allow greater
2005-06-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.h:
	* glib/goption.c: Add G_OPTION_FLAG_NO_ARG and
	G_OPTION_FLAG_FILENAME to allow greater control of
	G_OPTION_ARG_CALLBACK options. (#302632, Dan Winship)

	* tests/option-test.c: test callback args
2005-06-18 04:55:26 +00:00
Mathieu Lacage
15c7e35b33 fix typo reported by Hong Gang XU.
2005-06-16  Mathieu Lacage <mathieu@gnome.org>

	* gobject/tut_gtype.xml: fix typo reported by Hong Gang XU.
2005-06-16 07:46:37 +00:00
Matthias Clasen
604ad5fa3d 2.7.0 2005-06-10 15:48:25 +00:00
Matthias Clasen
9eedca42b1 Add g_chdir
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add g_chdir
2005-06-10 03:13:43 +00:00
Matthias Clasen
f15bb122ce Allow setstacksize to fail. (#304790, Michael Banck)
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gthread-posix.c (g_thread_create_posix_impl): Allow
	setstacksize to fail.  (#304790, Michael Banck)
2005-06-09 15:25:01 +00:00
Matthias Clasen
e6cc98c9cd New function to calculate collation keys which are more suitable for
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gunicode.h:
	* glib/gunicollate.c (g_utf8_collate_key_for_filename):
	New function to calculate collation keys which are more
	suitable for sorting filenames.  (#172690, Ole Laursen)
2005-06-08 05:22:05 +00:00
Mathieu Lacage
8db223409d fix lots of typos, some of which were reported by Leonardo Boshell.
2005-05-25  Mathieu Lacage <mathieu@gnome.org>

	* gobject/tut_*.xml: fix lots of typos,
	some of which were reported by Leonardo Boshell.
2005-05-27 12:04:54 +00:00
Matthias Clasen
d38febf6b3 Point out exceptions to the general GLib data structure locking rules.
2005-05-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Point out exceptions to the
	general GLib data structure locking rules.
2005-05-23 19:10:54 +00:00
Matthias Clasen
6b36180679 Add a paragraph about thread safety of GLib data structures.
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Add a paragraph about thread
	safety of GLib data structures.
2005-05-20 17:15:37 +00:00
Matthias Clasen
a9fc3503a1 Add a warning 2005-05-20 14:33:21 +00:00
Matthias Clasen
16f730e41d Update an example from 1.3 to 2.x
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/compiling.sgml: Update an example from 1.3 to 2.x
2005-05-20 14:27:54 +00:00
Matthias Clasen
5ece1d7388 Mention 64bit integer types.
2005-05-13  Matthias Clasen  <mclasen@redhat.com>

	* gobject/glib-genmarshal.1:
	* gobject/glib-genmarshal.xml: Mention 64bit integer
	types.
2005-05-13 18:09:01 +00:00
Matthias Clasen
9ec6c1eb4f Fix sloppy language, pointed out by Daniel Vaillard.
2005-05-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/markup.sgml: Fix sloppy language, pointed out by
	Daniel Vaillard.
2005-05-10 13:30:27 +00:00
Matthias Clasen
bc9e9efbaf Add long descriptions.
2005-05-09  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/value_collection.sgml:
	* gobject/tmpl/gboxed.sgml:
	* gobject/tmpl/enumerations_flags.sgml:
	* gobject/tmpl/objects.sgml: Add long descriptions.
2005-05-09 05:25:21 +00:00
Owen Taylor
2ae1a46b4c Add g_object_add/remove_toggle_ref() functions to get notification when a
2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * gobject.[ch] gobject.symbols: Add
        g_object_add/remove_toggle_ref() functions to get notification
        when a reference count is the last remaining reference; this
        enables better memory management for language bindings.
        (http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * glib/gdataset.[ch] glib/gdatasetprivate.h: Add
        g_datalist_set/unset_flags(), g_datalist_get_flags() functions
        to squeeze some bits into a GDataSet... this is needed for
        efficient implementation of toggle references in GObject.

        * tests/gobject/references.c tests/gobject/Makefile.am:
        Add a test case for weak and toggle references.

        * glib/gfileutils.[ch]: Rename g_file_replace() back
        to g_file_set_contents().

        * glib/glib.symbols: Update.

2005-05-05  Owen Taylor  <otaylor@redhat.com>

        * glib/Makefile.am glib/glib-sections.txt gobject/gobject-sections.txt:
        Update

        * gobject/tmpl/objects.sgml: Document toggle-references.
2005-05-05 14:57:29 +00:00
Matthias Clasen
1167d7d6a7 Documentation trivia 2005-05-02 15:45:45 +00:00
Matthias Clasen
728ab5ff7e Small additions.
2005-05-02  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml:
	* gobject/tmpl/generic_values.sgml:
	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/value_arrays.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gtypemodule.sgml:
	* gobject/tmpl/enumerations_flags.sgml: Small additions.
2005-05-02 15:29:43 +00:00
Matthias Clasen
5374882914 Additions 2005-05-01 22:02:16 +00:00
Matthias Clasen
15bd7c1526 More cosmetics 2005-05-01 21:55:40 +00:00
Matthias Clasen
df9f45ca4e cosmetics 2005-05-01 21:53:02 +00:00
Matthias Clasen
9eff594c95 Additions 2005-05-01 21:39:23 +00:00
Matthias Clasen
3ac67799e8 Additions 2005-05-01 21:37:37 +00:00
Matthias Clasen
1c58b74bb9 Additions 2005-05-01 21:28:32 +00:00
Matthias Clasen
62d51bce03 Some additions 2005-05-01 21:20:20 +00:00
Matthias Clasen
a82bcb3107 Add a boxed type for GDate. (#301787, Tim-Philipp Müller)
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gobject.symbols:
	* gboxed.h (G_TYPE_DATE):
	* gboxed.c: Add a boxed type for GDate. (#301787, Tim-Philipp
	Müller)
2005-04-29 18:33:41 +00:00
Stefan Kost
0979140060 all interface examples use 'interface' instead of 'class' 2005-04-23 09:50:36 +00:00
Stefan Kost
f57a5c33c3 add missing image 2005-04-22 18:34:41 +00:00
Stefan Kost
9ce3590d4e merged in docs form the gobject tutorial 2005-04-22 10:27:37 +00:00
Matthias Clasen
ce1509b6ae Clarify the docs for g_ptr_array_free and g_ptr_array_remove_range.
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays_pointer.sgml: Clarify the docs for
	g_ptr_array_free and g_ptr_array_remove_range.  (#170148,
	#170149, Jared Lash)
2005-03-29 13:51:34 +00:00
Matthias Clasen
46fda0cf41 Clarify the docs for g_ptr_array_free. (#170149, Jared Lash)
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays_pointer.sgml: Clarify the docs for
	g_ptr_array_free.  (#170149, Jared Lash)
2005-03-29 13:47:23 +00:00
Tor Lillqvist
dfb8990512 Add Win32 warnings regarding the child setup function.
2005-03-29  Tor Lillqvist  <tml@novell.com>

	* glib/tmpl/spawn.sgml: Add Win32 warnings regarding the child
	setup function.
2005-03-29 08:27:02 +00:00
Matthias Clasen
213e90aa18 Add g_try_new, g_try_new0, g_try_renew and g_try_malloc0. (#169611, Stefan
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmem.h: Add g_try_new, g_try_new0, g_try_renew and
	g_try_malloc0.  (#169611, Stefan Kost)

	* glib/gmem.c: Implement g_try_malloc0.
2005-03-22 04:09:17 +00:00
Matthias Clasen
103fe49b8e Add g_try_new, g_try_new0 and g_try_renew. (#169611, Stefan Kost)
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmem.h: Add g_try_new, g_try_new0 and
	g_try_renew.  (#169611, Stefan Kost)
2005-03-22 04:02:13 +00:00
Matthias Clasen
4bd613efc4 Don't copy strings which are marked as static. Don't allow non-canonical
2005-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gparam.c (g_param_spec_internal): Don't copy strings
	which are marked as static. Don't allow non-canonical static
	names.

	* gparam.h (GParamFlags): Add G_PARAM_STATIC_{NAME,NICK,BLURB}
	flags.  (#160655, Ben Maurer)
2005-03-21 04:55:26 +00:00
Matthias Clasen
6aac5ce82c Define G_GNUC_NULL_TERMINATED. (#164706, Marc Meissner)
2005-03-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmacros.h: Define G_GNUC_NULL_TERMINATED.
	(#164706, Marc Meissner)

	* glib/gstrfuncs.h:
	* glib/gfileutils.h: Use G_GNUC_NULL_TERMINATED where
	appropriate.
2005-03-08 05:41:45 +00:00
Matthias Clasen
e42c2fc58f Apply patches by Stefan Kost to document naming restrictions. (#167614)
2005-03-07  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gparamspec.sgml: Apply patches by
	Stefan Kost to document naming restrictions. (#167614)
2005-03-08 04:43:00 +00:00
Matthias Clasen
1795e0aeb0 Take main group options into account when calculating column size.
2005-02-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (print_help): Take main group options into
	account when calculating column size.  (#166921)
	(g_option_context_parse): Accept -? as documented.  (#166977)
2005-02-11 04:11:34 +00:00
Matthias Clasen
f18cab0ce3 New function to list all environment variables. (#166327, Hans Petter
2005-02-07  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gutils.h:
	* glib/gutils.c (g_listenv): New function to list all
	environment variables.  (#166327, Hans Petter Jansson)
2005-02-08 04:28:31 +00:00
Matthias Clasen
161e54209e Add a note regarding inefficiency of repeated appends. (#166271, Olivier
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/linked_lists_double.sgml:
	* glib/tmpl/linked_lists_single.sgml: Add a note
	regarding inefficiency of repeated appends. (#166271,
	Olivier Sessink)
2005-02-05 03:12:06 +00:00
Matthias Clasen
d2c401d55a Add a warning against using g_quark_from_static_string() in dynamically
2005-02-03  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/quarks.sgml: Add a warning against
	using g_quark_from_static_string() in dynamically
	loaded modules.
2005-02-03 05:45:21 +00:00
Matthias Clasen
5a866843df Move doc comments inline.
2005-02-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.c: Move doc comments inline.

	* glib/ghash.h: Adjust some argument names.

	* configure.in: Give meaningful names to g_memmove()
	arguments.
2005-02-02 06:07:14 +00:00
Sebastien Bacher
987a7b011e fix a typo in my name 2005-01-17 10:25:27 +00:00
Matthias Clasen
56396d4897 Fix an example. (#164269, Sebastian Bacher)
2005-01-16  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/enumerations_flags.sgml: Fix an
	example.  (#164269, Sebastian Bacher)

2
2005-01-17 03:16:29 +00:00
Matthias Clasen
3d1e4844bb 2.6.1 2005-01-07 16:58:16 +00:00
Matthias Clasen
08900dd1d2 Add hint about group name case sensitivity. (#163029, Bastien Nocera)
2005-01-06  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/keyfile.sgml: Add hint about group name
	case sensitivity.  (#163029, Bastien Nocera)
2005-01-06 21:46:32 +00:00
Matthias Clasen
38c39a7cfd Small addition. (#145158, Mariano Suárez-Alvarez)
2005-01-04  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Small addition. (#145158,
	Mariano Suárez-Alvarez)
2005-01-04 18:40:02 +00:00
J. Ali Harlow
572e8b2756 Don't use AC_TRY_RUN to test for long long format when using the
2005-01-01  J. Ali Harlow  <ali@juiblex.co.uk>

	* configure.in: Don't use AC_TRY_RUN to test for long long format
	when using the MSVCRT.DLL runtime since we know the answer anyway
	and it causes some mild inconvience when cross compiling.

	* README.win32: Add a reference to the cross compiling section
	of the reference manual.

	* docs/reference/glib/cross.sgml: MinGW uses MSVCRT.DLL which
	requires %I64i instead of %lli. (#161306)
2005-01-03 00:20:47 +00:00
Matthias Clasen
5d679e08e7 Fix a typo. (#161713, Vincent Untz)
2004-12-20  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Fix a typo.  (#161713,
	Vincent Untz)
2004-12-20 14:20:25 +00:00
Matthias Clasen
f822229fea Clarify g_get_prgname docs. (#161480, Danny Milo)
2004-12-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/misc_utils.sgml: Clarify g_get_prgname docs.
	(#161480, Danny Milo)
2004-12-18 02:06:58 +00:00
Matthias Clasen
a64d63c59a Improve wording. (#161484, Christian Biere)
2004-12-16  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/version.sgml: Improve wording.  (#161484,
	Christian Biere)
2004-12-17 01:42:03 +00:00
Matthias Clasen
32247a04c6 2.6.0 2004-12-16 05:48:25 +00:00
Matthias Clasen
50695caa2c Add g_rmdir
2004-12-15  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add g_rmdir
2004-12-15 16:42:36 +00:00
Alexander Larsson
aba9e78ec4 Add g_filename_display_basename.
2004-12-15  Alexander Larsson  <alexl@redhat.com>

	* glib/gconvert.[ch]:
	Add g_filename_display_basename.
2004-12-15 16:34:49 +00:00
Matthias Clasen
80aded0d23 *** empty log message *** 2004-12-15 13:55:34 +00:00
Matthias Clasen
23265157fb 2.5.7 2004-12-02 21:13:05 +00:00
Matthias Clasen
eb12e6983b Add some warnings regarding --disable-mem-pools.
2004-12-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/building.sgml:
	* glib/tmpl/linked_lists_single.sgml:
	* glib/tmpl/linked_lists_double.sgml:
	* glib/tmpl/trees-nary.sgml: Add some warnings regarding
	--disable-mem-pools.
2004-12-02 15:46:09 +00:00
Matthias Clasen
9b925d5087 Fix a typo. (#160162, Tom Copeland)
2004-12-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/iochannels.sgml: Fix a typo.  (#160162, Tom Copeland)
2004-12-02 03:37:24 +00:00
Matthias Clasen
67379ad08b Document --enable-man and --disable-visibility.
2004-11-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/building.sgml: Document --enable-man and --disable-visibility.
2004-11-30 14:48:55 +00:00
Tor Lillqvist
8d25dee6d5 Document encoding of g_get_user_name(), g_get_real_name(), g_get_tmp_dir()
2004-11-28  Tor Lillqvist  <tml@iki.fi>

	* glib/tmpl/misc_utils.sgml: Document encoding of g_get_user_name(),
	g_get_real_name(), g_get_tmp_dir() and g_get_current_dir().
2004-11-28 22:54:37 +00:00
Matthias Clasen
7735d799c5 Document G_GNUC_MALLOC.
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/macros_misc.sgml: Document G_GNUC_MALLOC.

	* glib/glib-sections.txt: Add G_GNUC_MALLOC
2004-11-28 19:13:36 +00:00
Hans Breuer
425e5211ed updated
2004-11-21  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc : updated
2004-11-21 20:23:34 +00:00
Matthias Clasen
98121469ec 2.5.6 2004-11-12 17:15:54 +00:00
Matthias Clasen
a84cbafcec Add G_TRAVERSE_LEAVES and G_TRAVERSE_NON_LEAVES as alternative names for
2004-11-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gnode.h (enum GTraverseFlags): Add G_TRAVERSE_LEAVES
	and G_TRAVERSE_NON_LEAVES as alternative names for
	G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS, which are
	grammatically brutal.  (#138853, Morten Welinder)
2004-11-08 19:14:04 +00:00
Matthias Clasen
c83e52605f Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(),
2004-11-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gasyncqueue.[hc]:
	* glib/ghook.[hc]:
	* glib/gmain.[hc]:
	* glib/giochannel.[hc]: Make g_io_channel_ref(),
	g_main_context_ref(), g_hook_ref(), g_async_queue_ref()
	return the passed in pointer. (#151663, Manish Singh)
2004-11-08 18:26:56 +00:00
Mathieu Lacage
f09a5d8ac2 fix typo 2004-11-05 08:45:17 +00:00
Mathieu Lacage
be092b4ac4 integrate patches by Sylvain Foret 2004-11-05 07:33:28 +00:00
Mathieu Lacage
b7d67f62ec improve a bit the introduction 2004-11-04 15:14:23 +00:00
Mathieu Lacage
7d30332bab forgot to add this file. 2004-11-04 14:55:05 +00:00
Mathieu Lacage
acba30a9eb integrate patch from Stefan Kost 2004-11-04 14:52:33 +00:00
Tor Lillqvist
e8de52f31e Improve G_WIN32_HAVE_WIDECHAR_API documentation.
2004-11-04  Tor Lillqvist  <tml@iki.fi>

	* glib/tmpl/windows.sgml: Improve G_WIN32_HAVE_WIDECHAR_API
	documentation.

	* glib/tmpl/option.sgml: Document G_OPTION_FLAG_REVERSE.
2004-11-04 00:41:58 +00:00
Matthias Clasen
7f1bfaee74 *** empty log message *** 2004-11-02 23:06:58 +00:00
Matthias Clasen
87ad7806a7 New function to convert a filename to a UTF-8 string for display purposes.
2004-11-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c (g_filename_display_name): New function to
	convert a filename to a UTF-8 string for display purposes.
	(g_get_filename_charsets): New function to return the
	encodings which are tried when converting a filename to
	UTF-8.
2004-11-02 21:29:33 +00:00
Matthias Clasen
938f1a9a5a Documentation updates. 2004-11-01 17:52:02 +00:00
Matthias Clasen
0032a3c1b6 Document G_WIN32_IS_NT_BASED, G_WIN32_HAVE_WIDECHAR_API.
2004-10-31  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/windows.sgml: Document G_WIN32_IS_NT_BASED,
	G_WIN32_HAVE_WIDECHAR_API.

	* glib/glib-sections.txt: Add g_lstat

	* glib/running.sgml: Document G_WIN32_PRETEND_WIN9X.

200
2004-10-31 17:41:29 +00:00
Matthias Clasen
eb0b4db5ff Doc additions. 2004-10-30 05:06:15 +00:00
Matthias Clasen
dd028d11f6 Add G_OPTION_REMAINING
2004-10-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add G_OPTION_REMAINING
2004-10-29 20:27:01 +00:00
Matthias Clasen
eca5c5ea7d Update. 2004-10-29 20:26:19 +00:00
Matthias Clasen
a0e217e94a Document GOption 2004-10-29 18:43:34 +00:00
Matthias Clasen
9e8ebbbdfb Add some introductory notes.
2004-10-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/keyfile.sgml: Add some introductory notes.
2004-10-28 18:38:07 +00:00
Matthias Clasen
25dc3ce452 2.5.4 2004-10-27 17:56:33 +00:00
Matthias Clasen
8a7eecd7c6 Introduce the idea of a filename encoding, which is *literally* the
2004-10-27  Matthias Clasen  <mclasen@redhat.com>

	Introduce the idea of a filename encoding, which is
	*literally* the filename encoding on Unix. On windows,
	use the Unicode name converted to UTF-8. (#156325,
	Tor Lillqvist, Owen Taylor)

	* glib/gdir.[hc]:
	* glib/gconvert.[hc]:
	* glib/gfileutils.[hc]:
	* glib/gutils.[hc]:
	* glib/giowin32.c: On Windows, keep old ABI versions
	of GLib pathname api for DLL ABI stability. Use different
	names for the new-style UTF-8 versions. Hide this through
	a #define.

	* glib/gstdio.[hc]: New files containing wrappers for
	POSIX pathname api.

	* glib/glib.symbols: Add new symbols.

	* glib/makegalias.pl: Drop Win32 specific .def syntax,
	include gstdio.h
2004-10-27 16:46:29 +00:00
Matthias Clasen
933afd0277 Add a 2.6 index. 2004-10-26 16:13:20 +00:00
Matthias Clasen
5a6df6dd65 Documentation fixes. 2004-10-26 16:10:52 +00:00
Matthias Clasen
5883072cb2 Add GKeyFile section, add index for 2.6 additions.
2004-10-25  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-docs.sgml:  Add GKeyFile section, add
	index for 2.6 additions.
2004-10-25 13:56:25 +00:00
Matthias Clasen
034fef999e Typo fix. 2004-10-24 01:25:42 +00:00
Matthias Clasen
481fe81c06 Rename first parameter to check_data, since apparently the system headers
2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* gtype.h (GTypeInterfaceCheckFunc): Rename first parameter to
	check_data, since apparently the system headers on AIX leak a
	macro named func_data.  (#155178, Andrea Campi)
2004-10-24 01:22:30 +00:00
Matthias Clasen
6811b264e4 Add GKeyFile section.
2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add GKeyFile section.
2004-10-23 06:23:18 +00:00
Matthias Clasen
4293525fc8 Make public. (#155589, Tim-Philipp Müller)
2004-10-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.h (G_IS_DIR_SEPARATOR):
	* glib/gutils.c: Make public.  (#155589, Tim-Philipp Müller)
2004-10-17 06:46:16 +00:00
Matthias Clasen
2118d96318 Improve the docs for g_object_get_property(). (#153424, Stefan Kost)
2004-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/objects.sgml: Improve the docs for
	g_object_get_property().  (#153424, Stefan Kost)
2004-10-05 19:44:33 +00:00
Matthias Clasen
0523aca07c Improve docs for g_signal_add_emission_hook. (#154299, Nickolay V.
2004-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/signals.sgml: Improve docs for
	g_signal_add_emission_hook.  (#154299, Nickolay V. Shmyrev)
2004-10-04 02:36:14 +00:00
Matthias Clasen
af13bb21bb Correct the docs for the default log handler wrt to which messages go to
2004-09-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/messages.sgml: Correct the docs for the default log
	handler wrt to which messages go to stderr. (#153041, Philippe Blain)
2004-09-20 14:49:57 +00:00
Matthias Clasen
859b7b4959 Point to g_utf8_strreverse() for reversing UTF-8 strings. (#153091, Adam
Sun Sep 19 23:15:17 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/patterns.sgml: Point to g_utf8_strreverse() for
	reversing UTF-8 strings.  (#153091, Adam Hooper)
2004-09-20 03:16:32 +00:00
Matthias Clasen
36e34772d8 2.5.3 2004-09-18 21:03:46 +00:00
Matthias Clasen
f2f53d7ce8 Ignore galias.h
2004-09-16  Matthias Clasen  <mclasen@redhat.com>

	* glib/Makefile.am: Ignore galias.h

	* glib/glib-sections.txt: Updates.
2004-09-16 14:16:18 +00:00
Matthias Clasen
e0811a5e15 Commit accumulated changes. 2004-09-16 03:16:57 +00:00
Matthias Clasen
ea01de53fe Clarify the relation of g_get_home_dir() and $HOME. 2004-09-09 14:06:20 +00:00
Matthias Clasen
6ec4724399 Add a function to calculate the length of a NULL-terminated string array.
Thu Sep  9 00:10:40 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gstrfuncs.h:
	* glib/gstrfuncs.c (g_strv_length): Add a function to
	calculate the length of a NULL-terminated string
	array.  (#150455, Tim-Philipp Müller)

	* tests/strfunc-test.c (main): Add a test for g_strv_length().
2004-09-09 04:12:19 +00:00
Matthias Clasen
d209e108b1 Add a function to return a list of applicable locale names. (#95587,
2004-09-07  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.h:
	* glib/gutils.c (g_get_language_names): Add a function to
	return a list of applicable locale names.  (#95587,
	Hidetoshi Tajima)
	(guess_category_value, compute_locale_variants):
	(explode_locale, unalias_lang, read_aliases): Helper
	functions for g_get_language_names()

	* tests/testglib.c (main): Show the results of
	g_get_language_names()
2004-09-07 18:37:10 +00:00
Matthias Clasen
b52552a568 Remove excess markup and fix a markup error.
Mon Sep  6 01:56:13 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/messages.sgml: Remove excess markup and fix a markup
	error.
2004-09-06 05:56:47 +00:00
Matthias Clasen
4dcb22c14a New function to install an alternate default log handler. (#66387, Darin
Sun Sep  5 01:46:11 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/glib.def:
	* glib/gmessages.h:
	* glib/gmessages.c (g_log_set_default_handler): New
	function to install an alternate default log
	handler.  (#66387, Darin Adler)
2004-09-05 05:46:33 +00:00
Matthias Clasen
ca9fa3e7f8 Add g_date_get_iso8601_week_of_year.
Wed Sep  1 20:27:59 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/glib-sections.txt: Add g_date_get_iso8601_week_of_year.
2004-09-02 00:28:33 +00:00
Matthias Clasen
f04024e32d Fix a typo. (#151109, Stepan Kasal)
Sun Aug 29 23:50:45 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/fileutils.sgml: Fix a typo.  (#151109, Stepan Kasal)
2004-08-30 03:54:01 +00:00
Matthias Clasen
981fe434ee Fix #151193, Stepan Kasal:
2004-08-27  Matthias Clasen  <mclasen@redhat.com>

	Fix #151193, Stepan Kasal:

	* glib/gfileutils.c (g_file_error_from_errno):
	* glib/gfileutils.h (enum GFileError): Add G_FILE_ERROR_NOSYS.
2004-08-27 14:57:34 +00:00
Matthias Clasen
7f014a1ff3 2.5.2 2004-08-25 05:02:57 +00:00
Matthias Clasen
66a18b3f64 Add an example for g_on_error_query() usage. (#148716, Christian Persch)
2004-08-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/warnings.sgml: Add an example for
	g_on_error_query() usage.  (#148716, Christian Persch)
2004-08-23 17:56:35 +00:00
Matthias Clasen
31e039c739 Document the necessity to call g_thread_init() when using threads (even
2004-08-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Document the necessity to call
	g_thread_init() when using threads
	(even non-gthreads).  (#149490, Vincent Untz)
2004-08-12 15:00:35 +00:00
Ray Strode
305e8c86d9 Add new XDG basedir API (bug 139973).
2004-08-11  Ray Strode  <rstrode@redhat.com>

	* docs/reference/glib/glib-sections.txt:
	* glib/gutils.[ch] (g_get_user_data_dir),
	(g_get_user_config_dir), (g_get_user_cache_dir),
	(g_get_system_data_dirs), (g_get_system_config_dirs):
	Add new XDG basedir API (bug 139973).
2004-08-11 17:53:05 +00:00
Matthias Clasen
983dd431f1 Add a section for GOption. Include GOption section. New template.
Tue Aug  3 16:43:22 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/glib-sections.txt: Add a section for GOption.
	* glib/glib-docs.sgml: Include GOption section.
	* glib/tmpl/option.sgml: New template.
2004-08-03 20:44:24 +00:00
Matthias Clasen
a62fd5ec60 New function to check the version of GLib at runtime. (#149175, Michael
Tue Aug  3 14:58:20 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gutils.h:
	* glib/gutils.c (glib_check_version): New function to
	check the version of GLib at runtime.  (#149175, Michael Natterer)
2004-08-03 19:41:02 +00:00
Matthias Clasen
f1024215a4 Add a G_GNUC_INTERNAL macro to mark function declarations as internal and
2004-08-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmacros.h: Add a G_GNUC_INTERNAL macro to mark function
	declarations as internal and avoid PLT indirections for
	them.  (#145465, Arjan van de Ven)

	* glib/gunicodeprivate.h:
	* glib/gthreadinit.h:
	* glib/gmessages.h:
	* glib/gdebug.h:
	* glib/gconvert.c: Use G_GNUC_INTERNAL for _g_charset_get_aliases(),
	_g_debug_init(), _g_log_fallback_handler(), _g_mem_thread_init(),
	_g_messages_thread_init(), _g_convert_thread_init(),
	_g_rand_thread_init(), _g_main_thread_init(), _g_atomic_thread_init(),
	_g_mem_thread_private_init(), _g_messages_thread_private_init(),
	_g_utf8_normalize_wc() and _g_unichar_combining_class().

	* glib/gatomic.c: Include gthreadinit.h here to see the declaration
	for _g_atomic_thread_init().
2004-08-02 15:34:30 +00:00
Matthias Clasen
5b1c38b0b3 2.5.1 2004-08-01 03:51:21 +00:00
Matthias Clasen
e032d5e222 Clarify docs for g_get_real_name(). (#143552, Danek Duvall)
2004-07-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/misc_utils.sgml: Clarify docs for
	g_get_real_name().  (#143552, Danek Duvall)
2004-07-28 15:39:01 +00:00
Matthias Clasen
f5a8ae228a Fix docs for G_MAXSIZE. (#148262, Christophe Fergeau)
Fri Jul 23 10:38:24 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/limits.sgml: Fix docs for G_MAXSIZE.  (#148262,
	Christophe Fergeau)
2004-07-23 14:39:25 +00:00
Soeren Sandmann
0192c59937 === Released 2.5.0 ===
Sun Jul 18 19:40:30 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* === Released 2.5.0 ===

	* Makefile.am (BUILT_EXTRA_DIST): move gtk-doc.make here.
2004-07-18 17:44:23 +00:00
Mathieu Lacage
7825b925de fill in ulinks 2004-07-16 06:56:20 +00:00
Mathieu Lacage
80b6ffc717 apply patch by stefan Kost 2004-07-16 06:37:58 +00:00
Matthias Clasen
1285c810c6 Improve g_array_free() docs. (#146875, Ed Griffiths) 2004-07-09 13:10:47 +00:00
Matthias Clasen
8414d97c5b Add g_type_module_register_enum() and g_type_module_register_flags().
Tue Jul  6 00:54:38 2004  Matthias Clasen  <maclas@gmx.de>

	* gobject/gobject-sections.txt:
	* gobject/tmpl/gtypemodule.sgml: Add g_type_module_register_enum()
	and g_type_module_register_flags().
2004-07-06 04:56:36 +00:00
Matthias Clasen
b3b1c3b3eb Add forgotten "Since" tag 2004-07-06 04:44:22 +00:00
Matthias Clasen
45306c3a01 Complete the g_log() family. (#135730, Sven Herzberg)
Mon Jul  5 18:50:27 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gmessages.h (g_debug): Complete the g_log()
	family.  (#135730, Sven Herzberg)
2004-07-05 22:52:06 +00:00
Federico Mena Quintero
d131bae53d New section on file name encodings.
2004-06-15  Federico Mena Quintero  <federico@ximian.com>

	* glib/tmpl/conversions.sgml: New section on file name encodings.

	* glib/file-name-encodings.sxd: New diagram of how file name
	encodings work.

	* glib/file-name-encodings.png: Same as above, for inclusion in
	the generated docs.

	* glib/Makefile.am (HTML_IMAGES): Add file-name-encodings.png.
	(EXTRA_DIST): Add the new images.

	* glib/running.sgml: Add ids to the corresponding paragraphs that
	describe G_FILENAME_ENCODING and G_BROKEN_FILENAMES, to be able to
	reference them from elsewhere.
2004-06-16 00:20:54 +00:00
Matthias Clasen
c441dca3db Add an example for GModule usage. (#144127, Tommi Komulainen)
Thu Jun 10 21:29:55 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/tmpl/modules.sgml: Add an example for GModule
	usage.  (#144127, Tommi Komulainen)
2004-06-11 01:31:02 +00:00
Mathieu Lacage
47d4ea5f83 integrate the last changes by Stefan 2004-06-10 20:21:59 +00:00