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

102 commits

Author SHA1 Message Date
Joe R
8cab449500 Updated POT files. 2021-12-09 19:31:06 -05:00
Joe R
7af8fde4c0 Revamped Pegged game and added manual first card removal option. 2021-12-02 20:40:44 -05:00
Joe R
962dc3ffeb Re-enabled toolbar style selection option. 2021-11-19 17:57:59 -05:00
Joe R
ff30f50bfe Reset table tile when changing card size. (Fix for #222) 2021-09-11 12:59:17 -04:00
Joe R
faa474dd0b Added option to reset card scaling. 2021-09-11 09:54:44 -04:00
Joe R
36a0bfbc14 Fixed up some sections of the documentation. 2021-09-04 10:07:08 -04:00
Joe R
896454d1e4 Added Preserve aspect ratio option to the menu. 2021-08-05 17:29:15 -04:00
Joe R
541b97b92f Added option to delete custom games. 2021-07-29 17:35:09 -04:00
Joe R
d9c98ae017 Added Accordion's Revenge game. 2021-07-17 09:39:57 -04:00
Juhani Numminen
e04440a625 Fix CapsLock preventing use of single-letter keybindings (issue #141)
The code block in question can be removed because Tk will decide whether it
reports us an event with e.g. Ctrl-R or just the R key.

https://www.tcl.tk/man/tcl8.4/TkCmd/bind.html
in section MULTIPLE MATCHES; "[...] the most specific binding is chosen [...]"
2021-07-08 12:20:37 +03:00
Joe R
c416d42a96 Removed deal animation from preview and combined game select options. 2021-06-08 21:54:15 -04:00
Joe R
72ff4f6079 Added option to center the game layout on the screen. 2021-05-16 11:13:50 -04:00
Joe R
58a31f8abb Added enable/disable music option. 2021-05-03 23:33:19 -04:00
Joe R
dba55c20fd Split spread stacks logic from auto-scale logic. 2021-04-25 08:51:04 +03:00
Guillaumegaillard
5876134d11 Make auto_scale spread non-talon stacks on canvas
make card size, scale and canvas changes independent
check scale x after change cardset
2020-11-23 16:26:22 +02:00
Juhani Numminen
24ccdf634b macOS: use "PySolFC Help" menuitem provided by tk
The details are explained in this tutorial
https://tkdocs.com/tutorial/menus.html

For this to work, init() must destroy the tkinter.Tk instance it creates
so that was uncommented.
2020-10-14 14:59:38 +03:00
Juhani Numminen
65b86f2d1d Improve internationalization
- More strings marked for translation
- Used format strings instead of concatinating fragments
- Removed space before '?' or '!' from sentences in English

Following the GNU gettext guidelines at
https://www.gnu.org/software/gettext/manual/gettext.html#Preparing-Strings
2019-08-31 13:22:21 +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
91e5cdafa3 Fix the indentation.
See http://perl-begin.org/tutorials/bad-elements/#no-indentation .
2019-02-19 17:14:17 +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
4f5d365763 Fix the problem with exiting after fail import 2018-05-07 23:57:46 +03:00
Shlomi Fish
74bfe5e96b handle more gracefully.
It still will not quit.
2018-05-07 23:34:45 +03:00
Shlomi Fish
4b75005b28 Start adding support for handling parse errs.
in the importFile feature. Still does not work fully.
2018-05-07 23:29:14 +03:00
Shlomi Fish
e915b6daef configurable filename. 2018-05-01 14:45:22 +03:00
Shlomi Fish
23001f0f0f Add support for "10" instead of "T".
See https://github.com/shlomif/PySolFC/issues/79 .
2018-04-30 22:53:49 +03:00
Shlomi Fish
04a9b4c910 Handle the utf-8 BOM in the import. 2018-04-30 20:33:23 +03:00
Shlomi Fish
3e595ae183 Add a Ctrl+Z undo shortcut.
See https://github.com/shlomif/PySolFC/issues/71 . It is the more
standard one.
2018-04-16 02:37:23 +03:00
Shlomi Fish
cb316a20fe Add more. 2017-12-19 13:49:15 +02:00
Shlomi Fish
ab98966d9c Remove debugging hard code. 2017-12-19 13:39:22 +02:00
Shlomi Fish
a803849b35 Working now - import board.
Mostly at least.
2017-12-18 21:52:29 +02:00
Shlomi Fish
3fc989ae0a Start implementing board import.
See https://github.com/shlomif/PySolFC/issues/47 .
2017-12-18 20:47:10 +02:00
Shlomi Fish
dbdd0f392c division sanity 2017-08-25 18:25:58 +03:00
Shlomi Fish
763477d218 Fix SaveAs/Open/etc.
We used the wrong python-six import.
2017-06-02 21:44:17 +03:00
Shlomi Fish
e6894094ec 2to3 on pysollib/ui/tktile/*.py 2017-05-24 17:08:05 +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
b53d1d163c 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
2fa235ff33 Fix MfxMessageDialog. 2016-03-16 12:28:03 +02:00
Shlomi Fish
80268cfac8 Fix SelectGameDialogWithPreview. 2016-03-14 23:05:37 +02:00
Shlomi Fish
c3a8a52543 Fix SelectGameDialog in the menubar.
More of the fact the imports were lost and are 'tk' or 'tile'-specific.
2016-03-14 22:44:44 +02:00
Shlomi Fish
e7090f8f4b Fix a bug with SoundDialog. 2016-03-14 18:14:52 +02:00
Shlomi Fish
8f161ce335 Fix the tiles' dialog from the menu. 2016-03-01 19:58:45 +02:00
Shlomi Fish
1302aa395c Remove an old trace print. 2016-02-19 23:33:36 +02:00
Shlomi Fish
d9ab7b2e4f menubar.py : move more code to base class. 2016-02-19 23:11:45 +02:00
Shlomi Fish
cde9bc5fb5 menubar: move more code to the base class. 2016-02-19 23:06:16 +02:00
Shlomi Fish
ee1114fb3b Continue moving more menubar func to base class. 2016-02-19 19:27:22 +02:00
Shlomi Fish
7780d6fccd Fix some import bugs in the menubar parent class. 2016-02-19 18:23:12 +02:00
Shlomi Fish
8fcb811608 Move duplicate code to the menuar base class. 2016-02-19 17:55:30 +02:00
Shlomi Fish
98fcd0a357 Move some methods to the base class.
I had to rename some attributes away from the leading two underscores ("__")
because it didn't work with them.
2016-02-17 21:21:26 +02:00
Shlomi Fish
3f962b7134 Extract some common code into a base class. 2016-02-16 18:19:13 +02:00