Commit Graph

163 Commits

Author SHA1 Message Date
Csaba Keszegh
61305c01ee fix: set public compiler flags on library targets
POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
  Don't need to guess in headers.
2015-09-15 10:02:38 +02:00
Günter Obiltschnig
dba1d44b15 updated project files 2015-09-06 10:20:10 +02:00
Guenter Obiltschnig
9feb6ea987 more style fixes 2015-09-06 09:56:29 +02:00
Guenter Obiltschnig
95818ff27f fixes for style, documentation and consistency, part I. More coming... 2015-08-27 10:18:32 +02:00
Günter Obiltschnig
dbea46bbcb Merge pull request #920 from mkrivos/xmlstream
New XmlStream API
2015-08-26 12:31:36 +02:00
Marian Krivos
2279c89704 remove serializer part 2015-08-24 17:37:22 +02:00
Marian Krivos
0aa38d1262 remove serializer part 2015-08-24 17:31:08 +02:00
Marian Krivos
eca1119c82 Add RoundTrip example for XML Streaming API + backport lates libstudxml changes from upstream 2015-08-23 14:38:57 +02:00
Marian Krivos
ce003c5522 Formattingt fixes 2015-08-22 22:09:19 +02:00
Marian Krivos
81e495150c Formattingt fixes 2015-08-22 22:02:41 +02:00
Marian Krivos
0887b56cad Formattingt fixes 2015-08-22 21:54:43 +02:00
Marian Krivos
5865c9f383 Formattingt fixes 2015-08-22 21:48:17 +02:00
Marian Krivos
5c0ab24c41 Added XMLStream API tests 2015-08-22 20:58:45 +02:00
Marian Krivos
9bc8d3c851 XMLStream API fixes 2015-08-22 17:36:39 +02:00
Marian Krivos
11211d345d Initial adding of XMLStream API based on libstudxml library 2015-08-22 16:32:51 +02:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00
martin-osborne
7780ab3ae0 Corrected more spellings. 2015-04-10 11:43:49 +01:00
martin-osborne
e9dce11e50 Correct mispelt 'd' and 'e' words. 2015-04-10 10:54:47 +01:00
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Pascal Bach
478360f6b6 cmake: XML cleanup
- explicitly list files
- support unbundled expat
- support POCO_STATIC

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:07 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Simon Warta
2d3cd8203a Fix result enum type XML_Error -> XML_Status
Code did not compile on linux64
2014-06-06 13:56:28 +02:00
Alex Fabijanic
ba0d9830eb GH #463: XML does not compile with XML_UNICODE_WCHAR_T 2014-06-03 22:50:07 -05: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
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
Guenter Obiltschnig
47f6ba60ab XMLWriter: removed unnecessary apostrophe escaping (&apos) 2014-01-24 16:31:10 +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
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
173f205cb6 fixed GH# 128: DOMWriter incorrectly adds SYSTEM keyword to DTD if PUBLIC is already specified 2013-05-24 23:13:03 +02:00
Guenter Obiltschnig
6ca49eb7f6 xmlparse fix for WinCE 2013-05-24 21:45:18 +02:00
Guenter Obiltschnig
94352e18c1 upgraded expat to release 2.1.0 2013-04-09 09:12:48 +02:00
Guenter Obiltschnig
9666e37317 XML: fixed an issue with parsing a memory buffer > 2 GB 2013-04-09 08:45:31 +02: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
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
aleks-f
91d5be438b replaced stream-based number formatting
embedded a portion of double-conversion library
(http://code.google.com/p/double-conversion/)and replaced stream-based
number formatting
2012-12-01 14:10:04 -06: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
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
80c45c859d - added Poco::XML::XMLWriter::depth() member function.
- added Poco::XML::XMLWriter::uniquePrefix() and Poco::XML::XMLWriter::isNamespaceMapped().
- Poco::FileChannel now supports a new rotateOnOpen property (true/false) which can be used
  to force rotation of the log file when it's opened.
- fixed a bug in Poco::XML::XMLWriter::emptyElement(): need to pop namespace context
2012-11-10 11:49:39 +01: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
35848d301d set WINVER to 0x501 2012-10-14 07:35:38 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +00:00
Aleksandar Fabijanic
03ddca58f5 porting rev.1894 to trunk 2012-07-27 02:01:39 +00:00
Marian Krivos
114de565ff added cmake support 2012-06-26 12:37:02 +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
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
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
e0c42bb6f4 another xml test fix 2011-09-14 16:19:04 +00:00
Marian Krivos
3684f805de xml tests fix 2011-09-14 16:14:06 +00:00
Marian Krivos
87f604a743 xml tests fix 2011-09-14 16:13:26 +00:00
Marian Krivos
d589a60abe XML: missing VS files 2011-09-14 15:47:34 +00:00
Marian Krivos
16ff8caf6b XML: complete merge from 1.4.2 2011-09-14 14:34:31 +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
c5b2daa36c cmake build system fix - debug version of ther library was striped and vice versa 2009-08-26 12:26:22 +00:00
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +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
Marian Krivos
ac01609444 cmake scripts for all tests 2009-02-21 20:19:53 +00:00
Marian Krivos
60e1433f51 rest of cmake scripts for samples + apache/apr detection 2009-02-21 09:58:44 +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
57762a2cfc fixed various bugs (see SF tracker) 2008-09-16 17:26:28 +00:00
Aleksandar Fabijanic
6b188d0cb3 windows cmd line build up to 4-levels deep
some VS90 solution and project files fixes
2008-07-01 15:28:17 +00:00
Guenter Obiltschnig
c23141fa4d added release scripts 2008-06-09 18:42:07 +00:00
Aleksandar Fabijanic
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +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
e4d9b3b40f fixed line endings 2008-02-07 16:08:15 +00:00
Guenter Obiltschnig
b526dd81f2 changes from main repository 2008-01-29 09:06:52 +00:00
Guenter Obiltschnig
239471d354 synced with main repository 2008-01-28 17:26:21 +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
cf80f255be committed 1.3 release 2007-05-07 16:46:23 +00:00
Guenter Obiltschnig
18dfc99ef4 latest changes from main rep 2007-05-04 11:05:34 +00:00