2.8.6
[glib.git] / ChangeLog.pre-2-12
blobae1d6cf4354b1ab954f9584d4cf94d3de2f53806
1 2006-01-18  Matthias Clasen  <mclasen@redhat.com>
3         * === Released 2.8.6 ===
5         * configure.in: Bump version
6         
7         * NEWS: Updates
8         
9 2006-01-17  Matthias Clasen  <mclasen@redhat.com>
11         * glib/gkeyfile.c (g_key_file_get_groups): Correct a g_new0()
12         call.  (#327421, Morten Welinder)
14 2006-01-11  Matthias Clasen  <mclasen@redhat.com>
16         * tests/convert-test.c: Don't test items_read and
17         items_written in error cases where it is not set.
19 2006-01-04  Abel Cheung  <maddog@linuxhall.org>
21         * configure.in: Added "ml" "zh_HK" to ALL_LINGUAS.
23 2006-01-03  Matthias Clasen  <mclasen@redhat.com>
25         * === Released 2.8.5 ===
26         
27         * NEWS: Updates
29 2006-01-01  Tor Lillqvist  <tml@novell.com>
31         * glib/gspawn-win32.c (g_spawn_sync_utf8): Set the GIOChannels for
32         stdout and stderr to unbuffered. Otherwise the giochannel layer
33         will try to read from them regardless whether the
34         g_io_channel_win32_poll() call here has indicated
35         readability or not. (#325310)
37 2005-12-29  Matthias Clasen  <mclasen@redhat.com>
39         * glib/gutils.c (glib_check_version): Fix a copy-and-paste error
40         in the docs.  (#325273, Declan Naughton)
42 2005-12-26  Matthias Clasen  <mclasen@redhat.com>
44         * AUTHORS: Update my email
46 2005-12-17  Matthias Clasen  <mclasen@redhat.com>
48         * glib/goption.c (parse_short_option): Set an error in all
49         failure cases.  (#324332, Tim-Philipp Müller)
51 2005-12-17  Sebastian Wilhelmi  <seppi@seppi.de>
53         * glib/gatomic.c: Fix memory barrier position in g_atomic_int_get
54         and g_atomic_pointer_get.
56 2005-12-07  Tor Lillqvist  <tml@novell.com>
58         * glib-gettextize.in: Look up prefix at run-time on Win32,
59         assuming the standard directory structure with glib-gettextize in
60         $prefix/bin.
62 2005-12-01  Tor Lillqvist  <tml@novell.com>
64         * glib/gstdio.c (g_stat): In the Win32 implementation, strip
65         trailing slash(es) for non-root folders. stat() fails if non-root
66         folders are specified with trailing slashes. It's too much hassle
67         to demand that callers strip such slashes themselves, especially
68         as it is easy to get it wrong and strip the slash of a root
69         folder.
70         (g_rename): On NT-based Windows, use MoveFileEx() with
71         MOVEFILE_REPLACE_EXISTING to better match Unix behaviour.
73 2005-11-27  Matthias Clasen  <mclasen@redhat.com>
75         * glib/gunicollate.c (g_utf8_collate_key_for_filename): 
76         Don't read beyond len.  (#322520, Christian Persch)
78 2005-11-17  Matthias Clasen  <mclasen@redhat.com>
80         * glib/gbacktrace.c:
81         * glib/gdate.c:
82         * glib/gthread.c: const correctness fixes, found
83         by Arjan van de Ven and gcc.
84         
85 2005-11-15  Matthias Clasen  <mclasen@redhat.com>
87         * configure.in: Bump version
89         * ===  Released 2.8.4 ===
91 2005-11-13  Matthias Clasen  <mclasen@redhat.com>
93         * NEWS: Updates
95 2005-11-05  Tor Lillqvist  <tml@novell.com>
97         * glib/giowin32.c (g_io_win32_set_flags): Don't call
98         g_warning(). (#320688)
100 2005-11-07  Matthias Clasen  <mclasen@redhat.com>
102         * glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
103         while holding the context lock.  (#320886, Andy Wingo)
105 2005-11-04  Matthias Clasen  <mclasen@redhat.com>
107         * glib/gmain.c (g_child_watch_source_new): Expand
108         the docs.  (#320466, Steffen Gutmann)
110         * glib/gscanner.h: Include gdataset.h.  (#320322)
112         * glib/gdebug.h: add new GDebugFlag for fatal_criticals
113         * glib/gmessages.c: (_g_debug_init): handle G_DEBUG=fatal_criticals,
114         to help find critical warnings in applications.  (#320017,
115         Vincent Untz)
117 2005-10-29  Matthias Clasen  <mclasen@redhat.com>
119         * tests/convert-test.c: Add some tests for conversions between
120         UTF-8, UCS-4 and UTF-16.
122         * glib/gutf8.c (g_utf8_to_ucs4, g_utf8_to_utf16): Fix handling
123         of len == -1, noticed by Morten Welinder.
125 2005-10-26  Matthias Clasen  <mclasen@redhat.com>
127         * glib/gutf8.c (g_ucs4_to_utf8): Don't set items_read twice
128         in the error case, and add some documentation.  (#319806, Morten
129         Welinder)
131 2005-10-19  Manish Singh  <yosh@gimp.org>
133         * configure.in: Use AC_CHECK_FUNCS for _NSGetEnviron, to get the
134         config.h symbol automatically. Fixes bug #313731.
136 2005-10-19  Tor Lillqvist  <tml@novell.com>
138         * glib/gwin32.c (g_win32_get_package_installation_directory):
139         Return a g_strdup()ed copy of the value stored in the hash table,
140         so that it can be g_free()d without leaving a dangling pointer in
141         the hash table. (#319232)
143 2005-10-06  Matthias Clasen  <mclasen@redhat.com>
145         * glib/gunicollate.c (g_utf8_collate_key_for_filename): Handle
146         all-zero sequences correctly.  (#317930, Sebastien Bacher)
148 2005-10-03  Matthias Clasen  <mclasen@redhat.com>
150         * configure.in: Bump version number
152         * === Released 2.8.3 ===
153         * === 
154 2005-11-13  Matthias Clasen  <mclasen@redhat.com>
156         * NEWS: Updates
158 2005-11-05  Tor Lillqvist  <tml@novell.com>
160         * glib/giowin32.c (g_io_win32_set_flags): Don't call
161         g_warning(). (#320688)
163 2005-11-07  Matthias Clasen  <mclasen@redhat.com>
165         * glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
166         while holding the context lock.  (#320886, Andy Wingo)
168 2005-11-04  Matthias Clasen  <mclasen@redhat.com>
170         * glib/gmain.c (g_child_watch_source_new): Expand
171         the docs.  (#320466, Steffen Gutmann)
173         * glib/gscanner.h: Include gdataset.h.  (#320322)
175         * glib/gdebug.h: add new GDebugFlag for fatal_criticals
176         * glib/gmessages.c: (_g_debug_init): handle G_DEBUG=fatal_criticals,
177         to help find critical warnings in applications.  (#320017,
178         Vincent Untz)
180 2005-10-29  Matthias Clasen  <mclasen@redhat.com>
182         * tests/convert-test.c: Add some tests for conversions between
183         UTF-8, UCS-4 and UTF-16.
185         * glib/gutf8.c (g_utf8_to_ucs4, g_utf8_to_utf16): Fix handling
186         of len == -1, noticed by Morten Welinder.
188 2005-10-26  Matthias Clasen  <mclasen@redhat.com>
190         * glib/gutf8.c (g_ucs4_to_utf8): Don't set items_read twice
191         in the error case, and add some documentation.  (#319806, Morten
192         Welinder)
194 2005-10-19  Manish Singh  <yosh@gimp.org>
196         * configure.in: Use AC_CHECK_FUNCS for _NSGetEnviron, to get the
197         config.h symbol automatically. Fixes bug #313731.
199 2005-10-19  Tor Lillqvist  <tml@novell.com>
201         * glib/gwin32.c (g_win32_get_package_installation_directory):
202         Return a g_strdup()ed copy of the value stored in the hash table,
203         so that it can be g_free()d without leaving a dangling pointer in
204         the hash table. (#319232)
206 2005-10-06  Matthias Clasen  <mclasen@redhat.com>
208         * glib/gunicollate.c (g_utf8_collate_key_for_filename): Handle
209         all-zero sequences correctly.  (#317930, Sebastien Bacher)
211 2005-10-03  Matthias Clasen  <mclasen@redhat.com>
213         * configure.in: Bump version number
215         * === Released 2.8.3 ===
217         * NEWS: Updates
219 2005-09-26  Matthias Clasen  <mclasen@redhat.com>
220         
221         * configure.in: Bump version number
223         * === Released 2.8.2 ===
225         * NEWS: Updates
227         * glib/gstrfuncs.c (g_ascii_strtoull): Add details to the 
228         docs.  (#314393, Matthew F. Barnes)
230 2005-09-20  Matthias Clasen  <mclasen@redhat.com>
232         * glib/gqueue.c (g_queue_insert_sorted): Fix the docs.
233         (#316703, Mark Drago)
235 2005-09-16  Tor Lillqvist  <tml@novell.com>
237         * glib/gstrfuncs.c (g_ascii_strcasecmp, g_ascii_strncasecmp): Add
238         warning to doc comment that these functions should not be used on
239         encodings like CP932.
241 2005-09-14  Matthias Clasen  <mclasen@redhat.com>
243         * tests/keyfile-test.c: Add a test for grup names of length 1.
245         * glib/gkeyfile.c (g_key_file_line_is_group): Accept group names
246         of length 1.  (#316309)
248 2005-09-12  Matthias Clasen  <mclasen@redhat.com>
250         * glib/gmarkup.c (g_markup_escape_text): Clarify docs.
252 2005-09-11  Sebastian Wilhelmi  <seppi@seppi.de>
254         * tests/refcount/Makefile.am (INCLUDES): Link the the refcount
255         tests to the system thread library $(G_THREAD_LIBS). Fixes #313744
256         and #314217.
258 2005-09-07  Tor Lillqvist  <tml@novell.com>
260         * glib/Makefile.am: Create also a console version of the
261         gspawn-win32-helper program, gspawn-win32-helper-console.exe.
262         It's otherwise identical to gspawn-win32-helper.exe, except marked
263         as a console application (linked without the -mwindows option).
264         
265         * glib/gspawn-win32.c (do_spawn_directly, do_spawn_with_pipes):
266         Drop the dont_wait parameter. Its truth value correlated 100% with
267         the NULLness of the exit_status parameter anyway, so it's enough
268         to check whether exit_status is NULL. Invert the sense of the
269         dont_return_handle parameter and rename it to do_return_handle, to
270         make the code easier to read by avoiding double negations.
272         (g_spawn_sync_utf8, g_spawn_async_with_pipes_utf8): Modify calls
273         to do_spawn_with_pipes() accordingly.
275         (do_spawn_with_pipes): If we have a console, use the console
276         version of the helper program, otherwise use the GUI one. This
277         avoids extra console windows opening up in some situations. (In
278         case a console application uses the GUI gspawn-win32-helper.exe to
279         spawn another console application we would get a separate console
280         for the spawned console application).
282         * glib-zip.in: Distribute also gspawn-win32-helper-console.exe.
284 2005-09-05  Matthias Clasen  <mclasen@redhat.com>
286         * glib/gmappedfile.c (g_mapped_file_new): Report an error
287         if the file is too large.  (#315275, Kjartan Maraas)
289         * glib/gkeyfile.c (g_key_file_load_from_fd): The return value
290         of read() is signed.  (#315273, Kjartan Maraas)
292 2005-08-31  Tor Lillqvist  <tml@novell.com>
294         * glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
295         the EXE and each DLL have their own atexit function chains.
297         #define g_atexit as atexit instead. This means it has a
298         better chance of doing what the caller wants. For instance,
299         gtkhtml calls g_atexit() registering a function in gtkhtml
300         itself. This caused a crash when g_atexit() was implemented as a
301         function in the GLib DLL. The gtkhtml DLL was already unloaded by
302         the time the GLib DLL got unloaded.
304         * glib/gutils.c: #undef the #define mentioned above, to also get a
305         real g_atexit() into the DLL for backward compatibility. Document
306         the Windows behaviour of g_atexit(), and document the varying ways
307         atexit() can behave in the context of dynamically loaded modules
308         on Unix.
310 2005-08-30  Tor Lillqvist  <tml@novell.com>
312         Make also the g_spawn*() functions take parameters in the GLib
313         file name encoding, i.e. UTF-8, on Windows. Has no impact on Unix
314         API or ABI. Like the other GLib API that was earlier changed to
315         use UTF-8 on Windows, the names of the functions that take UTF-8
316         have _utf8 suffixes added by using preprocessor macros in the
317         header file. The old names are kept for functions with the old
318         behaviour, taking parameters in the system codepage, for DLL ABI
319         stability.
321         * NEWS: Mention this.
323         * glib/gspawn.h: On Win32 add the suffix _utf8 to the names of the
324         g_spawn*() functions.
326         * glib/gspawn-win32.c: Use wide-char API on NT-based
327         Windows. Convert parameters from UTF-8 to wide chars (NT) or
328         system codepage (Win9x) and call the C library _wspawn*() or
329         spawn*() functions respectvely. Add DLL ABI stability versions
330         that take parameters in the system codepage.
332         * glib/gspawn-win32-helper.c: On NT-based Windows use the
333         wide-char versions of argv and envp, and use wide-char API to
334         change directory and spawn the program to run. Remove the verbose
335         debugging output, it was too complex to modify for the wide-char
336         features. (Just add temporary debugging printouts if needed, no
337         need to have them permanently in the source.)
339         * glib/gspawn.c: Corresponding documentation updates.
341         * glib/glib.symbols: Corresponding changes: Mark the ABI stability
342         symbols as PRIVATE, add the new _utf8-suffixed ones.
344 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
346         * glib/gtypes.h (G_MININT64): Cast the constant to gint64; it is
347         guint64 otherwise and that can produce warnings about comparison
348         between signed and unsigned.
350 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
352         * glib/gutils.c: Fix the crt_externs.h include.
354 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
356         * NEWS: Fix spelling of my first name.
358 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
360         * Bump version
362         * === Released 2.8.1 ===
364         * NEWS: Updates
366 2005-08-20  Hans Breuer  <hans@breuer.org>
368         * glib/makefile.msc.in : link with ws2_32.lib
370 2005-08-18  Tor Lillqvist  <tml@novell.com>
372         * configure.in: Check for <sys/wait.h>
374         * glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
376 2005-08-18  Ross Burton  <ross@burtonini.com>
378         * glib/gstring.c:
379         Optimise single-character insertions.
380         
381         * glib/gutf8.c:
382         Note copied code.
383         
384         * tests/string-test.c:
385         Add tests for new optimisation, and fix a leak.
387 2005-08-17  Matthias Clasen  <mclasen@redhat.com>
389         * configure.in: Check for crt_externs.h and _NSGetEnviron.
391         * glib/gutils.c: On Darwin, include crt-externs.h and
392         define environ using _NSGetEnviron().  (#313731)
394 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
396         * glib/gutils.c (g_get_any_init): Move the body of the big if...
397         (g_get_any_init_do): ... to this new function.
398         (g_get_any_init): Declare as inline.
399         (g_get_any_init_locked): New inline function, does the locking.
400         Make use of these two throughout the code.
402 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
404         * glib/gbacktrace.c (g_on_error_stack_trace): Wait for
405         the child process and then simply return. This makes 
406         The "S" option work as documented in g_on_error_query().
407         (#313125, Matthew F. Barnes)
409         * glib/gunicode.h: Update the link to Unicode category
410         values.  (#313369, Behnam Esfahbod)
412         * glib/gqueue.c (g_queue_find_custom): Clarify docs
413         a little.  (#311727, Tristan van Berkom)
415         * glib/abicheck.sh, gobject/abicheck.sh: Make the 
416         check work on ia64 too, where some symbols ended up 
417         in yet another section.