Commit Graph

128 Commits

Author SHA1 Message Date
Guenter Obiltschnig
61e0561182 fixed GH #1429: exception thrown in MongoDB when using replicaset 2016-09-28 12:31:48 +02:00
Aleksandar Fabijanic
f51cb5f6fd Merge pull request #1146 from matejk/gh-860
MongoDB: disable unwanted release of resources in PooledConnection
2016-05-05 12:42:44 -05:00
Alex Fabijanic
2a80322ecb merge dev and resolve conflicts 2016-03-11 20:57:28 -08:00
Mathäus Mendel
8895045fb5 Made all testsuite link with pthreads on Unix systems
This fixes the linker errors due to missing pthreads library on AIX.
2016-03-11 10:30:15 -03:00
Alex Fabijanic
31d23d2d2a Merge branch 'develop' into pr/1113 2016-03-10 08:57:21 -08:00
Mathäus Mendel
ede77f46ee Removed unused variables
When compiling with higher warning levels the compiler warns about
these unused variables.
2016-03-09 17:20:37 -03:00
Alex Fabijanic
92225086a4 generated CppUnit and testsuites VS projects 2016-03-06 20:54:26 -08:00
Matej Kenda
0ba1e62811 MongoDB::PooledConnection: Prevent unwanted release by disabling copy semantics. Enabled move semantics for C++11. 2016-02-03 21:39:29 +01:00
FrancisANDRE
ce797f7700 Make CppUnit a component of Poco
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-01-08 00:17:13 +01:00
FrancisANDRE
6e97a9f11b Split tests into samples & tests.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-19 17:15:55 +01:00
FrancisANDRE
9039ae6b2f Merge remote-tracking branch 'pocoproject@github/develop' into develop
Conflicts:
	buildwin.ps1


Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-13 12:11:35 +01:00
Alex Fabijanic
6aa004564d fix mongo test progen and regenerate projects 2015-12-12 19:37:28 -06:00
fbraem
a5a46bab95 Add UUID support 2015-12-12 19:13:55 +01:00
fbraem
edc8d2abff Add getInteger 2015-12-12 17:15:55 +01:00
FrancisANDRE
3d029ea597 Merge remote-tracking branch 'pocoproject@github/develop' into develop 2015-12-10 22:39:52 +01:00
FrancisANDRE
42b317ba18 Add ws2_32.lib
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-08 21:57:17 +01:00
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