Commit Graph

7569 Commits (4e8b7a4808f928e6dba47a2bb768c83dbd426d2d)

Author SHA1 Message Date
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
Luc Maranget 74a67449e5 Small optimisation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11102 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-24 16:09:30 +00:00
Pierre Weis 8f91de1b83 Dev version ++.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11101 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-20 21:47:16 +00:00
Pierre Weis c5289420e9 Module Printf, Format, and Scanf are printed in -w A warning mode. This found an old and subtle bug in Format; for other modules, the code is clearer and cleaner!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11100 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-20 21:46:20 +00:00
Pierre Weis e1fda3d23a New module dependency.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11099 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-20 21:44:27 +00:00
Pierre Weis fda490b03c Documentation of option -strict-sequence. Bad alphabetical ordering corrected.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11098 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-20 21:42:19 +00:00
Pierre Weis 9bd35bf83c Details.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11097 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-20 21:40:56 +00:00
Damien Doligez 5c9730c476 replace "Caml" and "Caml Light" with "OCaml"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11096 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 12:24:26 +00:00
Xavier Clerc 6b5603562f testsuite: added a "promote" target copying actual results to waited reference (for a given test).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11095 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 12:14:14 +00:00
Xavier Clerc 4fe49e995d testsuite: ability run a given test from its own directory.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11090 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 08:38:27 +00:00
Xavier Clerc 3f334eb176 testsuite: ability to organize tests in subdirectories.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 08:13:13 +00:00
Xavier Clerc d9b3046c49 Some precisions about the use of a backtrace from a exception printer.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11088 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-14 11:08:07 +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 4b8b6fed96 Tick thread: remove hack specific to LinuxThreads v1, probably useless today, certainly problematic when program is daemonized.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11080 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-09 11:57:23 +00:00
Xavier Leroy 4d7a905b69 Trigger GC when alloc_ptr < alloc_start, not < alloc_limit.
(In native code, the latter test triggers unneeded GCs after a signal
is recorded.)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-09 11:56:21 +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
Xavier Leroy e6d76ed5b1 Hashtbl again: simplified interface for seeding; seed is now an optional parameter of the "create" function, and it is the user's responsibility to generate a random seed if desired.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11063 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-04 08:08:40 +00:00
Xavier Leroy 2c3c8db149 Forgot to add new header
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-01 15:11:09 +00:00
Xavier Leroy aea227fdeb Better hashing!
- New generic hash function based on Murmur 3, with better statistical
  properties (PR#5225), and better speed
- Make sure equal floats hash equally (PR#5222)
- Breadth-first traversal instead of depth-first
- Added seeded hash functions and seeded functorial interface to Hashtbl.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11056 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-05-29 09:52:27 +00:00
Damien Doligez 9007782d63 line break in doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-05-13 13:30:30 +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 9d0006c665 camlheaderd is generated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11014 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-04-26 12:16:24 +00:00
Xavier Leroy 9bf11b9057 Problem with Damien's change: if foo.pic.c exists (and it does on second and subsequent compilations), make applies the rule .c -> .o instead of .c -> .pic.o, resulting in .pic.o files compiled without -fPIC. As a partial workaround, remove .pic.c links after compilation. Not perfect because .pic.c stays around if compilation fails.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11008 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-29 08:05:05 +00:00
Xavier Leroy be266ab70f Support inlining of functions containing structured constants.
These structured constants are shared between all inlinings.
Contributed by Fabrice Le Fessant.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11007 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-29 07:58:53 +00:00
Xavier Leroy de47195103 Added public functions "caml_array_length" and "caml_is_double_array"
to abstract (slightly) over the concrete representation of arrays.
Contributed by F. Le Fessant.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11006 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-29 07:33:34 +00:00
Pierre Weis 919873347f Ignoring compiled files. Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11001 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-18 00:25:29 +00:00
Pierre Weis b032bc1397 Bumping revision number
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-18 00:16:07 +00:00
Pierre Weis ddd69c683b On bsd make clean should remove the links .pic.c
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-18 00:14:51 +00:00
Pierre Weis 5b901b7390 Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10998 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:55:28 +00:00
Pierre Weis 7d9d86a1ed Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10997 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:54:48 +00:00
Pierre Weis 48f2c1714e Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:37:35 +00:00
Pierre Weis fb776a438f Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10995 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:36:59 +00:00
Pierre Weis a7bae3171c Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10994 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:36:34 +00:00
Pierre Weis 9aab2632b6 Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10993 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:35:56 +00:00
Pierre Weis e4c9802a6d Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:34:26 +00:00
Pierre Weis 64195886f4 Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10991 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:33:36 +00:00
Pierre Weis be0282079d Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10990 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:32:51 +00:00
Pierre Weis 60d8ffee36 Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10989 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:32:23 +00:00
Pierre Weis 9db7c60dab Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10988 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:31:50 +00:00
Pierre Weis 2dda988df1 Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10987 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:31:03 +00:00
Pierre Weis dc2472c8dd Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10986 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:25:14 +00:00
Pierre Weis a540227d29 Ignoring compile files for command svn st
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10985 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 22:51:31 +00:00
Pierre Weis 63ff703dbf Should choose recent versions of Tk/Tcl first.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 22:37:46 +00:00
Pierre Weis 0ab3788be5 Merging with 3.12 version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 22:34:52 +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
Xavier Leroy 80384c6d84 PR#5237: incorrect .size directives generated for x86-32 and x86-64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-13 13:36:00 +00:00
Pierre Weis ce86438318 Including corrections from 3.12.1.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-06 16:26:34 +00:00
Pierre Weis e21c5bd0f6 Including corrections from 3.12.1.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-06 16:24:33 +00:00