stl_iterator.h: Make it possible to use standard class `iterator'.
[gcc.git] / libstdc++ / stl / ChangeLog
1 2000-01-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2
3 * stl_iterator.h: Make it possible to use standard class
4 `iterator'.
5
6 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
7
8 * stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
9 safe runtime.
10
11 1999-11-10 Benjamin Kosnik <bkoz@haight.constant.com>
12 Matthias Klose <doko@cs.tu-berlin.de>
13
14 * stl_rope.h: Fix initialization order.
15 * stl_deque.h: Use static_casts<size_type>(signed_type).
16
17 1999-11-06 Martin v. Löwis <loewis@informatik.hu-berlin.de>
18
19 * bitset (class bitset): Declare reference as our friend.
20 * bitset: Include limits.h.
21
22 1999-08-08 Alexandre Oliva <oliva@dcc.unicamp.br>
23
24 * pthread_alloc: Solaris' ctype.h defines _U to 01; use _Up as
25 template parameter instead.
26
27 1999-06-18 Martin von Löwis <loewis@informatik.hu-berlin.de>
28
29 * stl_queue.h: Rename _M_c to c, and _M_comp to comp.
30
31 1999-05-17 Mark Kettenis <kettenis@gnu.org>
32
33 * stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for
34 Linux.
35
36 Mon May 17 03:33:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
37
38 * stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.
39
40 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
41
42 * stl_alloc.h: Make it possible to compile with __USE_MALLOC.
43
44 Tue Apr 13 00:32:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
45
46 * stl_config.h (__MINGW32__): Mingw32 RTL lacks drand48.
47
48 Sun Apr 11 23:48:30 1999 Jeffrey A Law (law@cygnus.com)
49
50 * bitset: Re-install Alexandre's lost patch from 1998-11-27.
51
52 1999-01-20 Ulrich Drepper <drepper@cygnus.com>
53
54 * stl_construct.h (__destroy_aux): Use != instead of < for
55 ForwardIterator comparison.
56 Patch by jmaurer@menuett.rhein-main.de (Jens Maurer).
57
58 1999-01-20 Mark Mitchell <mark@markmitchell.com>
59
60 * stl_config.h (__STL_USE_NAMESPACES): Define.
61
62 1998-11-27 Alexandre Oliva <oliva@dcc.unicamp.br>
63
64 * bitset: Explicitly convert basic_string<...>::npos to size_t in
65 default argument to constructor, to avoid parse error at `>'.
66 (__STL_EXPLICIT_FUNCTION_TMPL_ARGS): Replace #if with #ifdef.
67
68 1998-11-01 Mark Mitchell <mark@markmitchell.com>
69
70 * stl_alloc.h (default_alloc_template::_S_free_list): Don't
71 qualify _NFREELISTS.
72
73 1998-10-11 Mark Mitchell <mark@markmitchell.com>
74
75 * stl_config.h (__SGI_STL_USE_AUTO_PTR_CONVERSIONS): Define.
76 * memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
77 (auto_ptr::operator auto_ptr<_Tp1>): Add missing
78 semicolon.
79
80 1998-09-03 Jason Merrill <jason@yorick.cygnus.com>
81
82 * stl_config.h: Define __STL_HAS_WCHAR_T,
83 __STL_MEMBER_TEMPLATE_CLASSES, __STL_HAS_NAMESPACES,
84 __STL_NO_NAMESPACES and __STL_LONG_LONG.
85
86 1998-09-02 Jason Merrill <jason@yorick.cygnus.com>
87
88 * algorithm alloc.h defalloc.h hash_map.h hash_set.h iterator
89 memory pthread_alloc pthread_alloc.h rope ropeimpl.h stl_algo.h
90 stl_algobase.h stl_alloc.h stl_bvector.h stl_config.h
91 stl_construct.h stl_deque.h stl_function.h stl_hash_fun.h
92 stl_hash_map.h stl_hash_set.h stl_hashtable.h stl_heap.h
93 stl_iterator.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h
94 stl_numeric.h stl_pair.h stl_queue.h stl_raw_storage_iter.h
95 stl_relops.h stl_rope.h stl_set.h stl_slist.h stl_stack.h
96 stl_tempbuf.h stl_tree.h stl_uninitialized.h stl_vector.h
97 tempbuf.h type_traits.h: Update to SGI STL 3.11.
98
99 Fri Jul 10 15:20:09 1998 Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
100
101 * stl_tempbuf.h (temporary_buffer): Add missing typename.
102 * type_traits.h: update comments.
103
104 Sun Jun 28 00:49:42 1998 Jeffrey A Law (law@cygnus.com)
105
106 * stl_config.h (__STL_PTHREADS): Don't define for glibc 2 if
107 _G_USING_THUNKS is not defined.
108
109 1998-04-07 18:32 Ulrich Drepper <drepper@cygnus.com>
110
111 * stl_hashtable.h (__stl_prime_list): Mark last two numbers as
112 unsigned long since they are otherwise too large for long int on
113 32bit machines.
114
115 Fri Feb 20 16:15:05 1998 H.J. Lu (hjl@gnu.org)
116 Jason Merrill <jason@yorick.cygnus.com>
117
118 * ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
119 * stl_alloc.h: Ditto.
120 * stl_config.h: Ditto.
121 * stl_rope.h: Ditto.
122
123 * stl_config.h: include <_G_config.h> if __GNUG__ is defined.
124 (__STL_PTHREADS): Defined if _PTHREADS is defined or
125 __GLIBC__ >= 2.
126
127 Tue Jan 27 12:01:25 1998 Jason Merrill <jason@yorick.cygnus.com>
128
129 * stl_algo.h (__lg): Fix for n == 0.
130
131 Sat Nov 8 00:45:17 1997 Jason Merrill <jason@yorick.cygnus.com>
132
133 * stl_hash_set.h (swap): Fix typo.
134
135 Fri Nov 7 10:27:40 1997 Jason Merrill <jason@yorick.cygnus.com>
136
137 * stl_hashtable.h: Fix typo.
138
139 Thu Nov 6 11:19:09 1997 Jason Merrill <jason@yorick.cygnus.com>
140
141 * stl_algo.h, stl_algobase.h, stl_bvector.h,
142 stl_deque.h: Update to October 28 SGI release.
143
144 Sun Nov 2 12:14:56 1997 Jason Merrill <jason@yorick.cygnus.com>
145
146 * algo.h, algobase.h, alloc.h, bvector.h, defalloc.h, deque.h,
147 function.h, hash_map.h, hash_set.h, hashtable.h, heap.h, iterator.h,
148 list.h, map.h, multimap.h, multiset.h, pair.h, pthread_alloc.h,
149 rope.h, ropeimpl.h, set.h, slist.h, stack.h, stl_config.h, tempbuf.h,
150 tree.h, type_traits.h, vector.h: Update to October 27 SGI snapshot.
151 * algorithm, deque, functional, hash_map, hash_set, iterator, list,
152 map, memory, numeric, pthread_alloc, queue, rope, set, slist, stack,
153 stl_algo.h, stl_algobase.h, stl_alloc.h, stl_bvector.h,
154 stl_construct.h, stl_deque.h, stl_function.h, stl_hash_fun.h,
155 stl_hash_map.h, stl_hash_set.h, stl_hashtable.h, stl_heap.h,
156 stl_iterator.h, stl_list.h, stl_map.h, stl_multimap.h, stl_multiset.h,
157 stl_numeric.h, stl_pair.h, stl_queue.h, stl_raw_storage_iter.h,
158 stl_relops.h, stl_rope.h, stl_set.h, stl_slist.h, stl_stack.h,
159 stl_tempbuf.h, stl_tree.h, stl_uninitialized.h, stl_vector.h,
160 utility, vector: New files in October 27 SGI snapshot.
161
162 Fri Oct 17 19:07:42 1997 Jason Merrill <jason@yorick.cygnus.com>
163
164 * tree.h, vector.h: Fix accidental divergence from SGI release.
165
166 Tue Sep 9 19:47:28 1997 Jason Merrill <jason@yorick.cygnus.com>
167
168 * algo.h, algobase.h, alloc.h, bvector.h, deque.h, hashtable.h,
169 iterator.h, list.h, rope.h, ropeimpl.h, slist.h, stl_config.h,
170 tree.h, vector.h: Update To September 8 SGI release.
171
172 Tue Sep 9 17:38:47 1997 Mark Mitchell <mmitchell@usa.net>
173
174 * stl_config.h (__STL_MEMBER_TEMPLATES): Enable.
175
176 Tue Aug 5 17:06:01 1997 Jason Merrill <jason@yorick.cygnus.com>
177
178 * deque.h, function.h, hashtable.h, list.h, rope.h, ropeimpl.h,
179 tree.h: Update to July 31 SGI release.
180
181 Fri Jul 18 10:06:56 1997 Jason Merrill <jason@yorick.cygnus.com>
182
183 * algo.h, defalloc.h, hashtable.h, rope.h, ropeimpl.h, slist.h:
184 Update to June 30 SGI release.
185
186 Fri Jul 04 02:17:15 1997 Ulrich Drepper <drepper@cygnus.com>
187
188 * tree.h (rb_tree): Reverse order of member initializations
189 to prevent warnings.
190
191 Sun Jun 15 18:17:21 1997 Jason Merrill <jason@yorick.cygnus.com>
192
193 * *.h: Update to 6/13 SGI release.
194
195 Fri May 23 10:56:18 1997 Jason Merrill <jason@yorick.cygnus.com>
196
197 * stl_config.h: Add support for exceptions with g++.
198
199 * *.h: Update to 5/8 SGI release.
200
201 Thu Apr 24 19:00:23 1997 Jason Merrill <jason@yorick.cygnus.com>
202
203 * *.h: Update to 3/24 SGI release.
204
205 Wed Feb 19 18:19:18 1997 Jason Merrill <jason@yorick.cygnus.com>
206
207 * *.h: Update to 2/18 SGI release.
208
209 * bool.h: Lose.
210
211 Mon Feb 10 16:33:23 1997 Jason Merrill <jason@yorick.cygnus.com>
212
213 * alloc.h: Don't define __USE_MALLOC for g++.
214 * bool.h: Lose g++ case.
215
216 * *.h: Update to 2/4 SGI release.
217
218 Mon Jan 13 14:39:16 1997 Jason Merrill <jason@yorick.cygnus.com>
219
220 * *.h: Update to 1/8 SGI release.
221
222 Mon Sep 30 17:56:43 1996 Jason Merrill <jason@yorick.cygnus.com>
223
224 * alloc.h (__unlock): Never use __lock_release.
225
226 Fri Sep 27 19:03:06 1996 Jason Merrill <jason@yorick.cygnus.com>
227
228 * alloc.h (__default_alloc_template): lock is a friend.
229
230 Thu Sep 19 20:10:37 1996 Jason Merrill <jason@yorick.cygnus.com>
231
232 Propagate these changes to new STL code:
233 * tree.h: Rearrange member initializers in rb_tree constructors.
234 * vector.h (insert): Cast iterator difference to size_type to
235 avoid warning.
236
237 * *.h: Update to SGI snapshot (fixed).
238 * *.c, Makefile.in, configure.in: Removed.
239
240 Sat Sep 14 09:43:06 1996 Jason Merrill <jason@yorick.cygnus.com>
241
242 * deque.h, list.h, tree.h: Remove kludge obsoleted by new
243 overloading code.
244
245 Sat Aug 10 14:59:50 1996 Jason Merrill <jason@yorick.cygnus.com>
246
247 * tempbuf.cc (__stl_temp_buffer): Align like a pointer.
248
249 Wed Jun 26 13:00:44 1996 Jason Merrill <jason@yorick.cygnus.com>
250
251 * iterator.h: Add default template parameters.
252
253 Wed Apr 24 10:45:22 1996 Doug Evans <dje@blues.cygnus.com>
254
255 * Makefile.in (tempbuf.o,random.o): Add rules for SunOS VPATH.
256
257 Fri Apr 5 17:52:31 1996 Per Bothner <bothner@kalessin.cygnus.com>
258
259 * configure.in (EXTRA_MOSTLYCLEAN): New, to remove stl.list.
260
261 Fri Mar 22 14:58:30 1996 Jason Merrill <jason@yorick.cygnus.com>
262
263 Propagate these changes to new STL code:
264 * tree.h: Rearrange member initializers in rb_tree constructors.
265 * vector.h (insert): Cast iterator difference to size_type to
266 avoid warning.
267
268 Sun Mar 10 07:49:03 1996 Jason Merrill <jason@yorick.cygnus.com>
269
270 * deque.h (distance_type): Add overload for g++.
271 From Joe Buck.
272
273 Thu Feb 22 14:07:12 1996 Jason Merrill <jason@yorick.cygnus.com>
274
275 * bool.h: Revert.
276 * algo.h bvector.h deque.h function.h iterator.h list.h
277 pair.h stack.h tree.h vector.h: Wrap #include <bool.h> with
278 #ifndef __GNUG__.
279 * defalloc.h list.h deque.h tree.h: Use __GNUG__ to control
280 workarounds.
281
282 Wed Feb 21 17:13:02 1996 Jason Merrill <jason@yorick.cygnus.com>
283
284 * bool.h (TRUE, FALSE): Define for people expecting the bool.h
285 from libg++. Is this a good idea?
286
287 Tue Feb 20 18:40:02 1996 Jason Merrill <jason@yorick.cygnus.com>
288
289 * algo.h bool.h bvector.h defalloc.h deque.h function.h heap.h
290 iterator.h list.h map.h pair.h random.cc stack.h tree.c tree.h
291 vector.h: Revert to HP release with workarounds for missing
292 overloading functionality.
293 * Makefile.in (STL_OBJECTS): Remove tree.o.
294
295 Thu Nov 9 17:05:23 1995 Jason Merrill <jason@yorick.cygnus.com>
296
297 * algo.h algobase.h bvector.h defalloc.h deque.h function.h heap.h
298 iterator.h list.h map.h multimap.h multiset.h pair.h projectn.h
299 set.h stack.h tempbuf.h tree.h vector.h: Wrap #include <bool.h>
300 with #ifndef __GNUG__.
301
302 Thu Nov 2 17:05:44 1995 Jason Merrill <jason@yorick.cygnus.com>
303
304 * deque.h (deque<T>::insert): Fix merge typo.
305 * vector.h (value_type): Lose.
306
307 Thu Nov 2 14:33:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
308
309 * algo.h, algobase.h, deque.h, function.h, list.h, pair.h, random.cc:
310 Merge in Oct 31 1995 release from HP.
311
312 Fri Aug 11 17:11:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
313
314 * list.h: Avoid duplicate construction and destruction of list_nodes.
315 Patch from Klamer Schutte <klamer@ph.tn.tudelft.nl>.
316
317 Fri Aug 11 16:45:18 1995 Per Bothner <bothner@kalessin.cygnus.com>
318
319 * algo.h, algobase.h, deque.h: Merged in Jul 12 1995 release from HP.
320
321 Mon Jun 5 18:38:56 1995 Jason Merrill <jason@phydeaux.cygnus.com>
322
323 * Makefile.in (stl.list): Depend on stamp-picdir.
324
325 Wed May 17 02:30:47 1995 Jason Merrill <jason@phydeaux.cygnus.com>
326
327 * tree.h: Rearrange member initializers in rb_tree constructors.
328
329 * Update to HP's February 7, 1995 release.
330
331 Fri May 5 10:45:31 1995 Mike Stump <mrs@cygnus.com>
332
333 * random.cc (seed): Move `for' decl out of `for' statement.
334
335 Wed Apr 26 13:09:16 1995 Jason Merrill <jason@phydeaux.cygnus.com>
336
337 * configure.in (XCXXINCLUDES): Rename.
338
339 Wed Mar 29 19:24:56 1995 Jason Merrill <jason@phydeaux.cygnus.com>
340
341 * tree.h (insert): Return a value.
342
343 * vector.h (insert): Cast iterator difference to size_type to
344 avoid warning.
345
346 Sun Feb 12 09:12:17 1995 Mike Stump <mrs@cygnus.com>
347
348 * tree.h (rb_tree::max_size): Add definition when using GNU
349 workaround.
350
351 Thu Jan 12 01:37:42 1995 deanm@medulla.LABS.TEK.COM (Dean Messing)
352
353 * configure.in (LIBDIR): Set to yes.
354
355 Fri Dec 30 18:26:20 1994 Mike Stump <mrs@cygnus.com>
356
357 * iterator.h: Add default template parameters where possible.
358
359 Fri Dec 30 16:29:39 1994 Mike Stump <mrs@cygnus.com>
360
361 * algo.h: Change rand to __rand to fix make check on linux systems.
362
363 Tue Nov 29 15:30:30 1994 Per Bothner <bothner@kalessin.cygnus.com>
364
365 * Initial check-in, based on HP's October 21, 1994.