Skip to content

Commit

Permalink
Merge pull request #34 from avsm/master
Browse files Browse the repository at this point in the history
Release 1.4.0
  • Loading branch information
avsm committed Aug 10, 2014
2 parents 49bb74d + 14bc501 commit 80552bb
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
7 changes: 7 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
1.4.0 (2014-08-10):
Comprehensive addition of bounds checking to all cstruct operations
(from @pqwy in #33). The major changes are:
* Disallow negative indexing with all cstruct accessors.
* Disallow negative `sub` and `shift` operations.
* Make sure `of_bigarray` cannot create invalid `cstruct` values.

1.3.1 (2014-07-10):
* Also bounds test single-byte operations on views (#31 via @pqwy).

Expand Down
4 changes: 2 additions & 2 deletions _oasis
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
OASISFormat: 0.3
Name: cstruct
Version: 1.3.1
Version: 1.4.0
Synopsis: Manipulate external buffers as C-like structs
Authors: Anil Madhavapeddy, Richard Mortier, Thomas Gazagnaire, Pierre Chambart
Authors: Anil Madhavapeddy, Richard Mortier, Thomas Gazagnaire, Pierre Chambart, David Kaloper
License: ISC
Plugins: META (0.3)
BuildTools: ocamlbuild
Expand Down
12 changes: 6 additions & 6 deletions lib/META
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OASIS_START
# DO NOT EDIT (digest: 2e437c001e7f8abdd6eeaeb6204ce8bd)
version = "1.3.1"
# DO NOT EDIT (digest: 5ccc5c7daae2f9e781d938a510122323)
version = "1.4.0"
description = "Manipulate external buffers as C-like structs"
requires = "bigarray ocplib-endian ocplib-endian.bigstring sexplib"
archive(byte) = "cstruct.cma"
Expand All @@ -9,7 +9,7 @@ archive(native) = "cstruct.cmxa"
archive(native, plugin) = "cstruct.cmxs"
exists_if = "cstruct.cma"
package "unix" (
version = "1.3.1"
version = "1.4.0"
description = "Manipulate external buffers as C-like structs"
requires = "cstruct unix"
archive(byte) = "unix_cstruct.cma"
Expand All @@ -20,7 +20,7 @@ package "unix" (
)

package "syntax" (
version = "1.3.1"
version = "1.4.0"
description = "Syntax extension for Cstruct"
requires = "camlp4"
archive(syntax, preprocessor) = "cstruct-syntax.cma"
Expand All @@ -31,7 +31,7 @@ package "syntax" (
)

package "lwt" (
version = "1.3.1"
version = "1.4.0"
description = "Manipulate external buffers as C-like structs"
requires = "cstruct lwt.unix"
archive(byte) = "lwt_cstruct.cma"
Expand All @@ -42,7 +42,7 @@ package "lwt" (
)

package "async" (
version = "1.3.1"
version = "1.4.0"
description = "Manipulate external buffers as C-like structs"
requires = "cstruct async threads"
archive(byte) = "async_cstruct.cma"
Expand Down
11 changes: 6 additions & 5 deletions setup.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* setup.ml generated for the first time by OASIS v0.3.0 *)

(* OASIS_START *)
(* DO NOT EDIT (digest: cb4ac705f0456d9f9f985bc01fc62b80) *)
(* DO NOT EDIT (digest: a113e1561157e8a52c9c8efac191f165) *)
(*
Regenerated by OASIS v0.4.4
Visit http://oasis.forge.ocamlcore.org for more information and
Expand Down Expand Up @@ -6826,7 +6826,7 @@ let setup_t =
alpha_features = [];
beta_features = [];
name = "cstruct";
version = "1.3.1";
version = "1.4.0";
license =
OASISLicense.DEP5License
(OASISLicense.DEP5Unit
Expand All @@ -6843,7 +6843,8 @@ let setup_t =
"Anil Madhavapeddy";
"Richard Mortier";
"Thomas Gazagnaire";
"Pierre Chambart"
"Pierre Chambart";
"David Kaloper"
];
homepage = None;
synopsis = "Manipulate external buffers as C-like structs";
Expand Down Expand Up @@ -7192,14 +7193,14 @@ let setup_t =
};
oasis_fn = Some "_oasis";
oasis_version = "0.4.4";
oasis_digest = Some "9\135ñ\t\159wöoÈÊs/k\157\133\132";
oasis_digest = Some "C\136½;ç,Çû5kë\155Ë\1369@";
oasis_exec = None;
oasis_setup_args = [];
setup_update = false
};;

let setup () = BaseSetup.setup setup_t;;

# 7204 "setup.ml"
# 7205 "setup.ml"
(* OASIS_STOP *)
let () = setup ();;

0 comments on commit 80552bb

Please sign in to comment.