aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* [location] Use located in tactics.Gravatar Emilio Jesus Gallego Arias2017-04-24
| | | | One case missing due the TACTIC EXTEND macro.
* [location] Use located in misctypes.Gravatar Emilio Jesus Gallego Arias2017-04-24
|
* [location] More located use.Gravatar Emilio Jesus Gallego Arias2017-04-24
|
* [location] Switch glob_constr to Loc.locatedGravatar Emilio Jesus Gallego Arias2017-04-24
|
* [location] Move Glob_term.predicate_pattern to located.Gravatar Emilio Jesus Gallego Arias2017-04-24
| | | | | We continue the uniformization pass. No big news here, trying to be minimally invasive.
* [location] Move Glob_term.cases_pattern to located.Gravatar Emilio Jesus Gallego Arias2017-04-24
| | | | | We continue the uniformization pass. No big news here, trying to be minimally invasive.
* [location] Use Loc.located for constr_expr.Gravatar Emilio Jesus Gallego Arias2017-04-24
| | | | | | | | | This is the second patch, which is a bit more invasive. We reasoning is similar to the previous patch. Code is not as clean as it could as we would need to convert `glob_constr` to located too, then a few parts could just map the location.
* [constrexpr] Make patterns use Loc.located for location informationGravatar Emilio Jesus Gallego Arias2017-04-24
| | | | | | | | | | | | | | | | | | | | | This is first of a series of patches, converting `constrexpr` pattern data type from ad-hoc location handling to `Loc.located`. Along Coq, we can find two different coding styles for handling objects with location information: one style uses `'a Loc.located`, whereas other data structures directly embed `Loc.t` in their constructors. Handling all located objects uniformly would be very convenient, and would allow optimizing certain cases, in particular making located smarter when there is no location information, as it is the case for all terms coming from the kernel. `git grep 'Loc.t \*'` gives an overview of the remaining work to do. We've also added an experimental API for `located` to the `Loc` module, `Loc.tag` should be used to add locations objects, making it explicit in the code when a "located" object is created.
* Merge PR#579: [flags] Deprecate is_silent/is_verbose in favor of single flag.Gravatar Maxime Dénès2017-04-24
|\
* \ Merge PR#574: Fix bug #5476: Ltac has an inconsistent view of hypotheses.Gravatar Maxime Dénès2017-04-24
|\ \
* \ \ Merge PR#552: Miscelaneous commitsGravatar Maxime Dénès2017-04-24
|\ \ \
* \ \ \ Merge PR#569: Documenting EConstr for developpers.Gravatar Maxime Dénès2017-04-24
|\ \ \ \
* \ \ \ \ Merge PR#565: Remove VernacErrorGravatar Maxime Dénès2017-04-24
|\ \ \ \ \
* \ \ \ \ \ Merge PR#580: [ide] Fix #5482 "location for query commands" in IDE.Gravatar Maxime Dénès2017-04-24
|\ \ \ \ \ \
* \ \ \ \ \ \ Merge PR#581: [toplevel] [emacs] Don't quote errors in emacs mode.Gravatar Maxime Dénès2017-04-24
|\ \ \ \ \ \ \
* \ \ \ \ \ \ \ Merge PR#492: [travis] Pin camlp5 to the minimal version 6.14 for 4.02.3Gravatar Maxime Dénès2017-04-24
|\ \ \ \ \ \ \ \
* \ \ \ \ \ \ \ \ Merge PR#576: [ide] Rely less on `Stateid.dummy`Gravatar Maxime Dénès2017-04-24
|\ \ \ \ \ \ \ \ \
| | * | | | | | | | [travis] Pin camlp5 to the minimal version 6.14 for 4.02.3Gravatar Emilio Jesus Gallego Arias2017-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now test: - 4.02.3 + 6.14 [and 32bits of those] - 4.04.0 + 6.17 this looks like what the official support set should be for 8.7, given that both Ubuntu and Debian will ship the first, then switch to the latter. We also pin xmlm to version 1.2.0 to workaround bug https://github.com/ocaml/opam-repository/issues/8815
| | | * | | | | | | [toplevel] [emacs] Don't quote errors in emacs mode.Gravatar Emilio Jesus Gallego Arias2017-04-23
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 8.6 + emacs, errors were quoted sometimes with special markers (e.g. `Print Module foo.` for a non-existing `foo`) In 8.7 we uniformized error handling and now all errors are quoted, however, this behavior confuses emacs as it seems that the quotes are meant to be applied only to warnings. We thus reflect the de-facto situation, removing quoting for errors and updating the code so it is clear that the quoter is a warnings quoter. We also update the warnings quoter to use a warning tag instead of a non-printable char. This fixes ProofGeneral for trunk users. c.f. https://github.com/ProofGeneral/PG/issues/175
* | | | | | | | | Merge branch v8.6 into trunkGravatar Hugo Herbelin2017-04-22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: I removed what seemed to be dead code in recdef.ml (local_assum and local_def introduced with econstr branch), assuming that this is what should be done.
* | | | | | | | | | Removing TODO file which is unused for more than 10 years.Gravatar Hugo Herbelin2017-04-22
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Hoping this is ok for everyone, otherwise we can discuss about it.
| | | * | | | | | [ide] Fix #5482 "location for query commands" in IDE.Gravatar Emilio Jesus Gallego Arias2017-04-21
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This warning is a special case as it happens outside the execution context. We could move the check inside, but instead we opt for the simpler solution of properly setting the warning target.
| | | * | | | | Remove VernacErrorGravatar Gaetan Gilbert2017-04-21
| |_|/ / / / / |/| | | | | |
| | | | | | * [flags] Deprecate is_silent/is_verbose in favor of single flag.Gravatar Emilio Jesus Gallego Arias2017-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Today, both modes are controlled by a single flag, however this is a bit misleading as is_silent really means "quiet", that is to say `coqc -q` whereas "verbose" is Coq normal operation. We also restore proper behavior of goal printing in coqtop on quiet mode, thanks to @Matafou for the report.
| | | | * | | COMMENT: Pre_env.envGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | COMMENT: Proof_global.pstate.pidGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | refactoring "Ppvernac.pr_extend"Gravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | correcting a typo in a commentGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | correcting comments in the "Context" moduleGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | "tclENV" is sexier, use it instead of "Env.get"Gravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | reduce syntactic noiseGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | simplifying "Environ.push_named" functionGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | refactoring "Names.DirPath.is_empty" functionGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | refactoring "Names.DirPath.compare" functionGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | refactoring "Names.DirPath.equal" functionGravatar Matej Kosik2017-04-20
| | | | | | |
| | | | * | | correcting a typo in a commentGravatar Matej Kosik2017-04-20
| |_|_|/ / / |/| | | | |
| | * | | | [ide] Set Stateid in query pane.Gravatar Emilio Jesus Gallego Arias2017-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We again remove another user of Stateid.dummy. However, we need to adapt the protocol so `Coq.query` takes the `route_id` and we can redirect the output properly to the subwindow.
| | * | | | [ide] Rely less on `Stateid.dummy`Gravatar Emilio Jesus Gallego Arias2017-04-19
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, we set queries from the menu to the tip of the document, and process feedback coming with a `dummy` id. There are still more places to tweak, but this should be good for now. We also display a few more query messages, in particular the feedbacks produced by query that carry a dummy state id. This hack of reporting with from the STM should be solved once we update the protocol.
| | | * | Documenting EConstr for developpers.Gravatar Pierre-Marie Pédrot2017-04-19
| | |/ /
| | | * Fix bug #5476: Ltac has an inconsistent view of hypotheses.Gravatar Pierre-Marie Pédrot2017-04-19
| |_|/ |/| |
* | | Merge PR#573: [toplevel] Fix printing of parsing errors + corner case.Gravatar Maxime Dénès2017-04-19
|\ \ \
* | | | CHANGES entry for #545.Gravatar Maxime Dénès2017-04-19
| | | |
* | | | Merge PR#545: Add some hints to the "real" database to automatically ↵Gravatar Maxime Dénès2017-04-19
|\ \ \ \ | | | | | | | | | | | | | | | discharge literal comparisons.
| | | * \ Merge PR#538: Correction of bug #4306Gravatar Maxime Dénès2017-04-19
| | | |\ \
* | | | \ \ Merge PR#570: Adding and fixing links in README.Gravatar Maxime Dénès2017-04-19
|\ \ \ \ \ \
* \ \ \ \ \ \ Merge PR#571: [toplevel] Fix #5475Gravatar Maxime Dénès2017-04-19
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| | | | * | | [toplevel] Fix printing of parsing errors + corner case.Gravatar Emilio Jesus Gallego Arias2017-04-19
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR #441 and #530 had an interesting interaction creating two bugs: - #441 stopped emitting feedback for the parser, however #530 changed the mechanism to print parser errors to the feedback, thus when the two patches were applied, parsing errors were not printed in batch_mode. - Additionally, #530 contains an error: prior to `Stm.init` we must take care of exceptions `require ()`/etc... otherwise they won't get printed.
| * | | | | [toplevel] Fix #5475Gravatar Emilio Jesus Gallego Arias2017-04-18
|/ / / / / | | | | | | | | | | | | | | | | | | | | This was a logic error in 63cfc77ddf3586262d905dc351b58669d185a55e, `Notice`-level messages should not be wrapped in `<infomsg>` tags.
| * / / / Adding and fixing links in README.Gravatar Théo Zimmermann2017-04-18
|/ / / /
* | | | Add a test for bug #5321: clearbody breaks typing of goal.Gravatar Pierre-Marie Pédrot2017-04-17
| | | | | | | | | | | | | | | | The bug has been solved as a side-effect of the EConstr branch.