Commit Graph

176 Commits

Author SHA1 Message Date
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
Marian Krivos
454318cd17 Compilation fix: AbstractPreparation -> AbstractPreparator 2009-02-14 15:44:52 +00:00
Aleksandar Fabijanic
b2454e3b83 few tidy-up fixes 2009-02-13 14:14:16 +00:00
Aleksandar Fabijanic
a8c39370be [SF 2593784] SVN trunk RowIterator 2009-02-12 19:43:22 +00:00
Aleksandar Fabijanic
08efaa0572 Removed Transactor template (not needed), fixed documentation, additional tests 2009-02-10 15:51:42 +00:00
Aleksandar Fabijanic
60c8b0183e Transactor documentation and test fix 2009-02-10 13:32:24 +00:00
Aleksandar Fabijanic
d11f007d23 [SF 2580108] Improve transaction handling 2009-02-08 23:14:54 +00:00
Peter Schojer
75ecce9cc4 added support for RENESAS, compile fixes for RENESAS 2009-01-22 08:14:22 +00:00
Aleksandar Fabijanic
363711ed39 SessionPoolContainer::get() fix
few documentation fixes
consolidated redundant MySQL connection params
2009-01-15 17:01:34 +00:00
Aleksandar Fabijanic
b38f5ce99c [SF 2505290] DB connection as URI (MySQL not tested!) 2009-01-13 19:51:48 +00:00
Aleksandar Fabijanic
2f7c6b4aa5 make Row field names case-insensitive 2009-01-07 16:12:40 +00:00
Aleksandar Fabijanic
f84e0947f7 Preparation renamed to Preparator 2008-12-10 22:28:13 +00:00
Aleksandar Fabijanic
5d16c86427 made diagnostics() const 2008-12-08 11:36:56 +00:00
Aleksandar Fabijanic
60f6d0eeea made diagnostics() const 2008-12-07 17:59:25 +00:00
Aleksandar Fabijanic
721062b0d3 adding LOB files 2008-11-24 00:40:30 +00:00
Aleksandar Fabijanic
a42e8d919b [SF 2272430] BLOB and CLOB
Renamed:
(Abstract)Preparation => (Abstract)Preparator
(Abstract)Prepare => (Abstract)Preparation
2008-11-24 00:38:23 +00:00
Aleksandar Fabijanic
4b4ec9393c - introduced Poco::Dynamic namespace
- moved/renamed:
Poco::DynamicAny => Poco::Dynamic::Var
Poco::DynamicAny typedef for backward compatibility (deprecated)
DynamicAny.h forwarding header for backward compatibility (deprecated)

Poco::DynamicAnyHolder => Poco::Dynamic::VarHolder
DynamicAnyHolder.h forwarding header for backward compatibility (deprecated)

Poco::DynamicStruct => Poco::Dynamic::Struct
Poco::DynamicStruct typedef for backward compatibility (deprecated)
DynamicStruct.h forwarding header for backward compatibility (deprecated)

