Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Sebastian Wilhelmi 32241715f4 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double()
2000-12-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* grand.c: Updated G_RAND_DOUBLE_TRANSFORM to be more
	accurate. Redid g_rand_double() such that it returns 52 bits after
	the point instead of 32 as before. That OTOH requires calling
	g_rand_int() twice. Overhauled g_rand_int_range(), which is easier
	now thanks to the new precision of g_rand_double(). Thanks to
	Sverre Johansen <sj@ifi.uio.no> for the hint.

	* grand.h: Added g_rand_boolean() and g_random_boolean()
	macros. While they could be omitted due to extreme simplicity,
	they make intention clearer in code and are therefore good to have.

	* grand.c, grand.h: Renamed all 'min' and 'max' parameters to'
	begin' and 'end' resp. to avoid making people think, that 'max' is
	included in the interval. 'end' now isn't, whereas 'begin'
	is. That's similar to the use in the STL.

	* glib/glib-sections.txt: Added g_rand_boolean and
	g_random_boolean macros.

	* glib/tmpl/random_numbers.sgml: Updated.
2000-12-19 15:57:53 +00:00
debian add -b (binary-only; no source packages) flag to dpkg-buildpackage 1998-11-18 05:32:06 +00:00
docs Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
glib Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
gmodule Include make.msc from GLib's build subdir. 2000-12-01 15:11:54 +00:00
gobject Use GetACP to get the current ANSI codepage. 2000-12-17 18:43:57 +00:00
gthread Include make.msc from GLib's build subdir. 2000-12-01 15:11:54 +00:00
m4macros Move glib-config to glib-config-2.0 move glib.m4 to glib-2.0.m4 2000-07-14 19:22:54 +00:00
tests Rearrange into other veriables, and include run-markup-tests.sh. 2000-12-08 21:04:52 +00:00
.cvsignore Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
acconfig.h Create wrapper functions for iconv() so that we can transparently use the 2000-11-12 23:44:28 +00:00
acglib.m4 Rename from GLIB_DIVERT_BEFORE_HELP. Update to track autoconf 2.49b. 2000-12-08 22:48:45 +00:00
acinclude.m4 libtool 1.3.2 (BeOS changes merged) 1999-06-02 18:43:45 +00:00
AUTHORS 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
autogen.sh acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.2f 1999-03-20 00:44:22 +00:00
build-dll Fix resource handling, the resource file got left out from the DLL after 2000-07-22 08:38:06 +00:00
ChangeLog Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
ChangeLog.pre-1-2 moved old ChangeLog to ChangeLog.pre-1-2, and started new one. 1999-02-27 00:25:58 +00:00
ChangeLog.pre-2-0 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
ChangeLog.pre-2-2 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
ChangeLog.pre-2-4 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
ChangeLog.pre-2-6 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
ChangeLog.pre-2-8 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
ChangeLog.pre-2-10 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
ChangeLog.pre-2-12 Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
config.guess Test for sched_yield as the native yield function first. Corrected typo 2000-03-22 10:04:29 +00:00
config.h.win32.in Add USE_LIBICONV. 2000-11-13 18:03:57 +00:00
config.sub Test for sched_yield as the native yield function first. Corrected typo 2000-03-22 10:04:29 +00:00
configure.in Added --disable-mem-pools option. 2000-12-19 09:35:44 +00:00
COPYING version bump to 1.1.1, binary age 1, interface age 0. updates. updates. 1998-08-04 14:26:27 +00:00
galloca.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
garray.c Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I 2000-12-19 15:40:30 +00:00
garray.h Patch from David Benson <daveb@idealab.com> to add user_data support to 2000-11-20 23:59:32 +00:00
gasyncqueue.c Added documentation for asynchronous queues. 2000-11-02 14:54:52 +00:00
gasyncqueue.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gbacktrace.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
gbacktrace.h Some more debugging output. (g_io_channel_win32_poll): Remove unused vars. 2000-10-16 18:54:29 +00:00
gcache.c Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
gcache.h Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
gcompletion.c Fix warnings. 2000-11-28 23:44:21 +00:00
gcompletion.h Warn if no callback. Call callback correctly. (g_io_win32_create_watch): 2000-12-14 21:02:20 +00:00
gconvert.c make static 2000-12-13 23:54:51 +00:00
gconvert.h Up version to 1.3.2 2000-11-13 19:01:28 +00:00
gdataset.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
gdataset.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gdate.c Several minor ANSI C fixes. 2000-09-29 13:37:01 +00:00
gdate.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gen-unicode-tables.pl s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
gerror.c Free the src error if the dest location is NULL - I'm pretty sure that's 2000-11-05 17:02:37 +00:00
gerror.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gfileutils.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
gfileutils.h template is a reserved word in C++ s/template/tmpl/. 2000-11-12 20:38:19 +00:00
ghash.c Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I 2000-12-19 15:40:30 +00:00
ghash.h return whether a value got removed. 2000-12-13 00:44:18 +00:00
ghook.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
ghook.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
giochannel.c Remove pollfds from the context here, not when actually freeing the 2000-12-10 16:02:48 +00:00
giochannel.h Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
giounix.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
giowin32.c Warn if no callback. Call callback correctly. (g_io_win32_create_watch): 2000-12-14 21:02:20 +00:00
glib-2.0.m4 Move glib-config to glib-config-2.0 move glib.m4 to glib-2.0.m4 2000-07-14 19:22:54 +00:00
glib-2.0.pc.in Create wrapper functions for iconv() so that we can transparently use the 2000-11-12 23:44:28 +00:00
glib-config-2.0.in Create wrapper functions for iconv() so that we can transparently use the 2000-11-12 23:44:28 +00:00
glib-object.h Add gtypemodule.h 2000-11-11 00:04:33 +00:00
glib.def Warn if no callback. Call callback correctly. (g_io_win32_create_watch): 2000-12-14 21:02:20 +00:00
glib.h Patch from David Benson <daveb@idealab.com> to add user_data support to 2000-11-20 23:59:32 +00:00
glib.rc.in New files, for putting version info in the DLLs on Win32. 2000-02-04 13:57:46 +00:00
glib.spec.in added gobject 2000-05-12 15:23:16 +00:00
glibconfig.h.win32.in Remove alloca stuff from here. galloca.h takes care of it, correctly. 2000-10-16 19:55:26 +00:00
glist.c Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I 2000-12-19 15:40:30 +00:00
glist.h Patch from David Benson <daveb@idealab.com> to add user_data support to 2000-11-20 23:59:32 +00:00
gmacros.h Provide G_CONST_RETURN which is 'const' by default, and nothing when 2000-12-01 05:42:51 +00:00
gmain.c Warn if no callback. Call callback correctly. (g_io_win32_create_watch): 2000-12-14 21:02:20 +00:00
gmain.h Revert unauthorized changes. 2000-12-12 20:23:37 +00:00
gmarkup.c touchups. 2000-11-29 16:25:36 +00:00
gmarkup.h rename G_MARKUP_FOO to G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG 2000-11-05 18:38:08 +00:00
gmem.c Added --disable-mem-pools option. 2000-12-19 09:35:44 +00:00
gmem.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gmessages.c Warn if no callback. Call callback correctly. (g_io_win32_create_watch): 2000-12-14 21:02:20 +00:00
gmessages.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gmodule-2.0.pc.in Put the pkg-config scripts back to the correct pkg-config syntax 2000-09-30 02:14:04 +00:00
gnode.c Added --disable-mem-pools option. 2000-12-19 09:35:44 +00:00
gnode.h Readded GFreeFunc, g_node_insert_after and g_find_program_in_path resp., 2000-10-13 08:16:54 +00:00
gobject-2.0.pc.in Put the pkg-config scripts back to the correct pkg-config syntax 2000-09-30 02:14:04 +00:00
gprimes.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:02:02 +00:00
gprimes.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gqsort.c Patch from David Benson <daveb@idealab.com> to add user_data support to 2000-11-20 23:59:32 +00:00
gqsort.h Patch from David Benson <daveb@idealab.com> to add user_data support to 2000-11-20 23:59:32 +00:00
gquark.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gqueue.c Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I 2000-12-19 15:40:30 +00:00
gqueue.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
grand.c Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
grand.h Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double() 2000-12-19 15:57:53 +00:00
grel.c Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
grel.h Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
gscanner.c Introduced new function type GEqualFunc to return TRUE for equal params. 2000-10-30 14:34:52 +00:00
gscanner.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gshell.c Add new files. 2000-10-09 16:24:57 +00:00
gshell.h Added 2000-11-05 16:38:16 +00:00
gslist.c Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I 2000-12-19 15:40:30 +00:00
gslist.h Patch from David Benson <daveb@idealab.com> to add user_data support to 2000-11-20 23:59:32 +00:00
gspawn-win32-helper.c Patches by Hans Breuer: 2000-11-28 20:04:08 +00:00
gspawn-win32.c Patches by Hans Breuer: 2000-11-28 20:04:08 +00:00
gspawn.c Changed unportable __FUNCTION__ to the verbatim function name. 2000-11-02 12:31:10 +00:00
gspawn.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gstrfuncs.c add g_strdupv test 2000-12-07 04:48:37 +00:00
gstrfuncs.h add g_strdupv test 2000-12-07 04:48:37 +00:00
gstring.c New module to parse a simple markup language 2000-10-27 02:46:04 +00:00
gstring.h New module to parse a simple markup language 2000-10-27 02:46:04 +00:00
gthread-2.0.pc.in Put the pkg-config scripts back to the correct pkg-config syntax 2000-09-30 02:14:04 +00:00
gthread.c Revamped errorcheck mutexes and added errorcheck cond_wait() and 2000-11-28 12:56:57 +00:00
gthread.h Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
gthreadpool.c Add a surrogate for thread priorities using PID niceness for systems with 2000-11-21 15:27:44 +00:00
gthreadpool.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gtimer.c s/G_MICROSEC/G_USEC_PER_SEC/ 2000-09-06 13:56:17 +00:00
gtimer.h Split glib.h into many header files mostly according to the resp. 2000-10-12 11:52:07 +00:00
gtree.c Ok, I'm a moron. When I originally implemented ENABLE_GC_FRIENDLY, I 2000-12-19 15:40:30 +00:00
gtree.h Patch from David Benson <daveb@idealab.com> to add user_data support to 2000-11-20 23:59:32 +00:00
gtypes.h Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
gunibreak.c Forgot gunibreak.c, mistake in ChangeLog 2000-11-29 23:49:44 +00:00
gunibreak.h s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
gunichartables.h s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
gunicode.h Use GetACP to get the current ANSI codepage. 2000-12-17 18:43:57 +00:00
gunidecomp.c s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
gunidecomp.h s/UNICODE_LAST_CHAR/G_UNICODE_LAST_CHAR/ 2000-11-29 23:38:24 +00:00
guniprop.c Fix warnings. 2000-11-28 23:44:21 +00:00
gutf8.c Use GetACP to get the current ANSI codepage. 2000-12-17 18:43:57 +00:00
gutils.c Check for the sched.h header and include it on gthread/gthread-posix.c if 2000-11-15 17:48:43 +00:00
gutils.h gutils.c gutils.h gfileutils.c Actually, g_mkstemp() is better suited in 2000-10-30 22:06:22 +00:00
gwin32.c Some more debugging output. (g_io_channel_win32_poll): Remove unused vars. 2000-10-16 18:54:29 +00:00
gwin32.h Make #endif comment match #ifdef. 2000-11-14 21:40:28 +00:00
HACKING new file 1999-01-20 23:06:30 +00:00
INSTALL Create wrapper functions for iconv() so that we can transparently use the 2000-11-12 23:44:28 +00:00
ltconfig Test for sched_yield as the native yield function first. Corrected typo 2000-03-22 10:04:29 +00:00
ltmain.sh Test for sched_yield as the native yield function first. Corrected typo 2000-03-22 10:04:29 +00:00
MAINTAINERS 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
Makefile.am Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
makefile.mingw.in No need to -DGSPAWN_HELPER when compiling gspawn-win32-helper any longer. 2000-12-14 21:08:00 +00:00
makefile.msc.in No need to -DGSPAWN_HELPER when compiling gspawn-win32-helper any longer. 2000-12-14 21:08:00 +00:00
NEWS Released 1.3.2 2000-11-17 20:44:24 +00:00
README 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
README.win32 Updates. 2000-10-23 19:17:41 +00:00
sanity_check 18:36. incorporated proposed cleanups from gtk-devel-list. 1999-07-24 18:50:58 +00:00
testgdate.c fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas 2000-05-19 08:18:29 +00:00
testgdateparser.c Two new files. This is kind of ugly code, but I want to go ahead and make 1998-12-02 20:20:35 +00:00
testglib.c Improve chance to generate unique names with less effort a bit. 2000-11-11 13:46:15 +00:00
timeloop-basic.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
timeloop.c Major change in API for creating sources to handle multiple main loops 2000-12-05 20:45:33 +00:00
TODO.xml <entry size="small" status="90%" target="1.4"> 2000-05-11 04:12:04 +00:00

 *** IMPORTANT *** 

