Permalink
Switch branches/tags
Commits on Dec 21, 2014
  1. minor fixes to some testsuite tests

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15736 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  2. minor: cut too-long lines

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  3. PR#6475: accept -o in ocamlc when compiling C files

    (Vincent Laporte, Peter Zotov)
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  4. PR#6494 backtrack: revert the new 'equal' functions from Num and Big_int

    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
    gasche committed Dec 21, 2014
  5. add @since tags to the new *_ascii functions

    From: Gabriel Scherer <gabriel.scherer@gmail.com>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15732 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  6. Update Changes.

    From: Peter Zotov <whitequark@whitequark.org>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15731 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  7. PR6694: Un-warn-error deprecation warnings in Str to preserve legacy …

    …behavior.
    
    From: Peter Zotov <whitequark@whitequark.org>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15730 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  8. PR6694: Deprecate Latin-1 string manipulation functions.

    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
    gasche committed Dec 21, 2014
  9. PR6695: Make Filename use only US-ASCII functions.

    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
    gasche committed Dec 21, 2014
  10. PR6695: Make sure the compiler only uses ASCII string functions.

    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
    gasche committed Dec 21, 2014
  11. PR6695: Add ASCII counterparts to case-mapping functions.

    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
    gasche committed Dec 21, 2014
  12. PR#6494: Add equal function in modules Big_int, Bytes, Char, Digest, …

    …Int32, 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
    gasche committed Dec 21, 2014
  13. update Changes

    From: Gabriel Scherer <gabriel.scherer@gmail.com>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15724 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  14. minor filename.mli doc clarification

    From: Gabriel Scherer <gabriel.scherer@gmail.com>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  15. Add optional perms argument to Filename.open_temp_file.

    From: Daniel Bünzli <daniel.buenzli@erratique.ch>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15722 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  16. PR#6616: allow meaningful use of -use-runtime without -custom.

    (Peter Zotov)
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  17. PR#6625: pass -linkpkg to files built with -output-obj.

    (Peter Zotov)
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  18. update Changes after cherry-picking from trunk to 4.02

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
  19. testsuite/Makefile.toplevel: make terminal DUMB by default (tests rel…

    …y on this)
    
    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
    gasche committed Dec 21, 2014
  20. PR#6466: use "extensible variant" rather than "open" types in error m…

    …essage
    
    (Leo White)
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 21, 2014
Commits on Dec 20, 2014
  1. ocamlbuild: use sets rather than list for cycle-checking

    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
    gasche committed Dec 20, 2014
  2. ocamlbuild: refine circular dependency errors

    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
    gasche committed Dec 20, 2014
Commits on Dec 19, 2014
  1. Add @since tags on stdlib functions new in 4.02

    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
    gasche committed Dec 19, 2014
  2. Change 'List' to 'ListLabels' in the ListLabels documentation.

    From: Jeremy Yallop <yallop@gmail.com>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 19, 2014
  3. Change 'Array' to 'ArrayLabels' in the ArrayLabels documentation.

    From: Jeremy Yallop <yallop@gmail.com>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 19, 2014
  4. Add sort_uniq to ListLabels.

    From: Jeremy Yallop <yallop@gmail.com>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 19, 2014
  5. Add make_float to ArrayLabels.

    From: Jeremy Yallop <yallop@gmail.com>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15683 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 19, 2014
  6. Fix constructor names in Typedast printing.

    From: Drup <drupyog@zoho.com>
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 19, 2014
  7. Fix PR#6726: Access to the wrong field of aliased module

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15681 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    Jacques Garrigue committed Dec 19, 2014
Commits on Dec 17, 2014
  1. PR#6720: pass -g to C compilers when tag 'debug' is set

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 17, 2014
Commits on Dec 16, 2014
  1. fix type errors (warnings) reported by the C compiler

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    Damien Doligez committed Dec 16, 2014
  2. notes on attributes in pprintast.ml

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 16, 2014
  3. PR#6717: Pprintast does not print let-pattern attributes

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    gasche committed Dec 16, 2014
  4. add comment for Tobject in Datarepr.free_vars

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15676 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    Jacques Garrigue committed Dec 16, 2014
  5. Fix PR#6716: Assertion failure with existentials + inline records + rows

    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    Jacques Garrigue committed Dec 16, 2014