Commit Graph

6889 Commits (39a65f59dcab1bc283be1cb7b5aad96381e14619)

Author SHA1 Message Date
Xavier Leroy 4235c38b7f Cleanup
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-03 09:17:48 +00:00
Nicolas Pouillard df984fdca7 camlp4,bootstrap,head: Regen camlp4/boot/*.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8728 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 10:31:34 +00:00
Nicolas Pouillard abd0efef67 ocamlbuild: digest any resource.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 09:03:39 +00:00
Nicolas Pouillard 249889d1ff build,clean: distclean.sh also clean boot/ocamlyacc and boot/*.bak.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8722 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 09:03:14 +00:00
Nicolas Pouillard 63bfcc74c6 camlp4,fix,quot: Properly handle <:patt< $`bool:p$ >>.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 09:02:19 +00:00
Nicolas Pouillard ebb6348c1e camlp4,fix: Correctly parse type quotations containing uppercase polymorphic variant (<:ctyp< `A >>)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 09:00:37 +00:00
Nicolas Pouillard 756c4697ae camlp4,fix: Generate only qualified names in Camlp4GrammarParser.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:59:38 +00:00
Nicolas Pouillard f8841fe8c1 camlp4,cleanup: Remove some dead code in Camlp4GrammarParser.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8718 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:59:11 +00:00
Nicolas Pouillard 653f2273b8 ocamlbuild: normalize pathname and authorize absolute pathnames as dependencies.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:58:32 +00:00
Nicolas Pouillard c0b37df251 ocamlbuild: extract exists_in_source_dir from import_in_build_dir.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:57:36 +00:00
Nicolas Pouillard 7779f740c4 [ocamlbuild] Add Pathname.normalize
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:57:05 +00:00
Nicolas Pouillard 37713379d1 [ocamlbuild] Fix filename_concat to avoid consecutive slashes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:56:28 +00:00
Nicolas Pouillard e94095e6b0 ocamlbuild,minor,improvement: Digest commands in such a way that one don't make too big strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:55:48 +00:00
Nicolas Pouillard 515851721f [ocamlbuild] Add statistics about parallelism.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8712 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:55:04 +00:00
Nicolas Pouillard 196ce9283e camlp4,fix,original,quot: Parse correctly <:ctyp< ? $ : int -> unit >>.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8711 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:53:44 +00:00
Nicolas Pouillard bf1081ab07 [camlp4] Report about invalid characters escapings (a note in PR#4337).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8710 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:51:25 +00:00
Damien Doligez f666922cb2 "make install" must not compile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8708 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-12 14:09:45 +00:00
Damien Doligez 133cbb4332 ajout de coreall pour bootstrapper plus vite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8707 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-12 14:09:16 +00:00
Damien Doligez e9a9bf9613 PR#3114 make all error messages start with a location and "Error: "
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:38:58 +00:00
Damien Doligez 0593f338d4 PR#4440 added function to skip warnings and jump to error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8704 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:37:47 +00:00
Damien Doligez 9fec419841 ajout distclean
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8703 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 11:37:48 +00:00
Nicolas Pouillard ba9359c886 build,boot: Regen ./boot/myocamlbuild.boot (Unix lib is not an ocamlbuild dependency in partial mode).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8700 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-30 12:49:55 +00:00
Nicolas Pouillard ac3491b233 fix,build,partial,native: Unix lib is not an ocamlbuild dependency in partial mode (fix make world.opt).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-30 12:49:44 +00:00
Nicolas Pouillard 67345926f7 amend,build: More camlp4 dependencies on native dynlink.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8698 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-30 12:47:39 +00:00
Jacques Garrigue f0bbfb7043 sous-typage des abbreviations privees et methodes polymorphes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8697 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-30 12:37:45 +00:00
Nicolas Pouillard e55bb9ad01 build,boot: support (copy_rule now creates destinations directories if neccessary).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8695 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-29 11:21:05 +00:00
Nicolas Pouillard ea581f7ee1 Merge some changes from 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-29 10:35:57 +00:00
Nicolas Pouillard 36dfdcafbd [build] More camlp4 dependencies on native dynlink.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-29 10:33:36 +00:00
Nicolas Pouillard 8d9aef497a [build] Better support native dynlink build when using ocamlbuild to build.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-29 10:32:38 +00:00
Nicolas Pouillard cab43e2373 [build] Better support native dynlink build when using ocamlbuild to build.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8691 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-29 10:22:58 +00:00
Nicolas Pouillard 4a74506e4c [build] More dependencies for camlp4 binaries rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-29 10:22:19 +00:00
Nicolas Pouillard bd39e6f438 [build] No longer use file_rule by rule + Echo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8689 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-29 10:20:54 +00:00
Pierre Weis 6a9b2e2ca2 Le compilateur a acces au type manifeste des abbreviations privees.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 23:01:49 +00:00
Pierre Weis 39469b7811 Le debugger accede au type manifeste des abbreviations privees pour l'evaluation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:32:14 +00:00
Pierre Weis 99c5f87045 Le predicat is_float utilise expand_head_opt pour optimiser aussi les champs de records dont le type est une abbreviation privee.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:30:25 +00:00
Pierre Weis 2cf7ed4450 Arguments homogenes pour le predicat private_flags.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:27:35 +00:00
Pierre Weis 3013dc544d Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8683 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:26:05 +00:00
Pierre Weis 48c4625aa8 Typo: PPat_type c'est Ppat_type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:25:02 +00:00
Pierre Weis 7fb9c3cba8 Adding a test for type based optimization for private abbrevs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8681 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:22:35 +00:00
Nicolas Pouillard 1f943bd9ed [ocamlbuild] copy_rule now creates destinations directories if neccessary.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:22:53 +00:00
Nicolas Pouillard df52eaf66b [ocamlbuild] Skip empty shell commands in Ocamlbuild_executor.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:21:59 +00:00
Nicolas Pouillard f7a3758488 [ocamlbuild] Add the |> operator for reverse application.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:20:39 +00:00
Nicolas Pouillard cd7ce252c6 [ocamlbuild] Kill file_rule, please use rule + Echo instead.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:19:24 +00:00
Nicolas Pouillard e0c8195430 [build] No longer use file_rule by rule + Echo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8674 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:20:42 +00:00
Nicolas Pouillard b1b5eec9bc [ocamlbuild] No longer use file_rule but rule + Echo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:19:35 +00:00
Nicolas Pouillard d6abf3177c [ocamlbuild] Add the Echo command primitive.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8672 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:18:49 +00:00
Nicolas Pouillard 9e216739ee [ocamlbuild] Simplify a little the execute_many protocol and then cleanup Command.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:11:46 +00:00
Nicolas Pouillard 187653767a [ocamlbuild] Fix the start.sh script.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:10:49 +00:00
Nicolas Pouillard c32b7dbb0e [ocamlbuild] ocamlbuild is no longer recursive by default.
You can still have a fine grained control using your _tags
file and the "traverse" tag.
There is no longer the "true: traverse" tag declaration by default.
To make ocamlbuild recursive use one of these:
  1) Give the -r flag to ocamlbuild.
  2) Have a _tags or myocamlbuild.ml file in your top directory.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:10:13 +00:00
Nicolas Pouillard 3a4356befd [ocamlbuild] Move some functions from Pathname to Resource and use Digest_cache.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:08:18 +00:00