Kovid Goyal
ec8c06caa9
Fix a regression that caused incorrect English transliteration of Japanese text even when the UI language is set to Japanese. Fixes #2087850 [[Enhancement] PLease use kakasi for Japanese]( https://bugs.launchpad.net/calibre/+bug/2087850 )
...
Devendor pykakasi. Upstream one seems to be in working order so use it.
2024-11-12 15:13:58 +05:30
Kovid Goyal
7a3571cf56
Use the new indent parameter instead of indenting manually
2024-11-12 09:57:55 +05:30
Kovid Goyal
77d4d2a370
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-11-12 09:53:21 +05:30
Charles Haley
b638823ac0
Now using your suggestion of overriding "_()"
2024-11-11 16:17:10 +00:00
Charles Haley
279c56a61b
Various changes:
...
- Added the "Show in original English" checkbox using the raw_doc method I described in my email.
- Changes to use "raw_doc" in formatter_functions.
- Corrections and improvements to documentation for several functions.
2024-11-11 15:06:29 +00:00
Charles Haley
12c4a7b97f
Minor fix to prefixes in ffml_processor.
2024-11-11 12:29:54 +00:00
Charles Haley
bf488a43a8
Several changes:
...
- As requested, document_to_rst() now takes an indent. It also takes a prefix in case the RST is a list item.
- Fixes to escaping when generating HTML.
- Change the documentation in formatter_functions.py to use 'r' strings, as discussed.
- Fixes to the new DocViewer class.
- Show stored templates and user template functions in DocViewer.
This commit contains un_pogaz's changes (I think).
2024-11-11 12:26:17 +00:00
Kovid Goyal
7ecc30663f
Use QTextBrowser for browsing template function documentation
2024-11-11 11:40:57 +05:30
Kovid Goyal
6b91f666e4
pep8
2024-11-11 11:14:39 +05:30
Kovid Goyal
ec445d6c32
Implement indentation for :ffdoc:
2024-11-11 11:12:50 +05:30
Kovid Goyal
c55e66a40a
Check how :ffdoc: works for more complex functions
...
We need to add a parameter to set output indentation otherwise
sub lists and code blocks break the outer list.
2024-11-11 10:48:24 +05:30
Kovid Goyal
6458b10f4b
Add a new RST role :ffdoc: to insert the generated RST markup for a formatter function
...
Needs testing to ensure that it works when called in contexts likea
bulleted list, not sure how well the generated markup works when place
after a bullet.
2024-11-11 10:29:39 +05:30
Kovid Goyal
8c2fadc33e
string changes
2024-11-11 10:08:14 +05:30
Kovid Goyal
617b7f146d
...
2024-11-11 09:44:49 +05:30
Kovid Goyal
96b521a1ff
Port the generation of template language function reference to new code
...
Note that in other documentation, the function reference can be linked
to using
:ref:`ff_function_name` for example, :ref:`ff_add`
2024-11-11 09:38:14 +05:30
Kovid Goyal
3687ad4baf
Fix some invalid escapes in formatter_functions doc strings
2024-11-11 09:04:44 +05:30
Kovid Goyal
47886804ae
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-11-11 08:51:10 +05:30
Kovid Goyal
d805dd8f8a
Merge branch 'patch-1' of https://github.com/JosemyDuarte/calibre
2024-11-11 08:42:54 +05:30
Josemy Duarte
b980f77bfc
Remove space on substack replacement
...
Space is causing an invalid URL
2024-11-10 19:11:00 +01:00
Charles Haley
11fc40dd0d
Formatter Function Markup Language first pass. Contains:
...
- The FFML processor in the new file utils.ffml_processor.py.
- converted documentation in formatter_functions.py.
- changes to template_processor.py to use FFML. Includes a new "show documentation" dialog.
What remains:
- Deal with translations somehow. Proposal in email.
- Changes to the manual to use FFML output when generating function documentation.
- Changes to template_lang.rst.
2024-11-10 16:04:49 +00:00
Kovid Goyal
723eabfc53
string changes
2024-11-10 08:34:37 +05:30
Kovid Goyal
8eb9e37d99
Cleanup previous PR
2024-11-09 08:01:09 +05:30
Kovid Goyal
00d4214857
Merge branch 'MasterPlexus-png-news-compression' of https://github.com/MasterPlexus/calibre
2024-11-09 07:59:51 +05:30
MasterPlexus
cef6ee1a93
add png in simple.py for copress_news_images
...
by adding png for copression the size of some magazines will be decreased up to 10 times. worked for me well, so I wanted to provide the setting for all.
2024-11-08 21:37:00 +01:00
Kovid Goyal
1246c326ed
DOCX Input: Fix ToC nesting not working if the styles for the ToC levels dont use integer margins
2024-11-08 22:00:31 +05:30
Kovid Goyal
7fee97c627
Windows: Enable popup OS notifications even when system tray icon is disabled
...
Dont go through Qt's horrible system tray based notifier which in turn
goes through the legacy Shell_NotifyIcon API. Instead talk
to the underlying windows toast notification API directly.
2024-11-08 21:28:37 +05:30
Kovid Goyal
16c9343bcf
Fix #2087520 [[Enhancement] Make the output settings look nice]( https://bugs.launchpad.net/calibre/+bug/2087520 )
2024-11-08 13:25:09 +05:30
Kovid Goyal
f207de192f
Add AppUserModelID to start menu shortcuts
2024-11-08 11:45:52 +05:30
Kovid Goyal
c27e613837
version 7.21.0
v7.21.0
2024-11-08 07:14:01 +05:30
Kovid Goyal
09888e4bc3
...
2024-11-07 20:27:55 +05:30
Kovid Goyal
5d6911a503
Merge branch 'master' of https://github.com/MisterAP/calibre
2024-11-07 20:26:34 +05:30
MisterAP
26ae90f0f5
Divide-by-zero fix and header check fix
2024-11-07 14:50:37 +00:00
Kovid Goyal
7c1b4e9c0b
Restore Open Library as the server seems to be functional again
2024-11-07 19:26:42 +05:30
Kovid Goyal
b80bf35b0e
Apply category sorting changes to content server as well
2024-11-07 08:34:58 +05:30
Kovid Goyal
8de42ec199
...
2024-11-07 08:10:53 +05:30
Kovid Goyal
867adb3ce4
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fixes #2086801 [[Enhancement] Add note about non-English dates to format_date() documentation](https://bugs.launchpad.net/calibre/+bug/2086801 )
2024-11-07 07:58:25 +05:30
Charles Haley
7998e6993d
Enhancement #2086801 : Add note about non-English dates to format_date() documentation.
2024-11-06 20:15:55 +00:00
Kovid Goyal
73dc14719e
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fixes #2086748 [[Enhancement] Efficient Column Positioning in Column Manager](https://bugs.launchpad.net/calibre/+bug/2086748 )
2024-11-06 22:08:38 +05:30
Charles Haley
d9bd244f06
Enhancement 2086748] Efficient Column Positioning in Column Manager
...
Added keyboard modifiers to the up/down buttons on the dialog. Click moves the row one place (as before). Shift-click moves the row 5 places. Ctrl-click moves the row 10 places. Ctrl-Shift-click moves the row to the top or bottom as appropriate.
2024-11-06 14:32:38 +00:00
Kovid Goyal
37dd0f5c70
Set default flow mode scroll wheel internal file boundary delay to 0.5 seconds
...
Is sufficiently non-disruptive that I feel making it a default is
acceptable.
2024-11-06 13:12:19 +05:30
Kovid Goyal
790ef52578
Merge branch 'flow_pauseOnBoundary' of https://github.com/zybexXL/calibre
2024-11-06 13:09:50 +05:30
Kovid Goyal
92680c85e8
Merge branch 'pyj_syntax' of https://github.com/zybexXL/calibre
2024-11-06 07:50:00 +05:30
Pedro Fonseca
5e323f1791
enable syntax highlight for *.pyj on github
2024-11-05 18:10:38 +01:00
Pedro Fonseca
13b332bd8a
Add scroll_mouse_boundary_delay preference
2024-11-05 17:04:06 +01:00
Kovid Goyal
e17ea5203a
Content server: Read aloud: Fix clicking on a word to skip reading aloud to that word causing word highlighting to stop working. Fixes #2086661 [When read aloud, highlight not synchronized]( https://bugs.launchpad.net/calibre/+bug/2086661 )
2024-11-05 20:43:43 +05:30
Pedro Fonseca
90e0fa9e92
Viewer: add a delay/pause when scrolling through a boundary in Flow mode
2024-11-05 14:48:21 +01:00
Kovid Goyal
3e957aa58b
string changes
2024-11-05 17:11:04 +05:30
Kovid Goyal
eb6d2d8636
Reset last_pos when moving to next utterance
2024-11-05 13:45:14 +05:30
Kovid Goyal
0b2fe9d569
Read aloud: Fix only first 32000 characters per chapter being read. Fixes #2086571 [Viewer TTS Skips Ahead]( https://bugs.launchpad.net/calibre/+bug/2086571 )
2024-11-05 08:04:52 +05:30
Kovid Goyal
ebf8e8d72b
Piper backend: Dont change audio sink buffer size on windows
...
Instead only emit readyRead() when new speech audio is available.
The docs of QIODevice say that readyRead() must be emitted only when
new data is available. With this change audio playback works on my
windows machine without needing to adjust the audio sink buffer size.
2024-11-05 07:03:04 +05:30