Commit Graph

43451 Commits

Author SHA1 Message Date
Kovid Goyal d8595e5bf5 Fix ICU build on Windows 2021-06-16 17:02:07 +05:30
Kovid Goyal ae25a1f425 Also add test without diacritics removal 2021-06-16 16:16:03 +05:30
Kovid Goyal bbee5b0acb Implement diacritics removal in the new tokenizer 2021-06-16 14:54:15 +05:30
Kovid Goyal ab313c836f Implement the unicode61 tokenizer with ICU
Still have to implement removal of diacritics
2021-06-16 12:51:43 +05:30
Kovid Goyal c9c1029d02 Merge branch 'hindu-patch' of https://github.com/shivaprsd/calibre 2021-06-15 17:45:04 +05:30
Shiva Prasad b0d4c388d6 Recipe: make Hindu better resemble print edition
* Remove redundant date and timestamps cluttering every article
* Place intro immediately beneath the heading, as in print edition
|- duplicate intro is now removed using CSS
* Visual styling
2021-06-15 17:24:59 +05:30
Kovid Goyal adf810cae6 Parse tokenizer options 2021-06-15 13:12:24 +05:30
Kovid Goyal 79ea88ddb8 Basic test to tokenizer 2021-06-15 13:07:18 +05:30
Kovid Goyal c819fcb870 A simple ASCII tokenizer to start with 2021-06-15 11:44:31 +05:30
Kovid Goyal 268d1d991c Update People Daily 2021-06-15 08:13:16 +05:30
Kovid Goyal ec3744c661 Merge branch 'patch-1' of https://github.com/justinuang/calibre 2021-06-15 08:09:00 +05:30
Justin Uang 5c5ac6e2a5 Fix haodoo reader to properly pick encoding in python3
It was broken before because the comparison on line 94 would compare header.ident (a unicode string) to BPDB_IDENT (a byte string), which is not comparable in python3.
2021-06-14 21:21:33 -04:00
Kovid Goyal 0bf9cb12fe Write boilerplate for tokenizer to connect it to sqlite 2021-06-14 16:23:08 +05:30
Kovid Goyal 395a052ff8 Bump sqlite version 2021-06-14 10:42:35 +05:30
Kovid Goyal 6d845cfa37 Generate db of compile commands for use by tools when building 2021-06-14 09:02:55 +05:30
Kovid Goyal 0b38d385e2 Dont use designated initializers 2021-06-14 08:47:08 +05:30
Kovid Goyal a7da47b922 Possible fix for building sqlite_extension.cpp on windows 2021-06-14 08:34:50 +05:30
Kovid Goyal e4b13d4ccb Start work on ICU tokenizer for FTS 2021-06-14 08:23:10 +05:30
Kovid Goyal 4df402cacf Merge branch 'hindu-cover' of https://github.com/shivaprsd/calibre 2021-06-13 21:05:56 +05:30
Shiva Prasad 5df3b224a6 Recipe: add cover_url to The Hindu
Gets today's front page image displayed in Hindu ePaper website.

Also add some styles to the lead image and caption.
2021-06-13 20:56:18 +05:30
Kovid Goyal 7d3fc0caba Merge branch 'master' of https://github.com/cbhaley/calibre 2021-06-13 19:23:48 +05:30
Charles Haley 7b14dc8ba6 Bug: the formatter instantiated by the DB layer did not include the formatter function aliases. 2021-06-13 14:21:10 +01:00
Kovid Goyal 68bc3cb2cb Main book list: Scroll per pixel rather than per item by default. Can be returned to previous behavior via Preferences->Tweaks->Control behavior of book list.
Fixes #1450 (Use Pixel-Based Scrolling in the Main Library View)
2021-06-12 07:57:05 +05:30
Kovid Goyal 5279a3b5cd Check for deletion before emitting signal to avoid runtime error when aborting with interrupt 2021-06-11 20:14:52 +05:30
Kovid Goyal 78fae037c9 Conversion: Fix the smarten punctuation option not applying to inserted jacket page 2021-06-11 16:40:15 +05:30
Kovid Goyal bb926ac302 version 5.21.0 v5.21.0 2021-06-11 08:18:11 +05:30
Kovid Goyal bcd49cc67a Fix #1931631 [[Enhancement] Use clear or remove to be more consistent in the edit bulk metadata window](https://bugs.launchpad.net/calibre/+bug/1931631) 2021-06-11 08:13:22 +05:30
Kovid Goyal 484bda8d2c Fix #1931633 [[Enhancement] Move drop down menu in the edit bulk metadata window](https://bugs.launchpad.net/calibre/+bug/1931633) 2021-06-11 08:09:43 +05:30
Kovid Goyal 09b3c95ac9 Use larger images in Hindu
Also remove <source> tags since browsers tend to use them in preference
to <img>
2021-06-11 08:06:05 +05:30
Kovid Goyal e8cc06935d Merge branch 'hindu-recipe' of https://github.com/shivaprsd/calibre 2021-06-11 08:05:54 +05:30
Shiva Prasad 06325e93ba Fix & improve The Hindu recipe
Summary:
	* Fix: loading lead image of articles
	* Fix: avoid duplicating of subheading
	* Add: article summary to show up in TOC
