Shlomi Fish
06d2fd5b90
issue217 : formatting.py deprecated fix.
...
This file is derived from /usr/lib/python3.9/formatter.py . All changes
are placed under CC0.
See:
* https://github.com/shlomif/PySolFC/issues/217
* https://bugzilla.redhat.com/show_bug.cgi?id=1990043
2021-08-11 20:20:35 +03:00
Joe R
e9b0675884
Added option to enable/disable other sound samples (the clock sound in Grandfather's Clock).
2021-06-26 11:00:39 -04:00
Joe R
c416d42a96
Removed deal animation from preview and combined game select options.
2021-06-08 21:54:15 -04:00
Joe R
0e1ecd1c1e
Enhanced higher resolution cardset support.
2021-04-25 13:46:53 -04:00
Shlomi Fish
3de9955879
try2fix flake 8 tests [travis/etc.]
2020-06-17 20:53:11 +03:00
Juhani Numminen
e1a1a8d169
Retire pysol.xbm & .xpm & the unused code that uses them
2020-03-11 14:57:28 +02:00
Juhani Numminen
6016a6a5c1
No such thing as pysollib.app.comments ( #153 )
2020-03-02 13:21:35 +02:00
Juhani Numminen
65b86f2d1d
Improve internationalization
...
- More strings marked for translation
- Used format strings instead of concatinating fragments
- Removed space before '?' or '!' from sentences in English
Following the GNU gettext guidelines at
https://www.gnu.org/software/gettext/manual/gettext.html#Preparing-Strings
2019-08-31 13:22:21 +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
af493722c8
Refactoring.
2018-03-13 13:16:49 +02:00
Shlomi Fish
033f99e4f2
refactoring.
2018-03-13 12:42:04 +02:00
Shlomi Fish
c825c3c6df
Refactoring.
2018-03-13 10:28:12 +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
b887d6042b
Made flake8 happier.
...
Removed __all__ and stuff - we use explicit imports now.
2017-09-18 13:04:53 +03:00
Shlomi Fish
e90b48104d
Division sanitize.
2017-08-25 18:25:58 +03:00
Shlomi Fish
72a2591ec1
Preemptive tkinter conversion to py2/py3.
...
Using the six module. Did it before 2to3 reports it.
2017-05-22 18:38:20 +03:00
Shlomi Fish
8a8314ce86
flake8
2017-04-19 12:03:45 +03:00
Shlomi Fish
727c1765ad
flake8.
2017-04-19 12:03:45 +03:00
Shlomi Fish
40dcd6633c
flake8
2017-04-19 12:03:45 +03:00
Shlomi Fish
a8984338bf
flake8
2017-04-19 12:03:45 +03:00
Shlomi Fish
899dfe677f
flake8
2017-04-19 12:03:45 +03:00
Shlomi Fish
c65a948357
flake8
2017-04-19 12:03:45 +03:00
Shlomi Fish
bfcfdc59a9
flake8
2017-04-19 12:03:45 +03:00
Shlomi Fish
4ce002d3ec
flake 8
2017-04-19 12:03:45 +03:00
Shlomi Fish
e536322821
flake 8
2017-04-19 12:03:45 +03:00
Shlomi Fish
3796c7c985
flake 8
2017-04-19 12:03:45 +03:00
Shlomi Fish
0876e08547
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
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
4da89ccc8c
Get rid of trailing space.
2013-05-22 12:57:18 +03:00
Shlomi Fish
5dc2edda91
Get rid of gettext in init.
2012-11-25 19:43:46 +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
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
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
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
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
6c30899fd9
* improved look for x11
...
* renamed option `separatorwidth' to `separator' (dialogs)
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@179 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-30 21:24:04 +00:00
skomoroh
5fd0909114
* pysollib/tk: removed unused imports
...
* minor bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@178 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-27 21:22:59 +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
8a2616449e
* cleanup code
...
* bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@171 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-26 21:17:19 +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
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
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