Commit Graph

31310 Commits

Author SHA1 Message Date
Kovid Goyal 92e99bcc09 Set rel="next" on the button to show more books 2015-11-13 17:59:19 +05:30
Kovid Goyal cb22155364 Ensure there are no unpushed changes in the local repo before running upload_to_server 2015-11-13 17:52:59 +05:30
Kovid Goyal 5d84cd7913 Use a spinner when fetching more books 2015-11-13 14:55:28 +05:30
Kovid Goyal 9605e8fa2d Update RapydScript 2015-11-13 14:55:06 +05:30
Kovid Goyal 7f6d2d786d Implement the "Get more books" button
Also refactor ajax.pyj to make error reporting easier
2015-11-13 14:41:41 +05:30
Kovid Goyal 363be7c6f3 Allow a route to specify its OK code 2015-11-13 14:35:36 +05:30
Kovid Goyal 9f624b6d95 ... 2015-11-13 14:03:20 +05:30
Kovid Goyal fa90586f67 Function to encode JS string as UTF-8 Uint8Arrays 2015-11-13 13:44:09 +05:30
Kovid Goyal 85844fb0b9 Ensure img.onerror is fired only after it is added to its parent 2015-11-13 13:34:31 +05:30
Kovid Goyal 70e57e95ad Use JS bind() instead of RS bind() 2015-11-13 09:54:41 +05:30
Kovid Goyal b303be4189 version 2.44.0 v2.44.0 2015-11-13 09:10:11 +05:30
Kovid Goyal 94ea457109 Prevent enter key from having any effect in metadata review dialog 2015-11-13 09:07:06 +05:30
Kovid Goyal 5f9e987b27 E-book viewer: When doing a search do not match text in comments and element attributes 2015-11-13 01:01:40 +05:30
Kovid Goyal eced07af18 Update RapydScript 2015-11-12 22:52:44 +05:30
Kovid Goyal 69dbc5cfb6 ... 2015-11-12 20:55:36 +05:30
Kovid Goyal 692500b852 Allow setting the cover for a book from one of the book's formats by right clicking on the format in the Book details panel. See #1515411 (Extract cover via book details and edit metadata) 2015-11-12 18:11:36 +05:30
Kovid Goyal 438f5a8d88 ... 2015-11-12 18:05:45 +05:30
Kovid Goyal 2fd77b8667 Update RapydScript 2015-11-12 14:56:33 +05:30
Kovid Goyal 608bb13cae Allow drag and drop of all file types onto the book details panel and the format list in the edit metadata dialog. See #1515462 (unnecessary file copy during import) 2015-11-12 14:21:35 +05:30
Kovid Goyal 191381f7da Prevent mem-leak in buttons
Event handler should not have a reference to the DOM node in its context
2015-11-12 11:58:52 +05:30
Kovid Goyal 6f263dd3fc Nicer rendering for books with no cover in the cover grid 2015-11-12 11:58:24 +05:30
Kovid Goyal ce61de9ae1 ... 2015-11-12 11:31:18 +05:30
Kovid Goyal 5a7dd0d331 ... 2015-11-12 11:23:18 +05:30
Kovid Goyal 592c00d55c Report unhandled exceptions to user 2015-11-12 11:22:29 +05:30
Kovid Goyal 16c216e8ac Updata Gamasutra 2015-11-12 09:08:20 +05:30
Kovid Goyal e0d31bafa7 MTP driver: Fix for SD card causing errors with some devices on linux and OS X 2015-11-11 13:48:40 +05:30
Kovid Goyal e88b27c5fc Finish modal dialog implementation 2015-11-11 12:53:23 +05:30
Kovid Goyal aeffb81692 More work on modals 2015-11-11 10:59:48 +05:30
Kovid Goyal 834b3217f4 Workaround for WebKit bug in layout of transformed images on window resize 2015-11-10 23:24:43 +05:30
Kovid Goyal d23f731c0c Let the browser handle resizing of the cover grid
Since we are depending on modern browsers in any case, we can use
viewport size based units
2015-11-10 18:11:59 +05:30
Kovid Goyal 29bf9b022d Start work on button to fetch more books 2015-11-10 17:36:14 +05:30
Kovid Goyal 07c9d1bb58 ... 2015-11-10 17:35:18 +05:30
Kovid Goyal ffe9bf4c1e Separate new ajax endpoints from legacy ajax endpoints 2015-11-10 17:35:01 +05:30
Kovid Goyal b3fd7e6409 Basic code for modals 2015-11-10 17:33:34 +05:30
Kovid Goyal 0fbea94580 Update RapydScript 2015-11-10 11:35:18 +05:30
Kovid Goyal 0d6178f129 Edit Book: Change the suggested prefix for bulk renaming of files depending on the type of files being renamed. Fixes #1514468 [Bulk renaming of non-Text files in the editor](https://bugs.launchpad.net/calibre/+bug/1514468)
Minor changes to the commit that actually implemented this
functionality:

1) List categories in only one place

2) Allow user to rename across categories -- although I can think
   of no good reason for this, I don't want to place an unnecessary
   restriction on the functionality.
2015-11-10 09:14:50 +05:30
Eli Schwartz b1b9a0020c Editor: Fix bulk renaming of non-Text files.
Do not allow bulk renaming of different categories of files.
Set the default prefix according to the category of file.
2015-11-10 08:46:18 +05:30
Kovid Goyal d1a1706dff Edit Book: When insert an image into the current document, add a button to paste the image from the clipboard 2015-11-09 16:41:12 +05:30
Kovid Goyal a0c0a3ffbb ... 2015-11-09 15:09:13 +05:30
Kovid Goyal 2b7cef952b Do not use curses to get terminal size
libncursesw.so is very difficult to bundle in the binary build and there
are now two major versions of it in use so.5 and so.6

So instead use an IOCTL directly. Should be faster as well :)
2015-11-09 14:37:50 +05:30
Kovid Goyal 143986b3bb ... 2015-11-09 13:52:58 +05:30
Kovid Goyal af2be3287f Linux build: Fix problem with pointing hand mouse cursor not using the system theme on some linux systems
The actual fix involved patching the version fo Qt bundled with calibre,
see https://bugreports.qt.io/browse/QTBUG-41151
2015-11-09 10:47:40 +05:30
Kovid Goyal 899d358e5c Zoom in instead of out on :active to prevent mouseup in areas close to border from being lost 2015-11-07 15:52:45 +05:30
Kovid Goyal a45645c32a Disable selection in the cover grid 2015-11-07 15:37:51 +05:30
Kovid Goyal 02170b067f Dont use zoom for hover on top bar buttons as it makes it ignore clicks if the mouse is close to the border 2015-11-07 15:36:11 +05:30
Kovid Goyal b54dfb6db6 ... 2015-11-07 15:19:31 +05:30
Kovid Goyal f14f6babb9 DRYer 2015-11-07 15:03:27 +05:30
Kovid Goyal 8f0dd0f714 A button widget 2015-11-07 14:08:06 +05:30
Kovid Goyal 1a826d6625 Fix device views state not being saved when device is ejected/disconnected 2015-11-07 10:39:45 +05:30
Kovid Goyal 620262d6b8 Use shorter encoding of UUID when using UUID as id 2015-11-06 22:41:54 +05:30