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
11bafeba44
use six.py.
2018-09-01 18:40:50 +03:00
Shlomi Fish
38bfb88971
Made the new flake8 and travis happier.
...
Fix the warnings.
2017-11-04 20:15:52 +02:00
Shlomi Fish
890a948d8b
Ran 2to3 on pysollib/[a-g]*.py
2017-04-27 21:13:32 +03:00
Shlomi Fish
1ec8cc8b27
flake8 checked g*.py.
2017-04-19 12:03:44 +03:00
Shlomi Fish
884a44ceb0
gamedb.
2012-11-25 18:07:40 +02:00
Shlomi Fish
03c83d7900
Convert to pysollib.resource.
...
This also includes a sys.path.insert(0, ...) fix (to prepend) instead of
sys.append in order to fix finding pysollib/__init.py__ in the global
path.
2012-11-25 17:55:43 +02:00
Shlomi Fish
308ede18ff
Convert mfxutil and settings imports to pysollib
2012-11-25 17:05:22 +02:00
Shlomi Fish
bed5786b64
Convert settings to pysollib.settings and test it.
2012-11-25 17:00:08 +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
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
9cae07b47c
+ 1 new game
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@223 efabe8c0-fbe8-4139-b769-b5e6d273206e
2008-03-22 14:47:41 +00:00
skomoroh
d2765100a3
+ 1 new game
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@222 efabe8c0-fbe8-4139-b769-b5e6d273206e
2008-03-20 14:48:22 +00:00
skomoroh
b9ed601697
* bugfixes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@220 efabe8c0-fbe8-4139-b769-b5e6d273206e
2008-03-17 15:04:13 +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
2ae3f5505c
+ added file AUTHORS
...
* improved Not Shisen Sho hint
* minor fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@212 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-09-25 21:47:01 +00:00
skomoroh
de714447b6
+ 3 new games
...
* bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@211 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-09-13 21:20:38 +00:00
skomoroh
9d7698ecf1
* minor fixes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@205 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-31 21:30:22 +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
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
62c81b4657
* improved toolbar (Tile)
...
* bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@187 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-23 22:21:34 +00:00
skomoroh
638f2e04ab
* bugfixes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@186 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-21 21:28:44 +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
cf787d633e
+ 1 new game
...
* new category in gamedb: `GAMES_BY_INVENTORS'
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@183 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-04 21:34:05 +00:00
skomoroh
0f198dec99
+ 2 new games
...
* moved `Options' from app.py to options.py
* added validation of config file
* improved data/tcl/fsdialog*.tcl
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@182 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-03 21:57:17 +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
a7e7aab703
* improved solitaire wizard
...
* removed round changes from turnStackMove
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@160 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-06 21:42:40 +00:00
skomoroh
9bf19c0f4c
* improved solitaire wizard
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@159 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-05 21:13:52 +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
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
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
05dac1faf5
+ new variable: settings.WIN_SYSTEM - tk windowing system (set up in init.py)
...
* replaced os.name on WIN_SYSTEM for gui-specific code
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@112 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-13 01:51:41 +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
99296b9ad8
+ 5 new games
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@103 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-04 22:16:00 +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
1b1a5e31e2
* accelerated game registration
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@90 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-08 23:28:56 +00:00
skomoroh
c687cdc9b6
** version 0.9.4 **
...
* misc improvements
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@88 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-07 22:23:43 +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
2632de3eab
+ 3 new games
...
* move poker.py to pysollib/games/special
* improved menubar
* updated translation
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@42 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-09 22:03:46 +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
84b710bb51
+ 6 new games
...
* improved findcarddialog
+ new command-line options: `--game' & `--gameid'
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@37 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-03 21:23:05 +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
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
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