| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Simplify, no need for one block in Makefile and a hacks.mk to cover
fewer architectures than atomic64.mk does.
|
|
|
|
0.38.1 (2022-07-20)
+ fz::aio_waitable now also accepts event handlers in addition to aio_waiter
- Split fz::process::kill into separate stop and kill functions
0.38.0 (2022-07-08)
+ Added readers and writers for asynchronous disk I/O operating on a buffer pool
+ Added fz::current_username()
+ Added fz::event_handler::stop_add_timer
+ Added overload for fz::event_handler::add_timer that takes a deadline
+ Added fz::file::set_modification_time
+ Added fz::get_network_interfaces
+ *nix: fz::socket can now accept Unix-domain sockets, added fz::socket::send_fd and fz::socke::read_fd
- *nix: When impersonating, limit supplementary groups to NGROUPS_MAX
|
|
0.37.2 (2022-04-29)
+ Added a null_logger that doesn't do anything
- MSW: fz::mkdir with restricted permissions now uses inheritable ACLs
- MSW: Minor performance improvements reading from fz::process and explicit cancellation of pending I/O when killing child processes.
0.37.1 (2022-04-08)
+ Added convenience functions ot fz::json
- MSW: Fixed spawning fz::process with blocking communication
0.37.0 (2022-04-01)
+ *nix: password-less impersonation can take an optional group
+ Added demo https client showcasing usage of fz::socket and fz::tls_layer
+ Added some compile-time checks for fz::sprintf arguments
+ MSW: Added fz::registry
+ Added a way to use non-blocking read/write with fz::process
- Added fz::logger_interface::log_u which assumes string arguments are in UTF-8 as opposed to the character set used by the current locale
- Disallow spawning additional threads while fz::thread_pool is in the process of being destroyed
- *nix: poll() is now mandatory, the select() based socket event loop has been removed
- Simplified fz::socket implementation through use of internal fz::poller
|
|
|
|
0.36.0 (2022-02-02)
+ Added parameter to tls_layer::set_alpn to control which peer has priority over which ALPN is chosen.
+ Added fz::hmac_sha1
+ Mutex debugging framework to detect locking order inversions that may lead to deadlocks
+ Add additional io_redirect mode to fz::process_spawn where the parent-side handles for stdin/out/err are always closed
- fz::json: Handle object members with empty string as name
- Minor performance improvements to removing timers and to spawning processes
0.35.0 (2021-12-08)
+ *nix: Added fz::forkblock which can be used to safely set FD_CLOEXEC on descriptors even if the system lacks SOCK_CLOCKEXEC, MSG_CMSG_CLOEXEC, pipe2 or accept4
+ macOS: Impersonation support
+ Added fz::tls_layer::set_unexpected_eof_cb, in some situations it may be desirable that unexpected closure is not reported as a hard errror
- Added various convenience overloads for fz::buffer
- Performance improvement for fz::json::to_string
0.34.2 (2021-10-26)
+ fz::file::open now returns fz::result
- fz::tls_layer: Additional fixes for trust path extration
- MSW: fz::local_filesys::get_next_file now handles directory contents returned by the kernel in oversized buffers with embedded nulls
0.34.1 (2021-10-19)
- *nix: Handle supplementary groups when impersonating
- *nix: fz::recv_fd now sets the MSG_CMSG_CLOEXEC flag
- *nix: fz::local_filesys::get_link_target now handles link targets larger than 1024 bytes
- MSW: Restrict DLL search path for system DLLs to the system32 directory
- fz::tls_layer: Fixed how trust path extration interacts with CRLs
0.34.0 (2021-10-11)
- MSW: Load shell32.dll and ole32.dll on-demand at runtime, it is not available in all environments
- Made fz::local_filesys movable
0.33.0 (2021-09-29)
+ MSW: Add local_filesys::begin_find_files overload accepting a directory HANDLE
+ If peer certificate chain is trusted by the system trust store, tls_session_info::get_certificates now returns the actual path to the trust anchor, use tls_session_info::get_peer_certificates to get the peer certificates as received by the server. GnuTLS 3.7.0 or later is required.
- JSON: Correctly handle \u-encoded UTF-16 surrogate pairs
0.32.0 (2021-09-14)
+ MSW: Impersonation support
- Allow more direct control over session ticket/PSK generation under TLS 1.3, requires GnuTLS 3.6.14 or later
- Ensure an error is returned if accepting a socket fails
- Fixed appending to fz::buffer
0.32.0-beta1 (2021-08-30)
+ *nix: Impersonation support
+ *nix: Sending of file descriptors over Unix Domain Sockets
* nix: Add local_filesys::begin_find_files overload accepting a directory file descriptor
+ Allow creating fz::file from a file descriptors/handle, add function to detach the descriptor/handle
+ Added fz::datetime::operator>=
+ Added fz::duration::absolute()
- fz::sprintf no longer crashes on x and X conversion specifiers if a negative signed integer is passed as argument
- Replace std::random_device as the C++ standard allows it to not be random
- JSON: Fixed crash if assigning values from nested values
- JWS: Fixed memory leak and padding of signature components
|
|
|
|
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Not committed (merge conflicts...):
net/radsecproxy/distinfo
The following distfiles could not be fetched (fetched conditionally?):
./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz
./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch
./net/djbdns/distinfo djbdns-1.05-test28.diff.xz
./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch
./net/djbdns/distinfo djbdns-1.05-multiip.diff
./net/djbdns/distinfo djbdns-cachestats.patch
|
|
|
|
|
|
0.31.1 (2021-08-09)
+ Added iterator for JSON arrays
- *nix: SIGPIPE is now set to SIG_IGN the first time a pipe or socket gets created
- Handle empty search string in replace_subscripts
|
|
0.31.0 (2021-07-28)
+ Added simple JSON parser
+ Added basic JWS generator
- Made fz::file movable
- Fixed empty creation_flag for fz::file if other flags are also passed
0.30.0 (2021-07-09)
+ Added a flag to fz::file::creation_flags to create files with permissions only granting the current user and administrators access
+ Added mkdir_permissions flags to fz::mkdir
0.29.0 (2021-07-02)
+ Added fz::tls_layer::set_min_tls_ver and for testing purposes set_max_tls_ver
+ The TLS layer now also supports server-side session resumption with TLS <= 1.2 clients not supporting session tickets
+ Added fz::rename_file
+ MSW: Added libfilezilla/glue/windows.hpp to set proper defines before including windows.h
+ Added fz::move_assign_through_move_constructor for classes that depend on normal destruction order even on move assignment
- Fixed memory leak in fz::tls_layer::set_alpn
- IPv6 listen sockets are now always created with IPV6_V6ONLY to unify behavior across platforms
- Fixes for issues found by --socketdebug
- Fixed warnings when bool arguments are passed to fz::sprintf
- Fixed warnings in fz::to_integral<bool>
0.28.0 (2021-05-03)
+ Added fz::hostname_lookup
+ Added fz::datetime::set_rfc3339
+ Added fz::load_certificates and fz::load_certificates_file
+ Added fz::base64_encode_append
- Moved some common functionality shared by multiple layers to socket_layer itself
- Fixed a crash with older versions of GnuTLS if the system trust store cannot be loaded
0.27.1 (2021-03-15)
- Fixed a socket event sequencing invariant violation in tls_layer
- Fixed query_string constructor leaving object in undefined state if set fails
- Fixed arguments passed from the templated equal_constime helper
|
|
|
|
Reported by Matthias Petermann on pkgsrc-users.
|
|
2021-03-04 - libfilezilla 0.27.0 released
New features:
Added fz::normalize_hypens to replace all hyphen-like characters in a string with the good old hyphen-minus
Added fz::pbkdf2_hmac_sha256
Added visibility_helper.hpp to simplify exporting symbols in shared libraries
Added fz::compound_rate_limited_layer to which multiple rate limiters can be dynamically added/removed
Added redirect_io parameter to fz::process::spawn
Added --enable-socketdebug configure argument to check for invariant violation when handling socket events
Added a optional preamble to server_handshake that is sent after initializing the session, but before the SERVER_HELLO
Bugfixes and minor changes:
Various fixes to socket event retriggering if socket_interface::set_event_handler is used
Fixed a nullpointer dereference in fz::tls_layer if a hostname is set prior to creating a session
2020-12-17 - libfilezilla 0.26.0 released
New features:
Added fz::buffer::capacity()
fz::buffer::append now also accepts single characters and std::vector
Added fz::nonowning_buffer
MSW: Added fz::process::handle()
*nix: Allow passing extra file descriptors to child processes
fz::to_wstring_from_utf8 now accepts std::string_view and fz::buffer
fz::replace_substrings and fz::replaced_substrings now accept string views and single characters
Bugfixes and minor changes:
Reset bucket data if it gets removed from a rate_limiter
2020-10-13 - libfilezilla 0.25.0 released
New features:
Added fz::invoker to asynchronously call functions to run in a specific thread independent of the caller's thread
Bugfixes and minor changes:
Added additional checks to fz::buffer to leave the buffer in a valid state in out-of-memory situations and to prevent mis-use
Detect a particular socket buffer tuning issue under Linux where setting a receiver buffer size shrinks the window scale factor
Reordered a few data members to reduce the amount of structure padding due to alignment
|
|
|
|
|
|
|
|
|
|
While here fix the build on SunOS, based on patches in joyent/pkgsrc#266
from mrferda.
0.24.1 (2020-08-27)
- fz::to_integral can now handle strongly typed enum return types
0.24.0 (2020-08-21)
+ Added fz::equal_consttime
- fz::sprintf now works corrcetly if arguments are passed as (w)string_view
0.23.0 (2020-07-07)
+ Added reader/writer locks
- fz::mkdir can now return the the longest created path in case of partial failures
|
|
0.22.0 (2020-05-12)
+ Added a flag to fz::file to allow creation of files with permissions only granting the current user access
+ Added fz::mkdir to create local directories, optionally recursive and with permissions to only grant the current user access to the final directory
- MSW: Improvements handling directory reparse points
- Lengthen partial certificate chains in fz::tls_info to include any found trust anchor if using the system trust store
- Mark self-signed certificates in the in fz::x509_certificate
- Fix constructing fz::uri from default-constructed string_view
0.21.0 (2020-04-20)
+ macOS: fz::spawn_detached_process can now start application bundles
+ Changed arguments of fz::local_filesys::get_next_file to be consistent with fz::local_filesys::get_file_info
- Improved error detection for fz::spawn_detached-process on *nix systems that support the pipe2 syscall with O_CLOEXEC
|
|
|
|
0.20.2 (2020-03-10)
+ Add encrypt_key and decrypt_key to fz::symmetric key
- fz::datetime::set_rfc822 now parses the zone offset
- Removed unneeded asserts from format.hpp
0.20.1 (2020-02-24)
- Fix potential crash after removing the last speed limit bucket
- TLS: Fix reported key exchange algorithm and improve details
0.20.0 (2020-02-14)
+ Added fz::symmetric_key
+ Added itertions parameter to fz::private_key::from_password
+ Added fz::base32_encode and fz::base32_decode
+ Unified all decode functions to always return a vector, added alternatives returning string with a _s suffix in the function name
+ Changed equal_insensitive_ascii to take (w)string_view
|
|
|
|
|
|
0.19.3 (2019-12-19)
- Rate limiting: Fix a divide by zero when distributing overflow
0.19.2 (2019-12-19)
+ Rate limiting: Added debt repay mechanism to bucket removal
- *nix: Fix returned permissions in fz::local_filesys::get_file_info/get_next_file
0.19.1 (2019-11-15)
+ Return error information to fz::local_filesys::begin_find_files
- Fix for version.hpp not getting installed
0.19.0 (2019-11-07)
+ Addded rate limiting code and a new rate-limited socket layer
+ Added fz::mutex::try_lock
+ Implemented libtool's library versioning scheme for shared library builds of libfilezilla
|
|
0.18.2 (2019-09-16)
+ Added operator== and != to fz::uri
|
|
2019-08-15 - libfilezilla 0.18.1 released
New features:
Added fz::buffer::resize
2019-08-02 - libfilezilla 0.18.0 released
New features:
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
Bugfixes and minor changes:
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
|
|
Also, use the new c++17 keyword in USE_LANGUAGES.
This commit is not expected to change the produced binaries on any
system where it built before.
|
|
|
|
0.17.1 (2019-06-21)
+ Added support for detached signatures
- Fixed crash if using the system trust store
0.17.0 (2019-06-17)
+ 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()
|
|
2019-04-21 - libfilezilla 0.16.0 released
New features:
Add fz::socket
Add operator*= to fz::duration
fz::event_loop can now also be created using fz::thread_pool or threadless.
Bugfixes and minor changes:
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()
|
|
natively, e.g Minix at present.
|
|
0.15.1 (2018-11-22)
+ Add argument to fz::strtok to return empty tokens
- Fix compatibility issue with Nettle < 3.3
- Fix fz::random_bytes on MinGW
- Fix memory leak in fz::buffer
0.15.0 (2018-10-19)
+ libfilezilla now depends on Nettle >= 3.1
+ Added fz::sha512, fz::sha256, fz::sha1 and fz::md5 hash functions
+ Added fz::hash_accumulator
+ Added fz::hmac_sha256 HMAC function
+ Added asymmetric encryption scheme using X25519
+ Added signature scheme using Ed25519
- Changed and documented semantics of the return value of fz::remove_file, removing a non-existing file is not an error
0.14.0 (2018-10-04)
+ Added fz::equal_insensitive_ascii
+ Added insensitive_ascii parameter to fz::starts_with and fz::ends_with
- Fixed namespace of to_wstring in wx glue
0.13.2 (2018-09-21)
- Fix regression in fz::shared_value::clear
- Fix parsing of URIs without path
0.13.1 (2018-09-10)
+ Made fz::scoped_lock movable
- Fix a few compiler warnings
|
|
0.13.0 (2018-07-16)
+ Add bool return value to replace_substrings to indicate whether something has been replaced.
+ fz::sprintf: Added %c format specifier
- MSW: Work around problematic DLL export of templates, timers now work if libfilezilla has been built as DLL
|
|
0.12.3 (2018-06-08)
+ Event handlers can now removed themselves while inside a callback
+ Added fz::query_string::pairs()
|
|
0.12.2 (2018-05-05)
+ Added parameters to base64_encode to control alphabet and padding
+ Improved performance of less_insensitive_ascii
+ *nix: Faster conversion between UTF-8 and wchar_t strings.
|
|
0.12.1 (2018-02-23)
+ Added fz::buffer::operator== and operator!=
- Fixed bug in fz::buffer::get(size_t)
0.12.0 (2018-02-16)
+ Added fz::datetime::operator bool
+ Added fz::datetime::get_rfc822 and fz::datetime::set_rfc822
|
|
0.11.2 (2018-01-05)
+ Added fz::starts_with and fz::ends_with
- Fix usage of delete in the fz::buffer destructor
|
|
0.11.1 (2017-10-30)
+ Added fz::file::fsync() to sync data to disk
|
|
0.11.0 (2017-09-29)
+ Add fz::buffer class
- *nix: fz::process::spawn no longer calls async-signal-unsafe functions between forking and calling execv in the child.
|
|
2017-08-14 - libfilezilla 0.10.1 released
Bugfixes and minor changes:
MSW: Improve handling of reparse points in fz::local_filesys
2017-07-10 - libfilezilla 0.10.0 released
New features:
Added fz::percent_encode and fz::percent_encode
Added fz::uri and fz::query_string
Added fz::less_insensitive_ascii for case-insensitive strings in maps
Bugfixes and minor changes:
Moved encoding functions from string.hpp to encode.hpp
Use pkg-config instead of cppunit-config to look for cppunit.
|
|
0.9.2 (2017-05-25)
+ Added fz::random_bytes to obtain a vector of the passed size of uniformly distributed random bytes
+ Added fz::ltrim and fz::rtim
+ Added parameter to trim functions which characters to trim
+ It is now possible to detach threads from async_task
|
|
0.9.1 (2017-02-20)
+ Added a small helper function to fz::file to get the current position in the file
+ Added another version of fz::to_wstring_from_utf8 that takes a char buffer + length
- Fixed extraction of single-character tokens in fz::strtok
|
|
2016-11-28 - libfilezilla 0.9.0 released
New features:
Added parameter to fz::to_integral to specify which value is
returned on error.
Added fz::remove_file
Added fz::hex_encode and fz::hex_decode
2016-10-25 - libfilezilla 0.8.0 released
New features:
Added fz::str_toupper_ascii to complement fz::str_tolower_ascii
Added fz::trim and fz::trimmed for removing leading and trailing
whitespace from string
Added fz::str_is_ascii
Bugfixes and minor changes:
Fixed zero-padding for x and X string format conversion specifiers
2016-10-03 - libfilezilla 0.7.1 released
Bugfixes and minor changes:
OS X: Work around a nasty bug in XCode where programs explicitly
compiled for older versions of OS X were silently pulling in
features exclusive to the new version, resulting in crashes at
runtime
MSW: Fix detection of thread creation failures
|
|
2016-07-27 - libfilezilla 0.6.1 released
Bugfixes and minor changes:
Fix UTF-8 conversion functions and added a testcase
2016-07-20 - libfilezilla 0.6.0 released
New features:
Add fz::sprintf, a safe replacement for for the C sprintf function
|
|
|
|
PR pkg/51394
|