Commit Graph

34722 Commits

Author SHA1 Message Date
Charles Haley dd52fe86df Improved debugging facility for ranges 2022-05-13 19:23:38 +01:00
Charles Haley 5ea687fc06 Template language for i in range() with documentation. 2022-05-13 16:42:24 +01:00
Kovid Goyal 6bda2d2753 string changes 2022-05-13 07:18:10 +05:30
Kovid Goyal de64c1df0e string changes 2022-05-05 20:46:56 +05:30
Kovid Goyal ae1ce0c7b0 Amazon have announced that they will no longer accept MOBI in their email service from August and that they will accept EPUB so change the defaults accordingly 2022-05-04 20:54:18 +05:30
Kovid Goyal 1e91f0a659 pep8 2022-05-03 20:09:01 +05:30
David 26842bd407 Add support for templates for collections
A template can be used as well as the existing columns to create collections on Kobo ereaders. The template can return a list of collection names but uses ":@:" as the separator between the names.
2022-05-04 00:31:55 +10:00
Kovid Goyal 147bf011fe version 5.42.0 2022-05-03 12:03:19 +05:30
Kovid Goyal 457e06dbc2 ... 2022-05-03 11:49:03 +05:30
Kovid Goyal 48647c76dd When cloning containers dont keep the parsed representations
Saves RAM at the cost of having to re-parse if the container is re-used
in the future. Fixes #1971150 [Epub Editor memory leak/improper memory handling with HTML renames](https://bugs.launchpad.net/calibre/+bug/1971150)
2022-05-03 10:22:55 +05:30
Kovid Goyal 3db4c98315 Fix #1971015 [[Bug] Amazon metadata downloader give empty title if title start with "["](https://bugs.launchpad.net/calibre/+bug/1971015) 2022-04-30 13:14:12 +05:30
Kovid Goyal ab3a37cdf1 Fix #1970497 [Edit Metadata: 'Undo' glitch on identifier field](https://bugs.launchpad.net/calibre/+bug/1970497) 2022-04-27 07:55:04 +05:30
Kovid Goyal 065ba80ed9 ctrl+wheel to zoom should also work outside the image 2022-04-26 20:46:38 +05:30
Kovid Goyal 877a43d85e ... 2022-04-26 20:42:39 +05:30
Kovid Goyal 886ba135b5 more pyqt float->int goodness 2022-04-26 18:59:38 +05:30
Kovid Goyal 3a83e75401 Fix viewing LRF files not working. Fixes #1970391 [LRF books cannot be viewed](https://bugs.launchpad.net/calibre/+bug/1970391) 2022-04-26 17:15:12 +05:30
Charles Haley 15a4f7efd4 Two changes to the new marked stuff:
1) Don't accept blanks as a text label
2) Show only the first 40 labels in the "Show marked with text" submenu. Some plugins define thousands of labels.
2022-04-26 11:12:05 +01:00
Kovid Goyal bc91a6bed6 py2 compat in amazon metadata plugin for ancient calibre 2022-04-26 08:33:46 +05:30
Kovid Goyal d6fd1f8293 Also activate parent window when clicking in the category view 2022-04-25 19:41:46 +05:30
Kovid Goyal 6c8f462778 Also disable webengine sandbox in ensure_app() 2022-04-25 16:31:26 +05:30
Kovid Goyal e199e38476 pep8 2022-04-25 16:12:44 +05:30
Charles Haley 3f0c9125d6 New formatter function list_join() along with its documentation. 2022-04-25 11:13:52 +01:00
Kovid Goyal f4b034f60e Workaround for glibc > 2.33 breaking web engine 2022-04-25 15:30:10 +05:30
Kovid Goyal 93961cb8ab Fix #1970171 [Failed to open book](https://bugs.launchpad.net/calibre/+bug/1970171) 2022-04-25 14:41:05 +05:30
Kovid Goyal 41b99c241d Use ICU whole word searching for the viewer's whole word search function 2022-04-24 19:57:49 +05:30
Kovid Goyal 0662d5cc77 Old ICU 2022-04-24 19:52:35 +05:30
Kovid Goyal 09e06fbb82 Allow searching for whole words with the ICU find() methods 2022-04-24 19:07:50 +05:30
Charles Haley a64c1623ae Set & clear marks on the row label context menu 2022-04-24 11:46:17 +01:00
Kovid Goyal 25f2a5827a Ensure _locale is always set to a locale for which ICU has a collator 2022-04-24 14:18:26 +05:30
Kovid Goyal b6662c2650 ICU collators must not be used across threads 2022-04-24 14:08:46 +05:30
Kovid Goyal 559f787adf E-book viewer: Ignore accents when doing a search 2022-04-24 13:39:51 +05:30
Kovid Goyal 9814b8060e Clean up collator management 2022-04-24 12:44:50 +05:30
Kovid Goyal 7752b02a73 Fix #1970061 [[Enhancement] Popup not translatable in Transifex](https://bugs.launchpad.net/calibre/+bug/1970061) 2022-04-24 10:27:25 +05:30
Kovid Goyal c9a7b68532 Delay load category defs 2022-04-24 08:36:47 +05:30
Kovid Goyal d5b879cee6 Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1970045 [Enhancement Request: is_marked() text as tooltip](https://bugs.launchpad.net/calibre/+bug/1970045)
2022-04-24 08:13:44 +05:30
Charles Haley 61596cc05b Enhancement #1970045: is_marked() text as tooltip 2022-04-23 18:40:02 +01:00
Kovid Goyal 1c8baa87cf Abstract away match finding implementation 2022-04-23 15:29:06 +05:30
Kovid Goyal 3e06e32861 Fix #1970027 [[Enhancement] Remove border around Tag browser](https://bugs.launchpad.net/calibre/+bug/1970027) 2022-04-23 15:10:59 +05:30
Kovid Goyal 0d9c8bba54 Workaround for transifex keeling over with non-ASCII msgids
Fixes #1970024 [Typo in text string?](https://bugs.launchpad.net/calibre/+bug/1970024)
2022-04-23 14:49:58 +05:30
Kovid Goyal 8df81bb212 Implement find_all for ICU collators 2022-04-23 14:33:41 +05:30
Kovid Goyal 50f4b86f9e Wrap the api to control the max variable for collation 2022-04-23 13:25:22 +05:30
Kovid Goyal ef41db8cc7 Test for ignoring unicode invisible punctuation when searching 2022-04-23 13:09:14 +05:30
Kovid Goyal aad20ae447 Searching: Ignore punctuation when searching in the book list. So that, for example: Gravitys will match Gravity's. Fixes #1969926 [[Enhancement] Match both straight and curly apostrophe types when searching](https://bugs.launchpad.net/calibre/+bug/1969926) 2022-04-23 12:51:54 +05:30
Kovid Goyal 303006cb11 ICU collator for searching ignoring punctuation 2022-04-23 12:14:04 +05:30
Kovid Goyal 4412d3f615 wrap api for attribute control on ICU collators 2022-04-23 11:46:19 +05:30
Kovid Goyal b9a6df1ce8 Use the regex implementation as it is faster 2022-04-23 10:47:24 +05:30
Kovid Goyal b3d266d737 Add a regex based accent removal function 2022-04-23 10:45:39 +05:30
David 30f3b71da1 Reduce dbversion for Kobo Bookstats
Drop the database version for the new bookstats feature in the released firmware 4.32.19501 as a change was removed by Kobo at the last minute.
2022-04-23 15:04:26 +10:00
Kovid Goyal a1726128c6 Wrap the ICU transliterator API 2022-04-23 10:23:03 +05:30
Kovid Goyal 1efe99009f Mark constness 2022-04-23 10:11:57 +05:30