Joe R
a28aaeeb4f
Added show full picture option for puzzle type games.
2023-09-27 20:04:12 -04:00
Joe R
dba55c20fd
Split spread stacks logic from auto-scale logic.
2021-04-25 08:51:04 +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
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
8f22447dd7
2to3 on pysollib/tk/[a-m]*.py
2017-05-22 19:12:25 +03:00
Shlomi Fish
4c3e99d9a6
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
e04fdce5d5
Merge the findcarddialog modules into one.
2016-11-18 22:51:17 +02:00
Shlomi Fish
4abc0650c1
Remove an unused import.
2016-03-16 14:07:20 +02:00
Shlomi Fish
d6219b65bf
Refactoring: access identifiers directly.
...
Instead of having one more level of indirection.
2016-03-16 13:49:56 +02:00
Shlomi Fish
3791c8b4c6
Remove some unneeded code.
2016-03-16 12:45:29 +02:00
Shlomi Fish
2fa235ff33
Fix MfxMessageDialog.
2016-03-16 12:28:03 +02:00
Shlomi Fish
80268cfac8
Fix SelectGameDialogWithPreview.
2016-03-14 23:05:37 +02:00
Shlomi Fish
c3a8a52543
Fix SelectGameDialog in the menubar.
...
More of the fact the imports were lost and are 'tk' or 'tile'-specific.
2016-03-14 22:44:44 +02:00
Shlomi Fish
e7090f8f4b
Fix a bug with SoundDialog.
2016-03-14 18:14:52 +02:00
Shlomi Fish
8f161ce335
Fix the tiles' dialog from the menu.
2016-03-01 19:58:45 +02:00
Shlomi Fish
ac60cb2516
menubar: Remove unnecessary imports.
2016-02-19 23:25:30 +02:00
Shlomi Fish
fdf09e8189
Remove some unused imports.
2016-02-19 23:20:16 +02:00
Shlomi Fish
d9ab7b2e4f
menubar.py : move more code to base class.
2016-02-19 23:11:45 +02:00
Shlomi Fish
cde9bc5fb5
menubar: move more code to the base class.
2016-02-19 23:06:16 +02:00
Shlomi Fish
ee1114fb3b
Continue moving more menubar func to base class.
2016-02-19 19:27:22 +02:00
Shlomi Fish
7780d6fccd
Fix some import bugs in the menubar parent class.
2016-02-19 18:23:12 +02:00
Shlomi Fish
8fcb811608
Move duplicate code to the menuar base class.
2016-02-19 17:55:30 +02:00
Shlomi Fish
2e557fde5d
Unify the codebases of menubar.pys.
...
TODO : move to the base class.
2016-02-17 21:36:46 +02:00
Shlomi Fish
98fcd0a357
Move some methods to the base class.
...
I had to rename some attributes away from the leading two underscores ("__")
because it didn't work with them.
2016-02-17 21:21:26 +02:00
Shlomi Fish
3f962b7134
Extract some common code into a base class.
2016-02-16 18:19:13 +02:00
Shlomi Fish
1d7fb6fd61
Merge tile/tkutil.py and tk/tkutil.py.
...
They were identical.
2016-02-14 15:27:54 +02:00
Shlomi Fish
118a83e6ba
Correct to the right import path.
2016-02-13 23:48:33 +02:00
Shlomi Fish
4d6dac1316
Start extracting ui.tktile.menubar.
...
In the process made tkconst common to ui.tktile as well.
ui.tktile will be a common namespace for code common to the tk and tile
UIs.
2016-02-13 20:46:41 +02:00
Shlomi Fish
60257ce016
Reduce diff between {tk,tile}/menubar.py a little.
...
“Every journey of a thousand miles begins with one small step.”
2016-02-13 20:20:56 +02:00
Shlomi Fish
5dc2edda91
Get rid of gettext in init.
2012-11-25 19:43:46 +02:00
skomoroh
cff055413b
* update po-files
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@274 efabe8c0-fbe8-4139-b769-b5e6d273206e
2011-03-07 18:44:05 +00:00
skomoroh
6a60c19bbd
* scalable cards: +tk
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@273 efabe8c0-fbe8-4139-b769-b5e6d273206e
2011-03-07 09:23:26 +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
a0cd63eac6
* fixed bug with accel. keys and NumLock
...
* minore improvements
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@226 efabe8c0-fbe8-4139-b769-b5e6d273206e
2008-03-31 15:14:21 +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
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
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
4ab072798e
+ 1 new game
...
+ new option: `Enable shuffle'
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@200 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-26 21:20:53 +00:00
skomoroh
4d4f6bfe41
* fixed games: Salic Law',
Four by Four'
...
* minor bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@197 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-23 21:37:07 +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
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
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
93907151a8
* improved Tile.py
...
* added `clearlooks' theme for tile-binding
* added dialogs for tile-binding: File Selecton and Color Chooser (for x11)
* refactoring: tile: replaced Tkinter to Tile
* refactoring: tile: removed non-used imports
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@174 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-15 22:01:18 +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