Commit Graph

1269 Commits (f345826a01e3b197aabff19b73ca8279552a25db)

Author SHA1 Message Date
Damien Doligez f5efbb60b1 fine-grained control of warnings -- cont
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9408 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-02 12:19:08 +00:00
Xavier Leroy 835ae86ff1 Treat these GIF files as binary data
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-18 08:14:24 +00:00
Pierre Weis e5522b690d Variable err is initialized to 0.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-25 15:03:06 +00:00
Pierre Weis 4b71a3183c Les fonctions internal_tracevis et internal_tracedestroy sont mal declarees.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9358 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-25 12:56:10 +00:00
Xavier Leroy 9c6c8fb47e As discussed at the latest consortium meeting:
Syntactic sugar {x} for {x=x} in record expressions and patterns.
Syntax { lbl=pat; _ } to mark record patterns where the user explicitly wants not to list all labels.
Warning (activated by E, the fragile match warning) to signal record patterns without '; _' that fail to list all labels.
To be done: adjust Camlp4 parser accordingly.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-12 12:41:07 +00:00
Damien Doligez 71b94fa3e8 merge changes from ocaml3111rc0 to ocaml3111
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-20 11:51:50 +00:00
Damien Doligez 591d89e773 resolve name clash with ossp-str
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-16 14:18:41 +00:00
Xavier Leroy 11217e8f70 Added option -no-app-funct to turn off applicative functors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-15 14:06:37 +00:00
Damien Doligez ed32f569e3 merge changes from ocaml3110 to ocaml3111rc0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Xavier Leroy 5ba174438f Typo in error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9235 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-16 07:23:35 +00:00
Xavier Leroy 238cf4bde3 PR#3047: added Unix.setgroups, Unix.initgroups.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9220 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:50:10 +00:00
Xavier Leroy 42f90d720e PR#4641: added bitwise operation to Big_int
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9218 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:20:20 +00:00
Xavier Leroy c2bdcafb6a Added testfork
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9217 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:08:57 +00:00
Xavier Leroy 2da17c49c6 PR#4638: added expm1 and log1p.
Cleaned up some doc comments in stdlib/pervasives.mli


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:08:37 +00:00
Damien Doligez 1f95b17570 merge changes from 3.10.2merged to 3.11.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Damien Doligez 2b0441401a merge changes between 3.10.2 and the end of branch 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-08 13:09:39 +00:00
Xavier Leroy 29e590ccb9 Attribution.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-08 13:05:48 +00:00
Xavier Leroy f747f75664 Forgotten include
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9071 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:20:27 +00:00
Xavier Leroy 2ea9e887af Fixed error handling. Added credit.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 11:47:39 +00:00
Xavier Leroy c0f298d68a Revised lockf implementation (PR#4609)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 08:48:44 +00:00
Xavier Leroy 9cc0b9a01a PR#4577: reinitialize thread machinery after fork
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9037 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-27 10:46:55 +00:00
Jacques Garrigue ff88bbc575 fix PR#4614
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-26 07:35:24 +00:00
Pierre Weis 3a62f73c4b A better implementation for quo_num and mod_num.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:12:05 +00:00
Pierre Weis 4bb8667558 Clean also emacs generated ~ files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9021 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:10:43 +00:00
Pierre Weis 463a498664 A test of pi's digits computation: one version for big_int, one version for nums.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 16:03:51 +00:00
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 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 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
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
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 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 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 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 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
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
Alain Frisch 5243326917 Include a missing header.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8931 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-24 05:55:21 +00:00
Alain Frisch 20bc66eb25 Enable to (old) -dlcode option by default. -nodynlink disables it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8916 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-15 15:31:32 +00:00
Xavier Leroy 91d39feb72 PR#4223, PR#1508: added unsafe variants of Bigarray.Array{1,2,3}.{get,set}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 09:09:53 +00:00
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
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
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
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 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 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 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