46652 Commits

Author SHA1 Message Date
Kovid Goyal
649baf052f
Nicer error formatting when cross compiling 2023-01-27 15:20:02 +05:30
Kovid Goyal
039b684269
Sadly the linux build VMs dont support c++20 so we cant use lambdas as template arguments 2023-01-27 15:14:01 +05:30
Kovid Goyal
17450ddc1c
Silence spurious warning from gcc 2023-01-27 14:44:23 +05:30
Kovid Goyal
65885f505e
Use lambdas for template specialization 2023-01-27 13:54:03 +05:30
Kovid Goyal
e145f42fdc
Fix generation of compile_commands.json for windows specific extensions 2023-01-27 13:25:08 +05:30
Kovid Goyal
39f5192c99
Use cross compilation for extdev 2023-01-27 13:05:34 +05:30
Kovid Goyal
ef9e669ef9
Cross compiling now actually works
At least for non-PyQt based extensions
2023-01-27 12:47:46 +05:30
Kovid Goyal
d13404d9ea
Refactor the build system to allow cross compiling windows native code extensions on linux 2023-01-27 12:03:37 +05:30
Kovid Goyal
d6a0f4bb9d
Clean up C/C++ std specifications 2023-01-26 21:06:39 +05:30
Kovid Goyal
58c9ca9519
... 2023-01-26 20:49:13 +05:30
Kovid Goyal
bf6db247a2
Command to automatically install the Windows SDK 2023-01-26 20:33:49 +05:30
Kovid Goyal
c895aab7ac
More fixes for compilation with clang-cl 2023-01-26 19:45:39 +05:30
Kovid Goyal
69656be428
clang cant compile the handle_raii class because it thinks INVALID_HANDLE_VALUE is not a constexpr
Make a standalone class for it instead of inheriting generic_raii
2023-01-26 19:27:36 +05:30
Kovid Goyal
2d386d87da
free more carefully making sure we dont double free 2023-01-26 17:44:59 +05:30
Kovid Goyal
4e4088c27c
... 2023-01-26 16:30:02 +05:30
Kovid Goyal
a92149c5b8
Move the compile_commands database into build dir 2023-01-26 13:27:05 +05:30
Kovid Goyal
0ec5ae02e9
DRYer 2023-01-26 09:38:37 +05:30
Kovid Goyal
ad4aeaa1a0
Fix bug reported by sanitizer 2023-01-26 09:38:08 +05:30
Kovid Goyal
49e025b565
Cleanup some code 2023-01-26 09:17:09 +05:30
Kovid Goyal
a08b99f40f
Work on supporting word marks 2023-01-25 23:22:24 +05:30
Kovid Goyal
f7bbbbaf3f
Remove a bunch on unnecessary copies when constructing output messages
Also start work on custom mark support
2023-01-25 11:48:36 +05:30
Kovid Goyal
aa11af3510
Smarter integer type handing in json_val 2023-01-25 11:04:43 +05:30
Kovid Goyal
ecc3e96da8
Fix JSON serialization of numeric types 2023-01-25 10:37:12 +05:30
Kovid Goyal
623f999a54
Allow passing speech text with shared memory 2023-01-25 10:12:55 +05:30
Kovid Goyal
83891ed63e
Code to get the memory address of a SharedMemory object 2023-01-25 09:13:00 +05:30
Kovid Goyal
1fecf2c380
Nicer debug() function, now like print() in Python
Also report HRESULT in hexadecimal form
2023-01-25 08:57:26 +05:30
Kovid Goyal
6065f1847f
Cleanup develop_speech() 2023-01-25 06:45:06 +05:30
Kovid Goyal
a8cc81af9e
Implement volume control and faster serialization of numeric types to JSON 2023-01-25 06:32:50 +05:30
Kovid Goyal
f9fb4d5504
Get speech cue events working 2023-01-24 21:43:53 +05:30
Kovid Goyal
f56708d11b
string changes 2023-01-24 20:59:58 +05:30
Kovid Goyal
5ed5b3f487
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #2003780 [Unexpected behaviour:  Marked books & Hide Empty Categories](https://bugs.launchpad.net/calibre/+bug/2003780)
2023-01-24 19:40:04 +05:30
Kovid Goyal
692a99dce6
More work on winspeech 2023-01-24 19:36:40 +05:30
Charles Haley
8467a9f0bd Bug #2003780: Unexpected behaviour: Marked books & Hide Empty Categories 2023-01-24 13:52:40 +00:00
Kovid Goyal
6829e65034
forward the exit code 2023-01-24 18:21:21 +05:30
Kovid Goyal
c0db29016b
make vim's python indent happy 2023-01-24 18:16:21 +05:30
Kovid Goyal
86041db5e4
... 2023-01-24 18:07:36 +05:30
Kovid Goyal
4d23f9649a
Cleanup develop code and dont output trailing commas for JSON 2023-01-24 18:07:08 +05:30
Kovid Goyal
a58baba395
Report type of media failed error 2023-01-24 17:50:14 +05:30
Kovid Goyal
6e4301ecad
... 2023-01-24 17:39:10 +05:30
Kovid Goyal
20f58d7211
Serialize JSON directly to cout 2023-01-24 17:34:42 +05:30
Kovid Goyal
61a16f78a8
No need for event loop just use co-routines 2023-01-24 17:11:55 +05:30
Kovid Goyal
7b47a70493
Get basic speaking working again 2023-01-24 14:12:51 +05:30
Kovid Goyal
c6ec13ae7e
More work on winspeech 2023-01-24 11:57:43 +05:30
Kovid Goyal
603dcc777e
Special case zero font size when calculating columns per screen in paged mode 2023-01-24 11:55:36 +05:30
Kovid Goyal
ce49025770
Also sort the actions in the quick highlights preferences 2023-01-24 07:34:53 +05:30
Kovid Goyal
ea64f851ef
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #2003712 [Enhancement Request: URL scheme: 'virtual_library' for show-book](https://bugs.launchpad.net/calibre/+bug/2003712)
2023-01-24 07:18:55 +05:30
Charles Haley
ba79438b31 1) Maintain compatibility with URLS that don't specify a virtual library.
2) Documentation.
2023-01-23 20:24:26 +00:00
Charles Haley
687b340b1c Enhancement #2003712: URL scheme: 'virtual_library' for show-book.
I will update the documentation in a later commit.
2023-01-23 19:22:59 +00:00
Kovid Goyal
6bc65e9dc7
Start work on porting speak() 2023-01-23 22:23:56 +05:30
Kovid Goyal
7aec1cda0d
Fix #2003729 [RecursionError when embedding metadata into PDF](https://bugs.launchpad.net/calibre/+bug/2003729) 2023-01-23 21:47:21 +05:30