Commit Graph

298 Commits

Author SHA1 Message Date
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Kontinuation
ee2b99a9ba added array element update tests for JSONConfiguration 2014-05-23 22:32:32 +08:00
Kontinuation
5a07343bd6 Merge remote-tracking branch 'upstream/develop' into develop 2014-05-23 03:02:45 +08:00
Kontinuation
1b5f9cb079 style fixes 2014-05-23 02:38:57 +08:00
Kontinuation
3880f76d82 fixed array element updating problem in JSONConfiguration 2014-05-23 02:22:06 +08:00
Josh Blum
f442148670 poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07:00
Guenter Obiltschnig
83b0f47ffb fixed GH# 398: PropertyFileConfiguration: input != output 2014-05-19 09:42:15 +02: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
e044d77717 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-04-23 13:30:51 +02:00
Guenter Obiltschnig
f8169eabac updated SDK in WEC2013 project files 2014-04-23 13:30:27 +02:00
Günter Obiltschnig
85873d02c9 re-generated VS2013 testsuite projects without MFC 2014-04-21 22:10:34 +02:00
Günter Obiltschnig
12c7bb562d re-generated vs100-vs120 project files 2014-04-21 10:50:51 +02:00
Günter Obiltschnig
b2ba1dfb74 -added Windows Embedded Compact 2013 support 2014-03-17 14:36:17 +01:00
Linquize
c2ca2ffb58 Build the libraries before their TestSuites
Fixes error LINK : fatal error LNK1104: cannot open file 'Poco*.lib'
2014-01-16 08:03:42 +08:00
Guenter Obiltschnig
70e116fda2 Poco::Util::Timer now uses Poco::Clock instead of Poco::Timestamp 2013-12-12 18:37:08 +01:00
Alex Fabijanic
1c732e9938 removed MFC dependencies (WinTestRunner) from test VS projects 2013-11-07 23:31:30 -06:00
Alex Fabijanic
4297d78621 VS 2013 projects/solutions 2013-11-05 23:11:28 -06:00
Guenter Obiltschnig
cdbebdf487 fixed GH# 262 2013-09-14 10:26:44 +02:00
Guenter Obiltschnig
448d4f3da3 Units.h fix 2013-07-25 13:23:56 +02:00
Günter Obiltschnig
c7f873eee8 added missing x64_vs90 project files, fixed Util x64 project files, fixed some warnings 2013-07-22 20:44:35 +02:00
Aleksandar Fabijanic
f1d92d5722 Merge pull request #212 from ptarabbia/develop
JSONConfiguration was missing from the vs90 project.
2013-06-04 04:53:38 -07:00
Patrice Tarabbia
9048d4e6d7 JSONConfiguration was missing from the vs90 project. 2013-06-04 06:51:18 -04:00
Aleksandar Fabijanic
4826523831 fixed few GH issues
- fixed GH #209: Poco::NumberFormatter double length
- fixed GH #204: Upgrade zlib to 1.2.8
- fixed GH #198: The "application.configDir" property is not always
created.
2013-06-03 23:45:06 -05:00
Aleksandar Fabijanic
dbe5a37106 fixed GH #141: Application::run() documentation/implementation discrepancy 2013-03-30 16:59:29 -05:00
Aleksandar Fabijanic
ad5361ede1 Util alignment with JSON changes 2013-03-28 23:49:52 -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
aleks-f
9378680c0b Merge remote-tracking branch 'origin/ip-address-soo' into develop 2013-02-17 16:33:44 -06:00
Reto Schneider
6544af712a Fix documentation: OptionException gets thrown by a validator, not InvalidOptionException. 2013-02-03 18:17:55 +01:00
aleks-f
911f22508e Any SOO 2013-01-31 21:12:13 -06: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
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -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
Mathäus Mendel
e3649153b8 Fixed build with CMake
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02:00
Aleksandar Fabijanic
6d2881ef34 Merge pull request #3 from RangelReale/mobilefixes
Android and iOS fixes
2012-12-02 20:28:22 -08:00
Mike Naquin
6d586537bb Add include guards for XMLConfiguration and JSONConfiguration in Poco::Util. This will prevent accidental linking of the XML and JSON libraries when enabled. 2012-11-14 10:34:27 -06:00
Mike Naquin
5f1d1b02e2 Add JSONConfiguration to Poco::Util::Application::loadConfiguration. 2012-11-14 10:31:52 -06:00
Guenter Obiltschnig
0472e955ba POCO_SERVER_MAIN now catches Poco::Exception and writes the displayText to stderr. 2012-11-13 20:29:53 +01:00
Rangel Reale
141a2c152c * use xcode-select to find correct paths for iOS build
* add iOS definitions for CMake
* ServerApplication on Android must use events instead of signals to wait for server termination.
2012-11-11 11:59:36 -02:00
Guenter Obiltschnig
c867a80520 line ending fixes 2012-11-11 11:28:44 +01:00
Guenter Obiltschnig
514566ecd7 removed .vmsbuild files, which are no longer maintained 2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
8b91562dbd more line ending fixes 2012-11-11 11:07:27 +01:00
Guenter Obiltschnig
87d7739f3d removed .vcxproj.user files 2012-11-11 10:53:02 +01:00
Guenter Obiltschnig
ad28e2fed5 more line ending fixes 2012-11-11 10:25:35 +01:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
83af8a3be7 WinCE fixes 2012-10-15 09:41:38 +00:00
Guenter Obiltschnig
f5351b2f49 fixed 2012/64 project files 2012-10-14 14:55:49 +00:00
Guenter Obiltschnig
b90307c200 fixed vs2010 testsuite project files 2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
d1e912ed46 fixed project files 2012-10-14 08:58:13 +00:00
Guenter Obiltschnig
2e9a313185 set WINVER to 0x501 2012-10-14 07:37:40 +00:00
Aleksandar Fabijanic
991fb4a31f FreeBSD modifications 2012-09-26 02:51:43 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +00:00
Aleksandar Fabijanic
d8397b9153 - VS2012: build/tests
- JSON: style and exceptions catch by ref fix
- NumberParser: case-insensitive hex parsing
- Dynamic::Var: const std::string& cast operator specialization (coaxing std::string ctor)
- LocalDateTime: strftime fix (buffer too small for full tz string, use %Z instead of %z - makes no difference on windows but is more portable)
- small buildwin.cmd vsvars32.bat call fix
2012-09-24 03:51:40 +00:00
Aleksandar Fabijanic
a77bfefd69 - SF#3560505: NetworkInterface's ::forIndex, etc. methods must select all
- Util::Win x64 ifdefs
- RowFromatter documentation correction
2012-08-22 01:18:33 +00:00
Aleksandar Fabijanic
71a055c81a SF#3522081: WinRegistryConfiguration unable to read REG_QWORD values 2012-08-21 03:15:38 +00:00
Aleksandar Fabijanic
2b2a362926 SF #3544720: AbstractConfigurator to support 64bit values 2012-08-21 02:42:57 +00:00
Aleksandar Fabijanic
7a50c8ee0a added tests from 1.4.4 (rev. 1918) 2012-08-19 02:02:49 +00:00
Aleksandar Fabijanic
47aadf0681 - SF# 3559325: Util Windows broken in non-Unicode
- port of rev. 1918 from 1.4.4 branch (fixed SF# 3519474)
- update VS 2010 Util projects with JSON
2012-08-19 01:42:38 +00:00
Aleksandar Fabijanic
d8bbcc08a7 add JSON to VS 71 and 80 projects 2012-08-18 23:46:01 +00:00
Marian Krivos
a00602dd37 cmake fixes for JSON adding 2012-07-31 06:44:40 +00:00
Aleksandar Fabijanic
acf820c46d VS 2008 project files and build fixes 2012-07-12 05:21:01 +00:00
Aleksandar Fabijanic
95c3e8871e Linux 64-bit and static build fixes (only Ubuntu build tested) 2012-07-07 16:03:21 +00:00
Franky Braem
b521d97102 Add removeRaw, create default JSON::Object in default ctor, trigger events when enabled. 2012-07-04 20:51:24 +00:00
Franky Braem
2f36abaa6d Make setInt, setBool, ... virtual to make it possible to override them 2012-07-04 20:49:56 +00:00
Franky Braem
77ca91b475 Add JSON 2012-07-04 20:48:53 +00:00
Franky Braem
c22c78c5ff Add JSONConfigurationTest 2012-07-04 20:47:59 +00:00
Aleksandar Fabijanic
9bdc08c9f0 - added POCO_ENABLE_CPP11 config define (default for VS >= 2010)
- added _WIN32_WINNT value detection up to Windows 7
- modified Util::Units to compile with VS 2010 (static_assert is standard in C++11)
2012-06-27 02:34:23 +00:00
Marian Krivos
114de565ff added cmake support 2012-06-26 12:37:02 +00:00
Aleksandar Fabijanic
378077f209 fix for tests that got broken with Int64 introduction 2012-06-17 21:39:26 +00:00
Marian Krivos
7eb7176397 SF:# 3522084 : AbstractConfiguration does not support 64-bit integers 2012-05-26 17:25:36 +00:00
Aleksandar Fabijanic
e5e3a57baf updated convertToRegFormat name to begin with lowercase and added test 2012-05-18 03:27:52 +00:00
Franky Braem
8b7c37a837 Add JSONConfiguration 2012-05-03 20:14:38 +00:00
Franky Braem
3c22203119 Add JSONConfiguration 2012-05-03 20:12:28 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Guenter Obiltschnig
2ce14cafb5 added progen files 2012-04-20 15:33:17 +00:00
Marian Krivos
a002f13be2 trunk: updated standard VS2010 sln to include x64 support (all in one) 2012-02-11 12:13:15 +00:00
Marian Krivos
8b70c37260 trunk: sync from 1.4.3
make & cmake fixes
2012-02-04 17:03:09 +00:00
Marian Krivos
218b06621d trunk: split cmake debug/optimize build 2 2012-01-08 19:10:15 +00:00
Marian Krivos
b59d198396 cmake build system cleanup 2012-01-08 09:37:13 +00:00
Marian Krivos
7cb622a445 trunk: split cmake debug/optimize build 2012-01-07 13:45:03 +00:00
Marian Krivos
6268aa3865 backport changes from 1.4.3 branch 2012-01-07 11:06:14 +00:00
Marian Krivos
cc90b38ae5 changes (part 1) from 1.4.3 branch (XMLConfiguration delimiter, OptionProcessor) 2011-11-15 13:59:05 +00:00
Marian Krivos
97ec3f5bf6 backport SharedLibrary changes from 1.4.2-p1 2011-11-04 18:56:08 +00:00
Marian Krivos
bf4776bfd1 POCO_SERVER_MAIN : fix for mingw 2011-09-21 16:24:29 +00:00
Marian Krivos
eb266f8a57 Set cmake produced shared libraries numbering to standard scheme (trunk = 12)
Sync latest Foundation changes from 1.4.2
2011-09-15 08:31:51 +00:00
Marian Krivos
8aa4425690 cmake fixes 2011-09-14 18:22:50 +00:00
Marian Krivos
7e5c3a13d6 XML: complete merge from 1.4.2 2011-09-14 14:55:17 +00:00
Marian Krivos
0ac146cb9e cmake improvements: test and samples are from now disabled by default, you can enable this option with cmdline option to cmake: '-DENABLE_TESTS=1'
minimum required CMAKE version is 2.6 from now
2011-01-22 11:46:03 +00:00
Marian Krivos
861679e616 fix linker error with MINGW32 2011-01-15 17:32:00 +00:00
Marian Krivos
c5b2daa36c cmake build system fix - debug version of ther library was striped and vice versa 2009-08-26 12:26:22 +00:00
Guenter Obiltschnig
addc556949 integrated changes from 1.3.6 2009-06-17 06:52:25 +00:00
Guenter Obiltschnig
0336789662 integrated changes from 1.3.6 2009-06-17 06:47:38 +00:00
Guenter Obiltschnig
09fce4461e changes from 1.3.6 2009-06-17 06:45:14 +00:00
Guenter Obiltschnig
6fa5bcf09f poco-ification of Units header 2009-04-30 11:26:15 +00:00
Guenter Obiltschnig
35a948448c poco-ification of Units header 2009-04-30 11:24:30 +00:00
Guenter Obiltschnig
f9b389f65f poco-ification of Units header 2009-04-30 11:23:31 +00:00
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +00:00
Guenter Obiltschnig
28461b8e1b fixed SF# 2765569: LoadConfiguration failing from current directory 2009-04-21 06:43:48 +00:00
Guenter Obiltschnig
457e24748d added Util::Timer 2009-04-14 10:47:37 +00:00
Guenter Obiltschnig
98eb0eb532 made XMLConfiguration fully writable 2009-04-08 13:08:34 +00:00
Guenter Obiltschnig
614c87b4be documentation improvements, gcc 4.3 warning fix 2009-04-02 13:01:07 +00:00
Guenter Obiltschnig
f517c1b083 fixed SF# 2679279: Handling of -- option broken 2009-03-10 15:14:46 +00:00
Marian Krivos
2c304d744d adaptation cmake scripts to current MinGW platform (exclude SSL/Crypto/MySQL/Apache/ODBC) 2009-02-22 19:58:27 +00:00
Guenter Obiltschnig
fa1658b23a integrated improvements from 1.3.4 (NumberFormatter::append(), DateTimeFormatter::append() 2009-02-21 10:59:58 +00:00
Marian Krivos
24e706aa2a added Data, Foundation, Net and Util samples + some global cmake fixes - second portion 2009-02-19 20:38:07 +00:00
Marian Krivos
129f21cc79 added Data, Foundation, Net and Util samples + some global cmake fixes 2009-02-19 20:35:03 +00:00
Marian Krivos
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +00:00
Marian Krivos
5b320c2894 Very basic but functional (at least on linux with gcc) support
for CMake build system
. 
It is strongly recomended to use out-of-source build to preserve
original Poco makefiles.

http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

I have tested unix makefile generating and Eclipse CDT4 generating.

Supported are static/dynamic and debug/release targets. 
On now only core libs are included: CppUnit, Foundation,
Data, Data/SQLite, Util, Net and XML. But autodetection
of OpenSSL, MySQL and ODBC is working OK already.

CPack and CTest nor library install still doesn't work, only building.

This is only the start.
2009-02-15 15:49:19 +00:00
Guenter Obiltschnig
14a4c61355 - fixed SF# 2012050: Configuration key created on read access; - Poco::Util::WinRegistryKey now has a read-only mode; - Poco::Util::WinRegistryKey::deleteKey() can now recursively delete registry keys 2008-09-18 09:04:17 +00:00
Aleksandar Fabijanic
cb6b75b753 VS 71 projects 2008-08-14 13:28:18 +00:00
Aleksandar Fabijanic
8a0f2272b7 VS 90 project files; removed library dependencies 2008-08-14 13:06:08 +00:00
Aleksandar Fabijanic
43392d87cf URL case typo fix 2008-08-14 10:10:50 +00:00
Aleksandar Fabijanic
4ab0ccaf6d Units 2008-08-14 10:04:46 +00:00
Guenter Obiltschnig
c23141fa4d added release scripts 2008-06-09 18:42:07 +00:00
Chris Johnson
e8111249e5 -Fix bug [ 1985839 ] strip TARGET* in make all
-Tweak MinGW configuration file
-Modified Tuple.h for sane behavior with MinGW
-Modified UtilTestSuite.cpp for conditional use of MFC based on availability of library; otherwise use console
2008-06-06 04:38:13 +00:00
Aleksandar Fabijanic
97b9101d54 [1981139] initial value of reference to non-const must be an lvalue 2008-06-01 20:40:11 +00:00
Guenter Obiltschnig
8bc8552616 fixed a namespace bug in POCO_APP_MAIN macro 2008-04-15 10:59:00 +00:00
Aleksandar Fabijanic
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +00:00
Chris Johnson
def90185aa Added build support for stock MinGW/MSYS build of POCO.
Components now supported by default:
 Foundation {including internal PCRE lib}
 Util
 Net
 XML
 SQL
 SQL/ODBC
 SQL/SQLite
 samples/{all components supported}

Components supported with additional 3rd party MinGW/MSYS libs:
 NetSSL w/OpenSSH

Components unsupported at this time:
 testsuite: Fails to build due to TupleTest - needs slight code change MinGW can't deal with currently.  Only thing causing failure.
 CppUnit: Unable to support this due to WIN32 version of this functionality relying on MFC which does not ship with MinGW/MSYS.
 --no-wstring support due libstdc++ - will require STLPort {support coming soon}


:build/config/MinGW
 +Fixed compiler environment flags and switches
 +Linkage build supports:  SHARED, STATIC, or BOTH
 +Fixed duplicate symbol/unresolved symbol during compile
 +Added PCRE build flag for internal library build/eliminate link errors
 +Disable support of UTF-8 by default, MinGW will require STLPort 
 +Corrected system link libs for MinGW "dumb" linker

:build/rules/global
 +Added MinGW environment deduction logic

:configure
 +Fine tuned environment deduction recognizing MinGW as valid

:Data/ODBC/Makefile
 +Fixed correct ODBC libs to link

:Foundation/Makefile
 +Added logic for building correct subsystem dependency

:Util/Makefile
 +Added logic for building correct subsystem dependency
2008-02-21 09:08:44 +00:00
Aleksandar Fabijanic
5bf096bb2a - SF [1800596] VS Solutions (ver. 8.0 and 9.0)
- SF [1621372] Build Scripts (all Windows scripts consolidated in one)
- eliminated warnings in sqlite3.c
- updated components file
2008-02-17 17:14:33 +00:00
Guenter Obiltschnig
f716fdc5d6 XMLConfiguration now supports modifying properties (contributed by Tom Tan) 2008-02-16 21:02:14 +00:00
Guenter Obiltschnig
40e7be0bab synced with main repository 2008-01-28 17:30:40 +00:00
Eran Hammer-Lahav
19dca2aa79 Feature Request #1873922
Add project and solution files for Visual Studio 2008
2008-01-17 18:07:39 +00:00
Guenter Obiltschnig
a04bae94d7 synchronized trunk 2007-08-10 13:57:07 +00:00
Guenter Obiltschnig
cfca5df1b6 latest sources from main repository 2007-06-13 15:14:29 +00:00
Guenter Obiltschnig
cf80f255be committed 1.3 release 2007-05-07 16:46:23 +00:00
Guenter Obiltschnig
be44df77fd latest changes from main rep 2007-05-05 13:15:55 +00:00
Guenter Obiltschnig
18dfc99ef4 latest changes from main rep 2007-05-04 11:05:34 +00:00
Guenter Obiltschnig
adfaac6703 latest changes from main repository; added eclipse cdt project files 2007-04-28 09:34:20 +00:00
Guenter Obiltschnig
4d80e24d44 latest changes from main repository 2007-04-27 13:25:16 +00:00
Guenter Obiltschnig
965b9458d5 committed latest 1.3 snapshot 2007-04-18 16:24:06 +00:00
Guenter Obiltschnig
a8332eaaf3 fixed SF# 1670279 2007-02-28 09:23:39 +00:00
Guenter Obiltschnig
dfe559af3b changes from main repository 2007-02-27 08:56:44 +00:00
Guenter Obiltschnig
52166593b8 fixed a formatting bug in HelpFormatter 2007-02-26 09:18:05 +00:00
Guenter Obiltschnig
488b63fb0d sync to internal repository 2007-02-23 14:35:25 +00:00
Guenter Obiltschnig
4a68362f6c integrated changes from main rep 2007-01-04 08:18:57 +00:00
Guenter Obiltschnig
898be6c227 sources from main repository 2006-12-22 09:56:56 +00:00
Guenter Obiltschnig
551c728faf sources for 1.3 2006-11-17 16:31:29 +00:00
Guenter Obiltschnig
1ecd4a8a9e set eol-style to native 2006-10-23 16:21:00 +00:00
Guenter Obiltschnig
072ba74f28 changes for 1.2.5 2006-10-23 15:33:11 +00:00
Guenter Obiltschnig
89111b52b3 integrated changes from main repository for upcoming 1.2.5 release 2006-10-12 15:08:28 +00:00
Guenter Obiltschnig
76edf6f35c changes for 1.2.4 2006-09-29 14:39:00 +00:00
Guenter Obiltschnig
2d4078f392 submitted 1.2.0 2006-08-29 07:10:35 +00:00
Guenter Obiltschnig
f476bd6b32 initial import 2006-07-11 16:33:40 +00:00