History log of /seL4-l4v-10.1.1/isabelle/src/Pure/PIDE/document.scala
Revision Date Author Comments
# aa9ccd83 31-Jul-2018 wenzelm <none@none>

tuned signature;


# 71da0b67 25-Jun-2018 wenzelm <none@none>

more scalable output;


# 8d7cbd83 11-Jun-2018 wenzelm <none@none>

clarified signature: persistent results;


# 62ac99b4 05-Jun-2018 wenzelm <none@none>

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


# 7fe1580b 03-Jun-2018 wenzelm <none@none>

clarified signature: prefer Document.Snapshot;


# f3689209 31-May-2018 wenzelm <none@none>

clarified: consolidated result is last command;


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

more node status information;


# 983ca773 29-May-2018 wenzelm <none@none>

tuned signature;


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

tuned signature;


# 7ed9bce7 28-May-2018 wenzelm <none@none>

clarified signature: Known.theories retains Document.Node.Entry (with header);


# 72d8ab75 27-May-2018 wenzelm <none@none>

retain isolated blob nodes (amending deb2fcbda16e): avoid failure of Session.handle_change with "Missing blob", when opening theory with load command later;


# 73a9429e 27-May-2018 wenzelm <none@none>

clarified signature -- avoid confusion with Resources.is_hidden;


# 13f2055d 08-May-2018 wenzelm <none@none>

more robust: self-export only;


# 0ca97edd 07-May-2018 wenzelm <none@none>

store exports within PIDE command state;
Markup.Export.unapply: proper NAME;


# 55c886e6 02-May-2018 wenzelm <none@none>

purge history more thoroughly (see also 3156faac30a7);


# d40e1790 24-Mar-2018 wenzelm <none@none>

clarified theory node name;
purge_theories: return purged, retained;
tuned documentation;


# 3304f68a 17-Mar-2018 wenzelm <none@none>

more position information;


# 25a3095d 11-Mar-2018 wenzelm <none@none>

update XML cache for slightly modified messages;


# 9eb37c91 01-Jan-2018 wenzelm <none@none>

tuned signature;


# 8d1c3b6c 28-Dec-2017 wenzelm <none@none>

tuned signature;


# de126fe7 28-Dec-2017 wenzelm <none@none>

implicit thy_load context for bibtex files;


# d4db668d 22-Dec-2017 wenzelm <none@none>

store full blob source for the sake of markup_to_XML;


# 81fabc63 22-Dec-2017 wenzelm <none@none>

PIDE markup for non-theory nodes;


# 1f4e94fa 22-Dec-2017 wenzelm <none@none>

tuned signature;


# f14daec2 21-Dec-2017 wenzelm <none@none>

clarified signature;


# 231312d9 01-Dec-2017 wenzelm <none@none>

tuned output;


# 78e379fb 01-Dec-2017 wenzelm <none@none>

removed inaccessible blobs from Document.Nodes;


# 7c1c798e 01-Dec-2017 wenzelm <none@none>

purge hidden nodes more thoroughly: is_hidden may become true only later;


# 7a11ac1e 06-Nov-2017 wenzelm <none@none>

tuned signature;


# 508d9f3e 12-Oct-2017 wenzelm <none@none>

more robust: allow Windows file names;


# 7bd1b29d 06-Oct-2017 wenzelm <none@none>

tuned signature;


# ddf7fb1b 29-Sep-2017 wenzelm <none@none>

tuned signature;


# 7127dc49 29-Sep-2017 wenzelm <none@none>

tuned signature;


# 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);


# ff0c5d13 26-Jun-2017 wenzelm <none@none>

proper bootstrap_name (amending b42743f5b595);


# 3af57e48 21-Jun-2017 wenzelm <none@none>

tuned signature;


# 429955ce 19-Jun-2017 wenzelm <none@none>

clarified signature;


# 7584710e 08-Jun-2017 wenzelm <none@none>

tuned signature;


# b85a1e50 08-Jun-2017 wenzelm <none@none>

clarified signature;


# 320ae754 08-Jun-2017 wenzelm <none@none>

HTML preview based on PIDE markup;


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

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


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

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


# 0642aca7 07-Apr-2017 wenzelm <none@none>

more operations;


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

tuned signature;


# b86abb64 06-Apr-2017 wenzelm <none@none>

tuned signature;


