source: trunk/third/gdbm/ChangeLog @ 15372

Revision 15372, 15.8 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15371, which included commits to RCS files with non-trunk default branches.
Line 
1Tue May 18 19:25:25 PDT 1999    Jason Downs     (downsj@downsj.com)
2
3        * gdbm.3, gdbm.texinfo: Update for 1.8.
4
5        * Makefile.in, configure.in: Switch to using libtool, but without
6          automake.
7
8        * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh: New
9          files (libtool 1.2).
10
11Wed May 12 01:26:15 PDT 1999    Jason Downs     (downsj@downsj.com)
12
13        * gdbmopen.c, gdbmclose.c, gdbmreorg.c: check file_locking before
14          calling locking macros; add support for setting GDBM_NOLOCK in
15          gdbm_open().
16
17        * gdbmdefs.h: add file_locking flag to gdbm_file_info.
18
19        * gdbmconst.h, gdbm.proto: add GDBM_NOLOCK flag.
20
21        * gdbmfdesc.c: new file, adds external gdbm_fdesc() routine.
22
23        * gdbm.proto, gdbm.proto2: clean up, use __P, and compress.
24
25        * gdbmerrno.h: kill the enum, add defines for errors.
26
27        * gdbmsetopt.c, testgdbm.c: support GDBM_SYNC/GDBM_SYNCMODE.
28
29        * gdbmopen.c: gdbm_open() now DEFAULTS to ``fast mode''; use
30          GDBM_SYNC to turn it off.  GDBM_FAST is obsolete and ignored.
31
32        * gdbmconst.h: add GDBM_SYNC and GDBM_SYNCMODE.
33
34        * proto.h, various source files: switch _ARGS to __P.
35
36        * systems.h, various source files: kill word_t, just use int
37          everywhere.
38
39        * configure.in, autoconf.h.in: remove alloca() goo and modernize.
40
41        * many source files: replace all instances of alloca() with real
42          malloc()s and free()s.
43
44        * update.c: don't deref NULL in _gdbm_fatal(), and don't use stdio.
45
46[  The following are entries revived from a dead experimental branch. ]
47
48Tue Nov  1 00:35:11 1994  jason downs  (downsj@csos.orst.edu)
49
50        * gdbmopen.c (gdbm_open): actually initialize central_free and
51          coalesce_blocks.
52
53        * gdbmdefs.h: added coalesce_blocks. these should've been bitmapped.
54          oh well.
55
56        * falloc.c (various routines): made block merging an option.
57
58        * gdbmsetopt.c (gdbm_setopt): added GDBM_COALESCEBLKS option.
59
60        * gdbmconst.h: added GDBM_COALESCEBLKS option.
61
62Fri Jun  3 09:45:19 1994  jason downs  (downsj@csos.orst.edu)
63       
64        * falloc.c (_gdbm_free): if central_free is set, all blocks are
65          put into the header.
66       
67        * gdbmsetopt.c (gdbm_setopt): add GDBM_CENTFREE case.
68       
69        * gdbmdefs.h, gdbmconst.h, gdbm.proto: add central free option.
70
71Fri Jun  3 05:57:36 1994  jason downs  (downsj@csos.orst.edu)
72
73        * falloc.c (pop_avail_block): merge block with header, instead
74          of replace, since header may not be empty any longer.
75
76        * falloc.c (_gdbm_alloc): pop a block off the stack when the
77          current header is half empty, instead of zero.
78
79Fri Jun  3 05:11:33 1994  jason downs  (downsj@csos.orst.edu)
80
81        * gdbmstore.c (gdbm_store): don't alloc new disk if we're replacing
82          and the records are the same size. suggested by phil a long time
83          ago.
84
85Fri Jun  3 03:47:46 1994  jason downs  (downsj@csos.orst.edu)
86       
87        * falloc.c (_gdbm_put_av_elem): allow adjacent blocks to be
88          merged. inspired by the enhancement by Tim Howes.
89
90Thu Jun  2 22:15:19 1994  jason downs  (downsj@csos.orst.edu)
91
92        * Makefile.in: add installation mode, owner, and group.
93
94Thu Jun  2 04:24:58 1994  jason downs  (downsj@csos.orst.edu)
95
96        * Makefile.in: run mkinstalldirs before installing files.
97
98        * mkinstalldirs: new file.
99
100[ End of revived entries. ]
101
102Thu May 19 15:50:04 1994  jason downs  (downsj@csos.orst.edu)
103       
104        * NEWS, README: update to 1.7.3.
105       
106        * gdbm.texinfo: update to 1.7.3, slight fixes.
107
108        * gdbm.3: update to 1.7.3, slight reformat.
109
110Thu May 19 14:45:51 1994  jason downs  (downsj@csos.orst.edu)
111
112        * gdbmconst.h: removed the header magic numbers from this
113          branch.
114
115        * version.c: added an include of autoconf.h, updated version
116
117        * gdbm.proto: added a define for GDBM_FASTMODE.
118
119Sun May 15 02:39:48 1994  jason downs  (downsj@csos.orst.edu)
120
121        * gdbm.3, gdbm.texinfo: updates for 1.7.2
122       
123        * README, NEWS, version.c: update for 1.7.2
124       
125        * Makefile.in: removed files, changed (drastically) how the
126          package compiles and installs.
127
128        * bytewise.c, bytewise.h: removed from this branch.
129
130Wed Mar 23 00:44:43 1994  jason downs  (downsj@csos.orst.edu)
131
132        * extern.h: removed bogus (old) function declarations.
133
134Mon Mar 14 01:37:09 1994  jason downs  (downsj@csos.orst.edu)
135
136        * Makefile.in: added new files.
137
138        * bytewise.c, bytewise.h: new portable byte order conversion
139          package; supports 64bit longs/16bit ints.
140
141Sun Mar 13 22:56:10 1994  jason downs  (downsj@csos.orst.edu)
142
143        * gdbmsetopt.c, gdbmconst.h: added GDBM_FASTMODE option.
144
145        * falloc.c: taught _gdbm_alloc() about the header avail table.
146          hopefully, this will fix the bloating problem. i dunno, though,
147          as i've never had that problem, myself.
148
149Sun Dec 26 05:17:04 1993  jason downs  (downsj@csos.orst.edu)
150
151        * version.c: made gdbm_version const.
152
153        * gdbmerrno.c: made gdbm_strerror() and it's array const.
154
155        * various files: general clean up, reformating of code.
156
157        * systems.h: put <memory.h> inside of a conditional.
158
159        * configure.in, autoconf.h.in: added check for <memory.h>.
160
161        * systems.h: added a default define of SEEK_SET.
162
163        * bucket.c, gdbmopen.c, gdbmseq.c, gdbmdelete.c, gdbmdefs.h:
164          cleaned up some uses of word_t.
165
166Tue Nov 16 03:11:56 1993  jason downs  (downsj@csos.orst.edu)
167
168        * gdbm.3, gdbm.texinfo: updated versions to 1.3 for release
169
170        * version.c, README, NEWS: updated versions to 1.7.1 for release
171
172Sun Nov 14 17:21:03 1993  jason downs  (downsj@csos.orst.edu)
173
174        * Makefile.in: added $(srcdir) to a few file references.
175
176Sat Nov 13 13:56:37 1993  jason downs  (downsj@csos.orst.edu)
177
178        * gdbm.3, gdbm.texinfo: added new gdbm_firstkey()/gdbm_nextkey()
179          documentation.
180
181        * gdbmopen.c: added SGI alloca patch.
182
183        * Makefile.in: changed installation prefix semantics.
184
185Sat Nov 13 01:52:31 1993  jason downs  (downsj@csos.orst.edu)
186
187        * various source: redid the AIX alloca declaration. any new files
188          that call alloca will have to start with the same header.
189
190        * all source, configure.in, Makefile.in: switched over to using
191          autoconf.h, rather than packing all of the autoconf defs into
192          the DEFS line.
193
194        * autoconf.h.in: new file.
195
196        * Makefile.in: changed rule for tndbm.o, hopefully making it more
197          portable.
198
199        * alloca.c: added inclusion of stdlib.h
200
201Fri Nov 12 13:11:03 1993  jason downs  (downsj@csos.orst.edu)
202
203        * Makefile.in, configure.in: fixed getop related bugs.
204
205        * systems.h: moved sys/types.h include to top.
206
207Wed Nov  3 17:18:59 1993  jason downs  (downsj@csos.orst.edu)
208
209        * version.c: changed version to 1.7, for release.
210
211        * gdbmdefs.h: Moved all system includes to systems.h.
212
213Sun Oct 31 02:50:12 1993  jason downs  (downsj@csos.orst.edu)
214
215        * version.c: changed version number to 1.7alpha.
216
217        * gdbm.texinfo: updated to reflect new routines and changes.
218       
219        * getopt.c, getopt.h: Added the GNU getopt.c to the dist, for
220          compilation of testgdbm and conv2gdbm on machines without getopt().
221       
222        * various source files: changed all appropiate occurances of 'long'
223          to type 'off_t'. Added off_t check to configure.in.
224
225        * gdbm.3: updated to reflect new routines and changes.
226
227Sat Oct 30 05:20:45 1993  jason downs  (downsj@csos.orst.edu)
228
229        * testgdbm.c: Added support for bucket cache and block sizes,
230          adding -c, -b and -g flags. Must use -g to specify the file
231          name, now.
232
233        * bucket.c, gdbmopen.c, gdbmclose.c, gdbmreorg.c, update.c,
234          gdbmconst.h, gdbmdefs.h: Implemented dynamic, delayed
235          initialization, bucket cache. New routine: _gdbm_init_cache().
236
237        * proto.h, gdbmerrno.c, gdbmerrno.h: Added gdbm_setopt() errors
238          and prototypes.
239
240        * gdbmsetopt.c: New file, implements the gdbm_setopt() routine.
241
242        * testgdbm.c, testndbm.c, testdbm.c, conv2gdbm.c: cleaned up
243          compiler warnings.
244
245        * update.c: repaired declarations and added prototypes for
246          static routines, repaired declaration of _gdbm_fatal().
247
248        * falloc.c: repaired declarations and added prototypes for
249          static routines.
250
251        * gdbmstore.c: commented out unsed variables in gdbm_store().
252
253        * proto.h: added prototypes for _gdbm_read_entry(),
254          _gdbm_find_key(), and gdbm_sync().
255
256        * bucket.c, proto.h: changed _gdbm_get_bucket() and
257          _gdbm_write_bucket() over to type void.
258
259Sat Oct 30 00:56:24 1993  jason downs  (downsj@csos.orst.edu)
260
261        * gdbmerrno.c, gdbmexists.c, close.c, dbmrdonly.c: New files,
262          adding the routines gdbm_strerror(), gdbm_exists(), and for
263          better compatibility with the old dbm/ndbm libraries, the
264          dbmclose() and dbm_rdonly() routines.
265
266        * various headers: Added prototypes for the new routines, and
267          rearranged how gdbm.h is generated.
268
269Fri Oct 29 07:02:41 1993  jason downs  (downsj@csos.orst.edu)
270
271        * README: split into README, INSTALL, and NEWS.  INSTALL
272          includes more tips on compiling.  NEWS contains the 'short form'
273          ChangeLog.
274       
275        * Makefile.in, configure.in: Redid parts of the autoconf
276          stuff, and repaired many bugs.
277
278        * systems.h: Repaired the alloca declarations, among other
279          things.
280
281        * various source files: changed all relevant usage of type
282          'long' to type 'word_t', which will always be 32bits wide.
283          'word_t' is defined in systems.h.
284
285Fri Jul 30 13:27:24 1993  Phil Nelson  (phil@cs.wwu.edu)
286
287        * findkey.c: Added a check of elem_loc == -1 in determining if
288          the data cache held the item being looked for.
289
290Tue Jul 20 13:08:47 1993  Phil Nelson  (phil at cs.wwu.edu)
291
292        * gdbm.texinfo: Fixed some errors.
293
294        * Makefile.in: Fixed some errors.
295
296        * version.c: Set version to 1.6 for release.
297
298Mon Jul 19 15:02:40 1993  Phil Nelson  (phil at cs.wwu.edu)
299
300        * COPYING: Replaced Version 1 with Version 2.  Also updated
301          all file notices to refer to version 2.
302
303        * gdbm.texinfo: Updated the documentation.
304
305        * README: Updated to current version.
306
307        * Makefile: updated clean and install.
308
309Wed Jul 14 13:37:44 1993  Phil Nelson  (phil at cs.wwu.edu)
310
311        * Makfile.in: Added samp1.cc to the list of distributed files.
312
313Sat Jun  5 21:35:59 1993  Phil Nelson  (phil at cs.wwu.edu)
314
315        * gdbm.proto, Makefile.in: Added #ifndef _GDBM_H_ protection
316          for the final gdbm.h file.  Also added prototypes and C++
317          support.
318
319        * gdbmseq.c: Added gdbm_errno initialization to gdbm_nextkey.
320
321        * gdbmerrno.h and others: Moved the extern definition of
322          gdbm_erron to gdbmerrno.h from the other files.
323
324Mon May 17 12:32:02 1993  Phil Nelson  (phil at cs.wwu.edu)
325
326        * gdbm.proto: Added GDBM_FAST to the read_write flags.
327
328Sun May 16 12:50:01 1993  Phil Nelson  (phil at cs.wwu.edu)
329
330        * configure.in, Makefile.in: Added autoconf configuration
331          to gdbm.
332
333Tue Mar 30 00:08:48 1993  Phil Nelson  (phil at cs.wwu.edu)
334
335        * global.c: Set gdbm_errno to GDBM_NO_ERROR to force
336          it into the data segment.
337
338Sun Mar 28 22:51:40 1993  Phil Nelson  (phil at cs.wwu.edu)
339
340        * gdbmfetch.c: Set return_val.dsize to 0 as a default return
341          value.  (I was told that was more compatible with dbm/ndbm.)
342
343        * gdbmopen.c: Changed a "sizeof(int)" to "sizeof(long)".
344
345        * testgdbm.c: Changed "char opt" to "int opt" to make sure
346          opt can be -1.
347
348        * hash.c: Added "unsigned" to declaration of value for
349          better overflow operation.
350
351        * gdbmreorg.c: Added a free for data.dptr in the main loop.
352          Also changed the malloc for new_name to an alloca.
353          Removed all frees on new_name.
354
355Sat Mar 27 23:25:14 1993  Phil Nelson  (phil at cs.wwu.edu)
356
357        * gdbmconst.h, gdbmdefs.h, gdbmopen.c, gdbmreorg.c,
358          testgdbm.c, update.c, gdbm.h: Added code to allow for a
359          GDBM_FAST mode in which fsync is not called during
360          database update mode. Added a new flag "-f" to
361          testgdbm to make use of the new fast mode.
362
363        * gdbmsync.c: Added this function to allow a programmer
364          to use the GDBM_FAST mode but still be able to sync
365          a database.
366
367        * gdbmopen.c, gdbmdelete.c, gdbmfetch.c, gdbmseq.c, gdbmstore.c,
368          gdbmreorg.c: Added initialization of gdbm_errno to GDBM_NO_ERROR.
369
370Mon Mar 22 23:03:36 1993  Phil Nelson  (phil at cs.wwu.edu)
371
372        * gdbmclose.c: (gdbmclose) Added a fsync before close to make
373          sure the file is written to disk before continuing.
374
375Sun Mar 21 21:33:31 1993  Phil Nelson  (phil at cs.wwu.edu)
376
377        * proto.h: Added this as a new file.  It adds ANSI prototypes
378          for ANSI compilers.
379
380        * gdbmdefs.h: Added an include of proto.h.
381
382        * Makefile: Added proper references to proto.h
383
384        * gdbmopen.c: Changed (int *) casts to (long *) and added
385          an initialization to dbf->header.
386
387        * gdbmreorg.c: Added an "end update" on the new database and
388          correctly set up the bucket cache.
389
390        * update.c: (_gdbm_end_update) Added type void to header.
391
392Wed Mar 17 19:14:27 1993  Phil Nelson  (phil at cs.wwu.edu)
393
394        * Changed copyright on all files to include 1993.  Also deleted
395          all references to my phone number.
396
397Thu Feb 28 17:05:09 1991  Phil Nelson  (phil at strawberry.cs.wwu.edu)
398
399        * Added 1991 to copyright lines on all files.
400
401        * gdbmfetch.c: Fixed a bug introduced by previous changes.
402
403        * version.c:  Updated version to 1.5.
404
405Fri Feb  8 12:27:13 1991  Phil Nelson  (phil at strawberry.cs.wwu.edu)
406
407        * Change author's e-mail address in all comments.
408
409        * gdbmopen.c, systems.h: Changed opening sequence so that a
410          database will not be truncated in NEWDB mode until the
411          write has locked the file.
412
413        * testgdbm.c: Fixed a bug that caused a segmentation fault on
414          one computer.  Also added the flags "-r" for opening the
415          database as a READER and "-n" for opening the database as
416          a NEWDB writer.  The default mode remains the WRCREAT mode.
417
418        * Various source files, changed the data types of various
419          variables from int to long.  This should not make any difference
420          to systems where sizeof(int) = sizeof(long).  It should make
421          it easier to move to other systems.
422
423        * gdbmstore.c: Added a check for NULL key or content dptr.  Due to
424          NULLs being used as error indications, data cannot be NULL also.
425
426        * gdbmfetch.c, gdbmseq.c, fetch.c: Added checks for zero sized
427          key and content so malloc will not try to allocate zero bytes.
428
429        * gdbmconst.h: Added this file so that all constants are in one
430          central place.  A few constants can be changed without changing
431          the header sizes.
432
433Tue Aug 14 13:08:43 1990  Phil Nelson  (phil at unicorn.wwu.edu)
434
435        * Version 1.4 released.  (version.c: Updated to correct version.)
436
437        * Makefile: Added $(LIBS) to link for conv2gdbm.
438
439        * README: Updated to version 1.4 and added a 1.0-1.4 change
440          statement.
441
442Wed Aug  8 16:57:29 1990  Phil Nelson  (phil at unicorn.wwu.edu)
443
444        * gdbmopen.c: Restructured some code to initialize dbf
445          more completely.
446
447        * dbm.h: Added a null define to satisfy some versions that
448          require a dbmclose() call.
449
450        * findkey.c: (_gdbm_findkey) Added a check for the NULL
451          pointer in ...ca_data.dptr.
452
453        * gdbmdelete.c: Added code to more completely remove the
454          cache entry for a deleted item.
455
456        * gdbmreorg.c: Added code to finish the transfer of information
457          from the new_dbf to the orginal dbf.
458
459Fri May 30 08:29:16 1990  Phil Nelson  (phil at unicorn.wwu.edu)
460
461        * gdbmstore.c: Changed a strncpy to bcopy.
462
463Tue May 15 09:55:21 1990  Phil Nelson  (phil at unicorn.wwu.edu)
464
465        * Version 1.3 released.
466
467        * systems.h: Changed the defines for alloca to use the
468          name builtin_alloca to depend on BUILTIN_ALLOCA instead
469          of __GNUC__.  Added a definition of BUILTIN_ALLOCA for
470          GNUC and for sun sparc.
471
472Fri May 11 12:15:56 1990  Phil Nelson  (phil at unicorn.wwu.edu)
473
474        * systems.h: Removed the include for <sys/types> and now
475          systems.h requires <sys/types> included before it.
476
477        * Makefile: Corrected the makefile to include a file that
478          was missing before.  Also, switched order of conv2gdbm
479          and alldbm in the all option.
480
481        * findkey.c (_gdbm_read_entry): Reordered some statements
482          to make the code more readable.
483
484        * update.c (_gdbm_fatal): Changed fatal message from "dbm fatal:"
485          to "gdbm fatal:".
486
487Mon Apr 30 10:18:24 1990  Phil Nelson  (phil at unicorn.wwu.edu)
488
489        * Version 1.2 released.
490
491Fri Apr 27 09:49:59 1990  Phil Nelson  (phil at unicorn.wwu.edu)
492
493        * Makefile: Added the dist option.  Similar to the
494          addition from hack@ai.mit.edu, but correct.
495
496        * falloc.c (push_avail_block):  Change the avail count
497          to reflect the correct number of entries.
498
499        * dbminit.c (dbminit): Changed the stat call to stat the
500          ".dir" file as is done in dbmopen.c (dbm_open).
501
502Tue Apr 10 12:18:40 1990  Phil Nelson  (phil at unicorn.wwu.edu)
503
504        * Version 1.1. released.
505
506        * gdbmopen.c (gdbm_open): Clear out bucket cache.
507
508
509
Note: See TracBrowser for help on using the repository browser.