Commit Graph

7404 Commits (cb86b1933faa1b4052a8b62e74a8276171c88a8b)

Author SHA1 Message Date
Jacques Garrigue cb86b1933f document explicit override and destructive substitution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10380 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-07 06:55:52 +00:00
Pierre Weis 7ab61e1e28 Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10379 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 20:52:49 +00:00
Pierre Weis 8625a5c6f1 Simpler implementation of error narrowing. Factorization of lid finding code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10378 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 20:51:54 +00:00
Pierre Weis 2855154d6c Typo in module Scanf prevented tests to succeeded properly.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10377 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 17:49:19 +00:00
Damien Doligez e9d9d32b7d cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 15:08:53 +00:00
Maxence Guesdon ef925ce233 comment out useless code in Str
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 14:36:41 +00:00
Pierre Weis 1b5c521bb7 Forgotten export added. Remove spurious warninggs from Oug[1].
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 12:58:01 +00:00
Xavier Clerc 55e57e57d1 Directory changes are now silent under GNU make.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10373 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 10:03:17 +00:00
Xavier Clerc 458d066ec1 Fortran-related test now disabled by default.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 09:45:49 +00:00
Xavier Clerc 027bbf8ecb LD_LIBRARY_PATH explicitly set for dynlink test.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10371 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 07:13:50 +00:00
Alain Frisch e09a12388f New -help-warnings command-line option.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 18:44:38 +00:00
Alain Frisch 6db50e804c Update comment.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10367 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 17:45:43 +00:00
Alain Frisch 46334f76c2 Allow range of warnings and synchronize default for warnings given in usage info with the real code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10366 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 17:39:17 +00:00
Pierre Weis f14587620c Generalization of unbound identier error narrowing to all kind of qualified
idents (constructors, labels, types, classes).
Bump version.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10365 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 16:26:33 +00:00
Xavier Clerc e4afbef687 Test modified to be locale-independent.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10364 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 15:09:32 +00:00
Xavier Clerc a6097aa436 LD_LIBRARY_PATH explicitly set for dynlink test.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10363 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 15:09:01 +00:00
Xavier Clerc 1cae57a969 Correct assembler symbols under amd64 whether the system is MacOS X or not (testsuite).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10362 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 13:23:00 +00:00
Xavier Clerc cd481b8013 Undefined variables preferred to empty ones in Makefiles.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10361 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 10:37:53 +00:00
Xavier Clerc b7717b0f4b GNUmake-specific 'patsubst' constructions replaced with make-agnostic variable substitutions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10360 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 07:46:14 +00:00
Xavier Clerc b651ef72a5 Filtering of ocamldoc warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 07:44:56 +00:00
Alain Frisch 4b95af6a3c Fix bug #5043.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10358 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-04 07:41:41 +00:00
Maxence Guesdon dbd3762a96 ajout d'un fichier de test pour ocamldoc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10356 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 15:12:09 +00:00
Maxence Guesdon 6fa137373c ocamldoc: handle Pmod_unpack and Tmod_unpack
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 15:06:17 +00:00
Xavier Clerc 7325d7c1f1 Makefile conditionals replaced with shell conditionals for improved portability
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10354 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 15:00:11 +00:00
Xavier Clerc fa65051668 Filtering of ocamldoc warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 14:59:00 +00:00
Xavier Clerc 2148b19105 Update of reference file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10352 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 10:26:50 +00:00
Xavier Clerc 3c6b91455e The warning related to method overriding is now disabled.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10351 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:40:52 +00:00
Xavier Clerc f80a60d1a0 Typo in the deletion of bytecode programs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10350 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:38:04 +00:00
Xavier Clerc 5dad1ef161 The warning related to method overriding is now disabled.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:36:13 +00:00
Pierre Weis b443ee91ff Documentation. Adding a <<deprecated>> section to list deprecated stuff out of the way from the regular stuff.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10348 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:18:20 +00:00
Pierre Weis 1a868db7b8 Documentation. Adding a <<deprecated>> section to list deprecated stuff out of the way from the regular stuff.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10347 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:17:37 +00:00
Pierre Weis e9de1fb06b PR#5023. Adding some documentation words for function set_formatter_output_channel.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10346 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 07:09:33 +00:00
Pierre Weis 5abbfde92c PR#4983 corrected.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10345 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 18:39:03 +00:00
Pierre Weis 8fdedc9035 PR#4983. Test suite succesfully passed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10344 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 18:38:35 +00:00
Pierre Weis ec31aa4414 Numbering corrected.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 18:21:57 +00:00
Pierre Weis 5ba24ee337 Typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 11:34:09 +00:00
Damien Doligez aa6df7ff19 make command-line parsing forward-compatible
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:41:57 +00:00
Damien Doligez 7c9c51b21d updated Random and warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:19:30 +00:00
Damien Doligez dad5f517a4 addition of warning 30 changed dependencies
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10339 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:19:09 +00:00
Damien Doligez f93ec9a9cd disable shared libraries on 32-bit 10.6
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:18:45 +00:00
Alain Frisch c7ca3843a9 Fix 'make clean' under Windows.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10337 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 13:27:35 +00:00
Alain Frisch ad42f8a8f6 Extend nondep_type to deal with 1st class modules.
For instance, in:

module F(X : sig module type S end) = struct type t = (module X.S) end
include F(struct module type S = sig end end)

the resulting type t is turned into an abstract type.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10336 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 11:59:50 +00:00
Jacques Garrigue 8e60370dbb distinguish conflicting identifiers with same name (PR#4716)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10333 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 07:11:27 +00:00
Jacques Garrigue 80b48b7a69 make duplicate definitions a warning rather than an error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10332 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 06:26:51 +00:00
Jacques Garrigue b2730e0f81 check for duplicate labels and constructors across recursive type definitions (PR#3601)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 05:59:40 +00:00
Jacques Garrigue 7312e2e22c fix order for PR#5036
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10330 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 05:12:44 +00:00
Jacques Garrigue 7b8e39b8ea fix PR#4884, using same technique as rev. 8888
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 03:07:35 +00:00
Jacques Garrigue a51b04dec7 remove spurious code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10328 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 01:56:21 +00:00
Xavier Leroy 30878cea6c PR#5017: shift_right_big_int on negative numbers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-29 13:53:01 +00:00
Xavier Leroy 820544607a PR#4741: put -L options before file names, which can be -lxxx
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 12:09:32 +00:00