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

50 commits

Author SHA1 Message Date
Joe R
5b6496432c Added Appreciate game. 2024-01-31 20:19:10 -05:00
Joe R
a23a3deee2 More alt names. 2023-06-29 18:02:12 -04:00
Joe R
472b68a9c7 Improved support for multi-deck Calculation type games. 2022-11-14 20:59:28 -05:00
Joe R
36b3f89b52 Fixed overlapping labels in Betsy Ross. 2022-03-22 19:59:47 -04:00
Joe R
b55c0a9015 Some game organization, particularly with Colorado family games. 2022-01-18 17:30:29 -05: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
4f2b28e017 Extract another method. 2017-11-09 19:20:41 +02:00
Shlomi Fish
4fc37276aa Extract _startDealNumRows(). Refactoring. 2017-11-09 19:06:59 +02:00
Shlomi Fish
aa72842042 Refactoring more into _dealNumRows. 2017-11-09 18:48:59 +02:00
Shlomi Fish
dbdd0f392c division sanity 2017-08-25 18:25:58 +03:00
Shlomi Fish
cb646c3155 fix some sorting regressions in flake8 commits 2017-04-19 12:03:46 +03:00
Shlomi Fish
8573e23829 flake8 2017-04-19 12:03:45 +03:00
Shlomi Fish
e2a6c00606 Merge remote-tracking branch 'jimsize/master' into pysolfc_modules_modularization
Conflicts:
	.gitignore
	Makefile
	pysollib/acard.py
	pysollib/actions.py
	pysollib/app.py
	pysollib/customgame.py
	pysollib/game.py
	pysollib/gamedb.py
	pysollib/games/__init__.py
	pysollib/games/auldlangsyne.py
	pysollib/games/braid.py
	pysollib/games/calculation.py
	pysollib/games/camelot.py
	pysollib/games/canfield.py
	pysollib/games/curdsandwhey.py
	pysollib/games/fan.py
	pysollib/games/golf.py
	pysollib/games/klondike.py
	pysollib/games/larasgame.py
	pysollib/games/mahjongg/mahjongg.py
	pysollib/games/mahjongg/shisensho.py
	pysollib/games/matriarchy.py
	pysollib/games/napoleon.py
	pysollib/games/numerica.py
	pysollib/games/osmosis.py
	pysollib/games/pileon.py
	pysollib/games/royalcotillion.py
	pysollib/games/special/memory.py
	pysollib/games/special/poker.py
	pysollib/games/special/tarock.py
	pysollib/games/spider.py
	pysollib/games/takeaway.py
	pysollib/games/terrace.py
	pysollib/games/threepeaks.py
	pysollib/games/tournament.py
	pysollib/games/ultra/dashavatara.py
	pysollib/games/ultra/hanafuda.py
	pysollib/games/ultra/hanafuda1.py
	pysollib/games/ultra/hanafuda_common.py
	pysollib/games/ultra/hexadeck.py
	pysollib/games/ultra/mughal.py
	pysollib/games/yukon.py
	pysollib/help.py
	pysollib/hint.py
	pysollib/images.py
	pysollib/init.py
	pysollib/layout.py
	pysollib/main.py
	pysollib/mfxutil.py
	pysollib/options.py
	pysollib/pysolgtk/colorsdialog.py
	pysollib/pysolgtk/fontsdialog.py
	pysollib/pysolgtk/menubar.py
	pysollib/pysolgtk/playeroptionsdialog.py
	pysollib/pysolgtk/selectcardset.py
	pysollib/pysolgtk/selectgame.py
	pysollib/pysolgtk/selecttile.py
	pysollib/pysolgtk/soundoptionsdialog.py
	pysollib/pysolgtk/statusbar.py
	pysollib/pysolgtk/timeoutsdialog.py
	pysollib/pysolgtk/tkhtml.py
	pysollib/pysolgtk/tkstats.py
	pysollib/pysolgtk/tkwidget.py
	pysollib/pysolrandom.py
	pysollib/pysoltk.py
	pysollib/resource.py
	pysollib/stack.py
	pysollib/stats.py
	pysollib/tile/colorsdialog.py
	pysollib/tile/edittextdialog.py
	pysollib/tile/findcarddialog.py
	pysollib/tile/fontsdialog.py
	pysollib/tile/gameinfodialog.py
	pysollib/tile/menubar.py
	pysollib/tile/playeroptionsdialog.py
	pysollib/tile/selectcardset.py
	pysollib/tile/selectgame.py
	pysollib/tile/selecttile.py
	pysollib/tile/solverdialog.py
	pysollib/tile/soundoptionsdialog.py
	pysollib/tile/statusbar.py
	pysollib/tile/timeoutsdialog.py
	pysollib/tile/tkconst.py
	pysollib/tile/tkhtml.py
	pysollib/tile/tkstats.py
	pysollib/tile/tkwidget.py
	pysollib/tile/toolbar.py
	pysollib/tile/ttk.py
	pysollib/tile/wizarddialog.py
	pysollib/tk/colorsdialog.py
	pysollib/tk/edittextdialog.py
	pysollib/tk/findcarddialog.py
	pysollib/tk/fontsdialog.py
	pysollib/tk/gameinfodialog.py
	pysollib/tk/menubar.py
	pysollib/tk/playeroptionsdialog.py
	pysollib/tk/selectcardset.py
	pysollib/tk/selectgame.py
	pysollib/tk/selecttile.py
	pysollib/tk/solverdialog.py
	pysollib/tk/soundoptionsdialog.py
	pysollib/tk/statusbar.py
	pysollib/tk/timeoutsdialog.py
	pysollib/tk/tkconst.py
	pysollib/tk/tkhtml.py
	pysollib/tk/tkstats.py
	pysollib/tk/tkwidget.py
	pysollib/tk/toolbar.py
	pysollib/tk/wizarddialog.py
	pysollib/util.py
	pysollib/winsystems/common.py
	pysollib/wizardpresets.py
	pysollib/wizardutil.py
	setup_osx.py
