Commit Graph

651 Commits

Author SHA1 Message Date
David B Raleigh
c1b8673652 remove std from copysignf and copysign
"copysign* is C99/C++ TR1, apparently still not in std namespace with
gcc 4.7. Remove std:: in front of it and see if it helps. If you
provide a patch, we'll test and include it for future releases."
2013-01-12 15:32:23 +01:00
aleks-f
b16786fb54 Updated version for 1.5.1 release 2013-01-10 20:08:31 -06:00
Aleksandar Fabijanic
aeeada3559 add Error.cpp/h to VS2003 solution 2013-01-06 11:37:38 -06: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
aleks-f
7eb8a7bfd6 Merge remote-tracking branch 'origin/unbundled-static-build' into develop 2013-01-05 13:57:36 -06:00
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -06:00
aleks-f
9b3fc90ee2 GH #51: Android should use isfinite, isinf, isnan and signbit from the std namespace
GH #51: Android should use isfinite, isinf, isnan and signbit from the
std namespace
2013-01-04 21:56:49 -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
Alex
7094df540f GH 46: 1.5.1 build fails on OS X when using libc++ 2012-12-30 09:50:59 -06:00
Aleksandar Fabijanic
666fe51a7b fixed VS90 Foundation projects 2012-12-26 22:24:49 -06:00
aleks-f
9f76b49ac0 some last minute changes
- ifdef network initialization linking for 64-bit
- corrected too largument in windows build script shortcuts
- added LineEndingConverter sample
2012-12-26 18:30:52 -06:00
aleks-f
007659a107 exclude NetworkInterface where not supported
Exclude NetworkInterface and MulticastSocket on platforms where we do
not have network interface detection implemented
2012-12-23 16:05:16 -06:00
aleks-f
760fa4bbb0 see CHANGELOG
- upgraded SQLite to version 3.7.15.1 (2012-12-19)
- fixed SQLite affectedRows reporting and added tests
- added SQLite::Utility::isThreadSafe() function
- added SQLite::Utility::setThreadMode(int mode) function
- fixed GH #41: Buffer::resize crash
2012-12-23 02:36:01 -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
a4e781f487 Revert "enable skipws"
This reverts commit 9c851f0d1b.
2012-12-20 20:04:46 -06:00
Alex
9c851f0d1b enable skipws 2012-12-19 22:06:33 -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
aleks-f
8fe3a398af Net Windows automatic (un)initialize
automatic network (un)initialization on windows
NumericString 64-bit compile/warning fixes
2012-12-19 00:38:18 -06:00
aleks-f
52bbcfc9c2 update version numbers 2012-12-16 22:55:16 -06:00
Alex
634132455b remove bad char at file beginning 2012-12-16 22:41:41 -06:00
aleks-f
e75081af94 added Token::asInteger64(); ODBC tests fix for case-sensitive DB 2012-12-16 19:45:38 -06:00
Alex
46cfdf70f0 compiler detection macros 2012-12-16 11:21:07 -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
Aleksandar Fabijanic
245dc64c7e added VS2012 Foundation TestSuite dependency
added VS2012 Foundation TestSuite dependency on TestApp and TestLibrary
2012-12-14 15:30:41 -06:00
aleks-f
1ea4b41dad added ifconfig to samples Makefile 2012-12-14 15:30:24 -06:00
aleks-f
0b0e293b96 added Error.cpp/h files to VS projects 2012-12-14 14:44:45 -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
249135b05c Merge pull request #33 from syvex/JSONParse64
Fix JSON Parser to handle 64-bit integers (Issue #32)
2012-12-13 20:02:46 -08:00
Aleksandar Fabijanic
94cec18f82 Merge pull request #34 from bufferoverflow/develop
add algorithm header and adding lib folder to .gitignore
2012-12-13 15:22:46 -08:00
Roger Meier
7afd9c44db add algorithm header and adding lib folder to .gitignore
fix compilation on Debian x86_64 with gcc 4.4.5-8
2012-12-13 22:38:46 +01:00
Mike Naquin
27616fb0e6 Change token to use 64-bit integers by default (when available) 2012-12-13 09:39:23 -06:00
aleks-f
ef9cda6666 GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
aleks-f
1b14088283 GH31: JSON implementation bug
fixed GH #31: JSON implementation bug
2012-12-11 20:27:47 -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
Mathäus Mendel
e3649153b8 Fixed build with CMake
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02: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
Alex
569ea46817 Mac (clang) compile warning fix 2012-12-04 23:49:29 -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
401415773f Moved GCC ifdefs to Platform_POSIX
Moved GCC ifdefs added for Android fron SocketDefs.h to Platform_POSIX.h
2012-12-02 22:37:02 -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
a54c34e7d0 SF patch 120
SF #120 The ExpireLRUCache does not compile with a tuple as key on
Visual Studio 2010
https://sourceforge.net/p/poco/patches/120/
2012-12-02 20:53:27 -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
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