Henric Müller
fd76523f6a
Making sure stream is closed when exception is thrown
...
Stream will never be closed if we throw exception in Open
which leads to file being locked in Windows and that we
leak file handles.
2016-10-11 13:25:48 +02:00
Marek Safar
aae26db0c2
[WindowsBase] Fix for the new .rels file when it's shorter than the old. A fix for #41203
2016-05-25 17:03:50 +02:00
Marek Safar
21d709b3ff
Fix wrong WindowsBase method signatures
2012-03-27 12:06:34 +01:00
Alan McGovern
5736b87f2f
[System.IO.Packaging] Fix some dispose related issues
...
Ensure we can call dispose multiple times without blowing up. Also
ensure that we do not close streams which are passed in by the user.
We should only close streams which are implicitly created by the API.
This is a modification of the patch proposed for bug #1464 , which is
now fixed by this commit.
2011-10-18 00:45:38 +01:00
Rolf Bjarne Kvinge
1d149efc1c
[WindowsBase] Relationship ids must be valid XML identifiers.
2011-10-07 09:38:31 +02:00
Miguel de Icaza
5e52dab0a6
Put WindowsBase on mcs/class for System.IO.Packaging
...
svn path=/trunk/mcs/; revision=141398
2009-09-06 23:19:06 +00:00
Miguel de Icaza
fd4cade468
move back to olive
...
svn path=/trunk/mcs/; revision=118141
2008-11-06 19:14:34 +00:00
Alan McGovern
dafcf5fd0c
* WindowsBase/System.IO.Packaging/Package.cs:
...
* WindowsBase/System.IO.Packaging/ZipPackage.cs:
* WindowsBase/System.IO.Packaging/PackagePropertiesPart.cs: Remove
horrible hacks to load PackageProperties, PackageRelationships and
PackageParts from a read-only stream. Other benefit is that these are
now lazily loaded.
svn path=/trunk/mcs/; revision=118129
2008-11-06 18:15:02 +00:00
Alan McGovern
831c7c8695
* WindowsBase/WindowsBase.dll.sources:
...
* WindowsBase/System.IO.Packaging/Package.cs:
* WindowsBase/System.IO.Packaging/ZipPackage.cs:
* WindowsBase/System.IO.Packaging/PackUriHelper.cs:
* WindowsBase/Test/System.IO.Packaging/FakePackage.cs:
* WindowsBase/System.IO.Packaging/PackageProperties.cs:
* WindowsBase/System.IO.Packaging/PackagePropertiesPart.cs: Complete the
implementation of loading/saving PackageProperties. NUnit tests now
pass.
svn path=/trunk/mcs/; revision=117891
2008-11-04 16:09:28 +00:00
Alan McGovern
becea4d665
* WindowsBase/System.IO.Packaging/Package.cs: Cosmetic - Make methods
...
alphabetical and group methods/properties together.
svn path=/trunk/mcs/; revision=117863
2008-11-04 10:57:48 +00:00
Alan McGovern
d72e4c702f
Moving WindowsBase into the mcs tree
...
svn path=/trunk/mcs/; revision=117800
2008-11-03 19:30:08 +00:00