1 2007-11-26 Tor Lillqvist <tml@novell.com>
3 * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
5 2007-11-26 Tor Lillqvist <tml@novell.com>
7 Implement #491549: On Windows, always use the native API for
8 character set conversions instead of GNU libiconv. Almost all
9 codesets supported by GNU libiconv exist as Windows codepages.
10 One missing feature is the "C99" and "JAVA" pseudo codesets, but I
11 doubt that is worth worrying about.
13 * glib/win_iconv.c: New file. iconv() implementation for
14 Windows. Placed in the public domain by Yukihiro Nakadaira
15 <yukihiro.nakadaira@gmail.com>. From
16 http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
19 * glib/gconvert.c: Include win_iconv.c on Windows.
21 * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
23 * configure.in: Bypass iconv checks on Windows.
25 2007-11-25 Tor Lillqvist <tml@novell.com>
27 * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
28 unless G_OS_UNIX for now.
30 2007-11-25 Matthias Clasen <mclasen@redhat.com>
32 * configure.in: Require gtk-doc 1.8.
41 * glib/gutils.c: Use gtk-doc abbreviations for
42 examples in doc comments.
44 2007-11-24 Matthias Clasen <mclasen@redhat.com>
46 * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
49 2007-11-24 Matthias Clasen <mclasen@redhat.com>
51 * tests/base64-test.c: Fix a memory overrun.
53 2007-11-24 Matthias Clasen <mclasen@redhat.com>
55 * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
57 2007-11-23 Matthias Clasen <mclasen@redhat.com>
59 * glib/gbase64.c (g_base64_encode): Don't refuse to encode
60 a single byte. (Milan Crha)
62 * tests/base64-test.c: Test encoding short strings.
64 2007-11-23 Matthias Clasen <mclasen@redhat.com>
67 * glib/gi18n.h: Define a two-argument macro C_() for marking
68 translatable strings with context and implement C_() and Q_()
69 using g_dpgettext(). (#142676, Morten Welinder)
72 * glib/gstrfuncs.[hc]: Implement g_dpgettext().
74 2007-11-23 Matthias Clasen <mclasen@redhat.com>
76 * glib/goption.c: Use g_print to print out --help text in
77 locale encoding. (#469551, Takao Fujiwara)
79 2007-11-22 Matthias Clasen <mclasen@redhat.com>
81 * glib/gkeyfile.c: Set length out param in list-returning functions
82 to 0 when returning NULL. (#498728, Christian Persch)
84 2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
86 * Makefile.decl: initialize automake variables EXTRA_DIST and
87 TEST_PROGS for unconditional appending via += in other makefiles.
88 define recursive test targets: test, test-report, perf-report,
89 full-report, as described here:
90 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
93 * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
94 * build/win32/Makefile.am, build/Makefile.am:
95 * docs/Makefile.am, docs/reference/Makefile.am:
96 * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
97 * gmodule/Makefile.am, tests/Makefile.am:
98 * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
99 * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
100 * glib/tests/Makefile.am, glib/pcre/Makefile.am:
101 * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
102 * gthread/Makefile.am, glib/Makefile.am:
103 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
105 * glib/tests/Makefile.am: removed example testing rules.
107 * glib/tests/testing.c: conditionalized performance and slow tests.
110 * glib/gtestutils.c: work around g_test_config_vars not changing its
111 exported value after value assignments, aparently due to symbol aliases.
113 * glib/gtester.c: fixed off-by-one error which produced junk in logs.
115 * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
117 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
119 Renamed gtestframework to gtestutils.
122 * glib/Makefile.am: added gtestutils.h to public includes.
124 * glib/gtestutils.c: include gtestutils.h.
128 * glib/tests/testing.c: renamed gtestframework to gtestutils.
130 * glib/gtestframework.h: renamed to gtestutils.h.
132 * glib/gtestframework.c: renamed to gtestutils.c.
134 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
136 glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
138 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
140 gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
142 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
144 gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
146 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
148 Added g_test_bug() and related API.
150 * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
152 * gtestframework.h, gtestframework.c: added test message API and convenience
153 API to send test messages about bug URLs.
155 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
157 Added API to access test framework configuration.
159 * gtestframework.h, gtestframework.c: export testing configuration to test
160 programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
162 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
164 gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
166 * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
167 restart test binaries when tests fail, resuming after the last processed test.
168 support --gtester-selftest to run gtester itself as test program.
169 support --test-arg=<arg> to pass args along to test programs. added
170 main_selftest() which does a simplistic fixture test. fail if exit
171 code of test programs is not 0.
173 * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
175 * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
177 * tests/Makefile.am: added test-report: for demonstration purposes.
178 added gtester-xmllint-check: and hooked it up into check:, this rule calls
179 gtester as test program, running it's selftest, and then uses xmllint to
180 validate the generate XML test log file.
182 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
184 gtester: implemented XML logging.
186 * glib/gtester.c: log test messages to XML output file. beautified normal test
189 * glib/gtestframework.c: fixed GTimer leak.
191 * glib/tests/Makefile.am: start gtester with --verbose.
193 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
195 tests/Makefile.am: execute test programs with gtester, add test: to check:
197 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
199 Fixed PLT symbol exports for gtestframework.h.
201 * glib/glib.symbols: added all exported gtestframework.h symbols.
203 * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
205 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
207 glib/gtester.c: fixed debugging flag.
209 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
211 fixed bogus unistd.h include.
213 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
215 Implemented test log IPC.
217 * gtester.c: read and decode log messages from test binary child processes.
218 fixed GIOChannel and child watch handling to process all messages and avoid
219 hangs. pass --verbose and --quiet on to children, default to --quiet.
221 * gtestframework.h: export g_test_log_type_name().
223 * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
226 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
228 gtester.c: support test case listing through gtester.
230 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
232 gtestframework.c: fixed testpath matches for automatic root suite.
234 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
236 gtester.c: adapted to become a rudimentary test binary launcher.
238 * gtester.c: increased read buffer size to match common unix pipe buffer size.
239 added argument parsing and usage. changed io handling to capture and replicate
240 stdout. fixed io handlers to be cleaned up when the child process exits (catch
241 G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
242 structure, to keep running until the child process exits and all io has been
243 processed. launch the test binaries given on the command line. don't quit when
244 a child couldn't be launched but --keep-going was specified.
246 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
248 Integrated gtester program into build process.
250 * Makefile.am: build and install gtester binary.
252 * gtester.c: fixed up coding style and removed hard wired test coded.
254 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
256 glib/gtester.c:Small -Wall fix
258 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
260 glib/gtester.c:Implemented nonblocking reading properly now
262 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
264 glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
266 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
268 glib/gtester.c:Read the output of the child process
270 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
272 glib/gtester.c:Use g_spawn_async_with_pipes()
274 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
276 glib/gtester.c:Spawn a process async and quit gtester after the child process exited
278 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
280 glib/gtester.c:Added a first revision of gtester
282 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
284 Implemented test log serialization.
286 * glib/gtestframework.h: added g_test_log*() API.
288 * glib/gtestframework.c: implement test log serialization.
290 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
292 Implemented test logging basics.
294 * glib/gtestframework.c: added --debug-log and --verbose, implemented
295 test information logging.
297 * testing.c: test g_test_maximized_result() and g_test_minimized_result().
299 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
301 Implemented g_test_timer*().
303 * gtestframework.c: implemented g_test_timer*().
305 * tests/testing.c: added a g_test_timer*() test.
307 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
309 Implemented support for testpaths.
311 * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
313 * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
315 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
317 testing.c: added tests for the g_test_rand*() API.
319 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
321 Implemented g_test_rand*().
323 * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
324 added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
327 * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
329 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
331 testing.c: added tests for g_assert_cmphex() and forked test traps.
333 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
335 Implemented g_test_trap_fork() API.
337 * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
339 * gtestframework.c: implemented g_test_trap_fork() API.
341 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
343 * glib/gtestframework.c:
345 that match a given test path.
346 (g_test_run_suite): run suite only if it matches the existing test paths.
348 * glib/tests/testing.c: minor rename.
350 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
352 GTest framework started.
354 * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
355 includes elaborate assertions, performance report functions, test traps,
356 test timer, test random numbers, teardoiwn garbage collection functions
357 and general test case / test suite management APIs.
359 * glib/gtestframework.c: first test framework implementation. already covers
360 some test suite management APIs and assertion message implementations.
362 * glib/tests/testing.c: test program for the testing framework.
364 * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
367 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
369 glib/Makefile.am: build tests/ subdir after building libglib.
371 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
373 Fixed up internal 'g_test*' names.
375 * refcount/signals.c:
376 * refcount/objects.c:
377 * refcount/objects2.c:
378 * refcount/closures.c:
379 * refcount/properties.c:
380 * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
381 to not clash with newly introduced g_test* API in glib.
383 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
385 Added gtestframework.[hc] and glib/tests/.
387 2007-11-20 Sven Neumann <sven@gimp.org>
389 * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
390 g_strjoin() to concatenate two strings.
392 2007-11-19 Marco Barisione <marco@barisione.org>
394 * glib/gregex.c: When the compilation of a pattern fails in the error
395 message use the character offset and not the byte offset.
397 * glib/gregex.c: Pass an unsigned long instead of an int to
398 pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
401 2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
403 * configure.in: updated version number to 2.15.0 for development.
405 2007-11-18 Matthias Clasen <mclasen@redhat.com>
407 * glib/gbase64.c: Documentation improvements. (#496518,
408 Stefan Schulze Frielinghaus)
410 2007-11-18 Matthias Clasen <mclasen@redhat.com>
412 * configure.in: Check whether assembler supports numerical local
415 * glib/gatomic.c: Fix powerpc implementation of atomic ops for
416 platforms where the assembler doesn't support numerical local
419 2007-11-15 Ryan Lortie <desrt@desrt.ca>
421 * docs/reference/glib/tmpl/markup.sgml:
423 * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
424 parser to prepend location information (ie: "Error on line %d, char
425 %d:") to errors generated by the GMarkupParser callbacks.
429 2007-11-15 Ryan Lortie <desrt@desrt.ca>
431 * docs/reference/glib/glib-sections.txt:
434 * glib/gerror.c: new functions g_prefix_error and
435 g_propagate_prefixed_error.
437 2007-11-13 Cody Russell <bratsche@gnome.org>
439 * docs/reference/gobject/gobject-docs.sgml:
440 * docs/reference/gobject/tut_gsignal.xml:
441 * docs/reference/gobject/tut_gtype.xml:
442 * docs/reference/gobject/tut_intro.xml:
443 * docs/reference/gobject/tut_tools.xml:
444 * docs/reference/gobject/tut_howto.xml:
445 * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
446 Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
447 NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
448 superclass initializers don't run when an object is
449 instantiated. Fixed numerous spelling mistakes. Minor grammar
450 edits. (#490637, Adam Dingle)
452 2007-11-09 Matthias Clasen <mclasen@redhat.com>
454 * glib/gkeyfile.c: Coding style cleanups and doc
455 improvements. (#491979, #491982, Areg Beketovski)
457 2007-11-09 Matthias Clasen <mclasen@redhat.com>
459 * glib/giochannel.c: Coding style cleanups and doc
460 improvements. (#491975, Areg Beketovski)
462 2007-11-09 Matthias Clasen <mclasen@redhat.com>
464 * glib/gmain.c (g_main_context_iteration): Improve the
465 docs. (#491974, Areg Beketovski)
467 2007-11-09 Matthias Clasen <mclasen@redhat.com>
469 * glib/gdate.c: Coding style fixes.
471 2007-11-09 Matthias Clasen <mclasen@redhat.com>
473 * configure.in: Add AM_PROG_CC_C_O.
475 * Makefile.am: Remove the install-exec-local hook and use
476 configexecincludedir_DATA instead, in an attempt to avoid
477 automake 1.9 <> 1.10 incompatibilities.
479 * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
480 automake 1.10 complains.
482 2007-11-09 Matthias Clasen <mclasen@redhat.com>
484 * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
487 2007-11-08 Matthias Clasen <mclasen@redhat.com>
489 * glib/gmain.c (g_main_context_release):
490 (g_main_context_acquire):
491 (g_main_context_new): Fix the doc wording. (#491957,
492 #491965, #491966, Areg Beketovski)
494 2007-11-08 Matthias Clasen <mclasen@redhat.com>
496 * glib/gutils.c (g_set_application_name): Add a missing
497 since tag. (#464259, Mark Doliner)
499 2007-11-08 Matthias Clasen <mclasen@redhat.com>
501 * glib/goption.c (g_option_context_new): Improve the docs.
502 (#436293, Vincent Untz)
504 2007-11-08 Matthias Clasen <mclasen@redhat.com>
506 * glib/gmain.c (g_main_loop_quit): Expand the docs
507 a bit. (#317775, Søren Sandmann)
509 2007-11-08 Matthias Clasen <mclasen@redhat.com>
511 * autogen.sh: Accept automake 1.10, too
513 * mkinstalldirs: Temporarily add this script, to fix building
516 * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
517 ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
519 2007-11-08 Matthias Clasen <mclasen@redhat.com>
521 * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
523 2007-11-08 Matthias Clasen <mclasen@redhat.com>
525 * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
526 shift state with AIX iconv(). (#467537)
528 2007-11-08 Matthias Clasen <mclasen@redhat.com>
531 * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
532 and in AM_PATH_GLIB_2_0 to be consistent with the use of
533 PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
536 2007-11-08 Matthias Clasen <mclasen@redhat.com>
538 * glib/gstrfuncs.c (g_parse_long_long): Don't leave
539 out parameters uninitialized. (#490061, Benjamin Otte)
541 2007-11-07 Matthias Clasen <mclasen@redhat.com>
543 * glib/gmain.c (g_main_context_unref): Don't leak the
544 condvar. (#479724, Areg Beketovski)
546 2007-11-07 Matthias Clasen <mclasen@redhat.com>
549 * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
550 New function, to get the stack of open elements. (#452887,
553 2007-11-07 Matthias Clasen <mclasen@redhat.com>
555 * glib/gkeyfile.[hc]: Make some functions that take
556 a GError return boolean instead of void. (#375651, Matt Barnes)
558 2007-11-07 Matthias Clasen <mclasen@redhat.com>
560 * autogen.sh: Use automake 1.9
563 * configure.in: Move some inter-*.m4 includes from
564 configure.in to acinclude.m4 to avoid warnings when
565 using automake 1.9. (#449937)
567 2007-11-07 Matthias Clasen <mclasen@redhat.com>
569 === Branch for 2.14 ===