head	1.20;
access;
symbols
	pkgsrc-2026Q1:1.20.0.16
	pkgsrc-2026Q1-base:1.20
	pkgsrc-2025Q4:1.20.0.14
	pkgsrc-2025Q4-base:1.20
	pkgsrc-2025Q3:1.20.0.12
	pkgsrc-2025Q3-base:1.20
	pkgsrc-2025Q2:1.20.0.10
	pkgsrc-2025Q2-base:1.20
	pkgsrc-2025Q1:1.20.0.8
	pkgsrc-2025Q1-base:1.20
	pkgsrc-2024Q4:1.20.0.6
	pkgsrc-2024Q4-base:1.20
	pkgsrc-2024Q3:1.20.0.4
	pkgsrc-2024Q3-base:1.20
	pkgsrc-2024Q2:1.20.0.2
	pkgsrc-2024Q2-base:1.20
	pkgsrc-2024Q1:1.19.0.8
	pkgsrc-2024Q1-base:1.19
	pkgsrc-2023Q4:1.19.0.6
	pkgsrc-2023Q4-base:1.19
	pkgsrc-2023Q3:1.19.0.4
	pkgsrc-2023Q3-base:1.19
	pkgsrc-2023Q2:1.19.0.2
	pkgsrc-2023Q2-base:1.19
	pkgsrc-2023Q1:1.18.0.2
	pkgsrc-2023Q1-base:1.18
	pkgsrc-2022Q4:1.16.0.4
	pkgsrc-2022Q4-base:1.16
	pkgsrc-2022Q3:1.16.0.2
	pkgsrc-2022Q3-base:1.16
	pkgsrc-2022Q2:1.15.0.2
	pkgsrc-2022Q2-base:1.15
	pkgsrc-2022Q1:1.14.0.2
	pkgsrc-2022Q1-base:1.14
	pkgsrc-2021Q4:1.13.0.4
	pkgsrc-2021Q4-base:1.13
	pkgsrc-2021Q3:1.13.0.2
	pkgsrc-2021Q3-base:1.13
	pkgsrc-2021Q2:1.12.0.4
	pkgsrc-2021Q2-base:1.12
	pkgsrc-2021Q1:1.12.0.2
	pkgsrc-2021Q1-base:1.12
	pkgsrc-2020Q4:1.11.0.4
	pkgsrc-2020Q4-base:1.11
	pkgsrc-2020Q3:1.11.0.2
	pkgsrc-2020Q3-base:1.11
	pkgsrc-2020Q2:1.10.0.4
	pkgsrc-2020Q2-base:1.10
	pkgsrc-2020Q1:1.10.0.2
	pkgsrc-2020Q1-base:1.10
	pkgsrc-2019Q4:1.9.0.6
	pkgsrc-2019Q4-base:1.9
	pkgsrc-2019Q3:1.9.0.2
	pkgsrc-2019Q3-base:1.9
	pkgsrc-2019Q2:1.7.0.2
	pkgsrc-2019Q2-base:1.7
	pkgsrc-2019Q1:1.6.0.4
	pkgsrc-2019Q1-base:1.6
	pkgsrc-2018Q4:1.6.0.2
	pkgsrc-2018Q4-base:1.6
	pkgsrc-2018Q3:1.5.0.8
	pkgsrc-2018Q3-base:1.5
	pkgsrc-2018Q2:1.5.0.6
	pkgsrc-2018Q2-base:1.5
	pkgsrc-2018Q1:1.5.0.4
	pkgsrc-2018Q1-base:1.5
	pkgsrc-2017Q4:1.5.0.2
	pkgsrc-2017Q4-base:1.5
	pkgsrc-2017Q3:1.4.0.4
	pkgsrc-2017Q3-base:1.4
	pkgsrc-2017Q2:1.3.0.4
	pkgsrc-2017Q2-base:1.3
	pkgsrc-2017Q1:1.3.0.2
	pkgsrc-2017Q1-base:1.3
	pkgsrc-2016Q4:1.2.0.4
	pkgsrc-2016Q4-base:1.2
	pkgsrc-2016Q3:1.2.0.2
	pkgsrc-2016Q3-base:1.2
	pkgsrc-2016Q2:1.1.0.2
	pkgsrc-2016Q2-base:1.1;
