HomeSolus

Update libfilezilla to 0.18.0

Authored by kyrios123 on Jun 27 2019, 7:58 PM.

Description

Update libfilezilla to 0.18.0

Summary:

  • Added fz::spawn_detached_process
  • Add operator+ to fz::duration
  • *nix: If available, use eventfd instead of a self-pipe
  • fz::to_integral and fz::hex_decode now work with string literals
  • Added fz::listen_socket::fast_accept that only returns a descriptor instead of a fully-initialized fz::socket for use in a tight accept-and-dispatch loop
  • Functions in libfilezilla/iputils.hpp now take string_view as arguments
  • Added fz::socket::set_flags which can atomically enable or disable flags
  • fz::socket not returns an error instead of silently failing in case of file descriptor exhaustion
  • Fix socket errors sometimes not being forwarded in fz::tls_layer when when writing fails in the underlying layer
  • Fix double-closing of socket descriptios if connection establishment fails
  • fz::tls_layer now fails the handshake instead of waiting indefinitely if started on a layer that has progressed passed the connected state
  • Small compile-time improvements to fz::sprintf
  • Added support for detached signatures
  • Fixed crash if using the system trust store
  • libfilezilla now requires C++17
  • Changed a lot of functions to use std::string_view
  • Added fz::socket_layer as base class for layers on top of sockets
  • Added fz::tls_layer, a Transport Layer Security layer, requiring GnuTLS 3.5.7 or later
  • Added fz::translate for gettext-style translatable strings. GNU Gettext is now a built-time (but not runtime) dependency
  • Added fz::bitscan and fz::bitscan_reverse to get the index of least and most significant bit set
  • Added fz::logger_interface as a base for logging system
  • *nix: Small speed-up of fz::local_filesys through the use of fstatat()
  • Add fz::socket
  • Add operator*= to fz::duration
  • fz::event_loop can now also be created using fz::thread_pool or threadless.
  • fz::async_task now releases the thread back to the pool immediately when the task has completed without waiting for the join
  • *nix: Fix file descriptor leaks on exec()

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan: Successfully build filezilla 3.44.1 against this package

Reviewers: Triage Team, JoshStrobl

Reviewed By: Triage Team, JoshStrobl

Subscribers: JoshStrobl

Differential Revision: https://dev.getsol.us/D6622

Details

Committed
kyrios123Aug 11 2019, 8:07 PM
Pushed
kyrios123Aug 11 2019, 8:07 PM
Reviewer
Triage Team
Differential Revision
D6622: Update libfilezilla to 0.18.0
Parents
R1687:84e4b64e9288: Update libfilezilla to 0.15.1
Branches
Unknown
Tags
Unknown
References
tag: libfilezilla-0.18.0-24