Kovid Goyal
1c4a593993
Template language: Add a new function (group_re) to use grouping regular expressions with groups, where you can replace the matched groups with result of another template
...
Merge branch 'master' of https://github.com/cbhaley/calibre
2014-06-25 19:11:54 +05:30
Charles Haley
41f8ab52f8
list_re_group template function. Clean up re_group function. Add documentation
2014-06-25 12:37:37 +02:00
Charles Haley
eb22ef0639
added re_group function
2014-06-25 10:30:13 +02:00
Kovid Goyal
4f13036757
...
2014-06-25 09:38:17 +05:30
Kovid Goyal
a8ba2c3bfd
...
2014-06-25 09:05:46 +05:30
Kovid Goyal
cc225a808a
...
2014-06-25 06:53:15 +05:30
Kovid Goyal
1d88cbb7ff
Fix #1333944 [Edit Book: Strange error when deleting style]( https://bugs.launchpad.net/calibre/+bug/1333944 )
2014-06-25 06:37:55 +05:30
Kovid Goyal
70db763744
Fix #1333932 [Edit Book: Double-click on a file category raises a error]( https://bugs.launchpad.net/calibre/+bug/1333932 )
2014-06-25 06:25:40 +05:30
Kovid Goyal
0ead2c0eb7
Edit Book: Run syntax highlighting in the background so that it does not affect responsiveness of the user interface
...
Technically, the syntax highlighting now does idle processing, that is
it yields after every line of text is highlighted to allow the rest of
the UI to respond to user interaction. This gives an excellent
illusion of running int he background, except for pathological files
with very long lines (such as those that have all their markup on a
single line).
2014-06-24 22:29:04 +05:30
Kovid Goyal
bdecc6a588
Economic and Political Weekly by Krittika Goyal
2014-06-24 18:31:18 +05:30
Kovid Goyal
d064348637
...
2014-06-24 13:18:16 +05:30
Kovid Goyal
70475ea7ce
Use a C implementation for int he inline spell check inner loop. Speeds it up by about 30% again.
2014-06-24 13:00:10 +05:30
Kovid Goyal
2d6d6a1fe4
...
2014-06-24 12:15:02 +05:30
Kovid Goyal
bf59c9c4da
Fix #1333459 [Edit Book: Starting mdash breaks spellchecking]( https://bugs.launchpad.net/calibre/+bug/1333459 )
...
(regression introduced by performance optimizations from yesterday)
2014-06-24 10:16:04 +05:30
Kovid Goyal
bca2e2ad7e
MOBI Input: Preserve the dc:rights metadata during conversion. Fixes #1333468 [dc:rights element removed from opf]( https://bugs.launchpad.net/calibre/+bug/1333468 )
2014-06-24 10:05:49 +05:30
Kovid Goyal
ffde0ca388
Edit Book: Fix non-BMP unicode characters causing matching tag highlighting to be slightly off on linux
2014-06-23 22:19:52 +05:30
Kovid Goyal
34c021a1f0
...
2014-06-23 22:11:01 +05:30
Kovid Goyal
9e8d51359f
...
2014-06-23 21:29:21 +05:30
Kovid Goyal
61113c887a
...
2014-06-23 21:18:29 +05:30
Kovid Goyal
1b1f61bde6
30% speed up on html syntax highlighting by using a C implementation for the Tag and State classes
2014-06-23 21:11:32 +05:30
Kovid Goyal
b2168dc176
Another small speedup
2014-06-23 16:29:14 +05:30
Kovid Goyal
8d1433ae78
Another small speedup
2014-06-23 15:58:45 +05:30
Kovid Goyal
cf3c80598e
A small speedup by using QTextCharFormat instead of SyntaxCharFormat when cloning formats
2014-06-23 15:42:04 +05:30
Kovid Goyal
2960c06867
...
2014-06-23 15:26:35 +05:30
Kovid Goyal
58203bbaa5
Edit Book: 2x speedup for inline spell checking. Useful if you are editing large HTML files (over 100KB in size).
...
Qt's text layout engine becomes very slow if we store arbitrary python
objects in QTextCharFormat classes. So refactor to not do that.
2014-06-23 15:19:10 +05:30
Kovid Goyal
81e6ed1551
Refactor html syntax highlighting and implement profiling
2014-06-23 12:45:28 +05:30
Kovid Goyal
474455a7fd
Edit Book: Check Book: Add a check for HTML files with non UTF-8 encoding declarations
2014-06-22 17:37:30 +05:30
Kovid Goyal
a09c890518
...
2014-06-22 15:48:02 +05:30
Kovid Goyal
01d2a6df56
Edit Book: When editing HTML files that have charset encoding declarations, automatically change the declared encoding (if any) to UTF-8 on save, since the editor always saves files in the UTF-8 encoding.
...
This prevents a mismatch between the declared encoding and the actual
encoding if the HTML file was originally in an encoding other than
UTF-8.
2014-06-22 12:23:17 +05:30
Kovid Goyal
78be882aff
Edit Book: Fix various problems when editing EPUB files with non-ascii filenames on OS X. Fixes #1317883 [calibre should care of 'decomposed UTF-8' filenames on Darwin platform]( https://bugs.launchpad.net/calibre/+bug/1317883 )
2014-06-22 11:38:30 +05:30
Kovid Goyal
cad2a50df9
Partial fix for check book with epub files with non-ascii internal filenames on os x
2014-06-22 10:39:49 +05:30
Kovid Goyal
41520c443d
...
2014-06-22 10:26:40 +05:30
Kovid Goyal
466383c519
Edit Book: Spell check dialog: Add an option to make filtering the word list case sensitive
2014-06-21 19:20:52 +05:30
Kovid Goyal
a6450d47a3
Edit Book: Remove unused CSS: Fix an erro if an HTML file links to a missing stylesheet
2014-06-21 16:11:43 +05:30
Kovid Goyal
df29ce1116
...
2014-06-21 16:07:17 +05:30
Kovid Goyal
2f86ec6ccd
...
v1.41.0
2014-06-21 09:20:39 +05:30
Kovid Goyal
b6f109c8be
...
2014-06-21 09:11:56 +05:30
Kovid Goyal
ed87e04e11
version 1.41.0
2014-06-21 08:55:04 +05:30
Kovid Goyal
e97135a768
calibredb: Add a new 'embed_metadata' command to update metadata in the actual book files in the calibre library from the calibre database.
2014-06-20 22:29:51 +05:30
Kovid Goyal
b1c36e7514
New tool to set metadata in the actual book files in the calibre library from the updated metadata in the calibre database. To use it go to Preferences->Toolbars and add the "Embed metadata" tool to the main toolbar. Then simply select the books whose files you want to update and click the Embed metadata button. Normally, calibre updated metadata in the book files whenever a file is exported from calibre. This tool is useful for people who want the files int he calibre library to have updated metadata as well.
2014-06-20 21:55:46 +05:30
Kovid Goyal
b14541e111
RTF metadata: Add proper support for unicode characters when reading and writing metadata to RTF files
...
Also fix failure to write metadata to RTF files that do not already have
a \info block
2014-06-20 21:51:09 +05:30
Kovid Goyal
542658a85f
Refactor the code to embed metadata into format files to enable re-use
2014-06-20 19:19:05 +05:30
Kovid Goyal
5036b68d8a
Edit Book: Allow customization of toolbars
2014-06-20 18:24:28 +05:30
Kovid Goyal
177901a239
Refactor toolbar creation code for eventual user customizability
2014-06-19 15:57:13 +05:30
Kovid Goyal
a837586bb9
When generating sphinx documentation from command line usage/options, try to recognize and mark references to option in the help text
2014-06-17 18:07:20 +05:30
Kovid Goyal
033a8a2421
String fixes
2014-06-17 18:06:43 +05:30
Kovid Goyal
25e69a4c97
...
2014-06-17 17:37:27 +05:30
Kovid Goyal
7f0300a485
Implement extraction of user manual strings for translation
2014-06-17 14:36:21 +05:30
Kovid Goyal
3b4a561604
Ignore the translations folder entirely since it is now version controlled in a separate github project.
2014-06-17 14:35:30 +05:30
Kovid Goyal
dfa6756509
...
2014-06-17 14:23:24 +05:30