locks; strict;
comment	@# @;


1.20
date	2024.04.15.22.07.05;	author wiz;	state Exp;
branches;
next	1.19;
commitid	S79QK7gocvdWZh6F;

1.19
date	2023.04.30.04.43.39;	author wiz;	state Exp;
branches;
next	1.18;
commitid	7A295yRJnhGzv5nE;

1.18
date	2023.02.01.08.59.59;	author wiz;	state Exp;
branches;
next	1.17;
commitid	4fOB9fpacnSTKNbE;

1.17
date	2023.01.03.12.51.11;	author wiz;	state Exp;
branches;
next	1.16;
commitid	n88LtsVXmsXZX58E;

1.16
date	2022.07.21.11.31.23;	author wiz;	state Exp;
branches;
next	1.15;
commitid	giCJPqnlv2voRKMD;

1.15
date	2022.05.04.05.46.46;	author wiz;	state Exp;
branches;
next	1.14;
commitid	yQHzBTCeKIwDsHCD;

1.14
date	2022.02.07.10.48.26;	author wiz;	state Exp;
branches;
next	1.13;
commitid	qsdBhe0yeY5vTFrD;

1.13
date	2021.07.29.10.28.47;	author wiz;	state Exp;
branches;
next	1.12;
commitid	q2CcHdfsqKHqZR2D;

1.12
date	2021.03.12.10.35.47;	author wiz;	state Exp;
branches;
next	1.11;
commitid	7qmeskTPtx8Lu0LC;

1.11
date	2020.09.17.10.05.44;	author jperkin;	state Exp;
branches;
next	1.10;
commitid	alJ2YwVhyFlZYnoC;

1.10
date	2019.12.31.08.46.23;	author wiz;	state Exp;
branches;
next	1.9;
commitid	ghxC9POF7NDdWPQB;

1.9
date	2019.08.16.09.40.06;	author wiz;	state Exp;
branches;
next	1.8;
commitid	2uGTwhaWXu6GDezB;

1.8
date	2019.07.20.21.21.12;	author wiz;	state Exp;
branches;
next	1.7;
commitid	cXwlrR0EA41ZnPvB;

1.7
date	2019.05.20.11.51.53;	author wiz;	state Exp;
branches;
next	1.6;
commitid	s9J5yLVQ5QjgcWnB;

1.6
date	2018.12.01.11.15.42;	author wiz;	state Exp;
branches;
next	1.5;
commitid	ZpRiE0dqLAtDs52B;

1.5
date	2017.10.02.15.22.01;	author wiz;	state Exp;
branches;
next	1.4;
commitid	eUZ3rdkA80a8uu9A;

1.4
date	2017.08.14.21.19.23;	author wiz;	state Exp;
branches;
next	1.3;
commitid	Ys1DRUNpkX9m2e3A;

1.3
date	2017.01.01.15.42.32;	author wiz;	state Exp;
branches;
next	1.2;
commitid	oZYrgyi6l8mcphAz;

1.2
date	2016.09.12.15.40.13;	author wiz;	state Exp;
branches;
next	1.1;
commitid	2rSDNigFam2BX0mz;

1.1
date	2016.04.29.11.54.06;	author wiz;	state Exp;
branches;
next	;
commitid	zSXERmVijxg75w4z;


desc
@@


1.20
log
@libfilezilla: update to 0.47.0.

New features:

    PKCS#11 support, provided GnuTLS has been compiled with PKCS#11 support enabled

