Commit Graph

175 Commits

Author SHA1 Message Date
Francis ANDRE
db5d570f33 Add Poco as prefix of CppUnit import libs 2018-05-28 19:58:05 +02:00
Francis ANDRE
be79688077 Use PocoCppUnit instead of CppUnit 2018-05-25 14:05:00 +02:00
zosrothko
960ecb38f0 Poco 1.9.1 assert true (#2255)
* Rename assert by assertTrue

* Update submodules

* Missing assertTrue

* Rename poco_assertTrue to poco_assert

* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06:00
Jörg-Christian Böhme
181fc0eea3 Fix unit tests for android build 2018-03-04 21:26:08 +01:00
Joerg-Christian Boehme
9feabc7723 Add android build on travis (#1981)
* Add build for android in travis CI.

* Fix review findings. Change from __ANDORID__ to POCO_ANDROID

* Add android test

* Fix compile issue after rebase

* Ignore test big ping when its failing
2018-02-26 18:54:40 -06:00
Guenter Obiltschnig
c672c14e5a remove duplicate files and remaining Id headers 2017-11-10 09:26:24 +01:00
Günter Obiltschnig
16b77b9db3 fixed MongoDB testsuite project files for static builds 2017-11-08 20:48:02 +01:00
Günter Obiltschnig
f0a79015f7
Merge pull request #1970 from Kampbell/poco-1.8.0
Poco 1.8.0
2017-11-08 13:28:14 +01:00
Guenter Obiltschnig
d90a3da585 merge fixes from develop 2017-11-08 11:48:52 +01:00
Guenter Obiltschnig
abc4919bfa improved URI support; added tests 2017-11-08 11:42:05 +01:00
Günter Obiltschnig
210248d719 MongoDB: add connection string URI support 2017-11-08 10:16:25 +01:00
Francis ANDRE
5591d10a21 Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0 2017-10-31 18:11:51 +01:00
Guenter Obiltschnig
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
zosrothko
f2e58c17e8 Add Gradle build scripts. 2017-10-31 09:07:53 +01:00
Guenter Obiltschnig
f10d3a28f3 added Visual Studio 2017 project files 2017-02-20 16:20:16 +01:00
Guenter Obiltschnig
6462d4ce86 code cleanup 2017-02-17 16:22:14 +01:00
Guenter Obiltschnig
ba6a7900e2 improve compatibility with DocumentDB 2017-02-13 20:44:41 +01:00
Guenter Obiltschnig
e84788f085 fix sample 2017-02-13 16:38:28 +01:00
Guenter Obiltschnig
b3be17063a style fix 2017-02-13 16:03:45 +01:00
Guenter Obiltschnig
1aa6f72085 MongoDB: fixes for style and consistency 2017-02-13 15:53:08 +01:00
Guenter Obiltschnig
9f8146ccaa merged changes from develop; added authentication support 2017-02-12 23:13:51 +01:00
Guenter Obiltschnig
4c7562c497 style fix 2016-09-28 12:23:07 +02:00
Tomaz Beltram
b042b892db Renamed SpecialTimestamp to BSONTimestamp 2016-09-28 10:58:46 +02:00
Tomaz Beltram
584a776d77 Revert "Renamed MongoDB::SpecialTimestamp to MongoDB::Timestamp"
This reverts commit 06f6f05566.
2016-09-28 10:55:05 +02:00
Tomaz Beltram
06f6f05566 Renamed MongoDB::SpecialTimestamp to MongoDB::Timestamp 2016-09-28 10:47:14 +02:00
Tomaz Beltram
1852739547 MongoDB BSON type 0x11 support, fixes #1429 2016-09-28 10:16:03 +02:00
Guenter Obiltschnig
e25a17030d integrated CMake improvements from develop (GH #946) 2015-09-26 11:11:23 +02:00
Günter Obiltschnig
4f0b692d66 added project and solution files for VS2015 2015-08-01 10:29:32 +02:00
fbraem
dc92077d29 Fix #750 missing binary size 2015-03-28 12:02:18 +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
Alex Fabijanic
4297d78621 VS 2013 projects/solutions 2013-11-05 23:11:28 -06:00
Sascha Zelzer
8ab80e8ba7 fix cmake build system; fixes #274 2013-08-29 00:46:11 +02:00
Guenter Obiltschnig
bee4024ca2 fixed Makefile 2013-07-22 14:25:56 +02:00
Aleksandar Fabijanic
a00b202f6c VS90 x64 project files fix 2013-06-20 22:07:55 -05:00
Aleksandar Fabijanic
e13708f6d8 updated MongoDB VS90 sample project 2013-03-31 19:23:22 -05:00
Aleksandar Fabijanic
5cde6d34df MSVC 7.1 build fixes 2013-03-30 13:02:16 -05:00
aleks-f
3d16ce00a2 only style changes 2013-03-17 13:34:36 -05:00
aleks-f
fe6715890c MongoDB samples solution 2013-03-12 23:16:41 -05:00
aleks-f
daef0aa403 MongoDB sample build files 2013-03-12 22:58:37 -05:00
aleks-f
bb904d613b VS 100 and 110 projects
- generated VS 100 and 110 projects
- changed message length from signed 32 bit int to std::size_t
2013-03-11 23:48:41 -05:00
Aleksandar Fabijanic
ff0e439aa5 VS 71,80,90 projects, style edits 2013-03-11 22:50:08 -05:00
fbraem
c6d53a0608 Avoid endless loop when indent is set to -1, cleanup code 2013-03-09 20:45:22 +01:00
Aleksandar Fabijanic
3c7bae11fc Merge pull request #115 from fbraem/develop
MongoDB: more samples and some minor changes
2013-03-02 00:05:33 -08:00
fbraem
b860cd2cbb Add some newlines in output 2013-03-01 22:06:47 +01:00
fbraem
e793083a0a Correct indentation 2013-03-01 21:59:50 +01:00
fbraem
39fc777a6b Add sample11, 12 and 13 2013-03-01 21:43:12 +01:00
fbraem
26e89db0dd Add createUpdateRequest, createDeleteRequest 2013-03-01 21:42:51 +01:00
Aleksandar Fabijanic
c43d4bd626 Merge pull request #113 from fbraem/develop
MongoDB: more methods and samples
2013-02-28 12:57:50 -08:00
fbraem
c52dcc1c2f Add more samples 2013-02-27 19:51:44 +01:00
fbraem
ee360d307c Add methods that turns a numeric index into a string for getting the element (an array is actually a document) 2013-02-27 19:51:33 +01:00
fbraem
d1b318b806 Add size method 2013-02-27 19:50:05 +01:00
fbraem
2d3e78146d Add createCommand method and rearrange code 2013-02-27 18:51:55 +01:00
fbraem
6a8b2c5a48 Add some handy "short-cut" functions 2013-02-27 18:51:05 +01:00
fbraem
382dbd5637 Add addNewDocument method 2013-02-23 17:36:10 +01:00
fbraem
99cd51d727 Use addNewDocument when possible, add sample for ensureIndex 2013-02-22 19:30:14 +01:00
fbraem
60afc2dbd0 Add ensureIndex 2013-02-22 19:29:48 +01:00
fbraem
7328eace34 Add method addNewDocument and return a reference of the active document in the add methods to allow chaining these methods ... 2013-02-21 16:48:21 +01:00
fbraem
7600eed502 Add more samples 2013-02-20 22:21:26 +01:00
fbraem
e79f75d9fe Rename query() method to selector() 2013-02-20 22:20:55 +01:00
fbraem
e04dca0e13 Provide an add method for a char* value 2013-02-20 22:20:29 +01:00
fbraem
25141680e2 Add first samples 2013-02-19 22:59:47 +01:00
Aleksandar Fabijanic
f0f7f0fd3c Merge pull request #98 from fbraem/develop
Develop
2013-02-19 13:42:56 -08:00
fbraem
005e629fc7 Implement the correct way of traversing a cursor 2013-02-19 22:38:27 +01:00
fbraem
fb94876de2 Add a get method that doesn't throw, but returns a default argument instead 2013-02-19 22:38:00 +01:00
fbraem
a39b33b3e9 Add const to get method 2013-02-19 22:32:40 +01:00
fbraem
79c1edbdfb Add getLastErrorDoc and getLastError 2013-02-19 22:32:11 +01:00
Marian Krivos
9349786415 cmake and gcc warning fixes 2013-02-19 06:16:12 +01:00