Use bitwise & when operating on flags. (#399971, Jon Oberheide)
[platform/upstream/glib.git] / ChangeLog
1 2007-01-23  Matthias Clasen  <mclasen@redhat.com>
2
3         * glib/goption.c (print_help): Use bitwise &
4         when operating on flags.  (#399971, Jon Oberheide)
5
6 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
7
8         Some file list updates (#398069, Owen Taylor)
9
10         * docs/Changes-2.0.txt
11         * docs/reference/README.cvs-commits
12         * glib.spec.in: Remove obsolete files
13
14         * tests/Makefile.am:
15         * glib/libcharset/Makefile.am:
16         * gobject/Makefile.am:
17         * Makefile.am: Add some missing files to EXTRA_DIST
18
19         * tests/timeloop-basic.c: Make it build
20         * HACKING: Small updates
21
22 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
23
24         * glib/gdate.c (g_date_set_time): Fix a typo.  (#398203,
25         Owen Taylor)
26
27 2007-01-17  Tor Lillqvist  <tml@novell.com>
28
29         * config.h.win32.in
30         * glib/galloca.h
31         * glib/gbacktrace.h
32         * glib/gwin32.c
33         * glibconfig.h.win32.in
34         * README.win32: More minor tweaks for Digital Mars
35         compiler. (#346808, Serhat Sevki Dincer)
36         
37 2007-01-17  Tor Lillqvist  <tml@novell.com>
38
39         * glib-zip.in: DLLs are always installed in "bin" with current
40         libtool, drop unnecessary logic to check where they are. Include
41         also the COPYING file.
42
43 2007-01-17  Tor Lillqvist  <tml@novell.com>
44
45         * glib/galloca.h: Use <malloc.h> also with Digital Mars compiler
46         on Win32. (#346808, Serhat Sevki Dincer)
47
48 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
49
50         * glib/gthread.h:
51         * glib/gthread.c:
52         * glib/glib.symbols: Revert an accidental ABI break by
53         moving gettime out of the GThreadFunctions struct and making
54         it a separate variable.  (#397139, Joe Marcus Clarke)
55
56         * gthread/*.c: Adapt.
57
58 2007-01-16  Tor Lillqvist  <tml@novell.com>
59
60         * glib/gthread.c (gettime): GetSystemTimeAsFileTime() returns 100s
61         of nanoseconds since 1601, so offset to Unix epoch (1970) and
62         multiply by 100 to get nanoseconds which is what we want.
63
64 2007-01-15  Tor Lillqvist  <tml@novell.com>
65
66         * glib/gmain.h (struct _GPollFD): Fix mistake in my last commit.
67
68 2005-01-15  Matthias Clasen  <mclasen@redhat.com>
69
70         * glib/giochannel.c:
71         * glib/gbookmarkfile.c: Remove redundant NULL-checks.
72         (#369668, Morten Welinder)
73
74 2005-01-15  Matthias Clasen  <mclasen@redhat.com>
75
76         * glib/gthread.c:
77         * gthread/gthread-posix.c: Correct the gettime calculations
78         once more.  (#395203, Chris Wilson)
79
80 2007-01-15  Tor Lillqvist  <tml@novell.com>
81
82         * glib/gmain.h (struct _GPollFD): Prepare for potential Win64
83         build: Use gint64 for the fd field on Win64, as we want to be able
84         to store a HANDLE in it. (#395422) (Other changes will surely also
85         be necessary when building on Win64, at least in giowin32.c.)
86
87 2007-01-15  Tor Lillqvist  <tml@novell.com>
88
89         * glib/gwin32.c (g_win32_getlocale): Simplify greatly. Instead of
90         hardcoding a large switch statement, just ask Windows for the
91         ISO639 and ISO3166 codes. Tack on @Latn or @Cyrl for those
92         languages which can alternatively be written in Latin or
93         Cyrillic. Fixes #395419.
94
95 2007-01-12  Matthias Clasen  <mclasen@redhat.com>
96
97         * glib/gkeyfile.c: Rework the handling of invalid
98         keys/groups again. We are back to being liberal about
99         what we accept, and only reject things that would lead
100         to non-rereadable keyfiles.
101
102         * tests/keyfile-test.c: Adapt tests.
103
104 2007-01-12  Matthias Clasen  <mclasen@redhat.com>
105
106         * glib/gutils.c (g_get_home_dir): Clarify docs.  (#394687,
107         Marc Brockschmidt)
108
109 2007-01-12  Matthias Clasen  <mclasen@redhat.com>
110
111         * glib/gthread.c: Include windows.h and fix
112         include order. (#394258, Kazuki Iwamoto)
113
114 2007-01-12  Matthias Clasen  <mclasen@redhat.com>
115
116         * configure.in: Make G_GNUC_INTERNAL a no-op for
117         gcc 2.95.    (#329031, David Schleef, Marc Brockschmidt)
118         
119 2007-01-12  Matthias Clasen  <mclasen@redhat.com>
120
121         * gthread/gthread-posix.c:
122         * glib/gtimer.c:
123         * glib/gthread.c: Fix errors in the recently moved
124         time calculations.  (#395203, Chris Wilson)
125
126 2007-01-10  Matthias Clasen  <mclasen@redhat.com>
127
128         * configure.in: Actually link gthread against librt.
129         (#394641, Marco Pesenti Gritti)
130
131 2007-01-10  Matthias Clasen  <mclasen@redhat.com>
132
133         * glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys,
134         too.  (#394262)
135         
136 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
137
138         * glib/gutils.h: Use a more optimized g_bit_storage() when gcc is
139         available.  (#371670, Daniel Elstner)
140
141 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
142
143         * gthread/gthread-posix.c (g_thread_impl_init): Don't
144         use _SC_MONOTONIC_CLOCK unless USE_CLOCK_GETTIME is
145         defined.  (#394150)
146
147 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
148
149         Don't link glib against libpthread.  (#393812)
150         
151         * configure.in: Link gthread against librt, not glib itself.
152
153         * glib/gthread.h:
154         * glib/gthread.c: Add a new thread function, gettime.
155
156         * glib/gtimer.c: Use gettime instead of directly working with
157         the various system interfaces.
158
159         * gthread/gthread-impl.c:
160         * gthread/gthread-posix.c:
161         * gthread/gthread-win32.c: Implement gettime.
162         
163 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
164
165         * m4macros/glib-2.0.m4: Use PKG_PROG_PKG_CONFIG.  (#392636,
166         Yevgen Muntyan)
167
168 2007-01-07  Tor Lillqvist  <tml@novell.com>
169
170         * glib/giowin32.c: Handle GIOChannels for file descriptors
171         connected to the console separately. This would typically be the
172         fd 0, 1, or 2 (if not redirected) in a console application. For
173         such fds we don't need a separate thread, as console HANDLEs are
174         waitable objects. (#359202, Michiel de Hoon)
175
176 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
177
178         * tests/bit-test.c (builtin_bit_nth_lsf1), (builtin_bit_nth_lsf2),
179         (builtin_bit_nth_msf): Fix tests on x86_64.
180
181 2007-01-03  Behdad Esfahbod  <behdad@gnome.org>
182
183         * glib/goption.c (_g_unichar_get_width), (_g_utf8_strwidth),
184         (calculate_max_length), (print_entry), (print_help): Take zerowidth
185         and double-width chars into consideration when computing width of a
186         string.  Also fix another bug in width computation. (#346955)
187
188         * glib/guniprop.c (g_unichar_iszerowidth): Fix typo.  It was not
189         working correctly.
190
191 2007-01-03  Behdad Esfahbod  <behdad@gnome.org>
192
193         * glib/glib.symbols:
194         * glib/gunicode.h:
195         * glib/guniprop.c: Add g_unichar_iszerowidth(). (#347645)
196
197 2007-01-03  Behdad Esfahbod  <behdad@gnome.org>
198
199         * glib/gutils.h: Fix bug in g_bit_nth_lsf (#371631) and use
200         __builtin_clzl for g_bit_storage if available (#371670).
201
202         * tests/Makefile.am:
203         * tests/bit-test.c: New test, to test g_bit_* operations against
204         naive and builtin implementations.
205
206 2007-01-02  Behdad Esfahbod  <behdad@gnome.org>
207
208         * configure.in: Avoid more warnings from running libtool --config.
209         (#391364)
210
211 2007-01-03  Michael Natterer  <mitch@imendio.com>
212
213         * removed all .cvsignore files. SVN doesn't need them.
214
215 2007-01-02  Emmanuele Bassi  <ebassi@gnome.org>
216
217         * glib/gbookmarkfile.c (expand_exec_line): Add support for
218         expanding the desktop entry spec variables %U (list of URIs)
219         and %F (list of filenames), so that using the command line
220         from the Exec and TryExec key of a desktop entry file works
221         as intended.
222
223 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
224
225         * configure.in: Avoid warnings from running libtool --config.
226         (#391364, Loïc Minier)
227
228 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
229
230         * glib/gbookmarkfile.c (g_bookmark_file_get_app_info): 
231         Return an error if the uri is bad. (#391370, Maciej Piechotka)
232
233 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
234
235         * glib/glib.symbols: Guard g_slice_debug_tree_statistics
236         by G_ENABLE_DEBUG.  (#390940, Kazuki Iwamoto)
237
238 2007-01-02  Michael Natterer  <mitch@imendio.com>
239
240         * configure.in
241         * Makefile.am: remove references to build/ until a proper decision
242         has been made what to do with it.
243
244 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
245
246         * glib-gettextize.in: Silence autoconf warnings about
247         datarootdir.  (#391367, Loïc Minier)
248
249 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
250
251         * glib/gslice.c: Fix some C99isms.  (#390913, Kazuki Iwamoto)
252
253 Fri Dec 29 13:28:07 2006  Tim Janik  <timj@imendio.com>
254
255         * glib/gslice.c: turned detection of too late g_thread_init() calls
256         into a warning. this is a temporary work-around for some head-room
257         to fix affected programs, memory corruption still occours regardless.
258
259 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
260
261         * tests/gobject/Makefile.am:
262         * tests/gobject/dynamictype.c: New test for dynamic type 
263         registration macros. 
264
265 Thu Dec 28 21:14:45 2006  Tim Janik  <timj@imendio.com>
266
267         * glib/gslice.c: removed pthread-dependant debugging bits, the code
268         was already converted to GMutex. this obsoletes Tor's recent fixups.
269
270 2006-12-28  Tor Lillqvist  <tml@novell.com>
271
272         * glib/gutils.h (G_WIN32_DLLMAIN_FOR_DLL_NAME)
273         * glib/gutils.c (get_windows_directory_root): : Use only the wide
274         character API here, too.
275
276         * glib/gslice.c: Make it compile on Win32 without pthreads: Use a
277         Win32 critical section instead.
278
279         * glib/gmessages.c (g_logv): On Win32, if we get a fatal error
280         message while being debugged we break into the debugger with
281         G_BREAKPOINT(). Don't call abort() if the user is foolhardy enough
282         to continue after the breakpoint. The user presumably knows what
283         he is doing and deserves what he gets. (#376645, Andreas Köhler)
284
285 Thu Dec 28 12:50:31 2006  Tim Janik  <timj@imendio.com>
286
287         * glib/gslice.h, glib/gslice.c: implemented static debugging
288         hash-tree to validate slice adresses and sizes with G_SLICE=debug-blocks.
289         use abort() to exit in mem_error() to allow catching of these in gdb.
290         abort programs with a descriptive error message if g_thread_init() is
291         called after GSlice was in use. previously this just silently corrupted
292         the magazines.
293
294         * glib/ghash.c (struct _GHashNode): reordered fields to keep 8-byte 
295         pointer alignment on 64bit systems and request smaller slice sizes
296         on 32bit systems.
297
298         * tests/slice-test.c: support '~' option flag to introduce slice 
299         allocation/release corruption with a significant probability. this
300         allowes testing of G_SLICE=debug-blocks.
301
302 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
303
304         * glib/gconvert.[hc]:
305         * glib/gfileutils.c:
306         * glib/giochannel.c:
307         * glib/goption.c:
308         * glib/gspawn.c:
309         * glib/gunicollate.c:
310         * glib/gutils.c:
311         * tests/timeloop-basic.c: 
312         Consistently use gsize rather than size_t.  (#333310,
313         Morten Welinder)
314
315 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
316
317         * configure.in: Use AC_CACHE_CHECK for the nl_langinfo
318         check.  (#304517, Lőrinczy Zsigmond)
319
320 2006-12-27  Tor Lillqvist  <tml@novell.com>
321
322         * glib/gwin32.h
323         * glib/gwin32.c (get_package_directory_from_module)
324         (g_win32_get_package_installation_directory)
325         (g_win32_get_package_installation_subdirectory): Add const to
326         gchar* arguments. (#384523, Yevgen Muntyan)
327         
328 2006-12-27  Ryan Lortie  <desrt@desrt.ca>
329
330         * glib/ghash.c: cache the value of the hash function
331         in the GHashNode.  this speeds up resizing the hash
332         table and it also allows a slight optimisation on
333         lookups.  (#388332)
334
335 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
336
337         * glib/gunicollate.c (g_utf8_collate_key): Don't modify
338         the current locale.  (#389300)
339
340 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
341
342         * glib/gutf8.c: Add hints for locale-dependent interfaces.
343         * glib/gconvert.c: Add hints for locale-dependent interfaces.
344
345         * glib/gconvert.c (g_get_filename_charsets): Improve
346         formatting of docs. 
347
348 2006-12-26  Behdad Esfahbod  <behdad@gnome.org>
349
350         * configure.in: Use libtool to determine shared library suffix.
351         (#357245)
352
353 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
354
355         * tests/run-collate-tests.sh:
356         * tests/unicode-collate.c: Silently skip tests if
357         we can't set LC_COLLATE to en_US.  (#336438)
358
359 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
360
361         * glib/gkeyfile.c (g_key_file_is_key_name): Accept
362         '/', '+' and '.' in key names, since gnome-vfs uses
363         mime types as keys in some cache.
364
365         * tests/keyfile-test.c: Tests for the above.
366
367 2006-12-18  Matthias Clasen  <mclasen@redhat.com>
368
369         * configure.in: Fix the broken poll test.  (#387260,
370         Christian Persch)
371
372         * glib/gmain.c (child_watch_helper_thread): Readd a
373         return which was removed as dead code a while ago.
374         icc may consider it dead, but gcc doesn't like non-void
375         functions without a return...  (#354707)
376
377         * tests/Makefile.am: Try a different fix for bug 346373.
378
379 2006-12-18  Matthias Clasen  <mclasen@redhat.com>
380
381         Fix bug 161288:
382
383         * configure.in: Check for wcslen.
384
385         * glib/gnulib/vasnprintf.c: Handle wcslen missing.
386
387 2006-12-18  Matthias Clasen  <mclasen@redhat.com>
388
389         * glib/gkeyfile.c: Accept '@' in locale names.
390
391         * glib/gkeyfile.c: Tighten up the check for allowed
392         key and group names.  (#343191, Tommi Komulainen)
393
394         * tests/keyfile-test.c: Test handling of key and group names.
395
396         * tests/Makefile.am: Don't use $RANDOM if the shell doesn't
397         have it.  (#346373, Thomas Klausner)
398
399 2006-12-17  Behdad Esfahbod  <behdad@gnome.org>
400
401         * glib/gstring.c: Improve docs about string functions taking a
402         length.  (#378727)
403
404 2006-12-17  Matthias Clasen  <mclasen@redhat.com>
405
406         * glib/gconvert.c:
407         * glib/gutf8.c (_g_charset_get_aliases): Put the G_GNUC_INTERNAL
408         where gcc doesn't complain about it.
409
410         * glib/ghash.c: Make ref_count an int to avoid compiler
411         warnings.
412
413         * configure.in: Use AC_LANG_SOURCE for the clock test.
414         
415         * glib/gthreadpool.h:
416         * glib/gthreadpool.c (g_thread_pool_free): Don't use "wait"
417         as parameter name.  (#379207, Christian Biere)
418
419         * glib/gspawn.c: Refer to g_child_watch_add() in addition
420         to waitpid().
421
422         * glib/gstrfuncs.c (g_strndup, g_strnfill): Move docs
423         inline, and improve wording.  (#372598, Behdad Esfahbod)
424
425         * glib/gspawn.c: Add some pointers to the gdk_spawn_
426         variants.  (#338134, Federico Mena Quintero)
427
428         * configure.in: Make montonic clock test work again. Does
429         AC_COMPILE_IFELSE not get confdefs ? Also, move the clock
430         tests below the thread checks to fix #364663.
431
432         * tests/run-markup-tests.sh: Don't use diff -u  (#380801,
433         Marek Rouchal)
434
435         * glib/gspawn.c: Fix the recent fdwalk()-related changes
436         to not break mapping-test.  (#286838, Marco Barisione)
437
438         * glib/gstring.c (g_string_chunk_new): Don't shadow size.
439         (#386760, Kazuki IWAMOTO)
440
441 2006-12-16  Matthias Clasen  <mclasen@redhat.com>
442
443         * glib/gstring.c: Move more documentation inline.
444
445         * configure.in: Use AC_COMPILE_IFELSE for the monotonic
446         clock test.  (#362918, Han-Wen Nienhuys, Jeremy Lainé)
447
448         * glib/gstring.c: Move documentation inline. 
449
450 2006-12-15  Matthias Clasen  <mclasen@redhat.com>
451
452         * glib/giochannel.h: Make ref_count a gint to avoid
453         compiler warnings.  (#321977, Andrew Paprocki)
454
455         * configure.in: On Solaris, set CFLAGS and LDFLAGS that
456         work both with Sun cc and gcc.  (#315061, Lazlo Peter)
457
458         * glib/gspawn.c: Undefine READ_OK to fix the build on
459         old versions of Darwin.  (#327800)
460
461         * glib/glib.symbols:
462         * glib/gstring.[hc] (g_string_chunk_clear): Add a function
463         for clearing a GStringChunk. (#364608, Matt Barnes)
464
465         * glib/guniprop.c (interval_compare): Avoid a compiler
466         warning.
467
468         * glib/gspawn.c (do_exec): Call set_cloexec() with
469         the right parameters.  (#386252, Guillaume Desmottes)
470
471 2006-12-15  Matthias Clasen  <mclasen@redhat.com>
472
473         Fix #357585, Padraig O'Briain.
474         
475         * configure.in: Check for fdwalk.
476         
477         * glib/gspawn.c (do_exec): Use fdwalk() to close all
478         file descriptors. 
479
480         * glib/gspawn.c (fdwalk): Fallback implementation of
481         fdwalk.
482
483 2006-12-14  Matthias Clasen  <mclasen@redhat.com>
484
485         * glib/gconvert.c (open_converter): Don't use alloca
486         and avoid allocating memory for small keys that are 
487         already cached.  (#172406, Morten Welinder)
488
489         * glib/gmain.c (g_child_watch_add_full): Improve the docs.
490         (#345569, Tim-Philipp Müller)
491
492         * glib/gkeyfile.c (g_key_file_add_group): If the group
493         is already there, make it current.  (#385910, Joe Halliwell)
494
495         * tests/keyfile-test.c: Add a test for duplicate groups/keys.
496
497 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
498
499         * m4macros/glib-gettext.m4: Require AC_CANONICAL_HOST in
500         GLIB_WITH_NLS.  (#385132, Laszlo Peter)
501
502 2006-12-12  Matthias Clasen  <mclasen@redhat.com>
503
504         * configure.in: Add a check for broken poll on Mac OS X.
505
506         * glib/gmain.c: Use poll emulation on OS X.  (#302672, Toby Peterson,
507         patch by Dave Vasilevsky)
508
509 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
510
511         * glib/gatomic.c: Don't use local numeric labels in
512         inline assembler on AIX.  (#316434, Hans Rosenfeld)
513
514         * glib/gunicode.h (g_utf8_next_char): Cast to const char *,
515         not char *.  (#138153, Nikolai Weibull)
516
517 Wed Nov 22 16:09:13 2006  Tim Janik  <timj@gtk.org>
518
519         * glib/gmacros.h: added G_GNUC_MAY_ALIAS, suggested by Mathias
520         Hasselmann in bug #335341, fixes bug #335853.
521
522 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
523
524         * m4macros/glib-gettext.m4: Apply a patch from James 
525         Henstridge for compatibility with automake 2.60 (#343825)
526
527 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
528
529         * sanity_check: Replace bash-specific == with sh-understood =.
530         Fixes bug #373864.
531
532 2006-11-05  Hans Breuer  <hans@breuer.org>
533
534         * glib/makefile.msc.in : glib/ version not the gobject/ 
535         one I accidentially commited. Fixes bug #371074.
536         
537 2006-11-05  Tor Lillqvist  <tml@novell.com>
538
539         * makefile.mingw
540         * gmodule/makefile.mingw.in
541         * glib/makefile.mingw.in
542         * gobject/makefile.mingw.in
543         * gthread/makefile.mingw.in
544         * tests/makefile.mingw.in: Remove from CVS. Haven't been
545         maintained or distributed for long.
546
547 2006-10-26  Pascal Terjan  <pterjan@linuxfr.org>
548
549         * glib/libcharset/localcharset.c: Fix small leak on failed
550         realloc in _g_locale_get_charset_aliases (#338582)
551
552 2006-10-16  Behdad Esfahbod  <behdad@gnome.org>
553
554         * glib/gnulib/Makefile.am: Add $(GLIB_DEBUG_FLAGS).  (#362543,
555         Peter Kjellerstedt)
556
557 2006-10-15  Sebastian Wilhelmi  <seppi@seppi.de>
558
559         * tests/Makefile.am: Compile errorcheck-mutex-test with thread
560         libraries explicitly. (#74748, Javier Villavicencio)
561
562 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
563
564         Add a way to obtain Unicode script information.  (#348348,
565         Marco Barisione)
566
567         * glib/glib.symbols:
568         * glib/gunicode.h: Add GUnicodeScript enumeration and
569         g_unichar_get_script. 
570         
571         * glib/guniprop.c: Implement g_unichar_get_script.
572
573         * glib/gscripttable.h: Generated private header containing
574         script tables.
575
576         * glib/gen-script-table.pl: Script to generate gscripttable.h.
577
578         * glib/Makefile.am: Update
579
580 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
581
582         * tests/run-markup-tests.sh: Small portability fix.  (#347944,
583         Dan McMahill)
584
585 2006-10-07  Tor Lillqvist  <tml@novell.com>
586
587         * glib/gwin32.c (get_package_directory_from_module)
588         (g_win32_get_package_installation_directory): g_strdup the keys
589         that we are passed before adding them to the hash tables, to guard
590         against the caller freeing them. (#355955, Andreas Köhler)
591
592 2006-10-06  Matthias Clasen  <mclasen@redhat.com> 
593
594         * glib/gtimer.c: Fix a typo.  (#359190)
595
596 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
597
598         * glib/Makefile.am:
599         * gobject/Makefile.am:
600         Include pltcheck.sh in EXTRA_DIST, and remove redefinition of TESTS.
601         (#358966)
602
603 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
604
605         * glib/gtimer.c (g_usleep): Use nsleep to implement
606         g_usleep on AIX.  (#321974, Andrew Paprocki)
607
608         * configure.in: Check for nsleep
609
610         * glib/gmain.c: Fix typos in doc comments.  
611         (#358421, Tom Tromey)
612
613 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
614
615         * glib/pltcheck.sh: A script to check PLT entries.
616         * glib/Makefile.am (TESTS): Run pltcheck.sh
617
618         * glib/*: Fix includes to correct some issues with
619         PLT entries.  (#354522, Behdad Esfahbod)
620
621 2006-09-17  Hans Breuer  <hans@breuer.org>
622
623         * glib/makefile.msc.in gobject/makefile.msc.in : better filtering
624         of G_GNUC_* stuff when generating .def files. Now also works with
625         newer (less tolerant) linkers, e.g. from vc2500e
626
627 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
628
629         * glib/gbacktrace.c: Assume string.h is available. 
630         (#354523, Behdad Esfahbod)
631
632         * configure.in: Bump version to 2.13.0
633
634         * glib/glib.symbols:
635         * glib/gmain.[hc]: Add functions to create approximate
636         timeouts.  (#353942, Arjan van de Ven)
637
638         * glib/gstdio.c (g_rename): Initialize save_errno.
639         (#355206, Mike Edenfield)
640
641 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
642
643         * glib/gerror.c: Allocate GErrors using the slice allocator.
644         (#354054, Matt Barnes)
645
646 2006-09-02  Matthias Clasen  <mclasen@redhat.com>
647
648         * glib/gtimer.c: Forgotten HAVE_CLOCK_GETTIME.
649
650 2006-09-02  Tor Lillqvist  <tml@novell.com>
651
652         * glib/gutils.c (g_get_any_init_do): Correct C99ism (mixed
653         declarations and code) in Win32 ifdef branch. (#353903, Mike
654         Edenfield)
655
656 2006-09-01  Abel Cheung  <abel@oaka.org>
657
658         * configure.in: Added 'dz' 'hy' to ALL_LINGUAS.
659
660 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
661
662         * configure.in: Check for CLOCK_MONOTONIC.
663
664         * glib/gtimer.c: Only use clock_gettime if we
665         have a monotonic clock.
666
667 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
668
669         * configure.in: Add missing includes to a few test
670         programs.  (#353580, Chris Wilson)
671
672 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
673
674         * glib/gmarkup.c (g_markup_vprintf_escaped): Don't call
675         va_end on caller-provided va_args.  (#353584, Chris Wilson)
676
677 2006-08-29  Tor Lillqvist  <tml@novell.com>
678
679         Remove support for Windows 9x/ME, as will be done also in Pango
680         and GTK+. GTK+ hasn't worked on Win9x since 2.6 or 2.8 anyway, so
681         it's pretty pointless to keep the Win9x code in here either. If
682         somebody is interested, the code can always be found in older GLib
683         versions, and in CVS.
684
685         * glib/gdir.c
686         * glib/gfileutils.c
687         * glib/gspawn-win32-helper.c
688         * glib/gspawn-win32.c
689         * glib/gstdio.c
690         * glib/gutils.c
691         * glib/gwin32.c
692         * glib/gwin32.h: Remove the G_WIN32_IS_NT_BASED() and
693         G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
694         branches, and any variables or static functions used only by the
695         Win9x branches.
696
697         * glib/gwin32.c (g_win32_windows_version_init): Call g_error() if
698         run on Win9x.
699
700 2006-08-27  Matthias Clasen  <mclasen@redhat.com>
701
702         * configure.in: Fix pthread compiler flag detection.
703
704         * glib/gtimer.c: Use Posix monotonic clocks instead of 
705         gettimeofday when available.  (#336114, William Jon McCann)
706
707 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
708
709         * glib/gutils.h: 
710         * glib/gscanner.c: Fix some typos.  (#351741, Kjartan Maraas)
711
712 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
713
714         * configure.in: Fix the pthread compiler flag detection.
715
716         * glib/gunicode.h: 
717         * glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
718         from gconvert.c, move it to gutf8.c, and export it privately.
719
720         * glib/gconvert.c (g_filename_display_name): Adjust callers.
721
722         * glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
723         places to ensure error messages are valid UTF-8.  (#351853,
724         Simon Budig)
725
726 2006-08-22  Matthias Clasen <mclasen@redhat.com>
727
728         * Branch for 2.12
729