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