g_strdup the keys that we are passed before adding them to the hash
[platform/upstream/glib.git] / ChangeLog
1 2006-10-07  Tor Lillqvist  <tml@novell.com>
2
3         * glib/gwin32.c (get_package_directory_from_module)
4         (g_win32_get_package_installation_directory): g_strdup the keys
5         that we are passed before adding them to the hash tables, to guard
6         against the caller freeing them. (#355955, Andreas Köhler)
7
8 2006-10-06  Matthias Clasen  <mclasen@redhat.com> 
9
10         * glib/gtimer.c: Fix a typo.  (#359190)
11
12 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
13
14         * glib/Makefile.am:
15         * gobject/Makefile.am:
16         Include pltcheck.sh in EXTRA_DIST, and remove redefinition of TESTS.
17         (#358966)
18
19 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
20
21         * glib/gtimer.c (g_usleep): Use nsleep to implement
22         g_usleep on AIX.  (#321974, Andrew Paprocki)
23
24         * configure.in: Check for nsleep
25
26         * glib/gmain.c: Fix typos in doc comments.  
27         (#358421, Tom Tromey)
28
29 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
30
31         * glib/pltcheck.sh: A script to check PLT entries.
32         * glib/Makefile.am (TESTS): Run pltcheck.sh
33
34         * glib/*: Fix includes to correct some issues with
35         PLT entries.  (#354522, Behdad Esfahbod)
36
37 2006-09-17  Hans Breuer  <hans@breuer.org>
38
39         * glib/makefile.msc.in gobject/makefile.msc.in : better filtering
40         of G_GNUC_* stuff when generating .def files. Now also works with
41         newer (less tolerant) linkers, e.g. from vc2500e
42
43 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
44
45         * glib/gbacktrace.c: Assume string.h is available. 
46         (#354523, Behdad Esfahbod)
47
48         * configure.in: Bump version to 2.13.0
49
50         * glib/glib.symbols:
51         * glib/gmain.[hc]: Add functions to create approximate
52         timeouts.  (#353942, Arjan van de Ven)
53
54         * glib/gstdio.c (g_rename): Initialize save_errno.
55         (#355206, Mike Edenfield)
56
57 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
58
59         * glib/gerror.c: Allocate GErrors using the slice allocator.
60         (#354054, Matt Barnes)
61
62 2006-09-02  Matthias Clasen  <mclasen@redhat.com>
63
64         * glib/gtimer.c: Forgotten HAVE_CLOCK_GETTIME.
65
66 2006-09-02  Tor Lillqvist  <tml@novell.com>
67
68         * glib/gutils.c (g_get_any_init_do): Correct C99ism (mixed
69         declarations and code) in Win32 ifdef branch. (#353903, Mike
70         Edenfield)
71
72 2006-09-01  Abel Cheung  <abel@oaka.org>
73
74         * configure.in: Added 'dz' 'hy' to ALL_LINGUAS.
75
76 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
77
78         * configure.in: Check for CLOCK_MONOTONIC.
79
80         * glib/gtimer.c: Only use clock_gettime if we
81         have a monotonic clock.
82
83 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
84
85         * configure.in: Add missing includes to a few test
86         programs.  (#353580, Chris Wilson)
87
88 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
89
90         * glib/gmarkup.c (g_markup_vprintf_escaped): Don't call
91         va_end on caller-provided va_args.  (#353584, Chris Wilson)
92
93 2006-08-29  Tor Lillqvist  <tml@novell.com>
94
95         Remove support for Windows 9x/ME, as will be done also in Pango
96         and GTK+. GTK+ hasn't worked on Win9x since 2.6 or 2.8 anyway, so
97         it's pretty pointless to keep the Win9x code in here either. If
98         somebody is interested, the code can always be found in older GLib
99         versions, and in CVS.
100
101         * glib/gdir.c
102         * glib/gfileutils.c
103         * glib/gspawn-win32-helper.c
104         * glib/gspawn-win32.c
105         * glib/gstdio.c
106         * glib/gutils.c
107         * glib/gwin32.c
108         * glib/gwin32.h: Remove the G_WIN32_IS_NT_BASED() and
109         G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
110         branches, and any variables or static functions used only by the
111         Win9x branches.
112
113         * glib/gwin32.c (g_win32_windows_version_init): Call g_error() if
114         run on Win9x.
115
116 2006-08-27  Matthias Clasen  <mclasen@redhat.com>
117
118         * configure.in: Fix pthread compiler flag detection.
119
120         * glib/gtimer.c: Use Posix monotonic clocks instead of 
121         gettimeofday when available.  (#336114, William Jon McCann)
122
123 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
124
125         * glib/gutils.h: 
126         * glib/gscanner.c: Fix some typos.  (#351741, Kjartan Maraas)
127
128 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
129
130         * configure.in: Fix the pthread compiler flag detection.
131
132         * glib/gunicode.h: 
133         * glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
134         from gconvert.c, move it to gutf8.c, and export it privately.
135
136         * glib/gconvert.c (g_filename_display_name): Adjust callers.
137
138         * glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
139         places to ensure error messages are valid UTF-8.  (#351853,
140         Simon Budig)
141
142 2006-08-22  Matthias Clasen <mclasen@redhat.com>
143
144         * Branch for 2.12
145