ocaml-bitstring.git
12 years agoAdd 'make check' as a synonym for 'make test'.
Richard W.M. Jones [Tue, 17 Jan 2012 12:44:36 +0000 (12:44 +0000)]
Add 'make check' as a synonym for 'make test'.

12 years agoRename test programs so the name is a valid OCaml module name.
Richard W.M. Jones [Tue, 17 Jan 2012 12:39:09 +0000 (12:39 +0000)]
Rename test programs so the name is a valid OCaml module name.

14 years agoTODO: Added more suggested features based on feedback from hivex.
Richard W.M. Jones [Fri, 5 Feb 2010 14:01:53 +0000 (14:01 +0000)]
TODO: Added more suggested features based on feedback from hivex.

14 years agoFix issue 5: Bitstring cannot be used with other syntax extensions when using ocamlfind
Richard W.M. Jones [Mon, 11 Jan 2010 13:05:01 +0000 (13:05 +0000)]
Fix issue 5: Bitstring cannot be used with other syntax extensions when using ocamlfind

14 years agoVersion 2.0.2 for release.
Richard W.M. Jones [Fri, 8 Jan 2010 15:13:13 +0000 (15:13 +0000)]
Version 2.0.2 for release.

14 years agoFix handling of OCAML_PKG_* macros for new OCaml autoconf.
Richard W.M. Jones [Fri, 8 Jan 2010 15:10:04 +0000 (15:10 +0000)]
Fix handling of OCAML_PKG_* macros for new OCaml autoconf.

14 years agoVersion 2.0.1 for release.
Richard W.M. Jones [Fri, 8 Jan 2010 14:44:42 +0000 (14:44 +0000)]
Version 2.0.1 for release.

14 years agoCIL example: <linux/fs.h> is now required for <linux/ext3_fs.h>
Richard W.M. Jones [Fri, 8 Jan 2010 14:43:45 +0000 (14:43 +0000)]
CIL example: <linux/fs.h> is now required for <linux/ext3_fs.h>

14 years agoCIL: Include dynlink for OCaml 3.11.
Richard W.M. Jones [Fri, 8 Jan 2010 14:43:07 +0000 (14:43 +0000)]
CIL: Include dynlink for OCaml 3.11.

14 years agoFix empty case for OCaml 3.11 and above.
Richard W.M. Jones [Fri, 8 Jan 2010 14:28:17 +0000 (14:28 +0000)]
Fix empty case for OCaml 3.11 and above.

14 years agoFix handling of dynlink in OCaml 3.11 and above.
Richard W.M. Jones [Fri, 8 Jan 2010 14:27:38 +0000 (14:27 +0000)]
Fix handling of dynlink in OCaml 3.11 and above.

14 years agoUpdate aclocal.m4 to latest OCaml autoconf macros.
Richard W.M. Jones [Fri, 8 Jan 2010 14:26:23 +0000 (14:26 +0000)]
Update aclocal.m4 to latest OCaml autoconf macros.

14 years agoFix for ARCH_ALIGN_INT64 platforms (Stephane Glondu).
Richard W.M. Jones [Fri, 10 Jul 2009 12:22:45 +0000 (12:22 +0000)]
Fix for ARCH_ALIGN_INT64 platforms (Stephane Glondu).

15 years agoVersion 2.0.0 for release.
Richard W.M. Jones [Fri, 17 Oct 2008 08:58:29 +0000 (08:58 +0000)]
Version 2.0.0 for release.

15 years agoAdd regression test for 32/64-bit aligned fastpath extraction.
Richard W.M. Jones [Fri, 17 Oct 2008 08:58:16 +0000 (08:58 +0000)]
Add regression test for 32/64-bit aligned fastpath extraction.

15 years agoOn fastpath, 32/64 bit zeros must be allocated each time (Hans Ole Rafaelsen).
Richard W.M. Jones [Fri, 17 Oct 2008 08:57:43 +0000 (08:57 +0000)]
On fastpath, 32/64 bit zeros must be allocated each time (Hans Ole Rafaelsen).

15 years agoFix index checks in get/put functions (jessicah)
Richard W.M. Jones [Mon, 6 Oct 2008 08:43:14 +0000 (08:43 +0000)]
Fix index checks in get/put functions (jessicah)

15 years agoAdded bootstrap and uninstall target
toots@rastageeks.org [Thu, 28 Aug 2008 16:44:07 +0000 (16:44 +0000)]
Added bootstrap and uninstall target