# 67778691 03-Apr-2017 wenzelm <none@none>

tuned signature;


# e4674f39 03-Apr-2017 wenzelm <none@none>

simplified direct theory name (again, see also 570ba266f5b5, 2a7f9e79cb28);


# 40c6ccad 02-Apr-2017 wenzelm <none@none>

tuned;


# 6201d164 02-Apr-2017 wenzelm <none@none>

tuned signature;


# 7cea5bd2 20-Mar-2017 wenzelm <none@none>

tuned signature;


# a2081dfe 14-Mar-2017 wenzelm <none@none>

more abstract module Document;


# 7a4055d4 12-Mar-2017 wenzelm <none@none>

clarified current_command: index refers to node content, negative index means first command;


# 65cade08 12-Mar-2017 wenzelm <none@none>

discontinued pointless Text.Length: Javascript and Java agree in old-fashioned UTF-16;


# 10701519 12-Mar-2017 wenzelm <none@none>

tuned;


# c868f18e 11-Mar-2017 wenzelm <none@none>

tuned;


# 7fdd3866 10-Jan-2017 wenzelm <none@none>

support "purge" operation on document model;


# c3c91dc8 09-Jan-2017 wenzelm <none@none>

tuned signature;


# 056b7a4d 07-Jan-2017 wenzelm <none@none>

uniform Document.Model.node_edits (without void edits);


# f50f29f1 07-Jan-2017 wenzelm <none@none>

obsolete;


# b6002fea 07-Jan-2017 wenzelm <none@none>

tuned;


# edbc13ab 06-Jan-2017 wenzelm <none@none>

tuned;


# d3bfc6f1 04-Jan-2017 wenzelm <none@none>

misc tuning and clarification;


# 81780794 05-Jan-2017 wenzelm <none@none>

tuned;


# 036d6e69 05-Jan-2017 wenzelm <none@none>

tuned;


# 302ad5fc 28-Dec-2016 wenzelm <none@none>

clarified modules;


# b56fd855 28-Dec-2016 wenzelm <none@none>

clarified signature: explicit Length to avoid implicit mistakes;


# 52af301a 23-Dec-2016 wenzelm <none@none>

tuned;


# 8891b58f 02-Aug-2016 wenzelm <none@none>

tuned signature -- prover-independence is presently theoretical;


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

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


# 477b8a53 20-Apr-2016 wenzelm <none@none>

reactivated other_id reports (see also db929027e701, 8eda56033203);


# 9c1968b8 18-Apr-2016 wenzelm <none@none>

tuned signature;


# 34e03fee 01-Mar-2016 wenzelm <none@none>

clarified modules;


# 4cab9a1c 19-Sep-2015 wenzelm <none@none>

straight-forward refresh, without special preconditions;
eliminated somewhat expensive eq_content;


# 6efce0fc 25-Aug-2015 wenzelm <none@none>

clarified undefined_blobs: already loaded theories are suppressed;
enabled jedit_auto_resolve (again): e.g. relevant for debugging when following links through source files;


# 74cdc740 15-Aug-2015 wenzelm <none@none>

more robust access to stable tip version: take all pending edits into account, don't assume model for current buffer;


# 94ef994d 12-Aug-2015 wenzelm <none@none>

resolve undefined blobs by default, e.g. relevant for ML debugger to avoid reset of breakpoints after reload;


# f6c83d3a 15-Mar-2015 wenzelm <none@none>

hybrid use of command blobs: inlined errors and auxiliary files;
static check of theory imports;


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

clarified positions of theory imports;


# e98b59cf 15-Jan-2015 wenzelm <none@none>

proper update of perspective after implicit edit due to reparse (e.g. ~~/src/HOL/Nat.thy);


# 7908f989 08-Jan-2015 wenzelm <none@none>

tuned;


# 12cd2504 02-Dec-2014 wenzelm <none@none>

node-specific syntax, with base_syntax as default;
clarified Document_Model.init: convergence of editor events towards buffer-specific token marker;


# e0e8cf48 02-May-2015 wenzelm <none@none>

misc tuning, based on warnings by IntelliJ IDEA;


# 3d24e46c 17-Aug-2014 wenzelm <none@none>

postpone changes in intermediate state between remove_versions/removed_versions, which is important for handle_change to refer to defined items on prover side;


