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

54 commits

Author SHA1 Message Date
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
lb@lb520
b5ef9b6214 Added an alternate toolkit kivy (based on SDL2) that can be used instead of tk.
Added scripts to build an android app.
2018-03-03 20:37:56 +02:00
Shlomi Fish
82a7284824 Start implementing flake8 compliance.
So far for the a* files.
2017-04-19 12:03:44 +03:00
Shlomi Fish
5dc2edda91 Get rid of gettext in init. 2012-11-25 19:43:46 +02:00
Shlomi Fish
55cc8995ae pysoltk. 2012-11-25 19:12:33 +02:00
Shlomi Fish
7ae1fa725d Test and convert "import help". 2012-11-25 19:01:26 +02:00
Shlomi Fish
5e8a078b9b Add more. 2012-11-25 18:24:01 +02:00
Shlomi Fish
61934914b1 import pysollib.pysolrandom.
Convert to an explicit namespace.
2012-11-25 18:21:41 +02:00
Shlomi Fish
884a44ceb0 gamedb. 2012-11-25 18:07:40 +02:00
Shlomi Fish
308ede18ff Convert mfxutil and settings imports to pysollib 2012-11-25 17:05:22 +02:00
skomoroh
27f49e6bc7 * fixed bug #3007453
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@266 efabe8c0-fbe8-4139-b769-b5e6d273206e
2011-03-06 07:01:06 +00: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
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
0ef9bf474f * refactored menubar and toolbar imports
* refactored pysolrandom.py; added WHRandom generator
* bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@215 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-12-28 08:38:51 +00:00
skomoroh
3b6fe2ad4e * updated russian translation
* fixed menubar
* minor fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@206 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-09-01 21:26:01 +00:00
skomoroh
4ab072798e + 1 new game
+ new option: `Enable shuffle'


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@200 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-26 21:20:53 +00:00
skomoroh
f86de9b176 * refactoring: replaced map(lambda...), filter(lambda...) to list comprehension (thanks to 2to3)
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@199 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-25 21:19:40 +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
6bb2e86dc9 + 7 new games
* improved startup; progressbar has been shown before load/register games
* improved gettext; game names has been translated during registration
* updated russian translation



git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@185 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-20 22:15:07 +00:00
skomoroh
959a14b1eb + 1 new game
* some changes in settings.py: added TITLE, renamed FC_VERSION to VERSION



git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@184 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-05 21:29:11 +00:00
skomoroh
9eaeadce61 * fixed scrolling in MfxScrolledCanvas
* added clickable url to About dialog
* many other improvements and bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@173 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-09 21:59:16 +00:00
skomoroh
b643693619 + human readable config file (~/.PySolFC/options.cfg; options.dat is gone)
+ added `custom games' node to select games dialog
* cleanup code


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@170 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-25 21:27:03 +00:00
skomoroh
2cbb6a8210 + `shuffle tiles' menu entry
* some bugs fixed


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@169 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-22 21:15:28 +00:00
skomoroh
500d8635f9 + added shuffle to mahjongg games
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@166 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-17 21:39:29 +00:00
skomoroh
f704ddd02b + added ngettext support
* updated russian translation


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@164 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-11 21:58:22 +00:00
skomoroh
8766c00a53 + new feature: Solitaire Wizard (tile only yet)
* misc. minor improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@157 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-03 21:21:33 +00:00
skomoroh
81e600c12b * redesigned statistics dialogs: all statistics in single dialog (Tile)
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@145 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-03-03 22:17:47 +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
9d63b66ba7 + 2 new settings options: redeal animation' and winning animation'
+ auto generation cards shadow (needs PIL)
* update russian translation
* cleanup code (removed `apply')


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@132 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-01-14 22:25:14 +00:00
skomoroh
1e0df4b925 + animated flip
* cleanup code


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@128 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-21 22:18:22 +00:00
skomoroh
3e649f70eb * renamed module tksettings to winsystems
* improved Tile/SingleGame_StatsDialog
* improved Tile/MfxDialog
* improved Tile/SelectGameDialogWithPreview
* cleanup code



git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@126 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-20 00:40:20 +00:00
skomoroh
be93eb00c0 + 4 new games
* misc. bugs fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@102 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-03 22:33:08 +00:00
skomoroh
1ed4e564b8 * added button 'play this game' to Tile/AllStatsDialog
* updated translation


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@101 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-30 22:18:35 +00:00
skomoroh
7c17688df7 - removed app.debug variable
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@95 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-13 23:59:28 +00:00
skomoroh
5ae17501e1 + 1 new game
* misc improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@87 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-06 22:10:44 +00:00
skomoroh
8a97ed47be * improved statistics
* improved tile support
* misc. bugs fixes and improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@81 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-10-20 21:18:06 +00:00
skomoroh
3b0cc10d30 + version 0.9.3
* bug fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@58 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-27 21:13:54 +00:00
skomoroh
3ce24a088b * little reorganization: move some func. from pysollib/actions.py to pysollib/tk/menubar.py
* bug fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@57 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-25 21:27:33 +00:00
skomoroh
d65367de02 + GTK bindings: sound-dialog
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@56 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-24 21:26:24 +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
dc038c8dc9 * improved GTK bindings; menu, stats-dialog, colors-dialog, timeouts-dialog
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@53 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-21 21:17:19 +00:00
skomoroh
7b10c8f9ed * improved support GTK (alpha)
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@49 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-16 21:20:28 +00:00
skomoroh
25ed80f8c3 + 1 new game
+ new stacks: DealRowRedealTalonStack and DealReserveRedealTalonStack
++ support GTK started


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@46 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-13 21:10:55 +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
cf72a6794a + 3 new games
* little reorganisation: move all french games to pysollib/games
+ new command-line option: `--french-only' (undocumented)
* misc. improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@41 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-07 21:35:48 +00:00
skomoroh
61000c9956 + 7 new games
+ new file: pysollib/tk/findcarddialog.py
+ new option: `use mouse for undo/redo'
* improved Game._highlightCards
* added flash to FindCardDialog


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@34 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-31 21:35:39 +00:00
skomoroh
8283cc8f02 + 3 new games
+ bind undo/redo to mouse click on background
+ `find card' dialog (unfinished)


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@32 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-30 21:14:39 +00:00
skomoroh
d91ba30ac8 * improved tooltip
* fixed any bugs


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@26 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-24 21:04:31 +00:00
skomoroh
52ef64302b + 4 new games
+ added `close stack' (Game.closeStackMove, Stack.closeStackMove, ACloseStackMove)
+ option `shade_filled_stacks'
+ new stack RedealTalonStack and new Game method redealCards
* added closeStackMove to PileOn and PictureGallery (used flipAllMove)


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@21 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-19 21:17:01 +00:00
skomoroh
9e2fedb915 - new option: `save games geometry'
- 5 new games: `double russian solitaire', `zodiac', `spike',
  `phantom blockade', `moving left'
- tkhtmlviewer: highlight visited urls


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@8 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-14 21:19:47 +00:00