Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mark the Bytes.equal external as not-allocating C. | Pierre-Marie Pédrot | 2018-11-21 | 1 | -1/+1 |
| | |||||
* | Mark the String.equal external as not-allocating C. | Pierre-Marie Pédrot | 2018-11-21 | 1 | -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 .depend | Leo White | 2018-11-21 | 1 | -4/+4 |
| | |||||
* | Merge pull request #2148 from stedolan/make-parallel-lazy | Gabriel Scherer | 2018-11-18 | 5 | -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 Dolan | 2018-11-14 | 5 | -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_api2 | Damien Doligez | 2018-11-14 | 4 | -9/+90 |
|\ \ | |/ |/| | Ephemeron C API | ||||
| * | [Weak] Changes from reviews | François Bobot | 2018-11-08 | 4 | -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 Ocaml | François Bobot | 2018-11-08 | 3 | -3/+85 |
| | | | | | | | | Simpler to write and to optimize | ||||
| * | [Changes] the C-layout of weak arrays changed | François Bobot | 2018-11-06 | 1 | -2/+4 |
| | | |||||
* | | deprecate the mutability of Gc.control record fields (#2145) | Damien Doligez | 2018-11-13 | 1 | -0/+9 |
| | | | | | | | | deprecate the mutability of Gc.control record fields | ||||
* | | make alldepend | Gabriel Scherer | 2018-11-11 | 1 | -7/+9 |
| | | |||||
* | | Doc | Nicolás Ojeda Bär | 2018-11-10 | 1 | -1/+2 |
| | | |||||
* | | Add {Int32,Int64,Nativeint}.unsigned_{compare,div,rem} | Nicolas Ojeda Bar | 2018-11-10 | 6 | -0/+158 |
| | | |||||
* | | Extend Bytes and Buffer with functions to read/write binary representations ↵ | Alain Frisch | 2018-11-09 | 5 | -0/+634 |
| | | | | | | | | of numbers (#1864) | ||||
* | | Stdlib doc: harmonize heading levels again. (#2142) | Daniel Bünzli | 2018-11-08 | 22 | -25/+25 |
| | | |||||
* | | stdlib/dune: add new modules | Thomas Refis | 2018-11-08 | 1 | -1/+4 |
| | | |||||
* | | Add paths for built-in types (#1876) | yallop | 2018-11-08 | 19 | -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 Frisch | 2018-11-08 | 2 | -3/+54 |
| | | |||||
* | | s/string_of_int/Int.to_string/g | Daniel Bünzli | 2018-11-07 | 4 | -18/+18 |
| | | |||||
* | | Merge pull request #2117 from Octachron/stdlib_precedence_table_3 | Florian Angeletti | 2018-11-06 | 2 | -50/+178 |
|\ \ | |/ |/| | documentation: precedence table for the standard library. | ||||
| * | documentation: fix a warning in latex mode | Florian Angeletti | 2018-11-06 | 1 | -1/+1 |
| | | |||||
| * | documentation: move operator table to a new page | Florian Angeletti | 2018-11-04 | 2 | -192/+173 |
| | | |||||
| * | make precedence appendix an appendix | Florian Angeletti | 2018-10-26 | 1 | -69/+73 |
| | | |||||
| * | review: typo + synchronisation comment | Florian Angeletti | 2018-10-26 | 1 | -4/+8 |
| | | |||||
| * | doc: replace ordinal precedence with links | Florian Angeletti | 2018-10-25 | 1 | -47/+88 |
| | | |||||
| * | stdlib documentation: precedence table | Florian Angeletti | 2018-10-25 | 1 | -0/+98 |
| | | |||||
* | | Add caml_alloc_custom_mem (#1738) | Damien Doligez | 2018-11-06 | 2 | -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ünzli | 2018-11-06 | 9 | -5/+61 |
| | | | | | | | | | | | | * Stdlib: add Fun module. * Stdlib: rename Bool.negate to Fun.negate. | ||||
* | | clarify Set.diff documentation (#2119) | Gabriel Scherer | 2018-10-26 | 1 | -1/+2 |
| | | | | | | fixes [MPR#7868](https://caml.inria.fr/mantis/view.php?id=7868) | ||||
* | | Support FMA operation (#1354) | Laurent Thévenoux | 2018-10-26 | 2 | -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-support | Nicolás Ojeda Bär | 2018-10-23 | 7 | -1/+110 |
|\ | | | | | Improve stdlib support for `bool` | ||||
| * | Remove Bool.of_string. | Daniel Bünzli | 2018-10-23 | 2 | -0/+5 |
| | | |||||
| * | Stdlib: add Bool module. | Daniel Bünzli | 2018-10-23 | 7 | -1/+105 |
| | | |||||
* | | Extend Stdlib.Float with more functions (#1794) | Christophe Troestler | 2018-10-23 | 2 | -3/+180 |
|/ | |||||
* | Merge pull request #2011 from dbuenzli/int-support | Nicolás Ojeda Bär | 2018-10-23 | 7 | -1/+203 |
|\ | | | | | Improve stdlib support for `int` | ||||
| * | Remove Int.of_string. | Daniel Bünzli | 2018-10-09 | 2 | -0/+4 |
| | | |||||
| * | Stdlib: add Int module. | Daniel Bünzli | 2018-10-09 | 7 | -1/+199 |
| | | |||||
* | | Merge pull request #1596 from Octachron/format_doc_max_indent | Gabriel Scherer | 2018-10-16 | 1 | -1/+19 |
|\ \ | | | | | | | MPR#7720, format documentation: maximum indentation limit | ||||
| * | | documentation: detail Format's maximum indent | octachron | 2018-09-03 | 1 | -1/+19 |
| | | | |||||
* | | | Fix link markup in Gc.finalise_last documentation | Etienne Millon | 2018-10-11 | 1 | -3/+3 |
| | | | |||||
* | | | Provide a way to build the bytecode compiler using Dune (#2093) | Thomas Refis | 2018-10-10 | 2 | -2/+95 |
| |/ |/| | |||||
* | | Fix windows ANSI locale: use CP_ACP instead of CP_THREAD_ACP (#2062) | Nicolás Ojeda Bär | 2018-10-03 | 1 | -1/+1 |
| | | | | | | | | | | | | * Fix windows ANSI locale: use CP_ACP instead of CP_THREAD_ACP * Update Changes | ||||
* | | Fix typo in Scanf docs | Foo Chuan Wei | 2018-09-21 | 1 | -1/+1 |
| | | | | | | 'String.unescaped' -> 'Scanf.unescaped' | ||||
* | | Introduce and use ROOTDIR in more makefiles | Sébastien Hinderer | 2018-09-17 | 1 | -15/+19 |
| | | |||||
* | | Move config/Makefile to Makefile.config | Sébastien Hinderer | 2018-09-17 | 1 | -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-docs | Gabriel Scherer | 2018-09-06 | 1 | -0/+37 |
|\ \ | | | | | | | Add documentation for contributing to the stdlib | ||||
| * | | Correct wrong instructions for otherlibs/threads/Makefile; state that ↵ | TheAspiringHacker | 2018-08-20 | 1 | -5/+7 |
| | | | | | | | | | | | | partialclean may be used instead of clean | ||||
| * | | Update link text of stdlib/HACKING.adoc to use paths relative to file | TheAspiringHacker | 2018-08-19 | 1 | -2/+2 |
| | | | |||||
| * | | Rewrite stdlib/README.md as stdlib/HACKING.adoc | TheAspiringHacker | 2018-08-19 | 1 | -9/+15 |
| | | | |||||
| * | | Add documentation for contributing to the stdlib | TheAspiringHacker | 2018-08-19 | 1 | -0/+29 |
| | | |