From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 115747EE49 for ; Thu, 12 Sep 2013 13:59:44 +0200 (CEST) X-IronPort-AV: E=Sophos;i="4.90,890,1371074400"; d="scan'208";a="32590663" Received: from mf-40021.rocq.inria.fr ([128.93.40.21]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA; 12 Sep 2013 13:59:43 +0200 From: Damien Doligez Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 12 Sep 2013 13:59:43 +0200 To: caml users , caml announce Message-Id: <9994E196-90F5-4396-A31D-E1C60822DED1@inria.fr> Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) Subject: [Caml-list] OCaml release 4.01.0 Dear OCaml users, We have the pleasure of celebrating the birthday of Ir=C3=A8ne Joliot-Curie by announcing the release of OCaml version 4.01.0. This is a major release that introduces type-based disambiguation of constructors and record field labels, a whole lot of new warnings, and many other features described in detail at the end of this mail. It is available here: < http://caml.inria.fr/download.en.html > This is released as source for the time being, binary versions will probably be available in the near future. We would like to take the opportunity to thank all the contributors, bug reporters, and packagers who are helping us make OCaml better. Thanks also to the people who tested the beta and RC versions and reported on the results: Byron D. Allen, David Allsop, Mathieu Barbin, John Carr, Anil Madhavapeddy, Christophe Raffalli, David Sheets, and if I've forgotten someone, please forgive me. Happy hacking, -- Damien Doligez for the OCaml team. High-level description of the changes: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Language features: - It is now possible to have several variant constructors or record fields of the same name in scope, and type information will be used to disambiguate which one is used -- instead of always using the last one. ocaml -w +41 # warning 41, disabled by default, # warns when the last-in-scope is used without type inform= ation # type t =3D A | B;; # type u =3D A;; # let x : t =3D A;; val x : t =3D A # let y =3D A;; Warning 41: A belongs to several types: u t The first one was selected. Please disambiguate if this is wrong. val y : u =3D A This slightly controversial feature can be tweaked in various ways through an extensive set of warning (40, 41, 42): by converting some of them as errors, you can disable it completely or control its applicability. See http://www.lexifi.com/blog/type-based-selection-label-and-constructors for a more detailed description of the feature. (Jacques Garrigue, Alain Frisch and Leo P. White) - The new warnings 44 and 45 (disabled by default) can be activated to warn about identifiers that are used after having been shadowed by an `open` construct. The `open` keyword can be written `open!` to silence this warning (as method! silences the method warning). No warning-silencing variant is available for the syntax `M.(e)`. ocaml -w +44 # module M =3D struct let x =3D 1 end;; module M : sig val x : int end # let x =3D 2 in let open M in x;; ^^^^^^^^^^^^^^^ Warning 44: this open statement shadows the value identifier x (which is later used) - : int =3D 1 # let x =3D 2 in let open! M in x;; - : int =3D 1 Warning 44 concerns all kinds of shadowing, except record labels and variant constructors (warning 45). Those were separated out as users of type-based disambiguation may want to shadow them freely, and yet warn on usual shadowing of value variables. (Alain Frisch, thanks to a request of Daniel B=C3=BCnzli) User experience: - The -short-path option changes the way the type-checker prints types to pick a short representation (eg. `string` instead of `StringSet.elt`). Longer types are sometimes more helpful to understand where the type comes from, but -short-path was found to help readability in functor-heavy code, such as when using Jane Street's Core library. (Jacques Garrigue, with helpful feedback from Jane Street) - The compiler now suggests possible typos on "unbound identifier" errors (Gabriel Scherer) # Unix.read_link;; Error: Unbound value Unix.read_link Did you mean readlink? - After ten years being deprecated, infix operators (&) and (or) now raise an activated-by-default warning (the existing warning 3, Deprecated feature). Use (&&) and (||) instead. ISO-latin1 characters in variable names are also deprecated in this way. (Damien Doligez) - Infix application operators (|>) and (@@) are added to Pervasives (Fabrice Le Fessant) let even x =3D x mod 2 =3D 0 let () =3D [1;2;3] |> List.tl |> List.filter even |> List.iter print_int let () =3D List.iter print_int @@ List.filter even @@ List.tl [1;2;3] Runtime: - Runtime support for printing general stack traces, and efficient generation of stack traces or exception backtraces that won't be printed immediately (Jacques-Henri Jourdan and Gabriel Scherer, Alain Frisch) - New -with-frame-pointers configure switch to add a frame pointer to each stack frame. This improves the effectiveness of debugging/profiling tools (in particular in-kernel 'perf' tool that doesn't support the less invasive DWARF information approach developed by Mark Shinwell), at the cost of a modest performance hit. (Fabrice Le Fessant) Background work: - A lot of debugging for GADTs in the type system, in particular GADT exhaustiveness checking; uncovered an old soundness bug due to parametrized types implicitly considered injective in constraints (Jacques Garrigue, Leo P. White and Jeremy Yallop) - Jacques Garrigue also did subtle work to allow the propagation of types inside all patterns, including those containing polymorphic variants. This propagation is needed for GADT typing and type-based disambiguation. - A lot of work to speedup compilation with -annot and -bin-annot by (Alain Frisch, with some help from Guillaume Melquiond) - Adrien Nader integrated (thanks to careful review by Wojciech Meyer) a big chunk of his cross-compilation patches; full cross-compilation is not yet available but keeps getting closer. - OCamlbuild benefited from lot of bugfixes and granted feature wishes, as well as a shiny new testsuite (Wojciech Meyer, Gabriel Scherer, with some help from Gabriel Kerneis) - Damien Doligez did tedious work reorganizing the testsuite, reproducing bugs in exotic settings, and setting a continuous-integration instance to spot build failures earlier. - Benedikt Meurer kept improving the ARM-backend (eg. CFI directives support) and made general cleanups of register allocation - Pierre Chambart integrated various performance-optimization patches in various spots that were easy to optimize and led to observable improvements; he's now working on a much more ambitious analysis and optimization pass that is still in the prototype phase. - A changelog message with attributions and too much detail. (Gabriel Scherer) Experimental features -- will probably change in the next versions: - The new -ppx option allows to pass ast-to-ast rewriters as external programs (Alain Frisch). It is still experimental, and not yet featureful enough for wide usage. The forthcoming integration of the extension_points work of Alain will make it suitable to more use-cases. - Experimental OCAMLPARAM environment variable to set compilation option (just as from the command-line, but easier to tweak for users that need to set some parameters globally for whole build) (Fabrice Le Fessant) - ocamlbuild has a new -plugin-tags option that allows to pass arbitrary tags to the compilation of the myocamlbuild.ml (Gabriel Scherer). This feature is still experimental, but the aim is to let experts distribute reusable ocamlbuild plugin as libraries, instead of having users copy-paste the recipe. Some of the external contributions: - Valentin Gatien-Baron fixed a quadratic blowup of linktime due to a recent optimization of partial application primitives. He also spotted a missing specialization of integer comparison that degraded compilation times. - Anil Madhavapeddy added ocamlbuild targets foo.byte.o, foo.byte.c and foo.native.o for object file production (the -output-obj compiler option) - Christophe Troestler significantly improved the ocamlbuild API documentation, found in the "signatures.mli" file exporting user-visible interfaces for the OCamlbuild components accessible from a plugin - Beno=C3=AEt Vaugon and Chet Murthy contributed a non-invasive fix to manipulation of bytecode files of size > Sys.max_string_length (which could happen on 32bit machines) ---------------------------------------------------------------------------= ---- Change log: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Changes that can break existing programs are marked with a "*") Other libraries: - Labltk: updated to Tcl/Tk 8.6. Type system: - PR#5759: use well-disciplined type information propagation to disambiguate label and constructor names (Jacques Garrigue, Alain Frisch and Leo P. White) * Propagate type information towards pattern-matching, even in the presence= of polymorphic variants (discarding only information about possibly-present constructors). As a result, matching against absent constructors is no lo= nger allowed for exact and fixed polymorphic variant types. (Jacques Garrigue) * PR#6035: Reject multiple declarations of the same method or instance vari= able in an object (Alain Frisch) Compilers: - PR#5861: raise an error when multiple private keywords are used in type declarations (Hongbo Zhang) - PR#5634: parsetree rewriter (-ppx flag) (Alain Frisch) - ocamldep now supports -absname (Alain Frisch) - PR#5768: On "unbound identifier" errors, use spell-checking to suggest na= mes present in the environment (Gabriel Scherer) - ocamlc has a new option -dsource to visualize the parsetree (Alain Frisch, Hongbo Zhang) - tools/eqparsetree compares two parsetree ignoring location (Hongbo Zhang) - ocamlopt now uses clang as assembler on OS X if available, which enables CFI support for OS X. (Benedikt Meurer) - Added a new -short-paths option, which attempts to use the shortest representation for type constructors inside types, taking open modules into account. This can make types much more readable if your code uses lots of functors. (Jacques Garrigue) - PR#5986: added flag -compat-32 to ocamlc, ensuring that the generated bytecode executable can be loaded on 32-bit hosts. (Xavier Leroy) - PR#5980: warning on open statements which shadow an existing identifier (if it is actually used in the scope of the open); new open! syntax to silence it locally (Alain Frisch, thanks to a report of Daniel B=C3=BCnzli) * warning 3 is extended to warn about other deprecated features: - ISO-latin1 characters in identifiers - uses of the (&) and (or) operators instead of (&&) and (||) (Damien Doligez) - Experimental OCAMLPARAM for ocamlc and ocamlopt (Fabrice Le Fessant) - PR#5571: incorrect ordinal number in error message (Alain Frisch, report by John Carr) - PR#6073: add signature to Tstr_include (patch by Leo P. White) Standard library: - PR#5899: expose a way to inspect the current call stack, Printexc.get_callstack (Gabriel Scherer, Jacques-Henri Jourdan, Alain Frisch) - PR#5986: new flag Marshal.Compat_32 for the serialization functions (Marshal.to_*), forcing the output to be readable on 32-bit hosts. (Xavier Leroy) - infix application operators |> and @@ in Pervasives (Fabrice Le Fessant) Other libraries: - PR#5568: add O_CLOEXEC flag to Unix.openfile, so that the returned file descriptor is created in close-on-exec mode (Xavier Leroy) Runtime system: * PR#6019: more efficient implementation of caml_modify() and caml_initiali= ze(). The new implementations are less lenient than the old ones: now, the destination pointer of caml_modify() must point within the minor or major heaps, and the destination pointer of caml_initialize() must point within the major heap. (Xavier Leroy, from an experiment by Brian Nigito, with feedback from Yaron Minsky and Gerd Stolpmann) Internals: - Moved debugger/envaux.ml to typing/envaux.ml to publish env_of_only_summa= ry as part of compilerlibs, to be used on bin-annot files. (Fabrice Le Fessant) - The test suite can now be run without installing OCaml first. (Damien Doligez) Bug fixes: - PR#3236: Document the fact that queues are not thread-safe (Damien Doligez) - PR#3468: (part 1) Sys_error documentation (Damien Doligez) - PR#3679: Warning display problems (Fabrice Le Fessant) - PR#3963: Graphics.wait_next_event in Win32 hangs if window closed (Damien Doligez) - PR#4079: Queue.copy is now tail-recursive (patch by Christophe Papazian) - PR#4138: Documentation for Unix.mkdir (Damien Doligez) - PR#4469: emacs mode: caml-set-compile-command is annoying with ocamlbuild (Daniel B=C3=BCnzli) - PR#4485: Graphics: Keyboard events incorrectly delivered in native code (Damien Doligez, report by Sharvil Nanavati) - PR#4502: ocamlbuild now reliably excludes the build-dir from hygiene check (Gabriel Scherer, report by Romain Bardou) - PR#4762: ?? is not used at all, but registered as a lexer token (Alain Frisch) - PR#4788: wrong error message when executable file is not found for backtr= ace (Damien Doligez, report by Claudio Sacerdoti Coen) - PR#4812: otherlibs/unix: add extern int code_of_unix_error (value error); (Goswin von Berdelow) - PR#4887: input_char after close_in crashes ocaml (msvc runtime) (Alain Frisch and Christoph Bauer, report by ygrek) - PR#4994: ocaml-mode doesn't work with xemacs21 (Damien Doligez, report by St=C3=A9phane Glondu) - PR#5098: creating module values may lead to memory leaks (Alain Frisch, report by Milan Stanojevi=C4=87) - PR#5102: ocamlbuild fails when using an unbound variable in rule dependen= cy (Xavier Clerc, report by Daniel B=C3=BCnzli) * PR#5119: camlp4 now raises a specific exception when 'DELETE_RULE' fails, rather than raising 'Not_found' (ygrek) - PR#5121: %( %) in Format module seems to be broken (Pierre Weis, first patch by Valentin Gatien-Baron, report by Khoo Yit Ph= ang) - PR#5178: document in INSTALL how to build a 32-bit version under Linux x8= 6-64 (Benjamin Monate) - PR#5212: Improve ocamlbuild error messages of _tags parser (ygrek) - PR#5240: register exception printers for Unix.Unix_error and Dynlink.Error (J=C3=A9r=C3=A9mie Dimino) - PR#5300: ocamlbuild: verbose parameter should implicitly set classic disp= lay (Xavier Clerc, report by Robert Jakob) - PR#5327: (Windows) Unix.select blocks if same socket listed in first and third arguments (David Allsopp, displaying impressive MSDN skills) - PR#5343: ocaml -rectypes is unsound wrt module subtyping (was still unsou= nd) (Jacques Garrigue) - PR#5350: missing return code checks in the runtime system (Xavier Leroy) - PR#5468: ocamlbuild should preserve order of parametric tags (Wojciech Meyer, report by Dario Texeira) - PR#5551: Avoid repeated lookups for missing cmi files (Alain Frisch) - PR#5552: unrecognized gcc option -no-cpp-precomp (Damien Doligez, report by Markus Mottl) - PR#5580: missed opportunities for constant propagation (Xavier Leroy and John Carr) - PR#5611: avoid clashes betwen .cmo files and output files during linking (Wojciech Meyer) - PR#5662: typo in md5.c (Olivier Andrieu) - PR#5673: type equality in a polymorphic field (Jacques Garrigue, report by Jean-Louis Giavitto) - PR#5674: Methods call are 2 times slower with 4.00 than with 3.12 (Jacques Garrigue, Gabriel Scherer, report by Jean-Louis Giavitto) - PR#5694: Exception raised by type checker (Jacques Garrigue, report by Markus Mottl) - PR#5695: remove warnings on sparc code emitter (Fabrice Le Fessant) - PR#5697: better location for warnings on statement expressions (Dan Bensen) - PR#5698: remove harcoded limit of 200000 labels in emitaux.ml (Fabrice Le Fessant, report by Marcin Sawicki) - PR#5702: bytecomp/bytelibrarian lib_sharedobjs was defined but never used (Hongbo Zhang, Fabrice Le Fessant) - PR#5708: catch Failure"int_of_string" in ocamldebug (Fabrice Le Fessant, report by user 'schommer') - PR#5712: (9) new option -bin-annot is not documented (Damien Doligez, report by Hendrik Tews) - PR#5731: instruction scheduling forgot to account for destroyed registers (Xavier Leroy, Benedikt Meurer, reported by Jeffrey Scofield) - PR#5734: improved Win32 implementation of Unix.gettimeofday (David Allsopp) - PR#5735: %apply and %revapply not first class citizens (Fabrice Le Fessant, reported by Jun Furuse) - PR#5738: first class module patterns not handled by ocamldep (Fabrice Le Fessant, Jacques Garrigue, reported by Hongbo Zhang) - PR#5739: Printf.printf "%F" (-.nan) returns -nan (Xavier Leroy, David Allsopp, reported by Samuel Mimram) - PR#5741: make pprintast.ml in compiler_libs (Alain Frisch, Hongbo Zhang) - PR#5747: 'unused open' warning not given when compiling with -annot (Alain Frisch, reported by Valentin Gatien-Baron) - PR#5752: missing dependencies at byte-code link with mlpack (Wojciech Meyer, Nicholas Lucaroni) - PR#5763: ocamlbuild does not give correct flags when running menhir (Gabriel Scherer, reported by Philippe Veber) - PR#5765: ocamllex doesn't preserve line directives (Damien Doligez, reported by Martin Jambon) - PR#5770: Syntax error messages involving unclosed parens are sometimes incorrect (Michel Mauny) - PR#5772: problem with marshaling of mutually-recursive functions (Jacques-Henri Jourdan, reported by C=C3=A9dric Pasteur) - PR#5775: several bug fixes for tools/pprintast.ml (Hongbo Zhang) - PR#5784: -dclambda option is ignored (Pierre Chambart) - PR#5785: misbehaviour with abstracted structural type used as GADT index (Jacques Garrigue, report by Jeremy Yallop) - PR#5787: Bad behavior of 'Unused ...' warnings in the toplevel (Alain Frisch) - PR#5793: integer marshalling is inconsistent between architectures (Xavier Clerc, report by Pierre-Marie P=C3=A9drot) - PR#5798: add ARM VFPv2 support for Raspbian (ocamlopt) (Jeffrey Scofield and Anil Madhavapeddy, patch review by Benedikt Meurer) - PR#5802: Avoiding "let" as a value name (Jacques Garrigue, report by Tiphaine Turpin) - PR#5805: Assert failure with warning 34 on pre-processed file (Alain Frisch, report by Tiphaine Turpin) - PR#5806: ensure that backtrace tests are always run (testsuite) (Xavier Clerc, report by user 'michi') - PR#5809: Generating .cmt files takes a long time, in case of type error (Alain Frisch) - PR#5810: error in switch printing when using -dclambda (Pierre Chambart) - PR#5811: Untypeast produces singleton tuples for constructor patterns with only one argument (Tiphaine Turpin) - PR#5813: GC not called when unmarshaling repeatedly in a tight loop (ocam= lopt) (Xavier Leroy, report by David Waern) - PR#5814: read_cmt -annot does not report internal references (Alain Frisch) - PR#5815: Multiple exceptions in signatures gives an error (Leo P. White) - PR#5816: read_cmt -annot does not work for partial .cmt files (Alain Frisch) - PR#5819: segfault when using [with] on large recursive record (ocamlopt) (Xavier Leroy, Damien Doligez) - PR#5821: Wrong record field is reported as duplicate (Alain Frisch, report by Martin Jambon) - PR#5824: Generate more efficient code for immediate right shifts. (Pierre Chambart, review by Xavier Leroy) - PR#5825: Add a toplevel primitive to use source file wrapped with the coresponding module (Gr=C3=A9goire Henry, Wojciech Meyer, caml-list discussion) - PR#5833: README.win32 can leave the wrong flexlink in the path (Damien Doligez, report by William Smith) - PR#5835: nonoptional labeled arguments can be passed with '?' (Jacques Garrigue, report by Elnatan Reisner) - PR#5840: improved documentation for 'Unix.lseek' (Xavier Clerc, report by Matej Ko=C5=A1=C3=ADk) - PR#5848: Assertion failure in type checker (Jacques Garrigue, Alain Frisch, report by David Waern) - PR#5858: Assert failure during typing of class (Jacques Garrigue, report by Julien Signoles) - PR#5865: assert failure when reporting undefined field label (Jacques Garrigue, report by Anil Madhavapeddy) - PR#5872: Performance: Buffer.add_char is not inlined (Gerd Stolpmann, Damien Doligez) - PR#5876: Uncaught exception with a typing error (Alain Frisch, Gabriel Scherer, report by Julien Moutinho) - PR#5877: multiple "open" can become expensive in memory (Fabrice Le Fessant and Alain Frisch) - PR#5880: 'Genlex.make_lexer' documention mentions the wrong exception (Xavier Clerc, report by Virgile Prevosto) - PR#5885: Incorrect rule for compiling C stubs when shared libraries are n= ot supported. (J=C3=A9r=C3=B4me Vouillon) - PR#5891: ocamlbuild: support rectypes tag for mlpack (Khoo Yit Phang) - PR#5892: GADT exhaustiveness check is broken (Jacques Garrigue and Leo P. White) - PR#5906: GADT exhaustiveness check is still broken (Jacques Garrigue, report by S=C3=A9bastien Briais) - PR#5907: Undetected cycle during typecheck causes exceptions (Jacques Garrigue, report by Pascal Zimmer) - PR#5910: Fix code generation bug for "mod 1" on ARM. (Benedikt Meurer, report by user 'jteg68') - PR#5911: Signature substitutions fail in submodules (Jacques Garrigue, report by Markus Mottl) - PR#5912: add configure option -no-cfi (for OSX 10.6.x with XCode 4.0.2) (Damien Doligez against XCode versions, report by Thomas Gazagnaire) - PR#5914: Functor breaks with an equivalent argument signature (Jacques Garrigue, report by Markus Mottl and Gr=C3=A9goire Henry) - PR#5920, PR#5957: linking failure for big bytecodes on 32bit architectures (Beno=C3=AEt Vaugon and Chet Murthy, report by Jun Furuse and Sebastien M= ondet) - PR#5928: Missing space between words in manual page for ocamlmktop (Damien Doligez, report by Matej Ko=C5=A1=C3=ADk) - PR#5930: ocamldep leaks temporary preprocessing files (Gabriel Scherer, report by Valentin Gatien-Baron) - PR#5933: Linking is slow when there are functions with large arities (Valentin Gatien-Baron, review by Gabriel Scherer) - PR#5934: integer shift by negative amount (in otherlibs/num) (Xavier Leroy, report by John Regehr) - PR#5944: Bad typing performances of big variant type declaration (Beno=C3=AEt Vaugon) - PR#5945: Mix-up of Minor_heap_min and Minor_heap_max units (Beno=C3=AEt Vaugon) - PR#5948: GADT with polymorphic variants bug (Jacques Garrigue, report by Leo P. White) - PR#5953: Unix.system does not handle EINTR (J=C3=A9r=C3=A9mie Dimino) - PR#5965: disallow auto-reference to a recursive module in its definition (Alain Frisch, report by Arthur Windler via Gabriel Scherer) - PR#5973: Format module incorrectly parses format string (Pierre Weis, report by Fr=C3=A9d=C3=A9ric Bour) - PR#5974: better documentation for Str.regexp (Damien Doligez, report by william) - PR#5976: crash after recovering from two stack overflows (ocamlopt on Mac= OS X) (Xavier Leroy, report by Pierre Boutillier) - PR#5977: Build failure on raspberry pi: "input_value: integer too large" (Alain Frisch, report by Sylvain Le Gall) - PR#5981: Incompatibility check assumes abstracted types are injective (Jacques Garrigue, report by Jeremy Yallop) - PR#5982: caml_leave_blocking section and errno corruption (J=C3=A9r=C3=A9mie Dimino) - PR#5985: Unexpected interaction between variance and GADTs (Jacques Garrigue, Jeremy Yallop and Leo P. White and Gabriel Scherer) - PR#5988: missing from the documentation: -impl is a valid flag for ocamlo= pt (Damien Doligez, report by Vincent Bernardoff) - PR#5989: Assumed inequalities involving private rows (Jacques Garrigue, report by Jeremy Yallop) - PR#5992: Crash when pattern-matching lazy values modifies the scrutinee (Luc Maranget, Leo P. White) - PR#5993: Variance of private type abbreviations not checked for modules (Jacques Garrigue) - PR#5997: Non-compatibility assumed for concrete types with same construct= or (Jacques Garrigue, report by Gabriel Scherer) - PR#6004: Type information does not flow to "inherit" parameters (Jacques Garrigue, report by Alain Frisch) - PR#6005: Type unsoundness with recursive modules (Jacques Garrigue, report by J=C3=A9r=C3=A9mie Dimino and Josh Berdine) - PR#6010: Big_int.extract_big_int gives wrong results on negative arguments (Xavier Leroy, report by Drake Wilson via St=C3=A9phane Glondu) - PR#6024: Format syntax for printing @ is incompatible with 3.12.1 (Damien Doligez, report by Boris Yakobowski) - PR#6001: Reduce the memory used by compiling Camlp4 (Hongbo Zhang and Gabriel Scherer, report by Henri Gouraud) - PR#6031: Camomile problem with -with-frame-pointers (Fabrice Le Fessant, report by Anil Madhavapeddy) - PR#6032: better Random.self_init under Windows (Alain Frisch, Xavier Leroy) - PR#6033: Matching.inline_lazy_force needs eta-expansion (command-line fla= gs) (Pierre Chambart, Xavier Leroy and Luc Maranget, regression report by Gabriel Scherer) - PR#6046: testsuite picks up the wrong ocamlrun dlls (Anil Madhavapeddy) - PR#6056: Using 'match' prevents generalization of values (Jacques Garrigue, report by Elnatan Reisner) - PR#6058: 'ocamlbuild -use-ocamlfind -tag thread -package threads t.cma' f= ails (Gabriel Scherer, report by Hezekiah M. Carty) - PR#6060: ocamlbuild rules for -principal, -strict-sequence and -short-pat= hs (Anil Madhavapeddy) - PR#6069: ocamldoc: lexing: empty token (Maxence Guesdon, Gr=C3=A9goire Henry, report by ygrek) - PR#6072: configure does not handle FreeBSD current (i.e. 10) correctly (Damien Doligez, report by Prashanth Mundkur) - PR#6074: Wrong error message for failing Condition.broadcast (Markus Mottl) - PR#6084: Define caml_modify and caml_initialize as weak symbols to help with Netmulticore (Xavier Leroy, Gerd Stolpmann) - PR#6090: Module constraint + private type seems broken in ocaml 4.01.0 (Jacques Garrigue, report by Jacques-Pascal Deplaix) - PR#6109: Typos in ocamlbuild error messages (Gabriel Kerneis) - PR#6123: Assert failure when self escapes its class (Jacques Garrigue, report by whitequark) - PR#6158: Fatal error using GADTs (Jacques Garrigue, report by Jeremy Yallop) - PR#6163: Assert_failure using polymorphic variants in GADTs (Jacques Garrigue, report by Leo P. White) - PR#6164: segmentation fault on Num.power_num of 0/1 (Fabrice Le Fessant, report by Johannes Kanig) Feature wishes: - PR#5181: Merge common floating point constants in ocamlopt (Benedikt Meurer) - PR#5243: improve the ocamlbuild API documentation in signatures.mli (Christophe Troestler) - PR#5546: moving a function into an internal module slows down its use (Alain Frisch, report by Fabrice Le Fessant) - PR#5597: add instruction trace option 't' to OCAMLRUNPARAM (Anil Madhavapeddy, Wojciech Meyer) - PR#5676: IPv6 support under Windows (J=C3=A9r=C3=B4me Vouillon, review by Jonathan Protzenko) - PR#5721: configure -with-frame-pointers for Linux perf profiling (Fabrice Le Fessant, test by J=C3=A9r=C3=A9mie Dimino) - PR#5722: toplevel: print full module path only for first record field (Jacques Garrigue, report by ygrek) - PR#5762: Add primitives for fast access to bigarray dimensions (Pierre Chambart) - PR#5769: Allow propagation of Sys.big_endian in native code (Pierre Chambart, stealth commit by Fabrice Le Fessant) - PR#5771: Add primitives for reading 2, 4, 8 bytes in strings and bigarrays (Pierre Chambart) - PR#5774: Add bswap primitives for amd64 and arm (Pierre Chambart, test by Alain Frisch) - PR#5795: Generate sqrtsd opcode instead of external call to sqrt on amd64 (Pierre Chambart) - PR#5827: provide a dynamic command line parsing mechanism (Hongbo Zhang) - PR#5832: patch to improve "wrong file naming" error messages (William Smith) - PR#5864: Add a find operation to Set (Fran=C3=A7ois Berenger) - PR#5886: Small changes to compile for Android (J=C3=A9r=C3=B4me Vouillon, review by Benedikt Meurer) - PR#5902: -ppx based pre-processor executables accept arguments (Alain Frisch, report by Wojciech Meyer) - PR#5986: Protect against marshaling 64-bit integers in bytecode (Xavier Leroy, report by Alain Frisch) - PR#6049: support for OpenBSD/macppc platform (Anil Madhavapeddy, review by Benedikt Meurer) - PR#6059: add -output-obj rules for ocamlbuild (Anil Madhavapeddy) Tools: - OCamlbuild now features a bin_annot tag to generate .cmt files. (Jonathan Protzenko) - OCamlbuild now features a strict_sequence tag to trigger the strict-sequence option. (Jonathan Protzenko) - OCamlbuild now picks the non-core tools like ocamlfind and menhir from PA= TH (Wojciech Meyer) - PR#5884: Misc minor fixes and cleanup for emacs mode (Stefan Monnier) - PR#6030: Improve performance of -annot (Guillaume Melquiond, Alain Frisch)