2.15.5
[platform/upstream/glib.git] / ChangeLog
1 2008-02-11  Matthias Clasen <mclasen@redhat.com>
2
3         * === Released 2.15.5 ===
4
5         * NEWS: Updates
6
7 2008-02-11  Matthias Clasen <mclasen@redhat.com>
8
9         * glib/gtestutils.h: Make the g_test_add macro work with 
10         gcc 4.3
11
12         * tests/gobject/paramspec-test.c: Adapt to recent changes in 
13         GParamGType initialization.
14
15 2008-02-10  Matthias Clasen <mclasen@redhat.com>
16
17         * glib/gtestutils.c: Fix a typo in the docs.
18
19 2008-02-09  Matthias Clasen <mclasen@redhat.com>
20
21         * configure.in: Check for getmntent_r.
22
23 2008-02-09  Matthias Clasen <mclasen@redhat.com>
24
25         * Makefile.decl: /bin/ksh can't handle a for-loop with no 
26         arguments, so add a "." for when $(SUBDIRS) is empty.
27
28         * glib/tests/option-context.c:
29         * glib/tests/testing.c:
30         * gthread/gthread-posix.c:
31         * tets/testingbase64.c:
32         * glib/gtester.c: 
33         * glib/gsequence.c: Portability fixes.  (#515154)
34
35 2008-02-07  Tor Lillqvist  <tml@novell.com>
36
37         * configure.in: Unfortunately the mingw implementations of
38         C99-style snprintf and vsnprintf don't seem to be quite good
39         enough, at least not in mingw-runtime-3.14. I don't know exactly
40         what the problem is, but it is related to floating point
41         formatting and decimal point vs. comma, and the symptoms show up
42         in some dialogs in GIMP, presumably also elsewhere. The simple
43         tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
44         rigorous enough to notice, though. So preset
45         ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".
46
47 2008-02-07 12:58:54  Tim Janik  <timj@imendio.com>
48
49         * Makefile.am: fixed build order to build gobject after gmodule gthread
50         so gobject tests can be threaded.
51
52 2008-02-07  Ryan Lortie  <desrt@desrt.ca>
53
54         * glib/gmessages.h (g_error): add for(;;); after the g_log call so
55         that GCC stops issuing false warnings about reachability  Bug #514920
56
57 2008-02-06  Matthias Clasen  <mclasen@redhat.com>
58
59         * glib/pcre/*: Update the internal copy of PCRE to 7.6
60
61 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
62
63         * glib/pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
64         a local plt if the compiler doesn't support what we want.  Bug #514702
65
66 2008-02-06  Murray Cumming  <murrayc@murrayc.com>
67
68         * glib/gconvert.c:
69         * glib/pcre/pcre_internal.h: Fixed some minor typos in documentation.
70
71 2008-02-06  Christian Persch  <chpe@gnome.org>
72
73         * gio/gdesktopappinfo.c: (ensure_dir):
74         * gio/glocalfile.c: (g_local_file_query_filesystem_info),
75         (g_local_file_read), (g_local_file_delete), (g_local_file_trash),
76         (g_local_file_move):
77         * gio/glocalfileinfo.c: (set_xattr), (_g_local_file_info_get),
78         (_g_local_file_info_get_from_fd), (set_unix_mode),
79         (set_unix_uid_gid), (set_symlink), (set_mtime_atime):
80         * gio/glocalfileinputstream.c: (g_local_file_input_stream_read),
81         (g_local_file_input_stream_skip),
82         (g_local_file_input_stream_close),
83         (g_local_file_input_stream_seek):
84         * gio/glocalfileoutputstream.c: (g_local_file_output_stream_write),
85         (g_local_file_output_stream_close),
86         (g_local_file_output_stream_seek),
87         (g_local_file_output_stream_truncate), (copy_file_data),
88         (handle_overwrite_open):
89         * gio/gunixinputstream.c: (g_unix_input_stream_read),
90         (g_unix_input_stream_close), (read_async_cb), (close_async_cb):
91         * gio/gunixoutputstream.c: (g_unix_output_stream_write),
92         (g_unix_output_stream_close), (write_async_cb), (close_async_cb): Save
93         errno before calling other funcs that potentially alter it. Bug
94         #514766.
95
96 2008-02-05 18:42:42  Tim Janik  <timj@imendio.com>
97
98         * configure.in: generate gobject/tests/Makefile.
99
100 2008-02-05  Tor Lillqvist  <tml@novell.com>
101
102         * glib-zip.in: Include the gio import library and gio-2.0.pc in
103         the developer zipfile.
104
105 2008-02-02  Jonathon Jongsma  <jjongsma@gnome.org>
106
107         * gio/gbufferedoutputstream.c:
108         * gio/gbufferedoutputstream.h: modify the new_sized() constructor to take a
109         gsize param instead of guint to match the GBufferedInputStream constructor.
110
111 2008-02-03  Hans Breuer  <hans@breuer.org>
112
113         * **/makefile.msc.in : update
114
115 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
116
117         * configure.in: Check for gmtime_r. Missing part of bug #511807.
118
119 2008-02-01  Yannig Marchegay  <yannig@marchegay.org>
120
121         * configure.in: Add oc since oc.po is back.
122
123 2008-01-31  Michael Natterer  <mitch@imendio.com>
124
125         * glib/gmem.c: use %G_GSIZE_FORMAT instead of %lu since sizes have
126         changed from gulong to gsize in this file.
127
128 2008-01-30  Johan Dahlin  <johan@gnome.org>
129
130         * configure.in: Remove oc since oc.po is gone.
131
132 2008-01-30  Wouter Bolsterlee  <wbolster@svn.gnome.org>
133
134         * glib/gchecksum.c:
135         * glib/gtestutils.c:
136         * glib/gutils.c:
137
138         Fixed gtk-doc warnings by updating the documentation of
139         various functions.
140
141 2008-01-29  Christian Persch  <chpe@gnome.org>
142
143         * docs/reference/glib/tmpl/macros_misc.sgml: G_GNUC_[PRETTY_]FUNCTION
144         are deprecated since 2.16, not 2.14.
145
146 2008-01-29 14:58:31  Tim Janik  <timj@imendio.com>
147
148         * glib/gmem.[hc]: changed size argument type from gulong to gsize as
149         discussed on gtk-devel-list:
150           http://mail.gnome.org/archives/gtk-devel-list/2007-March/msg00062.html
151         this should be ABI compatible on all platforms except win64 for which
152         no ABI binding port exists yet.
153
154 2008-01-29  Sebastian Wilhelmi  <wilhelmi@google.com>
155
156         * tests/threadpool-test.c (test_thread_pools): Grab
157         thread_counter_pools LOCK when increasing
158         leftover_task_counter. Fixes race in test. (#512624, Simon Murray)
159
160 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
161
162         * configure.in: Bump version
163
164 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
165
166         * === Released 2.15.4 ===
167
168         * NEWS: Updates
169
170 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
171
172         * configure.in: Check for gmtime_r.  
173         * glib/gtimer.c: Use gmtime_r when available.  (#511807,
174         Sebastian Dröge)
175
176 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
177
178         * glib/gnode.[hc]: Move docs inline.  (#316260, Philippe Blain)
179
180 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
181
182         * glib/gutf8.c (g_utf8_strreverse): Document limitations
183         of this function.  (#487909, Peter Moulder)
184
185 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
186
187         * glib/goption.c (group_list_has_visible_entries):
188         Removed unused variable is_main_group.  (#512381,
189         Wouter Bolsterlee)
190
191 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
192
193         * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION. Bug #409360.
194
195 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
196
197         * m4macros/glib-gettext.m4: Remove AC_CANONICAL_HOST from
198         GLIB_WITH_NLS again.  (#385132)
199
200 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
201
202         * configure.in: Fix the pcre Unicode test to work with
203         LDFLAGS=-Wl,--as-needed.  (#484261, Mark Lee)
204
205 2008-01-27  Murray Cumming  <murrayc@murrayc.com>
206
207         * gio/gfile.c: (g_file_replace_contents),
208         (g_file_replace_contents_finish): Document that the new_etags output 
209         gchar* should be freed.
210
211 2008-01-25  Loïc Minier  <lool@dooz.org>
212
213         * glib/goption.c: (group_has_visible_entries),
214         (group_list_has_visible_entires), (g_option_context_get_help): Pass
215         context down the implementation to check for the main_group.
216         Bug #510292.
217         * glib/tests/option-context.c:
218         Don't set G_OPTION_FLAG_IN_MAIN in main_entries
219         (group_captions): only create group when actually adding it to the
220         context; add an exit(0) to make sure the test succeeds.
221
222 2008-01-23  Jens Granseuer  <jensgr@gmx.net>
223
224         * glib/gtestutils.c: (g_test_trap_fork):
225         * glib/tests/testing.c: (test_assertions): Only declare variables at
226         the beginning of a code block. Bug #511654.
227
228 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
229
230         * configure.in: Bump version
231
232         * === Released 2.15.3 ===
233
234 2008-01-21  Tor Lillqvist  <tml@novell.com>
235
236         * glib-zip.in: Add the gio DLL to the runtime zipfile.
237
238 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
239
240         * === Released 2.15.3 ===
241
242         * NEWS: Updates
243
244 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
245
246         * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data 
247         length if the data is a null-terminated string. Bug #510855.
248
249 2008-01-21  Alexander Larsson  <alexl@redhat.com>
250
251         * configure.in:
252         Only check for sys/inotify.h (see gio/ChangeLog) 
253
254 2008-01-18 16:51:23  Tim Janik  <timj@imendio.com>
255
256         * glib/gutils.h: don't define __GNUC_PREREQ which is not in the glib
257         namespace. for gcc, define G_INLINE_FUNC to "static inline" as with
258         all other C compilers, because newer GCC versions incompatibly
259         changed "extern inline" semantics.
260
261 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
262
263         * glib/gfileutils.c:
264         * glib/gsequence.c:
265         * glib/gstring.c: Fixed some minor typos in the documentation.
266
267 2008-01-16  Dan Winship  <danw@gnome.org>
268
269         * glib/gchecksum.c (md5_sum_update): Fix another bug (which
270         doesn't affect the results, but may cause it to read bad memory).
271
272 2008-01-15  Alexander Larsson  <alexl@redhat.com>
273
274         * glib/gurifuncs.c:
275         Clarify docs for g_uri_unescape_string() (#508773)
276
277 2008-01-14  Dan Winship  <danw@gnome.org>
278
279         * m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)
280
281 2008-01-15  Dan Winship  <danw@gnome.org>
282
283         * glib/gchecksum.c (md5_sum_update): fix this; the previous code
284         gave the wrong md5sum when called in certain ways with buffers
285         larger than 64 bytes.
286         (g_checksum_update): remove the unnecessary "length > 1"
287         restriction
288
289         * tests/checksum-test.c: Rewrite this to be much more exhaustive
290         (and in particular to test the md5_sum_update bugfix).
291
292 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
293
294         * configure.in: Bump version
295
296         * === Released 2.15.2 ===
297
298         * NEWS: Updates
299
300 2008-01-14  Alexander Larsson  <alexl@redhat.com>
301
302         * glib/gurifuncs.c:
303         Clarify docs for g_uri_escape_string (#508773)
304
305 2008-01-12  Andre Klapper  <a9016009@gmx.de>
306
307         * configure.in: ALL_LINGUAS: remove line breaks from previous 
308         commit to get damned-lies stats correct again. Add Sinhala (si).
309
310 2008-01-11  Matthias Clasen  <mclasen@redhat.com>
311
312         * glib/gtestutils.c: Fix a docs typo
313
314 2008-01-11 12:55:19  Tim Janik  <timj@imendio.com>
315
316         * tests/testingbase64.c: added g_base64_encode()/g_base64_decode()
317         test case by Asbjoern Pettersen. fixed up coding style.
318
319 2008-01-11 09:00:28  Tim Janik  <timj@imendio.com>
320
321         * glib/Makefile.am (install-exec-hook): use mv/sed/rm on a temporary
322         file instead of "sed -i" which is not portable enough.
323
324 2008-01-08  Alexander Larsson  <alexl@redhat.com>
325
326         * tests/cxx-test.C:
327         Add gio/gio.h include to check for c++ problems.
328
329 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
330
331         * configure.in: Bump version
332
333         * === Released 2.15.1 ===
334
335 2008-01-07  Alexander Larsson  <alexl@redhat.com>
336
337         * configure.in:
338         Add gio/test/Makefile to AC_CONFIG_FILES
339
340 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
341
342         * NEWS: Updates
343
344 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
345
346         * glib/gregex.c: Add a translator comment (#503051, 
347         Pedro de Medeiros)
348
349 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
350
351         * glib/gutils.h: Cope with gcc 4.3 changed 'extern inline'
352         semantics.  (#315437, patch by Loïc Minier)
353
354 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
355
356         * glib/gspawn.c (fdwalk): Don't set open_max to
357         RLIM_INFINITY.  (#495589, Tommi Komulainen)
358
359 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
360
361         * README.in, INSTALL.in: Document new dependencies.
362
363 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
364
365         * gio-2.0.pc.in, gio-2.0-uninstalled.pc.in: Require glib-2.0
366         (#507628)
367
368 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
369
370         Resolve 64 bit-shift bug in g_markup_collect_attributes.
371         Spotted by Lieven van der Heide.
372
373         * glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift.
374
375 2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>
376
377         * gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
378         These void functions were trying to return a value. It was causing
379         the compilation to fail.
380
381 2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>
382
383         * glib/ghash.c (g_hash_table_replace, g_hash_table_insert): These
384         functions prototype defines its output as void, and therefore they
385         should not return any value. This patch fixes a compilation error:
386         the "return" clauses were incompatible with the functions prototype.
387
388 2007-12-31  Matthias Clasen  <mclasen@redhat.com>
389
390         * glib/gslice.c: Remove C99 comments
391
392 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
393
394         * glib/gtestutils.h:
395         * glib/glib.symbols: Mark assertion functions as G_GNUC_NORETURN.
396         (#506461, Sebastian Dröge)
397
398 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
399
400         * glib/gtestutils.c: Include sys/time.h.  (#505258)
401
402 2007-12-22  Mathias Hasselmann  <mathias@openismus.com>
403
404         Do not show empty groups in --help output. Initial patch from Yevgen
405         Muntyan. (#504142)
406
407         * glib/goption.c: Do not show empty groups in --help output.
408         * glib/tests/Makefile.am: Add option-context.c
409         * glib/tests/option-context.c: Test skipping of empty groups.
410
411 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
412
413         * glib/gkeyfile.c: Remove wrong documentation about start group
414         handling.  (#476856, Areg Beketovski)
415
416 2007-12-21 18:02:30  Tim Janik  <timj@imendio.com>
417
418         * glib/Makefile.am: use "sed -i.bak <CMD> <FILE> && rm -f <FILE>.bak"
419         syntax for install-exec-hook, which seems to be the only "sed -i"
420         variant that is portable across linux and MacOS.
421
422 2007-12-21  Matthias Clasen  <mclasne@redhat.com>
423
424         * glib/gtestutils.h: Bring up to GLib coding standards: remove
425         C99 comments, trailing commas in enumerations and extra ; after
426         G_BEGIN/END_DECLS. Among other things, this makes xulrunner build
427         against GLib 2.15.
428
429         * glib/gtester.c: More of the same
430
431 2007-12-09  Hans Breuer  <hans@breuer.org>
432
433         * tests/gio-ls.c : adapt to recent api changes
434         * tests/testglib.c : variable declaration at the beginning of a block
435         
436         (Lieven van der Heide, #503602)
437         * win32-fixup.pl : process *.rc.in as well; substitute 
438         LT_CURRENT_MINUS_AGE
439         * glib/makefile.msc.in : alphabetic sorting of OBJECTS
440
441 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
442
443         * configure.in: Bump version
444
445         * === Released 2.15.0 ===
446
447         * NEWS: Updates
448
449         * glib/Makefile.am: Fix make dist
450
451 2007-12-20 16:34:04  Tim Janik  <timj@imendio.com>
452
453         * glib/gtester-report: commented class definitions. moved HTML character
454         escaping out of javascript. fixed string->bool conversions. added performance
455         results to test case "Details" window.
456
457 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
458
459         * glib/gchecksum.[hc] (g_checksum_new): Return NULL when 
460         the checksum_type is unknown.  (#501853)
461
462 2007-12-20  Christian Persch  <chpe@gnome.org>
463
464         * glib/gchecksum.c (g_checksum_new): Use g_slice_new0, to fix
465         "conditional jump or move depends on uninitialised value(s)" error
466         from valgrind. Bug #504527.
467
468 2007-12-20 15:17:04  Tim Janik  <timj@imendio.com>
469
470         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
471
472 2007-12-20 15:03:51  Tim Janik  <timj@imendio.com>
473
474         * glib/gtester-report: new python script that generates an HTML
475         unit test report from the XML files generated by gtester.
476
477         * glib/Makefile.am: install gtester-report in $bindir and configure
478         it upon installation (version number and python shebang).
479
480 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
481
482         * glib/glib.symbols: Add g_async_queue_new_full
483
484 2007-12-19 20:30:18  Tim Janik  <timj@imendio.com>
485
486         * glib/gtestutils.c: capture g_log() messages and send to gtester.
487         also, send assertion messages to gtester.
488
489         * glib/gtester.c: add error messages to output log file.
490         force child poll loop to abort if waitpid() signaled child exit,
491         eventhough the child's report file descriptor wasn't closed.
492
493 2007-12-19  Christian Persch  <chpe@gnome.org>
494
495         * glib/gchecksum.c: (g_checksum_type_get_length),
496         (g_checksum_get_digest):
497         * glib/gchecksum.h:
498         * glib/glib.symbols:
499         * tests/checksum-test.c: (test_checksum): Add
500         g_checksum_type_get_length, and change g_checksum_get_digest to use a
501         provided buffer instead of returning allocated memory. Bug #501853.
502
503 2007-12-19  Emmanuele Bassi  <ebassi@gnome.org>
504
505         * glib/gtimer.c (g_time_val_from_iso8601): Fix the date validation
506         check. (#503029)
507
508         * tests/testglib.c (various_string_tests): Add an invalid date
509         for testing the above fix.
510
511 2007-12-19  Alexander Larsson  <alexl@redhat.com>
512
513         * glib/gfileutils.[ch]:
514         * glib/glib.symbols:
515         Rename g_format_file_size_for_display to g_format_size_for_display.
516
517 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
518
519         * docs/reference/glib/glib-sections.txt:
520         * glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
521           (g_async_queue_unref):
522         * glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
523           GDestroyNotify function to free any remaining queue items when the
524           queue is destroyed after the final atomic unref (#367550).
525
526 2007-12-18 13:45:23  Tim Janik  <timj@imendio.com>
527
528         * glib/gtestutils.[hc]: added g_test_trap_assert_stdout_unmatched() and
529         g_test_trap_assert_stderr_unmatched(), based on a suggestion by Mathias
530         Hasselmann. reworked g_test_trap_assertions() to use flags to encode
531         assertion semantics, fixes #504227.
532
533 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
534
535         * glib/gutils.c:
536         Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)
537
538 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
539
540         * glib/glib.symbols:
541         * glib/ghash.[hc]: Add hash table iterators.  (#500507,
542         Jean-Yves Lefort)
543
544         * tests/hash-test.c: Test iterators. 
545
546 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
547
548         Give exmples in error message unsupported case-changing escape
549         sequences. (503222)
550
551         * glib/gregex.c: Add examples to error message for PCRE-ERR37.
552
553 2007-12-13  Bastien Nocera  <hadess@hadess.net>
554
555         * glib/gtimer.c: (g_time_val_from_iso8601):
556         Don't try to parse dates that start with anything but a
557         digit, a plus or a minus sign, as those can't be valid
558         ISO8601 dates (Closes: #503029)
559
560 2007-12-13  Matthias Clasen  <mclasen@redhat.com>
561
562         * glib/gkeyfile.c (g_key_file_clear): Free group_hash.
563         (#503420, Christian Persch)
564
565 2007-12-12 16:06:11  Tim Janik  <timj@imendio.com>
566
567         * tests/testglib.c: split up tests and reworked code to use
568         the new test framework.
569
570         * tests/Makefile.am: added testglib to TEST_PROGS.
571
572 2007-12-11 Rahul Bhalerao <b.rahul.pm@gmail.com>
573
574         * configure.in: Added entry for Marathi Translations
575
576 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
577
578         * glib/glib.h: Include gurifuncs.h
579
580 2007-12-10  Benjamin Otte  <otte@gnome.org>
581
582         * glib/garray.h: use an intermediate cast to void * in g_array_index()
583         to not trigger cast alignment warnings, fixes #502927.
584
585 2007-12-10 15:08:59  Tim Janik  <timj@imendio.com>
586
587         * let g_warn_if_fail replace g_assert as discussed here:
588           http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
589
590         * fix bug #502498: Test framework assertion failures should follow
591         gcc error format.
592
593         * gmessages.h, gmessages.c: deprecated g_assert_warning() which is
594         unused now. removed g_assert*() definitions whcih are provided by 
595         gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()  
596         which are recommended as g_assert/g_assert_not_reached replacements
597         for non-test programs.
598         added g_warn_message() to implement g_warn_*() macros.
599         use emacs-next-error friendly formatting for file:line: for warnings.
600
601         * gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
602         implement g_assert_not_reached() with g_assertion_message() and
603         g_assert() in terms of g_assertion_message_expr() so we'll be able to
604         provide assertion messages in test logs.
605
606         * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
607         or g_return_if_fail() where suitable.
608
609         * gio/: changed g_assert to g_warn_if_fail.
610
611 2007-12-10 13:02:08  Tim Janik  <timj@imendio.com>
612
613         * glib/gtestutils.c (g_assertion_message_cmpnum): applied patch by Tommi
614         Komulainen to fix int64 printouts, fixes #502511.
615
616 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
617
618         * glib/gstrfuncs.h:
619         * glib/gstrfuncs.c (g_dpgettext): Change prototype to take 
620         msgctxtid + offset instead of two strings, to avoid duplication
621         of string constants if the compiler/linker don't perform constant
622         suffix merging.  (#502590, Christian Persch)
623
624         * glib/gi18n.h:
625         * glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
626
627 2007-12-09  Hans Breuer  <hans@breuer.org>
628
629         * tests/gio-ls.c : (new file) a test program emulating some of 'ls'
630         * tests/makefile.msc.in : build it (currently on win32)
631
632         * **/makefile.msc glib/makefile.msc.in : removed -GD to compile
633         with msvc9 (vs2008) with less complains
634         
635         * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
636         msv8 (vs2005) and above
637         
638         * glib/gfileutils.c : s/stricmp/_stricmp/
639         * msvc_recommended_pragmas.h : work around Microsoft's premature 
640         attempt to deprecate the C-Library
641
642         * tests/makefile.msc.in : added checksum-test
643
644 2007-12-08  Christian Persch  <chpe@gnome.org>
645
646         * gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
647         #ifdef G_OS_WIN32 to fix the build on linux.
648
649 2007-12-08  Hans Breuer  <hans@breuer.org>
650
651         * glib/makefile.msc.in : build gchecksum.obj
652
653 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
654
655         * glib/ghash.c: Call destroy notify when destroying
656         the hash table in g_hash_table_unref.
657
658 2007-12-06 13:29:00  Tim Janik  <timj@imendio.com>
659
660         * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
661         by read()==0 following poll(), needed on MacOS.
662
663 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
664
665         * glib/gunidecomp.c: Mention g_utf8_normalize()
666         returns NULL on invalid string. (#501997)
667
668 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
669
670         * glib/gerror.c: Improve wording for g_propagate_error docs.
671
672 2007-12-06 09:27:42  Tim Janik  <timj@imendio.com>
673
674         * tests/scannerapi.c: added new scanner test from #501654, by
675         Patrick Hulin with various modifications.
676         reworked coding style, adapted to new testing framework, fixed
677         token parser test and use a forked sub process to test
678         g_scanner_error() output messages.
679
680 2007-12-05 17:58:18  Tim Janik  <timj@imendio.com>
681
682         * glib/gtester.c: added -m=thorough support to gtester.
683
684 2007-12-05 17:21:05  Tim Janik  <timj@imendio.com>
685
686         * glib/glib/gtestutils.c: print out random seed for verbose tests,
687         also adapted test result reporting slightly in verbose mode to allow
688         custom debugging output. support "thorough" as test mode alis for "slow".
689
690         * glib/glib/gtestutils.h: added g_test_thorough().
691
692         * glib/glib/gtester.c: print out the last random seed when tests fail.
693         added result attribute to test case status logging to easily spot
694         failing tests in log files. disabled debugging output when skipping tests.
695
696 2007-12-05 11:43:22  Tim Janik  <timj@imendio.com>
697
698         * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
699         into tests. allow data arguments for fixture tests.
700
701         * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
702         upon criticals/warnings/errors.
703
704         * glib/tests/testing.c: test test_data arguments.
705
706         * glib/gtester.c: some prototype fixups.
707
708 2007-12-05  Tor Lillqvist  <tml@novell.com>
709
710         * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
711         "shift_jis".
712
713 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
714
715         * autogen.sh: for the benefit of git users, checkout build/ if it is
716         missing
717         * .gitignore: but after that, ignore it.
718
719 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
720
721         * glib/ghash.c: ungtk-docify some comments for internal functions
722
723 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
724
725         * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
726         generation with GChecksum.
727
728 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
729
730         * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
731         various hashing algorithms. At the moment, the MD5, SHA-1 and
732         SHA-256 algorithms are supported. (#443648)
733
734         * glib/glib.h:
735         * glib/Makefile.am:
736         * glib/glib.symbols: Build glue for GChecksum
737
738         * tests/Makefile.am
739         * tests/checksum-test.c: Add test suite for GChecksum.
740
741 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
742
743         * glib/ghash.c: no code changes; add comments to document the internal
744         functions.
745
746 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
747
748         * glib/ghash.c: no code changes; reorder functions to remove the need
749         for forward declarations.
750
751 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
752
753         * glib/ghash.c (g_hash_table_lookup_node,
754         g_hash_table_lookup_extended, g_hash_table_insert_internal,
755         g_hash_node_new): improve clarity in some functions
756
757 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
758
759         * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
760
761 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
762
763         * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
764
765 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
766
767         * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
768         from file to fix the build
769
770 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
771
772         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
773
774 2007-12-03  Hans Breuer  <hans@breuer.org>
775
776         * glib/glib.symbols : added glib_gettext (in use by gio)
777         * makefile.msc : also try building gio
778         
779         * glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid 
780         'bad suffix on number'
781         * glib/gtestutils.c : declare cariable at the beginning of the block,
782         include <io.h> for G_OS_WIN32
783         * makefile.msc.in : add gurifuncs and gtestutils
784
785 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
786
787         * glib/ghash.c: create a common function for the many places where all
788         nodes in the table are removed (remove_all, steal_all, destroy, unref,
789         etc...)
790
791 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
792
793         * tests/hash-test.c (second_hash_test): fix memory leak, add a few
794         extra sanity tests.
795
796 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
797         
798         * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
799         (#500638, Michael Meeks)
800
801 2007-12-03  Marco Barisione <marco@barisione.org>
802
803         * glib/gregex.c:
804         * glib/gregex.h: Add new error codes for when compilation fails and
805         make compilation error translatable. (#482313, Morten Welinder)
806
807 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
808
809         * glib/gkeyfile.c: Add a hash table to speed up group lookups,
810         which GKeyFile does quite a lot.  
811
812 2007-12-03  Alexander Larsson  <alexl@redhat.com>
813
814         * configure.in:
815         Add xattr checks for OSX style API (#500506)
816
817 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
818
819         * glib/ghash.c: merge more common code into functions.  Vastly
820         simplify loop logic in g_hash_table_foreach_remove_or_steal().
821
822 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
823
824         * Makefile.am: Don't descend into build/. (#500875)
825
826 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
827
828         * glib/gmarkup.h:
829         * glib/gmarkup.c: 
830         * glib/gerror.c: Add Since: tags to new API, other doc improvements.
831
832 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
833
834         * glib/gurifuncs.c: Some doc cleanups
835
836 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
837
838         * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
839
840         * glib/gconvert.c: De-doc-commentify static functions to
841         shut up gtk-doc.
842
843         * glib/gutils.c: Fix the glib_gettext doc comment.
844
845 2007-11-28  Tor Lillqvist  <tml@novell.com>
846
847         * config.h.win32.in: Update to match what configure produces.
848
849 2007-11-28  Alexander Larsson  <alexl@redhat.com>
850
851         * glib/gstring.c (g_string_append_uri_escaped):
852         Move this function before g_string_append_c so that
853         we avoid the plt call due to the undefinf of g_string_append_c
854
855 2007-11-28  Emmanuele Bassi  <ebassi@gnome.org>
856
857         * gio/Makefile.am: Remove makegioalias.pl from the marshal files
858         and avoid it being cleaned up when running make clean.
859
860 2007-11-28  Alexander Larsson  <alexl@redhat.com>
861
862         * glib/glib.symbols:
863         Add in the new symbols
864         
865         * glib/gurifuncs.c:
866         Use the aliases framework
867         
868         * glib/glibintl.h:
869         * glib/gutils.c:
870         Make the alias stuff work now that glib_gettext
871         is exported to libgio. 
872
873 2007-11-27  Ryan Lortie  <desrt@desrt.ca>
874
875         * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
876         g_hash_table_insert_internal): insert/replace were identical except
877         for a single line.  Replace both with a common function.
878
879 2007-11-27  Alexander Larsson  <alexl@redhat.com>
880
881         * gio/Makefile.am:
882         * gio/gurifuncs.[ch]:
883         * glib/Makefile.am:
884         * glib/gstring.[ch]:
885         * glib/gurifuncs.[ch]:
886         Moved gurifuncs from gio to glib
887
888 2007-11-27  Alexander Larsson  <alexl@redhat.com>
889
890         * gio/gfileinfo.[ch]:
891         * glib/gfileutils.[ch]:
892         Move g_format_file_size_for_display from gio to glib
893
894 2007-11-27  Alexander Larsson  <alexl@redhat.com>
895
896         * configure.in:
897         Allow configuration of gio-module-dir
898         
899         * gio-2.0.pc.in:
900         Export giomodules location as giomodule variable
901
902 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
903
904         * tests/markup-collect.c: Add some tests for invalid booleans
905
906 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
907  
908         Add new function g_markup_collect_attributes (bug #496847).
909  
910         * glib/glib.symbols: add g_markup_collect_attributes
911  
912         * docs/reference/glib/glib-sections.txt: 
913         * glib/gmarkup.h:
914         * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
915         type GMarkupCollectType.  Add new error code
916         G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
917         collector.
918
919 2007-11-27  Tor Lillqvist  <tml@novell.com>
920
921         * glib/win_iconv.c: Some improvements, being upstreamed.
922         (must_use_null_useddefaultchar): New function, checks for those
923         codepages for which one must pass a NULL lpUsedDefaultChar pointer
924         to WideCharToMultiByte().
925         (kernel_wctomb): Use it.
926         (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
927
928 2007-11-27  Tor Lillqvist  <tml@novell.com>
929
930         * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
931         lib/locale or share/locale depending on which one is in
932         GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
933         on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
934
935         * glib-zip.in: Likewise, look for message catalogs either in
936         lib/locale or share/locale.
937
938 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
939
940         * gio/gfileattribute.c: Fix up a doc comment.
941
942 2007-11-26  Alexander Larsson  <alexl@redhat.com>
943
944         * Makefile.am:
945         * configure.in:
946         * gio-2.0-uninstalled.pc.in:
947         * gio-2.0.pc.in: 
948         * gio-unix-2.0-uninstalled.pc.in:
949         * gio-unix-2.0.pc.in:
950         * gio/
951         * docs/reference/gio
952         Merged gio-standalone into glib.
953         
954         * glib/glibintl.h:
955         * glib/gutils.c:
956         Export glib_gettext so that gio can use it
957         Add P_ (using same domain for now)
958         Add I_ as g_intern_static_string
959
960 2007-11-26  Tor Lillqvist  <tml@novell.com>
961
962         * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
963
964 2007-11-26  Tor Lillqvist  <tml@novell.com>
965
966         Implement #491549: On Windows, always use the native API for
967         character set conversions instead of GNU libiconv. Almost all
968         codesets supported by GNU libiconv exist as Windows codepages.
969         One missing feature is the "C99" and "JAVA" pseudo codesets, but I
970         doubt that is worth worrying about.
971         
972         * glib/win_iconv.c: New file. iconv() implementation for
973         Windows. Placed in the public domain by Yukihiro Nakadaira
974         <yukihiro.nakadaira@gmail.com>. From
975         http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
976         2007-11-17 version.
977
978         * glib/gconvert.c: Include win_iconv.c on Windows.
979
980         * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
981         
982         * configure.in: Bypass iconv checks on Windows. 
983
984 2007-11-25  Tor Lillqvist  <tml@novell.com>
985
986         * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
987         unless G_OS_UNIX for now.
988
989 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
990
991         * configure.in: Require gtk-doc 1.8.
992
993         * glib/gasyncqueue.c:
994         * glib/gdate.c:
995         * glib/gfileutils.c:
996         * glib/gmain.c:
997         * glib/gmarkup.c:
998         * glib/gregex.c:
999         * glib/gtestutils.c:
1000         * glib/gutils.c: Use gtk-doc abbreviations for 
1001         examples in doc comments.
1002
1003 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
1004
1005         * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
1006         cleanups.
1007
1008 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
1009
1010         * tests/base64-test.c: Fix a memory overrun.
1011
1012 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
1013
1014         * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
1015
1016 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
1017
1018         * glib/gbase64.c (g_base64_encode): Don't refuse to encode
1019         a single byte.  (Milan Crha)
1020
1021         * tests/base64-test.c: Test encoding short strings.
1022
1023 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
1024
1025         * glib/gi18n-lib.h: 
1026         * glib/gi18n.h: Define a two-argument macro C_() for marking
1027         translatable strings with context and implement C_() and Q_()
1028         using g_dpgettext().  (#142676, Morten Welinder)
1029
1030         * glib/glib.symbols:
1031         * glib/gstrfuncs.[hc]: Implement g_dpgettext().
1032
1033 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
1034
1035         * glib/goption.c: Use g_print to print out --help text in 
1036         locale encoding.  (#469551, Takao Fujiwara)
1037
1038 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
1039
1040         * glib/gkeyfile.c: Set length out param in list-returning functions
1041         to 0 when returning NULL.  (#498728, Christian Persch)
1042
1043 2007-11-21 21:06:47  Tim Janik  <timj@imendio.com>
1044
1045         * Makefile.decl: initialize automake variables EXTRA_DIST and
1046         TEST_PROGS for unconditional appending via += in other makefiles.
1047         define recursive test targets: test, test-report, perf-report,
1048         full-report, as described here:
1049         http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1050
1051         * Makefile.am:
1052         * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
1053         * build/win32/Makefile.am, build/Makefile.am:
1054         * docs/Makefile.am, docs/reference/Makefile.am:
1055         * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
1056         * gmodule/Makefile.am, tests/Makefile.am:
1057         * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
1058         * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
1059         * glib/tests/Makefile.am, glib/pcre/Makefile.am:
1060         * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
1061         * gthread/Makefile.am, glib/Makefile.am:
1062         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1063
1064         * glib/tests/Makefile.am: removed example testing rules.
1065
1066         * glib/tests/testing.c: conditionalized performance and slow tests.
1067
1068         * glib/gtestutils.h:
1069         * glib/gtestutils.c: work around g_test_config_vars not changing its
1070         exported value after value assignments, aparently due to symbol aliases.
1071
1072         * glib/gtester.c: fixed off-by-one error which produced junk in logs.
1073
1074         * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
1075
1076 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
1077
1078         Renamed gtestframework to gtestutils.
1079
1080         * glib/glib.h:
1081         * glib/Makefile.am: added gtestutils.h to public includes.
1082
1083         * glib/gtestutils.c: include gtestutils.h.
1084
1085         * glib/gtestutils.h:
1086         * glib/glib.symbols:
1087         * glib/tests/testing.c: renamed gtestframework to gtestutils.
1088
1089         * glib/gtestframework.h: renamed to gtestutils.h.
1090
1091         * glib/gtestframework.c: renamed to gtestutils.c.
1092
1093 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
1094
1095         glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
1096
1097 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
1098
1099         gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
1100
1101 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
1102
1103         gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
1104
1105 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
1106
1107         Added g_test_bug() and related API.
1108
1109         * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
1110
1111         * gtestframework.h, gtestframework.c: added test message API and convenience
1112         API to send test messages about bug URLs.
1113
1114 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
1115
1116         Added API to access test framework configuration.
1117
1118         * gtestframework.h, gtestframework.c: export testing configuration to test
1119         programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
1120
1121 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
1122
1123         gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
1124
1125         * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
1126         restart test binaries when tests fail, resuming after the last processed test.
1127         support --gtester-selftest to run gtester itself as test program.
1128         support --test-arg=<arg> to pass args along to test programs. added
1129         main_selftest() which does a simplistic fixture test. fail if exit
1130         code of test programs is not 0.
1131
1132         * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
1133
1134         * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
1135
1136         * tests/Makefile.am: added test-report: for demonstration purposes.
1137         added gtester-xmllint-check: and hooked it up into check:, this rule calls
1138         gtester as test program, running it's selftest, and then uses xmllint to
1139         validate the generate XML test log file.
1140
1141 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
1142
1143         gtester: implemented XML logging.
1144
1145         * glib/gtester.c: log test messages to XML output file. beautified normal test
1146         result output.
1147
1148         * glib/gtestframework.c: fixed GTimer leak.
1149
1150         * glib/tests/Makefile.am: start gtester with --verbose.
1151
1152 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
1153
1154         tests/Makefile.am: execute test programs with gtester, add test: to check:
1155
1156 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
1157
1158         Fixed PLT symbol exports for gtestframework.h.
1159
1160         * glib/glib.symbols: added all exported gtestframework.h symbols.
1161
1162         * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
1163
1164 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
1165
1166         glib/gtester.c: fixed debugging flag.
1167
1168 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
1169
1170         fixed bogus unistd.h include.
1171
1172 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
1173
1174         Implemented test log IPC.
1175
1176         * gtester.c: read and decode log messages from test binary child processes.
1177         fixed GIOChannel and child watch handling to process all messages and avoid
1178         hangs. pass --verbose and --quiet on to children, default to --quiet.
1179
1180         * gtestframework.h: export g_test_log_type_name().
1181
1182         * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
1183         bogus -o-option.
1184
1185 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
1186
1187         gtester.c: support test case listing through gtester.
1188
1189 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
1190
1191         gtestframework.c: fixed testpath matches for automatic root suite.
1192
1193 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
1194
1195         gtester.c: adapted to become a rudimentary test binary launcher.
1196
1197         * gtester.c: increased read buffer size to match common unix pipe buffer size.
1198         added argument parsing and usage. changed io handling to capture and replicate
1199         stdout. fixed io handlers to be cleaned up when the child process exits (catch
1200         G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
1201         structure, to keep running until the child process exits and all io has been
1202         processed. launch the test binaries given on the command line. don't quit when
1203         a child couldn't be launched but --keep-going was specified.
1204
1205 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
1206
1207         Integrated gtester program into build process.
1208
1209         * Makefile.am: build and install gtester binary.
1210
1211         * gtester.c: fixed up coding style and removed hard wired test coded.
1212
1213 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
1214
1215         glib/gtester.c:Small -Wall fix
1216
1217 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
1218
1219         glib/gtester.c:Implemented nonblocking reading properly now
1220
1221 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
1222
1223         glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
1224
1225 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
1226
1227         glib/gtester.c:Read the output of the child process
1228
1229 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
1230
1231         glib/gtester.c:Use g_spawn_async_with_pipes()
1232
1233 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
1234
1235         glib/gtester.c:Spawn a process async and quit gtester after the child process exited
1236
1237 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
1238
1239         glib/gtester.c:Added a first revision of gtester
1240
1241 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
1242
1243         Implemented test log serialization.
1244
1245         * glib/gtestframework.h: added g_test_log*() API.
1246
1247         * glib/gtestframework.c: implement test log serialization.
1248
1249 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
1250
1251         Implemented test logging basics.
1252
1253         * glib/gtestframework.c: added --debug-log and --verbose, implemented
1254         test information logging.
1255
1256         * testing.c: test g_test_maximized_result() and g_test_minimized_result().
1257
1258 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
1259
1260         Implemented g_test_timer*().
1261
1262         * gtestframework.c: implemented g_test_timer*().
1263
1264         * tests/testing.c: added a g_test_timer*() test.
1265
1266 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
1267
1268         Implemented support for testpaths.
1269
1270         * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
1271
1272         * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
1273
1274 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
1275
1276         testing.c: added tests for the g_test_rand*() API.
1277
1278 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
1279
1280         Implemented g_test_rand*().
1281
1282         * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
1283         added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
1284         doubles and ranges.
1285
1286         * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
1287
1288 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
1289
1290         testing.c: added tests for g_assert_cmphex() and forked test traps.
1291
1292 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
1293
1294         Implemented g_test_trap_fork() API.
1295
1296         * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
1297
1298         * gtestframework.c: implemented g_test_trap_fork() API.
1299
1300 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
1301
1302         * glib/gtestframework.c:
1303
1304         that match a given test path.
1305         (g_test_run_suite): run suite only if it matches the existing test paths.
1306
1307         * glib/tests/testing.c: minor rename.
1308
1309 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
1310
1311         GTest framework started.
1312
1313         * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
1314         includes elaborate assertions, performance report functions, test traps,
1315         test timer, test random numbers, teardoiwn garbage collection functions
1316         and general test case / test suite management APIs.
1317
1318         * glib/gtestframework.c: first test framework implementation. already covers
1319         some test suite management APIs and assertion message implementations.
1320
1321         * glib/tests/testing.c: test program for the testing framework.
1322
1323         * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
1324         make test:.
1325
1326 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
1327
1328         glib/Makefile.am: build tests/ subdir after building libglib.
1329
1330 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
1331
1332         Fixed up internal 'g_test*' names.
1333
1334         * refcount/signals.c:
1335         * refcount/objects.c:
1336         * refcount/objects2.c:
1337         * refcount/closures.c:
1338         * refcount/properties.c:
1339         * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
1340         to not clash with newly introduced g_test* API in glib.
1341
1342 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
1343
1344         Added gtestframework.[hc] and glib/tests/.
1345
1346 2007-11-20  Sven Neumann  <sven@gimp.org>
1347
1348         * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
1349         g_strjoin() to concatenate two strings.
1350
1351 2007-11-19  Marco Barisione  <marco@barisione.org>
1352
1353         * glib/gregex.c: When the compilation of a pattern fails in the error
1354         message use the character offset and not the byte offset.
1355
1356         * glib/gregex.c: Pass an unsigned long instead of an int to
1357         pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
1358         Sutou)
1359
1360 2007-11-19 10:30:33  Tim Janik  <timj@imendio.com>
1361
1362         * configure.in: updated version number to 2.15.0 for development.
1363
1364 2007-11-18  Matthias Clasen  <mclasen@redhat.com>
1365
1366         * glib/gbase64.c: Documentation improvements.  (#496518,
1367         Stefan Schulze Frielinghaus)
1368
1369 2007-11-18  Matthias Clasen  <mclasen@redhat.com>
1370
1371         * configure.in: Check whether assembler supports numerical local
1372         labels.  
1373
1374         * glib/gatomic.c: Fix powerpc implementation of atomic ops for 
1375         platforms where the assembler doesn't support numerical local
1376         labels.  (#445362)
1377
1378 2007-11-15  Ryan Lortie  <desrt@desrt.ca>
1379
1380         * docs/reference/glib/tmpl/markup.sgml:
1381         * glib/gmarkup.h:
1382         * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
1383         parser to prepend location information (ie: "Error on line %d, char
1384         %d:") to errors generated by the GMarkupParser callbacks.
1385
1386         Closes #496046.
1387
1388 2007-11-15  Ryan Lortie  <desrt@desrt.ca>
1389
1390         * docs/reference/glib/glib-sections.txt:
1391         * glib/glib.symbols:
1392         * glib/gerror.h:
1393         * glib/gerror.c: new functions g_prefix_error and
1394         g_propagate_prefixed_error.
1395
1396 2007-11-13  Cody Russell  <bratsche@gnome.org>
1397
1398         * docs/reference/gobject/gobject-docs.sgml:
1399         * docs/reference/gobject/tut_gsignal.xml:
1400         * docs/reference/gobject/tut_gtype.xml:
1401         * docs/reference/gobject/tut_intro.xml:
1402         * docs/reference/gobject/tut_tools.xml:
1403         * docs/reference/gobject/tut_howto.xml:
1404         * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
1405         Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
1406         NAUTILUS_WINDOW_TYPE).  Fixed text which erroneously stated that 
1407         superclass initializers don't run when an object is 
1408         instantiated.  Fixed numerous spelling mistakes.  Minor grammar 
1409         edits. (#490637, Adam Dingle)
1410
1411 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1412
1413         * glib/gkeyfile.c: Coding style cleanups and doc 
1414         improvements.  (#491979, #491982, Areg Beketovski)
1415
1416 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1417
1418         * glib/giochannel.c: Coding style cleanups and doc 
1419         improvements.  (#491975, Areg Beketovski)
1420
1421 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1422
1423         * glib/gmain.c (g_main_context_iteration): Improve the
1424         docs.  (#491974, Areg Beketovski)
1425
1426 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1427
1428         * glib/gdate.c: Coding style fixes.
1429
1430 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1431
1432         * configure.in: Add AM_PROG_CC_C_O.
1433
1434         * Makefile.am: Remove the install-exec-local hook and use
1435         configexecincludedir_DATA instead, in an attempt to avoid
1436         automake 1.9 <> 1.10 incompatibilities.
1437
1438         * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
1439         automake 1.10 complains.
1440
1441 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1442
1443         * glib/gspawn.c (g_spawn_sync): Improve the docs.  (#491968,
1444         Areg Beketovski)
1445
1446 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1447
1448         * glib/gmain.c (g_main_context_release): 
1449         (g_main_context_acquire):
1450         (g_main_context_new): Fix the doc wording.  (#491957, 
1451         #491965, #491966, Areg Beketovski)
1452
1453 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1454
1455         * glib/gutils.c (g_set_application_name): Add a missing
1456         since tag.  (#464259, Mark Doliner)
1457
1458 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1459
1460         * glib/goption.c (g_option_context_new): Improve the docs.
1461         (#436293, Vincent Untz)
1462
1463 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1464
1465         * glib/gmain.c (g_main_loop_quit): Expand the docs 
1466         a bit.  (#317775, Søren Sandmann)
1467
1468 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1469         
1470         * autogen.sh: Accept automake 1.10, too
1471
1472         * mkinstalldirs: Temporarily add this script, to fix building
1473         from svn.
1474
1475         * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
1476         ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
1477
1478 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1479
1480         * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
1481
1482 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1483
1484         * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
1485         shift state with AIX iconv().  (#467537)
1486
1487 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1488
1489         * configure.in:
1490         * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
1491         and in AM_PATH_GLIB_2_0 to be consistent with the use of
1492         PKG_PROG_PKG_CONFIG which was introduced in 0.16.  (#418778,
1493         Loïc Minier)
1494
1495 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1496
1497         * glib/gstrfuncs.c (g_parse_long_long): Don't leave
1498         out parameters uninitialized.  (#490061, Benjamin Otte)
1499
1500 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1501
1502         * glib/gmain.c (g_main_context_unref): Don't leak the
1503         condvar.  (#479724, Areg Beketovski)
1504
1505 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1506
1507         * glib/glib.symbols:
1508         * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack): 
1509         New function, to get the stack of open elements.  (#452887,
1510         Ryan Lortie)
1511
1512 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1513
1514         * glib/gkeyfile.[hc]: Make some functions that take
1515         a GError return boolean instead of void.  (#375651, Matt Barnes)
1516
1517 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1518         
1519         * autogen.sh: Use automake 1.9
1520
1521         * acinclude.m4:
1522         * configure.in: Move some inter-*.m4 includes from
1523         configure.in to acinclude.m4 to avoid warnings when
1524         using automake 1.9.  (#449937)
1525
1526 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1527
1528         === Branch for 2.14 ===