Bugfixes and minor changes:

    Added parameter to fz::remove_dir that allows returning an error if the directory did not exist
    Add logging of aio reader/writers cannot be opened, fix return value of reader when trying to read nothing
    HTTP: Delay sending subsequent requests after having received a response with "Connection: close" set
    Listen sockets are now created with the SO_REUSEADDR (SO_EXCLUSIVEADDRUSE on Windows) flag set
    Added cert_type::codesign as key purpose to certificate request and creation functions in fz::tls_layer
@
text
@@@comment $NetBSD$
include/libfilezilla/aio/aio.hpp
include/libfilezilla/aio/reader.hpp
include/libfilezilla/aio/writer.hpp
include/libfilezilla/aio/xml_writer.hpp
include/libfilezilla/apply.hpp
include/libfilezilla/ascii_layer.hpp
include/libfilezilla/basic_tls_params.hpp
include/libfilezilla/buffer.hpp
include/libfilezilla/encode.hpp
include/libfilezilla/encryption.hpp
include/libfilezilla/event.hpp
include/libfilezilla/event_handler.hpp
include/libfilezilla/event_loop.hpp
include/libfilezilla/file.hpp
include/libfilezilla/format.hpp
include/libfilezilla/forward_like.hpp
include/libfilezilla/fsresult.hpp
include/libfilezilla/glue/unix.hpp
include/libfilezilla/glue/wx.hpp
include/libfilezilla/glue/wxinvoker.hpp
include/libfilezilla/hash.hpp
include/libfilezilla/hostname_lookup.hpp
include/libfilezilla/http/client.hpp
include/libfilezilla/http/client_request.hpp
include/libfilezilla/http/client_response.hpp
include/libfilezilla/http/digest.hpp
include/libfilezilla/http/headers.hpp
include/libfilezilla/impersonation.hpp
include/libfilezilla/invoker.hpp
include/libfilezilla/iputils.hpp
include/libfilezilla/json.hpp
include/libfilezilla/jws.hpp
include/libfilezilla/libfilezilla.hpp
include/libfilezilla/local_filesys.hpp
include/libfilezilla/logger.hpp
include/libfilezilla/mutex.hpp
include/libfilezilla/nonowning_buffer.hpp
include/libfilezilla/optional.hpp
include/libfilezilla/private/defs.hpp
include/libfilezilla/private/visibility.hpp
include/libfilezilla/process.hpp
include/libfilezilla/rate_limited_layer.hpp
include/libfilezilla/rate_limiter.hpp
include/libfilezilla/recursive_remove.hpp
include/libfilezilla/rwmutex.hpp
include/libfilezilla/shared.hpp
include/libfilezilla/signature.hpp
include/libfilezilla/socket.hpp
include/libfilezilla/string.hpp
include/libfilezilla/thread.hpp
include/libfilezilla/thread_pool.hpp
include/libfilezilla/time.hpp
include/libfilezilla/tls_info.hpp
include/libfilezilla/tls_layer.hpp
include/libfilezilla/tls_params.hpp
include/libfilezilla/tls_system_trust_store.hpp
include/libfilezilla/translate.hpp
include/libfilezilla/uri.hpp
include/libfilezilla/util.hpp
include/libfilezilla/version.hpp
include/libfilezilla/visibility_helper.hpp
include/libfilezilla/xml.hpp
lib/libfilezilla.la
lib/pkgconfig/libfilezilla.pc
share/locale/an/LC_MESSAGES/libfilezilla.mo
share/locale/ar/LC_MESSAGES/libfilezilla.mo
share/locale/az/LC_MESSAGES/libfilezilla.mo
share/locale/bg_BG/LC_MESSAGES/libfilezilla.mo
share/locale/ca/LC_MESSAGES/libfilezilla.mo
share/locale/ca_ES@@valencia/LC_MESSAGES/libfilezilla.mo
share/locale/co/LC_MESSAGES/libfilezilla.mo
share/locale/cs_CZ/LC_MESSAGES/libfilezilla.mo
share/locale/cy/LC_MESSAGES/libfilezilla.mo
share/locale/da/LC_MESSAGES/libfilezilla.mo
share/locale/de/LC_MESSAGES/libfilezilla.mo
share/locale/el/LC_MESSAGES/libfilezilla.mo
share/locale/es/LC_MESSAGES/libfilezilla.mo
share/locale/et/LC_MESSAGES/libfilezilla.mo
share/locale/eu/LC_MESSAGES/libfilezilla.mo
share/locale/fa_IR/LC_MESSAGES/libfilezilla.mo
share/locale/fi_FI/LC_MESSAGES/libfilezilla.mo
share/locale/fr/LC_MESSAGES/libfilezilla.mo
share/locale/gl_ES/LC_MESSAGES/libfilezilla.mo
share/locale/he_IL/LC_MESSAGES/libfilezilla.mo
share/locale/hr/LC_MESSAGES/libfilezilla.mo
share/locale/hu_HU/LC_MESSAGES/libfilezilla.mo
share/locale/hy/LC_MESSAGES/libfilezilla.mo
share/locale/id_ID/LC_MESSAGES/libfilezilla.mo
share/locale/is/LC_MESSAGES/libfilezilla.mo
share/locale/it/LC_MESSAGES/libfilezilla.mo
share/locale/ja_JP/LC_MESSAGES/libfilezilla.mo
share/locale/kab/LC_MESSAGES/libfilezilla.mo
share/locale/ko_KR/LC_MESSAGES/libfilezilla.mo
share/locale/ky/LC_MESSAGES/libfilezilla.mo
share/locale/lo_LA/LC_MESSAGES/libfilezilla.mo
share/locale/lt_LT/LC_MESSAGES/libfilezilla.mo
share/locale/lv_LV/LC_MESSAGES/libfilezilla.mo
share/locale/mk_MK/LC_MESSAGES/libfilezilla.mo
share/locale/nb_NO/LC_MESSAGES/libfilezilla.mo
share/locale/ne/LC_MESSAGES/libfilezilla.mo
share/locale/nl/LC_MESSAGES/libfilezilla.mo
share/locale/nn_NO/LC_MESSAGES/libfilezilla.mo
share/locale/oc/LC_MESSAGES/libfilezilla.mo
share/locale/pl_PL/LC_MESSAGES/libfilezilla.mo
share/locale/pt_BR/LC_MESSAGES/libfilezilla.mo
share/locale/pt_PT/LC_MESSAGES/libfilezilla.mo
share/locale/ro_RO/LC_MESSAGES/libfilezilla.mo
share/locale/ru/LC_MESSAGES/libfilezilla.mo
share/locale/sk_SK/LC_MESSAGES/libfilezilla.mo
share/locale/sl_SI/LC_MESSAGES/libfilezilla.mo
share/locale/sr/LC_MESSAGES/libfilezilla.mo
share/locale/sv/LC_MESSAGES/libfilezilla.mo
share/locale/th_TH/LC_MESSAGES/libfilezilla.mo
share/locale/tr/LC_MESSAGES/libfilezilla.mo
share/locale/uk_UA/LC_MESSAGES/libfilezilla.mo
share/locale/vi_VN/LC_MESSAGES/libfilezilla.mo
share/locale/zh_CN/LC_MESSAGES/libfilezilla.mo
share/locale/zh_TW/LC_MESSAGES/libfilezilla.mo
@


