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

163 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
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
8980adbd35 skip gtk tests on macos x.
travis-ci/etc.
2018-11-12 13:34:48 +02: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
8d208f8ed6 Add a repack script for the cardsets.
See https://github.com/shlomif/PySolFC/issues/89 .
2018-09-23 11:16:54 +03:00
Shlomi Fish
5f2cc55655 Add a bare option to reduce html boilerplate.
For including in the site.
2018-09-06 10:28:36 +03:00
Shlomi Fish
5de21adc3b fix formatting 2018-09-02 02:42:09 +03:00
Shlomi Fish
75531481aa validate as html5. 2018-09-02 02:37:19 +03:00
Shlomi Fish
a8f297208b Refactoring: generate dup code. 2018-05-12 20:45:21 +03:00
Shlomi Fish
5c663272c5 Add the first ver of the script. 2018-05-09 18:06:17 +03:00
Shlomi Fish
d88d43025c travis test the make dist+make test scheme. 2018-05-09 13:07:50 +03:00
Shlomi Fish
2f114469b5 add py2 tests 2018-05-01 17:52:17 +03:00
Shlomi Fish
6304994ed4 add py2 tests 2018-05-01 17:45:37 +03:00
Shlomi Fish
6ec197daaf Add py2 tests. 2018-05-01 17:36:41 +03:00
Shlomi Fish
7860f47363 generate some duplicate code. 2018-05-01 17:28:02 +03:00
Shlomi Fish
661c23e1b0 refactor. 2018-04-15 18:43:26 +03:00
Shlomi Fish
39cd81d663 Refactor/optimize: get rid of TAP.Simple.
It was underused and unneeded.
2018-04-15 17:41:09 +03:00
Roderik Ploszek
b4a55cd1fd Change bundled Hanafuda cardset
Hanafuda 200 Years contains all card bottoms, therefore it's compatible
with all Hanafuda games (that was not the case with the Kintengu
cardset).
2018-04-15 13:44:20 +02:00
Roderik Ploszek
ed61804855 Bundle MSVC++ redistributable with the installer
Installer checks for presence of msvcr100.dll library in the System32 folder (or
SysWOW64 in case of 64 bit systems). If not present, it will install it
(version 2010 SP1 x86).
2018-03-24 17:58:32 +01:00
Shlomi Fish
055718d2e9 flake8 2018-03-21 10:45:12 +02:00
Roderik Ploszek
57485fac95 Maintain compatibility with Python 2 2018-03-20 23:03:53 +01:00
Roderik Ploszek
0bd7b44ed5 flake8 2018-03-19 23:10:24 +01:00
Roderik Ploszek
92a5a341c5 Convert scripts/pygettext.py to python 3 2018-03-19 19:38:38 +01:00
Roderik Ploszek
f1161cdae0 Convert scripts/all_games.py to python 3 2018-03-19 18:28:13 +01:00
Roderik Ploszek
819dbc6a2e Add Windows installer build to appveyor
It also bundles locales and a few cardsets.
2018-03-19 17:14:52 +01:00
Roderik Ploszek
ef041c6249 Show all pages in the installation wizard 2018-03-19 16:12:15 +01:00
Roderik Ploszek
95020ffdd0 Convert create_iss.py to python 3 2018-03-19 16:12:15 +01:00
Shlomi Fish
21b0360197 travis fix #5 - /opt/python 2018-03-19 15:36:39 +02:00
Shlomi Fish
a56d8cd72f Fix the travis-ci script.
To exit on each failure and exec make dist.
2018-03-19 14:27:43 +02:00
Shlomi Fish
88460a847c Fix make dist ( issue#61 ).
Made travis-ci test for it. Thanks to @lufebe16 .
2018-03-19 14:11:15 +02:00
Shlomi Fish
f18c394c33 Extract a common function. 2018-03-12 21:58:06 +02:00
Shlomi Fish
4d1d1a2832 Test thru perltidy. 2018-03-09 00:35:04 +02:00
lb@lb520
b5ef9b6214 Added an alternate toolkit kivy (based on SDL2) that can be used instead of tk.
Added scripts to build an android app.
2018-03-03 20:37:56 +02:00
Shlomi Fish
f103cbdcf2 pre prerelease fixes.
Got make rpm to work again.
2017-11-15 23:27:03 +02:00
Shlomi Fish
4ad3f0f889 Extract a base class/trait for some games. 2017-11-13 21:38:34 +02:00
Shlomi Fish
dd2f0ab0e1 Continue refactoring. 2017-11-09 18:41:41 +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
b887d6042b Made flake8 happier.
Removed __all__ and stuff - we use explicit imports now.
2017-09-18 13:04:53 +03:00
Shlomi Fish
fcdbbfbae7 test for py3 importing of modules. 2017-08-25 18:25:58 +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
cb646c3155 fix some sorting regressions in flake8 commits 2017-04-19 12:03:46 +03:00
Shlomi Fish
27f23b2e88 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
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
e04fdce5d5 Merge the findcarddialog modules into one. 2016-11-18 22:51:17 +02:00
Shlomi Fish
dee599c7fd Extract a common base class. 2016-11-13 16:05:11 +02:00
Shlomi Fish
e525a823fa Extract an edit-text-dialog base class. 2016-11-13 13:29:46 +02:00
Shlomi Fish
1d35f40fc6 Extract a base class for solverdialog. 2016-11-09 16:05:09 +02:00
Shlomi Fish
2f735d1b53 Got "python setup.py bdist_rpm" to work again.
One should do "make mo" first - TODO: test in Travis-CI and test the
resultant rpm files. Had to change README to README.md in several
places.
2016-11-08 17:48:32 +02:00