Improve generation of pseudo-random integers. (#99720, Morten Welinder
[platform/upstream/glib.git] / README.in
1 General Information
2 ===================
3
4 This is GLib version @GLIB_VERSION@. GLib is the low-level core
5 library that forms the basis for projects such as GTK+ and GNOME. It
6 provides data structure handling for C, portability wrappers, and
7 interfaces for such runtime functionality as an event loop, threads,
8 dynamic loading, and an object system.
9
10 The official ftp site is:
11   ftp://ftp.gtk.org/pub/gtk
12
13 The official web site is:
14   http://www.gtk.org/
15
16 Information about mailing lists can be found at
17   http://www.gtk.org/mailinglists.html
18
19 To subscribe: mail -s subscribe gtk-list-request@gnome.org < /dev/null
20 (Send mail to gtk-list-request@gnome.org with the subject "subscribe")
21
22 Installation
23 ============
24
25 See the file 'INSTALL'
26
27 Notes about GLib-2.2.0
28 ======================
29
30 * GLib changed the seeding algorithm for the pseudo-random number
31   generator Mersenne Twister, as used by GRand and GRandom. This was
32   necessary, because some seeds would yield very bad pseudo-random
33   streams. Further information can be found at:
34
35           http://www.math.keio.ac.jp/~matumoto/emt.html
36
37   Also the pseudo-random integers generated by g_rand_int_range and 
38   g_random_int_range will have a slightly better equal distribution
39   with the new version of GLib.
40  
41   The original algorithms, as found in GLib-2.0.x, can be used instead
42   of the new ones by setting the environment variable G_RANDOM_VERSION
43   to the value of "2.0".
44
45   Use the GLib-2.0 algorithms only if you have sequences of numbers
46   generated with Glib-2.0 that you need to reproduce exactly.
47
48 How to report bugs
49 ==================
50
51 Bugs should be reported to the GNOME bug tracking system. 
52 (http://bugzilla.gnome.org, product glib.) You will need
53 to create an account for yourself.
54
55 In the bug report please include:
56
57 * Information about your system. For instance:
58
59    - What operating system and version
60    - For Linux, what version of the C library
61
62   And anything else you think is relevant.
63
64 * How to reproduce the bug. 
65
66   If you can reproduce it with the testgtk program that is built 
67   in the gtk/ subdirectory, that will be most convenient.  Otherwise, 
68   please include a short test program that exhibits the behavior. 
69   As a last resort, you can also provide a pointer to a larger piece 
70   of software that can be downloaded.
71
72 * If the bug was a crash, the exact text that was printed out
73   when the crash occured.
74
75 * Further information such as stack traces may be useful, but
76   is not necessary.
77
78 Patches
79 =======
80
81 Patches should also be submitted to bugzilla.gnome.org. If the
82 patch fixes an existing bug, add the patch as an attachment
83 to that bug report.
84
85 Otherwise, enter a new bug report that describes the patch,
86 and attach the patch to that bug report.
87
88 Bug reports containing patches should include the PATCH keyword
89 in their keyword fields. If the patch adds to or changes the GLib 
90 programming interface, the API keyword should also be included.
91
92 Patches should be in unified diff form. (The -u option to GNU
93 diff.)