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