1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
Commit graph

35 commits

Author SHA1 Message Date
Joe R
e7e9f0ff87 Configure topmost dialogs to not stay on top when PySol loses focus 2025-03-06 22:38:13 -05:00
Joe R
cafdafe047 Add topmost logic to solver dialog 2024-12-24 22:39:45 -05:00
Shlomi Fish
ed18fd8156 Order imports based on flake8-import-order.
Tested on ci. See https://github.com/PyCQA/flake8-import-order . In the
process did some other cleanups and
https://en.wikipedia.org/wiki/Code_refactoring .
2019-01-11 23:55:06 +02:00
Shlomi Fish
77bd206a4e feature: made the current solver preset persistent.
let it stick.
2018-09-01 19:07:00 +03:00
Shlomi Fish
38bfb88971 Made the new flake8 and travis happier.
Fix the warnings.
2017-11-04 20:15:52 +02:00
Shlomi Fish
de93df2de7 flake8 and other tests. 2017-09-18 16:37:02 +03:00
Shlomi Fish
b887d6042b Made flake8 happier.
Removed __all__ and stuff - we use explicit imports now.
2017-09-18 13:04:53 +03:00
Shlomi Fish
38b9777b1f 2to3 on pysollib/tile/[a-s]*.py 2017-05-24 17:52:57 +03:00
Shlomi Fish
6eebf8729d flake8 2017-04-19 12:03:45 +03:00
Shlomi Fish
99ef711af1 Change the licenses headers to please flake8. 2017-04-19 12:03:44 +03:00
Shlomi Fish
dee599c7fd Extract a common base class. 2016-11-13 16:05:11 +02:00
Shlomi Fish
622a035d5b Extract a common method in the base class.
Of solverdialog.
2016-11-10 13:50:16 +02:00
Shlomi Fish
970e37ffe6 Extract a different method in the solverdialogs. 2016-11-10 13:31:17 +02:00
Shlomi Fish
66d91c872c Extract a method in solverdialog.
As a precursor to consolidating the code.
2016-11-10 13:15:18 +02:00
Shlomi Fish
6ffefe1db5 Extract a different method.
As a precursor to extracting a method in the base class.
2016-11-10 13:04:08 +02:00
Shlomi Fish
ab8d445b49 Merge differences between the code. 2016-11-10 12:25:58 +02:00
Shlomi Fish
fe3df986aa Fix some symbol importing bugs. 2016-11-10 01:20:12 +02:00
Shlomi Fish
d229a5a7d4 Extract more common functionality. 2016-11-09 16:41:27 +02:00
Shlomi Fish
1d35f40fc6 Extract a base class for solverdialog. 2016-11-09 16:05:09 +02:00
Shlomi Fish
a73b8911ae Consolidate some code in solverdialog.py.
Todo: extract a common base class and methods.
2016-11-09 15:21:33 +02:00
Shlomi Fish
118a83e6ba Correct to the right import path. 2016-02-13 23:48:33 +02:00
Shlomi Fish
5da836e778 distinguish between intractable and unsolvable. 2014-10-14 11:37:16 +03:00
Shlomi Fish
7f42260031 Remove 'Solving method' from the solver dialog.
The --method parameter affects only the current "soft thread" (= single
scan), may confuse laymen, and should not matter when an aggregate scan
preset or theme is specified, and those are in general superior and more
encouraged for fc-solve beginners and most experts a like. An aggregate
scan explicitly sets the --method for each scan individually, so there.

As a result, I don't see the point of having the 'Solving method' there.
Perhaps in the future, a more comprehensive GUI for editing the fc-solve
command line will be in order, but that may end up something like thess
monstrocities:

* http://www.codinghorror.com/blog/2006/11/this-is-what-happens-when-you-let-developers-create-ui.html

* http://i.stack.imgur.com/cVWub.gif
2012-12-11 17:26:24 +02:00
Shlomi Fish
5dc2edda91 Get rid of gettext in init. 2012-11-25 19:43:46 +02:00
skomoroh
31fa595081 * new config file option: solver_presets
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@269 efabe8c0-fbe8-4139-b769-b5e6d273206e
2011-03-06 17:02:12 +00:00
skomoroh
2744887cd4 * changed comments style
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@243 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-07-22 21:36:22 +00:00
skomoroh
dfe790a101 * changed GPL version to 3
* added config-file option sound_sample_buffer_size
* bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@234 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-06-12 09:32:43 +00:00
skomoroh
890fa91e54 * migration to new ttk (tile) module: http://gpolo.ath.cx:81/projects/ttk_to_tkinter/
* minore improvements of pysolaudio.py

git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@227 efabe8c0-fbe8-4139-b769-b5e6d273206e
2008-06-10 07:23:08 +00:00
skomoroh
6bb2e86dc9 + 7 new games
* improved startup; progressbar has been shown before load/register games
* improved gettext; game names has been translated during registration
* updated russian translation



git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@185 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-20 22:15:07 +00:00
skomoroh
959a14b1eb + 1 new game
* some changes in settings.py: added TITLE, renamed FC_VERSION to VERSION



git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@184 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-05 21:29:11 +00:00
skomoroh
93907151a8 * improved Tile.py
* added `clearlooks' theme for tile-binding
* added dialogs for tile-binding: File Selecton and Color Chooser (for x11)
* refactoring: tile: replaced Tkinter to Tile
* refactoring: tile: removed non-used imports


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@174 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-15 22:01:18 +00:00
skomoroh
9eaeadce61 * fixed scrolling in MfxScrolledCanvas
* added clickable url to About dialog
* many other improvements and bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@173 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-09 21:59:16 +00:00
skomoroh
f704ddd02b + added ngettext support
* updated russian translation


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@164 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-11 21:58:22 +00:00
skomoroh
8766c00a53 + new feature: Solitaire Wizard (tile only yet)
* misc. minor improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@157 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-03 21:21:33 +00:00
skomoroh
5175caf86a + separated demo-mode and solver; solver dialog
+ added statistics progression; statistics progression dialog
+ new animation speed: `medium'; renamed `timer based' to `fast'
+ added flip animation (animatedFlip)
+ added move to waste animation (animatedFlipAndMove)
+ added cancel-drag animation (moveCardsBackHandler)
* improved demo game (snapshots based check for loop)
- removed setting text color from file name
- removed auto generation shadows (too slow)
* optimized menu creation
* changed some keybindings
* updated russian translation
* many bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@138 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-16 23:20:02 +00:00