chiark / gitweb /
mLib
17 years agoNew hex encoding stuff. Rename test programs.
mdw [Sun, 13 Jan 2002 13:26:59 +0000 (13:26 +0000)]
New hex encoding stuff.  Rename test programs.

17 years agoNew hex encoding stuff.
mdw [Sun, 13 Jan 2002 13:26:30 +0000 (13:26 +0000)]
New hex encoding stuff.

17 years agoChange names for internal tables.
mdw [Sun, 13 Jan 2002 13:26:16 +0000 (13:26 +0000)]
Change names for internal tables.

18 years agoNew @conn_init@ interface.
mdw [Fri, 22 Jun 2001 19:37:00 +0000 (19:37 +0000)]
New @conn_init@ interface.

18 years agoInclude @<ctype.h>@.
mdw [Fri, 22 Jun 2001 19:36:18 +0000 (19:36 +0000)]
Include @<ctype.h>@.

18 years agoFix a large number of bugs.
mdw [Fri, 22 Jun 2001 19:35:58 +0000 (19:35 +0000)]
Fix a large number of bugs.

18 years agoFind out whether @<float.h>@ exists (hack for uC-Linux).
mdw [Fri, 22 Jun 2001 19:35:29 +0000 (19:35 +0000)]
Find out whether @<float.h>@ exists (hack for uC-Linux).

18 years agoInterface change to @conn_init@ -- return error rather than calling the
mdw [Fri, 22 Jun 2001 19:35:20 +0000 (19:35 +0000)]
Interface change to @conn_init@ -- return error rather than calling the
function.  This reduces the number of different environments the
callback has to cope with, and the old behaviour is easily simulatable
with the new, while simulating the new behaviour was awkward and
painful.

18 years agoHack if there is no @_SC_OPEN_MAX@ or @OPEN_MAX@.
mdw [Fri, 22 Jun 2001 19:33:38 +0000 (19:33 +0000)]
Hack if there is no @_SC_OPEN_MAX@ or @OPEN_MAX@.

18 years agoRemove a space.
mdw [Fri, 22 Jun 2001 19:32:59 +0000 (19:32 +0000)]
Remove a space.

18 years agoIgnore more manpages
mdw [Sat, 10 Mar 2001 11:09:10 +0000 (11:09 +0000)]
Ignore more manpages

18 years agoFix generating tables where the chunk size is longer than the
mdw [Sat, 10 Mar 2001 10:59:21 +0000 (10:59 +0000)]
Fix generating tables where the chunk size is longer than the
polynomial.  Also fix output formatting when there aren't enough entries
to fill a line.

18 years agoNew macros @DA_FIRST@ and @DA_LAST@ for stack/queue peeking. 2.0.0pre4
mdw [Sat, 3 Mar 2001 12:20:23 +0000 (12:20 +0000)]
New macros @DA_FIRST@ and @DA_LAST@ for stack/queue peeking.

18 years agoUpdate manual style.
mdw [Fri, 23 Feb 2001 09:11:29 +0000 (09:11 +0000)]
Update manual style.

18 years agoEnsure that timers set to go off in the past don't case a problem.
mdw [Sat, 3 Feb 2001 19:07:08 +0000 (19:07 +0000)]
Ensure that timers set to go off in the past don't case a problem.

18 years agoNew feature: watch a file for changes.
mdw [Sat, 3 Feb 2001 18:43:59 +0000 (18:43 +0000)]
New feature: watch a file for changes.

18 years agoInclude trace_custom.
mdw [Sat, 3 Feb 2001 16:28:58 +0000 (16:28 +0000)]
Include trace_custom.

18 years agoDescribe custom interface.
mdw [Sat, 3 Feb 2001 16:28:45 +0000 (16:28 +0000)]
Describe custom interface.

18 years agoFix minus sign.
mdw [Sat, 3 Feb 2001 16:27:48 +0000 (16:27 +0000)]
Fix minus sign.

