Moving WindowsBase into the mcs tree
[mono.git] / mcs / class / WindowsBase / ChangeLog
1 2008-11-03  Alan McGovern  <alan.mcgovern@gmail.com>
2
3         * System.Windows/WeakEventManager.cs:
4         * System.IO.Packaging/ZipPackagePart.cs: Fix the two remaining API
5         points which shouldn't be exposed.
6
7 2008-11-03  Alan McGovern  <alan.mcgovern@gmail.com>
8
9         * System.IO.Packaging/Package.cs: Temporary fix test failure until a
10         proper solution can be worked out.
11
12 2008-11-03  Alan McGovern  <alan.mcgovern@gmail.com>
13
14         * Test/System.IO.Packaging/PackageTest.cs: Enable test now that it works
15
16 2008-11-03  Alan McGovern  <alan.mcgovern@gmail.com>
17
18         * System.IO.Packaging/Package.cs: Fix build and also test that the
19         archive is valid when loading an existing archive.
20
21 2008-11-03  Alan McGovern  <amcgovern@novell.com>
22
23         * System.IO.Packaging/Check.cs:
24         * System.IO.Packaging/Package.cs:
25         * System.IO.Packaging/PackagePart.cs:
26         * System.IO.Packaging/ZipPartStream.cs:
27         * Test/System.IO.Packaging/PackageTest.cs: Add tests to ensure that if a
28         package is readonly it won't be written to
29
30 2008-11-03  Alan McGovern  <amcgovern@novell.com>
31
32         * ZipSharp/NativeZip.cs:
33         * ZipSharp/ZipArchive.cs:
34         * ZipSharp/NativeUnzip.cs:
35         * ZipSharp/IOFunctions.cs:
36         * ZipSharp/UnzipArchive.cs:
37         * System.IO.Packaging/Package.cs:
38         * System.IO.Packaging/PackagePartCollection.cs: Ensure we don't expose
39         more API than we should.
40
41 2008-11-03  Alan McGovern  <amcgovern@novell.com>
42
43         * System.IO.Packaging/PackUriHelper.cs: Generate the new Uri properly
44
45 2008-11-03  Alan McGovern  <amcgovern@novell.com>
46
47         * ZipSharp/NativeUnzip.cs:
48         * ZipSharp/UnzipArchive.cs:
49         * System.IO.Packaging/Check.cs:
50         * System.IO.Packaging/ZipPackage.cs:
51         * System.IO.Packaging/PackagePart.cs:
52         * System.IO.Packaging/PackUriHelper.cs:
53         * Test/System.IO.Packaging/PackageTest.cs:
54         * Test/System.IO.Packaging/PackagePartTest.cs:
55         * Test/System.IO.Packaging/FakePackagePartTests.cs:
56         * Test/System.IO.Packaging/PackageRelationshipTests.cs: Filenames should
57         be case insensitive. Fixed issues generating the correct relationship
58         uri for package parts.
59
60 2008-11-03  Alan McGovern  <amcgovern@novell.com>
61
62         * System.IO.Packaging/Package.cs:
63         * System.IO.Packaging/ZipPackage.cs:
64         * System.IO.Packaging/ZipPackagePart.cs: Files are stored in the zip
65         archive with the leading '/' stripped. When loading relationships
66         from the archive, i shouldn't try updating the archive.
67
68 2008-11-03  Alan McGovern  <amcgovern@novell.com>
69
70         
71
72
73
74 2008-10-30  Alan McGovern  <amcgovern@novell.com>
75
76         * WindowsBase_test.dll.sources:
77         * System.IO.Packaging/PackUriHelper.cs:
78         * Test/System.IO.Packaging/PackUriHelperTests.cs: Commit partial
79         implementation of PackUriHelper along with associated NUnit tests.
80
81 2008-10-28  Alan McGovern  <amcgovern@novell.com>
82
83         * System.IO.Packaging/PackagePart.cs: Cosmetic changes
84
85         * System.IO.Packaging/Package.cs: Do not remove the relationship part
86         from the package if it exists, just mark it disposed. All NUnit tests
87         pass now.
88
89 2008-10-28  Alan McGovern  <amcgovern@novell.com>
90
91         * System.IO.Packaging/Package.cs:
92         * System.IO.Packaging/ZipPackage.cs:
93         * System.IO.Packaging/PackagePart.cs:
94         * Test/System.IO.Packaging/PackagePartTest.cs:
95         * System.IO.Packaging/PackagePartCollection.cs:
96         * Test/System.IO.Packaging/FakePackageTests.cs:
97         * System.IO.Packaging/PackageRelationshipCollection.cs: Implemented
98         loading/saving of relationships from PackageParts. Removed excess
99         debug spew.
100
101 2008-10-29  Alan McGovern  <amcgovern@novell.com>
102
103         * ZipSharp/NativeZip.cs: Remove a Console.WriteLine
104
105         * System.IO.Packaging/Package.cs:
106         * System.IO.Packaging/ZipPackage.cs:
107         * System.IO.Packaging/PackagePart.cs:
108         * System.IO.Packaging/ZipPartStream.cs:
109         * System.IO.Packaging/ZipPackagePart.cs:
110         * Test/System.IO.Packaging/PackageTest.cs:
111         * Test/System.IO.Packaging/PackagePartTest.cs:
112         * Test/System.IO.Packaging/FakePackagePartTests.cs:
113         * Test/System.IO.Packaging/PackagePartStreamTests.cs:
114         * Test/System.IO.Packaging/PackageRelationshipTests.cs: Implement
115         parsing of PackageParts and PackageRelationships when loading
116         existing packages and write that data when creating a package.
117
118 2008-10-29  Alan McGovern  <amcgovern@novell.com>
119
120         * System.IO.Packaging/Package.cs:
121         * System.IO.Packaging/ZipPackage.cs: Write relationships to the zipfile
122
123 2008-10-28  Alan McGovern  <amcgovern@novell.com>
124
125         * Test/System.IO.Packaging/PackagePartStreamTests.cs: Disable these
126         tests until I can figure out if they're stupid or not.
127
128 2008-10-28  Alan McGovern  <amcgovern@novell.com>
129
130         * System.IO.Packaging/ZipPackage.cs:
131         * System.IO.Packaging/ZipPartStream.cs:
132         * System.IO.Packaging/ZipPackagePart.cs:
133         * Test/System.IO.Packaging/PackagePartStreamTests.cs: Implement the
134         PartStream logic.
135
136         * Makefile: Need unsafe code to build the zip wrapper. Review this later
137         maybe.
138
139         * ZipSharp:
140         * ZipSharp/ZipTime.cs:
141         * ZipSharp/ZipHandle.cs:
142         * ZipSharp/ZipStream.cs:
143         * ZipSharp/NativeZip.cs:
144         * ZipSharp/ZipArchive.cs:
145         * ZipSharp/UnzipHandle.cs:
146         * ZipSharp/IOFunctions.cs:
147         * ZipSharp/NativeUnzip.cs:
148         * WindowsBase.dll.sources:
149         * ZipSharp/ZipFileInfo.cs:
150         * ZipSharp/UnzipArchive.cs:
151         * ZipSharp/UnzipFileInfo.cs:
152         * ZipSharp/ZipWriteStream.cs:
153         * ZipSharp/UnzipReadStream.cs: Add the minizip binding to SVN.
154
155 2008-10-27  Mario Carrion <mcarrion@novell.com>
156
157         * System.Windows/Rect.cs: Operator != and == implementation.
158         * Test/System.Windows/RectTest.cs: New test: Equals_Operator.
159
160 2008-10-17  Alan McGovern  <amcgovern@novell.com>
161
162         * Test/System.IO.Packaging/PackagePartStreamTests.cs: Uncomment the test
163         as compiling with mono-head fixes the issue.
164
165 2008-10-17  Alan McGovern  <amcgovern@novell.com>
166
167         * Test/System.IO.Packaging/FakePackageTests.cs: Add missing license
168         header
169
170         * WindowsBase_test.dll.sources:
171         * Test/System.IO.Packaging/PackagePartStreamTests.cs: Added new tests
172         for the PackagePart stream code
173
174 2008-10-17  Alan McGovern  <amcgovern@novell.com>
175
176         * Test/System.IO.Packaging/FakePackageTests.cs: Make the test cover all
177         Relationship based methods
178
179 2008-10-17  Alan McGovern  <amcgovern@novell.com>
180
181         * Test/System.IO.Packaging/FakePackageTests.cs: Enable the
182         FakePackageTests
183
184         * System.IO.Packaging/Package.cs: Automatically add the relationship
185         PackagePart as per unit test.
186
187         * System.IO.Packaging/PackagePart.cs: A part which is a relationship
188         should throw when trying to access it's relationships.
189
190 2008-10-17  Alan McGovern  <amcgovern@novell.com>
191
192         * WindowsBase_test.dll.sources:
193         * System.IO.Packaging/Package.cs:
194         * System.IO.Packaging/PackagePart.cs:
195         * Test/System.IO.Packaging/PackageTest.cs:
196         * Test/System.IO.Packaging/FakePackagePart.cs:
197         * Test/System.IO.Packaging/FakePackagePartTests.cs: Add more tests to
198         check the behaviour of PackagePart.GetStream () and also
199         PacakageParts which are automatically added.
200
201 2008-10-17  Alan McGovern  <amcgovern@novell.com>
202
203         * Test/System.IO.Packaging/FakePackageTests.cs: Added test to see what
204         parts are automatically added/removed
205
206         * Test/System.IO.Packaging/TestBase.cs:
207         * Test/System.IO.Packaging/FakeStream.cs:
208         * Test/System.IO.Packaging/PackageTest.cs:
209         * Test/System.IO.Packaging/FakePackagePart.cs:
210         * Test/System.IO.Packaging/PackagePartTest.cs:
211         * Test/System.IO.Packaging/FakePackagePartTests.cs:
212         * Test/System.IO.Packaging/PackageRelationshipTests.cs: fixing
213         whitespace
214
215         * Test/System.IO.Packaging/FakePackage.cs: Monitor what parts are
216         added/removed from the package.
217
218 2008-10-16  Alan McGovern  <amcgovern@novell.com>
219
220         * System.IO.Packaging/Package.cs:
221         * System.IO.Packaging/PackagePart.cs:
222         * System.IO.Packaging/PackageRelationship.cs: Use automatic properties
223
224 2008-10-16  Alan McGovern  <amcgovern@novell.com>
225
226         * Test/System.IO.Packaging/FakePackage.cs: Updated the implementation so
227         it can be used in the NUnit tests
228
229         * System.IO.Packaging/Package.cs: Implemented GetParts and fixed a bug
230         with the constructor
231
232         * Test/System.IO.Packaging/PackageTest.cs:
233         * Test/System.IO.Packaging/PackagePartTest.cs: Enabled tests which now
234         pass
235
236         * System.IO.Packaging/PackagePartCollection.cs: Implement
237         PackagePartCollection so that it passes the NUnit tests.
238
239         * Makefile: Need reference to System.Xml
240
241         * System.IO.Packaging/PackagePart.cs: If there's a dupe relationship ID,
242         throw an XmlException
243
244         * System.IO.Packaging/ZipPackage.cs: Implemented Dispose/Close and
245         partial support for PartStreams
246
247         * Test/System.IO.Packaging/FakePackagePartTests.cs: Added new test for
248         Package.GetParts to verify behaviours. Enabled tests which now pass
249
250 2008-10-16  Alan McGovern  <amcgovern@novell.com>
251
252         * Test/System.IO.Packaging/PackageRelationshipTests.cs: Enable the
253         PackageRelationship tests
254
255         * System.IO.Packaging/Check.cs:
256         * System.IO.Packaging/Package.cs: Add additional checks for uris
257
258 2008-10-16  Alan McGovern  <amcgovern@novell.com>
259
260         * System.IO.Packaging/Check.cs:
261         * System.IO.Packaging/Package.cs:
262         * System.IO.Packaging/ZipPackage.cs:
263         * System.IO.Packaging/PackagePart.cs:
264         * System.IO.Packaging/ZipPackagePart.cs:
265         * Test/System.IO.Packaging/PackagePartTest.cs:
266         * System.IO.Packaging/PackagePartCollection.cs: Began the implementation
267         of both PackageRelationship and ZipPackagePart. Enabled tests for
268         these classes.
269
270 2008-10-15  Alan McGovern  <amcgovern@novell.com>
271
272         * Test/System.IO.Packaging/FakePackagePartTests.cs: Add NotWorking
273         attribute to test.
274
275 2008-10-15  Alan McGovern  <amcgovern@novell.com>
276
277         * System.IO.Packaging/PackagePart.cs:
278         * System.IO.Packaging/PackageRelationship.cs:
279         * System.IO.Packaging/PackageRelationshipCollection.cs: Began
280         implementing the PackageRelationship code
281
282         * System.IO.Packaging/Check.cs: Added check for SourceUri
283
284 2008-10-15  Alan McGovern  <amcgovern@novell.com>
285
286         * System.IO.Packaging/Check.cs: Created class for doing argument checks
287
288         * System.IO.Packaging/Package.cs:
289         * System.IO.Packaging/ZipPackage.cs: Implemented enough of
290         Package/ZipPackage to allow the NUnit tests to function
291
292         * WindowsBase.dll.sources:
293         * WindowsBase_test.dll.sources:
294         * System.IO.Packaging/PackagePart.cs:
295         * Test/System.IO.Packaging/FakePackagePart.cs:
296         * Test/System.IO.Packaging/FakePackagePartTests.cs: Began implementing
297         the PackagePart class
298
299         * Test/System.IO.Packaging/TestBase.cs:
300         * Test/System.IO.Packaging/PackageTest.cs: Added temporary workarounds
301         for unimplemented methods in Package
302
303 2008-10-15  Alan McGovern  <amcgovern@novell.com>
304
305         * System.IO.Packaging/Package.cs: Use the FileInfo object rather than
306         calling File.Exists. Comply with coding guidelines better.
307
308 2008-10-15  Alan McGovern  <amcgovern@novell.com>
309
310         * Test/System.IO.Packaging/PackageTest.cs: Cosmetic fixes and added
311         three new tests
312
313         * System.IO.Packaging/Package.cs: If the file already exists, throw an
314         exception if it's length is zero.
315
316 2008-10-15  Alan McGovern  <amcgovern@novell.com>
317
318         * System.IO.Packaging/Package.cs:
319         * System.IO/FileFormatException.cs:
320         * Test/System.IO.Packaging/PackageTest.cs: Added more NUnit tests and
321         implemented the necessary argument checking to pass these tests.
322
323 2008-10-14  Alan McGovern  <amcgovern@novell.com>
324
325         * Test/System.IO.Packaging/PackageTest.cs,
326         Test/System.IO.Packaging/PackageRelationshipTests.cs,
327         Test/System.IO.Packaging/PackagePartTest.cs,
328         Test/System.IO.Packaging/FakePackage.cs,
329         Test/System.IO.Packaging/FakeStream.cs,
330         Test/System.IO.Packaging/TestBase.cs: Cosmetic changes to follow
331         coding guidelines
332
333 2008-10-14  Alan McGovern  <amcgovern@novell.com>
334
335         * Test/System.IO.Packaging
336         * Test/System.IO.Packaging/PackageTest.cs
337         * Test/System.IO.Packaging/PackageRelationshipTests.cs
338         * Test/System.IO.Packaging/PackagePartTest.cs
339         * Test/System.IO.Packaging/FakePackage.cs
340         * Test/System.IO.Packaging/FakeStream.cs
341         * Test/System.IO.Packaging/TestBase.cs
342         * WindowsBase_test.dll.sources: Implemented some NUnit tests for
343         the System.IO.Packaging API.
344
345 2007-11-18  Chris Toshok  <toshok@ximian.com>
346
347         * System.Windows/DependencyObjectType.cs: implement such that it
348         passes all unit tests.
349
350 2007-01-25  Miguel de Icaza  <miguel@novell.com>
351
352         * Assembly/AssemblyInfo.cs: Use the right key to sign things so we
353         can test on Windows the resulting nunit tests.
354
355 2005-07-24  Iain McCoy  <iain@mccoy.id.au>
356
357         * Test/AttachedProperties.cs: made LocalValueEnumerator test not
358         depend on unstable implementation details
359
360 2005-07-19  Iain McCoy  <iain@mccoy.id.au>
361
362         * System.Windows/DependencyObject.cs,
363           System.Windows/LocalValueEnumerator.cs: implemented
364         GetLocalValueEnumerator() and the LocalValueEnumerator class to
365         support it.
366         * Test/DependencyObject.cs: added test for LocalValueEnumerator
367         
368
369 2005-07-06  Iain McCoy  <iain@mccoy.id.au>
370
371         * System.Windows/DependencyObject.cs,
372           System.Windows/DependencyProperty.cs,
373           System.Windows/PropertyMetadata.cs,
374           System.Windows/Callbacks.cs: Added constructors to PropertyMetadata,
375           added support for default values of properties
376
377 2005-07-02  Iain McCoy  <iain@mccoy.id.au>
378
379         * whole folder: initial implementation of the DependencyProperty
380         system