- changed FastMutex to Mutex in Data::SessionPool (deadlocking)
2008-11-16 16:54:37 +00:00
Aleksandar Fabijanic
9d9db7ce90 fixed memory leaks in Preparation and Binder 2008-11-13 02:18:29 +00:00
Peter Schojer
4975ac2c44 copied Crypto from sandbox to trunk 2008-10-31 09:06:54 +00:00
Aleksandar Fabijanic
dcede96ede added SessionPoolExistsException
when duplicate session add is requested by name, it is silently ignored
2008-10-21 13:39:47 +00:00
Aleksandar Fabijanic
4e0cc97d6a SessionPool::name() (maybe this should go into session?)
SessionPool::shutdown() (hanging on destruction for static object - Timer?)
2008-10-17 18:48:27 +00:00
Aleksandar Fabijanic
9a024d4516 SessionPool sessions feature/property setters and getters
SessionPoolContainer
2008-10-13 19:20:17 +00:00
Aleksandar Fabijanic
087550a844 removed std::pair binding/extraction (not needed) 2008-10-09 17:18:50 +00:00
Aleksandar Fabijanic
fa02d5aa5b Exception/ODBCException modifications to safely (SQLite ODBC tests were failing) propagate ODBC error messages up the hierarchy
SharedPtr/AutoPtr TypeHandler tests
FreeTDS SQLServer tests changes from 1.3.3
Windows build scripts fixes from 1.3.3
2008-10-07 18:58:47 +00:00
Peter Schojer
9be2b5bd92 fixed AUtoPtr/SharedPtr specialization 2008-10-07 14:17:05 +00:00
Peter Schojer
eb7c6e8a9a updated null test 2008-10-07 13:03:32 +00:00
Peter Schojer
c66d320a02 added SharedPtr test 2008-10-07 12:56:02 +00:00
Peter Schojer
6455aafd68 added AutoPtr,SharedPtr 2008-10-07 12:45:07 +00:00
Guenter Obiltschnig
585a7f147b fixed SF# 2123231 ] MySQL MEDIUMINT support 2008-09-26 08:07:24 +00:00
Aleksandar Fabijanic
d67bccf359 [2127319] ODBC fails to detect drivers w/ unixODBC 2008-09-24 23:23:46 +00:00
Chris Johnson
0cd0f4cacf Improve dependency libs during linking based on components enabled - resolves link errors on missing libs when a component is disabled. 2008-09-24 05:40:15 +00:00
Chris Johnson
0f2fa0aae6 FIX BUG-2123306 - Added support for optional compiling of NetSSL and Data, including control of which data components (ODBC, MySQL, SQLite)
Added --help configuration additions
FIX MinGW build support for Data component
Corrected link order of Poco components for data samples resulting in unresolved symbol errors
2008-09-23 07:44:45 +00:00
Aleksandar Fabijanic
6ca0056f79 Solaris test compile/run 2008-09-22 18:13:54 +00:00
Aleksandar Fabijanic
aaddff0f41 MySQL:
Solaris compilation fixes
VS90 project file
Makefile
few tidy-up code fixes
2008-09-22 13:32:12 +00:00
Aleksandar Fabijanic
08ee875c9f detect links to odbc libraries 2008-09-19 18:28:46 +00:00
Guenter Obiltschnig
0be3772812 2118943 ] out_of_bound access in Poco::Data::BLOB:rawContent 2008-09-19 08:33:19 +00:00
Guenter Obiltschnig
46c41fcd42 SQLite3 fixes 2008-09-18 11:14:41 +00:00
Aleksandar Fabijanic
f0ffa66fc3 disable MSVC warnings 2008-09-11 11:59:48 +00:00
Peter Schojer
2febc946df updated sqlite to 3.6.2 2008-09-10 12:47:08 +00:00
Peter Schojer
b74e41b626 added std::pair support 2008-09-02 07:02:58 +00:00
Aleksandar Fabijanic
c94cd468de RowIterator positioning 2008-08-25 12:42:31 +00:00
Aleksandar Fabijanic
6b3b3e852f few Row sorting fixes/optimizations 2008-08-14 22:53:45 +00:00
Aleksandar Fabijanic
e409026fba SF [2047672] RecordSet Filtering 2008-08-12 10:12:56 +00:00
Aleksandar Fabijanic
e55781ba66 changed AbstractExtraction::isValueNull(const std::string&, bool) from specialization to overload 2008-07-30 13:54:58 +00:00
Aleksandar Fabijanic
fc5a503593 Changes related to following tracker items:
[2025916] ODBC binds empty string as null?
[2000408] DynamicAny non-initialized state support
[1981130] pointless comparison of unsigned integer with zero

and some refactoring.

Warning: only tested on Windows.
2008-07-29 20:11:38 +00:00
Sergey Kholodilov
3e65280dc1 artificial limit for bind parameters removed. 2008-07-29 16:44:13 +00:00
Aleksandar Fabijanic
f712074b62 pass error diagnostic string to the parent
added class documentation
2008-07-24 11:42:10 +00:00
Aleksandar Fabijanic
d4f2be3fd2 SF [2019857] Memory leak in Data::ODBC Extractor (fixed using Poco::Buffer) 2008-07-20 17:05:18 +00:00
Aleksandar Fabijanic
2589797359 changed Oracle connection string (again) 2008-07-18 14:58:55 +00:00
Aleksandar Fabijanic
a58b6e4c67 changed Oracle connection string 2008-07-18 11:45:17 +00:00