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