58 Commits

Author SHA1 Message Date
Eli Schwartz
d66fdc2df7
autopep8 2019-03-21 01:27:21 -04:00
Eli Schwartz
c940d9941a
python3: make kakasi build
Since these are all being opened as non-binary, it makes no sense to
then immediately decode them.
2019-03-21 00:23:43 -04:00
Kovid Goyal
4c9fb6becd
... 2019-03-15 15:52:12 +05:30
Eli Schwartz
cbc42bec23
python3: add unicode/unichr wrappers to polyglot 2019-03-13 06:41:38 +05:30
Kovid Goyal
2ae2d14d62
Rapydscript must be built after mathjax 2019-01-17 09:36:16 +05:30
Kovid Goyal
f78a7dad58
Do not use a compressed archive for mathjax
Improves performance for local clients such as PDF output and the
viewer. Since we have now removed the old unbundled mathjax, the file
count in the resources directory does not go up too much.
2019-01-04 21:53:06 +05:30
Kovid Goyal
8018891656
... 2018-10-19 10:30:54 +05:30
Kovid Goyal
f39f3951f4
dict fixes in the setup package 2018-09-10 20:54:35 +05:30
Kovid Goyal
b9767b2b92
Move more databases to msgpack instead of pickle 2018-09-10 18:35:19 +05:30
Kovid Goyal
8b3ea8fb83
Replace more use of pickle for databases 2018-09-10 18:26:46 +05:30
Flaviu Tamas
0889ee85ec
Fix syntax errors
Command used:

futurize --no-diffs -f libfuturize.fixes.fix_print_with_import -f lib2to3.fixes.fix_throw -f lib2to3.fixes.fix_numliterals -f lib2to3.fixes.fix_except -f lib2to3.fixes.fix_exec -f lib2to3.fixes.fix_raise -f lib2to3.fixes.fix_tuple_params -f lib2to3.fixes.fix_ne -j20 -w -n setup recipes src manual setup.py recipes/*.recipe

And manual adjustments of print((...)) -> print(...)
2018-09-10 12:11:28 +05:30
Kovid Goyal
caac92bbd8 A larger pool of random UAs 2017-02-28 21:20:21 +05:30
Kovid Goyal
f9329fe5b6 ... 2017-02-18 10:09:29 +05:30
Kovid Goyal
91d3802377 Use curl to download mathjax as well so that it works in Travis on OS X 2016-12-09 10:41:39 +05:30
Kovid Goyal
38ae23cbab ... 2016-07-20 00:09:41 +05:30
Kovid Goyal
1c389964cc Get list of common user-agents during bootstrap 2016-07-20 00:06:49 +05:30
Kovid Goyal
f2075355b9 Use curl instead of python to download cacerts
Python's https support is broken on OS X while bootstrapping
2016-06-26 13:27:41 +05:30
Kovid Goyal
0f57f37308 Add compiling of RapydScript to the build system 2016-05-01 14:08:27 +05:30
Kovid Goyal
fc7d4830a9 Switch to using a private openssl lib on OS X 2016-01-30 12:40:50 +05:30
Kovid Goyal
ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Kovid Goyal
1c6ddefbf9 Make user manual translations stats available to calibre 2014-11-26 12:54:17 +05:30
Kovid Goyal
bff2ebc9d5 Use decorators for builtin S&R functions: prettier :) 2014-11-19 09:52:18 +05:30
Kovid Goyal
18e61e8eab DRYer 2014-11-19 09:20:38 +05:30
Kovid Goyal
705ed00b5f Move imports out of S&R builtin funcs 2014-11-19 09:12:55 +05:30
Kovid Goyal
4cb585cc3e Start work on function mode for S&R in the editor 2014-11-18 19:09:16 +05:30
Kovid Goyal
9529fa26dc Retry when watch-compiling coffeescript 2014-09-21 21:18:39 +05:30
Kovid Goyal
f58a115f5e Fix compilation of coffeescript 2014-08-08 18:31:10 +05:30
Kovid Goyal
b821dbd9b8 Only recompile coffescript if the source has actually changed since the last time it was compiled, rather than relying on mtimes. 2014-02-12 12:08:29 +05:30
Kovid Goyal
a939e721d1 pep8 2013-10-10 14:36:01 +05:30
Kovid Goyal
bf96abd838 ebook-polish: Collect font usage stats 2013-02-03 16:45:07 +05:30
Kovid Goyal
8a76489706 Put all compiled coffeescript into a zip file in resources 2012-05-06 00:01:15 +05:30
Kovid Goyal
2d6291e5fc Make sure that python setup.py resources works even if calibre has not been installed 2012-01-11 09:18:58 +05:30
Kovid Goyal
b8a39a63d3 Fix #914525 (Missing utils/coffeescript file) 2012-01-11 07:49:32 +05:30
Kovid Goyal
446eb08a55 ... 2012-01-07 11:46:04 +05:30
Kovid Goyal
23bc88c681 Start work on implementing the EPUB 3 CFI standard 2011-12-14 16:38:10 +05:30
Kovid Goyal
bb8b02c26c Infrastructure for writing Coffeescript 2011-12-13 21:10:58 +05:30
Charles Haley
bef7077158 change formatter_functions from an attribute to a function 2011-10-19 07:50:52 +02:00
Kovid Goyal
6c01b3cc67 Updated translations 2011-09-02 10:14:21 -06:00
Kovid Goyal
77e6d76e27 ... 2011-09-02 10:10:54 -06:00
Kovid Goyal
ee3baf7dcf Fix --clean-all 2011-08-19 19:29:41 -06:00
Charles Haley
af3169a29b Change formatter functions to support aliases instead of requiring a new class instance. Change document generators to use the right accessor to get functions, ignoring aliases. 2011-08-02 11:37:40 +01:00
Kovid Goyal
997a943257 Fix #782408 (.mobi import broken in 0.8.1) 2011-05-15 10:49:29 -06:00
Kovid Goyal
48166bd877 Ensure kakasi databases are always rebuilt on windows 2011-05-11 18:08:00 -06:00
Kovid Goyal
1a38be575d ... 2011-05-11 17:35:27 -06:00
Kovid Goyal
bd2aeff04d Fix #780804 (not found gdbm on Windows in 0.8.0 and Japanese) 2011-05-11 17:24:20 -06:00
Kovid Goyal
fa09d8a460 Also store recipe favicons in builtin_recipes.zip 2011-03-19 01:22:33 -06:00
Kovid Goyal
014d4b50ed Store recipes in the calibre install folder in a zip file 2011-03-19 00:40:36 -06:00
Kovid Goyal
0c7089cc87 Fix #7622 (Calibre need to switch logic when converting Unicode filename into ASCII) 2011-02-17 07:34:15 -07:00
Kovid Goyal
fa01682ce5 ... 2011-02-14 11:51:26 -07:00
Kovid Goyal
c4f06e39af When converting non english texts to english, use the users currect calibre interface language. This allows japanes/korean/vietnamese characters to be correctly converted. Previously they were assumed to be Chinese. Fixes #7622 (Calibre need to switch logic when converting Unicode filename into ASCII) 2011-02-14 10:50:28 -07:00