Commit Graph

43122 Commits

Author SHA1 Message Date
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
Charles Haley 1ff211dc3d Bug #1925136: Rules editors: Moving multiple rules deselects all but one 2021-04-20 12:37:48 +01:00
Kovid Goyal 06d82ad1c3 Use CComPtr for client information 2021-04-20 14:49:23 +05:30
Kovid Goyal 96af51a318 Start using RAII in WPD driver 2021-04-20 14:29:51 +05:30
Kovid Goyal 1516d709fb Clean up wpd utils 2021-04-20 14:10:40 +05:30
Kovid Goyal 7f4685544c Windows MTP driver: Set modified and created times when putting files/folders on device. Also read modified time correctly. 2021-04-20 13:48:50 +05:30
Kovid Goyal 1455f4dda1 Indicate when running in portable mode in the status bar. Fixes #1925108 [list calibre version in bottom left hand corner by version number](https://bugs.launchpad.net/calibre/+bug/1925108) 2021-04-20 11:57:33 +05:30
Kovid Goyal 09470577fe Windows: E-book viewer: Fix switching away from viewer while in fullscreen and switching back causing some corruption until the page is scrolled. Fixes #1918591 [[Viewer] Using Alt + Tab to switch programs in Windows when using the viewer in full screen, the text is adjusted as it was not in full screen](https://bugs.launchpad.net/calibre/+bug/1918591) 2021-04-20 11:50:17 +05:30
Kovid Goyal 1857483eb0 Start code review of WPD driver 2021-04-20 11:01:22 +05:30
Kovid Goyal 6c0653a9d1 pep8 v5.16.1 2021-04-19 08:36:34 +05:30
Kovid Goyal c08b0d3ea0 version 5.16.1 2021-04-19 08:35:02 +05:30
Kovid Goyal 4fe2fdc5c1 Use the platform native fullscreen key for the standalone cover browser 2021-04-19 08:21:20 +05:30
Kovid Goyal 961607c554 Micro optimization 2021-04-19 08:05:00 +05:30
Kovid Goyal ef61093181 Fix #1924875 [Clicking X doesn't start auto scroll when Cover browser is shown in separate window](https://bugs.launchpad.net/calibre/+bug/1924875) 2021-04-18 22:15:41 +05:30
Kovid Goyal 0b94f39d9a E-book viewer: Fix a regression in 5.15 that caused the viewer to not respect page-break properties 2021-04-18 22:07:25 +05:30
Kovid Goyal 36511cb505 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-04-18 21:13:37 +05:30
Charles Haley 2da2b1400e Add tweak to set the tab stop width in the template editor. 2021-04-18 15:53:39 +01:00
Charles Haley 6e3595a680 Fix regression that broke using stored templates. 2021-04-18 15:51:23 +01:00
Kovid Goyal a4463603f8 Add encoding declaration to people_daily recipe 2021-04-18 16:09:45 +05:30
Kovid Goyal e9e53e767b add a note 2021-04-18 13:54:57 +05:30
Kovid Goyal c1d261defb Fix New Scientist login 2021-04-18 13:45:48 +05:30
Kovid Goyal 0f34f3c593 Fix #1924893 [English text in code block (manual)](https://bugs.launchpad.net/calibre/+bug/1924893) 2021-04-18 13:38:18 +05:30
Kovid Goyal a4b6b79829 Update Granta 2021-04-18 13:10:35 +05:30
Kovid Goyal a57ea59adb Fix #1924890 [E-book viewer: scrolling to the previous section doesn't always work in Flow mode](https://bugs.launchpad.net/calibre/+bug/1924890) 2021-04-18 12:15:11 +05:30
Kovid Goyal 88f01ec25d Fix missing : 2021-04-18 11:45:22 +05:30
Kovid Goyal cef690e449 Dont show a tooltip for empty dates 2021-04-18 08:45:16 +05:30
Kovid Goyal 6ec52ff451 Fix #1924872 [Shift select with no current selection results in error](https://bugs.launchpad.net/calibre/+bug/1924872) 2021-04-18 08:38:32 +05:30
Kovid Goyal f03f2c06a4 Crikey by Alistair Francis
Merge branch 'alistair/crikey' of https://github.com/alistair23/calibre
2021-04-18 07:51:56 +05:30
Kovid Goyal e1b7d8027a Fix incorrect tooltip for read aloud/autoscroll buttons in toolbar 2021-04-18 07:49:26 +05:30
Kovid Goyal bf07b986ba Merge branch 'alistair/saturdaypaper' of https://github.com/alistair23/calibre 2021-04-18 07:38:11 +05:30
Alistair Francis acb0881aad recipes: Initial commit of Crikey
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-04-18 11:54:41 +10:00
Alistair Francis 61ebbc292a recipes: Improvements to The Saturday Paper
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-04-18 11:13:41 +10:00
Kovid Goyal 72f20b5479 Fix #1924853 [E-book viewer: the list of keyboard shortcuts should be displayed just below the action button](https://bugs.launchpad.net/calibre/+bug/1924853) 2021-04-17 20:00:46 +05:30