Commit Graph

1378 Commits (master)

Author SHA1 Message Date
Jacques-Henri Jourdan 78de99ecc2 Xavier Clerc's remarks. 2019-07-16 13:42:04 +02:00
Jacques-Henri Jourdan 593f94055a Dynlink support for ocamldebug
This commit adds dynlink support for ocamldebug. As a side effect, it also:
  - factorizes the various functions searching for a code fragment into one,
    called [caml_find_code_fragment];
  - removes the [caml_register_code_fragment], which does not seem to
    be used anywhere, and which clearly should not be used by external code.
2019-07-16 10:52:48 +02:00
Florian Angeletti f6f99c7715
Merge pull request #8763 from dra27/more-pervasives-refs
Rename remaining references to Pervasives to Stdlib
2019-07-09 18:00:25 +02:00
Alejandro da87dbd64a Format trivial fix 2019-07-07 22:48:16 -04:00
Florian Angeletti 458ea23751
Merge pull request #8790 from Octachron/test_case_collision
manual testsuite: case-insensitive name collisions
2019-07-05 15:51:12 +02:00
Florian Angeletti 9102f6a2f7 manual: test case-insensitive collisions 2019-07-05 09:34:02 +02:00
Florian Angeletti 781f71480b manual: restore ocamldep chapter 2019-07-02 18:44:18 +02:00
Florian Angeletti 2c9bf2ad12 manual: restore spacetime chapter 2019-07-02 18:10:30 +02:00
Florian Angeletti 4003788838 manual: fix broken links
(cherry picked from commit ffe6af917e4fe5ba20114d4bd36bebfc5851cfd9)
2019-06-30 10:05:41 +01:00
David Allsopp adfa5f9775 Tweak the default open sentence 2019-06-26 18:11:58 +01:00
David Allsopp 3e4c9f238a Choose a better example for external
Pervasives.input has never been a primitive (it was always unsafe_input)
- string_of_int has the benefit of being declared external.
2019-06-26 18:11:58 +01:00
David Allsopp 7c2284eda3 Rename references to Pervasives to Stdlib 2019-06-26 18:11:58 +01:00
Guillaume Munch-Maccagnoni 6a6f34e483 Fix typographic issues in the doc of new modules (#8744)
* Fix typographic issues in the doc of new modules

No change entry needed
2019-06-26 19:03:15 +02:00
Damien Doligez 4820d299fc manual: recover compatibility with case-insensitive file systems 2019-06-25 15:36:53 +02:00
Ian Zimmerman 466950b48f Stop talking about Pervasives in core library documentation 2019-06-23 17:18:58 +01:00
Cedric Cellier 70327c1607
Update intf-c.etex
Fix typo
2019-06-20 09:53:50 +02:00
Gabriel Scherer 010d94cae2
Merge pull request #2309 from TheLortex/runtime-variant-path
Add -noruntime option
2019-06-19 16:12:28 +02:00
Lucas Pluvinage 198d650245 without-runtime: cosmetic tweaks 2019-06-11 10:06:56 +02:00
JPR 6dc59549ce Fixing misspellings 2019-05-21 10:23:27 +02:00
octachron e7c72ed709 multi-indices for extended indexing operators 2019-05-13 15:26:49 +02:00
Lucas Pluvinage e61263c0ac Introduce the -without-runtime option. 2019-05-06 14:35:57 +02:00
Gabriel Scherer f845abefc9
Merge pull request #8593 from Octachron/manual_opam
manual: update references to toplevel improvements
2019-04-23 21:50:55 +02:00
Florian Angeletti 0701086b17 manual: update reference to improved toplevels 2019-04-07 22:10:14 +02:00
Florian Angeletti c27e0bdab9 manual: fix tests 2019-04-07 20:25:31 +02:00
Nicolás Ojeda Bär 933539380d
Merge pull request #8590 from arbipher/patch-1
Update comp.etex
2019-04-06 20:00:23 +02:00
Oxana Kostikova ac94a6546a Add .cmt* format description (#8538) 2019-04-06 19:57:05 +02:00
Weng Shiwei f8182797e2
Update README.md
The name of the directory is `library`
2019-04-06 13:45:41 -04:00
Weng Shiwei dbadf5fd11
Update comp.etex
replace `=` by `:` in declaring the type for a record
p.s. This warning doesn't occur in my test on OCaml 4.07.0
2019-04-06 13:33:18 -04:00
Florian Angeletti cd0933f0e8
Merge pull request #8515 from Octachron/reexport_constraint
manual: precise constraints on reexported types
2019-03-19 17:34:21 +01:00
Nicolás Ojeda Bär fe83737cbb dynlink: add doc about -linkall 2019-03-18 16:55:16 +01:00
Jérémie Dimino c413136fa3 Delete otherlib/{graph,win32graph} (#2318)
The Graphics library is now distributed as a separate package.
The sources are at https://github.com/ocaml/graphics .

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2019-03-18 15:05:57 +01:00
Stephen Dolan 4f03a1467d
Merge pull request #2293 from stedolan/named-value-const
Make caml_named_value return a const value*
2019-03-18 09:45:02 +00:00
Florian Angeletti d0b47176ca manual: precise constraint on reexports 2019-03-17 22:03:52 +01:00
Florian Angeletti 798dc35c9e
manual: refresh moduleref macro (#8508) 2019-03-16 20:47:20 +01:00
Mark Shinwell 2cc1ea26b9 Remove gprof support (#2314)
This commit removes support for gprof-based profiling (the -p option to ocamlopt).  It follows a discussion on the core developers' list, which indicated that removing gprof support was a reasonable thing to do. The rationale is that there are better easy-to-use profilers out there now, such as perf for Linux and Instruments on macOS; and the gprof support has always been patchy across targets. We save a whole build of the runtime and simplify some other parts of the codebase by removing it.
2019-03-16 19:56:53 +01:00
Mark Shinwell 36c163248d Remove support for compiler plugins (#2276)
After consultation on the core developers' list I am proposing this patch to remove support for compiler plugins.

The main motivations for removing compiler plugins are:
- They are a potential security risk.
 - They increase the complexity of the build system and make maintenance of the Dynlink libraries more difficult (although actually, this complexity could probably be reduced after #2268 is merged).
 - Many applications of plugins should be able to be expressed by building custom compiler drivers that link against compilerlibs.

* Remove compiler plugins and hooks
* Add new function Dynlink.unsafe_get_global_symbol but keep it outside the documented API.
* Remove otherlibs/dynlink/nodynlink.ml
* Update Changes
2019-03-13 11:46:37 +01:00
Oxana Kostikova f5ab75bd63 MPR#7548 Add an example of using the printf function to the manual (#2272)
* Creating a new section in the first chapter of the manual

* Add an introduction of custom printer for int

* Add an easy example of %a combinator

* Add an example of using the printf function on complex data structure
2019-03-13 10:49:45 +01:00
Stephen Dolan 9f0bebf7f7 Make caml_named_value return a const value*.
This commit just adds "const" in several places.
2019-03-12 12:07:04 +00:00
Jérémie Dimino 705054b346 Delete the vmthreads library (#2289)
* Delete the deprecated vmthreads library

It was deprecated in 4.08.

* Remove the byte/native argument of init_path

It is no longer necessary.

* Error out when passing --{enable,disable}-vmthreads to ./configure

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2019-03-11 19:38:16 +01:00
Ulugbek Abdullaev 8b1fda569d Added tutorial on Lazy expressions to tutorial section of manual (#2273)
* Added tutorial on Lazy expressions to the tutorial of manual
* Modified tutorial on Lazy expressions to make it easier to understand
* Add small modifications in wording and a better lazy pattern matching example
* Add minor modification
* Change wording regarding <lazy> as a display of value
* Change a word
* Append Changes to mention the added tutorial
* Add GPR number
2019-03-05 21:51:30 +01:00
Gabriel Scherer cf5b0ab572 manual: remove duplicate table of contents in the 'objects' chapter of the tutorial
(report by Daniel Bünzli)
(no change entry needed)
2019-03-04 17:34:13 +01:00
Florian Angeletti 54d5877834
manual: add compilerlibref to release target (#2253) 2019-02-18 09:37:13 +01:00
Gabriel Scherer 24b240c852 ocamldoc doc: fix the URL of the graphviz project
report by Frédéric Blanqui in MPR#7921.
2019-02-14 16:21:03 +01:00
Fourchaux 1946594bd7 Fixing typos in various files (#2246)
Note: Typos found with https://github.com/codespell-project/codespell

Here is the (semi-manual) command used to get (and correct) the typos:

$ codespell -i 3 -w --skip=".png,.gif,./ocaml/boot,./ocaml/.git,./ocaml/manual/styles,./ocaml/manual/manual/htmlman" -L minimise,instal,contructor,"o'caml",cristal,pres,clos,cmo,uint,iff,te,objext,nto,nd,mut,upto,larg,exten,leage,mthod,delte,tim,atleast,langage,hten,iwth,mke,contant,succint,methids,eles,valu,clas,modul,que,classe,missings,froms,defaut,correspondance,differents,configury,reachs,cas,approche,normale,dur,millon,amin,oje,transfert
2019-02-13 14:04:56 +01:00
Florian Angeletti 672b75e680 manual: move short object copy notation to core 2019-02-04 17:11:04 +01:00
Leo White 3dac696197
Some changes to documentation of let operators (#2206) 2019-01-02 11:59:45 -05:00
Florian Angeletti e8d4324ee6
documentation: use Bigarray consistently (#2208) 2018-12-20 18:46:54 +01:00
Florian Angeletti cbd0753ec6
manual: move lazy pattern to core (#2198) 2018-12-14 17:40:43 +01:00
Kevin Ji 698097a0fd
manual: Fix typo in "Local substitution declarations" 2018-12-11 23:08:08 -05:00
Florian Angeletti d3a4cba53b
Merge pull request #2187 from Octachron/exception_match_doc
manual: document exception A | exception B
2018-12-10 15:44:38 +01:00
Louis Roché 52954a428d Add missing word in -nostdlib doc 2018-12-10 11:09:13 +00:00
Florian Angeletti 8c5d81f262 manual: document exception A | pat 2018-12-08 20:15:56 +01:00
Alain Frisch d9e8e9da25
Document ocaml.local attribute on functions (#2169) 2018-11-28 17:03:45 +01:00
Leo White 1b04903625 Add a manual entry for let operators 2018-11-27 13:30:56 +00:00
Thomas Refis d877e1af2b manual update 2018-11-26 16:20:37 +00:00
Florian Angeletti ad0d6fea72 manual: examples for extended opens 2018-11-26 16:20:37 +00:00
Alain Frisch 2e5b9d1ef1
"Alerts" as a generalization of "deprecated" (#1804) 2018-11-15 09:51:35 +01:00
Thomas Refis 9145aab78f manual 2018-11-09 16:43:43 +00:00
yallop ee1c2a4d7e Add paths for built-in types (#1876)
* Add an Extension_constructor submodule to Obj.

Deprecate top-level functions extension_constructor / extension_name /
extension_id.

* Add 'true' and 'false' to the definition of Bool.t

* Add aliases for the built-in 'list' and 'array' types.

* Add an alias for 'exn' to Printexc.

* Changes entry: built-in type aliases

* Add a Unit module.

* Add paths for built-in exceptions.
2018-11-08 16:08:17 +01:00
Daniel Bünzli a7afd89003 s/string_of_int/Int.to_string/g 2018-11-07 13:52:02 +01:00
Gabriel Scherer d5e75fb28f
Merge pull request #2133 from yallop/warn-on-literal-full
Warn on literal patterns found anywhere in a constructor's arguments.
2018-11-07 10:09:14 +01:00
Florian Angeletti 9f01a08a2b
Merge pull request #2117 from Octachron/stdlib_precedence_table_3
documentation: precedence table for the standard library.
2018-11-06 22:18:48 +01:00
Damien Doligez 17b64ac2b2
Add caml_alloc_custom_mem (#1738)
* add caml_alloc_custom_mem and corresponding GC parameters
* fix a bug in tests/misc/ephetest2.ml
2018-11-06 13:42:48 +01:00
Florian Angeletti eab2ff3f84 pdf manual:fix refs, compilerlibs/ocaml_operators 2018-11-06 13:29:23 +01:00
Daniel Bünzli 89e48a38e9 Stdlib: add Fun module. (#2129)
* Stdlib: add Fun module.

* Stdlib: rename Bool.negate to Fun.negate.
2018-11-06 10:36:07 +01:00
Jeremy Yallop 894df106a1 Update the manual for the generalized warning 52. 2018-11-05 17:30:03 +00:00
Florian Angeletti cbd4f71a39 documentation: move operator table to a new page 2018-11-04 17:49:22 +01:00
Florian Angeletti c19ba5cab3 review: typo + synchronisation comment 2018-10-26 11:26:07 +02:00
Florian Angeletti 07318a2ffc manual: #... operators are left associative 2018-10-25 18:29:32 +02:00
Daniel Bünzli fdba70136f Stdlib: add Bool module. 2018-10-23 11:35:08 +02:00
Nicolás Ojeda Bär 90d9b2287a
Merge pull request #2011 from dbuenzli/int-support
Improve stdlib support for `int`
2018-10-23 11:23:14 +02:00
yallop 20f4c6ced3 Disallow .~ in extended indexing operators. (#2106)
Disallow .~ in the lexer to preserve MetaOCaml compatibility.
2018-10-22 15:33:00 +02:00
Armaël Guéneau 6b16bcc4fe Add option -error-style and environment variable OCAML_ERROR_STYLE 2018-10-20 17:11:35 +02:00
Armaël Guéneau 2ce52c9e2a unified-options.etex: make check-typo happy 2018-10-20 16:11:27 +02:00
Maxime Flin 74e3b9a215 Change verbatim to caml_example in documentation (#2105)
* Add paragraph in manual's readme about signature option in caml_example env. Change verbatim env to caml_example.
2018-10-15 22:19:46 +02:00
Nicolás Ojeda Bär eab68e78f2 doc: mention feature introduced in 4.08 2018-10-10 14:55:04 +02:00
Nicolás Ojeda Bär 856c0a60c1 Amend doc 2018-10-10 14:55:04 +02:00
Nicolás Ojeda Bär f38b197f90 Specify search order in doc, move to right place 2018-10-10 14:55:04 +02:00
Nicolás Ojeda Bär 0059176658 Doc in manual 2018-10-10 14:54:47 +02:00
Daniel Bünzli 5846aecee6 Stdlib: add Int module. 2018-10-09 10:20:39 +02:00
Florian Angeletti bea374014c manual: fix misplaced end of itemize 2018-09-22 19:10:41 +02:00
Sébastien Hinderer ba6362a07d Move config/Makefile to Makefile.config
In order to prepare the transition to autoconf, this commit moves the
configuration Makefile out of the config directory which will disappear
and gives it the name it will have once intstalled, namely Makefile.config.
2018-09-17 14:23:35 +02:00
Damien Doligez 2fd0186648
Merge pull request #1683 from stedolan/marshal-custom-length
Make marshalled Custom_tag objects store their length.
2018-09-14 10:58:27 +02:00
Jérémie Dimino ee3730f9b2
Deprecate `ocamlc -vmthread` (#2038) 2018-09-13 10:42:26 +01:00
Florian Angeletti 558530a8b4 manual: compiler-libs.mld -> compiler_libs.mld 2018-09-12 16:32:37 +02:00
Florian Angeletti ef135a71ae
MPR7546, manual: preambles and warnings for compiler-libs modules (#2020)
* preambles for compiler-libs modules

* Compilerlibs intro and warning link
2018-09-12 09:51:47 +02:00
Nicolás Ojeda Bär 9c79a08561
Merge pull request #2037 from alainfrisch/doc-ocamllex-ml
Document performance properties of `ocamllex -ml` vs `ocamllex`
2018-09-12 09:05:39 +02:00
Gabriel Scherer 6d7d6c0ec6 manual/exten.etex: cut one page per section for languag extensions 2018-09-10 22:50:54 +02:00
alainfrisch e1b6ea9a6e Document performance properties of ocamllex -ml vs ocamllex 2018-09-10 14:09:04 +02:00
Florian Angeletti 0a05dc8382
Merge pull request #2008 from gasche/manual-examples
Manual examples
2018-09-06 18:54:27 +02:00
Gabriel Scherer 7aeb565fbe
Merge pull request #2021 from pmetzger/fixmanbuild
fix_index.sh: fix a bug, and convert from using "ed" to "sed"
2018-09-06 13:37:29 +02:00
Gabriel Scherer 062e203758 manual: more caml_examples in exten.etex 2018-09-06 12:39:17 +02:00
Gabriel Scherer 14f29e0d65 manual: convert more of exten.etex to {caml_example*} 2018-09-06 12:38:29 +02:00
Perry E. Metzger 6857b9afd8 manual/README.md: remove claim that "ed" is needed for the install 2018-09-05 16:47:07 -04:00
Perry E. Metzger 3b183ff5d4 fix_index.sh: fix a bug, and convert from using "ed" to "sed"
Before, the ed script was only fixing the first instance of the
target lines it encountered, leaving second instances that were not
fixed. Rather than fixing the ed script, I've converted this to sed,
which means one less dependency for the build.

Sadly, although almost every modern sed has the -i flag for in-place
fixes, it isn't in POSIX, so I did a kludgy "sed into a .new file,
move back" hack.
2018-09-05 16:33:00 -04:00
Florian Angeletti 65ab4200d6 html manual: split compilerlibs from stdlib 2018-09-05 18:59:31 +02:00
Florian Angeletti 284c8f8bb8 replace awk by $(AWK) in doc makefiles 2018-09-04 09:16:47 +02:00
octachron 075bf9bed6 doc: remove unprefix trick 2018-09-03 13:59:32 +01:00
Gabriel Scherer 294934299e new -stop-after option: stop after the given compiler pass (parsing, typing) 2018-08-31 22:49:23 +02:00
Gabriel Scherer dcbf1a8fae manual: fix broken build caused by GPR #2007 2018-08-27 18:00:50 +02:00
Gabriel Scherer c578cee935 manual: fix broken build caused by GPR #1605 2018-08-27 17:58:39 +02:00
Gabriel Scherer 6744597090
Merge pull request #2007 from Octachron/nme_integers
documentation: move 32/64/native literals out of the extension chapter
2018-08-27 14:57:11 +02:00
octachron e407ab3829 documentation: promote 32/64/native literals
* Move the description of these literals to refman/const.etex and
refman/lex.etex
* Mention their existence in library/builtins.etex
* Add examples to Int32, Int64 and NativeInt module documentation
2018-08-27 11:08:11 +02:00
Gabriel Scherer 3e588dc964 manual: use the caml_example environments in some of the Extension sections 2018-08-27 09:06:50 +02:00
Gabriel Scherer fffd676d3d [minor] manual: simplify the refman/ build system
I wanted to test a caml_tex issue by creating a smaller .etex file
than exten.etex, and got bitten by the fact that the Makefile hardcode
the knowledge that only exten.etex uses caml_example.
2018-08-27 07:42:31 +02:00
Stephen Dolan e9b04bb0d5 Add CODE_CUSTOM_FIXED for fixed-size custom serializers.
As a space optimisation, custom serializers that always consume
the same number of bytes need not send the lengths explicitly.
2018-08-22 10:33:09 +01:00
Gabriel Scherer 5b2248892e build cross-reference-checker during manual-pregen
Many build errors in cross-reference-checker have gone unnoticed
because this program was only built to build the manual itself, which
is not part of the CI testing. (The test that it implements needs the
.aux files produces by LaTeX, which we don't really want to produce
during CI runs.)

This commit adds cross-reference-checker to the `tools` target of
manual/Makefile, which is in turn built by the `manual-pregen` target
of the main Makefile, which contains the sanity checks for the manual
that do not require building it, and is part of our CI.
2018-08-19 19:07:01 +02:00
Gabriel Scherer 1c082929e3 cross-reference-checker: fix attribute structure after GPR #1953 2018-08-19 19:07:01 +02:00
Gabriel Scherer a6d7e60839 cross-reference-checker: fix Location.report_error after GPR #1952 2018-08-19 19:07:01 +02:00
Jeffrey Tsang 40033ad7fb manual: doc clarification (#1984) 2018-08-16 22:45:52 +02:00
Daniel Bünzli 1798999b65 Stdlib: add Option module. 2018-08-08 11:41:09 +02:00
Daniel Bünzli b7affbb9ef Stdlib: add Result module. 2018-08-08 10:34:03 +02:00
Nicolás Ojeda Bär 7820c10aa4 Include fonts in the manual archives 2018-08-03 09:48:58 +02:00
Nicolás Ojeda Bär 45462a5262 Use relative paths for manual fonts 2018-08-02 23:29:30 +02:00
Florian Angeletti 4be6cafcc3
manual, code example preprocessor : full conversion to compiler-libs (#1863)
* manual tools: use toploop directly in caml_tex2
* manual tool: improved error messages
* manual: always print errors and warnings
* fix nefarious interaction with GPR#1120
* move manual/tools/caml_tex2 to tools/caml_tex
* Basic text for caml-tex
2018-07-25 10:38:08 +02:00
Valentin Gatien-Baron 3d0299a185 Create warning 64, for uses of -unsafe with a -pp that returns a marshalled ast
Instead of the current print to stderr. This way it's treated the same
as other warnings: it has a position, colors, can be made an error,
disabled, goes in the expected formatter, is documented.
2018-07-15 15:08:38 -04:00
whitequark 1ebc9f5a4c Remove the Sort module. (PR7812)
It has been deprecated since 2000, shown a deprecation warning
since 4.02, and Sort.merge is documented to have undefined behavior
when the lists being merged are not sorted in the first place.
2018-07-13 16:04:49 +02:00
Perry E. Metzger a2c2fb7e8e manual: fixes for the .svg arrow files hevea now generates
manual/Makefile: add *.svg to the clean target for htmlman directory
    manual/htmlman/.gitignore: add *.svg
2018-07-09 09:07:07 +01:00
Sébastien Hinderer d3e73595e5 Merge the asmrun and byterun directories into the runtime directory 2018-06-28 17:50:33 +02:00
Sébastien Hinderer c8343888fa manual/tools/texquote2: reimplement the tool in OCaml 2018-06-26 16:15:23 +02:00
Gabriel Scherer 2fa1dde9d9 manual: rewrite forgotten references to 'pdfmanual' (now 'manual') 2018-06-26 11:17:40 +02:00
Sébastien Hinderer 28c337fecb manual/README.md: stop mentionning the DVI manual
This is a follow-up to commit 2f0d65c7ee
in GPR #1842.
2018-06-26 07:25:22 +02:00
Sébastien Hinderer 85fa27f7e9 Rename C compiler related build variables
This commit renames a few C compiler related build variables so that
they are reserved for the build system. They will then be re-introduced,
but this time as user varialbes whose value can be freely customized
when compiling the package, without risking to conflict with those
command-line flags that are required by the build system itself.

Here are the variables this commit renames:

- CFLAGS -> OC_CFLAGS
- CPPFLAGS -> OC_CPPFLAGS
- LDFLAGS -> OC_LDFLAGS

Note: before this commit the compilation of scheduler.c in
otherlibs/threads was relying on make's implicit rule to compile C files.

Since this commit stops using the standard variables for flags,
it is necessary to introduce an explicit rule to compile C files
and that makes use of the newly introduced variables.
2018-06-20 14:01:42 +02:00
Florian Angeletti 9e67f4e942
Manual: update the exception section in the tutorial (#1831)
* exception cases
* local exceptions
* more exception examples
2018-06-19 20:11:07 +02:00
Xavier Leroy 570fe9f57b Remove old PDF-related macros that are no longer relevant
In the early days of pdflatex, the hyperref package didn't exist
and we used the \pdfchapter, \pdfchapterfold and \pdfsection
custom macros to build the PDF index.

Those macros are now useless, so remove all of their uses.
2018-06-16 10:36:00 +02:00
Xavier Leroy c0a8a2f41e Remove traces of the pre-Hevea plaintext version of the manual
Before Hevea the plaintext version of the manual required a
specific toplevel file "plaintext.tex", some \ifplaintext
conditionals, and a "plaintext.sty" package.
All this is now useless, remove it.
2018-06-16 10:35:21 +02:00
Xavier Leroy 2f0d65c7ee Get rid of the DVI and Postscript versions of the manual
Those formats are now obsolete compared with PDF.

- Merge pdfmanual.tex into manual.tex and remove pdfmanual.tex
- Simplify the Makefile: run with pdflatex only, not latex then pdflatex
- Remove mentions of DVI and Postscript versions on the HTML front page
2018-06-15 15:12:08 +02:00
Xavier Leroy ad5d93af99 Use Type 1 (vector) fonts for Computer Modern Roman, not Type 3 (bitmap)
By default, \usepackage[T1]{fontenc} causes CMR bitmap fonts to be put
in PDF and PS files.  Fix this using the "ae" package
(virtual fonts for T1 encoded CMR-fonts).
2018-06-15 14:56:26 +02:00
octachron a555152a4b manual: explicit subsection for precedence table 2018-06-12 21:25:43 +02:00
Gabriel Scherer 12e9c1d19a match-context-args: have --help refer to the (reworded) manual 2018-06-02 00:02:47 +02:00
Dwight Guth 6a06a1123a add advanced option to tune performance of pattern matching compiler in case of exponential blowup 2018-06-01 23:51:56 +02:00
Perry E. Metzger 262b70d819 Document that -safe-string is the default, -unsafe-string is not
Nearly identical changes to:
   ocaml.m, ocamlc.m, ocamlopt.m, unified-options.etex

"-safe-string" has been the default since 4.06, so the assertion that
it would be the default someday, and that "-unsafe-string" is still
the default, was incorrect.
2018-06-01 14:05:08 +02:00
Mark Shinwell e7d6ceadce Rework of PR1020 2018-05-30 17:32:21 +01:00
Florian Angeletti 1d27ddef10
manual: move quoted string to the main chapters (#1788)
* manual: itemize the list of basic data types
2018-05-25 21:15:35 +02:00
Sébastien Hinderer 73620c1591 Add the -m and -M command-line options to ocamlrun
- -m shows the magic number of the bytecode executable given as argument

- -M shows the magic number this runtime expects
2018-05-25 14:14:25 +02:00
Gabriel Scherer 58c105e7e4
Merge pull request #1789 from Octachron/manual_utf8_encoding
manual: switch to utf-8 encoding
2018-05-20 19:57:01 +02:00
octachron f21f05a6ae Fix forgotten latin1 byte sequences 2018-05-20 16:41:57 +02:00
octachron 5486d3fe27 manual: switch to utf-8 encoding 2018-05-20 14:52:04 +02:00
stdowl bd204c7939
Merge branch 'trunk' into html-manual 2018-05-20 10:49:54 +02:00
steinuil b517e0fff1 manual: cleanup of main Makefiles 2018-05-19 21:48:18 +02:00
steinuil 1717ccd628 manual: improve consistency in the Makefiles 2018-05-19 21:48:18 +02:00
steinuil 478b14ef93 manual: delete old .cvsignore files 2018-05-18 20:27:35 +02:00
steinuil 3b74227b61 manual: fix typo in README 2018-05-18 20:27:35 +02:00
steinuil 2d9d48cd3c manual: add clean target to tests 2018-05-18 20:27:30 +02:00
steinuil eb789250e1 manual: delete unused tools 2018-05-18 20:27:30 +02:00
Charles Chamberlain 25ef453068 Change font size for pre's back to 1rem 2018-05-15 16:24:10 +00:00
Charles Chamberlain 600fea6ce0 Use em, not rem, for inline monospace 2018-05-15 16:24:10 +00:00
Charles Chamberlain b2cefc81a0 Adding comment in manual style 2018-05-15 16:24:10 +00:00
Charles Chamberlain 2a271b4884 Change font size of inline monospace text 2018-05-15 16:24:10 +00:00
Charles Chamberlain f2d36b0486 Improve font size of pre elements in html manual 2018-05-15 16:24:10 +00:00