15 years agoVersion 1.9.9 for release.
Richard W.M. Jones [Thu, 28 Aug 2008 09:11:25 +0000 (09:11 +0000)]
Version 1.9.9 for release.

15 years agoUpdated manifest file.
Richard W.M. Jones [Wed, 27 Aug 2008 13:04:46 +0000 (13:04 +0000)]
Updated manifest file.

15 years agoUpdated test coverage report.
Richard W.M. Jones [Wed, 27 Aug 2008 13:01:46 +0000 (13:01 +0000)]
Updated test coverage report.

15 years agoTest the hexdump function.
Richard W.M. Jones [Wed, 27 Aug 2008 12:58:25 +0000 (12:58 +0000)]
Test the hexdump function.

15 years agoComprehensive test of fixed-size int construct & extract functions.
Richard W.M. Jones [Wed, 27 Aug 2008 12:56:49 +0000 (12:56 +0000)]
Comprehensive test of fixed-size int construct & extract functions.

15 years agoTest the subbitstring and takebits functions.
Richard W.M. Jones [Wed, 27 Aug 2008 12:56:11 +0000 (12:56 +0000)]
Test the subbitstring and takebits functions.

15 years agoFix buggy construct_int64_ne_unsigned and construct_int64_ee_unsigned functions.
Richard W.M. Jones [Wed, 27 Aug 2008 12:55:34 +0000 (12:55 +0000)]
Fix buggy construct_int64_ne_unsigned and construct_int64_ee_unsigned functions.

15 years agoCheck for 'diff' program (now required to run tests).
Richard W.M. Jones [Wed, 27 Aug 2008 12:54:57 +0000 (12:54 +0000)]
Check for 'diff' program (now required to run tests).

15 years agoUpdate coverage report.
Richard W.M. Jones [Wed, 27 Aug 2008 11:28:42 +0000 (11:28 +0000)]
Update coverage report.

15 years agoAdd tests for compare, load, etc.
Richard W.M. Jones [Wed, 27 Aug 2008 11:28:18 +0000 (11:28 +0000)]
Add tests for compare, load, etc.

15 years agoFix 'make test' rule.
Richard W.M. Jones [Wed, 27 Aug 2008 11:27:47 +0000 (11:27 +0000)]
Fix 'make test' rule.

15 years agoAdded:
Richard W.M. Jones [Wed, 27 Aug 2008 11:26:45 +0000 (11:26 +0000)]
Added:
 - Bitstring.compare, Bitstring.equals
 - Bitstring.t as a synonym for Bitstring.bitstring type
 - get and set functions for mutating individual bits (rarely used)
 - Bitstring.concat

15 years ago'make clean' rules remove more generated files.
Richard W.M. Jones [Tue, 26 Aug 2008 14:18:50 +0000 (14:18 +0000)]
'make clean' rules remove more generated files.

15 years agoVersion 1.9.8 for release.
Richard W.M. Jones [Tue, 26 Aug 2008 09:43:14 +0000 (09:43 +0000)]
Version 1.9.8 for release.

15 years agoUse ocaml-bisect to compute coverage of tests.
Richard W.M. Jones [Tue, 26 Aug 2008 09:42:05 +0000 (09:42 +0000)]
Use ocaml-bisect to compute coverage of tests.

15 years agoAdd byteswap.in.h
Richard W.M. Jones [Tue, 26 Aug 2008 08:26:23 +0000 (08:26 +0000)]
Add byteswap.in.h

15 years agoIgnore *.so files.
Richard W.M. Jones [Tue, 26 Aug 2008 08:25:42 +0000 (08:25 +0000)]
Ignore *.so files.

15 years agoThis patch completes the optimization / fastpaths in C enhancement.
Richard W.M. Jones [Tue, 26 Aug 2008 08:24:31 +0000 (08:24 +0000)]
This patch completes the optimization / fastpaths in C enhancement.

15 years agoThis large, but mostly mechanical, patch removes an unnecessary tuple
Richard W.M. Jones [Tue, 26 Aug 2008 08:22:42 +0000 (08:22 +0000)]
This large, but mostly mechanical, patch removes an unnecessary tuple
allocation from generated code.

15 years agoThis patch improves the string_of_* functions in Bitmatch_persistent
Richard W.M. Jones [Tue, 26 Aug 2008 08:21:43 +0000 (08:21 +0000)]
This patch improves the string_of_* functions in Bitmatch_persistent
so that they can print (many) expressions.  At the moment they can
only print stuff like "bind ([expr])" for most expressions.