2012-12-07 16:32:30 +02:00
Shlomi Fish
5dc2edda91 Get rid of gettext in init. 2012-11-25 19:43:46 +02:00
skomoroh
2744887cd4 * changed comments style
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@243 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-07-22 21:36:22 +00:00
skomoroh
232dca18fb * changed comments style
git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@243 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2009-07-22 21:36:22 +00:00
skomoroh
dfe790a101 * changed GPL version to 3
* added config-file option sound_sample_buffer_size
* bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@234 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-06-12 09:32:43 +00:00
skomoroh
fb107c8727 * changed GPL version to 3
* added config-file option sound_sample_buffer_size
* bugfixes


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@234 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2009-06-12 09:32:43 +00:00
skomoroh
ebb552c135 + 2 new games
+ new Layout method: createRoundText
+ added showing `Round #' for many games
* minor improvement of SelectTileDialogWithPreview
* improved `select random game'
* fixed setting bg image


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@193 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-15 21:44:20 +00:00
skomoroh
ccf656ba52 + 2 new games
+ new Layout method: createRoundText
+ added showing `Round #' for many games
* minor improvement of SelectTileDialogWithPreview
* improved `select random game'
* fixed setting bg image


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@193 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2007-08-15 21:44:20 +00:00
skomoroh
f6c646d1a5 * fixed using non-ascii filenames for background images
* refactoring: move getBottomImage to Stack as _get*BottomImage
* bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@191 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-11 21:20:05 +00:00
skomoroh
ea3e9d98e7 * fixed using non-ascii filenames for background images
* refactoring: move getBottomImage to Stack as _get*BottomImage
* bugfixes


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@191 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2007-08-11 21:20:05 +00:00
skomoroh
93e96d71db * refactoring: sound=0' -> sound=False' ...
* fixed loading options
* fixed some games


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@189 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-31 21:31:52 +00:00
skomoroh
7f0cb89de2 * refactoring: sound=0' -> sound=False' ...
* fixed loading options
* fixed some games


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@189 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2007-07-31 21:31:52 +00:00
skomoroh
87ad2b799b + 4 new games
* minor improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@188 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-30 21:22:27 +00:00
skomoroh
cedbb8f575 + 4 new games
* minor improvements


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@188 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2007-07-30 21:22:27 +00:00
skomoroh
5175caf86a + separated demo-mode and solver; solver dialog
+ added statistics progression; statistics progression dialog
+ new animation speed: `medium'; renamed `timer based' to `fast'
+ added flip animation (animatedFlip)
+ added move to waste animation (animatedFlipAndMove)
+ added cancel-drag animation (moveCardsBackHandler)
* improved demo game (snapshots based check for loop)
- removed setting text color from file name
- removed auto generation shadows (too slow)
* optimized menu creation
* changed some keybindings
* updated russian translation
* many bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@138 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-16 23:20:02 +00:00
skomoroh
971148fa27 + separated demo-mode and solver; solver dialog
+ added statistics progression; statistics progression dialog
+ new animation speed: `medium'; renamed `timer based' to `fast'
+ added flip animation (animatedFlip)
+ added move to waste animation (animatedFlipAndMove)
+ added cancel-drag animation (moveCardsBackHandler)
* improved demo game (snapshots based check for loop)
- removed setting text color from file name
- removed auto generation shadows (too slow)
* optimized menu creation
* changed some keybindings
* updated russian translation
* many bugfixes


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@138 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2007-02-16 23:20:02 +00:00
skomoroh
b85ff3399f * improved SingleGame_StatsDialog
* improved Tile/Scale
* other improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@124 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-18 23:09:00 +00:00
skomoroh
101b7252a9 * improved SingleGame_StatsDialog
* improved Tile/Scale
* other improvements


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@124 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-12-18 23:09:00 +00:00
skomoroh
49ed76671b + 2 new games
* improved stack's shade


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@110 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-11 22:14:41 +00:00
skomoroh
0080e11666 + 2 new games
* improved stack's shade


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@110 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-12-11 22:14:41 +00:00
skomoroh
473b1f7004 - removed pysollib/version.py; moved VERSION* constants to pysollib/settings.py
+ added data-files (images and glade-files)
* GTK bindings: fonts-dialog
* GTK bindings: fixed bug with lost connections


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@55 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-22 21:09:21 +00:00
skomoroh
cd896971ad - removed pysollib/version.py; moved VERSION* constants to pysollib/settings.py
+ added data-files (images and glade-files)
* GTK bindings: fonts-dialog
* GTK bindings: fixed bug with lost connections


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@55 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-08-22 21:09:21 +00:00
skomoroh
d7ec0c66ba + 6 new games
* misc. improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@45 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-12 21:15:56 +00:00
skomoroh
952125b5f8 + 6 new games
* misc. improvements


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@45 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-08-12 21:15:56 +00:00
skomoroh
7447bd7a64 + 5 new games
- pysollib/acard.py, pysollib/tk/card.py - removed support of old version tk
* misc. improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@44 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-11 21:09:32 +00:00
skomoroh
a74786ed32 + 5 new games
- pysollib/acard.py, pysollib/tk/card.py - removed support of old version tk
* misc. improvements


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@44 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-08-11 21:09:32 +00:00
skomoroh
175410e2d0 + new option: `shrink face down'
* changed talon/waste text anchor: `ss' -> `s', `nn' -> `n'
* fixed support python 2.2 and tk 8.3


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@43 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-10 21:19:27 +00:00
skomoroh
5f82560885 + new option: `shrink face down'
* changed talon/waste text anchor: `ss' -> `s', `nn' -> `n'
* fixed support python 2.2 and tk 8.3


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@43 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-08-10 21:19:27 +00:00
skomoroh
3814cf1cd4 + 6 new games
+ new action: `show descript. of piles'; new class: StackDesc
* Stack.getHelp: rename `Row' -> `Tableau'
* misc. improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@29 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-27 21:25:30 +00:00
skomoroh
3c6df76c7a + 6 new games
+ new action: `show descript. of piles'; new class: StackDesc
* Stack.getHelp: rename `Row' -> `Tableau'
* misc. improvements


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@29 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-07-27 21:25:30 +00:00
skomoroh
082c64597a + 6 new games
+ new tk util `_getHelpText'


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@27 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-25 21:13:43 +00:00
skomoroh
602ccc743f + 6 new games
+ new tk util `_getHelpText'


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@27 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-07-25 21:13:43 +00:00
skomoroh
9bb2ed1b27 + 1 new game
+ new layout attribute: TEXT_HEIGHT


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@13 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-23 21:31:40 +00:00
skomoroh
d55d4c8abf + 1 new game
+ new layout attribute: TEXT_HEIGHT


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@13 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-06-23 21:31:40 +00:00
skomoroh
49adfd3513 + new selection type: `by skill level'
+ new experimental options: `randomize_place'
* added columnbreak to favorites menu


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@11 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-21 21:27:05 +00:00
skomoroh
758bdec2c4 + new selection type: `by skill level'
+ new experimental options: `randomize_place'
* added columnbreak to favorites menu


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@11 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-06-21 21:27:05 +00:00
skomoroh
df80ec1047 Initial import.
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@1 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-05-26 21:25:18 +00:00
skomoroh
02bae742f2 Initial import.
git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@1 39dd0a4e-7c14-0410-91b3-c4f2d318f732
2006-05-26 21:25:18 +00:00