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
76580b7a3f
Extract a method.
2017-11-13 22:27:43 +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
dd2f0ab0e1
Continue refactoring.
2017-11-09 18:41:41 +02:00
Shlomi Fish
38bfb88971
Made the new flake8 and travis happier.
...
Fix the warnings.
2017-11-04 20:15:52 +02:00
Shlomi Fish
dbdd0f392c
division sanity
2017-08-25 18:25:58 +03:00
Shlomi Fish
5ac5039687
Convert the Layout_Method to staticmethod()
...
This way it can be called as before in both python2 and python3.
2017-08-25 18:25:58 +03:00
Shlomi Fish
7d6c4cf58e
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
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
46a2191011
+ added config-file option `translate_game_names'
...
+ added accelerator ctrl-x: `Hold and quit'
* fixed games `Matriarchy', `Grandfather', `Bristol', `Chessboard', Twenty, `Q.C.'
* improved MfxScrolledCanvas
* improved hint
* fixed SelectTileDialogWithPreview
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@194 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-18 21:19:52 +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
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
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
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
2226957e90
+ new file: pysollib/init.py
...
* improved tile binding
* misc. improvements and bugs fixes
* update ru translation
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@84 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-01 23:06:59 +00:00
skomoroh
9f6d8c62a0
+ 2 new games
...
* misc. improvements
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@83 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-10-23 21:15:36 +00:00
skomoroh
802fedc73c
* bugs fixes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@71 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-09-25 00:51:47 +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
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
dadcfa69da
+ 5 new games
...
* improved tkhtml
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@39 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-05 21:29:10 +00:00
skomoroh
4f811fa9a5
+ 6 new games
...
* misc.improvments
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@35 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-01 21:14:27 +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
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
2f3b0f09cc
+ 6 new game
...
* fixed game `Arachnida'
+ expanded debug support
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@20 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-16 21:05:30 +00:00
skomoroh
257a14f6d7
+ 9 new game
...
+ added command-line option `--debug' (undocumented)
- removed `mixer' button in soundoptionsdialog
* small improvements
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@19 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-14 21:09:12 +00:00
skomoroh
66dde71fac
+ 1 new game
...
* small improvements
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@17 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-08 21:25:35 +00:00
skomoroh
819ed81f87
+ 1 new game
...
+ update russian translation
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@14 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-24 21:17:14 +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
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
bce72a93fa
+ 3 new games
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@10 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-19 21:08:25 +00:00
skomoroh
44e8f8c417
+ 37 new games
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@9 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-17 21:18:07 +00:00
skomoroh
00e73d252b
- fixed game `Jane'
...
- added game `Granada'
- added support accel-keys for buttons of dialogs
- changed widget's styles
- updated russian translation
- updated GAMES_BY_PYSOL_VERSION (gamedb.py)
- other minor fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@4 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-08 01:35:18 +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