Igor Katson
fa05fe8376
Box<[u8]> instead of Vec<u8> for ByteBufOwned
2024-03-29 13:44:10 +00:00
Igor Katson
f42de46878
Revert "Box<[u8]> instead of Vec<u8> for ByteBufOwned"
...
This reverts commit deee41cd93 .
2024-03-29 13:00:57 +00:00
Igor Katson
deee41cd93
Box<[u8]> instead of Vec<u8> for ByteBufOwned
2024-03-29 11:00:58 +00:00
Matt Joiner
b184354c2f
Make the announce info field optional
2024-03-24 18:27:08 +11:00
Igor Katson
2778d46bb3
End-to-end unit test ( #90 )
...
* First implementation of create_torrent_file
* Test harness for e2e preparing
* Saving
* Continuing test harness
* Continuing test harness
* Continuing test harness
* All servers are running
* Full e2e harness done
* Test e2e harness working fine
* Remove lints
* injecting faults
* The e2e test runs continuously
* e2e test
* Add a test for create_torrent
* Nothing
* Nothing, just tweaking the numberes
* Update tokio, remove custom tempfile shim
2024-03-05 09:18:22 +00:00
Igor Katson
5d6ecb8065
Tiny refactor for stream types
2024-03-02 11:18:38 +00:00
Igor Katson
466cad06e0
Make a stream merging function
2024-03-02 11:12:08 +00:00
Igor Katson
3a1d0c3ac9
Tiny refactor: simplify a few methods by removing initial_peers propagated too deep down
2024-03-02 10:57:32 +00:00
Igor Katson
a6ebecee97
Report size to trackers
2024-03-01 07:54:27 +00:00
Igor Katson
5488e1d40f
Split up a couple large functions
2024-02-28 20:27:45 +00:00
Igor Katson
340d54eafa
tiny: do not announce if starting paused
2024-02-28 20:06:02 +00:00
Igor Katson
a001bb8c97
Shorten Pin<Box to BoxFuture
2024-02-27 08:14:39 +00:00
Igor Katson
34f3ec6c29
Inline(never) more things for rqbit(bin) to compile faster
2024-02-26 23:08:47 +00:00
Igor Katson
f42007f436
This one makes it better for sure
2024-02-26 22:59:54 +00:00
Igor Katson
15c078619c
Compile times are even worse now
2024-02-26 22:41:36 +00:00
Igor Katson
18f22cf323
Simplify cancellation as peer_rx doesnt need a token no longer
2024-02-26 20:45:21 +00:00
Igor Katson
d3f017430b
Comment updates
2024-02-26 09:57:09 +00:00
Igor Katson
70c59834ba
Simplify the trait for tracker comms
2024-02-26 09:47:46 +00:00
Igor Katson
e263441fb6
Better cancellation
2024-02-26 09:25:01 +00:00
Igor Katson
51dba8ab67
Remove unused field
2024-02-26 08:55:53 +00:00
Igor Katson
3a7207265f
Make force_tracker_interval be used again
2024-02-18 20:21:12 +00:00
Igor Katson
76b7d23149
Clippy
2024-02-18 20:16:18 +00:00
Igor Katson
f5ccb8632b
Cancellation... It compiles now at least with latest changes, but not sure if they work or are correct
2024-02-18 20:11:12 +00:00
Igor Katson
1582d16cc5
Fix unpause
2024-02-17 21:13:57 +00:00
Igor Katson
95769cca6a
Start calling trackers before going live
2024-02-17 11:14:40 +00:00
Igor Katson
c8189de3d2
Merge pull request #72 from jabedude/bep52-magnet-support
...
Add support for BTv2 magnet links
2024-01-08 11:27:27 +00:00
Joshua Abraham
0836b651a7
Add support for BTv2 magnet links
2024-01-07 20:57:10 -06:00
Igor Katson
d5d98aff60
Extract ReadBuf logic into a separate struct
2024-01-02 18:36:07 +00:00
Igor Katson
09252c0397
Remove "read_one" macro
2024-01-02 18:36:07 +00:00
Igor Katson
2017c5ec94
Add an HTTP API endpoint + UI widgets to stream logs ( #49 )
...
* Added JSON logs to Desktop
* Move logging config into librqbit for reuse
* Log printer now available in both Desktop and Web UI
* Fix JS type error
2023-12-09 00:26:14 +00:00
Igor Katson
0751dbc5fc
Fix a bug that made it impossible to add torrents in desktop
2023-12-08 09:41:54 +00:00
Igor Katson
bed7433d8e
Use tokio_util::CancellationToken everywhere
2023-12-07 10:22:17 +00:00
Igor Katson
9cbe16b387
settings dialog works now and reloads the session properly
2023-12-06 23:18:06 +00:00
Igor Katson
a3475784e9
Initial commit for desktop configuration. Broken now
2023-12-06 14:30:32 +00:00
Igor Katson
bc243143e5
Do not announce when listing torrents
2023-12-05 23:31:04 +00:00
Igor Katson
156f83dbee
Downgrade an error to debug
2023-12-05 22:24:22 +00:00
Igor Katson
6bb5d01c0f
Announcing port on DHT
2023-12-05 21:17:37 +00:00
Igor Katson
b15815d12f
Adding options to test downloading from another instance
2023-12-05 20:10:09 +00:00
Igor Katson
65c69f576b
Code fully compiles for processing incoming peers
2023-12-05 20:10:09 +00:00
Igor Katson
41fb3bfd37
Accepting TCP connections + publishing = works. Still yet to pass it to the live torrent
2023-12-05 20:10:09 +00:00
Igor Katson
71d49a88b6
Create TCP listener
2023-12-05 20:10:09 +00:00
Igor Katson
9481ffcb32
Try to fix #41
2023-12-05 18:29:43 +00:00
Igor Katson
006d83d6a7
Update docs, cleanup for 4.0.0 release
2023-12-03 12:14:50 +00:00
Igor Katson
fc62653727
Default subfolder for multi-file torrents
2023-12-03 10:18:34 +00:00
Igor Katson
28c2db2a37
Made changes for Desktop app to work
2023-12-02 21:12:15 +00:00
Igor Katson
fe04e17d63
Other changes for Tauri
2023-12-02 15:59:20 +00:00
Igor Katson
99db087cf1
Improving typescript types
2023-12-02 15:35:26 +00:00
Igor Katson
4078eacf1d
Better error display in UI
2023-12-01 11:28:35 +00:00
Igor Katson
5ee9390bb1
Initial peers now passed to read_metainfo_from_peer_receiver
2023-12-01 09:44:51 +00:00
Igor Katson
f337ab1837
Pass back peers from Web UI when adding a magnet in attempt to speed it up
2023-12-01 09:30:23 +00:00