Commit Graph

99 Commits

Author SHA1 Message Date
Tomoyuki Harada
71a9a57802 Util Timer with OS specific priority (#1348)
* Util Timer with OS specific priority

* default argument for sched policy
2017-10-07 12:49:25 -05:00
Alex Fabijanic
a47ceecab2 Fix compilation errors using TDMGCC #1310 2017-10-06 20:01:52 -05:00
Günter Obiltschnig
06373b5d0c remove '$Id$' headers 2017-09-09 10:50:32 +02:00
Günter Obiltschnig
ed518115d7 style fixes 2017-09-01 20:35:43 +02:00
Günter Obiltschnig
1c639d6c2c merge LayeredConfiguration changes (labels) from 1.7.9 2017-09-01 20:35:22 +02:00
Rangel Reale
6cd8f3f73c * Emscripten build support (#1845) 2017-08-14 14:03:07 -05:00
Stefan Weil
8ccee8928c Fix typos in comments, documentation and strings (#1615)
All of them were found using codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-07-06 00:17:38 +02:00
Rudolf-Walter Kiss-Szakács
ed819feb83 Fix XDG Base Dir Spec implementation and remove tempHome. 2017-02-23 08:23:41 +02:00
proller
ffa7b5a430 virtual ServerApplication::waitForTerminationRequest
usage:

https://github.com/yandex/ClickHouse/blob/master/libs/libdaemon/include/daemon/BaseDaemon.h#L54
https://github.com/yandex/ClickHouse/blob/master/libs/libdaemon/src/BaseDaemon.cpp#L977
2017-01-11 19:27:54 +03:00
Guenter Obiltschnig
1f3b53298c fixed GH #1462: AbstractConfiguration::getUInt does not parse hex numbers 2016-10-24 09:42:33 +02:00
Guenter Obiltschnig
20a6f25865 XMLConfiguration default (and single-argument delimiter) constructor now loads an empty XML document with "config" root element to make the configuration usable without an additional call to load() or loadEmpty(). 2016-10-16 13:41:32 +02:00
Guenter Obiltschnig
bae5b38df0 add a load() overload to specify name pool size 2016-10-07 10:59:58 +02:00
Vladimir Gamalian
8eec0be8d1 Fix typo 2016-05-10 19:56:25 +07:00
Guenter Obiltschnig
f524aae508 added Poco::Util::MapConfiguration::copyTo() 2016-03-01 07:32:41 +01:00
Guenter Obiltschnig
b7da5ae9b9 fixed GH #1114: World-write permissions on files created by daemon. Default umask is now 027; other mask can be set with --umask command-line parameter
Conflicts:
	Util/src/ServerApplication.cpp
2016-02-27 21:20:55 +01:00
Miklos Vajna
873c471427 GH #1050 Util: fix gcc -Wshadow warnings 2015-12-21 09:05:00 +01:00
Rangel Reale
b47f38fc33 * Don't leak <windows.h> (Poco/Unwindows.h) to library users 2015-12-10 13:16:02 -02:00
aaron0x
8629b897a4 fix writing the same key to the config file multiple time. 2015-09-16 15:48:31 +08:00
aaron0x
334a7267c7 implement GH #700: PropertyFileConfiguration preserve comments. 2015-09-11 14:22:00 +08:00
martin-osborne
7780ab3ae0 Corrected more spellings. 2015-04-10 11:43:49 +01:00
martin-osborne
4cf45ea4a3 Corrected more words. 2015-04-10 11:31:12 +01:00
martin-osborne
7e730aa9b8 Corrected other misspelt 'a' words. 2015-04-06 17:34:48 +01:00
Rangel Reale
d6fcca806e * NaCl support 2015-03-20 11:28:49 -03:00
Guenter Obiltschnig
4bf0328740 set application.configDir property correctly if a configuration file is explicitely loaded and no default config file is found. 2015-03-15 18:16:54 +01:00
Günter Obiltschnig
39b6c79e46 fixed for VS2008 and WinCE 2015-03-14 10:30:22 +01:00
Günter Obiltschnig
e1694c3e68 Windows specific: added registerServiceDeviceNotification() and handleDeviceEvent() to handle SERVICE_CONTROL_DEVICEEVENT events 2015-03-13 13:51:51 +01:00
Aleksandar Fabijanic
c00f13d277 Merge pull request #561 from bschramke/develop
Support for XDG Base Directory Specification
2015-02-09 21:04:28 -06:00
Björn Schramke
1bfc26f388 update class documentation for Util::SystemConfiguration and Util::Application 2015-01-28 16:12:39 +01:00
Aleksandar Fabijanic
e7fb853c7d Merge pull request #665 from cryptoknight/Subsystems
Add getter for an Application's list of Subsystems
2015-01-08 18:32:14 -06:00
Scott Davis
240128b640 Add getter for an Application's list of Subsystems 2015-01-08 17:20:38 -05:00
Scott Davis
7b347ea592 Make WinRegistryKey easier to extend 2015-01-08 16:44:59 -05:00
Guenter Obiltschnig
c2edf4470f prevent re-schedule of cancelled TimerTask 2014-11-24 18:38:05 +01:00
Björn Schramke
8b5e855b6f Update Application.h
Add missing method declaration
2014-10-10 16:12:13 +02:00
Björn Schramke
cd1195275e add new path values (configHome,cacheHome, etc) application config 2014-10-09 17:57:56 +02:00
Björn Schramke
1aaa61f3c8 add new path values (configHome,cacheHome, etc) application config 2014-10-09 17:48:42 +02:00
Björn Schramke
ce56190f9f add some methods to Poco::Path for make it easy to follow XDG Base Directory Specification 2014-10-09 09:46:21 +02:00
Hayk Karapetyan
8b75f229f6 unit tests and changes according to comments 2014-09-12 11:02:34 +04:00
Hayk Karapetyan
93ed40c785 WinRegistryKey::getInt64 failed to read QWORD type from the windows registry.
BINARY data type support for WinRegistryKey
2014-09-11 16:18:18 +04:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Guenter Obiltschnig
70e116fda2 Poco::Util::Timer now uses Poco::Clock instead of Poco::Timestamp 2013-12-12 18:37:08 +01:00
Guenter Obiltschnig
448d4f3da3 Units.h fix 2013-07-25 13:23:56 +02:00
Aleksandar Fabijanic
dbe5a37106 fixed GH #141: Application::run() documentation/implementation discrepancy 2013-03-30 16:59:29 -05:00
Aleksandar Fabijanic
4c593dba7a GH #134: Fixed problem in Util::Application with xml or inifile no config
GH #134: Fixed problem in Util::Application with xml or inifile no
config
2013-03-24 00:18:35 -05:00
Reto Schneider
6544af712a Fix documentation: OptionException gets thrown by a validator, not InvalidOptionException. 2013-02-03 18:17:55 +01:00
aleks-f
76a7e2e716 GH56: Need a way to disable *_API macros with GCC
GH #56: Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
aleks-f
e60bcd413d added Application::commandPath() 2013-01-05 17:17:27 -06:00
aleks-f
7e8797fb5a GH #48: Need getArgs() accessor
GH #48: Need getArgs() accessor to Util::Application to retrieve
start-up arguments
2013-01-05 15:54:12 -06:00
aleks-f
ef9cda6666 GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
Aleksandar Fabijanic
6d2881ef34 Merge pull request #3 from RangelReale/mobilefixes
Android and iOS fixes
2012-12-02 20:28:22 -08:00