Commit Graph

196 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
7cb622a445 trunk: split cmake debug/optimize build 2012-01-07 13:45:03 +00:00
Marian Krivos
59270fc991 fix ODBC/MySQL header/library name 2011-09-22 14:53:57 +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
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
Aleksandar Fabijanic
50a373c3b9 SF [2903676] Tuple TypeHander does not handle composites. 2009-11-25 14:57:32 +00:00
Aleksandar Fabijanic
ffd027c38a SF [2150438] Tuple TypeHandler position increment size is wrong 2009-11-02 02:17:58 +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
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +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
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
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +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
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
Aleksandar Fabijanic
b38f5ce99c [SF 2505290] DB connection as URI (MySQL not tested!) 2009-01-13 19:51:48 +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
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
9a024d4516 SessionPool sessions feature/property setters and getters
SessionPoolContainer
2008-10-13 19:20:17 +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
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
Aleksandar Fabijanic
08ee875c9f detect links to odbc libraries 2008-09-19 18:28:46 +00:00
Aleksandar Fabijanic
e409026fba SF [2047672] RecordSet Filtering 2008-08-12 10:12:56 +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
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
Aleksandar Fabijanic
f574e90f41 SF [2019857] Memory leak in Data::ODBC Extractor 2008-07-17 00:40:59 +00:00
Aleksandar Fabijanic
93c6bb0725 removed ODBCStatementImpl stored procedure hack
renamed TypeInfo::getSafeInfo to tryGetInfo
2008-07-16 21:02:56 +00:00
Aleksandar Fabijanic
9f8bd817f3 AutoTransaction test for Oracle ODBC 2008-07-14 18:27:29 +00:00
Peter Schojer
e7ce0a5b52 reduced exception throwing 2008-07-09 08:51:19 +00:00
Guenter Obiltschnig
c23141fa4d added release scripts 2008-06-09 18:42:07 +00:00
Aleksandar Fabijanic
e2fafc6404 [1983595] ODBCMetaColumn type detection fix 2008-06-03 13:52:00 +00:00
Aleksandar Fabijanic
4fe33a7c49 Sun Studio ODBC compile fixes 2008-05-30 19:00:11 +00:00
Aleksandar Fabijanic
e1c7bc55dd SF items 1951604 and 1953551
[1951604] POCO refuses to compile with g++ 4.3.0
[1953551] Solaris Sun Studio 12 Apache stdcxx 64 bit

Warning: compile with target platforms not done yet!
2008-04-28 21:52:10 +00:00
Aleksandar Fabijanic
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +00:00
Aleksandar Fabijanic
d2de70c58a namespace Keywords (!!! breaks existing code !!!)
Following keywords were moved from Poco:Data to Poco::Data::Keywords namespace

- now
- use
- bind
- into
- in
- out
- io
- from
- bulk
- null
- limit
- upperLimit
- lowerLimit
- range
2008-03-20 20:31:23 +00:00
Aleksandar Fabijanic
405e2e5cba POCO_DATA_INVALID_ROW constant and Constants.h header 2008-03-20 17:57:24 +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
Aleksandar Fabijanic
78349bba1f bind() arguments change 2008-02-08 21:21:20 +00:00
Aleksandar Fabijanic
f7aa11c7f5 removed NoDataException throw 2008-02-07 20:14:40 +00:00
Aleksandar Fabijanic
eeb285bb93 - removed position parameter to setParamSetSize() (not used)
- execute call in SQLChannel wrapped in try-catch
2008-02-06 02:29:09 +00:00
Aleksandar Fabijanic
9dde6fb1ef ODBC string truncation bug fix 2008-02-02 21:45:21 +00:00
Aleksandar Fabijanic
fd1d5aed5f date and time types macros 2008-01-26 16:01:42 +00:00
Aleksandar Fabijanic
bc8f7e8680 some compilation refactoring 2008-01-22 02:05:04 +00:00
David Shawley
277101a054 * Makefile
* testsuite/Makefile
  - Replaced .so suffix in ifeq tests with $(SHAREDLIBLINKEXT)
    instead since MacOS uses .dylib.
2008-01-21 01:33:49 +00:00
Aleksandar Fabijanic
5e1605823b SQLite multiple statement handling 2008-01-21 00:56:52 +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
Aleksandar Fabijanic
41c775b41d - use() takes reference now
- bind() for constants
- Statement: allow for easier external binding supply
2008-01-16 03:32:10 +00:00
Aleksandar Fabijanic
9e8e627347 - SQL logging channel and archiving strategy
- row formatting refactored
- affected row count for insert, delete and update returned from Statement::execute()
- internal SQL string formatting capability using Poco::format()
2008-01-12 18:25:27 +00:00
Aleksandar Fabijanic
b57f579d16 SyntaxExcpetion changed into DataFormatException; couple of comment fixes 2008-01-05 21:22:12 +00:00
Aleksandar Fabijanic
76079f5baa unixODBC Unicode support (compiles, not tested) 2008-01-05 20:47:42 +00:00
Aleksandar Fabijanic
6adc6346e6 UnixODBC Unicode support (!not tested!) 2008-01-02 00:20:06 +00:00
Aleksandar Fabijanic
ad61968449 bulk internal extraction fixes and tests; some renaming/refactoring 2007-12-21 02:33:26 +00:00
Aleksandar Fabijanic
7a6904b383 internal bulk extraction; some fixes for recently added features 2007-12-20 00:20:13 +00:00
Aleksandar Fabijanic
8c3d87b1c7 std::deque and std::list bulk support 2007-12-19 02:37:40 +00:00
Aleksandar Fabijanic
1c4e777ab3 - added session "bulk" feature
- removed ODBC driver capability check
2007-12-17 00:20:04 +00:00
Aleksandar Fabijanic
c26de87394 added bulk, removed step 2007-12-16 17:44:46 +00:00
Aleksandar Fabijanic
6e0efdc493 some win Unicode fixes 2007-11-23 13:53:39 +00:00
Aleksandar Fabijanic
2e10390593 - Unicode support (Windows only at this time, UNIX T.B.D.)
- SF bug #1836684 fix (ODBC data lengths in subsequent execute calls)
- many refactoring/cosmetic changes
2007-11-22 23:11:51 +00:00
Aleksandar Fabijanic
fca08a18df step, date, time 2007-11-10 23:21:28 +00:00
Aleksandar Fabijanic
95c5230389 batch statements (multiple results) support 2007-11-06 02:18:32 +00:00
Aleksandar Fabijanic
c3c422d87d multiple results (WIP, compiles and tests pass) 2007-11-04 23:33:07 +00:00