From MAILER-DAEMON Sat Sep 19 11:07:07 2020
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1kJeSB-0006cB-34
	for mharc-bug-commoncpp@gnu.org; Sat, 19 Sep 2020 11:07:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40654)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dyfet@gnutelephony.org>)
 id 1kJeS8-0006bf-DU
 for bug-commoncpp@gnu.org; Sat, 19 Sep 2020 11:07:04 -0400
Received: from li61-87.members.linode.com ([97.107.131.87]:42838
 helo=cloud.tychosoft.com) by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <dyfet@gnutelephony.org>)
 id 1kJeS6-0008Ty-OM; Sat, 19 Sep 2020 11:07:04 -0400
Received: by cloud.tychosoft.com (Postfix, from userid 1000)
 id D5E733FE9D; Sat, 19 Sep 2020 15:06:50 +0000 (UTC)
Date: Sat, 19 Sep 2020 11:06:50 -0400
From: David Sugar <dyfet@gnutelephony.org>
To: bug-commoncpp@gnu.org
Cc: noloader@gmail.com, jmd@gnu.org
Subject: Maintenance
Message-ID: <20200919150650.GA27316@cloud.tychosoft.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Received-SPF: pass client-ip=97.107.131.87;
 envelope-from=dyfet@gnutelephony.org; helo=cloud.tychosoft.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 11:06:50
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic]
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-commoncpp>,
 <mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
 <mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2020 15:07:04 -0000

The short answer, for Jeffrey Walton, is Yes.

The reference codebase has been and will be hosted with git on Savannah.  It
is only up to 7.0.0 presently.  I am going to bring in changes originally
proposed for 7.0.1, and then start on a 7.0.2 release with additional patches
and fixes from that.  Afterward I want to focus on correctness for current
gcc compilers and c++ standards (7.1).

The question to ask is how commoncpp/ucommon relates to current c++ standards
and practices.  The original vision for this included supporting embedded use
cases and smaller code sizes than the standard library and templating offered.
uCommon, in particular, investigated the use of templating to do shallow
wrappers and generic type magic around concrete classes, rather the wholesale
code regurgitation found in stl, thereby making code generation smaller and
separation easer in shared library and plugin uses.  Nobody else seemed to
go down this path.

Common C++/uCommon also uses a different and simpler way of producing and
managing threads while including a whole bunch of thread related and
sychronization classes that are normally missing in c++.  These too should be
considered in respect to how this library will continue to relate to the c++
standard.

I am not yet sure if the lists still recognize my email address, so I guess we
will find out now.



From MAILER-DAEMON Sun Sep 20 11:55:38 2020
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1kK1gc-0004IM-Kw
	for mharc-bug-commoncpp@gnu.org; Sun, 20 Sep 2020 11:55:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59138)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dyfet@gnutelephony.org>)
 id 1kK1gX-0004Fr-8W
 for bug-commoncpp@gnu.org; Sun, 20 Sep 2020 11:55:29 -0400
Received: from li61-87.members.linode.com ([97.107.131.87]:45332
 helo=cloud.tychosoft.com) by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <dyfet@gnutelephony.org>) id 1kK1gS-000519-Kh
 for bug-commoncpp@gnu.org; Sun, 20 Sep 2020 11:55:28 -0400
Received: by cloud.tychosoft.com (Postfix, from userid 1000)
 id 08E123FE9B; Sun, 20 Sep 2020 15:55:09 +0000 (UTC)
Date: Sun, 20 Sep 2020 11:55:09 -0400
From: David Sugar <dyfet@gnutelephony.org>
To: bug-commoncpp@gnu.org
Subject: Release 7.0.1
Message-ID: <20200920155509.GA8099@cloud.tychosoft.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Received-SPF: pass client-ip=97.107.131.87;
 envelope-from=dyfet@gnutelephony.org; helo=cloud.tychosoft.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/20 11:55:09
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic]
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-commoncpp>,
 <mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
 <mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Sep 2020 15:55:30 -0000

I think I have all the changes needed for a 7.0.1 release in now.

I did bring in some downstream patches from Debian, and minimally fixed
support for openssl 1.1.  A lot of the rest was code cleanup and a few small
bug fixes, as well as getting rid of some obsolete build things we had
accumulated.  One can use either automake or cmake to configure.

I will give some time for any additional patches, suggested changes or build
fixes, and probably try to do a release by next weekend.



