Commit Graph

20407 Commits (8bd19b76f7ab29155f32b29098ce9b54778eb528)

Author SHA1 Message Date
Xavier Leroy 8bd19b76f7 Update config.guess and config.sub
To version 2020-07-12 from git://git.savannah.gnu.org/config.git
This adds support for iOS/macOS AArch64.
2020-07-14 09:47:46 +02:00
Stephen Dolan 523fba919b
Extend Printexc API for raw backtrace entries (#9663) 2020-07-13 11:13:12 +01:00
Damien Doligez 601819f923
Simplified compaction without page table (#9728)
Taking advantage of the new closure representation, this PR simplifies the compaction algorithm (3 passes instead of 4) and remove the use of the page table in no-naked-pointers mode.
2020-07-13 10:59:05 +02:00
Gabriel Scherer 10cb814a17 fix long line in News 2020-07-11 14:26:29 +02:00
Gabriel Scherer 6236bac491 update News 2020-07-10 21:29:11 +02:00
Thomas Refis 4edc4b9928
pattern aliases do not ignore type constraints (#1655) 2020-07-09 12:20:37 +02:00
Gabriel Scherer 5940632496
Merge pull request #9647 from trefis/rematch-matching-handler-fun
pattern-matching refactoring: first-order representation for failure handlers
2020-07-09 07:25:48 +02:00
Gabriel Scherer fdf86ad403 matching: a first-order representation for match-failure handling 2020-07-08 22:38:47 +02:00
Gabriel Scherer 6aeed1c84d pass a proper location to Matching.for_trywith
Actually *using* the location in the failure handler would be
incorrect, as it adds noise to backtraces involving partial exception
handlers. This is now properly documented.

We still take the caller location (which is currently ignored) for
consistency with other toplevel Matching functions, and because that
may become useful if we want to add more error-reporting or warnings
in compile_matching.
2020-07-08 22:38:10 +02:00
Jeremy Yallop cfe6a50533
Merge pull request #9744 from yallop/remove-follow_forward
Remove unused function caml_lazy_follow_forward
2020-07-08 19:19:53 +01:00
Florian Angeletti 3d45b6c280 Changes: instrumented runtime doc is in 4.11 2020-07-08 18:46:05 +02:00
Florian Angeletti f879c052b1
Merge pull request #9541 from Engil/instrumented_runtime_manual
Add a chapter for the instrumented runtime
2020-07-08 18:29:44 +02:00
Enguerrand Decorne 4765f24edd manual: fix a typo in instrumented runtime manpage 2020-07-08 12:27:16 +02:00
Enguerrand Decorne a8b782bbcd manual: fix typo in instrumented runtime manual 2020-07-08 12:17:08 +02:00
Thomas Refis 167e66e15d
type_cases: rely on levels to enforce principality (#1931)
Instead of the erasure scheme that was used up to now, where we
considered that the type was always principal.

Note: the erasure still happens when polymorphic variants appear in the
patterns, and the type of the scrutinee contains a Reither.
2020-07-08 10:35:40 +02:00
Enguerrand Decorne 9ba979efe9 manual: adjustments to the instrumented runtime manual page 2020-07-08 03:13:56 +02:00
Enguerrand Decorne cfb62e32fc update Changes entry for the instrumented runtime manual page 2020-07-08 03:13:56 +02:00
Enguerrand Decorne f674c275aa instrumented runtime: change environment variable from OCAML_EVENTLOG_FILE to OCAML_EVENTLOG_PREFIX 2020-07-08 03:13:56 +02:00
Enguerrand Decorne f3ee9e3beb add manual page for the instrumented runtime 2020-07-08 03:13:56 +02:00
Gabriel Scherer 20fbae04eb
Merge pull request #9746 from serpent7776/trunk
Add missing space in ocamlc man page
2020-07-07 22:51:21 +02:00
Krzysztof Leśniak 761dec8c4a Add missing space 2020-07-07 21:55:36 +02:00
Jeremy Yallop 788f744c51 Bootstrap. 2020-07-07 16:10:17 +01:00
Jeremy Yallop dcb7fb1e4c Remove caml_lazy_follow_forward (unused since 666cb14a)
A bootstrap is needed after this commit.
2020-07-07 16:09:57 +01:00
Jacques Garrigue 46cec117a4
Fix #9721: Injectivity and recursive modules (#9727) 2020-07-07 09:04:23 +02:00
Stephen Dolan 088fa01b3e
Merge pull request #9688 from stedolan/main-compiler-libs
Expose the main entrypoint in compilerlibs
2020-07-06 13:03:02 +01:00
Jacques-Henri Jourdan 0616261642
Get rid of dead code that was introduced for an hypothetical JIT (#9710)
That code was never used and some of it is outdated.
2020-07-05 19:41:45 +02:00
David Allsopp bdb471287f
Merge pull request #9724 from MisterDA/fix-domain-state
Fix #9714 "Compilation failure in domain_state.h"
2020-07-03 13:38:57 +01:00
Florian Angeletti 75aa1ee0bc
Merge pull request #9712 from Octachron/version_format
New format for the OCaml version string
2020-07-03 10:20:20 +02:00
Gabriel Scherer 50806ced7f
Merge pull request #9216 from gasche/lambda-duplicate
extend Lambda.subst on bound variables, add Lambda.duplicate
2020-07-02 22:55:49 +02:00
octachron cd813bc1b0 Update version format 2020-07-02 16:47:03 +02:00
Florian Angeletti ad8da05e33
Merge pull request #9726 from sanette/patch-2
misplaced subsection '*'
2020-07-02 16:31:47 +02:00
Antonin Décimo cb3af25721 Changes 2020-07-02 09:35:15 +02:00
Et7f3 c4851b0ff0
Consistently use @raise tags in Stdlib docs (#8644) 2020-06-30 14:06:45 +01:00
David Allsopp c659bb3471
Merge pull request #9723 from dra27/flexdll-0.38
Bump FlexDLL submodule to 0.38
2020-06-30 13:48:22 +01:00
Stephen Dolan 34ead63bf7 Changes 2020-06-30 10:58:17 +01:00
Stephen Dolan c2461c000c Start Clflags.parse_arguments from 0 2020-06-30 10:57:09 +01:00
Stephen Dolan 81618f7b61 Move code of main and optmain to compilerlibs 2020-06-30 10:57:09 +01:00
Stephen Dolan d5af1ffb4f Move calls to exit to main/optmain 2020-06-30 10:57:09 +01:00
珊瑚 df87f39d52
misplaced subsection '*'
and hence the rendered subsection title only contained "*"
2020-06-30 09:48:36 +02:00
Antonin Décimo cba42a3ba3 Add a terminator to the domain_state
On a 32-bits architecture, if the last member of the caml_domain_state
is a pointer, it will be 4-bytes long, and the struct will end after a
4 bytes boundary, failing the assertion.

As @xavierleroy [put it][1]:

> we don't care about the total size of the struct, but we care that
> the members before `end_of_domain_state` are spaced by 8.

[1]: https://github.com/ocaml/ocaml/issues/9714#issuecomment-650516382

See #9714.
2020-06-29 21:24:24 +02:00
Antonin Décimo 4d6d422867 Use the alignas C++ keyword when compiling in C++
See #9714.
2020-06-29 21:24:17 +02:00
David Allsopp bfd3d7deb0 Bump FlexDLL submodule to 0.38 2020-06-29 17:06:19 +01:00
Florian Angeletti 33b9b16dd7 Changes bookkeeping: 9556 is not in 4.11 2020-06-29 11:50:23 +02:00
Jacques Garrigue e0ec63ae21
Fix #8747: incorrect principality warning on functional updates of records (#9709) 2020-06-28 23:20:12 +02:00
Gabriel Scherer 38bbd7fc29
Merge pull request #9716 from sanette/patch-1
correct punctuation
2020-06-28 21:07:03 +02:00
珊瑚 b6af92155a
correct punctuation 2020-06-28 16:57:13 +02:00
octachron b212928e74 Fix Changes after backporting #9163 and #9537 2020-06-26 19:22:54 +02:00
Florian Angeletti da0e9ed1f2
Merge pull request #9537 from lpw25/fix-PR7897
Fix warning 38 for rebound extension constructors (#7897)
2020-06-26 19:04:48 +02:00
Leo White 083fa6624b Add Changes entry 2020-06-26 12:37:07 +01:00
Leo White b4361282c1 Fix PR#7897 2020-06-26 12:35:35 +01:00