Cas Cremers
3a6041ccac
Conversion to python3, using 2to3.
2020-10-27 22:09:03 +01:00
Thomas Fleming
44e5e340be
Fix deprecated class usage and function calls.
2020-02-25 22:50:08 +01:00
Christophe Kamphaus
94f7b2ce43
Added standard keyboard shortcuts for closing windows
2016-02-28 23:18:21 +01:00
Cas Cremers
b6517dd41e
BUGFIX: Fixing font selection commands for wxPython.
...
The previous way of selecting fonts was an obsolete hack. Some recent versions of wxPython
ran into problems. Now updated to reflect the correct wxPython font selection conventions.
Bug report and fix suggestion by S. Dismore.
2014-01-31 11:31:41 +00:00
Cas Cremers
d06247fcfe
Updating time stamps for next release.
2013-10-05 23:56:12 +01:00
Cas Cremers
fe364fbe9d
GUI: Canceling verification now also kills back-end thread.
...
Previously, pressing 'cancel' in the verification window would leave a dangling scyther backend process.
Now the process gets correctly killed.
The following changes enable this:
- External processes are no longer invoked through the shell (otherwise they are subprocesses of the shell and cannot be reliably killed cross-platform).
- The 'safeCommand' procedure now has a hook for passing opened Popen objects.
- The GUI stores and kills the Popen objects on cancel or window close.
To do: an alternative interface for this in 'safeCommand' could expose a 'killMe' method through a callback; this might be cleaner in the long term.
2013-06-30 23:14:28 +02:00
Cas Cremers
9b0915441f
Synchronising MPA branch with compromise branch where possible.
2012-04-25 17:03:51 +02:00
Cas Cremers
1cbe9826ac
Updated dates.
2012-04-24 13:56:51 +02:00
Cas Cremers
b6ab044cd6
BUGFIX: 'Default' color not known to newer wxPython versions.
...
The statement was redundant anyway.
2012-04-09 21:14:41 +02:00
Cas Cremers
2a2a087cf6
GUI BUGFIX: On some file systems, problems with case-insensitivity and name clash between sys module and local.
2009-04-30 15:06:28 +02:00
Cas Cremers
e3268bb8e5
GUI: Added a large set of possible output formats to the right-click menu.
...
To do: We still need better error handling.
- File exists: overwrite?
- Write failed popup.
- Check for empty file at the end (what if dot does not support this particular
output format?)
2008-08-29 12:05:06 +02:00
Cas Cremers
8471f13da3
Added 'prune' switch support in GUI.
...
Allows to use the 'stop at first attack' feature of the backend.
2008-08-29 12:05:00 +02:00
Cas Cremers
b352044f92
BUGFIX: PIL is tested at the start of the program.
...
Previously, one would get one void verification result before Scyther detected
PIL was not working. Now nothing is wasted.
2008-08-26 21:52:00 +02:00
Cas Cremers
76bf6328b6
Nicer crash handling for PIL problem with a warning etc.
2008-08-21 21:57:22 +02:00
Cas Cremers
9605d5e772
Introduced "all attacks" switch in GUI, and a bugfix.
...
Passing the '--all-attacks' switch to the backend was not working. The reason
was the hack to get Vista working hardcoded cutting to the last attack found.
In the long term, this needs to be cleaned up, and cutting should be moved back
nicely to the Scyther C code where it used to work. Once done, switches.useAttackBuffer
can be set back to true.
BUGFIX: When cutting attacks/patterns, counts are no longer exact.
2008-07-30 00:14:10 +02:00
Cas Cremers
f901951e4b
Added GPL 2 to the Python scripts.
2007-06-11 14:12:33 +02:00
Cas Cremers
d5ba325233
Workaround for strange wxPython display error.
...
Since a while, wxPython has been refusing to correctly display strings with a dash in them in the staticText object. Given a string "xx-yy", only "xx" is displayed. This caused some problems for protocols with dashes in their protocol names. I've worked around it by replacing all occurrences of "-" by "_".
2007-05-29 16:39:25 +02:00
Cas Cremers
38a5d04c8c
- Fix to the reverter.
2007-05-21 13:32:57 +02:00
Cas Cremers
38f1bffcef
- Reverted version of beta7 for testing.
2007-05-21 13:29:33 +02:00
Cas Cremers
173b1e8d41
Merge branch 'stable' of ssh://cas@roivas.shape9.nl/export/git/scyther-develop/
...
Conflicts:
gui/Gui/Scytherthread.py
2007-05-19 23:38:10 +02:00
Cas Cremers
3dfb8d6173
- Fixed font settings for Unix.
2007-05-19 15:43:57 +02:00
Cas Cremers
f47c1e7e5e
- Factored out the safe external command process. It turns out that the shell should not be used under windows Popen, but on the other hand is must be used under Linux.
2007-05-19 15:32:58 +02:00
Cas Cremers
23931281d0
- Font problems seem to be partially fixed on windows. Note that the font is not found, so rendering is ugly, but at least the text does not flow over the boxes anymore.
2007-05-19 15:19:02 +02:00
Cas Cremers
688416a351
- Rewrite subprocess access to the newer subprocess.Popen module. This seems to work just fine for Windows XP, at least.
2007-05-19 14:29:32 +02:00
Cas Cremers
ee5d0cbfe8
- Reverted a patch for the fonts.
2007-05-18 14:17:24 +02:00
Cas Cremers
ef2af6b097
- Removed font print debugging information.
2007-05-18 14:12:32 +02:00
Cas Cremers
1542d65def
- Big catchup commit to make sure we are up to beta7.
...
This includes a number of single patches, ranging from the vista fix with the buffers, to the start of many new minor features.
2007-05-18 14:06:29 +02:00
ccremers
6e82d585be
- Errors now get a nice colour
2007-01-31 15:45:05 +00:00
ccremers
33df1ccb5b
- Enabled Scintilla editor
2007-01-29 16:32:35 +00:00
ccremers
df62d65d5c
- Fixes to error output
2007-01-29 15:17:11 +00:00
ccremers
70a718807e
- Improved error handling: any Scyther errors now raise an exception.
...
This can be dealt with accordingly. If no error occurs, we can just
nicely assume the output is a claim list or something similar.
2007-01-27 21:42:16 +00:00
ccremers
1ecc43e9d6
- Fixes to font things.
2007-01-10 14:30:52 +00:00
ccremers
38dd697f41
- Bug seems to be resolved!
2006-12-14 20:32:24 +00:00
ccremers
4e2b7c405b
- Improved error handling.
2006-12-14 14:06:50 +00:00
ccremers
2886e1a7e5
- Hopefully improved the attack displays. Needs checking.
2006-12-13 15:43:10 +00:00
ccremers
4750f1b309
- Thread rewrite for improved stability
2006-12-13 11:59:44 +00:00
ccremers
cf45f8780b
- Wider boxes.
2006-08-12 12:37:08 +00:00
ccremers
a517d729ef
- Added separate about box.
2006-08-11 10:43:28 +00:00
ccremers
2126cf01f4
- Moved okay status thing also to claims.
2006-08-11 09:58:20 +00:00
ccremers
9ce483095d
- Refactoring, explanations, added button.
2006-08-11 09:41:12 +00:00
ccremers
ddb9e11ac5
- Improved settings window.
2006-08-11 08:54:43 +00:00
ccremers
4b98120da9
- Improved refactoring, layout.
2006-08-11 08:34:22 +00:00
ccremers
f9ece7d497
- Some improvements in interpretation of claim ranks
2006-08-10 16:15:38 +00:00
ccremers
97b08c0c48
- Added more colour states, better refactoring
2006-08-10 15:48:12 +00:00
ccremers
10840031ca
- Added more colour states
2006-08-10 15:39:09 +00:00
ccremers
e927056c06
- Better claim description and better factoring
2006-08-10 15:26:15 +00:00
ccremers
74626bd846
- Improved dot output significantly
2006-08-10 14:50:55 +00:00
ccremers
4ba0a0f4d8
- Improved dot output significantly
2006-08-10 14:50:10 +00:00
ccremers
fd57699fd3
- Improved dot output significantly
2006-08-10 14:48:21 +00:00
ccremers
3217f02dd4
- Improved dot output significantly
2006-08-10 14:45:00 +00:00