Joachim Klein
382aa51de3
FileSetting: On-first-use allocation of file selector
The FileSetting object stores a FileSelector, which is allocated
using defaultSelector() during construction. It can also be set via setFileSelector().
To avoid constructing a FileSelector (and thus call into the Swing/AWT Java package) in
headless / command-line mode, we allocate the default selector on first use, i.e.,
whenever the selector is null in a call to getFileSelector().
8 years ago
Joachim Klein
fbcf55aa63
GUI renderers/editors: Move from static allocation to allocation on first use
Currently, most of the Setting classes construct a SettingRenderer and SettingEditor statically, for use in the GUI.
When running PRISM from the command-line (PrismCL), we make sure to run Java in headless mode and generally those calls then don't matter.
If there are problems with the AWT configuration, there can be exceptions even for PrismCL. So, here, we
switch from static allocation on class loading to static allocation on first use of getSettingsEditor() and getSettingsRenderer().
8 years ago
Joachim Klein
5adb550043
Makefiles: inhibit parallel building (-j n mode)
Currently, building PRISM with parallel building does not work,
as there are dependencies between targets that are not fully
encoded in the Makefiles. Building with -j n flag would lead to error.
Now, we add the .NOTPARALLEL target to most of the Makefiles,
which tell GNU make to ignore the -j flag. Note that this
only inhibits parallel builds for the current Makefile, we
thus have to specify it for all sub-Makefiles as well
(see https://www.gnu.org/software/make/manual/html_node/Parallel.html )
For the external libraries, CUDD and LPSolve don't seem to mind building
in parallel, so we don't inhibit there and can get some minor compile time
speed-up by using multiple cores if the -j option is specified.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12202 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
e138c51891
GUI, settings dialog: Make the comment area at the bottom vertically scrollable.
This allows display of longer comment text for a given setting.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12147 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Dave Parker
a75ee46e89
FileSetting: Only create editor/render when needed, i.e., only from the GUI, not command-line.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11999 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Dave Parker
13cce4f8da
Bug fix: new long setting for simulator max path not read properly (shows up in GUI).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7803 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
02c26dbf53
Update simulator to allow path lengths over 2^31.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7785 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
52e384b8c5
Undo some recent tidies to retain java 6 compatibility.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7252 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
9673f00c6a
Miscellaneous code tidying + warning fixes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6927 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
07bf18a2f4
Fix makefiles with easier setup of classpath using * for jars.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4889 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
21f8253a82
Bugfix: headless mode
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4572 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Vojtech Forejt
e3f6e64e7a
package-info.java is ignored in makefiles
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4380 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
35f377ab3e
Improved documentation (JavaDoc mostly).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2436 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
37f9cf9325
Javadoc fixes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2262 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
d199d035ed
Integration of prism-explicit branch into trunk, i.e. merge of trunk@1015-prism-explicit@1405 into trunk.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1406 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
e3f6726150
Bugfix: Solves HEADLESS crash on Macs.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1349 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
84bc3d3d47
Eclipse tidy (remove unused imports).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@661 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Dave Parker
2179deefdb
Updated email addresses and affiliations in copyright info.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@547 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
c054c3d19f
Updates to various GUI components for better behaviour under font size changes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@515 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
6a908bc1ba
New icon set.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@441 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
1b6b8a1f6d
Merged jfreechart port into trunk.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@436 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
8f8565a579
Removed redundant testing code.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@255 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
5ef3824832
Rearrangement and tidy-up of copyright/license info in file headers.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@253 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
879caec698
Added wrapping to MultipleLineStringEditor, e.g. in graph title setting.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@141 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
ae64d59ad7
Added wrapping to MultipleLineStringEditor, e.g. in graph title setting.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@140 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
1373c483ae
Changed a dubious string constant to stop compiler warnings.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@128 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Mark Kattenbelt
e4cfeae25f
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@100 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
b4220c1c2e
PRISM now updates settings file if newer version, updating some values if necessary.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@96 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
20a6be968b
Removal of explicit lists of Java/C++ files from Makefiles (we are reliant on GNU make anyway).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@83 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
e177915ca5
Fixed various dialogs so that they centre on their window parent.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@60 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
b54050a199
PRISM trunk layout rearrangement.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago