Commit graph

2270 commits

Author SHA1 Message Date
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
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
eaeff825eb Update RapydScript 2016-04-05 17:54:00 +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
1a28db1073 Update RapydScript 2016-04-04 15:52:26 +05:30
Kovid Goyal
8a11e476a1 Update RapydScript 2016-04-03 18:11:58 +05:30
Kovid Goyal
a1f50c1739 Update RapydScript 2016-04-02 22:31:56 +05:30
Kovid Goyal
b177a6931f E-book viewer: Make the detection of note boundaries for popup footnotes a little more robust 2016-03-31 10:48:13 +05:30
Kovid Goyal
2012b0f6b4 Update RapydScript 2016-03-27 14:24:43 +05:30
Kovid Goyal
0f20c27226 E-book viewer: Fix mathematics being typeset at too small a font size on windows 2016-03-27 08:56:07 +05:30
Kovid Goyal
1a38f03966 MathJax: Fix scale causing equations to not be aligned.
See https://github.com/mathjax/MathJax/issues/1422
2016-03-27 08:24:06 +05:30
Kovid Goyal
a609cdc849 Update RapydScript 2016-03-25 11:39:39 +05:30
Kovid Goyal
c56ef9c087 Simplify loading of javascript in render iframe
Also improves performance by in-lining javascript into index.html
2016-03-24 23:41:57 +05:30
Kovid Goyal
ebc247a020 Update bundled MathJax to 2.6.1 2016-03-24 16:01:36 +05:30
Kovid Goyal
a1ce8f3eaa Update RapydScript 2016-03-23 12:08:16 +05:30
Kovid Goyal
cbce50cbe4 Move aes.pyj into the rapydscript-ng project 2016-03-22 17:52:37 +05:30
Kovid Goyal
701bec4a91 Update RapydScript 2016-03-22 00:44:49 +05:30
Kovid Goyal
2f6d4ea260 Update RapydScript 2016-03-21 14:18:52 +05:30
Kovid Goyal
9f74914202 Update RapydScript 2016-03-21 00:07:47 +05:30
Kovid Goyal
f2519c96ea CS auto-reloader: Do not reload infinitely if connection never succeeds 2016-03-19 21:52:34 +05:30
Kovid Goyal
306474f284 Update RapydScript 2016-03-19 21:40:12 +05:30
Kovid Goyal
29e3817acd Update RapydScript 2016-03-14 11:10:13 +05:30
Kovid Goyal
2194121391 E-book viewer: Hide list numbers for popup footnotes when the footnotes are use <ol> as the number are likely to be incorrect. 2016-03-09 00:16:37 +05:30
Kovid Goyal
47cd4a797a Update RapydScript 2016-03-05 16:14:38 +05:30
Kovid Goyal
741d7d9efc CS: Port /mobile
Useful for legacy devices that dont support html 5
2016-02-25 18:43:58 +05:30
Kovid Goyal
52e0e87e71 Update RapydScript 2016-02-23 15:14:15 +05:30
Kovid Goyal
d83dc3fb94 CS: Implement switching of libraries 2016-02-18 18:16:12 +05:30
Kovid Goyal
b44c770bfd Update RapydScript 2016-02-18 13:36:42 +05:30
Kovid Goyal
0d5341a31b Update RapydScript 2016-02-16 15:24:50 +05:30
Kovid Goyal
2769794b29 Update RapydScript 2016-02-15 12:50:18 +05:30
Kovid Goyal
14df859c63 Update RapydScript 2016-02-13 14:39:00 +05:30
Kovid Goyal
e0d4f2196a Update RapydScript 2016-02-11 18:32:59 +05:30
Kovid Goyal
471cf7741c Update RapydScript 2016-02-11 16:00:27 +05:30
Kovid Goyal
bef332b6cb Update RapydScript 2016-02-11 15:07:54 +05:30
Kovid Goyal
699ea2696d Update RapydScript 2016-02-11 11:16:16 +05:30
Kovid Goyal
0056aa177b Update bundled RapydScript 2016-01-29 10:19:46 +05:30
Kovid Goyal
f083a7dbf2 ... 2016-01-12 10:51:11 +05:30
Kovid Goyal
d9a5a328e2 E-book viewer: Fix some non-ASCII characters not display in embedded MathML. Fixes #1532323 [Some non-ASCII characters in MathML elements don't render correctly](https://bugs.launchpad.net/calibre/+bug/1532323)
All that was needed was to update MathJax to the latest release 2.6.0
2016-01-09 09:21:20 +05:30
Kovid Goyal
5a24f7f51b Avoid mixed content warnings when referring to resources on the calibre website 2016-01-08 15:57:20 +05:30
Kovid Goyal
bd4e970b3a ... 2016-01-01 09:43:45 +05:30
Kovid Goyal
fed8adbcde E-book viewer: When using heuristics to detect footnote links check for vertical-align set to top and bottom as well as sub and super 2015-12-31 13:49:30 +05:30
Kovid Goyal
2b3a1ea10c Update CA root certificate to use a SHA256 signature 2015-12-23 11:29:43 +05:30
Kovid Goyal
662a260b5c Use padding instead of margins for page margins in paged mode 2015-12-14 18:16:05 +05:30
Kovid Goyal
30a8f1298b Edit Book: Add a new tool to compress images in the book losslessly, accessed from the Tools menu 2015-11-28 13:08:35 +05:30
Kovid Goyal
dc1bf3a36d Close auto reload websocket on page unload 2015-11-27 11:54:26 +05:30
Kovid Goyal
efb6dcbf2a Update RapydScript 2015-11-26 18:11:36 +05:30
Kovid Goyal
5164e4b005 Update RapydScript 2015-11-17 23:52:42 +05:30
Kovid Goyal
9605e8fa2d Update RapydScript 2015-11-13 14:55:06 +05:30
Kovid Goyal
eced07af18 Update RapydScript 2015-11-12 22:52:44 +05:30
Kovid Goyal
438f5a8d88 ... 2015-11-12 18:05:45 +05:30
Kovid Goyal
2fd77b8667 Update RapydScript 2015-11-12 14:56:33 +05:30
Kovid Goyal
0fbea94580 Update RapydScript 2015-11-10 11:35:18 +05:30
Kovid Goyal
424a430d15 Add basic user management to the server
This code is mostly just a stub, will need to be fleshed out later.
2015-11-04 19:53:01 +05:30
Kovid Goyal
e2bfb32dc9 Switch to using localStorage instead of cookies for sessions 2015-11-04 14:59:04 +05:30
Kovid Goyal
9431a6e3ee Update RapydScript 2015-11-04 14:59:04 +05:30
Kovid Goyal
32b00774da E-book viewer: Set the foreground color as well as the background color for the reference mode popup. Makes it legibile even when the user specifies a different color theme for the viewer. 2015-11-03 20:59:42 +05:30
Kovid Goyal
9c916a3679 Update RapydScript 2015-11-02 16:27:58 +05:30
Kovid Goyal
467f7a3273 Only retry connecting to the reload server for a second
The port changes when the reload server is restarted in any case, so no
point trying to reconnect if the server has gone away.
2015-10-27 20:43:17 +05:30
Kovid Goyal
6e874b5377 --auto-reload now automatically refreshes the page in browsers as well
Uses a WebSocket to send a signal to all browsers that have loaded the
page.
2015-10-27 20:33:56 +05:30
Kovid Goyal
cdfe01a5e5 Throbbing donate button for server UI 2015-10-20 14:31:56 +05:30
Kovid Goyal
a65b9126fa Add Font Awesome for the new server UI 2015-10-19 20:35:23 +05:30
Kovid Goyal
18533eeebc More work on the new server UI 2015-10-19 20:33:08 +05:30
Kovid Goyal
67f7b5f2b9 Update RapydScript 2015-10-19 19:02:32 +05:30
Kovid Goyal
bbca5330d8 Use a reset line height of 1.2 2015-10-18 12:46:26 +05:30
Kovid Goyal
d2ba80ec41 Implement progress bar while loading library data 2015-10-16 12:35:57 +05:30
Kovid Goyal
0bbc30c07f Start work on UI for new server 2015-10-15 13:58:19 +05:30
Kovid Goyal
fa49f81b3e Infrastructure for serving rapydscript in the new content server 2015-10-07 11:37:58 +05:30
Kovid Goyal
a2043ced89 Update bundled RapydScript 2015-09-26 21:27:48 +05:30
Kovid Goyal
694430406a Dont use media="screen" for the <style> tag in jackets 2015-09-05 09:08:48 +05:30
Kovid Goyal
77c7a231d6 Update RapydScript 2015-08-27 17:19:27 +05:30
Kovid Goyal
a12182694a Fix Nook icon not rendering with newer versions of Qt 2015-08-20 10:54:23 +05:30
Kovid Goyal
74b732116c Merge branch 'master' of https://github.com/wlsc/calibre 2015-08-09 23:53:46 +05:30
Wladimir Schmidt
b192c978ff * optimized *.png files with lossless png optimizer, saved hundred of KBs without to lose in quality! 2015-08-09 16:51:12 +02:00
Kovid Goyal
05d5ea41fc Use LZMA compression for the RS compiler 2015-08-08 13:05:34 +05:30
Kovid Goyal
df3f850407 Merge branch 'master' of https://github.com/cbhaley/calibre 2015-08-05 17:12:34 +05:30
Kovid Goyal
3c7c651e14 Update RapydScript 2015-08-04 10:49:13 +05:30
Kovid Goyal
cf3882c775 E-book viewer: Improve performance of hyphenation
Also fix a bug in the hyphenation algorithm that could cause the word
"undefined" to be mangled during hyphenation. Fixes #1478292 [E-book Viewer display error on word "undefined"](https://bugs.launchpad.net/calibre/+bug/1478292)

