33150 Commits

Author SHA1 Message Date
Kovid Goyal
0e11f80cf6 PyQt 5.7 compatibility fix 2016-08-23 07:36:14 +05:30
Kovid Goyal
343fa0148d DOCX Input: More fixes for right-to-left language support. Fixes #1569771 [right to left Arabic language tables](https://bugs.launchpad.net/calibre/+bug/1569771) 2016-08-22 20:43:59 +05:30
Kovid Goyal
1df8918fdd Finish up zone tap gestures 2016-08-22 15:01:04 +05:30
Kovid Goyal
5fc6b6db39 Tapping in the top quarter of the page now shows the chrome 2016-08-22 14:50:23 +05:30
Kovid Goyal
5eaccd6619 Momentum scrolling in flow mode 2016-08-22 14:09:15 +05:30
Kovid Goyal
6f93debe6e Handle swiping in flow mode 2016-08-22 10:02:29 +05:30
Kovid Goyal
725b0067ae Update Le Scienze
Fixes #1615376 [replace lescienze.recipe not working anymore](https://bugs.launchpad.net/calibre/+bug/1615376)
2016-08-21 19:15:08 +05:30
Kovid Goyal
fa1aad42c5 Allow remove_tags_before to be a list 2016-08-21 19:10:50 +05:30
Kovid Goyal
d3f36abfac DRYer 2016-08-21 11:20:26 +05:30
Kovid Goyal
c36c60b708 Fix #1615322 [Failure when cleaning build](https://bugs.launchpad.net/calibre/+bug/1615322) 2016-08-21 10:06:28 +05:30
Kovid Goyal
04e9737979 ... 2016-08-21 08:34:01 +05:30
Kovid Goyal
0f98eb7ac9 Swiping should scroll by screen not column 2016-08-20 12:33:31 +05:30
Kovid Goyal
d0aff1e53a Tap-hold now always simulates a mouse click 2016-08-20 11:11:56 +05:30
Kovid Goyal
67f0358296 Give gestures an id and clean up tap hold handling 2016-08-20 10:53:47 +05:30
Kovid Goyal
c7163db345 Detect a tap on a link and trigger the link 2016-08-20 10:09:41 +05:30
Kovid Goyal
7cb8a5f4d2 DOCX Input: Fix right-to-left text support only working for block level styles, not character level styles. 2016-08-19 23:52:28 +05:30
Kovid Goyal
fefb3ee882 E-book viewer: Fix duplicate names in hyphenation dictionary chooser. Fixes #1615040 [Greek modern language listed twice](https://bugs.launchpad.net/calibre/+bug/1615040) 2016-08-19 22:48:57 +05:30
Kovid Goyal
abe32ad8ca Implement swipe and hold gesture to turn pages rapidly 2016-08-19 12:11:52 +05:30
Kovid Goyal
a832c170fc Page turn gestures in paged mode 2016-08-19 09:27:38 +05:30
Kovid Goyal
7884ffb23e Add an entry for the Kindle Oasis to the Welcome Wizard
Fixes #1614114 [Kindle Oasis not a possible choice](https://bugs.launchpad.net/calibre/+bug/1614114)
2016-08-17 19:54:36 +05:30
Kovid Goyal
78c24ce6c5 Start work on gesture support for viewer 2016-08-17 13:38:16 +05:30
Kovid Goyal
b1bd22b20e Fix dupes being generated when uploading to fosshub 2016-08-17 13:23:15 +05:30
Kovid Goyal
00d2e7a03b ... 2016-08-17 10:14:57 +05:30
Kovid Goyal
8c1ef52e28 ... 2016-08-17 10:13:59 +05:30
Kovid Goyal
78c650cb0e ... 2016-08-17 10:11:29 +05:30
Kovid Goyal
d5d0b79af3 ... 2016-08-17 10:11:10 +05:30
Kovid Goyal
9d0607a896 ... 2016-08-17 10:05:16 +05:30
Kovid Goyal
1ead1415e3 New fosshub upload API 2016-08-17 10:00:55 +05:30
Kovid Goyal
4eb45e1816 Endpoint to print directly to server log 2016-08-15 16:15:55 +05:30
Kovid Goyal
0951d3228d Update New Yorker 2016-08-15 12:34:57 +05:30
Kovid Goyal
ccecdfb0d4 ... 2016-08-14 12:30:03 +05:30
Kovid Goyal
07c614f897 Fix a regression in the previous release that caused the completion popups for some custom column types int he book list to stop working. Fixes #1612640 [Editing user defined column directly in a table cell does not display a combo with existing values anymore](https://bugs.launchpad.net/calibre/+bug/1612640) 2016-08-12 20:15:33 +05:30
Kovid Goyal
101d22f0b4 Do not upload to fosshub since it is currently down 2016-08-12 09:37:04 +05:30
Kovid Goyal
14170fdcc4 version 2.64.0 v2.64.0 2016-08-12 08:22:57 +05:30
Kovid Goyal
a715d5f5ea Show the overlay when clicking on the top margin 2016-08-11 20:42:43 +05:30
Kovid Goyal
202528eda9 E-book viewer: Fix books that set side margins on body using percentages not working correctly. Fixes #1608458 [Private bug](https://bugs.launchpad.net/calibre/+bug/1608458) 2016-08-11 19:56:34 +05:30
Kovid Goyal
df1d52a7ef Fix positioning of completion popup above widgets 2016-08-11 18:19:58 +05:30
Kovid Goyal
c40995b2b6 Use the new search bar widget for the ToC search bar 2016-08-11 17:29:19 +05:30
Kovid Goyal
7852aa3eac Add history to the search bar widget 2016-08-11 10:14:18 +05:30
Kovid Goyal
4815820f9b Merge branch 'regexfn_result_dialog' of https://github.com/Mymei2/calibre 2016-08-11 09:08:14 +05:30
Mymei
2479e304e9 Configurable suppression of replace result dialog (see 1610658)
This is the second part of the proposal filed originally as bug #1609111.

