Commit Graph

1368 Commits

Author SHA1 Message Date
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
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
Rudi Grinberg 96222ee681 Don't error out when asm is a blank value
Treat it as missing instead
2018-03-22 00:03:35 +08:00
Jeremie Dimino edf3270eb0 Update status in readme 2018-03-20 16:28:36 -04:00
Rudi Grinberg 994fb12651 Tweak order in Map.of_list error (#645)
We should show the key that came earlier in the list first
2018-03-20 14:08:02 -04:00
Rudi Grinberg d2c85e3329 Use dummy value for asm when absent
On bytecode only systems, this parameter may be absent. We use a dummy in such
situations. A dummy value is used so that users do not get immediate erros when
using an absent value.
2018-03-21 00:53:37 +08:00
Jérémie Dimino f5f151dc19
Inspect OCAMLPATH when not using `ocamlfind` (#642) 2018-03-20 12:43:51 -04:00
Rudi Grinberg 54b17cc2ee Use the original changelog text but update the credits + PR 2018-03-21 00:35:37 +08:00
Rudi Grinberg a3793d986e Update CHANGES for 1.0+beta19.1 2018-03-21 00:34:19 +08:00
Rudi Grinberg 10ff816faf
Merge pull request #641 from rgrinberg/move-readme-manual
Move FAQ & Known Issues to manual
2018-03-21 00:14:17 +08:00
Rudi Grinberg 5ab5a09c02 Update status regarding 1.0 2018-03-21 00:09:23 +08:00
Rudi Grinberg 4759ededdf Move hacking to its own page 2018-03-21 00:06:51 +08:00
Rudi Grinberg 8764d57b01 Remove roadmap
The roadmap is constructed from appropriate tagging of github issues
2018-03-21 00:04:47 +08:00