# 9dcf6642 02-Aug-2014 wenzelm <none@none>

more direct access to persistent blobs (see also 8953d4cc060a), avoiding fragile digest lookup from later version (which might have removed unused blobs already);


# 1c5b2120 23-Jul-2014 wenzelm <none@none>

more frugal edits;


# b27fc0d6 23-Jul-2014 wenzelm <none@none>

more explicit treatment of cleared nodes (removal is implicit);


# 4ce9ad9a 23-Jul-2014 wenzelm <none@none>

clarified display;


# 25ad250b 23-Jul-2014 wenzelm <none@none>

clarified display;


# a02b9bf7 23-Jul-2014 wenzelm <none@none>

avoid redundant data structure;


# 6ea51c65 23-Jul-2014 wenzelm <none@none>

more explicit discrimination of empty nodes -- suppress from Theories panel;


# 5e590e1a 23-Jul-2014 wenzelm <none@none>

tuned;


# 3b625abf 23-Jul-2014 wenzelm <none@none>

tuned signature;


# 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;


# ca95d698 24-Apr-2014 wenzelm <none@none>

tuned signature;


# db571274 15-Apr-2014 wenzelm <none@none>

clarified treatment of markup ranges wrt. revert/convert: inflate_singularity allows to retrieve information like language_context more reliably during editing;


# db858fa4 10-Apr-2014 wenzelm <none@none>

ignore other_id reports for now (see 8eda56033203): massive amounts of redirections to 'class' etc. makes it difficult to edit main HOL;
silently ignore excessive reports -- no ambition to detect that situation accurately;


# 4f734489 09-Apr-2014 wenzelm <none@none>

tuned;


# 28ac0b2c 08-Apr-2014 wenzelm <none@none>

tuned signature;


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

simplified Text.Chunk -- eliminated ooddities;
afford strict symbol_index, which is usually empty anyway;


# 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);


# 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;


# ffff3143 04-Apr-2014 wenzelm <none@none>

afford larger full_index, to save a few milliseconds during rendering (notably text_overview);


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

clarified Version.syntax -- avoid guessing initial situation;


# 520907c3 03-Apr-2014 wenzelm <none@none>

more abstract Prover.Syntax, as proposed by Carst Tankink;


# c547a7d9 02-Apr-2014 wenzelm <none@none>

tuned signature -- more explicit iterator terminology;


# 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;


# 866cc1a2 01-Apr-2014 wenzelm <none@none>

more direct command states -- merge_results is hardly ever needed;


# 92f97ae6 31-Mar-2014 wenzelm <none@none>

tuned output;


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

tuned signature -- more static typing;


# 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;


# 41c15472 29-Mar-2014 wenzelm <none@none>

tuned signature;


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

tuned -- avoid code duplication;


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

more frugal merge of markup trees: filter wrt. subsequent query;


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

tuned signature;


# 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;


# 13fecb5e 26-Mar-2014 wenzelm <none@none>

tuned signature -- expose less intermediate information;


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

clarified valid_id: always standardize towards static command.id;


# e359ca52 17-Mar-2014 wenzelm <none@none>

tuned rendering -- avoid flashing background of aux. files that are disconnected from the document model;


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

tuned signature -- more explicit Document.Elements;


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

tuned data structure;


# 7a7c7169 28-Feb-2014 wenzelm <none@none>

tuned;


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

more formal Document.Blobs;
removed junk;


# e2c82ed7 26-Feb-2014 wenzelm <none@none>

tuned output;


# 429844ae 26-Feb-2014 wenzelm <none@none>

tuned output;


# 338aeb93 24-Feb-2014 wenzelm <none@none>

tuned messages;


# c373f1e7 21-Feb-2014 wenzelm <none@none>

tuned signature -- avoid redundancy and confusion of flags;


# 3b52ddc2 21-Feb-2014 wenzelm <none@none>

tuned signature;


# bc4bd17f 21-Feb-2014 wenzelm <none@none>

more general / abstract Command.Markups, with separate index for status elements;
slightly faster Rendering.overview_color;


# 11b6728f 20-Feb-2014 wenzelm <none@none>

cumulate/select wrt. precise elements guard;
tuned signature;


# 5156f281 12-Feb-2014 wenzelm <none@none>

maintain blob edits within history, which is important for Snapshot.convert/revert;


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

more accurate eq_content;