This is a development version of GLib.  You should be using a stable
version, which is available at ftp://ftp.gtk.org/pub/gtk/v1.2/.  This
version is meant for developers of GLib only:

 * You should not base stable software on this version of GLib.
 * GNOME developers should use a stable version of GLib.

Distributions should *NOT* ship a development package of this GLib.
Do not ship the headers and do not ship the glib-config script.  These
things will conflict with the stable 1.2 series.  Package only enough
to satisfy the requirements of some other package.  Package only the
library itself.  Doing otherwise will do no favors to the community.

If you install this version of GLib, we strongly recommend that you
install it in a different prefix than GLib 1.2.  Use --prefix as an
argument to configure to do this.  Otherwise, you will not be able to
do development with GLib 1.2 any longer.

*** You should be using GLib 1.2 instead. ***


General Information
===================

This is GLib version 1.3.1. GLib is a library which includes support
routines for C such as lists, trees, hashes, memory allocation, and
many other things.

The official ftp site is:
  ftp://ftp.gtk.org/pub/gtk

The official web site is:
  http://www.gtk.org/

A mailing list is located at:
  gtk-list@redhat.com

To subscribe: mail -s subscribe gtk-list-request@redhat.com < /dev/null
(Send mail to gtk-list-request@redhat.com with the subject "subscribe")

Installation
============

See the file 'INSTALL'

How to report bugs
==================

To report a bug, send mail either to gtk-list, as mentioned
above, or to gtk-bugs@gtk.org. If you send mail to gtk-list, you
must be subscribed yourself.

In the mail include:

* The version of GLib

* Information about your system. For instance:

   - What operating system and version
   - What version of X
   - For Linux, what version of the C library

  And anything else you think is relevant.

* How to reproduce the bug. 

  If you can reproduce it with the testglib program that is built 
  in the glib/ directory, that will be most convenient.  Otherwise, 
  please include a short test program that exhibits the behavior. 
  As a last resort, you can also provide a pointer to a larger piece 
  of software that can be downloaded.

* If the bug was a crash, the exact text that was printed out
  when the crash occured.

* Further information such as stack traces may be useful, but
  is not necessary.

Patches
=======

Patches can be uploaded to the incoming/ directory on
ftp.gtk.org.  Please follow the instructions there, and include
your name and email address in the README file.

If the patch fixes a bug, it is usually a good idea to include
all the information described in "How to Report Bugs".