15 years agoThis patch adds the framework for including C code in bitstring.
Richard W.M. Jones [Tue, 26 Aug 2008 08:20:41 +0000 (08:20 +0000)]
This patch adds the framework for including C code in bitstring.

15 years agoInclude benchmarks directory.
Richard W.M. Jones [Tue, 26 Aug 2008 08:16:01 +0000 (08:16 +0000)]
Include benchmarks directory.

15 years agoThis adds the outline of a benchmark suite to bitstring.
Richard W.M. Jones [Tue, 26 Aug 2008 08:13:48 +0000 (08:13 +0000)]
This adds the outline of a benchmark suite to bitstring.

15 years agoThe attached patch is necessary to work around a bug in the parsing in
Richard W.M. Jones [Tue, 26 Aug 2008 08:13:07 +0000 (08:13 +0000)]
The attached patch is necessary to work around a bug in the parsing in
OCaml 3.10.0 (fixed in 3.10.2 and later).  It doesn't affect
performance of the generated code.

15 years agoAdded little-endian constructors (thanks to Romain Beauxis and Samuel Mimram).
Richard W.M. Jones [Wed, 20 Aug 2008 16:58:33 +0000 (16:58 +0000)]
Added little-endian constructors (thanks to Romain Beauxis and Samuel Mimram).

15 years agoDocument the bitmatch compatibility library.
Richard W.M. Jones [Thu, 17 Jul 2008 15:58:23 +0000 (15:58 +0000)]
Document the bitmatch compatibility library.

15 years agoRenaming bitmatch -> bitstring.
Richard W.M. Jones [Thu, 17 Jul 2008 15:45:56 +0000 (15:45 +0000)]
Renaming bitmatch -> bitstring.

15 years agoRename files and libraries from bitmatch* to bitstring*
Richard W.M. Jones [Thu, 17 Jul 2008 15:09:05 +0000 (15:09 +0000)]
Rename files and libraries from bitmatch* to bitstring*

15 years agoUpdated TODO file.
Richard W.M. Jones [Thu, 17 Jul 2008 12:10:58 +0000 (12:10 +0000)]
Updated TODO file.

15 years agoVersion 1.9.6 for release.
Richard W.M. Jones [Thu, 17 Jul 2008 12:10:05 +0000 (12:10 +0000)]
Version 1.9.6 for release.
 - Updated MANIFEST.

15 years agoImproved test.
Richard W.M. Jones [Thu, 17 Jul 2008 11:58:14 +0000 (11:58 +0000)]
Improved test.

15 years agoImplement check() and bind() qualifiers.
Richard W.M. Jones [Thu, 17 Jul 2008 11:56:05 +0000 (11:56 +0000)]
Implement check() and bind() qualifiers.
 - Previously check() was called when().

15 years agoImplement save_to_offset() and partially implement when() and bind().
Richard W.M. Jones [Thu, 17 Jul 2008 11:27:13 +0000 (11:27 +0000)]
Implement save_to_offset() and partially implement when() and bind().

15 years agoFix an error message.
Richard W.M. Jones [Thu, 17 Jul 2008 10:33:49 +0000 (10:33 +0000)]
Fix an error message.

15 years agoAdded when(), bind() and save_offset_to() to the TODO list.
Richard W.M. Jones [Thu, 17 Jul 2008 08:55:00 +0000 (08:55 +0000)]
Added when(), bind() and save_offset_to() to the TODO list.

15 years agoSet svn:ignore.
Richard W.M. Jones [Thu, 17 Jul 2008 08:27:01 +0000 (08:27 +0000)]
Set svn:ignore.

15 years agoSet svn:keywords property to Id.
Richard W.M. Jones [Thu, 17 Jul 2008 08:26:23 +0000 (08:26 +0000)]
Set svn:keywords property to Id.

15 years agoAdded offset padding test to test the case when original_off <> 0.
Richard W.M. Jones [Thu, 17 Jul 2008 08:25:15 +0000 (08:25 +0000)]
Added offset padding test to test the case when original_off <> 0.

15 years agoImplement dropbits, takebits, subbitstring.
Richard W.M. Jones [Thu, 17 Jul 2008 08:24:47 +0000 (08:24 +0000)]
Implement dropbits, takebits, subbitstring.

