Xavier Clerc
61ff6edc27
PR#5655: ocamlbuild doesn't pass cflags when building C stubs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-09 10:07:26 +00:00
Xavier Clerc
da7078d07b
PR#5637: invalid printing of anonymous type parameters (camlp4 revised syntax)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-09 09:43:49 +00:00
Xavier Clerc
c922570d0f
PR#5651: printer for abstract data type (camlp4 revised syntax)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12666 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-09 09:07:43 +00:00
Fabrice Le Fessant
f0eff81679
Merge commit 12664 from 4.00 on trunk/
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12665 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-09 08:46:10 +00:00
Jacques Garrigue
c96855b066
fix wrong parameter name in binary annotation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-08 07:25:11 +00:00
Gabriel Scherer
b667a00686
PR#5628: Add Topdirs.remove_directory (and directive #remove_directory) to remove a directory from the load path
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-07 11:40:33 +00:00
Xavier Leroy
1c7f208fbb
PR#5671: initialization of compare_ext field in caml_final_custom_operations()
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-06 16:45:33 +00:00
Jérémie Dimino
6d308ad574
PR#5668: print using the syntax "let f x y z = ..." only when the pattern is an identifier
...
This form is incorrect when the pattern is not an identifier.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-04 16:29:35 +00:00
Alain Frisch
07a3f52d76
Extend ifdef example, with a compile-time getenv.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-29 10:04:17 +00:00
Alain Frisch
9d32d89108
Better error report.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-29 09:49:52 +00:00
Alain Frisch
8531a5c8ee
Continue demo of ast mapper.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-29 09:36:32 +00:00
Damien Doligez
ec0cb70b4d
update test file following commit 10652 in ocamldoc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-27 13:14:47 +00:00
Damien Doligez
ec0422aa33
PR#5661: fixes for the test suite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-27 12:58:21 +00:00
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
Fabrice Le Fessant
8055158a17
Fix ENOMEM error on Windows when reading from terminal
...
On Windows, an error ENOMEM is returned when reading more than ~ 24 kB a
file descriptor attached to the terminal. This patch fixes this problem by
retrying to read a smaller amount of data (16kB), only on Windows.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12640 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-25 12:00:44 +00:00
Alain Frisch
0e9c989e17
Cleanup: caml_code_md5 is no longer used.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12639 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-25 09:21:58 +00:00
Alain Frisch
7630d3c41f
#5657 : fix location of punned record fields (for patterns as well).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 17:07:19 +00:00
Alain Frisch
98748d213d
#5657 : fix location of punned record fields.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 17:00:46 +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
fe9c99d855
PR#5131: compilation of custom runtime with g++ generates lots of warnings
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 16:22:38 +00:00
Damien Doligez
9cd6b389a3
better formatting of message
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12632 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 16:22:16 +00:00
Damien Doligez
7d38df4432
ignore generated files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12631 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 16:21:39 +00:00
Damien Doligez
a8a0e92f5a
follow signature change of Hashtbl
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12630 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 16:21:00 +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
7440ce3c67
Small problem with Power arch (picking r12624 from 4.00)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12626 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-21 14:16:17 +00:00
Jacques Garrigue
1d9ece5fc0
Fix PR#5627 (lablgtk not compiling with 4.00 after merge with bin-annot)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-20 12:00:13 +00:00
Jacques Garrigue
053f75b9ca
bootstrap camlp4 to fix PR#5633 (slow parsing)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-19 10:50:11 +00:00
Jacques Garrigue
abeb581713
revert wrong commit on bytecomp/typeclass.ml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12614 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-19 10:08:33 +00:00
Jacques Garrigue
420a2f00d7
applied (improved) patch of PR#5654
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12613 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-19 10:02:34 +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
08f29984ea
Fix stack overflow by checking cycles for all types before regularity
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-14 10:42:56 +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
Jacques Garrigue
d683e249ca
Fix PR#5073: Wrong location for 'Unbound record field label' error
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12605 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 23:45:01 +00:00
Jacques Garrigue
50abdb66a3
Fix constraint checking regression; one stack overflow remains in typing-misc/constraints.ml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 22:03:46 +00:00
Alain Frisch
a0bb072243
Document -ppx in man pages.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 10:02:28 +00:00
Alain Frisch
77ce2bc57c
Reduce diff between Makefile and Makefile.nt, probably removing a few bugs. Generators are still missing for Windows. We should really factorize common parts of such makefiles...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12601 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 09:22:06 +00:00
Jacques Garrigue
929e3e5ba5
Fix (type a) scope, was broken by gadt addition
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12599 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 08:38:32 +00:00
Alain Frisch
d70eff6a1f
Adapt ocamldoc for -ppx. Also reuse some code from Pparse instead of duplicating it.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12598 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 08:32:57 +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
Jérémie Dimino
318f731baa
PR#5646: reapply the fix for PR#5442
...
It was reverted when the bin-annot branch was merged
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-12 16:18:36 +00:00
Alain Frisch
788846a845
#5640 : use open_in_bin to read cmt files.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12591 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-08 15:30:52 +00:00
Alain Frisch
441abfc779
#5639 : Write cmt files with open_out_bin.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12589 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-08 13:24:20 +00:00
Alain Frisch
fc1b6c300e
#5638 : .a -> .a/.lib in Makefile.nt.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12587 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-08 12:53:40 +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
Alain Frisch
6d391dca01
#5632 : with-constraints count as references.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12549 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-04 10:01:25 +00:00
Benedikt Meurer
deb410085d
[arm] Handle backward jumps properly with TBH (PR#5623).
...
The Thumb-2 TBH instruction supports only forward jumps, which is what is
usually generated for Lswitch. But in some rare cases, the compiler can
generate backward jumps for Lswitch. To properly support these cases, we
emit appropriate trampolines (following the TBH) for these backward jumps
as necessary.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-02 18:01:06 +00:00
Alain Frisch
5b19f3e5be
Unused opens.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12546 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-01 14:42:56 +00:00
Alain Frisch
db72170ff3
Remove useless opens.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12545 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-01 14:34:56 +00:00
Alain Frisch
a1f1558227
Remove useless open.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12544 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-01 14:33:06 +00:00