Commit Graph

20808 Commits (001c2d12836f9c5d3b688af1f83412d39a9be195)

Author SHA1 Message Date
David Allsopp 001c2d1283 Restore Cygwin64 support 2020-09-21 13:36:03 +01:00
David Allsopp 37d6394874 Update Changes for #9925 2020-09-21 13:35:14 +01:00
David Allsopp 507f40ecd7
Merge pull request #9925 from dra27/fdebug-prefix-map-PR
Fix -fdebug-prefix-map when using flexlink
2020-09-21 13:32:58 +01:00
David Allsopp 2bc77ee5cd Simpler implementation of Ccomp.linker_is_flexlink 2020-09-21 10:11:39 +01:00
David Allsopp 14300d3b1a Fix -fdebug-prefix-map when using flexlink
Prepend the -fdebug-prefix-map= option with -link if the "linker" is in
fact flexlink.
2020-09-21 10:11:39 +01:00
David Allsopp fed86fb598
Merge pull request #9924 from dra27/explicit-export-PR
Remaining functions requiring explicit export
2020-09-21 08:59:06 +01:00
Gabriel Scherer 9f3472dc4a
Merge pull request #9669 from lpw25/fix-7538
Check for misplaced attributes on module aliases (Fix #7538)
2020-09-18 14:57:42 +02:00
Matthew Ryan b6b42f3ce6
Re-check Tpackage scope escapes after normalising paths (#9715)
Rewrite check_scope_escape using proper marking and unmarking

This uses the Btype.snapshot/backtrack mechanism, to ensure that we
always undo marking on types from the environment and to avoid a
`try ... with ...` construction for each recursive call.
2020-09-18 14:38:32 +02:00
David Allsopp 17cceab054 Remaining functions requiring explicit export 2020-09-18 12:11:20 +01:00
Leo White 3c9ca39e14 Add Changes entry 2020-09-18 09:45:23 +01:00
Leo White fdbb4e201e Fix PR#7538 2020-09-18 09:38:08 +01:00
Leo White cfb1d66387 Add test for PR#7538 2020-09-18 09:16:52 +01:00
Leo White bbad93d222
Merge pull request #9783 from lpw25/widen-warning-16
Widen warning 16 to more cases
2020-09-18 09:12:56 +01:00
Leo White 2cb6066e4b Add Changes entry 2020-09-17 18:54:23 +01:00
Leo White 98d4f0b864 Widen warning 16 to more cases 2020-09-17 18:54:22 +01:00
Leo White 74270315a0 Add some tests for warning 16 2020-09-17 18:54:22 +01:00
Sébastien Hinderer ceb13a273c Inria CI: use a timeout, take #2
Let's try with a very short timeout, to make sure the job will exceed it.
2020-09-17 18:39:09 +02:00
Sadiq Jaffer c10217818f
Garbage collector colours change (#9756) 2020-09-17 17:24:04 +02:00
Thomas Refis f6a5b755f8
Env.folds (#9922) 2020-09-17 09:54:21 +02:00
Thomas Refis 9ca9df88c0
Untypeast: define untype_expression, untype_pattern (#9920)
Convenience functions that have been defined in merlin for a while.
2020-09-16 20:49:05 +02:00
Sébastien Hinderer fb0b2c5cd1 Inria CI: add timeouts to pipeline jobs 2020-09-16 11:57:54 +02:00
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
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
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