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

763 commits

Author SHA1 Message Date
Shlomi Fish
c4a9833932 Downgraded the version to 2.1.0. 2017-11-15 23:39:32 +02:00
Shlomi Fish
f103cbdcf2 pre prerelease fixes.
Got make rpm to work again.
2017-11-15 23:27:03 +02:00
Shlomi Fish
76580b7a3f Extract a method. 2017-11-13 22:27:43 +02:00
Shlomi Fish
4ad3f0f889 Extract a base class/trait for some games. 2017-11-13 21:38:34 +02:00
Shlomi Fish
6cfd8d351e Extract more common methods. 2017-11-09 21:40:42 +02:00
Shlomi Fish
184d4e32db Extract method. 2017-11-09 21:24:35 +02:00
Shlomi Fish
4f2b28e017 Extract another method. 2017-11-09 19:20:41 +02:00
Shlomi Fish
4fc37276aa Extract _startDealNumRows(). Refactoring. 2017-11-09 19:06:59 +02:00
Shlomi Fish
aa72842042 Refactoring more into _dealNumRows. 2017-11-09 18:48:59 +02:00
Shlomi Fish
dd2f0ab0e1 Continue refactoring. 2017-11-09 18:41:41 +02:00
Shlomi Fish
1fda22efbe Start extracting _dealNumRows().
A common pattern in the code.
2017-11-09 18:07:15 +02:00
Shlomi Fish
38bfb88971 Made the new flake8 and travis happier.
Fix the warnings.
2017-11-04 20:15:52 +02:00
Shlomi Fish
5c85816641 Remember the solver's max iterations setting.
See https://github.com/shlomif/PySolFC/issues/38 .
2017-11-04 18:18:13 +02:00
Shlomi Fish
de93df2de7 flake8 and other tests. 2017-09-18 16:37:02 +03:00
Shlomi Fish
e0efb8a02c flake8 2017-09-18 15:57:16 +03:00
Shlomi Fish
86b243ad53 flake8 2017-09-18 15:37:05 +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
1dec576b1a Add persistence for solver show progress.
See https://github.com/shlomif/PySolFC/issues/38 :

<<<
Currently the solver dialog (Assist → Solver when playing Freecell or
other supported games) does not remember its "Preset" , "Max Iterations"
and "Show Progress" settings - either across sessions of PySol or even
after closing and invoking it again. It should remember those but note
that it should not remember the "Game" setting because one can switch to
a different game.
>>>
2017-08-25 22:28:25 +03:00
Shlomi Fish
dbdd0f392c division sanity 2017-08-25 18:25:58 +03:00
Shlomi Fish
e90b48104d Division sanitize. 2017-08-25 18:25:58 +03:00
Shlomi Fish
e1fa5b2adc Try fix demo in freecell.
The color caplculation was wrong in py3. One char fix + tests:

https://github.com/shlomif/PySolFC/issues/42 .
2017-08-25 18:25:58 +03:00
Shlomi Fish
8d9cb53ecc Fix cardset change and similar pickling problems
see https://github.com/shlomif/PySolFC/issues/41 .
2017-08-25 18:25:58 +03:00
Shlomi Fish
03b8abf352 Fix the help display in py3. 2017-08-25 18:25:58 +03:00
Shlomi Fish
aad8429366 Port htmllib to py 3 as pysollib.htmllib2.
The help is somewhat buggy on python 3 still.
2017-08-25 18:25:58 +03:00
Shlomi Fish
779c703709 Convert Canvas.py to Canvas2 under pysollib. 2017-08-25 18:25:58 +03:00
Shlomi Fish
748a287f93 Fix the black-hole solver. 2017-08-25 18:25:58 +03:00
Shlomi Fish
5ac5039687 Convert the Layout_Method to staticmethod()
This way it can be called as before in both python2 and python3.
2017-08-25 18:25:58 +03:00
Shlomi Fish
6b9d5bd0c6 Propagate to the subclasses. 2017-08-25 18:25:58 +03:00
Shlomi Fish
dbf04ad300 fix the tests 2017-08-25 18:25:58 +03:00
Shlomi Fish
cf2cdc156f Cleanups 2017-08-25 18:25:58 +03:00
Shlomi Fish
f40fdfbb82 Remove debug traces and fix the solver dlg. 2017-08-25 18:25:58 +03:00
Shlomi Fish
aa4f9ee5da Crude code to get some func running in py3.
Right now klondike and freecell sort of work, but this is very hacky and
there are many leftover debug traces.
2017-08-25 18:25:58 +03:00
Shlomi Fish
763477d218 Fix SaveAs/Open/etc.
We used the wrong python-six import.
2017-06-02 21:44:17 +03:00
Shlomi Fish
0cb1d4431d 2to3 on pysollib/tile/[a-z]*.py 2017-05-24 18:30:11 +03:00
Shlomi Fish
14b8756d56 2to3 on pysollib/tile/t*.py 2017-05-24 18:24:29 +03:00
Shlomi Fish
63e5c97b98 2to3 on pysollib/tile/to*.py 2017-05-24 18:13:40 +03:00
Shlomi Fish
a21e584ad1 2to3 on pysollib/tile/tk*.py 2017-05-24 18:08:40 +03:00
Shlomi Fish
b1181c38f9 2to3 on pysollib/tile/ti*.py 2017-05-24 18:01:40 +03:00
Shlomi Fish
38b9777b1f 2to3 on pysollib/tile/[a-s]*.py 2017-05-24 17:52:57 +03:00
Shlomi Fish
424afcfad3 2to3 on pysollib/tile/se*.py 2017-05-24 17:44:31 +03:00
Shlomi Fish
74e0ff5bf3 2to3 on pysollib/tile/[e-p]*.py 2017-05-24 17:26:51 +03:00
Shlomi Fish
c68f3fcc6f 2to3 on pysollib/tile/[a-c]*.py 2017-05-24 17:21:36 +03:00
Shlomi Fish
e6894094ec 2to3 on pysollib/ui/tktile/*.py 2017-05-24 17:08:05 +03:00
Shlomi Fish
c967ca64b1 2to3 on pysollib/tk/[a-z]*.py 2017-05-22 19:56:00 +03:00
Shlomi Fish
f768b571ad 2to3 on pysollib/tk/[a-s]*.py 2017-05-22 19:42:11 +03:00
Shlomi Fish
8f22447dd7 2to3 on pysollib/tk/[a-m]*.py 2017-05-22 19:12:25 +03:00
Shlomi Fish
d42f362647 2to3 on pysollib/tk/[a-i]*.py 2017-05-22 19:08:47 +03:00
Shlomi Fish
ce6f5613a3 sixify tkfont. 2017-05-22 19:03:18 +03:00
Shlomi Fish
72a2591ec1 Preemptive tkinter conversion to py2/py3.
Using the six module. Did it before 2to3 reports it.
2017-05-22 18:38:20 +03:00
Shlomi Fish
0a56ffe224 2to3 on pysollib/tk/[a-c]*.py 2017-05-22 17:35:20 +03:00