Commit Graph

300 Commits

Author SHA1 Message Date
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
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
b0ae034a94 a couple of minor changes 2012-12-01 14:10:05 -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
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
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
b402881343 - Poco::FileChannel now supports a new rotateOnOpen property (true/false) which can be used
to force rotation of the log file when it's opened.
2012-11-10 11:55:54 +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
Guenter Obiltschnig
12b0255f58 - fixed SF# 581: Out-of-bound array access in Unicode::properties() function. 2012-11-10 11:44:44 +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
aleks-f
15d27daea6 Route on Windows
Route on Windows tentatively complete, Mac/Linux TODO
2012-11-06 22:17:17 -06:00
Guenter Obiltschnig
b6963f0bc9 WinCE fixes 2012-10-15 09:29:26 +00:00
Aleksandar Fabijanic
ada0ec20e7 extract locale dependency from numeric string parsing 2012-10-13 03:51:32 +00:00
Aleksandar Fabijanic
bf74a4be8b FreeBSD build and threading 2012-10-01 00:31:28 +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
e7ee78baa5 remove Var::operator const std::string & () 2012-09-25 23:50:15 +00:00
Aleksandar Fabijanic
7f02626724 FreeBSD fix for DirectoryWatcher 2012-09-25 07:28:38 +00:00
Aleksandar Fabijanic
142120ee86 FreeBSD fix for DirectoryWatcher 2012-09-25 07:22:14 +00:00
Aleksandar Fabijanic
bf4a5ee3bb SF#102 Fix building Poco on Debian GNU/kFreeBSD 2012-09-24 04:06:19 +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
d22ba992c8 align with 1.4.4 2012-09-15 15:09:27 +00:00
Aleksandar Fabijanic
e5d3d23c92 integers parsing 2012-09-13 06:06:08 +00:00
Aleksandar Fabijanic
b7957f8cd0 - cleanup config macros inconsistencies
- convert spaces to tabs
2012-09-12 00:20:07 +00:00
Marian Krivos
70dbe84a31 Latin2Encoding: source code cleanup 2012-09-10 08:43:32 +00:00
Aleksandar Fabijanic
3f23af80c3 porting rev. 1994 from 1.4.4 2012-09-08 02:54:42 +00:00
Aleksandar Fabijanic
69bb6e4461 SF #3561464: Poco::File::isDevice() can throw due to sharing violation 2012-09-08 01:02:46 +00:00
Aleksandar Fabijanic
9ca1a770bc SF#3562244: Portability fix for AF_LINK 2012-09-07 04:31:09 +00:00
Aleksandar Fabijanic
a522c31765 SF# 3558012 Compilation fails when building with -ansi or -std=c++0x 2012-09-06 03:14:17 +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
0ca3bbc848 porting 1.4.4. rev. 1926 (SF#3478665: Permission checks in Poco::File not correct for root) 2012-08-22 03:44:30 +00:00
Aleksandar Fabijanic
801b2485f4 port from 1.4.4 (rev. 1925 fixed SF# 3483174) 2012-08-22 03:25:25 +00:00
Aleksandar Fabijanic
d9cf671330 fixed SF# 3496493, 3495656 2012-08-22 02:40:41 +00:00
Aleksandar Fabijanic
7a177a0d79 fixed SF# 3556975 2012-08-20 03:21:09 +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
Aleksandar Fabijanic
4328b7cba3 porting rev. 1915 from 1.4.4 branch (fixed SF# 3539695) 2012-08-18 04:16:16 +00:00
Aleksandar Fabijanic
2adfe178c0 porting rev. 1914 from 1.4.4 branch (fixed SF# 3543047) 2012-08-18 02:41:15 +00:00
Marian Krivos
2f0ab58544 check for initialization with an empty pattern (backport from old trunk) 2012-08-07 20:56:38 +00:00
Marian Krivos
9e27531c68 check for initialization with an empty pattern (backport from old trunk) 2012-08-07 20:45:44 +00:00
Marian Krivos
f74b10bf1b zlib updated to the version 1.2.7 2012-08-07 20:43:25 +00:00
Marian Krivos
871cdaff44 zlib updated to the version 1.2.7 2012-08-07 20:42:25 +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
Marian Krivos
24225d39ec fix UTF32Encoder 2012-07-31 18:35:47 +00:00