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

37 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
Shlomi Fish
908de63d9f Fix flake8 tests.
For the new flake8.
2018-11-11 22:43:36 +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
Roderik Ploszek
c9baf9585a Fix integer division 2018-03-03 17:20:57 +01:00
Shlomi Fish
3ada0e3e0b Convert to six.moves. 2018-02-20 01:41:40 +02:00
Shlomi Fish
b887d6042b Made flake8 happier.
Removed __all__ and stuff - we use explicit imports now.
2017-09-18 13:04:53 +03:00
Shlomi Fish
dbdd0f392c division sanity 2017-08-25 18:25:58 +03:00
Shlomi Fish
aa4f9ee5da Crude code to get some func running in py3.
Right now klondike and freecell sort of work, but this is very hacky and
there are many leftover debug traces.
2017-08-25 18:25:58 +03:00
Shlomi Fish
ce6f5613a3 sixify tkfont. 2017-05-22 19:03:18 +03:00
Shlomi Fish
4d963e3f59 2to3 on pysollib/games/mahjongg/*.py 2017-05-22 00:00:50 +03:00
Shlomi Fish
2505afdb68 flake8 - mahjongg 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
Shlomi Fish
5dc2edda91 Get rid of gettext in init. 2012-11-25 19:43:46 +02:00
skomoroh
24c0b00c0d * scalable cards (req: PIL >= 1.1.7)
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@263 efabe8c0-fbe8-4139-b769-b5e6d273206e
2011-03-06 06:33:38 +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
06a6d7492e * improved mahjongg tile highlighting
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@202 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-29 21:23:19 +00:00
skomoroh
870f10b1e6 * improved mahjongg tile highlighting
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@201 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-28 21:18:37 +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
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
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
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
82002d061f * updated gtk-binding
* updated ru.po


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@168 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-19 21:16:57 +00:00
skomoroh
2aa94c2858 * improved the mahjongg games
+ added `shuffle' icons


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@167 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-18 21:24:17 +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
933dc7b4cc * improved mahjongg games solubility
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@165 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-15 21:28:40 +00:00
skomoroh
98849947b2 + 3 new games
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@144 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-28 22:52:01 +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
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
00aa3488e4 - removed 5 duplicated games (Rock Hopper)
* improved images shadowing (mahjongg and filled stacks) - need PIL
* bugs fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@109 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-10 22:18:04 +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
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
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
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