1 2007-12-10 13:02:08 Tim Janik <timj@imendio.com>
3 * glib/gtestutils.c (g_assertion_message_cmpnum): applied patch by Tommi
4 Komulainen to fix int64 printouts, fixes #502511.
6 2007-12-10 Matthias Clasen <mclasen@redhat.com>
9 * glib/gstrfuncs.c (g_dpgettext): Change prototype to take
10 msgctxtid + offset instead of two strings, to avoid duplication
11 of string constants if the compiler/linker don't perform constant
12 suffix merging. (#502590, Christian Persch)
15 * glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
17 2007-12-09 Hans Breuer <hans@breuer.org>
19 * tests/gio-ls.c : (new file) a test program emulating some of 'ls'
20 * tests/makefile.msc.in : build it (currently on win32)
22 * **/makefile.msc glib/makefile.msc.in : removed -GD to compile
23 with msvc9 (vs2008) with less complains
25 * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
26 msv8 (vs2005) and above
28 * glib/gfileutils.c : s/stricmp/_stricmp/
29 * msvc_recommended_pragmas.h : work around Microsoft's premature
30 attempt to deprecate the C-Library
32 * tests/makefile.msc.in : added checksum-test
34 2007-12-08 Christian Persch <chpe@gnome.org>
36 * gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
37 #ifdef G_OS_WIN32 to fix the build on linux.
39 2007-12-08 Hans Breuer <hans@breuer.org>
41 * glib/makefile.msc.in : build gchecksum.obj
43 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
45 * glib/ghash.c: Call destroy notify when destroying
46 the hash table in g_hash_table_unref.
48 2007-12-06 13:29:00 Tim Janik <timj@imendio.com>
50 * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
51 by read()==0 following poll(), needed on MacOS.
53 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
55 * glib/gunidecomp.c: Mention g_utf8_normalize()
56 returns NULL on invalid string. (#501997)
58 2007-12-06 Mathias Hasselmann <mathias@openismus.com>
60 * glib/gerror.c: Improve wording for g_propagate_error docs.
62 2007-12-06 09:27:42 Tim Janik <timj@imendio.com>
64 * tests/scannerapi.c: added new scanner test from #501654, by
65 Patrick Hulin with various modifications.
66 reworked coding style, adapted to new testing framework, fixed
67 token parser test and use a forked sub process to test
68 g_scanner_error() output messages.
70 2007-12-05 17:58:18 Tim Janik <timj@imendio.com>
72 * glib/gtester.c: added -m=thorough support to gtester.
74 2007-12-05 17:21:05 Tim Janik <timj@imendio.com>
76 * glib/glib/gtestutils.c: print out random seed for verbose tests,
77 also adapted test result reporting slightly in verbose mode to allow
78 custom debugging output. support "thorough" as test mode alis for "slow".
80 * glib/glib/gtestutils.h: added g_test_thorough().
82 * glib/glib/gtester.c: print out the last random seed when tests fail.
83 added result attribute to test case status logging to easily spot
84 failing tests in log files. disabled debugging output when skipping tests.
86 2007-12-05 11:43:22 Tim Janik <timj@imendio.com>
88 * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
89 into tests. allow data arguments for fixture tests.
91 * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
92 upon criticals/warnings/errors.
94 * glib/tests/testing.c: test test_data arguments.
96 * glib/gtester.c: some prototype fixups.
98 2007-12-05 Tor Lillqvist <tml@novell.com>
100 * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
103 2007-12-05 Ryan Lortie <desrt@desrt.ca>
105 * autogen.sh: for the benefit of git users, checkout build/ if it is
107 * .gitignore: but after that, ignore it.
109 2007-12-05 Ryan Lortie <desrt@desrt.ca>
111 * glib/ghash.c: ungtk-docify some comments for internal functions
113 2007-12-04 Emmanuele Bassi <ebassi@gnome.org>
115 * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
116 generation with GChecksum.
118 2007-12-04 Emmanuele Bassi <ebassi@gnome.org>
120 * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
121 various hashing algorithms. At the moment, the MD5, SHA-1 and
122 SHA-256 algorithms are supported. (#443648)
126 * glib/glib.symbols: Build glue for GChecksum
129 * tests/checksum-test.c: Add test suite for GChecksum.
131 2007-12-03 Ryan Lortie <desrt@desrt.ca>
133 * glib/ghash.c: no code changes; add comments to document the internal
136 2007-12-03 Ryan Lortie <desrt@desrt.ca>
138 * glib/ghash.c: no code changes; reorder functions to remove the need
139 for forward declarations.
141 2007-12-03 Ryan Lortie <desrt@desrt.ca>
143 * glib/ghash.c (g_hash_table_lookup_node,
144 g_hash_table_lookup_extended, g_hash_table_insert_internal,
145 g_hash_node_new): improve clarity in some functions
147 2007-12-03 Ryan Lortie <desrt@desrt.ca>
149 * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
151 2007-12-03 Ryan Lortie <desrt@desrt.ca>
153 * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
155 2007-12-03 Ryan Lortie <desrt@desrt.ca>
157 * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
158 from file to fix the build
160 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
162 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
164 2007-12-03 Hans Breuer <hans@breuer.org>
166 * glib/glib.symbols : added glib_gettext (in use by gio)
167 * makefile.msc : also try building gio
169 * glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid
170 'bad suffix on number'
171 * glib/gtestutils.c : declare cariable at the beginning of the block,
172 include <io.h> for G_OS_WIN32
173 * makefile.msc.in : add gurifuncs and gtestutils
175 2007-12-03 Ryan Lortie <desrt@desrt.ca>
177 * glib/ghash.c: create a common function for the many places where all
178 nodes in the table are removed (remove_all, steal_all, destroy, unref,
181 2007-12-03 Ryan Lortie <desrt@desrt.ca>
183 * tests/hash-test.c (second_hash_test): fix memory leak, add a few
186 2007-12-03 Matthias Clasen <mclasen@redhat.com>
188 * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
189 (#500638, Michael Meeks)
191 2007-12-03 Marco Barisione <marco@barisione.org>
194 * glib/gregex.h: Add new error codes for when compilation fails and
195 make compilation error translatable. (#482313, Morten Welinder)
197 2007-12-03 Matthias Clasen <mclasen@redhat.com>
199 * glib/gkeyfile.c: Add a hash table to speed up group lookups,
200 which GKeyFile does quite a lot.
202 2007-12-03 Alexander Larsson <alexl@redhat.com>
205 Add xattr checks for OSX style API (#500506)
207 2007-12-03 Ryan Lortie <desrt@desrt.ca>
209 * glib/ghash.c: merge more common code into functions. Vastly
210 simplify loop logic in g_hash_table_foreach_remove_or_steal().
212 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
214 * Makefile.am: Don't descend into build/. (#500875)
216 2007-11-28 Matthias Clasen <mclasen@redhat.com>
220 * glib/gerror.c: Add Since: tags to new API, other doc improvements.
222 2007-11-28 Matthias Clasen <mclasen@redhat.com>
224 * glib/gurifuncs.c: Some doc cleanups
226 2007-11-28 Matthias Clasen <mclasen@redhat.com>
228 * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
230 * glib/gconvert.c: De-doc-commentify static functions to
233 * glib/gutils.c: Fix the glib_gettext doc comment.
235 2007-11-28 Tor Lillqvist <tml@novell.com>
237 * config.h.win32.in: Update to match what configure produces.
239 2007-11-28 Alexander Larsson <alexl@redhat.com>
241 * glib/gstring.c (g_string_append_uri_escaped):
242 Move this function before g_string_append_c so that
243 we avoid the plt call due to the undefinf of g_string_append_c
245 2007-11-28 Emmanuele Bassi <ebassi@gnome.org>
247 * gio/Makefile.am: Remove makegioalias.pl from the marshal files
248 and avoid it being cleaned up when running make clean.
250 2007-11-28 Alexander Larsson <alexl@redhat.com>
253 Add in the new symbols
256 Use the aliases framework
260 Make the alias stuff work now that glib_gettext
261 is exported to libgio.
263 2007-11-27 Ryan Lortie <desrt@desrt.ca>
265 * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
266 g_hash_table_insert_internal): insert/replace were identical except
267 for a single line. Replace both with a common function.
269 2007-11-27 Alexander Larsson <alexl@redhat.com>
272 * gio/gurifuncs.[ch]:
275 * glib/gurifuncs.[ch]:
276 Moved gurifuncs from gio to glib
278 2007-11-27 Alexander Larsson <alexl@redhat.com>
280 * gio/gfileinfo.[ch]:
281 * glib/gfileutils.[ch]:
282 Move g_format_file_size_for_display from gio to glib
284 2007-11-27 Alexander Larsson <alexl@redhat.com>
287 Allow configuration of gio-module-dir
290 Export giomodules location as giomodule variable
292 2007-11-26 Matthias Clasen <mclasen@redhat.com>
294 * tests/markup-collect.c: Add some tests for invalid booleans
296 2007-11-26 Ryan Lortie <desrt@desrt.ca>
298 Add new function g_markup_collect_attributes (bug #496847).
300 * glib/glib.symbols: add g_markup_collect_attributes
302 * docs/reference/glib/glib-sections.txt:
304 * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
305 type GMarkupCollectType. Add new error code
306 G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
309 2007-11-27 Tor Lillqvist <tml@novell.com>
311 * glib/win_iconv.c: Some improvements, being upstreamed.
312 (must_use_null_useddefaultchar): New function, checks for those
313 codepages for which one must pass a NULL lpUsedDefaultChar pointer
314 to WideCharToMultiByte().
315 (kernel_wctomb): Use it.
316 (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
318 2007-11-27 Tor Lillqvist <tml@novell.com>
320 * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
321 lib/locale or share/locale depending on which one is in
322 GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
323 on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
325 * glib-zip.in: Likewise, look for message catalogs either in
326 lib/locale or share/locale.
328 2007-11-26 Matthias Clasen <mclasen@redhat.com>
330 * gio/gfileattribute.c: Fix up a doc comment.
332 2007-11-26 Alexander Larsson <alexl@redhat.com>
336 * gio-2.0-uninstalled.pc.in:
338 * gio-unix-2.0-uninstalled.pc.in:
339 * gio-unix-2.0.pc.in:
342 Merged gio-standalone into glib.
346 Export glib_gettext so that gio can use it
347 Add P_ (using same domain for now)
348 Add I_ as g_intern_static_string
350 2007-11-26 Tor Lillqvist <tml@novell.com>
352 * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
354 2007-11-26 Tor Lillqvist <tml@novell.com>
356 Implement #491549: On Windows, always use the native API for
357 character set conversions instead of GNU libiconv. Almost all
358 codesets supported by GNU libiconv exist as Windows codepages.
359 One missing feature is the "C99" and "JAVA" pseudo codesets, but I
360 doubt that is worth worrying about.
362 * glib/win_iconv.c: New file. iconv() implementation for
363 Windows. Placed in the public domain by Yukihiro Nakadaira
364 <yukihiro.nakadaira@gmail.com>. From
365 http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
368 * glib/gconvert.c: Include win_iconv.c on Windows.
370 * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
372 * configure.in: Bypass iconv checks on Windows.
374 2007-11-25 Tor Lillqvist <tml@novell.com>
376 * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
377 unless G_OS_UNIX for now.
379 2007-11-25 Matthias Clasen <mclasen@redhat.com>
381 * configure.in: Require gtk-doc 1.8.
383 * glib/gasyncqueue.c:
390 * glib/gutils.c: Use gtk-doc abbreviations for
391 examples in doc comments.
393 2007-11-24 Matthias Clasen <mclasen@redhat.com>
395 * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
398 2007-11-24 Matthias Clasen <mclasen@redhat.com>
400 * tests/base64-test.c: Fix a memory overrun.
402 2007-11-24 Matthias Clasen <mclasen@redhat.com>
404 * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
406 2007-11-23 Matthias Clasen <mclasen@redhat.com>
408 * glib/gbase64.c (g_base64_encode): Don't refuse to encode
409 a single byte. (Milan Crha)
411 * tests/base64-test.c: Test encoding short strings.
413 2007-11-23 Matthias Clasen <mclasen@redhat.com>
416 * glib/gi18n.h: Define a two-argument macro C_() for marking
417 translatable strings with context and implement C_() and Q_()
418 using g_dpgettext(). (#142676, Morten Welinder)
421 * glib/gstrfuncs.[hc]: Implement g_dpgettext().
423 2007-11-23 Matthias Clasen <mclasen@redhat.com>
425 * glib/goption.c: Use g_print to print out --help text in
426 locale encoding. (#469551, Takao Fujiwara)
428 2007-11-22 Matthias Clasen <mclasen@redhat.com>
430 * glib/gkeyfile.c: Set length out param in list-returning functions
431 to 0 when returning NULL. (#498728, Christian Persch)
433 2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
435 * Makefile.decl: initialize automake variables EXTRA_DIST and
436 TEST_PROGS for unconditional appending via += in other makefiles.
437 define recursive test targets: test, test-report, perf-report,
438 full-report, as described here:
439 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
442 * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
443 * build/win32/Makefile.am, build/Makefile.am:
444 * docs/Makefile.am, docs/reference/Makefile.am:
445 * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
446 * gmodule/Makefile.am, tests/Makefile.am:
447 * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
448 * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
449 * glib/tests/Makefile.am, glib/pcre/Makefile.am:
450 * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
451 * gthread/Makefile.am, glib/Makefile.am:
452 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
454 * glib/tests/Makefile.am: removed example testing rules.
456 * glib/tests/testing.c: conditionalized performance and slow tests.
459 * glib/gtestutils.c: work around g_test_config_vars not changing its
460 exported value after value assignments, aparently due to symbol aliases.
462 * glib/gtester.c: fixed off-by-one error which produced junk in logs.
464 * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
466 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
468 Renamed gtestframework to gtestutils.
471 * glib/Makefile.am: added gtestutils.h to public includes.
473 * glib/gtestutils.c: include gtestutils.h.
477 * glib/tests/testing.c: renamed gtestframework to gtestutils.
479 * glib/gtestframework.h: renamed to gtestutils.h.
481 * glib/gtestframework.c: renamed to gtestutils.c.
483 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
485 glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
487 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
489 gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
491 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
493 gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
495 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
497 Added g_test_bug() and related API.
499 * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
501 * gtestframework.h, gtestframework.c: added test message API and convenience
502 API to send test messages about bug URLs.
504 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
506 Added API to access test framework configuration.
508 * gtestframework.h, gtestframework.c: export testing configuration to test
509 programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
511 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
513 gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
515 * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
516 restart test binaries when tests fail, resuming after the last processed test.
517 support --gtester-selftest to run gtester itself as test program.
518 support --test-arg=<arg> to pass args along to test programs. added
519 main_selftest() which does a simplistic fixture test. fail if exit
520 code of test programs is not 0.
522 * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
524 * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
526 * tests/Makefile.am: added test-report: for demonstration purposes.
527 added gtester-xmllint-check: and hooked it up into check:, this rule calls
528 gtester as test program, running it's selftest, and then uses xmllint to
529 validate the generate XML test log file.
531 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
533 gtester: implemented XML logging.
535 * glib/gtester.c: log test messages to XML output file. beautified normal test
538 * glib/gtestframework.c: fixed GTimer leak.
540 * glib/tests/Makefile.am: start gtester with --verbose.
542 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
544 tests/Makefile.am: execute test programs with gtester, add test: to check:
546 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
548 Fixed PLT symbol exports for gtestframework.h.
550 * glib/glib.symbols: added all exported gtestframework.h symbols.
552 * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
554 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
556 glib/gtester.c: fixed debugging flag.
558 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
560 fixed bogus unistd.h include.
562 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
564 Implemented test log IPC.
566 * gtester.c: read and decode log messages from test binary child processes.
567 fixed GIOChannel and child watch handling to process all messages and avoid
568 hangs. pass --verbose and --quiet on to children, default to --quiet.
570 * gtestframework.h: export g_test_log_type_name().
572 * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
575 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
577 gtester.c: support test case listing through gtester.
579 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
581 gtestframework.c: fixed testpath matches for automatic root suite.
583 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
585 gtester.c: adapted to become a rudimentary test binary launcher.
587 * gtester.c: increased read buffer size to match common unix pipe buffer size.
588 added argument parsing and usage. changed io handling to capture and replicate
589 stdout. fixed io handlers to be cleaned up when the child process exits (catch
590 G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
591 structure, to keep running until the child process exits and all io has been
592 processed. launch the test binaries given on the command line. don't quit when
593 a child couldn't be launched but --keep-going was specified.
595 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
597 Integrated gtester program into build process.
599 * Makefile.am: build and install gtester binary.
601 * gtester.c: fixed up coding style and removed hard wired test coded.
603 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
605 glib/gtester.c:Small -Wall fix
607 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
609 glib/gtester.c:Implemented nonblocking reading properly now
611 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
613 glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
615 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
617 glib/gtester.c:Read the output of the child process
619 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
621 glib/gtester.c:Use g_spawn_async_with_pipes()
623 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
625 glib/gtester.c:Spawn a process async and quit gtester after the child process exited
627 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
629 glib/gtester.c:Added a first revision of gtester
631 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
633 Implemented test log serialization.
635 * glib/gtestframework.h: added g_test_log*() API.
637 * glib/gtestframework.c: implement test log serialization.
639 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
641 Implemented test logging basics.
643 * glib/gtestframework.c: added --debug-log and --verbose, implemented
644 test information logging.
646 * testing.c: test g_test_maximized_result() and g_test_minimized_result().
648 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
650 Implemented g_test_timer*().
652 * gtestframework.c: implemented g_test_timer*().
654 * tests/testing.c: added a g_test_timer*() test.
656 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
658 Implemented support for testpaths.
660 * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
662 * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
664 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
666 testing.c: added tests for the g_test_rand*() API.
668 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
670 Implemented g_test_rand*().
672 * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
673 added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
676 * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
678 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
680 testing.c: added tests for g_assert_cmphex() and forked test traps.
682 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
684 Implemented g_test_trap_fork() API.
686 * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
688 * gtestframework.c: implemented g_test_trap_fork() API.
690 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
692 * glib/gtestframework.c:
694 that match a given test path.
695 (g_test_run_suite): run suite only if it matches the existing test paths.
697 * glib/tests/testing.c: minor rename.
699 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
701 GTest framework started.
703 * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
704 includes elaborate assertions, performance report functions, test traps,
705 test timer, test random numbers, teardoiwn garbage collection functions
706 and general test case / test suite management APIs.
708 * glib/gtestframework.c: first test framework implementation. already covers
709 some test suite management APIs and assertion message implementations.
711 * glib/tests/testing.c: test program for the testing framework.
713 * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
716 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
718 glib/Makefile.am: build tests/ subdir after building libglib.
720 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
722 Fixed up internal 'g_test*' names.
724 * refcount/signals.c:
725 * refcount/objects.c:
726 * refcount/objects2.c:
727 * refcount/closures.c:
728 * refcount/properties.c:
729 * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
730 to not clash with newly introduced g_test* API in glib.
732 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
734 Added gtestframework.[hc] and glib/tests/.
736 2007-11-20 Sven Neumann <sven@gimp.org>
738 * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
739 g_strjoin() to concatenate two strings.
741 2007-11-19 Marco Barisione <marco@barisione.org>
743 * glib/gregex.c: When the compilation of a pattern fails in the error
744 message use the character offset and not the byte offset.
746 * glib/gregex.c: Pass an unsigned long instead of an int to
747 pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
750 2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
752 * configure.in: updated version number to 2.15.0 for development.
754 2007-11-18 Matthias Clasen <mclasen@redhat.com>
756 * glib/gbase64.c: Documentation improvements. (#496518,
757 Stefan Schulze Frielinghaus)
759 2007-11-18 Matthias Clasen <mclasen@redhat.com>
761 * configure.in: Check whether assembler supports numerical local
764 * glib/gatomic.c: Fix powerpc implementation of atomic ops for
765 platforms where the assembler doesn't support numerical local
768 2007-11-15 Ryan Lortie <desrt@desrt.ca>
770 * docs/reference/glib/tmpl/markup.sgml:
772 * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
773 parser to prepend location information (ie: "Error on line %d, char
774 %d:") to errors generated by the GMarkupParser callbacks.
778 2007-11-15 Ryan Lortie <desrt@desrt.ca>
780 * docs/reference/glib/glib-sections.txt:
783 * glib/gerror.c: new functions g_prefix_error and
784 g_propagate_prefixed_error.
786 2007-11-13 Cody Russell <bratsche@gnome.org>
788 * docs/reference/gobject/gobject-docs.sgml:
789 * docs/reference/gobject/tut_gsignal.xml:
790 * docs/reference/gobject/tut_gtype.xml:
791 * docs/reference/gobject/tut_intro.xml:
792 * docs/reference/gobject/tut_tools.xml:
793 * docs/reference/gobject/tut_howto.xml:
794 * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
795 Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
796 NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
797 superclass initializers don't run when an object is
798 instantiated. Fixed numerous spelling mistakes. Minor grammar
799 edits. (#490637, Adam Dingle)
801 2007-11-09 Matthias Clasen <mclasen@redhat.com>
803 * glib/gkeyfile.c: Coding style cleanups and doc
804 improvements. (#491979, #491982, Areg Beketovski)
806 2007-11-09 Matthias Clasen <mclasen@redhat.com>
808 * glib/giochannel.c: Coding style cleanups and doc
809 improvements. (#491975, Areg Beketovski)
811 2007-11-09 Matthias Clasen <mclasen@redhat.com>
813 * glib/gmain.c (g_main_context_iteration): Improve the
814 docs. (#491974, Areg Beketovski)
816 2007-11-09 Matthias Clasen <mclasen@redhat.com>
818 * glib/gdate.c: Coding style fixes.
820 2007-11-09 Matthias Clasen <mclasen@redhat.com>
822 * configure.in: Add AM_PROG_CC_C_O.
824 * Makefile.am: Remove the install-exec-local hook and use
825 configexecincludedir_DATA instead, in an attempt to avoid
826 automake 1.9 <> 1.10 incompatibilities.
828 * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
829 automake 1.10 complains.
831 2007-11-09 Matthias Clasen <mclasen@redhat.com>
833 * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
836 2007-11-08 Matthias Clasen <mclasen@redhat.com>
838 * glib/gmain.c (g_main_context_release):
839 (g_main_context_acquire):
840 (g_main_context_new): Fix the doc wording. (#491957,
841 #491965, #491966, Areg Beketovski)
843 2007-11-08 Matthias Clasen <mclasen@redhat.com>
845 * glib/gutils.c (g_set_application_name): Add a missing
846 since tag. (#464259, Mark Doliner)
848 2007-11-08 Matthias Clasen <mclasen@redhat.com>
850 * glib/goption.c (g_option_context_new): Improve the docs.
851 (#436293, Vincent Untz)
853 2007-11-08 Matthias Clasen <mclasen@redhat.com>
855 * glib/gmain.c (g_main_loop_quit): Expand the docs
856 a bit. (#317775, Søren Sandmann)
858 2007-11-08 Matthias Clasen <mclasen@redhat.com>
860 * autogen.sh: Accept automake 1.10, too
862 * mkinstalldirs: Temporarily add this script, to fix building
865 * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
866 ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
868 2007-11-08 Matthias Clasen <mclasen@redhat.com>
870 * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
872 2007-11-08 Matthias Clasen <mclasen@redhat.com>
874 * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
875 shift state with AIX iconv(). (#467537)
877 2007-11-08 Matthias Clasen <mclasen@redhat.com>
880 * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
881 and in AM_PATH_GLIB_2_0 to be consistent with the use of
882 PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
885 2007-11-08 Matthias Clasen <mclasen@redhat.com>
887 * glib/gstrfuncs.c (g_parse_long_long): Don't leave
888 out parameters uninitialized. (#490061, Benjamin Otte)
890 2007-11-07 Matthias Clasen <mclasen@redhat.com>
892 * glib/gmain.c (g_main_context_unref): Don't leak the
893 condvar. (#479724, Areg Beketovski)
895 2007-11-07 Matthias Clasen <mclasen@redhat.com>
898 * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
899 New function, to get the stack of open elements. (#452887,
902 2007-11-07 Matthias Clasen <mclasen@redhat.com>
904 * glib/gkeyfile.[hc]: Make some functions that take
905 a GError return boolean instead of void. (#375651, Matt Barnes)
907 2007-11-07 Matthias Clasen <mclasen@redhat.com>
909 * autogen.sh: Use automake 1.9
912 * configure.in: Move some inter-*.m4 includes from
913 configure.in to acinclude.m4 to avoid warnings when
914 using automake 1.9. (#449937)
916 2007-11-07 Matthias Clasen <mclasen@redhat.com>
918 === Branch for 2.14 ===