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