Commit Graph

190 Commits

Author SHA1 Message Date
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Alex Fabijanic
1b2bd22d34 wrong field size calculation in ODBC code #1659 and other develop backports 2017-10-30 13:24:32 -05:00
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
Guenter Obiltschnig
4da3f6e645 fixed ODBC testsuite driver 2016-03-04 12:26:24 +01:00
Guenter Obiltschnig
b3a503c13e removed automatic Connector registration in ODBC and SQLite 2016-03-01 17:40:58 +01:00
Günter Obiltschnig
4f0b692d66 added project and solution files for VS2015 2015-08-01 10:29:32 +02:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Aleksandar Fabijanic
86b81bfcbd GH #499: Poco::Data::Statement::execute returns wrong value when zero results (ODBC) 2014-12-17 23:36:26 -06: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
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
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
609a35578c cleared some 64-bit warnings and test failures 2014-05-13 04:06:00 -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
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
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
4923172241 build system fixes 2013-09-18 20:12:27 +02:00
Aleksandar Fabijanic
ebff906402 more Data housekeeping
replaced more pointers with SharedPtr
2013-04-28 20:09:36 -05:00
Aleksandar Fabijanic
225401743f case-insensitivity for SessionPool 2013-04-21 21:39:37 -05:00
aleks-f
4bcddad43e auto-init for db back-ends
Auto initialization for all DB back-ends and some tidy-up for network
windows auto initialization
2013-02-10 09:06:54 -06:00
Alex
b38e5bf3df replaced spaces with tab 2012-12-17 00:02:41 -06:00
aleks-f
e75081af94 added Token::asInteger64(); ODBC tests fix for case-sensitive DB 2012-12-16 19:45:38 -06:00
Alex
7529891713 #593 Poco 1.5.0 on FreeBSD: cannot find -ldl 2012-12-11 22:29:33 -06:00
aleks-f
eaa74307a6 see CHANGELOG
- added Poco::istring (case-insensitive string) and Poco::isubstr
(case-insensitive substring search)
- improved SQLite execute() return (affected rows) value
- added SQLite sys.dual (in-memory system table)
- applied SF Patch #120: The ExpireLRUCache does not compile with a
tuple as key on Visual Studio 2010
- fixed SF Bug #599: JSON::Array and JSON::Object size() member can
implicitly lose precision
- fixed SF Bug #602: iterating database table rows not correct if no
data in table
- fixed SF Bug #603: count() is missing in HashMap
- fixed GH #23: JSON::Object::stringify throw BadCastException
- fixed GH #16: NetworkInterface::firstAddress() should not throw on
unconfigured interfaces
- Android compile/build support (by Rangel Reale)
- TypeHandler::prepare() now takes const-reference
2012-12-04 23:33:44 -06: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
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
41b31153a6 missing project files 2012-10-14 07:57:42 +00:00
Guenter Obiltschnig
b1b07db11c set WINVER to 0x501 2012-10-14 07:45:16 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +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
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
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +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
8aa4425690 cmake fixes 2011-09-14 18:22:50 +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
Aleksandar Fabijanic
50a373c3b9 SF [2903676] Tuple TypeHander does not handle composites. 2009-11-25 14:57:32 +00:00
Aleksandar Fabijanic
10bdb05987 serialize SessionPoolContainer access 2009-09-23 20:25:25 +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
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
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
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
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
Peter Schojer
4975ac2c44 copied Crypto from sandbox to trunk 2008-10-31 09:06:54 +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
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
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
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
9f8bd817f3 AutoTransaction test for Oracle ODBC 2008-07-14 18:27:29 +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
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
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
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
76079f5baa unixODBC Unicode support (compiles, not tested) 2008-01-05 20:47:42 +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