Both these changes come from updating the Hyphenator library to version
5.1.0
2015-07-27 09:11:16 +05:30
Kovid Goyal
f785c132ad Spell check: Convert all dictionaries to UTF-8 before loading them in hunspell
This allows adding arbitrary unicode words as user words to the
dictionaries.
2015-07-23 00:17:21 +05:30
Kovid Goyal
cea314f0d9 Migrate the REPL to use repl.js that I created for RapydScript. That way I only have to maintain one set of REPL code :) 2015-06-26 21:10:30 +05:30
Kovid Goyal
e9c6dbc24b Import all the RapydSCript work I have been doing 2015-06-26 14:02:04 +05:30
Kovid Goyal
b449c4a401 Update RapydScript to use the new import system I developed 2015-06-23 18:44:12 +05:30
Kovid Goyal
c58aaff84e ... 2015-06-21 11:38:51 +05:30
Kovid Goyal
d5a02c0ec7 Fix baselib not working in rapydscript compilation 2015-06-20 12:45:38 +05:30
Kovid Goyal
64590fddf7 RapydScript compiler and REPL 2015-06-20 09:27:36 +05:30
Kovid Goyal
2368db92d6 Update the version of the bundled coffeescript compiler
Now at 1.9.3
2015-06-18 17:33:47 +05:30
Kovid Goyal
794ebd0075 ... 2015-06-16 19:11:24 +05:30
Kovid Goyal
f2469eefdc Implement serving of static resources 2015-06-13 15:12:06 +05:30
Kovid Goyal
2484ed7b61 Fix guessed mime type for js files 2015-05-24 18:32:46 +05:30
Kovid Goyal
5ceb650f2a ... 2015-05-14 13:40:04 +05:30
Kovid Goyal
8c9eeb028f Viewer: Add the epubReadingSystem JS object 2015-05-03 06:45:26 +05:30
Kovid Goyal
67948df37f Add Quick Start Guide in Italian
Also minor updates to the formatting.
2015-04-30 10:35:59 +05:30
Eli Schwartz
afd774cc9f calibre-portable.sh: misc fixes.
- Fix temp dir.
- Migrate settings to configuration file.
- Use trap to exit and cleanup. umask was doing absolutely nothing.

