Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 1 | ------------------------------------------------------------------------------- |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 2 | -- Copyright 2020,2021 Thomas E. Dickey -- |
| 3 | -- Copyright 1998-1999,2006 Free Software Foundation, Inc. -- |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 4 | -- -- |
| 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 | ------------------------------------------------------------------------------- |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 29 | -- $Id: NEWS,v 1.6 2021/06/17 21:20:30 tom Exp $ |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 30 | ------------------------------------------------------------------------------- |
| 31 | This is a log of changes that the ncurses C++ binding has gone |
| 32 | through starting with the integration of menu and forms integration |
| 33 | into the binding. |
| 34 | |
| 35 | 990731 + 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 | |
| 39 | 970908 + Improve NCursesWindow class: added additional methods to |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 40 | cover more ncurses functionality. Make refresh() and |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 41 | 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 |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 46 | reimplementation of refresh() in the base class. Added |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 47 | 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 |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 52 | + Added NCursesApplication class to support easy configuration |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 53 | 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. |
| 59 | 970502 |
| 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 |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 66 | the relation should be just the opposite. This would allow all |
| 67 | derived classes like NCursesPanel, NCursesMenu or NCursesForm to |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 68 | have colors. |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 69 | To resolve that design flaw I put the color functionality into the |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 70 | NCursesWindow class and it can be switched on by the static member |
| 71 | useColors(). NCursesColorWindow is still there for compatibility |
| 72 | reasons. |