Commit Graph

8669 Commits (0a9bf33ba3ae789cb55df6605a5ea13aef15af7e)

Author SHA1 Message Date
Jacques Garrigue 0a9bf33ba3 test case from PR5918
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13293 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-13 01:39:48 +00:00
Pierre Weis 4a6a0c199d Normalization.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-12 08:14:49 +00:00
Pierre Weis 72cf9f780e Tabify.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-12 08:14:24 +00:00
Jacques Garrigue dc34e6d938 add -short-paths flag for printing shorter types when using modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13290 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-09 08:42:11 +00:00
Alain Frisch b54d688d1a Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13289 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-08 06:04:36 +00:00
Jacques Garrigue 40ee2b4e6f small fixes on GADT ambiguity levels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13288 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-01 10:20:21 +00:00
Jacques Garrigue d762415084 pprintast
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13287 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-01 02:21:21 +00:00
Jacques Garrigue 0212750b67 subtyping of impure functors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13286 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-31 07:01:52 +00:00
Jacques Garrigue 26e1ff7138 Merge short-paths into a fresh branch of trunk.
Also fix a bit unification and subtyping errors.
You now need the flag -short-path to activate short paths.



git-svn-id: http://caml.inria.fr/svn/ocaml/branches/short-paths-4.01@13285 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-29 14:21:12 +00:00
Jacques Garrigue d327f16c33 new branch for preparing short paths merge
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/short-paths-4.01@13284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-29 10:04:46 +00:00
Jacques Garrigue 1b5d02346c Fix PR#5911: substituting in submodules should not be allowed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13282 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-29 00:54:06 +00:00
Jacques Garrigue 4c9e622875 Fix PR#5907
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13280 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-26 01:43:11 +00:00
Jacques Garrigue 7e1ef88057 fix unsoundness of impure functors with unpack
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13279 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-25 11:09:43 +00:00
Alain Frisch ef9fc7ab0f #5904: support for -ppx in the toplevel.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13278 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-25 09:12:31 +00:00
Jacques Garrigue 75b4dbd042 Fix PR#5906
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13276 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-25 04:26:02 +00:00
Jacques Garrigue 9cf0614300 error message + allow unpack in impure functor body
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13275 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-25 02:11:04 +00:00
Jacques Garrigue 0582aa4f49 very cheap impure (generative) functors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13274 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-24 08:31:04 +00:00
Wojciech Meyer b7c2d04ac9 [ocamlbuild] Real time update of the tests, by flushing the channel after each test result.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13273 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 23:57:14 +00:00
Wojciech Meyer 26d9127a1e [ocamlbuild] Add some more tests for PR#4592 and PR#5752.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 23:40:19 +00:00
Alain Frisch 7ef058b6f3 Better registration API.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 10:15:45 +00:00
Alain Frisch 0c856310f2 Registration API for ppx rewriters.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13269 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 09:15:41 +00:00
Alain Frisch ba00d09386 Revert bad commit.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13268 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 08:41:02 +00:00
Alain Frisch 20a4b99758 #5902: adapt standard ppx driver to support extra arguments.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13267 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 08:37:01 +00:00
Wojciech Meyer de1bc665c4 PR#5652: Fix duplicate tags
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13266 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-21 23:19:19 +00:00
Gabriel Scherer 06d3dfc6fb fix a benign typo in the parser, spotted by Frédéric Bour
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13265 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-20 17:20:25 +00:00
Wojciech Meyer 6d36ae6831 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13264 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:23 +00:00
Wojciech Meyer f9fcc6892a Add test for new ocamlbuild -syntax option
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13263 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:22 +00:00
Wojciech Meyer 37bbb9bb16 Implement -syntax ocamlfind flag for ocamlbuild
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13262 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:19 +00:00
Wojciech Meyer e82f05c3ef ocamlbuild_test: Make root directory of tests before running them.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13261 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:18 +00:00
Wojciech Meyer 67101c77f3 PR#5652: Add support for camlp4 native plugin.
Patch by Hongbo Zhang!

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13260 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:17 +00:00
Wojciech Meyer 4c62de5d42 Use absolute paths in ocamlbuild_test.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13259 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:15 +00:00
Alain Frisch 7ac2a543cb Allow to pass mapper objects with more methods.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13258 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-17 13:25:03 +00:00
Alain Frisch 45936b5fa5 Fix #4887 (input_char after close_in crashes ocaml, msvc runtime). Patch by Christoph Bauer.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13257 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-17 09:04:53 +00:00
Wojciech Meyer 2cb5131384 PR#4592: Add test case.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13256 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-17 07:34:58 +00:00
Wojciech Meyer a0a8b4b04f PR#5686: Add testcase.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13255 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-17 07:06:41 +00:00
Jacques Garrigue 6970ac6e71 merge patch by Stefan Monnier from PR#5884
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13253 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-17 02:56:00 +00:00
Jacques Garrigue dfed25213f add test case for PR#5892
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13251 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 17:28:23 +00:00
Jacques Garrigue 5348b611a7 Fix PR#5892
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 17:18:26 +00:00
Alain Frisch 779580674f Move ast_mapper to parsing/, make it part of compiler-libs, and add an interface. Plus minor code cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13249 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 16:10:29 +00:00
Xavier Clerc b7d815c172 PR#5840: improved documentation for 'Unix.lseek'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13248 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 13:00:33 +00:00
Xavier Clerc 21f51b8b03 PR#5880: 'Genlex.make_lexer' documention mentions the wrong exception
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13245 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 12:29:25 +00:00
Xavier Clerc 75df311d02 PR#5891: support rectypes tag for mlpack (ocamlbuild)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 12:17:19 +00:00
Xavier Clerc 2885577f83 PR#5793: integer marshalling is inconsistent between architectures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13241 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 08:35:09 +00:00
Wojciech Meyer 5cb2518dd7 Implement memoization for expand_module to improve performance
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13240 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 07:36:07 +00:00
Wojciech Meyer d9fec1107d small renaming in the option doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13239 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 07:36:06 +00:00
Wojciech Meyer 01e27644ba -which option for ocamlbuild
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13238 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-15 21:32:52 +00:00
Wojciech Meyer 9d51dccfae ocamlbuild should look for ocamlfind on the path not in the root directory
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13237 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-15 21:10:04 +00:00
Alain Frisch fdaca2156b #5877: improve performance of repeated open statements on the same module (most useful for local opens).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13236 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-15 12:53:31 +00:00
Jacques Garrigue 0944e97723 allow absent constructors in PM for non-exact polymorphic variant types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13235 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-15 05:22:28 +00:00
Alain Frisch 4abe4a82ca Fix for #5835 can break existing (arguably bad) programs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13234 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-14 14:22:47 +00:00