18 years agoVarious bug fixes: understand requests for help properly, and fix the
mdw [Sat, 3 Feb 2001 16:25:43 +0000 (16:25 +0000)]
Various bug fixes: understand requests for help properly, and fix the
logic for flag letters with `bad' flags.

18 years agoNew custom trace output interface.
mdw [Sat, 3 Feb 2001 16:23:55 +0000 (16:23 +0000)]
New custom trace output interface.

18 years agoBug fix: handle a disable during a close-induced flush without dumping
mdw [Sat, 3 Feb 2001 16:23:33 +0000 (16:23 +0000)]
Bug fix: handle a disable during a close-induced flush without dumping
core.

18 years agoBug fixes: restore signals to their default dispositions, and set up the
mdw [Sat, 3 Feb 2001 16:21:08 +0000 (16:21 +0000)]
Bug fixes: restore signals to their default dispositions, and set up the
addresses properly when unpacking @hostent@ structures.

18 years agoNew manpages.
mdw [Sat, 3 Feb 2001 16:19:31 +0000 (16:19 +0000)]
New manpages.

18 years agoAlways add a terminating null, and don't count it in the length.
mdw [Thu, 25 Jan 2001 21:14:49 +0000 (21:14 +0000)]
Always add a terminating null, and don't count it in the length.

18 years agoNowadays, @SYM_LEN@ doesn't include the terminating null, so revise the
mdw [Thu, 25 Jan 2001 21:14:26 +0000 (21:14 +0000)]
Nowadays, @SYM_LEN@ doesn't include the terminating null, so revise the
buffer-usage calculation.

18 years agoNew function allowing an atom's length to be specified at intern time.
mdw [Thu, 25 Jan 2001 21:13:40 +0000 (21:13 +0000)]
New function allowing an atom's length to be specified at intern time.
Add @ATOM_HASH@ macro so that assoc doesn't have to dig in the @atom@
structure.

18 years agoNew function allowing an atom's length to be specified at intern time.
mdw [Thu, 25 Jan 2001 21:13:15 +0000 (21:13 +0000)]
New function allowing an atom's length to be specified at intern time.

18 years agoUse @ATOM_HASH@ rather than digging in the @atom@ structure.
mdw [Thu, 25 Jan 2001 21:12:38 +0000 (21:12 +0000)]
Use @ATOM_HASH@ rather than digging in the @atom@ structure.

18 years agoAdd new macro to find an association's atom key.
mdw [Thu, 25 Jan 2001 21:12:22 +0000 (21:12 +0000)]
Add new macro to find an association's atom key.

18 years agoUse the new @ASSOC_ATOM@ macro.
mdw [Thu, 25 Jan 2001 21:11:59 +0000 (21:11 +0000)]
Use the new @ASSOC_ATOM@ macro.

18 years agoUse `$(MAKE)' in the `install-man' rule, so that the jobserver doesn't
mdw [Thu, 25 Jan 2001 21:11:41 +0000 (21:11 +0000)]
Use `$(MAKE)' in the `install-man' rule, so that the jobserver doesn't
whinge.

18 years agoDocument new interrogation macros. Fix text a bit.
mdw [Thu, 25 Jan 2001 21:11:17 +0000 (21:11 +0000)]
Document new interrogation macros.  Fix text a bit.

18 years agoRefer to the correct memory allocator.
mdw [Thu, 25 Jan 2001 21:10:56 +0000 (21:10 +0000)]
Refer to the correct memory allocator.

18 years agoNew manpages.
mdw [Thu, 25 Jan 2001 21:10:41 +0000 (21:10 +0000)]
New manpages.

18 years agoInsert missing `NAME' section. Use a pleasant `>=' sign when doing good
mdw [Thu, 25 Jan 2001 21:10:23 +0000 (21:10 +0000)]
Insert missing `NAME' section.  Use a pleasant `>=' sign when doing good
typesetting.

18 years agoAdd test driver for associations.
mdw [Sun, 21 Jan 2001 19:05:21 +0000 (19:05 +0000)]
Add test driver for associations.

18 years agoTest driver for associations.
mdw [Sun, 21 Jan 2001 19:05:10 +0000 (19:05 +0000)]
Test driver for associations.

