Commit Graph

7794 Commits (6f0acffe944f9990c3b7eff9c34b431a2722f060)

Author SHA1 Message Date
Pierre Weis 6f0acffe94 Typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11239 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-25 12:07:13 +00:00
Jacques Garrigue 3a5b3e6f9b allow breaking line for locations inside error messages
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11230 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-21 07:56:18 +00:00
Jacques Garrigue 8f14aadd02 Do not keep locations in .cmis!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11229 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-21 03:37:50 +00:00
Jacques Garrigue b1f8048f39 merge branches/located_errors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11228 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-21 03:26:35 +00:00
Jacques Garrigue efa8d8896d Shorter error messages for modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11225 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-20 05:49:38 +00:00
Xavier Leroy 854afdd4e9 Reverted most of previous change re: local labels in AMD64/MacOSX.
The wretched MacOSX "ld -shared" (under 10.6 at least) balks on
subtracting two local labels, while it deigns subtracting two
nonlocal labels.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-15 09:44:07 +00:00
Xavier Leroy ce4946768c PR#5328: Windows, Unix.select and non-blocking sockets (untested patch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11223 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-15 09:02:22 +00:00
Xavier Leroy fc82a408a3 AMD64/MacOSX code generator: make local asm labels really local. (L100 instead of .L100)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11221 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-15 08:55:43 +00:00
Jacques Garrigue 6d52c986c1 update patch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-05 13:08:21 +00:00
Xavier Leroy b2846ae5a3 PR#5364: missing thinning on (val m : S) projection
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11214 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-30 09:47:21 +00:00
Jacques Garrigue 40f0a5e04c another approach to principality
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-27 22:36:41 +00:00
Jacques Garrigue ac275d142b fix gadt type variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-27 06:37:06 +00:00
Jacques Garrigue 156fff1b8a Keep type variable names
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-22 09:05:42 +00:00
Jacques Garrigue 5b34aabb04 patch for better module errors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11209 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-22 08:06:43 +00:00
Jacques Garrigue cf1e36f9a9 update patch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11208 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-22 07:16:52 +00:00
Xavier Leroy bd3e65ea7a PR#5349: "replace" uses new key instead of reusing old key.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11205 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-18 09:40:21 +00:00
Xavier Leroy 8e33ab4f2d Improve backward compatibility for Hashtbl functorial interface:
Hashtbl.Make returns a "create" function without an optional seed parameter.
(Which would be ignored anyway.)
Hashtbl.MakeSeeded returns a "create" function with an optional seed parameter.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11204 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-18 09:35:27 +00:00
Xavier Leroy 958c48049f PR#5336: add .type directives in ARM code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11203 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-18 08:09:34 +00:00
Xavier Leroy 012bc6eb1d PR#5319: Lswitch compilation for Win64 / MSVC. (Untested.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11201 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-18 07:52:55 +00:00
Xavier Leroy 9ef7e04cf3 Jonathan's updates to the Windows/Mingw port
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-15 13:38:45 +00:00
Didier Rémy 37b6033e8a - Replaced setq by add-to-list in README
- Fixed detection of site-lisp in Makefile (to fail when ambiguous). 


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11190 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-13 12:25:52 +00:00
Xavier Clerc cb7818e6de PR#5344: some predifined exceptions need special printing
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-08 08:34:43 +00:00
Xavier Clerc 6b6e39a3f3 PR#5331: ocamlmktop is not always a shell script
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11184 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-07 14:28:24 +00:00
Xavier Clerc b61ac6c575 PR#5316: objinfo now shows ccopts/ccobjs/force_link when applicable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11183 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-07 13:57:28 +00:00
Xavier Leroy 735c4f6b67 Follow-up: complete removal of pre-ANSI-C cruft.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11181 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-07 12:06:18 +00:00
Xavier Leroy d2126be2b3 Testing byterun with CompCert and finding minor issues:
- int64_format.h: off-by-one error in skipping width modifier
- sys.c: pre-ANSI-C cruft removed (<errno.h> MUST define errno)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-07 12:04:58 +00:00
Xavier Clerc 4a97d270ad PR#5335: Unix.environment segfaults after a call to clearenv
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11176 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-05 09:25:26 +00:00
Jacques Garrigue 7035f5d205 Meaning of warning 7 changed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11174 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-28 23:36:45 +00:00
Jacques Garrigue 7c94bbd294 fix bug in first-class module unpacking
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11173 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-20 02:51:34 +00:00
Xavier Clerc 99e474657c Fixed properties to treat files as plain sources instead of binaries
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11172 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-11 09:34:11 +00:00
Xavier Clerc 8b918bfe94 Removed some spurious references to 'Linenum' (the latter one preventing the build of camlp4).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11171 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-11 07:46:05 +00:00
Jacques Garrigue bde86b194e fix PR#5332
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11170 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-09 13:59:41 +00:00
Xavier Clerc 5aa55e0fc8 PR#5330: thread tag with '.top' and '.inferred.mli' targets
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11169 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-08 09:39:10 +00:00
Damien Doligez d9eb848d86 PR#5238, PR#5277: Sys_error when getting error location
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-04 14:59:13 +00:00
Damien Doligez 9058296d2f configure correctly under Mac OS 10.7 Lion (darwin11)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-04 14:31:34 +00:00
Xavier Clerc 12c25fa946 configuration step: inconsistency between 'Makefile-templ' and generated Makefile ('AS' versus 'ASM' variable).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11161 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-01 08:52:10 +00:00
Jacques Garrigue 9dc661c3bf merge branches/gadts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-29 10:32:43 +00:00
Jacques Garrigue 173c44001c finish fixing PR#5322
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-29 01:44:00 +00:00
Jacques Garrigue d89c73b659 allow using Printyp.raw_type_expr in Btype
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11157 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-29 01:39:09 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez db1e7c7e23 file "modules" is not auto-generated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 11:52:13 +00:00
Damien Doligez 6712010b6b file "modules" is not auto-generated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11154 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 11:51:01 +00:00
Damien Doligez 9286fd5a70 file "modules" is not auto-generated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 11:50:08 +00:00
Jacques Garrigue b7b719f6f0 fix bug reported by Polux Moon on 2011-07-26
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11151 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 08:48:22 +00:00
Jacques Garrigue a6c350e9b5 update test results
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11150 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 08:38:51 +00:00
Damien Doligez 8814f3fa3c remove obsolete MPW scripts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-26 22:36:54 +00:00
Xavier Leroy d0709a762f byterun: embarrassing typo in caml_hash
testsuite/tests/lib-num: testing hashing of big_int


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11147 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 18:13:18 +00:00
Jacques Garrigue d34034ca49 remove garbage from patch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11146 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 11:39:02 +00:00
Jacques Garrigue e5d0fb1786 patch for keeping variable names
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11145 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 11:24:31 +00:00
Xavier Leroy 952c0170ee PR#5290, continued: make sure hash values of nats are the same
on 32-bit and 64-bit platforms.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 10:24:58 +00:00