History log of /seL4-l4v-10.1.1/isabelle/src/Pure/PIDE/protocol.scala
Revision Date Author Comments
# 62ac99b4 05-Jun-2018 wenzelm <none@none>

less wasteful consolidation, based on PIDE front-end state and recent changes;


# 284ed3f3 31-May-2018 wenzelm <none@none>

Document.update includes node consolidation / presentation as regular print operation: avoid user operations on protocol thread;
tuned;


# b82b4fe5 29-May-2018 wenzelm <none@none>

more node status information;


# 6284dfda 29-May-2018 wenzelm <none@none>

tuned signature;


# 5485c315 22-Mar-2018 wenzelm <none@none>

clarified exported messages, e.g. suppress "information", "tracing";
export "legacy_feature" as "warning", in accordance to console default output;


# ebf791f1 21-Mar-2018 wenzelm <none@none>

tuned;


# 9e72faf0 16-Mar-2018 wenzelm <none@none>

support for "use_theories";


# bb965957 23-Jan-2018 wenzelm <none@none>

treat sessions as entities with defining position;
tuned signature;


# a8fbe5f2 19-Jan-2018 wenzelm <none@none>

formal treatment of documentation names;


# c11192ba 16-Dec-2017 wenzelm <none@none>

added document antiquotation @{session name};
renamed protocol function "Prover.session_base" to "Prover.init_session_base" according to the ML/Scala operation;


# cb48a523 16-Oct-2017 wenzelm <none@none>

provide theory timing information, similar to command timing but always considered relevant;


# 92bbf85d 29-Sep-2017 wenzelm <none@none>

more informative loaded_theories: dependencies and syntax;


# 22315146 28-Sep-2017 wenzelm <none@none>

session-qualified theory names are mandatory;


# 7dff5993 16-Sep-2017 wenzelm <none@none>

proper standard_path to revert platform_path in JEdit_Sessions.session_base;


# fc0d9523 14-Aug-2017 wenzelm <none@none>

more explicit failure;


# c0c69138 14-Aug-2017 wenzelm <none@none>

explicit indication of consolidated nodes;


# f6ce89c5 08-Aug-2017 wenzelm <none@none>

maintain "consolidated" status of theory nodes, which means all evals are finished (but not necessarily prints nor imports);


# 826661e3 21-Apr-2017 wenzelm <none@none>

eliminated default_qualifier: just a constant;


# ddbd6af9 12-Apr-2017 wenzelm <none@none>

clarified loaded_theories: map to qualified theory name;
proper theory_name for PIDE editors;


# fa83435a 12-Apr-2017 wenzelm <none@none>

global session_base for PIDE interaction;


# 7f8430cb 08-Apr-2017 wenzelm <none@none>

more qualifier treatment, but in the end it is still ignored;


# f2745d0d 07-Apr-2017 wenzelm <none@none>

tuned signature;


# e1a44641 04-Apr-2017 wenzelm <none@none>

more explicit types;


# 64edf159 01-Apr-2017 wenzelm <none@none>

clarified YXML vs. symbol encoding: operate on whole message;
tuned signature;


# 9a02822c 18-Mar-2017 wenzelm <none@none>

more realistic PIDE build session;


# a08ddb87 20-Dec-2016 wenzelm <none@none>

tuned;


# d023295c 05-Sep-2016 wenzelm <none@none>

clarified modules;


# d8ffd9f3 02-Aug-2016 wenzelm <none@none>

support 'abbrevs' within theory header;
simplified 'keywords': no abbreviations here;


# 8c11c9da 10-Jul-2016 wenzelm <none@none>

tuned signature: more uniform Keyword.spec;


# 2247e295 10-Oct-2015 wenzelm <none@none>

more explicit HTML.symbols;
tuned signature;


# 989b400e 09-Oct-2015 wenzelm <none@none>

output HTML text according to Isabelle/Scala Symbol.Interpretation;


# b39e50ff 20-Aug-2015 wenzelm <none@none>

clarified modules, like ML version;


# 1e824202 10-Aug-2015 wenzelm <none@none>

