Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
ProofScriptParser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sarah.grebing
ProofScriptParser
Commits
3f8fd8a6
Commit
3f8fd8a6
authored
May 30, 2018
by
Sarah Grebing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor bugfix
parent
50f70803
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
9 deletions
+22
-9
rt-key/src/main/java/edu/kit/iti/formal/psdbg/interpreter/KeYProofFacade.java
.../edu/kit/iti/formal/psdbg/interpreter/KeYProofFacade.java
+1
-1
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controller/DebuggerMain.java
...edu/kit/iti/formal/psdbg/gui/controller/DebuggerMain.java
+7
-3
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controls/FileReloadingService.java
...t/iti/formal/psdbg/gui/controls/FileReloadingService.java
+8
-5
website/docs/index.md
website/docs/index.md
+6
-0
No files found.
rt-key/src/main/java/edu/kit/iti/formal/psdbg/interpreter/KeYProofFacade.java
View file @
3f8fd8a6
...
...
@@ -63,7 +63,7 @@ public class KeYProofFacade {
private
SimpleObjectProperty
<
Contract
>
contract
=
new
SimpleObjectProperty
<>();
/**
* BooleanProperty in
id
cating whether KeY finished loading
* BooleanProperty in
di
cating whether KeY finished loading
*/
private
BooleanBinding
readyToExecute
=
proof
.
isNotNull
();
...
...
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controller/DebuggerMain.java
View file @
3f8fd8a6
...
...
@@ -349,9 +349,13 @@ public class DebuggerMain implements Initializable {
BooleanBinding
disableStepping
=
FACADE
.
loadingProperty
().
or
(
FACADE
.
proofProperty
().
isNull
()).
or
(
model
.
interpreterStateProperty
().
isNotEqualTo
(
InterpreterThreadState
.
WAIT
));
FACADE
.
loadingProperty
().
addListener
((
observable
,
oldValue
,
newValue
)
->
{
scriptController
.
disablePropertyForAreasProperty
().
set
(
newValue
);
//set scriptareas to disable if loading is in process, as otherwise the scriptarea jumps
FACADE
.
readyToExecuteProperty
().
addListener
((
observable
,
oldValue
,
newValue
)
->
{
scriptController
.
disablePropertyForAreasProperty
().
set
(!
newValue
);
});
/* model.statePointerProperty().addListener((observable, oldValue, newValue) -> {
//set all steppings -> remove binding
...
...
@@ -766,7 +770,7 @@ public class DebuggerMain implements Initializable {
task
.
setOnFailed
(
event
->
{
statusBar
.
stopProgress
();
event
.
getSource
().
exceptionProperty
().
get
();
System
.
out
.
println
(
"event.getSource().getMessage() = "
+
event
.
getSource
().
getMessage
());
Utils
.
showExceptionDialog
(
"Could not load sourceName"
,
"Key sourceName loading error"
,
""
,
(
Throwable
)
event
.
getSource
().
exceptionProperty
().
get
()
);
...
...
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controls/FileReloadingService.java
View file @
3f8fd8a6
...
...
@@ -101,13 +101,16 @@ public class FileReloadingService extends TimerTask {
Path
child
=
dir
.
resolve
(
filename
).
toAbsolutePath
();
try
{
String
content
=
FileUtils
.
readFileToString
(
child
.
toFile
(),
Charset
.
defaultCharset
());
CONSOLE_LOGGER
.
info
(
"Auto-reload {}"
,
child
);
Platform
.
runLater
(()
->
{
if
(
callbacks
.
get
(
child
)!=
null
)
{
File
file
=
child
.
toFile
();
if
(
file
!=
null
)
{
String
content
=
FileUtils
.
readFileToString
(
file
,
Charset
.
defaultCharset
());
CONSOLE_LOGGER
.
info
(
"Auto-reload {}"
,
child
);
Platform
.
runLater
(()
->
{
if
(
callbacks
.
get
(
child
)
!=
null
)
{
callbacks
.
get
(
child
).
fileChanged
(
content
);
}
});
});
}
}
catch
(
IOException
e
)
{
CONSOLE_LOGGER
.
catching
(
e
);
}
catch
(
NullPointerException
npe
){
...
...
website/docs/index.md
View file @
3f8fd8a6
...
...
@@ -205,6 +205,12 @@ interactive rule applications.
</div>
<div
style=
"clear: both;"
/>
<h2>
Usage Notes
</h2>
Terms in KPS are enquoted using backticks
`
.
Entering these in the editor of PDBG requires a
keyboard layout with the option "no dead keys" enabled.
If this is not possible the terms can be entered by using the shortcut Ctrl+E
which adds a pair of backticks to the cursor position.
<h2>
Downloads
</h2>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment