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
b7161a6632
Hopefully fix travis #3 - --upgrade six
2017-08-25 18:25:58 +03:00
Shlomi Fish
4ea1d12ff7
Hopefully fix travis #3 - /usr
2017-08-25 18:25:58 +03:00
Shlomi Fish
baf6c58876
Hopefully fix travis #3 - sudo
2017-08-25 18:25:58 +03:00
Shlomi Fish
325df68d7b
Hopefully fix travis #2
2017-08-25 18:25:58 +03:00
Shlomi Fish
a5f9a2c83e
Hopefully fix travis
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
fcdbbfbae7
test for py3 importing of modules.
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
0417068664
Clarify regarding debian error.
2017-07-26 12:46:38 +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
0a1d91ca76
Install latest ver of six.py.
...
To try to please travis-CI.
2017-05-22 20:34:09 +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
Shlomi Fish
ec17c0743c
Remove some unused code.
...
It was assigned but never used because we removed this dropdown because
it was redundant.
2017-05-22 17:18:26 +03:00
Shlomi Fish
ae582a6c46
2to3 on pysollib/games/*/*.py
2017-05-22 00:31:02 +03:00
Shlomi Fish
54946fabca
2to3 on pysollib/games/special/*.py
2017-05-22 00:15:22 +03:00
Shlomi Fish
4d963e3f59
2to3 on pysollib/games/mahjongg/*.py
2017-05-22 00:00:50 +03:00
Shlomi Fish
ea0008d745
2to3 on pysollib/games/*.py
2017-05-17 21:56:27 +03:00
Shlomi Fish
c6db7bf8c5
2to3 on pysollib/games/[a-y]*.py
2017-05-17 21:48:56 +03:00
Shlomi Fish
5ade60510c
2to3 on pysollib/games/[a-w]*.py
2017-05-17 21:45:51 +03:00
Shlomi Fish
80e5eddafb
2to3 on pysollib/games/[a-t]*.py
2017-05-17 21:40:29 +03:00