Commit Graph

19018 Commits (0b6b544fcb3cb47f5f7b531d8d062c3d89538d0c)

Author SHA1 Message Date
Greta Yorsh 0b6b544fcb Split Linearize into two modules
Separate the description of the IR from the transformations
performed on it by moving type declarations from linearize.ml
into their own file, called linear.ml.
2019-09-04 11:55:11 +01:00
Gabriel Scherer 5526a31364
Merge pull request #8910 from gasche/better-printing-of-module-types
Better printing of empty signatures
2019-09-03 14:42:22 +02:00
Gabriel Scherer f389fdcb60
Merge pull request #8913 from gasche/fix-ocamltest-promote-skip
ocamltest: fix "promote" actions on reference files with skipped lines/bytes
2019-09-03 14:41:48 +02:00
Gabriel Scherer 071bae4c5f typing/oprint: [minor] improve printing of empty signatures 2019-09-03 11:44:21 +02:00
Gabriel Scherer 4710eb2114 ocamltest: fix "promote" actions on reference files with skipped lines/bytes 2019-09-03 11:43:55 +02:00
Florian Angeletti 2bd33ee515
Merge pull request #8906 from Octachron/functor_arrow_associativity
Print parentheses in (A->B)->C
2019-09-02 17:51:17 +02:00
Florian Angeletti 740baf0317 Print parentheses in (A->B)->C 2019-09-02 15:16:47 +02:00
David Allsopp 354bf8e4e4
Merge pull request #8837 from gasche/manpage-ocamldoc.opt
ocamldoc: use ocamldoc.opt when available to build documentation and manpages
2019-08-30 14:42:15 +02:00
Gabriel Scherer 9067d0e3b9 explanatory comment on when 'ocamlrun ocamldoc' fails 2019-08-30 10:20:09 +02:00
Florian Angeletti 0bc69e41a0
Merge pull request #8904 from Octachron/break_for_functor_args
printing: add a break hint after functor arguments
2019-08-30 10:11:53 +02:00
Gabriel Scherer 4cde3f72e2 ocamldoc: remove an obsolete test
The odoc_fhtml file required by this test seems to have been part of
the ocamldoc distribution sometime in the distant past (see
27934ab79a from 2002) but I can't find
traces of it in the git history of the compiler distribution.
2019-08-30 09:59:27 +02:00
Gabriel Scherer bb1be5dd17 ocamldoc/Makefile: use ocamldoc.opt when available 2019-08-30 09:59:27 +02:00
Gabriel Scherer 2bbf7caa72 ocamldoc: build manpages explicitly in root Makefile 2019-08-30 09:57:18 +02:00
Gabriel Scherer 5e53c93489 ocamldoc/Makefile: manpages don't need generators anymore, odoc_man is builtin 2019-08-30 09:57:18 +02:00
Gabriel Scherer fd7cbd8c49
Merge pull request #8729 from jhjourdan/memprof_intern
Memprof support for unmarshalled data
2019-08-29 22:39:46 +02:00
Florian Angeletti 6032e9cf49 oprint: add break hint after functor args 2019-08-29 14:48:46 +02:00
David Allsopp 2195dbaad0
Merge pull request #8897 from stedolan/fix-alloc-async
Ensure that C allocation functions do not trigger callbacks
2019-08-29 13:36:47 +01:00
Jacques-Henri Jourdan 857d32b94b Fix test on Windows. 2019-08-29 09:36:42 +01:00
Stephen Dolan dcf346450b Ensure that C allocation functions do not trigger callbacks.
Fixes a bug in #8691 and adds a test.
2019-08-29 09:35:42 +01:00
Thomas Refis 560f4b5cd0
Merge pull request #8885 from trefis/w60-local-mod
Warn about unused local modules
2019-08-29 09:26:24 +01:00
Thomas Refis 1c1f766f92 dune: do not go over 80c 2019-08-28 15:33:12 +01:00
Thomas Refis 98ea4cc633 dune: add an alias @libs that is buildable on 4.09 2019-08-28 15:05:16 +01:00
Sébastien Hinderer f8493cd6ad Mark Makefile.common.in as being an input file processed by configure 2019-08-28 14:54:55 +02:00
Thomas Refis ccbdb8f9ba Changes 2019-08-28 13:24:10 +01:00
Thomas Refis 4a22aeccb5 warning 60: enable on local modules 2019-08-28 13:24:10 +01:00
Thomas Refis 46f180138f testsuite: missing unused module warning 2019-08-28 13:24:10 +01:00
Thomas Refis a818f1db23 testsuite: add more examples of the Scoping_pack error 2019-08-28 12:36:24 +01:00
Thomas Refis c237056df9
Merge pull request #8884 from ocaml/enter-mod-decl
Make the [Env.enter_X] API consistent
2019-08-28 12:07:32 +01:00
Thomas Refis 9c058b626d typemod: lower_nongen to outer scope, not to scope - 1 2019-08-28 12:02:01 +01:00
Thomas Refis 754fec2677 update tests 2019-08-28 12:02:01 +01:00
Thomas Refis d35fc78869 bootstrap 2019-08-28 12:01:59 +01:00
Thomas Refis eb3b13d8cd Env.enter_module_declaration: create the ident 2019-08-28 11:58:49 +01:00
Leo White aed2699727 Suppress huge output from make when cleaning 2019-08-28 09:47:49 +01:00
Jacques-Henri Jourdan 90073e96e5 Memprof tracking of interned data. 2019-08-27 19:14:56 +02:00
Jacques-Henri Jourdan c0dbbfdd71 Memprof: stop using C global roots, and use our own root system.
Registering and unregistering global C roots was time consuming.
2019-08-27 19:05:03 +02:00
Stephen Dolan 5ad64306d3
Merge pull request #8713 from kayceesrk/r14-globals
Move C global variables to a dedicated structure
2019-08-27 13:30:22 +01:00
David Allsopp f61bb77691 Fix compatibility test recipe 2019-08-26 17:27:35 +02:00
Valentin Gatien-Baron f40011556c in -dtimings output, show time spent in C linker clearly 2019-08-26 07:58:28 +02:00
Valentin Gatien-Baron ebc6bb8013 make depend 2019-08-26 07:58:28 +02:00
Jacques-Henri Jourdan afa590cc7d Get rid of /bytecomp/runtimedef.ml in .gitignore
This file is no longer generated since #2281, and keeping an old one
makes `make depend` produce an invalid file.

