Commit Graph

749 Commits

Author SHA1 Message Date
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
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
50e9d35c3c remove deprecated std::pointer_to_unary_function 2020-01-04 11:28:24 +01:00
Günter Obiltschnig
9c197e0ed1 finally get rid of std::auto_ptr 2019-12-15 09:40:40 +01:00
KevDi
fa20e056dd Changed Options Check in remaining File Impl Classes 2019-11-30 13:38:03 +01:00
Jan Kevin Dick
0a9525044d Added Fix to put Options inside the File Impl Classes 2019-11-27 14:44:55 +01:00
Jan Kevin Dick
9daaec4ec0 Updated Comments and fixed bug within the Unix File Implementation 2019-11-26 14:10:32 +01:00
Jan Kevin Dick
d5a25f2053 Added the Options Enum advice. 2019-11-26 13:03:43 +01:00
Jan Kevin Dick
4e734553b3 Added FailOnOverwrite to File Class 2019-11-18 13:06:43 +01:00
Francis ANDRE
f4b4187d0a By default on Windows with VS, Poco should use the internaly compiled OpenSSL from the openssl directory 2019-09-02 15:38:28 +02:00
Günter Obiltschnig
325cfcb3c2 added SharedLibrary::setSearchPath() 2019-08-17 10:04:48 +02:00
Günter Obiltschnig
12897d3d63 fixed GH #2738: Poco::AccessExpireStrategy::onGet() must not extend expiration time after expiration 2019-07-01 17:51:38 +02:00
Günter Obiltschnig
dee86fbbfe bumped version to 1.10.0 2019-06-12 15:40:52 +02:00
Günter Obiltschnig
b961ea8148 added start() method that takes a Poco::SharedPtr to a Runnable 2019-02-23 13:46:54 -05:00
Alex Fabijanic
d69c5b64de POCO Net build fails with clang-cl 6.00 on Windows #2428 2018-08-15 12:26:24 -05:00
Günter Obiltschnig
e6b5288735 add support for auto-linking SLpro or OpenSSL default build OpenSSL libs 2018-08-15 08:39:48 +02:00
Aleksandar Fabijanic
231ef2762d
Preserve entries order in DynamicStruct #2410 (#2413)
* Preserve entries order in DynamicStruct #2410

* disable C++11 default

