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