aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-23Merge PR #8799: Fix formatting. Use standard if..then grammar.Théo Zimmermann
2018-10-23Fixing #8794 (anomaly with abbreviation involving both term and binders).Hugo Herbelin
2018-10-23Merge PR #8802: [dune] Install man pages + remove two obsolete ones.Théo Zimmermann
2018-10-23Fix issue #8801.Guillaume Melquiond
When opening the query pane, do not try to focus on a query tab that no longer exists.
2018-10-23Fix issue #8800.Guillaume Melquiond
Gtk complains that we are not using gtk_scrolled_window_add_with_viewport, so let us do.
2018-10-23Merge PR #8786: Adding a regression test for bug #8785: universe constraints ↵Pierre-Marie Pédrot
missing
2018-10-23Compat 8.8: For String/Ascii, hides "Declare ML Module" behind an "Export".Hugo Herbelin
2018-10-23Encapsulating declarations of primitive string syntax in a module.Hugo Herbelin
2018-10-23Merge PR #8797: [doc] [api] Update `odoc` to new release 1.3.0Gaëtan Gilbert
2018-10-23Merge remote-tracking branch 'origin/pr/70'Pierre-Marie Pédrot
2018-10-23Merge remote-tracking branch 'origin/pr/71'Pierre-Marie Pédrot
2018-10-23[dune] Install man pages + remove two obsolete ones.Emilio Jesus Gallego Arias
2018-10-23Fix formatting. Use standard if..then grammar.Sam Pablo Kuper
2018-10-23Order Greek letters consistently w/rest of documentSam Pablo Kuper
2018-10-23[dune] Compile debug and checker printers.Emilio Jesus Gallego Arias
As noted by Gäetan, we didn't compile these. We also provide a recipe to run `ocamldebug`. Try (after a build): ``` dune exec dev/dune-dbg (ocd) source dune_db ``` or ``` dune exec dev/dune-dbg checker (ocd) source checker_dune_db ``` for the checker.
2018-10-23[build] Refactoring to config lib and ocamldebug tweaks.Emilio Jesus Gallego Arias
We make `config` into a properly library. This is more uniform and useful for some clients. This also matches what was done in Dune. Next step would be to push dependencies on `Coq_config` upwards, only the actual toplevel binaries should depend on it. We also remove the stale `camlp5.dbg` and refactor the dbg files a bit, isolating the bits that are specific to the plugin / lib building method used by makefile.
2018-10-22[doc] [api] Update `odoc` to new release 1.3.0Emilio Jesus Gallego Arias
This includes many changes, please have a look at the newly generated docs.
2018-10-22Merge PR #8708: Stupid but critical unfolding heuristic.Maxime Dénès
2018-10-22Merge PR #8784: [dune] Remove rule for cLexer.ml4 -> cLexer.mlThéo Zimmermann
2018-10-22Merge pull request #11 from ejgallego/vernac+monify_hookYves Bertot
[coq] Adapt for PR #8704.
2018-10-21Adding a regression test for bug #8785 (missing univ constraints registration).Hugo Herbelin
2018-10-20Cleanup comparing projections through their constants.Gaëtan Gilbert
2018-10-20Merge PR #8769: [library] Remove redundant re-addition of universe constraints.Gaëtan Gilbert
2018-10-20[dune] Remove rule for cLexer.ml4 -> cLexer.mlEmilio Jesus Gallego Arias
When merging #8740 we didn't remove this rule. The build didn't fails as Dune emits a warning for now [due to compatibility with some schemes], but this will become an error in the future.
2018-10-20Merge PR #8782: gitignore test-suite/.nia.cacheThéo Zimmermann
2018-10-19Merge PR #8758: [api] Qualify access to `Nametab`Hugo Herbelin
2018-10-19gitignore test-suite/.nia.cacheGaëtan Gilbert
This gets generated since 7f445d1027cbcedf91f446bc86afea36840728ba
2018-10-19Deprecating unused Engine.type_of_global.Hugo Herbelin
2018-10-19Deprecating Global.type_of_global_in_context.Hugo Herbelin
Removing a few Global.env in the way.
2018-10-19Deprecating Global.constr_of_global_in_context.Hugo Herbelin
2018-10-19Moving Global.constr_of_global_in_context to Typeops.Hugo Herbelin
It is purely functional, so no need for it to be in global now that GlobRef.t are in the kernel.
2018-10-19Moving Global.type_of_global_in_context to Typeops.Hugo Herbelin
It is purely functional, so no need for it to be in global now that GlobRef.t are in the kernel. Also updated the comments.
2018-10-19Cleaning layout typeops.mli.Hugo Herbelin
2018-10-19Porting the test-suite to coqpp.Pierre-Marie Pédrot
2018-10-19Adapt coq_makefile to handle coqpp-based macro files.Pierre-Marie Pédrot
2018-10-19Merge PR #8724: [universes] deprecate constr_of_globalPierre-Marie Pédrot
2018-10-19Explicitly merge contexts in side-effect universe handling.Pierre-Marie Pédrot
Instead of threading the universe state and making it grow, we make clear in the signature that the differed side-effects generate constraints to be added.
2018-10-19Move side-effect typing into Safe_env.Pierre-Marie Pédrot
This reduces the attack surface of the API, as actually there is only a back and forth between the two modules, and side-effects validity certificates are intuitively nothing more than safe environments.
2018-10-19Merge PR #8740: Removing the Camlp5 macros from CLexer.Emilio Jesus Gallego Arias
2018-10-19Fix #8755: Uncaught exception Ltac_plugin.Taccoerce.CannotCoerceTo.Pierre-Marie Pédrot
2018-10-19Replace non-idiomatic "dead-alleys" with idiomatic "dead-ends"Sam Pablo Kuper
2018-10-18[library] Remove redundant re-addition of universe constraints.Emilio Jesus Gallego Arias
After some analysis this should be taken care of by `Safe_typing.add_constant` It was added in https://github.com/coq/coq/commit/f7338257584ba69e7e815c7ef9ac0d24f0dec36c , so maybe @gares can provide more context as to how is this stuff supposed to work.
2018-10-18[nametab] [api] Provide basic support for efficient completion.Emilio Jesus Gallego Arias
We provide a function `completion_candidates id` that will return a list of candidates global references that have id as prefix. This should be reasonably efficient, however UI still need to call `shortest_qualid_of_global` which is a bit heavy. How to improve this in the future is an open question. cc: #7164
2018-10-18[clib] Provide `filter_range` function.Emilio Jesus Gallego Arias
This is very useful to compute efficiently a list of prefixes. Will be used in conjunction with the nametab to provide completion. Example of use: ``` let cprefix x y = String.(compare x (sub y 0 (min (length x) (length y)))) in M.filter_range (cprefix "foo") m ``` We could of course maintain a trie, but this is less invasive an should work at our scale.
2018-10-18Merge PR #8719: [ci] [appveyor] Disable validate target.Maxime Dénès
2018-10-18Give code ownership of merging doc to pushers team to notify members when it ↵Théo Zimmermann
changes.
2018-10-18Merge PR #8670: Document the issue with positive coinductive types.Théo Zimmermann
2018-10-18Adding a rule to generate grammar.cma.Pierre-Marie Pédrot
Since the removal of the dependency in camlp5 for CLexer, it looks like this file was never generated, leading to installation failure. We add it as a dependency of the install step.
2018-10-18Removing the Camlp5 macros from CLexer.Pierre-Marie Pédrot
We partially hand-translated so as to result in the minimal diff possible.
2018-10-18[universes] deprecate constr_of_globalMatthieu Sozeau
In favor of a constr_of_monomorphic_global function. When people move to the new Coqlib interface they will also see this deprecation message encouraging them to think about the best move. This commit changes a few references to constr_of_global and replaces them with a constr_of_monomorphic_global which makes it apparent that this is not the function to call to globalize polymorphic references. The remaining parts using constr_of_monomorphic_global are easily identifiable using this: omega, btauto, ring, funind and auto_ind_decl mainly (this fixes firstorder). What this means is that the symbols registered for these tactics have to be monomorphic for now.