1 2009-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
3 * RTF.cs: If the rtf specified a code page outside the valid values,
4 fallback to the default one.
7 2008-01-29 Jonathan Pobst <monkey@jpobst.com>
9 * Picture.cs: Don't create a bitmap just to get the dpi.
11 2007-12-19 Jonathan Pobst <monkey@jpobst.com>
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.
17 2007-11-02 Jonathan Pobst <monkey@jpobst.com>
19 * Picture.cs: Reset the data stream position back to 0 before trying
20 to convert it into an image. Fixes bug #325055.
22 2007-08-17 Jeffrey Stedfast <fejj@novell.com>
24 * RTF.cs (GetChar): Fixed c to be int instead of char (since we
25 can't compare char to -1).
27 2007-07-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
29 * RTF.cs: Remove warning.
31 2007-05-28 Andreia Gaita <avidigal@novell.com>
33 * Charcode.cs: The "private" keyword is not allowed on 1.1 setters
34 on csc (blows up teh vs 2003 build)
36 2007-05-18 Marek Safar <marek.safar@gmail.com>
38 * Charcode.cs: Added AnsiGeneric caching.
40 2007-04-17 Jackson Harper <jackson@ximian.com>
42 * <everything>.cs: Make it a little easier for people to compile
43 the RTF library for standalone purposes.
45 2007-04-16 Jackson Harper <jackson@ximian.com>
48 * Picture.cs: Save a step by loading the image data directly into
49 the picture's memory stream. (Aprox 15% speedup).
51 2007-04-05 Sebastien Pouliot <sebastien@ximian.com>
53 * RTF.cs: Use the "goal" width and height to compute the metafile size
55 2007-04-04 Jackson Harper <jackson@ximian.com>
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.
60 2007-04-04 Jackson Harper <jackson@ximian.com>
62 * Picture.cs: Correct twips calculation.
64 2007-03-27 Jackson Harper <jackson@ximian.com>
66 * RTF.cs: Use the documents encoding code page to decode unicode
69 2007-03-27 Jackson Harper <jackson@ximian.com>
71 * TextMap.cs: New textmap. This should cover all the special
74 2007-03-27 Jackson Harper <jackson@ximian.com>
76 * TextMap.cs: Implement some more characters. I need to go
77 through and do all of these. There are a lot missing.
79 2007-03-21 Jackson Harper <jackson@ximian.com>
81 * RTF.cs: Make sure the image token gets set.
83 2007-03-18 Jackson Harper <jackson@ximian.com>
85 * RTF.cs: Added support for metafiles and use the new picture
87 * Picture.cs: New class for handling pictures and their
90 2007-02-27 Jackson Harper <jackson@ximian.com>
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
96 2007-02-23 Jackson Harper <jackson@ximian.com>
98 * RTF.cs: Pull pict groups out of opt dests. Don't handle the pict
99 group unless there was data found.
101 2007-02-15 Jackson Harper <jackson@ximian.com>
105 * RTF.cs: Add support for parsing pngblip data. These are hex
106 encoded strings that represent a PNG image.
108 2006-12-05 Chris Toshok <toshok@ximian.com>
110 * RTF.cs: more warning fixes.
112 2006-12-04 Chris Toshok <toshok@ximian.com>
114 * RTF.cs: remove unused fields.
116 * Style.cs: remove unused field.
118 * Charset.cs: remove unused field.
120 2006-10-27 Jackson Harper <jackson@ximian.com>
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.
126 * Minor.cs: Make debugging a more beautiful experience.
128 2006-10-25 Jackson Harper <jackson@ximian.com>
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
135 * KeysInit.cs: Make OptDest a destination, since that's what it
138 2006-10-20 Jackson Harper <jackson@ximian.com>
140 * RTF.cs: Need to cast this to a char now.
142 2006-10-11 Jackson Harper <jackson@ximian.com>
144 * RTF.cs: When reading in chars use an int so that we can
145 correctly detect EOF.
147 2006-07-11 Peter Dennis Bartok <pbartok@novell.com>
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
152 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
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)
157 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
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
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)
166 2005-09-04 Peter Dennis Bartok <pbartok@novell.com>
168 * Charcode.cs: Created; provides StandardCharCode <-> character
170 * Charset.cs: Created; provides two standard charsets, AnsiGeneral
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
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
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
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