* ifdef C++11 code
2018-08-01 08:06:59 -07:00
Aleksandar Fabijanic
142bbdcef3
add ordered containers (#2408)
* add ordered containers

* move ordered_map_util.h to its proper place

* add acknowledgement
2018-07-27 07:33:25 -07:00
Alex Fabijanic
ff262d6c5f make DynamicStruct::toString() const 2018-07-26 18:47:01 -05:00
Alex Fabijanic
256b6855fa increase tuple sizes to 40 2018-07-06 21:44:29 -05:00
Alex Fabijanic
00abd06f75 Tuple assignment very slow #2383 2018-07-06 21:44:02 -05:00
Alex Fabijanic
98fd0b4124 increase TypeList max size to 40 2018-07-05 11:26:49 -05:00
Alex Fabijanic
312dc3325b add struct tm support to DateTime #2365 2018-06-12 09:54:35 -05:00
Aleksandar Fabijanic
577fb5756e
Why does Poco explicitly define _WIN32_WINNT? #2306 (#2357) 2018-06-06 17:44:40 -05:00
Alex Fabijanic
d02294a67f force NaN not infinity on windows (consistent with std and other platforms) 2018-06-05 00:42:40 -05:00
Alex Fabijanic
d7a98bf403 remove global scope for int types 2018-06-03 16:19:19 -05:00
Alex Fabijanic
b30683fd6d backport NumericString from develop (fixes #2250) 2018-06-03 13:52:25 -05:00
Aleksandar Fabijanic
c4e676d36d
Feature net udp (#2347)
* add PMTU discovery #2329

* add socket gather/scatter capabilities #2330 (win, udp)

* enable WSAPoll

* add FastMemoryPool

* add receiveFrom() with native args

* allow copying of StringTokenizer

* add AtomicFlag and SpinlockMutex

* update .gitignore

* UDPServer and client #2343 (windows)

* fix warnings

* fix warnings

* regenerate Net VS solutions

* regenerate CppUnit projects/solutions

* clang fixes

* gcc fixes

* try to fix travis

* more travis fixes

* more travis fixes

* handle UDPClient exception

* fix makefiles and init order warnings

* add UNIX gather/scatter sendto/recvfrom implementations and tests

* run travis tests as sudo

* try to run tests as sudo, 2nd attempt

* fix warning

* use mutex in reactor

* lock-order-inversion in SocketReactor #2346

* add PMTU discovery #2329 (linux)

* ICMPSocket does not check reply address #1921

* remove some ignored tests

* add PMTU discovery #2329 (reconcile logic with #1921)

* fix native receiveFrome()

* reinstate ignoring of proxy errors

* add testMTU to ignore list

* add include atomic

* NTPClient not checking reply address #2348

* some ICMP/MTU fixes

* UDPSocketReader cleanup

* resolve some socket inheritance warnings

* add NTP time sync to ignored tests

* SocketNotifier not thread-safe #2345

* prevent x64 samples build attempt for win32

* build TestApp and Library

* fix ICMP tests

* regen VS projects

* regen VS projects and add missing 2012 files

* remove debug prints
2018-06-02 14:02:33 -05:00
Francis ANDRE
e241c282ef Fix missing #endif 2018-05-06 22:01:34 +02:00
Francis ANDRE
26fa1b9e6b Support of arch riscv64 by Manuel A. Fernandez Montecelo
<mafm@debian.org>
2018-05-06 12:35:07 +02:00
Alex Fabijanic
ea38cdb740 Use PollSet in SocketReactor #2092 (linux) 2018-05-04 13:32:22 -05:00
zosrothko
d6d27036d2 PocoDoc fixes 2018-04-17 20:45:08 +02:00
Günter Obiltschnig
3283f53cf5 updated version 2018-03-07 14:28:19 +01:00
Günter Obiltschnig
f36827f5ce fixes for WEC2013 2018-03-07 12:46:02 +01:00
Günter Obiltschnig
3f75fd539f #1545: Merge partition space information methods from develop 2018-03-06 18:46:48 +01:00
Günter Obiltschnig
0d3c3ce4d4 fixed GH #2106: Undefined behavior in Delegate::equals() 2018-03-06 18:26:49 +01:00
Günter Obiltschnig
7eb1325bba style fixes 2018-03-05 15:05:04 +01:00
Joerg-Christian Boehme
73897b4357 Add POCO_OS_ANDROID as platfrom definitons (#2186)
* Add POCO_OS_ANDROID as platform definition

* Ignore test big ping when its failing
2018-02-26 19:18:45 -06:00
Günter Obiltschnig
de0f5a6b76 #2172: Add Poco::AutoPtr::reset() and Poco::SharedPtr::reset() 2018-02-21 17:48:36 +01:00
Günter Obiltschnig
488d8e05c2 fix doc typos 2018-02-17 20:53:49 +01:00
Günter Obiltschnig
5f5a358c5b bump version to 1.9.0 2018-02-17 10:39:51 +01:00
Günter Obiltschnig
f1cd23b71b fixed doc typos 2018-02-13 21:38:39 +01:00
Günter Obiltschnig
260aee9b04 Merge branch 'poco-1.8.2' of https://github.com/pocoproject/poco into poco-1.8.2 2018-02-13 21:32:34 +01:00
Günter Obiltschnig
6ed085f288 fixed doc typos; changed maximum sequence length to 4 2018-02-13 21:32:17 +01:00
Björn Schramke
43c44aacbb add Windows compliant implementation of XDG Base Directory Specification 2018-02-13 08:12:56 -06:00
Björn Schramke
b59329034f add some methods to Poco::Path for make it easy to follow XDG Base Directory Specification 2018-02-13 08:07:45 -06:00
Rudolf-Walter Kiss-Szakács
275275baa9 Issues #1609 and #561 have not made it into a stable release #2152 2018-02-13 07:53:41 -06:00
Conor Burgess
2632f34e85 Stricter JSON standard conformance (#2153) 2018-02-13 07:26:20 -06:00
Aleksandar Fabijanic
fbd229ee4a #2142 #2137 cherry pick 2 2018-02-08 19:45:37 -06:00