Added a check for the right format to printf and scanf long longs. It is
[platform/upstream/glib.git] / ChangeLog.pre-2-10
1 1999-03-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
2
3         * configure.in: Added a check for the right format to printf and
4         scanf long longs. It is %qi instead of %lli on FreeBSD for
5         whatever reason.
6
7 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
8
9         * Makefile.am (glibconfig.h): Make sure `glibconfig.h' exists
10         after the rule is fired.
11         (install-exec-local): Install glibconfig.h only if the contents
12         are different from the currently installed glibconfig.h.
13
14 1999-03-26  Raja R Harinath  <harinath@cs.umn.edu>
15
16         * Makefile.am (configexecincludedir): Rename from 
17         configincludedir so that glibconfig.h will be installed 
18         as part of `make install-exec'. 
19
20 Thu Mar 25 22:45:47 1999  Tor Lillqvist  <tml@iki.fi>
21
22         * config.h.win32: Update version numbers.
23
24         * glibconfig.h.win32: Update version numbers and pthreads-win32-
25         related magic values.
26
27         * README.win32: Some improvements.
28
29         * makefile.msc: Add gqueue and gstack. Correct version number.
30
31 Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
32
33         * acinclude.m4
34         * config.guess
35         * config.sub
36         * ltconfig
37         * ltmain.sh: upgrade to libtool 1.2f
38
39         * autogen.sh: libtool is not required to autogen glib
40
41         * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
42         needed)
43
44 1999-03-18  Jeff Garzik  <jgarzik@pobox.com>
45
46         * glib.def: Add new g_list, g_stack, g_queue functions.
47
48 1999-03-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
49
50         * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
51         to hold various defines to get the right thread implementation on
52         different platforms. Also look in -ldce for pthread_create. Should
53         make it work on HP-UX 10.x. Information from "D. Emilio Grimaldo
54         Tunon" <emilio_tunon@nl.compuware.com>.
55
56 1999-03-17  Jeff Garzik  <jgarzik@pobox.com>
57
58         * gstack.c, gqueue.c:
59         Add copyright, clean up code a bit.
60
61 1999-03-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
62
63         * configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
64         platforms with only /usr/include/values.h.
65
66         * acconfig.h: Removed unnecessary macros.
67
68         * glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
69         from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
70         branch.
71
72         * configure.in: Also accept _Pctime_r instead of ctime_r, while
73         seraching for the right `_REENTRANT' flag. This is for Digital
74         UNIX 4.0d. Taken from glib 1.2 branch.
75
76 Wed Mar 17 03:14:56 1999  Tim Janik  <timj@gtk.org>
77
78         * glib.h: added GLIB_CHECK_VERSION() macro similar to
79         GTK_CHECK_VERSION().
80
81 Wed Mar 17 01:46:28 1999  Tim Janik  <timj@gtk.org>
82
83         * merges from glib-1-2:
84         
85 Sun Mar 14 17:50:35 1999  Tim Janik  <timj@gtk.org>
86
87         * gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
88         to g_return_if_fail().
89         (g_mem_profile):
90         (g_mem_chunk_print):
91         (g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
92         messages.
93
94         * gtimer.c (g_timer_*): changed a bunch of g_assert() statements
95         to g_return_if_fail().
96         * grel.c (g_*): changed a bunch of g_assert() statements to
97         g_return_if_fail() and added some extra ones to check relation != NULL.
98
99 Tue Mar  9 23:25:50 1999  Tim Janik  <timj@gtk.org>
100
101         * configure.in: check for working realloc (NULL,).
102         * gmem.c (g_realloc): use malloc() for initial allocation on systems
103         where realloc(NULL,) will not work (this is the case on SunOS, reported
104         by Tom Geiger).
105
106 Mon Mar  8 07:42:08 1999  Tim Janik  <timj@gtk.org>
107
108         * ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
109         flag around the call to g_hook_free() to avoid spurious
110         warnings (happens during destruction phase).
111
112 1999-03-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
113
114         * gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
115         Friedrich Dominicus <Friedrich.Dominicus@inka.de>
116
117 1999-03-16  Timur Bakeyev  <mc@bat.ru>
118
119         * configure.in: Fix problem with pthread_create in libc, as running
120         "gcc test.c -l " is not legal.
121
122 1999-03-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
123
124         * tests/type-test.c: Added a test for the
125         G_(U)?INT(16|32|64)_FORMAT and G_(MIN|MAX|MAXU)(SHORT|INT|LONG)
126         macros.
127
128         * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be
129         used for scanf.
130
131         * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not
132         know how to handle these on platforms with /usr/include/values.h,
133         but without /usr/include/limits.h. Please someone add this.
134
135
136 1999-03-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
137
138         * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to
139         use for printf and (much more important) scanf format strings for
140         the corresponding GLib types. 
141
142         * glib.h Added G_(U)?(SHORT|INT|LONG)_FORMAT for consistency. It
143         however makes no sense to also provide G_(FLOAT|DOUBLE)_FORMAT, as
144         they are different for printf (f for both) and scanf (f for float,
145         lf for double). Defining G_INT_FORMAT makes sense however, as we
146         might want to define gint to something different than int someday
147         in the future. Idea from Sascha Brawer <sb@adasys.ch>.
148         
149 1999-03-14  Jeff Garzik  <jgarzik@pobox.com>
150
151         * gdate.c:
152         Commented out debugging output.
153
154         * tests/Makefile.am, tests/date-test.c:
155         Added test of the GDate module, based closely on testgdate.c.
156
157         * tests/Makefile.am:
158         Bugfix - compile tests with @GLIB_DEBUG_FLAGS@.
159
160 1999-03-14  Raja R Harinath  <harinath@cs.umn.edu>
161
162         * configure.in (glibconfig.h): Remove widechar tests and defines.
163         (fd_set): Change the grep for `fd_mask' to search for `fd_set'.
164         * gerror.c (fd_mask): Remove conditional typedef.  It is not used
165         elsewhere in the file.
166         * gmain.c (fd_mask): Likewise.
167
168 1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
169
170         * configure.in: Test for posix threads first, then for dce threads.
171
172 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
173
174         * configure.in: Revamped the thread configure stuff. Now dce
175         threads (old posix draft) are recogniced. This is necessary,
176         because dce threads are in fact working quite differently from
177         posix threads. Also changed the conditions for checking for MT
178         safe functions a bit, because G_THREADS_IMPL_NONE still have to
179         compile thread safe. NOTE: Please do not commit my change to
180         glib-1-2/{acconfig.h,configure.in,config.h.win32} from 1999-03-03,
181         as the current change will take care of that too.
182
183 Tue Mar  9 14:37:32 1999  Jeff Garzik  <jgarzik@pobox.com>
184
185         * Makefile.am, glib.h, gstack.c, gqueue.c,
186           tests/Makefile.am, tests/queue-test.c, tests/stack-test.c:
187         Added stack, queue ADTs and related tests.
188
189         * glib.h, glist.c:
190         New g_list_delete() function.
191
192 Sat Mar  6 11:03:08 1999  Asbjorn Pettersen  <ape@lrdpf.spacetec.no>
193
194         * gutils.c (g_get_any_init): add OS/2 changes.
195         change '\\' in HOME to '/'.
196
197 1999-03-03  Josh MacDonald  <jmacd@spin.dsl.pacbell.net>
198
199         * glib.def: g_spaced_primes_closest was omitted here, so I
200         couldn't build Xdelta on Windows.
201
202 1999-03-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
203
204         * gutils.c (g_get_any_init): Fixed yet another bloody
205         implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
206         <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
207         test better than that, but have no idea, how to do that easily.
208
209 Sat Feb 27 01:18:47 1999  Tim Janik  <timj@gtk.org>
210
211         * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
212         new one.
213
214         * configure.in: set glib version to 1.3.0.