aboutsummaryrefslogtreecommitdiff
path: root/ide
AgeCommit message (Collapse)Author
2019-06-04Proof_global: pass only 1 pstate when we don't want the proof stackGaëtan Gilbert
Typically instead of [start_proof : ontop:Proof_global.t option -> bla -> Proof_global.t] we have [start_proof : bla -> Proof_global.pstate] and the pstate is pushed on the stack by a caller around the vernacentries/mlg level. Naming can be a bit awkward, hopefully it can be improved (maybe in a followup PR). We can see some patterns appear waiting for nicer combinators, eg in mlg we often only want to work with the current proof, not the stack. Behaviour should be similar modulo bugs, let's see what CI says.
2019-05-31Remove Show Script (deprecated in 8.10)Gaëtan Gilbert
2019-05-23Fixing typos - Part 2JPR
2019-05-14CoqIDE: Treat unknown arguments starting with dash as unknown options rather ↵Hugo Herbelin
than files.
2019-05-11Merge PR #10006: NanoPG: a general fix + fixing Meta-based bindings on MacOS ↵Pierre-Marie Pédrot
+ adding a go-to-end binding + improving documentation Reviewed-by: gares Ack-by: herbelin Reviewed-by: ppedrot
2019-05-07Merge PR #10063: CoqIDE: recognize qualified identifiers as words.Pierre-Marie Pédrot
Reviewed-by: ppedrot
2019-05-04Merge PR #9926: [vernac] [ast] Make location info an attribute of vernaculars.Pierre-Marie Pédrot
Ack-by: SkySkimmer Ack-by: ejgallego Reviewed-by: ppedrot
2019-05-03CoqIDE: recognize qualified identifiers as words.Jasper Hugunin
Fixes coq/coq#10062. The implementation is rough, and does not deal with leading, trailing, or doubled periods, but the same can be said of the current handling of leading numbers or primes.
2019-04-30Renaming nanoPG to microPG.Hugo Herbelin
This is to be consistent with what the preference panel displays (namely μpG). We keep the nanoPG name in the preference file by compatibility.
2019-04-30CoqIDE nanoPG: adding keys to go the start/end of file (w/o evaluating).Hugo Herbelin
On MacOS X: Ctrl-Cmd-Left and Ctrl-Cmd-Right Elsewhere: Meta-Left and Meta-Right See issue #9899 (moving cursor to beginning and end of file).
2019-04-30NanoPG doc: telling that char, word, sentence, line have their unicode meaning.Hugo Herbelin
More precisely, GTK+ uses Pango rules which follows the standard Unicode text segmentation rules (see http://www.unicode.org/reports/tr29/).
2019-04-30Cosmetic in nanoPG.ml: fixing a wrong indentation.Hugo Herbelin
2019-04-30CoqIDE: Adding MacOS X support for Meta-based nano-PG keys.Hugo Herbelin
In practice, most of Alt modified keys are used on MacOS X keyboards for special characters and many Command modified keys are used for MacOS standard actions. So, we propose to use Ctrl-Command- as a prefix for the Meta-based nano-PG shortcuts. E.g. Ctrl-Command-e would go the end of the sentence.
2019-04-30NanoPG: expanding the notation C- and M- to Ctrl- and Meta-.Hugo Herbelin
Not only will this be clearer but it prepares to describing action on MacOS which shall use Cmd and which cannot be abbreviated w/o introducing a confusion with the abbreviation C- of Control-.
2019-04-30Fix a nanoPG bug: was accepting unexpectedly extra modifier keys pressed.Hugo Herbelin
For instance, Ctrl-Meta-e was behaving like Ctrl-e.
2019-04-29Merge PR #9651: [ssr] Add tactics under and overCyril Cohen
Reviewed-by: CohenCyril Ack-by: Zimmi48 Ack-by: erikmd Ack-by: gares Ack-by: jfehrle
2019-04-29Merge PR #9935: [api] [proof] Alert users that `Vernacstate.Proof_global` is ↵Maxime Dénès
not to be used. Ack-by: ejgallego Ack-by: gares Reviewed-by: maximedenes
2019-04-27CoqIDE, cosmetic: removing obsolete comments.Hugo Herbelin
There is no more uses of "old style preferences" but the comment was still there.
2019-04-27CoqiDE: Load coqide.keys after coqiderc (addressing part of #9899).Hugo Herbelin
This avoids the modifiers keys to overwrite changes made in coqide.keys.
2019-04-25[vernac] [ast] Make location info an attribute of vernaculars.Emilio Jesus Gallego Arias
This has been a mess for quite a while, we try to improve it.
2019-04-25Fix PKG in ide/.merlin.in for gtk3Gaëtan Gilbert
2019-04-23[ide] update coq-ssreflect.lang wrt under tacticEnrico Tassi
2019-04-17Merge PR #9876: Command-line setters for optionsEmilio Jesus Gallego Arias
Ack-by: SkySkimmer Reviewed-by: Zimmi48 Reviewed-by: ejgallego Reviewed-by: gares
2019-04-15[CoqIDE] Fix build system for macOSVincent Laporte
2019-04-12Unify Set and Unset handling for optionsGaëtan Gilbert
Not sure if the idetop.set_options was correctly changed, ocaml types pass at least.
2019-04-09[api] [proof] Alert users that `Vernacstate.Proof_global` is not to be used.Emilio Jesus Gallego Arias
We alert users that `Vernacstate.Proof_global` is a Coq internal module and should not be used to workaround lack of state threading.
2019-04-08Fix #9812: CoqIDE on gtk3 has wrong defaults for selection BG.Pierre-Marie Pédrot
Unfortunately, the only sane fix I was able to hack was to deactivate the possibility to change the background colour altogether. Trying to do otherwise is a real Pandora's box which is ultimately triggered by the lack of lablgtk3 bindings for the GtkStyleContext class. I tried a lot of alternative approaches, to no avail. This includes catching the selection signal, reimplementing selection by hand in GtkTextView, and even reading the internal details of the GTK implementation turned not that helpful. For the time being (8.10 beta) I think we do not have much choice.
2019-04-03Protect some I/O routines from SIGALRMMaxime Dénès
This is necessary to prevent Coq from sending ill-formed output in some scenarios involving `Timeout`. Co-authored-by: Enrico Tassi <Enrico.Tassi@inria.fr>
2019-03-27[vernac] Adapt to removal of imperative proof state.Emilio Jesus Gallego Arias
2019-03-27Merge PR #9807: Fix CoqIDE progress bar.Enrico Tassi
Reviewed-by: Zimmi48
2019-03-22Merge PR #8560: Unicode bindings for CoqIDE that works out of the boxPierre-Marie Pédrot
Reviewed-by: Zimmi48 Ack-by: charguer Reviewed-by: gares Reviewed-by: ppedrot
2019-03-20Fix CoqIDE progress bar.Pierre-Marie Pédrot
2019-03-19[coqide] [ci] Update GTK toolchain to lablgtk3Emilio Jesus Gallego Arias
- Update Docker images to install compatible version of lablgtk3 - We remove unnecesary variables from configure. - We fix path detection of GTK libs in makefile
2019-03-19Fix for post-beta3 lablgtk3 changes about cairo (from Claudio).Hugo Herbelin
2019-03-19CoqIDE: Adding configurable color for incompletely processed Qed.Hugo Herbelin
2019-03-19CoqIDE: More informative message when failing editing/saving preferences.Hugo Herbelin
2019-03-19CoqIDE: Ensuring that load/save windows are not hidden by their parent.Hugo Herbelin
2019-03-19CoqIDE: Use modify_bg rather than modify_base to change background color.Hugo Herbelin
The effect of modify_base is told to be widget-dependent. It uses to change the background with gtk2 but not with gtk3. So we use the more explicit modify_bg.
2019-03-19CoqIDE: Ensure that the main 3 windows do not shrink when w/o contents.Hugo Herbelin
This was automatic in gtk2 (apparently because of the specification not being granted). This is needed with gtk3.
2019-03-19CoqIDE: Ensure that contents of the pref window expands as much as possible.Hugo Herbelin
This was not needed in gtk2 but is needed with gtk3.
2019-03-19CoqIDE: Using Grid instead of Table.Hugo Herbelin
This is not mandatory for gtk+3 since it is deprecated from only gtk 3.4. This would be needed for gtk+4 though.
2019-03-19CoqIDE: Adapting to new interface of GPack.notebook.Hugo Herbelin
2019-03-19CoqIDE: Replacing deprecated color_of_string with color_parse.Hugo Herbelin
2019-03-19CoqIDE: No more explicit activation of tooltips on toolbar.Hugo Herbelin
According to https://developer.gnome.org/gtk2/stable/GtkToolbar.html#gtk-toolbar-set-tooltips, tooltips are now managed globally by gtk-enable-tooltips which is true by default.
2019-03-19CoqIDE: Stippling using bitmap no more supported for incomplete Qed.Hugo Herbelin
Was formerly displaying a stippled ("pointillé") light blue. Now only a light blue.
2019-03-19CoqIDE: wm_name and wm_class are now packed into wmclass.Hugo Herbelin
2019-03-19CoqIDE: Now calling destroy signal via widget_signals.Hugo Herbelin
Thanks to J. Garrigue for the hint.
2019-03-19CoqIDE: Deactivation pixmap-based progression bar (wg_Segment.ml).Hugo Herbelin
Indeed, gtk3 has no more Pixmap, it should use Cairo instead. We also deactivate the functions in the graph of dependency. In particular, this also blocks coqOps.ml.
2019-03-19CoqIDE: Moving last use of gtk2-only FileSelection to FileChooserDialog.Hugo Herbelin
2019-03-19CoqIDE: Deactivating the user queries and wizard tactics configuration.Hugo Herbelin
They rely on list and strings from configwin which themselves rely on gtk2 only widgets.