Commit Graph

1015 Commits

Author SHA1 Message Date
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
Alex Fabijanc
b2e209bf54 fix windows MemoryStreamTest build 2015-01-26 22:36:30 -06:00
Aleksandar Fabijanic
c14f8a8a69 Merge pull request #646 from adriaan42/develop
Prevent possible data race in access to Timer::_periodicInerval
2015-01-25 21:05:12 -06:00
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
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
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
Guenter Obiltschnig
92c607e767 code style and doc fixes 2015-01-09 19:04:58 +01: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
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
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
Aleksandar Fabijanic
f8e906171e Merge pull request #654 from xantares/win32_defines
fixed win32 defines
2015-01-01 12:16:57 -06:00
Asari Takashi
d1436c09fd Added WINDMC variable to build scripts 2014-12-25 09:53:44 +00:00
xantares
1e28368222 fixed win32 defines 2014-12-23 16:23:08 +01:00
xantares
bf929f9704 Fix missing windows includes for mingw 2014-12-22 22:08:32 +01:00
Guenter Obiltschnig
d247e1cf05 updated CHANGELOG; CMake fixes for OS X; doc updates; release script improvements 2014-12-22 00:06:53 +01:00
Pascal Bach
97ea3ef483 CMake, WinCE: Make samples and tests compile under Windows CE 2014-12-21 16:23:35 +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
Pascal Bach
af1b94602a CMake: Remove redundant source files that caused error for Windows CE build 2014-12-21 16:23:34 +01:00
Aleksandar Fabijanic
c5268c9777 spelling fix 2014-12-19 07:34:46 -06:00
Adriaan Schmidt
391deca195 Prevent possible data race in access to Timer::_periodicInerval 2014-12-19 11:06:45 +01:00
Adriaan Schmidt
2fc0e524fa Prevent possible data race in access to PooledThread::_idle 2014-12-18 13:04:33 +01:00
Guenter Obiltschnig
28cf70d3f9 updated version no and changelog 2014-12-15 11:10:28 +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
Guenter Obiltschnig
1e471d7343 semantic versioning documentation 2014-12-11 20:11:20 +01:00
Günter Obiltschnig
b8181e4ddb check USERPROFILE before HOMEDRIVE/HOMEPATH 2014-12-09 11:03:09 +01:00
Guenter Obiltschnig
a5c8b751d9 fixed #627: Poco::Path::home() returns c:\windows\system32 instead home directory 2014-12-09 10:38:11 +01:00
Alex Fabijanic
10aedfe5ad supress gcc warning avalanche 2014-12-08 20:14:19 -06:00
alex
e5cdb74bb0 supress LogStream empty line log entries; ignore VS profiler files 2014-12-08 00:00:40 -06:00
Marian Krivos
0139648c46 Logger::setLevel(string) - optionally parse log level as number in range 1 to 8 2014-12-07 20:39:00 +01:00
Günter Obiltschnig
ff3f260a10 fix warning, add note to Config.h regarding deprecation of POCO_WIN32_UTF8 2014-12-06 11:30:26 +01:00
Guenter Obiltschnig
31a0c7cb7e added deprecation warning for POCO_WIN32_UTF8 2014-12-06 11:13:44 +01:00
Kontinuation
fe86370c34 fixed one-shot timer and maufunction of long start interval 2014-12-04 02:44:33 +08:00
Guenter Obiltschnig
755c31a4fd Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-12-02 09:08:23 +01:00
Guenter Obiltschnig
9af6b5b2db flush underlying streams on close()/sync() 2014-12-02 09:08:07 +01:00
Christopher Baker
e0d5535b7a Fixed small documentation typo onr to one. 2014-12-01 12:39:02 -06:00
martin-osborne
627eee72cb Added test for tellp/tellg issue. 2014-11-30 10:25:51 +00:00