# 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;


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

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


# 7d2bc86f 21-Nov-2013 wenzelm <none@none>

actually expose errors of cumulative theory dependencies;
more informative error messages;


# 0d2c8425 20-Nov-2013 wenzelm <none@none>

ranges of thy_load commands count as visible within perspective;
convert ranges wrt. snapshot -- relevant for outdated situation;


# 2983aed5 19-Nov-2013 wenzelm <none@none>

refer to thy_load command of auxiliary file;


# c7c8c42b 19-Nov-2013 wenzelm <none@none>

clarified Document.Blobs environment vs. actual edits of auxiliary files;
more robust handling of vacuous edits;


# 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;


# 99202eab 18-Nov-2013 wenzelm <none@none>

inline blobs into command, via SHA1 digest;
broadcast all blobs within edit, without storing the result;


# 55416cdc 18-Nov-2013 wenzelm <none@none>

tuned;


# 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;


# f26b7055 17-Nov-2013 wenzelm <none@none>

explicit indication of thy_load commands;


# bdc83696 11-Oct-2013 wenzelm <none@none>

more strict find_command -- avoid invalid hyperlink_command;


# 8db402ed 12-Aug-2013 wenzelm <none@none>

prefer PIDE editor operations;
apply_query: insist in non-outdated snapshot via editor.current_command;
tuned signature;


# 0745bc76 12-Aug-2013 wenzelm <none@none>

central management of Document.Overlays, independent of Document_Model;


# f9a46204 12-Aug-2013 wenzelm <none@none>

tuned -- use Multi_Map;


# bbf6c428 12-Aug-2013 wenzelm <none@none>

tuned signature;


# 92e30ab1 08-Aug-2013 wenzelm <none@none>

proper low-level comparison -- heed warning by Scala compiler;


# e2dc7d8e 07-Aug-2013 wenzelm <none@none>

maintain commands together with index -- avoid redundant reconstruction of full_index;


# 2b5de8a8 07-Aug-2013 wenzelm <none@none>

more elementary list structures for markup tree traversal;


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

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


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

commands with overlay remain visible, to avoid loosing printed output;


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

maintain overlays within node perspective;
tuned signature;


# f24538bf 07-Aug-2013 wenzelm <none@none>

more tight interface for markup cumulate/select: avoid duplicate application, allow to defer decision about definedness;


# b6492ad0 07-Aug-2013 wenzelm <none@none>

tuned signature;


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

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


# 364f54c9 09-Jul-2013 wenzelm <none@none>

tuned;


# 186f3f54 09-Jul-2013 wenzelm <none@none>

more formal type assign_update: avoid duplicate results and redundant update of global State.execs;


# 3b0699f2 09-Jul-2013 wenzelm <none@none>

tuned signature -- NB: Command.read is actually part of Command.eval;


# 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;


# e30bf3d2 03-Jul-2013 wenzelm <none@none>

tuned;


# c9dd6b84 23-Mar-2013 wenzelm <none@none>

structural equality for Command.Results;
more general Command.State.eq_content;


# 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;


# 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;


# 2ef834b8 25-Nov-2012 wenzelm <none@none>

tuned signature -- avoid intrusion of module Path in generic PIDE concepts;


# 19957451 01-Oct-2012 wenzelm <none@none>

removed unused module Blob;


# 59878eba 28-Sep-2012 wenzelm <none@none>

tuned signature;


# ff4caf34 22-Sep-2012 wenzelm <none@none>

accumulate under exec_id as well;


# 81c0cb97 18-Sep-2012 wenzelm <none@none>

some support for inital command markup;
tuned signature;


# aeb8f8a7 13-Sep-2012 wenzelm <none@none>

more efficient painting based on cached result;


# 256af971 24-Aug-2012 wenzelm <none@none>

prefer jEdit file name representation (potentially via VFS);
tuned;


# dbc7684d 13-Aug-2012 wenzelm <none@none>

even more defensive path expansion (see also 8d381fdef898);


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

simplified Document.Node.Header -- internalized errors;


# 41a5072b 07-Aug-2012 wenzelm <none@none>

tuned signature;


# 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);


# fb1cd7ff 17-Mar-2012 wenzelm <none@none>

misc tuning to accomodate scala-2.10.0-M2;


# ef975ca4 15-Mar-2012 wenzelm <none@none>