From MAILER-DAEMON Sun Sep 20 12:41:09 2020
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1kK2Oj-0003Bv-18
	for mharc-bug-commoncpp@gnu.org; Sun, 20 Sep 2020 12:41:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38196)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <noloader@gmail.com>)
 id 1kK2Og-00039W-TB
 for bug-commoncpp@gnu.org; Sun, 20 Sep 2020 12:41:06 -0400
Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:40902)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <noloader@gmail.com>)
 id 1kK2Of-0001xJ-BV
 for bug-commoncpp@gnu.org; Sun, 20 Sep 2020 12:41:06 -0400
Received: by mail-io1-xd32.google.com with SMTP id j2so12869071ioj.7
 for <bug-commoncpp@gnu.org>; Sun, 20 Sep 2020 09:41:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:reply-to:from:date:message-id
 :subject:to; bh=JH0ZQJ615EKAd4CsQUeuBkM2XB3ksmt04VgJ5Jwj3oI=;
 b=sGp3oJEi8I7WsKFeJktDzPcVD+6wdDIXx+Qz2BPpVfrK/lBr4G+SBEw0FLbOCwa7Rn
 +ZKAv5RO9kRyYnN7nEt017dDfHa8tWZ3sh17CJho/OOY4GV+zcsQNUf+sX/prOya3TCz
 AZjXBVxBXaFpcDbwBrwNhRZSEWUzxFmia74yHJ7OpQbEGuBRpUZaL3KsOMC8cVSWmtNl
 7TdoONaKAdTP+bIGCwVi+BExUqVbpvCl0lP77yec2noavGyoHrrM9W17a/JDE/AwKwo8
 aKp6O+lfIPIJcnDuO15r6B3i2KjKahK44ZZIJiS50KOq8u8J1p0anoo82c0fB6g/gZ07
 +H0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:reply-to
 :from:date:message-id:subject:to;
 bh=JH0ZQJ615EKAd4CsQUeuBkM2XB3ksmt04VgJ5Jwj3oI=;
 b=nn5zFq+/ILMZbjLsL50p8PjkmcbUiywL2+2AAVG2V3lTDVtkBe6NCjGFSqYRDXNmuy
 JF0bwejgDEVAan2yN4AaDt7euMQ0IYC5iszvaadnLd5Eh1CKpTXRQ5UHBnIPMURAQ6KG
 B5rX6KihXDHSONYew3CqfEHXklOSsr3LELXo6xtUAw0+fEtMWfbB2aAqBBaNhZ9cNeYU
 bN+Hvv6vM58S7Q14CjtTW5BPu2kvFFmTvN1U2lns6IdPmBYBMARHwUqcYLolgdUokULX
 fpMqE07VN5dEffLmXhOkufYBOdk/u8z9OPO+A+FLgcwIUCgL+CiDyV2qI85SYf2xmtqY
 Gn9Q==
X-Gm-Message-State: AOAM530G1Whdcg+8dhoEAi8I2wEp1tYmrODdEIG9G7JRUqZ18sTlm2lL
 E8C+HZqbv067p5V+KRY4D/D7RQ0quRgIPw5ERbaDQGv2RuiwkA==
X-Google-Smtp-Source: ABdhPJwP8cmk8OqdiFAirYTesPL8Gtr4eHp/hOUnPXbJSgMSx4flyn8U08dF+AO5KKdtM8oTVFFAPIVgs7XWe3CiPho=
X-Received: by 2002:a5d:8188:: with SMTP id u8mr36179543ion.66.1600620063596; 
 Sun, 20 Sep 2020 09:41:03 -0700 (PDT)
MIME-Version: 1.0
References: <20200920155509.GA8099@cloud.tychosoft.com>
In-Reply-To: <20200920155509.GA8099@cloud.tychosoft.com>
Reply-To: noloader@gmail.com
From: Jeffrey Walton <noloader@gmail.com>
Date: Sun, 20 Sep 2020 12:40:36 -0400
Message-ID: <CAH8yC8=W_ncJxfMgPYW-7V0wbqmBJAkYpwSTMr6MwFY9VvD3YQ@mail.gmail.com>
Subject: Re: Release 7.0.1
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::d32;
 envelope-from=noloader@gmail.com; helo=mail-io1-xd32.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-commoncpp>,
 <mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
 <mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Sep 2020 16:41:07 -0000

On Sun, Sep 20, 2020 at 11:55 AM David Sugar <dyfet@gnutelephony.org> wrote:
>
> I think I have all the changes needed for a 7.0.1 release in now.
>
> I did bring in some downstream patches from Debian, and minimally fixed
> support for openssl 1.1.  A lot of the rest was code cleanup and a few small
> bug fixes, as well as getting rid of some obsolete build things we had
> accumulated.  One can use either automake or cmake to configure.
>
> I will give some time for any additional patches, suggested changes or build
> fixes, and probably try to do a release by next weekend.

