summaryrefslogtreecommitdiff
path: root/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* Mark the Bytes.equal external as not-allocating C.Pierre-Marie Pédrot2018-11-211-1/+1
|
* Mark the String.equal external as not-allocating C.Pierre-Marie Pédrot2018-11-211-1/+1
| | | | | It is indeed a mere loop that does not allocate. This function was probably forgotten because its code was hidden deep in the module.
* Update .dependLeo White2018-11-211-4/+4
|
* Merge pull request #2148 from stedolan/make-parallel-lazyGabriel Scherer2018-11-185-3/+7
|\ | | | | Fix a make -j bug, by ensuring Lazy depends on CamlinternalLazy.
| * Fix a make -j bug, by ensuring Lazy depends on CamlinternalLazy.Stephen Dolan2018-11-145-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, make -j often fails to build the stdlib with a message along the lines of: no cmx file was found in path for module CamlinternalLazy The issue is that stdlib files that use `lazy` actually depend on camlinternalLazy.cmi because matching.ml expands lazy pattern matches to code that refers to CamlinternalLazy. However, since this dependency does not appear in the source code, there is no way for ocamldep to discover it. This means that when building the stdlib, there is no constraint ensuring that CamlinternalLazy is built before stdlib modules using Lazy. This causes issues with parallel make, but the issue can be reproduced using a sequential make invocation: cd stdlib make clean make stdlib_stream.cmo This patch adds a dependency on CamlinternalLazy into lazy.mli. Its presence makes ocamldep see that all files that use Lazy also depend on camlinternalLazy.cmi.
* | Merge pull request #676 from bobot/ephemeron_c_api2Damien Doligez2018-11-144-9/+90
|\ \ | |/ |/| Ephemeron C API
| * [Weak] Changes from reviewsFrançois Bobot2018-11-084-31/+28
| | | | | | | | | | | | | | | | | | | | from Frédéric Bour (@let-def) from Mark Shinwell (@mshinwell) particularly: - in *_copy, avoid an infinite loop by triggering a minor collection after 8 rounds. But since truncation and tag setting will be deprecated we could soon remove this code.
| * [Weak] Move checks from C to OcamlFrançois Bobot2018-11-083-3/+85
| | | | | | | | Simpler to write and to optimize
| * [Changes] the C-layout of weak arrays changedFrançois Bobot2018-11-061-2/+4
| |
* | deprecate the mutability of Gc.control record fields (#2145)Damien Doligez2018-11-131-0/+9
| | | | | | | | deprecate the mutability of Gc.control record fields
* | make alldependGabriel Scherer2018-11-111-7/+9
| |
* | DocNicolás Ojeda Bär2018-11-101-1/+2
| |
* | Add {Int32,Int64,Nativeint}.unsigned_{compare,div,rem}Nicolas Ojeda Bar2018-11-106-0/+158
| |
* | Extend Bytes and Buffer with functions to read/write binary representations ↵Alain Frisch2018-11-095-0/+634
| | | | | | | | of numbers (#1864)
* | Stdlib doc: harmonize heading levels again. (#2142)Daniel Bünzli2018-11-0822-25/+25
| |
* | stdlib/dune: add new modulesThomas Refis2018-11-081-1/+4
| |
* | Add paths for built-in types (#1876)yallop2018-11-0819-26/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add an Extension_constructor submodule to Obj. Deprecate top-level functions extension_constructor / extension_name / extension_id. * Add 'true' and 'false' to the definition of Bool.t * Add aliases for the built-in 'list' and 'array' types. * Add an alias for 'exn' to Printexc. * Changes entry: built-in type aliases * Add a Unit module. * Add paths for built-in exceptions.
* | Filename.chop_suffix_opt (#2125)Alain Frisch2018-11-082-3/+54
| |
* | s/string_of_int/Int.to_string/gDaniel Bünzli2018-11-074-18/+18
| |
* | Merge pull request #2117 from Octachron/stdlib_precedence_table_3Florian Angeletti2018-11-062-50/+178
|\ \ | |/ |/| documentation: precedence table for the standard library.
| * documentation: fix a warning in latex modeFlorian Angeletti2018-11-061-1/+1
| |
| * documentation: move operator table to a new pageFlorian Angeletti2018-11-042-192/+173
| |
| * make precedence appendix an appendixFlorian Angeletti2018-10-261-69/+73
| |
| * review: typo + synchronisation commentFlorian Angeletti2018-10-261-4/+8
| |
| * doc: replace ordinal precedence with linksFlorian Angeletti2018-10-251-47/+88
| |
| * stdlib documentation: precedence tableFlorian Angeletti2018-10-251-0/+98
| |
* | Add caml_alloc_custom_mem (#1738)Damien Doligez2018-11-062-1/+38
| | | | | | | | | | * add caml_alloc_custom_mem and corresponding GC parameters * fix a bug in tests/misc/ephetest2.ml
* | Stdlib: add Fun module. (#2129)Daniel Bünzli2018-11-069-5/+61
| | | | | | | | | | | | * Stdlib: add Fun module. * Stdlib: rename Bool.negate to Fun.negate.
* | clarify Set.diff documentation (#2119)Gabriel Scherer2018-10-261-1/+2
| | | | | | fixes [MPR#7868](https://caml.inria.fr/mantis/view.php?id=7868)
* | Support FMA operation (#1354)Laurent Thévenoux2018-10-262-0/+11
|/ | | | | | | | | | Adds a fused multiply-add operation to the Float module. The following changes are made: - configure: check math.h for the C99 fma() operation. - fma declarations in float.ml[i] (stdlib/). - C fma() call or emulation in runtime/floats.c. - dedicated tests in testsuite/tests/fma.
* Merge pull request #2010 from dbuenzli/bool-supportNicolás Ojeda Bär2018-10-237-1/+110
|\ | | | | Improve stdlib support for `bool`
| * Remove Bool.of_string.Daniel Bünzli2018-10-232-0/+5
| |
| * Stdlib: add Bool module.Daniel Bünzli2018-10-237-1/+105
| |
* | Extend Stdlib.Float with more functions (#1794)Christophe Troestler2018-10-232-3/+180
|/
* Merge pull request #2011 from dbuenzli/int-supportNicolás Ojeda Bär2018-10-237-1/+203
|\ | | | | Improve stdlib support for `int`
| * Remove Int.of_string.Daniel Bünzli2018-10-092-0/+4
| |
| * Stdlib: add Int module.Daniel Bünzli2018-10-097-1/+199
| |
* | Merge pull request #1596 from Octachron/format_doc_max_indentGabriel Scherer2018-10-161-1/+19
|\ \ | | | | | | MPR#7720, format documentation: maximum indentation limit
| * | documentation: detail Format's maximum indentoctachron2018-09-031-1/+19
| | |
* | | Fix link markup in Gc.finalise_last documentationEtienne Millon2018-10-111-3/+3
| | |
* | | Provide a way to build the bytecode compiler using Dune (#2093)Thomas Refis2018-10-102-2/+95
| |/ |/|
* | Fix windows ANSI locale: use CP_ACP instead of CP_THREAD_ACP (#2062)Nicolás Ojeda Bär2018-10-031-1/+1
| | | | | | | | | | | | * Fix windows ANSI locale: use CP_ACP instead of CP_THREAD_ACP * Update Changes
* | Fix typo in Scanf docsFoo Chuan Wei2018-09-211-1/+1
| | | | | | 'String.unescaped' -> 'Scanf.unescaped'
* | Introduce and use ROOTDIR in more makefilesSébastien Hinderer2018-09-171-15/+19
| |
* | Move config/Makefile to Makefile.configSébastien Hinderer2018-09-171-3/+3
| | | | | | | | | | | | In order to prepare the transition to autoconf, this commit moves the configuration Makefile out of the config directory which will disappear and gives it the name it will have once intstalled, namely Makefile.config.
* | Merge pull request #1995 from TheAspiringHacker/stdlib-contrib-docsGabriel Scherer2018-09-061-0/+37
|\ \ | | | | | | Add documentation for contributing to the stdlib
| * | Correct wrong instructions for otherlibs/threads/Makefile; state that ↵TheAspiringHacker2018-08-201-5/+7
| | | | | | | | | | | | partialclean may be used instead of clean
| * | Update link text of stdlib/HACKING.adoc to use paths relative to fileTheAspiringHacker2018-08-191-2/+2
| | |
| * | Rewrite stdlib/README.md as stdlib/HACKING.adocTheAspiringHacker2018-08-191-9/+15
| | |
| * | Add documentation for contributing to the stdlibTheAspiringHacker2018-08-191-0/+29
| | |