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

1279 commits

Author SHA1 Message Date
Shlomi Fish
e473e45bc1 remove leftover prints 2019-06-05 15:27:08 +03:00
Shlomi Fish
9c7df57ba8 Fix Golf and other games.
And broke a lot of stuff. Consolidate _pil_image on PIL.Image.
2019-06-05 15:27:08 +03:00
Shlomi Fish
4a7c9a761d avoid resizes of the svg.
See https://github.com/shlomif/PySolFC/issues/3 .
2019-06-05 15:27:08 +03:00
Shlomi Fish
f5aeecc50d svg : better resize. 2019-06-05 15:26:23 +03:00
Shlomi Fish
c6ff866e51 Add README_svg . 2019-06-05 15:26:23 +03:00
Shlomi Fish
e775212e3b fix the function 2019-06-05 15:26:23 +03:00
Shlomi Fish
2282db5af7 Allow customisation using an env var. 2019-06-05 15:26:23 +03:00
Shlomi Fish
2aaf094f96 add parameterisation to the theme name. 2019-06-05 15:26:23 +03:00
Shlomi Fish
2ce04c051c Rename to make more appropriate. 2019-06-05 15:26:23 +03:00
Shlomi Fish
16c612aa77 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.
2019-06-05 15:26:22 +03:00
Shlomi Fish
e49614613d refactor. 2019-06-05 15:26:22 +03:00
Shlomi Fish
8784dbe83d Refactored cmake. 2019-06-05 15:26:22 +03:00
Shlomi Fish
2c3174ae08 travis fix: resolve missing cairo dep 2019-06-05 15:26:22 +03:00
Shlomi Fish
c08cb1fce2 travis fix #3: install pillow 2019-06-05 15:26:22 +03:00
Shlomi Fish
f012c92fe1 travis fix #2: deps names 2019-06-05 15:26:22 +03:00
Shlomi Fish
eba58352ab travis fix #1: deps 2019-06-05 15:26:22 +03:00
Shlomi Fish
a13f1fc9c6 convert to Release CMAKE_BUILD_TYPE 2019-06-05 15:26:22 +03:00
Shlomi Fish
76cc5243f1 faster mirror 2019-06-05 15:26:22 +03:00
Shlomi Fish
eeacad2cee svg fixes and remove print 2019-06-05 15:26:22 +03:00
Shlomi Fish
d9116d41ff remove unused. 2019-06-05 15:26:22 +03:00
Shlomi Fish
a2a4806400 fix 2019-06-05 15:26:22 +03:00
Shlomi Fish
affc84724d fix tests and py2 support 2019-06-05 15:26:22 +03:00
Shlomi Fish
d631792d53 add script 2019-06-05 15:26:22 +03:00
Shlomi Fish
07955e5cb4 got the svg cards to work as a PoC.
See https://github.com/shlomif/PySolFC/issues/3 .
2019-06-05 15:26:22 +03:00
Shlomi Fish
cfc2b047b4 progress with the svg. 2019-06-05 15:26:22 +03:00
Shlomi Fish
5a02d487d2 more meaningful example. 2019-06-05 15:26:22 +03:00
Shlomi Fish
8260b7a703 got to build 2019-06-05 15:26:22 +03:00
Shlomi Fish
94d01d41a8 add shiboken, 2019-06-05 15:26:22 +03:00
Shlomi Fish
5daf079d09 trying to get a qpixmap from libkcardgame. 2019-06-05 15:26:22 +03:00
Shlomi Fish
f62780c6fc got tiny images to show. 2019-06-05 15:26:22 +03:00
Shlomi Fish
28024ff6e6 hacky way to load svg fragments
does not work quite right - it is a start.
2019-06-05 15:26:22 +03:00
Shlomi Fish
0a3b56021a load individual IDs. 2019-06-05 15:26:22 +03:00
Shlomi Fish
df921eae25 add svg loading code from stackoverflow.
Starting work on https://github.com/shlomif/PySolFC/issues/3 .
2019-06-05 15:26:22 +03:00
Shlomi Fish
fd797ffbf5 fix pysol --deal 1/24/1000.
Low ms deals without the ms prefix caused an error.
2019-06-05 15:06:51 +03:00
Shlomi Fish
4a53c175f5 Extract ms_rearrange . 2019-06-05 15:00:12 +03:00
Shlomi Fish
86d2e6368f speedup.
See https://github.com/shlomif/PySolFC/issues/119 .
2019-06-04 22:31:27 +03:00
Shlomi Fish
843d74d90f Extract a function or class to step away from God Object.
See:

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

* https://www.c-sharpcorner.com/article/god-object-a-code-smell/ .

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-06-04 16:05:10 +03:00
Shlomi Fish
ebbb1313e9 refactoring 2019-06-04 15:36:45 +03:00
Shlomi Fish
7bbddccf80 refactoring 2019-06-04 15:27:37 +03:00
Shlomi Fish
d8e7a3e3ef Extract a function or class to step away from God Object.
See:

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

* https://www.c-sharpcorner.com/article/god-object-a-code-smell/ .

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-06-04 15:12:39 +03:00
Shlomi Fish
c12be2eaed optimization 2019-05-31 19:28:27 +03:00
Shlomi Fish
b6da50d20f Extract a function or class to step away from God Object.
See:

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

* https://www.c-sharpcorner.com/article/god-object-a-code-smell/ .

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-05-31 19:23:27 +03:00
Shlomi Fish
75ffea5005 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.
2019-05-31 18:32:47 +03:00
Shlomi Fish
a073d20af7 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.
2019-05-31 18:09:57 +03:00
Shlomi Fish
9acc97be8a 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.
2019-05-31 17:22:49 +03:00
Shlomi Fish
26e5aeb045 Rename variable/s to make them more descriptive.
dir is a py builtin.
2019-05-31 16:42:57 +03:00
Shlomi Fish
32411ab0ec Refactoring. 2019-05-31 16:32:24 +03:00
Shlomi Fish
efddc917b2 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.
2019-05-31 16:03:22 +03:00
Shlomi Fish
2bec58be2d Fix next deal / Ctrl+N for ms deals. 2019-05-23 19:10:57 +03:00
Shlomi Fish
74441a1746 Convert functionality to pysol-cards mod. 2019-05-23 17:26:27 +03:00