Commit Graph

5376 Commits

Author SHA1 Message Date
Yevgen Pogribnyi
85c68e7a81
Fix epollfd validity checks when compiling with wepoll (#3855) 2023-01-24 01:02:47 -06:00
Fabio R. Sluzala
c693b0b1b2
Remove unnecessary duplication of std::string in NumberParser::tryParseFloat (#3864) 2023-01-24 01:00:15 -06:00
Byungjun Lee
5430b4c5b6
Fix Aix Build (#3860)
* Fix : Aix System NumberFormatter Build Error

* Fix : Aix System OpenSSL 3.0 Build Support

 - https://github.com/openssl/openssl/blob/openssl-3.0.0/NOTES-UNIX.md?plain=1#L110

* Add : Aix System Gcc Build Support

* Revert "Add : Aix System Gcc Build Support"

This reverts commit b9a4b90e39.

* Add : Aix System Gcc Build Support
2023-01-24 00:55:17 -06:00
Alexander Gololobov
0fd1749b81
Use map from key to count instead of multiset (#3885)
* Test that enumerates lots of elements with the same name

* Use map from key to count instead of multiset

Co-authored-by: Alexander Gololobov <{ID}+{username}@users.noreply.github.com>
2023-01-24 00:52:23 -06:00
R. Savchenko
079b50e0c1
Guard NOMINMAX ifdef (#3906) 2023-01-24 00:42:43 -06:00
Niketin
b941a20b8c
Fix typo in example (#3894)
using a dereference operator does not work here
2023-01-24 00:41:40 -06:00
Günter Obiltschnig
ed7aface46
Merge pull request #3927 from thomkopp/feat/cppparser-global-ns-support
CppParser: Support return values which are specified to be in the global namespace
2023-01-23 22:18:14 +01:00
Alex Fabijanic
4ceb731bba feat(Process): Add options to disable STDIO in child process #3867 2023-01-23 12:23:03 +01:00
Alex Fabijanic
feee864950 fix(TZInfo): Static FastMutex fails to lock when issued from another thread on linux #3918 2023-01-23 08:06:55 +01:00
Günter Obiltschnig
091c1af26a
Merge pull request #3920 from vojinilic/fixDeadlockInTimer
Fix deadlock in Timer when one sync and one async cancel requests are issued
2023-01-17 15:26:11 +01:00
Günter Obiltschnig
0b19ffb628 Merge branch 'devel' of github.com:pocoproject/poco into devel 2023-01-16 13:51:44 +01:00
Günter Obiltschnig
8ebbac8a41 updated style guide 2023-01-16 13:51:14 +01:00
Vojin Ilic
46a55303ae Fix deadlock in Timer when one sync and one async cancel requests are issued
Timer is implemented with internal queue. If a user wants to cancel all pending tasks it can call .cancel to schedule CancelNotification.
As a part of processing of CancelNotification it will just flush the whole queue. It does have special processing for StopNotification so that Timer destruction doesn't get blocked.
Now if we first schedule async cancel and before this first cancel is processed we schedule another cancel but this time a sync second one will block because it is never notified that all tasks are canceled, _finished event is never set on that flushed CancelNotification.

Fix: add diffrent processing in case of CancelNotification to set all of it's _finished events.
Also add a test for this situation.
2023-01-16 11:53:11 +01:00
Günter Obiltschnig
69d15c5ddd fix include/lib paths for Apple Silicon 2022-11-17 11:47:18 +01:00
Günter Obiltschnig
4e8837db9e GH #3876: Replace sprintf with snprintf in Environment and NumberFormatter to avoid deprecation warnings 2022-11-17 11:44:46 +01:00
Günter Obiltschnig
5a252fddcb #3859: zlib headers not updated 2022-11-10 19:15:55 +01:00
Günter Obiltschnig
99936745e4 #3147: Reading from request stream hangs when "Transfer-Encoding: chunked" is used 2022-11-10 19:12:58 +01:00
Alexander B
aa48d39dbd
testDynamicStructEmptyString always failed (#3863)
There was 1 failure:
 1: N7CppUnit10TestCallerI7VarTestEE.testDynamicStructEmptyString
    "expected: "{ "Empty": "", "Space":   }" but was: "{ "Empty": "", "Space": " " }""
    in "src/VarTest.cpp", line 2294

It's happen because in test we call aStruct.toString(false).
It's mean that we don't expect wrapping, but expected result was written with wrapping
2022-11-08 02:11:10 -06:00
Günter Obiltschnig
894180f943 #3852: SocketReactor - 100 % CPU usage on single-core system 2022-10-31 14:01:13 +01:00
Günter Obiltschnig
dac733d055 #3849: Upgrade bundled libexpat to 2.5.0 [fixes CVE] 2022-10-31 13:26:08 +01:00
Günter Obiltschnig
4328fab724 updated changelog 2022-10-24 09:46:11 +02:00
Günter Obiltschnig
1ea6eea406 #3847: Upgrade bundled SQLite to 3.39.4 2022-10-24 09:30:01 +02:00
Günter Obiltschnig
fcf173fd49 #3805: Upgrade expat to 2.4.9 2022-10-24 09:21:36 +02:00
Günter Obiltschnig
d67e2de42a #3846: Upgrade bundled zlib to 1.2.13 [fixes CVE] 2022-10-24 09:00:59 +02:00
Alex Fabijanic
dae96c1110 (chore): remove inadvertently added file 2022-10-23 12:34:05 +02:00
Alex Fabijanic
1319d3f7ef fix(SocketImpl): available() #3834 2022-10-23 12:30:59 +02:00
Hernan Martinez
2effb38396
Progen Net and Net's TestSuite to add ARM64 configurations (#3828) 2022-10-23 05:23:34 -05:00
Günter Obiltschnig
88118e3fee fix publish_release.yml 2022-10-22 21:09:59 +02:00
Günter Obiltschnig
d71b4892f2 fix publish_release.yml 2022-10-22 20:59:08 +02:00
Günter Obiltschnig
6f6e9125fc fix publish_release.yml 2022-10-22 20:44:34 +02:00
Günter Obiltschnig
f93f6e7f2e fix publish_and_release.yml 2022-10-22 20:36:23 +02:00
Günter Obiltschnig
1b78beca50 rework into release script 2022-10-22 20:30:58 +02:00
Günter Obiltschnig
1395d3bae7 fix docs.yml 2022-10-22 16:02:55 +02:00
Günter Obiltschnig
13ed1a354c fix docs.yml 2022-10-22 15:05:54 +02:00
Günter Obiltschnig
1e382b9186 fix docs.yml 2022-10-22 14:56:08 +02:00
Günter Obiltschnig
b12d0e0b8e fix docs.yml 2022-10-22 14:55:25 +02:00
Günter Obiltschnig
3b31b798f8 updated docs.yml 2022-10-22 14:47:48 +02:00
Günter Obiltschnig
59d9801d72 GitLab action for generating docs
Signed-off-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
2022-10-22 14:45:59 +02:00
Alex Fabijanic
9c8a92da3d fix(DynamicStruct): toString not wrapping empty strings #3835 2022-10-13 15:25:35 +02:00
Alex Fabijanic
a2c09c29d8 feat(DynamicStruct): toString() escaping #3833 2022-10-13 11:50:53 +02:00
Alex Fabijanic
d11e48f851 fix(Environment): Possibility of memory leak in Windows Environment nodeIdImpl? #3823 2022-10-06 21:19:04 +02:00
Stephen Balousek
1181fb2485
HTTPServer Applications Slow to Terminate #3796 (#3797)
- Queue a StopNotification for each thread in the TCPServerDispatcher thread pool. Otherwise, only one thread in the thread pool is terminated.

Signed-off-by: Stephen Balousek <sbalousek@wickedloop.com>
2022-09-11 12:30:02 -05:00
Damian
1fcbfc6094
fix(Crypto) Update method to extract friendlyName from certificate (#3787)
* fix(Crypto) Update method to extract friendlyName from certificate
2022-09-11 12:28:41 -05:00
Alex Fabijanic
49f6def959 feat(Logger): Optimize multi-arg logger methods to only call format() if log level allows #2332 2022-08-30 09:29:53 +02:00
tomaz-beltram
f03e7de03f
Fixed converting/correcting pre-gregorian dates (#3723). (#3769)
Co-authored-by: Tomaz Beltram <tomaz.beltram@topit.si>
2022-08-27 04:40:31 -05:00
Francis ANDRE
5c3f827c86 Merge branch 'devel' of github.com:pocoproject/poco into devel 2022-08-22 10:53:29 +02:00
Francis ANDRE
4da8181372 Fix version selector for VSWHERE'
Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>
2022-08-22 10:53:05 +02:00
Spencer J Coward
334a754b48
Changes to POCO_APP_MAIN in Poco::Util::Application which allows for compiling a Poco App for a VxWorks RTP (#3764)
Co-authored-by: Spencer Coward <spencerjcoward@gmail.com>
2022-08-21 23:31:48 -05:00
Alex Fabijanic
9b8fe57cb9 chore(Crypto): fix some warnings 2022-08-21 14:40:21 +02:00
Francis ANDRE
c023404a03 Merge branch 'devel' of github.com:pocoproject/poco into devel 2022-08-21 09:33:19 +02:00