Commit Graph

429 Commits

Author SHA1 Message Date
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
Christopher Baker
e469e4fc62 Fix static init exceptions for MinGW*. 2014-08-21 14:27:51 -05:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Mattes Dolak
ae3cc71263 Fixed ODBC on Win64.
The SQLGetConnectAttr() function can write up to 64-bit integers, as documented by MSDN here: http://msdn.microsoft.com/en-us/library/ms710297%28v=vs.85%29.aspx
This fix uses 64-bit integers instead of 32-bit ones, the original code corrupted the stack when used on win7-x64 with MSSQL 2008.
2014-07-16 09:19:03 +02:00
Pascal Bach
0fd90ec722 cmake: Data cleanup
- explicitly list files
- use find_package for MySQL and ODBC
- remove unused code
- remove unnecessary include dirs
- support unbundled SQLite3
- replace tabs by spaces

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Alex Fabijanic
7a92e72bc8 Fix: HandleExeption assignment operator calls itself 2014-06-09 03:05:25 -05:00
Alex Fabijanic
c99c776aff Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-05-22 02:08:54 -05:00
Alex Fabijanic
5d5c75ac86 added more isEmpty() tests and fixed compile warnings 2014-05-22 02:08:46 -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
Alex Fabijanic
9d47f3ced8 - added GH #445: Add flag to force POCO to preserve manually #defined target Windows versions
- fixed SQLite and MySQL broken builds
2014-05-21 04:47:24 -05:00
Alex Fabijanic
1aa28e1491 GH #290: Unicode support 2014-05-21 03:28:24 -05: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
Alex Fabijanic
d3c8ec01f8 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-05-13 04:06:31 -05:00
Alex Fabijanic
609a35578c cleared some 64-bit warnings and test failures 2014-05-13 04:06:00 -05:00
Alex Fabijanic
0a61d7a2b9 GH #154 Add support for MYSQL_TYPE_NEWDECIMAL
GH #154 Add support for MYSQL_TYPE_NEWDECIMAL to Poco::Data::MySQL
2014-05-12 02:41:48 -05:00
Alex Fabijanic
e4484db61e Attempt to reproduce GH #261 (select into BLOB; the value of all BLOB records are same.) 2014-05-11 22:12:49 -05:00
Alex Fabijanic
74176f7c90 restore id and add tested DB version 2014-05-05 20:10:14 -05:00
Alex Fabijanic
ea56db0e55 restore SPDX license 2014-05-05 20:00:25 -05:00
Alex Fabijanic
3d36b0a8c5 mysql test db autocreate 2014-05-05 19:55:16 -05: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
Alex Fabijanic
ba3a8b08c5 GH #341: Compiling poco-1.5.2 for Cygwin 2014-04-29 23:06:01 -05:00
Alex Fabijanic
794ee36b3d GH #346: Make Poco::Data::Date and Poco::Data::Time compare functions const. 2014-04-29 22:39:30 -05:00
Alex Fabijanic
8a9e7792d9 - fixed GH #362: Defect in Var::parseString when there is no space between value and newline
- fixed GH #314: JSON parsing bug
- added GH #313: MetaColumn additions for Data::ODBC and Data::SQLite
2014-04-29 21:25:30 -05: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
aec59ebe84 added /bigobj option for Data 64-bit builds; ProGen now suports vc.project.compiler/linker.additionalOptions settings in .progen files 2014-04-21 20:39:40 +02:00
Günter Obiltschnig
12c7bb562d re-generated vs100-vs120 project files 2014-04-21 10:50:51 +02:00
Alex Fabijanic
5e67a04540 - add SQLite FTS define to windows non-embedded testsuites
- remove POCO_DATA_SQLITE_FTS define from Config.h
- add console message when FTS tests are no-op
2014-04-19 13:26:09 -05:00
Alex Fabijanic
7ca90c7de1 - make SQLite FTS default on non-embedded windows
- add support for SQLite thread safety configuration on POSIX platforms
- add WEC2013 support to windows Powersjhell build script
2014-04-19 12:59:50 -05:00
Alex Fabijanic
0a54661bb0 - added optional SQLite Full Text Search support
- Powershell build fixes:
  1) Add platform for MSbuild
  2) fixed omit array handling
2014-04-18 21:32:30 -05:00
Guenter Obiltschnig
835845422c minor performance improvement, better workaround for clang issue with handle property 2014-04-18 21:27:46 +02:00
Guenter Obiltschnig
8d14b92b65 source code cosmetics 2014-04-18 21:09:13 +02:00
Günter Obiltschnig
7df5583f57 fixed GH #376: Defect: checking null value when using the same statement multiple times. 2014-04-18 20:50:03 +02:00
Pascal Bach
1e22982ad8 Fix missing ")" in SQLite Connector for windows 2014-03-27 11:29:50 +01:00
Günter Obiltschnig
b2ba1dfb74 -added Windows Embedded Compact 2013 support 2014-03-17 14:36:17 +01:00
Pascal Bach
3f59866f21 Fix additional RecordSet examples in Poco Data 2014-02-27 10:48:45 +01:00
Pascal Bach
a7f17f3161 Fix RecordSet example in Poco Data 2014-02-27 10:29:41 +01:00
Pascal Bach
fdd17d8131 Fix missing double "::" in Poco Data example 2014-02-27 10:17:49 +01:00
Pascal Bach
4c6f75ba41 Fix assert statement in Poco Data documentation 2014-02-27 09:58:49 +01:00
Aleksandar Fabijanic
35e0bd5560 Spelling fix in SessionPool documentation 2014-02-24 20:11:48 -06:00
Sergei Nikulov
dec6bc3918 cmake: added /bigobj option for msvc 2014-02-22 23:31:23 +04:00
Alex Fabijanic
0ad18f3e80 SessionPool diagnostics 2014-02-10 21:33:38 -06: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
latitude37s
58121249c7 Fixed setting of MYSQL_BIND is_unsigned value. 2013-12-19 18:00:19 +00:00
latitude37s
89a4fd6dd6 fieldSize() returns std::size_t, which is not necessarily the same width as unsigned long. 2013-12-19 17:05:50 +00:00
latitude37s
e94075c023 Correctly set MySQL time_type for Poco::Data::Date. 2013-12-19 16:50:38 +00:00
latitude37s
a1792fa833 Removed redundant #includes and fixed spelling mistakes. 2013-12-19 16:32:55 +00:00
Guenter Obiltschnig
af51162455 fixed GH# 350: Memory leak in Data/ODBC with BLOB 2013-12-18 19:34:03 +01:00