Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that Static recursive bindings always go through pre-allocation #8

Open
wants to merge 508 commits into
base: let-rec-propagate
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    20a5cb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    adba371 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17db5ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3c4f2a6 View commit details
    Browse the repository at this point in the history
  5. Merge pull request ocaml#12671 from smuenzel/a-type-parameter-has-type

    Identify mismatched class type parameters and class parameters by ordinal in error messages.
    gasche authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    d435a29 View commit details
    Browse the repository at this point in the history
  6. Silence ocamldoc warning.

    NickBarnes committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    3c014a5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f6cd695 View commit details
    Browse the repository at this point in the history
  8. Simplify opam pin command in HACKING.adoc

    Compiler's ocaml-variants.opam always includes the VERSION number, so
    there's no need to edit it further.
    dra27 committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    f40b31e View commit details
    Browse the repository at this point in the history
  9. Re-enable ThreadSanitizer in the Inria CI (ocaml#12644)

    * Building the compiler with ThreadSanitizer and running the testsuite caused too
    many reports in OCaml 5 and was disabled (see ocaml#11040).
    
    Since then, the work on TSan support for OCaml programs has led to fix a number
    of those data races and temporarily silence the ones that are waiting to be
    investigated (see ocaml#11040 again). As a result, running the testsuite with
    `--enable-tsan` is now a cheap and effective way of detecting new data races
    that may be introduced in the runtime.
    
    A second good reason to restore the TSan CI is that it will detect early if a
    recent change has accidentally broken TSan instrumentation (as has happened
    before as an accidental consequence of removing a symbol
    ocaml#12383 (review)), or
    other issues (e.g. a new test revealed a TSan limitation with signals
    ocaml#12561 (comment)).
    
    Adding this test to the Github Actions CI arguably lengthens the runs (a GHA
    run on amd64 Linux with TSan takes about 50 minutes). This PR therefore
    suggests the compromise of enabling it on the Inria CI which is run on every
    merge.
    
    * Disable tests parallel/catch_break with tsan
    
    * CI sanitizers: Use clang 14
    
    clang 13 thread sanitizer produces different, less precise traces.
    Also, clang 14 is the default version in Ubuntu 22.04 LTS.
    
    ---------
    
    Co-authored-by: Xavier Leroy <xavier.leroy@college-de-france.fr>
    OlivierNicole and xavierleroy authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    4042ca3 View commit details
    Browse the repository at this point in the history
  10. Merge pull request ocaml#12674 from dra27/tweak-hacking

    Simplify `opam pin` command in `HACKING.adoc`
    dra27 authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    42ea2fd View commit details
    Browse the repository at this point in the history
  11. Merge pull request ocaml#12672 from NickBarnes/nick-ocamldoc-iter2

    Silence ocamldoc warning on iter2
    Octachron authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    bd524bd View commit details
    Browse the repository at this point in the history
  12. Merge pull request ocaml#12496 from ncik-roberts/maintain-syntactic-a…

    …rity-in-simplif
    
    Stop `Simplif` from causing disagreement between runtime arity and syntatic arity of a function
    goldfirere authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    e5c693d View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Merge pull request ocaml#12639 from Julow/loc-ptyp_as

    parsing: Attach a location to the RHS of Ptyp_alias
    Octachron authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    e397ed2 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    495a99f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1c2928 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a7f52d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da035ff View commit details
    Browse the repository at this point in the history
  5. Merge pull request ocaml#12586 from shindere/merge-compilerlibs-makefile

    Merge compilerlibs/Makefile.compilerlibs into the root Makefile
    shindere authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    14a3ce6 View commit details
    Browse the repository at this point in the history
  6. Remove ocamltest's beforedepend constraint from the root Makefile

    This is captured by the generic framework and does thus not need
    to be written here.
    
    (Follow-up to PR ocaml#12321 merging ocamltest/Makefile into the root Makefile)
    shindere committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    0e87534 View commit details
    Browse the repository at this point in the history
  7. ocamldoc/Makefile.best_ocamldoc: get rid of OCAMLDOC_RUN_PLUGINS

    This variable was used in ocamldoc/Makefile, by the test targets that got
    removed in PR ocaml#12615.
    shindere committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    ca9ba54 View commit details
    Browse the repository at this point in the history
  8. Deprecate the WITH_OCAMLDOC build variable

    This commit introduces two private build variables: OCAMLDOC_TARGET
    and OCAMLDOC_OPT_TARGET.
    shindere committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    ff5923f View commit details
    Browse the repository at this point in the history
  9. ocamldoc/Makefile.best_ocamldoc: remove useless ./ prefixes

    The ./ prefix in front of $(OCAMLDOC) and $(OCAMLDOC_OPT) is not useful
    since the definitions of these variables are already prefixed with
    $(ROOTDIR).
    shindere committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    5558110 View commit details
    Browse the repository at this point in the history
  10. Merge ocamldoc/Makefile.best_ocamldoc into Makefile.best_binaries

    Makefile.best_ocamldoc was included in two files:
    
    1. In ocamldoc/Makefile, which also includes
    
      $(ROOTDIR)/Makefile.best_binaries
    
    So that the definitions which were in Makefile.best_ocamldoc remain available.
    
    2. In api_docgen/ocamldoc/Makefile which also includes
    Makefile.best_binaries via api_docgen/Makefile.common
    shindere committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    7fb564c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ac88609 View commit details
    Browse the repository at this point in the history
  12. Rename the STDLIB_MANPAGES config var to build_libraries_manpages

    STDLIB_MANPAGES is still defined in Makefile.config.in for backwards
    compatibility, whereas build_libraries_manpages is defined in
    Maekfile.build_config.in and thus remains private.
    
    Co-authored-by: David Allsopp <david.allsopp@metastack.com>
    shindere and dra27 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    cb3e230 View commit details
    Browse the repository at this point in the history
  13. Make the build_libraries_manpages configuration variable more accurate

    Before this commit, the build_libraries_manpages variable (aka STDLIB_MANPAGES)
    was set to true if the build of the manpages for libraries was
    enabled at configure time, whether ocamldoc (which is required
     to build those manpages) was enabled or not. It was thus the build
    system's responsibility to determine whether the manpages for
    libraries should be built / installed,
    by testing both the
    build_ocamldoc and the build_libraries_manpages variables.
    
    However, it is known at configure time whether ocamldoc is available
    or not, which makes it possible to set build_libraries_manpages to
    true only if the manpages for libraries have been requested AND
    ocamldoc has been enabled.
    
    This is what is done in this commit, leading to a simplification
    on the build system's side since it becomes enough to test only
    one variable, namely build_libraries_manpages, rather than two
    like before.
    
    Co-authored-by: David Allsopp <david.allsopp@metastack.com>
    shindere and dra27 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    53f2a93 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. Merge pull request ocaml#12616 from shindere/merge-ocamldoc-makefile

    Merge ocamldoc/Makefile into the root Makefile
    dra27 authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    c454547 View commit details
    Browse the repository at this point in the history
  2. Remove benign data race in parallel test (ocaml#12680)

    The data race shows up in TSan-enabled runs, and can be removed for a
    small cost.
    OlivierNicole authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    dee0972 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ce30c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab63129 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ae9928 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    26ebc3d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7b2c759 View commit details
    Browse the repository at this point in the history
  8. alloc_custom_mem: do not convert memory size to heap proportion and l…

    …ater back to work units using a different heap size. When the heap is growing, this unduly accelerates the major GC, slowing down the program.
    damiendoligez committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    a7cd0c6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7ae91bc View commit details
    Browse the repository at this point in the history
  10. first implementation of Dyn_array

    c-cube authored and gasche committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    49ce7cf View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. Configuration menu
    Copy the full SHA
    60ae582 View commit details
    Browse the repository at this point in the history
  2. add some basic tests for Dyn_array

    c-cube authored and gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    59f156b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6cbb5ab View commit details
    Browse the repository at this point in the history
  4. rename Dyn_array to Dynarray

    c-cube authored and gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    3fd2453 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8731917 View commit details
    Browse the repository at this point in the history
  6. use push_last instead of push

    c-cube authored and gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    bcd540f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3e12b8d View commit details
    Browse the repository at this point in the history
  8. more docs

    c-cube authored and gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    691ce71 View commit details
    Browse the repository at this point in the history
  9. add filter/filter_map to dynarray

    c-cube authored and gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    7745f82 View commit details
    Browse the repository at this point in the history
  10. more docs

    c-cube authored and gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    2cc8445 View commit details
    Browse the repository at this point in the history
  11. use add_last/unsafe_add_last for dynarray

    c-cube authored and gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    a49c1b6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9458313 View commit details
    Browse the repository at this point in the history
  13. fix doc

    c-cube authored and gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    23747d1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6256a2f View commit details
    Browse the repository at this point in the history
  15. dynarray interface: remove blit

    I think that it is natural for users to expect that 'blit' can be used
    on ranges that go past the current end of the array. We could warn
    about it in the documentation and have a clear error, or we could
    decide to support this use-case.
    
    I suffer from decision fatigue on this question, and I think that it
    is better to remove this rarely-used function.
    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    fef721c View commit details
    Browse the repository at this point in the history
  16. dynarray interface: remove rev

    just use Dynarray.init
    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    4b54d61 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7d190a3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a292aa9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e838f6b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    15924d2 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ba98761 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    35c9c8a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    4964334 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    71b34a6 View commit details
    Browse the repository at this point in the history
  25. dynarray.mli code review

    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    af126ad View commit details
    Browse the repository at this point in the history
  26. dynarray.mli code review

    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    144e667 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    b7a2903 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    10bac6b View commit details
    Browse the repository at this point in the history
  29. Dynarray.ensure_extra_capacity

    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    6f638e8 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    54ebac4 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    7377d9d View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    b850cee View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    1e16db9 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    a442f2f View commit details
    Browse the repository at this point in the history
  35. dynarray.mli: mutable priority queue as a documentation example

    Co-authored-by: Daniel Bünzli <daniel.buenzli@erratique.ch>
    gasche and dbuenzli committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    cdf4786 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    6e06a79 View commit details
    Browse the repository at this point in the history
  37. dynarray.mli: specify more exceptions

    Reviewed-by: Clément Allain <clef-men@orange.fr>
    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    6a5e0e5 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    f9c1092 View commit details
    Browse the repository at this point in the history
  39. Changes

    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    ce14a79 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    2e1f3e4 View commit details
    Browse the repository at this point in the history
  41. Dynarray.fold_right

    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    dc68213 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    42388ef View commit details
    Browse the repository at this point in the history
  43. truncate_capacity => set_capacity

    Suggested-by: Daniel Bünzli <daniel.buenzli@erratique.ch>
    Suggested-by: Damien Doligez <damien.doligez@inria.fr>
    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    96f4c88 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    0003150 View commit details
    Browse the repository at this point in the history
  45. offer both to_seq{,_rev} and to_seq{,_rev}_reentrant

    Suggested-by: Guillaume Munch-Maccagnoni <Guillaume.Munch-Maccagnoni@inria.fr>
    Suggested-by: Simon Cruanes <simon.cruanes.2007@m4x.org>
    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    792bf6c View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    352e946 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    217b06b View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    08e29f8 View commit details
    Browse the repository at this point in the history
  49. Dynarray: get_last, find_last

    gasche committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    1d38d60 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    125bc71 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    41169a4 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    efd03d9 View commit details
    Browse the repository at this point in the history
  53. Changes

    smuenzel committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    fd8fa16 View commit details
    Browse the repository at this point in the history
  54. Merge pull request ocaml#11882 from gasche/dyn-array-boxed

    Dynarrays, boxed
    gasche authored Oct 21, 2023
    Configuration menu
    Copy the full SHA
    d21d884 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    a5cd2ee View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. Merge pull request ocaml#12683 from sheeraSearch82/domain-self-noalloc

    Annotate Domain.self with noalloc
    gasche authored Oct 22, 2023
    Configuration menu
    Copy the full SHA
    7748b45 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Add regression test

    ncik-roberts committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    b7872b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4369a6 View commit details
    Browse the repository at this point in the history
  3. Add Changes

    ncik-roberts committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    18f0eee View commit details
    Browse the repository at this point in the history
  4. Merge pull request ocaml#12673 from ncik-roberts/fix-type-directed-di…

    …sambiguation-of-optional-arg-defaults
    
    Fix type directed disambiguation of optional arg defaults
    Octachron authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    9cb230c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7fd42b7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    be5bbed View commit details
    Browse the repository at this point in the history
  7. Merge pull request ocaml#12181 from smuenzel/optim-comparison

    Simplify calls to caml_int_compare (and similar functions) (was ocaml#1809)
    gasche authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    a0bbd7c View commit details
    Browse the repository at this point in the history
  8. fix locations filename in AST produced by the -pp option (ocaml#12684)

    Test:
    
        $ echo "let x = 1" > test.ml
        $ ocamlc -dparsetree -pp cat test.ml
    
    Result before:
    
        [
          structure_item (/tmp/ocamlpp1775ad[1,0+0]..[1,0+9])
            Pstr_value Nonrec
            [
              <def>
                pattern (/tmp/ocamlpp1775ad[1,0+4]..[1,0+5])
                  Ppat_var "x" (/tmp/ocamlpp1775ad[1,0+4]..[1,0+5])
                expression (/tmp/ocamlpp1775ad[1,0+8]..[1,0+9])
                  Pexp_constant PConst_int (1,None)
            ]
        ]
    
    Problem: the locations in the AST refer to the temporary
    file created for preprocessing, which has since been removed.
    
    Result after:
    
        [
          structure_item (test.ml[1,0+0]..[1,0+9])
            Pstr_value Nonrec
            [
              <def>
                pattern (test.ml[1,0+4]..[1,0+5])
                  Ppat_var "x" (test.ml[1,0+4]..[1,0+5])
                expression (test.ml[1,0+8]..[1,0+9])
                  Pexp_constant PConst_int (1,None)
            ]
        ]
    gasche authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    5c74c3c View commit details
    Browse the repository at this point in the history
  9. Use proper C99 flexible array members (ocaml#12685)

    Pre-C99 compilers used to support FAM as an extension, with a
    different syntax and sizeof semantics.
    MisterDA authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    e8e5b2f View commit details
    Browse the repository at this point in the history
  10. Use unique delimiters to quote strings representing magic numbers

    This commit replaces the double quotes that start magic numbers by
    {magic| and those that end them by |magic}.
    
    Such quotes make it easier to automate the bumping process for magic numbers.
    shindere committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    7b651cc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f7d0269 View commit details
    Browse the repository at this point in the history
  12. Update the logic of detecting NO_COLOR

    The specification has silently changed; now setting the environment
    variable `NO_COLOR` with an empty string does not count. The value
    must be a non-empty string to prevent ANSI coloring.
    
    See https://no-color.org/
    favonia committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    631ed8d View commit details
    Browse the repository at this point in the history
  13. Add an entry in Changes

    favonia committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    2c3cc70 View commit details
    Browse the repository at this point in the history
  14. Merge pull request ocaml#12687 from OlivierNicole/fix_false_positive_…

    …tsan
    
    Make sure TSan false positive from ocaml#12282 is silenced
    gasche authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    d55a51a View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. CI: Check relevance of parsetree-change label

    The parsetree-change label is useful for PPX-related maintainance, this new CI
    check enforces that parsetree-change is equivalent to a change in parsetree.mli
    
    Unfortunately, a change in the documentation comments will need a
    parsetree-change label.
    
    Signed-off-by: Paul-Elliot <peada@free.fr>
    panglesd committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    1bc8ff2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ocaml#12688 from favonia/no-color

    Update the logic of detecting NO_COLOR
    Octachron authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    271a81b View commit details
    Browse the repository at this point in the history
  3. runtime_events: introduce primitives `caml_ml_runtime_events_{start,p…

    …ause,resume}`
    
    These are wrappers for `caml_runtime_events_{start,pause,resume}` but with
    types appropriate for calling from the bytecode interpreter.
    xavierleroy committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    8b2fdc9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c48fb71 View commit details
    Browse the repository at this point in the history
  5. runtime_events: caml_runtime_events_{start,pause,resume} are not pr…

    …imitives
    
    They are part of the C API, but not callable from the bytecode interpreter.
    Seize the opportunity to give them type `void f(void)` instead of
    `value f(void)`.
    xavierleroy committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    bb23a03 View commit details
    Browse the repository at this point in the history
  6. runtime_events: caml_runtime_events_user_resolve is not a primitive

    Its type prevents it from being called from the bytecode interpreter.
    xavierleroy committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    6da7db6 View commit details
    Browse the repository at this point in the history
  7. Don't define nor export as primitives the caml_int64_*_native funct…

    …ions
    
    They were introduced in ocaml#2146 to support unboxed 64-bit integer
    operations on 32-bit platforms, something that is no longer needed in
    OCaml 5 and was removed in ocaml#11904.
    xavierleroy committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    e5ee79a View commit details
    Browse the repository at this point in the history
  8. Normalize the types of primitives

    `caml_lex_engine`, `caml_new_lex_engine`, `caml_parse_engine` have strange
    types with pointers to structs as parameters.  Give parameters
    the type `value` and make explicit the casts from `value` to pointer to
    struct of `value` in the function bodies.
    xavierleroy committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    371cb32 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6d934fe View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    92e16dd View commit details
    Browse the repository at this point in the history
  11. Changes for ocaml#12686

    xavierleroy committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    afadab4 View commit details
    Browse the repository at this point in the history
  12. Merge pull request ocaml#12461 from panglesd/parsetree-change-in-ci

    CI: Check relevance of parsetree-change label
    Octachron authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    ebae0d1 View commit details
    Browse the repository at this point in the history
  13. Move the definition of magic numbers to build-aux/ocaml_version.m4

    This commit makes sure all the magic numbers are defined in
    build-aux/ocaml_version.m4 and duly propagated from there.
    
    It also introduces the tools/bump-magic-numbers script and uses it
    in Inria's CI bootstrap job. This script should also make the release
    process easier. It is a documented, automated and regularly verified
    procedure for bumping magic numbers.
    shindere committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    7892e6f View commit details
    Browse the repository at this point in the history
  14. Merge pull request ocaml#12686 from xavierleroy/primitive-cleanup

    Fix the types of C primitives and remove some that are unused
    dra27 authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    b194587 View commit details
    Browse the repository at this point in the history
  15. Merge pull request ocaml#12652 from shindere/magic-numbers

    Make it easier to bump and duplicate magic numbers
    shindere authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    7a0439d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    affc1c8 View commit details
    Browse the repository at this point in the history
  17. Merge pull request ocaml#12662 from Octachron/ocamldoc_less_str

    ocamldoc: centralize lexical convention before utf-8
    Octachron authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    f9371a2 View commit details
    Browse the repository at this point in the history
  18. Remove benign data race in parallel test

    The data race shows up in TSan-enabled runs, and can be removed for a
    small cost.
    OlivierNicole committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    d49c096 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Merge pull request ocaml#12689 from OlivierNicole/fix_false_positive

    Remove benign data race in parallel test
    gasche authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    abee025 View commit details
    Browse the repository at this point in the history
  2. parser: Location of typevars includes the quote

    This extends the location attached to type variables to include the
    preceding quote. Before:
    
        1 | let x:(([`A] as 'a)* ([`B] as 'a)) = [`A]
                                           ^
    
    After:
    
        1 | let x:(([`A] as 'a)* ([`B] as 'a)) = [`A]
                                          ^^
    
    The quote is not included in the AST but is logically part of the ident
    as suggested by this error message:
    
        1 | fun (x : 'a t as 'a) -> ();;
                              ^
        Error: This alias is bound to type "'a t" but is used as an instance of type "'a"
               The type variable "'a" occurs inside "'a t"
    Julow committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    e8a7060 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Remove no longer needed CAMLno_tsan attributes

    Remove a number of `CAMLno_tsan` function attribute which are no longer
    necessary since the data races that they used to silence have been fixed
    by ocaml#12030. For the one that we cannot remove due to a false positive,
    update the justification comment accordingly.
    OlivierNicole committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    fd41b69 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ocaml#12693 from OlivierNicole/remove_camlno_tsan

    Remove no longer needed `CAMLno_tsan` attributes
    gasche authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f6d6f65 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Change runtime/gen_primitives.sh to take the list of .c files as argu…

    …ment
    
    This avoids writing the list twice, in the top-level Makefile and in the script.
    The Dune build needs updating accordingly.
    
    Also: move relevant comments from Makefile to runtime/gen_primitives.sh .
    xavierleroy committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    2f944c9 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Configuration menu
    Copy the full SHA
    3f32112 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e68efb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5087a65 View commit details
    Browse the repository at this point in the history
  4. Update .depend

    nojb committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    7257763 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Make the module separator used in symbol names configurable.

    This restores the use of `$' instead of `.' when using MSVC as the
    system compiler, due to toolchain limitations.
    Miod Vallat committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    b167b25 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ocaml#12640 from dustanddreams/configurable_module…

    …_separator
    
    Make the module separator used in symbol names configurable
    gasche authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    80ca7e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    adfd041 View commit details
    Browse the repository at this point in the history
  4. In C++, give Bool_val the type bool (ocaml#12702)

    C++ 11 prohibits narrowing conversions from `int` to `bool` in some contexts
    (list initialization).
    C has no `bool` type by default, only `_Bool`, which is not in C++ by default.
    So we end up with two definitions of `Bool_val`, one for C and one for C++.
    
    Fixes: ocaml#11332
    xavierleroy authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    14d9ab1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5ad6900 View commit details
    Browse the repository at this point in the history
  6. AppVeyor: don't pass build triplet to configure

    It's not needed anymore and should have been x86_64-pc-cygwin.
    MisterDA committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    76ba21b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3f9dae0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9257bad View commit details
    Browse the repository at this point in the history
  9. AppVeyor: restrict runs for branch pushes as for GitHub Actions

    AppVeyor will still trigger on pull requests when the branch name
    doesn't match the filter list, and will trigger on consecutive pushes
    to an opened pull request.
    MisterDA committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    9f3a06a View commit details
    Browse the repository at this point in the history
  10. AppVeyor: evict the configure cache if configure changed

    The configure cache might be stale if the configure script has
    changed: the script responsible for a cache entry might have been
    modified. Detect whether configure has changed by computing a checksum
    and retrieving the system version, and evict the cache if needed.
    
    AppVeyor doesn't expose the commit ID of the previous state of the
    branch on a branch push, so checking whether configure has changed by
    inspecting the git history isn't possible.
    MisterDA committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    4afd608 View commit details
    Browse the repository at this point in the history
  11. Merge pull request ocaml#12701 from MisterDA/appveyor-updates

    AppVeyor updates & evict the configure cache if `configure` changed
    shindere authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    a62f7fb View commit details
    Browse the repository at this point in the history
  12. runtime/mlvalues.h: more careful definition of Tag_val (ocaml#12703)

    The offset `- sizeof(value)` should be signed, otherwise pointer overflow
    can (formally) occur.
    
    Fixes: ocaml#12528
    xavierleroy authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    6bad032 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Merge pull request ocaml#12692 from Julow/loc-typevar-extended

    parser: Location of typevars includes the quote
    gasche authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    d73896d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    526721a View commit details
    Browse the repository at this point in the history
  3. Documentation comments of TSan instrumentation choices

    Add a comment in tsan.c explaining the way OCaml accesses are signaled
    to TSan, and the consequences in terms of correct detection of data
    races. I also added a section explaining the choices made for volatile
    accesses. A case of TSan false positive in major_gc.c is commented with
    a pointer to these explanations. A not-completely-related outdated
    comment about exception raising and TSan was updated in the process.
    OlivierNicole committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    ab4278a View commit details
    Browse the repository at this point in the history
  4. Add a Changes entry for ocaml#12707

    jmid committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    2ed291f View commit details
    Browse the repository at this point in the history
  5. Build runtime/prims.c with accurate declarations of primitives

    "Accurate" means "with their proper types instead of the generic type
    `value prim(void)`".
    
    Partial fix for ocaml#12660
    xavierleroy committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    d6b868c View commit details
    Browse the repository at this point in the history
  6. Get rid of the DEFINE_NAN_CMP macro

    It introduces a special case in the generation of prims.c,
    while saving few characters and being inconsistently used.
    xavierleroy committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    5b7a896 View commit details
    Browse the repository at this point in the history
  7. Fix (partially) the Dune build

    Co-authored-by: Antonin Décimo <antonin@tarides.com>
    xavierleroy and MisterDA committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    6c0351b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0ae9045 View commit details
    Browse the repository at this point in the history
  9. Changes entry for 12700

    Also: bow to check-typo.
    xavierleroy committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    d3f15b1 View commit details
    Browse the repository at this point in the history
  10. Merge pull request ocaml#12707 from jmid/domain-assert-failure

    Fix assertion race condition in ocaml#11800
    gasche authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    8cc728b View commit details
    Browse the repository at this point in the history
  11. skip the finaliser_handover test

    The test is known to be flaky, as is reported and investigated in
    issue ocaml#12345. We now understand well why the test fails but devising a
    fix may take some time. It seems that the test is failing more often
    these days. There is little extra benefits from additional random CI
    failures, and they have a cost in terms of requiring a manual triaging
    action each time -- just accessing the logs to understand what fails
    takes some effort.
    gasche committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    eb84700 View commit details
    Browse the repository at this point in the history
  12. Merge pull request ocaml#12700 from xavierleroy/gen-prims

    Generate runtime/prims.c with the correct types in primitive declarations
    xavierleroy authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    217d42e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    35501bd View commit details
    Browse the repository at this point in the history
  14. Rework w53 tests.

    The reference file is not correct yet - it will be updated in subsequent commits
    as we track attributes with the new mechanism.
    ccasin committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    64d6327 View commit details
    Browse the repository at this point in the history
  15. Handle the basic attributes.

    Needs a bootstrap due to removing misplaced attrs in the stdlib.  That's done in
    next commit.
    ccasin committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    2daacd9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    00893de View commit details
    Browse the repository at this point in the history
  17. Handle attributes like "warning" and "alert"

    This also makes w53 controllable with warning attributes, but only for top-level
    alerts.  This is used to handle the fact that in the stdlib there's a template
    file with a top-level alert attribute, and it's included in two different
    places, one where that attribute is legal, and one where it is not
    
    A boostrap is needed, and performed in the next commit.
    ccasin committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    7cfdc31 View commit details
    Browse the repository at this point in the history
  18. bootstrap

    ccasin committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    4659b7c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    20e8696 View commit details
    Browse the repository at this point in the history
  20. changes entry

    ccasin committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    2086c08 View commit details
    Browse the repository at this point in the history
  21. integrate review: move namespace logic to eliminate duplication

    This also simplifies the types of several functions, which no longer need to
    take lists.
    ccasin committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    968b5f7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    3bc54da View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2bf1701 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e74de27 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Cleanup expand_abbrev_gen (ocaml#12691)

    - do not ignore the exception `Escape` in `Ctype.expand_abbrev_gen`;
      forget the possibly invalid abbreviation in that case.
    - define `Env.same_type_declarations` to more carefully compare environments in `Ctype.check_abbrev`
    - also rename `Env.add_local_type` to `Env.add_local_constraint` to clarify
      that this is the function that modifies `local_constraints`
    
    Co-authored-by: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
    t6s and garrigue authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    7d6bd42 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ocaml#12708 from gasche/skip-finaliser-handover

    disable the finaliser_handover test
    gasche authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ed7b382 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Merge pull request ocaml#12243 from damiendoligez/ocamltest-new-log-f…

    …ormat
    
    Ocamltest new log format and better error report
    shindere authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    b19bdb0 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Fix stack unwinding in caml_tsan_entry_on_resume().

    This replaces the existing logic which only works on amd64 with proper use
    of machine-independent accessor macros.
    Miod Vallat committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    f98d903 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ocaml#12694 from OlivierNicole/tsan_mm_comments

    Documentation comments of TSan instrumentation choices
    gasche authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    9f4142f View commit details
    Browse the repository at this point in the history
  3. Merge pull request ocaml#12711 from dustanddreams/tsan_backtrace

    Minor TSan stack unwinding cleanup
    gasche authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    49010d8 View commit details
    Browse the repository at this point in the history
  4. minor code cleanup

    Sadiq found a tricky bug in some STW callbacks that use their `void *`
    argument after the leader has exited the STW section. It is easier to
    audit usage of STW argument if the callbacks that do not use any say
    so clearly.
    gasche committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    d77bc97 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. Configuration menu
    Copy the full SHA
    d417fcb View commit details
    Browse the repository at this point in the history
  2. disable CSE for atomic loads

    gasche committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    dca5e6e View commit details
    Browse the repository at this point in the history
  3. Merge pull request ocaml#12716 from zapashcanon/ppnothing

    add Format.pp_print_nothing
    gasche authored Nov 4, 2023
    Configuration menu
    Copy the full SHA
    f09aa85 View commit details
    Browse the repository at this point in the history
  4. Merge pull request ocaml#12715 from gasche/atomic-load-no-cse

    disable CSE for atomic loads
    gasche authored Nov 4, 2023
    Configuration menu
    Copy the full SHA
    0c963ce View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Improve the documentation of {String,Byte}.split_on_char (ocaml#12717)

    The original documentation is complete and accurate, but
    it seems useful to highlight the most confusing case.
    favonia authored Nov 5, 2023
    Configuration menu
    Copy the full SHA
    c6eec0c View commit details
    Browse the repository at this point in the history
  2. Fix the documentation of Bytes.split_on_char (ocaml#12718)

    `""` is for strings, not for bytes.
    favonia authored Nov 5, 2023
    Configuration menu
    Copy the full SHA
    10f1334 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Guard against use of undefined macros in headers

    In case users apply the -Wundef flag on their own C code.
    MisterDA committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    3d76183 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    44d2127 View commit details
    Browse the repository at this point in the history
  3. Make the GC compact again (ocaml#12193)

    * remove pinning support from caml_shared_try_alloc
    * remove compact.h
    * add parallel shared heap compactor
    * add caml_gc_log and runtime events for compaction
    * add runtime_events sub-phases for compaction and a test
    * remove shared pool alignment requirements and supporting code in caml_mem_map
    * make sure we copy params before a barrier whenever it is passed
    
    Co-authored-by: Nick Barnes <nick@tarides.com>
    Co-authored-by: Damien Doligez <damien.doligez@gmail.com>
    3 people authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    bdd8d96 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Remain in Phase_sweep_and_mark_main when orphaning finalisers.

    When a domain terminates, the terminating domain's finalisers must be
    orphaned and adopted in Phase_sweep_and_mark_main GC phase. We introduce
    a global counter [num_domains_orphaning_finalisers] to prevent the GC
    from proceeding past [Phase_sweep_and_mark_main] when orphaning
    finalisers.
    kayceesrk committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    fefd439 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac4132c View commit details
    Browse the repository at this point in the history
  3. Address review comments.

    Move orphaning code from domain.c to major_gc.c. This makes the code
    more modular.
    kayceesrk committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    6626dc1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request ocaml#12714 from MisterDA/cc-Wundef

    Warn if an undefined identifier is evaluated in an `#if` directive (enable `-Wundef`)
    xavierleroy authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    6601f1b View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Enable finalise handover test. Add Changes.

    Includes minor edits addressing review comments.
    kayceesrk committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    aa42332 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ocaml#12710 from kayceesrk/fix_finaliser_handover_…

    …flakiness
    
    Fix finaliser handover flakiness
    kayceesrk authored Nov 9, 2023
    Configuration menu
    Copy the full SHA
    6e0ba58 View commit details
    Browse the repository at this point in the history
  3. Fix label evaluation order (ocaml#12720)

    * evaluate all optional arguments, in right order
    garrigue authored Nov 9, 2023
    Configuration menu
    Copy the full SHA
    efd7322 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    25a4dc7 View commit details
    Browse the repository at this point in the history
  5. Changes

    nojb committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    1b77dfe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e623fd7 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. github-linguist: autoconf support scripts

    Mark the support scripts in build-aux as linguist-generated, which
    excludes them from both stats and PR diffs.
    dra27 committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    69880cf View commit details
    Browse the repository at this point in the history
  2. github-linguist: Autoconf Archive

    Mark macros from the Autoconf Archive as vendored.
    dra27 committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    c4783f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3d2a9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df663ca View commit details
    Browse the repository at this point in the history
  5. Merge pull request ocaml#12726 from nojb/fix_headernt

    headernt.c: fix segmentation fault when runtime not found
    dra27 authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    22e7c76 View commit details
    Browse the repository at this point in the history
  6. Merge pull request ocaml#12451 from ccasin/warning-53

    Rework warning 53 (misplaced attributes) to work on all attributes in all places
    Octachron authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    718553e View commit details
    Browse the repository at this point in the history
  7. Merge pull request ocaml#12729 from dra27/gitattributes

    Vendored files and languages in .gitattributes
    gasche authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    842975c View commit details
    Browse the repository at this point in the history
  8. Move the computation of max_major back to custom.c and call this

    computation from adjust_gc_speed whenever max = 0.
    This streamlines alloc_custom_gen and fixes a bug reported by @gasche.
    damiendoligez committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    e27a6a3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    560216c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. Fix parallel recursive invocations of make

    runtime/primitives.new is computed on each reading of the Makefile.
    Ultimately, this is supposed not to be an issue because the Makefile
    will only be processed once, but this can cause a race condition writing
    runtime/primitives.new between multiple make processes which can trigger
    unexpected rebuilds.
    dra27 committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c8574a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    446b92d View commit details
    Browse the repository at this point in the history
  3. Merge pull request ocaml#12731 from dra27/primitives.new

    Fix parallel recursive invocations of make causing sporadic "Other checks" CI failure
    gasche authored Nov 11, 2023
    Configuration menu
    Copy the full SHA
    9b059b1 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    c49bf68 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ocaml#12318 from damiendoligez/fix-caml-alloc-cust…

    …om-mem
    
    fix bad behaviour of `caml_alloc_custom_mem`
    gasche authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    b4308a0 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    fc57b23 View commit details
    Browse the repository at this point in the history
  2. Adjust assertion to include the boundary condition dom_st->young_ptr …

    …== dom_st->young_trigger
    jmid committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    1457e49 View commit details
    Browse the repository at this point in the history
  3. pthread_sigmask

    TheNumbat committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    e444a96 View commit details
    Browse the repository at this point in the history
  4. Add a Changes entry for ocaml#12742

    jmid committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    624b9e7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8073903 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Merge pull request ocaml#12742 from jmid/fix-domain-assertion

    Fix assertion failure from ocaml#12712
    gasche authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    ed3329f View commit details
    Browse the repository at this point in the history
  2. add KC as ocaml#12742 reviewer

    gasche committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    5724f82 View commit details
    Browse the repository at this point in the history
  3. Suggestion from review

    ncik-roberts committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    4d5698f View commit details
    Browse the repository at this point in the history
  4. Add Changes

    ncik-roberts committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    b01b88a View commit details
    Browse the repository at this point in the history
  5. Merge pull request ocaml#12744 from ncik-roberts/make-parallel-always…

    …-runs-tests-in-subdirectories
    
    `make -C testsuite parallel` always runs tests in subdirs
    gasche authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    d1cb680 View commit details
    Browse the repository at this point in the history
  6. Changes

    TheNumbat committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    441811c View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Display primitives retrieval command in -verbose

    ocamlc -verbose is supposed to display all external commands being run -
    this should include retrieving the primitives table.
    dra27 committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    db380d6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ocaml#12743 from TheNumbat/trunk

    Use pthread_sigmask instead of sigprocmask
    gasche authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    214bf6a View commit details
    Browse the repository at this point in the history
  3. Merge pull request ocaml#12750 from dra27/display-primitives-command

    Display primitives retrieval command in `ocamlc -verbose`
    gasche authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    2309e90 View commit details
    Browse the repository at this point in the history
  4. Adjust Changes

    dra27 committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    8ec2b3d View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. Do not change GC pace when creating sub-arrays of bigarrays (ocaml#12754

    )
    
    This is achieved by adding a CAML_BA_SUBARRAY flag that is honored by caml_ba_alloc.
    
    Fixes: ocaml#12491
    Closes: ocaml#12500
    xavierleroy authored Nov 18, 2023
    Configuration menu
    Copy the full SHA
    6125c29 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    ecf19e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cc44f6 View commit details
    Browse the repository at this point in the history
  3. Fix testsuite exec-one for Windows

    IFS not set as in the other calls to ocamltest
    dra27 committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    ff1e820 View commit details
    Browse the repository at this point in the history
  4. Slightly improved manipulation of $IFS on Windows

    The previous "trick" set IFS to "\r\n" and then used parameter
    separatation to strip trailing \r characters. That's a bit nefarious,
    and it turns out it doesn't work (for some reason) in MSYS2.
    
    The "simple" alternative is to pipe the output of ocamltest through tr,
    but given that the while loop reading the results must necessarily use
    IFS in order to read entire lines, instead this alternate trick abuses
    IFS to strip the \r as a field delimiter to the while loop.
    dra27 committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    1d324a4 View commit details
    Browse the repository at this point in the history
  5. Fix ocamlnat frame table registration

    stedolan authored and gasche committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    48e74f2 View commit details
    Browse the repository at this point in the history
  6. Changes

    stedolan authored and gasche committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    50508ba View commit details
    Browse the repository at this point in the history
  7. Merge pull request ocaml#12757 from stedolan/fix-ocamlnat

    Fix ocamlnat by registering frametables correctly
    gasche authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    782598d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f86d94 View commit details
    Browse the repository at this point in the history
  9. Merge pull request ocaml#12759 from dra27/testsuite-win-fix

    Fix testsuite operation on Windows
    dra27 authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    ba0e425 View commit details
    Browse the repository at this point in the history
  10. Missed check-typo

    dra27 committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    f03ed06 View commit details
    Browse the repository at this point in the history
  11. Merge pull request ocaml#12760 from dra27/update-msvs-promote-path

    Update `msvs-promote-path` to upstream's 0.6.0
    dra27 authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    ef18034 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b58aafc View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Add Random.int_in_range and similar functions (ocaml#12459)

    * Add the following functions:
    
    - `Random.int_in_range`
    - `Random.int32_in_range`
    - `Random.int64_in_range`
    - `Random.nativeint_in_range`
    - `Random.State.int_in_range`
    - `Random.State.int32_in_range`
    - `Random.State.int64_in_range`
    - `Random.State.nativeint_in_range`
    
    `Random.int_in_range ~min ~max` randomly draws an integer in the range
    [min,max] (bounds included), and likewise for the other functions.
    
    * Add chi2 tests for these functions.
    
    * Fixes `Random.full_int` to ensure that the results are consistent between
    32-bit OCaml (with 31-bit integers), 64-bit OCaml (with 63-bit integers)
    and JS-of-OCaml (with 32-bit integers).  This was guaranteed in OCaml 4
    but was lost in OCaml 5.0.
    
    Co-authored-by: Xavier Leroy <xavier.leroy@college-de-france.fr>
    gmevel and xavierleroy authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    104656f View commit details
    Browse the repository at this point in the history
  2. Update function name in comment

    `caml_oldify_one` is now `oldify_one`.
    OlivierNicole authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    36afb76 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3217a77 View commit details
    Browse the repository at this point in the history
  4. Merge pull request ocaml#12767 from dra27/fix-ocamltest-keep

    Fix summary computation in ocamltest
    shindere authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    6a79fd8 View commit details
    Browse the repository at this point in the history
  5. Merge pull request ocaml#12765 from OlivierNicole/patch-1

    Update function name in comment
    dra27 authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    b98b5e7 View commit details
    Browse the repository at this point in the history
  6. Fix compilation of compilerlibs

    The compilerlibs were no longer compiled with -linkall, due to a
    bogous line introduced in commit e1c2928,
    which was part of PR ocaml#12586 (Merge compilerlibs/Makefile.compilerlibs
    into the root Makefile).
    
    The line was using a wrong GNU make syntax and a wrong variable name.
    
    The present commit fixes both the syntax and the variable name.
    shindere committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    db68f24 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Remove unneeded or guard <sys/time.h>

    Co-authored-by: Samuel Hym <samuel.hym@rustyne.lautre.net>
    MisterDA and shym committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    2457da8 View commit details
    Browse the repository at this point in the history
  2. Do not include <unistd.h> on Windows

    Avoid the MinGW implementation of this library so that the MinGW and
    MSVC ports use the same WinAPI code.
    
    Don't define HAS_UNISTD under Windows hosts, always guard its
    inclusion with this macro, defined in "caml/config.h".
    
    Co-authored-by: Antonin Décimo <antonin@tarides.com>
    Co-authored-by: Samuel Hym <samuel.hym@rustyne.lautre.net>
    3 people committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    2d4d332 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ocaml#12769 from MisterDA/windows-no-unistd

    Unify MSVC and MinGW-w64 code paths
    nojb authored Nov 23, 2023
    Configuration menu
    Copy the full SHA
    426f1ea View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Configuration menu
    Copy the full SHA
    bdca250 View commit details
    Browse the repository at this point in the history
  2. Add Constant and Class classifications

    Use that to assert that Static bindings always have a known size
    lthls committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    987bc3b View commit details
    Browse the repository at this point in the history
  3. Refactoring:

    - Add Value_rec_types modules
    - Rename Rec_check to Value_rec_check
    lthls committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    100558c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c3cf856 View commit details
    Browse the repository at this point in the history