Commit Graph

20751 Commits (c3f6cd7ff7d53a1b97651ad59d2c0c81f98751a8)

Author SHA1 Message Date
John Whitington da7e2131dc Revert ocamldoc hack 2020-08-03 14:51:49 +01:00
Sébastien Hinderer 2d927d8be6 tools/ci/inria/extra-checks: stop mentionninig world.opt explicitly
this is now what's happening by default when the bytecode compiler
has not been disabled, and it has not, here.
2020-08-03 15:41:02 +02:00
John Whitington 66638cf700 ~prefix fix 2020-08-03 14:12:58 +01:00
Sébastien Hinderer 5cb2218044 tools/ci/inria/extra-checks: print each command before its execution 2020-08-03 15:05:38 +02:00
Sébastien Hinderer 4d7e78f224 tools/ci/inria/extra-checks: fix typos 2020-08-03 15:05:32 +02:00
John Whitington 1d68ac08dc Fix deprecations 2020-08-03 13:38:28 +01:00
John Whitington 13965773ed Tildes back in ~random parameter in Hashtbl.create 2020-08-03 13:01:33 +01:00
John Whitington 0af3a1a805 Small fixes from @dra27's comments 2020-08-03 12:46:16 +01:00
Nicolás Ojeda Bär 7c1cf4bc95
caml_alloc_some: use Field as an l-value instead of Store_field (#9819) 2020-08-03 11:44:49 +02:00
Stephen Dolan 0bf255cd7e
Fix signals_alloc test (#9814) 2020-08-02 21:30:58 +02:00
John Whitington 7a22c2b1e4 Remove unneeded comment, typo 2020-08-01 13:54:36 +01:00
John Whitington 1c258b463f Fix label warnings 2020-07-31 15:51:11 +01:00
John Whitington a5ed794b4c Check-typo and indenting all done 2020-07-31 14:24:50 +01:00
John Whitington 4c5879b079 More patch indenting 2020-07-31 12:42:00 +01:00
John Whitington 35a3470a9d Better indentation for moreLabels.mli patches 2020-07-31 12:38:45 +01:00
Xavier Leroy 8b6241c64c Skip tests/unwind on iOS / macOS ARM64, continued
Follow-up to 482b7feb3
2020-07-31 09:29:43 +02:00
Xavier Leroy 482b7feb37 Skip tests/unwind on iOS / macOS ARM64
On iOS / macOS ARM64, libunwind seems unable to unwind anything, not
just OCaml function calls, but even C function calls.  Maybe this is
related to the observation that the C compiler doesn't produce DWARF
unwinding info by default.

The DWARF unwinding info produced by ocamlopt seems correct, given that
lldb prints correct stack backtraces for this "unwind" example.
2020-07-31 09:04:20 +02:00
John Whitington 0e2a4a6ea7 Better, simpler, removal of unix type aliases 2020-07-30 19:07:03 +01:00
John Whitington 6e0557f6d7 Labeled and unlabeled @sinces automatically 2020-07-30 17:21:22 +01:00
Stephen Dolan 5b4b834578
Ensure signals are handled before Unix.{kill,sigprocmask} return (#9802) 2020-07-30 14:30:42 +01:00
John Whitington 0fbeee11be Fix smaller review comments from @dra27 2020-07-30 13:26:20 +01:00
Sébastien Hinderer 24744e8dd8 cehck-typo 2020-07-30 10:23:17 +02:00
David Allsopp a7ecba9045
Merge pull request #9804 from stedolan/otherlibs-debug
Build otherlibs with debug info in C stubs
2020-07-29 19:58:36 +01:00
David Allsopp fb971b09f2
Merge pull request #9805 from dra27/testsuite-tweaks
2 testsuite tweaks
2020-07-29 19:44:24 +01:00
John Whitington 85491c8867 Tildes back in labeled modules 2020-07-29 14:58:01 +01:00
John Whitington dd1f3789f2 Tilde removal in place. Now will put them back in. 2020-07-29 13:58:22 +01:00
David Allsopp 2bba32a1fb
Merge pull request #9808 from dra27/ocamltest-toplevel
Fix running win-unicode test
2020-07-29 11:29:47 +01:00
Jacques Garrigue 302d735ce8
Righteous ambivalence (#9767)
* Fix #9759: Typing without -principal is broken in 4.11 and trunk
* compile stdlib in -principal mode
* never modify generic part of ty_expected_explained
* use generic_instance where possible
* add comment for -no-principal in stdlib__oo.cmi
2020-07-29 09:10:17 +09:00
Xavier Leroy 8b3ac9bcb2
Merge pull request #9722 from stedolan/eintr-again
EINTR-based signal handling: ensure that signals are handled
only at polling points, and that I/O locks are not held during signal
handling.
2020-07-28 19:20:57 +02:00
Stephen Dolan a741f25803 Build otherlibs with debug info in C stubs 2020-07-28 17:30:28 +01:00
Stephen Dolan e0b5f5e1cf Changes 2020-07-28 17:03:06 +01:00
Xavier Leroy 274cb3c3ce Changes entry for #9699 2020-07-28 16:41:23 +02:00
Xavier Leroy a0a1ba4f1e
Merge pull request #9699 from EduardoRFS/trunk-ios
Add support for iOS and macOS on ARM64
2020-07-28 16:40:55 +02:00
Fourchaux 44e6cf4e0f
typos (#9806) 2020-07-28 12:22:03 +01:00
David Allsopp df705bce12 Fix running toplevel tests in ocamltest
Fault in the logic for toplevel tests meant the win-unicode tests were
never running.
2020-07-28 10:57:44 +01:00
Stephen Dolan c2b2da2234 Tests for EINTR-based signal handling 2020-07-28 10:54:54 +01:00
Stephen Dolan 15b9d006a4 Avoid polling in caml_leave_blocking_section
To preserve behaviour, explicit polls are added:

   - in caml_raise, to raise the right exception when as system
     call is interrupted by a signal.

   - in sigprocmask, to ensure that signals are handled as soon
     as they are unmasked.
2020-07-28 10:54:54 +01:00
Xavier Leroy 82625c6105 test/unwind: exit with nonzero error code in case of failure
Follow-up to d374d7d23
2020-07-28 10:27:07 +02:00
Stephen Dolan 63d516bda1 Avoid running signal handlers while holding locks in io.c 2020-07-27 17:29:39 +01:00
Stephen Dolan 32feddc1fc Do not run OCaml code inside signal handlers 2020-07-27 17:29:39 +01:00
Stephen Dolan e678885007 Lock channels before doing I/O
The debugger's use of channels doesn't support locking, but it
doesn't work on threaded programs anyway.
2020-07-27 17:29:39 +01:00
David Allsopp a9fc1cd84f Assume --no-print-directory option
At the time the test was added, GNU make was not a requirement. It is
now, an --no-print-directory was added in 1993...
2020-07-27 16:33:41 +01:00
David Allsopp 2317acc0c0 Return tests in alphabetical order 2020-07-27 16:28:27 +01:00
John Whitington 28f624b919 check-typo fixes 2020-07-27 15:53:57 +01:00
Xavier Leroy ba2b98608a
Merge pull request #9742 from jhjourdan/fix_7810
Make Ephemeron compatible with infix pointers.
2020-07-27 16:51:14 +02:00
John Whitington 902ca08055 Fix tools/unlabel to deal with Hashtbl injectivity 2020-07-27 15:44:35 +01:00
John Whitington e5e7b9591a Restore docstring variable brackets 2020-07-27 14:42:30 +01:00
John Whitington 22a158b7b2 Fix injectivity type 2020-07-27 14:32:48 +01:00
John Whitington 44403b16e8 Merge branch 'trunk' of https://github.com/johnwhitington/ocaml into trunk 2020-07-27 14:15:11 +01:00
John Whitington bec7f8ff3d Restore Hashtbl.rebuild in .mli, fix docstring 2020-07-27 14:12:54 +01:00