Joe R
d7d9bb3ea6
Add option to clear filters
2024-11-16 11:40:32 -05:00
Alexandre Detiste
f360600fcd
finish removing dependency on six ( #403 )
...
* finish removing dependency on six
* fix tkinter.FileDialog
* fix filedialog <> FileDialog
2024-10-22 18:11:32 -04:00
Alexandre Detiste
dd16750d5f
import tkinter directly ( #383 )
...
* import tkinter directly
* linter
* linter
2024-09-21 17:10:10 -04:00
Alexandre Detiste
148f189a74
trim usage of six ( #382 )
...
This is artisanal manual craftwork :-)
def mDone(self, button):
if button == 0: # "OK" or double click
- if isinstance(self.tree.selection_key, six.string_types):
- self.key = str(self.tree.selection_key)
- else:
- self.key = self.tree.selection_key
+ self.key = self.tree.selection_key
2024-09-18 20:33:10 -04:00
Joe R
b30334410b
Moved startup splash screen option to the spash screen itself, so it's easier to know how to disable it.
2023-09-03 19:27:06 -04:00
Joe R
147cefba91
Checking canvas size against .99 to reduce chance of infinite loop.
2022-10-02 15:41:03 -04:00
Joe R
3fd823b2f5
Option to select image scaling method, as discussed in issue #275 .
2022-09-19 22:26:44 -04:00
Joe R
513962b8f3
Refactor of dialog geometry logic.
2021-10-09 15:47:20 -04:00
Shlomi Fish
7da41a93be
Allow to swap the mouse keys using the ini file.
...
See: https://sourceforge.net/p/pysolfc/discussion/503708/thread/5d77434ff8/
" PySolFC / Discussion / Open Discussion: Any way to remap mouse buttons? "
We may not have covered all the affected calls to bind().
2020-10-19 18:18:13 +03:00
Juhani Numminen
984ab3570a
Import ttk from standard library, drop local copy
2020-02-11 23:38:28 +02: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
Roderik Ploszek
7518d36aab
Fix exception dialog in Python 3
2018-04-14 23:55:29 +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
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
a21e584ad1
2to3 on pysollib/tile/tk*.py
2017-05-24 18:08:40 +03:00
Shlomi Fish
ce6f5613a3
sixify tkfont.
2017-05-22 19:03:18 +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
b349234f48
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
5d8b82cabe
Move {tk,tile}/{card,tkcanvas} to ui.tktile.
...
They were identical in both places.
2016-02-14 16:14:30 +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
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
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
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
890fa91e54
* migration to new ttk (tile) module: http://gpolo.ath.cx:81/projects/ttk_to_tkinter/
...
* minore improvements of pysolaudio.py
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@227 efabe8c0-fbe8-4139-b769-b5e6d273206e
2008-06-10 07:23:08 +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
73fa562a97
+ new mouse binding: middle click -> autodrop
...
* fixed `Octave' game
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@192 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-12 21:23:48 +00:00
skomoroh
87ad2b799b
+ 4 new games
...
* minor improvements
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@188 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-30 21:22:27 +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
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
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
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
b85ff3399f
* improved SingleGame_StatsDialog
...
* improved Tile/Scale
* other improvements
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@124 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-18 23:09:00 +00:00
skomoroh
1a7541a14c
* some bugs fixes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@116 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-13 23:31:17 +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
be93eb00c0
+ 4 new games
...
* misc. bugs fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@102 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-03 22:33:08 +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
f987ae8488
* changed default sound module to PyGame
...
- removed `sound disabled' dialog
* improved Tile binding
* misc. bugs fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@100 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-27 22:15:01 +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
e6904daefa
* improved tile binding
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@85 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-04 22:20:36 +00:00
skomoroh
2226957e90
+ new file: pysollib/init.py
...
* improved tile binding
* misc. improvements and bugs fixes
* update ru translation
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@84 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-01 23:06:59 +00:00
skomoroh
9e682f4bfe
+ improved tile support
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@78 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-10-05 21:16:11 +00:00