46710 Commits

Author SHA1 Message Date
Kovid Goyal
fb95b532bd
Make MSVC happy 2023-01-27 17:44:58 +05:30
Kovid Goyal
31fe61569f
... 2023-01-27 17:30:45 +05:30
Kovid Goyal
d4a8629db8
... 2023-01-27 16:00:11 +05:30
Kovid Goyal
9b4f63c100
Cleanup some warnings from clang 2023-01-27 15:59:12 +05:30
Kovid Goyal
e2a8bab98a
Narrow the scope of ignoring the warning 2023-01-27 15:50:35 +05:30
Kovid Goyal
2b87fa400a
Cleanup wchar_raii constructors 2023-01-27 15:49:48 +05:30
Kovid Goyal
22cea8d90a
MSVC does not like std:c++11 2023-01-27 15:36:49 +05:30
Kovid Goyal
0a95d52f9e
Fix MSVC compile error 2023-01-27 15:36:32 +05:30
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