more recent recent_syntax, e.g. relevant for document rendering during startup;


# f55968fd 15-Mar-2012 wenzelm <none@none>

basic support for outer syntax keywords in theory header;


# 25e48634 15-Mar-2012 wenzelm <none@none>

maintain Version.syntax within document state;
clarified Outer_Syntax.empty vs. Outer_Syntax.init, which pulls in Isabelle_System symbol completions;


# 222a3226 15-Mar-2012 wenzelm <none@none>

explicit Outer_Syntax.Decl;


# 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.;


# 58cbfd9c 04-Mar-2012 wenzelm <none@none>

removed obsolete proper_command_at (cf. 03a2dc9e0624);


# 78fc3203 01-Mar-2012 wenzelm <none@none>

clarified document nodes (full import graph) vs. node_status (non-preloaded theories);
tuned;


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

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


# 9adedc3b 27-Feb-2012 wenzelm <none@none>

more explicit development graph;


# 78b39fdb 27-Feb-2012 wenzelm <none@none>

prefer final ADTs -- prevent ooddities;


# 2845a6fc 26-Feb-2012 wenzelm <none@none>

more abstract class Document.State;


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

more abstract class Document.State.Assignment;


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

tuned signature;


# 6c28c810 26-Feb-2012 wenzelm <none@none>

more abstract class Document.Version;
tuned (NB: Version.nodes is total);


# 9697231a 26-Feb-2012 wenzelm <none@none>

more abstract class Document.Node;


# 198955c3 26-Feb-2012 wenzelm <none@none>

more abstract class Document.History;


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

more abstract class Document.Change;


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

tuned;


# 0bed7012 14-Jan-2012 wenzelm <none@none>

tuned signature;


# 89558c19 12-Jan-2012 wenzelm <none@none>

improved select_markup: include filtering of defined results;


# dbc1aed4 10-Jan-2012 wenzelm <none@none>

clarified Isabelle_Rendering vs. physical painting;
discontinued slightly odd object-oriented Markup_Tree.Cumulate/Select;


# 113875f2 06-Jan-2012 wenzelm <none@none>

accumulate status as regular markup for command range;
tuned signature;


# 93e69700 16-Dec-2011 wenzelm <none@none>

prefer sorting from Scala library;


# fd040c8b 12-Nov-2011 wenzelm <none@none>

index markup elements for more efficient cumulate/select operations;


# a63d7b4c 11-Nov-2011 wenzelm <none@none>

tuned signature;
express select in terms of cumulate;


# b65b3781 12-Nov-2011 wenzelm <none@none>

tuned signature;


# d9af9637 11-Nov-2011 wenzelm <none@none>

added markup_cumulate operator;


# 68e7a0ca 22-Oct-2011 wenzelm <none@none>

class Counter as abstract datatype;


# 8860372d 17-Sep-2011 wenzelm <none@none>

graph traversal in topological order;
Session.snapshot() with sensible defaults;


# ceea376b 17-Sep-2011 wenzelm <none@none>

Document.Node.Name convenience;


# b38107b2 17-Sep-2011 wenzelm <none@none>

more elaborate Node_Renderer, which paints node_name.theory only;


# ac8ff137 03-Sep-2011 wenzelm <none@none>

Document.removed_versions on Scala side;


# fcd39e2c 02-Sep-2011 wenzelm <none@none>

some support to prune_history;
clarified signature: recent_stable is supposed to be always defined;


# 0122b2eb 01-Sep-2011 wenzelm <none@none>

more redable Document.Node.toString;


# 70ae4387 01-Sep-2011 wenzelm <none@none>

tuned signature;


# 5bc0b7a6 01-Sep-2011 wenzelm <none@none>

more abstract Document.Node.Name;
tuned signature;


# c0ffd6e8 31-Aug-2011 wenzelm <none@none>

crude display of node status;
tuned signature;


# 5699f5dd 31-Aug-2011 wenzelm <none@none>

maintain name of *the* enclosing node as part of command -- avoid full document traversal;


# b4e040b3 30-Aug-2011 wenzelm <none@none>

tuned signature;


# be02588e 30-Aug-2011 wenzelm <none@none>

dynamic exec state lookup for implicit position information (e.g. 'definition' without binding);


# 04bba7c8 30-Aug-2011 wenzelm <none@none>