tuned signature;
more rendering;


# ad16e55d 10-Aug-2015 wenzelm <none@none>

more thorough Encode.string;


# 0b1d4452 17-Mar-2015 wenzelm <none@none>

misc tuning and simplification;


# 43d1f634 16-Mar-2015 wenzelm <none@none>

tuned protocol -- resolve command positions in ML;


# 7995e7b7 16-Mar-2015 wenzelm <none@none>

clarified modules;


# 85bc7c0e 15-Mar-2015 wenzelm <none@none>

proper command id for inlined errors, which is important for Command.State.accumulate;


# b338333b 14-Mar-2015 wenzelm <none@none>

clarified positions of theory imports;


# f0634e11 12-Mar-2015 wenzelm <none@none>

clarified markup for embedded files, early before execution;


# f57bc872 10-Mar-2015 wenzelm <none@none>

more precise position information in Isabelle/Scala, with YXML markup as in Isabelle/ML;


# 3a635b04 14-Jan-2015 wenzelm <none@none>

clarified build_theories;


# fdbef769 13-Jan-2015 wenzelm <none@none>

some support for PIDE batch session;
clarified Thy_Info.use_thys_options and corresponding protocol command;


# 94b840f9 30-Dec-2014 wenzelm <none@none>

explicit message channel for "legacy", which is nonetheless a variant of "warning";


# 986c7f6c 23-Dec-2014 wenzelm <none@none>

explicit message channels for "state", "information";
separate state_message_color;


# 08f5939a 03-Dec-2014 wenzelm <none@none>

clarified define_command: send tokens more directly, without requiring keywords in ML;


# 7ab34868 20-Aug-2014 wenzelm <none@none>

default command position is only valid for default text chunk (amending dcb758188aa6);


# ea788bea 12-Aug-2014 wenzelm <none@none>

generic process wrapping in Prover;
clarified module arrangement;


# 339270d6 12-Aug-2014 wenzelm <none@none>

clarified Position.Identified: do not require range from prover, default to command position;


# 760735d5 02-Aug-2014 wenzelm <none@none>

proper priority for error over warning also for node_status (see 9c5220e05e04);


# 863cbe74 30-Apr-2014 wenzelm <none@none>

some support for session-qualified theories: allow to refer to resources via qualified name instead of odd file-system path;


# b450dc3e 26-Apr-2014 wenzelm <none@none>

tuned signature;


# 41bc3632 26-Apr-2014 wenzelm <none@none>

tuned signature;


# 3ad7bf0f 17-Apr-2014 wenzelm <none@none>

added protocol command "use_theories", with core functionality of batch build;


# 39cef393 09-Apr-2014 wenzelm <none@none>

more explicit message discrimination;


# 359f4348 08-Apr-2014 wenzelm <none@none>

more direct interpretation of "warned" status, like "failed" and independently of "finished", e.g. relevant for Rendering.overview_color of aux. files where main command status is unavailable (amending 0546e036d1c0);


# d64f2f83 08-Apr-2014 wenzelm <none@none>

accumulate markup reports for "other" command ids, which are later retargeted and merged for rendering (in erratic order);


# 39d3493f 08-Apr-2014 wenzelm <none@none>

avoid data redundancy;


# dfdc7b48 08-Apr-2014 wenzelm <none@none>

tuned signature -- moved Command.Chunk to Text.Chunk;


# 38f7f406 07-Apr-2014 wenzelm <none@none>

more explicit Command.Chunk types, less ooddities;
tuned;


# f5860017 07-Apr-2014 wenzelm <none@none>

simplified blob again (amending 1e77ed11f2f7): only store file node name, i.e. the raw editor file name;
more liberal hyperlink to files, allow hyperlinks within editor files independently of the (POSIX) file-system;


# aa78a797 07-Apr-2014 wenzelm <none@none>

support for URL as file name, similar to treatment in jEdit.java;


# 4995890f 07-Apr-2014 wenzelm <none@none>

separate file_node vs. file_path, e.g. relevant on Windows for hyperlink to the latter;