No change entry needed
2019-08-25 17:25:44 +01:00
David Allsopp fae3345930 Compatibility test 2019-08-24 13:00:41 +02:00
David Allsopp 7b2032b776 Update Changes 2019-08-24 12:21:03 +02:00
David Allsopp a7b5bb6f06 Propagate Caml_state_field 2019-08-24 12:15:49 +02:00
Thomas Refis d233009cc9 testsuite: add a regression test for Scoping_pack error 2019-08-23 14:28:27 +01:00
Thomas Refis 57ebc987b3 testsuite: implicit_unpack use expect_test 2019-08-23 14:28:27 +01:00
Thomas Refis 0c0f933ed5 type_package: packaged modules are not functor args 2019-08-23 13:51:01 +01:00
KC Sivaramakrishnan ad96dec89c Use domain state field names that do not conflict with compatibility.h
The domain state structure (caml_domain_state) uses certaing field names
(young_start, young_limit, etc.) that conflict with the macro
definitions in compatibility.h that use the same names. These macro
definitions are made only when CAML_NAME_SPACE is not defined. To avoid
conflict, when CAML_NAME_SPACE is not defined, we prefix the field names
in caml_domain_state with an underscore.

Update .depend files.
2019-08-23 09:59:53 +05:30
KC Sivaramakrishnan 05d5bf0251 Fixes for conflicting definitions in compatibility.h 2019-08-23 09:50:05 +05:30
KC Sivaramakrishnan 6efd278286 Remove a level of indirection for accessing minor tables from Caml_state. 2019-08-23 09:50:05 +05:30
KC Sivaramakrishnan 0d19da48d4 Make depend. Fix reference to ref table. 2019-08-23 09:50:05 +05:30