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

908 commits

Author SHA1 Message Date
Shlomi Fish
4deb3ebb58 bump the version to 2.6.2 2019-02-27 22:52:26 +02:00
Shlomi Fish
d3b1674a47 Fix spider illegal moves canMove bug.
See https://sourceforge.net/p/pysolfc/bugs/36/ . TODO: add tests.
2019-02-19 19:45:51 +02: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
490f8f2f25 bump the version 2019-02-16 22:01:05 +02:00
Shlomi Fish
8a93f4ba13 Try to fix issue#100.
site module is not present.
2019-02-16 21:58:24 +02:00
Shlomi Fish
cebd349e28 compat with py2app - issue #100.
It does not provide site.PREFIXES .
2019-02-16 13:06:02 +02:00
Shlomi Fish
97106adf9a bump the version 2019-02-14 18:28:32 +02:00
Shlomi Fish
e4643f71e7 add support for solving three golf variants.
Using the BlackHoleSolverWrapper .

See https://github.com/shlomif/PySolFC/issues/98 issue98.
2019-01-26 19:09:31 +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
c0076b5b36 Better fix for SourceForge bug #31.
See https://sourceforge.net/p/pysolfc/bugs/31/ . Thanks to Caelia Renee
Chapin for the fix and to Kevin Knerr for the report. Test case by
@shlomif.
2018-12-06 19:26:20 +02:00
Shlomi Fish
1fbdc2db98 Try to fix the macos x app artefacts.
See
https://travis-ci.community/t/pysolfc-2-5-4-tag-deploying-of-an-app-macos-app-silently-fails/854/2
.
2018-11-14 18:57:27 +02:00
Shlomi Fish
cfe9a5a9a3 Remove duplicate code. 2018-11-13 12:16:35 +02:00
Shlomi Fish
6bb9097406 [travis] osx - add pkg 2018-11-13 11:00:57 +02:00
Shlomi Fish
908de63d9f Fix flake8 tests.
For the new flake8.
2018-11-11 22:43:36 +02:00
Ian Zimmerman
ffbc385bfd Just use ALL site.PREFIXES, though I've never seen more than one 2018-10-21 14:05:34 -07:00
Ian Zimmerman
b488cbceef Add a little support for installation into a venv
Add instructions for installing into a venv
2018-10-21 12:49:18 -07:00
Shlomi Fish
b142366595 Fix exception in the Wasp variant.
See https://sourceforge.net/p/pysolfc/bugs/31/ .

unable to move cards in py3.
2018-10-08 23:19:59 +03:00
Shlomi Fish
3846acef92 Refactoring / code cleanup.
See:

* https://en.wikipedia.org/wiki/Code_refactoring

* https://www.refactoring.com/

* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/

Some small optimisations may have slipped in as well.
2018-09-14 16:19:51 +03:00
Shlomi Fish
77bd206a4e feature: made the current solver preset persistent.
let it stick.
2018-09-01 19:07:00 +03:00
Shlomi Fish
11bafeba44 use six.py. 2018-09-01 18:40:50 +03:00
Shlomi Fish
ead4b9212a avoid unneeded py3 shims. 2018-09-01 17:54:48 +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
7407276829 Implement the --version conditional.
See https://github.com/shlomif/PySolFC/issues/90 .
2018-08-01 19:31:11 +03:00
Shlomi Fish
4e7a653f67 Preliminary support for fc-solve's "-hoi" flag.
See
https://groups.yahoo.com/neo/groups/fc-solve-discuss/conversations/messages/1580
2018-07-31 20:56:33 +03:00
Hugo Lefeuvre
5a8b4b1708 Fix Python interpreter name typo 2018-07-31 13:40:09 +08:00
Shlomi Fish
56f90c4fe4 bump version to 2.4.0. 2018-06-23 11:26:23 +03:00
lb@lb520
e8c508c3da android: external urls in help now start system browser - some refactoring. 2018-06-08 10:53:40 +02:00
lb@lb520
93f0559549 Better and more convenient support for android back key. 2018-05-31 18:20:12 +02:00
lb@lb520
6f756cd05b Toolbar image quality in kivy - fixed to bluecurve/xlarge 2018-05-23 14:33:29 +02:00
lb@lb520
9fd7b60cc7 Fixed a problem with auto drop and initial dealing. 2018-05-22 18:36:54 +02:00
lb@lb520
9155493dc9 Android build scripts updates. Some Comments in kivy files. 2018-05-22 10:48:46 +02:00
Shlomi Fish
a1219f6db1 print a warning to help w debugging cardset load.
See https://github.com/shlomif/PySolFC/issues/83 .
2018-05-20 15:19:45 +03:00
Shlomi Fish
dc8adf8411 Display the deal of imported as 'Custom'.
See https://github.com/shlomif/PySolFC/issues/47 .
2018-05-13 23:18:28 +03:00
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