some support for hyperlinks between different buffers;
tuned signature;


# 77e31ba9 26-Aug-2011 wenzelm <none@none>

de-assigned commands also count as changed;


# 3561d3d7 26-Aug-2011 wenzelm <none@none>

tuned Session.edit_node: update_perspective based on last_exec_offset;


# 65e27f63 26-Aug-2011 wenzelm <none@none>

refined document state assignment: observe perspective, more explicit assignment message;
misc tuning and clarification;


# 67a7ec0c 25-Aug-2011 wenzelm <none@none>

maintain last_execs assignment on Scala side;
prefer tables over IDs instead of objects;


# 6c3edda9 25-Aug-2011 wenzelm <none@none>

propagate information about last command with exec state assignment through document model;


# 4908b4c2 25-Aug-2011 wenzelm <none@none>

tuned signature;


# 0ad342b9 25-Aug-2011 wenzelm <none@none>

slightly more abstract Command.Perspective;


# f657219a 24-Aug-2011 wenzelm <none@none>

misc tuning and simplification;


# 84f9d461 24-Aug-2011 wenzelm <none@none>

clarified Document.Node.clear -- retain header (cf. ML version);


# 7fbb34d0 24-Aug-2011 wenzelm <none@none>

clarified norm_header/header_edit -- disallow update of loaded theories;


# 4c2c4b69 24-Aug-2011 wenzelm <none@none>

update_perspective without actual edits, bypassing the full state assignment protocol;
edit_nodes/Perspective: do not touch_descendants here;
propagate editor scroll events via update_perspective;
misc tuning;


# 1fe53e5f 22-Aug-2011 wenzelm <none@none>

propagate editor perspective through document model;


# dce0667a 22-Aug-2011 wenzelm <none@none>

some support for editor perspective;


# 859c4aa6 22-Aug-2011 wenzelm <none@none>

discontinued redundant Edit_Command_ID;


# 4911b352 16-Aug-2011 wenzelm <none@none>

use full .thy file name as node name, which makes MiscUtilities.resolveSymlinks/File.getCanonicalPath more predictable;
more robust treatment of node dependencies;
misc tuning;


# 424e1a73 13-Aug-2011 wenzelm <none@none>

provide node header via Scala layer;
clarified node edit Clear: retain header information;
run_command: node info via document model, error handling within transaction;
node names without ".thy" suffix, to coincide with traditional theory loader treatment;


# 3bef4d3c 13-Aug-2011 wenzelm <none@none>

tuned signature;


# 7ec8339a 13-Aug-2011 wenzelm <none@none>

clarified node header -- exclude master_dir;


# 035cd7df 12-Aug-2011 wenzelm <none@none>

normalized theory dependencies wrt. file_store;


# 1e28a7e4 12-Aug-2011 wenzelm <none@none>

clarified document model header: master_dir (native wrt. editor, potentially URL) and node_name (full canonical path);


# cdf9f330 11-Aug-2011 wenzelm <none@none>

simplified class Thy_Header;


# e18bb4f5 11-Aug-2011 wenzelm <none@none>

uniform treatment of header edits as document edits;


# 6534ebd0 11-Aug-2011 wenzelm <none@none>

explicit datatypes for document node edits;


# 38dc694f 12-Jul-2011 wenzelm <none@none>

more uniform Properties in ML and Scala;


# 2c08f9cd 09-Jul-2011 wenzelm <none@none>

propagate header changes to prover process;
simplified Document case classes;
Document.State.assignments: indexed by Version_ID;


# 552f87d3 09-Jul-2011 wenzelm <none@none>

some support for blobs (arbitrary text files) within document nodes;


# f57d3f4f 07-Jul-2011 wenzelm <none@none>

explicit Document.Node.Header, with master_dir and thy_name;
imitate ML path operations more closely;


# 6505c43a 04-Jul-2011 wenzelm <none@none>

