History log of /seL4-l4v-master/l4v/isabelle/src/Pure/PIDE/markup_tree.scala
Revision Date Author Comments
# 1f5e8f92 15-Jan-2020 wenzelm <none@none>

misc tuning, following hint by IntelliJ;


# 3ee6c0a8 23-Oct-2016 wenzelm <none@none>

discontinued unused / untested distinction of separate PIDE modules;


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

misc tuning, based on warnings by IntelliJ IDEA;


# 18c07e84 26-Sep-2014 wenzelm <none@none>

tuned message;


# 268b5fb9 12-Aug-2014 wenzelm <none@none>

tuned;


# 3be931d9 29-Apr-2014 wenzelm <none@none>

more systematic Isabelle output, like in classic Isabelle/ML (without markup);


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

tuned signature;


# e317268e 29-Mar-2014 wenzelm <none@none>

tuned -- see Text.Range.overlaps(Range);


# fadf2e9a 28-Mar-2014 wenzelm <none@none>

tuned;


# 1f98213c 27-Mar-2014 wenzelm <none@none>

more frugal merge of markup trees: restrict to expected range before checking trivial cases, e.g. relevant for sporadic warnings (eval_exec) within big ML reports (print_exec);


# 733c80bd 27-Mar-2014 wenzelm <none@none>

more frugal merge of markup trees: non-overlapping tree counts as empty;


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


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

tuned signature -- more explicit Document.Elements;


# 38c56433 21-Feb-2014 wenzelm <none@none>

eliminated somewhat pointless elements index (see also f793dd5d84b2, 2b7fed8c9c4ac): less memory and more speed (avoid linear "exists" of 19dffae33cde);


# 2341d17d 20-Feb-2014 wenzelm <none@none>

tuned -- remaining rev_markup is rather short after filter;


# 950ff753 20-Feb-2014 wenzelm <none@none>

clarified markup cumulation order (see also 25306d92f4ad and 0009a6ebc83b), e.g. relevant for completion_context;


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

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


# ffd59da7 20-Feb-2014 wenzelm <none@none>

tuned imports;


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

more elementary list structures for markup tree traversal;


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

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


# 92c95897 12-Jul-2013 wenzelm <none@none>

full merge of Command.State, which enables Command.prints to augment markup as well (assuming that these dynamic overlays are relatively few);


# 919a6e49 04-Apr-2013 wenzelm <none@none>

tuned signature -- avoid intrusion of slightly odd Swing structures into pure Markup_Tree;


# 3c0ac503 30-Dec-2012 wenzelm <none@none>

ignore markup elements over empty body, which are not well-defined within markup tree and fail to work with merge_disjoint (e.g. multiple inlined positions);


# 8b79dad4 15-Dec-2012 wenzelm <none@none>

maintain subtree_elements for improved performance of cumulate operator;


# 85474dbd 15-Dec-2012 wenzelm <none@none>

more formal class Markup_Tree.Elements;


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


# ada189af 27-Sep-2012 wenzelm <none@none>

operations to turn markup into XML;
tuned;


# ed0f1bf9 27-Sep-2012 wenzelm <none@none>

tuned;


# c84f80f9 27-Sep-2012 wenzelm <none@none>

updated to consolidated SortedMap in scala-2.9.x;


# 00829963 20-Sep-2012 wenzelm <none@none>

more direct Markup_Tree.from_XML;


# d4255f6a 20-Sep-2012 wenzelm <none@none>

more direct Markup_Tree.from_XML;


# 0a23cda4 20-Sep-2012 wenzelm <none@none>

tuned signature;


# 397734df 20-Sep-2012 wenzelm <none@none>

tuned;


# e29cff43 18-Sep-2012 wenzelm <none@none>

recover order of stacked markup;


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

tuned message;


# b6d24029 18-Apr-2012 wenzelm <none@none>

flat presentation of collective markup;


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

prefer final ADTs -- prevent ooddities;


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

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


# 69f2a014 09-Jan-2012 wenzelm <none@none>

proper cumulation of bulk arguments;


# 2ec142c0 29-Nov-2011 wenzelm <none@none>

separate compilation of PIDE vs. Pure sources, which enables independent Scala library;


