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