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
Mike Naquin
5cd3d194ef
Add pthread_setname_np in Thread_POSIX. User can enable this with -DPOCO_POSIX_DEBUGGER_THREAD_NAMES.
2012-12-14 09:35:48 -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
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
Patrick White
b4aa3cedfa
PatternFormatter specific-length source and optimizations.
...
Optimize the pattern formatter by doing time-zone calculations
once and using it's offset. Parse the format string once and
setup a vector of the fields wanted so parsing the %[name] is
much faster.
Add ability to easily enforce a specific length for the source
fields which is nicer for reading log files.
2012-11-28 15:09:10 -05:00
Patrick White
180ad81cb3
Comment out unused function parameters to prevent compiler warnings in client code.
2012-11-28 15:03:56 -05: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
Mike Naquin
5f1d1b02e2
Add JSONConfiguration to Poco::Util::Application::loadConfiguration.
2012-11-14 10:31:52 -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
Guenter Obiltschnig
4bf477946e
added POCO_LOCAL_STATIC_INIT_IS_THREADSAFE macro to check whether the compiler initializes static locals in a threadsafe way
2012-11-13 11:17:58 +01: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
Alex
12a7813e01
Changed file name in documentation
...
Changed file name (Types.h => UTFString.h) in documentation
2012-11-12 16:13:23 -06:00
Rangel Reale
86b79a6dff
* add POCO_STATIC definition in CMake
...
* Foundation must compile .mc file in CMake build
* Net must list all files in CMake build file
2012-11-11 14:17:28 -02:00
Guenter Obiltschnig
c867a80520
line ending fixes
2012-11-11 11:28:44 +01:00
Guenter Obiltschnig
514566ecd7
removed .vmsbuild files, which are no longer maintained
2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
87d7739f3d
removed .vcxproj.user files
2012-11-11 10:53:02 +01: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
4f66c0e1d8
- added Poco::Optional class template
2012-11-10 11:51:20 +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
Guenter Obiltschnig
c0f725b888
- fixed SF# 588: Missing POCO_ARCH and POCO_ARCH_LITTLE_ENDIAN define for WinCE on SH4
2012-11-10 11:43:27 +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
ac8c9ad1ca
more fixes
2012-10-15 11:14:53 +00:00
Guenter Obiltschnig
efa3cd1b32
removed unnecessary #ifdef: FPEnvironment_DUMMY is sufficient for strToFloat
2012-10-15 10:44:17 +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
dc11b4aa65
updated version
2012-10-15 08:11:30 +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
Guenter Obiltschnig
bfce013e0f
reintroduced windows version check
2012-10-14 05:50:52 +00:00
Guenter Obiltschnig
b97208219e
removed Windows version check from UnWindows.h - seems to cause more trouble than good
2012-10-13 12:59:51 +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
6cc31a5539
Typo in comment
2012-10-06 17:04:30 +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
Franky Braem
a4e100f286
Typo in comment
2012-09-25 17:52: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
f42f8aef5b
- CHANGELOG
...
- add UTF32Encoding to 64 bit VS 2010 projects
- Foundation samples VS 2012 projects and solutions
2012-09-25 06:41:04 +00:00
Aleksandar Fabijanic
47448c6079
VS 2012 Projects/Solutions for Foundation, CppUnit and Progen
2012-09-25 06:23:40 +00:00
Aleksandar Fabijanic
fb275a9a30
Visual Studio 2012 projects and solutions files
2012-09-25 05:35:44 +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
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
883de9670a
Windows/VS2011 build all configs
2012-09-23 06:28:42 +00:00
Aleksandar Fabijanic
26d488044c
native MySQL, ODBC, Nullable; OSX compile, tests and fixes
2012-09-22 02:16:58 +00:00
Aleksandar Fabijanic
f36a12d0f1
remove ODBC check from global rules; fix indentation in Poco::Any
2012-09-21 05:11:25 +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
7029c95e07
- ODBC Nullable support and tests (Oracle and SQLServer tested)
...
- fix for Win7/MSVC80 _WIN32_WINNT macro detection
2012-09-16 03:00:52 +00:00
Aleksandar Fabijanic
d22ba992c8
align with 1.4.4
2012-09-15 15:09:27 +00:00
Aleksandar Fabijanic
c3e2e50af4
NumberParser fixes and more test
2012-09-14 04:56:20 +00:00