# ecb3fc1e 03-Apr-2014 wenzelm <none@none>

more direct warning within persistent Protocol.Status;
consider Markup.ERROR (e.g. from Output.error_message without exception) as failure;
tuned;


# 24eab3a6 03-Apr-2014 wenzelm <none@none>

more general prover operations;


# 4f51da4c 02-Apr-2014 wenzelm <none@none>

more explicit iterator terminology, in accordance to Scala 2.8 library;
clarified Graph.keys_iterator vs. Graph.keys, with subtle change of semantics;
tuned output;


# e1b43ec5 01-Apr-2014 wenzelm <none@none>

persistent protocol_status, to improve performance of node_status a little;


# f9c7ac94 01-Apr-2014 wenzelm <none@none>

tuned for-comprehensions -- less structure mapping;


# 077b867a 01-Apr-2014 wenzelm <none@none>

some rephrasing to ensure that this becomes cheap "foreach" and not expensive "map" (cf. 0fc032898b05);


# 7fcd4939 01-Apr-2014 wenzelm <none@none>

unused;


# ae8ce2f7 01-Apr-2014 wenzelm <none@none>

more frugal command_status, which is often used in a tight loop;


# ae2ec935 31-Mar-2014 wenzelm <none@none>

store blob content within document node: aux. files that were once open are made persistent;
proper structural equality for Command.File and Symbol.Index;


# ed35d5d8 27-Mar-2014 wenzelm <none@none>

back to cumulative treatment of command status, which is important for total accounting (amending 8201790fdeb9);


# e5bc4603 27-Mar-2014 wenzelm <none@none>

more careful treatment of multiple command states (eval + prints): merge content that is actually required;
more standard Markup_Tree merge, including trivial cases;


# c5b8da2c 26-Mar-2014 wenzelm <none@none>

clarified valid_id: always standardize towards static command.id;


# 1447d8e0 02-Mar-2014 wenzelm <none@none>

tuned signature -- emphasize symbol positions (prover) vs. decoded text offsets (editor);


# 9b664ef4 01-Mar-2014 wenzelm <none@none>

incorporate chunk range that is 1 off end-of-input, for improved error positions (NB: command spans are tight, without trailing whitespace);
tuned signature;


# dd3842fb 28-Feb-2014 wenzelm <none@none>

tuned signature -- more explicit Document.Elements;


# 220d2361 27-Feb-2014 wenzelm <none@none>

more formal Document.Blobs;
removed junk;


# 5e8bd882 20-Feb-2014 wenzelm <none@none>

tuned signature;


# 0ff8715e 18-Feb-2014 wenzelm <none@none>

more uniform/robust restriction of reported positions, e.g. relevant for "bad" markup due to unclosed comment in ML file;


# eff64a37 12-Feb-2014 wenzelm <none@none>

clarified message_positions: cover alt_id as well;
tuned;


# f08475a6 11-Feb-2014 wenzelm <none@none>

maintain multiple command chunks and markup trees: for main chunk and loaded files;
document view for all text areas, including auxiliary files;


# 972d63f1 11-Feb-2014 wenzelm <none@none>

common Command.Chunk for command source and auxiliary files (static Symbol.Index without actual String content);
more informative type Blob, to allow markup reports;


# 500182e7 11-Feb-2014 wenzelm <none@none>

report (but ignore) markup within auxiliary files;


# b07919c3 22-Nov-2013 wenzelm <none@none>

clarified node edits sent to prover -- Clear/Blob only required for text edits within editor;


# d544fe6c 20-Nov-2013 wenzelm <none@none>

load files that are not provided by PIDE blobs;
uniform resolve_files via Command.read;


# 2352f225 19-Nov-2013 wenzelm <none@none>

more explicit indication of missing files;


# 884c6561 19-Nov-2013 wenzelm <none@none>

maintain blobs within document state: digest + text in ML, digest-only in Scala;
resolve files for command span, based on defined blobs;
tuned;


# 89385d38 18-Nov-2013 wenzelm <none@none>

clarified boundary cases of Document.Node.Name;


