33216 Commits

Author SHA1 Message Date
Kovid Goyal
dc1cb09bbb Initial implementation of CSS cascading for containers
This is needed as the current code relies on Qt WebKit, which is going
to go away eventually.
2016-04-11 16:54:53 +05:30
Kovid Goyal
b2dbb4ac01 Font subsetting: When font-variant: small-caps is used include the capital letters as well, in case either the font or the renderer do not support OpenType smcp. Fixes #1568555 [Subsets of fonts with CSS set to uppercase or small-caps variants](https://bugs.launchpad.net/calibre/+bug/1568555) 2016-04-11 16:42:49 +05:30
Kovid Goyal
0dd8f53b4e Refactor the container class to make it easy to create mocked containers for testing 2016-04-11 16:31:07 +05:30
Kovid Goyal
fdfed12489 Redundant isinstance() check 2016-04-11 15:42:57 +05:30
Kovid Goyal
cfbec65804 Rendering book: Convert font sizes expressed in absolute units to rem
Also convert page-break-* properties to their CSS 3 and webkit
equivalents to avoid having to do that work on the client
2016-04-11 11:57:06 +05:30
Kovid Goyal
c403d8aa88 ... 2016-04-11 11:26:07 +05:30
Kovid Goyal
5272f9eade Fix #1568091 [Execution of column/row coloring rules is delayed](https://bugs.launchpad.net/calibre/+bug/1568091) 2016-04-11 07:05:58 +05:30
Kovid Goyal
8b2ed777ad Use correct urls in the instapaper recipe rather than relying on print_version(), which breaks the article downloaded from link 2016-04-11 05:17:36 +05:30
Kovid Goyal
d5a37ea0f5 Font subsetting: Implement support for text-transform. See #1568555 (Subsets of fonts with CSS set to uppercase or small-caps variants) 2016-04-11 05:13:42 +05:30
Kovid Goyal
6305d5c647 E-book viewer: Fix a link that has some text along with a superscript/subscript being incorrectly detected as a footnote link 2016-04-11 04:20:55 +05:30
Kovid Goyal
b20610910e Allow creation of rules to convert arbitrary identifiers into clickable links in the book details panel 2016-04-10 19:53:09 +05:30
Kovid Goyal
9269e62723 ... 2016-04-10 11:56:37 +05:30
Kovid Goyal
0c4f4f6210 Fix bug in book download progress reporting 2016-04-10 11:55:35 +05:30
Kovid Goyal
42a52c6e77 Use a missing: URL scheme for missing resources 2016-04-10 11:46:58 +05:30
Kovid Goyal
a8eca0d6d2 Fix incorrect scroll direction detection in flow mode 2016-04-10 11:25:06 +05:30
Kovid Goyal
9dd8170596 Fix virtualization of links to missing items 2016-04-10 11:15:02 +05:30
Kovid Goyal
74ac6e03c3 ... 2016-04-10 10:44:18 +05:30
Kovid Goyal
a35a5f414f ... 2016-04-10 10:38:27 +05:30
Kovid Goyal
6c0c511e8d ... 2016-04-10 10:38:09 +05:30
Kovid Goyal
a17e4fe4af ... 2016-04-10 10:35:05 +05:30
Kovid Goyal
023717c2cd Allow right clicking on Virtual Library tabs to edit/delete the virtual library. Fixes #1568306 [[Enhancement] Edit a Virtual Library from individual tab](https://bugs.launchpad.net/calibre/+bug/1568306) 2016-04-10 10:15:11 +05:30
Kovid Goyal
52a24def08 Tag mapper: Add a button to edit the list of tags in a tag mapper rule using the tag editor dialog. Fixes #1568376 [[Enhancement] An easy way to add an unwanted multitued of tags to a Remove rule](https://bugs.launchpad.net/calibre/+bug/1568376) 2016-04-10 09:51:09 +05:30
Kovid Goyal
37b7ab4a13 Margins for the reader 2016-04-09 17:27:07 +05:30
Kovid Goyal
25b631efad Make the reset CSS styles inline 2016-04-09 09:50:49 +05:30
Kovid Goyal
1b413d27f9 Update Newsweek 2016-04-08 16:31:27 +05:30
Kovid Goyal
3e70e190dd Workaround for broken websocket ping/pong implementation in browsers
Now use a normal message to keep the connection alive. Avoids the
annoying error messages in the console when the browser times out the
connection.
2016-04-08 10:57:37 +05:30
Kovid Goyal
388c6859bb Update RapydScript 2016-04-08 09:54:27 +05:30
Kovid Goyal
bbd635c57b ... 2016-04-08 09:09:37 +05:30
Kovid Goyal
e3e5cb55bb Fix visibility of right top bar icons not being toggled for dummy bar 2016-04-08 07:28:15 +05:30
Kovid Goyal
f4bbbbd859 Fix de-serializing of namespaced attributes 2016-04-08 07:22:51 +05:30
Kovid Goyal
9fe170b095 Fix device detection on windows failing if the registry entries for the device contain a very long item. Fixes #1567569 [Calibre do not detect my ereader (Sony PTR2)](https://bugs.launchpad.net/calibre/+bug/1567569) 2016-04-08 07:08:55 +05:30
Kovid Goyal
7d0c1d5276 ... 2016-04-07 22:33:21 +05:30
Kovid Goyal
bb442dee28 Use SVG icons instead of an icon font 2016-04-07 22:12:42 +05:30
Kovid Goyal
9b049f63a2 ... 2016-04-07 20:30:25 +05:30
Kovid Goyal
7b8a045ee4 Ensure multiple loads are not running 2016-04-07 15:33:51 +05:30
Kovid Goyal
04929a943d Implement keyboard and wheel scrolling in flow mode 2016-04-07 15:18:27 +05:30
Kovid Goyal
8926f82472 Edit Book: Fix an extra colon being added when setting the "notes" semantic 2016-04-06 19:53:54 +05:30
Kovid Goyal
167d057a76 Ensure that author folder names are never windows reserved names 2016-04-06 07:21:56 +05:30
Kovid Goyal
4d0850e5fd Fix bug in re-using of previously loaded resources 2016-04-05 20:50:34 +05:30
Kovid Goyal
aeeaa167ed Position both flow mode continue indicators on the right edge, less chance of overlap with text that way 2016-04-05 20:28:35 +05:30
Kovid Goyal
a171dfc99d Implement previous and next page buttons for when scrolling reaches top/bottom in flow mode 2016-04-05 20:17:18 +05:30
Kovid Goyal
eaeff825eb Update RapydScript 2016-04-05 17:54:00 +05:30
Kovid Goyal
38918988c2 Get rid of the epub: namespace when rendering books 2016-04-05 07:22:25 +05:30
Kovid Goyal
3d22d93966 E-book viewer: When displaying an EPUB 3 document that uses epub:switch to provide a fallback for MathML content, prevent both the MathML and fallback from being shown together.
PDF Output: When displaying an EPUB 3 document that uses epub:switch to provide a fallback for MathML content, prevent both the MathML and fallback from being rendered together.
2016-04-04 22:52:41 +05:30
Kovid Goyal
1f0143fe62 Update RapydScript 2016-04-04 21:50:57 +05:30
Kovid Goyal
05c637cba7 Switch to using string functions as methods 2016-04-04 15:52:40 +05:30
Kovid Goyal
1a28db1073 Update RapydScript 2016-04-04 15:52:26 +05:30
Kovid Goyal
cc0e4f9dc7 Port cfi.coffee to cfi.pyj 2016-04-04 10:41:16 +05:30
Kovid Goyal
11a52bb0d7 Update Handelsblatt 2016-04-04 07:01:11 +05:30
Kovid Goyal
fb9b1c2885 Merge branch 'master' of https://github.com/cbhaley/calibre 2016-04-04 06:44:39 +05:30