Added missing values for G_MAXU(SHORT|INT|LONG) on platforms with only
[platform/upstream/glib.git] / ChangeLog
1 1999-03-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
2
3         * configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
4         platforms with only /usr/include/values.h.
5
6         * acconfig.h: Removed unnecessary macros.
7
8         * glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
9         from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
10         branch.
11
12         * configure.in: Also accept _Pctime_r instead of ctime_r, while
13         seraching for the right `_REENTRANT' flag. This is for Digital
14         UNIX 4.0d. Taken from glib 1.2 branch.
15
16 Wed Mar 17 03:14:56 1999  Tim Janik  <timj@gtk.org>
17
18         * glib.h: added GLIB_CHECK_VERSION() macro similar to
19         GTK_CHECK_VERSION().
20
21 Wed Mar 17 01:46:28 1999  Tim Janik  <timj@gtk.org>
22
23         * merges from glib-1-2:
24         
25 Sun Mar 14 17:50:35 1999  Tim Janik  <timj@gtk.org>
26
27         * gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
28         to g_return_if_fail().
29         (g_mem_profile):
30         (g_mem_chunk_print):
31         (g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
32         messages.
33
34         * gtimer.c (g_timer_*): changed a bunch of g_assert() statements
35         to g_return_if_fail().
36         * grel.c (g_*): changed a bunch of g_assert() statements to
37         g_return_if_fail() and added some extra ones to check relation != NULL.
38
39 Tue Mar  9 23:25:50 1999  Tim Janik  <timj@gtk.org>
40
41         * configure.in: check for working realloc (NULL,).
42         * gmem.c (g_realloc): use malloc() for initial allocation on systems
43         where realloc(NULL,) will not work (this is the case on SunOS, reported
44         by Tom Geiger).
45
46 Mon Mar  8 07:42:08 1999  Tim Janik  <timj@gtk.org>
47
48         * ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
49         flag around the call to g_hook_free() to avoid spurious
50         warnings (happens during destruction phase).
51
52 1999-03-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
53
54         * gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
55         Friedrich Dominicus <Friedrich.Dominicus@inka.de>
56
57 1999-03-16  Timur Bakeyev  <mc@bat.ru>
58
59         * configure.in: Fix problem with pthread_create in libc, as running
60         "gcc test.c -l " is not legal.
61
62 1999-03-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
63
64         * tests/type-test.c: Added a test for the
65         G_(U)?INT(16|32|64)_FORMAT and G_(MIN|MAX|MAXU)(SHORT|INT|LONG)
66         macros.
67
68         * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be
69         used for scanf.
70
71         * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not
72         know how to handle these on platforms with /usr/include/values.h,
73         but without /usr/include/limits.h. Please someone add this.
74
75
76 1999-03-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
77
78         * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to
79         use for printf and (much more important) scanf format strings for
80         the corresponding GLib types. 
81
82         * glib.h Added G_(U)?(SHORT|INT|LONG)_FORMAT for consistency. It
83         however makes no sense to also provide G_(FLOAT|DOUBLE)_FORMAT, as
84         they are different for printf (f for both) and scanf (f for float,
85         lf for double). Defining G_INT_FORMAT makes sense however, as we
86         might want to define gint to something different than int someday
87         in the future. Idea from Sascha Brawer <sb@adasys.ch>.
88         
89 1999-03-14  Jeff Garzik  <jgarzik@pobox.com>
90
91         * gdate.c:
92         Commented out debugging output.
93
94         * tests/Makefile.am, tests/date-test.c:
95         Added test of the GDate module, based closely on testgdate.c.
96
97         * tests/Makefile.am:
98         Bugfix - compile tests with @GLIB_DEBUG_FLAGS@.
99
100 1999-03-14  Raja R Harinath  <harinath@cs.umn.edu>
101
102         * configure.in (glibconfig.h): Remove widechar tests and defines.
103         (fd_set): Change the grep for `fd_mask' to search for `fd_set'.
104         * gerror.c (fd_mask): Remove conditional typedef.  It is not used
105         elsewhere in the file.
106         * gmain.c (fd_mask): Likewise.
107
108 1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
109
110         * configure.in: Test for posix threads first, then for dce threads.
111
112 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
113
114         * configure.in: Revamped the thread configure stuff. Now dce
115         threads (old posix draft) are recogniced. This is necessary,
116         because dce threads are in fact working quite differently from
117         posix threads. Also changed the conditions for checking for MT
118         safe functions a bit, because G_THREADS_IMPL_NONE still have to
119         compile thread safe. NOTE: Please do not commit my change to
120         glib-1-2/{acconfig.h,configure.in,config.h.win32} from 1999-03-03,
121         as the current change will take care of that too.
122
123 Tue Mar  9 14:37:32 1999  Jeff Garzik  <jgarzik@pobox.com>
124
125         * Makefile.am, glib.h, gstack.c, gqueue.c,
126           tests/Makefile.am, tests/queue-test.c, tests/stack-test.c:
127         Added stack, queue ADTs and related tests.
128
129         * glib.h, glist.c:
130         New g_list_delete() function.
131
132 Sat Mar  6 11:03:08 1999  Asbjorn Pettersen  <ape@lrdpf.spacetec.no>
133
134         * gutils.c (g_get_any_init): add OS/2 changes.
135         change '\\' in HOME to '/'.
136
137 1999-03-03  Josh MacDonald  <jmacd@spin.dsl.pacbell.net>
138
139         * glib.def: g_spaced_primes_closest was omitted here, so I
140         couldn't build Xdelta on Windows.
141
142 1999-03-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
143
144         * gutils.c (g_get_any_init): Fixed yet another bloody
145         implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
146         <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
147         test better than that, but have no idea, how to do that easily.
148
149 Sat Feb 27 01:18:47 1999  Tim Janik  <timj@gtk.org>
150
151         * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
152         new one.
153
154         * configure.in: set glib version to 1.3.0.