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