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