Shlomi Fish
e473e45bc1
remove leftover prints
2019-06-05 15:27:08 +03:00
Shlomi Fish
9c7df57ba8
Fix Golf and other games.
...
And broke a lot of stuff. Consolidate _pil_image on PIL.Image.
2019-06-05 15:27:08 +03:00
Shlomi Fish
4a7c9a761d
avoid resizes of the svg.
...
See https://github.com/shlomif/PySolFC/issues/3 .
2019-06-05 15:27:08 +03:00
Shlomi Fish
f5aeecc50d
svg : better resize.
2019-06-05 15:26:23 +03:00
Shlomi Fish
e775212e3b
fix the function
2019-06-05 15:26:23 +03:00
Shlomi Fish
2282db5af7
Allow customisation using an env var.
2019-06-05 15:26:23 +03:00
Shlomi Fish
2aaf094f96
add parameterisation to the theme name.
2019-06-05 15:26:23 +03:00
Shlomi Fish
2ce04c051c
Rename to make more appropriate.
2019-06-05 15:26:23 +03:00
Shlomi Fish
2c3174ae08
travis fix: resolve missing cairo dep
2019-06-05 15:26:22 +03:00
Shlomi Fish
affc84724d
fix tests and py2 support
2019-06-05 15:26:22 +03:00
Shlomi Fish
07955e5cb4
got the svg cards to work as a PoC.
...
See https://github.com/shlomif/PySolFC/issues/3 .
2019-06-05 15:26:22 +03:00
Shlomi Fish
cfc2b047b4
progress with the svg.
2019-06-05 15:26:22 +03:00
Shlomi Fish
5daf079d09
trying to get a qpixmap from libkcardgame.
2019-06-05 15:26:22 +03:00
Shlomi Fish
f62780c6fc
got tiny images to show.
2019-06-05 15:26:22 +03:00
Shlomi Fish
28024ff6e6
hacky way to load svg fragments
...
does not work quite right - it is a start.
2019-06-05 15:26:22 +03:00
Shlomi Fish
0a3b56021a
load individual IDs.
2019-06-05 15:26:22 +03:00
Shlomi Fish
df921eae25
add svg loading code from stackoverflow.
...
Starting work on https://github.com/shlomif/PySolFC/issues/3 .
2019-06-05 15:26:22 +03:00
Shlomi Fish
1d3ffc4e1d
Try fixing issue #108 - compat with pillow 6.0
...
See https://github.com/shlomif/PySolFC/issues/108 .
2019-04-05 17:37:04 +03:00
Shlomi Fish
80252696c8
try restore Save game geometry on USE_PIL.
...
See https://github.com/shlomif/PySolFC/issues/84 .
2019-04-04 12:39:24 +03:00
Shlomi Fish
91e5cdafa3
Fix the indentation.
...
See http://perl-begin.org/tutorials/bad-elements/#no-indentation .
2019-02-19 17:14:17 +02: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
2bbea25a42
Clarify the solver dialog msg on hint-on-intract
...
so people will not think it was solved.
2018-08-04 17:40:36 +03:00
Shlomi Fish
02edf2afdd
Made the iters_output_step configurable.
2018-08-01 19:50:31 +03:00
Shlomi Fish
4f5d365763
Fix the problem with exiting after fail import
2018-05-07 23:57:46 +03:00
Shlomi Fish
74bfe5e96b
handle more gracefully.
...
It still will not quit.
2018-05-07 23:34:45 +03:00
Shlomi Fish
4b75005b28
Start adding support for handling parse errs.
...
in the importFile feature. Still does not work fully.
2018-05-07 23:29:14 +03:00
Shlomi Fish
e915b6daef
configurable filename.
2018-05-01 14:45:22 +03:00
Shlomi Fish
23001f0f0f
Add support for "10" instead of "T".
...
See https://github.com/shlomif/PySolFC/issues/79 .
2018-04-30 22:53:49 +03:00
Shlomi Fish
04a9b4c910
Handle the utf-8 BOM in the import.
2018-04-30 20:33:23 +03:00
Shlomi Fish
3e595ae183
Add a Ctrl+Z undo shortcut.
...
See https://github.com/shlomif/PySolFC/issues/71 . It is the more
standard one.
2018-04-16 02:37:23 +03:00
Shlomi Fish
6415c5fead
Fix crashes on invalid max_iters input.
...
See https://github.com/shlomif/PySolFC/issues/73 .
2018-04-12 11:03:56 +03:00
Shlomi Fish
a02f7dc89b
Fix a typo.
2018-04-10 13:43:20 +03:00
Shlomi Fish
1e8b1bfb1b
flake8
2018-03-21 10:45:12 +02:00
Roderik Ploszek
b937349deb
Fix formatting
2018-02-24 23:29:29 +01:00
Roderik Ploszek
e543490cfd
Fix error message when solver isn't in the path
...
See https://github.com/shlomif/PySolFC/issues/51
2018-02-24 21:09:20 +01: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
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
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
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
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
dbf04ad300
fix the tests
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