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

35 commits

Author SHA1 Message Date
Juhani Numminen
1c79d5437e Refactor initCardsets
Make variable names descriptive.

Don't check for duplicate or empty strings in result of getSearchDirs() because
that is not necessary. Document those properties in a comment in resource.py.

Wrap try...except more closely around expressions where we want to catch.
2020-10-15 12:30:36 +03: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
11bafeba44 use six.py. 2018-09-01 18:40:50 +03:00
Shlomi Fish
f18c394c33 Extract a common function. 2018-03-12 21:58:06 +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
de93df2de7 flake8 and other tests. 2017-09-18 16:37:02 +03:00
Shlomi Fish
dbdd0f392c division sanity 2017-08-25 18:25:58 +03:00
Shlomi Fish
d8ba8f7136 Ran 2to3 on pysollib/[a-r]*.py 2017-04-28 14:17:05 +03:00
Shlomi Fish
c4a0d62963 flake 8. 2017-04-19 12:03:44 +03:00
Shlomi Fish
99ef711af1 Change the licenses headers to please flake8. 2017-04-19 12:03:44 +03:00
Shlomi Fish
c1d7918c27 Fix some typos as reported by codespell.
Thanks to Jan for inspiring this.
2017-04-08 19:13:59 +03:00
Shlomi Fish
8acdff6b48 Test import of pysollib.resource. 2012-11-25 17:50:22 +02:00
Shlomi Fish
308ede18ff Convert mfxutil and settings imports to pysollib 2012-11-25 17:05:22 +02:00
skomoroh
cbd51240c5 added settings for offsets of cards; bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@277 efabe8c0-fbe8-4139-b769-b5e6d273206e
2012-06-05 18:37:12 +00:00
skomoroh
2f22c2f528 + save aspect for background image
* minor fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@250 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-08-13 22:23:38 +00:00
skomoroh
67206a0aa8 * improved stacks bottom
* bug fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@246 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-08-05 16:46:12 +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
212c8ed5ce * fixed bug with non-ascii chars in the path
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@219 efabe8c0-fbe8-4139-b769-b5e6d273206e
2008-02-29 04:13:23 +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
adcf65dca4 * bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@180 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-01 21:29:51 +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
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
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
6d63b6cf54 * improved keybindings in dialogs
* added usage xrdb font (x11)


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@127 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-20 22:22:56 +00:00
brianl
85a29c5622 Modifications for OS X
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@111 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-12 21:52:11 +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
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
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
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
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