1.19
log
@libfilezilla: update to 0.42.2.

0.42.2 (2023-04-25)

- Further HTTP client fixes

0.42.1 (2023-04-21)

- Small HTTP client improvements to force IPv4/IPv6 for new connections, add a header count limit, and to make abuffer pool optional

0.42.0 (2023-04-12)

+ Added an HTTP client
- Sources are now distributed in a .tar.xz
- buffer_writer now clears the buffer when opened
- Fixes and performance improvements for fz::xml::parser
- *nix: fz::file::size() now returns -1 on character devices
@
text
@d8 1
d17 1
d56 1
@


1.18
log
@libfilezilla: update to 0.41.0.

0.41.0 (2023-01-12)

+ Added fz::xml::parser and fz::xml::namespace_parser
+ Added fz::is_valid_utf8
+ Added fz::utf16le_to_utf8_append and fz::utf16be_to_utf8_append
@
text
@d22 5
@


1.17
log
@libfilezilla: update to 0.40.0.

0.40.0 (2022-12-12)

+ Added fz::unicode_codepoint_to_utf8_append
+ Added fz::strtokenizer
+ Added fz::check_certificate_status

0.39.2 (2022-10-11)

- Fixed removing aio_waiters/event_handlers from aio_waitable
- Fixed start offset in view_reader
- Fix buffer_writer not releasing added buffers

