44494 Commits

Author SHA1 Message Date
Kovid Goyal
36a71e713f
Update test for new dictionary 2022-01-26 21:30:07 +05:30
Kovid Goyal
c342d3b378
Update bundled dictionaries
Taken from https://github.com/LibreOffice/dictionaries
2022-01-26 21:04:45 +05:30
Kovid Goyal
295c225722
Use a specific eng dictionary in the hunspell test 2022-01-26 16:11:04 +05:30
Kovid Goyal
e8d28233bb
Update Al Jazeera in English 2022-01-26 10:40:56 +05:30
Kovid Goyal
9cc2efc885
Update The Financial Express 2022-01-26 10:31:57 +05:30
Kovid Goyal
47c44c308e
Update The Straits Times 2022-01-26 10:28:15 +05:30
Kovid Goyal
800b191a63
Merge branch 'patch-2' of https://github.com/Carmina16/calibre 2022-01-26 08:47:15 +05:30
Carmina16
e60162503a
Unwrap line after more characters
Fix line unwrap for Polish. Add Cyrillic alphabet.
2022-01-26 03:35:47 +07:00
Kovid Goyal
a81e4bec5c
E-book viewer: Fix Ctrl+p shortcut for printing not working 2022-01-25 21:01:46 +05:30
Kovid Goyal
a59be7d4dc
More context menu icons 2022-01-25 20:24:00 +05:30
Kovid Goyal
960cf5e713
Some more context menu icons 2022-01-25 20:18:34 +05:30
Kovid Goyal
6dc13b86dc
More context menu icons 2022-01-25 19:55:33 +05:30
Kovid Goyal
51287dae54
Show an error when viewing a specific format and the file is missing. Fixes #1958882 [Format present in metadata, but missing file: clicking on format to open e-book reader does nothing](https://bugs.launchpad.net/calibre/+bug/1958882) 2022-01-24 21:51:47 +05:30
Kovid Goyal
a107534286
More email address validation 2022-01-24 08:08:33 +05:30
Kovid Goyal
9c2c036702
Revert "Remove unused code"
This reverts commit da339e639d3dfba5614e8470f28868df9db1215b.
Fixes #1958776
2022-01-24 08:02:50 +05:30
Kovid Goyal
6f58b77566
BibTeX catalogs: Support tags like custom columns. Fixes #1958773 [bibtex export ignores custom fields](https://bugs.launchpad.net/calibre/+bug/1958773) 2022-01-23 21:51:53 +05:30
Kovid Goyal
f32f8a393b
Merge branch 'patch-1' of https://github.com/felagund/calibre 2022-01-23 21:41:18 +05:30
Tomáš Hnyk
1c31f8010e
Fix 308 error that started appearing today
I tried to run the recipe today and I would get this error 

```
calibre, version 5.35.0 (linux, embedded-python: True)
Conversion error: Failed: Fetch news from Respekt Magazine – Print

Fetch news from Respekt Magazine – Print
Conversion options changed from defaults:
  verbose: 2
  output_profile: 'kindle'
Resolved conversion options
calibre version: 5.35.0
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0,
 'book_producer': None,
 'change_justification': 'original',
 'chapter': None,
 'chapter_mark': 'pagebreak',
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_compress': False,
 'dont_download_recipe': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'expand_css': False,
 'extra_css': None,
 'extract_to': None,
 'filter_css': None,
 'fix_indents': True,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x7f4f2bcecbb0>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0,
 'linearize_tables': False,
 'lrf': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'mobi_file_type': 'old',
 'mobi_ignore_margins': False,
 'mobi_keep_original_images': False,
 'mobi_toc_at_start': False,
 'no_chapters_in_toc': False,
 'no_inline_navbars': True,
 'no_inline_toc': False,
 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x7f4f2bcfc100>,
 'page_breaks_before': None,
 'personal_doc': '[PDOC]',
 'prefer_author_sort': False,
 'prefer_metadata_cover': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': None,
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': '',
 'search_replace': None,
 'series': None,
 'series_index': None,
 'share_not_sync': False,
 'smarten_punctuation': False,
 'sr1_replace': '',
 'sr1_search': '',
 'sr2_replace': '',
 'sr2_search': '',
 'sr3_replace': '',
 'sr3_search': '',
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'test': False,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'transform_css_rules': None,
 'transform_html_rules': None,
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
Failed to initialize plugin: '/home/drew/.config/calibre/plugins/DeDRM.zip'
InputFormatPlugin: Recipe Input running
Downloading recipe urn: builtin:respekt_magazine
Trying to get latest version of recipe: respekt_magazine
Using user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36
Traceback (most recent call last):
  File "runpy.py", line 194, in _run_module_as_main
  File "runpy.py", line 87, in _run_code
  File "site.py", line 45, in <module>
  File "site.py", line 41, in main
  File "calibre/utils/ipc/worker.py", line 215, in main
  File "calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_recipe
  File "calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
  File "calibre/ebooks/conversion/plumber.py", line 1108, in run
  File "calibre/customize/conversion.py", line 242, in __call__
  File "calibre/ebooks/conversion/plugins/recipe_input.py", line 137, in convert
  File "calibre/web/feeds/news.py", line 1056, in download
  File "calibre/web/feeds/news.py", line 1225, in build_index
  File "<string>", line 77, in parse_index
  File "calibre/web/feeds/news.py", line 706, in index_to_soup
  File "mechanize/_mechanize.py", line 241, in open_novisit
  File "mechanize/_mechanize.py", line 313, in _mech_open
mechanize._response.httperror_seek_wrapper: HTTP Error 308: Permanent Redirect
```