# 3776843e 18-Nov-2013 wenzelm <none@none>

maintain document model for all files, with document view for theory only, and special blob for non-theory files;


# ac824e3d 09-Aug-2013 wenzelm <none@none>

cancel_query via direct access to the exec_id of the running query process;


# a7b3c8cc 05-Aug-2013 wenzelm <none@none>

tuned signature -- more uniform treatment of overlays as command mapping;


# c106f8f8 02-Aug-2013 wenzelm <none@none>

maintain overlays within node perspective;
tuned signature;


# 0bad3114 30-Jul-2013 wenzelm <none@none>

allow explicit indication of required node: full eval, no prints;


# f081cbea 29-Jul-2013 wenzelm <none@none>

obsolete;


# c4368b46 13-Jul-2013 wenzelm <none@none>

more rendering for information messages;


# bb405300 10-Jul-2013 wenzelm <none@none>

tuned signature;


# e5fab78f 09-Jul-2013 wenzelm <none@none>

tuned protocol terminology;
tuned signature;


# 214e6101 05-Jul-2013 wenzelm <none@none>

tuned signature;


# 328dbab6 05-Jul-2013 wenzelm <none@none>

explicit module Document_ID as source of globally unique identifiers across ML/Scala;


# 4f5ef9b1 04-Jul-2013 wenzelm <none@none>

separate exec_id assignment for Command.print states, without affecting result of eval;
tuned signature;
tuned;


# fef6c38c 22-May-2013 wenzelm <none@none>

explicit management of Session.Protocol_Handlers, with protocol state and functions;
more self-contained ML/Scala module Invoke_Scala;


# 6223d8c5 14-May-2013 wenzelm <none@none>

tuned signature;


# b5524415 29-Apr-2013 wenzelm <none@none>

clarified module dependencies: avoid Properties and Document introding minimal "PIDE";


# 46957350 26-Mar-2013 wenzelm <none@none>

dockable window for timing information;


# a0dc51b8 27-Feb-2013 wenzelm <none@none>

discontinued obsolete header "files" -- these are loaded explicitly after exploring dependencies;


# 641eea0f 26-Feb-2013 wenzelm <none@none>

discontinued obsolete 'uses' within theory header;


# 3bb096ea 13-Dec-2012 wenzelm <none@none>

more formal class Command.Results;


# 48a4815f 13-Dec-2012 wenzelm <none@none>

more careful handling of Dialog_Result, with active area and color feedback;
more formal type Command.Results;
propagate command results to output, which is required to resolve update of dialog state;
clarified Markup.message: retain uninterpreted messages;


# ac81bbc5 13-Dec-2012 wenzelm <none@none>

identify dialogs via official serial and maintain as result message;
clarified Protocol.is_inlined: suppress result/tracing/state messages uniformly;
cumulate_markup/select_markup depending on command state;
explicit Rendering.output_messages;
tuned source structure;


# e227f727 12-Dec-2012 wenzelm <none@none>

support dialog via document content;


# 19b3945c 10-Dec-2012 wenzelm <none@none>

generalized notion of active area, where sendback is just one application;
some support for graphview via active area;

--HG--
rename : src/Pure/PIDE/sendback.ML => src/Pure/PIDE/active.ML
rename : src/Tools/jEdit/src/sendback.scala => src/Tools/jEdit/src/active.scala


# 95d64a2f 25-Nov-2012 wenzelm <none@none>

Isabelle-specific implementation of quasi-abstract markup elements -- back to module arrangement before d83797ef0d2d;


# 85188fd7 21-Nov-2012 wenzelm <none@none>

tuned whitespace;


# 52061dd3 19-Nov-2012 wenzelm <none@none>

alternative completion for outer syntax keywords;


# 70369ac4 28-Sep-2012 wenzelm <none@none>

support for wrapped XML elements, which allows to preserve full markup tree information in to_XML/from_XML conversion;


# 78f37b67 28-Sep-2012 wenzelm <none@none>

eliminated dead code;


# 8a52b34a 19-Sep-2012 wenzelm <none@none>

