glib/tests
Michael Natterer 325bd373d4 don't free or modify static strings, dup them when needed and clear the
2007-04-24  Michael Natterer  <mitch@imendio.com>

	* gobject/gparamspecs.c (param_string_validate): don't free or
	modify static strings, dup them when needed and clear the
	G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.

	* tests/gobject/paramspec-test.c: test all GParamSpecString
	validations with static and allocated strings.


svn path=/trunk/; revision=5454
2007-04-24 13:36:58 +00:00
..
bookmarks Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
collate Add Collation tests. 2005-10-05 17:37:46 +00:00
gobject don't free or modify static strings, dup them when needed and clear the 2007-04-24 13:36:58 +00:00
markups Output that test-markup is expected to produce when run on the valid 2006-05-28 22:58:41 +00:00
refcount removed all .cvsignore files. SVN doesn't need them. 2007-01-03 11:22:36 +00:00
array-test.c delete a bunch of dead code. 2005-03-14 06:01:51 +00:00
asyncqueue-test.c Updated to test _sort, _sort_with_data, _insert_sorted and 2006-02-19 17:17:32 +00:00
atomic-test.c Make computation of "biggest_pointer" vaguely more portable. (#137498, 2004-03-19 16:13:37 +00:00
base64-test.c define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
bit-test.c Fix tests on x86_64. 2007-01-05 03:31:54 +00:00
bookmarkfile-test.c Return a boolean instead of void. 2006-06-12 17:19:13 +00:00
casefold.txt 2.11.0 2006-05-03 02:05:01 +00:00
casemap.txt 2.11.0 2006-05-03 02:05:01 +00:00
child-test.c define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
completion-test.c Make passing NULL for new_prefix work as documented. (#338845, Yevgen 2006-04-18 02:21:43 +00:00
convert-test.c Use encoding names which may work better on Solaris. (#340434, Alessandro 2006-05-08 16:58:24 +00:00
cxx-test.C Now that we check for a C++ compiler in configure.in anyway, I added a 2001-05-29 14:17:23 +00:00
date-test.c Add tests for g_date_get_iso8601_week_of_year(). 2005-03-28 05:22:56 +00:00
dirname-test.c Fix Win32 behaviour in some cases where a drive letter is present. For 2004-03-21 21:43:13 +00:00
env-test.c Remove critical log handler; we can't trigger g_return_if_fails() in our 2004-03-14 04:27:26 +00:00
errorcheck-mutex-test.c Adapt to GLib coding standards. 2006-05-10 23:58:27 +00:00
file-test.c Add tests. 2006-06-16 15:12:32 +00:00
gen-casefold-txt.pl Update Unicode data to 4.0. (#107974) 2003-07-31 02:27:56 +00:00
gen-casemap-txt.pl Unicode 4.0 special casing. (#114681) 2003-09-10 16:55:36 +00:00
gio-test.c Make the tests silent on success. 2005-07-14 05:20:14 +00:00
hash-test.c Add g_hash_table_get_keys() and g_hash_table_get_values(), API to retrieve 2007-04-11 13:09:38 +00:00
iochannel-test-infile Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
iochannel-test.c Avoid running in an assertion with small writes. (#343566, Chris Wilson) 2006-06-01 15:57:38 +00:00
keyfile-test.c Track whether the last key=value pair in a group is a blank line and 2007-03-22 08:58:59 +00:00
libmoduletestplugin_a.c Fix compiler warnings. 2005-12-05 13:37:55 +00:00
libmoduletestplugin_b.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
list-test.c Updated to test _sort, _sort_with_data, _insert_sorted and 2006-02-19 17:17:32 +00:00
mainloop-test.c Make the tests silent on success. 2005-07-14 05:20:14 +00:00
Makefile.am Add GRegex for regular expression matching. (#50075) 2007-03-15 13:01:31 +00:00
makefile.msc.in define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
mapping-test.c define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
markup-escape-test.c Add g_markup_printf_escaped(), g_markup_vprintf_escaped(). 2003-09-12 00:17:02 +00:00
markup-test.c Output that test-markup is expected to produce when run on the valid 2006-05-28 22:58:41 +00:00
memchunks.c extended to perform the benchmarking on the old memchunk code if 'O' is 2005-12-02 09:57:06 +00:00
module-test.c added convenience macros G_IMPLEMENT_INTERFACE() and G_DEFINE_TYPE() plus 2004-01-09 14:40:31 +00:00
node-test.c Implement G_LEVEL_ORDER correctly. 2001-11-26 19:08:46 +00:00
option-test.c define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
patterntest.c Plug leaks reported by valgrind. Same. Same Same. Same. Same. 2006-02-23 09:09:55 +00:00
printf-test.c Actually set any_failed on failure. (#143552, Philippe Blain) 2004-06-11 03:45:54 +00:00
qsort-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
queue-test.c Updated to test _sort, _sort_with_data, _insert_sorted and 2006-02-19 17:17:32 +00:00
rand-test.c Add the init_by_array functionality from the reference implementation of 2004-01-10 01:38:55 +00:00
regex-test.c define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
relation-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
run-bookmark-test.sh Add test suite for GBookmarkFile. 2006-03-27 18:28:07 +00:00
run-collate-tests.sh Silently skip tests if we can't set LC_COLLATE to en_US. (#336438) 2006-12-24 21:47:05 +00:00
run-markup-tests.sh Don't use diff -u (#380801, Marek Rouchal) 2006-12-17 18:01:15 +00:00
sequence-test.c Don't export the consistency check function 2007-03-17 04:25:40 +00:00
shell-test.c Plug leaks reported by valgrind. Same. Same Same. Same. Same. 2006-02-23 09:09:55 +00:00
slice-color.c define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
slice-test.c define PCRE_STATIC to reflect the inclusion of pcre as LIB, not 2007-03-17 09:49:09 +00:00
slist-test.c Updated to test _sort, _sort_with_data, _insert_sorted and 2006-02-19 17:17:32 +00:00
spawn-test-win32-gui.c Minor Cygwin fix. (#138405, Roger Leigh) 2004-03-31 02:13:52 +00:00
spawn-test.c Make the tests silent on success. 2005-07-14 05:20:14 +00:00
strfunc-test.c Add some language-binding friendly variants 2005-06-23 05:50:53 +00:00
string-test.c Optimise single-character insertions 2005-08-18 09:30:24 +00:00
strtod-test.c Add some tests involving leading whitespace. 2006-06-05 14:16:47 +00:00
strtoll-test.c Return negative values. (#416062) 2007-03-09 03:40:43 +00:00
testgdate.c Add tests for g_date_get_iso8601_week_of_year(). 2005-03-28 05:22:56 +00:00
testgdateparser.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
testglib.c Fix an off-by-2 error in the leap year calculation. (#344905, Dan Winship) 2006-06-20 16:37:43 +00:00
thread-test.c Make the tests silent on success. 2005-07-14 05:20:14 +00:00
threadpool-test.c (test_thread_stop_unused): Removed an 2006-04-07 18:47:33 +00:00
timeloop-basic.c Some file list updates (#398069, Owen Taylor) 2007-01-19 15:50:30 +00:00
timeloop-closure.c glib/gdebug.h glib/gutils.c gobject/gtype.c gthread/gthread-posix.c 2004-11-01 18:47:12 +00:00
timeloop.c glib/gdebug.h glib/gutils.c gobject/gtype.c gthread/gthread-posix.c 2004-11-01 18:47:12 +00:00
tree-test.c Silence a warning 2006-04-05 05:03:33 +00:00
type-test.c Fix docs for G_MAXSIZE. (#148262, Christophe Fergeau) 2004-07-23 14:39:25 +00:00
unicode-caseconv.c If a character can't be converted, don't replace it with a NUL byte, but 2006-08-05 21:53:49 +00:00
unicode-collate.c Silently skip tests if we can't set LC_COLLATE to en_US. (#336438) 2006-12-24 21:47:05 +00:00
unicode-encoding.c Use UTF-16LE as target encoding on all little-endian systems. (#143380, 2006-01-24 15:25:11 +00:00
unicode-normalize.c Update to reflect Unicode PR #29 (#348694, Nikolai Weibull) 2006-07-31 04:50:05 +00:00
uri-test.c Plug leaks reported by valgrind. Same. Same Same. Same. Same. 2006-02-23 09:09:55 +00:00
utf8-pointer.c More warning fixes 2006-04-05 05:05:01 +00:00
utf8-validate.c filter G_GNUC before PRIVATE so $ is still true. 2004-11-28 21:21:14 +00:00
utf8.txt Change instances of U+10ffff to U+10fffd, since that is the last valid 2003-07-31 16:48:54 +00:00