Commit Graph

553 Commits

Author SHA1 Message Date
ale_bychuk
662fbc861a add test for thread affinity and fix some problems 2015-03-07 10:55:23 +03:00
Guenter Obiltschnig
4336528290 fix: android arm64/x86_64 compile error with getdtablesize 2015-03-06 16:32:02 +01:00
bas524
888abad26c add getAffinity method
throw NotImplementedException on unsupported platforms
2015-03-05 18:11:56 +03:00
bas524
158aaab180 Add setaffinity method to thread implementation and interface class 2015-03-04 13:24:26 +03:00
Alex Fabijanic
74e970d1a1 gcc error #711 2015-02-10 12:24:31 -06:00
Alex Fabijanic
1e0663563b passify gcc 2015-02-10 10:34:41 -06:00
Alex Fabijanic
beb81b4f16 add JSONFormatter 2015-02-10 00:27:07 -06:00
Aleksandar Fabijanic
aaf32257e3 Merge pull request #601 from martin-osborne/issue_532-3
Issue #532 -  Changes to address `FastMutex` being non-recursive on Win32 platforms
2015-02-09 21:08:12 -06:00
Aleksandar Fabijanic
5bfe1fc56b Merge pull request #694 from drali/develop
Changed Process::killImpl to throw on correct error code
2015-02-09 21:05:17 -06:00
Aleksandar Fabijanic
c00f13d277 Merge pull request #561 from bschramke/develop
Support for XDG Base Directory Specification
2015-02-09 21:04:28 -06:00
Rangel Reale
1c648764c2 - Android log channel implementation
- Removes warning from Bugcheck.h on Android

fixes #122
2015-01-29 11:14:39 -02:00
Daniel Ali
c4cf869141 Changed Process to throw on correct error code 2015-01-26 20:26:52 -05: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
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
21d2e963ef Updated Event c'tor to accept an enum. 2015-01-17 10:07:44 +00: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
Scott Davis
fc24be6199 Don't automatically mark copied files as writable on Windows 2015-01-08 17:11:23 -05:00
Alex Fabijanic
1b9aac5f7c Mingw64 #414 (small portion) 2015-01-01 14:41:09 -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
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
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
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
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
Kontinuation
fe86370c34 fixed one-shot timer and maufunction of long start interval 2014-12-04 02:44:33 +08:00
Guenter Obiltschnig
9af6b5b2db flush underlying streams on close()/sync() 2014-12-02 09:08:07 +01:00
Günter Obiltschnig
5f8d7ef994 Thread fixes for WinCE 2014-11-24 14:34: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
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
Günter Obiltschnig
e76f475da2 fixed GH #560: DateTime class calculates a wrong day 2014-11-19 12:42:46 +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
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
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
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
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
Guenter Obiltschnig
721405d1fc #318: Logger local time doesn't automatically account for DST (PatternFormatter) 2014-10-30 14:06:13 +01:00
martin-osborne
db586617e9 Merge branch 'issue_532' into issue_532-3 with edits 2014-10-30 11:10:39 +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
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
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
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
Alex Fabijanic
c8563c86bf Bug in doubleToStr #557 2014-10-07 23:40:36 -05: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
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
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
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
a815e0a90e added %L modifier to PatternFormatter to switch to local time; some style fixes 2014-09-10 08:32:25 +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
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
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
Yuval Kashtan
af44951e77 add is_running support 2014-08-11 17:21:53 +03:00
Collin Hockey
e7b91e8125 Add NIOS2 double conversion detection, fixes compile errors 2014-08-06 09:58:36 -04:00
Günter Obiltschnig
7a008cbc76 fix SharedMemory for WinCE 2014-08-05 10:06:51 +02:00
Aleksandar Fabijanic
9258e482d7 GH #508: Can't compile for arm64 architecture 2014-07-29 10:46:52 -05:00
Markus Kolb
c39ad4da65 NamedEvent_WIN32 be more verbose on SystemException with GetLastError() 2014-07-11 15:03:06 +02:00
Markus Kolb
37691144df Try OpenFileMapping in PAGE_READONLY mode because of SeCreateGlobalPrivilege (https://github.com/pocoproject/poco/issues/493) 2014-07-11 14:57:05 +02:00
Alex Fabijanic
5d7d1d3c07 GH #481: 2 warnings during Poco compile 2014-07-09 20:35:47 -05:00
Guenter Obiltschnig
6512ff1f6d fixed GH #424: Poco::Timer deadlock 2014-06-05 15:02:46 +02:00
Guenter Obiltschnig
c2704199ae AtomicCounter fix for GH #282: Using Thread in a global can cause crash on Windows 2014-06-05 13:49:38 +02:00
Aleksandar Fabijanic
b5ce0804a1 GH #282: Using Thread in a global can cause crash on Windows 2014-06-04 10:21:26 -05:00
Guenter Obiltschnig
7c6e402d0e added UTF16CharTraits and UTF32CharTraits to make everything work on platforms without std::wstring 2014-05-31 17:24:51 +02:00
Oldřich Jedlička
2cdfa7ae57 Allow absolute index to be used when all values has been used. 2014-05-29 10:47:34 +02:00
Guenter Obiltschnig
fa013c574a fixes for WinCE6 2014-05-25 16:56:20 +02:00
Alex Fabijanic
d39a353789 - fixed GH #230: Poco::Timer problem
- updated CHANGELOG and Release Notes
2014-05-23 04:06:18 -05:00