Moving WindowsBase into the mcs tree
[mono.git] / mcs / class / WindowsBase / ChangeLog
index e4967da5941374766f9379b9490537727b486e58..1b7d9d5b8964d0a11c9d9c68532dd209cdd1c062 100644 (file)
@@ -1,3 +1,362 @@
+2008-11-03  Alan McGovern  <alan.mcgovern@gmail.com>
+
+       * System.Windows/WeakEventManager.cs:
+       * System.IO.Packaging/ZipPackagePart.cs: Fix the two remaining API
+       points which shouldn't be exposed.
+
+2008-11-03  Alan McGovern  <alan.mcgovern@gmail.com>
+
+       * System.IO.Packaging/Package.cs: Temporary fix test failure until a
+       proper solution can be worked out.
+
+2008-11-03  Alan McGovern  <alan.mcgovern@gmail.com>
+
+       * Test/System.IO.Packaging/PackageTest.cs: Enable test now that it works
+
+2008-11-03  Alan McGovern  <alan.mcgovern@gmail.com>
+
+       * System.IO.Packaging/Package.cs: Fix build and also test that the
+       archive is valid when loading an existing archive.
+
+2008-11-03  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Check.cs:
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/PackagePart.cs:
+       * System.IO.Packaging/ZipPartStream.cs:
+       * Test/System.IO.Packaging/PackageTest.cs: Add tests to ensure that if a
+       package is readonly it won't be written to
+
+2008-11-03  Alan McGovern  <amcgovern@novell.com>
+
+       * ZipSharp/NativeZip.cs:
+       * ZipSharp/ZipArchive.cs:
+       * ZipSharp/NativeUnzip.cs:
+       * ZipSharp/IOFunctions.cs:
+       * ZipSharp/UnzipArchive.cs:
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/PackagePartCollection.cs: Ensure we don't expose
+       more API than we should.
+
+2008-11-03  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/PackUriHelper.cs: Generate the new Uri properly
+
+2008-11-03  Alan McGovern  <amcgovern@novell.com>
+
+       * ZipSharp/NativeUnzip.cs:
+       * ZipSharp/UnzipArchive.cs:
+       * System.IO.Packaging/Check.cs:
+       * System.IO.Packaging/ZipPackage.cs:
+       * System.IO.Packaging/PackagePart.cs:
+       * System.IO.Packaging/PackUriHelper.cs:
+       * Test/System.IO.Packaging/PackageTest.cs:
+       * Test/System.IO.Packaging/PackagePartTest.cs:
+       * Test/System.IO.Packaging/FakePackagePartTests.cs:
+       * Test/System.IO.Packaging/PackageRelationshipTests.cs: Filenames should
+       be case insensitive. Fixed issues generating the correct relationship
+       uri for package parts.
+
+2008-11-03  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/ZipPackage.cs:
+       * System.IO.Packaging/ZipPackagePart.cs: Files are stored in the zip
+       archive with the leading '/' stripped. When loading relationships
+       from the archive, i shouldn't try updating the archive.
+
+2008-11-03  Alan McGovern  <amcgovern@novell.com>
+
+       
+
+
+
+2008-10-30  Alan McGovern  <amcgovern@novell.com>
+
+       * WindowsBase_test.dll.sources:
+       * System.IO.Packaging/PackUriHelper.cs:
+       * Test/System.IO.Packaging/PackUriHelperTests.cs: Commit partial
+       implementation of PackUriHelper along with associated NUnit tests.
+
+2008-10-28  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/PackagePart.cs: Cosmetic changes
+
+       * System.IO.Packaging/Package.cs: Do not remove the relationship part
+       from the package if it exists, just mark it disposed. All NUnit tests
+       pass now.
+
+2008-10-28  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/ZipPackage.cs:
+       * System.IO.Packaging/PackagePart.cs:
+       * Test/System.IO.Packaging/PackagePartTest.cs:
+       * System.IO.Packaging/PackagePartCollection.cs:
+       * Test/System.IO.Packaging/FakePackageTests.cs:
+       * System.IO.Packaging/PackageRelationshipCollection.cs: Implemented
+       loading/saving of relationships from PackageParts. Removed excess
+       debug spew.
+
+2008-10-29  Alan McGovern  <amcgovern@novell.com>
+
+       * ZipSharp/NativeZip.cs: Remove a Console.WriteLine
+
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/ZipPackage.cs:
+       * System.IO.Packaging/PackagePart.cs:
+       * System.IO.Packaging/ZipPartStream.cs:
+       * System.IO.Packaging/ZipPackagePart.cs:
+       * Test/System.IO.Packaging/PackageTest.cs:
+       * Test/System.IO.Packaging/PackagePartTest.cs:
+       * Test/System.IO.Packaging/FakePackagePartTests.cs:
+       * Test/System.IO.Packaging/PackagePartStreamTests.cs:
+       * Test/System.IO.Packaging/PackageRelationshipTests.cs: Implement
+       parsing of PackageParts and PackageRelationships when loading
+       existing packages and write that data when creating a package.
+
+2008-10-29  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/ZipPackage.cs: Write relationships to the zipfile
+
+2008-10-28  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/PackagePartStreamTests.cs: Disable these
+       tests until I can figure out if they're stupid or not.
+
+2008-10-28  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/ZipPackage.cs:
+       * System.IO.Packaging/ZipPartStream.cs:
+       * System.IO.Packaging/ZipPackagePart.cs:
+       * Test/System.IO.Packaging/PackagePartStreamTests.cs: Implement the
+       PartStream logic.
+
+       * Makefile: Need unsafe code to build the zip wrapper. Review this later
+       maybe.
+
+       * ZipSharp:
+       * ZipSharp/ZipTime.cs:
+       * ZipSharp/ZipHandle.cs:
+       * ZipSharp/ZipStream.cs:
+       * ZipSharp/NativeZip.cs:
+       * ZipSharp/ZipArchive.cs:
+       * ZipSharp/UnzipHandle.cs:
+       * ZipSharp/IOFunctions.cs:
+       * ZipSharp/NativeUnzip.cs:
+       * WindowsBase.dll.sources:
+       * ZipSharp/ZipFileInfo.cs:
+       * ZipSharp/UnzipArchive.cs:
+       * ZipSharp/UnzipFileInfo.cs:
+       * ZipSharp/ZipWriteStream.cs:
+       * ZipSharp/UnzipReadStream.cs: Add the minizip binding to SVN.
+
+2008-10-27  Mario Carrion <mcarrion@novell.com>
+
+       * System.Windows/Rect.cs: Operator != and == implementation.
+       * Test/System.Windows/RectTest.cs: New test: Equals_Operator.
+
+2008-10-17  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/PackagePartStreamTests.cs: Uncomment the test
+       as compiling with mono-head fixes the issue.
+
+2008-10-17  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/FakePackageTests.cs: Add missing license
+       header
+
+       * WindowsBase_test.dll.sources:
+       * Test/System.IO.Packaging/PackagePartStreamTests.cs: Added new tests
+       for the PackagePart stream code
+
+2008-10-17  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/FakePackageTests.cs: Make the test cover all
+       Relationship based methods
+
+2008-10-17  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/FakePackageTests.cs: Enable the
+       FakePackageTests
+
+       * System.IO.Packaging/Package.cs: Automatically add the relationship
+       PackagePart as per unit test.
+
+       * System.IO.Packaging/PackagePart.cs: A part which is a relationship
+       should throw when trying to access it's relationships.
+
+2008-10-17  Alan McGovern  <amcgovern@novell.com>
+
+       * WindowsBase_test.dll.sources:
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/PackagePart.cs:
+       * Test/System.IO.Packaging/PackageTest.cs:
+       * Test/System.IO.Packaging/FakePackagePart.cs:
+       * Test/System.IO.Packaging/FakePackagePartTests.cs: Add more tests to
+       check the behaviour of PackagePart.GetStream () and also
+       PacakageParts which are automatically added.
+
+2008-10-17  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/FakePackageTests.cs: Added test to see what
+       parts are automatically added/removed
+
+       * Test/System.IO.Packaging/TestBase.cs:
+       * Test/System.IO.Packaging/FakeStream.cs:
+       * Test/System.IO.Packaging/PackageTest.cs:
+       * Test/System.IO.Packaging/FakePackagePart.cs:
+       * Test/System.IO.Packaging/PackagePartTest.cs:
+       * Test/System.IO.Packaging/FakePackagePartTests.cs:
+       * Test/System.IO.Packaging/PackageRelationshipTests.cs: fixing
+       whitespace
+
+       * Test/System.IO.Packaging/FakePackage.cs: Monitor what parts are
+       added/removed from the package.
+
+2008-10-16  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/PackagePart.cs:
+       * System.IO.Packaging/PackageRelationship.cs: Use automatic properties
+
+2008-10-16  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/FakePackage.cs: Updated the implementation so
+       it can be used in the NUnit tests
+
+       * System.IO.Packaging/Package.cs: Implemented GetParts and fixed a bug
+       with the constructor
+
+       * Test/System.IO.Packaging/PackageTest.cs:
+       * Test/System.IO.Packaging/PackagePartTest.cs: Enabled tests which now
+       pass
+
+       * System.IO.Packaging/PackagePartCollection.cs: Implement
+       PackagePartCollection so that it passes the NUnit tests.
+
+       * Makefile: Need reference to System.Xml
+
+       * System.IO.Packaging/PackagePart.cs: If there's a dupe relationship ID,
+       throw an XmlException
+
+       * System.IO.Packaging/ZipPackage.cs: Implemented Dispose/Close and
+       partial support for PartStreams
+
+       * Test/System.IO.Packaging/FakePackagePartTests.cs: Added new test for
+       Package.GetParts to verify behaviours. Enabled tests which now pass
+
+2008-10-16  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/PackageRelationshipTests.cs: Enable the
+       PackageRelationship tests
+
+       * System.IO.Packaging/Check.cs:
+       * System.IO.Packaging/Package.cs: Add additional checks for uris
+
+2008-10-16  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Check.cs:
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/ZipPackage.cs:
+       * System.IO.Packaging/PackagePart.cs:
+       * System.IO.Packaging/ZipPackagePart.cs:
+       * Test/System.IO.Packaging/PackagePartTest.cs:
+       * System.IO.Packaging/PackagePartCollection.cs: Began the implementation
+       of both PackageRelationship and ZipPackagePart. Enabled tests for
+       these classes.
+
+2008-10-15  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/FakePackagePartTests.cs: Add NotWorking
+       attribute to test.
+
+2008-10-15  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/PackagePart.cs:
+       * System.IO.Packaging/PackageRelationship.cs:
+       * System.IO.Packaging/PackageRelationshipCollection.cs: Began
+       implementing the PackageRelationship code
+
+       * System.IO.Packaging/Check.cs: Added check for SourceUri
+
+2008-10-15  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Check.cs: Created class for doing argument checks
+
+       * System.IO.Packaging/Package.cs:
+       * System.IO.Packaging/ZipPackage.cs: Implemented enough of
+       Package/ZipPackage to allow the NUnit tests to function
+
+       * WindowsBase.dll.sources:
+       * WindowsBase_test.dll.sources:
+       * System.IO.Packaging/PackagePart.cs:
+       * Test/System.IO.Packaging/FakePackagePart.cs:
+       * Test/System.IO.Packaging/FakePackagePartTests.cs: Began implementing
+       the PackagePart class
+
+       * Test/System.IO.Packaging/TestBase.cs:
+       * Test/System.IO.Packaging/PackageTest.cs: Added temporary workarounds
+       for unimplemented methods in Package
+
+2008-10-15  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Package.cs: Use the FileInfo object rather than
+       calling File.Exists. Comply with coding guidelines better.
+
+2008-10-15  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/PackageTest.cs: Cosmetic fixes and added
+       three new tests
+
+       * System.IO.Packaging/Package.cs: If the file already exists, throw an
+       exception if it's length is zero.
+
+2008-10-15  Alan McGovern  <amcgovern@novell.com>
+
+       * System.IO.Packaging/Package.cs:
+       * System.IO/FileFormatException.cs:
+       * Test/System.IO.Packaging/PackageTest.cs: Added more NUnit tests and
+       implemented the necessary argument checking to pass these tests.
+
+2008-10-14  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging/PackageTest.cs,
+       Test/System.IO.Packaging/PackageRelationshipTests.cs,
+       Test/System.IO.Packaging/PackagePartTest.cs,
+       Test/System.IO.Packaging/FakePackage.cs,
+       Test/System.IO.Packaging/FakeStream.cs,
+       Test/System.IO.Packaging/TestBase.cs: Cosmetic changes to follow
+       coding guidelines
+
+2008-10-14  Alan McGovern  <amcgovern@novell.com>
+
+       * Test/System.IO.Packaging
+       * Test/System.IO.Packaging/PackageTest.cs
+       * Test/System.IO.Packaging/PackageRelationshipTests.cs
+       * Test/System.IO.Packaging/PackagePartTest.cs
+       * Test/System.IO.Packaging/FakePackage.cs
+       * Test/System.IO.Packaging/FakeStream.cs
+       * Test/System.IO.Packaging/TestBase.cs
+       * WindowsBase_test.dll.sources: Implemented some NUnit tests for
+       the System.IO.Packaging API.
+
+2007-11-18  Chris Toshok  <toshok@ximian.com>
+
+       * System.Windows/DependencyObjectType.cs: implement such that it
+       passes all unit tests.
+
+2007-01-25  Miguel de Icaza  <miguel@novell.com>
+
+       * Assembly/AssemblyInfo.cs: Use the right key to sign things so we
+       can test on Windows the resulting nunit tests.
+
+2005-07-24  Iain McCoy  <iain@mccoy.id.au>
+
+       * Test/AttachedProperties.cs: made LocalValueEnumerator test not
+       depend on unstable implementation details
+
 2005-07-19  Iain McCoy  <iain@mccoy.id.au>
 
        * System.Windows/DependencyObject.cs,