summaryrefslogtreecommitdiffstats
path: root/stdlib
AgeCommit message (Collapse)Author
2013-04-18PR#4978: Better wording.Wojciech Meyer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13568 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18Typo.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18PR#5986: added flag Marshal.Compat_32 and ocamlc option -compat-32.Xavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13554 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-09#5977: ensure that bootstrapping on 64-bit does not produce 64-bit constants ↵Alain Frisch
that cannot be read on 32-bit platforms. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13488 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-04PR#4978: add a warning to the Marshal module documentation about using ↵Wojciech Meyer
marshaled exception. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19@@ should be written \@\@ for Ocamldoc...Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19Typo: get_formatter_out_functions was redefined. Doc.Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13414 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19Details.Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19Documentation.Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13412 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19sprintf now compatible with proper %a application with formatters. ↵Pierre Weis
Deprecating pp_ versions of get/set_all_formatter_output_functions. Documentation review. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19PR#5933 type-specialize 'let compare = compare' on ints and stringsGabriel Scherer
According to the reporter 'sliquister', type-specialized comparison can nearly halve compilation time in some cases. This patch applies type-specialization throughout the OCaml distribution sources, so not all changes will have performance utility, but in this case I think it's best to be consistent, as I see no downside to the change. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-11user-exposed abstract type for raw backtraces in Printexc.ml (original patch ↵Gabriel Scherer
from Jacques-Henri Jourdan) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09fix a few problems with whitespace and over-long linesDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-26typoDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-02-12Normalization.Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23Revert bad commit.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13268 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23#5902: adapt standard ppx driver to support extra arguments.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13267 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16PR#5880: 'Genlex.make_lexer' documention mentions the wrong exceptionXavier Clerc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13245 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-08fixed wrong @since version numbersDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13215 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-08Doc.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13213 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-08Add ocamldoc 'since' tag to Set.find.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-08#5864: add a find operation to Set.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-03PR#5804: bad formatting of documentationDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13200 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-11-29PR#5774: Add bswap primitives for amd64Fabrice Le Fessant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13106 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17remove non-ascii charsDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17remove non-ascii charsDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15remove all $Id keywordsDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-05merge changes from 4.00.0 to 4.00.1Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12990 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-28PR#5742: missing bound checks in Array.sub (picking r12891 from 4.00 branch)Xavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12892 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-06PR#5712: doc of Format.printf and missing functions in StdLabelsDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30clean up TABs and whitespaceDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-26merge changes from 4.00 branching to 4.00.0 (part 1)Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-10PR#5644: Stream.count broken when used with Sapp or Slazy nodesGabriel Scherer
There is a bug in the way concatenating operations work when combined with `Sgen`-defined stream (Stream.from, Stream.of_string): the concatenation functions reset the `count` field to 0, which disturbs the Sgen producer. While the fix in the Scons case is easy (instead of 0, set the count to `original_count - 1`), fixing the Sapp case is more delicate (we can't predict the size of the prepended stream). Our technique is to change the stored left-hand-side to not the stream data only, but the whole stream, count included. Once we detect the prepended stream was completely consumed, we can then restore the count to its previous value, so that Sgen's function can be provided correct count information. This required a change in the internal `get_data` implementation. Slazy-constructed streams have the exact same issue: we don't know their count before forcin them. Again, `get_data` is changed to dynamically update the count at forcing time. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-30Ensure that {Set,Map}.{filter,partition} call their functional argumentGabriel Scherer
in the user-expected left-to-right evaluation order. This is a cosmetics change but users usually expect the mapping/filtering functions to be called in increasing key order. As the order for filter and partition changed recently anyway (commit r12026), it makes sense to "fix" it now. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12509 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29Eliminate useless rec.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12507 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29Document that a dummy declaration is here to avoid a warning.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12505 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29Enabled 'unused rec flag' warning.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12503 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29Detect (and fix some) useless recursive flags.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29Enable and fix more warnings.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29Compile with warning 33, and remove unused opens.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-24fix two bugs in commit 12453Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12476 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-15Fix PR#5555Fabrice Le Fessant
Add Hashtbl.reset to resize the bucket table to its initial size. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12451 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02documentation: I/O functions can raise Sys_errorDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12417 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-27Documentation for set/get_formatter_out_functions.Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12408 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-27Additional documentation for format strings.Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12407 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-19- Hashtbl:Xavier Leroy
. Added optional "random" parameter to Hashtbl.create to randomize collision patterns and improve security (PR#5572, CVE-2012-0839) . Added "randomize" function and "R" parameter to OCAMLRUNPARAM to turn randomization on by default (PR#5572, CVE-2012-0839) - Filename: on-demand (lazy) initialization of the PRNG used by "temp_file". git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12384 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-13PR#5585: typo explicitely -> explicitlyDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11Introducing ikfprintf.Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11Doc: better phrasing for %,. Introducing ikfprintf.Pierre Weis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12342 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11Typo.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02