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