aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-04[stm] unfocus when edition exits the proof (fix #9431)Enrico Tassi
2019-03-04Merge PR #9594: When Nix build is finished and pushed to Cachix, update a ↵Maxime Dénès
specific branch. Ack-by: SkySkimmer Ack-by: Zimmi48 Reviewed-by: ejgallego Ack-by: maximedenes Reviewed-by: vbgl
2019-03-04Merge PR #9047: [dune] Shim for starting `coqtop/coqide` with minimal config.Théo Zimmermann
Reviewed-by: Zimmi48 Ack-by: rgrinberg
2019-03-03Cleanup exported variables in Makefile.buildGaëtan Gilbert
2019-03-03[dune] Shim for starting `coqtop/coqide` with minimal config.Emilio Jesus Gallego Arias
As requested by Gaëtan Gilbert, we add shims - `dev/shim/coqtop-prelude` - `dev/shim/coqide-prelude` that will build and start `coqtop` and `coqide` with just the prelude loaded properly. `dune exec dev/shim/coqtop-prelude` will build and execute this shim, equivalent to doing `make states && bin/coqtop` under the old model. This PR is just a bit of "a hack" until proper support for Coq libraries arrives to Dune, however there is nothing wrong with it. In particular, we must bootstrap `coq.plugins.ltac` as Dune needs to compute the full installation path to allow `%{bin:foo}` in deps, [this is a kind of shortcoming of the current implementation, and the error message is just terrible] We cannot depend on installed `.vo` files without doing a gross hack [including them inside an ml lib] so for now we just depend on their non-installed forms. Using `%{bin}` is good enough for the shims who would like to locate binaries using `PATH`. The long term plan (for now) is to have a command similar to `dune utop $dir`, `dune coqtop $dir`, which would spawn a proper Coq shell with the corresponding libraries on the path. This will work for `dir=stdlib/Init/` for example, or for any other combination.
2019-03-01Merge PR #9676: Move test_mode from Flags to Vernacentries (use point)Emilio Jesus Gallego Arias
Reviewed-by: ejgallego
2019-03-01Merge PR #9624: [Kernel] Simpler generation of opcode filesEmilio Jesus Gallego Arias
Ack-by: SkySkimmer Reviewed-by: Zimmi48 Reviewed-by: ejgallego Ack-by: gares Reviewed-by: ppedrot Ack-by: rgrinberg Ack-by: vbgl
2019-03-01Merge PR #9677: Update coqdev.el to use -topfileEmilio Jesus Gallego Arias
Reviewed-by: ejgallego
2019-03-01Set COQLIB so the test suite will run locally on Windows.Jim Fehrle
2019-03-01When Nix build is finished and pushed to Cachix, update a specific branch.Théo Zimmermann
This should allow CI jobs that use our Cachix to only test against Coq versions that are already available in Cachix, avoiding very long build and time outs e.g. in the math-classes CI. Co-authored-by: Vincent Laporte <Vincent.Laporte@inria.fr>
2019-03-01Merge PR #9626: [lib] Add `Map.update` from OCaml 4.06Pierre-Marie Pédrot
Reviewed-by: SkySkimmer Ack-by: ejgallego Reviewed-by: ppedrot
2019-03-01[Kernel] Simpler generation of opcode filesVincent Laporte
Files kernel/copcodes.ml, kernel/byterun/coq_instruct.h, and kernel/byterun/coq_jumptbl.h are generated by a simple OCaml program rather than a pipeline of sed and awk text processing.
2019-03-01write_uint63.ml: add headerVincent Laporte
2019-03-01Merge PR #9006: [dune] Add quickide target for building of IDE.Théo Zimmermann
Reviewed-by: Zimmi48 Reviewed-by: gares
2019-03-01Update coqdev.el to use -topfileGaëtan Gilbert
PG would do it by default but since we override coq-prog-args it doesn't.
2019-03-01Move test_mode from Flags to Vernacentries (use point)Gaëtan Gilbert
2019-03-01Dune: remove -short-paths flag.Gaëtan Gilbert
This makes it so that ~~~ocaml module M = struct type a let f (x:a) = x end type b = M.a let _ = M.f 2 ~~~ We get Error: This expression has type int but an expression was expected of type M.a instead of Error: This expression has type int but an expression was expected of type b We want this for Coq since we have numerous aliases in this pattern, eg module_ident = Id.t in names. See https://github.com/ocaml/dune/issues/1794 https://caml.inria.fr/mantis/view.php?id=7911
2019-03-01[dune] Add quickide target for building of IDE.Emilio Jesus Gallego Arias
Note that `states` doesn't work reliably yet, but that is a separate problem that will be fixed in Dune 1.6. [Or we could also fix it improving the rules in envars.ml]
2019-03-01Merge PR #9656: Fix deprecation warningEmilio Jesus Gallego Arias
Reviewed-by: ejgallego
2019-03-01Merge PR #9610: Fix #9110: mention check-owners-pr.shEmilio Jesus Gallego Arias
Ack-by: SkySkimmer Ack-by: Zimmi48 Reviewed-by: ejgallego Ack-by: vbgl
2019-03-01Merge PR #9619: Print location for type error in pattern variableEmilio Jesus Gallego Arias
Reviewed-by: ejgallego
2019-03-01Merge PR #9672: [doc] ssr: Fix the documentation of `by [tacs]`Théo Zimmermann
Reviewed-by: gares
2019-02-28Show diffs in error messages if color is enabledJim Fehrle
2019-03-01[doc] ssr: Fix the documentation of `by [tacs]`Erik Martin-Dorel
Closes coq/coq#9669
2019-02-28Constructor type information uses the expanded form.Pierre-Marie Pédrot
It used to simply remember the normal form of the type of the constructor. This is somewhat problematic as this is ambiguous in presence of let-bindings. Rather, we store this data in a fully expanded way, relying on rel_contexts. Probably fixes a crapload of bugs with inductive types containing let-bindings, but it seems that not many were reported in the bugtracker.
2019-02-28Add DOIs.Théo Zimmermann
Co-authored-by: Clément Pit-Claudel <clement.pitclaudel@live.com>
2019-02-28Move content of README-V1-V5 to Credits chapter.Théo Zimmermann
2019-02-28Remove forgotten link to removed document cic.dtd.Théo Zimmermann
2019-02-28Refresh README.Théo Zimmermann
2019-02-28Fix #9110: mention check-owners-pr.shThéo Zimmermann
2019-02-28Fix #7632: Change syntax of autoapply according to the documentation.Théo Zimmermann
Deprecate the old syntax. The documented syntax was using a with clause which is more standard with a hint database than the using clause that was actually implemented.
2019-02-28Overlays for coq/coq#9389 implicits API cleanupGaëtan Gilbert
2019-02-28Implement a method for manual declaration of implicits.Jasper Hugunin
This is intended to be separate from handling of implicit binders. The remaining uses of declare_manual_implicits satisfy a lot of assertions, giving the possibility of simplifying the interface in the future. Two disabled warnings are added for things that currently pass silently. Currently only Mtac passes non-maximal implicits to declare_manual_implicits with the force-usage flag set. When implicit arguments don't have to be named, should move Mtac over to set_implicits.
2019-02-28Merge PR #9621: [ide] only use Coq_config for the URL of the manualPierre-Marie Pédrot
Ack-by: JasonGross Reviewed-by: ejgallego Ack-by: gares Reviewed-by: ppedrot
2019-02-28Print location for type error in pattern variableGaëtan Gilbert
See #9616
2019-02-28[sphinx] Add warn option to coqtop directive.Théo Zimmermann
By default Coq warnings are made fatal when building the manual. If you want to show a command resulting in a warning, use the warn option. Preexisting warnings are either fixed or marked as expected.
2019-02-28[Gitlab-CI] Creates a deploy-templateVincent Laporte
To be used when pushing an artifact to a github repository
2019-02-28Merge PR #9578: Document primitive integersThéo Zimmermann
Reviewed-by: Zimmi48 Reviewed-by: maximedenes
2019-02-28Merge PR #9649: [dune] Simple rule to generate Stdlib's documentation.Théo Zimmermann
Reviewed-by: SkySkimmer Reviewed-by: Zimmi48 Ack-by: rgrinberg
2019-02-27[ide] only use Coq_config for the URL of the manualEnrico Tassi
2019-02-27Merge PR #9622: Fix makefile deps for coqidePierre-Marie Pédrot
Ack-by: SkySkimmer Reviewed-by: ppedrot
2019-02-27[make] coqide target needs STM workersEnrico Tassi
2019-02-27[ide] coqtop -> coqidetop in user messagesEnrico Tassi
2019-02-26Initialize styles so textual markers are used when color is not enabledJim Fehrle
2019-02-26[dune] Simple rule to generate Stdlib's documentation.Emilio Jesus Gallego Arias
Ideally this will be handled by Dune's native library support, but this could be useful for the likes of #9648. I am not sure what should be done w.r.t. style files.
2019-02-26Merge PR #9612: Fix #9526: Registering inductives for primitive integers ↵Vincent Laporte
doesn't check enough Ack-by: SkySkimmer Reviewed-by: vbgl
2019-02-26Fix deprecation warningEnrico Tassi
2019-02-26[default.nix] Enable parallel buildVincent Laporte
2019-02-26Fix #9526: Registering inductives for primitive integers doesn't check enoughMaxime Dénès
2019-02-26Merge PR #9648: [Gitlab-CI] Deploy api documentation to GH-PagesEmilio Jesus Gallego Arias
Ack-by: SkySkimmer Reviewed-by: ejgallego Ack-by: vbgl