Fix the build with -DG_DISABLE_ASSERT. (#525060, Arfrever Frehtes
[platform/upstream/glib.git] / ChangeLog
1 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
2
3         * glib/ghash.c: Fix the build with -DG_DISABLE_ASSERT.
4         (#525060, Arfrever Frehtes Taifersar Arahesis)
5
6 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
7         
8         * glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
9         by G_STRFUNC.  (#524344, Peter, Kjellerstedt)
10
11 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
12
13         * glib/gtestutils.c: Fix a doc typo. (#524742, Hiroyuki Ikezoe)
14
15 2008-03-22  Claudio Saavedra  <csaavedra@gnome.org>
16
17         Bug 523877 – gbookmarkfile: avoid using g_string_append_printf() and
18         other optimizations
19
20         * glib/gbookmarkfile.c: (bookmark_metadata_dump),
21         (bookmark_item_dump), (g_bookmark_file_dump), (expand_exec_line):
22         Replace all calls to g_string_append_printf with g_strconcat () or
23         g_string_append () where appropriate, to reduce the file creation time.
24         Also, use g_string_sized_new () with an appropriate buffer size instead
25         of g_string_new (NULL), to reduce time spent in memory reallocation.
26         (#523877, Claudio Saavedra, Emmanuele Bassi)
27
28 2008-03-22  Emmanuele Bassi  <ebassi@gnome.org>
29
30         Bug 518160 - replace two g_strdup_printf calls in GBookmarkFile
31
32         * glib/gbookmarkfile.c (is_element_full): Compare the fragments
33         instead of building two strings; this avoids two g_strdup_printf()
34         per namespaced element enountered. (#518160, Felix Riemann)
35
36 2008-03-20  Alexander Larsson  <alexl@redhat.com>
37
38         * configure.in:
39         Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
40         Patch from ephraim_owns@hotmail.com
41
42 2008-03-19  Tor Lillqvist  <tml@novell.com>
43
44         Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)
45
46         * glib/win_iconv.c: Fixes for code page 54936 (GB18030)
47         (mbtowc_flags): New function. Check if a code page is one of those
48         for which the dwFlags parameter to MultiByteToWideChar() must be
49         zero. Return 0 or MB_ERR_INVALID_CHARS.
50         (mbcs_mblen): New function for multi-byte (more than two bytes for
51         some characters) code pages. Only handles 54936 for now.
52         (make_csconv): Use it for 54936.
53         (kernel_mbtowc): Use mbtowc_flags().
54
55 2008-03-18  Sebastian Dröge  <slomo@circular-chaos.org>
56
57         Bug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
58
59         * glib/gutils.h: Use "__attribute__ ((__gnu_inline__))" for inlining
60         if either __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE__ are defined. In
61         gcc version prior to 4.3 no correct C99-inline was implemented which
62         has semantic differences to GNU inline.
63
64 2008-03-16  Tor Lillqvist  <tml@novell.com>
65
66         * configure.in: Don't bother defining Autoconf variables for
67         glib.def, gmodule.def, gobject.def and gthread.def when this can
68         be handled easily in */Makefile.am which are the only files that
69         use them. Remove also TESTGMODULE_EXP which isn't used at all.
70
71         * glib/Makefile.am: Corrsponding change.
72         
73 2008-03-14  Michael Natterer  <mitch@imendio.com>
74
75         * glib/*.h: make it possible to disable single-file includes by
76         defining G_DISABLE_SINGLE_INCLUDES when building against GLib.
77         Approved by Tim Janik.
78
79         * glib/glib.h: include <glib/gslice.h>.
80
81         * glib/gi18n.h
82         * glib/gi18n-lib.h
83         * glib/gprintf.h: include <glib.h> so the above works when these
84         files are included without including <glib.h> first.
85
86 2008-03-14  Alexander Larsson  <alexl@redhat.com>
87
88         * configure.in:
89         Add required includes for f_fstypename member check.
90
91 2008-03-14  Alexander Larsson  <alexl@redhat.com>
92
93         * configure.in:
94         Added checks for FEN (Solaris  File Event Notification)
95
96 2008-03-13  Tor Lillqvist  <tml@novell.com>
97
98         * glib-zip.in: Add lib/gio-2.0.lib and lib/gio-2.0.def.
99
100 2008-03-12  Tor Lillqvist  <tml@novell.com>
101
102         * configure.in: Expand gio/win32/Makefile.
103
104 2008-03-12  Matthias Clasen <mclasen@redhat.com>
105
106         * configure.in: Bump version to 2.17.0
107
108         * ChangeLog.pre-2-16: rotate ChangeLog
109         
110         * === branch for 2.16 ===