Leo White
ecfaffe9de
Short circuit simple inclusion checks
2020-03-04 15:20:32 +00:00
Florian Angeletti
1fd6dc077d
Fix font family in code snippet ( #9334 )
2020-02-27 09:29:53 +01:00
Glenn Slotte
4823934182
Document base case of List.for_all and List.exists ( #9325 )
...
* Document the base case (`[ ]`) of List.for_all and List.exists
2020-02-26 09:51:01 +01:00
Florian Angeletti
bb15443a23
Revert "Make asmgen tests run"
...
This reverts commit e168edc67d
.
2020-02-24 11:20:14 +01:00
Nicolás Ojeda Bär
e35105a9bb
Fix typo in Changes
2020-02-22 10:20:11 +01:00
Florian Angeletti
996bf287ad
Merge pull request #9308 from dbuenzli/bootdoc
...
BOOTSTRAP.adoc: clarify some points (closes #9278 ).
2020-02-21 13:31:15 +01:00
Gabriel Scherer
9d8897db14
Merge pull request #9318 from trefis/empty_in_or_pattern
...
Fix exhaustivity checking in presence of empty types
2020-02-21 13:12:34 +01:00
Florian Angeletti
b6c978f702
Merge pull request #9323 from smuenzel-js/changes-four-09
...
Some "Changes" in 4.09 weren't included in 4.09
2020-02-21 09:54:57 +01:00
Stefan Muenzel
96f36f6bc9
move changes from 4.09 to 4.10
2020-02-21 08:24:35 +08:00
Sébastien Hinderer
479b91157d
Merge pull request #9152 from Gbury/ocamltest_asmgen
...
Make asmgen tests run
2020-02-20 17:22:47 +01:00
Sébastien Hinderer
468584632e
Merge pull request #9319 from shindere/remove-useless-calls-to-cat
...
runtime/Makefile: Get rid of two useless calls to cat (cosmetic)
2020-02-20 16:33:06 +01:00
Guillaume Bury
0d362f6abf
Fix arith.cmm test
...
An error was triggered on the floating point computations because of
rounding errors between the read from the D array, and the C-side fp
computation which used 80-bit precision.
2020-02-20 15:37:39 +01:00
Guillaume Bury
e168edc67d
Make asmgen tests run
...
Relative paths are needed in ocamltest (rather than plain executable
file names), because else 'execvp' searches for the executable in the
PATH instead of the current directory.
2020-02-20 15:37:30 +01:00
Stefan Muenzel
6b94a5500d
Add a test showing that the exhaustiveness check doesn't work with the empty variant
2020-02-19 13:30:16 +01:00
Sébastien Hinderer
407ab46f21
runtime/Makefile: Get rid of two useless calls to cat
...
Their output was piped to the tr command, so it's better to redirect
tr's standard input directly. This commit also replaces $^ by $< which
seems more accurate here.
2020-02-19 11:37:14 +01:00
Thomas Refis
5422ba1345
Changes
2020-02-19 10:39:43 +01:00
Thomas Refis
0cdf996ee2
type_pat: refresh the docs
2020-02-19 10:37:06 +01:00
Thomas Refis
78ad5de955
type_pat: factorize or-pat case
2020-02-19 10:37:06 +01:00
Thomas Refis
9a85827193
use a proper type, not a boolean
2020-02-19 10:37:06 +01:00
Florian Angeletti
27cbba6cd7
add an Empty_branch exception
2020-02-19 10:37:06 +01:00
Florian Angeletti
eda8b362c2
Merge pull request #9311 from shindere/fix-bfd-libraries-detection
...
Yet another fix to BFD support
2020-02-18 12:26:33 +01:00
Florian Angeletti
e03e29fd6d
Merge pull request #9182 from gasche/clarify-disambiguation-2
...
NameChoice (disambiguation): more refactoring
2020-02-18 12:25:15 +01:00
Florian Angeletti
8be6e2e029
Merge pull request #1664 from Octachron/monotonic_ouput-complete-obj
...
output-complete-obj: link runtime C libraries when building shared libraries
2020-02-17 16:14:35 +01:00
Sébastien Hinderer
eb2fe19be7
Yet another fix to BFD support
...
This commit uses the previously computed set of options for linking
dynamic libraries (DLLIBS) in stead of hard-coding "-ldl" when trying
to find which libraries to link to get BFD support.
For instance, this fixes the build on OpenBSD64 where the use of
"-ldl" caused an error.
2020-02-17 14:46:28 +01:00
octachron
dcebfa1617
output-complete-obj .so: link runtime c libraries
...
This commit align the behavior of output-complete-obj and output-obj
when building shared libraries
2020-02-17 10:10:45 +01:00
Daniel Bünzli
083ceec87f
BOOTSTRAP.adoc: clarify some points ( closes #9278 ).
2020-02-16 17:54:18 +01:00
Leo White
b807931180
Merge pull request #9259 from aalekseyev/faster-Weak.blit
...
Faster Weak.blit
2020-02-14 14:29:59 +00:00
Arseniy Alekseyev
59ca2a6350
Merge branch 'trunk' into faster-Weak.blit
2020-02-14 11:56:51 +00:00
David Allsopp
648d7a4a3f
Merge pull request #9250 from dra27/disable-ocamltest
...
Add --disable-ocamltest to configure
2020-02-14 10:32:43 +00:00
Florian Angeletti
9b36ee9cda
Merge pull request #9302 from shindere/bfd-ld
...
Fix support for the bfd library
2020-02-14 10:15:51 +01:00
David Allsopp
f09fae8551
Merge pull request #9286 from dra27/configure-tidy
...
Trivial: remove NONSTANDARD_DIV_MOD from m.h
2020-02-13 20:51:26 +00:00
David Allsopp
3fd7cf0ed1
Merge pull request #9249 from dra27/configure-ARCH_ALIGN_INT64
...
Define ARCH_ALIGN_INT64 not ARCH_ALIGN_LONG in configure
2020-02-13 20:50:26 +00:00
David Allsopp
0ebccd7539
Merge pull request #9304 from kayceesrk/instr_remain
...
Integer valued event major/mark/slice/remain should end with #
2020-02-13 20:49:59 +00:00
David Allsopp
fd6c0e3a03
Don't built ocamltest on release builds
...
--enable-ocamltest is paranoidly included in the CI scripts, although
the trees are never pushed with a release VERSION at the tip.
2020-02-13 16:53:07 +00:00
Sébastien Hinderer
4199406243
Fix support for the bfd library
...
There was a regression: -ldl was not tried to link with the bfd library.
This commit fixes this regression.
2020-02-13 17:42:10 +01:00
David Allsopp
d26d37bf97
Merge pull request #1176 from dra27/c89_headers
...
Aid compatibility with older Microsoft C compilers
2020-02-13 15:17:30 +00:00
Arseniy Alekseyev
629585da20
Merge branch 'trunk' into faster-Weak.blit
2020-02-13 13:25:22 +00:00
David Allsopp
3e8080ef08
Remove INLINE macro from st_posix.h
2020-02-13 13:17:21 +00:00
KC Sivaramakrishnan
cb2b22acb1
Integer valued event major/mark/slice/remain should end with #
2020-02-13 15:14:14 +05:30
Thomas Refis
d12044e6c2
dune: add Typedecl_separability
2020-02-12 17:11:31 +01:00
Florian Angeletti
72a6fa423e
Merge pull request #9300 from Octachron/manual_split_expression_grammar
...
manual: reference chapter, split the grammar of expressions
2020-02-12 14:32:55 +01:00
Florian Angeletti
23b9369a9b
manual: reference, split expression grammar
2020-02-12 10:58:20 +01:00
Gabriel Scherer
d2d94ef537
Merge pull request #9298 from dbuenzli/hacking-update
...
HACKING.adoc: update opam instructions for testing.
2020-02-11 16:14:53 +01:00
Daniel Bünzli
3facb4f09c
HACKING.adoc: update opam instructions for testing.
2020-02-11 15:52:21 +01:00
David Allsopp
32c4d5b7d2
Merge pull request #9296 from dra27/fix-8805
...
Fix spacetime regression on trunk
2020-02-11 15:32:52 +01:00
David Allsopp
a87ad8f18b
Use -Wdeclaration-after-statement
...
This GCC flag encourages development of C files which will compile
without error on older Microsoft C compilers.
2020-02-11 10:07:04 +00:00
David Allsopp
ecb79b2d56
Fix spacetime builds
2020-02-11 10:00:53 +00:00
Florian Angeletti
edabf2008c
Merge pull request #9292 from lpw25/fix-best-fit-32-bit
...
Fix bug in best-fit on 32-bit
(cherry picked from commit 9e52341ece4e8c73087d622d2900cf3a97c6fe7b)
2020-02-11 10:45:36 +01:00
David Allsopp
e5ca88f4fe
Remove erroneous inline from runtime/win32.c
2020-02-11 09:34:23 +00:00
David Allsopp
3aab294513
Replace static inline with Caml_inline
...
The inline keyword is consequently no longer forced on MSVC builds.
2020-02-11 09:33:55 +00:00