Alex Fabijanic
7f26310ef2
fix(FPEnvironment): Visual Studio Warning C4244 #3543
2022-04-26 22:14:09 -05:00
Alex Fabijanic
a1819107de
refactor(Placeholder): more SOO consolidation and optimization
2022-04-19 09:03:47 +00:00
Aleksandar Fabijanic
45cbee7c0e
refactor(Placeholder): ifdef POCO_NO_SOO only in Placeholder and remove it anywhere else ( #3566 )
2022-04-18 14:28:27 -05:00
Alex Fabijanic
4f5b7c1891
fix(SHA2Engine): cannot use HMACEngine with SHA2Engine #3421
2022-04-18 17:58:31 +02:00
Aleksandar Fabijanic
9c976da830
Refactor/any soo ( #3564 )
...
* refactor(Any): SOO
- encapsulate data holders
- add missing gets and ops
- eliminate g++ warnings with enable_if's
- default enable SOO
* refactor(Placeholder): encapsulate SOO memory management and fix leaks; cf. #3297 #3514
* fix(Placeholder): asan errors and add tests
cf. #3297 #3514
2022-04-16 06:38:55 -05:00
Alex Fabijanic
7ae6b60e9f
fix(Any): #3297 #3514
2022-04-13 21:10:56 +02:00
Alex Fabijanic
063520c8ef
Merge branch 'poco-1.11.2' into feat/openssl3-1.11.2
2022-04-04 10:20:56 +00:00
Alex Fabijanic
1d4d444e08
chore: cleanup
2022-04-02 05:15:08 -07:00
Günter Obiltschnig
9fac40afa5
#3553 : Upgrade bundled zlib to 1.2.12
2022-04-01 21:14:55 +02:00
Günter Obiltschnig
5a0b18246b
use tm_gmtoff on Linux
2022-03-28 13:50:31 +02:00
Günter Obiltschnig
c0ea70c2bf
remove unused method in Timezone_WIN32.cpp
2022-03-28 13:18:50 +02:00
Günter Obiltschnig
2c15b93dee
#2882 : another attempt at fixing it that should also work on other platforms
2022-03-28 12:57:16 +02:00
Günter Obiltschnig
6aa29ade17
#3509 : fix dst and utcOffset handling for Dublin time zone
2022-03-27 21:25:51 +02:00
Günter Obiltschnig
2ec44c756b
#3495 : Array::operator[] should not throw
2022-03-27 20:02:50 +02:00
Günter Obiltschnig
292d137909
#3483 : Adds Windows 11 and Server 2022 to Environment::osDisplayName()
2022-03-27 19:53:13 +02:00
Julien Olivain
13e2199827
Add back NIOS2 double conversion detection to fix compile errors
...
The commit
558324f672
removed the nios2 support, which was originally added in
e7b91e8125
This commit add it back.
Signed-off-by: Julien Olivain <ju.o@free.fr>
2022-03-25 20:08:22 +01:00
Günter Obiltschnig
2b3662c854
added VS2022 project files
2022-02-19 21:06:24 +01:00
Günter Obiltschnig
6341ec6350
detect ARM64 on Windows
2022-02-19 15:23:03 +01:00
Günter Obiltschnig
7099821df8
#3338 : NamedMutex does not work on Linux distributions where fs.protected_regular=1
2022-02-19 11:12:48 +01:00
Günter Obiltschnig
fb4f3c0231
branch off poco-1.11.2
2022-02-07 14:49:51 +01:00
Günter Obiltschnig
50e39b731a
upgrade bundled PCRE to 8.45
2021-11-05 19:28:23 +01:00
Günter Obiltschnig
58fd4fcd6a
#3425 : Fixed suspend/resumeEvents pair in DirectoryWatcher
2021-11-05 15:05:01 +01:00
Günter Obiltschnig
a032f771af
#2823 : error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648
2021-11-05 14:58:40 +01:00
Günter Obiltschnig
8bfeb52018
#3377 : Correct Poco::Path::configHome() and dataHome() documentation for Windows
2021-11-05 14:26:59 +01:00
Günter Obiltschnig
5902bb1277
#3400 : fix std::localtime not thread safe
2021-11-05 13:37:02 +01:00
Günter Obiltschnig
8582ac9493
branch off 1.11.1
2021-11-05 12:30:27 +01:00
Günter Obiltschnig
70da508a79
style/whitespace
2021-06-26 06:30:49 +02:00
Alex Fabijanic
b9b540faff
fix(NumericString): Bug in NumericString with decSep != '.' #3159
2021-06-25 21:03:28 +02:00
Günter Obiltschnig
2f33db9053
fix nullptr passed to memcmp/memcpy reported by ubsan
2021-06-24 07:53:22 +02:00
Günter Obiltschnig
230812093b
fix nullptr passed to memcmp/memcpy reported by ubsan
2021-06-24 07:49:45 +02:00
Günter Obiltschnig
9017c36884
#3322 : remove useless struct
2021-06-23 08:52:41 +02:00
Günter Obiltschnig
106ba6a020
fix SharedPtr::makeSharedArray() [merge from devel]
2021-06-23 08:34:33 +02:00
Günter Obiltschnig
d66acced93
AbstractObserver::accepts() - add optional name parameter
2021-06-23 08:33:45 +02:00
Günter Obiltschnig
7569ccf82b
#3318 : Data: Support Poco::UUID for data binding
2021-06-19 08:40:49 +02:00
Günter Obiltschnig
9dfda83305
Merge branch 'poco-1.11.0' of github.com:pocoproject/poco into poco-1.11.0
2021-06-17 18:50:04 +02:00
Günter Obiltschnig
08fa87936a
fix potential crash in testAsyncNotify: don't delete event object while async notification is still in progress
2021-06-17 18:49:48 +02:00
Günter Obiltschnig
22eb76d3ae
#3302 : MSVC: Poco hides warnings (C4996) for the C++14 attribute [[deprecated]]
2021-06-17 18:20:29 +02:00
Günter Obiltschnig
13e62ef2e2
don't define UNREACHABLE as poco_bugcheck as it triggers 'control reaches end of non-void function' warning
2021-06-17 09:49:37 +02:00
Günter Obiltschnig
08de17cec6
ci
2021-06-16 20:23:19 +02:00
Günter Obiltschnig
1c4b3694a4
investigate failing test
2021-06-16 19:35:59 +02:00
Günter Obiltschnig
b7e7b5b26d
investigate failing test
2021-06-16 19:03:21 +02:00
Alex Fabijanic
558324f672
fix(double-conversion): Upgrade bundled double-conversion #3313
2021-06-16 15:52:56 +02:00
Günter Obiltschnig
1c248cd63f
fix 'catching polymorphic type by value' warnings
2021-06-16 08:49:11 +02:00
Günter Obiltschnig
0693ff95f7
fix 'catching polymorphic type by value' warnings
2021-06-16 08:47:17 +02:00
Günter Obiltschnig
35a53d8f2d
add comment regarding potential UB in AnyTest::testCastToReference()
2021-06-16 08:07:39 +02:00
Günter Obiltschnig
c512a69f3e
#3092 : add more detailed error description when LoadLibrary fails|
2021-06-15 16:03:06 +02:00
Günter Obiltschnig
19b2c5b415
#3274 : Fix localtime_r for VxWorks 6.9 and later
2021-06-15 15:14:11 +02:00
Günter Obiltschnig
01720ce82b
#3019 : ObjectPool wait on borrow condition fix
2021-06-15 13:30:51 +02:00
Günter Obiltschnig
f6a0ede79a
#2825 : riscv: Enable double operations when using double float abi
2021-06-15 07:14:14 +02:00
Günter Obiltschnig
38fc5e5833
#3138 : Add support of arch riscv32
2021-06-15 07:11:19 +02:00
Günter Obiltschnig
8e5a2c313b
#3196 : std::forward for Poco::Optional ctor with rvalue
2021-06-14 23:47:51 +02:00
Günter Obiltschnig
06fe07e7ad
#3163 : Correct Var::parse null value
2021-06-14 23:40:03 +02:00
Günter Obiltschnig
486d788a76
#3278 : Fixing no hardware floating point support - Part II
2021-06-14 22:58:09 +02:00
Günter Obiltschnig
d7d39e54b3
#3182 Poco::Process:launch on MacOS BigSur: limit maximum number of file descriptors to close before exec() to 100000
2021-06-14 22:52:37 +02:00
Günter Obiltschnig
7d267378f5
Poco::trim*() code cleanup - use ptrdiff_t instead of int; additional test cases
2021-06-14 21:55:13 +02:00
Günter Obiltschnig
5c2cd1a4ff
#3107 : remove unused variable
2021-06-14 19:04:29 +02:00
Günter Obiltschnig
97ae6924dd
#3130 : fix error handling: report original error before close()
2021-06-14 18:59:56 +02:00
Günter Obiltschnig
90be9b0e53
#2906 , #2904 : Support environments without hardware floating point
2021-06-14 18:50:02 +02:00
Günter Obiltschnig
ee1ad75c2b
#3022 : fix for WinCE
2021-06-14 17:29:52 +02:00
Günter Obiltschnig
842f2599c0
#3022 : Process::isRunning(PID pid) causes handle leak on Windows
2021-06-14 17:25:08 +02:00
Günter Obiltschnig
29dd13c83d
bump version to 1.11.0
2021-06-06 14:31:15 +02:00
Günter Obiltschnig
fff8eb6f45
Fix typo: overriden -> overridden
2021-04-14 20:12:17 +02:00
Günter Obiltschnig
a8e11be069
formatting
2021-04-14 19:25:03 +02:00
Günter Obiltschnig
ce7e6eeea0
#3078 : Fix typo in the ThreadPool's docs
2021-04-14 19:13:17 +02:00
Günter Obiltschnig
630afde3fd
#3086 : Use POCO_IOS_INIT_HACK for Linux in combination with libc++
2021-04-12 20:15:30 +02:00
Günter Obiltschnig
bfe4213f54
#3044 : Upgrade PCRE to 8.44
2021-04-11 21:08:18 +02:00
Günter Obiltschnig
53391151d1
PatternFormatter: add %O format specifier
2021-04-11 20:21:28 +02:00
Günter Obiltschnig
c5ee4b1184
#2989 : setting priorityNames property on PatternFormatter has no effect
2021-04-11 17:26:13 +02:00
Günter Obiltschnig
0a2a175f8a
make URI::getPathSegments() const
2021-04-11 16:37:41 +02:00
Günter Obiltschnig
12d3bf9c75
#2945 : Iterating over Var containing empty container throws "Out of range" exception
2021-04-11 16:22:42 +02:00
Günter Obiltschnig
8625b29f9f
add AbstractCache::forEach()
2021-04-11 15:58:19 +02:00
Günter Obiltschnig
9e36cea203
fix JSON object formatting and tests
2020-07-29 11:40:40 +02:00
Günter Obiltschnig
7e866396aa
remove unnecessary escaping in JSONString
2020-07-29 08:59:44 +02:00
Günter Obiltschnig
75821fc591
create 1.10.2 branch
2020-07-29 08:57:35 +02:00
Daniil Zotkin
908ca6ec68
Fix percent-encoded fragment modification in Poco::URI
...
Before this commit using Poco::URI class to parse specific URIs that had
percent-encoded fragment identifier resulted in the loss of information
concerning the way the fragment identifier was encoded. There could be the cases
when the result of Poco::URI object serialization to string did not match the
original URI string Poco::URI object was created from.
In this commit we change the internal logic of fragment processing in Poco::URI,
so that the fragment is stored inside the class in raw form (the same way as
query string). The methods getFragment and setFragment work the old way (with
percent-decoded fragment values), new methods getRawFragment and setRawFragment
are added to get access to the original fragment representation.
2020-03-18 17:23:09 +03:00
Günter Obiltschnig
4e92f3c2ab
#2922 : 1.10 cmake build fails on FreeBSD 11.2 Release
2020-02-16 18:48:31 +01:00
Günter Obiltschnig
d92200c5b7
#2908 improve check whether arg needs to be quoted
2020-02-14 21:16:43 +01:00
Günter Obiltschnig
4de9a21187
make CMake files style (more) consistent
2020-02-14 11:07:32 +01:00
Günter Obiltschnig
4f59aef815
remove non-UTF8 Windows platform support
2020-02-14 09:52:50 +01:00
Günter Obiltschnig
76012717b0
#2908 tests
2020-02-14 09:28:21 +01:00
Günter Obiltschnig
888d8e6fb9
commit missing file
2020-02-14 09:05:38 +01:00
Günter Obiltschnig
1cfe6b0f02
#2908 : [Windows] Process arguments quoting is broken.
2020-02-14 09:03:03 +01:00
Günter Obiltschnig
dea91c8105
style fix
2020-02-13 22:08:44 +01:00
Günter Obiltschnig
23da8c21c9
fixed a bug in RefAnyCast causing a crash if the cast is invalid
2020-02-13 21:56:59 +01:00
Günter Obiltschnig
75a86ad868
remove POCO_STATIC
2020-02-12 22:10:01 +01:00
Günter Obiltschnig
29f745ff65
backport #2921
2020-02-12 20:15:02 +01:00
Günter Obiltschnig
4092984256
fix UTF16/UTF32Encoding wrong byte order handling on bigendian
2020-02-08 20:25:00 +01:00
Günter Obiltschnig
ed2f6b813e
GH #2909 : fix SHA2Engine for big-endian architectures
2020-02-08 16:09:37 +01:00
Günter Obiltschnig
e51449e159
AutoPtr and SharedPtr comparison with nullptr
2020-02-07 18:13:22 +01:00
Günter Obiltschnig
c4bdadffb3
#2787 : add queueSize property to the AsyncChannel
2020-02-04 10:53:01 +01:00
Günter Obiltschnig
6e321e6256
#2791 : allow pre-allocation of the buffer in LogStreamBuf
2020-02-04 09:45:26 +01:00
Günter Obiltschnig
fafa92d353
#2818 : Add getSpecifiedPort() method to URI
2020-02-04 09:06:49 +01:00
Günter Obiltschnig
8d227dc8d3
bump version to 1.10.1
2020-02-04 08:52:26 +01:00
Günter Obiltschnig
d7f3ba9f95
fixed CppUnit includes
2020-01-26 15:18:12 +01:00
Günter Obiltschnig
b6f176f384
fixed CppUnit includes
2020-01-26 13:54:32 +01:00
Günter Obiltschnig
7f071c9171
use correct printf format spec for UIntPtr
2020-01-26 10:32:06 +01:00
Günter Obiltschnig
958387b6ba
improved Lambda support
2020-01-26 08:41:22 +01:00
Günter Obiltschnig
701a34f2e7
add additional overloads for Poco::format
2020-01-24 13:42:46 +01:00
Günter Obiltschnig
3ccc2baaf8
updated project files
2020-01-24 10:51:17 +01:00
Günter Obiltschnig
66d96744b1
merged GH #2641 : Implement DataURIStream for extracting data from data URIs
2020-01-24 10:41:35 +01:00
Günter Obiltschnig
958ce15bb5
fixed GH #2624 : Poco::FileChannel/Poco:LogFileImpl::writeImpl() on Windows should translate \n to \r\n.
2020-01-23 11:26:26 +01:00
Günter Obiltschnig
f7f51b059a
fix Buffer move ctor/assignment
2020-01-23 08:14:55 +01:00
Günter Obiltschnig
1cdc77ebc1
fixed GH #2812 : String trimInPlace crashes with 0 size on Visual Studio Express 2017
2020-01-22 13:26:29 +01:00
Günter Obiltschnig
0865fcf039
mark some tests as long-running
2020-01-22 13:06:49 +01:00
Günter Obiltschnig
eddcd7664c
#2853 : make it actually compile
2020-01-22 12:50:47 +01:00
Günter Obiltschnig
15ac1aec08
fixed GH #2853 : Poco::Process::launch process environment unicode support is broken on Windows
2020-01-22 12:34:48 +01:00
Günter Obiltschnig
4d0eeb257e
fix raw pointer usage
2020-01-22 09:22:35 +01:00
Günter Obiltschnig
924cdf235c
GH #2689 : Added tryWait() into Process and ProcessHandle. Handle kill()-ed UNIX process exit codes.
2020-01-22 08:23:36 +01:00
Günter Obiltschnig
5f0e0a0374
Merge pull request #2867 from vfjpl/poco-1.10.0
...
unescape Backslash char in UTF8 unescape method
2020-01-22 08:09:14 +01:00
Günter Obiltschnig
53d4b266eb
remove UnWindows.h stuff
2020-01-22 08:01:17 +01:00
Günter Obiltschnig
7f7c2f5484
fixed GH #2772 : On iOS real device (not simulator) the home directory is not usable
2020-01-22 06:53:13 +01:00
Günter Obiltschnig
bd3c75293e
fixed GH #2824 : Poco::Environment missing UTF8/wstring support on Windows
2020-01-21 21:36:08 +01:00
Günter Obiltschnig
2327592bab
fixed GH #2217 : UUIDGenerator should allow random seed
2020-01-21 21:30:48 +01:00
Günter Obiltschnig
71585b7daa
#2152 : XDG support
2020-01-21 21:20:35 +01:00
Günter Obiltschnig
2018a698ba
fix assignment operator
2020-01-21 19:58:38 +01:00
Günter Obiltschnig
eeb64cc340
fix move ctor/assignment
2020-01-21 19:58:12 +01:00
Günter Obiltschnig
18adb1e43b
code cleanup; fix move ctors and assignment
2020-01-21 17:52:43 +01:00
Günter Obiltschnig
0658044260
fixed another issue with backslash handling in Var JSON parsing
2020-01-20 14:40:07 +01:00
Feng Hao
b8320ccb7b
fix Dynamic::Var parse string issue
2020-01-20 19:09:22 +08:00
Günter Obiltschnig
6058f5dd23
Merge pull request #2881 from Ludorg/poco-1.10.0
...
Add an option to force the use of PollingDirectoryWatcherStrategy
2020-01-17 08:34:10 +01:00
Ludovic LIEVRE
15e96159e2
Option to force PollingDirectoryWatcherStrategy
...
Add an option to force the use of PollingDirectoryWatcherStrategy
Should work on any platform
(Not Linux only)
See previous PR on this topic :
https://github.com/pocoproject/poco/pull/2881
On Linux, inotfy does not work for network volumes (such as NFS).
See https://stackoverflow.com/questions/4231243/inotify-with-nfs
By adding flag POCO_DW_FORCE_POLLING in Foundation/Config.h,
the use of PollingDirectoryWatcherStrategy is forced.
This is not the same behavior as flag POCO_NO_INOTIFY.
This only disables compilation of DirectoryWatcher.
2020-01-15 21:48:36 +00:00
Ludovic LIEVRE
b651764007
Option to force PollingDirectoryWatcherStrategy
...
Add an option to force the use of PollingDirectoryWatcherStrategy
Should work on any platform
(Not Linux only)
See previous PR on this topic :
https://github.com/pocoproject/poco/pull/2881
On Linux, inotfy does not work for network volumes (such as NFS).
See https://stackoverflow.com/questions/4231243/inotify-with-nfs
By adding flag POCO_DW_FORCE_POLLING in Foundation/Config.h,
the use of PollingDirectoryWatcherStrategy is forced.
This is not the same behavior as flag POCO_NO_INOTIFY.
This only disables compilation of DirectoryWatcher.
2020-01-15 21:38:51 +00:00
Joerg-Christian Boehme
10b99ad95a
Set PATH for ProcessTests
2020-01-15 17:03:08 +01:00
Joerg-Christian Boehme
611a455165
Set absolute LD_LIBRARY_PATH in Foundation test
2020-01-15 12:21:23 +01:00
Günter Obiltschnig
a31877372e
additional move support for Nullable and Optional
2020-01-15 09:35:59 +01:00
Joerg-Christian Boehme
885c5cbc55
Ignore tests in cmake from cppignore and set POCO_BASE environment.
2020-01-14 21:45:56 +01:00
Günter Obiltschnig
ca85c2e084
fix CppUnit includes
2020-01-12 20:58:07 +01:00
Günter Obiltschnig
185493a82d
fix CMake build of OpenSSL
2020-01-12 11:18:49 +01:00
Günter Obiltschnig
599fa8f24b
updated project files
2020-01-12 09:23:55 +01:00
Günter Obiltschnig
4db35d016c
remove progen support for Foundation lib and testsuite
2020-01-12 09:04:07 +01:00
Günter Obiltschnig
f63a7bbad5
added SHA2Engine
2020-01-12 08:58:36 +01:00
Günter Obiltschnig
39a0439132
revert Foundation project files
2020-01-11 23:59:05 +01:00
Günter Obiltschnig
6504039434
build fixes
2020-01-11 23:50:16 +01:00
Günter Obiltschnig
fce1f89aff
fix CppUnit includes
2020-01-11 22:51:54 +01:00
Günter Obiltschnig
165f5cfd20
re-generated project files
2020-01-11 22:33:28 +01:00
Günter Obiltschnig
79709b72b8
fix project files
2020-01-11 14:01:54 +01:00
Günter Obiltschnig
23c73d325f
project files
2020-01-11 13:10:07 +01:00
Günter Obiltschnig
d4ee76de33
fix projects
2020-01-11 13:07:11 +01:00
Günter Obiltschnig
27a3812264
project files
2020-01-11 13:02:52 +01:00
Günter Obiltschnig
4c1e357e4a
project file fixes
2020-01-11 12:45:39 +01:00
Günter Obiltschnig
fea390fe6a
remove gradle files
2020-01-11 10:04:22 +01:00
Günter Obiltschnig
e84ab92ee0
removed x64 project files
2020-01-11 09:52:49 +01:00
Günter Obiltschnig
fe3f6405b6
updated progen files
2020-01-11 09:34:54 +01:00
Günter Obiltschnig
7872c35324
remove POCO_WIN32_UTF8
2020-01-10 15:58:16 +01:00
Günter Obiltschnig
c7c6871c4a
Android requires POCO_INT64_IS_LONG
2020-01-10 14:31:17 +01:00
Günter Obiltschnig
59898cd3c2
remove old VS project files
2020-01-10 14:26:36 +01:00
Ludovic LIEVRE
42629d1ed4
add an option to force the use of PollingDirectoryWatcherStrategy on Linux
2020-01-10 09:54:19 +00:00
Günter Obiltschnig
c462b76b08
Merge branch 'poco-1.10.0-modernize' of github.com:pocoproject/poco into poco-1.10.0-modernize
2020-01-09 18:51:04 +01:00
Günter Obiltschnig
b7ad1f6c3a
fixed mix of raw and smart pointers
2020-01-09 18:50:50 +01:00
Guenter Obiltschnig
f7fc4a239f
fixed more issues discovered while testing on Linux
2020-01-09 17:43:31 +00:00