Commit Graph

1479 Commits

Author SHA1 Message Date
Rudi Grinberg f19d5c69ee Add Char compatibility module for 4.02.3
This is needed for configurator
2018-04-05 23:35:45 +08:00
Rudi Grinberg 9f9a770b13 Disable warning 50 for configurator on 4.02.3 2018-04-05 23:35:22 +08:00
Rudi Grinberg 18948faff8 Use hand made pretty printers for top level expect tests
These tests would fail in 4.02.3 because of the toplevel choosing to print some
module paths differently
2018-04-05 23:03:07 +08:00
Rudi Grinberg 651d12df5d Implement manual printers for Meta type 2018-04-05 23:02:57 +08:00
Rudi Grinberg 4314dd7db3 Add some primitives to make writing formatters easier
* ocaml_list
* quoted
* const
* record
2018-04-05 23:02:25 +08:00
Rudi Grinberg 49737e2368
Merge pull request #675 from rgrinberg/4.06.1-workspace
Use 4.06.1 in jbuild-workspace.dev
2018-04-05 16:47:16 +08:00
Rudi Grinberg ff2296a0f8 Use 4.06.1 in jbuild-workspace.dev
We should use the latest point release for a particular release
2018-04-05 16:36:22 +08:00
Rudi Grinberg 126c91fcd5
Merge pull request #662 from diml/improve-tests
Simplify blackbox tests
2018-04-03 12:21:17 +08:00
Jeremie Dimino 4c9de316f0 Simplify blackbox tests
Remove all the -j1, --root ., --display quiet
2018-04-03 11:44:10 +08:00
Jeremie Dimino a1812fccd5 Add INSIDE_DUNE to detect when we are running from unside Dune
And use the following defaults: -j 1 --root . --display quiet
2018-04-03 11:43:07 +08:00
Jeremie Dimino 31858c9680 Don't on side-effects for setting up the environment
Instead of making sure we set global variables and call Unix.putenv in
the right order, pass the environment explicitely everywhere.
2018-04-03 11:43:07 +08:00
Jeremie Dimino 24de79934b Simplify a bit blackbox tests
- make them depend on (package jbuilder)
- s/$JBUILDER/jbuilder/
2018-04-03 11:42:29 +08:00
Thomas Refis 77c717b9af Cosmetic changes for default package entry point. 2018-04-03 00:54:30 +08:00
Rudi Grinberg 244773ef80 Improve odoc tests to test wrapped and non wrapped module listings 2018-04-03 00:51:21 +08:00
Anton Bachin f29ff0945d Place module list on its own line (take 2)
See eb05f4f643 and
https://github.com/ocaml/dune/pull/367#issuecomment-352209790.
2018-04-03 00:13:36 +08:00
Rudi Grinberg 271063891b
Merge pull request #670 from rgrinberg/fix-odoc-lazy-load
Fix odoc lazy load
2018-04-03 00:09:41 +08:00
Rudi Grinberg ff211b18a7 Fix lazy loading of rules
We must load package rules when a file in the _mld dir is requested
2018-04-02 23:15:56 +08:00
Rudi Grinberg 1b1c5f032d Test to show broken lazy loading of rules 2018-04-02 23:15:07 +08:00
Rudi Grinberg 85d69b8e1a Remove Odoc.pkg_odoc
This function is only used once
2018-04-02 19:47:13 +08:00
Jeremie Dimino 01fab4c1c3 Add Stdune.Or_exn 2018-03-30 16:55:44 -04:00
Jeremie Dimino 84251a5b81 Update tests as order of deps changed 2018-03-30 16:47:56 -04:00
Jeremie Dimino ba439b534d Fix previous commit 2018-03-30 16:47:29 -04:00
Jeremie Dimino cd2cfb44e8 Register a few more dependencies statically
This is needed for "external-lib-deps" and it improves parallelism.
2018-03-30 13:16:23 -04:00
Jeremie Dimino 341de6e50f Fix check for empty libraries 2018-03-30 11:22:53 -04:00
Jeremie Dimino e65213e303 Fix Main.external_lib_deps 2018-03-29 15:33:18 -04:00
Jeremie Dimino c7b9c2cd3e Fix #661: better error when a public library is defined twice 2018-03-29 15:04:14 -04:00
Jeremie Dimino fb101857d4 Extend test for #644 2018-03-27 17:46:21 -04:00
Jeremie Dimino ad00c1509f Fix #657 2018-03-27 17:25:25 -04:00
Jeremie Dimino daef49ce55 Add test for #657 2018-03-27 17:25:25 -04:00
Jeremie Dimino 103af8627c Added a reproduction case for #644 2018-03-27 14:50:36 -04:00
Matthieu Dubuget 9aba597f5f Update documentation.rst (#656)
Typo
2018-03-27 10:54:09 -04:00
Rudi Grinberg bc2286215b undo beta20-rc1 releaes 2018-03-24 22:43:50 +08:00
David Allsopp 808644533f Don't color the whitespace in --display=short 2018-03-24 12:25:27 +00:00
Rudi Grinberg 231b064858
Merge pull request #652 from rgrinberg/gh651
Don't pass library include flags to odoc
2018-03-24 01:02:57 +08:00
Rudi Grinberg 1c4efab060 Update changelog for rc1 2018-03-24 01:01:08 +08:00
Rudi Grinberg 3b694b0abe Update CHANGELOG for odoc include dir fix 2018-03-24 01:00:57 +08:00
Rudi Grinberg 8fd04e5a9f Use doc_dir rather than dir
dir is the source directory which is useless to us
2018-03-24 00:54:33 +08:00
Rudi Grinberg aea0131b11 Don't pass library include flags to odoc
We should pass directories where we store .odoc files instead
2018-03-24 00:38:34 +08:00
Rudi Grinberg a40a82b1e6 Update CHANGELOG 2018-03-24 00:19:50 +08:00
Rudi Grinberg 141e979611
Merge pull request #649 from rgrinberg/PATH-x
Set the target's PATH when cross compiling
2018-03-24 00:13:53 +08:00
Rudi Grinberg 8859a644e9 When executing in the target, use the host's PATH variable 2018-03-23 22:39:06 +08:00
Rudi Grinberg fae5e78fc2 Change Meta.load to return the simplified meta
It's always simplified anyway
2018-03-23 10:12:34 +08:00
Rudi Grinberg 9f3eb956d3 Add Env.update 2018-03-22 22:42:42 +08:00
Rudi Grinberg ab37e8ec22 Update CHANEGLOG regarding missing asm fix 2018-03-22 22:15:05 +08:00
Rudi Grinberg 5d3f015f9b Update CHANGELOG 2018-03-22 22:12:57 +08:00
Jeremie Dimino a6959d3df3 Update changelog 2018-03-22 10:05:46 -04:00
Rudi Grinberg a83c15b085 Alphabetical listings in odoc
List sub libraries and their modules in alphabetical order
2018-03-22 20:40:46 +08:00
Rudi Grinberg 2ea04b706b Add another package to odoc tests 2018-03-22 20:40:46 +08:00
Rudi Grinberg f8225b1e7b Replace blank c compilers with dummy values
This is how we treat the assembler.
2018-03-22 00:03:35 +08:00
Rudi Grinberg 1c77992a28 Add test for #637 regression 2018-03-22 00:03:35 +08:00