pkgsrc/lang/ocaml/PLIST.opt
tonio 23ea6c6ec0 Update lang/ocaml to 3.11.1 [PR pkg/41695]
(Changes that can break existing programs are marked with a "*"  )
Language features:
- Addition of lazy patterns: "lazy <pat>" matches suspensions whose values,
  after forcing, match the pattern <pat>.
- Introduction of private abbreviation types "type t = private <type-expr>",
  for abstracting the actual manifest type in type abbreviations.
- Subtyping is now allowed between a private abbreviation and its definition,
  and between a polymorphic method and its monomorphic instance.

Compilers:
- The file name for a compilation unit should correspond to a valid
  identifier (Otherwise dynamic linking and other things can fail, and
  a warning is emitted.)
* Revised -output-obj: the output name must now be provided; its
  extension must be one of .o/.obj, .so/.dll, or .c for the
  bytecode compiler. The compilers can now produce a shared library
  (with all the needed -ccopts/-ccobjs options) directly.
- -dtypes renamed to -annot, records (in .annot files) which function calls
  are tail calls.
- All compiler error messages now include a file name and location, for
  better interaction with Emacs' compilation mode.
- Optimized compilation of "lazy e" when the argument "e" is
  already evaluated.
- Optimized compilation of equality tests with a variant constant constructor.
- The -dllib options recorded in libraries are no longer ignored when
  -use_runtime or -use_prims is used (unless -no_auto_link is
  explicitly used).
- Check that at most one of -pack, -a, -shared, -c, -output-obj is
  given on the command line.
- Optimized compilation of private types as regular manifest types
  (e.g. abbreviation to float, float array or record types with only
   float fields).

Native-code compiler:
- New port: Mac OS X / Intel in 64-bit mode (configure with -cc "gcc -m64").
- A new option "-shared" to produce a plugin that can be dynamically
  loaded with the native version of Dynlink.
- A new option "-nodynlink" to enable optimizations valid only for code
  that is never dynlinked (no-op except for AMD64).
- More aggressive unboxing of floats and boxed integers.
- Can select which assembler and asm options to use at configuration time.

