Commit Graph

6905 Commits (14c620848340e7f0197099ae612a58e47ac26ae8)

Author SHA1 Message Date
Xavier Leroy 14c6208483 Improvements in socket options: added option TCP_NODELAY (PR#4484),
added getsockopt_error with a better interface (PR#4492),
revised sockopt.c to facilitate future extensions.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8910 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 07:45:03 +00:00
Xavier Leroy 8d56f7bcd7 Cleanups on new generational API
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 06:28:27 +00:00
Michel Mauny 493a26ab25 Add lazy patterns in labltk
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8907 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-09 14:03:08 +00:00
Michel Mauny 6ba024a12e Add lazy patterns.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-09 13:03:38 +00:00
Michel Mauny 0ccc1f7ff0 Readability: put the case lazy(float_constant) closer to other lazy(constant) cases.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8905 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-08 13:03:51 +00:00
Michel Mauny 59829979c2 Optimized the creation of lazy values in the same way as Lazy.lazy_from_val,
when the values are constants, immediate abstractions and identifiers.
The code is the identity when the value cannot be a float or a Lazy.t, and
a forward block when this may happen.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8904 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-08 12:48:42 +00:00
Pierre Weis fe31f1a1c5 Emphasis in documentation strings was not comformant to Ocamldoc special syntax.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8903 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-07 07:25:47 +00:00
Pierre Weis aa29a89d44 Rewriting/simplifying/enhancing the documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8902 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 15:56:00 +00:00
Pierre Weis 9be355c716 Various explanations and typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8901 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 12:47:39 +00:00
Pierre Weis 84637b17df Another typo in the definition of format4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8900 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 12:13:21 +00:00
Pierre Weis 10b38811b6 Support for tk8.5: correcting tk_incs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 09:55:52 +00:00
Pierre Weis 5abe61a5ad Char count was wrong in case of lookahead.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8898 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 09:53:56 +00:00
Michel Mauny d0d6af3c16 Remove restrictions to stream concatenation, and use Lazy.t for the argument
of the Slazy data constructor.
Affected files: stdlib/{stream.ml,.depend,Makefile}


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8893 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-06-18 15:35:02 +00:00
Pierre Weis 0c49b27a78 Merge between head and 3.10.2.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8891 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-06-16 13:04:46 +00:00
Michel Mauny 6373550a1e Stop multi-parameter optimization when the pattern is refutable. Now, ((fun true -> fun x -> x) false) correctly fails.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8890 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-06-16 09:08:55 +00:00
Jun FURUSE / 古瀬 淳 db0afa58a4 workaround for the problem of optional argument type parsing caused when we redefine option type
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8888 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-06-11 23:47:12 +00:00
Maxence Guesdon 39a65f59dc expose definition of private_flag so it can be used by users of the ocamldoc library
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8883 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-05-21 05:56:39 +00:00
Jacques Garrigue ad3ca0e02b add support for Tcl/Tk 8.5 (but no directory autodetect)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8879 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-05-02 06:41:30 +00:00
Alain Frisch 8e03390daf Cleanup.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8878 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 15:45:55 +00:00
Alain Frisch dedf33637b Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8877 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 15:04:39 +00:00
Alain Frisch 95d9511cf6 Drop support for the old bundle API for Mac OS X (<= 10.3).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8876 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:40:14 +00:00
Alain Frisch 4ec2351f08 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8875 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:29:18 +00:00
Alain Frisch efe8d09462 Revert last commit.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8874 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:26:48 +00:00
Alain Frisch 291a4207ad Cleanup natdynlink. Automatic initialization of Dynlink (bytecode and native code). Do not use RTLD_GLOBAL for Dynlink.loadfile_private in native code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8873 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:24:10 +00:00
Alain Frisch f3f7dd8919 Cosmetic.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8872 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 07:38:07 +00:00
Alain Frisch 8acf63d010 Fix an ill-formed comment.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8871 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-21 06:30:00 +00:00
Alain Frisch c917df6af1 Simplify the life of people who want to help evaluating the impact of -dlcode on performance for AMD64 systems.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-18 14:06:42 +00:00
Alain Frisch 486a6ce6d5 Typo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8869 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-16 06:53:33 +00:00
Alain Frisch ff421e9e8b Cleanup + pass -Wl,-E to linker when linking dynlink.cma in custom mode.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8868 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-16 06:50:31 +00:00
Alain Frisch e04a6825b4 Do not merge manifest under mingw (mt.exe is not available).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8863 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-09 09:44:55 +00:00
Alain Frisch fc91c95360 Document dependency on flexdll
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8856 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-26 17:54:10 +00:00
Luc Maranget 7d8900cd44 Found a small bug in bytecomp/simplif.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8850 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-19 10:26:56 +00:00
Xavier Leroy 2bfb816cbf PR#4462: forgot bigarrayset in is_pure
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8847 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-18 14:25:40 +00:00
Xavier Leroy 1d3f14e995 PR#4507: incorrect documentation for epsilon_float (follow-up)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8846 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-18 14:11:34 +00:00
Xavier Leroy 6559ae1996 PR#4507: incorrect documentation for epsilon_float
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8845 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-18 14:10:25 +00:00
Xavier Leroy 640b24249d Ability to print and capture exception backtraces (see stdlib module Printexc)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8839 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-14 13:47:24 +00:00
Luc Maranget d7a40d5605 morematch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8830 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-12 09:09:02 +00:00
Luc Maranget 3fd5bde3d0 morematch.ml more precise
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8829 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-11 14:31:02 +00:00
Xavier Leroy 7b4d9a46a3 New API for registration of global memory roots that are scanned in a generational manner
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-10 19:56:39 +00:00
Luc Maranget 03abda3b27 Correction bug ocamllex (ID 0004517)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8827 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-07 15:24:48 +00:00
Alain Frisch 2e66018134 Need wsock32 for tk.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8826 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-07 11:49:02 +00:00
Alain Frisch d7bc25bd89 Fix compilation of ocamlbrowser.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8825 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-07 10:59:33 +00:00
Damien Doligez 04aa158cb6 merge changes from 3.10.1 to 3.10.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 14:21:22 +00:00
Damien Doligez 8ecf3fc156 better anti-fragmentation measures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8822 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 12:56:15 +00:00
Damien Doligez 669f8ac99f added bootstrapping doc; small change to package-macosx
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8821 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-02-29 12:53:34 +00:00
Alain Frisch 7b90710be5 Add explicit references to external primitive symbols.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8800 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-31 09:13:19 +00:00
Damien Doligez 99ef8c802e add unaligned_tag
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8795 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-29 13:11:15 +00:00
Jacques Garrigue 759304681e grant PR#3760
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8790 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-25 08:39:49 +00:00
Damien Doligez cb40742e75 PR#4052 accept _ for all constructors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8789 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-22 17:08:48 +00:00
Damien Doligez beb152b1a9 instruction manquante
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-22 17:08:13 +00:00