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
Joe R
bbaeb54266
Added ttkthemes support
2022-02-20 11:20:49 -05:00
Juhani Numminen
372fcba9de
Window icon: Sort by largest, otherwise macOS Dock presents ugly low-res icon
2020-10-20 16:54:25 +03:00
Juhani Numminen
d3faa78e75
Prune pysollib.macosx; it no longer had any effect
2020-10-12 23:35:15 +03:00
Juhani Numminen
12601364dc
Invoke init_tile() only when tile is used
2020-10-10 21:23:35 +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
0d98da15e6
Fix py2 compatibility: wm_iconphoto does not exist in python2.7
2020-03-01 11:42:43 +02:00
Juhani Numminen
e5e60d3232
Load icons from either images/misc or images/icons
2020-02-29 11:40:05 +02:00
Juhani Numminen
f5b1cf0eea
Tk: set window icon
...
make_help_toplevel changed from Tk to Toplevel since Tk creates another
Tcl interpreter, causing errors like this:
'_tkinter.TclError: can't use "pyimage228" as iconphoto: not a photo image'
1024x1024 logo file is renamed because it has large margins on each side
which is unsuitable for a window icon.
2020-02-28 20:16:58 +02:00
Juhani Numminen
984ab3570a
Import ttk from standard library, drop local copy
2020-02-11 23:38:28 +02:00
Juhani Numminen
00f6f70e93
Fix menu colors on macOS with dark menu bar
...
Widget colors and all scrollbars look just fine without these lines
despite the comments.
2020-02-09 17:36:26 +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
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
Shlomi Fish
38bfb88971
Made the new flake8 and travis happier.
...
Fix the warnings.
2017-11-04 20:15:52 +02:00
Shlomi Fish
27e0e911ce
2to3 on pysollib/winsystems/*.py
2017-05-13 19:13:19 +03:00
Shlomi Fish
92db888328
2to3 on pysollib/winsystems/win32.py
2017-05-13 19:00:13 +03:00
Shlomi Fish
bbee5a903c
2to3 on pysollib/winsystems/__init__.py
2017-05-13 18:58:05 +03:00
Shlomi Fish
1e3f159eb0
2to3 on pysollib/winsystems/common.py
2017-05-13 18:51:15 +03:00
Shlomi Fish
811a154974
Ran 2to3 on pysollib/winsystems/aqua.py
2017-05-13 18:44:14 +03:00
Shlomi Fish
414d78aff7
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
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
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
cc05937c71
+ 1 new game
...
+ added Game.getInvisibleCoords method
* minor fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@213 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-10-03 21:19:01 +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
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
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
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
2477ad8845
* updated for Tk-8.5/Tile-0.8.0
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@175 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-17 21:24:57 +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
85c0b50f5c
+ 1 game
...
* updated russian translation
* misc. improvements
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@148 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-03-06 22:47:26 +00:00
skomoroh
03037a4e80
* added exception block for app.loadOptions
...
* updated dump/undump game
* updated russian translation
* bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@140 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-21 23:31:55 +00:00
skomoroh
4b70ba795c
* some windows-specific changes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@139 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-17 23:40:04 +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
brianl
2190494b54
- removed unused import
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@137 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-01 09:58:20 +00:00
brianl
d82c425043
* added missing Tile.Style instance for aqua winsystem
...
- pruned some dead code from macosx app support
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@136 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-01 09:56:20 +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
cd8419e0b9
* renamed module tksettings to winsystems
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@125 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-20 00:38:04 +00:00