Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2020 02:57:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245090] [maintainer-update] www/wt update to v4.3.0
Message-ID:  <bug-245090-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245090

            Bug ID: 245090
           Summary: [maintainer-update] www/wt update to v4.3.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: info@babaei.net

Created attachment 212743
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212743&action=
=3Dedit
www/wt v4.2.2 to v4.3.0 patch file

https://www.webtoolkit.eu/wt/doc/reference/html/Releasenotes.html

Wt 4.3.0 mainly adds the ability to redirect logging to a custom logging
function, and login and transport encryption to the mail client, among some
other fixes and tweaks.
Logging redirection (issue #7240)

Before, it was possible to send logging to a file or an std::ostream, and
configure which messages were logged in wt_config.xml. Wt 4.3.0 extends this
with the ability to send all logging to a function, allowing users to redir=
ect
Wt's logs to whathever logging framework they prefer to use.

The few log messages coming from Wt::Dbo would always be logged to std::cer=
r.
It is now possible to change this to use Wt's logger, or a custom log funct=
ion.

To allow for this new functionality, we introduced an abstract WLogSink cla=
ss,
and the following functions:

    WServer::setCustomLogger(): sets a custom logger on the WServer level
    Wt::Dbo::setCustomLogger(): sets a custom logger globally for all of
Wt::Dbo
    Wt::Dbo::logToWt(): sends all of Wt::Dbo's logging to Wt's logger

Mail client: support for login and encryption (issue #7444)

We added basic support for PLAIN and LOGIN authentication methods, and
encryption using StartTLS or just simple TLS.

You can enable authentication with Client::enableAuthentication(), and
encryption with Client::setTransportEncryption(), or using the configuration
properties smtp-auth-username, smtp-auth-password, smtp-auth-method, and
smtp-transport-encryption.
Other changes

Some small changes in behaviour that you may want to be aware of:

    Wt::Auth: lost password tokens used to be removed as soon as the link w=
as
used, even when they were not actually used to change the password. Now, the
token will stay valid until the password is actually changed. Also, if the
password is changed through other means, the update password token is
invalidated.
    WCanvasPaintDevice: instead of stopping the drawing entirely when
drawImage() fails (e.g. because of a missing image), the image will be skip=
ped
but drawing will continue. An error will be logged to the console.
    Issue #7060: fixed Request::clientAddress() when behind a reverse proxy=
 to
be the same as WEnvironment::clientAddress(), and as mentioned in the
documentation.
    Issue #7404: reparenting of popup widgets should only stop at scroll ba=
rs.

Other changes and fixes:

    WLength: added LengthUnit::ViewportWidth, LengthUnit::ViewportHeight,
LengthUnit::ViewportMin, and LengthUnit::ViewportMax.
    Updated the composer and filetreetable examples to use WLocalDateTime
rather than OS specific functions.
    Refactored the treelist example.
    Wt::Dbo:
        added query parsing implementation based on X3 instead of Spirit Qi,
which reduces compile time and memory usage.
        added SqlStatement::columnCount(). This makes it possible to create
query_result_traits for result types with a variable number of columns, like
std::vector.
    WModelIndex now has a proper ordering, even for raw indexes. This means
they can properly be inserted into and retrieved from a std::set.
    WServer: documented the schedule() function.
    wthttp: added child process id to some of the logging related to dedica=
ted
session processes

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245090-7788>