If you setup a RC branch we can take look at things before the release.

Shooting from the hip, all OpenSSL function return values should be
checked. The current code ignores return values.

Also, the C++ exception specifications should be removed. They fell
out of favor a long time ago for C++03, and are not recommended any
longer. About the only place they show up nowadays is when a
destructor throws, and it is declared with 'noexcept(false)'.

This should help. It preserves the filetimes.

IFS="" find "./" -type f -name '*.*' -print | while read -r file
do

    if ! grep -q 'throw(PersistException)' "${file}"; then
        continue
    fi

    # Display filename, strip leading "./"
    echo "$file" | tr -s '/' | cut -c 3-

    touch -a -m -r "$file" "$file.timestamp"

    sed -e 's/ throw(PersistException)//g' \
        "$file" > "$file.fixed" && \
    mv "$file.fixed" "$file"

    touch -a -m -r "$file.timestamp" "$file"
    rm "$file.timestamp"
done

Jeff


From MAILER-DAEMON Sun Sep 20 16:22:56 2020
Received: from list by lists.gnu.org with archive (Exim 4.90_1)
	id 1kK5rM-0003TR-Gn
	for mharc-bug-commoncpp@gnu.org; Sun, 20 Sep 2020 16:22:56 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47730)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dyfet@gnutelephony.org>)
 id 1kK5rK-0003Ra-Un
 for bug-commoncpp@gnu.org; Sun, 20 Sep 2020 16:22:54 -0400
Received: from li61-87.members.linode.com ([97.107.131.87]:45874
 helo=cloud.tychosoft.com) by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <dyfet@gnutelephony.org>) id 1kK5rJ-0003Zu-7Z
 for bug-commoncpp@gnu.org; Sun, 20 Sep 2020 16:22:54 -0400
Received: by cloud.tychosoft.com (Postfix, from userid 1000)
 id 35E093FE9B; Sun, 20 Sep 2020 20:22:52 +0000 (UTC)
Date: Sun, 20 Sep 2020 16:22:52 -0400
From: David Sugar <dyfet@gnutelephony.org>
To: bug-commoncpp@gnu.org
Subject: Re: Release 7.0.1
Message-ID: <20200920202252.GA10511@cloud.tychosoft.com>
References: <CAH8yC8=W_ncJxfMgPYW-7V0wbqmBJAkYpwSTMr6MwFY9VvD3YQ@mail.gmail.com>
 <2D4AAC38-61DF-4CF5-B508-F44C49FFCFA8@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2D4AAC38-61DF-4CF5-B508-F44C49FFCFA8@gmail.com>
Received-SPF: pass client-ip=97.107.131.87;
 envelope-from=dyfet@gnutelephony.org; helo=cloud.tychosoft.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/20 16:22:52
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic]
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-commoncpp>,
 <mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
 <mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Sep 2020 20:22:55 -0000

I probably should have started it as a rc branch, especially given the large
number of changes that ended up going in already, but I made one now.

I did not want to change api/interfaces in 7.0.1, but yes, we should at least
check openssl/gnutls return codes, and the exception stuff does need to be
cleaned up and become consistent with current practices.  This is especially
true in persist.

It also doesn't have to be by next weekend, that was in case I did not hear
back from anyone.

> If you setup a RC branch we can take look at things before the release.
>
> Shooting from the hip, all OpenSSL function return values should be
> checked. The current code ignores return values.
>
> Also, the C++ exception specifications should be removed. They fell
> out of favor a long time ago for C++03, and are not recommended any
> longer. About the only place they show up nowadays is when a
> destructor throws, and it is declared with 'noexcept(false)'.
>
> This should help. It preserves the filetimes.
>
> IFS="" find "./" -type f -name '*.*' -print | while read -r file
> do
>
>    if ! grep -q 'throw(PersistException)' "${file}"; then
>        continue
>    fi
>
>    # Display filename, strip leading "./"
>    echo "$file" | tr -s '/' | cut -c 3-
>
>    touch -a -m -r "$file" "$file.timestamp"
>
>    sed -e 's/ throw(PersistException)//g' \
>        "$file" > "$file.fixed" && \
>    mv "$file.fixed" "$file"
>
>    touch -a -m -r "$file.timestamp" "$file"
>    rm "$file.timestamp"
> done
>
> Jeff
>



