Commit Graph

21008 Commits

Author SHA1 Message Date
Kovid Goyal d8dc718abf Update metadata in the file from calibre db when opening for Tweaking 2013-12-04 15:21:45 +05:30
Kovid Goyal 756be9b409 Exporting of image data from the canvas 2013-12-04 14:50:45 +05:30
Kovid Goyal deb3a6ab62 ... 2013-12-04 14:02:00 +05:30
Kovid Goyal 543a33bc63 Use keypresses for fine adjustment of selection rect 2013-12-04 13:55:16 +05:30
Kovid Goyal a83476cea8 A dialog to trim images 2013-12-04 13:38:29 +05:30
Kovid Goyal b8733d9f41 Fix handling of mouse release events during selection 2013-12-04 13:01:31 +05:30
Kovid Goyal a2dff45219 Table of Contents Editor: Handle generating ToC from headings if the first heading level in the document is not h1 or the document skips some intermediate heading levels 2013-12-04 10:00:56 +05:30
Kovid Goyal 9fc66ab7bb Get rid of the saved message. 2013-12-04 09:05:38 +05:30
Kovid Goyal 621a81f865 Turn off anti-aliasing when drawing the selection rects 2013-12-03 21:51:02 +05:30
Kovid Goyal 996a338ed0 Use a grab cursor when moving selection rect 2013-12-03 21:46:45 +05:30
Kovid Goyal bce57d1241 ... 2013-12-03 16:46:18 +05:30
Kovid Goyal fc566d9823 ... 2013-12-03 16:44:59 +05:30
Kovid Goyal f1b59e849d Signal to notify when selection state changes 2013-12-03 16:40:12 +05:30
Kovid Goyal 107cfa8f1e Refactor selection state tracking into its own class 2013-12-03 16:36:34 +05:30
Kovid Goyal d12fa98765 Start work on image editor 2013-12-03 15:59:49 +05:30
Kovid Goyal 8a36b10085 ... 2013-12-03 13:15:46 +05:30
Kovid Goyal 5ad0ce80c9 Shortcuts config, commit open editor if user clicks OK 2013-12-03 08:47:31 +05:30
David Forrester eabb3078e8 Update Kobo firmware version. AGAIN.
Kobo are updating the firmware a lot faster than in the past. The latest
is 3.1.0. The supported version is being set to 3.1.5 in case any bug
fix only versions are released.

Also, commented out a couple of debug lines to reduce the clutter when
testing.

Fixes #1257143 [Update to support Kobo firmware 3.1.0](https://bugs.launchpad.net/calibre/+bug/1257143)
2013-12-03 08:29:42 +05:30
Kovid Goyal 6861f028c9 Add actions to close editor tabs 2013-12-03 08:27:38 +05:30
Kovid Goyal 8a1cbd92d6 Do not use editor.is_modified for anything other than saving 2013-12-03 08:19:18 +05:30
Kovid Goyal aa0521803f Fix keyboard not working on OS X 2013-12-02 22:59:34 +05:30
Kovid Goyal ea37595cd5 Remove unused code 2013-12-02 22:36:24 +05:30
Kovid Goyal 23eb749f6c When renaming, only pre-select the filename part of the name 2013-12-02 21:29:00 +05:30
Kovid Goyal 5115b5d5f2 ... 2013-12-02 21:04:47 +05:30
Kovid Goyal e927c2310e Fix editing of .txt files broken 2013-12-02 21:00:39 +05:30
Kovid Goyal 5c6ec901da Preload embedded fonts so that the preview panel works off the bat 2013-12-02 20:46:29 +05:30
Kovid Goyal 6e9f48b175 Allow customizing the text that appears below covers in the cover grid
You can now show any metadata field below the covers in the cover grid
view, not just title. To change the displayed field go to
Preferences->Look & Feel->Cover Grid.
2013-12-02 19:29:53 +05:30
Kovid Goyal eba54de1ce Hide the new Twwak Book behind a testing tweak 2013-12-02 16:31:31 +05:30
Kovid Goyal 7e4da66e09 Implement replacing of files 2013-12-02 15:47:44 +05:30
Kovid Goyal f885896c31 Nicer error message for DRMed books 2013-12-02 15:13:33 +05:30
Kovid Goyal 267a02fbed Right click to export file from book to disk 2013-12-02 14:24:15 +05:30
Kovid Goyal 3bd8285429 ... 2013-12-02 14:08:32 +05:30
Kovid Goyal e5d486a28c Keep list of recently opened books 2013-12-02 13:58:43 +05:30
Kovid Goyal 26e978bc2f Use the IDNA encoding for non-ascii hostnames 2013-12-02 13:22:43 +05:30
Kovid Goyal b91fb7b502 Remove per editor saves as they cannot be implemented robustly
Also, show busy cursor when running any potentially long winded job.

Now that we have gotten rid of per editor saves, we track sync status of
editor with container, instead, and when performing any task that
operates on the container directly, sync open editors to the container.
This avoids the confusing warning about modified files.
2013-12-02 12:45:33 +05:30
Kovid Goyal 5a5b93f876 Implement saving of copies 2013-12-02 10:53:44 +05:30
Kovid Goyal cb2a119565 Remove references to Sigil from the manual and code 2013-12-02 10:17:43 +05:30
Kovid Goyal 4315f64fc8 ... 2013-12-02 09:22:08 +05:30
Kovid Goyal 578372bf3e Make saving spinner not resize the status bar 2013-12-02 09:09:32 +05:30
Kovid Goyal a7ab2ae11b Modify dirtied question if many dirtied editors present.
Also mark editors as clean when updating editors from container.
2013-12-02 09:01:45 +05:30
Kovid Goyal 6de811922f Escape search string when showing message about searching. 2013-12-02 08:23:55 +05:30
Kovid Goyal 853d26144b ... 2013-12-02 08:12:32 +05:30
Roman Mukhin 770a5744e7 Update the metadata download and Get Books plugins for ozon.ru
Changes in OZON.RU corresponding files due to API- and HTMLlayout
Changes from ozon.ru Addition improved search hit relevance calculation,
introduced configuration parameter.
2013-12-01 21:47:36 +05:30
Charles Haley e87281a8d2 Fix two problems in bulk search/replace:
1) S/R of datetime fields generated an exception
2) Using {template} as a source generated an error until the destination field was filled in.
2013-12-01 12:40:16 +01:00
Kovid Goyal a87092ba4f Standalone executable for Tweak Book 2013-12-01 16:16:52 +05:30
Kovid Goyal b91454d454 Preference to control tab width in the editor 2013-12-01 16:06:48 +05:30
Kovid Goyal cd01049c6e Nicer error message when clicking new file if no book has been opened. 2013-12-01 15:31:35 +05:30
Kovid Goyal 6c0269b940 Preferences to control TB integration with calibre 2013-12-01 15:13:38 +05:30
Kovid Goyal df1c8b7e56 Integrate the new Tweak Book tool into the main calibre gui
The old Tweak Book tool has become "Unpack Book"
2013-12-01 14:35:24 +05:30
Kovid Goyal 3447684c5e Specific error message if file being tweaked does not exist 2013-12-01 13:11:20 +05:30