Document.no_id/new_id as in ML (new_id *could* be session-specific but it isn't right now);


# 19d3cd3b 17-Jun-2011 wenzelm <none@none>

select_markup: no filtering here -- results may be distorted anyway;


# ea314bda 17-Jun-2011 wenzelm <none@none>

more explicit error message;
convert/revert range;
tuned;


# 71a8edf7 11-Nov-2010 wenzelm <none@none>

unified type Document.Edit;


# c7e4a091 11-Nov-2010 wenzelm <none@none>

replaced Document.Node_Text_Edit by Document.Text_Edit, with treatment of deleted nodes;
Document_Model.pending_edits: more robust treatment of init, including buffer reload event (jEdit 4.3.2 produces malformed remove/insert that lacks the last character);
tuned;


# d042ec89 25-Sep-2010 wenzelm <none@none>

tuned signature;


# 916852a2 22-Sep-2010 wenzelm <none@none>

Snapshot.convert/revert: explicit error report to isolate sporadic crash;


# b1ef706b 07-Sep-2010 wenzelm <none@none>

concentrate Isabelle specific physical rendering markup selection in isabelle_markup.scala;


# 3d86293a 07-Sep-2010 wenzelm <none@none>

simplified Markup_Tree.select: Stream instead of Iterator (again), explicit Option instead of default;
tuned Snapshot.convert/revert;


# 4fc911ce 01-Sep-2010 wenzelm <none@none>

Document.State.Assignment: eliminated promise in favour of plain values -- signalling is done via event bus in Session;


# 546774d4 31-Aug-2010 wenzelm <none@none>

Node.full_index: allow command spans larger than block_size;


# 3c6ce9bc 31-Aug-2010 wenzelm <none@none>

Document state assignment indicates command change;


# 33c8f757 31-Aug-2010 wenzelm <none@none>

simplified/clarified Document_View.text_area_extension;
tuned Document.Node.block_size, trading some space for better time;


# 46ebda67 30-Aug-2010 wenzelm <none@none>

Document.Node: significant speedup of command_range etc. via lazy full_index;


# 6dbb6870 30-Aug-2010 wenzelm <none@none>

Command.results: ordered by serial number;


# 227bb34a 29-Aug-2010 wenzelm <none@none>

use Future.get_finished where this is the intended meaning -- prefer immediate crash over deadlock due to promises that are never fulfilled;
clarified session signalling;


# b204c228 29-Aug-2010 wenzelm <none@none>

added Document.Snapshot.select_markup, which includes command iteration, range conversion etc.;
Markup_Tree.select: plain Iterator;
misc tuning and simplification;


# d14770a1 28-Aug-2010 wenzelm <none@none>

include Document.History in Document.State -- just one universal session state maintained by main actor;
Session.command_change_buffer: thread actor ensures asynchronous dispatch;
misc tuning;


# 78b325f3 20-Aug-2010 wenzelm <none@none>

tuned signatures;


# 77b4012b 15-Aug-2010 wenzelm <none@none>

some derived operations on Text.Range;


# cdd2dbd0 15-Aug-2010 wenzelm <none@none>

specific types Text.Offset and Text.Range;
minor tuning;


# ca36f368 15-Aug-2010 wenzelm <none@none>

moved Text_Edit to Text.Edit;
tuned;

--HG--
rename : src/Pure/PIDE/text_edit.scala => src/Pure/PIDE/text.scala


# a0545a7d 15-Aug-2010 wenzelm <none@none>

moved History/Snapshot to document.scala;


# ab03f51d 15-Aug-2010 wenzelm <none@none>

more explicit / functional ML version of document model;
tuned;


# 1aa06c58 15-Aug-2010 wenzelm <none@none>

renamed class Document to Document.Version etc.;
renamed Change.prev to Change.previous, and Change.document to Change.current;
tuned;


# 30347bc0 14-Aug-2010 wenzelm <none@none>

more basic Markup.parse_int/print_int (using signed_string_of_int) (ML);
added convenient Markup.Int/Long objects (Scala);
simplified "assign" message format -- explicit version id;
misc tuning and simplification;


# 2945af0a 13-Aug-2010 wenzelm <none@none>

moved Document.text_edits to Thy_Syntax;


# 5de80cbe 14-Aug-2010 wenzelm <none@none>

tuned;


# dd050010 13-Aug-2010 wenzelm <none@none>

explicit Document.State value, instead of individual state variables in Session, Command, Document;
Session.snapshot: pure value based on Document.State;
Document.edit_texts: no treatment of state assignment here;


# 4b67ce4d 12-Aug-2010 wenzelm <none@none>

more basic notion of unparsed input;


# 8140139a 12-Aug-2010 wenzelm <none@none>

simplified/clarified Change: transition prev --edits--> result, based on futures;
Session.history: plain List instead of somewhat indirect Change.ancestors;
tuned;


# b7655e0e 12-Aug-2010 wenzelm <none@none>

moved snapshot to Session (cf. 96b22dfeb56a);


# cb552c5a 12-Aug-2010 wenzelm <none@none>

Change: eliminated id, which is merely the resulting document id and is only required in joined state anyway;
Document.edit_text: create new document id here;


# 59aa9793 12-Aug-2010 wenzelm <none@none>

clarified "state" (accumulated data) vs. "exec" (execution that produces data);
generic type Document.id (ML) / Document.ID;


# b7e2c404 12-Aug-2010 wenzelm <none@none>

specific command state;


# 2819a8b1 11-Aug-2010 wenzelm <none@none>

consider command state as part of Snapshot, not Document;


# 991ea1c1 11-Aug-2010 wenzelm <none@none>

represent document ids by (long) int, to benefit from the somewhat faster Inttab in ML (LinearSet in Scala is invariably indexed by native object ids);


# 165cf0ad 07-Aug-2010 wenzelm <none@none>

concentrate structural document notions in document.scala;
tuned;


# 46e35a95 06-Aug-2010 wenzelm <none@none>

avoid null in Scala;
tuned comments;


# 111d6ff5 05-Aug-2010 wenzelm <none@none>

explicit Change.Snapshot and Document.Node;
misc tuning and clarification;
Document_View: explicitly highlight outdated command status;


# ef07e3b5 05-Aug-2010 wenzelm <none@none>

simplified/refined document model: collection of named nodes, without proper dependencies yet;
moved basic type definitions for ids and edits from Isar_Document to Document;
removed begin_document/end_document for now -- nodes emerge via edits;
edits refer to named nodes explicitly;


# cd42151d 19-Jul-2010 wenzelm <none@none>

Session: predefined real time parameters;
Document_View: delayed caret handling, for improved reactivity;
selected_command: proper_command_at ignores ignored commands;


# bf7045d1 03-Jul-2010 wenzelm <none@none>

more efficient document model/view -- avoid repeated iteration over commands from start, prefer bulk operations;
misc tuning;


# 14272831 29-May-2010 wenzelm <none@none>

explicit markup for forked goals, as indicated by Goal.fork;
accumulate pending forks within command state and hilight accordingly;
Isabelle_Process: enforce future_terminal_proof, which gives some impression of non-linear/parallel checking;


# 593c658c 24-May-2010 wenzelm <none@none>

@tailrec annotation;


# c075d333 24-May-2010 wenzelm <none@none>

renamed "rev" to "reverse" following usual Scala conventions;


# c0a17a49 22-May-2010 wenzelm <none@none>

parse_spans: cover full range including adjacent well-formed commands -- intermediate ignored and malformed commands are reparsed as well;


# 75219f32 22-May-2010 wenzelm <none@none>

removed timing;


# e534e28c 20-May-2010 wenzelm <none@none>

explicit Command.Status.UNDEFINED -- avoid fragile/cumbersome treatment of Option[State];


# fb33f98a 17-May-2010 wenzelm <none@none>

renamed class Outer_Lex to Token and Token_Kind to Token.Kind;

--HG--
rename : src/Pure/Isar/outer_lex.scala => src/Pure/Isar/token.scala


# 303017c0 08-May-2010 wenzelm <none@none>

removed junk;


# 82d4d541 05-May-2010 wenzelm <none@none>

some rearrangement of Scala sources;

--HG--
rename : src/Pure/Thy/change.scala => src/Pure/PIDE/change.scala
rename : src/Pure/Thy/command.scala => src/Pure/PIDE/command.scala
rename : src/Pure/Thy/document.scala => src/Pure/PIDE/document.scala
rename : src/Pure/General/event_bus.scala => src/Pure/PIDE/event_bus.scala
rename : src/Pure/Thy/markup_node.scala => src/Pure/PIDE/markup_node.scala
rename : src/Pure/Thy/state.scala => src/Pure/PIDE/state.scala
rename : src/Pure/Thy/text_edit.scala => src/Pure/PIDE/text_edit.scala
rename : src/Pure/General/download.scala => src/Pure/System/download.scala
rename : src/Pure/General/swing_thread.scala => src/Pure/System/swing_thread.scala