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