1 2008-01-29 Jonathan Pobst <monkey@jpobst.com>
3 * Picture.cs: Don't create a bitmap just to get the dpi.
5 2007-12-19 Jonathan Pobst <monkey@jpobst.com>
7 * RTF.cs: Patch from Luke Page that ignores CRLF during tokenisation
8 and to support multiple groups inside an optional destination. Fixes
11 2007-11-02 Jonathan Pobst <monkey@jpobst.com>
13 * Picture.cs: Reset the data stream position back to 0 before trying
14 to convert it into an image. Fixes bug #325055.
16 2007-08-17 Jeffrey Stedfast <fejj@novell.com>
18 * RTF.cs (GetChar): Fixed c to be int instead of char (since we
19 can't compare char to -1).
21 2007-07-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
23 * RTF.cs: Remove warning.
25 2007-05-28 Andreia Gaita <avidigal@novell.com>
27 * Charcode.cs: The "private" keyword is not allowed on 1.1 setters
28 on csc (blows up teh vs 2003 build)
30 2007-05-18 Marek Safar <marek.safar@gmail.com>
32 * Charcode.cs: Added AnsiGeneric caching.
34 2007-04-17 Jackson Harper <jackson@ximian.com>
36 * <everything>.cs: Make it a little easier for people to compile
37 the RTF library for standalone purposes.
39 2007-04-16 Jackson Harper <jackson@ximian.com>
42 * Picture.cs: Save a step by loading the image data directly into
43 the picture's memory stream. (Aprox 15% speedup).
45 2007-04-05 Sebastien Pouliot <sebastien@ximian.com>
47 * RTF.cs: Use the "goal" width and height to compute the metafile size
49 2007-04-04 Jackson Harper <jackson@ximian.com>
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.
54 2007-04-04 Jackson Harper <jackson@ximian.com>
56 * Picture.cs: Correct twips calculation.
58 2007-03-27 Jackson Harper <jackson@ximian.com>
60 * RTF.cs: Use the documents encoding code page to decode unicode
63 2007-03-27 Jackson Harper <jackson@ximian.com>
65 * TextMap.cs: New textmap. This should cover all the special
68 2007-03-27 Jackson Harper <jackson@ximian.com>
70 * TextMap.cs: Implement some more characters. I need to go
71 through and do all of these. There are a lot missing.
73 2007-03-21 Jackson Harper <jackson@ximian.com>
75 * RTF.cs: Make sure the image token gets set.
77 2007-03-18 Jackson Harper <jackson@ximian.com>
79 * RTF.cs: Added support for metafiles and use the new picture
81 * Picture.cs: New class for handling pictures and their
84 2007-02-27 Jackson Harper <jackson@ximian.com>
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
90 2007-02-23 Jackson Harper <jackson@ximian.com>
92 * RTF.cs: Pull pict groups out of opt dests. Don't handle the pict
93 group unless there was data found.
95 2007-02-15 Jackson Harper <jackson@ximian.com>
99 * RTF.cs: Add support for parsing pngblip data. These are hex
100 encoded strings that represent a PNG image.
102 2006-12-05 Chris Toshok <toshok@ximian.com>
104 * RTF.cs: more warning fixes.
106 2006-12-04 Chris Toshok <toshok@ximian.com>
108 * RTF.cs: remove unused fields.
110 * Style.cs: remove unused field.
112 * Charset.cs: remove unused field.
114 2006-10-27 Jackson Harper <jackson@ximian.com>
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.
120 * Minor.cs: Make debugging a more beautiful experience.
122 2006-10-25 Jackson Harper <jackson@ximian.com>
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
129 * KeysInit.cs: Make OptDest a destination, since that's what it
132 2006-10-20 Jackson Harper <jackson@ximian.com>
134 * RTF.cs: Need to cast this to a char now.
136 2006-10-11 Jackson Harper <jackson@ximian.com>
138 * RTF.cs: When reading in chars use an int so that we can
139 correctly detect EOF.
141 2006-07-11 Peter Dennis Bartok <pbartok@novell.com>
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
146 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
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)
151 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
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
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)
160 2005-09-04 Peter Dennis Bartok <pbartok@novell.com>
162 * Charcode.cs: Created; provides StandardCharCode <-> character
164 * Charset.cs: Created; provides two standard charsets, AnsiGeneral
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
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
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
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