1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
Commit graph

41 commits

Author SHA1 Message Date
Shlomi Fish
21a671a8e2 add dash-dash-version-cli-flag
"--version"
2022-10-28 09:43:38 +03:00
Juhani Numminen
24ccdf634b macOS: use "PySolFC Help" menuitem provided by tk
The details are explained in this tutorial
https://tkdocs.com/tutorial/menus.html

For this to work, init() must destroy the tkinter.Tk instance it creates
so that was uncommented.
2020-10-14 14:59:38 +03:00
Juhani Numminen
d3faa78e75 Prune pysollib.macosx; it no longer had any effect 2020-10-12 23:35:15 +03:00
Shlomi Fish
e9e19afc46 Use freecell-solver wo which fc-solve.
No need for the executable if freecell_solver.py exists and
can be instantiated.
2020-06-24 16:59:40 +03:00
Juhani Numminen
a5d584371e Refactor and comment locale_dir selection 2019-08-20 16:23:05 +03:00
Juhani Numminen
93c9535216 Detect LANG for gettext on android 2019-08-20 11:54:49 +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
eb8ed7e340 Fix the solver detection in py3/etc.
See https://github.com/shlomif/PySolFC/pull/53 - thanks to @lufebe16 .
2018-03-03 20:37:56 +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
ae8a125087 Ran 2to3 on pysollib/[a-i]*.py 2017-04-27 21:42:07 +03:00
Shlomi Fish
8c4887b70b flake 8 2017-04-19 12:03:44 +03:00
Shlomi Fish
ce7a34ba5a Merge branch 'solver_dialog_remove_so_called_solving_method' into deal_ms_cards
Conflicts:
	pysollib/actions.py
	pysollib/app.py
	pysollib/game.py
	pysollib/help.py
	pysollib/images.py
	pysollib/init.py
	pysollib/layout.py
	pysollib/main.py
	pysollib/stack.py
2012-12-12 16:50:53 +02:00
Shlomi Fish
5dc2edda91 Get rid of gettext in init. 2012-11-25 19:43:46 +02:00
Shlomi Fish
924f39db97 Add more. 2012-11-25 19:21:52 +02:00
Shlomi Fish
bed5786b64 Convert settings to pysollib.settings and test it. 2012-11-25 17:00:08 +02:00
Shlomi Fish
9cec5cae00 Deal MS Deals up to 1<<31. 2012-11-25 10:52:07 +00: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
066821b011 * some fixes for windows
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@254 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-12-03 19:25:06 +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
26f2fe277b * fixed game Spaces and Aces
* improved cards shadowing
* minor fixes

git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@238 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-06-27 07:25:24 +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
273cce0a7d * added Spider_RK_Foundation to Solitaire Wizard
* minor fixes for py2exe


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@209 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-09-06 21:45:03 +00:00
skomoroh
cb41d12357 + 3 new games
* renamed option squeeze_stacks to compact_stacks
* minor fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@208 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-09-05 21:26:58 +00:00
skomoroh
62c81b4657 * improved toolbar (Tile)
* bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@187 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-23 22:21:34 +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
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
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
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
skomoroh
c3f3fe3638 + added SELECT_GAME_MENU setting
* misc. improvements and bugs fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@131 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-27 22:16:00 +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
2c570e5a92 * some bugs fixes
* cleanup code


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@121 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-15 22:40:35 +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
brianl
85a29c5622 Modifications for OS X
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@111 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-12 21:52:11 +00:00
skomoroh
ad3267e063 + 3 new games
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@96 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-14 23:32:21 +00:00
skomoroh
1b1a5e31e2 * accelerated game registration
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@90 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-08 23:28:56 +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