glib/tests
George Lebl 80591652ff Add the init_by_array functionality from the reference implementation of
Fri Dec 19 11:49:21 2003  George Lebl <jirka@5z.com>

        * glib/grand.c
          glib/grand.h (g_rand_new) (g_rand_new_with_seed)
          (g_rand_new_with_seed_array) (g_rand_set_seed_array):  Add
          the init_by_array functionality from the reference implementation
          of the mersenne twister (mt19937ar.c) and change the naming
          to fit with the rest of the grand API.  New functions are
          g_rand_new_with_seed_array, g_rand_set_seed_array.  This is only
          reliable/tested for the 2.2 version of the seeding as that's what
          the reference implementation uses.  Also modify g_rand_new to
          get 4 longs from /dev/urandom since that will always be available
          anyway and we get more entropy and if /dev/urandom is unavailable
          use also 4 longs for seeding using secs, usecs, getpid and getppid.
          For version 2.0 use only a simple seed again but be more careful
          about seeding with secs/usecs in this case.

        * glib/grand.c
          glib/grand.h (g_rand_copy):  Add g_rand_copy function to copy the
          current state of the random number generator.

        * glib/grand.c (g_rand_new):  Add testing for EINTR when reading
          from /dev/urandom

        * tests/rand-test.c: add testing of the array seeding stuff against
          the reference implementation, plus add statistical sanity check
          to see that the values outputted are truly kind of random.  And
          check that g_rand_copy truly copies the state by checking a few
          terms.
2004-01-10 01:38:55 +00:00
..
gobject Force shared library (DLL) only on Windows. (I don't think that is 2003-10-24 03:41:22 +00:00
markups New testcases. 2002-05-18 22:06:54 +00:00
.cvsignore shut up cvs 2003-10-27 23:38:05 +00:00
array-test.c New function to call a function for each element of a GPtrArray. (#114790) 2003-12-26 01:04:12 +00:00
casefold.txt Update Unicode data to 4.0. (#107974) 2003-07-31 02:27:56 +00:00
casemap.txt Unicode 4.0 special casing. (#114681) 2003-09-10 16:55:36 +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 Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
dirname-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
env-test.c Remove a test for getenv() behaviour which isn't specified by SUS and 2003-08-08 19:28:24 +00:00
file-test.c for msvc build 2003-08-05 22:21:19 +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 add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
hash-test.c Fix access to freed memory in test case (Miroslaw Dobrzanski-Neumann). 2002-02-08 17:34:15 +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 use gsize instead of int where appropriate (64-bit cleanliness fix). 2002-10-15 22:39:16 +00:00
libmoduletestplugin_a.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +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 Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
mainloop-test.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
Makefile.am Add gobject/. 2003-09-25 19:01:57 +00:00
makefile.mingw.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
makefile.msc.in Fix for MSVC build: Skip strtod-test, use correct glib libraries, with 2.0 2003-11-15 03:08:57 +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 Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +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
patterntest.c Fix a C99ism. (#120821, Thomas Klausner) 2003-08-27 22:27:41 +00:00
printf-test.c Added G_GSIZE_FORMAT and friends. 2003-11-20 23:12:05 +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 Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
rand-test.c Add the init_by_array functionality from the reference implementation of 2004-01-10 01:38:55 +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-markup-tests.sh New testcases. 2002-05-18 22:06:54 +00:00
shell-test.c 1.3.13 2002-01-29 20:23:48 +00:00
slist-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
spawn-test-win32-gui.c Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully 2002-11-17 03:52:55 +00:00
spawn-test.c for msvc build 2003-07-20 15:55:09 +00:00
strfunc-test.c Fix #117925 (Dov Grobgeld): 2003-08-16 19:45:25 +00:00
string-test.c Handle the case where the to-be-inserted string is a substring of the 2003-11-05 16:24:44 +00:00
strtod-test.c Fixed a bad pointer comparison in g_ascii_strtod that came up in fa_IR 2003-11-26 13:22:42 +00:00
testgdate.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +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 Added G_GSIZE_FORMAT and friends. 2003-11-20 23:12:05 +00:00
thread-test.c Use GUINT_TO_POINTER for g_thread_create data. 2003-11-18 01:29:36 +00:00
threadpool-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop-basic.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop-closure.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
tree-test.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
type-test.c Added G_GSIZE_FORMAT and friends. 2003-11-20 23:12:05 +00:00
unicode-caseconv.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
unicode-collate.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
unicode-encoding.c Return nonzero exit status if the test fails. (#118729) 2003-07-31 16:51:52 +00:00
unicode-normalize.c Add hangul composition and decomposition to unicode normalization. 2003-12-04 19:47:52 +00:00
uri-test.c Get rid of UNSAFE_DOS_PATH. (acceptable): Align with RFC2396. (#59653) 2003-03-30 21:24:58 +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