15 years agoFix computed offset calculations when original_off <> 0.
Richard W.M. Jones [Thu, 17 Jul 2008 08:24:20 +0000 (08:24 +0000)]
Fix computed offset calculations when original_off <> 0.

15 years agoVersion 1.9.5 for release.
Richard W.M. Jones [Fri, 11 Jul 2008 11:10:30 +0000 (11:10 +0000)]
Version 1.9.5 for release.

15 years agoClarify licensing for Debian.
Richard W.M. Jones [Fri, 11 Jul 2008 11:07:17 +0000 (11:07 +0000)]
Clarify licensing for Debian.

15 years agoFix documentation for how to compile using camlp4 directly.
Richard W.M. Jones [Fri, 11 Jul 2008 10:56:31 +0000 (10:56 +0000)]
Fix documentation for how to compile using camlp4 directly.

16 years agoVersion 1.9.4 for release.
Richard W.M. Jones [Fri, 4 Jul 2008 13:40:31 +0000 (13:40 +0000)]
Version 1.9.4 for release.

16 years agoSomewhat better attempt at a META file.
Richard W.M. Jones [Fri, 4 Jul 2008 13:40:07 +0000 (13:40 +0000)]
Somewhat better attempt at a META file.

16 years agoDon't allow zero-length patterns to be loaded from a file
Richard W.M. Jones [Fri, 4 Jul 2008 12:35:06 +0000 (12:35 +0000)]
Don't allow zero-length patterns to be loaded from a file

16 years agoUpdate status
Richard W.M. Jones [Fri, 4 Jul 2008 12:03:21 +0000 (12:03 +0000)]
Update status

16 years agoVersion 1.9.3 for release.
Richard W.M. Jones [Fri, 4 Jul 2008 11:03:36 +0000 (11:03 +0000)]
Version 1.9.3 for release.

16 years agoInclude pkg_*
Richard W.M. Jones [Fri, 4 Jul 2008 11:03:17 +0000 (11:03 +0000)]
Include pkg_*

16 years agoextlib is needed for CIL tools subdir
Richard W.M. Jones [Tue, 1 Jul 2008 14:36:25 +0000 (14:36 +0000)]
extlib is needed for CIL tools subdir

16 years agoNote about META file
Richard W.M. Jones [Tue, 1 Jul 2008 14:21:45 +0000 (14:21 +0000)]
Note about META file

16 years agoAllow bitmatch-import-prefix.h to be installed centrally.
Richard W.M. Jones [Tue, 1 Jul 2008 14:15:18 +0000 (14:15 +0000)]
Allow bitmatch-import-prefix.h to be installed centrally.

16 years agoVersion 1.9.2 for release.
Richard W.M. Jones [Tue, 1 Jul 2008 14:02:10 +0000 (14:02 +0000)]
Version 1.9.2 for release.

16 years agoSome fixes for building bmpp file.
Richard W.M. Jones [Tue, 1 Jul 2008 14:01:47 +0000 (14:01 +0000)]
Some fixes for building bmpp file.

16 years agoUpdated MANIFEST
Richard W.M. Jones [Tue, 1 Jul 2008 12:38:11 +0000 (12:38 +0000)]
Updated MANIFEST

16 years agoVersion 1.9.1 for release.
Richard W.M. Jones [Tue, 1 Jul 2008 12:37:03 +0000 (12:37 +0000)]
Version 1.9.1 for release.

16 years agoCIL examples.
Richard W.M. Jones [Tue, 1 Jul 2008 12:35:03 +0000 (12:35 +0000)]
CIL examples.

16 years agoJust warn about unimplemented types - they can be safely skipped.
Richard W.M. Jones [Tue, 1 Jul 2008 12:34:31 +0000 (12:34 +0000)]
Just warn about unimplemented types - they can be safely skipped.

16 years agoRefactor raising of Construct_failure exceptions and make the
Richard W.M. Jones [Tue, 1 Jul 2008 11:38:46 +0000 (11:38 +0000)]
Refactor raising of Construct_failure exceptions and make the
locations more precise (Bluestorm & RWMJ).

16 years agoMake the locations in error messages more specific.
Richard W.M. Jones [Tue, 1 Jul 2008 11:26:12 +0000 (11:26 +0000)]
Make the locations in error messages more specific.

16 years agoRefactor constructor and extractor function name generation (Bluestorm).
Richard W.M. Jones [Tue, 1 Jul 2008 11:19:34 +0000 (11:19 +0000)]
Refactor constructor and extractor function name generation (Bluestorm).

