Shlomi Fish
53fa3e715f
Allow to save and restore ms[0-9]+ deals.
2016-11-09 21:25:41 +02:00
Shlomi Fish
d068f93d16
implement str2long and long2str.
...
With a unit test.
2016-11-09 20:10:09 +02:00
Shlomi Fish
1ff90e1641
Correct a regex.
...
\d can match more than just [0-9].
2016-11-09 19:37:30 +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
a73b8911ae
Consolidate some code in solverdialog.py.
...
Todo: extract a common base class and methods.
2016-11-09 15:21:33 +02:00
Shlomi Fish
16aa60a40b
Update the list of fc-solve's solver_presets.
...
Add some newer (and probably better) presets/etc.
2016-11-09 12:11:44 +02:00
Shlomi Fish
95dd1e40b4
Implement > 2e9 ms/FC-Pro deals.
...
Larger than 2 milliard Freecell Pro deals in PySolFC - with a test.
2016-11-08 16:08:31 +02:00
Shlomi Fish
b3f377c3f0
Create a base module for selecttree.py.
2016-10-11 23:13:30 +03:00
Shlomi Fish
cc09f7a5d6
Remove an assertion that did harm.
...
See https://github.com/shlomif/PySolFC/issues/12 .
2016-09-22 13:28:46 +03:00
Shlomi Fish
29a9a61eef
Started merging some code.
2016-08-21 22:45:55 +03:00
Shlomi Fish
c519bddc46
Consolidate/merge gameinfodialog.py.
2016-08-09 18:29:56 +03:00
Shlomi Fish
b9a46ecf35
Merged more of the statusbars.
2016-04-06 13:12:34 +03:00
Shlomi Fish
829d3aff32
start merging the statusbar.py-s.
2016-04-06 12:05:25 +03:00
Shlomi Fish
4abc0650c1
Remove an unused import.
2016-03-16 14:07:20 +02:00
Shlomi Fish
d6219b65bf
Refactoring: access identifiers directly.
...
Instead of having one more level of indirection.
2016-03-16 13:49:56 +02:00
Shlomi Fish
3791c8b4c6
Remove some unneeded code.
2016-03-16 12:45:29 +02:00
Shlomi Fish
2fa235ff33
Fix MfxMessageDialog.
2016-03-16 12:28:03 +02:00
Shlomi Fish
2870e9b882
Add an empty line to merge some diffs
2016-03-16 10:59:49 +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
2f7839e430
Remove some differences between tk/tile.
2016-02-25 16:01:12 +02:00
Shlomi Fish
1302aa395c
Remove an old trace print.
2016-02-19 23:33:36 +02:00
Shlomi Fish
ac60cb2516
menubar: Remove unnecessary imports.
2016-02-19 23:25:30 +02:00
Shlomi Fish
fdf09e8189
Remove some unused imports.
2016-02-19 23:20:16 +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
97a70ea882
More refactoring.
2016-02-19 19:19:18 +02:00
Shlomi Fish
e182ddd68f
Refactor pysollib/hint.
...
Still a lot of ugliness showing but it's better than nothing.
2016-02-19 18:58:16 +02:00
Shlomi Fish
7780d6fccd
Fix some import bugs in the menubar parent class.
2016-02-19 18:23:12 +02:00
Shlomi Fish
81b37f8673
Fix a bug with an unassigned var.
...
It prevented running the solver in mid play.
2016-02-19 18:15:28 +02:00
Shlomi Fish
8fcb811608
Move duplicate code to the menuar base class.
2016-02-19 17:55:30 +02:00
Shlomi Fish
2e557fde5d
Unify the codebases of menubar.pys.
...
TODO : move to the base class.
2016-02-17 21:36:46 +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
Shlomi Fish
4d6dac1316
Start extracting ui.tktile.menubar.
...
In the process made tkconst common to ui.tktile as well.
ui.tktile will be a common namespace for code common to the tk and tile
UIs.
2016-02-13 20:46:41 +02:00
Shlomi Fish
60257ce016
Reduce diff between {tk,tile}/menubar.py a little.
...
“Every journey of a thousand miles begins with one small step.”
2016-02-13 20:20:56 +02:00
Shlomi Fish
b03ec17350
Add "Export current layout".
...
A menu option in the tile (for now only that) menubar.
TODO: the tile and tk directories contain *a lot* of duplicate code.
One should extract base classes and abstract.
2016-02-13 19:30:00 +02:00
Shlomi Fish
8a5b8de137
Extract the calcBoard methods.
2016-02-10 15:33:00 +02:00
Shlomi Fish
0e91ce7750
Correct a typo in a comment
2016-01-08 21:41:11 +02:00
Shlomi Fish
d53e708a38
Correct some typos.
2014-11-06 14:19:06 +02:00
Shlomi Fish
d31855830d
Fix the solver_state output with progress off.
...
Previously - it did not display anything if progress was off.
2014-11-06 13:55:39 +02:00