Commit Graph

243 Commits

Author SHA1 Message Date
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
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
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
fd6433eb4e fixed GH# 252: Unsupported data type "NUMERIC" in SQLite 2013-08-02 18:21:38 +02:00
Günter Obiltschnig
c7f873eee8 added missing x64_vs90 project files, fixed Util x64 project files, fixed some warnings 2013-07-22 20:44:35 +02:00
Guenter Obiltschnig
4c8d810cec upgraded bundled sqlite to 3.7.17 2013-05-25 21:36:38 +02:00
Aleksandar Fabijanic
ebff906402 more Data housekeeping
replaced more pointers with SharedPtr
2013-04-28 20:09:36 -05:00
Aleksandar Fabijanic
a50823c5a8 data housekeeping
- removed naked pointers from Data interfaces
- fixed GH #82: name conflict in Data::Keywords::bind
- fixed GH #157: MySQL: cannot bind to 'long' data type on
Windows/Visual C++
- fixed GH #158: MySQL: MYSQL_BIND 'is_unsigned' member is not set
2013-04-28 12:34:07 -05:00
aleks-f
04decc0133 removed unused vars in tests 2013-04-03 20:11:29 -05:00
aleks-f
ce666f84f1 added missing Data x64 solutions for VS 2010
- fixed GH #102: Some subprojects don't have x64 solutions for VS 2010
2013-03-19 21:41:57 -05:00
Marian Krivos
f137388cb5 cmake fix for SQLite Notifier.cpp 2013-02-23 14:29:11 +01:00
aleks-f
6943505634 SQLite event notifier
Notifier is SQLite DB event (insert, update, delete, commit, rollback)
callback wrapper.
2013-02-20 16:35:42 -06:00
aleks-f
c1af36b973 delete from table optimization comment 2013-02-18 10:48:05 -06:00
aleks-f
32602031fc removed delete from table optimization workaround
- added more affected rows tests
- removed documentation and thes for "DELETE FROM TABLE" optimization
bug (fixed as of SQLite 3.6.5, see http://sqlite.org/lang_delete.html )
2013-02-18 10:46:49 -06:00
Aleksandar Fabijanic
11cddbf751 Merge pull request #91 from RangelReale/sqlitedual
Improve SQLite multi-threaded use
2013-02-18 08:33:38 -08:00
aleks-f
efc0387838 gcc warning fix 2013-02-17 16:30:31 -06:00
Alex
6cae42a29c clang fixes 2013-02-17 16:11:09 -06:00
aleks-f
9ea546d981 more callbacks and transaction tests
- added callbacks for commit and rollback with tests
- added transaction tests
2013-02-17 15:12:07 -06:00
Rangel Reale
7f6bc31364 * Use sqlite3_stmt_readonly to determine if sqlite3_changes should be called
* Remove sys.dual dependency, improving multi-threaded applications
2013-02-17 12:03:01 -03:00
aleks-f
59087c7cf1 passify g++ 2013-02-10 22:43:13 -06:00
aleks-f
93c9e83e8d SQLite update event handling 2013-02-10 22:27:16 -06: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
aleks-f
d6042065ec Auto init for Net and SQLite (win)
Auto init for Net and SQLite (only tested on Windows)
2013-02-09 22:39:07 -06:00
aleks-f
76a7e2e716 GH56: Need a way to disable *_API macros with GCC
GH #56: Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
aleks-f
ba70e7f734 fixed and improved thread mode set/test
fixed and improved threading mode setting and testing/benchmarking
2012-12-23 15:27:32 -06:00
aleks-f
50b67d711f added multi-session sys table tests 2012-12-23 03:27:56 -06:00
aleks-f
760fa4bbb0 see CHANGELOG
- upgraded SQLite to version 3.7.15.1 (2012-12-19)
- fixed SQLite affectedRows reporting and added tests
- added SQLite::Utility::isThreadSafe() function
- added SQLite::Utility::setThreadMode(int mode) function
- fixed GH #41: Buffer::resize crash
2012-12-23 02:36:01 -06:00
aleks-f
7e1374a004 remove unecessary toLower()
make SessionFactory map keys case insensitive nad remove unnecessary
toLower() calls
2012-12-16 22:06:03 -06:00
aleks-f
ef9cda6666 GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
Alex
560908b715 SF #97 fix c++0x / clang++ bugs 2012-12-11 22:29:33 -06:00
Mathäus Mendel
e3649153b8 Fixed build with CMake
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02: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
Rangel Reale
74cb607471 * BUGFIX: SQLiteStatement was return affected rows even when there were none
* Allows binding of null Poco::Any.
2012-11-11 11:54:38 -02: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
78dfc96330 WinCE fixes 2012-10-15 09:52:27 +00: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
e8a398afea missing project files 2012-10-14 07:55:58 +00:00
Guenter Obiltschnig
e4242bc888 set WINVER to 0x501 2012-10-14 07:43:27 +00:00
Aleksandar Fabijanic
9f5a680e28 updated Data documentation 2012-10-13 18:01:10 +00:00
Guenter Obiltschnig
00e9222cbf upgraded sqlite to 3.7.14.1 2012-10-10 17:30:40 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +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
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
9ad1effd8b removed redundant Poco::Data::Nullable 2012-09-12 02:10:31 +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
Marian Krivos
20c9c08ea1 Data: sqlite updated to the version 3.7.13 2012-08-07 19:18:33 +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
Aleksandar Fabijanic
db9e20b7fd minor Data fixes 2012-04-24 02:10:19 +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
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
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
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
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
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
8123e9e2f4 [SF 2807750] Support additional SQL types in SQLite 2009-06-17 19:00:49 +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
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
129f21cc79 added Data, Foundation, Net and Util samples + some global cmake fixes 2009-02-19 20:35:03 +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
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
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
b38f5ce99c [SF 2505290] DB connection as URI (MySQL not tested!) 2009-01-13 19:51:48 +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
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
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
b1f895eed8 DynamicAny improvements (now holds any type out-of-the-box), some refactoring and documentation improvements 2008-06-30 00:26:54 +00:00
Guenter Obiltschnig
c23141fa4d added release scripts 2008-06-09 18:42:07 +00:00
Aleksandar Fabijanic
4e774e71aa SunOS build consolidation:
build/config/SunOS renamed to SunOS-SunForte
added build/config/SunOS-SunStudio
modified build/rules/global to select proper configuration based on detected Sun compiler version
disabled spurious hidevf warning for Data/testsuite and Data/SQLite Sun build
2008-05-28 19:08:40 +00:00
Aleksandar Fabijanic
d6ace3c20a various use()/useRef()/bind() case tests 2008-05-25 16:09:11 +00:00
Aleksandar Fabijanic
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +00:00
Guenter Obiltschnig
6827e13c0f added shared cache support to sqlite 2008-03-26 09:11:18 +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
Guenter Obiltschnig
cf60e2a5d8 updated Data samples; updated SQlite to 3.5.5 2008-02-03 13:48:59 +00:00
Aleksandar Fabijanic
bc8f7e8680 some compilation refactoring 2008-01-22 02:05:04 +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
48d0d9fef9 fix for SF 1871946 (no exception thrown on error) 2008-01-16 00:25:28 +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
e1d27fecba RowFormatter redesign, sample and some other minor changes 2008-01-05 21:19:33 +00:00
Aleksandar Fabijanic
c26de87394 added bulk, removed step 2007-12-16 17:44:46 +00:00
Aleksandar Fabijanic
fca08a18df step, date, time 2007-11-10 23:21:28 +00:00
Aleksandar Fabijanic
a6aa475b55 Any and DynamicAny out and io 2007-10-31 21:48:22 +00:00
Aleksandar Fabijanic
e7ac6e383c Any and DynamicAny binding/extraction 2007-10-31 01:29:21 +00:00
Aleksandar Fabijanic
98191f1b2b nvl reversed to DynamicAny 2007-10-23 19:40:06 +00:00
Aleksandar Fabijanic
d9364e8f51 some async-robustness additions and tests for Statement 2007-09-30 16:42:17 +00:00
Aleksandar Fabijanic
6e380b6b13 Various feature additions and fixes:
- asynchronous execution for Data::Statement
- ActiveMethod copy and assignment
- added Data components to $POCO_BASE/components
- SQLite 64-bit integer default
- SessionPool timer seconds to milliseconds
- ODBC fix for subsequent calls to execute()
- std::deque (instead of std::vector) as default container
2007-09-29 18:40:43 +00:00
Guenter Obiltschnig
dfbc0e1d24 added Session::isTransaction() 2007-08-10 14:08:45 +00:00
Aleksandar Fabijanic
b2977d3df2 Row and RowIterator done and tested (windows and linux) 2007-06-23 01:22:55 +00:00
Aleksandar Fabijanic
366ac99f7d unused variable warning cleanup 2007-06-21 01:29:29 +00:00
Aleksandar Fabijanic
7fac905b65 null bindings and RecordSet::isNull (SQLite done and tested, ODBC todo) 2007-06-19 23:24:16 +00:00
Guenter Obiltschnig
0b2b989a95 SQLite fixes; minor cosmetic fixes 2007-06-13 15:11:21 +00:00
Guenter Obiltschnig
d480055a85 final Data changes 2007-05-16 11:23:29 +00:00
Aleksandar Fabijanic
6027101fa6 0-based col/row, RecordSet metadata, Tuple sample 2007-05-16 04:17:03 +00:00
Guenter Obiltschnig
b9f60b8f5e some renaming and clean-up 2007-05-15 18:34:37 +00:00
Guenter Obiltschnig
01bcb63000 committed Data 2007-05-12 14:41:03 +00:00