Commit Graph

112 Commits

Author SHA1 Message Date
fbraem
0230ba6450 Organize connection code / Fix #1051 2015-12-08 18:37:41 +01:00
fbraem
0f7729cbb5 Surround date in toString with quotes. Fix #1062 2015-12-08 18:37:08 +01:00
Csaba Keszegh
61305c01ee fix: set public compiler flags on library targets
POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
  Don't need to guess in headers.
2015-09-15 10:02:38 +02:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00
Aleksandar Fabijanic
99f013f678 Merge pull request #852 from fbraem/develop
Database::count() can parse different types of 'n' attribute in result.
2015-06-05 08:59:32 -05:00
fbraem
aaabc3c9e9 Database::count() can parse different types of 'n' attribute in result. 2015-06-03 20:34:05 +02:00
Aleksandar Fabijanic
15a7bc3a0b Merge pull request #841 from fbraem/develop
Added const to Document/Array::isType
2015-05-28 12:16:28 -05:00
fbraem
0a68bbfbea Fix: indentation of array elements in toString(). 2015-05-28 16:39:24 +02:00
fbraem
623dfe7606 Added const to Document/Array::isType 2015-05-28 16:32:00 +02:00
Matej Kenda
01fc7f2e1c Added condition variable and timeout to ObjectPool::borrowObject/returnObject to block caller until an object is available. 2015-05-27 14:01:39 +02:00
fbraem
ca1a79f6b1 Add SELECT ... WHERE field IN ( ... ) sample 2015-05-25 20:33:42 +02:00
fbraem
7cfd70d56f $orderby must be -1 or 1. The latest MongoDB release throws an error when using 0. 2015-05-14 18:36:18 +02:00
fbraem
732ae1c75a Add testCommand 2015-05-14 18:35:13 +02:00
fbraem
4da82a4102 Use std::list for storing elements in document instead of std::set 2015-05-14 18:34:57 +02:00
fbraem
4c4ab51a2c Use type int for count 2015-03-21 21:57:01 +01:00
fbraem
65c704ea90 Fix #750 missing binary size 2015-03-21 21:53:51 +01:00
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Günter Obiltschnig
5ec33f9830 Merge pull request #648 from fbraem/develop
ObjectId constructor translates a hex string (24 chars) into a 12 byte object id
2014-12-21 10:28:30 +01:00
fbraem
eb879985b0 ObjectId constructor translates a hex string (24 characters) into a 12 byte object id 2014-12-20 19:11:16 +01: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
fbraem
9f7076d7a7 Remove duplicate code 2014-11-27 22:58:09 +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
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02: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
Günter Obiltschnig
a2617235fe #538 more dtor fixes and some style fixes along the way 2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46: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
Pascal Bach
47c70bb11e cmake: MongoDB cleanup
- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Josh Blum
f442148670 poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07: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
c1eb293261 GH #440 changed default string format 2014-05-08 21:48:41 -05:00
Alex Fabijanic
556d8cf1c4 GH #440 MongoDB ObjectId string formatting 2014-05-08 21:35:56 -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
Alex Fabijanic
46b5785d98 - fixed PS build script environment vars generation
- fixed MongoDB 64-bit std::size_t warnings
- added Thread::trySleep()/wakeUp() and tests
2014-04-25 23:50:53 -05:00
Günter Obiltschnig
f3c855c33d Merge pull request #429 from fbraem/develop
Solve collection name problem in ensureIndex
2014-04-22 20:26:20 +02:00
fbraem
063a642957 Solve collection name problem in ensureIndex 2014-04-22 20:21:17 +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
Aleksandar Fabijanic
d9f92d506d Update MessageHeader.h 2014-03-11 20:31:06 -05:00
Aleksandar Fabijanic
1cd745996c Merge pull request #315 from fbraem/develop
Solve wrong escaping of unicode characters
2014-03-11 20:29:18 -05:00
fbraem
65988bbf8d Use Int32 for messageLength 2014-02-19 19:07:02 +01:00
Aleksandar Fabijanic
e6e85416c9 Merge pull request #367 from linquize/vs2013
VS2013 fixes
2014-01-15 19:27:45 -08: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
Günter Obiltschnig
d1f55feff5 fixed project files 2014-01-15 11:48:18 +01:00
Günter Obiltschnig
518fd0ed1c fixed project files 2014-01-15 11:42:05 +01:00
Alex Fabijanic
1c732e9938 removed MFC dependencies (WinTestRunner) from test VS projects 2013-11-07 23:31:30 -06:00