Sync differences from branch 'master' into 'devel' after release 1.13.3

This commit is contained in:
Matej Kenda 2024-04-05 11:47:42 +02:00
parent 534c12415e
commit bd4560123f
23 changed files with 140 additions and 29 deletions

View File

@ -1,6 +1,37 @@
This is the changelog file for the POCO C++ Libraries.
Release 1.13.3 (2024-04-04)
===========================
Summary of Changes:
This is a bugfix release.
Security Fixes:
- GH #4496 Upgrade bundled libexpat to 2.6.2
Features, Enhancements and Third Party Updates:
- GH #4488 Add Poco::Util::Timer::idle() method to check if timer has any tasks scheduled
- GH #3807 DNS.resolve() should not be sorted in HostEntry::removeDuplicates()
- GH #4515 Upgrade bundled SQLite to 3.45.2
- PR #4517 Optimize Net module for Android
Bug Fixes and Improvements:
- GH #4505 ODBC Unicode wrappers do not check for null length pointers
- GH #4492 Poco::BasicMemoryStreamBuf is missing seekpos()
- GH #4486 DateTimeFormat RFC1036 Sunday name is short (should be long)
- GH #4468 Poco::URI: don't lowercase host part if it's a Unix domain socket
- GH #4450 Error between Poco::ActiveRecord and Poco::Data::PostgreSQL
- GH #4435 SecureStreamSocket is not thread-safe
- GH #4415 SecureSocketImpl::reset shouldn't close socket
- GH #3857 Thread_POSIX.cpp shouldn't convert thread IDs to long
- GH #3725 secure socket receiveTimeout throwing after configured timeout * 2
Release 1.13.2 (2024-02-19)
===========================

View File

@ -65,3 +65,4 @@ Andrew Auclair
Jochen Sprickerhof
Jesse Hoogervorst
Aron Budea
zhuzeitou

View File

@ -11,5 +11,6 @@ vc.project.compiler.include = ..\\Foundation\\include
vc.project.compiler.defines.shared = ${vc.project.name}_EXPORTS
vc.project.compiler.defines.debug_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.defines.release_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.solution.create = true
vc.solution.include = testsuite\\TestSuite

View File

@ -60,6 +60,7 @@ public:
OP_GE, // >=
OP_SHR, // >>
OP_SHR_ASSIGN, // >>=
OP_SPACESHIP, // <=>
OP_ASSIGN, // =
OP_EQ, // ==
OP_NOT, // !

View File

@ -125,6 +125,14 @@ public:
const std::string& getLibrary() const;
/// Returns the symbol's library.
void setOrder(std::size_t order);
/// Sets the order of the symbol within its container.
///
/// Currently only used for struct/class members.
std::size_t getOrder() const;
/// Returns the order of the symbol within its container.
const Attributes& attrs() const;
/// Returns the symbol's attributes.
@ -175,6 +183,7 @@ private:
int _line;
std::string _package;
std::string _library;
std::size_t _order;
Attributes _attrs;
std::string _attributeList;
@ -245,6 +254,12 @@ inline const std::string& Symbol::getLibrary() const
}
inline std::size_t Symbol::getOrder() const
{
return _order;
}
inline const Attributes& Symbol::attrs() const
{
return _attrs;

View File

@ -66,6 +66,7 @@ OperatorToken::OperatorToken()
_opMap[">="] = i++;
_opMap[">>"] = i++;
_opMap[">>="] = i++;
_opMap["<=>"] = i++;
_opMap["="] = i++;
_opMap["=="] = i++;
_opMap["!"] = i++;
@ -194,8 +195,14 @@ void OperatorToken::finish(std::istream& istr)
{
_value += (char) istr.get();
next = (char) istr.peek();
}
if (next == '=') _value += (char) istr.get();
}
else if (next == '=')
{
_value += (char) istr.get();
next = (char) istr.peek();
if (next == '>') _value += (char) istr.get();
}
break;
case '>':
if (next == '>')

View File

@ -50,6 +50,7 @@ void NameSpace::addSymbol(Symbol* pSymbol)
{
poco_check_ptr (pSymbol);
pSymbol->setOrder(_symbols.size());
_symbols.insert(SymbolTable::value_type(pSymbol->name(), pSymbol));
}

View File

