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

907 commits

Author SHA1 Message Date
Shlomi Fish
3eb4f71a8e - New version
this time with corrected  archive.
2017-12-13 21:24:45 +02:00
Shlomi Fish
9b5e6f0745 Bump version to 2.1.1. 2017-12-13 21:12:04 +02:00
Shlomi Fish
946e0dfe4a Remove some old leftovers. 2017-12-11 00:38:26 +02:00
Shlomi Fish
3017266108 Try to fix travis by installing random2.py. 2017-12-10 20:54:28 +02:00
Shlomi Fish
2c8f7af1e1 Refactor: extract a common module. 2017-12-10 18:14:57 +02:00
Shlomi Fish
0515a01a02 Fix a random dealing regression in py3.
We had to use the random2 module. That was caught by appveyor - thanks!
2017-12-10 17:46:58 +02:00
Shlomi Fish
2f5cad548f try fix appveyor 2017-12-10 17:22:16 +02:00
Shlomi Fish
f320d66a5c Add diagnosis. 2017-12-10 17:11:01 +02:00
Shlomi Fish
ffe9ae15e5 try fix appveyor 2017-12-10 16:49:27 +02:00
Shlomi Fish
11c49ce150 Try to fix too long command line.
On Windows...
2017-12-10 16:41:02 +02:00
Shlomi Fish
fffa090583 Convert appveyor to use run-tests.pl. 2017-12-10 16:28:09 +02:00
Shlomi Fish
2ec239da2a Add AppVeyor. 2017-12-10 15:50:40 +02:00
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
ada9778879 Ran the HTMLs thru tidy.
tidy -asxhtml so they will validate.
2017-11-12 21:26:36 +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
0da917250c Try to fix travis 2017-09-18 17:59:59 +03:00
Shlomi Fish
0386bdb422 update travis badge link. 2017-09-18 17:50:27 +03: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
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