Commit Graph

7778 Commits (5b34aabb042f16eb2802af6918ba1b3a6aaa20c4)

Author SHA1 Message Date
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
Xavier Leroy f90ddc8c22 PR#5290: added hash functions for channels, nats, mutexes, conditions.
Also: added "custom_compare_ext_default" to all struct custom_operations:
default initialization to 0 did what we want, but explicit initialization
better documents the C sources.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11143 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-23 10:07:25 +00:00
Xavier Clerc 8f5e859134 fixed inconsistent order in structure elements.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11142 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-21 09:45:24 +00:00
Xavier Clerc 2ae723a2e9 removed 'testlabl'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11141 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-21 07:59:32 +00:00
Xavier Clerc efb3949fef 'testlabl' renamed to 'experimental/garrigue'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11140 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-21 07:53:50 +00:00
Xavier Clerc 920096846e test suite: 'els' (signatures) moved from 'testlabl'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11139 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-21 07:47:26 +00:00
Xavier Clerc d5e1e67d64 test suite: 'sigsubst' moved from 'testlabl'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11138 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-21 07:43:44 +00:00
Xavier Clerc 22a753340d test suite: 'implicit_unpack' moved from 'testlabl'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11137 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-21 07:34:14 +00:00
Xavier Clerc 9cc18a5a7e test suite: update for new ocamldoc API
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11136 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-21 07:22:32 +00:00
Xavier Clerc 3327547485 test suite: detection of makefile failure in report
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11135 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-21 07:13:25 +00:00
Xavier Leroy 9cbb51e2d0 Forgot to add this auxiliary script for configure.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11134 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 16:13:21 +00:00
Damien Doligez 90664f4ea1 uniform .ignore system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:37:36 +00:00
Damien Doligez 5b6ff1650b fixed broken path
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11132 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:35:04 +00:00
Xavier Clerc 9f77757d5c testsuite: invalid Makefile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11131 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 14:47:34 +00:00