MisterAP
ceb6e5b45e
More margin/indentation processing
...
This has a variation on the divide-by-zero fix
2024-10-26 12:59:15 +01:00
Kovid Goyal
c2da702b0f
Allow using the special voice name __skip__ to not vocalize text
2024-10-26 12:26:17 +05:30
Kovid Goyal
358a202268
Use correct version when creating CSR
2024-10-26 09:23:44 +05:30
Kovid Goyal
89865d885f
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fix #2085631 [Manage Author Count Justification](https://bugs.launchpad.net/calibre/+bug/2085631 )
2024-10-25 22:20:33 +05:30
Charles Haley
49da7747dd
Enhancement #2085631 : justify the count column the same way in manage authors and manage other categories.
2024-10-25 17:38:20 +01:00
Kovid Goyal
b6af6218bb
Make skipping overlay for files that generate no audio data more robust
2024-10-25 15:59:04 +05:30
Kovid Goyal
41e03e0433
...
2024-10-25 15:39:23 +05:30
Kovid Goyal
80c74e54cc
Do not generate smil wrappers for spine items that have no sentences
2024-10-25 15:27:05 +05:30
Kovid Goyal
2ea2460753
Fis SMIL files not being removed when removing TTS narration
2024-10-25 14:53:14 +05:30
Kovid Goyal
5d7c6937de
When embedding TTS narration dont break sentences on single newlines
2024-10-25 14:47:21 +05:30
Kovid Goyal
5f9284cbe1
Fix voice changes not happening when using data-calibre-tts
2024-10-25 14:26:27 +05:30
Kovid Goyal
600e9cdfc6
Fix TTS narration removal not working
2024-10-25 14:02:40 +05:30
Kovid Goyal
a8559238c6
Bump version for preview
2024-10-25 07:52:40 +05:30
Kovid Goyal
c1c8a81227
New PDF engine: Ignore dive by zero when average char width is zero
2024-10-24 22:08:30 +05:30
Kovid Goyal
59661ebb28
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-10-24 05:31:36 +05:30
Charles Haley
a2b38bd882
Make the inlist_field operator work on identifiers so it has the same result as inlist
2024-10-23 22:43:28 +01:00
Kovid Goyal
a4c4a8fa33
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fix #2085445 [User Categories Editor Resizing](https://bugs.launchpad.net/calibre/+bug/2085445 )
2024-10-23 22:05:32 +05:30
Charles Haley
8dca57c3f9
Enhancement #2085445 : make the user categories editor remember window geometry.
2024-10-23 17:30:11 +01:00
Kovid Goyal
940732f13d
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-10-23 21:44:53 +05:30
Charles Haley
8b756df123
Ooops -- forgot to change field_inlist to inlist_field in the template tester's highlighter and in a few places in the documentation.
2024-10-23 16:39:03 +01:00
Kovid Goyal
b31c87e3ee
...
2024-10-23 08:43:50 +05:30
Kovid Goyal
6f8b4d555c
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-10-22 21:59:14 +05:30
Charles Haley
80453b3485
Better error handling in the format_date_field() formatter function
2024-10-22 16:46:13 +01:00
Charles Haley
1e766f8843
Changes to use a suffix instead of a prefix for 'field' functions and operators.
2024-10-22 13:56:34 +01:00
Kovid Goyal
3855552c19
Fix #2085312 [Tweaks editor - improve contrast in dark mode]( https://bugs.launchpad.net/calibre/+bug/2085312 )
2024-10-22 09:58:46 +05:30
Kovid Goyal
edefce2c78
...
2024-10-22 09:16:38 +05:30
Kovid Goyal
084e9cd755
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-10-22 09:15:00 +05:30
Charles Haley
0e3f821cbb
We're starting to get several functions and operators that directly operate on fields. I decided to use a naming convention where they begin with "field_". This commit changes the existing function format_date_field() to field_format_date(), adding an alias for the original name for compatibility.
2024-10-21 23:24:55 +01:00
Charles Haley
8e9b1812fb
Changes to manage ... dialogs:
...
1) Add a counts column to the manage authors dialog.
2) Add tooltips to the manage ... dialogs
2024-10-21 21:41:21 +01:00
Charles Haley
b938f2500f
New template operator 'field_inlist'. It operates directly on data in a multi-valued field instead of converting the field to a string then splitting it.
2024-10-21 16:47:43 +01:00
Kovid Goyal
ea498af93c
Cleanup previous PR
2024-10-21 18:50:32 +05:30
Kovid Goyal
2a727fa189
Merge branch 'shell-completion-ordering' of https://github.com/keszybz/calibre
2024-10-21 18:46:21 +05:30
Kovid Goyal
d9a8b6abad
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-10-21 18:36:21 +05:30
Charles Haley
7957587ea4
Fix the link_map containing invalid item_ids.
...
I was able to reproduce the problem by renaming a series with a link to an existing series then running Manage Series. I can't guarantee that this fixes all cases, but it does fix this one.
2024-10-21 13:46:18 +01:00
Kovid Goyal
da08e3798b
Merge branch 'build-object-sorting' of https://github.com/keszybz/calibre
2024-10-21 17:34:40 +05:30
Zbigniew Jędrzejewski-Szmek
f51b20e5d9
build: sort headers and sources in plugin builds
...
I'd observe a difference in the debuginfo data for the plugins in rebuilds.
Various /usr/lib64/calibre/calibre/plugins/*.so files would be different, but
the source of the difference was in the link to debuginfo data, which in turn
appears to be caused by differences in sort order in various tables, caused by
the object files being listed in different order. setup/build.py writes out
pyproject.toml, which is turned into *.pro, which is turned into a Makefile.
Sorting the object files by name seems to fix this particular issue. This
makes local rebuilds reproducible for me.
2024-10-21 13:57:19 +02:00
Zbigniew Jędrzejewski-Szmek
5a85a0e167
build: sort objects in link commands
...
Build logs are easier to compare if the commands don't change. This
shouldn't have any effect on the build result.
2024-10-21 13:57:19 +02:00
Zbigniew Jędrzejewski-Szmek
86494089df
Use stable ordering when writing shell completions
...
Set ordering is unstable (uses the hash for ordering), so the output file
would be different every time. Sort the sets into lists before writing. In
various places there were unnecessary "conversions", e.g. sorted() always
returns a list, so 'list(sorted(…))' is not useful.
In one place output is fixed to say: "Choices are: doc, ereader, ztxt" instead
of "['doc', 'ereader', 'ztxt']".
For module constants, just create the object directly. The code is easier to
read/edit when the list is constructed directly with items that are ordered in
the same way that is shown in various outputs (instead of being sorted
dynamically).
There is some more syntax confusion in src/calibre/linux.py. For example,
'"%s" % (x)' is the same as '"%s" % x', because just putting something in
parentheses does not create a tuple. It'd be nice to clean up this whole file
to use f-strings and not the error-prone %-formatting, but that's a separate
issue.
In a test build of the Fedora package, the generated file is now stable.
2024-10-21 12:21:30 +02:00
Kovid Goyal
0918f1b74a
...
2024-10-21 13:41:12 +05:30
Kovid Goyal
235ea54a5c
get_link_map() should not have None keys
2024-10-21 13:38:54 +05:30
Kovid Goyal
4e8006a0da
Fix #2085063 [Series Manager: KeyError]( https://bugs.launchpad.net/calibre/+bug/2085063 )
2024-10-21 09:43:19 +05:30
Kovid Goyal
6b035fb2c1
Ensure table_column_widths is present
2024-10-21 09:27:45 +05:30
Kovid Goyal
c99c8714b4
Clarify wording
2024-10-21 09:19:50 +05:30
Kovid Goyal
9beed389fe
...
2024-10-20 18:00:10 +05:30
Kovid Goyal
9891f149e1
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-10-20 17:58:09 +05:30
Charles Haley
356e312eb1
Here is an implementation of has_key() where both Metadata and ProxyMetadata do the same thing.
2024-10-20 12:31:38 +01:00
Kovid Goyal
babc0b9e48
Content server: Fix changing the language of a book not working for non-English user interface language and for books that have no existing language. Fixes #2085005 [Calibre server fails updating book with Spanish characters]( https://bugs.launchpad.net/calibre/+bug/2085005 )
2024-10-20 15:32:00 +05:30
Kovid Goyal
bc1986121f
...
2024-10-20 14:11:08 +05:30
Kovid Goyal
4057ad3566
Linux: Piper TTS: Fix audio not playing on some Linux systems
...
Apparently setting a large buffer size causes some linux audio devices
to refuse to flush audio data. Sigh.
2024-10-20 14:04:15 +05:30
Kovid Goyal
1440a49cda
string changes
2024-10-20 13:57:35 +05:30