@ -31,7 +31,8 @@ Symbol::Symbol():
_id(_nextId++),
_pNameSpace(0),
_access(ACC_PUBLIC),
_line(-1)
_line(-1),
_order(0)
{
}
@ -41,7 +42,8 @@ Symbol::Symbol(const std::string& name, NameSpace* pNameSpace):
_name(name),
_pNameSpace(pNameSpace),
_access(ACC_PUBLIC),
_line(-1)
_line(-1),
_order(0)
{
if (_pNameSpace)
_pNameSpace->addSymbol(this);
@ -103,6 +105,12 @@ void Symbol::setLibrary(const std::string& library)
}
void Symbol::setOrder(std::size_t order)
{
_order = order;
}
std::string Symbol::fullName() const
{
std::string fullName;

View File

@ -7,4 +7,5 @@ vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = TestSuite_vs90.vcproj
vc.project.compiler.include = ..\\..\\Foundation\\include
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.project.linker.dependencies = iphlpapi.lib

View File

@ -12,5 +12,6 @@ vc.project.compiler.defines = POCO_NO_AUTOMATIC_LIBS
vc.project.compiler.defines.shared = ${vc.project.name}_EXPORTS
vc.project.compiler.defines.debug_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.defines.release_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.solution.create = true
vc.solution.include =

View File

@ -4,8 +4,8 @@
#include "winres.h"
#define POCO_VERSION 1,13,1,0
#define POCO_VERSION_STR "1.13.1"
#define POCO_VERSION 1,13,3,0
#define POCO_VERSION_STR "1.13.3"
VS_VERSION_INFO VERSIONINFO
FILEVERSION POCO_VERSION
@ -28,7 +28,6 @@ BEGIN
VALUE "FileDescription", "This file is part of the POCO C++ Libraries."
VALUE "FileVersion", POCO_VERSION_STR
VALUE "InternalName", "POCO"
VALUE "LegalCopyright", "Copyright (C) 2004-2024, Applied Informatics Software Engineering GmbH and Contributors."
VALUE "ProductName", "POCO C++ Libraries - https://pocoproject.org"
VALUE "ProductVersion", POCO_VERSION_STR
END

View File

@ -12,5 +12,6 @@ vc.project.compiler.defines =
vc.project.compiler.defines.shared =
vc.project.compiler.defines.debug_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.defines.release_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.project.linker.dependencies = ws2_32.lib iphlpapi.lib
vc.solution.create = true

View File

@ -12,5 +12,6 @@ vc.project.compiler.defines =
vc.project.compiler.defines.shared = ${vc.project.name}_EXPORTS
vc.project.compiler.defines.debug_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.defines.release_shared = ${vc.project.compiler.defines.shared}
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.solution.create = true
vc.solution.include = testsuite\\TestSuite

View File

@ -7,4 +7,5 @@ vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = ${vc.project.name}_vs90.vcproj
vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\Encodings\\include
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib

View File

@ -7,3 +7,4 @@ vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = TestSuite_vs90.vcproj
vc.project.compiler.include = ..\\..\\Foundation\\include;..\\..\\Encodings\\include
vc.project.compiler.additionalOptions = /Zc:__cplusplus

View File

@ -36,6 +36,6 @@
// Bx: beta releases
//
#define POCO_VERSION 0x010D0100
#define POCO_VERSION 0x010D0300
#endif // Foundation_Version_INCLUDED

View File

@ -7,4 +7,5 @@ vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = ${vc.project.name}_vs90.vcproj
vc.project.compiler.include = ..\\..\\..\\Foundation\\include
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib

View File

@ -7,4 +7,5 @@ vc.project.platforms = Win32
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
vc.project.prototype = ${vc.project.name}_vs90.vcproj
vc.project.compiler.include = ..\\..\\..\\Foundation\\include
vc.project.compiler.additionalOptions = /Zc:__cplusplus
vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib

View File

@ -1 +1 @@
1.13.1
1.13.3

View File

@ -1,6 +1,35 @@
POCO C++ Libraries Release Notes
AAAIntroduction
!!!Release 1.13.3
!!Summary of Changes
This is a bugfix release.
!!Security Fixes
- GH #4496 Upgrade bundled libexpat to 2.6.2
!!Features, Enhancements and Third Party Updates
- GH #4488 Add Poco::Util::Timer::idle() method to check if timer has any tasks scheduled
- GH #3807 DNS.resolve() should not be sorted in HostEntry::removeDuplicates()
- GH #4515 Upgrade bundled SQLite to 3.45.2
- PR #4517 Optimize Net module for Android
!!Bug Fixes and Improvements:
- GH #4505 ODBC Unicode wrappers do not check for null length pointers
- GH #4492 Poco::BasicMemoryStreamBuf is missing seekpos()
- GH #4486 DateTimeFormat RFC1036 Sunday name is short (should be long)
- GH #4468 Poco::URI: don't lowercase host part if it's a Unix domain socket
- GH #4450 Error between Poco::ActiveRecord and Poco::Data::PostgreSQL
- GH #4435 SecureStreamSocket is not thread-safe
- GH #4415 SecureSocketImpl::reset shouldn't close socket
- GH #3857 Thread_POSIX.cpp shouldn't convert thread IDs to long
- GH #3725 secure socket receiveTimeout throwing after configured timeout * 2
!!!Release 1.13.2

View File

@ -32,20 +32,30 @@ echo
gh issue list -S 'milestone:"'"${MILESTONE}"'" label:breaking' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" label:breaking' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
echo
echo "Features and Enhancements:"
echo "Security Fixes:"
echo
gh issue list -S 'milestone:"'"${MILESTONE}"'" -label:breaking label:enhancement' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh issue list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:enhancement label:feature' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" -label:breaking label:enhancement' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:enhancement label:feature' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
gh issue list -S 'milestone:"'"${MILESTONE}"'" -label:breaking label:security' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" -label:breaking label:security' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
echo
echo "Features, Enhancements and Third Party Updates:"
echo
gh issue list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:security label:enhancement' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh issue list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:security -label:enhancement label:feature' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh issue list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:security -label:enhancement -label:feature label:third-party' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:security label:enhancement' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:security -label:enhancement label:feature' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:security -label:enhancement -label:feature label:third-party' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
echo
echo "Bug Fixes and Improvements:"
echo
gh issue list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:enhancement -label:feature' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:enhancement -label:feature' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
gh issue list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:enhancement -label:feature -label:security -label:third-party' -s all -L 500 --json number,title --jq '.[] | "- GH #\(.number) \(.title)"'
gh pr list -S 'milestone:"'"${MILESTONE}"'" -label:breaking -label:enhancement -label:feature -label:security -label:third-party' -s all -L 500 --json number,title --jq '.[] | "- PR #\(.number) \(.title)"'
echo

View File

@ -1 +1 @@
101
103