Fixes #1426222 [Updated version of calibre-portable.sh](https://bugs.launchpad.net/calibre/+bug/1426222)
2015-04-25 14:12:05 +05:30
Kovid Goyal
13c5fdb2be E-book viewer: When printing, print to a PDF file instead of directly to the printer. This fixes printing not working on some systems. Fixes #1448330 [Ebook Viewer Print not working](https://bugs.launchpad.net/calibre/+bug/1448330) 2015-04-25 13:28:36 +05:30
Kovid Goyal
3c74a744ef E-book viewer: Fix a regression that caused the viewer to occasionally skip the last page in a chapter when displaying more than one pages per screen and scrolling by screen
Also use a custom tag name for the blank page elements, so that there is
less chance of CSS from elsewhere being applied to it
2015-04-20 19:16:12 +05:30
Kovid Goyal
76f1582757 E-book viewer: When displaying multiple pages per screen fix whole screen scrolling so that it works as expected even at the end of the file, when their might be fewer pages left than would fill the screen. 2015-04-13 14:09:59 +05:30
Kovid Goyal
35f565a425 Add webm mime types 2015-04-06 10:14:51 +05:30
Kovid Goyal
7b920401d2 ... 2015-03-31 08:29:26 +05:30
Kovid Goyal
3e3bfd002e ... 2015-03-07 17:03:51 +05:30
Kovid Goyal
ae8cf31bac PDF Output: Fix incorrect conversion of source document that specify dir="rtl" on the root element. Fixes #1429292 [dir="rtl" in html crashes PDF build](https://bugs.launchpad.net/calibre/+bug/1429292)
Also fixes rendering of such documents int he viewer in paged mode.
2015-03-07 16:49:40 +05:30
Kovid Goyal
3a284d0860 FB2 Input: Do not put a border around images 2015-03-06 20:16:30 +05:30
Eli Schwartz
b19633eeee calibre-portable.sh should write new files world-accessible.
This is a portable app after all.

