Commit Graph

77 Commits

Author SHA1 Message Date
Kovid Goyal ebffa0a506 Dont store the Liberation Fonts in source control
They were kept there originally because newer versions of them were
reported to cause BSODs in Windows Vista/7. Since we no longer support
those, and newer windows has moved font parsing out fo kernel, this
should no longer be an issue.
2020-12-15 11:42:19 +05:30
Kovid Goyal cfa8f75836 ... 2020-10-29 10:59:34 +05:30
Kovid Goyal 06e9f8f8b8 Make the calibre changelog available as a resource 2020-10-29 10:57:21 +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 1c54eb1648 Code to fetch hyphenation dictionaries 2019-11-30 10:59:45 +05:30
Kovid Goyal 070ad5351e Remove old viewer and coffeescript and viewer resources
Since the PDF output code is also going to be replaced, none
of this is required.
2019-09-13 09:12:17 +05:30
Kovid Goyal 6e14daac89 Infrastructure for loading viewer js 2019-09-13 09:12:12 +05:30
Kovid Goyal 561edbe1ea Two-way syncing work again 2019-09-13 09:12:09 +05:30
Kovid Goyal 00a9d0f275 Migrate editor coffee script to rapydscript 2019-09-13 09:12:09 +05:30
Kovid Goyal a2fa719545 Better naming 2019-04-29 21:29:47 +05:30
Kovid Goyal ed2e2e060f Ensure completion dict for ebook-convert has unicode strings 2019-04-29 20:48:52 +05:30
Kovid Goyal ccb0391844 Change the source for recent user agent data
The old source no longer works
2019-04-01 18:08:29 +05:30
Kovid Goyal b78e24417a py3: dont use func_name 2019-04-01 17:01:28 +05:30
Kovid Goyal e73dbb0f99 py3: Port calls to json.dump() 2019-03-31 18:30:59 +05:30
Kovid Goyal 5918acabad Misc fixes for the last py3 porting merge 2019-03-25 16:03:25 +05:30
Eli Schwartz 13d236f556 python3: make recent_uas build 2019-03-24 00:54:58 -04:00
Eli Schwartz 09e97e5af1 setup: don't report full pathname when creating msgpack'ed resources
The full pathname in the log info was introduced as a side effect of
moving off of pickle.
2019-03-24 00:23:15 -04:00
Kovid Goyal 47ed2df137 Various fixes for the latest py3 commit 2019-03-21 18:33:19 +05:30
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