Commit Graph

43154 Commits

Author SHA1 Message Date
Kovid Goyal 1bb5f088f9 Merge branch 'pocketbook_profiles' of https://github.com/wold5/calibre 2021-04-24 19:21:27 +05:30
William Ouwehand f801a57c11 Added output profiles for recent PocketBooks (Lux, HD, Inkpad 3/X) 2021-04-24 10:44:14 +02:00
Kovid Goyal 97041abaa4 Ignore failures to load cached metadata plugins 2021-04-24 12:04:33 +05:30
Kovid Goyal 7f35f289ce string changes 2021-04-24 09:25:57 +05:30
Kovid Goyal b24589ad57 Update Krebs On Security 2021-04-24 09:05:06 +05:30
Kovid Goyal b6dcf70103 Allow the textarea used to edit notes for highlights to be resized manually 2021-04-24 08:14:44 +05:30
Kovid Goyal c5fbd12b64 Fix #1925961 [Scrolling within annotation window doesn't work properly](https://bugs.launchpad.net/calibre/+bug/1925961) 2021-04-24 08:10:56 +05:30
Kovid Goyal b8d8cf27e2 Fix building on Arch
Apparently libraqm is not actually an optional dependency of
python-pillow
2021-04-24 07:50:35 +05:30
Kovid Goyal 697755cc37 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-04-24 07:34:11 +05:30
Charles Haley 76dde80604 Enable the character() function in the template debugger 2021-04-23 21:57:39 +01:00
Kovid Goyal 2a6a773f8a E-book viewer: Fix read aloud word tracking in flow mode not very reliable 2021-04-23 21:45:39 +05:30
Kovid Goyal 1aeef04ab3 E-book viewer: Fix navigation shortcuts not working in Read aloud mode 2021-04-23 21:32:32 +05:30
Kovid Goyal 59da705c96 ... 2021-04-23 13:25:24 +05:30
Kovid Goyal e36971f840 Avoid needing an extra array for RAII 2021-04-23 13:21:48 +05:30
Kovid Goyal ddc405a337 Simplify bulk_get_filesystem
Only release python GIL while waiting for messages
2021-04-23 10:41:00 +05:30
Kovid Goyal 93ee37c872 Cleanup single_get_filesystem() 2021-04-23 10:31:07 +05:30
Kovid Goyal ffce4908ef ... 2021-04-23 10:13:29 +05:30
Kovid Goyal b69f48cc73 Use RAII for delete and create_folder 2021-04-23 10:08:32 +05:30
Kovid Goyal 481474aae2 Use RAII for get/put file operations 2021-04-23 09:34:19 +05:30
Kovid Goyal c9227ccd69 Use RAII for create_object_properties() 2021-04-22 22:11:01 +05:30
Kovid Goyal 7005d6ecd0 Use RAII for PROPVARIANT 2021-04-22 22:01:26 +05:30
Kovid Goyal ad3f147c56 DRYer 2021-04-22 21:30:17 +05:30
Kovid Goyal 51d37960b1 Make handle initialization explicit 2021-04-22 21:25:51 +05:30
Kovid Goyal d152d5d62d Use RAII to read the filesystem 2021-04-22 21:07:33 +05:30
Kovid Goyal 5d9e2296f3 Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1925378 [Error when trying to edit Undefined Date](https://bugs.launchpad.net/calibre/+bug/1925378)
2021-04-22 07:54:48 +05:30
Charles Haley 8a02c33eb6 Bug #1925378: Error when trying to edit Undefined Date 2021-04-21 19:22:18 +01:00
Kovid Goyal 4796b030db Merge branch 'master' of https://github.com/cbhaley/calibre 2021-04-21 21:18:30 +05:30
Charles Haley 7d3c0b5b05 More template stuff:
- Replace the newline() function with the character('name') function
- Document the new function
- In the template editor/debugger, display special characters like newline as escaped characters
2021-04-21 16:44:16 +01:00
Kovid Goyal dc157a4e6b Merge branch 'master' of https://github.com/cbhaley/calibre 2021-04-21 18:48:39 +05:30
Charles Haley cc022c6eb9 Formatter changes:
1) Fix a regression that broke specifying a separator for a 'for' statement
2) When parsing, use a table lookup instead of a series of ifs
3) Add a function 'newline()' that returns a newline. Intended to be used with strcat().
4) Better comments
2021-04-21 14:11:07 +01:00
Kovid Goyal 37a13064eb ... 2021-04-21 14:09:45 +05:30
Kovid Goyal 76d6ce3fd2 Start adding RAII to content_enumeration.cpp 2021-04-21 14:00:07 +05:30
Kovid Goyal b4a1b26145 Forgot to migrate winsapi as well 2021-04-21 12:32:24 +05:30
Kovid Goyal 741abb24d7 ... 2021-04-21 12:19:32 +05:30
Kovid Goyal 272ca315ea On second thoughts overload & is too magical 2021-04-21 11:54:23 +05:30
Kovid Goyal 55f52e0e09 Use RAII in device.cpp 2021-04-21 11:17:45 +05:30
Kovid Goyal 2324812b13 Mark raii class as noexcept 2021-04-21 11:09:09 +05:30
Kovid Goyal 30a37bf583 Fix parseargs converters to wchar 2021-04-21 11:02:31 +05:30
Kovid Goyal 91b7c428d3 Use RAII for device_information 2021-04-21 10:54:27 +05:30
Kovid Goyal 902f25985b DRYer 2021-04-21 10:44:29 +05:30
Kovid Goyal 10e5697740 Simplify code 2021-04-21 09:52:15 +05:30
Kovid Goyal 2452fbc928 Use RAII for get_device_information
Also the function to set an error from an hresult must return NULL
2021-04-21 09:48:22 +05:30
Kovid Goyal 13d7f3e5d9 Use & instead of address() 2021-04-21 08:30:31 +05:30
Kovid Goyal a5de2b33c0 Make the RAII constructor explicit 2021-04-21 08:28:07 +05:30
Kovid Goyal 25ae5a1284 DRYer 2021-04-21 07:56:16 +05:30
Kovid Goyal e1f1572377 Default to running test build during extdev 2021-04-21 07:55:42 +05:30
Kovid Goyal d7150a4b86 Use RAII for get_storage_info() 2021-04-20 22:37:43 +05:30
Kovid Goyal 014f7fe82a Use a smart pointer for portable device manager 2021-04-20 20:30:07 +05:30
Kovid Goyal e1a133c990 Use smart pointers for the device object 2021-04-20 20:03:01 +05:30
Kovid Goyal 4d575db0a4 Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1925136 [Rules editors: Moving multiple rules deselects all but one](https://bugs.launchpad.net/calibre/+bug/1925136)
2021-04-20 18:31:37 +05:30