Kovid Goyal
982b3b20c9
Ensure headless QPA plugin uses fusion style
2020-02-05 18:45:12 +05:30
Kovid Goyal
652841175d
Ensure openUrl() and openDocument() are no-ops in the headless backend
2020-02-05 18:45:12 +05:30
Kovid Goyal
096fb0486f
Simplify ifdefs
2020-02-05 18:45:11 +05:30
Kovid Goyal
a539f24a0a
Catalog generation: Ignore invalid pubdates
2020-02-05 07:33:10 +05:30
Kovid Goyal
4a574c1a0f
Allow pressing F2 in the tags field of the edit metadata dialog to launch the tags editor
2020-02-04 18:39:31 +05:30
Kovid Goyal
871a3ec922
Better webengine render process crash handling
2020-02-04 11:26:29 +05:30
Kovid Goyal
83177dd270
Replace deprecated use of QTime
2020-02-04 08:50:03 +05:30
Kovid Goyal
05a12c9b44
Update coretext font database to use the one from Qt 5.14
2020-02-04 08:24:50 +05:30
Kovid Goyal
ebea435ad5
Viewer: When searching have single and double quotes match their curly variants as well. Fixes #1861715 [searching for contractions doesn't recognize typewriter apostrophes]( https://bugs.launchpad.net/calibre/+bug/1861715 )
2020-02-04 07:52:03 +05:30
Kovid Goyal
8c5810f8c3
Viewer: Stop autoscroll when changing page layout mode. Fixes #1861621 [Sudden position change when reading]( https://bugs.launchpad.net/calibre/+bug/1861621 )
2020-02-03 08:42:06 +05:30
Kovid Goyal
38950aa52c
...
2020-02-03 08:10:08 +05:30
Kovid Goyal
197a744aac
zipfile: Fix regression that broke handling of zipfiles with internal filenames not encoded in UTF-8. Fixes #1860889 [Decoding fails when opening a file with a specific file name in the viewer]( https://bugs.launchpad.net/calibre/+bug/1860889 )
2020-01-26 08:38:49 +05:30
Kovid Goyal
547fa085c0
Merge branch 'master' of https://github.com/jnozsc/calibre
2020-01-25 09:49:26 +05:30
Kovid Goyal
f7b9dfe7f2
Fix a regression that caused the edit metadata individually and convert
...
individually actions to use the bulk actions when multipe books are
selected.
2020-01-25 09:46:50 +05:30
jnozsc
ccaa7b13bc
fix amazon japan for referrer
2020-01-24 19:56:29 -08:00
Kovid Goyal
21dcb2b8b6
Check Book: Turn off unique headings CSS warning
2020-01-25 09:19:16 +05:30
Kovid Goyal
e0c8f20e99
version 4.9.1
2020-01-23 20:19:48 +05:30
Kovid Goyal
fa051555c3
Better parse failure error message
2020-01-23 20:16:23 +05:30
Kovid Goyal
66dde0b75c
Fix a regression that broke Check Book for some ebook files with inline style attributes
2020-01-23 20:14:39 +05:30
Kovid Goyal
3e238e8ba7
Comments editor: Fix a regression when switching between normal and source view
2020-01-23 16:12:02 +05:30
Kovid Goyal
7a59f3a024
...
2020-01-23 10:12:14 +05:30
Kovid Goyal
5c7a6d3d7d
Disbale bonjour test temporarily till I can figure out why it is failing on the build machine
2020-01-23 07:46:39 +05:30
Kovid Goyal
c32eb74658
...
2020-01-23 07:35:24 +05:30
Kovid Goyal
5b19e550e3
version 4.9.0
2020-01-23 07:18:35 +05:30
Kovid Goyal
78e873a13a
Fix template editor dialog colors in dark mode
2020-01-22 19:40:10 +05:30
Kovid Goyal
7cdd0c10ef
Handle search expressions with boundary conditions
2020-01-22 15:57:23 +05:30
Kovid Goyal
b0701cc4a6
...
2020-01-22 15:38:50 +05:30
Kovid Goyal
af0e127004
Clearer labelling
2020-01-22 11:01:19 +05:30
Kovid Goyal
327b6e071b
Fix #1860506 [[Enhancement] Move Change password button]( https://bugs.launchpad.net/calibre/+bug/1860506 )
2020-01-22 10:50:29 +05:30
Kovid Goyal
580a685633
Save bookmarks in config folder when edited so they are not lost on crash
2020-01-22 10:44:38 +05:30
Kovid Goyal
d671ccaa49
Edit book: Add an "Open with" action to the context menu of the files browser to easily open files with external programs. Fixes #1860462 [[Enhancement] External Editor Needed]( https://bugs.launchpad.net/calibre/+bug/1860462 )
2020-01-22 09:13:00 +05:30
Kovid Goyal
ffef6f303a
Same fix for sync book panel
2020-01-22 08:01:11 +05:30
Kovid Goyal
0ff6cf80d1
Fix reload/delete overlay content not vertically centered
2020-01-22 07:58:54 +05:30
Kovid Goyal
496e6d57d7
Add a toolbar action to toggle the search panel
2020-01-21 22:11:44 +05:30
Kovid Goyal
d54f29bc0e
Allow clearing search history via context menu
2020-01-21 21:48:01 +05:30
Kovid Goyal
b0377d7eb5
Also save search settings when settings changed
2020-01-21 21:45:34 +05:30
Kovid Goyal
88109ad655
Add a whole words mode to the viewer search
2020-01-21 21:37:58 +05:30
Kovid Goyal
999626f07a
Avoid traceback on shutdown
2020-01-21 21:31:55 +05:30
Kovid Goyal
ca1dec4904
Use padding instead of margins around search items
2020-01-21 21:31:06 +05:30
Kovid Goyal
63befea5e7
Selecting a remembered search should perform it
2020-01-21 21:25:55 +05:30
Kovid Goyal
5bd3a88bc3
Viewer: Much improved search functionality. Now all matches are displayed with a few surrounding words. Also supports using regular expressions to search. Fixes #1834247 [Enhanced Search [Enhancement]]( https://bugs.launchpad.net/calibre/+bug/1834247 )
2020-01-21 21:23:07 +05:30
Kovid Goyal
1a69773b74
Merge branch 'sip-loading-fix' of https://github.com/norbusan/calibre
2020-01-21 14:08:42 +05:30
Norbert Preining
80c90ada43
fix sip loading when not provided from Qt
2020-01-21 17:16:19 +09:00
Kovid Goyal
5149c43ce2
Wire up the next and previous search controls
2020-01-21 11:08:15 +05:30
Kovid Goyal
f3ab071c9b
Painting of search results
2020-01-21 10:14:12 +05:30
Kovid Goyal
9b696bf45b
...
2020-01-21 08:54:12 +05:30
Kovid Goyal
aac0e60fd4
Add a searching spinner
2020-01-21 08:45:34 +05:30
Kovid Goyal
2650949d26
Get searches working at python level
2020-01-20 22:20:44 +05:30
Kovid Goyal
61a90e70e7
Save mode and case sensitivity for searches
2020-01-20 18:34:57 +05:30
Kovid Goyal
0b4ae4a23c
Clean XML of invalid chars before parsing OPF
2020-01-20 15:42:46 +05:30
Kovid Goyal
ebbefb5de3
DRYer
2020-01-20 10:56:22 +05:30
Kovid Goyal
8c454346a2
More work on the search panel
2020-01-20 10:04:00 +05:30
Kovid Goyal
8db373d3b5
Start work on search panel
2020-01-18 19:17:21 +05:30
Kovid Goyal
90eb2c43f0
Track the current content file
2020-01-18 10:40:45 +05:30
Aimylios
5c795352c9
Allow excluding individual tests from test run
2020-01-17 21:54:25 +01:00
Kovid Goyal
8eb679af27
Fix #1089 (py3 fixes for bibtex file writer)
2020-01-17 07:06:32 +05:30
Kovid Goyal
9f7f74c952
Comments editor: Use <p> </p> for empty paragraphs instead
2020-01-16 16:07:48 +05:30
Kovid Goyal
3236f5da9e
Viewer toolbar: Add a button to easily change color schemes
...
Fixes #1859547 [[Enhancement] Toggle between color schemes](https://bugs.launchpad.net/calibre/+bug/1859547 )
2020-01-16 15:53:15 +05:30
Kovid Goyal
785c4ae4df
Nicer tab close icon
2020-01-16 11:19:25 +05:30
Kovid Goyal
d70363d408
Comments editor: Fix inserted blank paragraph being rendered as two lines.
...
Qt uses an awful hack of inserting style="-qt-paragraph-type:empty" for
blank paragraphs. Preserve this, so that blank paragraphs survive
round tripping as HTML, at the cost of uglier markup.
2020-01-16 09:56:35 +05:30
Kovid Goyal
9df4be4015
Also use paper sizes widget in PDF output settings
2020-01-16 09:31:30 +05:30
Kovid Goyal
aef66816a3
Make paper size combo box re-useable
2020-01-16 09:26:39 +05:30
Kovid Goyal
13a8f4f895
Fix #1859550 [[Enhancement] Show paper size width and height reference]( https://bugs.launchpad.net/calibre/+bug/1859550 )
2020-01-16 08:58:27 +05:30
Kovid Goyal
015d0b9c38
Fix #1859552 [[Enhancement] Remove unnecessary space at the bottom of Print to PDF screen]( https://bugs.launchpad.net/calibre/+bug/1859552 )
2020-01-16 08:34:28 +05:30
Kovid Goyal
626c949c30
String changes
2020-01-14 11:23:25 +05:30
Eli Schwartz
c891963f68
remove unused header code
...
In commit ecd57f3639 the function it goes
to was removed, now it just shows "unused variable" warnings.
2020-01-13 20:45:49 -05:00
Kovid Goyal
b6c95290cb
Show shortcuts in top level context menu
2020-01-13 07:22:54 +05:30
Kovid Goyal
3247c8b6ae
Make text in current tab italic throughout
2020-01-12 08:04:26 +05:30
Kovid Goyal
6b5b742cda
Fix #1859209 [[Enhancement] Remove separator and add shortcut to menu]( https://bugs.launchpad.net/calibre/+bug/1859209 )
2020-01-11 08:29:03 +05:30
Kovid Goyal
29a4596270
...
2020-01-09 22:06:32 +05:30
Kovid Goyal
9a43af3f78
PDF Output: Fix conversion of files containing <canvas> elements failing. Fixes #1859040 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1859040 )
2020-01-09 21:56:38 +05:30
Kovid Goyal
09eaa46360
Dark mode: Fix colors in remove all formats except dialog
2020-01-09 10:49:52 +05:30
Kovid Goyal
52dff55b41
Fix #1858962 [Preferred output format's tooltip should mention device plugins]( https://bugs.launchpad.net/calibre/+bug/1858962 )
2020-01-09 07:27:08 +05:30
Kovid Goyal
dffc39cf0c
Viewer: Fix failure to open some books that contain unparseable URLs. Fixes #1858836 [Viewer Crashes on "Invalid IPv6 URL"]( https://bugs.launchpad.net/calibre/+bug/1858836 )
2020-01-09 07:17:33 +05:30
Kovid Goyal
39a9c123a2
formatting
2020-01-08 22:33:00 +05:30
Kovid Goyal
6a5cc61adc
Possible fix for weird failure on CI
2020-01-08 22:32:26 +05:30
Kovid Goyal
5784d989f5
Use proper separators on windows
2020-01-08 22:11:06 +05:30
Kovid Goyal
f0e6ead4c7
Better workaround for XXE in lxml
...
Instead of disabling resolution of all entities, only disable resolution
of entities from files
2020-01-08 22:03:38 +05:30
Kovid Goyal
c842e34589
Move borwsers check to ruleset creation
2020-01-08 20:06:49 +05:30
Kovid Goyal
86d75fcc83
Make URLs in check book help text clickable
2020-01-08 19:04:10 +05:30
Kovid Goyal
850b2b8a9d
Edit book: Check book: Improved checking of CSS, with support for CSS 3
2020-01-08 18:53:57 +05:30
Kovid Goyal
7a16568127
Fix #1858779 [Fails to load KIPEO plugin]( https://bugs.launchpad.net/calibre/+bug/1858779 )
2020-01-08 16:23:17 +05:30
Kovid Goyal
7474547bd2
py3: Fix decoding of CFF font tables
2020-01-08 08:23:36 +05:30
Kovid Goyal
09aae8b299
String changes
2020-01-08 08:01:33 +05:30
Kovid Goyal
38d463220c
Merge branch 'py3' of https://github.com/eli-schwartz/calibre
2020-01-07 21:29:54 +05:30
Eli Schwartz
cc2eefbb17
py3: fix creation of empty record with .txt format
...
Metadata objects are unicode strings, but we tried to write the content
directly to a .txt file opened in binary mode.
2020-01-07 10:53:44 -05:00
Kovid Goyal
788278b97e
Fix #1858606 [Smooth scrolling settings doesn't fit on small screens]( https://bugs.launchpad.net/calibre/+bug/1858606 )
2020-01-07 15:02:26 +05:30
Kovid Goyal
464fafd047
String changes
2020-01-06 18:37:01 +05:30
Kovid Goyal
aa9bfb5c59
Viewer: Forgot to add shift+space as default shortcut for pageup
2020-01-06 18:13:07 +05:30
Kovid Goyal
1eba328f26
DRYer
2020-01-06 17:52:29 +05:30
Kovid Goyal
15a0112b47
Use an id selector
2020-01-06 17:23:39 +05:30
Kovid Goyal
f5abd0e252
...
2020-01-06 15:53:07 +05:30
Kovid Goyal
6f1e8c863f
Avoid unnecessary python object creation/destruction in count_words()
2020-01-06 15:47:39 +05:30
Kovid Goyal
3cc55b16fe
Change O(n^2) algorithm to O(n) when splitting using the ICU break iterator
2020-01-06 15:24:33 +05:30
Kovid Goyal
f3a877f404
Viewer: Fix data displayed in side margins getting moved out of position when mouse hovers over side margin. Fixes #1858263 [Top, middle and bottom margin data shown in the middle margin when mouse hovers]( https://bugs.launchpad.net/calibre/+bug/1858263 )
2020-01-06 14:36:13 +05:30
Kovid Goyal
b2c4abd9b0
Fix #1858284 [Automatic adding dialog has an unnecessary scrollbar]( https://bugs.launchpad.net/calibre/+bug/1858284 )
2020-01-06 14:16:45 +05:30
Kovid Goyal
9a452f67b8
Book details panel: When right clicking to save the cover, replace invalid characters in the suggested filename
2020-01-06 11:52:11 +05:30
Kovid Goyal
994fae5f94
Fix #1858198 [Error adding SSL certificate and private key files for the Content server]( https://bugs.launchpad.net/calibre/+bug/1858198 )
2020-01-04 09:40:04 +05:30
Kovid Goyal
513f9a3a30
Avoid stack overflow due to unbounded recursion in safe_walk
2020-01-04 09:03:50 +05:30
Kovid Goyal
e6657d999a
Viewer: Fix Ctrl+Shift shortcuts not being displayed properly on windows
2020-01-04 08:58:44 +05:30
Kovid Goyal
d327cedc82
Fix #1858180 [Error when enabling auto scroll on server in paged mode]( https://bugs.launchpad.net/calibre/+bug/1858180 )
2020-01-03 14:12:42 +05:30
Kovid Goyal
75bf8b69c3
version 4.8.0
2020-01-03 06:59:53 +05:30
Kovid Goyal
fc8659e07a
Viewer: Fix error when trying to change more than a single keyboard shortcut at once. Fixes #1858117 [ERROR: Unhandled error: Uncaught TypeError when setting custom keyboard shortcut in viewer]( https://bugs.launchpad.net/calibre/+bug/1858117 )
2020-01-02 22:13:36 +05:30
Kovid Goyal
dcc5757a24
Make font italic for current tab in editor
2020-01-02 00:12:54 +05:30
Kovid Goyal
ad4d1f882a
No need to subclass
2020-01-01 14:10:57 +05:30
Kovid Goyal
fbfebda03f
Dont use a recovering XML parser in a few places where we are expected to fail on invalid XML
2020-01-01 14:00:36 +05:30
Kovid Goyal
3eb28b395e
Ignore double removes
2020-01-01 13:25:03 +05:30
Kovid Goyal
6b348a0940
PDF Output: Fix extracting text from generated PDFs not working if more than 100 characters per font are used in the text. Fixes #1857886 [Convert epub to pdf, pdf appearance looks correct, but some of the copied text is incorrect]( https://bugs.launchpad.net/calibre/+bug/1857886 )
2020-01-01 12:45:20 +05:30
Kovid Goyal
3bcf55d571
macOS: Fix viewer controls not using system UI font
2020-01-01 10:45:37 +05:30
Kovid Goyal
b966cdcef7
Viewer: Allow right clicking in the lookup panel to zoom in/out. Fixes #1857989 [Increase font size of "Lookup" pop-up [enhancement]]( https://bugs.launchpad.net/calibre/+bug/1857989 )
2020-01-01 10:08:50 +05:30
Kovid Goyal
3630ae9d8f
...
2019-12-31 13:17:25 +05:30
Kovid Goyal
330d5d1b42
...
2019-12-31 08:43:25 +05:30
Kovid Goyal
d50b849e1d
Viewer: Allow showing data in left and right margins in addition to headers/footers. Fixes #1855121 [Feature Request: Add Entries to Side Margins]( https://bugs.launchpad.net/calibre/+bug/1855121 )
2019-12-31 08:38:37 +05:30
Kovid Goyal
bf83df219c
Fix #1857923 [[Enhancement] Remeber last paths in automatic adding]( https://bugs.launchpad.net/calibre/+bug/1857923 )
2019-12-31 08:08:02 +05:30
Kovid Goyal
f24fbd5312
Add ctrl+, and meta+, and meta+esc to show preferences
2019-12-30 15:33:13 +05:30
Kovid Goyal
85486ea260
Cleanup
2019-12-30 14:58:35 +05:30
Kovid Goyal
018b685000
DRYer
2019-12-30 13:05:55 +05:30
Kovid Goyal
3b45583ddb
UI for showing data in side margins
2019-12-30 11:24:15 +05:30
Kovid Goyal
d768e69e2a
Viewer: Override border colors as well when overriding book colors
2019-12-30 11:02:03 +05:30
Kovid Goyal
971df45055
Viewer: Allow setting colors for the margins when creating new color schemes in Preferences->Colors
2019-12-30 10:50:25 +05:30
Kovid Goyal
007823983b
More appropriate function name
2019-12-30 10:47:04 +05:30
Kovid Goyal
3305fe4a14
Fix set_radio_group_value and make it re-useable
2019-12-30 10:43:23 +05:30
Kovid Goyal
9b982d3f18
Make blockquote detection a bit more fine-grained
...
See #1857852 (Comment editor converting p's to blockquotes)
2019-12-30 08:41:44 +05:30
Kovid Goyal
e4b00a3573
Viewer: Ctrl+esc to show preferences
2019-12-30 08:27:45 +05:30
Kovid Goyal
746381d179
A few more etree.fromstring
2019-12-29 22:02:16 +05:30
Kovid Goyal
3932fb8b5a
Viewer: Fix images not being rendered at certain sizes when they are the only content on the page in paged mode with single page per screen. Fixes #1857803 [Viewer doesn't show some images]( https://bugs.launchpad.net/calibre/+bug/1857803 )
2019-12-29 21:37:16 +05:30
Kovid Goyal
034d561be7
Forgot to add int version of setDisplaySize
2019-12-29 20:42:09 +05:30
Kovid Goyal
fd8ee8bff0
String changes
2019-12-29 20:13:12 +05:30
Kovid Goyal
127fc7cffa
Viewer: Fix svg links not working. Fixes #1857812 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1857812 )
2019-12-29 20:07:07 +05:30
Kovid Goyal
e5d6a6ef9f
Use a per-thread XML parser instance
2019-12-29 18:24:56 +05:30
Kovid Goyal
d102aca175
Dont resolve entities in the RECOVER_PARSER
2019-12-29 18:17:20 +05:30
Kovid Goyal
631f266270
...
2019-12-29 18:12:58 +05:30
Kovid Goyal
68febe94ca
Do not resolve entities when parsing XML
...
Resolving entities is dangerous since lxml will actually
read file:// URLs in entity definitions. Fixes #1857800 [Private bug](https://bugs.launchpad.net/calibre/+bug/1857800 )
2019-12-29 18:01:43 +05:30
Kovid Goyal
589079c6aa
UI to set margin colors in viewer preferences
2019-12-29 18:01:31 +05:30
Kovid Goyal
4e776ca18b
macOS: Fix regression in previous release that caused link color to be light blue even when not using dark color themes
2019-12-29 10:09:52 +05:30
Kovid Goyal
834f08747a
Fix #1857770 [Clicking Show more books opens last book]( https://bugs.launchpad.net/calibre/+bug/1857770 )
2019-12-29 09:43:48 +05:30
Kovid Goyal
4c1032ba5c
A toolbar button for auto-scrolling
2019-12-28 21:14:38 +05:30
Kovid Goyal
38736d9412
Add an auto-scroll button to the viewer controls
2019-12-28 20:49:37 +05:30
Kovid Goyal
d94c2f21e7
Case independent
2019-12-28 18:02:18 +05:30
Kovid Goyal
7c143c7207
Fix auto-scroll across file boundaries
2019-12-28 14:31:43 +05:30
Kovid Goyal
9be75841ba
Show an error message when trying to use auto scrolling in paged mode
2019-12-28 14:22:13 +05:30
Kovid Goyal
fc5f471682
Viewer: Implement auto-scroll in flow mode. Can be toggled by pressing Ctrl+Spacebar. Its speed can be controlled in Viewer preferences under scrolling behavior.
...
Viewer: Allow configuring the speed with which the viewer scolls wheh
pressing the down key in flow mode (Viewer preferences->Scrolling behavior)
Merge branch 'scrolling' of https://github.com/mgziminsky/calibre
2019-12-28 14:13:47 +05:30
Kovid Goyal
4c2d255d86
RTF Output: Fix a regression that slowed down conversion. Fixes #1857732 [RTF Conversion Failure]( https://bugs.launchpad.net/calibre/+bug/1857732 )
2019-12-28 12:36:59 +05:30
Kovid Goyal
c4afe06792
Release the GIL while drawing the snake spinner
2019-12-28 11:02:18 +05:30
Kovid Goyal
60b9cd1d8d
Use native code to draw wait spinner
2019-12-28 10:58:39 +05:30
Kovid Goyal
e228e601d5
String changes
2019-12-27 21:48:38 +05:30
Kovid Goyal
1e5657172f
...
2019-12-27 21:42:17 +05:30
Kovid Goyal
8c53305a4c
Server viewer: Make exit fullscreen action available in viewer controls. Fixes #1857677 [Add Exit full screen option in Content server controls]( https://bugs.launchpad.net/calibre/+bug/1857677 )
2019-12-27 15:21:32 +05:30
Kovid Goyal
1044fb014c
Fix typo causing a harmless error message when downloading covers and only a single cover is found
2019-12-27 14:26:28 +05:30
Kovid Goyal
a158386e56
String changes
2019-12-27 14:07:54 +05:30
Kovid Goyal
e271b4564a
version 4.7.0
2019-12-27 09:31:11 +05:30
Kovid Goyal
02343fd965
Possible fix for offscreen dialogs on windows
...
See https://bugreports.qt.io/browse/QTBUG-77385
2019-12-27 09:21:25 +05:30
Michael Ziminsky (Z)
0a9e52d212
Additional scroll options...
...
Option for whether or not to load next file after reaching the start/end when using key based scrolling
Configurable delay before loading the next file after reaching the end with auto-scroll
2019-12-26 12:28:42 -07:00
Michael Ziminsky (Z)
568d32ec16
Fix goto start/end of file in flow mode
2019-12-26 11:40:22 -07:00
Kovid Goyal
ef3f0a8929
pep8
2019-12-26 21:56:11 +05:30
Kovid Goyal
eb10773b6f
py3: Fix calls to supportedImageFormats()
2019-12-26 18:08:16 +05:30
Kovid Goyal
e721f8aa3e
String changes
2019-12-26 08:52:53 +05:30
Michael Ziminsky (Z)
b70ec30869
More robust line_height computation and settings init
2019-12-25 11:04:59 -07:00
Kovid Goyal
aca252eacf
String changes
2019-12-25 08:20:37 +05:30
Michael Ziminsky (Z)
1ecf881cb4
Add settings elements to change scroll speeds
2019-12-24 10:50:41 -07:00
Michael Ziminsky (Z)
e028bbb3f6
Add auto-scroll with keyboard shortcut
2019-12-24 10:20:39 -07:00
Michael Ziminsky (Z)
0229c684f3
Make smooth scroll speed configurable
...
Includes keyboard shortcuts, will add menu options next
2019-12-24 10:20:39 -07:00
Michael Ziminsky (Z)
208734f47b
Sort default settings and larger handler definitions
...
Use session defaults in reader settings to reduce code duplication
2019-12-24 10:19:00 -07:00
Michael Ziminsky (Z)
94ac5ef102
Rework flow mode scrolling to be smoother and deterministic
...
This is the first step towards built-in autoscroll and configurable scroll speed. The old impl is jumpy and inconsistent, ie: scrolling up N times then down N times may not result in the same start and end positions.
2019-12-24 10:17:54 -07:00
Michael Ziminsky (Z)
281592bdaa
Fix what I assume is a copy/paste oversight
2019-12-24 10:17:54 -07:00
Kovid Goyal
b13f5d6a0c
Viewer: Allow modifying the current selection using Ctrl+Shift+arrow. Fixes #1855942 [[Enhancements] Comments and select text with keyboard]( https://bugs.launchpad.net/calibre/+bug/1855942 )
2019-12-24 21:21:15 +05:30
Kovid Goyal
431d55dbca
Book details: Add an option in Preferences->Look & feel->Book details to show a heading for the comments in the book details panel
...
See #1855942 ([Enhancements] Comments and select text with keyboard)
2019-12-24 20:24:23 +05:30
Kovid Goyal
fb7154b67c
Fix #1857415 [Move clear button inside text field]( https://bugs.launchpad.net/calibre/+bug/1857415 )
2019-12-24 14:02:44 +05:30
Kovid Goyal
89ee458377
PDF Output: Ignore upto 8 byte glyph data size mismatches when merging identical glyphs. Fixes #1857268 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1857268 )
2019-12-24 09:34:21 +05:30
Kovid Goyal
7366d9f7d4
Add gui_name to some PocketBook drivers
2019-12-24 09:02:41 +05:30
Kovid Goyal
cab4797fbf
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fix #1857312 [[Enhancement] Changes to the User categories editor and Category editor](https://bugs.launchpad.net/calibre/+bug/1857312 )
2019-12-23 21:43:16 +05:30
Charles Haley
8e3d3512e7
Enhancement #1857312 : Please make the boxes in User categories editor the same size. Move the buttons cancel and OK to the right
2019-12-23 14:59:35 +00:00
Kovid Goyal
9cc7033fc1
Fix #1857261 [Make it possible to clear search in the Category editor]( https://bugs.launchpad.net/calibre/+bug/1857261 )
2019-12-23 09:43:45 +05:30
Kovid Goyal
5dfc58daff
Viewer toolbar: Add actions for next and previous section. They are not added to the toolbar by default, customize it to add them.
2019-12-23 09:29:11 +05:30
Kovid Goyal
6b0668960b
String changes
2019-12-23 09:23:06 +05:30
Kovid Goyal
d61038d0d1
Fix #1857263 [[Enhancement] Choose last used SSL keys and certicate files]( https://bugs.launchpad.net/calibre/+bug/1857263 )
2019-12-23 09:18:51 +05:30
Tomasz Długosz
62c1d14c63
virtualo store: update
2019-12-23 00:54:29 +01:00
Tomasz Długosz
c7f2a7a155
legimi store: update plugin
2019-12-22 22:35:31 +01:00
Kovid Goyal
140bd0166f
Viewer: Right clicking in controls should not close preferences
2019-12-22 15:24:20 +05:30
Tomasz Długosz
b1a0b4e815
empik store: update
2019-12-22 00:36:37 +01:00
Tomasz Długosz
28eedbe8a6
swiatebookow store: update
2019-12-22 00:36:32 +01:00
Kovid Goyal
4ff60cba2f
py3 compat: Ensure exception is last line in pipe worker tracebacks on windows
2019-12-21 11:55:12 +05:30
Kovid Goyal
540edf6b05
DOCX Input: Fix numbering styles that inherit their id from parent styles notbeing correctly applied
2019-12-20 14:39:42 +05:30
Kovid Goyal
53ec8c5b8e
Micro-optimization
2019-12-20 11:18:05 +05:30
Kovid Goyal
13df7004df
String changes
2019-12-20 07:53:42 +05:30
Kovid Goyal
1bc5389576
Edit Book: Spell Check: Fix words surrounded by narrow non-breaking spaces being incorrectly detected as mis-spelled
2019-12-19 23:10:52 +05:30
Kovid Goyal
511d3c6ba4
Better fix for ignoring soft-hyphens when checking spelling live
2019-12-19 23:01:05 +05:30
Kovid Goyal
ae962ae3b1
Remove unused code
2019-12-19 22:50:55 +05:30
Kovid Goyal
a0420c9820
...
2019-12-19 18:31:44 +05:30
Kovid Goyal
8ce99d51c7
Another py3 compat fix
2019-12-19 15:14:31 +05:30
Kovid Goyal
47b3638371
macOS: Fix drag and drop to re-arrange items in the viewer toolbar not working
2019-12-19 11:19:21 +05:30
Kovid Goyal
89b0adfb43
Fix deprecation warning
2019-12-18 16:55:09 +05:30
Kovid Goyal
78cb1b9c47
Fix #1856232 [[Enhancement] Remove lines and add border to the Review downloaded metadata window]( https://bugs.launchpad.net/calibre/+bug/1856232 )
2019-12-18 16:50:33 +05:30
Kovid Goyal
783e1875d3
Viewer: Add an option to keep the toolbar visible in full screen mode
2019-12-18 16:43:48 +05:30
Kovid Goyal
27e2b265e4
ToC Editor: Fix generate from links not working correctly when links have no fragments. Fixes #1856395 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1856395 )
2019-12-18 16:14:28 +05:30
Kovid Goyal
3484c9bddf
Fix #1856741 [[Enhancement] Group builtin recipes by language and make it searchable]( https://bugs.launchpad.net/calibre/+bug/1856741 )
2019-12-18 14:16:43 +05:30
Kovid Goyal
4706561f57
PDF Output: Dont dedup images that cannot be uncompressed
...
Fixes #1856564 [pdf conversion error](https://bugs.launchpad.net/calibre/+bug/1856564 )
2019-12-18 10:49:05 +05:30
Kovid Goyal
5ad63e6d9a
Edit book: Spell check: Ignore soft hyphens in words
2019-12-18 10:26:38 +05:30
Kovid Goyal
ab81c2f309
Better error message when trying to unzip file with reserved filenames on windows
2019-12-18 08:49:23 +05:30
Eli Schwartz
0d7ae5b1b9
Don't pass the "format" argument of struct.pack as a bytestring.
...
It's the format argument, not actual data, and it's perfectly happy to
be a plain str. But using a b'' string in python3 means we cannot
interpolate an int inside, so we get the error message:
>>> serialize_binary('foo', True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/eschwartz/git/calibre/src/calibre/gui2/win_file_dialogs.py", line 61, in serialize_binary
return struct.pack(b'=B%ssB' % len(key), len(key), key, int(val))
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'int'
2019-12-17 20:09:46 -05:00