Commit Graph

1106 Commits (66092ce6ff6c788bf941cbd672fab8f89b5fed40)

Author SHA1 Message Date
Alain Frisch 66092ce6ff Extend Map with functions from Set.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10468 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 13:29:43 +00:00
Alain Frisch e671780b01 Fix PR#4012: Map.map and Map.mapi do not conform to specification.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10465 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 11:22:14 +00:00
Damien Doligez 9209d550c5 PR#4831: use tags @since and @before in std lib
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10457 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 18:30:12 +00:00
Damien Doligez b29bc9fd2b PR#5055: head -1 doesn't work
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10448 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 11:28:21 +00:00
Damien Doligez dc94932437 PR#4721: documented the fact that Lazy.force is not thread-safe
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-12 14:56:09 +00:00
Damien Doligez 29224ccbe6 PR#4742: finalisation function raising an exception blocks other finalisations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-12 14:32:23 +00:00
Pierre Weis 2855154d6c Typo in module Scanf prevented tests to succeeded properly.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10377 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 17:49:19 +00:00
Pierre Weis 1b5c521bb7 Forgotten export added. Remove spurious warninggs from Oug[1].
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 12:58:01 +00:00
Pierre Weis b443ee91ff Documentation. Adding a <<deprecated>> section to list deprecated stuff out of the way from the regular stuff.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10348 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:18:20 +00:00
Pierre Weis 1a868db7b8 Documentation. Adding a <<deprecated>> section to list deprecated stuff out of the way from the regular stuff.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10347 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 09:17:37 +00:00
Pierre Weis e9de1fb06b PR#5023. Adding some documentation words for function set_formatter_output_channel.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10346 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-03 07:09:33 +00:00
Pierre Weis 8fdedc9035 PR#4983. Test suite succesfully passed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10344 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-02 18:38:35 +00:00
Pierre Weis c73e191b80 Documentation + some rewriting in check_next_char.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 10:35:18 +00:00
Xavier Leroy 09ba69134f - Refactoring of otherlibs/systhreads
- PR#4702: added C functions to register threads not created by Caml
- PR#5013: wrong implementation of condition variables under Win32
- PR#4979: wrong error code handling under Win32
- Added standard include <caml/threads.h> 
- Added "stack_size" field in GC statistics.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 07:55:08 +00:00
Damien Doligez bfdf476b69 merge last changes from 3.11 branch (rev 10307)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 12:54:11 +00:00
Pierre Weis 6a28a57f52 Clearer documentation for %i conversion and conversions for native 32 and 64 bits integers.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 09:22:26 +00:00
Pierre Weis 5a23453ce6 Bug in function scan: the size of the string format argument must be calculated inside the scan function body, not before. Otherwise, recursive independant calls to scan assume a wrong length for the format string. More explicit error messages.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10305 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-25 14:56:59 +00:00
Pierre Weis e7b82c9944 More documentation for meta formats %( %).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10304 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-25 14:27:26 +00:00
Alain Frisch e178c1ab62 Fix #5003: document the fact that expressions raised by exception printers are just ignored; custom printers are tried before hard-coded ones.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-19 12:25:46 +00:00
Pierre Weis 95d686c9d0 Compatible version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10261 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-15 08:39:16 +00:00
Xavier Leroy 8f0185c58d PR#5004: overflow in Buffer.add_channel
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-28 08:16:45 +00:00
Damien Doligez e39b77d0fc better PRNG
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-05 17:34:14 +00:00
Damien Doligez 7539834933 big bug in Obj.add_offset
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 11:55:30 +00:00
Pierre Weis 33453164fa Wrong link stntax.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 17:10:52 +00:00
Pierre Weis dd44e0e101 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 16:57:26 +00:00
Pierre Weis b0ad1602a6 Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 16:24:40 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez bdc0fadee2 merge changes from release/3.11.1 to release/3.11.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Xavier Leroy 44ef12ca01 PR#4941: Documentation of ==
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9502 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-30 14:52:05 +00:00
Pierre Weis 818c9a0742 Adding a close-in function to module Scanf, to be able to close a Scanf scan buffer (hence its underlying Pervasives.in_channel, if any).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-29 19:04:35 +00:00
Pierre Weis 758e4cd860 Using -strict-sequence to compile the compiler.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9467 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-09 09:52:47 +00:00
Pierre Weis e5ecb27dab Documenting that +int is now a valid token, hence %F can support a sign indication.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9463 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-09 08:28:59 +00:00
Pierre Weis 7ad9cd975b To deal with printf output for %F format, adding a unary + operator.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9454 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-07 16:40:39 +00:00
Pierre Weis cec0afc076 Introducing output meanings to subsume set/get_[all_]formatter_output_functions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 23:21:49 +00:00
Pierre Weis 0dfebd6355 Doc. Reporting PRs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9434 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 22:43:27 +00:00
Pierre Weis 1e6f95e975 Introducing formatter output meanings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9433 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 22:04:17 +00:00
Pierre Weis 5d35a4b475 Format concatenation introduces %, to delimit conversions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9431 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 21:58:35 +00:00
Pierre Weis bdd01e7371 Introducing nop format delimiter %,
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 21:51:08 +00:00
Pierre Weis 41d5f40413 Introducing nop format delimiter %,
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9429 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 21:49:25 +00:00
Pierre Weis ada3c31be9 Introducing formatted input channels.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9428 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 21:47:56 +00:00
Pierre Weis 1b5c3a3fbe Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9427 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 21:46:56 +00:00
Pierre Weis 0ae5a2decf Spell-check.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-25 08:01:40 +00:00
Pierre Weis 318bab1553 Correcting the F specification with/without widths.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9345 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-23 11:18:23 +00:00
Pierre Weis 4126456434 Typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9344 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-23 11:17:05 +00:00
Pierre Weis bbbe01a9e4 Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-23 11:16:33 +00:00
Pierre Weis 7be229fab3 Documentation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9330 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-11 16:16:44 +00:00
Pierre Weis 6aa6323477 A simpler implementation for ifprintf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9328 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-10 07:41:58 +00:00
Pierre Weis b549b3ee9e Addition of ikprintf as suggested in FR#0004859.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-09 15:15:03 +00:00
Pierre Weis 25d7f8fdc1 Refined error message for unbound identifiers: if M.ident is unbound and M is unbound, then unbound module M is reported.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-04 16:19:35 +00:00
Pierre Weis d89ee164a3 Qualifying an out_channel occurrence.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-03 10:46:10 +00:00