head 1.2; access; symbols pkgsrc-2014Q3:1.1.0.8 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.6 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.4 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.2 pkgsrc-2013Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2014.10.09.21.22.28; author jaapb; state dead; branches; next 1.1; commitid NuOc5SwOT95mtzTx; 1.1 date 2013.11.01.10.32.53; author jaapb; state Exp; branches; next ; commitid FoGusnZOLGs8Rybx; desc @@ 1.2 log @- improved test coverage - Enum: bugfix in clamp - Stream: add concat_map - List: fix a stack-overflow bug in transpose - List: add unfold_exc : (unit -> a) -> 'a list * exn - List: add fold_righti and fold_lefti - Substring : fix fold_left, add fold_lefti, fold_righti - String : add fold_lefti and fold_righti - Set.Make: add of_list - AvlTree: add (check : 'a tree -> bool) to check well-formedness - Hashtbl: make modify_opt/def resize the table to preserve amortized costs - Enum: fix combine's count in presence of infinite enums - Makefile: add a qtest-byte target - List: add modify_opt_at: int -> ('a -> 'a option) -> 'a list -> 'a list - List: add modify_at: int -> ('a -> 'a) -> 'a list -> 'a list - List: add remove_at: int -> 'a list -> 'a list - Int: add copysign - Deque: add rotate_forward, rotate_backward : 'a dq -> 'a dq - Int: fix overflow checking in Safe_int.mul - add a local OPAM description, allows to use opam pin add batteries git@@github.com:ocaml-batteries-team/batteries-included.git - Queue: add map : ('a -> 'b) -> 'a t -> 'b t - compatibility with 4.02: + Printf: remove CamlinternalPr for OCaml versions >= 4.02 + Printf: legacy code assumed (string = fmt) + new 4.02 functions: String.mapi (String.init was already in Batteries) List.sort_uniq (List.sort_unique existed before) Array.make_float (less efficient implementation provided for <4.02 versions) a BatBytes module relying on ocamlfind's compatibility module bytes-related functions in Buffer,Digest,Marshal,Printexc,Stream,Unix new Printexc callstack interface (not available for <4.02 versions) - cartesian product in batSet - Enum.concat_map alias - UChar.is_ascii - equality and enumeration (from, to UChar enum) in batText - String.find_all function - Seq.iteri, mapi, iter2, map2 (see issue #417) - cartesian product of enums (issue #442) - List.subset - Array.bsearch dichotomic search (issue #433) - Enum.print_at_most (issue #425) - BatOption.ord instance, (issue #393) - Fix infinite loop in BitSet - Levenshtein distance on strings - Seq.{of_list, equal} - basic .merlin file for merlin users - BatDeque.eq function to compare Deques by content - BatteriesExceptionless - More explicit overridding of ocamlbuild rules, use batteries.mllib - Add Kahan summation (numerically-accurate sum of floats) to List,Array,Enum - Add BatOption.some - (text) improve element indexing in BatList's mli documentation - Add BatList.filteri_map - Compatibility with ocaml 4.01 - Add BatList.filteri - Levenshtein distance on strings - Seq.{of_list, equal} - basic .merlin file for merlin users - BatDeque.eq function to compare Deques by content - BatteriesExceptionless - More explicit overridding of ocamlbuild rules, use batteries.mllib - Add Kahan summation (numerically-accurate sum of floats) to List,Array,Enum - Add BatOption.some - (text) improve element indexing in BatList's mli documentation - Add BatList.filteri_map - Compatibility with ocaml 4.01 - Add BatList.filteri - Add Set.split_lt and split_le - Add split_opt wherever there is split - Add List.range - Add the new O_CLOEXEC flag to Unix.open_flag in version 4.01 - Fix BatMutex.DebugMutex.id is always 0. - Simplify List.partition code - Add List.ntake and List.takedrop - Added List.Acc.create and use it - Add a LazyList.eager_fold_right alias to LazyList.fold_right, with sane argument order - and many tests and documentation - cleanup of whitespace @ text @$NetBSD: patch-src_batUnix.mliv,v 1.1 2013/11/01 10:32:53 jaapb Exp $ Patch (from upstream git) to compile with ocaml 4.01 --- src/batUnix.mliv.orig 2013-07-18 05:02:22.000000000 +0000 +++ src/batUnix.mliv @@@@ -261,6 +261,10 @@@@ type open_flag = Unix.open_flag = O_SYNC/O_DSYNC) *) ##V4## | O_SHARE_DELETE (** OCaml 4 and Windows only: allow the file to be deleted ##V4## while still open *) +##V4.1## | O_CLOEXEC (** Set the close-on-exec flag on the +##V4.1## descriptor returned by {!openfile} +##V4.1## +##V4.1## Since OCaml 4.1 *) (** The flags to {!Unix.openfile}. *) @ 1.1 log @Package update to version 2.1, including a patch to compile with ocaml 4.01 (upcoming). Changelog is only available through git, unfortunately. @ text @d1 1 a1 1 $NetBSD$ @