pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ocaml



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Fri Nov  1 10:47:50 UTC 2013

Modified Files:
        pkgsrc/lang/ocaml: Makefile Makefile.common PLIST PLIST.opt
            buildlink3.mk distinfo
        pkgsrc/lang/ocaml/patches: patch-Makefile patch-asmrun_Makefile
            patch-configure patch-otherlibs_labltk_camltk_Makefile
            patch-otherlibs_threads_Makefile patch-tools_ocamlmklib

Log Message:
Update of lang/ocaml to its newest version, 4.01. Changes, apart from
bugfixes, include:

- Labltk: updated to Tcl/Tk 8.6.
Type system:
- use well-disciplined type information propagation to
  disambiguate label and constructor names
* 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 longer
  allowed for exact and fixed polymorphic variant types.
* Reject multiple declarations of the same method or instance variable
  in an object
- raise an error when multiple private keywords are used in type
  declarations
- parsetree rewriter (-ppx flag)
- ocamldep now supports -absname
- On "unbound identifier" errors, use spell-checking to suggest names
  present in the environment
- ocamlc has a new option -dsource to visualize the parsetree
- tools/eqparsetree compares two parsetree ignoring location
- ocamlopt now uses clang as assembler on OS X if available, which enables
  CFI support for OS X.
- 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.
- added flag -compat-32 to ocamlc, ensuring that the generated
  bytecode executable can be loaded on 32-bit hosts.
- 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
* warning 3 is extended to warn about other deprecated features:
  - ISO-latin1 characters in identifiers
  - uses of the (&) and (or) operators instead of (&&) and (||)
- Experimental OCAMLPARAM for ocamlc and ocamlopt
- incorrect ordinal number in error message
- add signature to Tstr_include
- expose a way to inspect the current call stack,
  Printexc.get_callstack
- new flag Marshal.Compat_32 for the serialization functions
  (Marshal.to_*), forcing the output to be readable on 32-bit hosts.
- infix application operators |> and @@ in Pervasives
- add O_CLOEXEC flag to Unix.openfile, so that the returned
  file descriptor is created in close-on-exec mode
* more efficient implementation of caml_modify() and caml_initialize().
  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.
- Moved debugger/envaux.ml to typing/envaux.ml to publish env_of_only_summary
  as part of compilerlibs, to be used on bin-annot files.
- The test suite can now be run without installing OCaml first.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/lang/ocaml/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/lang/ocaml/Makefile.common
cvs rdiff -u -r1.24 -r1.25 pkgsrc/lang/ocaml/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/ocaml/PLIST.opt
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/ocaml/buildlink3.mk
cvs rdiff -u -r1.71 -r1.72 pkgsrc/lang/ocaml/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/ocaml/patches/patch-Makefile \
    pkgsrc/lang/ocaml/patches/patch-otherlibs_threads_Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/ocaml/patches/patch-asmrun_Makefile \
    pkgsrc/lang/ocaml/patches/patch-otherlibs_labltk_camltk_Makefile \
    pkgsrc/lang/ocaml/patches/patch-tools_ocamlmklib
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ocaml/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index