Damien Doligez
e86521630c
update external tests -- camlp5 still missing because the AST has changed
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-03 14:06:57 +00:00
Pierre Weis
38cac2d847
Move back to revision r13685.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-03 11:12:31 +00:00
Fabrice Le Fessant
97bc1fa9e2
Reverting -with-frame-pointers
...
Fails to compile alt-ergo without frame-pointers. No time to debug
before tonight, so I revert and will merge again after fixing the
problem.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13732 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-03 06:29:33 +00:00
Fabrice Le Fessant
e6c8fdd2a8
Fix compilation issue with amd64.S
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13731 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-03 04:57:42 +00:00
Fabrice Le Fessant
1b2667b9f2
Add -with-frame-pointers to ./configure
...
This option can be used to tell the native compiler that it should
update frame pointers, so that debuggers and profiling tools
(especially Linux perf) can use them. For now, it is only supported
by the Unix/amd64 port.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13730 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-03 04:42:42 +00:00
Hongbo Zhang
e97c59d045
fix scanf.ml build
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13728 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-02 14:42:33 +00:00
Xavier Leroy
3fd8ecd355
Type error in debug builds.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-01 14:55:18 +00:00
Pierre Weis
4b3e3c7647
A thoroughly revised documentation for format strings.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13726 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-01 12:05:32 +00:00
Pierre Weis
e833f3c9d5
Better error messages for binary/octal/hexa integer scanning.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13725 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-01 09:01:59 +00:00
Xavier Leroy
abb832f430
PR#5986 continued: check string and array lengths if Compat_32 requested.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13724 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-01 08:12:21 +00:00
Xavier Leroy
1b72ae5896
More efficient implementation of caml_modify().
...
Performance improvement in caml_initialize().
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-01 07:43:45 +00:00
Damien Doligez
87508f1d4b
tests/lib-format: fix for Windows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13722 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-30 12:27:18 +00:00
Damien Doligez
32e0587115
one more fix for tests/lib-format
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-30 11:26:53 +00:00
Damien Doligez
4321fefb50
fix the tests for module Format
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 20:21:12 +00:00
Pierre Weis
cba8ab21e4
Introducing %A and %R conversion. Untabify. Wrong quoting chase.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 18:25:05 +00:00
Pierre Weis
1673c623b5
Wrong quoting chase.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13718 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 18:05:44 +00:00
Pierre Weis
626c696aee
Wrong quoting chase.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 18:03:55 +00:00
Pierre Weis
ef26391063
Adding a test directory for the Format module.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 16:45:46 +00:00
Pierre Weis
d534ad4893
Tabify.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 16:45:07 +00:00
Pierre Weis
f5e0923469
Better documentation of meta format conversion.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 16:44:12 +00:00
Damien Doligez
db9ea0df59
PR#6024: Format syntax for printing @ is incompatible with 3.12.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-29 15:56:25 +00:00
Hongbo Zhang
374b4029c3
print magic number for -config option
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13709 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-28 23:53:45 +00:00
Gabriel Scherer
3ccc745b75
turn more (or) into (||) to please the new warning
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13708 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-28 12:16:10 +00:00
Damien Doligez
e69730e0d6
extend warning 3 to other deprecated features: Latin1, (&) and (or)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13706 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-28 11:05:58 +00:00
Damien Doligez
2b5ba03cf7
get rid of deprecated operators (&) and (or)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-28 11:04:11 +00:00
Damien Doligez
0739ee7671
compact representation of warning flags
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13704 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-28 11:03:42 +00:00
Gabriel Scherer
cfadfd497f
add [open Types] back to cmmgen as it is used after the 4.00 merge
...
typing/types.ml was previously not used by cmmgen.ml in trunk, and the
[open] was thus removed by Alain in commit 12498. With the 4.00, some
of its constructors are now used. This does not prevent compilation
thanks to the new type-directed constructor resolution feature, but
still raises warning 40, which is best avoided.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 13:59:24 +00:00
Damien Doligez
8946ae07df
testsuite/lib-threads: version of test8 that seems to work on Windows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13700 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 13:04:00 +00:00
Damien Doligez
c3bf54a7b6
merge changes from version/4.00 from 4.00.1 to r13697
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 12:56:54 +00:00
Jacques Garrigue
ccf56e3b2a
fix bug in short-paths: must ignore position when comparing paths
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13695 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-20 03:12:46 +00:00
Damien Doligez
2c6d524259
PR#5710: add Mono support to the testsuite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 15:06:37 +00:00
Damien Doligez
9bbd8bdaec
testsuite/lib-threads: still working around Windows's exit bug
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 15:05:16 +00:00
Damien Doligez
b1d2782b30
testsuite: still making it work without installing
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:49:42 +00:00
Damien Doligez
3cc34fb267
update minimum flexdll version number
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13691 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:04:30 +00:00
Damien Doligez
6283fee381
testsuite: making it work without installing OCaml (continued)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:03:58 +00:00
Alain Frisch
4f24f8ab0f
#5980 : only report shadowing against the environment before the 'open'.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13689 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 10:12:31 +00:00
Damien Doligez
9f55c9cbd5
testsuite/typing-warnings: update ref file with new warning introduced in r13683
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13688 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 20:04:25 +00:00
Damien Doligez
178c0d1d41
testsuite: continue making it work without installing OCaml; also make it independent of the user's .ocamlinit
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 19:48:04 +00:00
Damien Doligez
98c197a63b
testsuite: allow testing without installing (continued)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 15:20:48 +00:00
Alain Frisch
a3b1c67fff
#5980 : explicit way to silence the new warning (open! X).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13685 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 13:34:53 +00:00
Alain Frisch
e4098f9f42
Typo.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:38:31 +00:00
Alain Frisch
f51bc04b55
#5980 : warning on open statements which shadow an existing identifier (which turns out to be actually used in the scope of the open).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13683 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:36:15 +00:00
Damien Doligez
1a2c1ed3e2
make the testsuite work without installing OCaml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:20:59 +00:00
Damien Doligez
5a1a95f5e6
tests/backtrace: harden against leftover files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13681 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 09:24:44 +00:00
Damien Doligez
13673e1189
tests/lib-threads: still porting to windows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 07:44:41 +00:00
Damien Doligez
1f1f64d2d9
testsuite/lib-threads: still trying to make it work across all architectures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 15:24:52 +00:00
Damien Doligez
aac1147965
trying to make a test that works on all systems
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 14:08:08 +00:00
Damien Doligez
1f06400ce4
testsuite/backtrace: fix problem on cygwin with leftover executable file
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:48:25 +00:00
Damien Doligez
b2cf57f35f
testsuite/lib-threads: stop all threads before exiting
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13676 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:32:29 +00:00
Damien Doligez
9dda1aa675
fixed test to test what happens when we close a file descriptor on which another thread is blocked reading
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:31:58 +00:00