0.39.1 (2022-09-12)

- MSW: Fixed a possible hang in fz::process:kill

0.39.0 (2022-09-05)

+ Added readwrite mode to fz::file.
+ MSW: Added fz::dll and fz::shdlls glue
+ Added fz::ascii_layer
- *nix: Fixed mmap error handling in fz::aio_buffer_pool
- Fixed a potential deadlock in the aio code
- Fixed an issue with calling conventions on 32bit Windows
- MSW: fz::datetime::get_tm now works for dates past Y2K38 on toolchains with 32bit time_t
- MSW: Fixed an error reading from fz::process
@
text
@d5 1
d55 1
@


1.16
log
@libfilezilla: update to 0.38.1.

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
@
text
@d6 1
@


1.15
log
@libfilezilla: update to 0.37.2.

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
@
text
@d2 3
@


1.14
log
@libfilezilla: update to 0.36.0.

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
@
text
@a12 1
include/libfilezilla/glue/windows.hpp
@


1.13
log
@libfilezilla: update to 0.31.0.

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
@
text
@d11 1
d18 1
@


1.12
log
@libfilezilla: update to 0.27.0.

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
@
text
@d12 1
d16 1
d19 2
a28 1
include/libfilezilla/private/windows.hpp
@


1.11
log
@libfilezilla: Update to 0.24.1.

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
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.10 2019/12/31 08:46:23 wiz Exp $
d13 1
d15 1
d21 1
d45 1
@


1.10
log
@libfilezilla: update to 0.19.3.

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
@
text
@d1 1
a1 1
@@comment $NetBSD$
d27 1
@


1.9
log
@libfilezilla: update to 0.18.1.

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
@
text
@d24 2
d40 1
@


1.8
log
@libfilezilla: update to 0.17.1.

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()
@
text
@a37 1
include/libfilezilla/version.hpp
@


1.7
log
@libfilezilla: update to 0.16.0.

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()
@
text
@d17 1
d32 4
d41 54
@


1.6
log
@libfilezilla: update to 0.15.1.

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
@
text
@d11 1
d26 1
@


1.5
log
@libfilezilla: update to 0.11.0.

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.
@
text
@d5 1
d12 1
d24 1
@


1.4
log
@Updated libfilezilla to 0.10.1.

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.
@
text
@d3 1
@


1.3
log
@Updated libfilezilla to 0.9.0.

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
@
text
@d3 1
d25 1
@


1.2
log
@Updated libfilezilla to 0.6.1.

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
@
text
@d22 1
@


1.1
log
@Import libfilezilla-0.5.0 as net/libfilezilla.

libfilezilla is a free, open source C++ library, offering some basic
functionality to build high-performing, platform-independent programs.
Some of the highlights include:

* A typesafe, multi-threaded event system that's very simple to use
  yet extremely efficient
* Timers for periodic events
* A datetime class that not only tracks timestamp but also their
  accuracy, which simplifies dealing with timestamps originating from
  different sources
* Simple process handling for spawning child processes with redirected
  I/O
@
text
@d7 1
@

