Kovid Goyal
ae4cd7c902
Avoiding round-tripping via mbcs on windows in strftime()
2018-02-14 03:14:50 +05:30
Kovid Goyal
1335ca8b54
Get rid of mixed tabs and spaces in winutil.c
2018-02-14 02:59:54 +05:30
Kovid Goyal
d2670e18e3
Fix errors when using strftime with unicode strings on non-utf-8 windows systems. Fixes #1749219 [conversion error - failure to fetch news from nyt]( https://bugs.launchpad.net/calibre/+bug/1749219 )
2018-02-14 02:35:47 +05:30
Kovid Goyal
f207feb95f
pep8
2018-02-14 02:26:03 +05:30
Kovid Goyal
aff999cd4b
Split book view: Fix vertical scroll position of the two views getting out of sync after doing some searches. Fixes #1748739 [split book list display error]( https://bugs.launchpad.net/calibre/+bug/1748739 )
2018-02-12 11:00:55 +05:30
Kovid Goyal
2bd105d8b9
Better pin view detection in delegates
2018-02-12 09:48:12 +05:30
Kovid Goyal
b2ab2bfd6a
Fix some edit widget appearing in the wrong place when editing in the right hand panel of the new split book list. Fixes #1748713 [Custom Column edit popup appears in wrong place with split book list]( https://bugs.launchpad.net/calibre/+bug/1748713 )
2018-02-11 17:09:07 +05:30
Kovid Goyal
5b7569e1db
Portable build: Fix cache directory not always being auto-created
...
Also rationalize _get_cache_dir() for all builds. Remove ancient fallback code
for people running from source without updated binaries. Fixes #1747887 [Cannot edit book](https://bugs.launchpad.net/calibre/+bug/1747887 )
2018-02-10 08:45:24 +05:30
przemo20
78ac342677
Update trim_image.py
...
Added a space before image dimensions. Currently there is no space: https://i.imgur.com/2bW41RX.png
2018-02-09 16:19:11 +01:00
Kovid Goyal
99c4647dd4
version 3.17.0
2018-02-09 08:52:47 +05:30
Kovid Goyal
20867c1687
Micro-optimization
2018-02-08 19:44:53 +05:30
Kovid Goyal
136e3fec18
EPUB3 Input: Fix HTML titlepages that are marked using the deprecated <guide> element not being recognized.
...
Complements the fix for #1746794
2018-02-07 12:35:06 +05:30
Kovid Goyal
7460aad117
Bulk metadata edit: Fix regression in 3.13 that made it impossible to use the Force numbering checkbox for custom series
2018-02-07 07:32:23 +05:30
Kovid Goyal
94de403265
Make mirroring a no-op when pin view is not visible
2018-02-02 13:24:39 +05:30
Kovid Goyal
fe0e9a18bb
EPUB3 Input: Fix cover image not being correctly detected in EPUB 3 files that use a deprecated <guide> element that incorrectly identifies the titlepage as the cover. Fixes #1746794 [EPUB -> MOBI conversion removes entire frontmatter, and also drops cover image]( https://bugs.launchpad.net/calibre/+bug/1746794 )
2018-02-02 08:43:49 +05:30
Kovid Goyal
6a9096d6d8
Finish up split view. Fixes #1729496 [Feature Request: Lock Column]( https://bugs.launchpad.net/calibre/+bug/1729496 )
2018-02-01 16:11:58 +05:30
Kovid Goyal
4e5b306547
When mirroring current index only mirror row, not column
2018-02-01 13:00:37 +05:30
Kovid Goyal
1c20f656d2
Implement header context menu for split view
2018-01-31 21:16:09 +05:30
Kovid Goyal
cd40155272
Wire upa few pin view signals
2018-01-31 21:16:09 +05:30
Kovid Goyal
baedee3d8c
Save and restore split view splitter state
2018-01-31 21:16:09 +05:30
Kovid Goyal
039bdb7c85
Save and restore split view state
2018-01-31 21:16:09 +05:30
Kovid Goyal
ca986e5976
Do not show the on device column in the split view
2018-01-31 21:16:09 +05:30
Kovid Goyal
8d35902d61
Mirror sort indicators to split view header
2018-01-31 21:16:09 +05:30
Kovid Goyal
7c3b58be70
Use same header view for both split tables
2018-01-31 21:16:08 +05:30
Kovid Goyal
6c3e68289b
Implement a separate context menu for the split book list
2018-01-31 21:16:08 +05:30
Kovid Goyal
c75ae1acb9
Dont show the split cmenu entry for device views
2018-01-31 21:16:08 +05:30
Kovid Goyal
3300ddec54
Make selection mirroring a little more intelligent
2018-01-31 21:16:08 +05:30
Kovid Goyal
a9acfd7965
Implement edit and view triggers in the split book list
2018-01-31 21:16:08 +05:30
Kovid Goyal
cd54251650
Sync selection between split book lists
2018-01-31 21:16:08 +05:30
Kovid Goyal
10b7774c96
Implement v-sync for pin view
...
Also allow split/unsplit of book list via header context menu
2018-01-31 21:16:08 +05:30
Kovid Goyal
7eef114a43
Start work on splitting the book list
...
Allows for pinned columns
2018-01-31 21:16:08 +05:30
Kovid Goyal
d3d5a566ad
Conversion: Fix valign attribute on <td> tags not being honored
2018-01-29 08:48:53 +05:30
Kovid Goyal
02848afe3c
Restore copying of HTML
2018-01-28 17:38:46 +05:30
Kovid Goyal
0a45fa19af
E-book viewer: Fix copy keyboard shortcut/context menu action not working on some windows systems
...
Now all copying happens via the current selection. This means that HTML
copying no longer works. But it is likely needed for systems with buggy
clipboard implementations. See #1477696 (Copy-Paste does not work)
2018-01-28 17:19:20 +05:30
Kovid Goyal
64cae0cef7
E-book viewer: Make the semi-transparent background for viewing metadata a little more opaque. Fixes #1745812 [Metadata difficult to read in Ebook Viewer]( https://bugs.launchpad.net/calibre/+bug/1745812 )
2018-01-28 14:28:12 +05:30
Kovid Goyal
c6705ef189
Unused imports
2018-01-28 10:42:09 +05:30
Kovid Goyal
a09a45732c
Read ipython user config
2018-01-28 10:34:38 +05:30
Kovid Goyal
39931615d1
Use tdir_in_cache() for the editor as well
2018-01-28 09:12:07 +05:30
Kovid Goyal
75dbc31e2b
E-book viewer: Use a temp dir in the cache
...
Try to combat the recent epidemic of bug reports caused by temp file
cleaners on windows. Hopefully by moving the temp files used by the
ebook iterator into the cache dir, we prevent the temp file cleaners
from deleting them.
2018-01-28 09:07:48 +05:30
Kovid Goyal
20b6ac0534
tdir_in_cache() should return an empty dir
2018-01-28 09:07:27 +05:30
Kovid Goyal
25d88c62c0
Remove duplicated code
2018-01-28 08:57:36 +05:30
Kovid Goyal
196cb751d3
Use a global lock to ensure there are no races in tdir_in_cache
2018-01-28 08:44:18 +05:30
Kovid Goyal
6f87c59b7b
Replace use of CreateFile with CreateFileW
2018-01-28 08:08:43 +05:30
Kovid Goyal
75e59cb3a8
Remove fallback for people running from source without up-to-date binaries
2018-01-28 08:01:40 +05:30
Kovid Goyal
117cd4ee13
Use an atomic open for tdir-lock on windows
2018-01-27 23:42:47 +05:30
Kovid Goyal
a24f108906
Make the test a little more robust
2018-01-27 20:42:47 +05:30
Kovid Goyal
cba932362f
...
2018-01-27 20:41:19 +05:30
Kovid Goyal
231f5423dd
Code to manage temp dirs inside the cache directory
...
The temp dirs are cleaned up on subsequent application starts even if
left behind by a previous crash. And they persist as long as the process
that created them runs.
2018-01-27 20:21:40 +05:30
Kovid Goyal
ab3bba7ffb
version 3.16.0
2018-01-26 09:27:26 +05:30
Kovid Goyal
139be2dd16
DOCX Output: Fix links without anchors in the input document not being converted correctly. Fixes #1741098 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1741098 )
2018-01-25 22:37:36 +05:30