Kovid Goyal
a70ebb92f1
Fix pycryptodome not working on windows
2020-07-26 13:52:58 +05:30
Kovid Goyal
7170ead679
Bump pychm version
2020-07-26 13:52:57 +05:30
Kovid Goyal
e854e5e165
Only report unhandled errors if excepthook is the default
2020-07-26 13:52:54 +05:30
Kovid Goyal
a17969b0d6
Restore reporting of unhandled exceptions during GUI application startup on windows
...
Not as nice as it was previously since errors importing the site module
will not be reported, but the python API provides no hooks for this in
Py_RunMain
2020-07-26 13:52:54 +05:30
Kovid Goyal
146d895d37
...
2020-07-26 13:52:54 +05:30
Kovid Goyal
337781d232
Py_RunMain does not call exit()
2020-07-26 13:52:54 +05:30
Kovid Goyal
a5a936a986
Use an at exit handler to restore console state
...
Py_Main() does not return if an unhandled SystemExit is raised
2020-07-26 13:52:54 +05:30
Kovid Goyal
201e017945
Allow using ANSI escape codes on windows when writing to the console
2020-07-26 13:52:53 +05:30
Kovid Goyal
7a58f9cc0c
Dont redirect stdoutstderr to NUL if it is a tty
2020-07-26 13:52:53 +05:30
Kovid Goyal
990cfeec59
Update pillow to version that builds with python 3.8
2020-07-26 13:52:53 +05:30
Kovid Goyal
490a81f936
Copy in python3.dll as PyQt links against it instead of python38.dll
2020-07-26 13:52:53 +05:30
Kovid Goyal
1a848a1c90
...
2020-07-26 13:52:53 +05:30
Kovid Goyal
1533220700
Ensure no __pycache__ is added to pylib.zip
2020-07-26 13:52:53 +05:30
Kovid Goyal
36c8bbfec1
Add proper paths in windows frozen build
2020-07-26 13:52:53 +05:30
Kovid Goyal
089de4ab7c
Work on windows python3 build
2020-07-26 13:52:52 +05:30
Kovid Goyal
210a7152a0
Switch to pycryptodome as pycrypto is un-maintained
2020-07-26 13:52:52 +05:30
Kovid Goyal
3d270f24db
Need updated pywin32 for python 3.8
2020-07-26 13:52:52 +05:30
Kovid Goyal
a69a9c661a
Get python3 and webengine building on windows
2020-07-26 13:52:52 +05:30
Kovid Goyal
145449861e
Dont remove v3 port from PyQt
2020-07-26 13:52:52 +05:30
Kovid Goyal
8573820fe2
De-vendor pychm
2020-07-26 13:52:52 +05:30
Kovid Goyal
d01294a99b
The Apple build is working
2020-07-26 13:52:52 +05:30
Kovid Goyal
ac6e98a1cd
Remove useless if branch
2020-07-26 13:52:51 +05:30
Kovid Goyal
fcd0809558
Make code used to launch interpreter re-useable
2020-07-26 13:52:51 +05:30
Kovid Goyal
c3b4d0d565
Auto fix excess blank lines
2020-07-26 13:52:51 +05:30
Kovid Goyal
fbfeb40fe9
Add the lzma dependency
2020-07-26 13:52:51 +05:30
Kovid Goyal
6f0e3b90a5
Get the linux frozen build working with py3
2020-07-26 13:52:51 +05:30
Kovid Goyal
d70f32ce24
Minor fixups for changes when removing py3 conditionals
2020-07-26 13:52:51 +05:30
Kovid Goyal
463fee9ce2
Build with python 3.8
2020-07-26 13:52:50 +05:30
Kovid Goyal
b62ca89e8b
Remove useless __future__ imports
...
Not needed on python3
2020-07-26 13:52:50 +05:30
Kovid Goyal
7e70f2a6f7
Change shebangs to python from python2
...
Also remove a few other miscellaneous references to python2
2020-07-26 13:52:50 +05:30
Kovid Goyal
a3a617cd78
Bump versions of sqlite and apsw
2020-06-12 22:06:09 +05:30
Kovid Goyal
4d2a91ecf2
DRYer
2020-06-05 20:27:18 +05:30
Kovid Goyal
b2c50c0c41
Make macOS signing code re-useable
2020-06-05 20:16:18 +05:30
Kovid Goyal
50a19e2b75
Switch to using QEMU VMs for building calibre on macOS and Windows
...
The VM performance is better and QEMU is more
hackable/automatable than VirtualBox. Also paves the way to do the
building on remote servers if needed.
2020-05-30 14:48:47 +05:30
Kovid Goyal
5efeaceaef
Windows: Fix amazon metadata download failing when accented characters in search query
...
Fix #1880300 [[BUG] Amazon Metadata grabber: InvalidURL: URL can't contain control characters](https://bugs.launchpad.net/calibre/+bug/1880300 )
2020-05-26 21:41:05 +05:30
Kovid Goyal
f6f418fcb0
When running calibre-portable.exe popup a more useful error message if it is placed in a location with a too long path. Fixes #1866739 [Path length for calibre portable]( https://bugs.launchpad.net/calibre/+bug/1866739 )
2020-03-25 13:08:54 +05:30
Kovid Goyal
2d61ed50d9
Remove unused variable
2020-02-21 10:48:02 +05:30
Kovid Goyal
72509e53e0
As of Qt 5.14 we need to bundle QmlModels as well
2020-02-04 09:00:47 +05:30
Kovid Goyal
49defc9a13
Bump sqlite needed for upgraded apsw on unix
2020-02-04 07:20:48 +05:30
Kovid Goyal
e53c9868a5
Bump apsw version
2020-02-03 17:57:41 +05:30
Kovid Goyal
36a7af3b0b
Bump unrar version again
2020-02-03 06:14:13 +05:30
Kovid Goyal
910d384d19
Bump version of unrar
2020-02-02 15:55:10 +05:30
Kovid Goyal
d370c9bff5
Needed newer windows sdk for webengine 14.1
2020-02-02 15:39:06 +05:30
Kovid Goyal
86739db534
Update bundled Qt to 5.14.1
2020-02-02 07:49:51 +05:30
Kovid Goyal
ff4316bc93
Make it easier to set calibre environment variables on macOS
2020-01-02 09:52:25 +05:30
Kovid Goyal
e24e4b0a58
macOS: Fix PDF Output not working when running ebook-convert via symlink on the command line. Fixes #1857377 [ebook-convert hangs on rendering (possible packaging issue)]( https://bugs.launchpad.net/calibre/+bug/1857377 )
...
It really grinds my gears that this is necessary, but with macOS...
2019-12-24 19:55:20 +05:30
Kovid Goyal
e082b67a6e
Fix #1856720 [Calibre activates discrete gpu on MacBook Pro]( https://bugs.launchpad.net/calibre/+bug/1856720 )
2019-12-17 20:56:08 +05:30
Kovid Goyal
f1ce7c0cf9
Dont exec a symlink in the codesign placeholders
...
Instead use the full path to the actual binary in the outermost bundle
2019-12-07 15:30:29 +05:30
Kovid Goyal
5c1b69f5b9
Add hyphen dependency
2019-11-30 17:58:57 +05:30
Kovid Goyal
e534f2e558
Forgot to update hashes
2019-11-24 12:04:41 +05:30