changind the urls to https instead of https fixes this.

Otherwise, it is more proper to use a dash and not a hyphen in a name.
2022-01-23 17:05:50 +01:00
Kovid Goyal
0d14705d6a
string changes 2022-01-23 12:43:08 +05:30
Kovid Goyal
78ad0ae6f1
Edit book: Fix renaming of classes that start/end with non word characters not working 2022-01-23 12:20:50 +05:30
Kovid Goyal
0172b61217
Edit book: Preview panel: Fix hyphenation at end of line being rendered as boxes on macOS. Fixes #1958730 [Ebook editor: Breaking long words at the ends of lines causing boxes to be rendered instead of hyphens on macOS](https://bugs.launchpad.net/calibre/+bug/1958730) 2022-01-23 11:44:37 +05:30
Kovid Goyal
ad12732edc
less confusing name for website_en 2022-01-21 15:33:20 +05:30
Kovid Goyal
20e76a13b9
... 2022-01-21 15:26:07 +05:30
Kovid Goyal
73a2648bfa
Unicode normalize string received from metadata download plugins 2022-01-21 15:24:22 +05:30
Kovid Goyal
38aca62463
Use sphinx extlinks for various website links 2022-01-21 10:54:42 +05:30
Kovid Goyal
e90b87cdfe
version 5.35.0 v5.35.0 2022-01-21 07:52:17 +05:30
Kovid Goyal
876b8bb127
Merge branch 'master' of https://github.com/davidfor/calibre 2022-01-21 07:28:23 +05:30
David
547868a4c8 Bump supported Kobo firmware version
No other changes are needed for supporting this version.
2022-01-21 10:25:16 +11:00
Kovid Goyal
d82e76b32d
pep8 2022-01-20 20:14:41 +05:30
Kovid Goyal
5d60be4033
Tag browser: Fix the find box not using all available width. Fixes #1958490 [Private bug](https://bugs.launchpad.net/calibre/+bug/1958490) 2022-01-20 14:38:26 +05:30
Kovid Goyal
73ffadea06
Fix a spurious error when cancelling addition of a tag to the insert tag menu 2022-01-20 14:17:42 +05:30
Kovid Goyal
e303e85d2a
... 2022-01-20 09:39:07 +05:30
Kovid Goyal
e14f96454f
Also sanitize email address used for testing 2022-01-20 09:32:20 +05:30
Kovid Goyal
da339e639d
Remove unused code 2022-01-20 08:50:04 +05:30
Kovid Goyal
f689517d1a
Fix #1954890 [[Feature Request] Content Server: Search results with number of items found](https://bugs.launchpad.net/calibre/+bug/1954890) 2022-01-19 11:04:16 +05:30
Kovid Goyal
23fe52192b
Fix #1957841 [[Enhancement] Use the same date format in context menu as in Book details panel/window](https://bugs.launchpad.net/calibre/+bug/1957841) 2022-01-18 11:15:40 +05:30
Kovid Goyal
0cf7af69ac
Comic conversion: Fix conversion of comic images that are stored as 8-bit grayscale images in JPEG format not working when converting to PDF. Fixes #1956932 [pdf convertion of 8 bit jpg](https://bugs.launchpad.net/calibre/+bug/1956932) 2022-01-17 21:24:27 +05:30
Kovid Goyal
5d15c9ded4
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-17 17:29:48 +05:30
Charles Haley
32b6f9943a 1) Performance improvements for icon etc rules.
2) Make comparisons of undefined floats and ints consistent with template language conditionals, where undefined is assumed to be zero.
2022-01-17 11:50:16 +00:00
Kovid Goyal
8423f761af
Hide date conditions when match type is set/unset 2022-01-17 13:02:11 +05:30
Kovid Goyal
7c59955b54
Add set/unset operators for date searches in the advanced search dialog 2022-01-17 12:16:08 +05:30
Kovid Goyal
575c46310a
DRYer 2022-01-17 12:09:16 +05:30
Kovid Goyal
d72a4a106f
LRF Input: Fix a regression in calibre 5 that broke parsing of some LRF files
Fixes #1958115 [Viewing or converting LRF fails with TypeError](https://bugs.launchpad.net/calibre/+bug/1958115)
2022-01-17 12:06:31 +05:30
Kovid Goyal
3488e9107e
Coloring/icon rules: Allow creating a rule for date columns that matches *today*
Fixes #1956006 [[Enhancement] Harmonise Date Conditions](https://bugs.launchpad.net/calibre/+bug/1956006)
2022-01-17 11:58:19 +05:30
Kovid Goyal
2b41671370
ODT metadata: Support reading tags from multiple <keyword> elements 2022-01-16 19:32:52 +05:30
Kovid Goyal
57d67d9deb
Use QStylePainter for drawing hover raised frames
This is needed for correct styling with Qt6 and is nicer code anyway
2022-01-16 05:14:55 +05:30
Kovid Goyal
b29a8f8afa
Update Foreign Affairs 2022-01-16 04:51:08 +05:30
Kovid Goyal
8760b3cf71
... 2022-01-16 04:33:31 +05:30
Kovid Goyal
8841a9201b
E-book viewer: Fix searching for text near the end of a chapter sometimes not working. Fixes #1958028 [ebook-viewer search claims text at end of chapter is "hidden"](https://bugs.launchpad.net/calibre/+bug/1958028) 2022-01-16 04:31:55 +05:30
Kovid Goyal
a75aea2346
More context menu icons 2022-01-15 13:28:04 +05:30