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
fbraem
13380b5eb9
Make indentation work in toString
2013-02-17 18:41:36 +01:00
fbraem
b19401af37
Solve wrong assert
2013-02-17 18:40:58 +01:00
fbraem
8d056ce2bf
Escape special characters in toString of a string element
2013-02-17 18:40:41 +01:00
fbraem
1643089087
Add indent argument
2013-02-17 18:40:02 +01:00
fbraem
14ffc9ea4c
#include for Poco::RegularExpression moved from element.h to it's correct place
2013-02-17 18:39:34 +01:00
fbraem
249a813db4
Premake is not the official build tool of POCO, so remove it
2013-02-16 20:53:19 +01:00
fbraem
2f4d4129ab
Add more build files
2013-02-16 20:51:58 +01:00
fbraem
72f041c21f
Add missing Database
2013-02-16 20:51:36 +01:00
fbraem
c33b2506cf
Rearrange initialisations to remove warnings
2013-02-16 20:51:23 +01:00
fbraem
39b685ee78
Add missing source files
2013-02-16 20:14:39 +01:00
fbraem
cd62f340b4
Rearrange some code and add getter for fullCollectionName
2013-02-16 19:56:32 +01:00
fbraem
d9296a0dc0
Change getMore test into Cursor test
2013-02-16 19:55:49 +01:00
fbraem
dfe27aa917
Cursor class is used to combine query and getmore requests
2013-02-16 19:55:23 +01:00
fbraem
bf315df7a6
Cleaning up code, add docs, add getMore sample ...
2013-02-15 22:32:24 +01:00
fbraem
58958d2655
Add more tests
2013-02-14 22:54:06 +01:00
fbraem
c2dbb70b0b
Implement toString
2013-02-14 22:53:45 +01:00
fbraem
8fddacd451
Update toString method
2013-02-14 22:51:51 +01:00
fbraem
9696d7d339
Add more functions
2013-02-14 22:51:30 +01:00
fbraem
b8e9cc1e23
Implement toString
2013-02-14 22:50:55 +01:00
fbraem
7818a6c046
Put quotes around string in toString, boolean is an unsigned value
2013-02-14 22:50:43 +01:00
fbraem
2475bebb30
Add elements(), make toString virtual and _elements protected
2013-02-14 22:49:53 +01:00
fbraem
9a5b149a01
Correct some settings
2013-02-13 19:11:26 +01:00
fbraem
9765ccf587
Make it work again
2013-02-13 19:10:57 +01:00
fbraem
913020e89d
Removed
2013-02-13 19:10:10 +01:00
fbraem
749e7cd2ca
Add MongoDB classes
2013-02-02 21:52:49 +01:00