earlier treatment of embedded report/no_report messages (see also 4110cc1b8f9f);


# 6cec8932 18-Sep-2012 wenzelm <none@none>

more explicit message markup and rendering;


# 748113e2 31-Aug-2012 wenzelm <none@none>

clarified command status (again);


# a2d3d8d9 31-Aug-2012 wenzelm <none@none>

further refinement of command status, to accomodate forked proofs;


# 3dcdd111 30-Aug-2012 wenzelm <none@none>

refined status of forked goals;


# cff3c227 20-Aug-2012 wenzelm <none@none>

added keyword kind "thy_load" (with optional list of file extensions);


# a80f35c3 10-Aug-2012 wenzelm <none@none>

apply all text edits to each node, before determining the resulting doc_edits -- allow several iterations to consolidate spans etc.;
expand Clear edit before sending to prover;
at most one full reparse of each node;


# 3bb93853 07-Aug-2012 wenzelm <none@none>

simplified Document.Node.Header -- internalized errors;


# 370b2d0e 06-Aug-2012 wenzelm <none@none>

tuned signature -- slightly more abstract text representation of prover process;


# 01e91988 18-Apr-2012 wenzelm <none@none>

more robust Sendback handling: JVM/jEdit paranoia for case matching, treat Pretty body not just XML.Text, replace proper_range only (without trailing whitespace);


# 0e1b8136 07-Apr-2012 wenzelm <none@none>

added static command status markup, to emphasize accepted but unassigned/unparsed commands (notably in overview panel);


# 40c795bc 06-Apr-2012 wenzelm <none@none>

discontinued obsolete last_execs (cf. cd3ab7625519);


# 7f819834 06-Apr-2012 wenzelm <none@none>

discontinued Document.update_perspective side-entry (cf. 546adfa8a6fc) -- NB: re-assignment is always necessary due to non-monotonic cancel_execution;


# b8d5218a 05-Apr-2012 wenzelm <none@none>

less aggressive discontinue_execution before document update, to avoid unstable execs that need to be re-assigned;


# 06f1ad80 14-Mar-2012 wenzelm <none@none>

some support for outer syntax keyword declarations within theory header;
more uniform Thy_Header.header as argument for begin_theory etc.;


# bda60719 13-Mar-2012 wenzelm <none@none>

clarified command state -- markup within proper_range, excluding trailing whitespace;


# 58501f84 04-Mar-2012 wenzelm <none@none>

clarified special eol treatment and moved to gfx_range -- enables error messages at end of input, e.g. "prop PROP";


# 718b4da9 03-Mar-2012 wenzelm <none@none>

retain original "uses" (again) -- still required for Thy_Load.use_file etc. in ML (notably for maintaining required/provided);
tuned;


# 819eff14 01-Mar-2012 wenzelm <none@none>

Symbol.encode header edits;


# b3ab81c5 29-Feb-2012 wenzelm <none@none>

clarified module Thy_Load;
more precise graph based on Document.Node.Deps with actual Node.Name dependencies;


# f3e3d746 26-Feb-2012 wenzelm <none@none>

include warning messages in node status;


# e61fd861 15-Jan-2012 wenzelm <none@none>

more precise rendering of overview_color/gutter_message/squiggly_underline based on cumulation of command status and warning/error messages;


# b42d6165 14-Jan-2012 wenzelm <none@none>

tuned comments;


# 3115e9ec 14-Jan-2012 wenzelm <none@none>

clarified partial restrict operation;


# 95b709c5 09-Jan-2012 wenzelm <none@none>

command status color via regular markup;


# e55b3498 05-Jan-2012 wenzelm <none@none>

prefer raw_message for protocol implementation;


# 0c7f4273 01-Dec-2011 wenzelm <none@none>

clarified modules (again) -- NB: both Document and Protocol are specific to this particular prover;

--HG--
rename : src/Pure/PIDE/isabelle_document.ML => src/Pure/PIDE/protocol.ML
rename : src/Pure/PIDE/isabelle_document.scala => src/Pure/PIDE/protocol.scala