7819f0b0f4aa52c518aa9b71767ce5847018faa3
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms.RTF / ChangeLog
1 2009-05-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
2
3         * RTF.cs: If the rtf specified a code page outside the valid values,
4         fallback to the default one.
5         Fixes #503174.
6
7 2008-01-29  Jonathan Pobst  <monkey@jpobst.com>
8
9         * Picture.cs: Don't create a bitmap just to get the dpi.
10
11 2007-12-19  Jonathan Pobst  <monkey@jpobst.com>
12
13         * RTF.cs: Patch from Luke Page that ignores CRLF during tokenisation
14         and to support multiple groups inside an optional destination.  Fixes
15         a part of bug #324589.
16
17 2007-11-02  Jonathan Pobst  <monkey@jpobst.com>
18
19         * Picture.cs: Reset the data stream position back to 0 before trying
20         to convert it into an image.  Fixes bug #325055.
21
22 2007-08-17  Jeffrey Stedfast  <fejj@novell.com>
23
24         * RTF.cs (GetChar): Fixed c to be int instead of char (since we
25         can't compare char to -1).
26
27 2007-07-12  Rolf Bjarne Kvinge <RKvinge@novell.com> 
28
29         * RTF.cs: Remove warning.
30
31 2007-05-28  Andreia Gaita  <avidigal@novell.com>
32
33         * Charcode.cs: The "private" keyword is not allowed on 1.1 setters
34         on csc (blows up teh vs 2003 build)
35         
36 2007-05-18  Marek Safar  <marek.safar@gmail.com>
37
38         * Charcode.cs: Added AnsiGeneric caching. 
39
40 2007-04-17  Jackson Harper  <jackson@ximian.com>
41
42         * <everything>.cs: Make it a little easier for people to compile
43         the RTF library for standalone purposes.
44
45 2007-04-16  Jackson Harper  <jackson@ximian.com>
46
47         * RTF.cs:
48         * Picture.cs: Save a step by loading the image data directly into
49         the picture's memory stream. (Aprox 15% speedup).
50
51 2007-04-05  Sebastien Pouliot  <sebastien@ximian.com>
52
53         * RTF.cs: Use the "goal" width and height to compute the metafile size
54
55 2007-04-04  Jackson Harper  <jackson@ximian.com>
56
57         * RTF.cs: look ahead for the end of the group, so we don't read
58         past the end and pull out a piece of the next token.
59
60 2007-04-04  Jackson Harper  <jackson@ximian.com>
61
62         * Picture.cs: Correct twips calculation.
63
64 2007-03-27  Jackson Harper  <jackson@ximian.com>
65
66         * RTF.cs: Use the documents encoding code page to decode unicode
67         chars.
68
69 2007-03-27  Jackson Harper  <jackson@ximian.com>
70
71         * TextMap.cs: New textmap.  This should cover all the special
72         chars.
73
74 2007-03-27  Jackson Harper  <jackson@ximian.com>
75
76         * TextMap.cs: Implement some more characters.  I need to go
77         through and do all of these. There are a lot missing.
78
79 2007-03-21  Jackson Harper  <jackson@ximian.com>
80
81         * RTF.cs: Make sure the image token gets set.
82
83 2007-03-18  Jackson Harper  <jackson@ximian.com>
84
85         * RTF.cs:  Added support for metafiles and use the new picture
86         class.
87         * Picture.cs: New class for handling pictures and their
88         attributes.
89
90 2007-02-27  Jackson Harper  <jackson@ximian.com>
91
92         * RTF.cs: break when we finish loading the image data, otherwise
93         the parser gets confused if the image data is at the end of the
94         stream.
95
96 2007-02-23  Jackson Harper  <jackson@ximian.com>
97
98         * RTF.cs: Pull pict groups out of opt dests. Don't handle the pict
99         group unless there was data found.
100
101 2007-02-15  Jackson Harper  <jackson@ximian.com>
102
103         * KeysInit.cs:
104         * Minor.cs: 
105         * RTF.cs: Add support for parsing pngblip data.  These are hex
106         encoded strings that represent a PNG image.
107
108 2006-12-05  Chris Toshok  <toshok@ximian.com>
109
110         * RTF.cs: more warning fixes.
111
112 2006-12-04  Chris Toshok  <toshok@ximian.com>
113
114         * RTF.cs: remove unused fields.
115
116         * Style.cs: remove unused field.
117
118         * Charset.cs: remove unused field.
119
120 2006-10-27  Jackson Harper  <jackson@ximian.com>
121
122         * TextMap.cs: Since we map udieresis as a standard char we need to
123         have a text mapping for it.  At some point I should go through all
124         the standard chars and make sure we have mappings for them.
125         * Major.cs:
126         * Minor.cs: Make debugging a more beautiful experience.
127
128 2006-10-25  Jackson Harper  <jackson@ximian.com>
129
130         * RTF.cs: Kick out of the text swallowing loop if we begin a new
131         group, this happens when there is an alternate font name.  TODO:
132         We should probably handle alternate font names somehow.
133         - Skip over all OptDest tags, these are 'new' RTF features that we
134         don't need to handle
135         * KeysInit.cs: Make OptDest a destination, since that's what it
136         is.
137
138 2006-10-20  Jackson Harper  <jackson@ximian.com>
139
140         * RTF.cs: Need to cast this to a char now.
141
142 2006-10-11  Jackson Harper  <jackson@ximian.com>
143
144         * RTF.cs: When reading in chars use an int so that we can
145         correctly detect EOF.
146
147 2006-07-11  Peter Dennis Bartok  <pbartok@novell.com>
148
149         * Font.cs: Set a default emtpy name so we don't crash if an RTF 
150           document defines a font but no name for it
151
152 2006-04-26  Peter Dennis Bartok  <pbartok@novell.com>
153
154         * RTF.cs: Skip \r and \n characters instead of passing them back up
155           to the parser. It will confuse the parser. (Fixes #77914)
156
157 2005-12-22  Peter Dennis Bartok  <pbartok@novell.com>
158
159         * RTF.cs: Added method to allow setting the default font for the RTF
160           document. This font will be used if the document does not contain
161           a font table.
162         * Font.cs: Added method to delete font with a given number; 
163           changed set_Num to call this method (to allow replacing fonts
164           with the same number, particulary the default font)
165
166 2005-09-04  Peter Dennis Bartok  <pbartok@novell.com>
167
168         * Charcode.cs: Created; provides StandardCharCode <-> character 
169           translation
170         * Charset.cs: Created; provides two standard charsets, AnsiGeneral 
171           and AnsiSymbol
172         * CharsetFlags.cs: Created
173         * CharsetType.cs: Created
174         * ClassDelegate.cs: Created; allows consumer to register a callback
175           for RTF command classes
176         * Color.cs: Created; provides access to RTF-defined RGB color sets
177         * DestinationDelegate.cs: Created; allows consumer to register a
178           callback for Destination class types
179         * Font.cs: Created; provides access to RTF-defined font descriptions
180         * KeysInit.cs: Created; provides translation table from RTF keyword
181           to Major/Minor classes
182         * KeyStruct.cs: Created
183         * Major.cs: Created; describes available RTF command groups
184         * Minor.cs: Created; describes available 'arguments' for command groups
185         * README: Created
186         * RTF.cs: Created; contains main RTF parser code
187         * rtf.csproj: Created; provides Visual Studio project that allows to
188           use test this assembly via the included test.cs
189           to provide 
190         * RTFException.cs: Created; provides custom RTF exception class
191         * StandardCharCode.cs: Created
192         * StandardCharName.cs: Created
193         * Style.cs: Created; provides access to RTF-define styles
194         * StyleElement.cs: Created; provides support class to allow parsing
195           recursive styles
196         * StyleType.cs: Created
197         * test.cs: Test code showing use of RTF class (also acts as Main for
198           the included Visual Studio project)
199         * TextMap.cs: Created; allows to create simple translation table for
200           converting parsed RTF document to text; table-based
201         * TokenClass.cs: Created; describes all available RTF command classes