Skip to content
This repository was archived by the owner on Oct 18, 2020. It is now read-only.

Commit 84431dd

Browse files
authored
Merge pull request #186 from djs55/prepare.3.0.1
Prepare to release v3.0.1
2 parents f757750 + d8c2a35 commit 84431dd

8 files changed

Lines changed: 50 additions & 57 deletions

File tree

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.0.1 (2017-05-29)
2+
* [xen]: Depend on the new shared-memory-ring-lwt package
3+
* Update appveyor configuration
4+
* Reformat CHANGES.md to the topkg/Mirage style
5+
16
## 3.0.0 (2017-01-24)
27
* [xen-ocaml] Add support for OCaml 4.04.0 (#173, by @yomimono)
38
* don't embed Str into the ocaml runtime (#175, by @hannesm)

unix/_oasis

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OASISFormat: 0.4
22
Name: mirage-xen
3-
Version: 2.6.0
3+
Version: 3.0.1
44
Synopsis: Library support for the Mirage/Unix backend
55
Authors: Anil Madhavapeddy, Dave Scott, Thomas Gazagnaire, Thomas Leonard
66
License: ISC

unix/lib/META

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OASIS_START
2-
# DO NOT EDIT (digest: e0afbc0f9a0abd9b66a7570405841ac3)
3-
version = "2.6.0"
2+
# DO NOT EDIT (digest: 9351c5f5d3d38eb92467cdd3491e42a7)
3+
version = "3.0.1"
44
description = "Library support for the Mirage/Unix backend"
55
requires = "cstruct lwt lwt.unix io-page.unix io-page mirage-clock-unix logs"
66
archive(byte) = "OS.cma"

unix/myocamlbuild.ml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(* OASIS_START *)
2-
(* DO NOT EDIT (digest: abb4659aa302475da4cd11d815511bff) *)
2+
(* DO NOT EDIT (digest: 6138eb169b7fd3d38bdc7b1f857e15c6) *)
33
module OASISGettext = struct
44
(* # 22 "src/oasis/OASISGettext.ml" *)
55

@@ -105,10 +105,7 @@ module OASISString = struct
105105
ok := false;
106106
incr str_idx
107107
done;
108-
if !what_idx = String.length what then
109-
true
110-
else
111-
false
108+
!what_idx = String.length what
112109

113110

114111
let strip_starts_with ~what str =
@@ -131,10 +128,7 @@ module OASISString = struct
131128
ok := false;
132129
decr str_idx
133130
done;
134-
if !what_idx = -1 then
135-
true
136-
else
137-
false
131+
!what_idx = -1
138132

139133

140134
let strip_ends_with ~what str =
@@ -440,7 +434,7 @@ module OASISExpr = struct
440434
end
441435

442436

443-
# 443 "myocamlbuild.ml"
437+
# 437 "myocamlbuild.ml"
444438
module BaseEnvLight = struct
445439
(* # 22 "src/base/BaseEnvLight.ml" *)
446440

@@ -520,7 +514,7 @@ module BaseEnvLight = struct
520514
end
521515

522516

523-
# 523 "myocamlbuild.ml"
517+
# 517 "myocamlbuild.ml"
524518
module MyOCamlbuildFindlib = struct
525519
(* # 22 "src/plugins/ocamlbuild/MyOCamlbuildFindlib.ml" *)
526520

@@ -746,6 +740,9 @@ module MyOCamlbuildBase = struct
746740
(* # 110 "src/plugins/ocamlbuild/MyOCamlbuildBase.ml" *)
747741

748742

743+
let env_filename = Pathname.basename BaseEnvLight.default_filename
744+
745+
749746
let dispatch_combine lst =
750747
fun e ->
751748
List.iter
@@ -878,7 +875,7 @@ module MyOCamlbuildBase = struct
878875
end
879876

880877

881-
# 881 "myocamlbuild.ml"
878+
# 878 "myocamlbuild.ml"
882879
open Ocamlbuild_plugin;;
883880
let package_default =
884881
{
@@ -893,6 +890,6 @@ let conf = {MyOCamlbuildFindlib.no_automatic_syntax = false}
893890

894891
let dispatch_default = MyOCamlbuildBase.dispatch_default conf package_default;;
895892

896-
# 897 "myocamlbuild.ml"
893+
# 894 "myocamlbuild.ml"
897894
(* OASIS_STOP *)
898895
Ocamlbuild_plugin.dispatch dispatch_default;;

unix/setup.ml

Lines changed: 25 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
(* setup.ml generated for the first time by OASIS v0.4.5 *)
22

33
(* OASIS_START *)
4-
(* DO NOT EDIT (digest: e3d4a93fc848c3e09028527cd267b038) *)
4+
(* DO NOT EDIT (digest: 89e5d1c79cd7017a31f68adde817353f) *)
55
(*
6-
Regenerated by OASIS v0.4.7
6+
Regenerated by OASIS v0.4.10
77
Visit http://oasis.forge.ocamlcore.org for more information and
88
documentation about functions used in this file.
99
*)
@@ -112,10 +112,7 @@ module OASISString = struct
112112
ok := false;
113113
incr str_idx
114114
done;
115-
if !what_idx = String.length what then
116-
true
117-
else
118-
false
115+
!what_idx = String.length what
119116

120117

121118
let strip_starts_with ~what str =
@@ -138,10 +135,7 @@ module OASISString = struct
138135
ok := false;
139136
decr str_idx
140137
done;
141-
if !what_idx = -1 then
142-
true
143-
else
144-
false
138+
!what_idx = -1
145139

146140

147141
let strip_ends_with ~what str =
@@ -658,6 +652,7 @@ module OASISContext = struct
658652
ignore_unknown_fields: bool;
659653
printf: level -> string -> unit;
660654
srcfs: source OASISFileSystem.fs;
655+
load_oasis_plugin: string -> bool;
661656
}
662657

663658

@@ -682,6 +677,7 @@ module OASISContext = struct
682677
ignore_unknown_fields = false;
683678
printf = printf;
684679
srcfs = new OASISFileSystem.host_fs(Sys.getcwd ());
680+
load_oasis_plugin = (fun _ -> false);
685681
}
686682

687683

@@ -3160,7 +3156,7 @@ module OASISFileUtil = struct
31603156
end
31613157

31623158

3163-
# 3163 "setup.ml"
3159+
# 3159 "setup.ml"
31643160
module BaseEnvLight = struct
31653161
(* # 22 "src/base/BaseEnvLight.ml" *)
31663162

@@ -3240,7 +3236,7 @@ module BaseEnvLight = struct
32403236
end
32413237

32423238

3243-
# 3243 "setup.ml"
3239+
# 3239 "setup.ml"
32443240
module BaseContext = struct
32453241
(* # 22 "src/base/BaseContext.ml" *)
32463242

@@ -5663,7 +5659,7 @@ module BaseCompat = struct
56635659
end
56645660

56655661

5666-
# 5666 "setup.ml"
5662+
# 5662 "setup.ml"
56675663
module InternalConfigurePlugin = struct
56685664
(* # 22 "src/plugins/internal/InternalConfigurePlugin.ml" *)
56695665

@@ -6014,17 +6010,14 @@ module InternalInstallPlugin = struct
60146010

60156011
let install =
60166012

6017-
let in_destdir =
6013+
let in_destdir fn =
60186014
try
6019-
let destdir =
6020-
destdir ()
6021-
in
6022-
(* Practically speaking destdir is prepended
6023-
* at the beginning of the target filename
6024-
*)
6025-
fun fn -> destdir^fn
6015+
(* Practically speaking destdir is prepended at the beginning of the
6016+
target filename
6017+
*)
6018+
(destdir ())^fn
60266019
with PropList.Not_set _ ->
6027-
fun fn -> fn
6020+
fn
60286021
in
60296022

60306023
let install_file ~ctxt ?(prepend_destdir=true) ?tgt_fn src_file envdir =
@@ -6469,7 +6462,7 @@ module InternalInstallPlugin = struct
64696462
end
64706463

64716464

6472-
# 6472 "setup.ml"
6465+
# 6465 "setup.ml"
64736466
module OCamlbuildCommon = struct
64746467
(* # 22 "src/plugins/ocamlbuild/OCamlbuildCommon.ml" *)
64756468

@@ -6826,11 +6819,10 @@ module OCamlbuildDocPlugin = struct
68266819
run_ocamlbuild ~ctxt (index_html :: run.extra_args) argv;
68276820
List.iter
68286821
(fun glb ->
6829-
BaseBuilt.register
6830-
~ctxt
6831-
BaseBuilt.BDoc
6832-
cs.cs_name
6833-
[OASISFileUtil.glob ~ctxt (Filename.concat tgt_dir glb)])
6822+
match OASISFileUtil.glob ~ctxt (Filename.concat tgt_dir glb) with
6823+
| (_ :: _) as filenames ->
6824+
BaseBuilt.register ~ctxt BaseBuilt.BDoc cs.cs_name [filenames]
6825+
| [] -> ())
68346826
["*.html"; "*.css"]
68356827

68366828

@@ -6842,7 +6834,7 @@ module OCamlbuildDocPlugin = struct
68426834
end
68436835

68446836

6845-
# 6845 "setup.ml"
6837+
# 6837 "setup.ml"
68466838
open OASISTypes;;
68476839

68486840
let setup_t =
@@ -6863,7 +6855,7 @@ let setup_t =
68636855
{
68646856
oasis_version = "0.4";
68656857
ocaml_version = None;
6866-
version = "2.6.0";
6858+
version = "3.0.1";
68676859
license =
68686860
OASISLicense.DEP5License
68696861
(OASISLicense.DEP5Unit
@@ -7087,16 +7079,16 @@ let setup_t =
70877079
plugin_data = []
70887080
};
70897081
oasis_fn = Some "_oasis";
7090-
oasis_version = "0.4.7";
7091-
oasis_digest = Some "\143\252G\2500d9d,\247\r\012\168\023\2271";
7082+
oasis_version = "0.4.10";
7083+
oasis_digest = Some "{\206\248`\239BP\214)O\242V\217\214\190\171";
70927084
oasis_exec = None;
70937085
oasis_setup_args = [];
70947086
setup_update = false
70957087
};;
70967088

70977089
let setup () = BaseSetup.setup setup_t;;
70987090

7099-
# 7100 "setup.ml"
7091+
# 7092 "setup.ml"
71007092
let setup_t = BaseCompat.Compat_0_4.adapt_setup_t setup_t
71017093
open BaseCompat.Compat_0_4
71027094
(* OASIS_STOP *)

xen/_oasis

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OASISFormat: 0.4
22
Name: mirage-xen
3-
Version: 2.6.0
3+
Version: 3.0.1
44
Synopsis: Library support for the Mirage/Xen backend
55
Authors: Anil Madhavapeddy, Dave Scott, Thomas Gazagnaire, Thomas Leonard
66
License: ISC

xen/lib/META

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OASIS_START
2-
# DO NOT EDIT (digest: 106e1d383e2c1fe9710ba543ff341477)
3-
version = "2.6.0"
2+
# DO NOT EDIT (digest: 3a3a3bfdf7063471164fac5e46568468)
3+
version = "3.0.1"
44
description = "Library support for the Mirage/Xen backend"
55
requires =
66
"lwt cstruct xen-evtchn xen-gnt xenstore.client shared-memory-ring shared-memory-ring-lwt mirage-clock-freestanding io-page mirage-profile logs"

xen/setup.ml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* setup.ml generated for the first time by OASIS v0.4.5 *)
22

33
(* OASIS_START *)
4-
(* DO NOT EDIT (digest: 7973cd260f1517ebe1c89648ec484065) *)
4+
(* DO NOT EDIT (digest: e06fbf007c54952aad1bd42ef13c093e) *)
55
(*
66
Regenerated by OASIS v0.4.10
77
Visit http://oasis.forge.ocamlcore.org for more information and
@@ -6855,7 +6855,7 @@ let setup_t =
68556855
{
68566856
oasis_version = "0.4";
68576857
ocaml_version = None;
6858-
version = "2.6.0";
6858+
version = "3.0.1";
68596859
license =
68606860
OASISLicense.DEP5License
68616861
(OASISLicense.DEP5Unit
@@ -7097,16 +7097,15 @@ let setup_t =
70977097
};
70987098
oasis_fn = Some "_oasis";
70997099
oasis_version = "0.4.10";
7100-
oasis_digest =
7101-
Some "\189b\241\170\030\175\168ZM\027\132\027\238Y\183\179";
7100+
oasis_digest = Some "\194MwD=\1468\220\127$\148\012P\187-\128";
71027101
oasis_exec = None;
71037102
oasis_setup_args = [];
71047103
setup_update = false
71057104
};;
71067105

71077106
let setup () = BaseSetup.setup setup_t;;
71087107

7109-
# 7110 "setup.ml"
7108+
# 7109 "setup.ml"
71107109
let setup_t = BaseCompat.Compat_0_4.adapt_setup_t setup_t
71117110
open BaseCompat.Compat_0_4
71127111
(* OASIS_STOP *)

0 commit comments

Comments
 (0)