Xavier Leroy
22edd41120
PR#4578, PR#4266: for 'include' constructs, recursively approximate instead of fully elaborating in initial environment.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8986 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-07 08:25:09 +00:00
Xavier Leroy
636d845eed
PR#4261: expand abbreviations one at a time, because we do not know whether expanding to HNF will terminate.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8985 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-07 08:22:15 +00:00
Nicolas Pouillard
47a482380a
camlp4: Fix the printer of lazy-patterns (since the are irrefutables).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-06 17:26:08 +00:00
Xavier Leroy
c049cec891
PR#4367: added Parsing.set_trace to control the printing of a trace of actions for ocamlyacc-generated parsers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-06 09:38:25 +00:00
Xavier Leroy
8248cebe5d
PR#3866: Build and install libcamlrun_shared.so
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-06 08:56:32 +00:00
Xavier Leroy
b1fbba245a
PR#4558 part 1: unboxing of floats and boxed ints across 'let' and similar constructs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-05 13:35:20 +00:00
Nicolas Pouillard
5b3cdba5df
ocamlbuild: dynlink is now supported in native too.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8980 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-05 13:06:56 +00:00
Nicolas Pouillard
7088b4e0c9
buildsys: also install CamlinternalLazy when using ocamlbuild to compile.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8979 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-05 13:05:23 +00:00
Xavier Leroy
11eada96d0
PR#4486: caml_serialize_float_8 incorrect on platforms with mixed-endian floats (e.g. ARM)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-04 11:45:58 +00:00
Xavier Leroy
de5bed37de
PR#4566: bugs in approx_{ratio/num}_fix.
...
big_int.ml: bugs in conversions int64/big_int on 32-bit platforms.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8977 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-03 09:04:40 +00:00
Xavier Leroy
97c2c3c328
PR#4503: classify_float wrong on ARM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-02 11:02:28 +00:00
Michel Mauny
481d738a1e
Implement Lazy.force as a primiive, and optimize its calls
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8975 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-02 06:32:06 +00:00
Michel Mauny
666cb14adf
Implement Lazy.force as a primitive, and optimize its calls.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 16:57:10 +00:00
Michel Mauny
ad81f43c32
Optimize Lazy.force as a primitive, and optimize calls.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8973 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 16:35:47 +00:00
Michel Mauny
29b8f845fd
Add IPV6_ONLY to match unix.mli
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8972 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 16:29:44 +00:00
Xavier Leroy
674c821f5d
PR#4567: const modifier on argument of caml_hash_variant
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8970 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 14:10:36 +00:00
Xavier Leroy
c8ec05937d
PR#4547: documentation updated and made more precise
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8969 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 13:57:32 +00:00
Xavier Leroy
b4d335cb9f
PR#4536: Add socket option IPV6_V6ONLY
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8968 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 13:46:08 +00:00
Xavier Leroy
7ae8be59fa
PR#4542: don't play with get/setpriority, call nice() directly, it's part of the POSIX standard
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8967 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 13:14:36 +00:00
Xavier Leroy
16b9465048
PR#4583: do not compare Lambda terms with =, use Lambda.same instead
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 12:52:14 +00:00
Xavier Leroy
7e9f606dee
PR#4338: tail recursion in global_substitute, global_replace, and *split*
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 12:27:13 +00:00
Xavier Leroy
5902603b2c
PR#4308 (partial fix): improve backtraces for 'spontaneous' exceptions such as Stack_overflow or Out_of_memory
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8964 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 11:52:31 +00:00
Xavier Leroy
88c5dc442f
PR#4212: print dependency lines even if there are no dependencies
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8963 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 09:02:55 +00:00
Xavier Leroy
1f93465a0e
PR#4564 (partial): mark stack as non-executable on Linux/ELF
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8962 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 08:04:57 +00:00
Xavier Leroy
50af4a8c98
Render unto Caesar...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8961 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-31 12:09:18 +00:00
Nicolas Pouillard
f6bd5658e2
ocamlbuild: fix a double "close" problem (PR#4380)
...
Thanks to mwipliez for spotting this double close, to jld for providing a
patch.
Author: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Committer: Nicolas Pouillard <ertai@port-ext16.ensta.fr>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-31 07:36:12 +00:00
Damien Doligez
50da157513
amelioration des annotations
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8959 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 15:49:31 +00:00
Damien Doligez
7ca1d89250
amelioration des annotations
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8958 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 15:42:44 +00:00
Xavier Leroy
0ca175e74c
Missing includes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8957 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 12:13:24 +00:00
Xavier Leroy
0837ee9e6f
ocamldebug under Win32 take 2 (S. Le Gall, Lexifi)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8956 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 08:47:00 +00:00
Xavier Leroy
776ae225a0
ocamldebug under Win32 (S. Le Gall, Lexifi)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8955 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-29 08:31:41 +00:00
Damien Doligez
df023f535b
lazy: do not short-circuit to pointers outside the heap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8954 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-28 12:03:55 +00:00
Damien Doligez
c4d8f39fc2
removed obsolete "heap_end"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8953 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-28 11:59:55 +00:00
Nicolas Pouillard
5feab1f8ee
ocamlbuild: add a ".ml->.pp.ml" rule, and export a camlp4 rule generator function.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8952 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 15:06:47 +00:00
Nicolas Pouillard
22119e7a0f
ocamlbuild: disable a test for a now.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8951 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 15:02:45 +00:00
Nicolas Pouillard
d9b00529cd
ocamlbuild: extend test2.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:54:15 +00:00
Nicolas Pouillard
85d6ab9349
ocamlbuild: add test11.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:53:21 +00:00
Nicolas Pouillard
4399ca7c12
ocamlbuild: Add a Rule.Failed exception to allow user triggerd backtracking.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8948 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:50:47 +00:00
Nicolas Pouillard
4f5861e7fe
ocamlbuild: display the OCaml version (fix PR#4530).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:49:03 +00:00
Nicolas Pouillard
79d2c3d441
ocamlbuild: export run_and_read.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:42:28 +00:00
Nicolas Pouillard
a20b3b9dae
ocamlbuild: Tags, add use_camlp4_bin and support -custom on libraries.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8945 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:40:49 +00:00
Nicolas Pouillard
ab5f085dbc
ocamlbuild: be more consitent on warnings over ocamlbuild sources.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:38:31 +00:00
Nicolas Pouillard
dd4062efda
ocamlbuild: Fix the -ocamlmktop flag to really setup ocamlmktop.
...
Thanks to Matthieu Dubuget for spotting this out.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:30:13 +00:00
Nicolas Pouillard
44f661bc3a
ocamlbuild, bugfix: Take the union of all tags and not the last set.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:28:56 +00:00
Nicolas Pouillard
c11360e33c
ocamlbuild,presentation: better title.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8941 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:28:15 +00:00
Nicolas Pouillard
61675deee1
ocamlbuild,presentation: improve a sentence, hide a bad example.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8940 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:27:50 +00:00
Nicolas Pouillard
b20a476c2f
ocamlbuild,presentation: short version
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8939 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:27:31 +00:00
Nicolas Pouillard
f30c6b3372
ocamlbuild: Swap some menhir rules to prefer .mlypack over .mly.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8938 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:27:10 +00:00
Nicolas Pouillard
cc98973042
ocamlbuild: Give tags to the ocamlc given to menhir.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:26:36 +00:00
Nicolas Pouillard
9e122e5bfe
ocamlbuild: Add flag_and_dep and ocaml_lib now also yields deps on the library.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8936 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:26:13 +00:00