Commit Graph

212 Commits (8f8ace0a2c9190bdad4c496fb78ec99deba5f887)

Author SHA1 Message Date
Damien Doligez b113446680 PR#2525
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6273 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-29 12:47:33 +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 410c44a79c OK - generate html from module_kind rather than from module_type
OK   + same for classes and class types
OK - fix: class parameters are no correctly displayed in latex


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-17 12:36:14 +00:00
Damien Doligez f7284c6ba3 notice de copyright
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-15 16:18:52 +00:00
Maxence Guesdon 0b0e3f76bc oups, i did it again :)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6198 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-09 14:52:23 +00:00
Maxence Guesdon c6704ddfab fix: the generated ocamldoc.sty is more robust for paragraphs in
ocamldocdescription environment


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-09 13:54:51 +00:00
Maxence Guesdon 31d4326219 fix: when generating separated files in latex, generate them in
the same directory than the main file, (the one specified by -o)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6186 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-02 15:20:39 +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 df89e7e0d2 improve display of functor parameters, added mp_type_code field to functor parameter
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6173 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-26 09:09:50 +00:00
Maxence Guesdon 702b6e7680 use buffers for latex generation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6170 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-24 10:37:10 +00:00
Maxence Guesdon 1e13797163 -
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6165 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 15:42:20 +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 3fad0381f2 OK - fix: useless parenthesis around agruments of arguments of a type constructor in
type definitions, and aournd arguments of exceptions in exception definitions.
OK - fix: blank lines in verbatim, latex, code pre, code and ele ref modes
     are now accepted


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6162 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 15:06:31 +00:00
Maxence Guesdon 3975021bf4 fix: Odoc_name.cut printed a '(' instead of a '.'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 13:32:59 +00:00
Maxence Guesdon 718346eb7b more optimization
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6159 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 12:58:17 +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 3473073799 odoc_cross.ml: use hash tables modified on the fly to resolve
(module | module type | exception) name aliases
- odoc_html: replace some calls to Str. by specific functions on strings


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6157 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-19 10:38:29 +00:00
Maxence Guesdon 9f320eede0 use buffers instead of string concatenation in html and man generators
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-14 13:52:01 +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
Damien Doligez 6d196e3a6c PR#2061 probleme de locale
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6106 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-02 22:33: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 81b5ca3777 fix odoc_misc and spaces with linebreaks (made a wrong merge conflict in previous commit)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6091 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-28 14:02:38 +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 4468fecb18 conflict merge
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6088 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-28 13:49:21 +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 02418c8d09 add: m_code_intf and m_code fields for modules, fit when the
Odoc_args.keep_code option is set, and fit for all modules, not
   only toplevel onesé


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6076 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-18 14:26:14 +00:00
Damien Doligez 776a8d59b7 suppression support MacOS9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-16 15:24:03 +00:00
Maxence Guesdon 57fd501b0b fix: bug preventing to get the code in a .mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-28 13:17:55 +00:00
Maxence Guesdon 5b9eed0849 moins de decalage apres retour a la ligne dans l'affichage des type_expr, car deux espaces sont deja introduits dans Odoc_misc.string_of_type_expr
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-21 12:01:42 +00:00
Maxence Guesdon 5fbdbc16c6 fix in info_string_of_info
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6035 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-21 11:56:56 +00:00
Maxence Guesdon 750ecaff2c fix: missing spaces after carriage return in types (Odoc_misc.string_of_type_expr)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6034 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-21 11:56:31 +00:00
Damien Doligez 8fde08275d deuxieme tranche des travaux de depollution (PR#1914 et PR#1956) + dependances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 16:29:53 +00:00
Maxence Guesdon 5965b547a5 syntax error in comment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-27 09:04:57 +00:00
Maxence Guesdon 987e9e41ea option -intro used in odoc_texi (thanks to Olivier Andrieu)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5980 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-27 09:01:17 +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
Basile Starynkevitch 0d5a86e520 added $Id$ keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5973 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-24 10:44:07 +00:00
Maxence Guesdon 4e5b7b34fd -
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5967 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 16:16:14 +00:00
Maxence Guesdon c892343ff1 -
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5952 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 15:56:09 +00:00
Maxence Guesdon 0f3457c3b1 - fix: better output of titles in html (use more the style)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 15:39:06 +00:00
Maxence Guesdon d0c544a140 add: -intro option to use a file content as ocamldoc comment to use as introduction for LaTeX document and HTML index page
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 14:32:58 +00:00
Maxence Guesdon aabdb2aac0 OK - add: the HTML generator generates the code of the module if available
OK - add: field m_code for modules, to keep the code of top modules


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 13:37:38 +00:00
Maxence Guesdon 922ce3d7c9 fix display of include directives and comments associated to include directives are not kept and displayed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5941 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 12:46:30 +00:00
Maxence Guesdon 60b74b3c3c fix bad display of type parameters for class and class types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5874 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-10-17 15:30:47 +00:00
Xavier Leroy 9336ed583b Pbs install Cygwin
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5852 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-29 14:05:01 +00:00
Maxence Guesdon 3739680b45 fix: bad display of values, methods, attributes, types, due to bad use of Format.str_formatter
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-13 00:40:31 +00:00
Xavier Leroy c7e53982ce Installer sous le nom ocamldoc (PR#1822)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5827 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-09 09:31:06 +00:00
Maxence Guesdon d10e45fd95 Affichage des variances des parametres de types semble ok
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-05 15:40:12 +00:00
Maxence Guesdon 8681289c19 ajout de 'no description' pour les elements sans description dans les pages man
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-05 11:24:56 +00:00