The result dialog, shown after replacements, slows down book editing in some cases.
For example, when the user repeatedly applies his own regex-function to relatively small pre-marked text fragments.

User should have a choice to suppress the result dialog.

This implementation allows for the following switch inside the user replace function:
replace.suppress_result_dialog = True

This way it nicely fits to the first part (see #1609111) and it allows individual configuration from case to case.
Actually, it's not dependent on the other two switches ('call_after_last_match' and 'append_final_output_to_marked'),
so it can be used in combination with any of them or even individually.

This implementation also should not have any impact on other modes of work and it should not change the previous behavior.
It also should not break the backwards compatibility, I hope.
2016-08-10 19:29:29 +02:00
Kovid Goyal
729cdb6306 Make the icon size in the Preferences dialog depend on the UI font size 2016-08-10 15:59:48 +05:30
Kovid Goyal
69d311033e Use the correct technique for getting the current y offset for checking if text is in the header/footer 2016-08-10 15:44:31 +05:30
Kovid Goyal
b076795404 Fix dead links 2016-08-10 15:04:11 +05:30
Kovid Goyal
15cf137793 PDF Output: Fix a regression that caused the last page of a chapter to sometimes be dropped from the output 2016-08-10 13:07:02 +05:30
Kovid Goyal
c7c1b175f3 Update Private Eye 2016-08-09 07:30:19 +05:30
Kovid Goyal
0cb677fb90 Edit book: Function mode: Allow appending text to the end of the marked text when running function mode search/replace on marked text
Merge branch 'regexfn_return_value' of https://github.com/Mymei2/calibre
2016-08-08 10:03:11 +05:30
Kovid Goyal
a699cbc09a PDF Output: Add a new variable _TOP_LEVEL_SECTION_ for use in header/footer templates that resolves to the current top-most section in the Table of Contents 2016-08-08 09:52:46 +05:30
Mymei
27ecd03807 Append final user replace regex-function output to marked text (see #1609111)
Introduces a new flag "append_final_output_to_marked".
Depends also on existing flag "call_after_last_match".

Following two lines at the end of a user replace function will cause,
that the return value of the last additional call (after all replacements
are completed) will be appended to the marked text:
replace.call_after_last_match = True
replace.append_final_output_to_marked = True

TODO: Documentation update is required.
Part: Editing books
Chapter: Function Mode for Search & Replace in the Editor
Section: Having your function called an extra time after the last match is found
2016-08-07 10:30:34 +02:00
Kovid Goyal
324a5a2635 Do not show an error if the user tries to quit calibre while editing a cell in the book list. Instead, just silently abort the edit. See #1610539 (Data error when closing calibre) 2016-08-07 06:46:14 +05:30