Roderik Ploszek
f18e8d0c0b
Removed unused HTMLParser constructor argument
2018-02-18 17:58:44 +01:00
Roderik Ploszek
cacca44f72
Help html parser fix
...
Fixes problem with unformatted help text. Implements correct handling of tag
start and end as implemented in sgmllib from Python 2.
2018-02-18 17:34:09 +01:00
Roderik Ploszek
72ad11c9ee
Python 3 sgmllib fix
...
sgmllib is deprecated in Python 3, it was replaced by html.parser
2018-02-18 17:28:25 +01:00
Shlomi Fish
c63bceab5e
Refactoring.
2018-02-15 22:06:44 +02:00
Shlomi Fish
59d5006c63
Refactor some code.
2018-02-15 21:31:38 +02:00
Shlomi Fish
9879147ee0
convert.
2017-12-27 15:44:46 +02:00
Shlomi Fish
7d091f42ab
Extract a method.
2017-12-27 15:36:33 +02:00
Shlomi Fish
788965a55a
sanity check
2017-12-27 15:24:08 +02:00
Shlomi Fish
ed4f1ae516
sanity check
2017-12-27 15:16:42 +02:00
Shlomi Fish
76ba6f7d2b
Refactoring
2017-12-27 14:58:37 +02:00
Shlomi Fish
780ac558d5
Refactoring
2017-12-27 14:45:32 +02:00
Shlomi Fish
00ded37a0e
Extract more.
2017-12-27 14:31:41 +02:00
Shlomi Fish
ead021aca0
refactor.
2017-12-27 14:23:10 +02:00
Shlomi Fish
d500c84f85
Extract some common exprs.
2017-12-27 14:09:20 +02:00
Shlomi Fish
e477f4bcf1
clean up the board import.
2017-12-27 13:33:18 +02:00
Shlomi Fish
cb316a20fe
Add more.
2017-12-19 13:49:15 +02:00
Shlomi Fish
ab98966d9c
Remove debugging hard code.
2017-12-19 13:39:22 +02:00
Shlomi Fish
c158561593
Fix file save.
2017-12-18 22:40:57 +02:00
Shlomi Fish
2989880117
cleanups.
2017-12-18 22:02:01 +02:00
Shlomi Fish
a803849b35
Working now - import board.
...
Mostly at least.
2017-12-18 21:52:29 +02:00
Shlomi Fish
3fc989ae0a
Start implementing board import.
...
See https://github.com/shlomif/PySolFC/issues/47 .
2017-12-18 20:47:10 +02:00
Shlomi Fish
b87e8dd5a8
Initial work for issue #47 .
...
Define a custom deal index.
2017-12-18 16:41:11 +02:00
Shlomi Fish
424bb6c622
Add the new solver preset.
2017-12-13 22:42:58 +02:00
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
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
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