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

127 commits

Author SHA1 Message Date
Shlomi Fish
e2c11a7ba0 fix flake8 + tidyall tests 2020-08-27 11:52:59 +03:00
Roderik Ploszek
068d72d634 test Windows version in the installer
Windows XP SP3 or higher is required
see issue #161
2020-05-25 11:30:25 +02:00
Shlomi Fish
0961401105 fix tests 2019-11-13 08:39:59 +02:00
Shlomi Fish
a8dbceec93 valid xhtml5 2019-08-16 16:30:39 +03:00
lb@lb7520
18febbe240 cardconv updated.
png images converted from gifs by IM resulted in an indexed png format. This
lead to Problems with tranparency, especially with ganijfa and hanafuda
cardsets. To circumvent these problems IM had to be advised to produce
32 bit mode rgba format.
affects android apk build process only.
2019-08-13 10:00:49 +02:00
Juhani Numminen
fdebf13171 android: adapt to python3.
android: Install p4a using pip
Add 'set -e' to sh scripts, they must stop upon any error
README.md: kivy does not specifically require python2
android: Overhaul initialization scripts
android: Simplify apk build scripts by using the 'common' file
Merge the scripts cardconv and cardsetsgiftobmp
android: Fix startup script shebang to python3
android: Simplify mkkeystore and ignore the keystore file
android: Fix up debian prerequisites

The package cython (as opposed to cython3) even caused me to produce
an apk that did not start (TypeError: must be str, not bytes).

Android SDK requires java8; install and set as the default.

The build processes complained about lld and libtinfo5; added in.

mercurial (or hg) is seemingly unused.

The pip pcakges were needed by android/initsdk.py which is gone.

android: Ensure that the html files are built
2019-08-08 19:12:44 +03:00
Juhani Numminen
dbe4a96ac9 repack-min-cardsets: Remove temporary directory before copying (github #135)
If the directory is not removed, on the second run of the script,
duplicated subdirectories will be created, e.g.
    $dest_vbase/cardset-standard/cardset-standard/
that will essentially double the unpacked size.
2019-07-28 19:06:36 +03:00
Shlomi Fish
602f9ebc93 add missing attribute.
See https://github.com/shlomif/PySolFC/issues/129 .
2019-07-26 00:04:07 +03:00
Juhani Numminen
45f8c312a4 Simplify po/pysol.pot generation 2019-07-19 01:38:40 +03:00
Shlomi Fish
0aad4261d8 appveyor fix #1 - os.sep 2019-07-14 08:58:46 +03:00
Shlomi Fish
2d60bdf726 travis / py3 fix - str.replace. 2019-05-05 21:16:07 +03:00
Shlomi Fish
6317008876 traverse the tree for matching modules.
To avoid misses.
2019-04-30 17:35:43 +03:00
Shlomi Fish
33c8f6e375 add tests. 2019-04-30 17:20:47 +03:00
Shlomi Fish
9af86cddfb 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:14:36 +03:00
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