Commit Graph

382 Commits

Author SHA1 Message Date
Guenter Obiltschnig
5b59077533 fixed project files 2012-10-13 13:22:45 +00:00
Guenter Obiltschnig
21ef6a0ba1 fixed project files 2012-10-13 13:04:10 +00:00
Guenter Obiltschnig
a158798fcb doc fixes 2012-10-13 10:07:38 +00:00
Guenter Obiltschnig
045c23a9f6 renamed page files 2012-10-13 09:07:34 +00:00
Guenter Obiltschnig
e7b0913a7a fixed Data project files 2012-10-10 18:40:01 +00:00
Guenter Obiltschnig
00e9222cbf upgraded sqlite to 3.7.14.1 2012-10-10 17:30:40 +00:00
Aleksandar Fabijanic
0c05ec4701 Data documentation update 2012-09-25 23:39:33 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +00:00
Guenter Obiltschnig
984d8a5617 added release packaging and doc building scripts, fixed some osx build issues 2012-09-25 02:24:56 +00:00
Aleksandar Fabijanic
a6cc973fe3 add connector name shortcut to Session 2012-09-23 21:01:20 +00:00
Aleksandar Fabijanic
248d52164d #310 Connect to MySQL db without specifying database name. 2012-09-23 20:52:02 +00:00
Aleksandar Fabijanic
9c66edfb6f convert space indentations to tabs 2012-09-23 20:01:36 +00:00
Aleksandar Fabijanic
883de9670a Windows/VS2011 build all configs 2012-09-23 06:28:42 +00:00
Aleksandar Fabijanic
027dc6dd96 - remove temp files from repository
- add type cast to eliminate compile warning
2012-09-23 01:26:47 +00:00
Aleksandar Fabijanic
ed93265588 ODBC Linux detection, build, tests 2012-09-22 14:58:14 +00:00
Aleksandar Fabijanic
d9bcaa19a4 MySQL Windows Unicode driver test 2012-09-22 03:48:07 +00:00
Aleksandar Fabijanic
26d488044c native MySQL, ODBC, Nullable; OSX compile, tests and fixes 2012-09-22 02:16:58 +00:00
Aleksandar Fabijanic
f7bd6a8fec OSX compile g++/clang Data,ODBC,SQLite 2012-09-21 05:06:37 +00:00
Aleksandar Fabijanic
32c5b6b998 ODBC fixes and tests (Oracle, SQL Server, MySQL on Windows)
MySQL back-end compile fixes on Windows
Nullable/NullType
2012-09-17 00:18:13 +00:00
Aleksandar Fabijanic
7029c95e07 - ODBC Nullable support and tests (Oracle and SQLServer tested)
- fix for Win7/MSVC80 _WIN32_WINNT macro detection
2012-09-16 03:00:52 +00:00
Aleksandar Fabijanic
5d93d2bba1 SF #3567118: Fix Nullable handling in trunk 2012-09-13 04:04:55 +00:00
Aleksandar Fabijanic
b6b95b8259 2012-09-12 04:22:53 +00:00
Aleksandar Fabijanic
98d2240eb1 eliminate MSVC71 compiler warnings 2012-09-12 04:12:50 +00:00
Aleksandar Fabijanic
9ad1effd8b removed redundant Poco::Data::Nullable 2012-09-12 02:10:31 +00:00
Aleksandar Fabijanic
a264582df1 VS 71 Data compile 2012-09-11 03:32:41 +00:00
Aleksandar Fabijanic
69be5d7e98 - VS 80 build & OS version detection
- SF #3564756: iOS trunk compile fix
2012-09-11 02:02:23 +00:00
Aleksandar Fabijanic
86bafbb27e upgrade SQLite to 3.7.14 2012-09-05 01:07:22 +00:00
Marian Krivos
85d47c4db7 fix compiling for gcc 4.6 2012-09-01 15:40:01 +00:00
Aleksandar Fabijanic
5658d4495f Dynamic::Var null support 2012-08-24 02:03:08 +00:00
Aleksandar Fabijanic
dbda035719 - fixed bug in SQLite Extractor (DateTime extraction not returning false when value is NullPointerException, see http://pocoproject.org/forum/viewtopic.php?f=12&t=5141#p9363 )
- fixed code indentation (spaces to tabs)
2012-08-23 02:34:35 +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
90a8e859bf - SF #3552774: Don't hide default target in subordinate makefile
- SF #3534307: Building IPv6 for Linux by default
- SF #3516844: poco missing symbols with external >=lipcre-8.13 
- fix of rev. 1952 fix (porting rev.1913 from 1.4.4 (fixed SF# 3550553))
2012-08-20 00:57:17 +00:00
Marian Krivos
20c9c08ea1 Data: sqlite updated to the version 3.7.13 2012-08-07 19:18:33 +00:00
Aleksandar Fabijanic
acf820c46d VS 2008 project files and build fixes 2012-07-12 05:21:01 +00:00
Aleksandar Fabijanic
bf4f148782 more linux build fixes/improvements 2012-07-10 03:58:41 +00:00
Aleksandar Fabijanic
95c3e8871e Linux 64-bit and static build fixes (only Ubuntu build tested) 2012-07-07 16:03:21 +00:00
Marian Krivos
114de565ff added cmake support 2012-06-26 12:37:02 +00:00
Aleksandar Fabijanic
e60cb0f58e more new and modified build files 2012-06-25 02:13:06 +00:00
Aleksandar Fabijanic
1de421c0bc progen and project files for Data and PDF samples 2012-06-25 01:43:17 +00:00
Aleksandar Fabijanic
b8503b5972 - change PocoODBC (SQLite, MySQL) to PocoDataODBC (SQLite, MySQL)
- regenerate VS 71,80,90 projects
- generate VS 71,90 projects for PDF
2012-06-25 00:48:59 +00:00
Shan Jiang
48a512d5f4 [trunk] MinGW build update
* Sync with branch 1.4.4.

 * The build libraries (Data/MySQL and PageCompiler omitted):

   113902  libCppUnit.a
   758718  libCppUnitd.a
   354584  libPocoCppParser.a
  2751306  libPocoCppParserd.a
   231374  libPocoCrypto.a
  1329172  libPocoCryptod.a
  4213090  libPocoData.a
 21547884  libPocoDatad.a
  2329028  libPocoDataODBC.a
 20837828  libPocoDataODBCd.a
  1313662  libPocoDataSQLite.a
  4097486  libPocoDataSQLited.a
  2765182  libPocoFoundation.a
 14080018  libPocoFoundationd.a
   490518  libPocoJSON.a
  2901784  libPocoJSONd.a
  1917846  libPocoNet.a
 10028102  libPocoNetd.a
   510168  libPocoNetSSL.a
  4297444  libPocoNetSSLd.a
  1253434  libPocoPDF.a
  3411134  libPocoPDFd.a
   920642  libPocoUtil.a
  5789194  libPocoUtild.a
  1021590  libPocoXML.a
  4803878  libPocoXMLd.a
   550568  libPocoZip.a
  4412172  libPocoZipd.a
2012-06-23 16:07:40 +00:00
Aleksandar Fabijanic
f5bb43f9d3 documentation update 2012-05-18 03:00:27 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
db9e20b7fd minor Data fixes 2012-04-24 02:10:19 +00:00
Marian Krivos
a0daaba97e fix gmake on linux 2012-04-23 10:24:48 +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
Aleksandar Fabijanic
3df497d2bf - fixed broken 2010 projects
- session handle property for SQLite and ODBC
- SQLite database utility functions and test:
(1) loading from disk to memory
(2) saving from memory to disk
2012-03-22 03:02:08 +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
4f6c5241c1 cmake: added build script 'build_cmake.bat' for win 2012-02-09 12:08:46 +00:00
Marian Krivos
1d8e75687e cmake build: POCO_UNBUNDLED support for sqlite 2012-02-06 18:35:26 +00:00
Marian Krivos
31c7bb6c52 trunk:update to the latest sqlite 3.7.10 2012-02-05 13:32:19 +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
59270fc991 fix ODBC/MySQL header/library name 2011-09-22 14:53:57 +00:00
Marian Krivos
e692f6e1a7 fix SQLite header/library name 2011-09-22 14:51:31 +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
cd1ea5980c rename PocoXXXX to PocoDataXXXX 2011-09-14 13:23:36 +00:00
Marian Krivos
f65f178b54 poco::data vs100 project updates 2011-09-14 13:09:29 +00:00
Marian Krivos
a0064a855c Foundation: VS project imports 2011-09-09 19:08:24 +00:00
Marian Krivos
6fb457d83e trunk: update to sqlite 3.7.7.1 2011-08-23 18:43:59 +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
96b0296969 cmake + MinGW32: fix for ignored ODBC 2011-01-16 13:36:24 +00:00
Marian Krivos
b76b5673a6 test compile fix: DataTest.cpp was broken after last LOB class refactoring, erro was:
call of overloaded 'LOB(Poco::Dynamic::Var&)' is ambiguous, candidates are: 
     Poco::Data::LOB<T>::LOB(const Poco::Data::LOB<T>&) [with T = char, Poco::Data::LOB<T> = Poco::Data::LOB<char>]
     Poco::Data::LOB<T>::LOB(const std::basic_string<_CharT>&) [with T = char]
     Poco::Data::LOB<T>::LOB(const std::vector<T>&) [with T = char]
2011-01-15 18:27:49 +00:00
Aleksandar Fabijanic
6210a95755 comment correction 2010-04-05 13:44:40 +00:00
Aleksandar Fabijanic
5c7994c863 TypeHandler documentation clarification and test modification 2009-12-08 01:50:41 +00:00
Aleksandar Fabijanic
50a373c3b9 SF [2903676] Tuple TypeHander does not handle composites. 2009-11-25 14:57:32 +00:00
Aleksandar Fabijanic
4856f84b21 Sun CC wants explicit cast &^( 2009-11-13 13:47:57 +00:00
Aleksandar Fabijanic
d0d667af56 added support for Var assignment to Var-enabled types 2009-11-13 00:12:26 +00:00
Aleksandar Fabijanic
ffd027c38a SF [2150438] Tuple TypeHandler position increment size is wrong 2009-11-02 02:17:58 +00:00
Aleksandar Fabijanic
05131182b8 RowFormatter - progressive and bulk formatting modes 2009-11-01 15:58:32 +00:00
Aleksandar Fabijanic
65ad81c363 - made prefix() and postfix() virtual
- avoid stream operator calls when copying empty strings
2009-10-29 17:45:02 +00:00
Aleksandar Fabijanic
e1d57cf0dc propagate the RowFormatter change to the Row collection 2009-10-02 18:25:40 +00:00
Aleksandar Fabijanic
10bdb05987 serialize SessionPoolContainer access 2009-09-23 20:25:25 +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
Aleksandar Fabijanic
49101951a2 improved support for multiple statement execution and recordset paging 2009-08-11 14:34:21 +00:00
Marian Krivos
56c8ac698e bugfix: #2809750 (iodbc on OSX) 2009-06-22 18:41:44 +00:00
Aleksandar Fabijanic
0d57f8b00f [SF 2809131] SessionPool compile failure, part II 2009-06-20 11:46:43 +00:00
Aleksandar Fabijanic
64b3bc8b76 [SF 2809131] SessionPool compile failure 2009-06-20 00:33:31 +00:00
Aleksandar Fabijanic
8123e9e2f4 [SF 2807750] Support additional SQL types in SQLite 2009-06-17 19:00:49 +00:00
Aleksandar Fabijanic
810cfd2ff4 preserve/restore session features/properties within the pool 2009-05-14 11:05:44 +00:00
Aleksandar Fabijanic
0bd881fd5e SessionPoolContainer: added getPool() and FastMutex locking 2009-05-12 20:04:27 +00:00
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +00:00
Guenter Obiltschnig
d991074a5c udpated sqlite compile settings 2009-03-25 08:04:04 +00:00
Guenter Obiltschnig
62c50bac61 upgraded sqlite to 3.6.11 2009-03-24 12:11:55 +00:00
Marian Krivos
c2d5c64159 fixed testrunner linking when static linking is used (cmake . -DPOCO_STATIC=1) 2009-03-16 18:02:09 +00:00
Marian Krivos
aaa3b1b274 Fix for 64bit linux - size_t isn't always Poco::UInt32 2009-03-08 18:57:55 +00:00
Marian Krivos
c4f6084c25 added last Poco module to cmake infrastructure - PocoODBC (working at least on linux32 + unixodbc + gcc 4.3.2) 2009-03-08 17:03:18 +00:00
Marian Krivos
e0c971a581 unixodbc+linux32 doesn't compile with SQLPOINTER & SQLColAttribute() - old story with ODBC 32/64 API compatibility 2009-03-08 16:50:04 +00:00
Marian Krivos
4faf23e1e7 added test for MySQL API version with respect to mysql_option() 2009-03-08 13:45:58 +00:00
Marian Krivos
a33fb4a4b5 compile fix: thirdth parameter of mysql_option() 2009-03-07 14:59:56 +00:00
Aleksandar Fabijanic
b0bbfb5554 changed set|getTimeout() => set|getLoginTimeout()
added set|getConnectionTimeout()
2009-02-28 01:52:41 +00:00
Aleksandar Fabijanic
68a79674c1 SF [2643953] Improve Data::Session connection 2009-02-27 03:14:53 +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
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
c4dc4b70d3 mising include <cstring> 2009-02-18 20:48:26 +00:00
Marian Krivos
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +00:00
Aleksandar Fabijanic
0f98824311 Poco::UInt32 => std::size_t 2009-02-16 15:12:03 +00:00
Aleksandar Fabijanic
142c248754 use std::size_t in Data interfaces (may break some code on 64-bit platforms) 2009-02-16 03:34:35 +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
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