Also add usage info and an install/upgrade switch.
2015-02-28 07:08:25 +05:30
Eli Schwartz
973e0e9d6f Fixes and changes to calibre-portable.sh
Fixes #1426222 [Updated version of calibre-portable.sh](https://bugs.launchpad.net/calibre/+bug/1426222)
2015-02-27 10:28:24 +05:30
Kovid Goyal
1779671e47 E-book viewer: Fix footnote popup window not displaying entire footnote if footnote contains element with page-break-after set 2015-02-19 12:43:40 +05:30
Kovid Goyal
5b3e33c26c Add mime type for markdown 2015-02-17 09:22:17 +05:30
Kovid Goyal
3d929bf388 Add mimetype for CBC files 2015-02-17 09:18:01 +05:30
Kovid Goyal
bdf4e01d7a Make jumping to a cfi pseudo synchronous by spinning the event loop while waiting for the scroll to finish 2015-02-01 10:22:17 +05:30
Kovid Goyal
89cc647009 Some utility functions to control the viewer position with page numbers in paged mode 2015-01-31 10:46:42 +05:30
Kovid Goyal
ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Kovid Goyal
f8ff8e4be2 Modify the icon for the copy to library action 2015-01-21 22:44:50 +05:30
Kovid Goyal
a7505aa324 Wire up the reports tool 2015-01-19 18:01:46 +05:30
Kovid Goyal
04dfbe41d4 Allow adding the "Manage Snippets" action to the toolbar, for easy access 2015-01-11 14:15:36 +05:30
Kovid Goyal
3ddb7f1da3 Add a noindex directive for robots to the content server
There are people that apparently expose their content server instances
over the public internet. See
http://www.mobileread.com/forums/showthread.php?t=202662
2015-01-02 22:45:55 +05:30
Kovid Goyal
610f2e32cb FB2 Input: Add support for FB2 books that use the FictionBook 2.1 XML schema. Fixes #1401915 [can't read fb2, saved from samlib.ru](https://bugs.launchpad.net/calibre/+bug/1401915) 2014-12-14 10:52:46 +05:30
Kovid Goyal
c352d2eccb ... 2014-11-26 12:53:20 +05:30
Kovid Goyal
a6a2359025 Edit Book: Make the CSS used for styling the generated inline ToC user customizable via http://manual.calibre-ebook.com/customize.html#overriding-icons-templates-et-cetera 2014-11-07 21:23:41 +05:30
Kovid Goyal
2f404dbdcd Also recognize links that are linked back to as footnote links 2014-11-05 22:07:55 +05:30
Kovid Goyal
851617caed ... 2014-11-05 18:52:31 +05:30
Kovid Goyal
9c93a6e06b Insert metadata as jacket page: Make the invisible tags used for searching across books format better, by giving them their own table row. 2014-10-23 10:51:55 +05:30
Kovid Goyal
950a3a656c Use a dedicated icon for metadata downloading 2014-10-20 15:33:25 +05:30
Kovid Goyal
f623249847 E-book viewer: Fix page turning by clicking in the margins in full screen mode (when displaying more than one page per screen) not working because of a Qt 5 behavior change. 2014-10-06 12:02:22 +05:30
Kovid Goyal
0f660259d3 Edit book/Book polishing: When embedding fonts or subsetting embedded fonts, handle the :first-letter and :first-line pseudo-element style rules. Fixes #1373649 [Book Editor - Font Subsetting does not recognize pseudo-element declarations](https://bugs.launchpad.net/calibre/+bug/1373649) 2014-10-02 12:00:45 +05:30
Kovid Goyal
88df6cbb3d Use Qt to draw catalog covers and mastheads as well 2014-09-24 09:46:23 +05:30
Kovid Goyal
9b2ebcfdc5 E-book viewer: Fix displaying multiple pages per screen not working in calibre 2.x with some books, due to a change in Qt 5. Fixes #1372066 [Private bug](https://bugs.launchpad.net/calibre/+bug/1372066) 2014-09-21 21:02:13 +05:30
Kovid Goyal
4e8fbeae22 E-book viewer: Fix a rare hang caused by an infinite loop when decoding a CFI 2014-09-06 23:26:45 +05:30
Kovid Goyal
9c244a873b E-book viewer: Try to detect when a chapter has a page break near the start resulting in a blank page and override the page break. Fixes #1366074 [Private bug](https://bugs.launchpad.net/calibre/+bug/1366074) 2014-09-06 21:14:21 +05:30
Kovid Goyal
8e2abc008f Metadata jacket: Allow customizing the jacket template to show the tags in alphabetical order 2014-09-04 10:57:42 +05:30
Kovid Goyal
2faac51ceb Make the template used to create empty EPUB files customizable by the user 2014-09-04 10:46:11 +05:30
Kovid Goyal
deb085da7d Change help text for double click on library view tweak 2014-08-27 09:42:18 +05:30
Charles Haley
626d127cc3 Use the full formatter for the catalog templates so the full template language and all custom columns can be used.
I have tested this in epub and mobi and it works as far as I can tell. Unfortunately this code is very complicated so there may be problems. We will see...
2014-08-23 12:37:32 +02:00
Kovid Goyal
5693efad98 fix permissions on icon files 2014-08-17 21:18:01 +05:30
Kovid Goyal
65c073b11a Edit Book: Fix a regression that caused clicking on links in the preview panel that lead to destinations in the same HTML file popping up a spurious error message. 2014-08-03 07:35:50 +05:30
Kovid Goyal
b58cd915f6 Live CSS: Show the Matched CSS header even if no rules match 2014-08-02 09:48:58 +05:30
Kovid Goyal
cf7887dd61 Edit Book: Allow the import files into book action to be added to the toolbar 2014-07-31 08:37:57 +05:30
Kovid Goyal
302d131ec2 Conversion: When inserting a metadata jacket, format the series number
using roman numerals. This behavior can be disabled by using a custom
jacket template, as described here: http://manual.calibre-ebook.com/customize.html#overriding-icons-templates-et-cetera
See #1342916 (Roman Numerals not show on book jacket)
2014-07-25 19:17:45 +05:30
Kovid Goyal
e6964c4eee Edit Book: Allow the action to launch the saved searches dialog to be added to the global toolbars 2014-07-20 09:59:38 +05:30
Kovid Goyal
689d9f6e60 Book details panel: Make series and tags clickable. Clicking on them will search the calibre library for all books in the same series/ having the same tag
Fixes #1341297 [[Enhancement] make series name (in book details) a link/clickable](https://bugs.launchpad.net/calibre/+bug/1341297)
2014-07-14 13:41:05 +05:30
Kovid Goyal
c5e05cdb2e Edit Book: Add in-context help for HTML and CSS
Now, you can right click on any HTML/OPF/NCX tag name or CSS property
and the editor will open some help for that item in your browser.
2014-07-13 15:56:14 +05:30
Kovid Goyal
f01c2e96fd Fix link in de version of QS Guide 2014-07-12 08:44:49 +05:30
Kovid Goyal
c952bb5888 Add translated Quick Start Guides in French and German 2014-07-07 10:48:34 +05:30
Kovid Goyal
84205d79cd Recognize leading articles for the Esperanto language when auto-generating title sorts. Fixes #1336639 [Esperanto alphabetization](https://bugs.launchpad.net/calibre/+bug/1336639) 2014-07-02 12:31:57 +05:30
Kovid Goyal
2d364dfa4a Fix #1332837 [Additional article words in Italian](https://bugs.launchpad.net/calibre/+bug/1332837) 2014-06-29 18:05:24 +05:30
Kovid Goyal
888bb39f3d Change NON NULL to NOT NULL in the sqlite schema 2014-06-14 11:09:02 +05:30
Kovid Goyal
621d67273f Edit Book/Book polishing: Fix embedding all referenced fonts not catching fonts that are only specified via style attributes and not in any stylesheets. 2014-06-12 19:30:07 +05:30
Kovid Goyal
f8e8d9caa0 Preview panel: Allow syncing of position more accurately when there are multiple tags on the same source code line 2014-05-25 14:29:25 +05:30
Kovid Goyal
0efd5c5515 Wire up the hyperlinks 2014-05-20 16:11:17 +05:30
Kovid Goyal
1f480dd3b8 Show line number of tag in live css panel 2014-05-20 15:45:53 +05:30
Kovid Goyal
c9e7fe2546 Display a swatch for color properties 2014-05-20 14:30:41 +05:30
Kovid Goyal
9bf60add18 Live CSS renders 2014-05-20 11:49:49 +05:30
Kovid Goyal
215f6a94d6 Only return first matching selector, instead of the full selector text 2014-05-19 09:30:09 +05:30
Kovid Goyal
2e3d14ec7b Handle media queries when finding matching CSS rules 2014-05-18 18:23:23 +05:30
Kovid Goyal
833faa475c Implement code to retrieve style information for the Live CSS panel 2014-05-18 17:32:01 +05:30
Kovid Goyal
06f3640ceb Add .ibook*s* as a recognized ebook format as well 2014-05-17 22:07:27 +05:30
Kovid Goyal
80b1476aa2 Make word under cursor detection more robust 2014-05-11 10:32:24 +05:30
Kovid Goyal
94c324b317 E-book viewer: When using the tap and hold gesture on a touchscreen, allow lookup of the word currently under the finger in the dictionary or online. Fixes #1318242 [Enhancement: allow text select on Windows Tablet, perhaps with stylus](https://bugs.launchpad.net/calibre/+bug/1318242) 2014-05-11 09:47:52 +05:30
Kovid Goyal
1294718845 Content server: Make .ibook format files available in OPDS feeds 2014-05-07 06:56:06 +05:30
Kovid Goyal
65de38ddc3 Fix incorrect color profile 2014-04-29 15:01:45 +05:30
Kovid Goyal
ced2265ce2 Fix a bug that caused spell checking to fail when using the builtin spanish dictionary 2014-04-22 08:41:50 +05:30
Kovid Goyal
39e75804c7 Start work on spell check dialog 2014-04-17 07:12:30 +05:30
Kovid Goyal
e476f7d889 Add Spanish and English (GB) builtin dictionaries 2014-04-17 07:12:30 +05:30
Kovid Goyal
0c397d32e5 Implement loading of both builtin and user installed dictionaries 2014-04-17 07:12:29 +05:30
Kovid Goyal
b88f361212 Start work on managing dictionaries in calibre 2014-04-17 07:12:29 +05:30
Kovid Goyal
922ca7df54 Fetch news: Allow automatically creating custom news sources by import OPML files. Many RSS news reader programs can export their list of RSS feeds in the OPML format.
Merge branch 'master' of https://github.com/ingkebil/calibre
2014-04-10 13:03:46 +05:30
Kovid Goyal
b48997e9bf Conversion: When inserting metadata as a jacket page, alter the font sizes in the jacket so that the sizes match the sizes used in the rest of the book. Also pretty print the generated jacket HTML. 2014-04-09 10:46:55 +05:30
ingkebil
3a3da7c282 Resized the OPML icon a bit 2014-04-04 22:57:24 +02:00
ingkebil
73b613fac1 Merge branch 'master' of https://github.com/kovidgoyal/calibre 2014-04-03 23:13:49 +02:00
Kovid Goyal
b078ab5b51 Edit Book: Add a button to easily insert HTML tags. Useful if you want to quickly surround selected text with an arbitrary tag. You can right click the button to get a list of recently used tags. 2014-04-02 10:34:22 +05:30
ingkebil
05a566c275 Added OPML support to the user_profile dialog 2014-04-01 23:26:35 +02:00
Kovid Goyal
a258f4a201 Increase the max allowed cover size a little, to match current publishing guidelines for covers 2014-03-26 11:15:05 +05:30
Kovid Goyal
f5e1a13ac6 Updated expired CA certificate 2014-03-25 16:39:08 +05:30
Kovid Goyal
1fa5a5af1a PDF Output: Enable using javascript inside header and footer templates 2014-03-23 11:41:21 +05:30
Kovid Goyal
ca1fdf47b8 ... 2014-03-17 19:36:50 +05:30
Kovid Goyal
2e40d47b5f Fix side margin not defined in paged mode 2014-03-17 11:40:41 +05:30
Kovid Goyal
5df9807308 Fix leaving full screen mode not removing max height restriction 2014-03-09 09:31:26 +05:30
Kovid Goyal
ea6b203b37 E-book viewer: Add an option to control the maximum text height in full screen. Note that it only owrks if the viewer is in paged mode (which is the default mode). 2014-03-09 09:23:58 +05:30
Kovid Goyal
f969151e9f Utility code to download https URLs securely 2014-02-23 13:13:53 +05:30
Kovid Goyal
ddca079000 Linux binary build: Create an uninstall script named calibre-uninstall
Fixes #1283154 [linux uninstaller (/usr/bin/calibre-uninstall)](https://bugs.launchpad.net/calibre/+bug/1283154)
2014-02-22 12:42:58 +05:30
Kovid Goyal
69e8be5eab Updated Quick Start Guide 2014-02-21 08:45:43 +05:30
Kovid Goyal
526e7882bb Nicer icon for beautify file
From http://findicons.com/icon/207143/flower?id=207153 (freeware
non-commercial)
2014-02-20 10:36:14 +05:30
Kovid Goyal
5440e0c377 Add malformed markup check when editing ToC as well 2014-02-18 15:47:22 +05:30
Kovid Goyal
371aa6ef77 Edit book: Fix splitting of HTML file occurring at the wrong location if the HTML contains invalid constructs like nested <p> tags 2014-02-18 14:25:30 +05:30
Kovid Goyal
4800dbb2fc More accurate detection of full screen layouts in paged mode 2014-02-13 10:57:24 +05:30
Kovid Goyal
b5770b536b Cleanups for the quick start guide 2014-02-13 10:46:13 +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
c0e9d14ba1 PDF Output: Fix incorrect rendering of html files with only a single large image and very little text. In some rare circumstances, the full html file would not be rendered. Fixes #1278877 [conversation EPUB to PDF - Error](https://bugs.launchpad.net/calibre/+bug/1278877) 2014-02-12 11:30:33 +05:30
Kovid Goyal
2d96b9a835 Edit Book: Fix subsetting embedded fonts not processing fonts included in a stylesheet that is itself referenced only by an @import rule 2014-01-31 21:35:34 +05:30
Kovid Goyal
f630484554 Edit Book: Add a button to show diffs after any Polish action 2014-01-29 12:42:41 +05:30
Kovid Goyal
fce5bebc16 Fix #1270552 [Spelling mistake](https://bugs.launchpad.net/calibre/+bug/1270552) 2014-01-19 17:58:45 +05:30
Kovid Goyal
5e6dd56aa1 Edit book: Allow editing of .plist files as XML 2014-01-17 18:12:27 +05:30
Kovid Goyal
0012f5cc4b Edit book: Add a tool to insert arbitrary unicode characters, such as special spaces or punctuation or characters from non-English languages into the text 2014-01-06 17:00:21 +05:30
Kovid Goyal
aca0f41951 Add L´ and D´ as recognized articles when automatically computing sort strings for French. Fixes #1264172 [list of words consider as "articles" for sort in french](https://bugs.launchpad.net/calibre/+bug/1264172) 2014-01-05 18:36:18 +05:30
Kovid Goyal
bea02304ee Add an option to control how completion works when editing authors/tags/series/etc.
By default, when completing items, calibre will show you all the
candidates that start with the text you have already typed. You can
instead have it show all candidates that contain the text you have
already typed. To do this, go to Preferences->Tweaks->Completion mode.
For example, if you type asi it will now match both Asimov and Quasimodo,
whereas the default behavior would match only Asimov. Fixes #1264304 [[Enhancement] search within string when tagging](https://bugs.launchpad.net/calibre/+bug/1264304)
2014-01-02 10:24:32 +05:30
Kovid Goyal
de9e19231c Change the color of the edit bookicon to distinguish it from the viewer icon more clearly 2013-12-31 19:11:37 +05:30
Kovid Goyal
30deb207e4 Edit book: When syncing the position of the preview panel to the cursor
in the editor and the cursor is at or before the <body> tag set the
position of the preview panel to the top of the file, so that the top
margin of the body tag is seen easily.
2013-12-15 09:25:49 +05:30
Kovid Goyal
b8c52790bc Implement clicking on links in the preview panel
Clicking links in the preview panel now opens the linked to document in
an editor at the location pointed to by the link
2013-12-07 13:41:27 +05:30
Kovid Goyal
d3913372fc change resize icon 2013-12-05 22:24:48 +05:30
Kovid Goyal
ca02073d8d ... 2013-12-05 22:19:46 +05:30
Kovid Goyal
a7b7577fd1 Framework for image filters, alongwith an auto-trim filter 2013-12-05 17:45:53 +05:30
Kovid Goyal
0cd7b5f46f Add basic image manipulation operations 2013-12-05 12:44:38 +05:30
Kovid Goyal
df1c8b7e56 Integrate the new Tweak Book tool into the main calibre gui
The old Tweak Book tool has become "Unpack Book"
2013-12-01 14:35:24 +05:30
Kovid Goyal
42f2e6cff5 Workaround for pyqtSlot not accepting QList<int> on windows 2013-11-29 14:20:16 +05:30
Kovid Goyal
3d55cac971 ... 2013-11-25 12:38:48 +05:30
Kovid Goyal
d893799106 More robust editor -> preview position syncing 2013-11-23 10:55:33 +05:30
Kovid Goyal
ff1525f921 UI for merging files, implementation to follow 2013-11-22 12:31:34 +05:30
Kovid Goyal
2de03bb4b4 Dont use dynamic CS in Tweak Book 2013-11-21 20:54:19 +05:30
Kovid Goyal
46988f0f9a E-book viewer: Allow searching for whole words to work with hyphenation
E-book viewer: Allow searching to work with hyphenation enabled,
provided you are searching for whole words. Searching for partial words
may still not work. For robust searching, turn off hyphenation in the
viewer preferences.
2013-11-20 22:20:49 +05:30
Kovid Goyal
cccd4770dc Update Hyphenator library to 4.2.0 2013-11-20 21:46:47 +05:30
Kovid Goyal
96c1243515 Button to turn of preview position syncing 2013-11-19 10:13:32 +05:30
Kovid Goyal
b1652a2316 Implement adding files to the book 2013-11-17 12:11:38 +05:30
Kovid Goyal
6df507a962 Add a toolbar with buttons to control the preview panel 2013-11-09 09:20:34 +05:30
Kovid Goyal
862bc734f2 Add various polish actions to Tweak Book 2013-11-08 15:35:38 +05:30
Kovid Goyal
f6554d74bb Add basic editor actions 2013-11-03 14:01:14 +05:30
Kovid Goyal
9a96eea0e8 Show modified indicator in file tab 2013-11-03 13:09:21 +05:30
Kovid Goyal
c20db472eb FB2 Input: Add support for note and cite back references
FB2 Input: Add support for note and cite back references. Link pairs of
type="note" and type="cite" now automatically generate the correct back
reference. Fixes #1243714 [Fb2 return link is lost when converted to mobi or epub](https://bugs.launchpad.net/calibre/+bug/1243714)
2013-10-23 20:50:20 +05:30
Kovid Goyal
3f6c88f0ae FB2 Input: Fix paras with both id and style
FB2 Input: Fix a regression that broke conversion of FB2 files with
paragraphs having both a style and an id attribute. Fixes #1243709 [xls:attribute error in FB2 files](https://bugs.launchpad.net/calibre/+bug/1243709)
2013-10-23 20:50:20 +05:30
Kovid Goyal
a43941dc0d Allow using textures for cover grid background
Cover grid: Allow using images as the background for the cover grid. To
choose an image, go to Preferences->Look & Feel->Cover Grid. Fixes #1239194 [[Ideas] -->book grid](https://bugs.launchpad.net/calibre/+bug/1239194) [[Ideas] -->book grid](https://bugs.launchpad.net/calibre/+bug/1239194)

