Commit Graph

2924 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
f440c4b101 Merge pull request #688 from martin-osborne/issue_297
Issue #297 - Added implementation of seekoff to BasicMemoryStreamBuf
2015-01-25 20:56:20 -06:00
Aleksandar Fabijanic
c05e56c7c1 Merge pull request #691 from cnvandijk/posix-monotonic-clock
Include missing header, fixes #690 lack of monotonic Clock on Linux/POSIX
2015-01-25 20:46:13 -06:00
Chris van Dijk
07d436a8b3 Include missing header, fixes #690 lack of monotonic Clock on Linux/POSIX
The macros _POSIX_TIMERS and _POSIX_MONOTONIC_CLOCK are defined in
(includes of) unistd.h, without them Clock falls back to using Timestamp
internally.
2015-01-26 02:27:43 +01:00
martin-osborne
683d7ce83b Added additional checks of tellp and tellg. 2015-01-25 11:41:24 +00:00
martin-osborne
3d7ecaa224 Correct comment in tests. 2015-01-25 10:20:34 +00:00
martin-osborne
9b2e897280 Removed comment. 2015-01-25 10:05:59 +00:00
martin-osborne
1c03740e41 Expanded tests to check boundary cases. 2015-01-25 08:59:44 +00:00
martin-osborne
c264a0d716 Restored original names for typedefs. Fixed gcc build. 2015-01-25 07:28:24 +00:00
martin-osborne
5e104addd3 Issue #297 - Implemented BasicMemoryStreamBuf::seekoff
This change adds support for `tellp`, `tellg` and seeking.

**Additional notes:**

+ `tellg` calls `rdbuf->pubseekoff(0, cur, out)` [lib.ostream.seeks] so need to
  provide an override of `seekoff`.
+ Requirements for `seekoff` are in 27.7.1.3.
+ 27.7.1.3 - Standard has a roundabout way of saying `cur` is valid if only one
  of `in` or `out` is specified (Condition 3).
+ `xend` is `egptr`/`epptr` (get area/put area).
+ `xbeg` is `eback`/`pbase` (get area/put area).
+ `xnext` is `gptr`/`pptr` (get area/put area).
+ `newoff` is a bit of a misnomer, the new offset into the stream is given by
  `newoff + off`.  `newoff` is really the start point.
+ You can set `gnext` with `setg`, but you can't do that with `setp` you have
  to `pbump` by the new offset minus the current offset.
