aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* CLEANUP: removing unnecessary wrapperGravatar Matej Kosik2016-01-11
|
* COMMENTS: added to the "Constrexpr.CCases" variant.Gravatar Matej Kosik2016-01-11
|
* CLEANUP: removing unused fieldGravatar Matej Kosik2016-01-11
| | | | | | | I have removed the second field of the "Constrexpr.CRecord" variant because once it was set to "None" it never changed to anything else. It was just carried and copied around.
* mergeGravatar Matej Kosik2016-01-11
|\
| * CLEANUP: kernel/context.ml{,i}Gravatar Matej Kosik2016-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The structure of the Context module was refined in such a way that: - Types and functions related to rel-context declarations were put into the Context.Rel.Declaration module. - Types and functions related to rel-context were put into the Context.Rel module. - Types and functions related to named-context declarations were put into the Context.Named.Declaration module. - Types and functions related to named-context were put into the Context.Named module. - Types and functions related to named-list-context declarations were put into Context.NamedList.Declaration module. - Types and functions related to named-list-context were put into Context.NamedList module. Some missing comments were added to the *.mli file. The output of ocamldoc was checked whether it looks in a reasonable way. "TODO: cleanup" was removed The order in which are exported functions listed in the *.mli file was changed. (as in a mature modules, this order usually is not random) The order of exported functions in Context.{Rel,Named} modules is now consistent. (as there is no special reason why that order should be different) The order in which are functions defined in the *.ml file is the same as the order in which they are listed in the *.mli file. (as there is no special reason to define them in a different order) The name of the original fold_{rel,named}_context{,_reverse} functions was changed to better indicate what those functions do. (Now they are called Context.{Rel,Named}.fold_{inside,outside}) The original comments originally attached to the fold_{rel,named}_context{,_reverse} did not full make sense so they were updated. Thrown exceptions are now documented. Naming of formal parameters was made more consistent across different functions. Comments of similar functions in different modules are now consistent. Comments from *.mli files were copied to *.ml file. (We need that information in *.mli files because that is were ocamldoc needs it. It is nice to have it also in *.ml files because when we are using Merlin and jump to the definion of the function, we can see the comments also there and do not need to open a different file if we want to see it.) When we invoke ocamldoc, we instruct it to generate UTF-8 HTML instead of (default) ISO-8859-1. (UTF-8 characters are used in our ocamldoc markup) "open Context" was removed from all *.mli and *.ml files. (Originally, it was OK to do that. Now it is not.) An entry to dev/doc/changes.txt file was added that describes how the names of types and functions have changed.
* | COMMENTS: of "Constr.case_info" type were updated.Gravatar Matej Kosik2016-01-11
| |
* | COMMENTS: added to the "Names.inductive" and "Names.constructor" types.Gravatar Matej Kosik2016-01-11
| |
* | Fix bug 4479: "Error: Rewriting base foo does not exist." should be catchable.Gravatar Pierre-Marie Pédrot2016-01-09
| |
* | Monotonizing Ftactic.Gravatar Pierre-Marie Pédrot2016-01-08
| |
* | Remove deprecated command-line options such as "-as".Gravatar Guillaume Melquiond2016-01-06
| |
* | Make code more readable by not mixing list traversal and option processing.Gravatar Guillaume Melquiond2016-01-06
| |
* | Merge remote-tracking branch 'origin/v8.5' into trunkGravatar Guillaume Melquiond2016-01-06
|\ \ | | | | | | | | | | | | Conflicts: lib/cSig.mli
| * | Prevent coq_makefile from parsing project files in the reverse order. (Fix ↵Gravatar Guillaume Melquiond2016-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug #4477) The bug was a bit subtle. Function process_cmd_line can be called in three different ways: 1. tail-recursively to accumulate parsed options in reverse order, 2. directly to parse a file (coqide) or a command line (coq_makefile), 3. recursively to handle a "-f" option. Once its execution finished, the function reversed its accumulator so that the parsed options are in correct order. Due to the third case, this means that the final local order of options was depending on the parity of the depth of "-f" options. This commit fixes it by changing the function so that the recursive call gets the actual accumulator rather than its reversed version. Warning: this will break all the projects that were inadvertently (or not) relying on the bug. This might also require a further commit if coq_makefile itself was relying on the bug.
| * | Protect code against changes in Map interface.Gravatar Maxime Dénès2016-01-06
| | | | | | | | | | | | | | | | | | The Map interface of upcoming OCaml 4.03 includes a new union operator. In order to make our homemade implementation of Maps compatible with OCaml versions from 3.12 to 4.03, we define our own signatures for Maps.
| * | Disable warning 31 when generating coqtop from coqmktop.Gravatar Maxime Dénès2016-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In OCaml 3.x, the toploop of OCaml was accessible from toplevellib.cma. In OCaml 4.x, it was replaced by compiler-libs. However, linking with compiler-libs produces a warning (fatal with OCaml 4.03) as soon as we have a file named errors.ml or lexer.ml... The only satisfactory solution seems to be to "pack" compiler libs. But it is not done currently in the OCaml distribution, and implementing it in coqmktop at this point would be too risky. So for now, I am disabling the warning until we hear from the OCaml team. In principle, this clash of modules names can break OCaml's type safety, so we are living dangerously.
* | | Merge remote-tracking branch 'origin/v8.5' into trunkGravatar Guillaume Melquiond2016-01-05
|\ \ \
| | * | Avoid warning 31: test printer was linked twice with Dynlink and Str.Gravatar Maxime Dénès2016-01-05
| | | | | | | | | | | | | | | | | | | | Linking a module twice is unsafe and warning 31 will be fatal by default in OCaml 4.03. See PR#5461.
| | * | Fix order of files in mllib.Gravatar Maxime Dénès2016-01-05
| |/ / | | | | | | | | | | | | | | | | | | | | | CString was linked after Serialize, although the later was using CString.equal. This had not been noticed so far because OCaml was ignoring functions marked as external in interfaces (which is the case of CString.equal) when considering link dependencies. This was changed on the OCaml side as part of the fix of PR#6956, so linking was now failing in several places.
| * | COMMENTS: PredicateGravatar Matej Kosik2016-01-05
| | | | | | | | | | | | | | | | | | | | | | | | In the original version, ocamldoc markup wasn't used properly thus ocamldoc output did not in all places make sense. This commit makes sure that the documentation of the Predicate module is as clear as the documentation of the Set module (in the standard library).
| * | fixup d2b468a, evar normalization is neededGravatar Enrico Tassi2016-01-04
| | |
| * | Extraction: msg_notice instead of msg_info.Gravatar Pierre Courtieu2016-01-04
| | |
| * | Fix handling of side-effects in case of `Opaque side-effects as well.Gravatar Matthieu Sozeau2016-01-04
| | |
| * | par: check if the goal is not ground and fail (fix #4465)Gravatar Enrico Tassi2016-01-04
| | |
| * | workers: purge short version of -load-vernac too (fix #4458)Gravatar Enrico Tassi2016-01-04
| | |
* | | Use streams rather than strings to handle bullet suggestions.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Remove some unused functions.Gravatar Guillaume Melquiond2016-01-02
| | | | | | | | | | | | | | | Note: they do not even seem to have a debugging purpose, so better remove them before they bitrot.
* | | Remove keys for evar and meta, since they cannot occur.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Remove some useless type declarations.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Remove some useless module opening.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Remove duplicate definition.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Remove duplicate declarations.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Reduce dependencies of interface files.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Avoid warnings about loop indices.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Remove useless rec flags.Gravatar Guillaume Melquiond2016-01-02
| | |
* | | Simplification of grammar_prod_item type.Gravatar Pierre-Marie Pédrot2016-01-02
| | | | | | | | | | | | Actually the identifier was never used and just carried along.
* | | Proper datatype for EXTEND syntax tokens.Gravatar Pierre-Marie Pédrot2016-01-02
| | |
* | | Separation of concern in TacAlias API.Gravatar Pierre-Marie Pédrot2016-01-02
| | | | | | | | | | | | | | | The TacAlias node now only contains the arguments fed to the tactic notation. The binding variables are worn by the tactic representation in Tacenv.
* | | Fix typos.Gravatar Guillaume Melquiond2016-01-01
| | |
* | | Remove unused hashconsing code.Gravatar Guillaume Melquiond2016-01-01
| | |
* | | Do not make it harder on the compiler optimizer by packing arguments.Gravatar Guillaume Melquiond2016-01-01
| | |
* | | Remove unused functions.Gravatar Guillaume Melquiond2016-01-01
| | |
* | | Remove unplugged button from the interface.Gravatar Guillaume Melquiond2016-01-01
| | |
* | | Remove useless recursive flags.Gravatar Guillaume Melquiond2016-01-01
| | |
* | | Remove unused open.Gravatar Guillaume Melquiond2016-01-01
| | |
* | | Remove duplicate declarations.Gravatar Guillaume Melquiond2016-01-01
| | |
| * | Put implicits back as in 8.4.Gravatar Matthieu Sozeau2015-12-31
| | |
| * | Fix bug #4456, anomaly in handle-side effectsGravatar Matthieu Sozeau2015-12-31
| | | | | | | | | | | | | | | The side-effects can contain universe declarations needed to typecheck later proofs, which weren't added to the env used to typecheck them.
* | | Remove unused function Checker.print_loc.Gravatar Guillaume Melquiond2015-12-31
| | | | | | | | | | | | There is no location to print anyway, so it will never be useful.
* | | Merge branch 'v8.5' into trunkGravatar Guillaume Melquiond2015-12-31
|\| |
* | | Do not compose List.length with List.filter.Gravatar Guillaume Melquiond2015-12-31
| | |