Commit Graph

7108 Commits (1a7d4a3293f2bc71dfd2c3d82db6bc0136ac0543)

Author SHA1 Message Date
Pierre Weis c979bedfea Cleaning more files. Addition of a overall arithmetic test:the computation of pi.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:02:52 +00:00
Pierre Weis a3f387e1e6 Spurious warnings elimination.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9018 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:01:03 +00:00
Damien Doligez f855dcf49a PR#4321 bug with positional parameters
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9017 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 15:34:51 +00:00
Damien Doligez adfab743f5 PR#4607 reject invalid source file names
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9016 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 15:03:33 +00:00
Damien Doligez 83e8c0588a PR#4563 sign bug on 64-bit arch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 12:53:05 +00:00
Pierre Weis 45f76fe7cb Makefile support to clean shared library objects.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 05:51:11 +00:00
Pierre Weis b1d6d4faa3 Correction bug add_substitute.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:50:39 +00:00
Pierre Weis 4b638a30da Bump it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9011 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:49:20 +00:00
Pierre Weis c56e56c6cd Spurious regexp.opt was left by make clean.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9010 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:48:24 +00:00
Pierre Weis 2329e07d8b Wrong link orders for cmlinked.bin and bigarrf.bin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9009 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:43:37 +00:00
Pierre Weis 73c4468388 C primitive int_of_string has been renamed caml_int_of_string.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9008 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:42:11 +00:00
Pierre Weis f05ea2d464 Spurious warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9007 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:12:20 +00:00
Pierre Weis 6e5d41ebea Positional parameters are not yet available.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9006 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:11:40 +00:00
Pierre Weis a95c881607 Removing warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9005 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:10:53 +00:00
Pierre Weis 3d0b5602e8 dimx and dimy were not declared.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9004 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:10:12 +00:00
Pierre Weis 166bc234e6 Abstract the fortran compiler.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9003 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 08:09:26 +00:00
Pierre Weis b3b6ffae71 printf is declared in stdio.h.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9002 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 07:10:18 +00:00
Pierre Weis aff73fee20 Cleaning spurious a.out. New test file tbuffer.ml.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9001 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 06:40:06 +00:00
Pierre Weis 5631731def Semantics of %n has changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 06:39:26 +00:00
Pierre Weis 5db36dd331 A testbed for module Buffer.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-09 06:38:51 +00:00
Pierre Weis 2c1693ee00 Added a comment for correction of BR #4041.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8998 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-08 12:30:19 +00:00
Alain Frisch 39e04033fa Keep array functions in the native runtime. They might be used by custom C code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8995 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-08 09:43:28 +00:00
Damien Doligez b085b3e0bb PR#4599 better documentation of process_status
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8994 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-04 13:53:43 +00:00
Alain Frisch af064a536f Fix bug #4606
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8993 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-28 22:17:51 +00:00
Jacques Garrigue 553153af3b optimize polymorphic variants as suggested in PR#4555
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8992 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-27 10:23:21 +00:00
Jacques Garrigue 44140eb131 only recompile when needed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8991 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-27 10:22:42 +00:00
Damien Doligez ea524ca14f bug string-to-number
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8990 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-19 12:54:51 +00:00
Xavier Leroy 0a036f4dfb Reorganized the tests for recursive modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8989 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-07 09:29:57 +00:00
Xavier Leroy 93690a06ec PR#4557: use Path.isfree rather than Path.head since the latter is ill-defined on applicative paths
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8988 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-07 09:29:22 +00:00
Xavier Leroy 2932b18875 PR#4512: check early for bad recursive type definitions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8987 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-07 08:39:14 +00:00
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