40781 Commits

Author SHA1 Message Date
Kovid Goyal
eb60be9186
Py_RunMain does not call exit() 2020-08-22 18:47:59 +05:30
Kovid Goyal
8fc745c7fb
Use an at exit handler to restore console state
Py_Main() does not return if an unhandled SystemExit is raised
2020-08-22 18:47:59 +05:30
Kovid Goyal
55713682f2
Clean up logging to use python3 printing as well 2020-08-22 18:47:59 +05:30
Kovid Goyal
e9ff40031f
Get rid of prints()
Not needed in python3
2020-08-22 18:47:59 +05:30
Kovid Goyal
6e774c6831
Simplify windows terminal handling code
We rely on the fact that python 3 now knows how to write unicode to
windows consoles. And we setup the console to understand ANSI escape
codes
2020-08-22 18:47:59 +05:30
Kovid Goyal
df70399661
Allow using ANSI escape codes on windows when writing to the console 2020-08-22 18:47:59 +05:30
Kovid Goyal
bd80269072
Dont redirect stdoutstderr to NUL if it is a tty 2020-08-22 18:47:59 +05:30
Kovid Goyal
a982b67af0
py3: fix incorrect import of c_wchar_p from wintypes 2020-08-22 18:47:59 +05:30
Kovid Goyal
d880ea2a9c
py3 compat for the recycle bin process 2020-08-22 18:47:59 +05:30
Kovid Goyal
860bcf0088
HRESULT has moved from wintypes in python 3.8 2020-08-22 18:47:58 +05:30
Kovid Goyal
f615b44ace
Update pillow to version that builds with python 3.8 2020-08-22 18:47:58 +05:30
Kovid Goyal
b2efbafc18
Get rid of narrow build codepaths 2020-08-22 18:47:58 +05:30
Kovid Goyal
e52848671a
Copy in python3.dll as PyQt links against it instead of python38.dll 2020-08-22 18:47:58 +05:30
Kovid Goyal
6adbf803aa
... 2020-08-22 18:47:58 +05:30
Kovid Goyal
2a0084c1ff
Fix failing winutil test 2020-08-22 18:47:58 +05:30
Kovid Goyal
dfb5b72eca
Ensure no __pycache__ is added to pylib.zip 2020-08-22 18:47:58 +05:30
Kovid Goyal
488fe5198b
Add proper paths in windows frozen build 2020-08-22 18:47:58 +05:30
Kovid Goyal
8c7c3c9061
Work on windows python3 build 2020-08-22 18:47:58 +05:30
Kovid Goyal
b5f0ab48ac
Various compilation fixed for windows extensions on python3 2020-08-22 18:47:57 +05:30
Kovid Goyal
89f0d92d2e
Get rid of msstdint.h
Not needed with VS 2017 and conflicts with default stdint.h which is
pulled in by python 3
2020-08-22 18:47:57 +05:30
Kovid Goyal
04aedf8411
Switch to pycryptodome as pycrypto is un-maintained 2020-08-22 18:47:57 +05:30
Kovid Goyal
319b2b375f
Need updated pywin32 for python 3.8 2020-08-22 18:47:57 +05:30
Kovid Goyal
9588afa4d5
Get python3 and webengine building on windows 2020-08-22 18:47:57 +05:30
Kovid Goyal
b2b4540505
Allow subprocess to use posix_spawn()
This is both faster and needed on macOS where one cannot use fork()
when using Qt.
2020-08-22 18:47:57 +05:30
Kovid Goyal
379d1ddfd4
Write to buffer 2020-08-22 18:47:57 +05:30
Kovid Goyal
55214540fd
Dont remove v3 port from PyQt 2020-08-22 18:47:57 +05:30
Kovid Goyal
baf0685ceb
De-vendor pychm 2020-08-22 18:47:57 +05:30
Kovid Goyal
411da596b4
The Apple build is working 2020-08-22 18:47:57 +05:30
Kovid Goyal
066ff4127b
Remove useless if branch 2020-08-22 18:47:56 +05:30
Kovid Goyal
2c8454e014
Make code used to launch interpreter re-useable 2020-08-22 18:47:56 +05:30
Kovid Goyal
01b0fba8ad
Auto fix excess blank lines 2020-08-22 18:47:56 +05:30
Kovid Goyal
4f47385bd5
Add the lzma dependency 2020-08-22 18:47:56 +05:30
Kovid Goyal
a2731553d4
Remove some more referefences to the old lzma 2020-08-22 18:47:56 +05:30
Kovid Goyal
113b14e376
Drop the custom lzma module
Use the builtin one from the python stdlib
2020-08-22 18:47:56 +05:30
Kovid Goyal
ceb558f447
Add sgmllib ported to python 3 for feedparser 2020-08-22 18:47:56 +05:30
Kovid Goyal
ec167b7ac7
Get the linux frozen build working with py3 2020-08-22 18:47:56 +05:30
Kovid Goyal
520c46dfb9
Minor fixups for changes when removing py3 conditionals 2020-08-22 18:47:56 +05:30
Kovid Goyal
764e8bff7e
Remove py3 conditionals 2020-08-22 18:47:56 +05:30
Kovid Goyal
36d81d74d5
Remove hardcoding of mbcs for filesystem names 2020-08-22 18:47:55 +05:30
Kovid Goyal
f3062760ab
Build with python 3.8 2020-08-22 18:47:55 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
b333c10301
Require python >= 3.7 in setup.py 2020-08-22 18:47:29 +05:30
Kovid Goyal
5bc5ab1307
Remove non-working recipe, no RSS feeds avalable for this site anymore 2020-08-22 11:46:23 +05:30
Kovid Goyal
619227f320
Google News and MyDealz by Volker Heggemann 2020-08-22 08:50:27 +05:30
Kovid Goyal
9d881ed2fc
version 4.23.0 v4.23.0 2020-08-21 07:09:18 +05:30
Kovid Goyal
ff67af8312
Content server: Fix Esc ky not working in several views. Fixes #1849958 [[Enhancement] Go back by clicking Esc on server](https://bugs.launchpad.net/calibre/+bug/1849958) 2020-08-18 13:03:13 +05:30
Kovid Goyal
12e64d6e8b
Quickview panel: Add actions to the context menu to search for book in library, open in viewer, etc. Fixes #1891765 [Enhancement Request: Add "Edit Metadata" and "view book details" to quickview right-click menu.](https://bugs.launchpad.net/calibre/+bug/1891765)
Merge branch 'master' of https://github.com/cbhaley/calibre into master
2020-08-16 20:46:10 +05:30
Charles Haley
cdae060f47 Enhancement #1891765: Add operations to quickview's context menu.
Added several operations to the quickview book and item list context menus. As a result the search button became superfluous and was removed.
2020-08-16 16:02:11 +01:00
Kovid Goyal
8a3f112d3f
Merge branch 'cover-ratio' of https://github.com/ihanson/calibre into master 2020-08-16 08:51:50 +05:30