blob: 998e5ff3c0bfc7debaf68bfb7d29b11cacced47e [file] [log] [blame]
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05301-------------------------------------------------------------------------------
micky3879b9f5e72025-07-08 18:04:53 -04002-- Copyright 2020,2021 Thomas E. Dickey --
3-- Copyright 1998-1999,2006 Free Software Foundation, Inc. --
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05304-- --
5-- Permission is hereby granted, free of charge, to any person obtaining a --
6-- copy of this software and associated documentation files (the --
7-- "Software"), to deal in the Software without restriction, including --
8-- without limitation the rights to use, copy, modify, merge, publish, --
9-- distribute, distribute with modifications, sublicense, and/or sell copies --
10-- of the Software, and to permit persons to whom the Software is furnished --
11-- to do so, subject to the following conditions: --
12-- --
13-- The above copyright notice and this permission notice shall be included --
14-- in all copies or substantial portions of the Software. --
15-- --
16-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
17-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
18-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
19-- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
20-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
21-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
22-- USE OR OTHER DEALINGS IN THE SOFTWARE. --
23-- --
24-- Except as contained in this notice, the name(s) of the above copyright --
25-- holders shall not be used in advertising or otherwise to promote the --
26-- sale, use or other dealings in this Software without prior written --
27-- authorization. --
28-------------------------------------------------------------------------------
micky3879b9f5e72025-07-08 18:04:53 -040029-- $Id: NEWS,v 1.6 2021/06/17 21:20:30 tom Exp $
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053030-------------------------------------------------------------------------------
31This is a log of changes that the ncurses C++ binding has gone
32through starting with the integration of menu and forms integration
33into the binding.
34
35990731 + Improve support for pads. A viewport window may now be added to
36 a pad. It will then be possible to use a builtin panning mechanism
37 to view the pad.
38
39970908 + Improve NCursesWindow class: added additional methods to
micky3879b9f5e72025-07-08 18:04:53 -040040 cover more ncurses functionality. Make refresh() and
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053041 noutrefresh() virtual members to allow different implementation
42 in the NCursesPanel class.
43 + CAUTION: changed order of parameters in vline() and hline() of
44 NCursesWindow class.
45 + Make refresh() in NCursesPanel non-static, it is now a
micky3879b9f5e72025-07-08 18:04:53 -040046 reimplementation of refresh() in the base class. Added
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053047 noutrefresh() to NCursesPanel.
48 + Added NCursesForm and related classes to support libform
49 functionality.
50 + Moved most of configuration related stuff from cursesw.h to
51 etip.h
micky3879b9f5e72025-07-08 18:04:53 -040052 + Added NCursesApplication class to support easy configuration
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053053 of menu and forms related attributes as well as ripped of
54 title lines and Soft-Label-Keys for an application.
55 + Support of Auto-Cleanup for a menus fieldlist.
56 + Change of return type for current_item() and operator[] for
57 menus.
58 + Enhanced demo.
59970502
60 + Introduced the THROW and THROWS functions/macros to prepare
61 a smoother transition to real exception handling.
62 + Exception classes provided in etip.h
63 + Added the NCursesMenu class to support libmenu functionality.
64 + The inheritace relation between NCursesWindow and NCursesColorWindow
65 was kind of brain damage. Monochrome is a special case of colored, so
micky3879b9f5e72025-07-08 18:04:53 -040066 the relation should be just the opposite. This would allow all
67 derived classes like NCursesPanel, NCursesMenu or NCursesForm to
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053068 have colors.
micky3879b9f5e72025-07-08 18:04:53 -040069 To resolve that design flaw I put the color functionality into the
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053070 NCursesWindow class and it can be switched on by the static member
71 useColors(). NCursesColorWindow is still there for compatibility
72 reasons.