Simon Laux
|
9d83057a71
|
remove print from test
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
8ce11ac62f
|
found another segfault:
this time in batch_set_config
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
918ec85767
|
restore same configure behaviour as desktop:
make configure restart io with the old configuration if it had one on error
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
f3a9ab6d23
|
fix the typos
thanks to ralphtheninja for finding them
|
2022-07-05 15:55:40 +02:00 |
|
Franz Heinzmann (Frando)
|
e4def6a44d
|
Increase online test timeouts for CI
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
4b5c194ef3
|
make sure to use dc_str_unref instead of free
on cstrings returned/owned by rust
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
97e2d85b28
|
Update deltachat-ffi/deltachat.h
Co-authored-by: bjoern <r10s@b44t.com>
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
81bc7bd7bf
|
Update deltachat-ffi/deltachat.h
Co-authored-by: bjoern <r10s@b44t.com>
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
f53c456e50
|
remove unneeded context
thanks to link2xt for pointing that out
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
64fa5675a9
|
reintroduce segfault test script
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
1f0bdfa704
|
apply link2xt's suggestions:
- unref jsonrpc_instance in same thread it was created in
- increase `max_queue_size` from 1 to 1000
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
5ac347b7ae
|
make it more idiomatic:
rename `ContactObject::from_dc_contact -> `ContactObject::try_from_dc_contact`
|
2022-07-05 15:55:40 +02:00 |
|
Simon Laux
|
40fa2d4120
|
adress dig's comments
- description in cargo.toml
- impl From<EventType> for EventTypeName
- rename `CommandApi::new_from_arc` -> `CommandApi::from_arc`
- pre-allocate if we know the entry count already
- remove unused enumerate
- remove unused serde attribute comment
- rename `FullChat::from_dc_chat_id` -> `FullChat::try_from_dc_chat_id`
|
2022-07-05 15:55:40 +02:00 |
|
Franz Heinzmann (Frando)
|
aaf27e4434
|
fix docs
|
2022-07-05 15:55:40 +02:00 |
|
Franz Heinzmann (Frando)
|
2df10857ca
|
Improve documentation
|
2022-07-05 15:55:40 +02:00 |
|
Franz Heinzmann (Frando)
|
7eae3a1072
|
Naming consistency: Use DeltaChat not Deltachat
|
2022-07-05 15:55:40 +02:00 |
|
Franz Heinzmann (Frando)
|
7fc162543a
|
Improve JSON-RPC CI, no need to build things multiple times
|
2022-07-05 15:55:40 +02:00 |
|
Franz Heinzmann (Frando)
|
e7da0672ae
|
Fix method name casings and cleanups
|
2022-07-05 15:55:38 +02:00 |
|
Simon Laux
|
69d9d48ae4
|
changelog entry about the jsonrpc
|
2022-07-05 15:54:31 +02:00 |
|
Franz Heinzmann (Frando)
|
802677222b
|
remove debug logs
|
2022-07-05 15:54:00 +02:00 |
|
Simon Laux
|
d7b9febc33
|
update todo document
remove specific api stuff for now,
we now have the an incremental aproach on moving
not the all at-once effort I though it would be
|
2022-07-05 15:54:00 +02:00 |
|
Franz Heinzmann (Frando)
|
1d347f7369
|
Bump yerpc to 0.3.1 with fix for axum server
|
2022-07-05 15:53:58 +02:00 |
|
Franz Heinzmann (Frando)
|
e3fa42fe88
|
don't wait for IO on webserver start
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
2f00b098ac
|
improve test setup and code style
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
bdd4aa0f10
|
use multi-threaded runtime in JSON-RPC webserver
|
2022-07-05 15:50:03 +02:00 |
|
Simon Laux
|
6fee4fd878
|
expose anyhow errors
feature name was wrong
|
2022-07-05 15:50:03 +02:00 |
|
Simon Laux
|
60d3a3cacf
|
remove emtpy file
allow unused code for new_from_arc
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
4bb1980f8d
|
try to fix ci
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
35b70b1d1b
|
fix ci
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
fd53b80c17
|
use stable toolchain not 1.56.0
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
978e4aec82
|
Fix CFFI for JSON-RPC changes
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
329f498651
|
improve docs, fix example
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
035e208e4f
|
Improve docs.
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
3404996fdd
|
Improvements to typescript package
|
2022-07-05 15:50:03 +02:00 |
|
Franz Heinzmann (Frando)
|
97e0e0137a
|
Changes for tokio compat, upgrade to yerpc 0.3
This also changes the webserver binary to use axum in place of tide.
|
2022-07-05 15:49:59 +02:00 |
|
Simon Laux
|
659e48bd3f
|
improve naming
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
271d54e420
|
commit types.ts
that dc-node has everything it needs to provide @deltachat/jsonrpc-client
without an extra ts compile step
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
9984ee5eb2
|
add @deltachat/jsonrpc-client
to make sure its dependencies are installed, too
whwn installing dc-node
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
136bec0273
|
disable jsonrpc by default
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
c5ff7427be
|
put jsonrpc stuff in own module
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
2319dfc3eb
|
remove selectAccount from highlevel client
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
d8d26b9cae
|
activate other tests again
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
d93622bc84
|
fix closing segfault
thanks again to link2xt for figguring this out
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
2fde4962a1
|
break loop on empty response
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
29a5d73f94
|
call a jsonrpc function in segfault example
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
b51814aaaa
|
add jsonrpc feature flag
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
63e7179191
|
add jsonrpc crate to set_core_version
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
9915803252
|
add some files to npm ignore
that don't need to be in the npm package
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
e12aeb7bd8
|
add json api to cffi and expose it in dc node
|
2022-07-05 15:36:45 +02:00 |
|
Simon Laux
|
346fab7f26
|
fix compile after rebase
|
2022-07-05 15:36:45 +02:00 |
|