The builtin textures come from subtlepatterns.com
2013-10-15 11:13:03 +05:30
Kovid Goyal
5083f9f13c New icon for Tweak Book 2013-10-07 16:34:47 +05:30
Kovid Goyal
439451a8ed Remove incorrect sRGB profile 2013-10-06 13:39:35 +05:30
Kovid Goyal
ea87178c1d Add some 3D effects to the marked icon 2013-10-05 09:02:38 +05:30
Kovid Goyal
f320957438 Make a special icon for the marked emblem 2013-10-04 22:45:35 +05:30
Kovid Goyal
8f7c50eecc Merge branch 'master' of https://github.com/cbhaley/calibre
Add a tweak to control quality of thumbnails generated by the content
server.

Also improve cache usage performance of the wireless device driver.
2013-10-03 07:42:17 +05:30
Charles Haley
ee8c9d5c91 Add a tweak to change the image compression quality used by the content server when it makes thumbnails. 2013-09-27 17:05:33 +02:00
Kovid Goyal
50beda31ae Remove the SONY PRS 500 fonts
Remove the bundled SONY PRS500 fonts since they were used only for LRF
conversion, and LRF is now deprecated. The fonts will be substituted with
Liberation fonts instead.
2013-09-22 12:09:24 +05:30
Kovid Goyal
c390b2e0ec Increase default max cover size tweak 2013-09-09 21:03:47 +05:30
Kovid Goyal
a401b2ab7d Add a trim cover option ot the bulk metadata edit dialog
Merge branch 'Bulk-trim-covers' of git://github.com/sengian/calibre
2013-08-12 13:56:28 +05:30
sengian
1d0a181f5e Fixed tweak text for % not available 2013-08-12 07:26:51 +02:00
sengian
6c2ca8975d Added the fuzz tweak variable 2013-08-11 22:43:17 +02:00
Kovid Goyal
3d7b8b939e Start work on cover grid 2013-08-05 13:43:05 +05:30
Kovid Goyal
0c5959f298 PDF Output: Fix anchors sometimes located incorrectly
PDF Output: Workaround bug in WebKit's getBoundingClientRect() method
that could cause links to occasionally point to incorrect locations.
Fixes #1202390 [Private bug](https://bugs.launchpad.net/calibre/+bug/1202390)
2013-07-18 10:03:30 +05:30
Kovid Goyal
f75458224b E-book viewer: Fix page position incorrect after startup bookmark
E-book viewer: Fix a bug that could cause the reported position to be
incorrect immediately after opening a previously opened book.

