* properly consume PadA in MSE handshake, check for invalid Ya+PadA
* refactor: make handshake constants public (needed for test coverage)
* test: split test MSE handshakes by blocking steps
* test: use `ASSERT_TRUE` instead of `assert`
* test: fix windows crash by using `recv` and `send`
Co-authored-by: Yat Ho <46261767+tearfur@users.noreply.github.com>
* refactor: use `TR_IF_WIN32` for `LOCAL_SOCKETPAIR_AF`
Co-authored-by: Yat Ho <46261767+tearfur@users.noreply.github.com>
---------
Co-authored-by: Yat Ho <lagoho7@gmail.com>
Co-authored-by: reardonia <reardonia@github.com>
Co-authored-by: Yat Ho <46261767+tearfur@users.noreply.github.com>
* refactor: calculate raw speed by OS buffer instead of application buffer
* refactor: limit transfer speed by raw speed
* refactor: early return write if no bytes
* refactor: remove code for guessing TCP/IP overhead
* refactor: remove code for uTP overhead
* In the small view, show the action buttons when hovering anywhere over the cell
This matches the previous behavior.
* Explicitly hide/show the priority icon in the stack view
* Restore right padding on the compact view's stack view
* style fixes
* refactor: move path checking methods to base
* refactor: differentiate "empty string key" and "no key"
* fix: check full path when parsing http announce response
* fix: check full path when parsing http scrape response
* refactor: avoid copying when checking scrape info hash
* fixup! fix: check full path when parsing http scrape response
* refactor: use libevent public accessors in `handle_request()`
* chore: housekeeping in `handle_request()`
* refactor: use libevent public accessors in `make_response()`
* refactor: use libevent public accessors in `serve_file()`
* refactor: use libevent public accessors in `handle_web_client()`
* refactor: use libevent public accessors in `handle_rpc_from_json()`
* refactor: use libevent public accessors in `handle_rpc()`
* refactor: use libevent public accessors in `isHostnameAllowed()`
* refactor: use libevent public accessors in `test_session_id()`
* Setting default focus in Open URL and Add Tracker dialog box
* Additional cleanup to remove duplication of responsibility in setting focus
* Removing now un-necessary code in TorrentUrlChooserDialog.ui
* Using activates-default property to enable default action in torrent url chooser and tracker adder
* removing un-necessary focus
* Adding missing property to the accept buttons.
* Removing unintended whitespace change in
TorrentUrlChooserDialog
* Use `True` instead of `1` for booleans (GTK3)
* refactor: allow floating point values in web refresh rate
Co-authored-by: Rukario <kakashiru@yahoo.com>
* refactor: parse cookie pref according to default value type
* fixup! refactor: parse cookie pref according to default value type
---------
Co-authored-by: Rukario <kakashiru@yahoo.com>