2015-01-24 18:39:06 +00:00
martin-osborne
f79ab5b77a Merge branch 'develop' into issue_297 2015-01-24 08:53:07 +00:00
Günter Obiltschnig
9e39535490 Add AppVeyor build status 2015-01-19 14:43:59 +01:00
Aleksandar Fabijanic
9f26630ea4 Merge pull request #679 from bufferoverflow/appveyor
appveyor.yml: initial version to build on https://ci.appveyor.com
2015-01-19 06:28:29 -06:00
Roger Meier
88c4218f89 appveyor.yml: initial version to build on https://ci.appveyor.com
Signed-off-by: Roger Meier <r.meier@siemens.com>
2015-01-19 11:25:09 +01:00
martin-osborne
6eb8f582e7 Added missing explicit keyword. 2015-01-17 12:02:42 +00:00
martin-osborne
1bb48442b6 Updated documentation. 2015-01-17 11:58:01 +00:00
martin-osborne
21d2e963ef Updated Event c'tor to accept an enum. 2015-01-17 10:07:44 +00:00
Aleksandar Fabijanic
4e6fad87dc Merge pull request #664 from cryptoknight/WriteOnCopy
Don't automatically make copied files writable on Windows
2015-01-16 15:33:32 -06:00
Scott Davis
e3c5cd30dc Test preservation of write attribute on file copy 2015-01-16 15:10:10 -05:00
Scott Davis
9913ee1ac8 Don't automatically mark copied files as writable on Windows (non-Unicode and CE) 2015-01-16 15:09:00 -05:00
martin-osborne
96c859eaaa Fixed POSIX build. 2015-01-14 11:04:23 +00:00
martin-osborne
00b568193c Replaced boolean with enum in c'tor.
Implemented in a similar style to FPEnvironment.
2015-01-14 10:48:22 +00:00
Aleksandar Fabijanic
71fb76bc40 replace POCO_PREFIX with POCO_LIB_INSTALLDIR 2015-01-13 07:41:18 -06:00
Aleksandar Fabijanic
e55af93fc2 replace POCO_PREFIX with POCO_LIB_INSTALLDIR 2015-01-13 07:40:52 -06:00
Aleksandar Fabijanic
82253b83cf replace POCO_PREFIX with POCO_LIB_INSTALLDIR 2015-01-13 07:40:02 -06:00
Aleksandar Fabijanic
e2374c9611 add POCO_LIB_INSTALLDIR 2015-01-13 07:38:43 -06:00
Aleksandar Fabijanic
a23d2421f0 Merge pull request #670 from quantumsteve/fix_install_name
set install_name to POCO_PREFIX/lib
2015-01-12 18:13:37 -06:00
Steven Hahn
24d6b57c90 set install_name to POCO_PREFIX/lib 2015-01-12 11:48:45 -05:00
martin-osborne
f9942829d3 Merge branch 'develop' into issue_532-3 2015-01-11 11:12:43 +00:00
martin-osborne
58e860c440 Resolved merge conflict with develop. 2015-01-10 12:00:24 +00:00
Guenter Obiltschnig
92c607e767 code style and doc fixes 2015-01-09 19:04:58 +01:00
Aleksandar Fabijanic
e7fb853c7d Merge pull request #665 from cryptoknight/Subsystems
Add getter for an Application's list of Subsystems
2015-01-08 18:32:14 -06:00
Aleksandar Fabijanic
719293fcc4 Merge pull request #662 from cryptoknight/WinRegistryKey
Make WinRegistryKey easier to extend
2015-01-08 17:38:22 -06:00
Aleksandar Fabijanic
98fb9bcf86 Merge pull request #663 from cryptoknight/RecursiveDirectoryIterator
Add missing constructor for RecursiveDirectoryIterator
2015-01-08 17:36:44 -06:00
Scott Davis
240128b640 Add getter for an Application's list of Subsystems 2015-01-08 17:20:38 -05:00
Scott Davis
fc24be6199 Don't automatically mark copied files as writable on Windows 2015-01-08 17:11:23 -05:00
Scott Davis
5fa4dc3da7 Add missing constructor for RecursiveDirectoryIterator 2015-01-08 17:02:46 -05:00
Scott Davis
7b347ea592 Make WinRegistryKey easier to extend 2015-01-08 16:44:59 -05:00
Alex Fabijanic
d992509f6e GCC diagnostic guard fix 2015-01-05 22:20:58 -06:00
Aleksandar Fabijanic
4ae9aa9674 building with gcc 4.6.3 gives lots lots of warnings #658 2015-01-01 22:47:03 -06:00
Alex Fabijanic
1b9aac5f7c Mingw64 #414 (small portion) 2015-01-01 14:41:09 -06:00
Aleksandar Fabijanic
eb28010c16 remove deprecated mno-cygwin option #651, part II 2015-01-01 14:12:17 -06:00
Aleksandar Fabijanic
5424aade0e remove deprecated mno-cygwin option #651 2015-01-01 14:09:45 -06:00
Aleksandar Fabijanic
40659343fe Merge pull request #652 from xantares/patch-2
do not guess mingw include/link dirs
2015-01-01 14:05:44 -06:00
Alex Fabijanic
767d268eed moved PBKDF2 tests into VS120 project Crypt filter 2015-01-01 13:11:36 -06:00
Aleksandar Fabijanic
ed63fbd42c Merge pull request #653 from xantares/mingw_headers
Fix missing windows includes for mingw
2015-01-01 12:37:41 -06:00
Alex Fabijanic
eb04ffc423 style fixes 2015-01-01 12:35:26 -06:00
Alex Fabijanic
0e92f14a48 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2015-01-01 12:17:10 -06:00
Aleksandar Fabijanic
f8e906171e Merge pull request #654 from xantares/win32_defines
fixed win32 defines
2015-01-01 12:16:57 -06:00
Alex Fabijanic
427a9bc4e4 indentation style fix 2015-01-01 12:10:30 -06:00
Aleksandar Fabijanic
d2472efcfb Merge pull request #656 from asari-fd/windmc-mingw
Added WINDMC variable to build scripts
2015-01-01 11:37:31 -06:00