Xavier Leroy
33f242aaea
Reverting the elimination of the ocamlcomp*.sh scripts, namely the following commits:
...
14278
14277
14276
14176
14175
14173
14172
14171
14169
14168
14167
These changes need to mature on their own branch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-29 13:04:38 +00:00
Alain Frisch
62f365c225
#6195 : use ocamlcommon.cma to link ocamldoc, instead of explicit list of compiler modules.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14209 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-02 14:23:10 +00:00
Alain Frisch
6873f39817
Keep attributes on value declarations in .cmi files (but clear all the location fields, except if -keep-locs is used, of course). Use this to report a warning when a value marked as [@@deprecated] is referenced ( #5854 )
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14188 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-26 15:24:11 +00:00
Wojciech Meyer
241585bc83
build: replace ocamlcomp*.sh.
...
This script was built from ocamlcomp.sh.in through sed and is called
instead of "ocamlc" (for instance).
It makes it possible to switch from "ocamlc" to "ocamlc.opt" without
changing anything in the Makefiles, only calling sed.
I couldn't cleanly make it handle both a compiler for the target and for
the build. Instead I'm replacing it and doing as much as possible
directly in the Makefiles.
I hoped it would reduce the number of shell invocations, which would
speed things up quite a lot on Windows but I still had to have at least
one since it's not possible to update a make variable from inside a make
rule: i.e. it's not possible to do X=a, build a.opt and update X to be
a.opt.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14168 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-20 00:22:38 +00:00
Alain Frisch
842f6794a9
Synchronize with trunk.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@14042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-08-28 17:10:04 +00:00
Damien Doligez
5fbcc8e6ae
PR#4243: make the Makefiles parallelizable
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13931 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-24 14:39:31 +00:00
Alain Frisch
525ef9d703
Synchronize with trunk.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13897 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-16 13:34:30 +00:00
Wojciech Meyer
fdf9cde11d
build: select win32 variants of unix and graph for mingw.
...
(Patch by Adrien Nader!)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13856 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-30 12:58:34 +00:00
Alain Frisch
b0987fd693
Attributes on expresions (etc) are now stored in the expression record, to facilitate pattern matching on structured fragments of AST while ignoring attributes. Introducing a new Ast_helper module to help creating AST fragments.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13381 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-08 14:59:45 +00:00
Alain Frisch
241abe55e6
Type name is part of the type declaration record.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13356 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-06 11:47:59 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez
1d551fc525
better way of doing conditionals in makefiles
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12846 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-09 17:06:08 +00:00
Damien Doligez
015739ac70
fix formatting of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-01 12:09:31 +00:00
Damien Doligez
0c3a7de507
merge changes from 4.00 branching to 4.00.0 (part 1)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-26 19:21:54 +00:00
Fabrice Le Fessant
776c46fce8
Fix problem of size of bin-annot files
...
- Reset most of the fields of Env.t when saving bin-annot files
- Move debugger/envaux.ml to typing/, and add a function to
recover environements from bin-annot files.
- Move tools/typedtreeIter.ml to typing/
- Move the code of typing/typedtreeMap.ml from cmt_format.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12702 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-12 11:02:18 +00:00
Damien Doligez
9d10503a1d
PR#5218: use $(MAKE) instead of "make" in Makefiles
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-10 15:29:19 +00:00
Alain Frisch
77ce2bc57c
Reduce diff between Makefile and Makefile.nt, probably removing a few bugs. Generators are still missing for Windows. We should really factorize common parts of such makefiles...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12601 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 09:22:06 +00:00
Alain Frisch
d70eff6a1f
Adapt ocamldoc for -ppx. Also reuse some code from Pparse instead of duplicating it.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12598 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 08:32:57 +00:00
Fabrice Le Fessant
d39d43e55f
merge with branch bin-annot
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-30 14:52:37 +00:00
Alain Frisch
300d292ab9
Unused_var has been removed.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12052 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 18:54:08 +00:00
Jacques Garrigue
6c78f42d36
merge branches/gadts-devel
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-11-24 09:02:48 +00:00
Damien Doligez
d9eb848d86
PR#5238, PR#5277: Sys_error when getting error location
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-04 14:59:13 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
c91db736b1
merge changes from 3.12.0 to 3.12.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Maxence Guesdon
66b02ccfba
add some custom html generators
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-24 11:48:46 +00:00
Maxence Guesdon
0936bb2811
use first-class modules to allow composition of custom generators
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-24 09:45:45 +00:00
Damien Doligez
575555eecd
merge changes from branching of 3.12 to release/3.12.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Maxence Guesdon
e93f6dd12b
option -g also for native code version (loading custom generators)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9184 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-11 07:04:39 +00:00
Damien Doligez
9ea5edac9a
merge changes 3.10.0 -> 3.10.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Alain Frisch
3958a92c72
Merge the natdynlink branch into HEAD.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Damien Doligez
fbea66a95e
fusion des changements 3.09.2 -> 3.09.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Nicolas Pouillard
279ef952dd
Update the ocamldoc makefile to ignore the manpages install if they are not built
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7454 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-29 12:07:35 +00:00
Jacques Garrigue
602146f892
add virtual instance variables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 02:28:13 +00:00
Damien Doligez
125ea40d4c
fusion 3.09.0 -> 3.09.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Pierre Habouzit
4803624ae5
fix parralelization of the compilation for targets world and opt
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6893 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-05-31 11:52:16 +00:00
Damien Doligez
e6007f6057
fusion des changements jusqu'a 3.08.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00
Maxence Guesdon
1179789c0c
fix unused variables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-12-03 14:42:09 +00:00
Damien Doligez
1971a6ba83
changements sur les warnings
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 18:57:04 +00:00
Damien Doligez
454835e868
activation du warning Y (unused var)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 14:52:56 +00:00
Maxence Guesdon
5fe321e4f8
no need to Dynlink.add_available_units any more
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6252 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-23 14:10:51 +00:00
Maxence Guesdon
1ac475fbbe
add the kind to module parameters (the way the parameter was build in the parsetree), use this in html and latex generation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6185 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-02 15:10:58 +00:00
Maxence Guesdon
ec84e8f2ec
mod: one section per to module in latex output + improve latex output
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6174 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-26 15:57:03 +00:00
Maxence Guesdon
1b39b1e19a
removed unused Makefile variable
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 15:25:10 +00:00
Maxence Guesdon
94337c2cde
odoc_cross.ml: use a Map to associate a complete name to
...
the known elements with this name, instead of searching each time
through the whole list of modules -> a gain of more than 90% in speed
for cross-referecing (Odoc_cross.associate)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 12:40:49 +00:00
Maxence Guesdon
7bcb6b984f
new module odoc_print, will work when Format.pp_print_flush is fixed
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6135 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-05 14:57:52 +00:00
Maxence Guesdon
86b9550fa1
OK - fix: html generator: included module names were displayed with their simple
...
name rather than their fully qualified name
OK - fix: use a formatter from a buffer rather Format.str_formatter in
Odoc_mist.sting_of_module_type, to avoid too much blanks
- add odoc_test.ml to use in the ocamldoc test suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6127 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-20 16:28:27 +00:00
Maxence Guesdon
4136c386da
create ocamldoc/custom when installing
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6092 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-28 14:10:20 +00:00
Maxence Guesdon
efce6b2d2c
dependency on .3o file for man pages
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-28 13:53:12 +00:00
Maxence Guesdon
2b54201f20
handling a path to load custom generators
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6087 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-28 13:36:20 +00:00
Maxence Guesdon
05b2a15d5c
OK - fixes: some bugs in the text parser
...
( ]} meaning end of code and somehting else instead of end of precode)
OK - add: in Odoc_info: text_of_string, text_string_of_text, info_of_string
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-24 21:20:51 +00:00