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

874 commits

Author SHA1 Message Date
Shlomi Fish
f630539e88 gracefully handle import. 2018-05-11 14:29:46 +03:00
Shlomi Fish
05f3e3027f Convert to an exception object.
To avoid getting wedged.
2018-05-11 13:40:13 +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
9eab5fe6bf support utf8 bom import. 2018-05-02 20:18:01 +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
lb@lb520
574178a16b Fixed html link handling in kivy version 2018-04-23 18:09:04 +02:00
Shlomi Fish
1f61a15ca0 Bump the version to 2.2.0.
New stable release.
2018-04-16 16:05:24 +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
Roderik Ploszek
38bb0393f1 Fix a typo 2018-04-15 23:34:45 +02:00
Roderik Ploszek
15befcf6cf Fix Right Triangle in Python 3
Wrong methods were called (from TalonStack instead of Stack) because of
new-style class' MRO in Python 3
2018-04-15 23:20:25 +02:00
Shlomi Fish
dd675e30b5 Add the Freecell w Zero Reserves preset.
It is useful to me, and the wizard-based games do not support the solver
well.
2018-04-15 17:51:54 +03:00
Roderik Ploszek
c37fd78310 Fix a typo 2018-04-15 15:49:40 +02:00
Shlomi Fish
0fe6b841bc Remove legalese.
You cannot really copyright an empty file.
2018-04-15 16:31:14 +03:00
Roderik Ploszek
0b2e22c452 Fix exception when changing games in preview
When changing games from Mahjongg to French type with Mahjongg cardset
active, an exception would occur. This was caused by 1d43029.
2018-04-15 15:02:16 +02:00
Roderik Ploszek
1d4302990e Fix cardsets with not enough bottoms
Playing Hanafuda games that use all 12 card bottoms, e.g. Sumo with
Hanafuda cardsets that have fewer bottoms (Kintengu or Oonsoo) causes an
exception when using PIL or the foundations with missing bottoms don't
show up in PySol without PIL. This fix creates empty replacement images
for foundations where the bottom is not present.
2018-04-15 13:00:42 +02:00
Roderik Ploszek
7518d36aab Fix exception dialog in Python 3 2018-04-14 23:55:29 +02:00
Roderik Ploszek
18bccf7dc7 Fix playable preview of Double Fives 2018-04-14 09:12:54 +02:00
Roderik Ploszek
3ff3dcf54e Fix integer division 2018-04-14 09:07:12 +02:00
Roderik Ploszek
3b80878788 Fix return value of dealCards
for Canfield Rush talon
2018-04-14 09:03:40 +02: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
e49bb17136 Add a new solver preset. 2018-04-12 10:45:42 +03:00
Shlomi Fish
a02f7dc89b Fix a typo. 2018-04-10 13:43:20 +03:00
lb@lb520
76568a3f1e python3 adaptations 2018-04-03 16:00:02 +02:00
Shlomi Fish
22948a8b3e Bump version to 2.1.4. 2018-03-30 22:54:47 +03:00
Shlomi Fish
de1cf59b0d Refactor. 2018-03-24 23:04:07 +03:00
Shlomi Fish
af47abefbb Refactor. 2018-03-24 23:04:07 +03:00
Shlomi Fish
94cbbfafbf Fix a bug with restart of ms-deals.
.reset() in LCRandom31 was not implemented. A test was added.

Thanks to Don.
2018-03-24 23:04:07 +03:00
lb@lb520
3e9b7b74c7 Bugfix synchronisation issues with autodrop
Bugfix bottom image flip
2018-03-22 15:48:19 +01:00
Shlomi Fish
85eedc6186 flake8 - empty whitelist. 2018-03-21 10:45:12 +02:00
Shlomi Fish
1e8b1bfb1b flake8 2018-03-21 10:45:12 +02:00
Shlomi Fish
640f398e6b flake8 2018-03-21 10:45:12 +02:00
Shlomi Fish
16d8b00e7f flake8 2018-03-21 10:45:12 +02:00
Shlomi Fish
74d3a4d9db Passed mfxutil thru flake8.
See https://github.com/shlomif/PySolFC/issues/61#issuecomment-374283730
- thanks!
2018-03-21 10:45:12 +02:00
Shlomi Fish
c0bb252166 Fix a bug w the formatting of the foundations.
With the input to freecell solver. Reported by Don - thanks! The format
was wrong.
2018-03-19 14:11:15 +02:00
lb@lb520
feca7b5658 Cosmetics: Kivy __all removed. 2018-03-19 10:55:41 +01:00
Shlomi Fish
46f87bdaff Fix a regression with penguin and other games. 2018-03-15 13:55:06 +02:00
Shlomi Fish
a54b603911 Get rid of the __all__ directive.
Everywhere except kivy.
2018-03-14 22:43:11 +02:00
lb@lb520
91ef11b7ac Implementation of createBottom in kivy.
A first set of Python 3 adaptations.
Added a choice of cardsets to android build.
Added new scripts to tarball (MAKEFILE.in)
2018-03-14 19:33:02 +01:00
Shlomi Fish
1394c0df8f Refactoring 2018-03-14 19:46:16 +02:00
Shlomi Fish
77a5b47e98 Refactoring - based on fc-solve. 2018-03-14 19:31:39 +02:00
Shlomi Fish
bc25ff5574 Refactoring: extract a closure. 2018-03-14 19:20:36 +02:00
Shlomi Fish
87ebf11996 Help people find random2.py.
To avoid support questions.
2018-03-14 12:12:44 +02:00
Shlomi Fish
c826799736 Refactoring 2018-03-13 18:31:19 +02:00
Shlomi Fish
81be7c98ad Refactoring 2018-03-13 15:56:11 +02:00
Shlomi Fish
e4775b805d Refactoring 2018-03-13 15:51:36 +02:00
Shlomi Fish
d49c0103f4 Refactoring 2018-03-13 15:46:24 +02:00