Kovid Goyal
6fb8c25e89
Make toolbar separators stand out a bit more in dark themes
2019-12-08 23:10:32 +05:30
Kovid Goyal
7f991ad084
...
2019-12-08 21:59:16 +05:30
Kovid Goyal
3b50d8f280
Fix menu separators not visible in dark mode
2019-12-08 21:57:50 +05:30
Kovid Goyal
1713740406
set a property that can be accessed from C++ for dark mode
2019-12-08 21:35:40 +05:30
Kovid Goyal
c0655e782b
Make the text color consistent
2019-12-08 21:33:57 +05:30
Kovid Goyal
862463bc2b
Always use a lighter shade for current item hightlight
2019-12-08 21:04:56 +05:30
Kovid Goyal
d974b2f39c
Allow CALIBRE_USE_DARK_PALETTE override registry setting on windows
2019-12-08 20:40:44 +05:30
Kovid Goyal
0a1d4cfcbf
Color tweaks
2019-12-08 11:13:24 +05:30
Kovid Goyal
ad56467166
Define the dark theme link color in only one place
2019-12-08 09:11:56 +05:30
Kovid Goyal
0fdc70eac9
Fix tooltip bg in dark palette
2019-12-08 09:02:54 +05:30
Kovid Goyal
9c7f24805b
Only modify dark palette on macOS where we dont explicitly set the colors
2019-12-08 09:01:35 +05:30
Kovid Goyal
537fcd9021
Allow using an env var on linux for dark mode
2019-12-08 08:50:42 +05:30
Kovid Goyal
9d50e774b9
Only enable dark mode palette when using calibre style since it does not work with the system style
...
Also dont disable alternating row colors with dark palettes on windows,
since we can control the color.
2019-12-08 08:04:26 +05:30
Kovid Goyal
9d8ad144ff
DOCX Input: Fix incorrect font sizes for footnote references in paragraphs that have text with multiple font sizes. Fixes #1855403 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1855403 )
2019-12-08 07:45:31 +05:30
Kovid Goyal
08ca34e735
DOCX Input: Avoid nested <sup> tags for footnote references
...
Also avoid empty <sup> or <sub> tags.
2019-12-08 07:44:03 +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
935e7573ab
Add support for windows 10 dark mode
...
If dark mode is enabled in windows 10 under Settings -> Personalization
-> Colors then calibre will use dark colors for its interface. Note
that changing the setting will only take effect when calibre is
restarted.
2019-12-07 04:23:30 +05:30
Kovid Goyal
5774a6ef9a
Use the same ToC icon for viewer as for rest of calibre
2019-12-06 17:12:01 +05:30
Kovid Goyal
55ba61babc
Viewer: Improve metadata rendering. Fixes #1855163 [Show metadata in the same font size]( https://bugs.launchpad.net/calibre/+bug/1855163 )
2019-12-06 15:37:00 +05:30
Kovid Goyal
2d25f8d779
Log the user agent and keep it stable
2019-12-06 14:01:08 +05:30
Kovid Goyal
2e693b4156
Merge branch 'master' of https://github.com/davidfor/calibre
2019-12-06 07:24:29 +05:30
David
fac8c55cc6
Update supported Kobo firmware version
2019-12-06 07:38:40 +11:00
Kovid Goyal
14293ba36d
Content server: Remove un-needed narrow nbsp before titles in mobile view
2019-12-05 18:23:51 +05:30
Kovid Goyal
64adf22ac0
Fix azw3 conversion of entities failing on narrow python builds such as windows
2019-12-04 23:17:44 +05:30
Kovid Goyal
281ddb8678
Make the name of the html syntax highlighter module more explicit
...
Avoids name collisions with the stdlib html module in python3
2019-12-03 10:45:42 +05:30
Kovid Goyal
9b777491ce
Dont show the useless --system-version option for hyphenation
2019-12-03 08:59:02 +05:30
Kovid Goyal
49dd0a2d03
Merge branch 'revendor' of https://github.com/eli-schwartz/calibre
2019-12-03 08:57:25 +05:30
Eli Schwartz
11d6b27ec7
setup: port over the hyphenation dictionary code to ReVendor()
...
This makes it automatically support being passed an alternative url, or
an extracted directory.
2019-12-02 21:05:51 -05:00
Eli Schwartz
a66e562b08
setup: refactor mathjax class into generic class for vendoring things
2019-12-02 21:05:51 -05:00
Kovid Goyal
14819b4ec7
PDF Output: Fix the option to break long words at the end of lines not working since calibre 4. Fixes #1854349 [pdf-hyphenate no longer hyphenating pdfs]( https://bugs.launchpad.net/calibre/+bug/1854349 ) [pdf-hyphenate no longer hyphenating pdfs]( https://bugs.launchpad.net/calibre/+bug/1854349 )
2019-12-02 20:32:26 +05:30
Kovid Goyal
e757597971
Polish books: Add a tool to add or remove soft hyphens from the book text
2019-12-02 20:26:36 +05:30
Kovid Goyal
6625560e81
Make algorithm non recursive to avoid failure on deeply nested tags
2019-12-02 18:42:37 +05:30
Kovid Goyal
7f85f0b531
Implement hyphenation of HTML
2019-12-02 17:15:06 +05:30
Kovid Goyal
9d9cd957f2
Fix failing test
2019-12-02 15:15:31 +05:30
Kovid Goyal
a8cb5c96ba
Clear caches per test rather than per class
2019-12-02 14:56:35 +05:30
Kovid Goyal
1e5de81544
Function to hyphenate individual words, sans surrounding punctuation
2019-12-02 14:44:54 +05:30
Kovid Goyal
aa1f52460e
Function to remove surrounding punctuation
2019-12-01 20:03:18 +05:30
Kovid Goyal
c344ef0775
Fix #1854616 [[Enhancement] Add separator in Fonts preferences]( https://bugs.launchpad.net/calibre/+bug/1854616 )
2019-12-01 18:14:00 +05:30
Kovid Goyal
d6ee7238bb
Viewer: Auto-expand entries in the Table of Contents when viewing the corresponding location in the book.
2019-12-01 14:23:57 +05:30
Kovid Goyal
ccce39da50
Viewer: When creating a new bookmark ifthere is selected text use it as the default bookmark title. Fixes #1854611 [Feature request: Highlighter and Bookmark]( https://bugs.launchpad.net/calibre/+bug/1854611 )
2019-12-01 14:09:41 +05:30
Kovid Goyal
0abd0d88ee
Test cache usage
2019-12-01 13:40:29 +05:30
Kovid Goyal
cd4f231d74
Code to get path to dictionaries
2019-12-01 13:29:19 +05:30
Kovid Goyal
b16b5535bf
Implement mapping of locales to dictionary names
2019-12-01 10:50:32 +05:30
Kovid Goyal
fd4db9e8ed
Make building the dictionaries tarfile reproducible
2019-11-30 21:20:40 +05:30
Kovid Goyal
8081805208
Dont rely on external tar to compress dictionaries
2019-11-30 21:06:37 +05:30
Kovid Goyal
5f46b06dc9
Generate a hash of the hyphenation dicts for cache updates
2019-11-30 20:50:06 +05:30
Kovid Goyal
2a8875f864
...
2019-11-30 20:40:25 +05:30
Kovid Goyal
ae3417cc5b
Forgot to actually rename the lzma package
2019-11-30 18:01:52 +05:30
Kovid Goyal
5c1b69f5b9
Add hyphen dependency
2019-11-30 17:58:57 +05:30
Kovid Goyal
02b5cdb24c
Install hyphen on Arch CI build
2019-11-30 17:22:29 +05:30