Alex Fabijanic
b7884c6d8c
fixed broken build
2014-05-21 04:02:40 -05:00
Alex Fabijanic
1aa28e1491
GH #290 : Unicode support
2014-05-21 03:28:24 -05: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
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
8a9e7792d9
- fixed GH #362 : Defect in Var::parseString when there is no space between value and newline
...
- fixed GH #314 : JSON parsing bug
- added GH #313 : MetaColumn additions for Data::ODBC and Data::SQLite
2014-04-29 21:25:30 -05:00
Guenter Obiltschnig
8c14ffe335
make trySleep test a bit more stable
2014-04-29 13:25:38 +02:00
Pascal Bach
d9a594e184
NumberParser::parseUnsigned should not parse negative numbers
...
The function should abort if a negative number (e.g. "-123") is passed as input
2014-04-28 16:16:48 +02:00
Alex Fabijanic
695ba1b0ee
remove sleep calls from Runnable
2014-04-26 16:04:17 -05:00
Alex Fabijanic
63850e8778
- return bool from Thread::trySleep()
...
- updated documentiation
- amended tests
- updated CHANGELOG
2014-04-26 09:51:57 -05: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
Guenter Obiltschnig
e044d77717
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-04-23 13:30:51 +02:00
Guenter Obiltschnig
f8169eabac
updated SDK in WEC2013 project files
2014-04-23 13:30:27 +02:00
Günter Obiltschnig
85873d02c9
re-generated VS2013 testsuite projects without MFC
2014-04-21 22:10:34 +02:00
Günter Obiltschnig
b2ba1dfb74
-added Windows Embedded Compact 2013 support
2014-03-17 14:36:17 +01:00
Pascal Bach
f20994e2c3
Add missing files to CMakeLists.txt
...
This makes Poco compile with CMake again.
2014-03-12 13:58:32 +01:00
Alex Fabijanic
ea666bb16b
Building Poco 1.5.2 for Synology RS812+ (Intel Atom) #405
2014-03-10 21:20:18 -05:00
Alex Fabijanic
e3d7fc104e
Parse JSON as structure #365
2014-03-07 20:45:32 -06:00
Günter Obiltschnig
aee4a3e0d4
updated VS project files for PBKDF2
2014-03-02 23:21:36 +01:00
Guenter Obiltschnig
7175be3f52
added Poco::PBKDF2Engine
2014-03-02 22:55:21 +01:00
Rangell Reale
12c2b3d290
* Glob from start path, for platforms where it is not possible to transverse from root (Android)
2014-01-21 17:15:52 -02:00
Linquize
5ee5174126
Add /FS compile options to avoid errors
...
Force Synchronous PDB Writes
2014-01-16 08:03:50 +08:00
Guenter Obiltschnig
fefdee93f7
GH #360 : CMakeLists foundation: add Clock.cpp in the list of source files
2013-12-24 09:20:35 +01:00
Guenter Obiltschnig
54d56397b9
fixed license headers
2013-12-16 18:35:22 +01:00
Guenter Obiltschnig
ac2b26fcb9
added Clock class which provides a monotonic clock on most platforms and is now used by Poco::Timer, Poco::Stopwatch, Poco::TimedNotificationQueue and Poco::UtilTimer to avoid issues when the system time is changed
2013-12-12 18:33:29 +01:00
Csaba Keszegh
edf0ab9dba
cmake: missing files added to CMakeLists.txt
...
fix: linker error for testsuits
2013-12-05 10:18:15 +01:00
Csaba Keszegh
8b3561a525
cmake: android support
...
Foundation/src/Error.cpp: ndk-r9 define _GNU_SOURCE in features.h but only the XSI-compliant strerror_r in string.h
2013-12-05 10:18:15 +01:00
Rangel Reale
0d2a839f79
* Multipart form content length calculation
...
* HTMLForm test
2013-12-04 18:19:20 -02: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
Guenter Obiltschnig
3314b88c18
Poco::UUID::tryParse() now accepts UUIDs without hyphens; updated documentation (fixed links to specs)
2013-09-03 14:42:50 +02:00
tokiloki
a499447b6a
format support both raw and STL strings
2013-08-15 18:31:57 +03:00
Guenter Obiltschnig
915265f2cb
integrated some changes from GH# 249
2013-07-30 14:31:36 +02:00
Aleksandar Fabijanic
20e1cf8821
JSON bug fixes
...
GH #241 : SF #620 Endless loop in JSON parser (added Buffer::setCapacity)
GH #242 : SF #619 Syntax error in JSON parser (float/double trim)
2013-07-21 22:18:56 -05:00
Alex
20005dbf87
fix signed/unsigned warnings
2013-06-16 11:37:37 -05:00
Aleksandar Fabijanic
923eb91bb8
mainly JSON tidy-up
2013-06-15 20:28:09 -05:00
alex
83ad8b36f5
fixed GH #138 : FreeBSD JSON tests fail
2013-06-02 23:36:36 -05:00
Aleksandar Fabijanic
0e6985c8a1
fixed GH #185
...
- fixed GH #185 : Poco::NumberFormatter::format(double value, int
precision) ignore precision == 0
2013-06-04 23:01:11 -05:00
Aleksandar Fabijanic
4826523831
fixed few GH issues
...
- fixed GH #209 : Poco::NumberFormatter double length
- fixed GH #204 : Upgrade zlib to 1.2.8
- fixed GH #198 : The "application.configDir" property is not always
created.
2013-06-03 23:45:06 -05:00
Alex
418290d081
fix clang warnings
2013-06-02 23:21:46 -05:00
aleks-f
a34ddb64ab
removed accidentally added gcc pragma
2013-06-02 23:01:28 -05:00
aleks-f
282374980c
gcc alignment and warning suppression
2013-06-02 22:56:18 -05:00
Aleksandar Fabijanic
9b021f8af4
more clang fixes
2013-05-27 21:33:29 -05:00
Aleksandar Fabijanic
38131d452d
Var/JSON changes
...
- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
2013-05-27 21:33:27 -05:00
Guenter Obiltschnig
0434ee2b6b
fixed GH# 65: Poco::format() misorders sign and padding specifiers
2013-05-24 23:54:15 +02:00
Aleksandar Fabijanic
225401743f
case-insensitivity for SessionPool
2013-04-21 21:39:37 -05:00
Aleksandar Fabijanic
f9aea9acdf
GH #144 : Poco::Dynamic emits invalid JSON
...
GH #144 : Poco::Dynamic emits invalid JSON
2013-04-06 11:04:33 -05:00
aleks-f
26c1131053
remove unused variable
2013-04-03 21:25:19 -05:00
aleks-f
acbcfc140a
removed SmallObjectAllocator
...
removed SmallObjectAllocator (moved to separate branch) and disabled
default SOO for Any and Dynamic::Var
2013-04-03 20:56:23 -05:00
aleks-f
6719d3448f
GH #140 : Poco::Runnable threading cleanup issue
2013-03-29 14:02:53 -05:00
aleks-f
b1c6065ffc
GH #75 : Poco::Uri addQueryParameter method
...
- added GH #75 : Poco::Uri addQueryParameter method
2013-03-19 22:51:04 -05:00
Alex
3efbbdc1f7
GH #79 : Poco::Thread leak on Linux
...
fixed GH #79 : Poco::Thread leak on Linux
2013-03-17 21:13:04 -05:00
Alex
1a474584c3
mac/clang build fixes
2013-03-17 12:41:15 -05:00
aleks-f
46c3d74c5f
RecursiveDirectoryIterator and ListMap
...
1) Recursive and SortedDirectoryIterator
- added to VS projects
- fixed some style/formatting
- fxed windows tests
2) Added ListMap
Poco::ListMap is a std::mulitimap-like container that preserves
insertion order (needed to prevent Net message headers)
2013-03-10 12:25:47 -05:00
aleks-f
38530dbdc6
multimap-like functionality
2013-03-09 22:31:49 -06:00
Guenter Obiltschnig
dc5c8c87da
- fixed GH# 116: Wrong timezone parsing in DateTimeParse (fix by Matej Knopp)
2013-03-06 07:50:02 +01:00
Marian Krivos
4573b5e6be
SF Feature requests #168 and #163
2013-02-19 21:29:58 +01:00
Marian Krivos
9349786415
cmake and gcc warning fixes
2013-02-19 06:16:12 +01:00
aleks-f
9378680c0b
Merge remote-tracking branch 'origin/ip-address-soo' into develop
2013-02-17 16:33:44 -06:00
aleks-f
72b5b7acae
GH #80 : NumberFormatter::append broken
...
fixed GH #80 : NumberFormatter::append broken
2013-02-07 21:43:40 -06:00
aleks-f
ddfa52eefa
some refactoring
2013-02-03 12:03:01 -06:00
aleks-f
1821716d29
more tests and other changes
...
- ported complete suite of boost::any tests
- improved reference casting
- added swap in SOO version
2013-02-02 20:37:39 -06:00
aleks-f
911f22508e
Any SOO
2013-01-31 21:12:13 -06:00
arturo
f731dbb400
testsuite for void event
2013-01-23 10:11:43 +01:00
Aleksandar Fabijanic
9cf7dd9043
fix VS 2003 warnings
2013-01-06 11:10:53 -06:00
aleks-f
c61f8d3a9e
Merge remote-tracking branch 'origin/FIFOBuffer-eof-error' into develop
2013-01-05 14:03:42 -06:00
alex
161ea4ec18
unbundled build fixes
2013-01-05 00:04:09 -06:00
aleks-f
b153850188
FIFOBuffer EOF and error support
...
FIFOBuffer now supports EOF and error conditions. If EOF flag is set,
buffer will not accept writing but will allow reading of the remainder
of data. After it is emptied, buffer remains in EOF state until flag is
cleared. Setting error flag, immediately empties the buffer and prevents
any I/O operation until flag is cleared. Flag setting will trigger
transiton notifications (if notifications are enabled). For details, see
the code diffs.
2013-01-02 23:19:07 -06:00
Aleksandar Fabijanic
666fe51a7b
fixed VS90 Foundation projects
2012-12-26 22:24:49 -06:00
Aleksandar Fabijanic
16533ef73b
fix XP/VS2003 tests
2012-12-20 21:18:06 -06:00
aleks-f
9a67596f00
Revert "Base64Decoder drops 0x0d characters on windows"
...
This reverts commit 79549f85dd
.
2012-12-20 20:05:10 -06:00
aleks-f
79549f85dd
Base64Decoder drops 0x0d characters on windows
...
SF #605 Base64Decoder drops 0x0d characters on windows
2012-12-19 21:48:26 -06:00
Alex
6fa1270163
fixed test compile on Mac/clang
2012-12-19 00:57:44 -06:00
Alex
634132455b
remove bad char at file beginning
2012-12-16 22:41:41 -06:00
Aleksandar Fabijanic
031302469f
revise ODBC Unicode string functions
...
http://support.microsoft.com/kb/294169
added Buffer::size/capacityBytes returning length of buffer in bytes
only windows Unicode ODBC tested
reverting the SF #506 fix (non-conforming driver, causes problems with
other ODBC drivers)
2012-12-15 13:47:22 -06:00
aleks-f
5d463c3a1c
GH 30:Poco::Path::home() throws
...
GH #30 : Poco::Path::home() throws when called from Windows Service
done for Win32 and Win32U, return root for WinCE
2012-12-14 12:09:23 -06:00
Aleksandar Fabijanic
e21d1f5fcc
Merge pull request #21 from patrickjwhite/logger_patternFormatter
...
PatternFormatter specific-length source and optimizations.
2012-12-11 09:03:01 -08:00
Patrick White
f0ad6127ab
Add tests for the new message length functionality for messageSource.
2012-12-10 23:48:10 -05:00
aleks-f
7327be4735
Poco::URI::decode() doesn't properly handle '+'
...
GH #27 : Poco::URI::decode() doesn't properly handle '+'
2012-12-05 22:28:43 -06:00
aleks-f
eaa74307a6
see CHANGELOG
...
- added Poco::istring (case-insensitive string) and Poco::isubstr
(case-insensitive substring search)
- improved SQLite execute() return (affected rows) value
- added SQLite sys.dual (in-memory system table)
- applied SF Patch #120 : The ExpireLRUCache does not compile with a
tuple as key on Visual Studio 2010
- fixed SF Bug #599 : JSON::Array and JSON::Object size() member can
implicitly lose precision
- fixed SF Bug #602 : iterating database table rows not correct if no
data in table
- fixed SF Bug #603 : count() is missing in HashMap
- fixed GH #23 : JSON::Object::stringify throw BadCastException
- fixed GH #16 : NetworkInterface::firstAddress() should not throw on
unconfigured interfaces
- Android compile/build support (by Rangel Reale)
- TypeHandler::prepare() now takes const-reference
2012-12-04 23:33:44 -06:00
aleks-f
0c4d2590f7
SF Bug 603
...
SF Bug #603 count() is missing in HashMap
https://sourceforge.net/p/poco/bugs/603/
2012-12-02 21:43:16 -06:00
aleks-f
134558f926
double-conversion floating-point conversions
...
- using double-conversion library for floating-point numeric/string
conversions
- added string replace[InPlace], remove[InPlace]
- reverted overwritten FileChannel purge age and count features
- file size value checks in SMTPClient
2012-12-01 14:10:09 -06:00
aleks-f
9dd1482a02
add locale tests to ensure point is enforced
...
tests ensuring that default number to string conversion retains point
being decimal separator regardless of locale
2012-12-01 14:10:07 -06:00
Alex
dd2e677f8a
separate function for unsigned to string conversion
...
Separated unsigned integer conversion to eliminate warnings (and
slightly improve performance). Added Darwin-clang warning suppression
for unused functions/variables
2012-12-01 14:10:06 -06:00
aleks-f
91d5be438b
replaced stream-based number formatting
...
embedded a portion of double-conversion library
(http://code.google.com/p/double-conversion/ )and replaced stream-based
number formatting
2012-12-01 14:10:04 -06:00
aleks-f
9cd0f0b4f7
integer to string conversion
...
replaced sprintf-based int-to-string functionality with built-in
intToString
2012-12-01 14:10:02 -06:00
aleks-f
08ae9aee18
Merge remote-tracking branch 'origin/Base32Encoding' into develop
2012-11-15 20:02:53 -06:00
aleks-f
a259991568
added ListMap
...
ListMap is a map that does not order elements; used in
NameValueCollection to prevent reordering of message headers
2012-11-15 00:16:31 -06:00
Philip Prindeville
e92baf7258
Correct alphabet; fix compilation issues on linux; add padding and make it on by default.
2012-11-13 16:02:36 -07:00
aleks-f
df8f4eb7c0
Replaced space indentations with tabs
...
Replaced intermittent space indentations with tabs; removed test.txt
file
2012-11-12 20:45:16 -06:00
aleks-f
9b89394b5b
Base32 Encoder/Decoder
...
Base 32 Encoder/Decoder
2012-11-12 20:00:37 -06:00
Guenter Obiltschnig
514566ecd7
removed .vmsbuild files, which are no longer maintained
2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
79eab26377
the great line endings cleanup
2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
45fa903880
- fixed SF# 586: Poco::DateTimeParser and ISO8601 issues when seconds fraction has more than 6 digits
2012-11-10 11:45:55 +01:00
aleks-f
67a27ac2fa
StringTokenizer trailing empty tokens consistency
...
Modified StringTokenizer to eith include or exclude all empty tokens
(including trailing ones based on TOK_IGNORE_EMPTY option.
2012-11-07 00:30:01 -06:00
Guenter Obiltschnig
ac8c9ad1ca
more fixes
2012-10-15 11:14:53 +00:00
Guenter Obiltschnig
228dacbce2
final fixes
2012-10-15 10:19:35 +00:00
Guenter Obiltschnig
b6963f0bc9
WinCE fixes
2012-10-15 09:29:26 +00:00
Guenter Obiltschnig
b90307c200
fixed vs2010 testsuite project files
2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
028e1b348c
fixed vs2012 project files
2012-10-14 08:44:54 +00:00
Guenter Obiltschnig
ba5fe5b4a6
set WINVER to 0x501
2012-10-14 07:33:01 +00:00
Aleksandar Fabijanic
0b6c8aa1e0
use signed char for sign; silence clang warnings
2012-10-13 05:10:49 +00:00
Aleksandar Fabijanic
4773c203a4
essage=disable char and short tests on Mac (annoying warnings)
2012-10-13 04:46:00 +00:00
Aleksandar Fabijanic
af30814d13
silence gcc warnings
2012-10-13 04:31:23 +00:00
Aleksandar Fabijanic
ada0ec20e7
extract locale dependency from numeric string parsing
2012-10-13 03:51:32 +00:00
Guenter Obiltschnig
84a71a2479
run testNumericLocale only on windows due to locale name cross platform issues
2012-10-10 15:57:15 +00:00
Franky Braem
1eade30734
Solve undefined MemoryStream
2012-10-02 18:06:30 +00:00
Aleksandar Fabijanic
8a4eafd05a
- strToInt benchmark and more optimization
...
- warnmsg macro in CppUnit
2012-10-01 00:52:53 +00:00
Aleksandar Fabijanic
bf74a4be8b
FreeBSD build and threading
2012-10-01 00:31:28 +00:00
Aleksandar Fabijanic
8f747fabdc
gcc/linux compile/tests
2012-09-30 13:10:51 +00:00
Aleksandar Fabijanic
f70ac1ca07
- added NumericString.h
...
- NumberParser improvements (internal Poco locale-awareness and parsing)
2012-09-30 05:17:56 +00:00
Aleksandar Fabijanic
991fb4a31f
FreeBSD modifications
2012-09-26 02:51:43 +00:00
Aleksandar Fabijanic
e7ee78baa5
remove Var::operator const std::string & ()
2012-09-25 23:50:15 +00:00
Aleksandar Fabijanic
47448c6079
VS 2012 Projects/Solutions for Foundation, CppUnit and Progen
2012-09-25 06:23:40 +00:00
Aleksandar Fabijanic
d8397b9153
- VS2012: build/tests
...
- JSON: style and exceptions catch by ref fix
- NumberParser: case-insensitive hex parsing
- Dynamic::Var: const std::string& cast operator specialization (coaxing std::string ctor)
- LocalDateTime: strftime fix (buffer too small for full tz string, use %Z instead of %z - makes no difference on windows but is more portable)
- small buildwin.cmd vsvars32.bat call fix
2012-09-24 03:51:40 +00:00
Aleksandar Fabijanic
fa4ca5e18e
SF#579 Add EOF mark detect on reading (Note: only partially accepted, see SF tracker for details)
2012-09-23 17:45:39 +00:00
Aleksandar Fabijanic
26d488044c
native MySQL, ODBC, Nullable; OSX compile, tests and fixes
2012-09-22 02:16:58 +00:00
Aleksandar Fabijanic
32c5b6b998
ODBC fixes and tests (Oracle, SQL Server, MySQL on Windows)
...
MySQL back-end compile fixes on Windows
Nullable/NullType
2012-09-17 00:18:13 +00:00
Aleksandar Fabijanic
c3e2e50af4
NumberParser fixes and more test
2012-09-14 04:56:20 +00:00
Aleksandar Fabijanic
e5d3d23c92
integers parsing
2012-09-13 06:06:08 +00:00
Aleksandar Fabijanic
9ad1effd8b
removed redundant Poco::Data::Nullable
2012-09-12 02:10:31 +00:00
Aleksandar Fabijanic
c19c3f9411
removed old file
2012-09-10 03:43:30 +00:00
Aleksandar Fabijanic
0f8264ea55
VS 2003: Win XP/SP3 compile/tests (Foundation, Net, XML, JSON, UTIL)
2012-09-10 03:39:50 +00:00
Aleksandar Fabijanic
a221b14522
porting rev.1998 from 1.4.4 (except ODBC, which will be done later, and SQLite, which was ported in rev.1999)
2012-09-05 02:43:06 +00:00
Aleksandar Fabijanic
d384a499d5
porting 1.4.4 rev. 1989 (except for File_WIN32(U)/FileImpl::isDeviceImpl() where GENERIC_ACCESS was left due to breaking testFileAtributes3() test case)
2012-08-26 03:40:12 +00:00
Aleksandar Fabijanic
2a6d58c7f2
porting 1.4.4 rev. 1968 (fixed SF# 3559665, etc.)
2012-08-23 03:15:19 +00:00
Aleksandar Fabijanic
88134859e4
- fix of the Timer fix from rev. 1953
...
- improved UTFString definitions
- allow empty Glob (testMatchEmptyPattern() failing)
- fixed SF#3535990: POCO_HAVE_IPv6 without POCO_WIN32_UTF8 conflict
2012-08-18 21:09:50 +00:00
Marian Krivos
367b174d78
Poco::Logger - add formatted version of methods
2012-08-04 10:40:58 +00:00
Aleksandar Fabijanic
5cade11ba6
- SF#3540497 HashMap iterator crash in VS 2010
...
- allow Buffer resize to zero
2012-08-04 03:49:51 +00:00
Aleksandar Fabijanic
0bcf08b3f7
Linux fixes for UnicodeConverter
2012-08-02 05:01:00 +00:00
Aleksandar Fabijanic
416cc7a630
Unicode portability improvements (only tested on Windows at this time)
2012-08-02 04:41:24 +00:00
Marian Krivos
bd401297e7
UnicodeConverter: added support for native wchar_t via UTF16 or UTF32
2012-07-31 18:37:04 +00:00
Aleksandar Fabijanic
0466c67ff2
BinaryReader/Writer wrappers for Buffer and MemoryStream
2012-07-23 00:39:09 +00:00
Aleksandar Fabijanic
acf820c46d
VS 2008 project files and build fixes
2012-07-12 05:21:01 +00:00
Aleksandar Fabijanic
bf4f148782
more linux build fixes/improvements
2012-07-10 03:58:41 +00:00
Marian Krivos
114de565ff
added cmake support
2012-06-26 12:37:02 +00:00
Shan Jiang
67490b5beb
[trunk] Update visual studio project file (64-bit)
...
* Update vs2010 64-bit project file
* Add FIFOBufferStream
* Update Dynamic group
* Add ArrayTest
* Add Latin2Encoding & Windows1250Encoding etc.
* For some reason I can not load the vs2008's 64-bit solution.
2012-06-09 09:54:43 +00:00
Shan Jiang
f1abbfb94e
[trunk] Update FIFOBufferStream and visual studio project file
...
* Fix FIFOBufferStream: The free function FIFOBuffer& FIFOBufferStreamBuf::fifoBuffer() should be declared as inline explicitly.
* Update vs2005 and vs2008 project file (Foundation and testsuite, win32 only for now).
* Add FIFOBufferStream
* Update Dynamic group
* Add ArrayTest
* Add Latin2Encoding & Windows1250Encoding etc.
* TextConverterTest.cpp won't compile for my Japanese visual studio, cause the utf8char string literals can not be parsed. Maybe later we should load the string from file.
2012-06-09 09:12:56 +00:00
Aleksandar Fabijanic
41c84366d6
spaces to tabs
2012-06-08 03:03:14 +00:00
Aleksandar Fabijanic
69bd6f6ee9
FIFOBufferStream (g++ pacify)
2012-06-08 02:24:36 +00:00
Aleksandar Fabijanic
cfbcce0481
FIFOBuferStream and tests (Windows/VS2010 only compiled/tested)
2012-06-07 03:59:13 +00:00
Aleksandar Fabijanic
484510dec5
support for FIFOBuffer in StreamSocket::read/writeBytes()
2012-05-19 05:16:42 +00:00
Aleksandar Fabijanic
9b952a29c7
ported 1.4.4 branch changes (needs build checks and test runs!)
2012-05-19 03:04:51 +00:00
Aleksandar Fabijanic
c1adffb39c
unsigned fix
2012-05-17 02:39:35 +00:00
Aleksandar Fabijanic
8b43d003f0
NumberParser limits test
2012-05-17 02:05:44 +00:00
Marian Krivos
fa49f5b850
added basic tests for Latin2, Latin9, Windows-1250, Windows-1251, Windows-1252
2012-05-14 18:54:38 +00:00
Marian Krivos
11539da851
added Buffer append()
2012-05-13 17:23:57 +00:00
Marian Krivos
c41196bd5b
added methods to the template Buffer class : copy ctor, ==, !=, clear, =, swap, empty
2012-05-13 17:00:42 +00:00
Aleksandar Fabijanic
369ca9cd52
fixed SF# 3522906: Unregistering handlers from SocketReactor
2012-05-04 03:39:24 +00:00
Aleksandar Fabijanic
5a639074d9
change EOL to 'native'
2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
056cbeb744
FIFOBuffer::drain() and partial write
2012-04-29 18:09:43 +00:00
Marian Krivos
c33bf13bdc
fix typo
2012-04-29 11:24:44 +00:00
Marian Krivos
0ad8b3c924
formatting fix and few tests from the old trunk
2012-04-29 11:04:08 +00:00
Marian Krivos
c816693153
FileChannel: added "none" to the PURGE_AGE and PURGE_COUNT
2012-04-29 10:58:27 +00:00
Aleksandar Fabijanic
e10566779e
renamed FIFOBuffer => BasicFIFOBufer, FIFOBuffer typedef, renamed Bufer::allocated() => Buffer:capacity() to match STL convention
2012-04-29 02:37:54 +00:00
Aleksandar Fabijanic
d22ecbaa3e
writEAble => writAble
2012-04-29 02:03:09 +00:00
Aleksandar Fabijanic
156a43150d
fixed FIFOBuffer writable notifications and tests
2012-04-29 01:51:30 +00:00
Aleksandar Fabijanic
fae6d780b7
replaced indentation spaces with tabs
2012-04-28 19:15:17 +00:00
Franky Braem
5086b562fd
Add missing functions
2012-04-28 18:59:25 +00:00
Marian Krivos
9690a4b50f
added StringTokenizer::find()
2012-04-28 09:53:56 +00:00
Marian Krivos
ae48e7465a
added tests for DegestStream / NumberParser / NumberFormatter
2012-04-28 09:46:01 +00:00
Aleksandar Fabijanic
b82cb14dfc
Buffer and FIFOBuffer performance optimizations
2012-04-28 04:32:35 +00:00
Aleksandar Fabijanic
d7306cc7d9
FIFOBuffer events and tests
2012-04-27 04:41:50 +00:00
Aleksandar Fabijanic
15d960b057
FIFO resize bugfix and more tests
2012-04-26 00:08:53 +00:00
Aleksandar Fabijanic
886af0816a
FIFOBuffer implementation and tests
2012-04-25 04:43:01 +00:00
Marian Krivos
a0daaba97e
fix gmake on linux
2012-04-23 10:24:48 +00:00
Aleksandar Fabijanic
d75e68c027
new trunk (base for 1.5)
...
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7
removing old trunk files
2012-04-23 00:43:14 +00:00
Marian Krivos
a002f13be2
trunk: updated standard VS2010 sln to include x64 support (all in one)
2012-02-11 12:13:15 +00:00
Marian Krivos
189695f9c3
Foundation testsuite project fix
2011-09-14 13:29:50 +00:00
Marian Krivos
104ed1d446
Foundation: VS project imports
2011-09-09 18:31:32 +00:00
Marian Krivos
223e7b86aa
cmake fix
2011-08-26 09:29:01 +00:00
Marian Krivos
60050ce87a
trunk/branch integration: Inflating/Deflating update, test updates, NotificationCenter update
2011-08-23 09:55:09 +00:00
Marian Krivos
53eff41df8
trunk/branch integration: unit test integration
2011-08-23 09:16:33 +00:00
Marian Krivos
d21cc6edc9
SF# 3181882
2011-08-16 20:15:21 +00:00
Marian Krivos
9fdf165caa
SF# 3354451
2011-08-16 18:56:34 +00:00
Marian Krivos
d3365b3df3
SF# 3288584 in trunk
2011-08-06 15:25:14 +00:00
Aleksandar Fabijanic
45122ef7e6
/dev/console is link on Solaris, removed !isLink() assert
2009-09-04 15:25:39 +00:00
Aleksandar Fabijanic
7a8f1bf483
SF [2851052] Poco::DirectoryIterator copy constructor is broken
...
added testCreateFile() to the test suite
2009-09-04 14:56:19 +00:00
Guenter Obiltschnig
37713c2ddc
fixed SF# 2804546
2009-06-17 08:48:49 +00:00
Guenter Obiltschnig
c3f91bd012
added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice()
2009-04-14 10:40:59 +00:00
Guenter Obiltschnig
095401e8e4
added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice()
2009-04-14 10:38:52 +00:00
Aleksandar Fabijanic
8fe9757195
[SF 2632636] FileChannel Purge Unit Tests Broken
2009-04-02 13:10:20 +00:00
Aleksandar Fabijanic
019572be51
[SF 2715031] DynamicAny double to float conversion
2009-04-01 19:15:22 +00:00
Aleksandar Fabijanic
11dc7df7e0
[SF 2725424] TestThreadStack size fails on Solaris
2009-04-01 18:41:25 +00:00
Aleksandar Fabijanic
d77ef57588
- [SF 2513643] Seg fault in Poco::UTF8::toLower on 64-bit Linux
...
- removed support for 5- and 6-byte sequences
- fixed error counting in StreamConverterBuf::readFromDevice()
- added std::dec to poco_stdout_dbg and poco_stderr_dbg macros
2009-04-01 02:33:51 +00:00
Guenter Obiltschnig
21ca665427
Glob now uses UTF-8 strings and support caseless comparison
2009-03-25 13:10:40 +00:00
Marian Krivos
fd98b17390
added method & tests to the class NumberFormatter for bool values
2009-03-23 20:10:51 +00:00
Aleksandar Fabijanic
5e72766ea6
clear() and prevention of resizing for same size
2009-03-16 19:14:51 +00:00
Marian Krivos
02161a9f46
added methods parseBool() and tryParseBool() to Poco::NumberParser + test unit
2009-03-16 17:59:38 +00:00
Aleksandar Fabijanic
582d3853db
added zero-size check
2009-03-16 15:17:13 +00:00
Aleksandar Fabijanic
060e32101b
make Buffer copy-, assign- and resize- able
2009-03-12 22:35:21 +00:00
Guenter Obiltschnig
f67694e455
fixed SF# 2630476: Thread_POSIX::setStackSize() failure with g++ 4.3
2009-03-10 15:08:35 +00:00
Marian Krivos
ac01609444
cmake scripts for all tests
2009-02-21 20:19:53 +00:00
Aleksandar Fabijanic
c92d329399
[SF 2520679] JSON strings enclosed in single quotes
...
[SF 2520849] Dynamic/Pair support
2009-01-19 20:08:04 +00:00
Aleksandar Fabijanic
736cb1fcee
[SF 2479446] Extend StringTokenizer interface
2008-12-31 19:31:03 +00:00
Aleksandar Fabijanic
66dc4abff0
StringTokenizer::find implementation and tests
2008-12-31 16:02:46 +00:00
Aleksandar Fabijanic
8311cd078a
Dynamic::Struct construction from std::map
2008-12-23 16:08:28 +00:00
Peter Schojer
69ee9eee82
added update test
2008-11-27 10:11:40 +00:00
Aleksandar Fabijanic
d43f4d6164
DynamicStruct keyed by integer
2008-11-24 12:36:15 +00:00
Aleksandar Fabijanic
161e49a6d4
added missing VarTest files
2008-11-17 22:23:14 +00:00
Aleksandar Fabijanic
4b4ec9393c
- introduced Poco::Dynamic namespace
...
- moved/renamed:
Poco::DynamicAny => Poco::Dynamic::Var
Poco::DynamicAny typedef for backward compatibility (deprecated)
DynamicAny.h forwarding header for backward compatibility (deprecated)
Poco::DynamicAnyHolder => Poco::Dynamic::VarHolder
DynamicAnyHolder.h forwarding header for backward compatibility (deprecated)
Poco::DynamicStruct => Poco::Dynamic::Struct
Poco::DynamicStruct typedef for backward compatibility (deprecated)
DynamicStruct.h forwarding header for backward compatibility (deprecated)
- changed FastMutex to Mutex in Data::SessionPool (deadlocking)
2008-11-16 16:54:37 +00:00
Peter Schojer
30e0ed3dd2
added DigestEngine::digestFromHex
2008-10-16 08:00:48 +00:00
Peter Schojer
358797c89e
added NullMutex, extended Events so that mutex is a template param, minor performance optimzation for strategies
2008-09-30 06:26:47 +00:00
Guenter Obiltschnig
6ea765969d
SharedPtr now has referenceCount() member fn
2008-09-26 13:36:51 +00:00
Guenter Obiltschnig
5ae8225ece
added Environment::nodeId()
2008-09-18 15:49:05 +00:00
Guenter Obiltschnig
c83f8e2434
fixed SF# 1896482: tryReadLock intermittent error
2008-09-17 19:13:50 +00:00
Shan Jiang
6bf2319a9e
[POCO::trunk] Remove warning issued by gcc 4.2.3
...
Details:
Add necessary initializer braces to make gcc 4.2.4 happy. (ArrayTest.cpp)
2008-09-09 10:25:19 +00:00
Shan Jiang
ab06f0a999
[trunk] Add Poco::Array utility class and test cases.
...
* add Array.h to Poco::Foundation.
* add ArrayTest to testsuite.
* update build solution/makefile.
2008-09-06 04:11:11 +00:00
Shan Jiang
1671f7fcbf
[trunk] Fix typo in DynamicAnyTest.h.
...
Add namespace declarer Poco to make gcc happy.
2008-08-02 16:14:49 +00:00
Aleksandar Fabijanic
fc5a503593
Changes related to following tracker items:
...
[2025916] ODBC binds empty string as null?
[2000408] DynamicAny non-initialized state support
[1981130] pointless comparison of unsigned integer with zero
and some refactoring.
Warning: only tested on Windows.
2008-07-29 20:11:38 +00:00
Aleksandar Fabijanic
b1f895eed8
DynamicAny improvements (now holds any type out-of-the-box), some refactoring and documentation improvements
2008-06-30 00:26:54 +00:00
Aleksandar Fabijanic
cfbe8fd28a
SF [2000408] DynamicAny non-initialized state support (more changes/fixes)
2008-06-23 21:48:23 +00:00
Aleksandar Fabijanic
b044856f46
DynamicAny non-initialized state capability
...
made DynamicAnyHolder::create() and is...() pure virtual functions virtual
(simplifies DynamicAnyHolderImpl implementation)
made DynamicAnyHolder default constructor protected
made DynamicAnyHolderImpl default constructor private
added DynamicAnyTest::testEmpty()
2008-06-23 02:15:22 +00:00
Aleksandar Fabijanic
cb234f14ac
Fedora Core9/g++ 4.3.0 compilations fixes
2008-06-03 20:51:10 +00:00
Aleksandar Fabijanic
a90b28b4d3
[1982878] Can't set log files purging to none
2008-06-03 01:38:57 +00:00
Aleksandar Fabijanic
0a1c616368
SF items:
...
[1981125] std::swap_ranges overloading resolution failed
[1981130] pointless comparison of unsigned integer with zero
[1981139] initial value of reference to non-const must be an lvalue
Buffer test
FunctionDelegate comment spelling
2008-06-01 14:33:45 +00:00
Aleksandar Fabijanic
532672c027
SF 1969276 DynamicAny("") should be false; added operator!
2008-05-22 01:29:32 +00:00
Aleksandar Fabijanic
81fcb5cbf5
Solaris and non-Cygwin pthreads fixes (Serge: backport to 1.3.3)
2008-05-14 18:12:04 +00:00
Aleksandar Fabijanic
6c014c25d3
[1954327] CYGWIN's pthread does not define PTHREAD_STACK_MIN (2nd time)
2008-05-02 22:45:54 +00:00
Aleksandar Fabijanic
e1c7bc55dd
SF items 1951604 and 1953551
...
[1951604] POCO refuses to compile with g++ 4.3.0
[1953551] Solaris Sun Studio 12 Apache stdcxx 64 bit
Warning: compile with target platforms not done yet!
2008-04-28 21:52:10 +00:00
Aleksandar Fabijanic
9fd70bade2
- POCO_THREAD_STACK_SIZE macro
...
- few Thread modifications
- ThreadPool configurable stack size
2008-04-20 23:28:41 +00:00
Aleksandar Fabijanic
89ca50a581
SF 1939071 and 1928786
2008-04-11 01:37:49 +00:00
Aleksandar Fabijanic
1c393ae9ab
VS 71 projects and solutions
2008-03-27 14:53:54 +00:00
Aleksandar Fabijanic
5d5c7a0586
VS 90 solution and project files updated for IO
2008-03-24 12:36:29 +00:00
Aleksandar Fabijanic
b375b14f60
added TestChannel
2008-03-23 01:14:07 +00:00
Aleksandar Fabijanic
5a737fb241
removed AsyncIO tests (moved to IO)
2008-03-22 22:25:42 +00:00
Aleksandar Fabijanic
e41a7aef2e
moved IO (sync and async) from Foundation and Net to IO, IO::Serial and IO::Socket;
...
only MS VS80 and Unix Makefiles are up to date with this modification
2008-03-22 21:28:05 +00:00
Aleksandar Fabijanic
40445c9d3e
- FileStream_WIN32 constructor openmode argument
...
- DynamicAnyTest and AnyTest warning disable for VS 2003
2008-02-18 16:32:01 +00:00
Aleksandar Fabijanic
5bf096bb2a
- SF [1800596] VS Solutions (ver. 8.0 and 9.0)
...
- SF [1621372] Build Scripts (all Windows scripts consolidated in one)
- eliminated warnings in sqlite3.c
- updated components file
2008-02-17 17:14:33 +00:00
Guenter Obiltschnig
e4d9b3b40f
fixed line endings
2008-02-07 16:08:15 +00:00
Aleksandar Fabijanic
be815af919
DynamicAny:operator [] fix (did not compile w/ VS 2003)
2008-02-02 21:55:14 +00:00
Guenter Obiltschnig
533f42bfce
fixed SF# 1883871: TypeList operator < fails for tuples with duplicate values
2008-02-01 14:49:18 +00:00
Guenter Obiltschnig
b526dd81f2
changes from main repository
2008-01-29 09:06:52 +00:00
Guenter Obiltschnig
da49971d0f
synced with main repository
2008-01-28 17:23:19 +00:00
Eran Hammer-Lahav
19dca2aa79
Feature Request #1873922
...
Add project and solution files for Visual Studio 2008
2008-01-17 18:07:39 +00:00
Aleksandar Fabijanic
ae607d40e5
format() bool support
2008-01-15 02:43:04 +00:00
David Shawley
fbb1c1fd44
* include/Poco/Tuple.h
...
- Named the inner enumerations to fix SF issue#1834127
* include/Poco/RunnableAdapter.h
- Added missing ``return *this'' to RunnableAdapter::operator=
* src/TaskManager.cpp
- Added try-catch block in TaskManager::start to ensure that _taskList
is properly maintained. Fix for SF issue#1829700
* testsuite/src/TaskManagerTest.cpp
* testsuite/src/TaskManagerTest.h
- Added test cases for SF issue@1829700
2007-11-18 18:26:24 +00:00
Peter Schojer
6987146b6c
new tests for the UniqueAccess caches
2007-10-29 14:50:09 +00:00
Peter Schojer
383929fb39
new tests for the UniqueAccess caches
2007-10-29 14:48:39 +00:00
Aleksandar Fabijanic
65587e39a3
operators <, <=, >, >=
2007-10-21 23:46:14 +00:00
David Shawley
01d998dcc2
* Foundation/include/Poco/LocalDateTime.h
...
* Foundation/src/LocalDateTime.cpp
- Fixed Sourceforge tracker 1800031.
The time zone differential was not being maintained in many places.
There are some minor functionality changes with this changeset however.
* Assignment methods which do not take the full time information or a
tzd as parameters will adjust the time stamp for DST according to
the time specified. The only methods that do not fall under this
constraint are:
- constructors or assigns which accept year, month, day, etc.
- constructors or assigns which accept a tzd
* operators += and -= correctly adjust for DST boundary crossings.
* operators + and - will return a LocalDateTime instance that has
been adjust for DST boundary crossings.
* Foundation/testsuite/src/LocalDateTimeTest.h
* Foundation/testsuite/src/LocalDateTimeTest.cpp
- Added testTimezone method.
- Removed an assertion in testGregorian1() that would fail when the
current DST offset differed from that of 1970-1-1.
2007-10-01 03:09:05 +00:00
Aleksandar Fabijanic
6e380b6b13
Various feature additions and fixes:
...
- asynchronous execution for Data::Statement
- ActiveMethod copy and assignment
- added Data components to $POCO_BASE/components
- SQLite 64-bit integer default
- SessionPool timer seconds to milliseconds
- ODBC fix for subsequent calls to execute()
- std::deque (instead of std::vector) as default container
2007-09-29 18:40:43 +00:00
Aleksandar Fabijanic
8bb74a06a4
== and != overloads for POD
2007-09-24 22:33:37 +00:00
Aleksandar Fabijanic
8f01713202
Removed TYPELIST_... macros
2007-09-12 22:57:00 +00:00
Aleksandar Fabijanic
dd81a7ecf0
More operators and some code fixes
2007-09-12 22:56:20 +00:00
Aleksandar Fabijanic
bd5e6db0cc
2007-09-06 13:56:18 +00:00
Aleksandar Fabijanic
009db61570
++ and -- operators for DynamicAny
2007-09-06 11:16:27 +00:00
Aleksandar Fabijanic
d9c5b827a5
Arithmetic operators for DynamicAny
2007-09-05 23:38:12 +00:00
Aleksandar Fabijanic
0a65eefd9a
Eliminate some gcc warnings
2007-09-04 20:14:40 +00:00
Guenter Obiltschnig
a04bae94d7
synchronized trunk
2007-08-10 13:57:07 +00:00
Guenter Obiltschnig
049c3b914b
added AsyncIO
2007-06-18 07:00:47 +00:00
Guenter Obiltschnig
9913f74f8d
latest sources from main repository
2007-06-13 15:13:29 +00:00
Guenter Obiltschnig
dcabc2befc
latest changes from main rep
2007-05-04 11:04:40 +00:00
Aleksandar Fabijanic
3580ad72cb
few minor and cosmetic fixes
2007-05-03 02:21:21 +00:00
Guenter Obiltschnig
10e8f2e6a3
updated makefiles
2007-05-02 13:49:53 +00:00
Guenter Obiltschnig
a8990dca3f
latest changes from main repository; added eclipse cdt project files
2007-04-29 14:25:52 +00:00
Aleksandar Fabijanic
d740264009
std::string double percent Format bug fix
2007-04-28 19:13:21 +00:00
Guenter Obiltschnig
4d80e24d44
latest changes from main repository
2007-04-27 13:25:16 +00:00
Aleksandar Fabijanic
5caf218376
fail if setName() does not throw
2007-04-27 12:01:57 +00:00
Aleksandar Fabijanic
3c08b668f4
NamedTuple
2007-04-27 01:38:17 +00:00
Aleksandar Fabijanic
3d15e9f2e3
undef min, max macros; string cast test commented (not compiling on gcc)
2007-04-27 01:37:32 +00:00
Aleksandar Fabijanic
671fd27d12
== operator & tests
2007-04-26 09:27:21 +00:00
Guenter Obiltschnig
4cf5e8ac12
added DynamicAny::convert<>()
2007-04-26 06:24:35 +00:00
Guenter Obiltschnig
3e46ab332b
latest changes from main repository
2007-04-25 08:39:02 +00:00
Aleksandar Fabijanic
f29f7cda53
DynamicAny conversion limits
2007-04-25 01:11:49 +00:00
Guenter Obiltschnig
109a6f47bd
added conversion operator to DynamicAny
2007-04-23 07:12:12 +00:00
Guenter Obiltschnig
b7a945da93
committed latest 1.3 snapshot
2007-04-18 16:22:57 +00:00
Guenter Obiltschnig
dfe559af3b
changes from main repository
2007-02-27 08:56:44 +00:00
Guenter Obiltschnig
7639f5a3f0
sync to internal repository
2007-02-23 14:27:57 +00:00
Aleksandar Fabijanic
973e256680
MSVC 71
2007-02-21 18:37:47 +00:00
Aleksandar Fabijanic
605736b626
Increased Tuple capacity to 20 parameters; introduced TypeListType; added TypeListTest.cpp/.h
2007-02-21 00:23:09 +00:00
Guenter Obiltschnig
3941965bce
integrated changes from main repository
2007-01-04 08:01:43 +00:00
Guenter Obiltschnig
d9d531350d
integrated changes from main repository
2006-12-27 15:16:22 +00:00
Guenter Obiltschnig
bb11cbaf29
sources from main repository
2006-12-22 09:51:53 +00:00
Guenter Obiltschnig
772a1021dc
sources from main repository
2006-12-22 09:31:08 +00:00
Guenter Obiltschnig
768642ae98
sources for 1.3
2006-11-17 16:21:51 +00:00
Guenter Obiltschnig
84fedbdb60
set eol-style to native
2006-10-23 15:48:43 +00:00
Guenter Obiltschnig
072ba74f28
changes for 1.2.5
2006-10-23 15:33:11 +00:00
Guenter Obiltschnig
89111b52b3
integrated changes from main repository for upcoming 1.2.5 release
2006-10-12 15:08:28 +00:00
Guenter Obiltschnig
76edf6f35c
changes for 1.2.4
2006-09-29 14:39:00 +00:00
Guenter Obiltschnig
245e2f7e83
integrated changes for 1.2.3
2006-09-14 16:48:30 +00:00
Guenter Obiltschnig
2d4078f392
submitted 1.2.0
2006-08-29 07:10:35 +00:00
Guenter Obiltschnig
f476bd6b32
initial import
2006-07-11 16:33:40 +00:00