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