1 2007-12-13 Bastien Nocera <hadess@hadess.net>
3 * glib/gtimer.c: (g_time_val_from_iso8601):
4 Don't try to parse dates that start with anything but a
5 digit, a plus or a minus sign, as those can't be valid
6 ISO8601 dates (Closes: #503029)
8 2007-12-13 Matthias Clasen <mclasen@redhat.com>
10 * glib/gkeyfile.c (g_key_file_clear): Free group_hash.
11 (#503420, Christian Persch)
13 2007-12-12 16:06:11 Tim Janik <timj@imendio.com>
15 * tests/testglib.c: split up tests and reworked code to use
16 the new test framework.
18 * tests/Makefile.am: added testglib to TEST_PROGS.
20 2007-12-11 Rahul Bhalerao <b.rahul.pm@gmail.com>
22 * configure.in: Added entry for Marathi Translations
24 2007-12-10 Matthias Clasen <mclasen@redhat.com>
26 * glib/glib.h: Include gurifuncs.h
28 2007-12-10 Benjamin Otte <otte@gnome.org>
30 * glib/garray.h: use an intermediate cast to void * in g_array_index()
31 to not trigger cast alignment warnings, fixes #502927.
33 2007-12-10 15:08:59 Tim Janik <timj@imendio.com>
35 * let g_warn_if_fail replace g_assert as discussed here:
36 http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
38 * fix bug #502498: Test framework assertion failures should follow
41 * gmessages.h, gmessages.c: deprecated g_assert_warning() which is
42 unused now. removed g_assert*() definitions whcih are provided by
43 gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()
44 which are recommended as g_assert/g_assert_not_reached replacements
45 for non-test programs.
46 added g_warn_message() to implement g_warn_*() macros.
47 use emacs-next-error friendly formatting for file:line: for warnings.
49 * gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
50 implement g_assert_not_reached() with g_assertion_message() and
51 g_assert() in terms of g_assertion_message_expr() so we'll be able to
52 provide assertion messages in test logs.
54 * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
55 or g_return_if_fail() where suitable.
57 * gio/: changed g_assert to g_warn_if_fail.
59 2007-12-10 13:02:08 Tim Janik <timj@imendio.com>
61 * glib/gtestutils.c (g_assertion_message_cmpnum): applied patch by Tommi
62 Komulainen to fix int64 printouts, fixes #502511.
64 2007-12-10 Matthias Clasen <mclasen@redhat.com>
67 * glib/gstrfuncs.c (g_dpgettext): Change prototype to take
68 msgctxtid + offset instead of two strings, to avoid duplication
69 of string constants if the compiler/linker don't perform constant
70 suffix merging. (#502590, Christian Persch)
73 * glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
75 2007-12-09 Hans Breuer <hans@breuer.org>
77 * tests/gio-ls.c : (new file) a test program emulating some of 'ls'
78 * tests/makefile.msc.in : build it (currently on win32)
80 * **/makefile.msc glib/makefile.msc.in : removed -GD to compile
81 with msvc9 (vs2008) with less complains
83 * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
84 msv8 (vs2005) and above
86 * glib/gfileutils.c : s/stricmp/_stricmp/
87 * msvc_recommended_pragmas.h : work around Microsoft's premature
88 attempt to deprecate the C-Library
90 * tests/makefile.msc.in : added checksum-test
92 2007-12-08 Christian Persch <chpe@gnome.org>
94 * gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
95 #ifdef G_OS_WIN32 to fix the build on linux.
97 2007-12-08 Hans Breuer <hans@breuer.org>
99 * glib/makefile.msc.in : build gchecksum.obj
101 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
103 * glib/ghash.c: Call destroy notify when destroying
104 the hash table in g_hash_table_unref.
106 2007-12-06 13:29:00 Tim Janik <timj@imendio.com>
108 * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
109 by read()==0 following poll(), needed on MacOS.
111 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
113 * glib/gunidecomp.c: Mention g_utf8_normalize()
114 returns NULL on invalid string. (#501997)
116 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
118 * glib/gerror.c: Improve wording for g_propagate_error docs.
120 2007-12-06 09:27:42 Tim Janik <timj@imendio.com>
122 * tests/scannerapi.c: added new scanner test from #501654, by
123 Patrick Hulin with various modifications.
124 reworked coding style, adapted to new testing framework, fixed
125 token parser test and use a forked sub process to test
126 g_scanner_error() output messages.
128 2007-12-05 17:58:18 Tim Janik <timj@imendio.com>
130 * glib/gtester.c: added -m=thorough support to gtester.
132 2007-12-05 17:21:05 Tim Janik <timj@imendio.com>
134 * glib/glib/gtestutils.c: print out random seed for verbose tests,
135 also adapted test result reporting slightly in verbose mode to allow
136 custom debugging output. support "thorough" as test mode alis for "slow".
138 * glib/glib/gtestutils.h: added g_test_thorough().
140 * glib/glib/gtester.c: print out the last random seed when tests fail.
141 added result attribute to test case status logging to easily spot
142 failing tests in log files. disabled debugging output when skipping tests.
144 2007-12-05 11:43:22 Tim Janik <timj@imendio.com>
146 * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
147 into tests. allow data arguments for fixture tests.
149 * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
150 upon criticals/warnings/errors.
152 * glib/tests/testing.c: test test_data arguments.
154 * glib/gtester.c: some prototype fixups.
156 2007-12-05 Tor Lillqvist <tml@novell.com>
158 * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
161 2007-12-05 Ryan Lortie <desrt@desrt.ca>
163 * autogen.sh: for the benefit of git users, checkout build/ if it is
165 * .gitignore: but after that, ignore it.
167 2007-12-05 Ryan Lortie <desrt@desrt.ca>
169 * glib/ghash.c: ungtk-docify some comments for internal functions
171 2007-12-04 Emmanuele Bassi <ebassi@gnome.org>
173 * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
174 generation with GChecksum.
176 2007-12-04 Emmanuele Bassi <ebassi@gnome.org>
178 * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
179 various hashing algorithms. At the moment, the MD5, SHA-1 and
180 SHA-256 algorithms are supported. (#443648)
184 * glib/glib.symbols: Build glue for GChecksum
187 * tests/checksum-test.c: Add test suite for GChecksum.
189 2007-12-03 Ryan Lortie <desrt@desrt.ca>
191 * glib/ghash.c: no code changes; add comments to document the internal
194 2007-12-03 Ryan Lortie <desrt@desrt.ca>
196 * glib/ghash.c: no code changes; reorder functions to remove the need
197 for forward declarations.
199 2007-12-03 Ryan Lortie <desrt@desrt.ca>
201 * glib/ghash.c (g_hash_table_lookup_node,
202 g_hash_table_lookup_extended, g_hash_table_insert_internal,
203 g_hash_node_new): improve clarity in some functions
205 2007-12-03 Ryan Lortie <desrt@desrt.ca>
207 * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
209 2007-12-03 Ryan Lortie <desrt@desrt.ca>
211 * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
213 2007-12-03 Ryan Lortie <desrt@desrt.ca>
215 * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
216 from file to fix the build
218 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
220 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
222 2007-12-03 Hans Breuer <hans@breuer.org>
224 * glib/glib.symbols : added glib_gettext (in use by gio)
225 * makefile.msc : also try building gio
227 * glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid
228 'bad suffix on number'
229 * glib/gtestutils.c : declare cariable at the beginning of the block,
230 include <io.h> for G_OS_WIN32
231 * makefile.msc.in : add gurifuncs and gtestutils
233 2007-12-03 Ryan Lortie <desrt@desrt.ca>
235 * glib/ghash.c: create a common function for the many places where all
236 nodes in the table are removed (remove_all, steal_all, destroy, unref,
239 2007-12-03 Ryan Lortie <desrt@desrt.ca>
241 * tests/hash-test.c (second_hash_test): fix memory leak, add a few
244 2007-12-03 Matthias Clasen <mclasen@redhat.com>
246 * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
247 (#500638, Michael Meeks)
249 2007-12-03 Marco Barisione <marco@barisione.org>
252 * glib/gregex.h: Add new error codes for when compilation fails and
253 make compilation error translatable. (#482313, Morten Welinder)
255 2007-12-03 Matthias Clasen <mclasen@redhat.com>
257 * glib/gkeyfile.c: Add a hash table to speed up group lookups,
258 which GKeyFile does quite a lot.
260 2007-12-03 Alexander Larsson <alexl@redhat.com>
263 Add xattr checks for OSX style API (#500506)
265 2007-12-03 Ryan Lortie <desrt@desrt.ca>
267 * glib/ghash.c: merge more common code into functions. Vastly
268 simplify loop logic in g_hash_table_foreach_remove_or_steal().
270 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
272 * Makefile.am: Don't descend into build/. (#500875)
274 2007-11-28 Matthias Clasen <mclasen@redhat.com>
278 * glib/gerror.c: Add Since: tags to new API, other doc improvements.
280 2007-11-28 Matthias Clasen <mclasen@redhat.com>
282 * glib/gurifuncs.c: Some doc cleanups
284 2007-11-28 Matthias Clasen <mclasen@redhat.com>
286 * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
288 * glib/gconvert.c: De-doc-commentify static functions to
291 * glib/gutils.c: Fix the glib_gettext doc comment.
293 2007-11-28 Tor Lillqvist <tml@novell.com>
295 * config.h.win32.in: Update to match what configure produces.
297 2007-11-28 Alexander Larsson <alexl@redhat.com>
299 * glib/gstring.c (g_string_append_uri_escaped):
300 Move this function before g_string_append_c so that
301 we avoid the plt call due to the undefinf of g_string_append_c
303 2007-11-28 Emmanuele Bassi <ebassi@gnome.org>
305 * gio/Makefile.am: Remove makegioalias.pl from the marshal files
306 and avoid it being cleaned up when running make clean.
308 2007-11-28 Alexander Larsson <alexl@redhat.com>
311 Add in the new symbols
314 Use the aliases framework
318 Make the alias stuff work now that glib_gettext
319 is exported to libgio.
321 2007-11-27 Ryan Lortie <desrt@desrt.ca>
323 * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
324 g_hash_table_insert_internal): insert/replace were identical except
325 for a single line. Replace both with a common function.
327 2007-11-27 Alexander Larsson <alexl@redhat.com>
330 * gio/gurifuncs.[ch]:
333 * glib/gurifuncs.[ch]:
334 Moved gurifuncs from gio to glib
336 2007-11-27 Alexander Larsson <alexl@redhat.com>
338 * gio/gfileinfo.[ch]:
339 * glib/gfileutils.[ch]:
340 Move g_format_file_size_for_display from gio to glib
342 2007-11-27 Alexander Larsson <alexl@redhat.com>
345 Allow configuration of gio-module-dir
348 Export giomodules location as giomodule variable
350 2007-11-26 Matthias Clasen <mclasen@redhat.com>
352 * tests/markup-collect.c: Add some tests for invalid booleans
354 2007-11-26 Ryan Lortie <desrt@desrt.ca>
356 Add new function g_markup_collect_attributes (bug #496847).
358 * glib/glib.symbols: add g_markup_collect_attributes
360 * docs/reference/glib/glib-sections.txt:
362 * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
363 type GMarkupCollectType. Add new error code
364 G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
367 2007-11-27 Tor Lillqvist <tml@novell.com>
369 * glib/win_iconv.c: Some improvements, being upstreamed.
370 (must_use_null_useddefaultchar): New function, checks for those
371 codepages for which one must pass a NULL lpUsedDefaultChar pointer
372 to WideCharToMultiByte().
373 (kernel_wctomb): Use it.
374 (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
376 2007-11-27 Tor Lillqvist <tml@novell.com>
378 * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
379 lib/locale or share/locale depending on which one is in
380 GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
381 on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
383 * glib-zip.in: Likewise, look for message catalogs either in
384 lib/locale or share/locale.
386 2007-11-26 Matthias Clasen <mclasen@redhat.com>
388 * gio/gfileattribute.c: Fix up a doc comment.
390 2007-11-26 Alexander Larsson <alexl@redhat.com>
394 * gio-2.0-uninstalled.pc.in:
396 * gio-unix-2.0-uninstalled.pc.in:
397 * gio-unix-2.0.pc.in:
400 Merged gio-standalone into glib.
404 Export glib_gettext so that gio can use it
405 Add P_ (using same domain for now)
406 Add I_ as g_intern_static_string
408 2007-11-26 Tor Lillqvist <tml@novell.com>
410 * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
412 2007-11-26 Tor Lillqvist <tml@novell.com>
414 Implement #491549: On Windows, always use the native API for
415 character set conversions instead of GNU libiconv. Almost all
416 codesets supported by GNU libiconv exist as Windows codepages.
417 One missing feature is the "C99" and "JAVA" pseudo codesets, but I
418 doubt that is worth worrying about.
420 * glib/win_iconv.c: New file. iconv() implementation for
421 Windows. Placed in the public domain by Yukihiro Nakadaira
422 <yukihiro.nakadaira@gmail.com>. From
423 http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
426 * glib/gconvert.c: Include win_iconv.c on Windows.
428 * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
430 * configure.in: Bypass iconv checks on Windows.
432 2007-11-25 Tor Lillqvist <tml@novell.com>
434 * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
435 unless G_OS_UNIX for now.
437 2007-11-25 Matthias Clasen <mclasen@redhat.com>
439 * configure.in: Require gtk-doc 1.8.
441 * glib/gasyncqueue.c:
448 * glib/gutils.c: Use gtk-doc abbreviations for
449 examples in doc comments.
451 2007-11-24 Matthias Clasen <mclasen@redhat.com>
453 * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
456 2007-11-24 Matthias Clasen <mclasen@redhat.com>
458 * tests/base64-test.c: Fix a memory overrun.
460 2007-11-24 Matthias Clasen <mclasen@redhat.com>
462 * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
464 2007-11-23 Matthias Clasen <mclasen@redhat.com>
466 * glib/gbase64.c (g_base64_encode): Don't refuse to encode
467 a single byte. (Milan Crha)
469 * tests/base64-test.c: Test encoding short strings.
471 2007-11-23 Matthias Clasen <mclasen@redhat.com>
474 * glib/gi18n.h: Define a two-argument macro C_() for marking
475 translatable strings with context and implement C_() and Q_()
476 using g_dpgettext(). (#142676, Morten Welinder)
479 * glib/gstrfuncs.[hc]: Implement g_dpgettext().
481 2007-11-23 Matthias Clasen <mclasen@redhat.com>
483 * glib/goption.c: Use g_print to print out --help text in
484 locale encoding. (#469551, Takao Fujiwara)
486 2007-11-22 Matthias Clasen <mclasen@redhat.com>
488 * glib/gkeyfile.c: Set length out param in list-returning functions
489 to 0 when returning NULL. (#498728, Christian Persch)
491 2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
493 * Makefile.decl: initialize automake variables EXTRA_DIST and
494 TEST_PROGS for unconditional appending via += in other makefiles.
495 define recursive test targets: test, test-report, perf-report,
496 full-report, as described here:
497 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
500 * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
501 * build/win32/Makefile.am, build/Makefile.am:
502 * docs/Makefile.am, docs/reference/Makefile.am:
503 * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
504 * gmodule/Makefile.am, tests/Makefile.am:
505 * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
506 * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
507 * glib/tests/Makefile.am, glib/pcre/Makefile.am:
508 * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
509 * gthread/Makefile.am, glib/Makefile.am:
510 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
512 * glib/tests/Makefile.am: removed example testing rules.
514 * glib/tests/testing.c: conditionalized performance and slow tests.
517 * glib/gtestutils.c: work around g_test_config_vars not changing its
518 exported value after value assignments, aparently due to symbol aliases.
520 * glib/gtester.c: fixed off-by-one error which produced junk in logs.
522 * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
524 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
526 Renamed gtestframework to gtestutils.
529 * glib/Makefile.am: added gtestutils.h to public includes.
531 * glib/gtestutils.c: include gtestutils.h.
535 * glib/tests/testing.c: renamed gtestframework to gtestutils.
537 * glib/gtestframework.h: renamed to gtestutils.h.
539 * glib/gtestframework.c: renamed to gtestutils.c.
541 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
543 glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
545 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
547 gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
549 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
551 gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
553 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
555 Added g_test_bug() and related API.
557 * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
559 * gtestframework.h, gtestframework.c: added test message API and convenience
560 API to send test messages about bug URLs.
562 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
564 Added API to access test framework configuration.
566 * gtestframework.h, gtestframework.c: export testing configuration to test
567 programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
569 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
571 gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
573 * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
574 restart test binaries when tests fail, resuming after the last processed test.
575 support --gtester-selftest to run gtester itself as test program.
576 support --test-arg=<arg> to pass args along to test programs. added
577 main_selftest() which does a simplistic fixture test. fail if exit
578 code of test programs is not 0.
580 * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
582 * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
584 * tests/Makefile.am: added test-report: for demonstration purposes.
585 added gtester-xmllint-check: and hooked it up into check:, this rule calls
586 gtester as test program, running it's selftest, and then uses xmllint to
587 validate the generate XML test log file.
589 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
591 gtester: implemented XML logging.
593 * glib/gtester.c: log test messages to XML output file. beautified normal test
596 * glib/gtestframework.c: fixed GTimer leak.
598 * glib/tests/Makefile.am: start gtester with --verbose.
600 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
602 tests/Makefile.am: execute test programs with gtester, add test: to check:
604 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
606 Fixed PLT symbol exports for gtestframework.h.
608 * glib/glib.symbols: added all exported gtestframework.h symbols.
610 * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
612 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
614 glib/gtester.c: fixed debugging flag.
616 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
618 fixed bogus unistd.h include.
620 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
622 Implemented test log IPC.
624 * gtester.c: read and decode log messages from test binary child processes.
625 fixed GIOChannel and child watch handling to process all messages and avoid
626 hangs. pass --verbose and --quiet on to children, default to --quiet.
628 * gtestframework.h: export g_test_log_type_name().
630 * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
633 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
635 gtester.c: support test case listing through gtester.
637 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
639 gtestframework.c: fixed testpath matches for automatic root suite.
641 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
643 gtester.c: adapted to become a rudimentary test binary launcher.
645 * gtester.c: increased read buffer size to match common unix pipe buffer size.
646 added argument parsing and usage. changed io handling to capture and replicate
647 stdout. fixed io handlers to be cleaned up when the child process exits (catch
648 G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
649 structure, to keep running until the child process exits and all io has been
650 processed. launch the test binaries given on the command line. don't quit when
651 a child couldn't be launched but --keep-going was specified.
653 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
655 Integrated gtester program into build process.
657 * Makefile.am: build and install gtester binary.
659 * gtester.c: fixed up coding style and removed hard wired test coded.
661 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
663 glib/gtester.c:Small -Wall fix
665 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
667 glib/gtester.c:Implemented nonblocking reading properly now
669 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
671 glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
673 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
675 glib/gtester.c:Read the output of the child process
677 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
679 glib/gtester.c:Use g_spawn_async_with_pipes()
681 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
683 glib/gtester.c:Spawn a process async and quit gtester after the child process exited
685 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
687 glib/gtester.c:Added a first revision of gtester
689 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
691 Implemented test log serialization.
693 * glib/gtestframework.h: added g_test_log*() API.
695 * glib/gtestframework.c: implement test log serialization.
697 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
699 Implemented test logging basics.
701 * glib/gtestframework.c: added --debug-log and --verbose, implemented
702 test information logging.
704 * testing.c: test g_test_maximized_result() and g_test_minimized_result().
706 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
708 Implemented g_test_timer*().
710 * gtestframework.c: implemented g_test_timer*().
712 * tests/testing.c: added a g_test_timer*() test.
714 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
716 Implemented support for testpaths.
718 * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
720 * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
722 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
724 testing.c: added tests for the g_test_rand*() API.
726 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
728 Implemented g_test_rand*().
730 * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
731 added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
734 * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
736 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
738 testing.c: added tests for g_assert_cmphex() and forked test traps.
740 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
742 Implemented g_test_trap_fork() API.
744 * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
746 * gtestframework.c: implemented g_test_trap_fork() API.
748 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
750 * glib/gtestframework.c:
752 that match a given test path.
753 (g_test_run_suite): run suite only if it matches the existing test paths.
755 * glib/tests/testing.c: minor rename.
757 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
759 GTest framework started.
761 * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
762 includes elaborate assertions, performance report functions, test traps,
763 test timer, test random numbers, teardoiwn garbage collection functions
764 and general test case / test suite management APIs.
766 * glib/gtestframework.c: first test framework implementation. already covers
767 some test suite management APIs and assertion message implementations.
769 * glib/tests/testing.c: test program for the testing framework.
771 * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
774 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
776 glib/Makefile.am: build tests/ subdir after building libglib.
778 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
780 Fixed up internal 'g_test*' names.
782 * refcount/signals.c:
783 * refcount/objects.c:
784 * refcount/objects2.c:
785 * refcount/closures.c:
786 * refcount/properties.c:
787 * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
788 to not clash with newly introduced g_test* API in glib.
790 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
792 Added gtestframework.[hc] and glib/tests/.
794 2007-11-20 Sven Neumann <sven@gimp.org>
796 * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
797 g_strjoin() to concatenate two strings.
799 2007-11-19 Marco Barisione <marco@barisione.org>
801 * glib/gregex.c: When the compilation of a pattern fails in the error
802 message use the character offset and not the byte offset.
804 * glib/gregex.c: Pass an unsigned long instead of an int to
805 pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
808 2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
810 * configure.in: updated version number to 2.15.0 for development.
812 2007-11-18 Matthias Clasen <mclasen@redhat.com>
814 * glib/gbase64.c: Documentation improvements. (#496518,
815 Stefan Schulze Frielinghaus)
817 2007-11-18 Matthias Clasen <mclasen@redhat.com>
819 * configure.in: Check whether assembler supports numerical local
822 * glib/gatomic.c: Fix powerpc implementation of atomic ops for
823 platforms where the assembler doesn't support numerical local
826 2007-11-15 Ryan Lortie <desrt@desrt.ca>
828 * docs/reference/glib/tmpl/markup.sgml:
830 * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
831 parser to prepend location information (ie: "Error on line %d, char
832 %d:") to errors generated by the GMarkupParser callbacks.
836 2007-11-15 Ryan Lortie <desrt@desrt.ca>
838 * docs/reference/glib/glib-sections.txt:
841 * glib/gerror.c: new functions g_prefix_error and
842 g_propagate_prefixed_error.
844 2007-11-13 Cody Russell <bratsche@gnome.org>
846 * docs/reference/gobject/gobject-docs.sgml:
847 * docs/reference/gobject/tut_gsignal.xml:
848 * docs/reference/gobject/tut_gtype.xml:
849 * docs/reference/gobject/tut_intro.xml:
850 * docs/reference/gobject/tut_tools.xml:
851 * docs/reference/gobject/tut_howto.xml:
852 * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
853 Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
854 NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
855 superclass initializers don't run when an object is
856 instantiated. Fixed numerous spelling mistakes. Minor grammar
857 edits. (#490637, Adam Dingle)
859 2007-11-09 Matthias Clasen <mclasen@redhat.com>
861 * glib/gkeyfile.c: Coding style cleanups and doc
862 improvements. (#491979, #491982, Areg Beketovski)
864 2007-11-09 Matthias Clasen <mclasen@redhat.com>
866 * glib/giochannel.c: Coding style cleanups and doc
867 improvements. (#491975, Areg Beketovski)
869 2007-11-09 Matthias Clasen <mclasen@redhat.com>
871 * glib/gmain.c (g_main_context_iteration): Improve the
872 docs. (#491974, Areg Beketovski)
874 2007-11-09 Matthias Clasen <mclasen@redhat.com>
876 * glib/gdate.c: Coding style fixes.
878 2007-11-09 Matthias Clasen <mclasen@redhat.com>
880 * configure.in: Add AM_PROG_CC_C_O.
882 * Makefile.am: Remove the install-exec-local hook and use
883 configexecincludedir_DATA instead, in an attempt to avoid
884 automake 1.9 <> 1.10 incompatibilities.
886 * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
887 automake 1.10 complains.
889 2007-11-09 Matthias Clasen <mclasen@redhat.com>
891 * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
894 2007-11-08 Matthias Clasen <mclasen@redhat.com>
896 * glib/gmain.c (g_main_context_release):
897 (g_main_context_acquire):
898 (g_main_context_new): Fix the doc wording. (#491957,
899 #491965, #491966, Areg Beketovski)
901 2007-11-08 Matthias Clasen <mclasen@redhat.com>
903 * glib/gutils.c (g_set_application_name): Add a missing
904 since tag. (#464259, Mark Doliner)
906 2007-11-08 Matthias Clasen <mclasen@redhat.com>
908 * glib/goption.c (g_option_context_new): Improve the docs.
909 (#436293, Vincent Untz)
911 2007-11-08 Matthias Clasen <mclasen@redhat.com>
913 * glib/gmain.c (g_main_loop_quit): Expand the docs
914 a bit. (#317775, Søren Sandmann)
916 2007-11-08 Matthias Clasen <mclasen@redhat.com>
918 * autogen.sh: Accept automake 1.10, too
920 * mkinstalldirs: Temporarily add this script, to fix building
923 * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
924 ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
926 2007-11-08 Matthias Clasen <mclasen@redhat.com>
928 * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
930 2007-11-08 Matthias Clasen <mclasen@redhat.com>
932 * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
933 shift state with AIX iconv(). (#467537)
935 2007-11-08 Matthias Clasen <mclasen@redhat.com>
938 * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
939 and in AM_PATH_GLIB_2_0 to be consistent with the use of
940 PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
943 2007-11-08 Matthias Clasen <mclasen@redhat.com>
945 * glib/gstrfuncs.c (g_parse_long_long): Don't leave
946 out parameters uninitialized. (#490061, Benjamin Otte)
948 2007-11-07 Matthias Clasen <mclasen@redhat.com>
950 * glib/gmain.c (g_main_context_unref): Don't leak the
951 condvar. (#479724, Areg Beketovski)
953 2007-11-07 Matthias Clasen <mclasen@redhat.com>
956 * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
957 New function, to get the stack of open elements. (#452887,
960 2007-11-07 Matthias Clasen <mclasen@redhat.com>
962 * glib/gkeyfile.[hc]: Make some functions that take
963 a GError return boolean instead of void. (#375651, Matt Barnes)
965 2007-11-07 Matthias Clasen <mclasen@redhat.com>
967 * autogen.sh: Use automake 1.9
970 * configure.in: Move some inter-*.m4 includes from
971 configure.in to acinclude.m4 to avoid warnings when
972 using automake 1.9. (#449937)
974 2007-11-07 Matthias Clasen <mclasen@redhat.com>
976 === Branch for 2.14 ===