18 years agoFix bugs.
mdw [Sun, 21 Jan 2001 19:04:59 +0000 (19:04 +0000)]
Fix bugs.

18 years agoInclude `crc32.h' for @CRC32@ macro.
mdw [Sun, 21 Jan 2001 19:04:51 +0000 (19:04 +0000)]
Include `crc32.h' for @CRC32@ macro.

18 years agoRemove redundant initialization of `sub'.
mdw [Sun, 21 Jan 2001 19:04:32 +0000 (19:04 +0000)]
Remove redundant initialization of `sub'.

18 years agoPut `bres' in a different place.
mdw [Sat, 20 Jan 2001 12:07:04 +0000 (12:07 +0000)]
Put `bres' in a different place.

18 years agoBe more conservative in base-64 encoding.
mdw [Sat, 20 Jan 2001 12:06:21 +0000 (12:06 +0000)]
Be more conservative in base-64 encoding.

18 years agoDefine flags with macros, to ensure unsignedness.
mdw [Sat, 20 Jan 2001 12:06:01 +0000 (12:06 +0000)]
Define flags with macros, to ensure unsignedness.

18 years agoNew hack for storing 64-bit numbers in tables.
mdw [Sat, 20 Jan 2001 12:05:20 +0000 (12:05 +0000)]
New hack for storing 64-bit numbers in tables.

18 years agoHash tables indexed by atoms, to avoid expense of hashing keys on each
mdw [Sat, 20 Jan 2001 11:50:58 +0000 (11:50 +0000)]
Hash tables indexed by atoms, to avoid expense of hashing keys on each
lookup, and to reduce storage used by key texts.

18 years agoImplementation of atom tables (for example, as found in X11).
mdw [Sat, 20 Jan 2001 11:50:16 +0000 (11:50 +0000)]
Implementation of atom tables (for example, as found in X11).

18 years agoExport tuning parameters from header file, for the benefit of other
mdw [Sat, 20 Jan 2001 11:49:37 +0000 (11:49 +0000)]
Export tuning parameters from header file, for the benefit of other
hashtable implementations.  Change the storage of symbol names: store
the name after the allocated symbol block in all cases.  This replaces
the previous complicated and slightly wasteful arrangement.

18 years agoUse new @SYM_LEN@ macro for name lengths.
mdw [Sat, 20 Jan 2001 11:48:10 +0000 (11:48 +0000)]
Use new @SYM_LEN@ macro for name lengths.

18 years agoTypo fixes.
mdw [Sat, 20 Jan 2001 11:47:03 +0000 (11:47 +0000)]
Typo fixes.

18 years agoAdd new files.
mdw [Sat, 20 Jan 2001 11:46:49 +0000 (11:46 +0000)]
Add new files.

19 years agoMake sure that the bits testcase gets its test vector from the source
mdw [Sat, 14 Oct 2000 16:46:44 +0000 (16:46 +0000)]
Make sure that the bits testcase gets its test vector from the source
directory.

19 years agoClean some more files.
mdw [Sun, 8 Oct 2000 11:20:57 +0000 (11:20 +0000)]
Clean some more files.

19 years ago(ident_socket): change sizes to be @size_t@.
mdw [Sun, 8 Oct 2000 11:17:45 +0000 (11:17 +0000)]
(ident_socket): change sizes to be @size_t@.

19 years ago(conn_connect): Change sizes to be @size_t@.
mdw [Sun, 8 Oct 2000 11:17:26 +0000 (11:17 +0000)]
(conn_connect): Change sizes to be @size_t@.

19 years ago(crc-mktab): now requires str.c.
mdw [Sun, 8 Oct 2000 11:08:25 +0000 (11:08 +0000)]
(crc-mktab): now requires str.c.