# 2a73801f 28-Nov-2011 wenzelm <none@none>

explicit indication of modules for independent Scala library;


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

index markup elements for more efficient cumulate/select operations;


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

tuned;


# 1599de93 12-Nov-2011 wenzelm <none@none>

more precise type;


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

refined Markup_Tree implementation: stacked markup within each entry;
tuned;


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


# 3ce17cdf 11-Nov-2011 wenzelm <none@none>

tuned;


# 7e15b45b 11-Nov-2011 wenzelm <none@none>

more abstract Markup_Tree;


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

prefer statically typed Text.Markup;


# 809e6130 22-Aug-2011 wenzelm <none@none>

added official Text.Range.Ordering;
some support for text perspective;


# 16933a60 08-Jul-2011 wenzelm <none@none>

tuned signature;


# 80be4c97 23-Jun-2011 wenzelm <none@none>

explicit import java.lang.System to prevent odd scope problems;


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


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


# de4cc198 26-Aug-2010 wenzelm <none@none>

Markup_Tree.select: uniform treatment of root_range wrt. singularities, yielding empty result stream;


# 0372110b 24-Aug-2010 wenzelm <none@none>

Markup_Tree.+: new info tends to sink to bottom, where it is prefered by select;


# 2b0c2651 24-Aug-2010 wenzelm <none@none>

Markup_Tree.select: more straight-forward recursion producing one main stream, avoid fragmentation of parent info due to ignored subtree;
tuned;


# b809b6b2 23-Aug-2010 wenzelm <none@none>

misc tuning of important special cases;


# 030ecf4a 22-Aug-2010 wenzelm <none@none>

tuned Markup_Tree.+ : slightly more expensive version to rebuild rest avoids crash of RedBlack.scala:120 (version Scala 2.8.0), e.g. on the following input:
ML {* fun f x = (x + 1, "aaa") *}


# 026604cd 22-Aug-2010 wenzelm <none@none>

tuned signature;


# b1a2b1a6 22-Aug-2010 wenzelm <none@none>

misc tuning and simplification;


# 0c8441ec 22-Aug-2010 wenzelm <none@none>

renamed Markup_Tree.Node to Text.Info;
Markup_Tree.select: body may depend on full Text.Info, including range;
tuned;


# 7a9e5b55 22-Aug-2010 wenzelm <none@none>

removed obsolete Markup_Tree.flatten/filter;


# 7d36f7c2 20-Aug-2010 wenzelm <none@none>

Markup_Tree.select: misc simplification, proper restriction of parent in subtree;


# eb0200d5 19-Aug-2010 wenzelm <none@none>

alternative constructor for Range singularities;


# 20e5d3da 20-Aug-2010 wenzelm <none@none>

Branches.overlapping: proper treatment of stop_range that overlaps with end;
Markup_Tree.select: allow singularity in parent range specification;


# a6fec303 19-Aug-2010 wenzelm <none@none>

parameterized type Markup_Tree.Node;
Markup_Tree.select: allow arbitrary interpretations, not just filtering;
renamed Text.Range.intersect to Text.Range.restrict -- emphasize that it is not directly related to contains/overlaps;


# 8d66118f 19-Aug-2010 wenzelm <none@none>

added toString methods;


# b159b64d 19-Aug-2010 wenzelm <none@none>

misc tuning and simplification;


# fb03ff23 19-Aug-2010 wenzelm <none@none>

Markup_Tree.select: crude version of stream-based filtering;


# 6b0fc8f8 18-Aug-2010 wenzelm <none@none>

tuned Markup_Tree, using SortedMap more carefully;


# 33051fbd 18-Aug-2010 wenzelm <none@none>

more efficient Markup_Tree, based on branches sorted by quasi-order;
renamed markup_node.scala to markup_tree.scala and classes/objects accordingly;
Position.Range: produce actual Text.Range;
Symbol.Index.decode: convert 1-based Isabelle offsets here;
added static Command.range;
simplified Command.markup;
Document_Model.token_marker: flatten markup at most once;
tuned;

--HG--
rename : src/Pure/PIDE/markup_node.scala => src/Pure/PIDE/markup_tree.scala