Commit Graph

34 Commits (540996d21ee3793a1cecce252c81fb76a6b9fd61)

Author SHA1 Message Date
Nicolás Ojeda Bär 540996d21e Remove Spacetime 2020-10-08 20:28:12 +02:00
Enguerrand Decorne 9ba979efe9 manual: adjustments to the instrumented runtime manual page 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
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
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
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
Sébastien Hinderer c8343888fa manual/tools/texquote2: reimplement the tool in OCaml 2018-06-26 16:15:23 +02:00
steinuil 1717ccd628 manual: improve consistency in the Makefiles 2018-05-19 21:48:18 +02:00
steinuil eb789250e1 manual: delete unused tools 2018-05-18 20:27:30 +02:00
Florian Angeletti 145bedc2ae
manual: signature option for caml_example (#1702)
* Signature option for caml_example
* convert ocamldoc code example to caml_example
* error message when using caml_example*{signature} without *
2018-05-05 21:50:40 +02:00
Gabriel Scherer 482e8a8b52 manual Makefiles: set LD_PATH to protect from stale installs
Trying to build the manual (make -C manual/manual etex-files) when
your current opan switch is stale (for example, 4.05.0 when working on
the current 4.07.0+dev trunk) results in the following error:

    make[1]: Entering directory '/home/gasche/Prog/ocaml/github-trunk/manual/manual/tutorials'
    Fatal error: cannot load shared library dllunix
    Reason: /home/gasche/.opam/4.05.0/lib/ocaml/stublibs/dllunix.so: undefined symbol: caml_strdup
    Failure when generating coreexamples.tex
    Fatal error: cannot load shared library dllunix
    Reason: /home/gasche/.opam/4.05.0/lib/ocaml/stublibs/dllunix.so: undefined symbol: caml_strdup
    Failure when generating lablexamples.tex
    Fatal error: cannot load shared library dllunix
    Reason: /home/gasche/.opam/4.05.0/lib/ocaml/stublibs/dllunix.so: undefined symbol: caml_strdup
    Failure when generating objectexamples.tex
    Fatal error: cannot load shared library dllunix
    Reason: /home/gasche/.opam/4.05.0/lib/ocaml/stublibs/dllunix.so: undefined symbol: caml_strdup
    Failure when generating moduleexamples.tex
    Fatal error: cannot load shared library dllunix
    Reason: /home/gasche/.opam/4.05.0/lib/ocaml/stublibs/dllunix.so: undefined symbol: caml_strdup
    Failure when generating advexamples.tex
    Fatal error: cannot load shared library dllunix
    Reason: /home/gasche/.opam/4.05.0/lib/ocaml/stublibs/dllunix.so: undefined symbol: caml_strdup
    Failure when generating polymorphism.tex
    make[1]: Leaving directory '/home/gasche/Prog/ocaml/github-trunk/manual/manual/tutorials'

This PR fixes the issue by using Makefile.tools' SET_LD_PATH variable
to set a LD_PATH containing the required build directory's otherlibs/
libraries, instead of looking in an installed path.

(no change entry needed)
2018-04-09 19:55:40 +02:00
octachron 60ad2d8145 GPR#1187: Minimal documentation for compiler plugins 2017-06-01 18:22:09 +02:00
Mark Shinwell 866357b769 Spacetime manual page (#884) 2016-12-14 13:14:21 +00:00
Stephen Dolan a35c6117e6 Instrumentation for american fuzzy lop (afl-fuzz) (#504) 2016-12-06 17:18:04 +01:00
octachron f28422b601 Manual: unify compilers/toplevel options
This commit creates a file unified-options.etex which regroups at
source level the description of the compilers and toplevel options.
Difference of options between native/bytecode compilers and toplevel
are handled via conditional tex macros.
2016-11-05 16:04:04 +01:00
octachron 547089fad8 Fix: cmds makefile 2016-09-02 01:02:37 +02:00
Gabriel Scherer 5e97cd51df manual pre-generation: separate .etex files from stdlib build
We introduce a `pregen-etex` Makefile rule that only build the .etex
files of the manual (whose OCaml examples may be tested and expected
to produce certain outputs), without also building the
standard-library documentation. This is faster than the previous
`pregen` rule as ocamldoc on the standard library was the
bottleneck. On my machine, `pregen-etex` completes in 1.5s-2s, while
`pregen` completes in 6s-7s.
2016-09-02 01:01:33 +02:00
octachron 03098eaeed Manual: fail earlier
This commit modifies the build process of the manual to make it fails in
case of problems during the generation of the tex files from the etex
sources files.
2016-09-02 00:59:26 +02:00
octachron 6a49009f32 Manual: fix GPR#559: invalid use of transf 2016-05-05 21:31:32 +02:00
Mark Shinwell 884d30dcb0 Flambda manual chapter 2016-04-01 12:52:51 +01:00
Gabriel Scherer e84c198e7c GPR#9: A generated file, copied from the parent during build, was not cleaned.
(Patch by John Whitington)

git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@16194 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-06-30 08:05:30 +00:00
Damien Doligez c17a94a54e rename warnings.tex to warnings-help.tex because it clashes with the generated file for warnings.ml (Warnings.tex)
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@15869 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-02-27 04:10:10 +00:00
Damien Doligez f0defad3cc add link to syntax for external declarations
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@13382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-08 23:55:52 +00:00
Xavier Leroy b5447ec85b Added chapter on ocamlbuild.
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@12450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-13 12:27:44 +00:00
Damien Doligez 53a3bd934e aftermath of PR#5497
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@12182 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-23 19:10:33 +00:00
Alain Frisch 4a51b5e245 New -help-warnings command-line option.
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@10370 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 18:45:17 +00:00
Maxence Guesdon 480e31a228 ajout manuel ocamldoc
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@9960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-15 14:06:37 +00:00
Jacques Garrigue 6354bdf86d more stuff for ocaml3
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@9830 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-10 15:51:49 +00:00
Luc Maranget f44aa9930a Test de routine hevea
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@9819 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-05 16:52:34 +00:00
Xavier Leroy 0f3c7d2ac4 MAJ pour ocaml 1.04
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@9739 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-11 15:39:10 +00:00
Xavier Leroy 996e9266bb MAJ pour release 1.10
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@9648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-07 10:41:34 +00:00
Xavier Leroy 0e78601ba0 Reorganisation de la production de HTML.
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@9646 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-02 10:47:34 +00:00
Xavier Leroy 75184eea24 La doc de Caml Special Light.
git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@9643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-01 15:45:02 +00:00