Commit Graph

7569 Commits (4e8b7a4808f928e6dba47a2bb768c83dbd426d2d)

Author SHA1 Message Date
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
Xavier Leroy 1def025fde Updated Windows makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10325 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 12:00:27 +00:00
Xavier Leroy 93508995e0 PR#4676: wrong constant in Win64 IL32LLP64 model
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 11:59:09 +00:00
Didier Rémy 34c0efcc4e Added save-excursion to ocaml-link-activate.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10323 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 11:11:07 +00:00
Didier Rémy ffb6aee83e fixes bug 0004997
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 10:33:43 +00:00
Xavier Leroy 236ffb982a PR#5036: check for nongeneralized type variables in "module type of".
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10321 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 07:53:19 +00:00
Jacques Garrigue 3810a32f6f fix PR#5037
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10320 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-28 04:54:57 +00:00
Xavier Leroy cce13b3fe7 More tests for floating-point comparisons
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 13:01:53 +00:00
Pierre Weis c73e191b80 Documentation + some rewriting in check_next_char.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 10:35:18 +00:00
Didier Rémy 482ae23e13 fixes bug 0005016--missing quote
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 08:45:18 +00:00
Didier Rémy e36857e8eb fixes bug 0005016
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 08:26:53 +00:00
Xavier Leroy 09ba69134f - Refactoring of otherlibs/systhreads
- PR#4702: added C functions to register threads not created by Caml
- PR#5013: wrong implementation of condition variables under Win32
- PR#4979: wrong error code handling under Win32
- Added standard include <caml/threads.h> 
- Added "stack_size" field in GC statistics.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 07:55:08 +00:00
Alain Frisch 3067d05221 Adding some error rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 18:37:25 +00:00
Alain Frisch 1f8e12830f Fix PR #5034.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10312 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 18:27:14 +00:00
Damien Doligez bfdf476b69 merge last changes from 3.11 branch (rev 10307)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 12:54:11 +00:00
Pierre Weis 6a28a57f52 Clearer documentation for %i conversion and conversions for native 32 and 64 bits integers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 09:22:26 +00:00
Jacques Garrigue 7f758d5c1f fix PR#5026: recursive type checks should use _opt versions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10306 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 08:55:20 +00:00
Pierre Weis 5a23453ce6 Bug in function scan: the size of the string format argument must be calculated inside the scan function body, not before. Otherwise, recursive independant calls to scan assume a wrong length for the format string. More explicit error messages.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10305 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-25 14:56:59 +00:00
Pierre Weis e7b82c9944 More documentation for meta formats %( %).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10304 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-25 14:27:26 +00:00
Pierre Weis 0291b6857b Adding new tests for meta formats %(... %).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10303 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-25 13:53:22 +00:00
Mark Shinwell 62d8b11287 fix mantis 5032
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10300 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-23 07:58:59 +00:00
Damien Doligez 27780d9f8a fixed several build problems
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 15:41:16 +00:00
Xavier Leroy 8e5b81144b PR#5027: method! for overriding
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10296 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 12:51:06 +00:00
Xavier Leroy 207b0ec0b5 PR#5029: typo in names of lib functions for float32<->float64 conversion.
PT#5027: method! to avoid warning.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10295 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 12:39:40 +00:00
Nicolas Pouillard 71a66511a7 camlp4: Remove old build files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10294 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 09:38:52 +00:00
Xavier Leroy 26b9064703 PR#5030: start data labels higher. Also, use emit_floatNN_directive.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10293 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 09:33:18 +00:00
Xavier Leroy b6de85daad Reserve identifiers below 1000 for typing/predef.ml. This facilitates
extensions and patches like MetaOCaml.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10288 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-21 08:13:10 +00:00
Damien Doligez 674da0324d PR#4541 make debugger compatible with fork()
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10287 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-20 15:47:15 +00:00
Damien Doligez a274b01b55 removed -w A everywhere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10286 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-20 15:38:58 +00:00
Xavier Leroy b6f408ecc6 PR#4996: Subst.compose revised; Tbl.fold added.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10285 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-20 14:11:28 +00:00
Jacques Garrigue 241db865e9 just bump the version number to dev18
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-20 00:20:55 +00:00
Maxence Guesdon ae0362e9e2 update test
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10283 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 17:00:11 +00:00
Maxence Guesdon ef3cb8bf2d handle typeof in expression 'include module type of longident', even if output result in 'include longident'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10282 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 16:59:55 +00:00
Maxence Guesdon f8a0a241cc handle 'module type of' in structs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 16:48:42 +00:00
Maxence Guesdon 0f44ce9898 update test
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10280 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 16:48:25 +00:00
Maxence Guesdon 5b2243c06d handle 'module type of' expressions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10279 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 16:34:13 +00:00