summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-12-27PR#6714: allow [@@ocaml.warning] on most structure and signature items ↵Gabriel Scherer
(values, modules, module types) (Peter Zotov) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15752 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-27PR#6729: Makefile: remove suffix rules to avoid -jN race conditionsGabriel Scherer
(Peter Zotov) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15751 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-27PR#6641: add -g, -ocamlcflags, -ocamloptflags options to ocamlmklibGabriel Scherer
(Peter Zotov) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15750 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-24more cleanup of char * and sizesDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15747 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-24PR#6727: Printf.sprintf "%F" misbehaviorDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15746 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-24PR#6665: Failure of tests/asmcomp on sparcDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15744 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-23PR#6663: A misleading typo in parsetree.mliDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15741 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-22Rewrite cmt2annot using tast_mapper instead of tast_iter. Remove tast_iter.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15740 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-22Replace TypedtreeMap with a more standard open-recursion iterator ↵Alain Frisch
Tast_mapper. Keep TypedtreeMap/Iter for now, for external projects. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15739 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-22Exhauce PR#6611: remove the option wrapper on optional arguments in the ↵Jacques Garrigue
syntax tree git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15738 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-22exhauce PR#6367: introduce Asttypes.arg_label to encode labelled argumentsJacques Garrigue
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21minor fixes to some testsuite testsGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15736 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21minor: cut too-long linesGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR#6475: accept -o in ocamlc when compiling C filesGabriel Scherer
(Vincent Laporte, Peter Zotov) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR#6494 backtrack: revert the new 'equal' functions from Num and Big_intGabriel Scherer
We already have eq_num and eq_big_int. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21add @since tags to the new *_ascii functionsGabriel Scherer
From: Gabriel Scherer <gabriel.scherer@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15732 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21Update Changes.Gabriel Scherer
From: Peter Zotov <whitequark@whitequark.org> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15731 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR6694: Un-warn-error deprecation warnings in Str to preserve legacy behavior.Gabriel Scherer
From: Peter Zotov <whitequark@whitequark.org> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15730 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR6694: Deprecate Latin-1 string manipulation functions.Gabriel Scherer
Also, add documentation for the US-ASCII variants. From: Peter Zotov <whitequark@whitequark.org> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15729 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR6695: Make Filename use only US-ASCII functions.Gabriel Scherer
The only place that includes changes is the code for checking the suffix. It is highly unlikely that the change has any impact at all. From: Peter Zotov <whitequark@whitequark.org> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15728 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR6695: Make sure the compiler only uses ASCII string functions.Gabriel Scherer
This should cover all places involving filenames in the compiler. There are a few more paths still using Latin-1 in other ways, e.g. in ocamldoc. From: Peter Zotov <whitequark@whitequark.org> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR6695: Add ASCII counterparts to case-mapping functions.Gabriel Scherer
This updates Char, String, Bytes in the stdlib. For now, they are hidden from documentation and are only for internal compiler use. From: Peter Zotov <whitequark@whitequark.org> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15726 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR#6494: Add equal function in modules Big_int, Bytes, Char, Digest, Int32, ↵Gabriel Scherer
Int64, Nativeint, Num and String (Romain Calascibetta) From: Romain Calascibetta <romain.calascibetta@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15725 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21update ChangesGabriel Scherer
From: Gabriel Scherer <gabriel.scherer@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15724 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21minor filename.mli doc clarificationGabriel Scherer
From: Gabriel Scherer <gabriel.scherer@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21Add optional perms argument to Filename.open_temp_file.Gabriel Scherer
From: Daniel Bünzli <daniel.buenzli@erratique.ch> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15722 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR#6616: allow meaningful use of -use-runtime without -custom.Gabriel Scherer
(Peter Zotov) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR#6625: pass -linkpkg to files built with -output-obj.Gabriel Scherer
(Peter Zotov) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21update Changes after cherry-picking from trunk to 4.02Gabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21testsuite/Makefile.toplevel: make terminal DUMB by default (tests rely on this)Gabriel Scherer
Currently it is not equivalent to do: cd testsuite; make one DIR=tests/$foo and cd testsuite/tests/$foo; make because the latter will not set TERM=dumb and toplevel tests will use nice escape-code location highlighting instead of ASCII-made squiggly lines, which breaks the tests. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-21PR#6466: use "extensible variant" rather than "open" types in error messageGabriel Scherer
(Leo White) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-20ocamlbuild: use sets rather than list for cycle-checkingGabriel Scherer
I'm worried the previous algorithmically-naive implementation may behave badly on larger-scale projects. We still keep a list around to return results in the exact same order as previously. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-20ocamlbuild: refine circular dependency errorsGabriel Scherer
When reporting a circular dependency, refine the printed filenames to those that are really part of the cycle -- instead of those that happened to be traversed during the DFS that found a cycle. This gives much more readable error messages. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-19Add @since tags on stdlib functions new in 4.02Gabriel Scherer
make_float was added in 4.02 Buffer.(to_bytes, add_bytes, add_subbytes) were added in 4.02. BytesLabels was added in 4.02. Digest.(bytes, subbytes) were added in 4.02. Marshal.(to_bytes, from_bytes) were added in 4.02. various Pervasives functions were added in 4.02: print_bytes prerr_bytes output_bytes output_substring really_input_string Printexc.(backtrace_slots, raw_backtrace_slot) were added in 4.02. Scanf.(ksscanf, kfscanf) were added in 4.02. Stream.of_bytes was added in 4.02. From: Jeremy Yallop <yallop@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-19Change 'List' to 'ListLabels' in the ListLabels documentation.Gabriel Scherer
From: Jeremy Yallop <yallop@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-19Change 'Array' to 'ArrayLabels' in the ArrayLabels documentation.Gabriel Scherer
From: Jeremy Yallop <yallop@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-19Add sort_uniq to ListLabels.Gabriel Scherer
From: Jeremy Yallop <yallop@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-19Add make_float to ArrayLabels.Gabriel Scherer
From: Jeremy Yallop <yallop@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15683 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-19Fix constructor names in Typedast printing.Gabriel Scherer
From: Drup <drupyog@zoho.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-19Fix PR#6726: Access to the wrong field of aliased moduleJacques Garrigue
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15681 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-17PR#6720: pass -g to C compilers when tag 'debug' is setGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-16fix type errors (warnings) reported by the C compilerDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-16notes on attributes in pprintast.mlGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-16PR#6717: Pprintast does not print let-pattern attributesGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-16add comment for Tobject in Datarepr.free_varsJacques Garrigue
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15676 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-16Fix PR#6716: Assertion failure with existentials + inline records + rowsJacques Garrigue
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-14update .gitignoreGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-14PR#6560: Wrong failure message for {Int32,Int64,NativeInt}.of_stringGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15672 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-14update ChangesGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-14ocamlbuild: explicit 'linkpkg' and 'dontlink(foo)' flagsGabriel Scherer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02