Run-time system:
- New implementation of the page table describing the heap (two-level
  array in 32 bits, sparse hashtable in 64 bits), fixes issues with address
  space randomization on 64-bit OS (PR#4448).
- New "generational" API for registering global memory roots with the GC,
  enables faster scanning of global roots.
  (The functions are caml_*_generational_global_root in <caml/memory.h>.)
- New function "caml_raise_with_args" to raise an exception with several
  arguments from C.
- Changes in implementation of dynamic linking of C code:
  under Win32, use Alain Frisch's flexdll implementation of the dlopen
  API; under MacOSX, use dlopen API instead of MacOSX bundle API.
- Programs may now choose a first-fit allocation policy instead of
  the default next-fit.  First-fit reduces fragmentation but is
  slightly slower in some cases.

Standard library:
- Parsing library: new function "set_trace" to programmatically turn
  on or off the printing of a trace during parsing.
- Printexc library: new functions "print_backtrace" and "get_backtrace"
  to obtain a stack backtrace of the most recently raised exception.
  New function "record_backtrace" to turn the exception backtrace mechanism
  on or off from within a program.
- Scanf library: fine-tuning of meta format implementation;
  fscanf behaviour revisited: only one input buffer is allocated for any
  given input channel;
  the %n conversion does not count a lookahead character as read.

Other libraries:
- Dynlink: on some platforms, the Dynlink library is now available in
  native code. The boolean Dynlink.is_native allows the program to
  know whether it has been compiled in bytecode or in native code.
- Bigarrays: added "unsafe_get" and "unsafe_set"
  (non-bound-checking versions of "get" and "set").
- Bigarrays: removed limitation "array dimension < 2^31".
- Labltk: added support for TK 8.5.
- Num: added conversions between big_int and int32, nativeint, int64.
  More efficient implementation of Num.quo_num and Num.mod_num.
- Threads: improved efficiency of mutex and condition variable operations;
  improved interaction with Unix.fork (PR#4577).
- Unix: added getsockopt_error returning type Unix.error.
  Added support for TCP_NODELAY and IPV6_ONLY socket options.
- Win32 Unix: "select" now supports all kinds of file descriptors.
  Improved emulation of "lockf" (PR#4609).

Tools:
- ocamldebug now supported under Windows (MSVC and Mingw ports),
  but without the replay feature.  (Contributed by Dmitry Bely
  and Sylvain Le Gall at OCamlCore with support from Lexifi.)
- ocamldoc: new option -no-module-constraint-filter to include functions
  hidden by signature constraint in documentation.
- ocamlmklib and ocamldep.opt now available under Windows ports.
- ocamlmklib no longer supports the -implib option.
- ocamlnat: an experimental native toplevel (not built by default).

Camlp4:
* programs linked with camlp4lib.cma now also need dynlink.cma.
2009-09-07 21:48:13 +00:00

147 lines
4.3 KiB
Text

@comment $NetBSD: PLIST.opt,v 1.15 2009/09/07 21:48:13 tonio Exp $
bin/camlp4o.opt
bin/camlp4of.opt
bin/camlp4oof.opt
bin/camlp4orf.opt
bin/camlp4r.opt
bin/camlp4rf.opt
bin/ocamlc.opt
bin/ocamldep.opt
bin/ocamldoc.opt
bin/ocamllex.opt
bin/ocamlopt
bin/ocamlopt.opt
lib/ocaml/arg.cmx
lib/ocaml/arith_flags.cmx
lib/ocaml/arith_status.cmx
lib/ocaml/array.cmx
lib/ocaml/arrayLabels.cmx
lib/ocaml/big_int.cmx
lib/ocaml/bigarray.a
lib/ocaml/bigarray.cmx
lib/ocaml/bigarray.cmxa
lib/ocaml/bigarray.cmxs
lib/ocaml/buffer.cmx
lib/ocaml/callback.cmx
lib/ocaml/camlinternalLazy.cmx
lib/ocaml/camlinternalMod.cmx
lib/ocaml/camlinternalOO.cmx
lib/ocaml/camlp4/Camlp4Bin.cmx
lib/ocaml/camlp4/Camlp4Filters/Camlp4AstLifter.cmx
lib/ocaml/camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmx
lib/ocaml/camlp4/Camlp4Filters/Camlp4FoldGenerator.cmx
lib/ocaml/camlp4/Camlp4Filters/Camlp4LocationStripper.cmx
lib/ocaml/camlp4/Camlp4Filters/Camlp4MapGenerator.cmx
lib/ocaml/camlp4/Camlp4Filters/Camlp4MetaGenerator.cmx
lib/ocaml/camlp4/Camlp4Filters/Camlp4Profiler.cmx
lib/ocaml/camlp4/Camlp4Filters/Camlp4TrashRemover.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4AstLoader.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4DebugParser.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4GrammarParser.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4ListComprehension.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4MacroParser.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParser.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmx
lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmx
lib/ocaml/camlp4/Camlp4Printers/Camlp4AstDumper.cmx
lib/ocaml/camlp4/Camlp4Printers/Camlp4AutoPrinter.cmx
lib/ocaml/camlp4/Camlp4Printers/Camlp4NullDumper.cmx
lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmx
lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmx
lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmx
lib/ocaml/camlp4/Camlp4Top/Rprint.cmx
lib/ocaml/camlp4/Camlp4Top/Top.cmx
lib/ocaml/camlp4/camlp4fulllib.cmxa
lib/ocaml/camlp4/camlp4lib.cmxa
lib/ocaml/camlp4/camlp4prof.cmx
lib/ocaml/char.cmx
lib/ocaml/complex.cmx
lib/ocaml/dbm.a
lib/ocaml/dbm.cmx
lib/ocaml/dbm.cmxa
lib/ocaml/dbm.cmxs
lib/ocaml/digest.cmx
lib/ocaml/dynlink.a
lib/ocaml/dynlink.cmx
lib/ocaml/dynlink.cmxa
lib/ocaml/filename.cmx
lib/ocaml/format.cmx
lib/ocaml/gc.cmx
lib/ocaml/genlex.cmx
lib/ocaml/hashtbl.cmx
lib/ocaml/int32.cmx
lib/ocaml/int64.cmx
lib/ocaml/int_misc.cmx
lib/ocaml/lazy.cmx
lib/ocaml/lexing.cmx
lib/ocaml/libasmrun.a
lib/ocaml/libasmrunp.a
lib/ocaml/libcamlrun_shared.so
lib/ocaml/libthreadsnat.a
lib/ocaml/list.cmx
lib/ocaml/listLabels.cmx
lib/ocaml/map.cmx
lib/ocaml/marshal.cmx
lib/ocaml/moreLabels.cmx
lib/ocaml/nat.cmx
lib/ocaml/nativeint.cmx
lib/ocaml/num.cmx
lib/ocaml/nums.a
lib/ocaml/nums.cmxa
lib/ocaml/nums.cmxs
lib/ocaml/obj.cmx
lib/ocaml/ocamlbuild/ocamlbuild.cmx
lib/ocaml/ocamlbuild/ocamlbuild_executor.cmx
lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmx
lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa
lib/ocaml/ocamldoc/odoc_info.a
lib/ocaml/ocamldoc/odoc_info.cmxa
@comment lib/ocaml/ocamldoc/odoc_opt.cmi
lib/ocaml/oo.cmx
lib/ocaml/parsing.cmx
lib/ocaml/pervasives.cmx
lib/ocaml/printexc.cmx
lib/ocaml/printf.cmx
lib/ocaml/queue.cmx
lib/ocaml/random.cmx
lib/ocaml/ratio.cmx
lib/ocaml/scanf.cmx
lib/ocaml/set.cmx
lib/ocaml/sort.cmx
lib/ocaml/stack.cmx
lib/ocaml/stdLabels.cmx
lib/ocaml/std_exit.cmx
lib/ocaml/std_exit.o
lib/ocaml/std_exit.p.cmx
lib/ocaml/std_exit.p.o
lib/ocaml/stdlib.a
lib/ocaml/stdlib.cmxa
lib/ocaml/stdlib.p.a
lib/ocaml/stdlib.p.cmxa
lib/ocaml/str.a
lib/ocaml/str.cmx
lib/ocaml/str.cmxa
lib/ocaml/str.cmxs
lib/ocaml/stream.cmx
lib/ocaml/string.cmx
lib/ocaml/stringLabels.cmx
lib/ocaml/sys.cmx
lib/ocaml/threads/condition.cmx
lib/ocaml/threads/event.cmx
lib/ocaml/threads/mutex.cmx
lib/ocaml/threads/thread.cmx
lib/ocaml/threads/threadUnix.cmx
lib/ocaml/threads/threads.a
lib/ocaml/threads/threads.cmxa
lib/ocaml/unix.a
lib/ocaml/unix.cmx
lib/ocaml/unix.cmxa
lib/ocaml/unix.cmxs
lib/ocaml/unixLabels.cmx
lib/ocaml/weak.cmx