94738b
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
94738b
Summary: A library for text mode user interfaces
94738b
Name: newt
94738b
Version: 0.52.15
218109
Release: 4%{?dist}
94738b
License: LGPLv2
94738b
Group: System Environment/Libraries
94738b
URL: https://fedorahosted.org/newt/
94738b
Source: https://fedorahosted.org/released/newt/newt-%{version}.tar.gz
94738b
Patch1: newt-options.patch
94738b
BuildRequires: popt-devel python-devel slang-devel
94738b
BuildRequires: docbook-utils
94738b
Provides: snack = %{version}-%{release}
94738b
94738b
%package devel
94738b
Summary: Newt windowing toolkit development files
94738b
Requires: slang-devel %{name}%{?_isa} = %{version}-%{release}
94738b
Group: Development/Libraries
94738b
94738b
# The loader portion of the installer needs to link statically against libnewt,
94738b
# so the static library must be shipped.
94738b
%package static
94738b
Summary: Newt windowing toolkit static library
94738b
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
94738b
Group: Development/Libraries
94738b
94738b
%Description
94738b
Newt is a programming library for color text mode, widget based user
94738b
interfaces.  Newt can be used to add stacked windows, entry widgets,
94738b
checkboxes, radio buttons, labels, plain text fields, scrollbars,
94738b
etc., to text mode user interfaces.  This package also contains the
94738b
shared library needed by programs built with newt, as well as a
94738b
/usr/bin/dialog replacement called whiptail.  Newt is based on the
94738b
slang library.
94738b
94738b
%description devel
94738b
The newt-devel package contains the header files and libraries
94738b
necessary for developing applications which use newt.  Newt is a
94738b
development library for text mode user interfaces.  Newt is based on
94738b
the slang library.
94738b
94738b
Install newt-devel if you want to develop applications which will use
94738b
newt.
94738b
94738b
%description static
94738b
The newt-static package contains the static version of the newt library.
94738b
Install it if you need to link statically with libnewt.
94738b
94738b
%package python
94738b
Summary: Python bindings for newt
94738b
Group: Development/Libraries
94738b
Requires: %{name}%{?_isa} = %{version}-%{release}
94738b
94738b
%description python
94738b
The newt-python package contains the Python bindings for the newt library
94738b
providing a python API for creating text mode ionterfaces. 
94738b
94738b
%prep
94738b
%setup -q
94738b
%patch1 -p1 -b .options
94738b
94738b
%build
94738b
# gpm support seems to smash the stack w/ we use help in anaconda??
94738b
# --with-gpm-support
94738b
%configure --without-tcl
94738b
make %{?_smp_mflags} all
94738b
chmod 0644 peanuts.py popcorn.py
94738b
docbook2txt tutorial.sgml
94738b
94738b
%install
94738b
make DESTDIR=$RPM_BUILD_ROOT install
94738b
94738b
%find_lang %{name}
94738b
94738b
%post -p /sbin/ldconfig
94738b
94738b
%postun -p /sbin/ldconfig
94738b
94738b
%files -f %{name}.lang
94738b
%doc COPYING
94738b
%{_bindir}/whiptail
94738b
%{_libdir}/libnewt.so.*
94738b
%{_mandir}/man1/whiptail.1*
94738b
94738b
%files devel
94738b
%doc tutorial.*
94738b
%{_includedir}/newt.h
94738b
%{_libdir}/libnewt.so
94738b
%{_libdir}/pkgconfig/libnewt.pc
94738b
94738b
%files static
94738b
%{_libdir}/libnewt.a
94738b
94738b
%files python
94738b
%doc peanuts.py popcorn.py
94738b
%{python_sitearch}/*.so
94738b
%{python_sitearch}/*.py*
94738b
94738b
%changelog
218109
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.52.15-4
218109
- Mass rebuild 2014-01-24
218109
218109
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.52.15-3
218109
- Mass rebuild 2013-12-27
218109
94738b
* Fri Apr 05 2013 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.15-2
94738b
- add missing whiptail options to help and man page
94738b
94738b
* Mon Mar 25 2013 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.15-1
94738b
- fix errors found by gcc-with-cpychecker (#800075)
94738b
- fix building with tcl8.6 (#902561)
94738b
- add fallback to python-config (#783627)
94738b
- replace tabs in snack.py (#870647)
94738b
- compile snackmodule.c with flag -fPIC (Kang Kai)
94738b
- include new translations from transifex
94738b
- allow newtWinMenu and newtWinEntries with no buttons or items
94738b
- don't draw scale when not mapped
94738b
- build with large-file support for stat64
94738b
- remove unused variables in test code
94738b
- update FSF address
94738b
- remove obsolete macros
94738b
- make some dependencies arch-specific
94738b
94738b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.14-4
94738b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
94738b
94738b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.14-3
94738b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
94738b
94738b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.14-2
94738b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
94738b
94738b
* Fri Nov 11 2011 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.14-1
94738b
- fix returning strings in whiptail and whiptcl (#752818)
94738b
- fix configure to work with multiple python versions (#737998)
94738b
94738b
* Mon Jun 27 2011 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.13-1
94738b
- add support for changing colors in individual labels, scrollbars, entries,
94738b
  textboxes and scales, add custom colorsets 
94738b
- add support for NEWT_COLORS and NEWT_COLORS_FILE variables (#689903)
94738b
- allow resizing of form
94738b
- fix errors found by coverity
94738b
- fix va_list usage (Gwenole Beauchesne)
94738b
- fix building and installing on Mac OS X (#652479)
94738b
- check for slang.h header, support DESTDIR variable, add --without-python
94738b
  option (Otavio Salvador)
94738b
- add Persian, Low German translations
94738b
94738b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.12-3
94738b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
94738b
94738b
* Wed Nov 10 2010 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.12-2
94738b
- don't hang in form when stdin disappears
94738b
94738b
* Fri Aug 06 2010 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.12-1
94738b
- fix whiptail --gauge and its description in man page (#620083)
94738b
- remove space after \n in whiptail texts (#620083)
94738b
- remove NLS code from snack (#599608)
94738b
- expose more keys to python as shortcuts in dialogs (Jakob Kemi)
94738b
- release python global-thread-lock during dialog displays (Jakob Kemi)
94738b
- fix warnings in whiptcl.c and include Tcl_PkgProvide() call (Mikhail T.)
94738b
- don't NULL deref when an invalid array is specified in checkboxtree
94738b
  (Arnaldo Carvalho de Melo)
94738b
94738b
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.52.11-3
94738b
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
94738b
94738b
* Thu Jan  7 2010 Hans de Goede <hdegoede@redhat.com> - 0.52.11-2
94738b
- Change python_sitearch macro to use %%global as the new rpm will break
94738b
  using %%define here, see:
94738b
  https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093.html
94738b
94738b
* Thu Sep 24 2009 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.11-1
94738b
- fix buffer overflow in textbox when reflowing (#523955, CVE-2009-2905)
94738b
- use full textbox width when reflowing and allow minimal width 1
94738b
- fix writing lines longer than width in textbox
94738b
- don't use va_list in newtvwindow more than once (#523696)
94738b
- bind \E[Z to back-tab in built-in keymap (#468046)
94738b
- terminate string after reading file in whiptail
94738b
- add newtRadioSetCurrent function (Thomas Jarosch)
94738b
- add pkgconfig support (Thomas Jarosch)
94738b
- add Malay, Malayalam, Assamese, Gujarati, Bengali India, Kannada, Telugu
94738b
  translations
94738b
- include tutorial in txt format
94738b
- include debian patches
94738b
  - fix crash in textbox SetText when topLines != 0
94738b
  - don't link modules with libraries already linked with libnewt
94738b
  - add Asturian and Marathi translations
94738b
94738b
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.10-4
94738b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
94738b
94738b
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52.10-3
94738b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
94738b
94738b
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.52.10-2
94738b
- Rebuild for Python 2.6
94738b
94738b
* Wed Jul 30 2008 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.10-1
94738b
- improve --noitem description (#456305)
94738b
- add setHeight to Textbox class
94738b
- fix fixedheight forms
94738b
- free keymap in newtFinished()
94738b
- fix memory leak in textbox
94738b
- fix valgrind error in checkboxtree
94738b
- don't crash when running empty form
94738b
- don't crash or hang when form has no focusable elements
94738b
- before checkboxtree drawing return first item in GetCurrent()
94738b
- redraw textbox in SetText()
94738b
- add setColor description to SnackScreen docstring (Greg Swift)
94738b
- make sure Widget isn't used directly (Greg Swift) (#452920)
94738b
- add Serbian translations (Miloš Komarčević)
94738b
- add Balochi translation (Mostafa Daneshvar)
94738b
94738b
* Fri Mar 21 2008 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.9-1
94738b
- handle component destruction (patch by Richard W.M. Jones)
94738b
- fix newtWinEntry definition
94738b
- don't use uninitialized values in newtWinMenu
94738b
- remove workarounds for old bug in SLsmg_write_nstring
94738b
- improve SIGWINCH handling in form
94738b
- don't abort from whiptail gauge on SIGWINCH
94738b
- redisplay also last line
94738b
- update Polish translation (Piotr Drąg)
94738b
- update URL and Source tag
94738b
94738b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.52.8-2
94738b
- Autorebuild for GCC 4.3
94738b
94738b
* Wed Jan 23 2008 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.8-1
94738b
- enable slang utf8 mode (#425992)
94738b
- support --disable-nls option (patch by Natanael Copa)
94738b
- redraw screen when using entry in euc encodings
94738b
94738b
* Mon Aug 27 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-4
94738b
- fix segfault in whiptail when no entry is selected in radiolist
94738b
- buildrequire popt-devel
94738b
94738b
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-3
94738b
- rebuild
94738b
94738b
* Wed Aug 08 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-2
94738b
- add back support for list of Entries in EntryWindow prompts in snack
94738b
  (#248878)
94738b
- update license tag
94738b
- split python module to -python subpackage (patch by Yanko Kaneti)
94738b
- fix summary
94738b
 
94738b
* Fri Jun 15 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.7-1
94738b
- add support to snack for multiple selection and border in listbox
94738b
  and cursorAtEnd in entry (patch by Shawn Starr)
94738b
- fix scrollbar positioning in listbox
94738b
- cope with backward system time jumps (#240691)
94738b
- free helplines and windows in newtFinished, check for overflow (#239992)
94738b
- add release to -devel and -static requires (#238784)
94738b
94738b
* Thu Apr 12 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.6-3
94738b
- fix cursor positioning when setting entry or checkbox flags
94738b
- fix counting of items in checkboxtree
94738b
- fix some memory leaks
94738b
94738b
* Wed Apr 04 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.6-2
94738b
- fix entry scrolling (#234829)
94738b
- fix multibyte character handling in entry
94738b
94738b
* Fri Mar 02 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.6-1
94738b
- add newtSetColor() to allow changing individual colors
94738b
- add newtPopWindowNoRefresh() (patch by Forest Bond)
94738b
- move static library to -static subpackage, spec cleanup (#226195)
94738b
  (patch by Jason Tibbitts)
94738b
94738b
* Wed Jan 31 2007 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.5-1
94738b
- provide option to change text of buttons (#126768)
94738b
- don't add escape key to hot keys by default (#216157)
94738b
- fix cursor position in checkboxtree, radio button and checkbox
94738b
- don't force monochrome terminals to output colors
94738b
- highlight active compact button on monochrome terminals
94738b
- update translations from debian
94738b
94738b
* Sat Jan  6 2007 Jeremy Katz <katzj@redhat.com> - 0.52.4-3
94738b
- fix memory allocation in snack to be consistent (#212780)
94738b
94738b
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.52.4-2
94738b
- rebuild for python 2.5
94738b
94738b
* Fri Oct 13 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.4-1
94738b
- fix entry corruption when reading multibyte characters
94738b
  and double width character handling
94738b
- avoid overflow/crash in scale
94738b
- patches from debian
94738b
  - fix crash of snack in EntryWindow when prompts is list of tuples
94738b
  - put cursor at beginning of text for better accessibility
94738b
    in button, scale and textbox
94738b
  - add topleft option to whiptail
94738b
94738b
* Tue Sep 19 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.3-1
94738b
- makefile, configure and spec cleanup
94738b
- package whiptail.1 and locale files
94738b
- fix warnings
94738b
94738b
* Fri Aug 04 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.2-9
94738b
- fix screen corruption when half of double width character is overwritten
94738b
  (#137957) 
94738b
- fix double width character handling in checkboxtree and listbox
94738b
94738b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.52.2-8.1
94738b
- rebuild
94738b
94738b
* Tue Jun 27 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.2-8
94738b
- unfocus when displaying help
94738b
- fix help dialog in popcorn.py (#81352)
94738b
94738b
* Thu Jun 08 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.2-7
94738b
- fix checkboxtree positioning
94738b
- make textbox with scrollbar focusable (#83203)
94738b
- turn off cursor when entry terminated form (#86074)
94738b
- handle listbox and checkboxtree focus better (#186053)
94738b
- make default colors more friendly to 8-color terminals (#187545)
94738b
94738b
* Wed May 31 2006 Miroslav Lichvar <mlichvar@redhat.com> - 0.52.2-6.1
94738b
- fix handling windows larger than screen size (#189981)
94738b
94738b
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.52.2-5.2
94738b
- bump again for double-long bug on ppc(64)
94738b
94738b
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.52.2-5.1
94738b
- rebuilt for new gcc4.1 snapshot and glibc changes
94738b
94738b
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-5
94738b
- Fix a crash in checkboxtree.c where pressing pgup/pgdown
94738b
  on a checkboxtree with less items than its height would
94738b
  cause segmentation violation. Consult BR 165347.
94738b
94738b
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-4
94738b
- Apply patch by Bill Nottingham (thanks) to improve scrollbar appearance
94738b
  (BR 174771).
94738b
- Add -%%{release} to snack's Provides: line (just in case).
94738b
94738b
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-3
94738b
- Provide: snack = %%{version} instead of plain "snack", so that
94738b
  we don't block upgrades of custom "snack" packages. This should
94738b
  not break anything. (Hopefully) fixes BR 171415.
94738b
94738b
* Mon Jan 16 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-2
94738b
- do not build whiptcl, as per 177346 -- so that we avoid dependency on tcl
94738b
94738b
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
94738b
- rebuilt
94738b
94738b
* Thu Nov 24 2005 Jindrich Novy <jnovy@redhat.com> - 0.52.2-1
94738b
- rebuild because of the new slang-2.0.5
94738b
94738b
* Fri Nov 22 2005 Petr Rockai <prockai@redhat.com> - 0.52.2-0
94738b
- new upstream version (minor fixes for the source tarball
94738b
  and build system)
94738b
94738b
* Fri Sep 30 2005 Petr Rockai <prockai@redhat.com> - 0.52.1-0
94738b
- revert bidi patch, objections by Jeremy Katz about
94738b
  anaconda breaking
94738b
- this version still only exists as a "ghastly" upstream tarball;
94738b
  the patches are now cleaned up and will be integrated into
94738b
  rhlinux cvs unless some more breakage akin to bidi occurs
94738b
- the if1close patch is now part of upstream tarball too
94738b
94738b
* Wed Sep 21 2005 Petr Rockai <prockai@redhat.com> - 0.52.0-0
94738b
- new upstream version
94738b
94738b
* Fri Sep 02 2005 Petr Rockai <prockai@redhat.com>
94738b
- use versioned symbols, patch by Alastair McKinstry, mckinstry at
94738b
  debian dot org, thanks
94738b
- need private wstrlen due to versioned syms, patch from debian
94738b
  package of newt
94738b
- both of the above needed to be forward-ported
94738b
94738b
* Sun Mar 06 2005 Petr Rockai <prockai@redhat.com>
94738b
- rebuild
94738b
94738b
* Mon Nov  8 2004 Jeremy Katz <katzj@redhat.com> - 0.51.6-6
94738b
- rebuild for python 2.4
94738b
94738b
* Fri Oct 15 2004 Adrian Havill <havill@redhat.com> 0.51.6-5
94738b
- only do gpmclose if gpmopen succeeed (#118530)
94738b
94738b
* Thu Oct 14 2004 Adrian Havill <havill@redhat.com> 0.51.6-4
94738b
- make the python version dynamic (#114419)
94738b
94738b
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
94738b
- rebuilt
94738b
94738b
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
94738b
- rebuilt
94738b
94738b
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
94738b
- rebuilt
94738b
94738b
* Thu Nov  6 2003 Jeremy Katz <katzj@redhat.com> 0.51.6-2
94738b
- rebuild for python 2.3
94738b
94738b
* Tue Aug 19 2003 Michael K. Johnson <johnsonm@redhat.com> 0.51.6-1
94738b
- rebuild
94738b
94738b
* Tue Aug 19 2003 Michael K. Johnson <johnsonm@redhat.com> 0.51.5-1
94738b
- incorporated listbox cursor location patch (#69903)
94738b
94738b
* Wed Feb  5 2003 Matt Wilson <msw@redhat.com> 0.51.4-1
94738b
- fixed help line drawing in UTF-8 (#81718)
94738b
- calculate the width of text in entries using wstrlen
94738b
- always set component width to the new label width in newtLabelSetText
94738b
- fixed snack.CListbox to work properly with UTF-8 (#81718)
94738b
94738b
* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
94738b
- add symlink to shared lib
94738b
94738b
* Sun Jan  5 2003 Adrian Havill <havill@redhat.com> 0.51.3-1
94738b
- cleaned up const qualifiers in interfaces
94738b
- added Ctrl-L screen refresh
94738b
- fixed segfault in test.c when listbox items are selected
94738b
- accessibility: made newt useable with monochrome terms (#60931)
94738b
- leave the symbols in the libs (#60400)
94738b
- fixed grammar in tutorial (#63496)
94738b
- error checking (curcomp exists) for formEvent, newtFormGetCurrent,
94738b
  removed fifty button limit (#59027)
94738b
94738b
* Tue Dec 17 2002 Matt Wilson <msw@redhat.com> 0.51.2-1
94738b
- fixed wstrlen() it was calculating wcwidth(first wide char in
94738b
  string) * strlen(str) instead of the actual width of the whole
94738b
  string
94738b
- fixed newtRedrawHelpLine() to copy all the bytes from a multibyte
94738b
  string
94738b
94738b
* Fri Dec 13 2002 Elliot Lee <sopwith@redhat.com> 0.51.1-1
94738b
- Merge multilib changes
94738b
94738b
* Thu Aug 15 2002 Bill Nottingham <notting@redhat.com> 0.51.0-1
94738b
- changes for element width calculation for UTF-8
94738b
- fix textwrap for UTF-8 in general
94738b
- bump soname to avoid shared library collisions with slang
94738b
94738b
* Wed Jul 01 2002 Michael Fulbright <msf@redhat.com> 0.50.39-1
94738b
- Changed a test to check for 'None' the correct way
94738b
94738b
* Wed Jun 26 2002 Bill Nottingham <notting@redhat.com> 0.50.38-1
94738b
- don't hardcode linedrawing characters in the scrollbar code
94738b
94738b
* Mon Jun 24 2002 Bill Nottingham <notting@redhat.com> 0.50.37-1
94738b
- minor tweaks for use with UTF-8 slang
94738b
94738b
* Tue Jun 11 2002 Joe Orton <jorton@redhat.com> 0.50.36-1
94738b
- add newtListboxGetItemCount() API call
94738b
- include numeric percentage in scale widget appearace
94738b
- add support for ESC key using NEWT_KEY_ESCAPE
94738b
94738b
* Mon Mar 18 2002 Bill Nottingham <notting@redhat.com> 0.50.35-1
94738b
- build for whatever version of python happens to be installed
94738b
94738b
* Fri Sep 15 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.50.34-1
94738b
- remove python2 subpackage
94738b
- compile package for python 2.2
94738b
94738b
* Wed Aug 29 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.50.33-1
94738b
- s/Copyright/License/
94738b
- Add slang-devel to build dependencies (#49542)
94738b
94738b
* Wed Aug 22 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.50.32-1
94738b
- re-ordered the width key of CheckboxTree.__init__; #52319
94738b
94738b
* Wed Aug  8 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.50.31-1
94738b
- right anchor the internal Listbox of CListboxes, so that empty
94738b
- scrollable CListboxes do not look like crape.
94738b
94738b
* Thu Jul 05 2001 Crutcher Dunnavant <crutcher@redhat.com>
94738b
- padded hidden checkboxes on CheckboxTrees
94738b
94738b
* Thu Jul 05 2001 Crutcher Dunnavant <crutcher@redhat.com>
94738b
- taught CheckboxTrees about width. Whohoo! 2-D!!!
94738b
94738b
* Thu Jul 05 2001 Crutcher Dunnavant <crutcher@redhat.com>
94738b
- added 'hide_checkbox' and 'unselectable' options to CheckboxTrees
94738b
94738b
* Mon Jun 25 2001 Jeremy Katz <katzj@redhat.com>
94738b
- CListBox -> CListbox for API consistency
94738b
- fixup replace() method of CListbox
94738b
94738b
* Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
94738b
- few bugfixes to the CListBox
94738b
94738b
* Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
94738b
- added python binding for newtListboxClear() for Listbox and CListBox
94738b
- let ButtonBars optionally be made of CompactButtons
94738b
94738b
* Wed Jun  6 2001 Crutcher Dunnavant <crutcher@redhat.com>
94738b
- added CListBox python convenience class
94738b
94738b
* Tue May 15 2001 Michael Fulbright <msf@redhat.com>
94738b
- added python binding for CompactButton()
94738b
94738b
* Tue Apr  3 2001 Matt Wilson <msw@redhat.com>
94738b
- change from using SLsmg_touch_screen to SLsmg_touch_lines to prevent
94738b
  excessive flashing due to screen clears when using touch_screen (more
94738b
  Japanese handling)
94738b
94738b
* Mon Apr  2 2001 Matt Wilson <msw@redhat.com>
94738b
- redraw the screen in certain situations when LANG=ja_JP.eucJP to
94738b
  prevent corrupting kanji characters (#34362)
94738b
94738b
* Mon Apr  2 2001 Elloit Lee <sopwith@redhat.com>
94738b
- Allow python scripts to watch file handles
94738b
- Fix 64-bit warnings in snackmodule
94738b
- Misc snack.py cleanups
94738b
- Add NEWT_FD_EXCEPT to allow watching for fd exceptions
94738b
- In newtExitStruct, return the first file descriptor that an event occurred on 
94738b
94738b
* Fri Mar 30 2001 Matt Wilson <msw@redhat.com>
94738b
- don't blow the stack if we push a help line that is longer than the
94738b
  curret number of columns
94738b
- clip window to screen bounds so that if we get a window that is
94738b
  larger than the screen we can still redraw the windows behind it
94738b
  when we pop
94738b
94738b
* Sun Feb 11 2001 Than Ngo <than@redhat.com>
94738b
- disable building new-python2 sub package again
94738b
94738b
* Thu Feb 01 2001 Erik Troan <ewt@redhat.com>
94738b
- gave up on separate CHANGES file
94738b
- added newtCheckboxTreeSetCurrent() and snack binding
94738b
- don't require python2 anymore
94738b
94738b
* Mon Jan 22 2001 Than Ngo <than@redhat.com>
94738b
- don't build newt-python2 sub package.
94738b
94738b
* Fri Dec 15 2000 Trond Eivind Glomsrød <teg@redhat.com>
94738b
- use %%{_tmppath}
94738b
- add python2 subpackage, with such support
94738b
- fix use of append in snack.py
94738b
94738b
* Fri Sep 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
94738b
- bytecompile the snack python module
94738b
- move the libnewt.so symlink to the devel package
94738b
- include popcorn.py and peanuts.py in the devel package,
94738b
  so we have some documentation of the snack module
94738b
94738b
* Tue Aug 22 2000 Erik Troan <ewt@redhat.com>
94738b
- fixed cursor disappearing in suspend (again)
94738b
94738b
* Sat Aug 19 2000 Preston Brown <pbrown@redhat.com>
94738b
- explicit requirement of devel subpackage on same version of main package
94738b
  so that .so file link doesn't break
94738b
94738b
* Wed Aug 16 2000 Erik Troan <ewt@redhat.com>
94738b
- fixed cursor disappearing in suspend
94738b
- moved libnewt.so to main package from -devel
94738b
94738b
* Thu Aug  3 2000 Matt Wilson <msw@redhat.com>
94738b
- added setValue method for checkboxes in snack
94738b
94738b
* Wed Jul 05 2000 Michael Fulbright <msf@redhat.com>
94738b
- added NEWT_FLAG_PASSWORD for entering passwords and having asterix echo'd
94738b
94738b
* Fri Jun 16 2000 Matt Wilson <msw@redhat.com>
94738b
- build for new release
94738b
94738b
* Fri Apr 28 2000 Jakub Jelinek <jakub@redhat.com>
94738b
- see CHANGES
94738b
94738b
* Mon Mar 13 2000 Matt Wilson <msw@redhat.com>
94738b
- revert mblen patch, go back to our own wide char detection
94738b
94738b
* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
94738b
- fix doReflow to handle mblen returning 0
94738b
94738b
* Wed Feb 23 2000 Preston Brown <pbrown@redhat.com>
94738b
- fix critical bug in fkey 1-4 recognition on xterms
94738b
94738b
* Wed Feb  9 2000 Matt Wilson <msw@redhat.com>
94738b
- fixed snack widget setcallback function
94738b
94738b
* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
94738b
- strip shared libs
94738b
94738b
* Mon Jan 31 2000 Matt Wilson <msw@redhat.com>
94738b
- added patch from Toru Hoshina <t@kondara.org> to improve multibyte
94738b
  character wrapping
94738b
94738b
* Thu Jan 20 2000 Erik Troan <ewt@redhat.com>
94738b
- see CHANGES
94738b
94738b
* Thu Jan 20 2000 Preston Brown <pbrown@redhat.com>
94738b
- fix segfault in newtRadioGetCurrent
94738b
94738b
* Mon Jan 17 2000 Erik Troan <ewt@redhat.com>
94738b
- added numerous bug fixes (see CHANGES)
94738b
94738b
* Mon Dec 20 1999 Matt Wilson <msw@redhat.com>
94738b
- rebuild with fix for listbox from Nalin
94738b
94738b
* Wed Oct 20 1999 Matt Wilson <msw@redhat.com>
94738b
- added patch to correctly wrap euc kanji
94738b
94738b
* Wed Sep 01 1999 Erik Troan <ewt@redhat.com>
94738b
- added suspend/resume to snack
94738b
94738b
* Tue Aug 31 1999 Matt Wilson <msw@redhat.com>
94738b
- enable gpm support
94738b
94738b
* Fri Aug 27 1999 Matt Wilson <msw@redhat.com>
94738b
- added hotkey assignment for gridforms, changed listbox.setcurrent to
94738b
  take the item key
94738b
94738b
* Wed Aug 25 1999 Matt Wilson <msw@redhat.com>
94738b
- fixed snack callback function refcounts, as well as optional data args
94738b
- fixed suspend callback ref counts
94738b
94738b
* Mon Aug 23 1999 Matt Wilson <msw@redhat.com>
94738b
- added buttons argument to entrywindow
94738b
94738b
* Thu Aug 12 1999 Bill Nottingham <notting@redhat.com>
94738b
- multi-state checkboxtrees. Woohoo.
94738b
94738b
* Mon Aug  9 1999 Matt Wilson <msw@redhat.com>
94738b
- added snack wrappings for checkbox flag setting
94738b
94738b
* Thu Aug  5 1999 Matt Wilson <msw@redhat.com>
94738b
- added snack bindings for setting current listbox selection
94738b
- added argument to set default selection in snack ListboxChoiceWindow
94738b
94738b
* Mon Aug  2 1999 Matt Wilson <msw@redhat.com>
94738b
- added checkboxtree
94738b
- improved snack binding
94738b
94738b
* Fri Apr  9 1999 Matt Wilson <msw@redhat.com>
94738b
- fixed a glibc related bug in reflow that was truncating all text to 1000
94738b
chars
94738b
94738b
* Fri Apr 09 1999 Matt Wilson <msw@redhat.com>
94738b
- fixed bug that made newt apps crash when you hit <insert> followed by lots
94738b
of keys
94738b
94738b
* Mon Mar 15 1999 Matt Wilson <msw@redhat.com>
94738b
- fix from Jakub Jelinek for listbox keypresses
94738b
94738b
* Fri Feb 27 1999 Matt Wilson <msw@redhat.com>
94738b
- fixed support for navigating listboxes with alphabetical keypresses
94738b
94738b
* Thu Feb 25 1999 Matt Wilson <msw@redhat.com>
94738b
- updated descriptions
94738b
- added support for navigating listboxes with alphabetical keypresses
94738b
94738b
* Mon Feb  8 1999 Matt Wilson <msw@redhat.com>
94738b
- made grid wrapped windows at least the size of their title bars
94738b
94738b
* Fri Feb  5 1999 Matt Wilson <msw@redhat.com>
94738b
- Function to set checkbox flags.  This will go away later when I have
94738b
  a generic flag setting function and signals to comps to go insensitive.
94738b
94738b
* Tue Jan 19 1999 Matt Wilson <msw@redhat.com>
94738b
- Stopped using libgpm, internalized all gpm calls.  Still need some cleanups.
94738b
94738b
* Thu Jan  7 1999 Matt Wilson <msw@redhat.com>
94738b
- Added GPM mouse support
94738b
- Moved to autoconf to allow compiling without GPM support
94738b
- Changed revision to 0.40
94738b
94738b
* Wed Oct 21 1998 Bill Nottingham <notting@redhat.com>
94738b
- built against slang-1.2.2
94738b
94738b
* Wed Aug 19 1998 Bill Nottingham <notting@redhat.com>
94738b
- bugfixes for text reflow
94738b
- added docs
94738b
94738b
* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
94738b
- devel package moved to Development/Libraries
94738b
94738b
* Thu Apr 30 1998 Erik Troan <ewt@redhat.com>
94738b
- removed whiptcl.so -- it should be in a separate package
94738b
94738b
* Mon Feb 16 1998 Erik Troan <ewt@redhat.com>
94738b
- added newtWinMenu()
94738b
- many bug fixes in grid code
94738b
94738b
* Wed Jan 21 1998 Erik Troan <ewt@redhat.com>
94738b
- removed newtWinTernary()
94738b
- made newtWinChoice() return codes consistent with newtWinTernary()
94738b
94738b
* Fri Jan 16 1998 Erik Troan <ewt@redhat.com>
94738b
- added changes from Bruce Perens
94738b
    - small cleanups
94738b
    - lets whiptail automatically resize windows
94738b
- the order of placing a grid and adding components to a form no longer
94738b
  matters
94738b
- added newtGridAddComponentsToForm()
94738b
94738b
* Wed Oct 08 1997 Erik Troan <ewt@redhat.com>
94738b
- added newtWinTernary()
94738b
94738b
* Tue Oct 07 1997 Erik Troan <ewt@redhat.com>
94738b
- made Make/spec files use a buildroot
94738b
- added grid support (for newt 0.11 actually)
94738b
94738b
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
94738b
- Added patched from Clarence Smith for setting the size of a listbox
94738b
- Version 0.9
94738b
94738b
* Tue May 28 1997 Elliot Lee <sopwith@redhat.com> 0.8-2
94738b
- Touchups on Makefile
94738b
- Cleaned up NEWT_FLAGS_*
94738b
94738b
* Tue Mar 18 1997 Erik Troan <ewt@redhat.com>
94738b
- Cleaned up listbox
94738b
- Added whiptail
94738b
- Added newtButtonCompact button type and associated colors
94738b
- Added newtTextboxGetNumLines() and newtTextboxSetHeight()
94738b
94738b
* Tue Feb 25 1997 Erik Troan <ewt@redhat.com>
94738b
- Added changes from sopwith for C++ cleanliness and some listbox fixes.