Commit Graph

531 Commits (5dabafb940190ab64300df2e4f7abd57399e2c34)

Author SHA1 Message Date
Damien Doligez 6973c3b9da PR#5255: natdynlink detection on powerpc, hurd, sparc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12647 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-26 16:01:05 +00:00
Fabrice Le Fessant b8238a8b61 PR#5662 : typo in md5.c when clearing sensitive data in context
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12642 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-25 15:59:04 +00:00
Damien Doligez f439a4441b follow up of commit 12633 (PR#5131)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12635 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 16:27:34 +00:00
Damien Doligez fe137eedb5 PR#5233: finaliser on weak array gives dangling pointers (crash)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12627 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 14:30:11 +00:00
Xavier Leroy 28c206ad37 PR#5643: issues with .cfi and .loc directives generated by ocamlopt -g
(Picking commit 12610 from version/4.00)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-17 08:17:43 +00:00
Jacques Garrigue d15380d566 update Changes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12606 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 23:46:41 +00:00
Alain Frisch 60d0694e9f #5634: parstree rewriters (merge with ast_rewriter branch).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12597 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 08:00:27 +00:00
Xavier Leroy 81ca9d7223 PR#5636: issue with pthread_atfork in glibc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-08 11:36:35 +00:00
Jacques Garrigue aa9ff663b1 Fix PR#4838, PR#4511
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12535 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-01 08:05:48 +00:00
Jacques Garrigue 6219455e62 Fix PR#5224
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12533 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-01 05:12:44 +00:00
Jacques Garrigue a430934c06 Fix PR#5291
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12531 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-01 04:47:14 +00:00
Xavier Clerc 8889c93af2 Move of the message related to PR#5620, due to backport to 4.00.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29 07:39:13 +00:00
Xavier Leroy 66f05c8e7f Fix for PR#5578 left on trunk but removed from 4.00 because of PR#5578.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12481 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-24 16:41:34 +00:00
Xavier Clerc 397d0040de update related to commit 12473 (fixing PR#5620)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-23 08:23:52 +00:00
Fabrice Le Fessant fef288bd38 Fix PR#5305 : prevent ocamlbuild from complaining about links to _build/
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12452 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-15 08:37:48 +00:00
Fabrice Le Fessant 621dd2dd5f Fix PR#5555
Add Hashtbl.reset to resize the bucket table to its initial size.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12451 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-15 08:36:25 +00:00
Xavier Leroy ceabedc058 PR#5603: wrong .file directives generated by ocamlopt -g
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12449 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-12 09:51:45 +00:00
Xavier Leroy 4b9cbab50a PR#5610: new unmarshaler didn't freshen object IDs.
Assorted cleanups and additional comments in byterun/intern.c.
More tests in lib/marshal.
Updated Changes file.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12442 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-08 13:49:35 +00:00
Xavier Leroy ad6a2252ff Remove the 'dispose' functions from Bigarray.
(Partial revert of commit 12327, keeping the other good bits.)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12432 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-06 08:23:16 +00:00
Wojciech Meyer bfe3edfd71 PR#5599: Update Changes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12421 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02 19:48:12 +00:00
Pierre Weis 826c4225b5 Adding a word for treatment of %@. Mispelling corrections.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-01 22:11:25 +00:00
Wojciech Meyer bfc2d7ec34 PR#5531: Add Changes entry
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-26 00:11:57 +00:00
Wojciech Meyer 43197698fa PR#5318: Update Changes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-25 00:02:02 +00:00
Xavier Leroy b2166e33f5 - Hashtbl:
. Added optional "random" parameter to Hashtbl.create to randomize
      collision patterns and improve security (PR#5572, CVE-2012-0839)
    . Added "randomize" function and "R" parameter to OCAMLRUNPARAM
      to turn randomization on by default (PR#5572, CVE-2012-0839)
- Filename: on-demand (lazy) initialization of the PRNG used by "temp_file".



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12384 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-19 13:17:40 +00:00
Xavier Leroy 2330a3b30f PR#3571: in Bigarrays, call msync() before unmapping to commit changes
PR#5463: Bigarray.*.map_file fail if empty array is requested
Bigarray: added "release" functions that free memory and file mappings
just like GC finalization does eventually, but does it immediately.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-09 10:23:50 +00:00
Xavier Leroy 0d2e9941eb PR#5295: OS threads: problem with caml_c_thread_unregister()
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12325 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-08 17:12:46 +00:00
Xavier Leroy 72ae789dc6 PR#5543: in Bigarray.map_file, try to avoid using lseek() when growing file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-04 12:12:02 +00:00
Damien Doligez 22e3b040d4 PR#5310: Ratio.create_ratio/create_normalized_ratio have misleading names
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12304 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-31 22:15:34 +00:00
Damien Doligez 4191b43bc9 PR#5311: better message for warning 23
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-31 20:55:13 +00:00
Jacques Garrigue 40e2854e21 Fix PR#5560
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12286 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-28 00:35:41 +00:00
Alain Frisch 77b7ef9714 #5397: Filename.temp_dir_name should be mutable.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12274 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-26 17:17:35 +00:00
Xavier Leroy af3cafad25 Splitting off the win32caml/ subdirectory (the simplistic Win32 UI for the toplevel). It now lives at https://forge.ocamlcore.org/projects/ocamltopwin/
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12268 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-24 10:37:53 +00:00
Xavier Leroy 90fde3e40e Updated documentation of Random.self_init and Random.float.
Faster implementation of Random.float: to get a 53-bit random mantissa, combining two calls to Random.bits is enough, three was overkill.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12262 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-23 09:58:22 +00:00
Alain Frisch 454a45c2b5 Update Changes for #5551.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12252 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-21 11:40:02 +00:00
Xavier Leroy 44b6164bb0 Improve self-initialization of the Random module, using /dev/urandom
when available.  The changes in byterun/win32.c are untested.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-14 16:12:09 +00:00
Xavier Leroy 5914913c1c PR#4892: non-strict behavior in Array.set
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12238 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-14 09:27:13 +00:00
Xavier Leroy 4e5eb94ed9 PR#5215: Marshalling of closures now supported if the closures come from dynamically-loaded code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12229 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-13 14:50:41 +00:00
Damien Doligez 6c24f4f90b merge version 3.12 from 3.12.1 to r12205
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-08 19:52:03 +00:00
Xavier Leroy a1b1a068f8 PR#5516: in Bigarray C stubs, use C99 / GCC flexible array types if possible
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12188 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-27 17:46:05 +00:00
Xavier Leroy 79eab1a6e2 PR#5513: protect against min_int / -1 crashing on x86
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-24 10:13:02 +00:00
Xavier Leroy b5dbeb6611 PR#5511: in Bigarray.reshape, unwarranted limitation on new array dimensions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-21 17:53:49 +00:00
Xavier Leroy 2eecf2d4c0 PR#5487: addition of CFI directives and a few filename/linenumber info to generated amd64 and i386 assembly files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12179 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-21 17:41:02 +00:00
Wojciech Meyer df19aff00d Reverting "PR#5504: Add Changes entry". For time being - sorry.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12175 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-20 21:36:16 +00:00
Xavier Leroy 6d57d49f5e Optimize away compile-time beta-redexes, as found sometimes in generated code, by Coq's extraction in particular
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12174 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-20 17:45:10 +00:00
Wojciech Meyer afbd4d496c PR#5394: Add Changes entry
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12173 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-19 18:35:32 +00:00
Wojciech Meyer 11f4f96928 PR#5504: Add Changes entry
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12171 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-19 17:30:03 +00:00
Wojciech Meyer cd40fae3e3 PR#5510: Add Changes entry
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12169 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-19 17:04:42 +00:00
Xavier Leroy e545071c8a Reverting commits 12108 and 12109 concerning PR#4072. I feel the cure (making ocamlc's evaluation order inconsistent with the ZAM push-enter model) is worse than the illness.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12167 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-18 17:21:42 +00:00
Xavier Leroy b07b3032c0 - PR#5509: misclassification of statically-allocated empty array that
falls exactly at beginning of an otherwise unused data page.
- i386/emit_nt.mlp: add zero word at end of data segment, like in other ports.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-18 16:56:29 +00:00
Fabrice Le Fessant e73cade9b2 Fix PR#5297: compiler does not check %primitive's existence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12165 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-18 09:45:30 +00:00
Fabrice Le Fessant 62b0e4fb10 Fix Changes for last commit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-18 09:43:58 +00:00
Xavier Leroy 339bcbb2c6 PR#5064, PR#5485: try to ensure that 4K words of stack are available
before calling into C functions, raising a Stack_overflow exception
otherwise.  This reduces (but does not eliminate) the risk of
segmentation faults due to stack overflow in C code.
Implemented for i386, amd64 and power, under Linux and MacOSX.
Plus: remove some more stuff related to obsoleted platforms (IA64, SunOS 4).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12159 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-17 10:12:09 +00:00
Xavier Clerc 79507d54bb PR#5503: error when ocamlbuild is passed an absolute path as build directory
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12154 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-15 09:10:52 +00:00
Damien Doligez e7f5b858c2 More renaming to OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Benedikt Meurer 05627e0de4 Merge the new ARM backend into trunk (PR#5433).
Initial merge of the new ARM backend (commit ec5b444c7f) from my development
repository at https://github.com/bmeurer/ocaml-arm/tree/ec5b444c7f .

Compared to the old ARM backend, this one does the following:
- Support for both software and hardware floating-point (VFPv3).
- Properly supports interworking with Thumb/Thumb-2 code for both OCaml and C
  code.
- Supports dynamic linking and large memory models (PR#5049).
- Optional support for position-independent code via a command line option
  -fPIC. This is disabled by default and not required for natdynlink.
- Can emit both ARM and Thumb-2 code, with avg. code size savings of 28% for
  Thumb-2 (quite close the optimal 30% advertised by ARM Ltd.).
- Supports both AAPCS (armel) as well as extended VFP calling conventions
  (armhf).
- Supports several special ARM instructions to reduce code size and latency.
- Uses standard ARM EABI runtime functions instead of relying on GCC internals.
- Supports exception backtraces.
- Supports profiling using gprof.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-04 10:15:24 +00:00
Damien Doligez 94f9c9fa83 cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 16:01:21 +00:00
Jacques Garrigue eced476cce Fix PR#5498
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12111 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 05:58:57 +00:00
Fabrice Le Fessant 3a15ca4ea1 Update Changes for last commit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12109 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-01 09:31:26 +00:00
Fabrice Le Fessant 2bfba69b77 Backported '%apply' and '%revapply' from 3.12.1+dev to 3.13+dev
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12070 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-23 14:49:39 +00:00
Alain Frisch 8acbeff60b Update Changes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12043 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 10:42:40 +00:00
Xavier Clerc 48d5f48d6d PR#5199: tests are run only for bytecode if either native support is missing,
or a non-empty value is set to "BYTECODE_ONLY" Makefile variable.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 09:51:16 +00:00
Fabrice Le Fessant 869feeb007 Fix PR#5461
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-17 21:57:54 +00:00
Fabrice Le Fessant 28c7bcd42d Fix PR#5475
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-17 21:47:36 +00:00
Fabrice Le Fessant 6f9f5cdfdb Fix PR#5479
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-17 20:32:33 +00:00
Alain Frisch 55688836f4 PR#4688: (Windows) special floating-point values aren't converted to strings correctly.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16 10:23:51 +00:00
Alain Frisch f814bc1fcd #5478: Update Changes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16 09:13:37 +00:00
Xavier Leroy ee95e9fd91 More efficient implementation of {Set,Map}.{filter,partition}
Optimize Set.join just like Map.join was recently.
Added some tests for Set and Map.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12026 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16 09:03:16 +00:00
Xavier Leroy 546bccd742 I messed up the distinction between "Bug fixes" and "Feature wishes". Repairing.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12024 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-14 09:48:01 +00:00
Xavier Leroy e9123cd60f PR#5327, PR#5329: improvements in Unix.select emulation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-14 09:40:49 +00:00
Fabrice Le Fessant faa64b3053 Fix bug #5476: native code compilation of let rec on float arrays
Applied the two patches of Gabriel Scherer to (1) fix the bug with
float array in let-rec, and (2) add a test-suite for let-rec



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12021 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-13 17:46:21 +00:00
Jacques Garrigue db50558e33 fix PR#5469
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12005 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-10 03:01:50 +00:00
Fabrice Le Fessant d02419cef7 Fix bug #3888 (String.map and Scanf.unescaped)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12004 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-08 15:38:38 +00:00
Fabrice Le Fessant 4c4a9fc507 Fix of #5467: no extern C in header files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-07 20:55:28 +00:00
Damien Doligez 2c04ae521e PR#4549: make Filename.dirname/basename POSIX compliant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-06 14:24:58 +00:00
Damien Doligez 6b4bb576df PR#352: new option to make ocaml read stdin as a script
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11980 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-30 16:28:16 +00:00
Damien Doligez 0c7984afc6 PR#5453: configure doesn't find X11 under Ubuntu/MultiarchSpec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-29 20:42:11 +00:00
Wojciech Meyer 3542301ef7 PR#5454: Update Change log. Correct order of one of the bug fixes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11972 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-29 03:13:40 +00:00
Damien Doligez 6e7e555206 formatting and annotation of incompatible changes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11967 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-28 13:24:26 +00:00
Xavier Leroy c3ead2a680 PR#5325 ("remove" solution).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-28 10:38:55 +00:00
Alain Frisch 7f7dc416fd Reverting the let.expr syntax (no consensus on the proposal). Sorry for the noise.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-27 09:08:34 +00:00
Wojciech Meyer ddc66298a3 PR#5313: Add Change log entry
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-22 19:11:30 +00:00
Jonathan Protzenko b47d5b20f2 Fix #5437: when registering an option with Arg, if the option has an empty doc string, do not include it when printing the usage.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11939 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-22 14:04:18 +00:00
Xavier Leroy bc02593570 PR#5345: optimize checkbound for constant indices.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11934 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-22 09:36:45 +00:00
Jacques Garrigue 16d937aa40 fix PR#5436
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11930 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-22 07:30:18 +00:00
Damien Doligez 19e2bca8ea correct syntax highlighting in emacs (continued)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11923 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 15:39:12 +00:00
Xavier Leroy c8f32a4a50 Module Array: faster implementations of "blit", "copy", "sub",
"append" and "concat" (PR#2395, PR#2787, PR#4591)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11913 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 10:36:35 +00:00
Alain Frisch d79455bc76 New syntax for 'custom let bindings': let.simple_expr pat = expr in expr
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 08:58:56 +00:00
Alain Frisch 16c26c6de3 let-like operators.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11894 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 11:22:32 +00:00
Xavier Leroy a40d0432b2 PR#4880: added appropriate event to "assert" so that it shows up properly in stack backtraces
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11891 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 10:42:36 +00:00
Alain Frisch c1f154ea70 New option to force the compilers to show absolute paths in error messages.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11890 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 10:35:43 +00:00
Xavier Leroy b51df176a8 PR#5416: better implementation of set/clear_close_on_exec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11888 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 08:59:09 +00:00
Xavier Leroy ca0c236919 PR#4869: rare collisions between assembly labels for code and data
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11887 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-18 10:00:56 +00:00
Xavier Leroy 3e42214295 Removed the obsolete native-code generators for Alpha, HPPA, IA64 and MIPS.
So long and thanks for all the fish.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11882 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-17 11:12:50 +00:00
Xavier Leroy 9178181eae The "DBM" library (interface with Unix DBM key-value stores) is no
longer part of this distribution.  It now lives its own life at
https://forge.ocamlcore.org/projects/camldbm/.  Bye bye, DBM.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11881 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-17 10:45:23 +00:00
Alain Frisch 0b002c286a Update Changes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-14 10:40:58 +00:00
Jacques Garrigue 6306860e1f fix PR#5343
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11297 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-10 02:51:09 +00:00
Damien Doligez 8b700ead50 better reporting of wrong version for .cmi files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-11-29 15:55:49 +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 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
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
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
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
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
Damien Doligez c91db736b1 merge changes from 3.12.0 to 3.12.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Xavier Clerc 46d5420ca9 PR#5301: camlp4r and exception equal to another one with parameters
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11121 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-12 09:41:01 +00:00
Xavier Clerc 4e8b7a4808 Typo in message associated to PR#5301.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11104 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-27 07:53:01 +00:00
Xavier Clerc 91bcd90c5b PR#5301: camlp4r and of exception equal to another one with parameters
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11103 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-27 07:37:06 +00:00
Xavier Leroy 9af488cbbd PR#5287: Optimized handling of partially-applied functions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11086 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-12 10:04:46 +00:00
Xavier Leroy b5bc74437d Revised simplification of let-alias (PR#5205, PR#5288)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11085 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-11 13:10:22 +00:00
Xavier Leroy 174ff0b018 PR#3806, 4752, 5246: added "hypot" and "copysign" to Pervasives.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-04 08:55:55 +00:00
Damien Doligez 31b0292413 renaming "Objective Caml" to "OCaml" (first pass)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-04-26 12:16:50 +00:00
Damien Doligez a53ce2df70 add option -runtime-variant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 16:18:05 +00:00
Damien Doligez 575555eecd merge changes from branching of 3.12 to release/3.12.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Xavier Clerc ffa66ded92 PR#4964: parenthesized names for infix functions in annot files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-31 13:18:11 +00:00
Alain Frisch 66092ce6ff Extend Map with functions from Set.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10468 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 13:29:43 +00:00
Alain Frisch e671780b01 Fix PR#4012: Map.map and Map.mapi do not conform to specification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10465 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 11:22:14 +00:00
Xavier Leroy 9d27a7fc8e Slightly better code generated for floating-point comparisons.
Windows-MSVC port updated as well but not tested yet.
The testsuite contains appropriate tests (in tests/basic/equality.ml).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10460 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-24 15:26:23 +00:00
Damien Doligez 5e67123bf6 PR#4975: spelling mistakes "overriden" and "informations"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 12:00:49 +00:00
Jacques Garrigue 1772822057 PR#4478: better error messages for type definition mismatches
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10447 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 03:36:52 +00:00
Jacques Garrigue 9c79ec9120 fix PR#5057, must adjust levels in row fields
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10446 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 01:26:16 +00:00
Damien Doligez 3bba52b91c PR#4857: add -vnum option to all executables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-20 14:06:29 +00:00
Xavier Leroy d4d232101d PR#4874: interpretation of \b in regexps: characters that constitute a word now include 0-9 and _
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10429 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 12:22:24 +00:00
Damien Doligez 1072c2cc6d deduplicate debugger/dynlink.{ml,mli}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-17 15:49:53 +00:00
Damien Doligez 29224ccbe6 PR#4742: finalisation function raising an exception blocks other finalisations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-12 14:32:23 +00:00
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
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 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
Alain Frisch 683d6b0202 PR #5018: Wrong exception raised by Dynlink.loadfile.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10235 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-06 21:00:18 +00:00
Xavier Leroy 8f0185c58d PR#5004: overflow in Buffer.add_channel
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-28 08:16:45 +00:00
Xavier Leroy 18dc114330 PR#5008: forgot to reserve bottom 32 bytes of stack before calling the GC (AMD64/MSVC port only)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10215 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-28 08:04:39 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez bdc0fadee2 merge changes from release/3.11.1 to release/3.11.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Pierre Weis 700da01338 Adding the -strict-sequence option.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9464 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-09 09:17:12 +00:00
Alain Frisch 89107ae6ff Merge the letopenin branch in (svn merge -r9386:9397 /svn/ocaml/branches/letopenin) and update Changes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9406 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-01 21:52:29 +00:00
Alain Frisch 1e5b4a4857 Merge first class modules: svn merge -r 9369:9396 $caml/branches/fstclassmod.
Adapt the Changes file. Bump magic numbers. Bootstrap.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-26 10:53:16 +00:00
Jacques Garrigue 023fda3fb4 merge polymorphic recursion
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-26 07:11:36 +00:00
Xavier Leroy 349467ec45 New warning `not all labels are mentioned in this record pattern'
moved to letter 'R' (instead of 'E' previously).  Explicitly turned 
off in myocamlbuild configuration.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-22 15:45:54 +00:00
Alain Frisch ada68db994 Update Changes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9383 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-20 09:04:37 +00:00
Xavier Leroy b906a69535 MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9332 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-12 12:44:45 +00:00
Pierre Weis 714d968b84 New ikfprintf function for Format.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-10 08:05:33 +00:00
Pierre Weis 25d7f8fdc1 Refined error message for unbound identifiers: if M.ident is unbound and M is unbound, then unbound module M is reported.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-04 16:19:35 +00:00
Xavier Leroy b01621e848 Added syntactic sugar for record expressions and record patterns:
{ lbl } stands for { lbl = lbl }.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-08-27 08:19:08 +00:00
Damien Doligez 71b94fa3e8 merge changes from ocaml3111rc0 to ocaml3111
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-20 11:51:50 +00:00
Xavier Leroy a5aa0b7e37 PR#4210, PR#4245: tightened bound checking in string->integer conversion functions, without changing what the lexer accepts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-15 14:50:31 +00:00
Damien Doligez ed32f569e3 merge changes from ocaml3110 to ocaml3111rc0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Pierre Weis bef9a0fded Starting the record of new changes wrt 3.11.0.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9169 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-02-13 13:17:05 +00:00
Damien Doligez 1f95b17570 merge changes from 3.10.2merged to 3.11.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Xavier Leroy 62b2e16e8a PR#4609: Win32Unix lockf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9070 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 11:49:30 +00:00
Pierre Weis 5f5a19a541 PR#4582 is closed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9043 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-28 21:12:51 +00:00
Pierre Weis 9aeb72aa0d Better semantics for fscanf. For the record: PR#4562, PR#4605, PR#4614.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9038 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 20:43:19 +00:00
Xavier Leroy 9cc0b9a01a PR#4577: reinitialize thread machinery after fork
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 10:46:55 +00:00
Xavier Leroy 7d912ae76a PR#4390: ajout caml_raise_with_args
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-18 11:49:21 +00:00
Xavier Leroy 444fdef24f MAJ pre 3.11.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-18 09:06:37 +00:00
Alain Frisch 20bc66eb25 Enable to (old) -dlcode option by default. -nodynlink disables it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8916 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-15 15:31:32 +00:00
Xavier Leroy 640b24249d Ability to print and capture exception backtraces (see stdlib module Printexc)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8839 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-14 13:47:24 +00:00
Damien Doligez 04aa158cb6 merge changes from 3.10.1 to 3.10.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 14:21:22 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Alain Frisch 32abe25b89 Same in native code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 16:09:57 +00:00
Pierre Weis 2a99b8737b Expanding the usual compiler's type-based optimisations to private abbreviations.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-01 18:36:43 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Pierre Weis 9fa304e513 Start a new log item for the next version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-04 20:59:38 +00:00
Pierre Weis 8c9e42862c The functions that escape characters ([escaped]) now handle characters
consistently with the compiler's lexer (PR#4220).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8189 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-04-16 11:06:51 +00:00
Xavier Leroy 45089d8de6 MAJ Tcl/Tk 8.4 pour Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7956 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 15:03:29 +00:00
Xavier Leroy c74f4d0c73 Typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7948 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 13:57:41 +00:00
Xavier Leroy c5ff577e23 Mention Sys.is_directory
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 13:55:18 +00:00
Xavier Leroy b4beb4dd7f Stack overflow detection not working under Win64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:27:48 +00:00
Maxence Guesdon a99f54d484 fix PR#4215: ocamldoc hand '?' in value names when generating html files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7923 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 09:58:50 +00:00
Xavier Leroy 4fd5cfb539 MAJ 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7920 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 12:44:04 +00:00
Xavier Leroy cddfe88ac6 Changes in 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7908 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 13:37:34 +00:00
Pierre Weis 3be794c1bf New bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7718 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-06 09:16:05 +00:00
Damien Doligez fbea66a95e fusion des changements 3.09.2 -> 3.09.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Damien Doligez 1279ab4b76 fusion des changements 3.09.1 -> 3.09.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Jacques Garrigue 602146f892 add virtual instance variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 02:28:13 +00:00
Damien Doligez 3aaf0659a4 fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7306 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:44:12 +00:00
Xavier Leroy 7999a75160 MAJ 3.09
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7174 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-26 15:11:29 +00:00
Xavier Leroy 4aab1d8bcb Suite MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7150 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-21 07:55:08 +00:00
Maxence Guesdon f5d7a63a44 ajout changement d'ocamldoc dans Changes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7146 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-20 13:04:16 +00:00
Jacques Garrigue 03897ee439 warning
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7135 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-17 08:30:58 +00:00
Xavier Leroy 39d9098f39 MAJ pour 3.09
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7120 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-12 14:56:37 +00:00
Xavier Leroy a2885ab63d Suite MAJ 3.09
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7117 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-12 13:40:40 +00:00
Xavier Leroy 2dcb4224b9 Debut MAJ pour 3.09
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7113 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-12 08:33:41 +00:00
Pierre Weis 11524e2578 MAJ.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7063 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 22:15:14 +00:00
Pierre Weis a3b605a2db New function sscanf_format to read a format from a string.
The type of the resulting format is dynamically checked and should be
the type of the template format which is the second argument.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-20 21:42:44 +00:00
Damien Doligez f4cc48c8ea fusion des modifs de 3.08.4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7018 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-13 20:48:28 +00:00
Jacques Garrigue 3aa312d98b do not force presence for variants with only 1 constructor
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-13 01:11:02 +00:00
Jacques Garrigue 15aad8cbb6 ocamlc -i only prints variance annotations when needed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6827 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-25 00:43:56 +00:00
Damien Doligez 958bd6c492 fusion des changements jusqu'a 3.08.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 16:54:13 +00:00
Damien Doligez 7519fe8f6b fusion des bugfixes de 3.08.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-25 00:06:06 +00:00
Damien Doligez c3a39fc8c8 Fusion des modifs de la branche release308 entre 3.08.0 et 3.08.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-20 17:04:35 +00:00
Xavier Leroy 237006931a Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:19:15 +00:00
Xavier Leroy 416684a960 MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6427 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-21 08:44:27 +00:00
Damien Doligez 40973975c0 precisions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-17 17:20:19 +00:00
Xavier Leroy 17cd0460c0 Merge de OCamlWinPlus (Christopher Watford)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-17 07:48:05 +00:00
Pierre Weis e0122726af Implementation of an extension of record typing: the first path
annotated label in a record implies the implicit path annotations of
the other labels. This way, a single annotation allows the
simultaneous annotation of the whole set of labels. This is a
conservative extension, since all the labels of a record must already
belong to the same module. Hence, any program that was typable before,
had this property and is thus still typable in the new scheme.

This new treatment provides a simple way to desambiguate labels in
mass, just adding a module path annotation on one of the field labels;
this slight improvement of record typing thus avoids the burden of
repeating Module.label for each label of the record.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 21:29:05 +00:00
Damien Doligez cd64d89caf finalisation dans l'ordre
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6403 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-14 13:27:42 +00:00
Xavier Leroy 3dce37c196 Generalisation de l'option -o
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-13 12:46:41 +00:00
Xavier Leroy adb2b0dbed MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6388 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-12 10:37:54 +00:00
Xavier Leroy 762a006652 Impression des 'rec' et des 'and' dans les signatures inferees (PR#1981,2585)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-12 08:55:49 +00:00
Damien Doligez b2f3d350af erreur de grammaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6383 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-11 23:44:03 +00:00
Jacques Garrigue e4f17e3c81 errors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6335 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-27 09:10:44 +00:00
Jacques Garrigue 3078de9e90 changes in object system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6334 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-27 07:25:45 +00:00
Damien Doligez 7405556404 directives #line pour lex et yacc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-21 23:26:06 +00:00
Damien Doligez 258c929f64 PR#1914,PR#1956, suppression du portage Mac OS 9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-05 20:26:19 +00:00
Xavier Leroy 41859eadcd MAJ Format
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-29 09:42:21 +00:00
Pierre Weis 2772ab2460 Tags are now skipped by default in the pretty printer engine.
In Scanf we have %! to match end of input.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5844 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-25 10:29:36 +00:00
Jacques Garrigue 0a9b16337d allow workaround for method overridden warning
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-10 01:03:50 +00:00
Jacques Garrigue ae18357a62 typing of polymorphic variant matching
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5795 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-23 00:27:14 +00:00
Xavier Leroy 3f44f7de4d MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5793 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-21 14:27:35 +00:00
Damien Doligez d28ff2ed0e petites erreurs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5729 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-23 22:27:26 +00:00
Xavier Leroy 77735631ac MAJ Changes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5710 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 15:10:05 +00:00
Xavier Leroy 680a54d3c2 Faire cohabiter les threads bytecode et les threads systeme. Ajout option ocamlc -vmthread.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 08:38:28 +00:00
Maxence Guesdon c06215411e maj
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-09 13:57:57 +00:00
Maxence Guesdon 62e030d764 added field ex_code to exceptions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-04 11:39:50 +00:00
Maxence Guesdon e64970f29d Don't overwrite HTML and LateX style files, generate style file for LaTeX
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-04 10:02:13 +00:00
Maxence Guesdon a1434b7470 gestion des types private
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-04 09:31:03 +00:00
Xavier Leroy c348f9a6ae MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5642 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-02 09:12:56 +00:00
Jacques Garrigue b8f3f07141 coherent handling of type declarations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5632 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 08:04:42 +00:00
Damien Doligez e810d8fd3e typos
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 14:35:46 +00:00
Xavier Leroy a41e89a3e7 MAJ en vue 3.07
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 09:50:02 +00:00
Maxence Guesdon f265de877e added ty_code field to types information in ocamldoc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5597 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-13 11:40:31 +00:00
Damien Doligez 60a5460849 changement seeding + ajout fonctions serieuses
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5592 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-12 11:15:26 +00:00
Pierre Weis 47e2d11c76 Virtual becomes private.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5519 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-28 10:00:54 +00:00
Xavier Leroy 7abcc8799e Ajout des litteraux de type int32, nativeint, int64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 12:27:31 +00:00
Damien Doligez 1506806031 ajout -dtypes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5504 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-22 14:11:57 +00:00
Damien Doligez 2a43a7097d ajout -dtypes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-06 12:46:07 +00:00
Xavier Leroy 426afa35eb Pour l'option -pack, permettre de donner une interface explicite (via un .mli) au module synthetise
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5422 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-06 15:59:55 +00:00
Xavier Leroy 0d78a56015 Permettre de placer les sources du module Foo dans Foo.ml aussi bien que dans foo.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-03 17:20:39 +00:00
Pierre Weis 79f3791c04 Introduction des types virtuels etape 2: introduction dans camlp4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 07:53:08 +00:00
Xavier Leroy 9434a0e156 MAJ (dynlink pb)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5392 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-08 10:05:38 +00:00
Jacques Garrigue 4011817915 Relax the value restriction
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-03 02:57:23 +00:00
Xavier Leroy ed53dd3827 Transmission des dependances sur .cmx absent a travers -pack (PR#1480)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-02 14:50:08 +00:00
Xavier Leroy 096504a486 MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-22 15:10:57 +00:00
Xavier Leroy cefbde77cf MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5274 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-18 09:37:39 +00:00
Pierre Weis d1cbfbd04f Modification de Scanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5267 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-15 16:36:44 +00:00
Damien Doligez 2b633bf048 amelioration de let rec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5252 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-07 17:57:23 +00:00
Damien Doligez 123fb9f713 changement des locations, deuxieme tranche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 22:36:46 +00:00
Xavier Leroy 8dae445f84 MAJ 3.06
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5105 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-19 12:25:32 +00:00
Xavier Leroy ddf0e3ffe2 Wording
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5026 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 13:39:19 +00:00
Jacques Garrigue e08f58a772 mes changements
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5004 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-18 09:41:20 +00:00
Xavier Leroy 862824deeb Debut MAJ pour 3.05
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4994 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-12 09:56:10 +00:00
Xavier Leroy 766e73be80 MAJ 3.04
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4157 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-10 15:35:11 +00:00
Maxence Guesdon 61d34b1c19 ajout changement du emacs-mode : couleur des commentaires de doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-10 15:35:10 +00:00
Xavier Leroy 2159ea26c7 MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4145 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:43:52 +00:00
Xavier Leroy 79be914102 MAJ en vue release 3.04
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-03 12:41:39 +00:00
Jacques Garrigue 27a1084a09 self coercion
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3995 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-07 07:55:34 +00:00
Xavier Leroy 2cf0db4232 Ajout mecanisme de trace dans les parsers ocamlyacc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-05 13:34:42 +00:00
Xavier Leroy 08d7cf9340 MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 09:33:32 +00:00
Xavier Leroy d6951a6fee MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3882 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-12 11:09:35 +00:00
Jacques Garrigue d6b60c50b6 add Upgrading
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3876 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-11 10:16:27 +00:00