mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Compare commits
4 commits
7940e62285
...
a6827ee7e2
Author | SHA1 | Date | |
---|---|---|---|
|
a6827ee7e2 | ||
|
5d1ed621e3 | ||
|
4c031b9686 | ||
|
2c69371265 |
13 changed files with 26 additions and 19 deletions
|
@ -5,7 +5,7 @@ The answer is simple...
|
||||||
|
|
||||||
<h3>PySol highlights</h3>
|
<h3>PySol highlights</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li> currently supports more than 1000 distinct solitaire games
|
<li> currently supports more than 1,200 distinct solitaire games
|
||||||
<li> based upon an extensible solitaire engine
|
<li> based upon an extensible solitaire engine
|
||||||
<li> lots of classic games like Forty Thieves, FreeCell, Klondike and Spider
|
<li> lots of classic games like Forty Thieves, FreeCell, Klondike and Spider
|
||||||
<li> special games like Ganjifa, Hanafuda, Poker and Tarock type games
|
<li> special games like Ganjifa, Hanafuda, Poker and Tarock type games
|
||||||
|
@ -24,7 +24,7 @@ The answer is simple...
|
||||||
<li> integrated HTML help browser
|
<li> integrated HTML help browser
|
||||||
<li> lots of documentation
|
<li> lots of documentation
|
||||||
<li> portable across Windows, Mac, and Linux
|
<li> portable across Windows, Mac, and Linux
|
||||||
<li> completely ad-free
|
<li> completely ad-free, now and forever
|
||||||
<li> written in 100% pure Python
|
<li> written in 100% pure Python
|
||||||
<li> distributed under the terms of the GNU General Public License
|
<li> distributed under the terms of the GNU General Public License
|
||||||
<li> <i>Commercial Quality Freeware</i>
|
<li> <i>Commercial Quality Freeware</i>
|
||||||
|
|
|
@ -679,7 +679,7 @@ msgid ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol is free software distributed under the terms\n"
|
"PySol is free software distributed under the terms\n"
|
||||||
|
|
|
@ -685,7 +685,7 @@ msgid ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol is free software distributed under the terms\n"
|
"PySol is free software distributed under the terms\n"
|
||||||
|
@ -700,7 +700,7 @@ msgstr ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"Tous droits réservés.\n"
|
"Tous droits réservés.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol est un logiciel libre distribué sous la licence\n"
|
"PySol est un logiciel libre distribué sous la licence\n"
|
||||||
|
|
|
@ -691,7 +691,7 @@ msgid ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol is free software distributed under the terms\n"
|
"PySol is free software distributed under the terms\n"
|
||||||
|
@ -706,7 +706,7 @@ msgstr ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"Tutti i diritti riservati.\n"
|
"Tutti i diritti riservati.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol è software libero distribuito alle condizioni\n"
|
"PySol è software libero distribuito alle condizioni\n"
|
||||||
|
|
|
@ -683,7 +683,7 @@ msgid ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol is free software distributed under the terms\n"
|
"PySol is free software distributed under the terms\n"
|
||||||
|
@ -698,7 +698,7 @@ msgstr ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol jest wolnym oprogramowaniem rozprowadzanym\n"
|
"PySol jest wolnym oprogramowaniem rozprowadzanym\n"
|
||||||
|
|
|
@ -682,7 +682,7 @@ msgid ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol is free software distributed under the terms\n"
|
"PySol is free software distributed under the terms\n"
|
||||||
|
@ -697,7 +697,7 @@ msgstr ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"Todos os direitos reservados.\n"
|
"Todos os direitos reservados.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol é um software livre distribuído sob os termos\n"
|
"PySol é um software livre distribuído sob os termos\n"
|
||||||
|
|
|
@ -657,7 +657,7 @@ msgid ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol is free software distributed under the terms\n"
|
"PySol is free software distributed under the terms\n"
|
||||||
|
|
|
@ -688,7 +688,7 @@ msgid ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol is free software distributed under the terms\n"
|
"PySol is free software distributed under the terms\n"
|
||||||
|
@ -703,7 +703,7 @@ msgstr ""
|
||||||
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
"Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.\n"
|
||||||
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
"Copyright (C) 2003 Mt. Hood Playing Card Co.\n"
|
||||||
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
"Copyright (C) 2005 - 2009 Skomoroh.\n"
|
||||||
"Copyright (C) 2020 - 2024 PySolFC.\n"
|
"Copyright (C) 2020 - 2025 PySolFC.\n"
|
||||||
"All Rights Reserved.\n"
|
"All Rights Reserved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"PySol свободное программное обеспечение,\n"
|
"PySol свободное программное обеспечение,\n"
|
||||||
|
|
|
@ -555,7 +555,8 @@ class PysolMenubar(PysolMenubarTk):
|
||||||
'id': game.getGameNumber(format=1)}
|
'id': game.getGameNumber(format=1)}
|
||||||
cc = _("Comments for %(game)s %(id)s:\n\n") % kw
|
cc = _("Comments for %(game)s %(id)s:\n\n") % kw
|
||||||
c = game.gsaveinfo.comment or cc
|
c = game.gsaveinfo.comment or cc
|
||||||
d = EditTextDialog(game.top, _("Comments for %(id)s") % kw, text=c)
|
d = EditTextDialog(game.top, _("Comments for %(id)s") % kw, text=c,
|
||||||
|
resizable=True)
|
||||||
if d.status == 0 and d.button == 0:
|
if d.status == 0 and d.button == 0:
|
||||||
text = d.text
|
text = d.text
|
||||||
if text.strip() == cc.strip():
|
if text.strip() == cc.strip():
|
||||||
|
@ -644,13 +645,15 @@ class PysolMenubar(PysolMenubarTk):
|
||||||
elif mode == 103:
|
elif mode == 103:
|
||||||
header = (_("%(app)s Demo Full log") if demo
|
header = (_("%(app)s Demo Full log") if demo
|
||||||
else _("Full log for %(player)s")) % transkw
|
else _("Full log for %(player)s")) % transkw
|
||||||
d = FullLog_StatsDialog(self.top, header, self.app, player)
|
d = FullLog_StatsDialog(self.top, header, self.app, player,
|
||||||
|
resizable=True)
|
||||||
gameid = d.selected_game
|
gameid = d.selected_game
|
||||||
gamenum = d.selected_game_num
|
gamenum = d.selected_game_num
|
||||||
elif mode == 104:
|
elif mode == 104:
|
||||||
header = (_("%(app)s Demo Session log") if demo
|
header = (_("%(app)s Demo Session log") if demo
|
||||||
else _("Session log for %(player)s")) % transkw
|
else _("Session log for %(player)s")) % transkw
|
||||||
d = SessionLog_StatsDialog(self.top, header, self.app, player)
|
d = SessionLog_StatsDialog(self.top, header, self.app, player,
|
||||||
|
resizable=True)
|
||||||
gameid = d.selected_game
|
gameid = d.selected_game
|
||||||
gamenum = d.selected_game_num
|
gamenum = d.selected_game_num
|
||||||
elif mode == 105:
|
elif mode == 105:
|
||||||
|
|
|
@ -3368,7 +3368,7 @@ class Game(object):
|
||||||
state = pload()
|
state = pload()
|
||||||
if (game.random is not None and
|
if (game.random is not None and
|
||||||
not isinstance(game.random, random.Random) and
|
not isinstance(game.random, random.Random) and
|
||||||
isinstance(state, int)):
|
isinstance(state, tuple)):
|
||||||
game.random.setstate(state)
|
game.random.setstate(state)
|
||||||
# if not hasattr(game.random, "origin"):
|
# if not hasattr(game.random, "origin"):
|
||||||
# game.random.origin = game.random.ORIGIN_UNKNOWN
|
# game.random.origin = game.random.ORIGIN_UNKNOWN
|
||||||
|
|
|
@ -56,7 +56,7 @@ def help_about(app, timeout=0, sound=True):
|
||||||
Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.
|
Copyright (C) 1998 - 2003 Markus F.X.J. Oberhumer.
|
||||||
Copyright (C) 2003 Mt. Hood Playing Card Co.
|
Copyright (C) 2003 Mt. Hood Playing Card Co.
|
||||||
Copyright (C) 2005 - 2009 Skomoroh.
|
Copyright (C) 2005 - 2009 Skomoroh.
|
||||||
Copyright (C) 2020 - 2024 PySolFC.
|
Copyright (C) 2020 - 2025 PySolFC.
|
||||||
All Rights Reserved.
|
All Rights Reserved.
|
||||||
|
|
||||||
PySol is free software distributed under the terms
|
PySol is free software distributed under the terms
|
||||||
|
|
|
@ -514,6 +514,8 @@ class LogDialog(MfxDialog):
|
||||||
title = _('Log')
|
title = _('Log')
|
||||||
MfxDialog.__init__(self, parent, title, kw.resizable, kw.default)
|
MfxDialog.__init__(self, parent, title, kw.resizable, kw.default)
|
||||||
|
|
||||||
|
self.top.wm_minsize(400, 200)
|
||||||
|
|
||||||
self.selected_game = None
|
self.selected_game = None
|
||||||
self.selected_game_num = None
|
self.selected_game_num = None
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,8 @@ class BaseEditTextDialog:
|
||||||
self, parent, title, kw.resizable, kw.default)
|
self, parent, title, kw.resizable, kw.default)
|
||||||
top_frame, bottom_frame = self.createFrames(kw)
|
top_frame, bottom_frame = self.createFrames(kw)
|
||||||
self.createBitmaps(top_frame, kw)
|
self.createBitmaps(top_frame, kw)
|
||||||
|
self.top.wm_minsize(300, 150)
|
||||||
|
|
||||||
#
|
#
|
||||||
self.text_w = tkinter.Text(top_frame, bd=1, relief="sunken",
|
self.text_w = tkinter.Text(top_frame, bd=1, relief="sunken",
|
||||||
wrap="word", width=64, height=16)
|
wrap="word", width=64, height=16)
|
||||||
|
|
Loading…
Add table
Reference in a new issue