roderik
f0a94fd7f2
Fix OSS audio server
...
Strings converted to bytes where necessary to make it Python 3 compatible.
Added a check for availability of OSS interface.
2018-03-10 22:57:15 +01:00
Roderik Ploszek
08f5fd99c1
Check if pysolsoundserver is available
2018-03-10 16:13:38 +01:00
Shlomi Fish
44ef00b54e
Bump the version number.
2018-03-05 05:10: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
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
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
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
Shlomi Fish
00ded37a0e
Extract more.
2017-12-27 14:31:41 +02:00
Shlomi Fish
ead021aca0
refactor.
2017-12-27 14:23:10 +02:00
Shlomi Fish
d500c84f85
Extract some common exprs.
2017-12-27 14:09:20 +02:00
Shlomi Fish
e477f4bcf1
clean up the board import.
2017-12-27 13:33:18 +02:00
Shlomi Fish
cb316a20fe
Add more.
2017-12-19 13:49:15 +02:00
Shlomi Fish
ab98966d9c
Remove debugging hard code.
2017-12-19 13:39:22 +02:00
Shlomi Fish
c158561593
Fix file save.
2017-12-18 22:40:57 +02:00
Shlomi Fish
2989880117
cleanups.
2017-12-18 22:02:01 +02:00
Shlomi Fish
a803849b35
Working now - import board.
...
Mostly at least.
2017-12-18 21:52:29 +02:00
Shlomi Fish
3fc989ae0a
Start implementing board import.
...
See https://github.com/shlomif/PySolFC/issues/47 .
2017-12-18 20:47:10 +02:00
Shlomi Fish
b87e8dd5a8
Initial work for issue #47 .
...
Define a custom deal index.
2017-12-18 16:41:11 +02:00
Shlomi Fish
424bb6c622
Add the new solver preset.
2017-12-13 22:42:58 +02:00
Shlomi Fish
3eb4f71a8e
- New version
...
this time with corrected archive.
2017-12-13 21:24:45 +02:00
Shlomi Fish
9b5e6f0745
Bump version to 2.1.1.
2017-12-13 21:12:04 +02:00