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
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
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
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
Günter Obiltschnig
5f8d7ef994
Thread fixes for WinCE
2014-11-24 14:34:27 +01:00
Guenter Obiltschnig
d5d048e689
Poco::BasicEvent improvements and preparations for future support of lambdas/std::function
2014-11-24 11:17:27 +01:00
Guenter Obiltschnig
77bbc7e9ba
fixed GH #618 : OS X 10.10 defines PAGE_SIZE macro, conflicts with PAGE_SIZE in Thread_POSIX.cpp
2014-11-21 14:47:33 +01:00
Guenter Obiltschnig
6ddce4c9ff
Timestamp reference point ambiguity #614
2014-11-21 09:32:13 +01:00
Alex Fabijanic
5830263700
added LineEndingConverter and WebNotifier to samples solutions
2014-11-20 21:33:01 -06: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
Guenter Obiltschnig
22c22fdea7
fixed GH #616 : Visual Studio warning C4244
2014-11-20 12:13:58 +01:00
Günter Obiltschnig
7cd76b4f69
fixed #438 : use FILE_WRITE_ATTRIBUTES instead of
...
FILE_ALL_ACCESS permission to set file time
2014-11-19 22:15:48 +01:00
Guenter Obiltschnig
db8756887d
add missing #include
2014-11-19 17:57:04 +01:00
Guenter Obiltschnig
b620c25278
fixed #549 : Memory allocation is not safe between fork() and execve()
2014-11-19 16:56:01 +01:00
Guenter Obiltschnig
7b11e14624
GH #569 : update documentation
2014-11-19 15:31:37 +01:00
Günter Obiltschnig
4303967e2a
add test for #560
2014-11-19 12:43:25 +01:00
Günter Obiltschnig
e76f475da2
fixed GH #560 : DateTime class calculates a wrong day
2014-11-19 12:42:46 +01:00
Günter Obiltschnig
4c11857056
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-11-19 10:39:21 +01:00
Günter Obiltschnig
a417d49d5d
improved URI documentation regarding setQuery()/getQuery(); added getQueryParameters()/setQueryParameters()
2014-11-19 10:38:59 +01:00
Guenter Obiltschnig
c7fb2ee987
fix for gcc
2014-11-16 21:51:10 +01:00
Guenter Obiltschnig
4b53f137de
Thread fixes for POSIX
2014-11-16 20:51:11 +01:00
Günter Obiltschnig
7043a3d4ff
added support for starting functors/lambdas to Poco::Thread class
2014-11-16 20:43:19 +01:00
Guenter Obiltschnig
eb8dce47fe
fix #606 : HTMLForm constructor read application/x-www-form-urlencoded UTF-8 request body first parameter with BOM in name
2014-11-12 10:33:57 +01:00
Alex Fabijanic
8769ef01bc
added Error::last()
2014-11-11 19:47:39 -06:00
Björn Schramke
06e59cb7a7
add Windows compliant implementation of XDG Base Directory Specification
2014-11-11 17:05:48 +01:00
martin-osborne
b663902c68
Simplified benchmark
2014-11-07 10:03:30 +00:00
Guenter Obiltschnig
fa4989e0c7
fixed #592 : Incorrect format string in Poco::Dynamic::Struct
2014-11-07 10:43:50 +01:00
Günter Obiltschnig
0200c09985
Merge pull request #599 from zosrothko/develop
...
Add up to 10 arguments to variables arguments list for all level form: correcting missing udpate
2014-11-07 09:42:41 +01:00
zosrothko
46f3a7a637
Add up to 10 arguments to variables arguments list for all level formattin
...
Missing Format.h commit
2014-11-07 08:39:31 +01:00
Guenter Obiltschnig
10af7c6d4f
undef min/max
2014-11-06 22:12:43 +01:00
Guenter Obiltschnig
6741e90bba
style and consistency fixes
2014-11-06 12:04:28 +01:00
Günter Obiltschnig
5b74121119
Merge pull request #573 from ivannp/assertmsg
...
Added Timestamp::Min/Max. Added poco_assert_msg and poco_assert_msg_dbg.
2014-11-06 11:40:17 +01:00
Günter Obiltschnig
5f380f0b80
Merge pull request #574 from siemens/cmake
...
Cmake updates
2014-11-06 11:17:45 +01:00
Martin Osborne
6ec9784743
Added simple benchmark of mutex performance.
2014-11-05 17:08:36 +00:00
Ivan Popivanov
bc87b2841b
Can't cash str.begin when "insert" is involved.
2014-11-03 19:31:42 -05:00
zosrothko
1143a68518
Add up to 10 arguments to variables arguments list for all level formatting methods
2014-11-03 14:22:08 +01:00
martin-osborne
b3ed2d94b5
Supress VS compiler warning C4512:
...
assignment operator could not be generated
2014-11-01 12:29:49 +00:00
martin-osborne
1e1822f6c6
Updated FastMutex documentation.
2014-11-01 09:38:56 +00:00
Guenter Obiltschnig
656643e225
set version numbers for 1.6
2014-10-30 14:09:51 +01:00
Guenter Obiltschnig
721405d1fc
#318 : Logger local time doesn't automatically account for DST (PatternFormatter)
2014-10-30 14:06:13 +01:00
martin-osborne
569102c18c
Updated tests to reflect implementation changes.
2014-10-30 11:40:20 +00:00
martin-osborne
db586617e9
Merge branch 'issue_532' into issue_532-3 with edits
2014-10-30 11:10:39 +00:00
martin-osborne
728e71116c
Updated CMakeLists files so test suites will build with wdexpress2012.
...
Possibly requiring update are:
Data/MySQL/testsuite/CMakeLists.txt
NetSSL_OpenSSL/testsuite/CMakeLists.txt
2014-10-27 09:36:08 +00:00
martin-osborne
120fd4433c
Simplified the timed try lock implementation.
2014-10-19 18:11:43 +01:00
martin-osborne
2a90e7de92
Moved work for isue 532 into it's own branch.
2014-10-19 10:59:08 +01:00
Ivan Popivanov
3247d07bd0
Removed the NOMINMAX compiler option, using undefs to avoid the conflict between std::numeric_limits and Windows headers.
2014-10-15 05:13:25 -04:00
Ivan Popivanov
4707a6df83
Added Timestamp::Min/Max which help define extreme timestamps, useful to initialize variables, especially for comparison.
...
Added NOMINMAX as a preprocessor define for Windows. Otherwise some Windows headers define min/max as macros which interferes with std::numeric_limits::min/max
Added poco_assert_msg and poco_assert_msg_dbg, which are equivalent to poco_assert and poco_assert_dbg, respectively, but support an extra text parameter.
2014-10-14 22:41:49 -04:00
Pascal Bach
e239c9de2a
CMake: DLL tests should not run if compiled static
2014-10-14 17:58:46 +02: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
cdc9f48a6e
Merge pull request #566 from mar-na/patch-3
...
Supported little endian for MIPS
2014-10-14 11:24:24 +02:00
micheleselea
f861a6467c
RESERVER_QUERY update
...
in function setQuery, or when you have to use encode internally, is used RESERVED_QUERY that is only # if you have a query with / the character is encoded, and I think you don't want
2014-10-14 09:49:11 +02:00
mar-na
368fff1c05
Supported little endian for MIPS
2014-10-13 15:12:07 +02:00
Guenter Obiltschnig
50f1f12cab
Poco::URI: added new constructor to create URI from Path
2014-10-12 11:19:52 +02:00
Björn Schramke
8c06af9722
add OSX compliant implementation of XDG Base Directory Specification
2014-10-11 08:58:54 +02:00
Guenter Obiltschnig
5b0fa2e06a
Poco::Buffer properly handles zero-sized buffers
2014-10-09 10:34:46 +02:00
Björn Schramke
ce56190f9f
add some methods to Poco::Path for make it easy to follow XDG Base Directory Specification
2014-10-09 09:46:21 +02:00
Guenter Obiltschnig
ef34c21e91
added Clock::raw(); style fixes
2014-10-08 07:59:48 +02:00
Günter Obiltschnig
9ee4d0a36b
Merge pull request #558 from ivannp/develop
...
Adding Timestamp::raw
2014-10-08 07:56:04 +02:00
Ivan Popivanov
cab8224cc3
Adding Timestamp::raw
...
Returns the raw value, (the internal representation) of the timestamp.
Useful when storing to a database for instance.
2014-10-08 01:51:06 -04:00
Alex Fabijanic
c8563c86bf
Bug in doubleToStr #557
2014-10-07 23:40:36 -05:00
Guenter Obiltschnig
501470c1d3
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-10-06 14:16:15 +02:00
Guenter Obiltschnig
a04228aee3
updated version to 1.5.4
2014-10-06 14:15:57 +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
Guenter Obiltschnig
756bbdd3d2
HAVE_STDINT_H=0 was not honored in pcre_internal.h
2014-10-06 10:30:04 +02:00
Guenter Obiltschnig
5cbcae3ee5
renamed config.h to pcre_config.h, as was before integration of pcre 8.35
2014-10-06 08:54:18 +02:00
Günter Obiltschnig
e8c19d0efe
Merge pull request #551 from danoli3/pcre_update_2014
...
PCRE updated to 8.35.0
2014-10-06 08:00:57 +02:00
Guenter Obiltschnig
d66fde51b5
#544 use _DEBUG instead of DEBUG macro in [Simple]HashTable
2014-10-06 07:35:04 +02:00
Daniel Rosser
7d413184e6
zlib patch for DEBUG pre-processor
...
Patch as described on zlib:
https://github.com/madler/zlib/pull/80
2014-10-06 14:37:39 +11:00
Alex Fabijanic
a25877bfc2
- FIFOBuffer drain() problem #552
...
- StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
not thread safe #402
2014-10-03 16:12:42 -05:00
Daniel Rosser
010f7a5370
PCRE 8.35.0 Update
...
- Updated to PCRE 8.35 (latest, 2014-04-04)
- Updated Build files with new files and removed those that have
changed.
- Configured like previous configuration.
2014-10-03 23:17:24 +10: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
b5658d3938
GH# 545: use short for sign
2014-09-29 10:10:09 +02:00
Guenter Obiltschnig
5a14f72508
fixed message
2014-09-19 09:48:59 +02:00
Guenter Obiltschnig
544229302e
#538 prevent destructors from throwing exceptions
2014-09-19 09:46:49 +02:00
Guenter Obiltschnig
c8686a727d
Bugcheck::unexpected() only reports the exception in debug builds
2014-09-19 08:21:03 +02:00
Guenter Obiltschnig
e500d0f31a
added poco_unexpected() macro invoking Bugcheck::unexpected() to deal with unexpected exceptions in destructors
2014-09-19 08:16:47 +02:00
Guenter Obiltschnig
f2512856ee
added Var::isBoolean() and fixed JSON stringifier
2014-09-18 20:57:34 +02:00
Günter Obiltschnig
d32354aea9
Merge pull request #536 from TimothyGu/develop
...
MinGW improvements
2014-09-17 19:38:10 +02:00
Guenter Obiltschnig
a293d04b37
disable isRunning test on WinCE
2014-09-14 11:49:40 +02:00
Guenter Obiltschnig
67b206f663
removed unnecessary explicit in some multi-arg constructors
2014-09-10 16:44:36 +02:00
Guenter Obiltschnig
a815e0a90e
added %L modifier to PatternFormatter to switch to local time; some style fixes
2014-09-10 08:32:25 +02:00
Timothy Gu
b14d120b8c
Types.h: Fix Win64 on MinGW
2014-09-08 16:27:42 -07:00
Günter Obiltschnig
8ae1a7e8ab
UnWindows.h: don't define NTDDI_VERSION if compiling for WinCE target
2014-09-04 23:38:11 +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
Pascal Bach
40024660ae
Update Windows1250Encoding.ccp and Windows1252Encoding.ccp including Unit tests
...
* Add encoding names. According to the document below, the default encoding name should be "windows-1250" and "windows-1252".
http://www.iana.org/assignments/character-sets/character-sets.xhtml
* Unit tests update to reflect the change.
2014-08-22 13:22:30 +02:00
Daniel Rosser
64d9c3995c
iOS arm64 compile fix
...
Fix for issue #508 “Can't compile for arm64 architecture”
Tested and working with the proposed change.
2014-08-22 19:30:58 +10:00
Aleksandar Fabijanic
c33809459d
Merge pull request #522 from bakercp/bugfix-mingw32
...
MinGW32 Compatibility Fixes.
2014-08-21 22:20:43 -05:00
Christopher Baker
95b8a940da
Add windmc stage to compile pocomsg.mc during MinGW builds.
2014-08-21 15:05:03 -05:00
Denis
9b4ddbf641
Update Windows1251Encoding.cpp
...
* Add one missing letter 'я' (0x044f).
* Add encoding names. According to the document below, the default encoding name should be "windows-1251".
http://www.iana.org/assignments/character-sets/character-sets.xhtml
2014-08-21 16:08:52 +04:00
Günter Obiltschnig
5c04101a35
fixed Process::isRunning() on Windows
2014-08-15 09:15:12 +02:00
Günter Obiltschnig
d14be5730a
style fixes
2014-08-14 19:21:20 +02:00
Aleksandar Fabijanic
eaa6e3a400
Update ProcessTest.cpp
2014-08-12 19:04:50 -05:00
Aleksandar Fabijanic
2c36e51d8a
Update Process_WINCE.cpp
2014-08-12 18:39:01 -05:00
Aleksandar Fabijanic
83dd1ad16c
Update Process_WIN32U.cpp
2014-08-12 18:38:33 -05:00
Aleksandar Fabijanic
667e2736bc
Update Process_WIN32.cpp
2014-08-12 18:38:06 -05:00
Aleksandar Fabijanic
b55ade5fcf
Update Process_VX.cpp
2014-08-12 18:37:35 -05:00
Aleksandar Fabijanic
770a25e8fe
Update Process_VMS.cpp
2014-08-12 18:37:08 -05:00
Aleksandar Fabijanic
8f187e117b
style
2014-08-12 18:36:30 -05:00
Aleksandar Fabijanic
828732f774
Merge pull request #514 from yuvalk/develop
...
add is_running support
2014-08-12 18:35:27 -05:00