2.16.4
[glib.git] / ChangeLog
blobe28ef668e231c2b0c60368b1d202a9e10bd74160
1 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
2         
3         * === Released 2.16.4 ===
5 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
7         * NEWS: Updates
9 2008-05-20  Behdad Esfahbod  <behdad@gnome.org>
11         Bug 459905 – Bug in wcwidth data
12         Bug 534085 – g_unichar_iswide_cjk() has a totally wrong table
13         * glib/guniprop.c (g_unichar_iswide), (g_unichar_iswide_cjk):
14         Regenrate wide and wide_cjk tables from Unicode 5.1.0 data directly.
15         Not using Markus Kuhn's tables anymore.
17 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
19         * NEWS: Updates
21 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
23         Backport from trunk:
25         * glib/pcre/pcre_compile.c: Apply fix for CVE-2008-2371 to
26         fix a heap-based buffer overflow.
28 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
30         * glib/pcre/*: Update to PCRE 7.7
32 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
34         Backport from trunk:
36         Bug 538119 – glib's mainloop leaks a pipe to sub-processes
38         * glib/gmain.c (g_main_context_init_pipe): Don't leak the
39         pipes to child processes. Patch by Thiago Macieira.
41 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
43         Backport from trunk:
45         Bug 502511 – g_assert_cmphex prints invalid message
47         * glib/gtestutils.c (g_assertion_message_cmpnum): Actually print
48         hex numbers in hex.
49         Pointed out by Tor Lillqvist
51 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
53         Backport from trunk:
55         Bug 314453 – Nautilus crashes in Solaris when browsing the attached
56         file
58         * glib/gunicollate.c (g_utf8_collate_key): Handle strfxrm returning
59         -1 a little better. Problem pointed out by Takao Fujiwara
61 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
63         Backport from trunk:
65         Bug 529321 – make check fails in glib/pcre
67         * glib/pcre/Makefile.am: include Makefile.decl to fix 'make check'.
68         Patch by Hiroyuki Ikezoe
70 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
72         Backport from trunk:
74         Bug 536158 – also bump GHashTable version when a node is removed via
75         g_hash_table_iter_remove()/g_hash_table_iter_steal()
77         * glib/ghash.c (iter_remove_or_steal): Bump the hash table
78         version. Patch by Jean-Yves Lefort
80 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
82         Backport from trunk:
84         Bug 519137 – g_slice_dup macro needs cast for 64-bit platform
86         * glib/gslice.h (g_slice_copy): Apply type casts needed
87         for proper compilation on 64-bit platforms.
89 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
91         Bug 316221 - G_LOCK warns about breaking strict-aliasing rules
93         * configure.in:
94         * glib/gthread.h: Revert previous patch as it doesn't improve the
95         situation and results in other warnings.
97 2008-06-19  Tor Lillqvist  <tml@novell.com>
99         Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()
101         * glib/gspawn-win32-helper.c (main): Write also the exit status of
102         the spawned process to the error report pipe. Patch by Hiroyuki
103         Ikezoe.
105 2008-06-07  Tor Lillqvist  <tml@novell.com>
107         * glib/gstdio.c (g_access): Define X_OK if necessary (MSVC).
109 2008-05-30  Tor Lillqvist  <tml@novell.com>
111         * glib/gstdio.c (g_access) [Win32]: Mask out X_OK to avoid problem
112         on Vista. X_OK was just ignored by access() in earlier Microsoft C
113         libraries. (Which is fine as executability has little meaning on
114         Windows.) The one on Vista returns an error if X_OK is passed.
116 2008-05-29  Tor Lillqvist  <tml@novell.com>
118         * glib/gnulib/printf-args.c (printf_fetchargs): wint_t is short on
119         Windows, and gcc warns: "wint_t is promoted to int when passed
120         through ... (so you should pass int not wint_t to va_arg)." And
121         indeed g_print("%C", L'a') crashes. So do as gcc says then.
123 2008-05-17  Wouter Bolsterlee  <wbolster@svn.gnome.org>
125         * build: Fixup Tor's "build" svn:external commit. The
126         svn:external was not actually removed, so this caused
127         errors when updating.
129 2008-05-17  Tor Lillqvist  <tml@novell.com>
131         * build: Don't include the "build" module with svn:externals any
132         longer. Instead add the still relevant directories and files from
133         it for real here in GLib.
135 2008-05-14  Michael Natterer  <mitch@imendio.com>
137         Merged from trunk:
139         * glib/gatomic.c: #include "config.h" before using G_ATOMIC_ARM.
141 2008-04-21  Tor Lillqvist  <tml@novell.com>
143         Bug 528752 - Win32 build and SSL not working
145         This bug report against libsoup points out an issue with the use
146         of bitfields in the GIOChannel struct that should really be taken
147         care of here in GLib.
149         * configure.in: Add Autoconf variable GLIB_EXTRA_CFLAGS which will
150         contain the -mms-bitfields flag on Windows.
151         
152         * glib-2.0.pc.in: Add it to Cflags.
154 2008-04-11  Tor Lillqvist  <tml@novell.com>
156         * configure.in
157         * glibconfig.h.win32.in
158         * glib/gutils.c: Revert my changes for static build for Win32
159         from 2008-04-03--04. They were not complete and it's not
160         apropriate to do changes like that in the stable branch anyway. I
161         will continue that effort in trunk.
163 2008-04-09  Federico Mena Quintero  <federico@novell.com>
165         Merged from trunk:
167         * glib/gbookmarkfile.c (bookmark_metadata_free): Don't leak
168         the apps_by_name hash table if the applications list is empty.
170 2008-04-08  Matthias Clasen  <mclasen@redhat.com>
172         * configure.in: Bump version
174         * === Released 2.16.3 ===
176 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
178         * tests/casemap.txt:
179         * tests/casefold.txt: Update for Unicode 5.1
181         * NEWS: Updates
183 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
185         Merged from trunk:
187         Bug 491554 – Update to Unicode 5.1.0
189         * glib/gunichartables.h:
190         * glib/gunicode.h:
191         * glib/gunibreak.h:
192         * glib/gmirroringtable.h:
193         * glib/gscripttable.h:
194         * glib/gen-script-table.pl: Update to Unicode 5.1.0. Patch by
195         Behdad Esfahbod
197 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
199         Merged from trunk:
201         Bug 526619 – make test-report crash
203         * glib/gtester.c: Allocate enough space for argv. Patch by
204         Hiroyuki Ikezoe
206 2008-04-04  Matthias Clasen  <mclasen@redhat.com>
208         * glib/gmain.c: Make the fix for bug 448943 work.
210 2008-04-04  Tor Lillqvist  <tml@novell.com>
212         * configure.in: Make sure we don't build both shared and static at
213         the same time on Windows. Put a #define for
214         GLIB_STATIC_COMPILATION into glibconfig.h in the static case, so
215         that the use of variables from libglib gets the GLIB_VAR macro in
216         gtypes.h automatically correct. This means that a shared and
217         static build of GLib can't be installed in the same prefix on
218         Windows, which sucks a bit. But with variables in the GLib API,
219         there isn't much we can do otherwise. The alternative would be to
220         force the developer who compiles against a statically built GLib
221         to use -DGLIB_STATIC_COMPILATION.
223         * glibconfig.h.win32.in: Define GLIB_STATIC_COMPILATION here also,
224         if needed.
226 2008-04-03  Tor Lillqvist  <tml@novell.com>
228         * configure.in: Don't enforce shared library build only on
229         Windows. It might well make sense to build static libraries in
230         some use cases.
232         * glib/gutils.c: Don't compile the DllMain if building libglib
233         statically. Also in that case don't return NULL from
234         _glib_get_installation_directory(), but return the installation
235         directory of the program's .exe file.
237 2008-04-03  Tor Lillqvist  <tml@novell.com>
239         Bug 525972 - UCS-4 not in the new win_iconv implementation
241         * glib/win_iconv.c: Add UCS-4. Also add spelling of UCS-2 without
242         the hyphen.
244 2008-04-03  Matthias Clasen  <mclasen@redhat.com>
246         Bug 448943 – g_timeout_add_seconds() problems
248         * glib/gmain.c (g_timeout_set_expiration): Prevent expiration
249         time going negative. Reported by Cody Russell, analyzed by
250         Olivier Crete, patch by Sjoerd Simons.
252 2008-04-02  Tor Lillqvist  <tml@novell.com>
254         Bug 524314 - g_convert() on Win32 implicitly converts full width
255         alphanumerics into half width
256         
257         * glib/win_iconv.c: Update from Yukihiro Nakadaira. Use
258         WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte() unless the
259         //translit flag was suffixed to the codeset name.
261         * glib/gconvert.c: Include win_iconv.c earlier so that its
262         definition of WINVER before it includes <windows.h> is used.
264 2008-03-31  Matthias Clasen  <mclasen@redhat.com>
266         * configure.in: Bump version
268         * === Released 2.16.2 ===
270         * NEWS: More updates
272 2008-03-31  Tor Lillqvist  <tml@novell.com>
274         * glib/gmain.c (g_poll): Improve fix for #525192 below: Use
275         SleepEx() so that the sleep is alertable. Thanks to John
276         Ehresman.
278 2008-03-31  Tor Lillqvist  <tml@novell.com>
280         * glib/gwin32.c
281         (g_win32_get_package_installation_directory_of_module): Fix Cygwin
282         breakage. Patch by Lieven van der Heide.
284 2008-03-31  Tor Lillqvist  <tml@novell.com>
286         Bug 525192 - 100% CPU if run main loop with no IO sources
288         * glib/gmain.c (g_poll) [Win32]: Patch by Neil Roberts.
290 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
292         * NEWS: Updates
294         * configure.in: Bump version to 2.16.2
296 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
298         Merged from trunk:
300         * glib/gtester.c: Don't use ARG_MAX.  (#522335, patch by
301         Samuel Thibault, adapted by Sebastian Dröge)
303 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
305         Merged from trunk:
307         * glib/glibintl.h:
308         * glib/gstrfuncs.c:
309         * glib/gutils.c: Simple fixes to help building GLib on
310         embedded systems without NLS.  (#524350, Peter Kjellerstedt)
312 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
314         Merged from trunk:
316         * glib/ghash.c: Fix the build with -DG_DISABLE_ASSERT.
317         (#525060, Arfrever Frehtes Taifersar Arahesis)
319 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
321         Merged from trunk:
323         * glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
324         by G_STRFUNC.  (#524344, Peter Kjellerstedt)
326 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
328         Merged from trunk:
330         * glib/gtestutils.c: Fix a doc typo. (#524742, Hiroyuki Ikezoe)
332 2008-03-20  Alexander Larsson  <alexl@redhat.com>
334         * configure.in:
335         Final fixes for struct statfs.f_fstypename checks (OpenBSD). (#521045)
336         Patch from ephraim_owns@hotmail.com
338 2008-03-19  Tor Lillqvist  <tml@novell.com>
340         Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)
342         * glib/win_iconv.c: Fixes for code page 54936 (GB18030)
343         (mbtowc_flags): New function. Check if a code page is one of those
344         for which the dwFlags parameter to MultiByteToWideChar() must be
345         zero. Return 0 or MB_ERR_INVALID_CHARS.
346         (mbcs_mblen): New function for multi-byte (more than two bytes for
347         some characters) code pages. Only handles 54936 for now.
348         (make_csconv): Use it for 54936.
349         (kernel_mbtowc): Use mbtowc_flags().
351 2008-03-18  Sebastian Dröge  <slomo@circular-chaos.org>
353         Bug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
355         * glib/gutils.h: Use "__attribute__ ((__gnu_inline__))" for inlining
356         if either __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE__ are defined. In
357         gcc version prior to 4.3 no correct C99-inline was implemented which
358         has semantic differences to GNU inline.
360 2008-03-14  Alexander Larsson  <alexl@redhat.com>
362         * configure.in:
363         Add required includes for f_fstypename member check.
365 2008-03-12  Sebastian Dröge  <slomo@circular-chaos.org>
367         Bug 316221 - G_LOCK warns about breaking strict-aliasing rules
369         * configure.in:
370         * glib/gthread.h: Prevent the compiler from warning about breaking
371         strict-aliasing rules when using gcc 4.3 and G_LOCK on C sources.
373 2008-03-12  Tor Lillqvist  <tml@novell.com>
375         Bug 520914 - win_iconv doesn't support UCS-2
376         
377         * glib/win_iconv.c: Make UCS-2 just an alias for
378         UTF-16. Technically this is wrong of course, but shouldn't matter
379         an awful lot in practice.
381 2008-03-11  Murray Cumming  <murrayc@murrayc.com>
383         Bug 521591 – g_markup_parse_context_parse() creates GError message that 
384         is invalid UTF8.
386         * glib/gmarkup.c (set_error): Make sure that the GError::message is 
387         valid UTF-8 even if it is complaining about invalid UTF-8 in the 
388         markup text, using _g_utf8_make_valid().
390 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
391         
392         * === Released 2.16.1 ===
394         * configure.in: Bump version
396         * NEWS: Updates
398         * glib/pcre/*: Update the internal copy of PCRE to 7.6, this time
399         for real.
401 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
403         * === Released 2.16.0 ===
405         * NEWS: Updates
407         * configure.in: Bump version to 2.16.0
409 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
411         * glib/gslist.c: Fix a doc typo
413 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
415         * glib/giochannel.c (g_io_channle_set_encoding): Fix confusing
416         error message.  (#521028, Peter Kjellerstedt)
418 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
420         * tests/testglib.c: Still set the udddocs and uddpubshare 
421         variables for the verbose case.
423 2008-03-07  Alexander Larsson  <alexl@redhat.com>
425         * configure.in:
426         Look for struct statfs.f_fstypename
428 2008-03-07  Tor Lillqvist  <tml@novell.com>
430         * README.win32: Updates.
432 2008-03-05  Tor Lillqvist  <tml@novell.com>
434         * glib/glib.symbols: Remove g_uri_get_scheme.
436 2008-03-04  Alexander Larsson  <alexl@redhat.com>
438         * glib/gurifuncs.c:
439         Remove deprecated symbols we kept for one release.
441 2008-03-03  Matthias Clasen  <mclasen@redhat.com>
443         * glib/gutils.h: Add a version of G_INLINE_FUNC for
444         __GNUC__ && __GNUC_STDC_INLINE__, patch by Jakub Jelinek
446 2008-03-03  Tor Lillqvist  <tml@novell.com>
448         * glib/gspawn-win32.c (read_helper_report): Must set the GError
449         also in the unexpected EOF case.
450         (do_spawn_with_pipes): Must protect also new_argv[0].
452 2008-03-01  Benjamin Otte  <otte@gnome.org>
454         * glib/glist.c:
455         fix last commit.
457 2008-02-29  Matthias Clasen  <mclasen@redhat.com>
459         * glib/gslist.c: 
460         * glib/glist.c: Move docs inline, and improve the 
461         g_[s]list_delete_link docs.  (#519352, Owen Taylor)
463 2008-02-29  Tor Lillqvist  <tml@novell.com>
465         * glib/win_iconv.c (name_to_codepage): Add some GNU libiconv
466         compatibility: Recognize "" and "char" as aliases for the current
467         locale's charset. (We use the system ANSI codepage as returned by
468         GetACP().) Recognize "wchar_t" as an alias for UTF-16LE.
470 2008-02-27  Matthew Barnes  <mbarnes@redhat.com>
472         * glib/gchecksum.[ch] (g_checksum_update),
473         (g_compute_checksum_for_string): Make 'length' parameter
474         signed to accomodate passing negative lengths. (#510855)
476 2008-02-26  Tor Lillqvist  <tml@novell.com>
478         * glib/gmain.c (g_poll): Further patch by Vlad Grecescu: Drop the
479         code path that called WaitMessage(), as WaitMessage() doesn't
480         offer any chance for APCs to run. Instead just use the code path
481         with MsgWaitForMultipleObjectsEx() even for the
482         wait-only-for-messages case. (#517484)
484 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
486         * configure.in: Bump version
488         * === Released 2.15.6 ===
490         * NEWS: Updates
492 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
494         * glib/gtestfuncs.c: Add Since: markers to docs.  (#518556, 
495         Jerry Yu)
497 2008-02-25  Alexander Larsson  <alexl@redhat.com>
499         * glib/glib.symbols:
500         * glib/gurifuncs.[ch]:
501         Rename g_uri_get_scheme to g_uri_parse_scheme.
502         Keep g_uri_get_scheme() symbol for this
503         unstable release to avoid breaking to many apps.
505 2008-02-24  Tor Lillqvist  <tml@novell.com>
507         * glib/gutils.c (_glib_get_installation_directory): New internal function.
509         * glib/gspawn-win32.c: When spawning the helper process, use an
510         explicit full path. (#518292)
512         * glib/gspawn-win32.c
513         * glib/gspawn-win32-helper.c: Fix race condition when using the
514         helper process. This seems to fix #510664.
516         When the helper process writes the handle of the actual started
517         user process to the parent process, it must be duplicated in the
518         parent process with DuplicateHandle() so that it is a valid handle
519         in that process. However, if the helper process has happened to
520         exit before the DuplicateHandle() call, the duplication will
521         fail. Thus we must synchronise the helper process's exit. Use
522         another pipe for this.
524         Take care not to inherit the writing end of this pipe to the
525         helper process. Also, in the helper process, take care not to
526         inherit either of the pipes used for communication with the parent
527         process to the started user process.
529 2008-02-24  Tor Lillqvist  <tml@novell.com>
531         * glib/gmain.c (g_poll) [Win32]: Use alertable wait functions so
532         that I/O completion routines or user-mode Asynchronous Procedure
533         Calls can be run. (#517484, Vlad Grecescu)
535 2008-02-24  Tor Lillqvist  <tml@novell.com>
537         * glib/gwin32.c
538         (g_win32_get_package_installation_directory_of_module): New
539         function. Supersedes g_win32_get_package_installation_directory()
540         and g_win32_get_package_installation_directory().
542         It makes more sense to have the function for this functionality
543         take a HMODULE as parameter instead of DLL name. The typical use
544         scenario has been to have a DllMain() function that retrieves the
545         full pathname for the DLL in question, and saves just the basename
546         of that. Then later code passes that saved dll basename to
547         g_win32_get_package_installation_directory(), which retrieves the
548         corresponding DLL handle, and then retrieves its full
549         pathname. (Which DLlMain() already had.) It is less convoluted to
550         have a DllMain() that just saves the DLL handle, and then when
551         needed call this function to get the corresponding installation
552         folder.
554         (get_package_directory_from_module): Use
555         g_win32_get_package_installation_directory_of_module().
557         (g_win32_get_package_installation_directory)
558         (g_win32_get_package_installation_subdirectory): Mention these
559         functions will be deprecated and recommend using
560         g_win32_get_package_installation_directory_of_module() instead.
561         
562         * glib/gwin32.h: Declare
563         g_win32_get_package_installation_directory_of_module().
565         * glib/glib.symbols: Add it.
567         * glib/gutils.h: Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be
568         deprecated in the future.
570         * glib/gutils.c: Drop use of G_WIN32_DLLMAIN_FOR_DLL_NAME(). Use a
571         minimal DllMain() instead that just saves the DLL handle.
572         (g_win32_get_system_data_dirs_for_module, _glib_get_locale_dir)
573         (get_module_share_dir): Use
574         g_win32_get_package_installation_directory_of_module().
576 2008-02-23  Matthias Clasen  <mclasen@redhat.com> 
578         * NEWS: Updates
580 2008-02-23  Matthias Clasen  <mclasen@redhat.com> 
582         * glib/gkeyfile.c (g_key_file_get_string_list): Return
583         NULL when the key is not found.  (#513171, Дилян Палаузов)
585 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
587         * tests/testglib.c: Don't test user directories for being
588         non-null.  (#517084, Yevgen Muntyan)
590 2008-02-22  Matthias Clasen  <mclasen@redhat.com>
592         * glib/gasyncqueue.c:
593         * glib/gtestutils.c: Documentation fixes
595 2008-02-21  Tor Lillqvist  <tml@novell.com>
596         
597         * glib/gutf8.c (g_get_charset)
598         * glib/gconvert.c (g_locale_from_utf8): Clarify character set
599         issues on Windows.
601 2008-02-20  Tor Lillqvist  <tml@novell.com>
603         * glib/gtestutils.c (g_test_trap_fork) [Win32]: Change the
604         g_error() to g_message() to avoid stopping on warnings. At least
605         now testglib runs to completion and the old tests in it get
606         exercised even if the newfangled ones don't.
607         (g_test_trap_assertions) [Win32]: Bypass on Windows.
609 2008-02-17  Marco Barisione  <marco@barisione.org>
611         * glib/gregex.c: (translate_compile_error), (g_regex_new): Avoid some
612         useless casts from const gchar * to gchar *.  (#516597, patch by
613         Yevgen Muntyan)
615 2008-02-17  Marco Barisione  <marco@barisione.org>
617         * glib/gregex.c: (match_info_new), (g_match_info_next): Don't return
618         duplicate matches when matching empty strings.  (#515944)
619         * tests/regex-test.c: Add tests.
621 2008-02-17  Hans Breuer  <hans@breuer.org>
623         * glib/gutils.c : define CSIDL_MYPICTURES if not available
624         * gthread/gthread-win32.c : use G_STRFUNC instead of compiler 
625         specific __FUNCTION__
627 2008-02-13  Tor Lillqvist  <tml@novell.com>
629         * glib/gwin32.c: Doc change: Deprecate passing anything but NULL
630         for the "package" parameter to
631         g_win32_get_package_installation_directory() and
632         g_win32_get_package_installation_subdirectory().
634 2008-02-11  Matthias Clasen <mclasen@redhat.com>
636         * configure.in: Bump version
638         * === Released 2.15.5 ===
640         * NEWS: Updates
642 2008-02-11  Matthias Clasen <mclasen@redhat.com>
644         * glib/gtestutils.h: Make the g_test_add macro work with 
645         gcc 4.3
647         * tests/gobject/paramspec-test.c: Adapt to recent changes in 
648         GParamGType initialization.
650 2008-02-10  Matthias Clasen <mclasen@redhat.com>
652         * glib/gtestutils.c: Fix a typo in the docs.
654 2008-02-09  Matthias Clasen <mclasen@redhat.com>
656         * configure.in: Check for getmntent_r.
658 2008-02-09  Matthias Clasen <mclasen@redhat.com>
660         * Makefile.decl: /bin/ksh can't handle a for-loop with no 
661         arguments, so add a "." for when $(SUBDIRS) is empty.
663         * glib/tests/option-context.c:
664         * glib/tests/testing.c:
665         * gthread/gthread-posix.c:
666         * tets/testingbase64.c:
667         * glib/gtester.c: 
668         * glib/gsequence.c: Portability fixes.  (#515154)
670 2008-02-07  Tor Lillqvist  <tml@novell.com>
672         * configure.in: Unfortunately the mingw implementations of
673         C99-style snprintf and vsnprintf don't seem to be quite good
674         enough, at least not in mingw-runtime-3.14. I don't know exactly
675         what the problem is, but it is related to floating point
676         formatting and decimal point vs. comma, and the symptoms show up
677         in some dialogs in GIMP, presumably also elsewhere. The simple
678         tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
679         rigorous enough to notice, though. So preset
680         ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".
682 2008-02-07 12:58:54  Tim Janik  <timj@imendio.com>
684         * Makefile.am: fixed build order to build gobject after gmodule gthread
685         so gobject tests can be threaded.
687 2008-02-07  Ryan Lortie  <desrt@desrt.ca>
689         * glib/gmessages.h (g_error): add for(;;); after the g_log call so
690         that GCC stops issuing false warnings about reachability  Bug #514920
692 2008-02-06  Matthias Clasen  <mclasen@redhat.com>
694         * glib/pcre/*: Update the internal copy of PCRE to 7.6
696 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
698         * glib/pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
699         a local plt if the compiler doesn't support what we want.  Bug #514702
701 2008-02-06  Murray Cumming  <murrayc@murrayc.com>
703         * glib/gconvert.c:
704         * glib/pcre/pcre_internal.h: Fixed some minor typos in documentation.
706 2008-02-06  Christian Persch  <chpe@gnome.org>
708         * gio/gdesktopappinfo.c: (ensure_dir):
709         * gio/glocalfile.c: (g_local_file_query_filesystem_info),
710         (g_local_file_read), (g_local_file_delete), (g_local_file_trash),
711         (g_local_file_move):
712         * gio/glocalfileinfo.c: (set_xattr), (_g_local_file_info_get),
713         (_g_local_file_info_get_from_fd), (set_unix_mode),
714         (set_unix_uid_gid), (set_symlink), (set_mtime_atime):
715         * gio/glocalfileinputstream.c: (g_local_file_input_stream_read),
716         (g_local_file_input_stream_skip),
717         (g_local_file_input_stream_close),
718         (g_local_file_input_stream_seek):
719         * gio/glocalfileoutputstream.c: (g_local_file_output_stream_write),
720         (g_local_file_output_stream_close),
721         (g_local_file_output_stream_seek),
722         (g_local_file_output_stream_truncate), (copy_file_data),
723         (handle_overwrite_open):
724         * gio/gunixinputstream.c: (g_unix_input_stream_read),
725         (g_unix_input_stream_close), (read_async_cb), (close_async_cb):
726         * gio/gunixoutputstream.c: (g_unix_output_stream_write),
727         (g_unix_output_stream_close), (write_async_cb), (close_async_cb): Save
728         errno before calling other funcs that potentially alter it. Bug
729         #514766.
731 2008-02-05 18:42:42  Tim Janik  <timj@imendio.com>
733         * configure.in: generate gobject/tests/Makefile.
735 2008-02-05  Tor Lillqvist  <tml@novell.com>
737         * glib-zip.in: Include the gio import library and gio-2.0.pc in
738         the developer zipfile.
740 2008-02-02  Jonathon Jongsma  <jjongsma@gnome.org>
742         * gio/gbufferedoutputstream.c:
743         * gio/gbufferedoutputstream.h: modify the new_sized() constructor to take a
744         gsize param instead of guint to match the GBufferedInputStream constructor.
746 2008-02-03  Hans Breuer  <hans@breuer.org>
748         * **/makefile.msc.in : update
750 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
752         * configure.in: Check for gmtime_r. Missing part of bug #511807.
754 2008-02-01  Yannig Marchegay  <yannig@marchegay.org>
756         * configure.in: Add oc since oc.po is back.
758 2008-01-31  Michael Natterer  <mitch@imendio.com>
760         * glib/gmem.c: use %G_GSIZE_FORMAT instead of %lu since sizes have
761         changed from gulong to gsize in this file.
763 2008-01-30  Johan Dahlin  <johan@gnome.org>
765         * configure.in: Remove oc since oc.po is gone.
767 2008-01-30  Wouter Bolsterlee  <wbolster@svn.gnome.org>
769         * glib/gchecksum.c:
770         * glib/gtestutils.c:
771         * glib/gutils.c:
773         Fixed gtk-doc warnings by updating the documentation of
774         various functions.
776 2008-01-29 14:58:31  Tim Janik  <timj@imendio.com>
778         * glib/gmem.[hc]: changed size argument type from gulong to gsize as
779         discussed on gtk-devel-list:
780           http://mail.gnome.org/archives/gtk-devel-list/2007-March/msg00062.html
781         this should be ABI compatible on all platforms except win64 for which
782         no ABI binding port exists yet.
784 2008-01-29  Sebastian Wilhelmi  <wilhelmi@google.com>
786         * tests/threadpool-test.c (test_thread_pools): Grab
787         thread_counter_pools LOCK when increasing
788         leftover_task_counter. Fixes race in test. (#512624, Simon Murray)
790 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
792         * configure.in: Bump version
794 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
796         * === Released 2.15.4 ===
798         * NEWS: Updates
800 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
802         * configure.in: Check for gmtime_r.  
803         * glib/gtimer.c: Use gmtime_r when available.  (#511807,
804         Sebastian Dröge)
806 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
808         * glib/gnode.[hc]: Move docs inline.  (#316260, Philippe Blain)
810 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
812         * glib/gutf8.c (g_utf8_strreverse): Document limitations
813         of this function.  (#487909, Peter Moulder)
815 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
817         * glib/goption.c (group_list_has_visible_entries):
818         Removed unused variable is_main_group.  (#512381,
819         Wouter Bolsterlee)
821 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
823         * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION. Bug #409360.
825 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
827         * m4macros/glib-gettext.m4: Remove AC_CANONICAL_HOST from
828         GLIB_WITH_NLS again.  (#385132)
830 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
832         * configure.in: Fix the pcre Unicode test to work with
833         LDFLAGS=-Wl,--as-needed.  (#484261, Mark Lee)
835 2008-01-27  Murray Cumming  <murrayc@murrayc.com>
837         * gio/gfile.c: (g_file_replace_contents),
838         (g_file_replace_contents_finish): Document that the new_etags output 
839         gchar* should be freed.
841 2008-01-25  Loïc Minier  <lool@dooz.org>
843         * glib/goption.c: (group_has_visible_entries),
844         (group_list_has_visible_entires), (g_option_context_get_help): Pass
845         context down the implementation to check for the main_group.
846         Bug #510292.
847         * glib/tests/option-context.c:
848         Don't set G_OPTION_FLAG_IN_MAIN in main_entries
849         (group_captions): only create group when actually adding it to the
850         context; add an exit(0) to make sure the test succeeds.
852 2008-01-23  Jens Granseuer  <jensgr@gmx.net>
854         * glib/gtestutils.c: (g_test_trap_fork):
855         * glib/tests/testing.c: (test_assertions): Only declare variables at
856         the beginning of a code block. Bug #511654.
858 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
860         * configure.in: Bump version
862         * === Released 2.15.3 ===
864 2008-01-21  Tor Lillqvist  <tml@novell.com>
866         * glib-zip.in: Add the gio DLL to the runtime zipfile.
868 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
870         * === Released 2.15.3 ===
872         * NEWS: Updates
874 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
876         * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data 
877         length if the data is a null-terminated string. Bug #510855.
879 2008-01-21  Alexander Larsson  <alexl@redhat.com>
881         * configure.in:
882         Only check for sys/inotify.h (see gio/ChangeLog) 
884 2008-01-18 16:51:23  Tim Janik  <timj@imendio.com>
886         * glib/gutils.h: don't define __GNUC_PREREQ which is not in the glib
887         namespace. for gcc, define G_INLINE_FUNC to "static inline" as with
888         all other C compilers, because newer GCC versions incompatibly
889         changed "extern inline" semantics.
891 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
893         * glib/gfileutils.c:
894         * glib/gsequence.c:
895         * glib/gstring.c: Fixed some minor typos in the documentation.
897 2008-01-16  Dan Winship  <danw@gnome.org>
899         * glib/gchecksum.c (md5_sum_update): Fix another bug (which
900         doesn't affect the results, but may cause it to read bad memory).
902 2008-01-15  Alexander Larsson  <alexl@redhat.com>
904         * glib/gurifuncs.c:
905         Clarify docs for g_uri_unescape_string() (#508773)
907 2008-01-14  Dan Winship  <danw@gnome.org>
909         * m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)
911 2008-01-15  Dan Winship  <danw@gnome.org>
913         * glib/gchecksum.c (md5_sum_update): fix this; the previous code
914         gave the wrong md5sum when called in certain ways with buffers
915         larger than 64 bytes.
916         (g_checksum_update): remove the unnecessary "length > 1"
917         restriction
919         * tests/checksum-test.c: Rewrite this to be much more exhaustive
920         (and in particular to test the md5_sum_update bugfix).
922 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
924         * configure.in: Bump version
926         * === Released 2.15.2 ===
928         * NEWS: Updates
930 2008-01-14  Alexander Larsson  <alexl@redhat.com>
932         * glib/gurifuncs.c:
933         Clarify docs for g_uri_escape_string (#508773)
935 2008-01-12  Andre Klapper  <a9016009@gmx.de>
937         * configure.in: ALL_LINGUAS: remove line breaks from previous 
938         commit to get damned-lies stats correct again. Add Sinhala (si).
940 2008-01-11  Matthias Clasen  <mclasen@redhat.com>
942         * glib/gtestutils.c: Fix a docs typo
944 2008-01-11 12:55:19  Tim Janik  <timj@imendio.com>
946         * tests/testingbase64.c: added g_base64_encode()/g_base64_decode()
947         test case by Asbjoern Pettersen. fixed up coding style.
949 2008-01-11 09:00:28  Tim Janik  <timj@imendio.com>
951         * glib/Makefile.am (install-exec-hook): use mv/sed/rm on a temporary
952         file instead of "sed -i" which is not portable enough.
954 2008-01-08  Alexander Larsson  <alexl@redhat.com>
956         * tests/cxx-test.C:
957         Add gio/gio.h include to check for c++ problems.
959 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
961         * configure.in: Bump version
963         * === Released 2.15.1 ===
965 2008-01-07  Alexander Larsson  <alexl@redhat.com>
967         * configure.in:
968         Add gio/test/Makefile to AC_CONFIG_FILES
970 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
972         * NEWS: Updates
974 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
976         * glib/gregex.c: Add a translator comment (#503051, 
977         Pedro de Medeiros)
979 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
981         * glib/gutils.h: Cope with gcc 4.3 changed 'extern inline'
982         semantics.  (#315437, patch by Loïc Minier)
984 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
986         * glib/gspawn.c (fdwalk): Don't set open_max to
987         RLIM_INFINITY.  (#495589, Tommi Komulainen)
989 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
991         * README.in, INSTALL.in: Document new dependencies.
993 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
995         * gio-2.0.pc.in, gio-2.0-uninstalled.pc.in: Require glib-2.0
996         (#507628)
998 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
1000         Resolve 64 bit-shift bug in g_markup_collect_attributes.
1001         Spotted by Lieven van der Heide.
1003         * glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift.
1005 2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>
1007         * gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
1008         These void functions were trying to return a value. It was causing
1009         the compilation to fail.
1011 2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>
1013         * glib/ghash.c (g_hash_table_replace, g_hash_table_insert): These
1014         functions prototype defines its output as void, and therefore they
1015         should not return any value. This patch fixes a compilation error:
1016         the "return" clauses were incompatible with the functions prototype.
1018 2007-12-31  Matthias Clasen  <mclasen@redhat.com>
1020         * glib/gslice.c: Remove C99 comments
1022 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1024         * glib/gtestutils.h:
1025         * glib/glib.symbols: Mark assertion functions as G_GNUC_NORETURN.
1026         (#506461, Sebastian Dröge)
1028 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1030         * glib/gtestutils.c: Include sys/time.h.  (#505258)
1032 2007-12-22  Mathias Hasselmann  <mathias@openismus.com>
1034         Do not show empty groups in --help output. Initial patch from Yevgen
1035         Muntyan. (#504142)
1037         * glib/goption.c: Do not show empty groups in --help output.
1038         * glib/tests/Makefile.am: Add option-context.c
1039         * glib/tests/option-context.c: Test skipping of empty groups.
1041 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
1043         * glib/gkeyfile.c: Remove wrong documentation about start group
1044         handling.  (#476856, Areg Beketovski)
1046 2007-12-21 18:02:30  Tim Janik  <timj@imendio.com>
1048         * glib/Makefile.am: use "sed -i.bak <CMD> <FILE> && rm -f <FILE>.bak"
1049         syntax for install-exec-hook, which seems to be the only "sed -i"
1050         variant that is portable across linux and MacOS.
1052 2007-12-21  Matthias Clasen  <mclasne@redhat.com>
1054         * glib/gtestutils.h: Bring up to GLib coding standards: remove
1055         C99 comments, trailing commas in enumerations and extra ; after
1056         G_BEGIN/END_DECLS. Among other things, this makes xulrunner build
1057         against GLib 2.15.
1059         * glib/gtester.c: More of the same
1061 2007-12-09  Hans Breuer  <hans@breuer.org>
1063         * tests/gio-ls.c : adapt to recent api changes
1064         * tests/testglib.c : variable declaration at the beginning of a block
1065         
1066         (Lieven van der Heide, #503602)
1067         * win32-fixup.pl : process *.rc.in as well; substitute 
1068         LT_CURRENT_MINUS_AGE
1069         * glib/makefile.msc.in : alphabetic sorting of OBJECTS
1071 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
1073         * configure.in: Bump version
1075         * === Released 2.15.0 ===
1077         * NEWS: Updates
1079         * glib/Makefile.am: Fix make dist
1081 2007-12-20 16:34:04  Tim Janik  <timj@imendio.com>
1083         * glib/gtester-report: commented class definitions. moved HTML character
1084         escaping out of javascript. fixed string->bool conversions. added performance
1085         results to test case "Details" window.
1087 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
1089         * glib/gchecksum.[hc] (g_checksum_new): Return NULL when 
1090         the checksum_type is unknown.  (#501853)
1092 2007-12-20  Christian Persch  <chpe@gnome.org>
1094         * glib/gchecksum.c (g_checksum_new): Use g_slice_new0, to fix
1095         "conditional jump or move depends on uninitialised value(s)" error
1096         from valgrind. Bug #504527.
1098 2007-12-20 15:17:04  Tim Janik  <timj@imendio.com>
1100         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1102 2007-12-20 15:03:51  Tim Janik  <timj@imendio.com>
1104         * glib/gtester-report: new python script that generates an HTML
1105         unit test report from the XML files generated by gtester.
1107         * glib/Makefile.am: install gtester-report in $bindir and configure
1108         it upon installation (version number and python shebang).
1110 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1112         * glib/glib.symbols: Add g_async_queue_new_full
1114 2007-12-19 20:30:18  Tim Janik  <timj@imendio.com>
1116         * glib/gtestutils.c: capture g_log() messages and send to gtester.
1117         also, send assertion messages to gtester.
1119         * glib/gtester.c: add error messages to output log file.
1120         force child poll loop to abort if waitpid() signaled child exit,
1121         eventhough the child's report file descriptor wasn't closed.
1123 2007-12-19  Christian Persch  <chpe@gnome.org>
1125         * glib/gchecksum.c: (g_checksum_type_get_length),
1126         (g_checksum_get_digest):
1127         * glib/gchecksum.h:
1128         * glib/glib.symbols:
1129         * tests/checksum-test.c: (test_checksum): Add
1130         g_checksum_type_get_length, and change g_checksum_get_digest to use a
1131         provided buffer instead of returning allocated memory. Bug #501853.
1133 2007-12-19  Emmanuele Bassi  <ebassi@gnome.org>
1135         * glib/gtimer.c (g_time_val_from_iso8601): Fix the date validation
1136         check. (#503029)
1138         * tests/testglib.c (various_string_tests): Add an invalid date
1139         for testing the above fix.
1141 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1143         * glib/gfileutils.[ch]:
1144         * glib/glib.symbols:
1145         Rename g_format_file_size_for_display to g_format_size_for_display.
1147 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1149         * docs/reference/glib/glib-sections.txt:
1150         * glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
1151           (g_async_queue_unref):
1152         * glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
1153           GDestroyNotify function to free any remaining queue items when the
1154           queue is destroyed after the final atomic unref (#367550).
1156 2007-12-18 13:45:23  Tim Janik  <timj@imendio.com>
1158         * glib/gtestutils.[hc]: added g_test_trap_assert_stdout_unmatched() and
1159         g_test_trap_assert_stderr_unmatched(), based on a suggestion by Mathias
1160         Hasselmann. reworked g_test_trap_assertions() to use flags to encode
1161         assertion semantics, fixes #504227.
1163 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
1165         * glib/gutils.c:
1166         Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)
1168 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
1170         * glib/glib.symbols:
1171         * glib/ghash.[hc]: Add hash table iterators.  (#500507,
1172         Jean-Yves Lefort)
1174         * tests/hash-test.c: Test iterators. 
1176 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
1178         Give exmples in error message unsupported case-changing escape
1179         sequences. (503222)
1181         * glib/gregex.c: Add examples to error message for PCRE-ERR37.
1183 2007-12-13  Bastien Nocera  <hadess@hadess.net>
1185         * glib/gtimer.c: (g_time_val_from_iso8601):
1186         Don't try to parse dates that start with anything but a
1187         digit, a plus or a minus sign, as those can't be valid
1188         ISO8601 dates (Closes: #503029)
1190 2007-12-13  Matthias Clasen  <mclasen@redhat.com>
1192         * glib/gkeyfile.c (g_key_file_clear): Free group_hash.
1193         (#503420, Christian Persch)
1195 2007-12-12 16:06:11  Tim Janik  <timj@imendio.com>
1197         * tests/testglib.c: split up tests and reworked code to use
1198         the new test framework.
1200         * tests/Makefile.am: added testglib to TEST_PROGS.
1202 2007-12-11 Rahul Bhalerao <b.rahul.pm@gmail.com>
1204         * configure.in: Added entry for Marathi Translations
1206 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1208         * glib/glib.h: Include gurifuncs.h
1210 2007-12-10  Benjamin Otte  <otte@gnome.org>
1212         * glib/garray.h: use an intermediate cast to void * in g_array_index()
1213         to not trigger cast alignment warnings, fixes #502927.
1215 2007-12-10 15:08:59  Tim Janik  <timj@imendio.com>
1217         * let g_warn_if_fail replace g_assert as discussed here:
1218           http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
1220         * fix bug #502498: Test framework assertion failures should follow
1221         gcc error format.
1223         * gmessages.h, gmessages.c: deprecated g_assert_warning() which is
1224         unused now. removed g_assert*() definitions whcih are provided by 
1225         gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()  
1226         which are recommended as g_assert/g_assert_not_reached replacements
1227         for non-test programs.
1228         added g_warn_message() to implement g_warn_*() macros.
1229         use emacs-next-error friendly formatting for file:line: for warnings.
1231         * gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
1232         implement g_assert_not_reached() with g_assertion_message() and
1233         g_assert() in terms of g_assertion_message_expr() so we'll be able to
1234         provide assertion messages in test logs.
1236         * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
1237         or g_return_if_fail() where suitable.
1239         * gio/: changed g_assert to g_warn_if_fail.
1241 2007-12-10 13:02:08  Tim Janik  <timj@imendio.com>
1243         * glib/gtestutils.c (g_assertion_message_cmpnum): applied patch by Tommi
1244         Komulainen to fix int64 printouts, fixes #502511.
1246 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1248         * glib/gstrfuncs.h:
1249         * glib/gstrfuncs.c (g_dpgettext): Change prototype to take 
1250         msgctxtid + offset instead of two strings, to avoid duplication
1251         of string constants if the compiler/linker don't perform constant
1252         suffix merging.  (#502590, Christian Persch)
1254         * glib/gi18n.h:
1255         * glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
1257 2007-12-09  Hans Breuer  <hans@breuer.org>
1259         * tests/gio-ls.c : (new file) a test program emulating some of 'ls'
1260         * tests/makefile.msc.in : build it (currently on win32)
1262         * **/makefile.msc glib/makefile.msc.in : removed -GD to compile
1263         with msvc9 (vs2008) with less complains
1264         
1265         * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
1266         msv8 (vs2005) and above
1267         
1268         * glib/gfileutils.c : s/stricmp/_stricmp/
1269         * msvc_recommended_pragmas.h : work around Microsoft's premature 
1270         attempt to deprecate the C-Library
1272         * tests/makefile.msc.in : added checksum-test
1274 2007-12-08  Christian Persch  <chpe@gnome.org>
1276         * gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
1277         #ifdef G_OS_WIN32 to fix the build on linux.
1279 2007-12-08  Hans Breuer  <hans@breuer.org>
1281         * glib/makefile.msc.in : build gchecksum.obj
1283 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
1285         * glib/ghash.c: Call destroy notify when destroying
1286         the hash table in g_hash_table_unref.
1288 2007-12-06 13:29:00  Tim Janik  <timj@imendio.com>
1290         * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
1291         by read()==0 following poll(), needed on MacOS.
1293 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
1295         * glib/gunidecomp.c: Mention g_utf8_normalize()
1296         returns NULL on invalid string. (#501997)
1298 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
1300         * glib/gerror.c: Improve wording for g_propagate_error docs.
1302 2007-12-06 09:27:42  Tim Janik  <timj@imendio.com>
1304         * tests/scannerapi.c: added new scanner test from #501654, by
1305         Patrick Hulin with various modifications.
1306         reworked coding style, adapted to new testing framework, fixed
1307         token parser test and use a forked sub process to test
1308         g_scanner_error() output messages.
1310 2007-12-05 17:58:18  Tim Janik  <timj@imendio.com>
1312         * glib/gtester.c: added -m=thorough support to gtester.
1314 2007-12-05 17:21:05  Tim Janik  <timj@imendio.com>
1316         * glib/glib/gtestutils.c: print out random seed for verbose tests,
1317         also adapted test result reporting slightly in verbose mode to allow
1318         custom debugging output. support "thorough" as test mode alis for "slow".
1320         * glib/glib/gtestutils.h: added g_test_thorough().
1322         * glib/glib/gtester.c: print out the last random seed when tests fail.
1323         added result attribute to test case status logging to easily spot
1324         failing tests in log files. disabled debugging output when skipping tests.
1326 2007-12-05 11:43:22  Tim Janik  <timj@imendio.com>
1328         * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
1329         into tests. allow data arguments for fixture tests.
1331         * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
1332         upon criticals/warnings/errors.
1334         * glib/tests/testing.c: test test_data arguments.
1336         * glib/gtester.c: some prototype fixups.
1338 2007-12-05  Tor Lillqvist  <tml@novell.com>
1340         * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
1341         "shift_jis".
1343 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
1345         * autogen.sh: for the benefit of git users, checkout build/ if it is
1346         missing
1347         * .gitignore: but after that, ignore it.
1349 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
1351         * glib/ghash.c: ungtk-docify some comments for internal functions
1353 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
1355         * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
1356         generation with GChecksum.
1358 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
1360         * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
1361         various hashing algorithms. At the moment, the MD5, SHA-1 and
1362         SHA-256 algorithms are supported. (#443648)
1364         * glib/glib.h:
1365         * glib/Makefile.am:
1366         * glib/glib.symbols: Build glue for GChecksum
1368         * tests/Makefile.am
1369         * tests/checksum-test.c: Add test suite for GChecksum.
1371 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1373         * glib/ghash.c: no code changes; add comments to document the internal
1374         functions.
1376 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1378         * glib/ghash.c: no code changes; reorder functions to remove the need
1379         for forward declarations.
1381 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1383         * glib/ghash.c (g_hash_table_lookup_node,
1384         g_hash_table_lookup_extended, g_hash_table_insert_internal,
1385         g_hash_node_new): improve clarity in some functions
1387 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1389         * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
1391 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1393         * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
1395 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1397         * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
1398         from file to fix the build
1400 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
1402         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1404 2007-12-03  Hans Breuer  <hans@breuer.org>
1406         * glib/glib.symbols : added glib_gettext (in use by gio)
1407         * makefile.msc : also try building gio
1408         
1409         * glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid 
1410         'bad suffix on number'
1411         * glib/gtestutils.c : declare cariable at the beginning of the block,
1412         include <io.h> for G_OS_WIN32
1413         * makefile.msc.in : add gurifuncs and gtestutils
1415 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1417         * glib/ghash.c: create a common function for the many places where all
1418         nodes in the table are removed (remove_all, steal_all, destroy, unref,
1419         etc...)
1421 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1423         * tests/hash-test.c (second_hash_test): fix memory leak, add a few
1424         extra sanity tests.
1426 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
1427         
1428         * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
1429         (#500638, Michael Meeks)
1431 2007-12-03  Marco Barisione <marco@barisione.org>
1433         * glib/gregex.c:
1434         * glib/gregex.h: Add new error codes for when compilation fails and
1435         make compilation error translatable. (#482313, Morten Welinder)
1437 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
1439         * glib/gkeyfile.c: Add a hash table to speed up group lookups,
1440         which GKeyFile does quite a lot.  
1442 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1444         * configure.in:
1445         Add xattr checks for OSX style API (#500506)
1447 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
1449         * glib/ghash.c: merge more common code into functions.  Vastly
1450         simplify loop logic in g_hash_table_foreach_remove_or_steal().
1452 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
1454         * Makefile.am: Don't descend into build/. (#500875)
1456 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1458         * glib/gmarkup.h:
1459         * glib/gmarkup.c: 
1460         * glib/gerror.c: Add Since: tags to new API, other doc improvements.
1462 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1464         * glib/gurifuncs.c: Some doc cleanups
1466 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1468         * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
1470         * glib/gconvert.c: De-doc-commentify static functions to
1471         shut up gtk-doc.
1473         * glib/gutils.c: Fix the glib_gettext doc comment.
1475 2007-11-28  Tor Lillqvist  <tml@novell.com>
1477         * config.h.win32.in: Update to match what configure produces.
1479 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1481         * glib/gstring.c (g_string_append_uri_escaped):
1482         Move this function before g_string_append_c so that
1483         we avoid the plt call due to the undefinf of g_string_append_c
1485 2007-11-28  Emmanuele Bassi  <ebassi@gnome.org>
1487         * gio/Makefile.am: Remove makegioalias.pl from the marshal files
1488         and avoid it being cleaned up when running make clean.
1490 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1492         * glib/glib.symbols:
1493         Add in the new symbols
1494         
1495         * glib/gurifuncs.c:
1496         Use the aliases framework
1497         
1498         * glib/glibintl.h:
1499         * glib/gutils.c:
1500         Make the alias stuff work now that glib_gettext
1501         is exported to libgio. 
1503 2007-11-27  Ryan Lortie  <desrt@desrt.ca>
1505         * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
1506         g_hash_table_insert_internal): insert/replace were identical except
1507         for a single line.  Replace both with a common function.
1509 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1511         * gio/Makefile.am:
1512         * gio/gurifuncs.[ch]:
1513         * glib/Makefile.am:
1514         * glib/gstring.[ch]:
1515         * glib/gurifuncs.[ch]:
1516         Moved gurifuncs from gio to glib
1518 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1520         * gio/gfileinfo.[ch]:
1521         * glib/gfileutils.[ch]:
1522         Move g_format_file_size_for_display from gio to glib
1524 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1526         * configure.in:
1527         Allow configuration of gio-module-dir
1528         
1529         * gio-2.0.pc.in:
1530         Export giomodules location as giomodule variable
1532 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1534         * tests/markup-collect.c: Add some tests for invalid booleans
1536 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
1538         Add new function g_markup_collect_attributes (bug #496847).
1540         * glib/glib.symbols: add g_markup_collect_attributes
1542         * docs/reference/glib/glib-sections.txt: 
1543         * glib/gmarkup.h:
1544         * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
1545         type GMarkupCollectType.  Add new error code
1546         G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
1547         collector.
1549 2007-11-27  Tor Lillqvist  <tml@novell.com>
1551         * glib/win_iconv.c: Some improvements, being upstreamed.
1552         (must_use_null_useddefaultchar): New function, checks for those
1553         codepages for which one must pass a NULL lpUsedDefaultChar pointer
1554         to WideCharToMultiByte().
1555         (kernel_wctomb): Use it.
1556         (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
1558 2007-11-27  Tor Lillqvist  <tml@novell.com>
1560         * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
1561         lib/locale or share/locale depending on which one is in
1562         GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
1563         on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
1565         * glib-zip.in: Likewise, look for message catalogs either in
1566         lib/locale or share/locale.
1568 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1570         * gio/gfileattribute.c: Fix up a doc comment.
1572 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1574         * Makefile.am:
1575         * configure.in:
1576         * gio-2.0-uninstalled.pc.in:
1577         * gio-2.0.pc.in: 
1578         * gio-unix-2.0-uninstalled.pc.in:
1579         * gio-unix-2.0.pc.in:
1580         * gio/
1581         * docs/reference/gio
1582         Merged gio-standalone into glib.
1583         
1584         * glib/glibintl.h:
1585         * glib/gutils.c:
1586         Export glib_gettext so that gio can use it
1587         Add P_ (using same domain for now)
1588         Add I_ as g_intern_static_string
1590 2007-11-26  Tor Lillqvist  <tml@novell.com>
1592         * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
1594 2007-11-26  Tor Lillqvist  <tml@novell.com>
1596         Implement #491549: On Windows, always use the native API for
1597         character set conversions instead of GNU libiconv. Almost all
1598         codesets supported by GNU libiconv exist as Windows codepages.
1599         One missing feature is the "C99" and "JAVA" pseudo codesets, but I
1600         doubt that is worth worrying about.
1601         
1602         * glib/win_iconv.c: New file. iconv() implementation for
1603         Windows. Placed in the public domain by Yukihiro Nakadaira
1604         <yukihiro.nakadaira@gmail.com>. From
1605         http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
1606         2007-11-17 version.
1608         * glib/gconvert.c: Include win_iconv.c on Windows.
1610         * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
1611         
1612         * configure.in: Bypass iconv checks on Windows. 
1614 2007-11-25  Tor Lillqvist  <tml@novell.com>
1616         * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
1617         unless G_OS_UNIX for now.
1619 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
1621         * configure.in: Require gtk-doc 1.8.
1623         * glib/gasyncqueue.c:
1624         * glib/gdate.c:
1625         * glib/gfileutils.c:
1626         * glib/gmain.c:
1627         * glib/gmarkup.c:
1628         * glib/gregex.c:
1629         * glib/gtestutils.c:
1630         * glib/gutils.c: Use gtk-doc abbreviations for 
1631         examples in doc comments.
1633 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
1635         * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
1636         cleanups.
1638 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
1640         * tests/base64-test.c: Fix a memory overrun.
1642 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
1644         * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
1646 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
1648         * glib/gbase64.c (g_base64_encode): Don't refuse to encode
1649         a single byte.  (Milan Crha)
1651         * tests/base64-test.c: Test encoding short strings.
1653 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
1655         * glib/gi18n-lib.h: 
1656         * glib/gi18n.h: Define a two-argument macro C_() for marking
1657         translatable strings with context and implement C_() and Q_()
1658         using g_dpgettext().  (#142676, Morten Welinder)
1660         * glib/glib.symbols:
1661         * glib/gstrfuncs.[hc]: Implement g_dpgettext().
1663 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
1665         * glib/goption.c: Use g_print to print out --help text in 
1666         locale encoding.  (#469551, Takao Fujiwara)
1668 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
1670         * glib/gkeyfile.c: Set length out param in list-returning functions
1671         to 0 when returning NULL.  (#498728, Christian Persch)
1673 2007-11-21 21:06:47  Tim Janik  <timj@imendio.com>
1675         * Makefile.decl: initialize automake variables EXTRA_DIST and
1676         TEST_PROGS for unconditional appending via += in other makefiles.
1677         define recursive test targets: test, test-report, perf-report,
1678         full-report, as described here:
1679         http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1681         * Makefile.am:
1682         * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
1683         * build/win32/Makefile.am, build/Makefile.am:
1684         * docs/Makefile.am, docs/reference/Makefile.am:
1685         * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
1686         * gmodule/Makefile.am, tests/Makefile.am:
1687         * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
1688         * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
1689         * glib/tests/Makefile.am, glib/pcre/Makefile.am:
1690         * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
1691         * gthread/Makefile.am, glib/Makefile.am:
1692         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1694         * glib/tests/Makefile.am: removed example testing rules.
1696         * glib/tests/testing.c: conditionalized performance and slow tests.
1698         * glib/gtestutils.h:
1699         * glib/gtestutils.c: work around g_test_config_vars not changing its
1700         exported value after value assignments, aparently due to symbol aliases.
1702         * glib/gtester.c: fixed off-by-one error which produced junk in logs.
1704         * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
1706 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
1708         Renamed gtestframework to gtestutils.
1710         * glib/glib.h:
1711         * glib/Makefile.am: added gtestutils.h to public includes.
1713         * glib/gtestutils.c: include gtestutils.h.
1715         * glib/gtestutils.h:
1716         * glib/glib.symbols:
1717         * glib/tests/testing.c: renamed gtestframework to gtestutils.
1719         * glib/gtestframework.h: renamed to gtestutils.h.
1721         * glib/gtestframework.c: renamed to gtestutils.c.
1723 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
1725         glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
1727 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
1729         gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
1731 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
1733         gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
1735 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
1737         Added g_test_bug() and related API.
1739         * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
1741         * gtestframework.h, gtestframework.c: added test message API and convenience
1742         API to send test messages about bug URLs.
1744 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
1746         Added API to access test framework configuration.
1748         * gtestframework.h, gtestframework.c: export testing configuration to test
1749         programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
1751 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
1753         gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
1755         * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
1756         restart test binaries when tests fail, resuming after the last processed test.
1757         support --gtester-selftest to run gtester itself as test program.
1758         support --test-arg=<arg> to pass args along to test programs. added
1759         main_selftest() which does a simplistic fixture test. fail if exit
1760         code of test programs is not 0.
1762         * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
1764         * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
1766         * tests/Makefile.am: added test-report: for demonstration purposes.
1767         added gtester-xmllint-check: and hooked it up into check:, this rule calls
1768         gtester as test program, running it's selftest, and then uses xmllint to
1769         validate the generate XML test log file.
1771 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
1773         gtester: implemented XML logging.
1775         * glib/gtester.c: log test messages to XML output file. beautified normal test
1776         result output.
1778         * glib/gtestframework.c: fixed GTimer leak.
1780         * glib/tests/Makefile.am: start gtester with --verbose.
1782 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
1784         tests/Makefile.am: execute test programs with gtester, add test: to check:
1786 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
1788         Fixed PLT symbol exports for gtestframework.h.
1790         * glib/glib.symbols: added all exported gtestframework.h symbols.
1792         * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
1794 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
1796         glib/gtester.c: fixed debugging flag.
1798 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
1800         fixed bogus unistd.h include.
1802 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
1804         Implemented test log IPC.
1806         * gtester.c: read and decode log messages from test binary child processes.
1807         fixed GIOChannel and child watch handling to process all messages and avoid
1808         hangs. pass --verbose and --quiet on to children, default to --quiet.
1810         * gtestframework.h: export g_test_log_type_name().
1812         * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
1813         bogus -o-option.
1815 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
1817         gtester.c: support test case listing through gtester.
1819 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
1821         gtestframework.c: fixed testpath matches for automatic root suite.
1823 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
1825         gtester.c: adapted to become a rudimentary test binary launcher.
1827         * gtester.c: increased read buffer size to match common unix pipe buffer size.
1828         added argument parsing and usage. changed io handling to capture and replicate
1829         stdout. fixed io handlers to be cleaned up when the child process exits (catch
1830         G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
1831         structure, to keep running until the child process exits and all io has been
1832         processed. launch the test binaries given on the command line. don't quit when
1833         a child couldn't be launched but --keep-going was specified.
1835 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
1837         Integrated gtester program into build process.
1839         * Makefile.am: build and install gtester binary.
1841         * gtester.c: fixed up coding style and removed hard wired test coded.
1843 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
1845         glib/gtester.c:Small -Wall fix
1847 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
1849         glib/gtester.c:Implemented nonblocking reading properly now
1851 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
1853         glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
1855 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
1857         glib/gtester.c:Read the output of the child process
1859 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
1861         glib/gtester.c:Use g_spawn_async_with_pipes()
1863 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
1865         glib/gtester.c:Spawn a process async and quit gtester after the child process exited
1867 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
1869         glib/gtester.c:Added a first revision of gtester
1871 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
1873         Implemented test log serialization.
1875         * glib/gtestframework.h: added g_test_log*() API.
1877         * glib/gtestframework.c: implement test log serialization.
1879 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
1881         Implemented test logging basics.
1883         * glib/gtestframework.c: added --debug-log and --verbose, implemented
1884         test information logging.
1886         * testing.c: test g_test_maximized_result() and g_test_minimized_result().
1888 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
1890         Implemented g_test_timer*().
1892         * gtestframework.c: implemented g_test_timer*().
1894         * tests/testing.c: added a g_test_timer*() test.
1896 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
1898         Implemented support for testpaths.
1900         * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
1902         * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
1904 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
1906         testing.c: added tests for the g_test_rand*() API.
1908 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
1910         Implemented g_test_rand*().
1912         * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
1913         added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
1914         doubles and ranges.
1916         * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
1918 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
1920         testing.c: added tests for g_assert_cmphex() and forked test traps.
1922 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
1924         Implemented g_test_trap_fork() API.
1926         * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
1928         * gtestframework.c: implemented g_test_trap_fork() API.
1930 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
1932         * glib/gtestframework.c:
1934         that match a given test path.
1935         (g_test_run_suite): run suite only if it matches the existing test paths.
1937         * glib/tests/testing.c: minor rename.
1939 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
1941         GTest framework started.
1943         * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
1944         includes elaborate assertions, performance report functions, test traps,
1945         test timer, test random numbers, teardoiwn garbage collection functions
1946         and general test case / test suite management APIs.
1948         * glib/gtestframework.c: first test framework implementation. already covers
1949         some test suite management APIs and assertion message implementations.
1951         * glib/tests/testing.c: test program for the testing framework.
1953         * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
1954         make test:.
1956 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
1958         glib/Makefile.am: build tests/ subdir after building libglib.
1960 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
1962         Fixed up internal 'g_test*' names.
1964         * refcount/signals.c:
1965         * refcount/objects.c:
1966         * refcount/objects2.c:
1967         * refcount/closures.c:
1968         * refcount/properties.c:
1969         * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
1970         to not clash with newly introduced g_test* API in glib.
1972 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
1974         Added gtestframework.[hc] and glib/tests/.
1976 2007-11-20  Sven Neumann  <sven@gimp.org>
1978         * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
1979         g_strjoin() to concatenate two strings.
1981 2007-11-19  Marco Barisione  <marco@barisione.org>
1983         * glib/gregex.c: When the compilation of a pattern fails in the error
1984         message use the character offset and not the byte offset.
1986         * glib/gregex.c: Pass an unsigned long instead of an int to
1987         pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
1988         Sutou)
1990 2007-11-19 10:30:33  Tim Janik  <timj@imendio.com>
1992         * configure.in: updated version number to 2.15.0 for development.
1994 2007-11-18  Matthias Clasen  <mclasen@redhat.com>
1996         * glib/gbase64.c: Documentation improvements.  (#496518,
1997         Stefan Schulze Frielinghaus)
1999 2007-11-18  Matthias Clasen  <mclasen@redhat.com>
2001         * configure.in: Check whether assembler supports numerical local
2002         labels.  
2004         * glib/gatomic.c: Fix powerpc implementation of atomic ops for 
2005         platforms where the assembler doesn't support numerical local
2006         labels.  (#445362)
2008 2007-11-15  Ryan Lortie  <desrt@desrt.ca>
2010         * docs/reference/glib/tmpl/markup.sgml:
2011         * glib/gmarkup.h:
2012         * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
2013         parser to prepend location information (ie: "Error on line %d, char
2014         %d:") to errors generated by the GMarkupParser callbacks.
2016         Closes #496046.
2018 2007-11-15  Ryan Lortie  <desrt@desrt.ca>
2020         * docs/reference/glib/glib-sections.txt:
2021         * glib/glib.symbols:
2022         * glib/gerror.h:
2023         * glib/gerror.c: new functions g_prefix_error and
2024         g_propagate_prefixed_error.
2026 2007-11-13  Cody Russell  <bratsche@gnome.org>
2028         * docs/reference/gobject/gobject-docs.sgml:
2029         * docs/reference/gobject/tut_gsignal.xml:
2030         * docs/reference/gobject/tut_gtype.xml:
2031         * docs/reference/gobject/tut_intro.xml:
2032         * docs/reference/gobject/tut_tools.xml:
2033         * docs/reference/gobject/tut_howto.xml:
2034         * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
2035         Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
2036         NAUTILUS_WINDOW_TYPE).  Fixed text which erroneously stated that 
2037         superclass initializers don't run when an object is 
2038         instantiated.  Fixed numerous spelling mistakes.  Minor grammar 
2039         edits. (#490637, Adam Dingle)
2041 2007-11-09  Matthias Clasen <mclasen@redhat.com>
2043         * glib/gkeyfile.c: Coding style cleanups and doc 
2044         improvements.  (#491979, #491982, Areg Beketovski)
2046 2007-11-09  Matthias Clasen <mclasen@redhat.com>
2048         * glib/giochannel.c: Coding style cleanups and doc 
2049         improvements.  (#491975, Areg Beketovski)
2051 2007-11-09  Matthias Clasen <mclasen@redhat.com>
2053         * glib/gmain.c (g_main_context_iteration): Improve the
2054         docs.  (#491974, Areg Beketovski)
2056 2007-11-09  Matthias Clasen <mclasen@redhat.com>
2058         * glib/gdate.c: Coding style fixes.
2060 2007-11-09  Matthias Clasen <mclasen@redhat.com>
2062         * configure.in: Add AM_PROG_CC_C_O.
2064         * Makefile.am: Remove the install-exec-local hook and use
2065         configexecincludedir_DATA instead, in an attempt to avoid
2066         automake 1.9 <> 1.10 incompatibilities.
2068         * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
2069         automake 1.10 complains.
2071 2007-11-09  Matthias Clasen <mclasen@redhat.com>
2073         * glib/gspawn.c (g_spawn_sync): Improve the docs.  (#491968,
2074         Areg Beketovski)
2076 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2078         * glib/gmain.c (g_main_context_release): 
2079         (g_main_context_acquire):
2080         (g_main_context_new): Fix the doc wording.  (#491957, 
2081         #491965, #491966, Areg Beketovski)
2083 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2085         * glib/gutils.c (g_set_application_name): Add a missing
2086         since tag.  (#464259, Mark Doliner)
2088 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2090         * glib/goption.c (g_option_context_new): Improve the docs.
2091         (#436293, Vincent Untz)
2093 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2095         * glib/gmain.c (g_main_loop_quit): Expand the docs 
2096         a bit.  (#317775, Søren Sandmann)
2098 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2099         
2100         * autogen.sh: Accept automake 1.10, too
2102         * mkinstalldirs: Temporarily add this script, to fix building
2103         from svn.
2105         * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
2106         ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
2108 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2110         * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
2112 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2114         * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
2115         shift state with AIX iconv().  (#467537)
2117 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2119         * configure.in:
2120         * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
2121         and in AM_PATH_GLIB_2_0 to be consistent with the use of
2122         PKG_PROG_PKG_CONFIG which was introduced in 0.16.  (#418778,
2123         Loïc Minier)
2125 2007-11-08  Matthias Clasen <mclasen@redhat.com>
2127         * glib/gstrfuncs.c (g_parse_long_long): Don't leave
2128         out parameters uninitialized.  (#490061, Benjamin Otte)
2130 2007-11-07  Matthias Clasen <mclasen@redhat.com>
2132         * glib/gmain.c (g_main_context_unref): Don't leak the
2133         condvar.  (#479724, Areg Beketovski)
2135 2007-11-07  Matthias Clasen <mclasen@redhat.com>
2137         * glib/glib.symbols:
2138         * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack): 
2139         New function, to get the stack of open elements.  (#452887,
2140         Ryan Lortie)
2142 2007-11-07  Matthias Clasen <mclasen@redhat.com>
2144         * glib/gkeyfile.[hc]: Make some functions that take
2145         a GError return boolean instead of void.  (#375651, Matt Barnes)
2147 2007-11-07  Matthias Clasen <mclasen@redhat.com>
2148         
2149         * autogen.sh: Use automake 1.9
2151         * acinclude.m4:
2152         * configure.in: Move some inter-*.m4 includes from
2153         configure.in to acinclude.m4 to avoid warnings when
2154         using automake 1.9.  (#449937)
2156 2007-11-07  Matthias Clasen <mclasen@redhat.com>
2158         === Branch for 2.14 ===