1 2007-11-23 Matthias Clasen <mclasen@redhat.com>
4 * glib/gi18n.h: Define a two-argument macro C_() for marking
5 translatable strings with context and implement C_() and Q_()
6 using g_dpgettext(). (#142676, Morten Welinder)
9 * glib/gstrfuncs.[hc]: Implement g_dpgettext().
11 2007-11-23 Matthias Clasen <mclasen@redhat.com>
13 * glib/goption.c: Use g_print to print out --help text in
14 locale encoding. (#469551, Takao Fujiwara)
16 2007-11-22 Matthias Clasen <mclasen@redhat.com>
18 * glib/gkeyfile.c: Set length out param in list-returning functions
19 to 0 when returning NULL. (#498728, Christian Persch)
21 2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
23 * Makefile.decl: initialize automake variables EXTRA_DIST and
24 TEST_PROGS for unconditional appending via += in other makefiles.
25 define recursive test targets: test, test-report, perf-report,
26 full-report, as described here:
27 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
30 * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
31 * build/win32/Makefile.am, build/Makefile.am:
32 * docs/Makefile.am, docs/reference/Makefile.am:
33 * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
34 * gmodule/Makefile.am, tests/Makefile.am:
35 * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
36 * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
37 * glib/tests/Makefile.am, glib/pcre/Makefile.am:
38 * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
39 * gthread/Makefile.am, glib/Makefile.am:
40 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
42 * glib/tests/Makefile.am: removed example testing rules.
44 * glib/tests/testing.c: conditionalized performance and slow tests.
47 * glib/gtestutils.c: work around g_test_config_vars not changing its
48 exported value after value assignments, aparently due to symbol aliases.
50 * glib/gtester.c: fixed off-by-one error which produced junk in logs.
52 * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
54 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
56 Renamed gtestframework to gtestutils.
59 * glib/Makefile.am: added gtestutils.h to public includes.
61 * glib/gtestutils.c: include gtestutils.h.
65 * glib/tests/testing.c: renamed gtestframework to gtestutils.
67 * glib/gtestframework.h: renamed to gtestutils.h.
69 * glib/gtestframework.c: renamed to gtestutils.c.
71 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
73 glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
75 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
77 gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
79 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
81 gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
83 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
85 Added g_test_bug() and related API.
87 * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
89 * gtestframework.h, gtestframework.c: added test message API and convenience
90 API to send test messages about bug URLs.
92 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
94 Added API to access test framework configuration.
96 * gtestframework.h, gtestframework.c: export testing configuration to test
97 programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
99 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
101 gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
103 * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
104 restart test binaries when tests fail, resuming after the last processed test.
105 support --gtester-selftest to run gtester itself as test program.
106 support --test-arg=<arg> to pass args along to test programs. added
107 main_selftest() which does a simplistic fixture test. fail if exit
108 code of test programs is not 0.
110 * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
112 * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
114 * tests/Makefile.am: added test-report: for demonstration purposes.
115 added gtester-xmllint-check: and hooked it up into check:, this rule calls
116 gtester as test program, running it's selftest, and then uses xmllint to
117 validate the generate XML test log file.
119 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
121 gtester: implemented XML logging.
123 * glib/gtester.c: log test messages to XML output file. beautified normal test
126 * glib/gtestframework.c: fixed GTimer leak.
128 * glib/tests/Makefile.am: start gtester with --verbose.
130 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
132 tests/Makefile.am: execute test programs with gtester, add test: to check:
134 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
136 Fixed PLT symbol exports for gtestframework.h.
138 * glib/glib.symbols: added all exported gtestframework.h symbols.
140 * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
142 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
144 glib/gtester.c: fixed debugging flag.
146 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
148 fixed bogus unistd.h include.
150 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
152 Implemented test log IPC.
154 * gtester.c: read and decode log messages from test binary child processes.
155 fixed GIOChannel and child watch handling to process all messages and avoid
156 hangs. pass --verbose and --quiet on to children, default to --quiet.
158 * gtestframework.h: export g_test_log_type_name().
160 * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
163 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
165 gtester.c: support test case listing through gtester.
167 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
169 gtestframework.c: fixed testpath matches for automatic root suite.
171 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
173 gtester.c: adapted to become a rudimentary test binary launcher.
175 * gtester.c: increased read buffer size to match common unix pipe buffer size.
176 added argument parsing and usage. changed io handling to capture and replicate
177 stdout. fixed io handlers to be cleaned up when the child process exits (catch
178 G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
179 structure, to keep running until the child process exits and all io has been
180 processed. launch the test binaries given on the command line. don't quit when
181 a child couldn't be launched but --keep-going was specified.
183 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
185 Integrated gtester program into build process.
187 * Makefile.am: build and install gtester binary.
189 * gtester.c: fixed up coding style and removed hard wired test coded.
191 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
193 glib/gtester.c:Small -Wall fix
195 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
197 glib/gtester.c:Implemented nonblocking reading properly now
199 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
201 glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
203 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
205 glib/gtester.c:Read the output of the child process
207 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
209 glib/gtester.c:Use g_spawn_async_with_pipes()
211 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
213 glib/gtester.c:Spawn a process async and quit gtester after the child process exited
215 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
217 glib/gtester.c:Added a first revision of gtester
219 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
221 Implemented test log serialization.
223 * glib/gtestframework.h: added g_test_log*() API.
225 * glib/gtestframework.c: implement test log serialization.
227 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
229 Implemented test logging basics.
231 * glib/gtestframework.c: added --debug-log and --verbose, implemented
232 test information logging.
234 * testing.c: test g_test_maximized_result() and g_test_minimized_result().
236 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
238 Implemented g_test_timer*().
240 * gtestframework.c: implemented g_test_timer*().
242 * tests/testing.c: added a g_test_timer*() test.
244 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
246 Implemented support for testpaths.
248 * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
250 * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
252 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
254 testing.c: added tests for the g_test_rand*() API.
256 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
258 Implemented g_test_rand*().
260 * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
261 added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
264 * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
266 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
268 testing.c: added tests for g_assert_cmphex() and forked test traps.
270 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
272 Implemented g_test_trap_fork() API.
274 * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
276 * gtestframework.c: implemented g_test_trap_fork() API.
278 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
280 * glib/gtestframework.c:
282 that match a given test path.
283 (g_test_run_suite): run suite only if it matches the existing test paths.
285 * glib/tests/testing.c: minor rename.
287 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
289 GTest framework started.
291 * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
292 includes elaborate assertions, performance report functions, test traps,
293 test timer, test random numbers, teardoiwn garbage collection functions
294 and general test case / test suite management APIs.
296 * glib/gtestframework.c: first test framework implementation. already covers
297 some test suite management APIs and assertion message implementations.
299 * glib/tests/testing.c: test program for the testing framework.
301 * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
304 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
306 glib/Makefile.am: build tests/ subdir after building libglib.
308 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
310 Fixed up internal 'g_test*' names.
312 * refcount/signals.c:
313 * refcount/objects.c:
314 * refcount/objects2.c:
315 * refcount/closures.c:
316 * refcount/properties.c:
317 * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
318 to not clash with newly introduced g_test* API in glib.
320 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
322 Added gtestframework.[hc] and glib/tests/.
324 2007-11-20 Sven Neumann <sven@gimp.org>
326 * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
327 g_strjoin() to concatenate two strings.
329 2007-11-19 Marco Barisione <marco@barisione.org>
331 * glib/gregex.c: When the compilation of a pattern fails in the error
332 message use the character offset and not the byte offset.
334 * glib/gregex.c: Pass an unsigned long instead of an int to
335 pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
338 2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
340 * configure.in: updated version number to 2.15.0 for development.
342 2007-11-18 Matthias Clasen <mclasen@redhat.com>
344 * glib/gbase64.c: Documentation improvements. (#496518,
345 Stefan Schulze Frielinghaus)
347 2007-11-18 Matthias Clasen <mclasen@redhat.com>
349 * configure.in: Check whether assembler supports numerical local
352 * glib/gatomic.c: Fix powerpc implementation of atomic ops for
353 platforms where the assembler doesn't support numerical local
356 2007-11-15 Ryan Lortie <desrt@desrt.ca>
358 * docs/reference/glib/tmpl/markup.sgml:
360 * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
361 parser to prepend location information (ie: "Error on line %d, char
362 %d:") to errors generated by the GMarkupParser callbacks.
366 2007-11-15 Ryan Lortie <desrt@desrt.ca>
368 * docs/reference/glib/glib-sections.txt:
371 * glib/gerror.c: new functions g_prefix_error and
372 g_propagate_prefixed_error.
374 2007-11-13 Cody Russell <bratsche@gnome.org>
376 * docs/reference/gobject/gobject-docs.sgml:
377 * docs/reference/gobject/tut_gsignal.xml:
378 * docs/reference/gobject/tut_gtype.xml:
379 * docs/reference/gobject/tut_intro.xml:
380 * docs/reference/gobject/tut_tools.xml:
381 * docs/reference/gobject/tut_howto.xml:
382 * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
383 Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
384 NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
385 superclass initializers don't run when an object is
386 instantiated. Fixed numerous spelling mistakes. Minor grammar
387 edits. (#490637, Adam Dingle)
389 2007-11-09 Matthias Clasen <mclasen@redhat.com>
391 * glib/gkeyfile.c: Coding style cleanups and doc
392 improvements. (#491979, #491982, Areg Beketovski)
394 2007-11-09 Matthias Clasen <mclasen@redhat.com>
396 * glib/giochannel.c: Coding style cleanups and doc
397 improvements. (#491975, Areg Beketovski)
399 2007-11-09 Matthias Clasen <mclasen@redhat.com>
401 * glib/gmain.c (g_main_context_iteration): Improve the
402 docs. (#491974, Areg Beketovski)
404 2007-11-09 Matthias Clasen <mclasen@redhat.com>
406 * glib/gdate.c: Coding style fixes.
408 2007-11-09 Matthias Clasen <mclasen@redhat.com>
410 * configure.in: Add AM_PROG_CC_C_O.
412 * Makefile.am: Remove the install-exec-local hook and use
413 configexecincludedir_DATA instead, in an attempt to avoid
414 automake 1.9 <> 1.10 incompatibilities.
416 * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
417 automake 1.10 complains.
419 2007-11-09 Matthias Clasen <mclasen@redhat.com>
421 * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
424 2007-11-08 Matthias Clasen <mclasen@redhat.com>
426 * glib/gmain.c (g_main_context_release):
427 (g_main_context_acquire):
428 (g_main_context_new): Fix the doc wording. (#491957,
429 #491965, #491966, Areg Beketovski)
431 2007-11-08 Matthias Clasen <mclasen@redhat.com>
433 * glib/gutils.c (g_set_application_name): Add a missing
434 since tag. (#464259, Mark Doliner)
436 2007-11-08 Matthias Clasen <mclasen@redhat.com>
438 * glib/goption.c (g_option_context_new): Improve the docs.
439 (#436293, Vincent Untz)
441 2007-11-08 Matthias Clasen <mclasen@redhat.com>
443 * glib/gmain.c (g_main_loop_quit): Expand the docs
444 a bit. (#317775, Søren Sandmann)
446 2007-11-08 Matthias Clasen <mclasen@redhat.com>
448 * autogen.sh: Accept automake 1.10, too
450 * mkinstalldirs: Temporarily add this script, to fix building
453 * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
454 ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
456 2007-11-08 Matthias Clasen <mclasen@redhat.com>
458 * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
460 2007-11-08 Matthias Clasen <mclasen@redhat.com>
462 * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
463 shift state with AIX iconv(). (#467537)
465 2007-11-08 Matthias Clasen <mclasen@redhat.com>
468 * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
469 and in AM_PATH_GLIB_2_0 to be consistent with the use of
470 PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
473 2007-11-08 Matthias Clasen <mclasen@redhat.com>
475 * glib/gstrfuncs.c (g_parse_long_long): Don't leave
476 out parameters uninitialized. (#490061, Benjamin Otte)
478 2007-11-07 Matthias Clasen <mclasen@redhat.com>
480 * glib/gmain.c (g_main_context_unref): Don't leak the
481 condvar. (#479724, Areg Beketovski)
483 2007-11-07 Matthias Clasen <mclasen@redhat.com>
486 * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
487 New function, to get the stack of open elements. (#452887,
490 2007-11-07 Matthias Clasen <mclasen@redhat.com>
492 * glib/gkeyfile.[hc]: Make some functions that take
493 a GError return boolean instead of void. (#375651, Matt Barnes)
495 2007-11-07 Matthias Clasen <mclasen@redhat.com>
497 * autogen.sh: Use automake 1.9
500 * configure.in: Move some inter-*.m4 includes from
501 configure.in to acinclude.m4 to avoid warnings when
502 using automake 1.9. (#449937)
504 2007-11-07 Matthias Clasen <mclasen@redhat.com>
506 === Branch for 2.14 ===