Gabriel Scherer
0a1ed638c4
Merge pull request #9918 from OCamlPro-Coquera/trunk
...
Stdlib.Format: missing `since` annotation for formatter_out_functions
2020-09-15 11:54:36 +02:00
David Allsopp
a65ab1874c
Merge pull request #9912 from dra27/remove-spacetime-link-kludge
...
Remove caml_ensure_spacetime_dot_o_is_included
2020-09-15 10:43:10 +01:00
David Allsopp
cfff00d1cd
Merge pull request #9913 from dra27/spacetime-tweaks
...
Tidying up spacetime exports
2020-09-15 10:42:35 +01:00
Florian Angeletti
d0e983e2aa
Merge pull request #9745 from johnwhitington/trunk
...
Unify labeled and unlabeled Standard Library module interfaces
2020-09-15 11:07:25 +02:00
Albin Coquereau
dedbb708ce
move since tag to type definition
2020-09-15 10:33:11 +02:00
Albin Coquereau
0da6ca1f11
Add a comment that out_indent is part of formatter_out_functions since ocaml 4.06.0
2020-09-15 09:58:20 +02:00
Xavier Leroy
ba0a9c2ce8
Export, document, and use Unix._exit ( #9914 )
...
This is a wrapper around the _exit system call. It has been implemented
in otherlibs/unix/exit.c for a long time but never exported.
This commit exports and documents it as `Unix._exit`.
The Unix implementation of `establish_server` is changed to use `_exit`
and to have gender-neutral comments.
A test was added to check that OCaml finalization actions are not performed.
2020-09-14 19:03:42 +02:00
David Allsopp
e963093f00
Remove unnecssary spacetime disabled stubs
2020-09-14 18:03:00 +01:00
David Allsopp
f5eb31b774
Include parameters on dummy spacetime stubs
2020-09-14 18:02:46 +01:00
David Allsopp
23f60e3c2f
Minor comment fix
2020-09-14 18:02:20 +01:00
David Allsopp
fb84009c58
Use CAMLexport not CAMLprim for C functions
2020-09-14 18:01:27 +01:00
David Allsopp
0bd6c0d36f
Remove unused spacetime primitives
2020-09-14 18:01:14 +01:00
David Allsopp
13bba6531b
Remove leaking globals
2020-09-14 16:40:12 +01:00
David Allsopp
f71a41daaf
Add internal toggle to disable using .opt binaries
...
Adding USE_BEST_BINARIES= to the command line disables the use of the
.opt compilers.
2020-09-14 16:13:41 +01:00
Florian Angeletti
bc4d260de7
Merge pull request #9865 from raphael-proust/pp_print_seq
...
Stdlib.Format: add pp_print_seq
2020-09-14 16:52:11 +02:00
David Allsopp
954128bc5c
Make caml_spacetime_automatic_save static
...
There's no need for this function to be globally visible.
2020-09-14 14:56:57 +01:00
David Allsopp
0c646d4f4e
Remove unnecessary extern's in spacetime_nat.c
...
These are declared in respective headers already.
2020-09-14 14:56:07 +01:00
David Allsopp
b38f4962e9
Remove undefined declaration of caml_spacetime_debug
2020-09-14 14:55:17 +01:00
David Allsopp
46da6eb4bc
Tidy spacetime.h
2020-09-14 14:54:10 +01:00
Thomas Refis
f8fb2d4ba6
Changes
2020-09-14 13:33:36 +02:00
Thomas Refis
92c36d54c5
correction following Florian's review
2020-09-14 13:33:24 +02:00
Thomas Refis
162df93916
catch Nondep_cannot_erase exception
2020-09-14 13:27:03 +02:00
Thomas Refis
6aad418899
add test from #9858
2020-09-14 13:27:03 +02:00
David Allsopp
89ef6199bd
Remove caml_ensure_spacetime_dot_o_is_included
2020-09-14 11:42:59 +01:00
David Allsopp
3b1d4dafe0
Eliminate caml_code_area globals ( #9909 )
2020-09-14 09:16:09 +01:00
Gabriel Scherer
d3c1daae32
Merge pull request #9908 from dra27/tweak-9652
...
Fix unnecessary rebuilding on Windows
2020-09-12 15:13:54 +02:00
Raphaël Proust
63f107c62e
Credit MR reviewer
2020-09-12 09:19:30 +02:00
Raphaël Proust
faeb43ba5a
Add test for Stdlib.Format.pp_print_seq
2020-09-12 09:19:30 +02:00
David Allsopp
720b8c9b99
Fix ocamlcommon.cmxa/ocamlopttoplevel.cmxa rules
...
Depending on ocamlopt meant they were always rebuilt on Windows/Cygwin
builds.
2020-09-12 08:11:03 +01:00
John Whitington
2d217e7c44
assoc -> assoc_opt
2020-09-11 20:07:44 +01:00
John Whitington
cd920ab553
Remove false self-references
2020-09-11 18:11:54 +01:00
John Whitington
bcc16f692b
Fix two little errors
2020-09-11 18:10:12 +01:00
Florian Angeletti
9a31c888b1
Merge pull request #9433 from lpw25/fix-package-constraints-for-module-aliases
...
Fix package constraints for module aliases
2020-09-11 18:21:24 +02:00
David Allsopp
0d91bef985
Eliminate CAMLprim/CAMLexport in socketaddr.h ( #9900 )
...
* Merge {win32,}unix/socketaddr.h so that unix/socketaddr.h can be used from win32unix/ as well.
* Update socket-related files in win32unix/
2020-09-11 16:35:31 +02:00
David Allsopp
c9d5294b78
Fix check-typo sins
2020-09-11 15:01:14 +01:00
John Whitington
a866c6d07f
Fix reference to tools/unlabel
2020-09-11 14:39:12 +01:00
John Whitington
c3f6cd7ff7
Merge remote-tracking branch 'upstream/trunk' into trunk
2020-09-11 14:14:38 +01:00
Florian Angeletti
75ec40bdd6
Merge pull request #9590 from chetmurthy/pr-extension-constructor-rebind-pprint-4.11
...
PR extension constructor rebind pprint 4.11
2020-09-11 10:37:08 +02:00
David Allsopp
28789cd045
Merge pull request #9904 from dra27/unix-io-prims
...
Declare primitives used by unix in io.h
2020-09-11 09:35:31 +01:00
David Allsopp
e7a2da1707
Merge pull request #9903 from dra27/tidy-CAMLextern
...
Remove final instances CAMLextern in C files
2020-09-11 09:35:07 +01:00
David Allsopp
95ea8a2d32
Merge pull request #9902 from dra27/main-cleanup
...
Declare caml_expand_command_line in osdeps.h
2020-09-11 09:34:47 +01:00
David Allsopp
d889d8f565
Merge pull request #9901 from dra27/caml_main
...
Tidy caml_main declaration
2020-09-11 09:34:29 +01:00
David Allsopp
ade519d5df
Merge pull request #9899 from dra27/export-in-C-only
...
Remove CAMLprim and CAMLexport from backtrace.h
2020-09-11 09:34:06 +01:00
John Whitington
69c59b172d
Take account of GPR#9668
2020-09-10 21:01:02 +01:00
John Whitington
5a230ee8e7
Add reviewer
2020-09-10 19:33:19 +01:00
John Whitington
fc101ae849
Rename tools/unlabel --> tools/sync_stdlib_docs
2020-09-10 19:17:43 +01:00
Chet Murthy
0d46b5206d
redo: This little patch fixes the pretty-printing of "rebind" extension-constructors (and also rebind exceptions) so that it matches the parser. With tests. a rebind extension like
...
type t += A = M.A [@a]
was pretty-printed as
type t += A[@a] = M.A
[obviously wrong, also not accepted by parser]
With tests for extension-constructors and exceptions.
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch pr-extension-constructor-rebind-pprint-4.11
# Changes to be committed:
# modified: Changes
# modified: parsing/pprintast.ml
# modified: testsuite/tests/parsetree/source.ml
#
# Untracked files:
# Changes.orig
# parsing/pprintast.ml.orig
# testsuite/tests/parsetree/source.ml.orig
# testsuite/tests/parsetree/source.ml.rej
#
2020-09-10 11:09:06 -07:00
John Whitington
5fd8236343
Fix comment regarding NaN in Array.sort
2020-09-10 18:10:29 +01:00
John Whitington
99645f901b
Adds readme to stdlib/templates
2020-09-10 18:08:00 +01:00
John Whitington
d6ce828d06
Remove SINCE work from tools/unlabel
2020-09-10 17:56:42 +01:00