Kovid Goyal
3959627970
Micro-optimisation
2024-11-13 08:28:37 +05:30
Kovid Goyal
80ac7d893a
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-11-13 08:27:23 +05:30
Kovid Goyal
80092ec338
string changes
2024-11-13 08:24:45 +05:30
Charles Haley
fb1657d54d
Improvements to the switch function documentation
2024-11-12 23:42:37 +00:00
Charles Haley
38b9f15897
Changes to TranslatedStringWithRaw to support the documentation editor I am writing.
2024-11-12 23:35:13 +00:00
Charles Haley
266be27bc3
Undo changes to the switch function. The new documentation left out the first parameter, in effect documenting the usage in single function mode.
2024-11-12 18:30:17 +00:00
Kovid Goyal
078e2a2654
Various fixes to template formatter function help strings as pointed out by translators
2024-11-12 21:14:18 +05:30
Kovid Goyal
ee3a9492a1
Discard trailing () of ref automatically
2024-11-12 20:44:46 +05:30
Kovid Goyal
60d0f43a62
Fix incorrect ref syntax in one place
2024-11-12 20:42:03 +05:30
Kovid Goyal
1ee299ee2a
Merge branch 'master' of https://github.com/cbhaley/calibre
2024-11-12 20:41:59 +05:30
Kovid Goyal
bcfdfc1e1d
And yet more crap with pykakasi
2024-11-12 20:38:57 +05:30
Kovid Goyal
04d5728ef9
More work on de-vendoring pykakasi
2024-11-12 19:52:31 +05:30
Charles Haley
da9332a535
Start using :ref: links.
...
Note: I will look at generating HTML links once I see what the anchors look like in the new generated template_ref document. Today they look like
https://manual.calibre-ebook.com/generated/en/template_ref.html#add-x-y
I'm hoping that in the new system they will look something like
https://manual.calibre-ebook.com/generated/en/template_ref.html#ff_add
adding the ff_ and removing the parameters.
2024-11-12 12:07:31 +00:00
Charles Haley
38587e0b0a
Add :ref: links. Also reorder code to be closer to alphabetical order.
...
This commit assumes your answer to my last email (about :ref:) is "yes". If it isn't then reject the commit.
2024-11-12 11:25:46 +00:00
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
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
8c2fadc33e
string changes
2024-11-11 10:08:14 +05:30
Kovid Goyal
3687ad4baf
Fix some invalid escapes in formatter_functions doc strings
2024-11-11 09:04:44 +05:30
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
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
c27e613837
version 7.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
Charles Haley
7998e6993d
Enhancement #2086801 : Add note about non-English dates to format_date() documentation.
2024-11-06 20:15:55 +00:00
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
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
Kovid Goyal
278f774331
...
2024-11-05 06:29:28 +05:30