2021-06-11 02:51:22 +05:30
Kovid Goyal 17e19bdff3 Fix #1930964 [[Enhancement - Server] Show a warning when not having applied changes after editing metadata](https://bugs.launchpad.net/calibre/+bug/1930964) 2021-06-09 20:26:13 +05:30
Kovid Goyal 67a9c175c7 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-06-09 20:21:43 +05:30
Charles Haley 63e6a76d46 Correction of a mistakenly changed tool tip. Apologies for the extra noise. 2021-06-09 15:49:01 +01:00
Kovid Goyal d64ba2eb20 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-06-09 19:46:14 +05:30
Kovid Goyal f010ebfc51 Merge branch 'master' of https://github.com/davidfor/calibre 2021-06-09 19:41:54 +05:30
David 4c5042826e Update firmware version for Kobo Elipsa 2021-06-09 23:42:43 +10:00
Charles Haley c122784bc0 Add a "copy category name to clipboard" button to the user category editor. 2021-06-09 14:19:48 +01:00
Charles Haley 3499f03ae5 Tag browser: only start a possible drag if the item is draggable. This prevents latching onto a different item before the mouse moves "far enough". 2021-06-09 14:18:55 +01:00
Kovid Goyal 767b9796e0 Content server: When editing metadata for fields that take multiple values, make it easier to remove individual values by simply tapping a button. Fixes #1930958 [[Enhancement - Server] Show tags as buttons instead of having them separated by commas](https://bugs.launchpad.net/calibre/+bug/1930958) 2021-06-09 11:43:58 +05:30
Kovid Goyal 5470e85c92 After a completion, hide candidates 2021-06-09 08:59:00 +05:30
Kovid Goyal dfe16969fc Make it clearer what the completions are for 2021-06-09 08:56:48 +05:30
Kovid Goyal 6556f9a7e9 Dont show completion items that are already input 2021-06-09 08:50:45 +05:30
Kovid Goyal d2d30ff8df Turn native auto complete off line edit with completion 2021-06-09 08:42:23 +05:30
Kovid Goyal 9d4e5c500f Fix #1930965 [[Enhancement - Server] Clicking Esc to go back to the book details page doesn't work after clicking on some metadata field in the Edit metadata page and going back to the Edit metadata page](https://bugs.launchpad.net/calibre/+bug/1930965) 2021-06-09 08:06:05 +05:30
Kovid Goyal cf2c096db0 Update Associated Press 2021-06-08 14:47:00 +05:30
Kovid Goyal 9040501684 HTML Input: Fix handling of @import rules in stylesheets nested more than one level deep. Fixes #1930922 [Incorrect interpretation of CSS @import](https://bugs.launchpad.net/calibre/+bug/1930922) 2021-06-08 12:12:02 +05:30
Kovid Goyal 0818d3a110 string changes 2021-06-07 20:18:50 +05:30
Kovid Goyal af1b7f408b pep8 2021-06-06 18:27:00 +05:30
Kovid Goyal b14df7259c Merge branch 'master' of https://github.com/davidfor/calibre 2021-06-06 18:25:55 +05:30