@@ -1,3 +1,6 @@
1+5.2.1
2+ - Bump upper version bound for lens to 4.5. Thanks markus1189!
3+
145.2.0
25 - Config structure now specifies file descriptor to use. The default is stdInput and stdOutput
36 file descriptors. Previously Vty used stdInput for input and the follow code for output:
@@ -88,88 +91,88 @@
8891 - test/benchmark.hs
8992
90934.7.0.0
91− * API changes:
92− * Added Graphics.Vty.Image.crop: Ensure an image is no larger than the specified size.
93− * Added Graphics.Vty.Image.pad: Ensure an image is no smaller than the specified size.
94− * Added Graphics.Vty.Image.translate: Offset an image.
95− * Thanks Ben Boeckel <MathStuf@gmail.com> for these features.
94+ - API changes:
95+ - Added Graphics.Vty.Image.crop: Ensure an image is no larger than the specified size.
96+ - Added Graphics.Vty.Image.pad: Ensure an image is no smaller than the specified size.
97+ - Added Graphics.Vty.Image.translate: Offset an image.
98+ - Thanks Ben Boeckel <MathStuf@gmail.com> for these features.
9699
971004.3.0.0
98101
991024.2.1.0
100− * API changes:
101− * Attr record accessor fore_color changed to attr_fore_color
102− * Attr record accessor back_color changed to attr_back_color
103− * Attr record accessor style changed to attr_style
104− * Added an "inline" display attribute changing DSL:
105− * put_attr_change applies a display attribute change immediately to a terminal
106− * For instance, can be used to change the display attrbiutes of text output via putStrLn
103+ - API changes:
104+ - Attr record accessor fore_color changed to attr_fore_color
105+ - Attr record accessor back_color changed to attr_back_color
106+ - Attr record accessor style changed to attr_style
107+ - Added an "inline" display attribute changing DSL:
108+ - put_attr_change applies a display attribute change immediately to a terminal
109+ - For instance, can be used to change the display attrbiutes of text output via putStrLn
107110 and putStr. EX: "put_attr_change $ back_color red" will set the
108111 background color to red.
109− * Changes do not apply to a Picture output via output_picture.
110− * See Graphics.Vty.Inline
111− * Moved all IO actions into any monad an instance of MonadIO
112+ - Changes do not apply to a Picture output via output_picture.
113+ - See Graphics.Vty.Inline
114+ - Moved all IO actions into any monad an instance of MonadIO
112115
1131164.0.0.1
114− * binding for mk_wcswidth was incorrect. Most platforms just magically worked due to
117+ - binding for mk_wcswidth was incorrect. Most platforms just magically worked due to
115118 coincidence.
116119
1171204.0.0
118− * API changes:
119− * "getSize" has been removed. Use "terminal vty >>= display_bounds" where "vty" is an
121+ - API changes:
122+ - "getSize" has been removed. Use "terminal vty >>= display_bounds" where "vty" is an
120123 instance of the Vty data structure.
121− * added a "terminal" field to the Vty data structure. Accesses the TerminalHandle associated
124+ - added a "terminal" field to the Vty data structure. Accesses the TerminalHandle associated
122125 with the Vty instance.
123− * Graphics.Vty.Types has undergone a number of changes. Summary:
124− * Partitioned into Graphics.Vty.Attributes for display attributes. Graphics.Vty.Image for
126+ - Graphics.Vty.Types has undergone a number of changes. Summary:
127+ - Partitioned into Graphics.Vty.Attributes for display attributes. Graphics.Vty.Image for
125128 image combinators. Graphics.Vty.Picture for final picture construction.
126− * Graphics.Vty.Attributes:
127− * "setFG" and "setBG" are now "with_fore_color" and "with_back_color"
128− * All other "set.." equations similarly replaced.
129− * "attr" is now "def_attr", short for "default display attributes" Also added a
129+ - Graphics.Vty.Attributes:
130+ - "setFG" and "setBG" are now "with_fore_color" and "with_back_color"
131+ - All other "set.." equations similarly replaced.
132+ - "attr" is now "def_attr", short for "default display attributes" Also added a
130133 "current_attr" for "currently applied display attributes"
131− * Graphics.Vty.Image:
132− * "horzcat" is now "horiz_cat"
133− * "vertcat" is now "vert_cat"
134− * "renderBS" is now "utf8_bytestring"
135− * "renderChar" is now "char"
136− * "renderFill" is now "char_fill"
137− * added a "utf8_string" and "string" (AKA "iso_10464_string") for UTF-8 encoded Strings
134+ - Graphics.Vty.Image:
135+ - "horzcat" is now "horiz_cat"
136+ - "vertcat" is now "vert_cat"
137+ - "renderBS" is now "utf8_bytestring"
138+ - "renderChar" is now "char"
139+ - "renderFill" is now "char_fill"
140+ - added a "utf8_string" and "string" (AKA "iso_10464_string") for UTF-8 encoded Strings
138141 and ISO-10464 encoded Strings. String literals in GHC have an ISO-10464 runtime
139142 representation.
140− * Graphics.Vty.Picture:
141− * exports Graphics.Vty.Image
142− * "pic" is now "pic_for_image"
143− * added API for setting background fill pattern.
144− * Completely rewritten output backend.
145− * Efficient, scanline style output span generator. Has not been fully optimized, but good
143+ - Graphics.Vty.Picture:
144+ - exports Graphics.Vty.Image
145+ - "pic" is now "pic_for_image"
146+ - added API for setting background fill pattern.
147+ - Completely rewritten output backend.
148+ - Efficient, scanline style output span generator. Has not been fully optimized, but good
146149 enough.
147− * The details required to display the desired picture on a terminal are well encapsulated.
148− * Terminfo based display terminal implementation. With specialized derivitives for xterm,
150+ - The details required to display the desired picture on a terminal are well encapsulated.
151+ - Terminfo based display terminal implementation. With specialized derivitives for xterm,
149152 Terminal.app, and iTerm.app.
150− * Attempts to robustly handle even terminals that don't support all display attributes.
151− * I've tested the following terminals with success: iTerm.app, Terminal.app, xterm,
153+ - Attempts to robustly handle even terminals that don't support all display attributes.
154+ - I've tested the following terminals with success: iTerm.app, Terminal.app, xterm,
152155 rxvt, mlterm, Eterm, gnome-terminal, konsole, screen, linux vty. Hopefully you will be
153156 as successfull.
154− * Improved unicode support. Double wide characters will display as expected.
155− * 256 color support. See Graphics.Vty.Attributes.Color240. The actual output color is adjusted
157+ - Improved unicode support. Double wide characters will display as expected.
158+ - 256 color support. See Graphics.Vty.Attributes.Color240. The actual output color is adjusted
156159 according to the number of colors the terminal supports.
157− * The Graphics.Vty.Image combinators no longer require matching dimensions to arguments.
160+ - The Graphics.Vty.Image combinators no longer require matching dimensions to arguments.
158161 Unspecified areas are filled in with a user-customizable background pattern. See
159162 Graphics.Vty.Picture.
160− * output images are always cropped to display size.
161− * Significant code coverage by QuickCheck tests. An interactive test for those final properties
163+ - output images are always cropped to display size.
164+ - Significant code coverage by QuickCheck tests. An interactive test for those final properties
162165 that couldn't be automatically verified.
163166
164167 issues resolved:
165− * "gnome terminal displays non-basic attributes as strikethrough"
166− * http://trac.haskell.org/vty/ticket/14
167− * "Multi-byte characters are not displayed correctly on update"
168− * http://trac.haskell.org/vty/ticket/10
169− * "Redraw does not handle rendering a line that extends beyond screen width characters"
170− * http://trac.haskell.org/vty/ticket/13
171− * "The <|> and <-> combinators should be more forgiving of mismatched dimensions"
172− * http://trac.haskell.org/vty/ticket/9
173− * "256-color support"
174− * http://trac.haskell.org/vty/ticket/19
168+ - "gnome terminal displays non-basic attributes as strikethrough"
169+ - http://trac.haskell.org/vty/ticket/14
170+ - "Multi-byte characters are not displayed correctly on update"
171+ - http://trac.haskell.org/vty/ticket/10
172+ - "Redraw does not handle rendering a line that extends beyond screen width characters"
173+ - http://trac.haskell.org/vty/ticket/13
174+ - "The <|> and <-> combinators should be more forgiving of mismatched dimensions"
175+ - http://trac.haskell.org/vty/ticket/9
176+ - "256-color support"
177+ - http://trac.haskell.org/vty/ticket/19
175178