Skip to content

Commit 2d4078f

Browse files
committed
submitted 1.2.0
1 parent f476bd6 commit 2d4078f

File tree

1,428 files changed

+25745
-12486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,428 files changed

+25745
-12486
lines changed

CHANGELOG

Lines changed: 101 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,108 @@
1-
This is the changelog file for the C++ Portable Components.
1+
This is the changelog file for POCO - the C++ Portable Components.
2+
3+
Release 1.2.0 (2006-08-29)
4+
==========================
5+
6+
- DateTime fixes: Julian Day is no longer stored internally.
7+
Times (hours, minutes, seconds, ...) are now always taken from an utcValue (if available) and not from the Julian day.
8+
The Julian day is only used for calculating year, month and day (except when the Julian day is the only thing we have)
9+
This helps us get rid of rounding errors that the Julian Day arithmetic introduced.- on Windows, UUIDGenerator no longer uses Netbios, but GetAdaptersInfo instead
10+
- The main Makefile now has correct dependencies
11+
- updated poco-doc.pl with latest version by Caleb Epstein
12+
- fixed SF #1542722: InflatingInputStream: buffer error
13+
- improved Windows UTF-8 support
14+
- added Logger::names()
15+
- added configure script and make install target
16+
- XMLWriter bugfix: pretty-print bug with characters() and rawCharacters()
17+
- improvements to build system: support builds outside of source tree
18+
- added header doc conversion tool contributed by Caleb Epstein
19+
- fixed SF #1542618 (build/config/Linux patch)
20+
- bugfix: BinaryReader/BinaryWriter BOM is now 16 bits, as documented
21+
- fixed SF #1542247 (Compiler warning from OptionCallback)
22+
- fixed SF #1542253 (ServerApplication::handleOption doesn't call Application::handleOption)
23+
- added Application::stopOptionsProcessing()
24+
- updated samples
25+
- Util::Application command line handling now supports:
26+
* argument validation (Option::validator(); see Validator, IntValidator, RegExpValidator)
27+
* binding of argument values to config properties (Option::binding())
28+
* callbacks for arguments (Option::callback())
29+
* checking of required parameters
30+
- changed header file locations:
31+
Foundation headers are now in Poco (#include "Poco/Foundation.h")
32+
XML headers are now in Poco/XML, Poco/SAX and Poco/DOM (#include "Poco/XML/XML.h")
33+
Util headers are now in Poco/Util (#include "Poco/Util/Util.h")
34+
etc.
35+
Unfortunately, this change will break existing code. However, fixing the code is
36+
a matter of a few global search/replace operations and can be done quickly.
37+
On the plus side, POCO is now a much better citizen when used with other
38+
libraries.
39+
- changed namespaces:
40+
Foundation is now Poco
41+
XML is now Poco::XML
42+
Util is now Poco::Util
43+
Net is now Poco::Net
44+
- removed namespace macros
45+
- fixed some warnings reported by gcc -Wall -Wextra
46+
- fixed AutoPtr and LayeredConfiguration documentation
47+
- improved StreamSocket::receiveBytes() doc
48+
- added Pipe and PipeStream classes
49+
- added support for I/O redirection (pipes) to Process::launch()
50+
- added LogStream class (ostream interface to Logger)
51+
- improved Makefiles (no more double-building if clean all is specified)
52+
- added CppUnit and DateTime testsuite contributions by Andrew Marlow
53+
- improved Cygwin and minimal MinGW support
54+
- FileChannel: gzip compression if archived files now runs in a background thread (SF #1537481)
55+
- POCO now compiles with large (64-bit) file support on Linux (SF #1536634)
56+
- added format() function, which provides typesafe sprintf-like functionality (SF #1327621)
57+
- added File::isLink()
58+
- bugfix: dangling symbolic links in a directory no longer cause recursive remove to fail with file not found error
59+
- added Void class (useful as argument to ActiveMethod)
60+
- ActiveResult now supports exceptions
61+
- bugfix: Timezone::utcOffset() and Timezone::dst() returned wrong values on Unix platforms (SF #1535428)
62+
- added ActiveDispatcher class
63+
- added ActiveStarter class, which is a policy used by ActiveMethod for starting methods
64+
- ActiveRunnable moved to its own header file
65+
- ThreadPool: added startWithPriority(), which allows for running threads with a different priority
66+
- added error handling to dir sample
67+
- added additional test case to HTTPServer test suite- HTMLForm: should now work with request methods other than POST and GET (all non-POST requests are treated the same as GET)
68+
- clarified HTMLForm documentation
69+
- HTMLForm bugfix: uploaded files no longer end up in value; PartHandler is called instead
70+
- NameValueCollection: added get(name, defaultValue)
71+
- added HTTPFormServer sample
72+
- added Foundation::HashTable and SimpleHashTable
73+
- added Net::HTTPSessionFactory
74+
- improvements to AutoPtr and SharedPtr
75+
- improvements to namespaces handling in XMLWriter
76+
- Foundation Cache: fixed add implementation to match the docu: a 2nd add will now simply overwrite existing entries
77+
- added DateTime::isValid()
78+
- added Exception::rethrow() (virtual, must be overridden by all subclasses)
79+
- Timer can now use a user-supplied ThreadPool
80+
- added rethrow() to exception classes
81+
- Net: made some constructors explicit
82+
- Net: added SocketAddress constructor to HTTPClientSession
83+
- Net: added HTTPSession::networkException() to check for exceptions swallowed by stream classes
84+
- Net: added single string argument constructor to SocketAddress.
85+
- Net: improved HTTPClientSession error handling (no more "Invalid HTTP version string" exceptions when the server prematurely closes the connection due to too much load)
86+
- Net: improved HTTPSession error handling. Exceptions while sending and receiving data are stored for later retrieval and no longer get lost since streambufs swallow them.
87+
- Net: added HTTPLoadTest sample
88+
- fixed a bug when opening logfiles on Unix platforms causing an existing logfile to be truncated
89+
- bugfix: log file purge intervals given in months did not work, due to a stupid typo
90+
- added RawSocket and ICMP classes
91+
- UUID: fixed a doc formatting bug
92+
- NetworkInterface::list() now includes loopback interface on Windows (SF #1460309)
93+
- made Exception::message() and Exception::nested() inline
94+
- added Net::UnsupportedRedirectException
95+
- HTTPStreamFactory throws an UnsupportedRedirectException if it encounters a redirect to https
96+
- HTTP: fixed bad 100 Continue handling in client and server code
97+
- added CONTRIBUTORS file
98+
299

3100
Release 1.1.2 (2006-07-07)
4101
==========================
5102

6103
- Changed license to Boost license
104+
- DBlite and NetSSL have been removed from the Boost-licensed release.
105+
Please contact Applied Informatics (info@appinf.com) if you're interested in them.
7106

8107

9108
Release 1.1.1 (2006-04-03)
@@ -367,4 +466,4 @@ building the libraries.
367466

368467

369468
--
370-
$Id: //poco/1.1.0/dist/CHANGELOG#3 $
469+
$Id: //poco/1.2/dist/CHANGELOG#1 $

CONTRIBUTORS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Guenter Obiltschnig <guenter.obiltschnig@appinf.com>
2+
Alex Fabijanic <aleskx@gmail.com>
3+
Peter Schojer <peter.schojer@appinf.com>
4+
Claus Dabringer <claus.dabringer@appinf.com>
5+
Andrew Marlow (public@marlowa.plus.com)
6+
Caleb Epstein (caleb.epstein@gmail.com)
7+
8+
--
9+
$Id: //poco/1.2/dist/CONTRIBUTORS#1 $

CppUnit/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Makefile
33
#
4-
# $Id: //poco/1.1.0/CppUnit/Makefile#1 $
4+
# $Id: //poco/1.2/CppUnit/Makefile#1 $
55
#
66
# Makefile for Poco CppUnit
77
#

CppUnit/WinTestRunner/include/WinTestRunner/WinTestRunner.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// WinTestRunner.h
33
//
4-
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/include/WinTestRunner/WinTestRunner.h#1 $
4+
// $Id: //poco/1.2/CppUnit/WinTestRunner/include/WinTestRunner/WinTestRunner.h#1 $
55
//
66
// Application shell for CppUnit's TestRunner dialog.
77
//
@@ -18,17 +18,12 @@
1818
#endif
1919

2020

21-
#ifndef CppUnit_CppUnit_INCLUDED
2221
#include "CppUnit/CppUnit.h"
23-
#endif
24-
#ifndef STD_VECTOR_INCLUDED
2522
#include <vector>
26-
#define STD_VECTOR_INCLUDED
27-
#endif
2823
#include <afxwin.h>
2924

3025

31-
CppUnit_BEGIN
26+
namespace CppUnit {
3227

3328

3429
class Test;
@@ -61,7 +56,7 @@ class WinTestRunner_API WinTestRunnerApp: public CWinApp
6156
};
6257

6358

64-
CppUnit_END
59+
} // namespace CppUnit
6560

6661

6762
#endif // WinTestRunner_H_INCLUDED

CppUnit/WinTestRunner/src/ActiveTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
//
22
// ActiveTest.cpp
33
//
4-
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/ActiveTest.cpp#1 $
4+
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/ActiveTest.cpp#1 $
55
//
66

77

88
#include <afxwin.h>
99
#include "ActiveTest.h"
1010

1111

12-
CppUnit_BEGIN
12+
namespace CppUnit {
1313

1414

1515
// Spawn a thread to a test
@@ -40,5 +40,5 @@ UINT ActiveTest::threadFunction(LPVOID thisInstance)
4040
}
4141

4242

43-
CppUnit_END
43+
} // namespace CppUnit
4444

CppUnit/WinTestRunner/src/ActiveTest.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
//
22
// ActiveTest.h
33
//
4-
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/ActiveTest.h#1 $
4+
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/ActiveTest.h#1 $
55
//
66

77

88
#ifndef ActiveTest_INCLUDED
99
#define ActiveTest_INCLUDED
1010

1111

12-
#ifndef CppUnit_CppUnit_INCLUDED
1312
#include "CppUnit/CppUnit.h"
14-
#endif
15-
#ifndef CppUnit_TestDecorator_INCLUDED
1613
#include "CppUnit/TestDecorator.h"
17-
#endif
1814
#include <afxmt.h>
1915

2016

21-
CppUnit_BEGIN
17+
namespace CppUnit {
2218

2319

2420
/* A Microsoft-specific active test
@@ -85,7 +81,7 @@ inline void ActiveTest::run()
8581
}
8682

8783

88-
CppUnit_END
84+
} // namespace CppUnit
8985

9086

9187
#endif // ActiveTest_INCLUDED

CppUnit/WinTestRunner/src/DLLMain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// DLLMain.cpp
33
//
4-
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/DLLMain.cpp#1 $
4+
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/DLLMain.cpp#1 $
55
//
66

77

CppUnit/WinTestRunner/src/GUITestResult.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
//
22
// GUITestResult.cpp
33
//
4-
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/GUITestResult.cpp#1 $
4+
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/GUITestResult.cpp#1 $
55
//
66

77

88
#include "TestRunnerDlg.h"
99
#include "GUITestResult.h"
1010

1111

12-
CppUnit_BEGIN
12+
namespace CppUnit {
1313

1414

1515
void GUITestResult::addError(Test *test, CppUnitException *e)
@@ -39,5 +39,5 @@ void GUITestResult::endTest(Test *test)
3939
}
4040

4141

42-
CppUnit_END
42+
} // namespace CppUnit
4343

CppUnit/WinTestRunner/src/GUITestResult.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
//
22
// GUITestResult.h
33
//
4-
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/GUITestResult.h#1 $
4+
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/GUITestResult.h#1 $
55
//
66

77

88
#ifndef GuiTestResult_INCLUDED
99
#define GuiTestResult_INCLUDED
1010

1111

12-
#ifndef CppUnit_CppUnit_INCLUDED
1312
#include "CppUnit/CppUnit.h"
14-
#endif
15-
#ifndef CppUnit_TestResult_INCLUDED
1613
#include "CppUnit/TestResult.h"
17-
#endif
1814
#include <afxmt.h>
1915

2016

21-
CppUnit_BEGIN
17+
namespace CppUnit {
2218

2319

2420
class TestRunnerDlg;
@@ -80,7 +76,7 @@ inline void GUITestResult::stop()
8076
}
8177

8278

83-
CppUnit_END
79+
} // namespace CppUnit
8480

8581

8682
#endif // GuiTestResult_INCLUDED

CppUnit/WinTestRunner/src/ProgressBar.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
//
22
// ProgressBar.cpp
33
//
4-
// $Id: //poco/1.1.0/CppUnit/WinTestRunner/src/ProgressBar.cpp#1 $
4+
// $Id: //poco/1.2/CppUnit/WinTestRunner/src/ProgressBar.cpp#1 $
55
//
66

77

88
#include "ProgressBar.h"
99

1010

11-
CppUnit_BEGIN
11+
namespace CppUnit {
1212

1313

1414
// Paint the progress bar in response to a paint message
@@ -137,4 +137,4 @@ void ProgressBar::reset ()
137137
}
138138

139139

140-
CppUnit_END
140+
} // namespace CppUnit

0 commit comments

Comments
 (0)