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

969 commits

Author SHA1 Message Date
Shlomi Fish
680c177ca4 Convert to xztar. 2018-03-05 05:18:44 +02:00
Shlomi Fish
44ef00b54e Bump the version number. 2018-03-05 05:10:18 +02:00
Shlomi Fish
0ea7201598 Correct tense. 2018-03-05 04:58:49 +02:00
Shlomi Fish
15c4854dd1 Add Authors w credits. 2018-03-05 04:55:18 +02:00
Shlomi Fish
1ce05345a9 Refactored some code in stats.py. 2018-03-03 20:37:56 +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
Roderik Ploszek
1dc5367d62 Convert time arguments to tuples
Methods mktime and strftime expect tuples or struct_time arguments.
2018-03-03 20:37:55 +02:00
Roderik Ploszek
c9baf9585a Fix integer division 2018-03-03 17:20:57 +01:00
Roderik Ploszek
b937349deb Fix formatting 2018-02-24 23:29:29 +01:00
Roderik Ploszek
7dc12168a0 Fix typo in color hex code
Play mode in solver dialog now works.
2018-02-24 23:05:20 +01:00
Roderik Ploszek
ca808161cc Fix solver communication deadlocks
Calling wait() on process object that communicates through pipes causes
deadlocks when the pipes fill up. To fix this, communicate() method was used
to send data to the solver. Returned bytes objects were converted to BytesIO
objects to keep compatibility with existing processing.
2018-02-24 22:40:47 +01:00
Roderik Ploszek
a19f0b5dda Normalize newline characters for Windows 2018-02-24 21:10:43 +01:00
Roderik Ploszek
e543490cfd Fix error message when solver isn't in the path
See https://github.com/shlomif/PySolFC/issues/51
2018-02-24 21:09:20 +01:00
Roderik Ploszek
6f72b4df3b Move duplicate code to the parent class 2018-02-24 17:11:44 +01:00
Shlomi Fish
ca48ec221d Fix a crash in shisensho.
See https://github.com/shlomif/PySolFC/issues/54 . Thanks to @lufebe16
for the report and the fix.
2018-02-24 13:11:43 +02:00
Shlomi Fish
9ad8650dd3 refactoring 2018-02-20 01:52:24 +02:00
Shlomi Fish
3ada0e3e0b Convert to six.moves. 2018-02-20 01:41:40 +02:00
Shlomi Fish
afcf0b5c9d Convert to six.py 2018-02-19 19:39:17 +02:00
Shlomi Fish
b532c5bd22 Convert to six.py 2018-02-19 19:32:35 +02:00
Shlomi Fish
64720e8a97 Convert to six.py 2018-02-19 19:26:09 +02:00
Shlomi Fish
601bceb4da remove empty 2018-02-19 19:03:46 +02:00
Shlomi Fish
472c0f935a flake8 for htmllib2 2018-02-19 18:58:43 +02:00
Shlomi Fish
2c1228fc95 got flake8 to validate mahjongg1/2/3. 2018-02-19 18:51:02 +02:00
Shlomi Fish
00e2388753 Convert to six.py.
This avoids some clutter.
2018-02-19 17:35:21 +02:00
Roderik Ploszek
e27cbb4c96 Change build instructions to include gmake rules 2018-02-19 14:09:50 +01:00
Roderik Ploszek
7aa2c42094 Remove dependency on sgmllib3k 2018-02-19 13:50:28 +01:00
Roderik Ploszek
0b5298f948 Fix compatibility with python 2 tests
There are still tests that use python 2, which doesn't have html.parser. In that
case a correct name of the module is imported.
2018-02-19 13:31:16 +01:00
Roderik Ploszek
806e3a5153 Reverse state of html-src/* help files as before ada9778
These files will be further processed by the gen-html.py script, they don't have
to be HTML valid.
2018-02-19 13:23:28 +01:00
Roderik Ploszek
d4362e576c Convert gen-html to python 3
Print statements rewritten to python 3 functions.
Each opened file now properly closed.
2018-02-19 13:06:10 +01:00
Roderik Ploszek
f18e8d0c0b Removed unused HTMLParser constructor argument 2018-02-18 17:58:44 +01:00
Roderik Ploszek
cacca44f72 Help html parser fix
Fixes problem with unformatted help text. Implements correct handling of tag
start and end as implemented in sgmllib from Python 2.
2018-02-18 17:34:09 +01:00
Roderik Ploszek
72ad11c9ee Python 3 sgmllib fix
sgmllib is deprecated in Python 3, it was replaced by html.parser
2018-02-18 17:28:25 +01:00
Shlomi Fish
c63bceab5e Refactoring. 2018-02-15 22:06:44 +02:00
Shlomi Fish
59d5006c63 Refactor some code. 2018-02-15 21:31:38 +02:00
Shlomi Fish
33b5df8482 Merge pip. 2018-02-03 14:54:03 +02:00
Shlomi Fish
c264edd247 update the README. 2018-01-19 15:13:30 +02:00
Shlomi Fish
71d8a5bf54 Add artifacts to the appvveyor build. 2017-12-29 17:31:45 +02:00
Shlomi Fish
5f9d3379b1 try to fix appveyor version for py2exe.
See
https://stackoverflow.com/questions/41578808/python-indexerror-tuple-index-out-of-range-when-using-py2exe
.
2017-12-29 17:17:11 +02:00
Shlomi Fish
289296f9e1 try to fix appveyor: python path. 2017-12-29 17:00:03 +02:00
Shlomi Fish
b788aee95c Try to fix appveyor. 2017-12-29 16:25:21 +02:00
Shlomi Fish
e859a2a4ae Try to fix setup.py w py2exe. 2017-12-29 16:00:33 +02:00
Shlomi Fish
e9ba131086 Try py2exe in appveyor. 2017-12-29 15:38:02 +02:00
Shlomi Fish
f5a70afad0 Appveyor: remove old leftovers.
They are not needed.
2017-12-29 15:02:23 +02:00
Shlomi Fish
9879147ee0 convert. 2017-12-27 15:44:46 +02:00
Shlomi Fish
7d091f42ab Extract a method. 2017-12-27 15:36:33 +02:00
Shlomi Fish
788965a55a sanity check 2017-12-27 15:24:08 +02:00
Shlomi Fish
ed4f1ae516 sanity check 2017-12-27 15:16:42 +02:00
Shlomi Fish
76ba6f7d2b Refactoring 2017-12-27 14:58:37 +02:00
Shlomi Fish
780ac558d5 Refactoring 2017-12-27 14:45:32 +02:00