89 Commits

Author SHA1 Message Date
Kovid Goyal
04d5728ef9
More work on de-vendoring pykakasi 2024-11-12 19:52:31 +05:30
Kovid Goyal
4b565c124b
Download list of available piper voices during build 2024-09-02 11:08:51 +05:30
Kovid Goyal
d10c85ba5d
Cleanup previous PR 2024-06-17 10:34:46 +05:30
wrvsrx
342d9f6900
Avoid reordering subcommands 2024-06-17 00:06:11 +08:00
wrvsrx
80ff907bfd
Allow setting more local resource files from cli 2024-06-16 22:08:06 +08:00
Kovid Goyal
53b74283a4
sort imports in all python files 2024-03-30 13:02:22 +05:30
Ori Avtalion
5bd831665a Replace deprecated urlopen cafile parameter 2024-02-03 14:04:06 +02:00
Kovid Goyal
16b94a79ef
DRYer 2023-01-19 11:07:42 +05:30
Kovid Goyal
484d5ee5d6
mozilla seems to be back up 2022-02-18 08:43:26 +05:30
Kovid Goyal
8294f53402
Temporarily disable recent_uas because there is some network issue connecting to Mozilla's servers from my machine 2022-02-18 07:39:25 +05:30
Kovid Goyal
24c460faec
also upgrade code in setup folder 2022-01-08 12:15:18 +05:30
Kovid Goyal
932c37d9e1
Specify encoding when reading changelog 2021-09-24 07:25:12 +05:30
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