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

1219 commits

Author SHA1 Message Date
Shlomi Fish
90323173a7 Extract a common module/library/header.
This is Refactoring / code cleanup.

See:

* https://refactoring.com/catalog/extractMethod.html

* 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.
2019-04-29 15:08:04 +03:00
Shlomi Fish
9e148b88fe implement the --deal command line param.
It implements a starting deal seed/index/number.
2019-04-29 14:51:01 +03:00
Shlomi Fish
da256a30b0 use normal print to avoid b"...". 2019-04-29 14:25:04 +03:00
Shlomi Fish
cb25f39136 abort on invalid command line game. 2019-04-29 14:24:21 +03:00
Shlomi Fish
4cb94702f3 Add the release process documentation. 2019-04-25 22:22:49 +03:00
Shlomi Fish
436bca2852 Add missing NEWS and AUTHORS to the source dist. 2019-04-25 22:06:16 +03:00
Shlomi Fish
918f177acc prepare for v2.6.4 release. 2019-04-25 21:23:56 +03:00
Roderik Ploszek
9bf8f475bb Fix Three Peaks scoring
Score is correctly updated after moving a card to the waste stack or
after winning a game. Double counting is prevented by the score_counted
variable.

see https://github.com/shlomif/PySolFC/issues/111
2019-04-22 09:28:18 +02:00
Shlomi Fish
961634e685 travis ci: fix #1 - failing tests 2019-04-08 20:03:53 +03:00
Shlomi Fish
3ce505826e add credits 2019-04-08 19:03:49 +03:00
Shlomi Fish
d082812426 convert to markdown 2019-04-08 18:53:24 +03:00
Shlomi Fish
d3561e0e77 merge differences between */toolbar.py.
Refactoring.
2019-04-08 18:34:27 +03:00
Shlomi Fish
a452aba812 update the logo url in the html. 2019-04-08 17:45:44 +03:00
ghostofiht
1477ee275e
logo updated 2019-04-08 16:28:17 +03:00
ghostofiht
a54b87c722
Delete logo_horizontal.svg 2019-04-08 16:28:03 +03:00
ghostofiht
dbba3af299
logo updated 2019-04-08 16:24:46 +03:00
ghostofiht
18b4171e7f
Delete logo_horizontal.png.svg 2019-04-08 16:24:33 +03:00
ghostofiht
24ff063652
logo updated 2019-04-08 16:23:40 +03:00
ghostofiht
f919ff690e
logo added 2019-04-08 15:52:58 +03:00
ghostofiht
4126d48c78
logo updated 2019-04-08 15:46:47 +03:00
Shlomi Fish
0696750457 bump version to 2.6.3 2019-04-07 13:40:31 +03:00
Shlomi Fish
7593aaed4c First version of the NEWS file.
Based on the site's front page - thanks to https://pandoc.org/ .
2019-04-06 21:48:38 +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
2e67242e92 Fix the window size on startup.
See https://github.com/shlomif/PySolFC/issues/84 :

<<<

Yes, I can confirm that the "Save games geometry" option is present in
that build, and that it works! +1

The default startup window looks like this though (which is something
that should be addressed):

>>>
2019-04-05 16:26:55 +03:00
Shlomi Fish
48e24c2021 try fix save games geometry.
See https://github.com/shlomif/PySolFC/issues/84 .
2019-04-04 13:11:44 +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
5438388789 ignore the cardset files.
See https://github.com/shlomif/PySolFC/issues/101 . Thanks to
@scottfurry .
2019-04-04 01:54:23 +03:00
Shlomi Fish
4deb3ebb58 bump the version to 2.6.2 2019-02-27 22:52:26 +02:00
Jonathan Lovelace
f9a09f864e .travis.yml: Download minimal cardset tarball from SourceForge and include its cardsets in packages. 2019-02-22 01:01:35 -05:00
Jonathan Lovelace
efd87e1257 Brewfile: Install a current version of Perl.
The one used by default seems to be 5.18, which while not _very_ old (released 2013 or 2014,
depending on which patch version) seems a likely cause of the test failures I'm seeing in
CI but am unable to reproduce in my Linux environment (where 5.24.3 is the oldest version
available).
2019-02-21 16:12:06 -05: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
f8e2e88e04 append rather than completely overwrite 2019-02-14 18:01:05 +02:00
Shlomi Fish
204bc6b5fa optimize travis.yml 2019-01-26 19:53:49 +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
0c19541e8d Allow to skip python2 tests.
So one won't have to have these deps installed.
2019-01-18 20:41:07 +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
8f8e1304f8 Remove unused dep on "ack". 2018-12-17 22:25:08 +02:00
Stephen
25cf0d993f use travis addon for apt and homebrew 2018-12-17 08:51:53 -08:00
Shlomi Fish
5e10f11ca5 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-12-06 23:49:44 +02:00
Shlomi Fish
2b2d23f958 Extract a method or a function.
This is Refactoring / code cleanup.

See:

* https://refactoring.com/catalog/extractMethod.html

* 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-12-06 23:41:49 +02:00
Shlomi Fish
f95a6a5ba8 perltidy 2018-12-06 21:12:13 +02:00
Shlomi Fish
63ae7a4ffa appveyor: invalidate cache 2018-12-06 21:01:37 +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
a26789470a [travis] osx - add pkg wo cleanup 2018-11-13 12:17:14 +02:00