Commit Graph

36205 Commits

Author SHA1 Message Date
Kovid Goyal 5d1e886cf9 Merge branch 'master' of https://github.com/cbhaley/calibre 2023-04-30 20:29:36 +05:30
Charles Haley d4d13d0f2a Different fix for the wrong screen problem. 2023-04-30 13:08:14 +01:00
Kovid Goyal 0d8a563d2d Merge branch 'fix-markdown-highlighter' of https://github.com/un-pogaz/calibre 2023-04-30 15:19:54 +05:30
un-pogaz 918bd44f5d primitive support of bold-italic 2023-04-30 11:22:51 +02:00
Charles Haley 6f1ef2ddab Revert "Fix weird problem where a menu can be shown on the wrong screen if it is constructed before the first show event. On my test system it is 100% repeatable."
This reverts commit 19f1db9578.
2023-04-30 10:18:25 +01:00
un-pogaz 6793aaae36 fix link overflow
The actual regex for Link select the caracter before the bracket if not a start of the line
2023-04-30 10:16:18 +02:00
un-pogaz 5c5f08d709 reorder highlighting 2023-04-30 09:56:00 +02:00
un-pogaz 2f8a32cb56 fix single char italic 2023-04-30 09:49:52 +02:00
un-pogaz 3e539de657 fix imbricated bold/italic 2023-04-30 09:31:00 +02:00
Kovid Goyal e17454d4fe string changes 2023-04-30 12:34:43 +05:30
Charles Haley 19f1db9578 Fix weird problem where a menu can be shown on the wrong screen if it is constructed before the first show event. On my test system it is 100% repeatable.
FWIW: I spent several hours trying to find a way to work around this issue. The trigger is clear -- populating the menu for the first time outside of the Qt "show()" process. This commit fixes it by not populating the 'real' menu until the show sequence has started. If something wants the menu before the show process has started then a fake action is returned with the menu.
2023-04-29 13:30:46 +01:00
Kovid Goyal f2ee5b3da7 string changes 2023-04-29 13:42:52 +05:30
Kovid Goyal ace3150791 Fix a regression in 6.16 that broke restoring of the database. Fixes #2018025 [ERROR: Falló: La restauración de la base de datos falló](https://bugs.launchpad.net/calibre/+bug/2018025) 2023-04-29 07:07:28 +05:30
Kovid Goyal 89ccf7bbed ... 2023-04-29 06:36:02 +05:30
Charles Haley a42986964f Make the "Sort by" action play nice with the Favourites and Action Chains plugins. 2023-04-28 12:45:22 +01:00
Kovid Goyal db3bd2d25c ... 2023-04-28 09:02:46 +05:30
un-pogaz 07f5a9e619 create CcMarkdownDelegate 2023-04-27 17:15:00 +02:00
Charles Haley 7b0cecdcbd Back out the change that removed delegates for read-only columns 2023-04-27 16:03:13 +01:00
Charles Haley 6760f58385 Improvements to new formatter functions has_extra_files() and extra_file_names().
Provide the option of using a regular expression to filter the files before counting or returning the names.
2023-04-27 15:47:40 +01:00
Kovid Goyal 400bc9be54 ... 2023-04-27 19:55:49 +05:30
un-pogaz 6c98af26ac ... 2023-04-27 14:36:25 +02:00
un-pogaz 6509d58420 fix HeaderLine to match with Markdown result 2023-04-27 14:36:25 +02:00
un-pogaz e18950ea04 improve HorizontalLine/HeaderLine 2023-04-27 14:36:25 +02:00
un-pogaz 80dace9d43 basic bold and emphasis 2023-04-27 14:36:25 +02:00
un-pogaz 6fa9d1c9e1 ... 2023-04-27 14:36:25 +02:00
un-pogaz 685f8310ac use a map to init the highlighter theme 2023-04-27 14:36:12 +02:00
Kovid Goyal a073910504 Use an encoded URL for the data files link 2023-04-27 11:28:02 +01:00
Charles Haley 2e0a45737a Two related changes:
1) Make F2 on a markdown column in the booklist use the new markdown dialog.
2) Fix some problems in the markdown syntax highlighter that threw exceptions.
2023-04-27 11:20:23 +01:00
Kovid Goyal e75071a63a version 6.17.0 2023-04-27 07:57:38 +05:30
Kovid Goyal 8b9f0ad1db ... 2023-04-26 21:29:12 +05:30
Kovid Goyal 059dd97a8e more regex escape porting 2023-04-26 21:20:21 +05:30
Kovid Goyal 453fc7baa2 ... 2023-04-26 21:07:09 +05:30
Kovid Goyal 2108ddd6f2 Add a rudimentary syntax highlighter for the markdown editor widget
Somebody that cares is welcome to improve it
2023-04-26 20:51:13 +05:30
Kovid Goyal 1b9759a4ef ... 2023-04-26 19:52:54 +05:30
Charles Haley 1299110a11 Add lock/unlock mouse column movement to the column heading context menu 2023-04-26 13:36:56 +01:00
Charles Haley c26bcb26db Remove the column heading tweak.
Also add not setting a delegate for non-editable standard columns
2023-04-26 11:47:23 +01:00
Kovid Goyal 55b6205d84 ... 2023-04-26 14:12:46 +05:30
Kovid Goyal 2a58a4b1a8 Forgot to restore current index before restoring current_id/current_row which was preventing the current column from being preserved 2023-04-26 14:09:55 +05:30
Kovid Goyal ef13a51774 Cleanup previous PR 2023-04-26 12:35:21 +05:30
Kovid Goyal 83fa5e1647 Merge branch 'markdown-editor-preview' of https://github.com/un-pogaz/calibre 2023-04-26 09:45:48 +05:30
Kovid Goyal 3fb819da03 Fix styling of tabs at the bottom in dark mode 2023-04-26 09:39:20 +05:30
Kovid Goyal 13191a08c7 Ensure that all sorting of the books list via calibre APIs preserves selected indices and current index and horizontal position
I dont think there any sorts done without going through the view
functions. But we will see.
2023-04-26 09:27:22 +05:30
Kovid Goyal f5b35bb97e Remove list of chrome/firefox versions from user agent data
The upstream data source (Wikipedia) was deleted and these arent currently used
anyway
2023-04-26 08:51:57 +05:30
Kovid Goyal 809ce3dc44 Fix #2017708 [6.16.1*: New columns missing from column icon dropdown](https://bugs.launchpad.net/calibre/+bug/2017708) 2023-04-26 08:41:44 +05:30
Kovid Goyal b319a1ceaa ... 2023-04-26 08:38:07 +05:30
Kovid Goyal 646982e3d4 Fix #2017709 [6.16.1*: alternate_column_names don't show in MDE](https://bugs.launchpad.net/calibre/+bug/2017709) 2023-04-26 08:34:42 +05:30
Kovid Goyal d1d4f06ca2 Special case display of path field name in book details preferences to match dual use as "folders/path" 2023-04-25 22:30:38 +05:30
Kovid Goyal eede10c998 set_current_row() should preserve the current column and the horizontal scroll position 2023-04-25 22:21:32 +05:30
Kovid Goyal eff5ec46d0 Proper fix for initial scroll to right when Id column at right bug 2023-04-25 22:18:34 +05:30
un-pogaz b990609ac1 Enhancement #2017403: Add a preview tab to Markdown "long text" editor (https://bugs.launchpad.net/calibre/+bug/2017403) 2023-04-25 18:15:53 +02:00