Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Caching the view content for better performance #496

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
20ed19d
add custom key bindings
May 24, 2023
d8d7eb1
add start / end
May 25, 2023
f2ae17b
highlight current node
May 25, 2023
3a47f84
only consider cut nodes
May 25, 2023
1c392cd
Merge 3a47f848f994b61cb341d98f23a28c86ce0a468a into ce5421ac331f0e191…
iFrostizz May 25, 2023
22e9799
Set Version: 0.1.306
May 25, 2023
372aa8d
remove highlight on click away
May 25, 2023
4534ad4
order nodes by branching
May 25, 2023
e64226c
bump textual, update to breaking changes
Jun 5, 2023
b01ca34
Merge branch 'textual-bump' into kcfg-key
Jun 5, 2023
074c40f
Merge b01ca34432db93c877f721e9564c5c89163a53a6 into 174ce21c9db642166…
iFrostizz Jun 5, 2023
7f0fbb4
Set Version: 0.1.318
Jun 5, 2023
e70d190
Merge 7f0fbb472b86ca3ae8baba660031c17426faba86 into 174ce21c9db642166…
iFrostizz Jun 5, 2023
371e7b3
Set Version: 0.1.319
Jun 5, 2023
6fc7470
conflicts
Jun 5, 2023
0e2233d
Merge branch 'kcfg-key' of github.com:runtimeverification/pyk into kc…
Jun 5, 2023
0696cc4
Merge 0e2233d25346844b2051c2987499eac508056a49 into 174ce21c9db642166…
iFrostizz Jun 5, 2023
ca23ed6
Set Version: 0.1.318
Jun 5, 2023
85ab501
Merge ca23ed63c451c96ed79bdaaa915e73e7e1a99123 into 174ce21c9db642166…
iFrostizz Jun 5, 2023
d388ca1
Set Version: 0.1.319
Jun 5, 2023
8f631ce
adapt to textual ver
Jun 5, 2023
20ff149
Merge branch 'kcfg-key' of github.com:runtimeverification/pyk into kc…
Jun 5, 2023
379489e
Merge 20ff149030b9d083a5e909ab11a82ac84c021ae9 into fefe75d0f277b8575…
iFrostizz Jun 5, 2023
d07d63c
Set Version: 0.1.320
Jun 5, 2023
a3cc222
center view
Jun 5, 2023
e772742
Merge branch 'kcfg-key' of github.com:runtimeverification/pyk into kc…
Jun 5, 2023
6de08b4
change window no visual
Jun 5, 2023
1026657
move in windows
Jun 5, 2023
bc9b138
focus window
Jun 13, 2023
3c1dcd8
support non-node kcfg element
Jun 13, 2023
cdeac1b
support for selecting any kcfg element
Jun 14, 2023
6fcec55
scroll sideway
Jun 14, 2023
b89539e
pass quality checks
Jun 14, 2023
9ba9da7
Merge branch 'master' into kcfg-key
Jun 14, 2023
d84eb70
Merge 9ba9da7122a8770536fa953f3769200a898d3a5a into e3ef933ba128cc6cc…
iFrostizz Jun 14, 2023
c2cab64
Set Version: 0.1.331
Jun 14, 2023
ee9fbac
remove comment
Jun 14, 2023
4c2f759
Merge branch 'kcfg-key' of github.com:runtimeverification/pyk into kc…
Jun 14, 2023
2274700
pass code checks
Jun 14, 2023
f3cc8ef
cache views
Jun 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.330
0.1.331
411 changes: 233 additions & 178 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pyk"
version = "0.1.330"
version = "0.1.331"
description = ""
authors = [
"Runtime Verification, Inc. <contact@runtimeverification.com>",
Expand All @@ -18,7 +18,7 @@ filelock = "^3.9.0"
graphviz = "^0.20.1"
psutil = "^5.9.4"
pybind11 = "^2.10.3"
textual = "^0.10.1"
textual = "^0.27.0"
tomli = "^2.0.1"

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/pyk/cterm.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def remove_useless_constraints(cterm: CTerm, keep_vars: Iterable[str] = ()) -> C
for c in cterm.constraints:
if c not in new_constraints:
new_vars = free_vars(c)
if any([v in used_vars for v in new_vars]):
if any(v in used_vars for v in new_vars):
new_constraints.append(c)
used_vars.extend(new_vars)
used_vars = list(set(used_vars))
Expand Down
12 changes: 7 additions & 5 deletions src/pyk/kcfg/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
}
#behavior {
height: 1fr;
border: solid;
overflow-x: auto;
overflow-y: auto;
}
Expand All @@ -25,22 +24,19 @@
}
#info-view {
height: 2fr;
border: solid;
border: solid dimgrey;
overflow: auto scroll;
}
#term-view {
height: 15fr;
border: solid;
overflow: auto scroll;
}
#constraint-view {
height: 5fr;
border: solid;
overflow: auto scroll;
}
#custom-view {
height: 15fr;
border: solid;
overflow: auto scroll;
}
#info {
Expand All @@ -59,3 +55,9 @@
width: auto;
height: auto;
}
.selected {
border: solid white;
}
.deselected {
border: solid dimgrey;
}
Loading