Commit Graph

1360 Commits (491cc88b33d8df1084764b21b40bb1f00b82e200)

Author SHA1 Message Date
Gabriel Scherer b1d1c0b77c
Merge pull request #9657 from nojb/warning_mnemonics
Add mnemonics for warnings
2020-07-21 11:47:37 +02:00
Nicolás Ojeda Bär c3bbb50cdc
Fix typo 2020-07-21 08:08:33 +02:00
Nicolás Ojeda Bär 2ade04ece5 Update manual 2020-07-20 08:31:18 +02:00
Nicolás Ojeda Bär a68791ffdc Display warning names in manual 2020-07-20 08:31:18 +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
Enguerrand Decorne 9ba979efe9 manual: adjustments to 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
珊瑚 df87f39d52
misplaced subsection '*'
and hence the rendered subsection title only contained "*"
2020-06-30 09:48:36 +02:00
珊瑚 b6af92155a
correct punctuation 2020-06-28 16:57:13 +02:00
Jacques Garrigue 603506aa34
Add injectivity annotations (#9500) 2020-06-15 13:51:50 +02:00
Nicolás Ojeda Bär 13155d81ee
Typo 2020-06-14 18:37:44 +02:00
Gabriel Scherer 28d8217130
Merge pull request #9638 from hannesm/runtime-stack-limit
documentation: clarify that l=x only affects byte-code runtime
2020-06-08 10:08:36 +02:00
Florian Angeletti ae5eb6b471
Merge pull request #9610 from xavierleroy/manual-intf-c
FFI documentation: naked pointers are obsolete
2020-06-05 07:57:52 +02:00
Nicolás Ojeda Bär c4eea2ed90 Manual 2020-06-04 22:31:25 +02:00
Hannes Mehnert f57837e002 documentation: clarify that l=x only affects byte-code runtime 2020-06-04 21:23:55 +02:00
Xavier Leroy bea823a1ea Reword what will happen with pointers outside the heap
Following review comments.

Also: fix the assertion in the third val_of_typtr function.
2020-06-04 18:24:44 +02:00
Xavier Leroy a22f6f5f03 Document alternate encodings for out-of-heap pointers 2020-06-04 18:24:44 +02:00
Xavier Leroy 608d1666c5 FFI documentation: naked pointers are obsolete
Also: better explain how to encapsulate naked pointers in Abstract blocks.
2020-06-04 18:24:44 +02:00
Florian Angeletti 180a91f5d5
Merge pull request #9580 from stedolan/stdlib-doc-fix
Ensure stdlib documentation index refers to Stdlib
2020-06-02 11:01:17 +02:00
Nicolás Ojeda Bär 973eeb1867
Add Val_some,Val_none,Some_val, Is_none, Is_some, Tag_some (#9569)
Closes: #5154
2020-06-01 19:31:47 +02:00
Stephen Dolan fb18d85569 Remove broken link to Pervasives 2020-05-25 09:59:00 +01:00
Gabriel Scherer 4c05c9d8db fix the manual and improve the check-stdlib-modules error message 2020-05-16 17:51:54 +02:00
Jacques Garrigue a2a287c823 like classes, type constraints are 'typexpr = typexpr' 2020-05-15 15:48:57 +02:00
David Allsopp b6c8b35e2d
Make -flarge-toc the default for PowerPC (#9557)
Introduce -fsmall-toc in order to access the previous behaviour and
document both options in the manual and ocamlopt manpage.
2020-05-13 18:23:37 +02:00
Xavier Leroy 080ac7421c
Update documentation for the Thread module and deprecate some functions (#9419)
- Deprecate Thread.kill, Thread.wait_read, Thread.wait_write
  for reasons explained in the documentation comments.
- Update documentation comments for Thread functions.
- Deprecate ThreadUnix module, documented as deprecated since 2002
  (commit 0a47a75d56).
- In the manual, remove leftover mentions of the VM threads
  implementation; focus on the system threads implementation.
- In the manual, remove the documentation of ThreadUnix.

Closes: #9206
2020-04-25 19:13:34 +02:00
Leo White 59fac074fe
Merge pull request #9349 from lpw25/inline-hint
Add [@inlined hint] attribute
2020-04-17 08:27:58 +01:00
Leo White f46abe1916 Add [@inlined hint] attribute 2020-04-16 15:58:03 +01:00
Gabriel Scherer 7bc2663a0e
Merge pull request #9422 from Anukriti12/gcd
replaced fib example with gcd in coreexample.etex
2020-04-07 15:08:58 +02:00
Anukriti12 97b9bed89e replaced fib example with gcd in coreexample.etex 2020-04-05 16:54:36 +05:30
octachron 3e7de343e7 fix attribute examples in the manual 2020-03-27 17:12:23 +01:00
Xavier Leroy 466ed635e9
The manual is now hosted on ocaml.org (#9378)
* Point to ocaml.org for the other versions of the manual
* Remove mentions of caml.inria.fr

ocaml.org is now the only place to go.


* MacOS X is now called macOS; MacOS 9 is no more
* Update availability of dynamic loading of C stubs
* "website" is more common these days than "Web site"
2020-03-20 18:25:54 +01:00
Florian Angeletti 3dd86faa2c
Merge pull request #9357 from muskangarg21/makedepend
[Ocamldep] [TOOLS] : -nocwd argument to not include current dir to search path
2020-03-17 10:18:31 +01:00
Jérémie Dimino e54876a869
Add a new toplevel directive #use_output "<command>"
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
Co-authored-by: David Allsopp <david.allsopp@metastack.com>
2020-03-16 17:48:41 +00:00
muskangarg21 e0b31a6abc TOOLS: Ocamldep arg to not include current dir to search path 2020-03-16 01:00:08 +05:30
Nicolás Ojeda Bär 57d329e07b
Deprecate -annot (#2141)
* Move driver code from Cmt2annot to Read_cmt
* Move cmt2annot.ml into typing/
* make depend
* Use standard error handling
* Move specific logic to read_cmt
* Do not pass full cmt record as argument
* Better locations
* Emit .annot files produced from cmt data
* Remove direct calls to Stypes
* Deprecate -annot
* Changes
* make depend
* Adapt doc
* make -C tools depend
2020-03-13 12:59:34 +01:00
Florian Angeletti 1fd6dc077d
Fix font family in code snippet (#9334) 2020-02-27 09:29:53 +01:00
Florian Angeletti 23b9369a9b manual: reference, split expression grammar 2020-02-12 10:58:20 +01:00
Florian Angeletti c7b1fe8513
manual: a cautionary internal runtime API section (#9257) 2020-01-31 13:54:31 +01:00
Florian Angeletti 11b57a7027
Merge pull request #9157 from mkarutz/noalloc-master-lock-docs
Added [doesn't release the master lock] constraint to [@@noalloc] doc.
2020-01-30 13:56:01 +01:00
Malcolm Karutz 33347f87a2
Added forward reference to "master lock" 2020-01-30 10:44:16 +08:00
Gabriel Scherer b237282e97 Merge pull request #9270 from gadmm/doc_stack_overflow
Documentation: Stack_overflow is reliable, Out_of_memory is not.
(cherry picked from commit 84f62eee5d26efb936cde0e799b7aaa39e46c010)
2020-01-29 11:08:57 +01:00
Florian Angeletti dc56d71b53 types: allow class type paths in #t 2020-01-20 17:21:02 +01:00
Gabriel Scherer 5b1b8dad1a
Merge pull request #9169 from gasche/best-fit-manual
better documentation for the best-fit allocation policy
2019-12-11 10:01:12 +01:00
Gabriel Scherer 238e483eb8 better documentation for the best-fit allocation policy 2019-12-10 21:40:50 +01:00
Stephen Dolan ca98dd8aa2 manual bugfix 2019-12-09 12:50:17 +00:00
Stephen Dolan 0b1ca1b738 Add version annotation on custom_fixed_length in manual 2019-12-09 11:32:40 +00:00
Florian Angeletti 721c182dfc manual: changes and documentation 2019-12-06 10:09:21 +01:00