16 years agoRefactor parse_field function (Bluestorm).
Richard W.M. Jones [Tue, 1 Jul 2008 11:16:18 +0000 (11:16 +0000)]
Refactor parse_field function (Bluestorm).

16 years agoRefactor expr_is_constant (Bluestorm).
Richard W.M. Jones [Tue, 1 Jul 2008 11:09:59 +0000 (11:09 +0000)]
Refactor expr_is_constant (Bluestorm).

16 years agoAdded string offset tests.
Richard W.M. Jones [Tue, 1 Jul 2008 10:12:58 +0000 (10:12 +0000)]
Added string offset tests.

16 years agoConvenience function locfail (thanks to Bluestorm).
Richard W.M. Jones [Tue, 1 Jul 2008 09:12:39 +0000 (09:12 +0000)]
Convenience function locfail (thanks to Bluestorm).

16 years agoMap 8-bit int element arrays to strings
Richard W.M. Jones [Tue, 17 Jun 2008 15:33:16 +0000 (15:33 +0000)]
Map 8-bit int element arrays to strings

16 years agoMore items for TODO list
Richard W.M. Jones [Tue, 17 Jun 2008 15:32:27 +0000 (15:32 +0000)]
More items for TODO list

16 years agoChange cil tools to use computed offsets.
Richard W.M. Jones [Mon, 16 Jun 2008 21:37:16 +0000 (21:37 +0000)]
Change cil tools to use computed offsets.

16 years agoAdd string_of_*_field so we can print out fields more accurately.
Richard W.M. Jones [Mon, 16 Jun 2008 21:36:56 +0000 (21:36 +0000)]
Add string_of_*_field so we can print out fields more accurately.

16 years agoFix dependencies
Richard W.M. Jones [Mon, 16 Jun 2008 20:34:11 +0000 (20:34 +0000)]
Fix dependencies

16 years agoTest for offsets
Richard W.M. Jones [Mon, 16 Jun 2008 20:33:39 +0000 (20:33 +0000)]
Test for offsets

16 years agoDocument constructed offsets, zeroes_bitstring, ones_bitstring.
Richard W.M. Jones [Mon, 16 Jun 2008 20:33:21 +0000 (20:33 +0000)]
Document constructed offsets, zeroes_bitstring, ones_bitstring.

16 years agoImplement construct_bitstring, zeroes_bitstring, ones_bitstring functions.
Richard W.M. Jones [Mon, 16 Jun 2008 20:32:45 +0000 (20:32 +0000)]
Implement construct_bitstring, zeroes_bitstring, ones_bitstring functions.

16 years agoSupport for computed offsets in output. Also allow constructed bitstrings of length...
Richard W.M. Jones [Mon, 16 Jun 2008 20:30:24 +0000 (20:30 +0000)]
Support for computed offsets in output.  Also allow constructed bitstrings of length 0 bits.

16 years agoAdded computed offset field
Richard W.M. Jones [Mon, 16 Jun 2008 20:29:24 +0000 (20:29 +0000)]
Added computed offset field

16 years agoDocumentation cleanups
Richard W.M. Jones [Fri, 13 Jun 2008 20:57:35 +0000 (20:57 +0000)]
Documentation cleanups

16 years agoDocumentation cleanups
Richard W.M. Jones [Fri, 13 Jun 2008 20:56:02 +0000 (20:56 +0000)]
Documentation cleanups

16 years agoDocumentation cleanups
Richard W.M. Jones [Fri, 13 Jun 2008 20:52:06 +0000 (20:52 +0000)]
Documentation cleanups

16 years agoDocumentation clarification.
Richard W.M. Jones [Fri, 13 Jun 2008 20:07:43 +0000 (20:07 +0000)]
Documentation clarification.

16 years agoClarify how to write multiple patterns to a file
Richard W.M. Jones [Fri, 13 Jun 2008 20:06:00 +0000 (20:06 +0000)]
Clarify how to write multiple patterns to a file

16 years agoVersion 1.9 for release.
Richard W.M. Jones [Fri, 13 Jun 2008 16:04:51 +0000 (16:04 +0000)]
Version 1.9 for release.

16 years agoUpdate MANIFEST
Richard W.M. Jones [Fri, 13 Jun 2008 15:58:53 +0000 (15:58 +0000)]
Update MANIFEST