19 years agoDefine a constant to tell @mdwopt@ that @str_qword@ is available.
mdw [Sun, 8 Oct 2000 11:07:55 +0000 (11:07 +0000)]
Define a constant to tell @mdwopt@ that @str_qword@ is available.
Reinstate the `-pedantic' option to GCC.

19 years agoWith no arguments, give an error rather than spewing a big table at the
mdw [Sun, 8 Oct 2000 11:07:21 +0000 (11:07 +0000)]
With no arguments, give an error rather than spewing a big table at the
user.

19 years agoMore generated files.
mdw [Sun, 8 Oct 2000 11:06:59 +0000 (11:06 +0000)]
More generated files.

19 years agoShut later versions of GCC up about use of @long long@.
mdw [Sun, 8 Oct 2000 11:06:30 +0000 (11:06 +0000)]
Shut later versions of GCC up about use of @long long@.

19 years ago(str_qword): Remove redundant definition of @STRF_QUOTE@.
mdw [Sun, 8 Oct 2000 09:50:11 +0000 (09:50 +0000)]
(str_qword): Remove redundant definition of @STRF_QUOTE@.

19 years agoNew quoted string handling and simple pattern matching.
mdw [Sun, 8 Oct 2000 09:43:35 +0000 (09:43 +0000)]
New quoted string handling and simple pattern matching.

19 years agoMinor typo fixes.
mdw [Sun, 8 Oct 2000 09:43:11 +0000 (09:43 +0000)]
Minor typo fixes.

19 years agoNew library configuration stuff from `common'.
mdw [Tue, 15 Aug 2000 21:39:13 +0000 (21:39 +0000)]
New library configuration stuff from `common'.

19 years ago(dstr_vputf): Don't try calling @va_arg@ on things @char@-sized.
mdw [Tue, 15 Aug 2000 21:26:45 +0000 (21:26 +0000)]
(dstr_vputf): Don't try calling @va_arg@ on things @char@-sized.

19 years ago(gethost, and others): Since @gethost@ actually uses @malloc@ rather
mdw [Tue, 15 Aug 2000 17:35:02 +0000 (17:35 +0000)]
(gethost, and others): Since @gethost@ actually uses @malloc@ rather
than @xmalloc@, it's wrong to use @xfree@ on the result.  Fixed the code
to use the right freeing function on the right data.

19 years agoFix typo in comment.
mdw [Mon, 7 Aug 2000 19:50:18 +0000 (19:50 +0000)]
Fix typo in comment.

19 years agoDaft bug fix. Include <string.h>.
mdw [Sun, 6 Aug 2000 11:00:18 +0000 (11:00 +0000)]
Daft bug fix.  Include <string.h>.

19 years agoVersion bump.
mdw [Sat, 29 Jul 2000 22:08:04 +0000 (22:08 +0000)]
Version bump.

19 years agoSupport `make -j' building.
mdw [Sat, 29 Jul 2000 10:06:10 +0000 (10:06 +0000)]
Support `make -j' building.

19 years agoAdded macros for reading 64-bit values.
mdw [Sat, 22 Jul 2000 09:48:26 +0000 (09:48 +0000)]
Added macros for reading 64-bit values.

19 years agoFix description of CRCs.
mdw [Fri, 21 Jul 2000 19:01:43 +0000 (19:01 +0000)]
Fix description of CRCs.

19 years agoGenerate the CRC table rather than hardcoding it.
mdw [Fri, 21 Jul 2000 19:01:33 +0000 (19:01 +0000)]
Generate the CRC table rather than hardcoding it.

19 years agoNew files. Test cases for `bits.h'. 2.0.0pre3
mdw [Sun, 16 Jul 2000 18:57:52 +0000 (18:57 +0000)]
New files.  Test cases for `bits.h'.

19 years agoVersion bump. Change compiler flags.
mdw [Sun, 16 Jul 2000 18:57:42 +0000 (18:57 +0000)]
Version bump.  Change compiler flags.

19 years agoNew generated files.
mdw [Sun, 16 Jul 2000 18:57:24 +0000 (18:57 +0000)]
New generated files.

19 years agoNew manual pages.
mdw [Sun, 16 Jul 2000 18:56:47 +0000 (18:56 +0000)]
New manual pages.

19 years agoPut some more so references in, and tidy the text a little.
mdw [Sun, 16 Jul 2000 18:56:37 +0000 (18:56 +0000)]
Put some more so references in, and tidy the text a little.

19 years agoFix a function declaration which slipped through the net.
mdw [Sun, 16 Jul 2000 18:56:00 +0000 (18:56 +0000)]
Fix a function declaration which slipped through the net.

19 years agoRemove some stray debugging code.
mdw [Sun, 16 Jul 2000 18:55:45 +0000 (18:55 +0000)]
Remove some stray debugging code.

19 years agoDocument the `pool' interface.
mdw [Sun, 16 Jul 2000 18:20:54 +0000 (18:20 +0000)]
Document the `pool' interface.

19 years agoChange to arena `realloc' interface, to fix a design bug.
mdw [Sun, 16 Jul 2000 12:31:50 +0000 (12:31 +0000)]
Change to arena `realloc' interface, to fix a design bug.

19 years agoSupport for resource pools, based on the Apache model.
mdw [Sun, 16 Jul 2000 12:28:48 +0000 (12:28 +0000)]
Support for resource pools, based on the Apache model.

19 years agoAdd 64-bit support, with faked arithmetic on 32-bit hosts.
mdw [Sun, 16 Jul 2000 12:28:28 +0000 (12:28 +0000)]
Add 64-bit support, with faked arithmetic on 32-bit hosts.

19 years agoTest equipment for the 64-bit arithmetic in `bits.h'.
mdw [Sun, 16 Jul 2000 12:28:00 +0000 (12:28 +0000)]
Test equipment for the 64-bit arithmetic in `bits.h'.

19 years agoVersion bump. 2.0.0pre2
mdw [Sun, 2 Jul 2000 22:21:34 +0000 (22:21 +0000)]
Version bump.

19 years agoFix constant name.
mdw [Sun, 2 Jul 2000 22:20:42 +0000 (22:20 +0000)]
Fix constant name.

19 years agoVarious new source files. 2.0.0pre1
mdw [Sat, 17 Jun 2000 10:39:43 +0000 (10:39 +0000)]
Various new source files.

19 years agoVersion bump.
mdw [Sat, 17 Jun 2000 10:39:28 +0000 (10:39 +0000)]
Version bump.

19 years agoExperimental new support for packet buffering.
mdw [Sat, 17 Jun 2000 10:39:19 +0000 (10:39 +0000)]
Experimental new support for packet buffering.

19 years agoAdd support for arena management.
mdw [Sat, 17 Jun 2000 10:39:00 +0000 (10:39 +0000)]
Add support for arena management.

19 years agoTrack changes to selbuf interface.
mdw [Sat, 17 Jun 2000 10:38:35 +0000 (10:38 +0000)]
Track changes to selbuf interface.

19 years agoAdd support for variable buffer sizes.
mdw [Sat, 17 Jun 2000 10:38:14 +0000 (10:38 +0000)]
Add support for variable buffer sizes.

19 years agoBasic arena management.
mdw [Sat, 17 Jun 2000 10:37:53 +0000 (10:37 +0000)]
Basic arena management.

19 years agoSupport for 24-bit types.
mdw [Sat, 17 Jun 2000 10:36:06 +0000 (10:36 +0000)]
Support for 24-bit types.

19 years agoMajor overhaul for arena support.
mdw [Sat, 17 Jun 2000 10:35:51 +0000 (10:35 +0000)]
Major overhaul for arena support.

19 years agoInitialize the token buffer properly.
mdw [Sat, 17 Jun 2000 10:35:07 +0000 (10:35 +0000)]
Initialize the token buffer properly.

19 years agoUpdate for new arena management.
mdw [Sat, 17 Jun 2000 10:34:55 +0000 (10:34 +0000)]
Update for new arena management.

19 years agoVersion bump. 1.6.3
mdw [Thu, 23 Mar 2000 23:21:44 +0000 (23:21 +0000)]
Version bump.

19 years agoRearrange timeout handling to avoid list corruptions.
mdw [Thu, 23 Mar 2000 20:42:08 +0000 (20:42 +0000)]
Rearrange timeout handling to avoid list corruptions.