Commit Graph

8312 Commits (b7271628a25d208c90e77dce62ff0244a1c2fcdd)

Author SHA1 Message Date
Damien Doligez d53f2e8db0 add marshal.data to list of ignored files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12425 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-03 11:53:38 +00:00
Damien Doligez ee4e2fb927 PR#5598: fix bug in commit 12420
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-03 11:51:08 +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
Damien Doligez 8c17777b85 PR#5598: remove macos9-style newline support
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12420 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02 14:44:38 +00:00
Damien Doligez 828ad95b7b PR#5598: add backslash-space support in ocamllex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12419 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02 14:41:55 +00:00
Damien Doligez b8136a7ca8 documentation: I/O functions can raise Sys_error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02 14:40:23 +00:00
Pierre Weis 24653196b4 Reverting commit 12407
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02 11:00:28 +00:00
Jérémie Dimino df7cf7a550 PR#5604: fix permissions of files created by ocamlbuild itself
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02 10:02:37 +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 021be804cd PR#5599: Add warn() tag in ocamlbuild to control -w compiler switch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-30 23:46:04 +00:00
Pierre Weis 30c8f97c21 Documentation for set/get_formatter_out_functions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12408 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-27 12:13:29 +00:00
Pierre Weis 2b94ebecf8 Additional documentation for format strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12407 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-27 09:56:05 +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
Jacques Garrigue 41f177742e disable unused warnings for identifiers defined in the toplevel
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-25 07:51:29 +00:00
Alain Frisch 6e7c62b0b9 #5601: Shouldn't warn about unused constructors when there is an equation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-25 07:34:41 +00:00
Wojciech Meyer 952fe3d0f2 PR#5531: Allow ocamlbuild to add ocamldoc flags through -docflag and -docflags switches
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-25 01:31:26 +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 Clerc e884da3bdc Fixes a camlp4 50x slowdown by changing the order of grammar rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-23 11:58:40 +00:00
Wojciech Meyer c1cb8aa6fc PR#5318: Unroll recursion in un-marshaller to allow un-marshaling values of arbitral depth. Per advice of Xavier Leroy used defunctionalized continuation trick
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12390 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-22 23:37:41 +00:00
Fabrice Le Fessant 7b9f2a7ddf Reverting commits 12385 and 12370, while waiting for a decision to be taken to install compiler files for 4.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12389 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-22 16:11:51 +00:00
Fabrice Le Fessant 4c85d29786 Asmgen hooks: call cmm hooks once on all phrases, instead of for every function
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12385 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-19 16:14:06 +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 64dd0e06fa PR#5582: bad dependency on /opt/local/include/X11
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-19 13:01:21 +00:00
Alain Frisch d634683a9c #5596: Do not report unused constructors within signatures.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12378 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 18:45:49 +00:00
Alain Frisch 96375ba6fb Revert bad typo fix.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12377 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 18:44:09 +00:00
Alain Frisch 3b30c79500 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 18:42:39 +00:00
Alain Frisch 9adb09c9ab #5589: 'unused' warnings for .mli files as well (detect unused open and shadowed value declarations).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 12:22:58 +00:00
Damien Doligez 00f949df97 remove leftover debugging message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 11:49:28 +00:00
Alain Frisch 9f46d7222a Improve message for Unused constructor/exception warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12371 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 09:01:17 +00:00
Fabrice Le Fessant 905143bfa2 Add hooks in Asmgen
Add hooks in Asmgen to allow external developers to add
new passes on the typedtree, lambda, clambda and cmm trees.
A library 'ocamlopt.cm{a/xa}' is installed, with optmain.cm{x/o},
so that developers can create new ocamlopt executables containing
these new passes.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12370 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 08:50:26 +00:00
Alain Frisch 3930c2fd79 #5595: Missed constant propagation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12368 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-18 07:12:54 +00:00
Damien Doligez b510b67cb5 PR#5389: compaction sometimes leaves a very large heap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12365 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-17 08:21:52 +00:00
Damien Doligez 38162c1196 remove redundant colon in norepeat mode for the toplevel
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12363 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-17 08:02:02 +00:00
Alain Frisch 8b273ea32f Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12360 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-16 16:37:15 +00:00
Alain Frisch e20fc11742 #5594: Unused constructors are not reported if their type starts with underscore.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12358 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-16 16:30:06 +00:00
Alain Frisch 309e1b601c #5593: Remove C file when -output-obj fails.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12356 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-16 15:26:25 +00:00
Damien Doligez 0c758c05c2 trivial fix following commit 12221 in ocamldoc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-13 14:06:19 +00:00
Damien Doligez 1b782a0122 PR#5585: typo explicitely -> explicitly
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-13 12:44:29 +00:00
Alain Frisch 44cdb20670 Fix #5588.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12348 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-12 17:21:39 +00:00
Jérémie Dimino 7fa1f303c7 Set the revised syntax of GADTs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12346 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11 21:34:51 +00:00
Pierre Weis 1d690696e9 Introducing ikfprintf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11 18:01:02 +00:00
Pierre Weis b81519668f Doc: better phrasing for %,. Introducing ikfprintf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11 18:00:32 +00:00
Alain Frisch 2845f7b7ea Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11 03:50:39 +00:00
Jérémie Dimino ef8d15d4a1 PR#5579: always create a new token stream before parsing a phrase so new filters are applied
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12336 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-10 21:18:00 +00:00
Damien Doligez 8617313666 PR#5575: Random states are not marshallable across architectures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12335 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-10 15:33:21 +00:00
Damien Doligez f4f31771f2 update expected result after changes to stdlib/random.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12334 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-10 15:33:06 +00:00
Damien Doligez cf1071e8ca PR#5501: increase IO_BUFFER_SIZE to 64KiB
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12332 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-10 14:09:21 +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
Jonathan Protzenko 715ea44322 CFI directives are not supported on Windows.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12320 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-04 13:03:21 +00:00