Commit Graph

495 Commits

Author SHA1 Message Date
Günter Obiltschnig
7df5583f57 fixed GH #376: Defect: checking null value when using the same statement multiple times. 2014-04-18 20:50:03 +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
Pascal Bach
3f59866f21 Fix additional RecordSet examples in Poco Data 2014-02-27 10:48:45 +01:00
Pascal Bach
a7f17f3161 Fix RecordSet example in Poco Data 2014-02-27 10:29:41 +01:00
Pascal Bach
fdd17d8131 Fix missing double "::" in Poco Data example 2014-02-27 10:17:49 +01:00
Pascal Bach
4c6f75ba41 Fix assert statement in Poco Data documentation 2014-02-27 09:58:49 +01:00
Aleksandar Fabijanic
35e0bd5560 Spelling fix in SessionPool documentation 2014-02-24 20:11:48 -06:00
Sergei Nikulov
dec6bc3918 cmake: added /bigobj option for msvc 2014-02-22 23:31:23 +04:00
Alex Fabijanic
0ad18f3e80 SessionPool diagnostics 2014-02-10 21:33:38 -06:00
Linquize
c2ca2ffb58 Build the libraries before their TestSuites
Fixes error LINK : fatal error LNK1104: cannot open file 'Poco*.lib'
2014-01-16 08:03:42 +08:00
latitude37s
58121249c7 Fixed setting of MYSQL_BIND is_unsigned value. 2013-12-19 18:00:19 +00:00
latitude37s
89a4fd6dd6 fieldSize() returns std::size_t, which is not necessarily the same width as unsigned long. 2013-12-19 17:05:50 +00:00
latitude37s
e94075c023 Correctly set MySQL time_type for Poco::Data::Date. 2013-12-19 16:50:38 +00:00
latitude37s
a1792fa833 Removed redundant #includes and fixed spelling mistakes. 2013-12-19 16:32:55 +00:00
Guenter Obiltschnig
af51162455 fixed GH# 350: Memory leak in Data/ODBC with BLOB 2013-12-18 19:34:03 +01:00
Guenter Obiltschnig
8f07db4aa3 various fixes - see CHANGELOG 2013-11-14 21:54:41 +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
4923172241 build system fixes 2013-09-18 20:12:27 +02:00
Guenter Obiltschnig
fd6433eb4e fixed GH# 252: Unsupported data type "NUMERIC" in SQLite 2013-08-02 18:21:38 +02:00
Yuan Pengfei
1324366974 Add MySQL charset configuration support 2013-07-25 08:19:52 +08: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
d09a728029 MySQL: accept BLOBs type for strings 2013-07-18 12:37:38 +02:00
Aleksandar Fabijanic
36025ccc33 GH #224: building 1.5.1 on Windows for x64 2013-06-18 00:02:04 -05:00
Alex
ae7fe5f4be fix MySQLTest info calls 2013-06-09 13:41:36 -05:00
Aleksandar Fabijanic
b95ec4fe53 MySQL fixes/additions/improvements
- fixed GH #187: MySQL: allow access to the underlying connection handle
- added GH #186: MySQL: support for MYSQL_SECURE_AUTH
- fixed GH #174: MySQL: 4GB allocated when reading any largetext or
largeblob field
2013-06-09 12:33:57 -05:00
Cameron Smith
af84d915d0 Added new test to test case list. 2013-06-07 15:57:22 -04:00
Cameron Smith
07f33b729a GH #192: Unsigned integer values not handled properly in result sets 2013-06-07 15:14:18 -04:00
Aleksandar Fabijanic
bc808cf9d4 WebNotifier example
- added WebNotifier example
- fixed/tidied up SOO alignment code
2013-05-30 23:23:37 -05:00
Aleksandar Fabijanic
e5eaffb790 removed Var iterators, fixed SOO alignment
- removed unnecessary using directives in Data library
- removed iterator pointers from Var (reduce size, always return copy)
- added Alignment header (adapted from LLVM infrastructure)
- added alignment guards to SOO implementations
2013-05-29 23:36:45 -05:00
Aleksandar Fabijanic
38131d452d Var/JSON changes
- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
2013-05-27 21:33:27 -05:00
Guenter Obiltschnig
4c8d810cec upgraded bundled sqlite to 3.7.17 2013-05-25 21:36:38 +02:00
Alex
e06fec0e24 MySQL test TypeHandler SharedPtrs 2013-04-28 21:17:20 -05:00
Alex
6c82001661 clang compile fix 2013-04-28 20:33:09 -05:00
Aleksandar Fabijanic
ebff906402 more Data housekeeping
replaced more pointers with SharedPtr
2013-04-28 20:09:36 -05:00
Aleksandar Fabijanic
9663074e9e clang/mac fixes 2013-04-28 12:49:02 -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
Aleksandar Fabijanic
225401743f case-insensitivity for SessionPool 2013-04-21 21:39:37 -05:00
Guenter Obiltschnig
2481fdea78 - Data/ODBC: added support for setting query timeout (via setProperty
of "queryTimeout"). Timeout is int, given in seconds.
2013-04-10 22:07:10 +02:00
aleks-f
04decc0133 removed unused vars in tests 2013-04-03 20:11:29 -05:00
aleks-f
dae51b2ebe Mac/clang compile 2013-04-03 20:02:35 -05:00
aleks-f
1021b792b7 change RowFormatter* to RowFormatterPtr
Modified all uses of RowFormatter pointer to SharedPtr (RowFormatterPtr)
2013-04-03 19:19: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
aleks-f
daef0aa403 MongoDB sample build files 2013-03-12 22:58:37 -05:00
Marian Krivos
f137388cb5 cmake fix for SQLite Notifier.cpp 2013-02-23 14:29:11 +01:00
Adrian Imboden
453946edcf MySQL: Take mysql_affected_rows returning -1 into account (was not a SELECT statement) 2013-02-22 00:05:21 +01:00
Adrian Imboden
7354622810 Updated MySQL UnitTest 2013-02-21 21:59:52 +01:00
Adrian Imboden
4ce851672a MySQL: Implemented affectedRowCount 2013-02-21 20:34:20 +01:00
Adrian Imboden
b0bc3084d2 Data/SessionPool: Spelling mistakes fixed 2013-02-21 00:19:31 +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
9378680c0b Merge remote-tracking branch 'origin/ip-address-soo' into develop 2013-02-17 16:33:44 -06: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
Adrian Imboden
6149beb920 Fixed bug: Pointers to vector internas were given away and became invalid because of resizing the vector 2013-02-12 23:43:02 +01: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
c7cb7e4498 Time gcc compile fix 2013-02-09 22:54:28 -06:00
aleks-f
f09e1820cd LOB gcc compile fix 2013-02-09 22:53:10 -06:00
aleks-f
317fd37d2b another compile fix 2013-02-09 22:51:28 -06:00
aleks-f
134a2b9a73 gcc Var Date compile fix 2013-02-09 22:50:32 -06:00
aleks-f
6a859abb41 gcc Var Date conversion fix 2013-02-09 22:48:56 -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
21da0129b6 Dynamic::Var SOO
Dynamic::Var  small object optimization and some refactoring
2013-02-05 22:12:21 -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
Alex
b38e5bf3df replaced spaces with tab 2012-12-17 00:02:41 -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
56812d353b Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2012-12-16 19:46:19 -06:00
aleks-f
e75081af94 added Token::asInteger64(); ODBC tests fix for case-sensitive DB 2012-12-16 19:45:38 -06:00
Alex
19ef47474b silence deprecated iODBC warnings 2012-12-16 13:52:39 -06:00
Mathäus Mendel
dc9aafa7a1 Moved contributed CMake modules to "cmake" folder
By convention CMake project files are placed on a folder called "cmake" and then called from the build system by appending the CMAKE_MODULE_PATH variable
2012-12-16 00:40:40 -02:00
Aleksandar Fabijanic
031302469f revise ODBC Unicode string functions
http://support.microsoft.com/kb/294169
added Buffer::size/capacityBytes returning length of buffer in bytes
only windows Unicode ODBC tested
reverting the SF #506 fix (non-conforming driver, causes problems with
other ODBC drivers)
2012-12-15 13:47:22 -06:00
aleks-f
e837015176 separate tests for Date/Time 2012-12-15 10:22:34 -06:00
aleks-f
be73b11b54 test db address 2012-12-14 19:55:46 -06:00
aleks-f
413db6d246 clean temp file garbage 2012-12-14 19:53:59 -06:00
aleks-f
2a81e59e8c MySQL DateTime support, samples Linux compile 2012-12-14 19:48:10 -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
Alex
7529891713 #593 Poco 1.5.0 on FreeBSD: cannot find -ldl 2012-12-11 22:29:33 -06:00
aleks-f
e3d49fe766 Data::ODBC::SessionImpl.canTransact fails on Win7
SF #506: Data::ODBC::SessionImpl.canTransact fails on Win 7
2012-12-11 22:00:56 -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
ec84a9a8c6 added DateTime to samples
added DateTime to samples
fixed TypeHandler::prepare for AutoPtr and SharedPtr
2012-12-06 22:35:08 -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
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
514566ecd7 removed .vmsbuild files, which are no longer maintained 2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
8b91562dbd more line ending fixes 2012-11-11 11:07:27 +01: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
cba4641ab9 WinCE fixes 2012-10-15 09:49:17 +00:00
Guenter Obiltschnig
f5351b2f49 fixed 2012/64 project files 2012-10-14 14:55:49 +00:00
Guenter Obiltschnig
1d7fdb1494 updated docs 2012-10-14 12:29:08 +00:00
Guenter Obiltschnig
b90307c200 fixed vs2010 testsuite project files 2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
b0dff76762 workaround for data testsuite linker issue 2012-10-14 09:51:34 +00:00
Guenter Obiltschnig
4624a585dd workaround for data testsuite linker issue 2012-10-14 09:27:50 +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
cfcdace422 missing project files 2012-10-14 07:56:57 +00:00
Guenter Obiltschnig
e8a398afea missing project files 2012-10-14 07:55:58 +00:00
Guenter Obiltschnig
4fd9628511 set WINVER to 0x501 2012-10-14 07:46:25 +00:00
Guenter Obiltschnig
b1b07db11c set WINVER to 0x501 2012-10-14 07:45:16 +00:00
Guenter Obiltschnig
e4242bc888 set WINVER to 0x501 2012-10-14 07:43:27 +00:00
Guenter Obiltschnig
d97fce4a26 set WINVER to 0x501 2012-10-14 07:42:06 +00:00
Aleksandar Fabijanic
9f5a680e28 updated Data documentation 2012-10-13 18:01:10 +00:00
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