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

101 commits

Author SHA1 Message Date
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
Shlomi Fish
763477d218 Fix SaveAs/Open/etc.
We used the wrong python-six import.
2017-06-02 21:44:17 +03:00
Shlomi Fish
e6894094ec 2to3 on pysollib/ui/tktile/*.py 2017-05-24 17:08:05 +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
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
b53d1d163c flake8 2017-04-19 12:03:45 +03:00
Shlomi Fish
99ef711af1 Change the licenses headers to please flake8. 2017-04-19 12:03:44 +03:00
Shlomi Fish
0e2a08c4ce Create a base class - refactoring. 2017-02-17 16:18:20 +02:00
Shlomi Fish
ecaa5d99a5 Move some classes to a common module.
This is part of the refactoring effort, and we've dealt with tkhtml now.
2017-02-10 23:26:51 +02:00
Shlomi Fish
9d059257b8 Fix a loading bug in the cardset dialog. 2017-01-11 14:57:48 +02:00
Shlomi Fish
e04fdce5d5 Merge the findcarddialog modules into one. 2016-11-18 22:51:17 +02:00
Shlomi Fish
463aec56af Remove the max_depth option to the solver.
It's no longer supported nor recommended.
2016-11-16 22:53:22 +02:00
Shlomi Fish
1085096f37 Refactored the refactoring.
Meta-refactoring!
2016-11-16 20:35:59 +02:00
Shlomi Fish
e525a823fa Extract an edit-text-dialog base class. 2016-11-13 13:29:46 +02:00
Shlomi Fish
622a035d5b Extract a common method in the base class.
Of solverdialog.
2016-11-10 13:50:16 +02:00
Shlomi Fish
fe3df986aa Fix some symbol importing bugs. 2016-11-10 01:20:12 +02:00
Shlomi Fish
d229a5a7d4 Extract more common functionality. 2016-11-09 16:41:27 +02:00
Shlomi Fish
1d35f40fc6 Extract a base class for solverdialog. 2016-11-09 16:05:09 +02:00
Shlomi Fish
b3f377c3f0 Create a base module for selecttree.py. 2016-10-11 23:13:30 +03:00
Shlomi Fish
c519bddc46 Consolidate/merge gameinfodialog.py. 2016-08-09 18:29:56 +03:00
Shlomi Fish
2fa235ff33 Fix MfxMessageDialog. 2016-03-16 12:28:03 +02:00
Shlomi Fish
80268cfac8 Fix SelectGameDialogWithPreview. 2016-03-14 23:05:37 +02:00
Shlomi Fish
c3a8a52543 Fix SelectGameDialog in the menubar.
More of the fact the imports were lost and are 'tk' or 'tile'-specific.
2016-03-14 22:44:44 +02:00
Shlomi Fish
e7090f8f4b Fix a bug with SoundDialog. 2016-03-14 18:14:52 +02:00
Shlomi Fish
8f161ce335 Fix the tiles' dialog from the menu. 2016-03-01 19:58:45 +02:00
Shlomi Fish
649f7b07dc Merge ColorsDialog. 2016-02-25 16:24:04 +02:00
Shlomi Fish
1302aa395c Remove an old trace print. 2016-02-19 23:33:36 +02:00
Shlomi Fish
d9ab7b2e4f menubar.py : move more code to base class. 2016-02-19 23:11:45 +02:00
Shlomi Fish
cde9bc5fb5 menubar: move more code to the base class. 2016-02-19 23:06:16 +02:00
Shlomi Fish
ee1114fb3b Continue moving more menubar func to base class. 2016-02-19 19:27:22 +02:00
Shlomi Fish
7780d6fccd Fix some import bugs in the menubar parent class. 2016-02-19 18:23:12 +02:00
Shlomi Fish
8fcb811608 Move duplicate code to the menuar base class. 2016-02-19 17:55:30 +02:00
Shlomi Fish
98fcd0a357 Move some methods to the base class.
I had to rename some attributes away from the leading two underscores ("__")
because it didn't work with them.
2016-02-17 21:21:26 +02:00
Shlomi Fish
3f962b7134 Extract some common code into a base class. 2016-02-16 18:19:13 +02:00
Shlomi Fish
9f7cc65a5f Merge {tile,tk}/tkwrap. 2016-02-14 16:45:10 +02:00
Shlomi Fish
5d8b82cabe Move {tk,tile}/{card,tkcanvas} to ui.tktile.
They were identical in both places.
2016-02-14 16:14:30 +02:00
Shlomi Fish
1d7fb6fd61 Merge tile/tkutil.py and tk/tkutil.py.
They were identical.
2016-02-14 15:27:54 +02:00
Shlomi Fish
118a83e6ba Correct to the right import path. 2016-02-13 23:48:33 +02:00