1 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3 * glib/glib.h: Include gurifuncs.h
5 2007-12-10 Benjamin Otte <otte@gnome.org>
7 * glib/garray.h: use an intermediate cast to void * in g_array_index()
8 to not trigger cast alignment warnings, fixes #502927.
10 2007-12-10 15:08:59 Tim Janik <timj@imendio.com>
12 * let g_warn_if_fail replace g_assert as discussed here:
13 http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
15 * fix bug #502498: Test framework assertion failures should follow
18 * gmessages.h, gmessages.c: deprecated g_assert_warning() which is
19 unused now. removed g_assert*() definitions whcih are provided by
20 gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()
21 which are recommended as g_assert/g_assert_not_reached replacements
22 for non-test programs.
23 added g_warn_message() to implement g_warn_*() macros.
24 use emacs-next-error friendly formatting for file:line: for warnings.
26 * gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
27 implement g_assert_not_reached() with g_assertion_message() and
28 g_assert() in terms of g_assertion_message_expr() so we'll be able to
29 provide assertion messages in test logs.
31 * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
32 or g_return_if_fail() where suitable.
34 * gio/: changed g_assert to g_warn_if_fail.
36 2007-12-10 13:02:08 Tim Janik <timj@imendio.com>
38 * glib/gtestutils.c (g_assertion_message_cmpnum): applied patch by Tommi
39 Komulainen to fix int64 printouts, fixes #502511.
41 2007-12-10 Matthias Clasen <mclasen@redhat.com>
44 * glib/gstrfuncs.c (g_dpgettext): Change prototype to take
45 msgctxtid + offset instead of two strings, to avoid duplication
46 of string constants if the compiler/linker don't perform constant
47 suffix merging. (#502590, Christian Persch)
50 * glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
52 2007-12-09 Hans Breuer <hans@breuer.org>
54 * tests/gio-ls.c : (new file) a test program emulating some of 'ls'
55 * tests/makefile.msc.in : build it (currently on win32)
57 * **/makefile.msc glib/makefile.msc.in : removed -GD to compile
58 with msvc9 (vs2008) with less complains
60 * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
61 msv8 (vs2005) and above
63 * glib/gfileutils.c : s/stricmp/_stricmp/
64 * msvc_recommended_pragmas.h : work around Microsoft's premature
65 attempt to deprecate the C-Library
67 * tests/makefile.msc.in : added checksum-test
69 2007-12-08 Christian Persch <chpe@gnome.org>
71 * gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
72 #ifdef G_OS_WIN32 to fix the build on linux.
74 2007-12-08 Hans Breuer <hans@breuer.org>
76 * glib/makefile.msc.in : build gchecksum.obj
78 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
80 * glib/ghash.c: Call destroy notify when destroying
81 the hash table in g_hash_table_unref.
83 2007-12-06 13:29:00 Tim Janik <timj@imendio.com>
85 * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
86 by read()==0 following poll(), needed on MacOS.
88 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
90 * glib/gunidecomp.c: Mention g_utf8_normalize()
91 returns NULL on invalid string. (#501997)
93 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
95 * glib/gerror.c: Improve wording for g_propagate_error docs.
97 2007-12-06 09:27:42 Tim Janik <timj@imendio.com>
99 * tests/scannerapi.c: added new scanner test from #501654, by
100 Patrick Hulin with various modifications.
101 reworked coding style, adapted to new testing framework, fixed
102 token parser test and use a forked sub process to test
103 g_scanner_error() output messages.
105 2007-12-05 17:58:18 Tim Janik <timj@imendio.com>
107 * glib/gtester.c: added -m=thorough support to gtester.
109 2007-12-05 17:21:05 Tim Janik <timj@imendio.com>
111 * glib/glib/gtestutils.c: print out random seed for verbose tests,
112 also adapted test result reporting slightly in verbose mode to allow
113 custom debugging output. support "thorough" as test mode alis for "slow".
115 * glib/glib/gtestutils.h: added g_test_thorough().
117 * glib/glib/gtester.c: print out the last random seed when tests fail.
118 added result attribute to test case status logging to easily spot
119 failing tests in log files. disabled debugging output when skipping tests.
121 2007-12-05 11:43:22 Tim Janik <timj@imendio.com>
123 * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
124 into tests. allow data arguments for fixture tests.
126 * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
127 upon criticals/warnings/errors.
129 * glib/tests/testing.c: test test_data arguments.
131 * glib/gtester.c: some prototype fixups.
133 2007-12-05 Tor Lillqvist <tml@novell.com>
135 * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
138 2007-12-05 Ryan Lortie <desrt@desrt.ca>
140 * autogen.sh: for the benefit of git users, checkout build/ if it is
142 * .gitignore: but after that, ignore it.
144 2007-12-05 Ryan Lortie <desrt@desrt.ca>
146 * glib/ghash.c: ungtk-docify some comments for internal functions
148 2007-12-04 Emmanuele Bassi <ebassi@gnome.org>
150 * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
151 generation with GChecksum.
153 2007-12-04 Emmanuele Bassi <ebassi@gnome.org>
155 * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
156 various hashing algorithms. At the moment, the MD5, SHA-1 and
157 SHA-256 algorithms are supported. (#443648)
161 * glib/glib.symbols: Build glue for GChecksum
164 * tests/checksum-test.c: Add test suite for GChecksum.
166 2007-12-03 Ryan Lortie <desrt@desrt.ca>
168 * glib/ghash.c: no code changes; add comments to document the internal
171 2007-12-03 Ryan Lortie <desrt@desrt.ca>
173 * glib/ghash.c: no code changes; reorder functions to remove the need
174 for forward declarations.
176 2007-12-03 Ryan Lortie <desrt@desrt.ca>
178 * glib/ghash.c (g_hash_table_lookup_node,
179 g_hash_table_lookup_extended, g_hash_table_insert_internal,
180 g_hash_node_new): improve clarity in some functions
182 2007-12-03 Ryan Lortie <desrt@desrt.ca>
184 * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
186 2007-12-03 Ryan Lortie <desrt@desrt.ca>
188 * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
190 2007-12-03 Ryan Lortie <desrt@desrt.ca>
192 * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
193 from file to fix the build
195 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
197 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
199 2007-12-03 Hans Breuer <hans@breuer.org>
201 * glib/glib.symbols : added glib_gettext (in use by gio)
202 * makefile.msc : also try building gio
204 * glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid
205 'bad suffix on number'
206 * glib/gtestutils.c : declare cariable at the beginning of the block,
207 include <io.h> for G_OS_WIN32
208 * makefile.msc.in : add gurifuncs and gtestutils
210 2007-12-03 Ryan Lortie <desrt@desrt.ca>
212 * glib/ghash.c: create a common function for the many places where all
213 nodes in the table are removed (remove_all, steal_all, destroy, unref,
216 2007-12-03 Ryan Lortie <desrt@desrt.ca>
218 * tests/hash-test.c (second_hash_test): fix memory leak, add a few
221 2007-12-03 Matthias Clasen <mclasen@redhat.com>
223 * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
224 (#500638, Michael Meeks)
226 2007-12-03 Marco Barisione <marco@barisione.org>
229 * glib/gregex.h: Add new error codes for when compilation fails and
230 make compilation error translatable. (#482313, Morten Welinder)
232 2007-12-03 Matthias Clasen <mclasen@redhat.com>
234 * glib/gkeyfile.c: Add a hash table to speed up group lookups,
235 which GKeyFile does quite a lot.
237 2007-12-03 Alexander Larsson <alexl@redhat.com>
240 Add xattr checks for OSX style API (#500506)
242 2007-12-03 Ryan Lortie <desrt@desrt.ca>
244 * glib/ghash.c: merge more common code into functions. Vastly
245 simplify loop logic in g_hash_table_foreach_remove_or_steal().
247 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
249 * Makefile.am: Don't descend into build/. (#500875)
251 2007-11-28 Matthias Clasen <mclasen@redhat.com>
255 * glib/gerror.c: Add Since: tags to new API, other doc improvements.
257 2007-11-28 Matthias Clasen <mclasen@redhat.com>
259 * glib/gurifuncs.c: Some doc cleanups
261 2007-11-28 Matthias Clasen <mclasen@redhat.com>
263 * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
265 * glib/gconvert.c: De-doc-commentify static functions to
268 * glib/gutils.c: Fix the glib_gettext doc comment.
270 2007-11-28 Tor Lillqvist <tml@novell.com>
272 * config.h.win32.in: Update to match what configure produces.
274 2007-11-28 Alexander Larsson <alexl@redhat.com>
276 * glib/gstring.c (g_string_append_uri_escaped):
277 Move this function before g_string_append_c so that
278 we avoid the plt call due to the undefinf of g_string_append_c
280 2007-11-28 Emmanuele Bassi <ebassi@gnome.org>
282 * gio/Makefile.am: Remove makegioalias.pl from the marshal files
283 and avoid it being cleaned up when running make clean.
285 2007-11-28 Alexander Larsson <alexl@redhat.com>
288 Add in the new symbols
291 Use the aliases framework
295 Make the alias stuff work now that glib_gettext
296 is exported to libgio.
298 2007-11-27 Ryan Lortie <desrt@desrt.ca>
300 * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
301 g_hash_table_insert_internal): insert/replace were identical except
302 for a single line. Replace both with a common function.
304 2007-11-27 Alexander Larsson <alexl@redhat.com>
307 * gio/gurifuncs.[ch]:
310 * glib/gurifuncs.[ch]:
311 Moved gurifuncs from gio to glib
313 2007-11-27 Alexander Larsson <alexl@redhat.com>
315 * gio/gfileinfo.[ch]:
316 * glib/gfileutils.[ch]:
317 Move g_format_file_size_for_display from gio to glib
319 2007-11-27 Alexander Larsson <alexl@redhat.com>
322 Allow configuration of gio-module-dir
325 Export giomodules location as giomodule variable
327 2007-11-26 Matthias Clasen <mclasen@redhat.com>
329 * tests/markup-collect.c: Add some tests for invalid booleans
331 2007-11-26 Ryan Lortie <desrt@desrt.ca>
333 Add new function g_markup_collect_attributes (bug #496847).
335 * glib/glib.symbols: add g_markup_collect_attributes
337 * docs/reference/glib/glib-sections.txt:
339 * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
340 type GMarkupCollectType. Add new error code
341 G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
344 2007-11-27 Tor Lillqvist <tml@novell.com>
346 * glib/win_iconv.c: Some improvements, being upstreamed.
347 (must_use_null_useddefaultchar): New function, checks for those
348 codepages for which one must pass a NULL lpUsedDefaultChar pointer
349 to WideCharToMultiByte().
350 (kernel_wctomb): Use it.
351 (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
353 2007-11-27 Tor Lillqvist <tml@novell.com>
355 * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
356 lib/locale or share/locale depending on which one is in
357 GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
358 on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
360 * glib-zip.in: Likewise, look for message catalogs either in
361 lib/locale or share/locale.
363 2007-11-26 Matthias Clasen <mclasen@redhat.com>
365 * gio/gfileattribute.c: Fix up a doc comment.
367 2007-11-26 Alexander Larsson <alexl@redhat.com>
371 * gio-2.0-uninstalled.pc.in:
373 * gio-unix-2.0-uninstalled.pc.in:
374 * gio-unix-2.0.pc.in:
377 Merged gio-standalone into glib.
381 Export glib_gettext so that gio can use it
382 Add P_ (using same domain for now)
383 Add I_ as g_intern_static_string
385 2007-11-26 Tor Lillqvist <tml@novell.com>
387 * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
389 2007-11-26 Tor Lillqvist <tml@novell.com>
391 Implement #491549: On Windows, always use the native API for
392 character set conversions instead of GNU libiconv. Almost all
393 codesets supported by GNU libiconv exist as Windows codepages.
394 One missing feature is the "C99" and "JAVA" pseudo codesets, but I
395 doubt that is worth worrying about.
397 * glib/win_iconv.c: New file. iconv() implementation for
398 Windows. Placed in the public domain by Yukihiro Nakadaira
399 <yukihiro.nakadaira@gmail.com>. From
400 http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
403 * glib/gconvert.c: Include win_iconv.c on Windows.
405 * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
407 * configure.in: Bypass iconv checks on Windows.
409 2007-11-25 Tor Lillqvist <tml@novell.com>
411 * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
412 unless G_OS_UNIX for now.
414 2007-11-25 Matthias Clasen <mclasen@redhat.com>
416 * configure.in: Require gtk-doc 1.8.
418 * glib/gasyncqueue.c:
425 * glib/gutils.c: Use gtk-doc abbreviations for
426 examples in doc comments.
428 2007-11-24 Matthias Clasen <mclasen@redhat.com>
430 * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
433 2007-11-24 Matthias Clasen <mclasen@redhat.com>
435 * tests/base64-test.c: Fix a memory overrun.
437 2007-11-24 Matthias Clasen <mclasen@redhat.com>
439 * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
441 2007-11-23 Matthias Clasen <mclasen@redhat.com>
443 * glib/gbase64.c (g_base64_encode): Don't refuse to encode
444 a single byte. (Milan Crha)
446 * tests/base64-test.c: Test encoding short strings.
448 2007-11-23 Matthias Clasen <mclasen@redhat.com>
451 * glib/gi18n.h: Define a two-argument macro C_() for marking
452 translatable strings with context and implement C_() and Q_()
453 using g_dpgettext(). (#142676, Morten Welinder)
456 * glib/gstrfuncs.[hc]: Implement g_dpgettext().
458 2007-11-23 Matthias Clasen <mclasen@redhat.com>
460 * glib/goption.c: Use g_print to print out --help text in
461 locale encoding. (#469551, Takao Fujiwara)
463 2007-11-22 Matthias Clasen <mclasen@redhat.com>
465 * glib/gkeyfile.c: Set length out param in list-returning functions
466 to 0 when returning NULL. (#498728, Christian Persch)
468 2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
470 * Makefile.decl: initialize automake variables EXTRA_DIST and
471 TEST_PROGS for unconditional appending via += in other makefiles.
472 define recursive test targets: test, test-report, perf-report,
473 full-report, as described here:
474 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
477 * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
478 * build/win32/Makefile.am, build/Makefile.am:
479 * docs/Makefile.am, docs/reference/Makefile.am:
480 * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
481 * gmodule/Makefile.am, tests/Makefile.am:
482 * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
483 * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
484 * glib/tests/Makefile.am, glib/pcre/Makefile.am:
485 * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
486 * gthread/Makefile.am, glib/Makefile.am:
487 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
489 * glib/tests/Makefile.am: removed example testing rules.
491 * glib/tests/testing.c: conditionalized performance and slow tests.
494 * glib/gtestutils.c: work around g_test_config_vars not changing its
495 exported value after value assignments, aparently due to symbol aliases.
497 * glib/gtester.c: fixed off-by-one error which produced junk in logs.
499 * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
501 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
503 Renamed gtestframework to gtestutils.
506 * glib/Makefile.am: added gtestutils.h to public includes.
508 * glib/gtestutils.c: include gtestutils.h.
512 * glib/tests/testing.c: renamed gtestframework to gtestutils.
514 * glib/gtestframework.h: renamed to gtestutils.h.
516 * glib/gtestframework.c: renamed to gtestutils.c.
518 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
520 glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
522 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
524 gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
526 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
528 gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
530 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
532 Added g_test_bug() and related API.
534 * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
536 * gtestframework.h, gtestframework.c: added test message API and convenience
537 API to send test messages about bug URLs.
539 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
541 Added API to access test framework configuration.
543 * gtestframework.h, gtestframework.c: export testing configuration to test
544 programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
546 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
548 gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
550 * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
551 restart test binaries when tests fail, resuming after the last processed test.
552 support --gtester-selftest to run gtester itself as test program.
553 support --test-arg=<arg> to pass args along to test programs. added
554 main_selftest() which does a simplistic fixture test. fail if exit
555 code of test programs is not 0.
557 * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
559 * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
561 * tests/Makefile.am: added test-report: for demonstration purposes.
562 added gtester-xmllint-check: and hooked it up into check:, this rule calls
563 gtester as test program, running it's selftest, and then uses xmllint to
564 validate the generate XML test log file.
566 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
568 gtester: implemented XML logging.
570 * glib/gtester.c: log test messages to XML output file. beautified normal test
573 * glib/gtestframework.c: fixed GTimer leak.
575 * glib/tests/Makefile.am: start gtester with --verbose.
577 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
579 tests/Makefile.am: execute test programs with gtester, add test: to check:
581 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
583 Fixed PLT symbol exports for gtestframework.h.
585 * glib/glib.symbols: added all exported gtestframework.h symbols.
587 * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
589 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
591 glib/gtester.c: fixed debugging flag.
593 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
595 fixed bogus unistd.h include.
597 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
599 Implemented test log IPC.
601 * gtester.c: read and decode log messages from test binary child processes.
602 fixed GIOChannel and child watch handling to process all messages and avoid
603 hangs. pass --verbose and --quiet on to children, default to --quiet.
605 * gtestframework.h: export g_test_log_type_name().
607 * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
610 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
612 gtester.c: support test case listing through gtester.
614 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
616 gtestframework.c: fixed testpath matches for automatic root suite.
618 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
620 gtester.c: adapted to become a rudimentary test binary launcher.
622 * gtester.c: increased read buffer size to match common unix pipe buffer size.
623 added argument parsing and usage. changed io handling to capture and replicate
624 stdout. fixed io handlers to be cleaned up when the child process exits (catch
625 G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
626 structure, to keep running until the child process exits and all io has been
627 processed. launch the test binaries given on the command line. don't quit when
628 a child couldn't be launched but --keep-going was specified.
630 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
632 Integrated gtester program into build process.
634 * Makefile.am: build and install gtester binary.
636 * gtester.c: fixed up coding style and removed hard wired test coded.
638 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
640 glib/gtester.c:Small -Wall fix
642 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
644 glib/gtester.c:Implemented nonblocking reading properly now
646 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
648 glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
650 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
652 glib/gtester.c:Read the output of the child process
654 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
656 glib/gtester.c:Use g_spawn_async_with_pipes()
658 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
660 glib/gtester.c:Spawn a process async and quit gtester after the child process exited
662 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
664 glib/gtester.c:Added a first revision of gtester
666 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
668 Implemented test log serialization.
670 * glib/gtestframework.h: added g_test_log*() API.
672 * glib/gtestframework.c: implement test log serialization.
674 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
676 Implemented test logging basics.
678 * glib/gtestframework.c: added --debug-log and --verbose, implemented
679 test information logging.
681 * testing.c: test g_test_maximized_result() and g_test_minimized_result().
683 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
685 Implemented g_test_timer*().
687 * gtestframework.c: implemented g_test_timer*().
689 * tests/testing.c: added a g_test_timer*() test.
691 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
693 Implemented support for testpaths.
695 * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
697 * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
699 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
701 testing.c: added tests for the g_test_rand*() API.
703 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
705 Implemented g_test_rand*().
707 * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
708 added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
711 * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
713 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
715 testing.c: added tests for g_assert_cmphex() and forked test traps.
717 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
719 Implemented g_test_trap_fork() API.
721 * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
723 * gtestframework.c: implemented g_test_trap_fork() API.
725 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
727 * glib/gtestframework.c:
729 that match a given test path.
730 (g_test_run_suite): run suite only if it matches the existing test paths.
732 * glib/tests/testing.c: minor rename.
734 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
736 GTest framework started.
738 * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
739 includes elaborate assertions, performance report functions, test traps,
740 test timer, test random numbers, teardoiwn garbage collection functions
741 and general test case / test suite management APIs.
743 * glib/gtestframework.c: first test framework implementation. already covers
744 some test suite management APIs and assertion message implementations.
746 * glib/tests/testing.c: test program for the testing framework.
748 * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
751 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
753 glib/Makefile.am: build tests/ subdir after building libglib.
755 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
757 Fixed up internal 'g_test*' names.
759 * refcount/signals.c:
760 * refcount/objects.c:
761 * refcount/objects2.c:
762 * refcount/closures.c:
763 * refcount/properties.c:
764 * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
765 to not clash with newly introduced g_test* API in glib.
767 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
769 Added gtestframework.[hc] and glib/tests/.
771 2007-11-20 Sven Neumann <sven@gimp.org>
773 * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
774 g_strjoin() to concatenate two strings.
776 2007-11-19 Marco Barisione <marco@barisione.org>
778 * glib/gregex.c: When the compilation of a pattern fails in the error
779 message use the character offset and not the byte offset.
781 * glib/gregex.c: Pass an unsigned long instead of an int to
782 pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
785 2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
787 * configure.in: updated version number to 2.15.0 for development.
789 2007-11-18 Matthias Clasen <mclasen@redhat.com>
791 * glib/gbase64.c: Documentation improvements. (#496518,
792 Stefan Schulze Frielinghaus)
794 2007-11-18 Matthias Clasen <mclasen@redhat.com>
796 * configure.in: Check whether assembler supports numerical local
799 * glib/gatomic.c: Fix powerpc implementation of atomic ops for
800 platforms where the assembler doesn't support numerical local
803 2007-11-15 Ryan Lortie <desrt@desrt.ca>
805 * docs/reference/glib/tmpl/markup.sgml:
807 * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
808 parser to prepend location information (ie: "Error on line %d, char
809 %d:") to errors generated by the GMarkupParser callbacks.
813 2007-11-15 Ryan Lortie <desrt@desrt.ca>
815 * docs/reference/glib/glib-sections.txt:
818 * glib/gerror.c: new functions g_prefix_error and
819 g_propagate_prefixed_error.
821 2007-11-13 Cody Russell <bratsche@gnome.org>
823 * docs/reference/gobject/gobject-docs.sgml:
824 * docs/reference/gobject/tut_gsignal.xml:
825 * docs/reference/gobject/tut_gtype.xml:
826 * docs/reference/gobject/tut_intro.xml:
827 * docs/reference/gobject/tut_tools.xml:
828 * docs/reference/gobject/tut_howto.xml:
829 * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
830 Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
831 NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
832 superclass initializers don't run when an object is
833 instantiated. Fixed numerous spelling mistakes. Minor grammar
834 edits. (#490637, Adam Dingle)
836 2007-11-09 Matthias Clasen <mclasen@redhat.com>
838 * glib/gkeyfile.c: Coding style cleanups and doc
839 improvements. (#491979, #491982, Areg Beketovski)
841 2007-11-09 Matthias Clasen <mclasen@redhat.com>
843 * glib/giochannel.c: Coding style cleanups and doc
844 improvements. (#491975, Areg Beketovski)
846 2007-11-09 Matthias Clasen <mclasen@redhat.com>
848 * glib/gmain.c (g_main_context_iteration): Improve the
849 docs. (#491974, Areg Beketovski)
851 2007-11-09 Matthias Clasen <mclasen@redhat.com>
853 * glib/gdate.c: Coding style fixes.
855 2007-11-09 Matthias Clasen <mclasen@redhat.com>
857 * configure.in: Add AM_PROG_CC_C_O.
859 * Makefile.am: Remove the install-exec-local hook and use
860 configexecincludedir_DATA instead, in an attempt to avoid
861 automake 1.9 <> 1.10 incompatibilities.
863 * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
864 automake 1.10 complains.
866 2007-11-09 Matthias Clasen <mclasen@redhat.com>
868 * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
871 2007-11-08 Matthias Clasen <mclasen@redhat.com>
873 * glib/gmain.c (g_main_context_release):
874 (g_main_context_acquire):
875 (g_main_context_new): Fix the doc wording. (#491957,
876 #491965, #491966, Areg Beketovski)
878 2007-11-08 Matthias Clasen <mclasen@redhat.com>
880 * glib/gutils.c (g_set_application_name): Add a missing
881 since tag. (#464259, Mark Doliner)
883 2007-11-08 Matthias Clasen <mclasen@redhat.com>
885 * glib/goption.c (g_option_context_new): Improve the docs.
886 (#436293, Vincent Untz)
888 2007-11-08 Matthias Clasen <mclasen@redhat.com>
890 * glib/gmain.c (g_main_loop_quit): Expand the docs
891 a bit. (#317775, Søren Sandmann)
893 2007-11-08 Matthias Clasen <mclasen@redhat.com>
895 * autogen.sh: Accept automake 1.10, too
897 * mkinstalldirs: Temporarily add this script, to fix building
900 * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
901 ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
903 2007-11-08 Matthias Clasen <mclasen@redhat.com>
905 * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
907 2007-11-08 Matthias Clasen <mclasen@redhat.com>
909 * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
910 shift state with AIX iconv(). (#467537)
912 2007-11-08 Matthias Clasen <mclasen@redhat.com>
915 * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
916 and in AM_PATH_GLIB_2_0 to be consistent with the use of
917 PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
920 2007-11-08 Matthias Clasen <mclasen@redhat.com>
922 * glib/gstrfuncs.c (g_parse_long_long): Don't leave
923 out parameters uninitialized. (#490061, Benjamin Otte)
925 2007-11-07 Matthias Clasen <mclasen@redhat.com>
927 * glib/gmain.c (g_main_context_unref): Don't leak the
928 condvar. (#479724, Areg Beketovski)
930 2007-11-07 Matthias Clasen <mclasen@redhat.com>
933 * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
934 New function, to get the stack of open elements. (#452887,
937 2007-11-07 Matthias Clasen <mclasen@redhat.com>
939 * glib/gkeyfile.[hc]: Make some functions that take
940 a GError return boolean instead of void. (#375651, Matt Barnes)
942 2007-11-07 Matthias Clasen <mclasen@redhat.com>
944 * autogen.sh: Use automake 1.9
947 * configure.in: Move some inter-*.m4 includes from
948 configure.in to acinclude.m4 to avoid warnings when
949 using automake 1.9. (#449937)
951 2007-11-07 Matthias Clasen <mclasen@redhat.com>
953 === Branch for 2.14 ===