chiark / gitweb /
mLib
16 years agoRemove memory leak.
mdw [Sun, 18 May 2003 15:10:29 +0000 (15:10 +0000)]
Remove memory leak.

16 years agoAdd debugging mode which just uses the underlying arena.
mdw [Sun, 18 May 2003 15:10:20 +0000 (15:10 +0000)]
Add debugging mode which just uses the underlying arena.

16 years ago Tidying and bugfixing. 2.0.0
mdw [Sat, 17 May 2003 10:34:04 +0000 (10:34 +0000)]
 Tidying and bugfixing.

16 years agoVersion bump.
mdw [Fri, 16 May 2003 00:30:28 +0000 (00:30 +0000)]
Version bump.

16 years agoTest base64 and hex encoding.
mdw [Fri, 16 May 2003 00:24:37 +0000 (00:24 +0000)]
Test base64 and hex encoding.

16 years agomaninst isn't shipped here.
mdw [Fri, 16 May 2003 00:24:05 +0000 (00:24 +0000)]
maninst isn't shipped here.

16 years agoRename for consistency's sake.
mdw [Fri, 16 May 2003 00:23:41 +0000 (00:23 +0000)]
Rename for consistency's sake.

16 years agoDon't whine if you can't make the directory.
mdw [Thu, 15 May 2003 23:42:31 +0000 (23:42 +0000)]
Don't whine if you can't make the directory.

16 years agoVersion bump.
mdw [Thu, 15 May 2003 23:41:36 +0000 (23:41 +0000)]
Version bump.

16 years agoVarious fixes.
mdw [Wed, 23 Apr 2003 12:52:43 +0000 (12:52 +0000)]
Various fixes.

16 years agoNew manpage installer.
mdw [Wed, 23 Apr 2003 12:52:34 +0000 (12:52 +0000)]
New manpage installer.

16 years agoStray link page.
mdw [Wed, 23 Apr 2003 12:48:59 +0000 (12:48 +0000)]
Stray link page.

16 years agoVarious bugfixes.
mdw [Wed, 23 Apr 2003 12:47:44 +0000 (12:47 +0000)]
Various bugfixes.

17 years agoMissing function aliases.
mdw [Wed, 30 Jan 2002 09:29:02 +0000 (09:29 +0000)]
Missing function aliases.

17 years agoTrack @dstr_vputf@ interface change.
mdw [Sun, 13 Jan 2002 13:34:32 +0000 (13:34 +0000)]
Track @dstr_vputf@ interface change.

17 years agoDescribe ancient interface change on immediate failure.
mdw [Sun, 13 Jan 2002 13:34:18 +0000 (13:34 +0000)]
Describe ancient interface change on immediate failure.

17 years agoPacket handler functions now have a @typedef@ name.
mdw [Sun, 13 Jan 2002 13:33:54 +0000 (13:33 +0000)]
Packet handler functions now have a @typedef@ name.

17 years agoTrack interface change for @lbuf@.
mdw [Sun, 13 Jan 2002 13:33:27 +0000 (13:33 +0000)]
Track interface change for @lbuf@.

17 years agoPass line length to line handler function. Provide a @typedef@ for
mdw [Sun, 13 Jan 2002 13:33:01 +0000 (13:33 +0000)]
Pass line length to line handler function.  Provide a @typedef@ for
handler functions.  Allow run-time configuration of line delimiters.

17 years agoChange interface for @dstr_vputf@.
mdw [Sun, 13 Jan 2002 13:30:50 +0000 (13:30 +0000)]
Change interface for @dstr_vputf@.

17 years agoRearrange @conn_init@ to be a bit more comprehensible.
mdw [Sun, 13 Jan 2002 13:28:44 +0000 (13:28 +0000)]
Rearrange @conn_init@ to be a bit more comprehensible.

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.

18 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.

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

18 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@.

18 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@.

18 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.

18 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.

18 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.

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

18 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@.

18 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@.

18 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.

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

18 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'.

18 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.

18 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.

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

18 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>.

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

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

18 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.

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

18 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.

18 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'.

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

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

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

18 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.

18 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.