1 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
3 Renamed gtestframework to gtestutils.
6 * glib/Makefile.am: added gtestutils.h to public includes.
8 * glib/gtestutils.c: include gtestutils.h.
12 * glib/tests/testing.c: renamed gtestframework to gtestutils.
14 * glib/gtestframework.h: renamed to gtestutils.h.
16 * glib/gtestframework.c: renamed to gtestutils.c.
18 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
20 glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
22 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
24 gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
26 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
28 gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
30 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
32 Added g_test_bug() and related API.
34 * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
36 * gtestframework.h, gtestframework.c: added test message API and convenience
37 API to send test messages about bug URLs.
39 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
41 Added API to access test framework configuration.
43 * gtestframework.h, gtestframework.c: export testing configuration to test
44 programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
46 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
48 gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
50 * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
51 restart test binaries when tests fail, resuming after the last processed test.
52 support --gtester-selftest to run gtester itself as test program.
53 support --test-arg=<arg> to pass args along to test programs. added
54 main_selftest() which does a simplistic fixture test. fail if exit
55 code of test programs is not 0.
57 * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
59 * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
61 * tests/Makefile.am: added test-report: for demonstration purposes.
62 added gtester-xmllint-check: and hooked it up into check:, this rule calls
63 gtester as test program, running it's selftest, and then uses xmllint to
64 validate the generate XML test log file.
66 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
68 gtester: implemented XML logging.
70 * glib/gtester.c: log test messages to XML output file. beautified normal test
73 * glib/gtestframework.c: fixed GTimer leak.
75 * glib/tests/Makefile.am: start gtester with --verbose.
77 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
79 tests/Makefile.am: execute test programs with gtester, add test: to check:
81 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
83 Fixed PLT symbol exports for gtestframework.h.
85 * glib/glib.symbols: added all exported gtestframework.h symbols.
87 * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
89 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
91 glib/gtester.c: fixed debugging flag.
93 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
95 fixed bogus unistd.h include.
97 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
99 Implemented test log IPC.
101 * gtester.c: read and decode log messages from test binary child processes.
102 fixed GIOChannel and child watch handling to process all messages and avoid
103 hangs. pass --verbose and --quiet on to children, default to --quiet.
105 * gtestframework.h: export g_test_log_type_name().
107 * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
110 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
112 gtester.c: support test case listing through gtester.
114 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
116 gtestframework.c: fixed testpath matches for automatic root suite.
118 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
120 gtester.c: adapted to become a rudimentary test binary launcher.
122 * gtester.c: increased read buffer size to match common unix pipe buffer size.
123 added argument parsing and usage. changed io handling to capture and replicate
124 stdout. fixed io handlers to be cleaned up when the child process exits (catch
125 G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
126 structure, to keep running until the child process exits and all io has been
127 processed. launch the test binaries given on the command line. don't quit when
128 a child couldn't be launched but --keep-going was specified.
130 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
132 Integrated gtester program into build process.
134 * Makefile.am: build and install gtester binary.
136 * gtester.c: fixed up coding style and removed hard wired test coded.
138 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
140 glib/gtester.c:Small -Wall fix
142 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
144 glib/gtester.c:Implemented nonblocking reading properly now
146 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
148 glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
150 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
152 glib/gtester.c:Read the output of the child process
154 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
156 glib/gtester.c:Use g_spawn_async_with_pipes()
158 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
160 glib/gtester.c:Spawn a process async and quit gtester after the child process exited
162 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
164 glib/gtester.c:Added a first revision of gtester
166 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
168 Implemented test log serialization.
170 * glib/gtestframework.h: added g_test_log*() API.
172 * glib/gtestframework.c: implement test log serialization.
174 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
176 Implemented test logging basics.
178 * glib/gtestframework.c: added --debug-log and --verbose, implemented
179 test information logging.
181 * testing.c: test g_test_maximized_result() and g_test_minimized_result().
183 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
185 Implemented g_test_timer*().
187 * gtestframework.c: implemented g_test_timer*().
189 * tests/testing.c: added a g_test_timer*() test.
191 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
193 Implemented support for testpaths.
195 * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
197 * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
199 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
201 testing.c: added tests for the g_test_rand*() API.
203 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
205 Implemented g_test_rand*().
207 * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
208 added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
211 * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
213 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
215 testing.c: added tests for g_assert_cmphex() and forked test traps.
217 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
219 Implemented g_test_trap_fork() API.
221 * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
223 * gtestframework.c: implemented g_test_trap_fork() API.
225 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
227 * glib/gtestframework.c:
229 that match a given test path.
230 (g_test_run_suite): run suite only if it matches the existing test paths.
232 * glib/tests/testing.c: minor rename.
234 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
236 GTest framework started.
238 * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
239 includes elaborate assertions, performance report functions, test traps,
240 test timer, test random numbers, teardoiwn garbage collection functions
241 and general test case / test suite management APIs.
243 * glib/gtestframework.c: first test framework implementation. already covers
244 some test suite management APIs and assertion message implementations.
246 * glib/tests/testing.c: test program for the testing framework.
248 * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
251 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
253 glib/Makefile.am: build tests/ subdir after building libglib.
255 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
257 Fixed up internal 'g_test*' names.
259 * refcount/signals.c:
260 * refcount/objects.c:
261 * refcount/objects2.c:
262 * refcount/closures.c:
263 * refcount/properties.c:
264 * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
265 to not clash with newly introduced g_test* API in glib.
267 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
269 Added gtestframework.[hc] and glib/tests/.
271 2007-11-20 Sven Neumann <sven@gimp.org>
273 * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
274 g_strjoin() to concatenate two strings.
276 2007-11-19 Marco Barisione <marco@barisione.org>
278 * glib/gregex.c: When the compilation of a pattern fails in the error
279 message use the character offset and not the byte offset.
281 * glib/gregex.c: Pass an unsigned long instead of an int to
282 pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
285 2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
287 * configure.in: updated version number to 2.15.0 for development.
289 2007-11-18 Matthias Clasen <mclasen@redhat.com>
291 * glib/gbase64.c: Documentation improvements. (#496518,
292 Stefan Schulze Frielinghaus)
294 2007-11-18 Matthias Clasen <mclasen@redhat.com>
296 * configure.in: Check whether assembler supports numerical local
299 * glib/gatomic.c: Fix powerpc implementation of atomic ops for
300 platforms where the assembler doesn't support numerical local
303 2007-11-15 Ryan Lortie <desrt@desrt.ca>
305 * docs/reference/glib/tmpl/markup.sgml:
307 * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
308 parser to prepend location information (ie: "Error on line %d, char
309 %d:") to errors generated by the GMarkupParser callbacks.
313 2007-11-15 Ryan Lortie <desrt@desrt.ca>
315 * docs/reference/glib/glib-sections.txt:
318 * glib/gerror.c: new functions g_prefix_error and
319 g_propagate_prefixed_error.
321 2007-11-13 Cody Russell <bratsche@gnome.org>
323 * docs/reference/gobject/gobject-docs.sgml:
324 * docs/reference/gobject/tut_gsignal.xml:
325 * docs/reference/gobject/tut_gtype.xml:
326 * docs/reference/gobject/tut_intro.xml:
327 * docs/reference/gobject/tut_tools.xml:
328 * docs/reference/gobject/tut_howto.xml:
329 * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
330 Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
331 NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
332 superclass initializers don't run when an object is
333 instantiated. Fixed numerous spelling mistakes. Minor grammar
334 edits. (#490637, Adam Dingle)
336 2007-11-09 Matthias Clasen <mclasen@redhat.com>
338 * glib/gkeyfile.c: Coding style cleanups and doc
339 improvements. (#491979, #491982, Areg Beketovski)
341 2007-11-09 Matthias Clasen <mclasen@redhat.com>
343 * glib/giochannel.c: Coding style cleanups and doc
344 improvements. (#491975, Areg Beketovski)
346 2007-11-09 Matthias Clasen <mclasen@redhat.com>
348 * glib/gmain.c (g_main_context_iteration): Improve the
349 docs. (#491974, Areg Beketovski)
351 2007-11-09 Matthias Clasen <mclasen@redhat.com>
353 * glib/gdate.c: Coding style fixes.
355 2007-11-09 Matthias Clasen <mclasen@redhat.com>
357 * configure.in: Add AM_PROG_CC_C_O.
359 * Makefile.am: Remove the install-exec-local hook and use
360 configexecincludedir_DATA instead, in an attempt to avoid
361 automake 1.9 <> 1.10 incompatibilities.
363 * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
364 automake 1.10 complains.
366 2007-11-09 Matthias Clasen <mclasen@redhat.com>
368 * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
371 2007-11-08 Matthias Clasen <mclasen@redhat.com>
373 * glib/gmain.c (g_main_context_release):
374 (g_main_context_acquire):
375 (g_main_context_new): Fix the doc wording. (#491957,
376 #491965, #491966, Areg Beketovski)
378 2007-11-08 Matthias Clasen <mclasen@redhat.com>
380 * glib/gutils.c (g_set_application_name): Add a missing
381 since tag. (#464259, Mark Doliner)
383 2007-11-08 Matthias Clasen <mclasen@redhat.com>
385 * glib/goption.c (g_option_context_new): Improve the docs.
386 (#436293, Vincent Untz)
388 2007-11-08 Matthias Clasen <mclasen@redhat.com>
390 * glib/gmain.c (g_main_loop_quit): Expand the docs
391 a bit. (#317775, Søren Sandmann)
393 2007-11-08 Matthias Clasen <mclasen@redhat.com>
395 * autogen.sh: Accept automake 1.10, too
397 * mkinstalldirs: Temporarily add this script, to fix building
400 * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
401 ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
403 2007-11-08 Matthias Clasen <mclasen@redhat.com>
405 * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
407 2007-11-08 Matthias Clasen <mclasen@redhat.com>
409 * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
410 shift state with AIX iconv(). (#467537)
412 2007-11-08 Matthias Clasen <mclasen@redhat.com>
415 * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
416 and in AM_PATH_GLIB_2_0 to be consistent with the use of
417 PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
420 2007-11-08 Matthias Clasen <mclasen@redhat.com>
422 * glib/gstrfuncs.c (g_parse_long_long): Don't leave
423 out parameters uninitialized. (#490061, Benjamin Otte)
425 2007-11-07 Matthias Clasen <mclasen@redhat.com>
427 * glib/gmain.c (g_main_context_unref): Don't leak the
428 condvar. (#479724, Areg Beketovski)
430 2007-11-07 Matthias Clasen <mclasen@redhat.com>
433 * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
434 New function, to get the stack of open elements. (#452887,
437 2007-11-07 Matthias Clasen <mclasen@redhat.com>
439 * glib/gkeyfile.[hc]: Make some functions that take
440 a GError return boolean instead of void. (#375651, Matt Barnes)
442 2007-11-07 Matthias Clasen <mclasen@redhat.com>
444 * autogen.sh: Use automake 1.9
447 * configure.in: Move some inter-*.m4 includes from
448 configure.in to acinclude.m4 to avoid warnings when
449 using automake 1.9. (#449937)
451 2007-11-07 Matthias Clasen <mclasen@redhat.com>
453 === Branch for 2.14 ===