This also fixes the Back button not working if a link is clicked on the
page immediately after opening the book.
2013-07-17 22:11:44 +05:30
Kovid Goyal
03041f925e Tweak to restrict list of output formats
Add a tweak to restrict the list of output formats available in the
conversion dialog. Go to Preferences->Tweaks to change it.
2013-07-09 17:33:28 +05:30
Kovid Goyal
9952abad4a Polish: Add option to embed referenced fonts
Book polishing: Add option to embed all referenced fonts when polishing
books using the "Polish Books" tool. Fixes #1196038 [[enhancement] embed font without conversion](https://bugs.launchpad.net/calibre/+bug/1196038)
2013-07-01 15:08:54 +05:30
Kovid Goyal
9a0d88dffa Updated coffeescript 2013-05-31 10:01:48 +05:30
Kovid Goyal
384e2048f9 Replace book counts
Replace the book counts in the choose library button and next to the
virtual library button with the names of the current library and virtual
library. The count information is now displayed in the status bar at
the bottom.
2013-05-29 22:14:56 +05:30
Kovid Goyal
978be5e9ec Redo .bat as text
I found a much better way to use bzr qdiff, via git difftool
2013-05-29 21:19:18 +05:30
Kovid Goyal
35db7f8404 mark .bat files as binary 2013-05-29 17:12:48 +05:30
Kovid Goyal
c0f549625a Replace CRLF line endings 2013-05-28 11:42:53 +05:30
Kovid Goyal
9d748f7e91 ... 2013-05-11 08:15:49 +05:30
Kovid Goyal
2d7e19d36d ... 2013-05-09 08:43:27 +05:30
Kovid Goyal
29f9e455a7 Add a tweak to turn off the highlighting of the book count when using a virtual library 2013-05-05 09:13:20 +05:30
Kovid Goyal
f106a22374 Remove incorrect sRGB profiles 2013-04-24 12:13:40 +05:30
Kovid Goyal
951ebafe4c RTF Input: Add partial support for hyperlinks to web resources. Fixes #1167562 (Links are wrong after RTF conversion) 2013-04-12 21:25:47 +05:30
Kovid Goyal
12b5fbf81f XSL cleanups 2013-04-05 08:28:54 +05:30
Kovid Goyal
1663619cef ... 2013-04-01 21:04:52 +05:30
Kovid Goyal
a688a8018c PDF Output: Allow use of _SECTION_ in header/footer templates 2013-04-01 15:16:50 +05:30
Kovid Goyal
6201e2a19b PDF Output: Allow using templates to create arbitrary headers and footers. Look under PDF Output in the conversion dialog for this feature. 2013-04-01 13:34:32 +05:30
Kovid Goyal
732a57c560 Add a user interface action for the ToC editor 2013-03-14 13:35:25 +05:30
Kovid Goyal
086ede3705 Reduce negative check value for when to not use bounding rect with anchors. 2013-03-13 12:07:45 +05:30
Kovid Goyal
751a6abd04 ToC Editor: Location browsing implemented 2013-03-06 23:39:08 +05:30
Kovid Goyal
ff33a74a44 Content server: When browsing random books, add a button to the book page to get another random book. Fixes #1134958 (Request: Add random button to random results) 2013-02-28 10:17:15 +05:30
Kovid Goyal
712d846090 Add a tweak to control many_libraries 2013-02-27 19:18:32 +05:30
Kovid Goyal
6776554115 Only use scrollLeft if the bounding rect is obviously wrong, as scrollLeft is inaccurate in some cases. 2013-02-27 13:39:31 +05:30
Kovid Goyal
40daeaa9b4 E-book viewer: Fix clicking links going to slightly incorrect locations in some books. Fixes #1132641 (Private bug) 2013-02-27 13:22:10 +05:30
Kovid Goyal
2a419b2a2f E-book viewer: Fix rendering of pages for right-to-left text in paged mode is reversed. Fixes #1132626 (Ebook Viewer - Reversed paging in 'page mode' for RTL epubs) 2013-02-25 17:47:26 +05:30
Kovid Goyal
b76b53bea0 Turn off numeric colaltion by default 2013-02-23 22:15:20 +05:30
Kovid Goyal
2f9d3e1c9f When sorting the book list on text fields like title, recognize numbers inside the text and sort them as number. So the text 'Book 2' will sort before 'Book 100'. If you prefer the old behavior, you can restore it via Preferences->Tweaks. Fixes #1132025 (Incorrect sort when title contains numbers) 2013-02-23 14:36:13 +05:30
Kovid Goyal
4215b41a05 Content server: Allow clicking on the book cover to download it. Useful on small screen devices where clicking the Get button may be difficult 2013-02-21 17:36:02 +05:30
Kovid Goyal
68007f2c7f Add a separate setting for saving backups of files when polishing. That way you can have calibre save backups while converting EPUB->EPUB and not while polishing, if you so desire. 2013-02-15 16:53:19 +05:30
Kovid Goyal
38ddf4d2c7 ... 2013-02-15 11:30:13 +05:30
Kovid Goyal
d3c700d5a0 Start work on GUI for ebook polishing 2013-02-05 09:39:55 +05:30
Kovid Goyal
bf96abd838 ebook-polish: Collect font usage stats 2013-02-03 16:45:07 +05:30
Kovid Goyal
f9a5cab366 PDF Output: Add an option to add page numbers to the bottom of every page in the generated PDF file 2013-01-29 13:01:59 +05:30
Charles Haley
31f7b12b02 Finish column icon stuff 2013-01-28 10:08:03 +01:00
Kovid Goyal
792d4284b3 Fix #1099157 (Typo in Quick Start Guide) 2013-01-13 23:38:04 +05:30
Kovid Goyal
e7ce67d3b2 IGN:Tag release 2013-01-11 11:34:03 +05:30
Kovid Goyal
cfd76b43e8 Start work on links/outlines in the new engine 2012-12-27 09:39:24 +05:30
Kovid Goyal
a0adbf150b ... 2012-12-21 21:53:29 +05:30
Kovid Goyal
619c06c2b6 IGN:Tag release 2012-12-14 09:45:29 +05:30
GRiker
721e324aad Another ipad.png revision. 2012-12-06 08:28:09 -07:00
GRiker
b9641dd876 Updated ipad.png icon 2012-12-06 05:37:14 -07:00
Kovid Goyal
9b11ce02e6 IGN:Tag release 2012-11-30 09:09:44 +05:30
Kovid Goyal
be79929eb3 ... 2012-11-30 08:24:10 +05:30
Kovid Goyal
d29b097216 Viewer: Fix vertical margin at the top of the first page incorrect in a certain rare circumstance (first child of body being an empty paragraph). Fixes #1082640 (ebook-viewer: top line of the text is cut off when using two-paged mode) 2012-11-26 14:20:13 +05:30
Kovid Goyal
a725a95c69 Mimetype icons for CBR and CBZ 2012-11-26 11:40:52 +05:30
Kovid Goyal
f7310d5b99 ... 2012-11-22 14:33:32 +05:30
Kovid Goyal
e29c081177 ... 2012-11-20 22:29:26 +05:30
Kovid Goyal
dd7330c515 E-book viewer: Fix blank pages after every page when viewing some comic files in paged mode 2012-11-12 10:02:44 +05:30
Kovid Goyal
f8af6aacde E-book viewer: Add the ability to rotate images to the popup image viewer. Fixes #1073513 ([enhancement] possibilty to rotate picture) 2012-11-01 12:06:54 +05:30
Kovid Goyal
699f7c46b5 Use font-weight:bold instead of font-weight:bolder for the <b> and <strong> tags as ADE cant handle bolder when embedded fonts are used 2012-10-25 12:08:25 +05:30
Kovid Goyal
b0100977bd Nicer font family chooser. Should also prevent the open config and crash bug on windows 2012-10-23 15:59:40 +05:30
Kovid Goyal
21f8c69496 Use mimetype for fonts from the epub 3 spec 2012-10-21 11:47:27 +05:30
Kovid Goyal
20051d4834 IGN:Tag release 2012-10-19 08:57:36 +05:30
Kovid Goyal
d24d34bef7 FB2 Input: Add support for th and strikethrought ags and also rowspan, colspan and align attributes. Fixes #1059351 (More spec compliant FB2 support) 2012-10-01 09:34:30 +05:30
Kovid Goyal
0720d2ed74 FB2 Input: Add support for <code> tag. Fixes #1058591 (Support FB2 code tag) 2012-09-30 09:02:40 +05:30
Kovid Goyal
b57eb672ec ... 2012-09-23 12:19:53 +05:30
Kovid Goyal
7fb9f21d0e ... 2012-09-20 21:38:19 +05:30
Kovid Goyal
8b845d4dca ... 2012-09-20 13:08:41 +05:30
NiLuJe
6e93e8fada Add an icon for AZW3, AZW2 & TOPAZ file formats.
Use the same mimetypes as Amazon (on the Kindle Touch) for a bunch of Amazon formats
Tweak the xdg mimetypes xml file to actually be taken into account (apparently really needs to be a .xml)
2012-09-14 18:04:44 +02:00
Kovid Goyal
b808b74add Ebook-viewer: When displaying amthematics, reflow equations that dont fit on a single line 2012-09-10 18:12:15 +05:30
Kovid Goyal
2bafa6a511 ... 2012-09-09 09:51:51 +05:30
Kovid Goyal
fbd7f787c2 E-book viewer: Make the detection of full screen layouts like covers a little more robust 2012-09-03 11:53:40 +05:30
Kovid Goyal
b16ca1e038 ... 2012-08-24 10:46:56 +05:30
Kovid Goyal
4131aa18da No longer explicitly set the color of links to blue. This was needed for old versions of ADE which did not display links correctly without it. Since newer versions of ADE no longer have this problem, remove the workaround. 2012-08-20 23:24:31 +05:30
Kovid Goyal
d4d2cd508c ... 2012-08-20 13:07:03 +05:30
Kovid Goyal
a5590458ac ... 2012-08-20 12:24:58 +05:30
Kovid Goyal
d08d355978 Update copy of liberation fonts bundled with calibre 2012-08-19 14:46:00 +05:30
Kovid Goyal
253a5ed165 MathJax: Re-render on viewer resize to workaround lack of dynamic reflow with SVG output 2012-08-19 11:23:05 +05:30