Commit Graph

7794 Commits (6f0acffe944f9990c3b7eff9c34b431a2722f060)

Author SHA1 Message Date
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
Xavier Clerc 1f651d38e2 test suite: test updated for new hashing function
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11130 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 14:37:08 +00:00
Xavier Clerc fffb8e386f test suite: some tests were failing due to the renaming from "Objective Caml" to "OCaml"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11129 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 14:33:17 +00:00
Xavier Clerc e8965d6cc9 test suite: reduced verbosity
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11128 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 14:20:00 +00:00
Damien Doligez 405b61a9a9 restore alphabetical order
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11127 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 13:57:04 +00:00
Damien Doligez 53021466e3 make subdirectory for regression tests
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 12:08:42 +00:00
Xavier Clerc 90e27e2019 Minor fix in display of float values in errors messages (camlp4)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 12:07:05 +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
Damien Doligez 9058be97f9 typo
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11112 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-07 13:12:54 +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
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
Jacques Garrigue 852558d482 fix record pattern-matching; sort records in typed tree
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@11091 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 09:26:30 +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
Jacques Garrigue fab07a66c6 do not use unify_pat_types_gadts for normal constructors!
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@11087 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-14 09:41:21 +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
Jacques Garrigue 336e416561 update tests
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@11069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-06 06:44:23 +00:00
Jacques Garrigue f70dbeb1b8 fix problem with constraints outside of matching, see typing-gadts/test.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@11068 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-05 15:00:04 +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