Shlomi Fish
b6f014f6e0
extract more code to pysol_cards
2020-05-25 12:15:49 +03:00
Shlomi Fish
c4545ab114
extract more code to pysol_cards
2020-05-25 11:49:15 +03:00
Shlomi Fish
3ca47be6e2
refactor: remove unused code
2020-05-25 11:26:05 +03:00
Shlomi Fish
bea4266889
refactor: clean up imports
2020-05-25 11:24:27 +03:00
Shlomi Fish
7896974496
refactor: remove unused code
2020-05-25 11:17:38 +03:00
Shlomi Fish
91ef2ca74e
extract more code to pysol_cards
2020-05-24 22:13:09 +03:00
Robert Marshall
c5864cc0f6
Pause when showing stats
...
.. stats is modal so clock shouldn't be ticking
2020-05-09 16:37:20 +03:00
Shlomi Fish
0ac4339252
Require a minimal version of "attr".
...
See: https://github.com/shlomif/PySolFC/issues/159 . Thanks to
@radub7 for the report.
2020-04-22 20:21:10 +03:00
Shlomi Fish
39f181e087
Python2 compatibility: travis rebuild for new pysol-cards
2020-03-28 16:08:42 +03:00
Shlomi Fish
e615b64dfc
typo
2020-03-28 15:22:22 +03:00
Shlomi Fish
f1aedee62c
move to upstream PyPI pysol_cards
2020-03-28 14:57:17 +03:00
Shlomi Fish
4ee74a3e2a
move to upstream PyPI pysol_cards
2020-03-28 14:55:09 +03:00
Shlomi Fish
5b80116b69
move to upstream PyPI pysol_cards
2020-03-28 14:39:00 +03:00
Shlomi Fish
7d55cd045c
move to upstream PyPI pysol_cards
2020-03-28 14:34:12 +03:00
Juhani Numminen
e1a1a8d169
Retire pysol.xbm & .xpm & the unused code that uses them
2020-03-11 14:57:28 +02:00
Shlomi Fish
2ea33f8e7a
new 2.8.0 release
2020-03-05 17:45:29 +02:00
Juhani Numminen
fb8d69b1c8
travis osx: Install python3 from python.org & build Pillow from source
...
Unlike python of Homebrew, the python.org version comes bundled with
a recent Tk that is much less buggy than macOS stock Tk.
py2app does not seem to work with Pillow's pypi wheels.
2020-03-03 09:06:35 +02:00
Juhani Numminen
dc86d9338d
Work around Playable Preview launching unresponsive help window
2020-03-02 14:38:49 +02:00
Juhani Numminen
12ca8c5535
Playable preview: swap incorrect actions for Rules and Cancel buttons
...
Line 435 assigns id 10 (not 1) to the Rules button.
2020-03-02 14:09:21 +02:00
Juhani Numminen
6016a6a5c1
No such thing as pysollib.app.comments ( #153 )
2020-03-02 13:21:35 +02:00
Juhani Numminen
300d5dca7a
Fix command line option error message
...
TypeError: unsupported operand type(s) for +: 'GetoptError' and 'str'
caused by commit 65b86f2d1d
2020-03-01 12:07:48 +02:00
Juhani Numminen
0d98da15e6
Fix py2 compatibility: wm_iconphoto does not exist in python2.7
2020-03-01 11:42:43 +02:00
Juhani Numminen
e5e60d3232
Load icons from either images/misc or images/icons
2020-02-29 11:40:05 +02:00
Juhani Numminen
f5b1cf0eea
Tk: set window icon
...
make_help_toplevel changed from Tk to Toplevel since Tk creates another
Tcl interpreter, causing errors like this:
'_tkinter.TclError: can't use "pyimage228" as iconphoto: not a photo image'
1024x1024 logo file is renamed because it has large margins on each side
which is unsuitable for a window icon.
2020-02-28 20:16:58 +02:00
Shlomi Fish
a34e169031
Prepare for 2.8.0 release.
...
See https://github.com/shlomif/PySolFC/issues/151 .
Not releasing yet.
2020-02-28 16:54:34 +02:00
lufebe16
e09efe375e
Apk build scripts
...
- refactoring
2020-02-27 20:15:14 +01:00
Shlomi Fish
1365523131
appveyor: fix invocation
2020-02-27 19:57:15 +02:00
Shlomi Fish
864e7b9b52
pin the fcs version - reproducible builds
2020-02-27 19:28:11 +02:00
Shlomi Fish
25f1b222a1
fix tidyall/flake8 tests
2020-02-27 19:27:41 +02:00
lufebe16
ad79d2429f
Apk build scripts
...
- updated for use with p4a version 2019.10.6.
- additions to build instructions.
2020-02-27 15:39:11 +01:00
lufebe16
11aff68af1
Updates kivy version:
...
- added support for right mouse button (desktop only)
- corrected a problem with virtualenv in mkp4a.init
2020-02-27 09:56:51 +01:00
Shlomi Fish
2983648a4c
Add python3 PATH for pip3 on macOS.
...
The travis-CI builds have been failing and this is an attempt to fix them.
2020-02-23 15:24:43 +02:00
Shlomi Fish
047a58238d
Add python3 to homebrew on macOS.
...
The travis-CI builds have been failing and this is an attempt to fix them.
2020-02-23 14:22:46 +02:00
Shlomi Fish
96a91f6148
SHOULD_PUT_bye_for_now_FIRST = False
...
To avoid complaints about non random music.
2020-02-23 12:30:37 +02:00
Juhani Numminen
984ab3570a
Import ttk from standard library, drop local copy
2020-02-11 23:38:28 +02:00
Juhani Numminen
97c957d055
Fix whitespace in pyramid.py
2020-02-11 22:10:00 +02:00
lufebe16
81fab2028a
Corrections on game 'pyramid'
...
- For TypeError reported with #147 . (clickhandler failed to return a value)
- For index out of range (in pyramid.y)
2020-02-10 18:01:20 +01:00
Juhani Numminen
80d99e508d
Fix 'TclError: unknown option' for tk
...
Partly reverts commit b9a46ecf35
2020-02-09 22:19:47 +02:00
Juhani Numminen
032b645e0f
Do not catch exceptions too broadly in mainloop
...
StopIteration seems to be the expected way to stop, at least
for the tk and tile interfaces.
2020-02-09 22:07:16 +02:00
Juhani Numminen
00f6f70e93
Fix menu colors on macOS with dark menu bar
...
Widget colors and all scrollbars look just fine without these lines
despite the comments.
2020-02-09 17:36:26 +02:00
Shlomi Fish
57b9c9d41e
fix a crash on "open game"
2020-02-09 11:44:52 +02:00
Shlomi Fish
2258274c77
Refactoring / code cleanup.
...
Use a frozenset()-like list.
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.
2020-02-07 11:44:24 +02:00
Shlomi Fish
0306d648fa
fix load/save
2020-02-07 11:31:34 +02:00
Juhani Numminen
d807f2c45c
README: Change venv to reference PKGTREE and list more pre-requisites ( #149 )
2020-02-03 11:08:42 +02:00
Juhani Numminen
468553b3c5
install-pysolfc.sh: Use bash array for holding a program name and arguments
...
The previous scalar variable with quoted "$PIP" caused a "command not found"
error because that erroneously put prog name and arguments in a single token.
2020-02-03 10:56:59 +02:00
Shlomi Fish
c2ec2d5195
Add 13 column Bisley - thanks to qunka.
...
See:
* https://github.com/shlomif/PySolFC/issues/148
* https://gist.github.com/qunka/3adac1878b481eb419ff6f3e1726add5
Thanks to https://github.com/qunka .
2020-01-07 11:38:37 +02:00
Shlomi Fish
b3f79c9df8
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-12-30 20:38:25 +02:00
Shlomi Fish
fab74e9a4b
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-12-29 11:37:13 +02:00
Shlomi Fish
b250a567ae
avoid leftover py2 test files.
2019-12-29 11:13:52 +02:00
Shlomi Fish
0f662fdb12
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-12-29 11:08:56 +02:00