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
9f7cc65a5f
Merge {tile,tk}/tkwrap.
2016-02-14 16:45:10 +02: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
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
b03ec17350
Add "Export current layout".
...
A menu option in the tile (for now only that) menubar.
TODO: the tile and tk directories contain *a lot* of duplicate code.
One should extract base classes and abstract.
2016-02-13 19:30:00 +02:00
Shlomi Fish
0e91ce7750
Correct a typo in a comment
2016-01-08 21:41:11 +02:00
Shlomi Fish
5da836e778
distinguish between intractable and unsolvable.
2014-10-14 11:37:16 +03:00
Shlomi Fish
4da89ccc8c
Get rid of trailing space.
2013-05-22 12:57:18 +03:00
Shlomi Fish
7f42260031
Remove 'Solving method' from the solver dialog.
...
The --method parameter affects only the current "soft thread" (= single
scan), may confuse laymen, and should not matter when an aggregate scan
preset or theme is specified, and those are in general superior and more
encouraged for fc-solve beginners and most experts a like. An aggregate
scan explicitly sets the --method for each scan individually, so there.
As a result, I don't see the point of having the 'Solving method' there.
Perhaps in the future, a more comprehensive GUI for editing the fc-solve
command line will be in order, but that may end up something like thess
monstrocities:
* http://www.codinghorror.com/blog/2006/11/this-is-what-happens-when-you-let-developers-create-ui.html
* http://i.stack.imgur.com/cVWub.gif
2012-12-11 17:26:24 +02:00
Shlomi Fish
5dc2edda91
Get rid of gettext in init.
2012-11-25 19:43:46 +02:00
Shlomi Fish
7ae1fa725d
Test and convert "import help".
2012-11-25 19:01:26 +02:00
Shlomi Fish
88634d2a8b
import stack.
2012-11-25 18:16:06 +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
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
31fa595081
* new config file option: solver_presets
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@269 efabe8c0-fbe8-4139-b769-b5e6d273206e
2011-03-06 17:02:12 +00: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
735f0c0e5a
* minor fixes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@248 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-08-07 12:58:05 +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
46d321f6fa
+ one new game
...
* added quick play for foundations
* improved cards shadow
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@245 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-08-04 13:34:02 +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
b1a0780416
+ added 'You Are Stuck' indicator
...
* minor fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@240 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-07-22 20:12:46 +00:00
skomoroh
049a1f4be7
* fixed header for configobj and ttk modules
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@236 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-06-12 10:41:33 +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
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
ff45d8e1cd
+ added pysol.desktop
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@216 efabe8c0-fbe8-4139-b769-b5e6d273206e
2008-02-09 12:34:25 +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
9d7698ecf1
* minor fixes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@205 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-31 21:30:22 +00:00
skomoroh
06a6d7492e
* improved mahjongg tile highlighting
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@202 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-29 21:23:19 +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
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
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
ebb552c135
+ 2 new games
...
+ new Layout method: createRoundText
+ added showing `Round #' for many games
* minor improvement of SelectTileDialogWithPreview
* improved `select random game'
* fixed setting bg image
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@193 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-15 21:44:20 +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