ANN: Urwid 1.2.0

2014-02-12 Thread Ian Ward
Announcing Urwid 1.2.0
--

Urwid home page:
  http://urwid.org/


About this release:
===

This is a major feature release for Urwid.

Urwid now works with PyPy. TwistedEventLoop, GlibEventLoop and the
new TornadoEventLoop now work with Python 3.2+.

New weakly referenced signal handler argments make signals more
useful and help prevent memory leaks. Signals will likely be used
more widely across the library in the future.

Source control, issue tracking and wikis have moved to github.
The urwid home page, examples and all other documentation is now
generated completely with sphinx.


New in 1.2.0:
=

 * Add support for PyPy, drop support for Python 2.4, 2.5

 * Signals now support using weakly referenced arguments to help
   avoid leaking objects when a signal consumer is no longer
   referenced (by Matthijs Kooijman)

 * Add TornadoEventLoop class (by Alexander Glyzov)

 * Update GlibEventLoop to use python-gi for Python3 compatibility
   (by Israel Garcia)

 * Automate testing with Python 2.6, 2.7, 3.2, 3.3 and PyPy using
   travis-ci

 * New container method get_focus_widgets() (by Matthijs Kooijman)

 * Add support for double and triple click mouse events
   (by Igor Kotrasiński)

 * Allow disabling and re-enabling of mouse tracking
   (by Jim Garrison)

 * Create section in docs for example program screenshots generated
   as images like the tutorial examples

 * Add suggested basic color combination images to manual

 * Fall back to 80x24 if screen size detection fails

 * Fix screen.stop(), screen.start() disabling mouse events

 * Fix to make GridFlow v_sep argument behave as documented

 * Fix for registering high palette entries in the form hX where
   X  15 so that basic colors are applied in 88-color mode

 * Fix for raw_display clear-right escape not working with
   standout attribute on some terminals

 * Fix for Terminal widget select loop: retry when interrupted


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text layouts, simple attribute
markup, powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: Urwid 1.1.0 - Usability and Documentation

2012-10-24 Thread Ian Ward
Announcing Urwid 1.1.0
--

Urwid home page:
  http://excess.org/urwid/

Manual:
  http://excess.org/urwid/docs/

Package:
  http://pypi.python.org/pypi/urwid/1.1.0


About this release:
===

This is a major feature release for Urwid.

The first focus for this release has been on improving the usability of
container widgets by building a common API that works on all containers.
This API allows reading and updating the focus, contents and options across
most containers.  Urwid's container widgets have grown organically over
the years and many lack an API for updating their contents at all.  These
changes deprecate a number of existing methods and attributes, but continue
to support them.  Read about the new API here:

  http://excess.org/urwid/docs/manual/widgets.html#container-widgets

The second focus has been improving Urwid's documentation.  Urwid's
Tutorial, Manual and Reference have been converted from HTML and wiki pages
to Sphinx reStructured text.  The tutorial has been largely rewritten.
It now covers many more aspects of the library including common patterns
and the new container API.  The Manual has been heavily edited and most of
the class and function docstrings have been updated to look their best in
the new Reference.  The new documentation is available here:

  http://excess.org/urwid/docs/

See New in 1.1.0 below for other changes.


Planned changes:


Urwid currently supports Python versions 2.4, 2.5, 2.6, 2.7, 3.2 and 3.3.
That's just too many versions.  I plan to drop support for Python 2.4 and
2.5 in the 1.2.x series to clean up some of the Python 3 compatibility code
and start taking advantage of the futuristic language features from the
year 2008.

I will make a greater effort than usual to back port fixes to the 1.1.x
series to support users that choose to continue using old versions of
Python.


New in 1.1.0:
=

 * New common container API: focus, focus_position, contents,
   options(), get_focus_path(), set_focus_path(), __getitem__,
   __iter__(), __reversed__() implemented across all included
   container widgets

   A full description doesn't fit here, see the Container Widgets
   section in the manual for details

 * New Sphinx-based documentation now included in source:
   Tutorial rewritten, manual revised and new reference based
   on updated docstrings (by Marco Giusti, Patrick Totzke)

 * New list walker SimpleFocusListWalker like SimpleListWalker but
   updates focus position as items are inserted or removed

 * New decoration widget WidgetDisable to disable interaction
   with the widgets it wraps

 * SelectableIcon selectable text widget used by button widgets is
   now documented (available since 0.9.9)

 * Columns widget now tries to keep column in focus visible, hiding
   columns on the left when necessary

 * Padding widget now defaults to ('relative', 100) instead of
   'pack' so that left and right parameters are more useful and more
   child widgets are supported

 * New list walker API Version 2 that is simpler for many list
   walker uses; API Version 1 will still continue to be supported

 * List walkers may now allow iteration from the absolute top or
   bottom of the list if they provide a positions() method

 * raw_display now erases to the end of the line with EL escape
   sequence to improve copy+paste behavior for some terminals

 * Filler now has top and bottom parameters like Padding's left and
   right parameters and accepts 'pack' instead of None as a height
   value for widgets that calculate their own number of rows

 * Pile and Columns now accepts 'pack' instead of 'flow' for widgets
   that calculate their own number of rows or columns

 * Pile and Columns now accept 'given' instead of 'fixed' for
   cases where the number of rows or columns are specified by the
   container options

 * Pile and Columns widgets now accept any iterable to their
   __init__() methods

 * Widget now has a default focus_position property that raises
   an IndexError when read to be consistent with new common container
   API

 * GridFlow now supports multiple cell widths within the same widget

 * BoxWidget, FlowWidget and FixedWidget are deprecated, instead
   use the sizing() function or _sizing attribute to specify the
   supported sizing modes for your custom widgets

 * Some new shift+arrow and numpad input sequences from RXVT and
   xterm are now recognized

 * Fix for alarms when used with a screen event loop (e.g.
   curses_display)

 * Fix for raw_display when terminal width is 1 column

 * Fixes for a Columns.get_cursor_coords() regression and a
   SelectableIcon.get_cursor_coords() bug

 * Fixes for incorrect handling of box columns in a number of
   Columns methods when that column is selectable

 * Fix for Terminal widget input handling with Python 3


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text 

ANN: Urwid 1.1.0 - Usability and Documentation

2012-10-23 Thread Ian Ward
Announcing Urwid 1.1.0
--

Urwid home page:
  http://excess.org/urwid/

Manual:
  http://excess.org/urwid/docs/

Package:
  http://pypi.python.org/pypi/urwid/1.1.0


About this release:
===

This is a major feature release for Urwid.

The first focus for this release has been on improving the usability of
container widgets by building a common API that works on all containers.
This API allows reading and updating the focus, contents and options across
most containers.  Urwid's container widgets have grown organically over
the years and many lack an API for updating their contents at all.  These
changes deprecate a number of existing methods and attributes, but continue
to support them.  Read about the new API here:

  http://excess.org/urwid/docs/manual/widgets.html#container-widgets

The second focus has been improving Urwid's documentation.  Urwid's
Tutorial, Manual and Reference have been converted from HTML and wiki pages
to Sphinx reStructured text.  The tutorial has been largely rewritten.
It now covers many more aspects of the library including common patterns
and the new container API.  The Manual has been heavily edited and most of
the class and function docstrings have been updated to look their best in
the new Reference.  The new documentation is available here:

  http://excess.org/urwid/docs/

See New in 1.1.0 below for other changes.


Planned changes:


Urwid currently supports Python versions 2.4, 2.5, 2.6, 2.7, 3.2 and 3.3.
That's just too many versions.  I plan to drop support for Python 2.4 and
2.5 in the 1.2.x series to clean up some of the Python 3 compatibility code
and start taking advantage of the futuristic language features from the
year 2008.

I will make a greater effort than usual to back port fixes to the 1.1.x
series to support users that choose to continue using old versions of
Python.


New in 1.1.0:
=

 * New common container API: focus, focus_position, contents,
   options(), get_focus_path(), set_focus_path(), __getitem__,
   __iter__(), __reversed__() implemented across all included
   container widgets

   A full description doesn't fit here, see the Container Widgets
   section in the manual for details

 * New Sphinx-based documentation now included in source:
   Tutorial rewritten, manual revised and new reference based
   on updated docstrings (by Marco Giusti, Patrick Totzke)

 * New list walker SimpleFocusListWalker like SimpleListWalker but
   updates focus position as items are inserted or removed

 * New decoration widget WidgetDisable to disable interaction
   with the widgets it wraps

 * SelectableIcon selectable text widget used by button widgets is
   now documented (available since 0.9.9)

 * Columns widget now tries to keep column in focus visible, hiding
   columns on the left when necessary

 * Padding widget now defaults to ('relative', 100) instead of
   'pack' so that left and right parameters are more useful and more
   child widgets are supported

 * New list walker API Version 2 that is simpler for many list
   walker uses; API Version 1 will still continue to be supported

 * List walkers may now allow iteration from the absolute top or
   bottom of the list if they provide a positions() method

 * raw_display now erases to the end of the line with EL escape
   sequence to improve copy+paste behavior for some terminals

 * Filler now has top and bottom parameters like Padding's left and
   right parameters and accepts 'pack' instead of None as a height
   value for widgets that calculate their own number of rows

 * Pile and Columns now accepts 'pack' instead of 'flow' for widgets
   that calculate their own number of rows or columns

 * Pile and Columns now accept 'given' instead of 'fixed' for
   cases where the number of rows or columns are specified by the
   container options

 * Pile and Columns widgets now accept any iterable to their
   __init__() methods

 * Widget now has a default focus_position property that raises
   an IndexError when read to be consistent with new common container
   API

 * GridFlow now supports multiple cell widths within the same widget

 * BoxWidget, FlowWidget and FixedWidget are deprecated, instead
   use the sizing() function or _sizing attribute to specify the
   supported sizing modes for your custom widgets

 * Some new shift+arrow and numpad input sequences from RXVT and
   xterm are now recognized

 * Fix for alarms when used with a screen event loop (e.g.
   curses_display)

 * Fix for raw_display when terminal width is 1 column

 * Fixes for a Columns.get_cursor_coords() regression and a
   SelectableIcon.get_cursor_coords() bug

 * Fixes for incorrect handling of box columns in a number of
   Columns methods when that column is selectable

 * Fix for Terminal widget input handling with Python 3


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text 

ANN: Urwid 1.0.2

2012-07-14 Thread Ian Ward
Announcing Urwid 1.0.2
--

Urwid home page:
  http://excess.org/urwid/

Manual:
  http://excess.org/urwid/wiki/UrwidManual

Tarball:
  http://excess.org/urwid/urwid-1.0.2.tar.gz


About this release:
===

This is a stable bug-fix-only release.

A number of bugs that could cause Urwid to crash in normal use have
been fixed.  Upgrading is recommended.


New in 1.0.2:
=

 * Fix for a bug when entering Unicode text into an Edit widget with
   a bytes caption

 * Fix a regression when not running in UTF-8 mode

 * Fix for a MainLoop.remove_watch_pipe() bug

 * Fix for a bug when packing empty Edit widgets

 * Fix for a ListBox contents too long error with very large
   Edit widgets

 * Prevent ListBoxes from selecting 0-height selectable widgets
   when moving up or down

 * Fix a number of bugs caused by 0-height widgets in a ListBox


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text layouts, simple attribute
markup, powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: Urwid 1.0.2

2012-07-13 Thread Ian Ward
Announcing Urwid 1.0.2
--

Urwid home page:
  http://excess.org/urwid/

Manual:
  http://excess.org/urwid/wiki/UrwidManual

Tarball:
  http://excess.org/urwid/urwid-1.0.2.tar.gz


About this release:
===

This is a stable bug-fix-only release.

A number of bugs that could cause Urwid to crash in normal use have
been fixed.  Upgrading is recommended.


New in 1.0.2:
=

 * Fix for a bug when entering Unicode text into an Edit widget with
   a bytes caption

 * Fix a regression when not running in UTF-8 mode

 * Fix for a MainLoop.remove_watch_pipe() bug

 * Fix for a bug when packing empty Edit widgets

 * Fix for a ListBox contents too long error with very large
   Edit widgets

 * Prevent ListBoxes from selecting 0-height selectable widgets
   when moving up or down

 * Fix a number of bugs caused by 0-height widgets in a ListBox


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text layouts, simple attribute
markup, powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Speedometer 2.4 - bandwidth and download monitor

2011-12-08 Thread Ian Ward
Announcing Speedometer 2.8
--

Speedometer home page:
  http://excess.org/speedometer/

Download:
  http://excess.org/speedometer/speedometer-2.8.tar.gz


New in this release:


 - Added a linear scale option: -l.  Best used in combination with
   -m (and possibly -n) to customize the range to be displayed.
   Thanks to jukie.net for sponsoring this feature.

 - Replace silly curved reading with a weighted moving average

 - New option to display all values in bits per second: -s

 - New options to set minimum (-n) and maximum (-m) values
   displayed on the graphs in bytes/s.
   Defaults are -n 32 and -m 2**32

 - Accept shortened versions of -rx and -tx: -r and -t
   My intent is to drop use of the original forms in 3.0 and add
   --long-versions of all options

 - Use IEC notation of sizes MiB, GiB etc.

 - Install script as both speedometer.py and speedometer


About Speedometer
=

Speedometer is a console bandwidth and file download progress monitor
with a linear/logarithmic bandwidth display and a simple command-line
interface.

Speedometer requires Urwid for full-console bar graph display.  Urwid
may be downloaded from: http://excess.org/urwid/

Speedometer is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 1.0.1, Urwid 0.9.9.3 - Console UI Library

2011-12-03 Thread Ian Ward
Announcing Urwid 1.0.1 and Urwid 0.9.9.3


Urwid home page:
  http://excess.org/urwid/

Manual:
  http://excess.org/urwid/wiki/UrwidManual

Tarballs:
  http://excess.org/urwid/urwid-1.0.1.tar.gz
  http://excess.org/urwid/urwid-0.9.9.3.tar.gz


About these releases:
=

These are bug-fix releases for Urwid 1.0.0 and Urwid 0.9.9.2.

Release 0.9.9.3 may be the last in the 0.9.9 series.  Users are strongly
encouraged to upgrade to the 1.0 series.


New in 1.0.1:
=

  * Fix for Terminal widget in BSD/OSX

  * Fix for a Filler mouse_event() position bug

  * Fix support for mouse positions up to x=255, y=255

  * Fixes for a number of string encoding issues under Python 3

  * Fix for a LineBox border __init__() parameters

  * Fix input input of UTF-8 in tour.py example by converting captions
to unicode

  * Fix tutorial examples' use of TextCanvas and switch to using
unicode literals

  * Prevent raw_display from calling tcseattr() or tcgetattr() on
non-ttys

  * Disable curses_display external event loop support: screen resizing
and gpm events are not properly supported

  * Mark PollingListWalker as deprecated


New in 0.9.9.3:
===

  * ListBox now includes a get_cursor_coords() method, allowing
nested ListBox widgets

  * Fix for a Filler mouse_event() position bug

  * Fix support for mouse positions up to x=255, y=255

  * Fix for leaks of None object in str_util extension

  * Fix for WidgetWrap and AttrMap not working with fixed widgets


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text layouts, simple attribute
markup, powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: Urwid 1.0.1, Urwid 0.9.9.3 - Console UI Library

2011-12-01 Thread Ian Ward
Announcing Urwid 1.0.1 and Urwid 0.9.9.3


Urwid home page:
  http://excess.org/urwid/

Manual:
  http://excess.org/urwid/wiki/UrwidManual

Tarballs:
  http://excess.org/urwid/urwid-1.0.1.tar.gz
  http://excess.org/urwid/urwid-0.9.9.3.tar.gz


About these releases:
=

These are bug-fix releases for Urwid 1.0.0 and Urwid 0.9.9.2.

Release 0.9.9.3 may be the last in the 0.9.9 series.  Users are strongly
encouraged to upgrade to the 1.0 series.


New in 1.0.1:
=

  * Fix for Terminal widget in BSD/OSX

  * Fix for a Filler mouse_event() position bug

  * Fix support for mouse positions up to x=255, y=255

  * Fixes for a number of string encoding issues under Python 3

  * Fix for a LineBox border __init__() parameters

  * Fix input input of UTF-8 in tour.py example by converting captions
to unicode

  * Fix tutorial examples' use of TextCanvas and switch to using
unicode literals

  * Prevent raw_display from calling tcseattr() or tcgetattr() on
non-ttys

  * Disable curses_display external event loop support: screen resizing
and gpm events are not properly supported

  * Mark PollingListWalker as deprecated


New in 0.9.9.3:
===

  * ListBox now includes a get_cursor_coords() method, allowing
nested ListBox widgets

  * Fix for a Filler mouse_event() position bug

  * Fix support for mouse positions up to x=255, y=255

  * Fix for leaks of None object in str_util extension

  * Fix for WidgetWrap and AttrMap not working with fixed widgets


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text layouts, simple attribute
markup, powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 1.0.0 - Console UI Library

2011-09-22 Thread Ian Ward
Announcing Urwid 1.0.0
--

Urwid home page:
  http://excess.org/urwid/

Manual:
  http://excess.org/urwid/wiki/UrwidManual

Tarball:
  http://excess.org/urwid/urwid-1.0.0.tar.gz


About this release:
===

This is a major feature release for Urwid:

It's the first official release that has support for Python 3.

There's a new experimental Terminal widget so you can terminal while you
terminal or write a screen-clone.

There's a new example showing how to serve Urwid interfaces to many
users simultaneously over ssh with Twisted.

There are new classes to help with creating dynamic tree views of
anything you have that's tree-like.

There are new widgets for working with pop-ups so you can now have all
the menu bars, drop-downs and combo-boxes you can write.

The old requirement to sprinkle draw_screen() calls around your
callbacks is gone.  Urwid now updates the screen automatically after
everything else is done.

There's a new simple MainLoop method for catching updates from other
threads and processes.  No need to manually fumble with os.pipe() and
event loops.

And lots more...

Happy 1.0 Urwid!  It's been a great nearly-seven years since our first
release.  Huge thanks to everyone that's contributed code, docs, bug
reports and help on the mailing list and IRC.


New in this release:


  * New support for Python 3.2 from the same 2.x code base,
requires distribute instead of setuptools (by Kirk McDonald,
Wendell, Marien Zwart) everything except TwistedEventLoop and
GLibEventLoop is supported

  * New experimental Terminal widget with xterm emulation and
terminal.py example program (by aszlig)

  * Edit widget now supports a mask (for passwords), has a
insert_text_result() method for full-field validation and
normalizes input text to Unicode or bytes based on the caption
type used

  * New TreeWidget, TreeNode, ParentNode, TreeWalker
and TreeListBox classes for lazy expanding/collapsing tree
views factored out of browse.py example program, with new
treesample.py example program (by Rob Lanphier)

  * MainLoop now calls draw_screen() just before going idle, so extra
calls to draw_screen() in user code may now be removed

  * New MainLoop.watch_pipe() method for subprocess or threaded
communication with the process/thread updating the UI, and new
subproc.py example demonstrating its use

  * New PopUpLauncher and PopUpTarget widgets and MainLoop option
for creating pop-ups and drop-downs, and new pop_up.py example
program

  * New twisted_serve_ssh.py example (by Ali Afshar) that serves
multiple displays over ssh from the same application using
Twisted and the TwistedEventLoop

  * ListBox now includes a get_cursor_coords() method, allowing
nested ListBox widgets

  * Columns widget contents may now be marked to always be treated
as flow widgets for mixing flow and box widgets more easily

  * New lcd_display module with support for CF635 USB LCD panel and
lcd_cf635.py example program with menus, slider controls and a
custom font

  * Shared command_map instance is now stored as Widget._command_map
class attribute and may be overridden in subclasses or individual
widgets for more control over special keystrokes

  * Overlay widget parameters may now be adjusted after creation with
set_overlay_parameters() method

  * New WidgetPlaceholder widget useful for swapping widgets without
having to manipulate a container widget's contents

  * LineBox widgets may now include title text

  * ProgressBar text content and alignment may now be overridden

  * Use reactor.stop() in TwistedEventLoop and document that Twisted's
reactor is not designed to be stopped then restarted

  * curses_display now supports AttrSpec and external event loops
(Twisted or GLib) just like raw_display

  * raw_display and curses_display now support the IBMPC character
set (currently only used by Terminal widget)

  * Fix for a gpm_mev bug preventing user input when on the console

  * Fix for leaks of None objects in str_util extension

  * Fix for WidgetWrap and AttrMap not working with fixed widgets

  * Fix for a lock up when attempting to wrap text containing wide
characters into a single character column


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text layouts, simple attribute
markup, powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.9.2 - Console UI Library

2011-07-14 Thread Ian Ward
Announcing Urwid 0.9.9.2


Urwid home page:
  http://excess.org/urwid/

Screen shots:
  http://excess.org/urwid/examples.html

Tarball:
  http://excess.org/urwid/urwid-0.9.9.2.tar.gz


About this release:
===

This release is *not* the big, exciting,
wow-look-at-all-those-new-features release that just might be coming out
very soon.  It does, however fix a number of bugs in the previous release.


New in this release:


  * Fix for an Overlay get_cursor_coords(), and Text top-widget bug

  * Fix for a Padding rows() bug when used with width=PACK

  * Fix for a bug with large flow widgets used in an Overlay

  * Fix for a gpm_mev bug

  * Fix for Pile and GraphVScale when rendered with no contents

  * Fix for a Python 2.3 incompatibility (0.9.9 is the last release to
claim support Python 2.3)


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text layouts, simple attribute
markup, powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: Urwid 0.9.9.2 - Console UI Library

2011-07-13 Thread Ian Ward
Announcing Urwid 0.9.9.2


Urwid home page:
  http://excess.org/urwid/

Screen shots:
  http://excess.org/urwid/examples.html

Tarball:
  http://excess.org/urwid/urwid-0.9.9.2.tar.gz


About this release:
===

This release is *not* the big, exciting,
wow-look-at-all-those-new-features release that just might be coming out
very soon.  It does, however fix a number of bugs in the previous release.


New in this release:


  * Fix for an Overlay get_cursor_coords(), and Text top-widget bug

  * Fix for a Padding rows() bug when used with width=PACK

  * Fix for a bug with large flow widgets used in an Overlay

  * Fix for a gpm_mev bug

  * Fix for Pile and GraphVScale when rendered with no contents

  * Fix for a Python 2.3 incompatibility (0.9.9 is the last release to
claim support Python 2.3)


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, Unicode support, multiple text layouts, simple attribute
markup, powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.9.1 - Console UI Library

2010-01-25 Thread Ian Ward
Announcing Urwid 0.9.9.1


Urwid home page:
  http://excess.org/urwid/

Screen shots:
  http://excess.org/urwid/examples.html

Tarball:
  http://excess.org/urwid/urwid-0.9.9.1.tar.gz


About this release:
===

This maintenance release fixes a number of bugs including a backwards
incompatibility introduced in the last release and a poor ListBox
snapping behaviour.


New in this release:


  * Fix for ListBox snapping to selectable widgets taller than the
ListBox itself

  * raw_display switching to alternate buffer now works properly with
Terminal.app

  * Fix for BoxAdapter backwards incompatibility introduced in 0.9.9

  * Fix for a doctest failure under powerpc

  * Fix for systems with gpm_mev installed but not running gpm


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.


-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: Urwid 0.9.9.1 - Console UI Library

2010-01-25 Thread Ian Ward
Announcing Urwid 0.9.9.1


Urwid home page:
  http://excess.org/urwid/

Screen shots:
  http://excess.org/urwid/examples.html

Tarball:
  http://excess.org/urwid/urwid-0.9.9.1.tar.gz


About this release:
===

This maintenance release fixes a number of bugs including a backwards
incompatibility introduced in the last release and a poor ListBox
snapping behaviour.


New in this release:


  * Fix for ListBox snapping to selectable widgets taller than the
ListBox itself

  * raw_display switching to alternate buffer now works properly with
Terminal.app

  * Fix for BoxAdapter backwards incompatibility introduced in 0.9.9

  * Fix for a doctest failure under powerpc

  * Fix for systems with gpm_mev installed but not running gpm


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.


-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.9 - Console UI Library

2009-11-18 Thread Ian Ward
Announcing Urwid 0.9.9
--

Urwid home page:
  http://excess.org/urwid/

Updated screen shots:
  http://excess.org/urwid/examples.html

Tarball:
  http://excess.org/urwid/urwid-0.9.9.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This release includes many new features developed since the last major
release.  Urwid now supports 256 and 88 color terminals.  A new MainLoop
class has been introduced to tie together widgets, user input, screen
display and an event loop.  Twisted and GLib-based event loops are now
supported directly.  A new AttrMap class now allows mapping any
attribute to any other attribute.  Most of the code base has been
cleaned up and now has better documentation and testing.  Lots of other
improvements are listed below.


New in this release:


  * New support for 256 and 88 color terminals with raw_display
and html_fragment display modules

  * New palette_test example program to demonstrate high color
modes

  * New AttrSpec class for specifying specific colors instead of
using attributes defined in the screen's palette

  * New MainLoop class ties together widgets, user input, screen
display and one of a number of new event loops, removing the
need for tedious, error-prone boilerplate code

  * New GLibEventLoop allows running Urwid applications with GLib
(makes D-Bus integration easier)

  * New TwistedEventLoop allows running Urwid with a Twisted reactor

  * Added new docstrings and doctests to many widget classes

  * New AttrMap widget supports mapping any attribute to any other
attribute, replaces AttrWrap widget

  * New WidgetDecoration base class for AttrMap, BoxAdapter, Padding,
Filler and LineBox widgets creates a common method for accessing
and updating their contained widgets

  * New left and right values may be specified in Padding widgets

  * New command_map for specifying which keys cause actions such as
clicking Button widgets and scrolling ListBox widgets

  * New tty_signal_keys() method of raw_display.Screen and
curses_display.Screen allows changing or disabling the keys used
to send signals to the application

  * Added helpful __repr__ for many widget classes

  * Updated all example programs to use MainLoop class

  * Updated tutorial with MainLoop usage and improved examples

  * Renamed WidgetWrap.w to _w, indicating its intended use as a way
to implement a widget with other widgets, not necessarily as
a container for other widgets

  * Replaced all tabs with 4 spaces, code is now more aerodynamic
(and PEP 8 compliant)

  * Added saving of stdin and stdout in raw_display module allowing
the originals to be redirected

  * Updated BigText widget's HalfBlock5x4Font

  * Fixed graph example CPU usage when animation is stopped

  * Fixed a memory leak related to objects listening for signals

  * Fixed a Popen3 deprecation warning


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.








-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: Urwid 0.9.9 - Console UI Library

2009-11-17 Thread Ian Ward
Announcing Urwid 0.9.9
--

Urwid home page:
  http://excess.org/urwid/

Updated screen shots:
  http://excess.org/urwid/examples.html

Tarball:
  http://excess.org/urwid/urwid-0.9.9.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This release includes many new features developed since the last major
release.  Urwid now supports 256 and 88 color terminals.  A new MainLoop
class has been introduced to tie together widgets, user input, screen
display and an event loop.  Twisted and GLib-based event loops are now
supported directly.  A new AttrMap class now allows mapping any
attribute to any other attribute.  Most of the code base has been
cleaned up and now has better documentation and testing.  Lots of other
improvements are listed below.


New in this release:


  * New support for 256 and 88 color terminals with raw_display
and html_fragment display modules

  * New palette_test example program to demonstrate high color
modes

  * New AttrSpec class for specifying specific colors instead of
using attributes defined in the screen's palette

  * New MainLoop class ties together widgets, user input, screen
display and one of a number of new event loops, removing the
need for tedious, error-prone boilerplate code

  * New GLibEventLoop allows running Urwid applications with GLib
(makes D-Bus integration easier)

  * New TwistedEventLoop allows running Urwid with a Twisted reactor

  * Added new docstrings and doctests to many widget classes

  * New AttrMap widget supports mapping any attribute to any other
attribute, replaces AttrWrap widget

  * New WidgetDecoration base class for AttrMap, BoxAdapter, Padding,
Filler and LineBox widgets creates a common method for accessing
and updating their contained widgets

  * New left and right values may be specified in Padding widgets

  * New command_map for specifying which keys cause actions such as
clicking Button widgets and scrolling ListBox widgets

  * New tty_signal_keys() method of raw_display.Screen and
curses_display.Screen allows changing or disabling the keys used
to send signals to the application

  * Added helpful __repr__ for many widget classes

  * Updated all example programs to use MainLoop class

  * Updated tutorial with MainLoop usage and improved examples

  * Renamed WidgetWrap.w to _w, indicating its intended use as a way
to implement a widget with other widgets, not necessarily as
a container for other widgets

  * Replaced all tabs with 4 spaces, code is now more aerodynamic
(and PEP 8 compliant)

  * Added saving of stdin and stdout in raw_display module allowing
the originals to be redirected

  * Updated BigText widget's HalfBlock5x4Font

  * Fixed graph example CPU usage when animation is stopped

  * Fixed a memory leak related to objects listening for signals

  * Fixed a Popen3 deprecation warning


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.








-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.9 - Console UI Library

2009-11-17 Thread Ian Ward

Announcing Urwid 0.9.9
--

Urwid home page:
  http://excess.org/urwid/

Updated screen shots:
  http://excess.org/urwid/examples.html

Tarball:
  http://excess.org/urwid/urwid-0.9.9.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This release includes many new features developed since the last major
release.  Urwid now supports 256 and 88 color terminals.  A new MainLoop
class has been introduced to tie together widgets, user input, screen
display and an event loop.  Twisted and GLib-based event loops are now
supported directly.  A new AttrMap class now allows mapping any
attribute to any other attribute.  Most of the code base has been
cleaned up and now has better documentation and testing.  Lots of other
improvements are listed below.


New in this release:


  * New support for 256 and 88 color terminals with raw_display
and html_fragment display modules

  * New palette_test example program to demonstrate high color
modes

  * New AttrSpec class for specifying specific colors instead of
using attributes defined in the screen's palette

  * New MainLoop class ties together widgets, user input, screen
display and one of a number of new event loops, removing the
need for tedious, error-prone boilerplate code

  * New GLibEventLoop allows running Urwid applications with GLib
(makes D-Bus integration easier)

  * New TwistedEventLoop allows running Urwid with a Twisted reactor

  * Added new docstrings and doctests to many widget classes

  * New AttrMap widget supports mapping any attribute to any other
attribute, replaces AttrWrap widget

  * New WidgetDecoration base class for AttrMap, BoxAdapter, Padding,
Filler and LineBox widgets creates a common method for accessing
and updating their contained widgets

  * New left and right values may be specified in Padding widgets

  * New command_map for specifying which keys cause actions such as
clicking Button widgets and scrolling ListBox widgets

  * New tty_signal_keys() method of raw_display.Screen and
curses_display.Screen allows changing or disabling the keys used
to send signals to the application

  * Added helpful __repr__ for many widget classes

  * Updated all example programs to use MainLoop class

  * Updated tutorial with MainLoop usage and improved examples

  * Renamed WidgetWrap.w to _w, indicating its intended use as a way
to implement a widget with other widgets, not necessarily as
a container for other widgets

  * Replaced all tabs with 4 spaces, code is now more aerodynamic
(and PEP 8 compliant)

  * Added saving of stdin and stdout in raw_display module allowing
the originals to be redirected

  * Updated BigText widget's HalfBlock5x4Font

  * Fixed graph example CPU usage when animation is stopped

  * Fixed a memory leak related to objects listening for signals

  * Fixed a Popen3 deprecation warning


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.







--
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.9 - Console UI Library

2009-11-17 Thread Ian Ward

Announcing Urwid 0.9.9
--

Urwid home page:
  http://excess.org/urwid/

Updated screen shots:
  http://excess.org/urwid/examples.html

Tarball:
  http://excess.org/urwid/urwid-0.9.9.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This release includes many new features developed since the last major
release.  Urwid now supports 256 and 88 color terminals.  A new MainLoop
class has been introduced to tie together widgets, user input, screen
display and an event loop.  Twisted and GLib-based event loops are now
supported directly.  A new AttrMap class now allows mapping any
attribute to any other attribute.  Most of the code base has been
cleaned up and now has better documentation and testing.  Lots of other
improvements are listed below.


New in this release:


  * New support for 256 and 88 color terminals with raw_display
and html_fragment display modules

  * New palette_test example program to demonstrate high color
modes

  * New AttrSpec class for specifying specific colors instead of
using attributes defined in the screen's palette

  * New MainLoop class ties together widgets, user input, screen
display and one of a number of new event loops, removing the
need for tedious, error-prone boilerplate code

  * New GLibEventLoop allows running Urwid applications with GLib
(makes D-Bus integration easier)

  * New TwistedEventLoop allows running Urwid with a Twisted reactor

  * Added new docstrings and doctests to many widget classes

  * New AttrMap widget supports mapping any attribute to any other
attribute, replaces AttrWrap widget

  * New WidgetDecoration base class for AttrMap, BoxAdapter, Padding,
Filler and LineBox widgets creates a common method for accessing
and updating their contained widgets

  * New left and right values may be specified in Padding widgets

  * New command_map for specifying which keys cause actions such as
clicking Button widgets and scrolling ListBox widgets

  * New tty_signal_keys() method of raw_display.Screen and
curses_display.Screen allows changing or disabling the keys used
to send signals to the application

  * Added helpful __repr__ for many widget classes

  * Updated all example programs to use MainLoop class

  * Updated tutorial with MainLoop usage and improved examples

  * Renamed WidgetWrap.w to _w, indicating its intended use as a way
to implement a widget with other widgets, not necessarily as
a container for other widgets

  * Replaced all tabs with 4 spaces, code is now more aerodynamic
(and PEP 8 compliant)

  * Added saving of stdin and stdout in raw_display module allowing
the originals to be redirected

  * Updated BigText widget's HalfBlock5x4Font

  * Fixed graph example CPU usage when animation is stopped

  * Fixed a memory leak related to objects listening for signals

  * Fixed a Popen3 deprecation warning


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.







--
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.8.4 - Console UI Library

2009-03-13 Thread Ian Ward

Announcing Urwid 0.9.8.4


Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.9.8.4.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This is a maintenance release that adds compatibility with Python 2.6 
and fixes a number of bugs.



New in this release:


  * Fixed incompatibilities with Python 2.6 (by Friedrich Weber)

  * Fixed a SimpleListWalker with emptied list bug (found by Walter
Mundt)

  * Fixed a curses_display stop()/start() bug (found by Christian
Scharkus)

  * Fixed an is_wide_character() segfault on bad input data bug
(by Andrew Psaltis)

  * Fixed a CanvasCache with render() used in both a widget and its
superclass bug (found by Andrew Psaltis)

  * Fixed a ListBox.ends_visible() on empty list bug (found by Marc
Hartstein)

  * Fixed a tutorial example bug (found by Kurtis D. Rader)

  * Fixed an Overlay.keypress() bug (found by Andreas Klöckner)

  * Fixed setuptools configuration (by Andreas Klöckner)


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.





--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations.html


ANN: Urwid 0.9.8.4 - Console UI Library

2009-03-13 Thread Ian Ward

Announcing Urwid 0.9.8.4


Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.9.8.4.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This is a maintenance release that adds compatibility with Python 2.6 
and fixes a number of bugs.



New in this release:


  * Fixed incompatibilities with Python 2.6 (by Friedrich Weber)

  * Fixed a SimpleListWalker with emptied list bug (found by Walter
Mundt)

  * Fixed a curses_display stop()/start() bug (found by Christian
Scharkus)

  * Fixed an is_wide_character() segfault on bad input data bug
(by Andrew Psaltis)

  * Fixed a CanvasCache with render() used in both a widget and its
superclass bug (found by Andrew Psaltis)

  * Fixed a ListBox.ends_visible() on empty list bug (found by Marc
Hartstein)

  * Fixed a tutorial example bug (found by Kurtis D. Rader)

  * Fixed an Overlay.keypress() bug (found by Andreas Klöckner)

  * Fixed setuptools configuration (by Andreas Klöckner)


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.





--
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.8.3 - Console UI Library

2008-07-16 Thread Ian Ward

Announcing Urwid 0.9.8.3


Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.9.8.3.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This is a maintenance release that fixes a memory leak and a canvas bug
affecting Urwid 0.9.8, 0.9.8.1 and 0.9.8.2.


New in this release:


 * Fixed a canvas cache memory leak affecting 0.9.8, 0.9.8.1 and 0.9.8.2
   (found by John Goodfellow)

 * Fixed a canvas fill_attr() bug (found by Joern Koerner)


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.







--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations.html


ANN: Urwid 0.9.8.3 - Console UI Library

2008-07-15 Thread Ian Ward

Announcing Urwid 0.9.8.3


Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.9.8.3.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This is a maintenance release that fixes a memory leak and a canvas bug
affecting Urwid 0.9.8, 0.9.8.1 and 0.9.8.2.


New in this release:


 * Fixed a canvas cache memory leak affecting 0.9.8, 0.9.8.1 and 0.9.8.2
   (found by John Goodfellow)

 * Fixed a canvas fill_attr() bug (found by Joern Koerner)


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.







--
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.8.2 - Console UI Library

2008-05-19 Thread Ian Ward

Announcing Urwid 0.9.8.2


Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.9.8.2.tar.gz

RSS:
  http://excess.org/feeds/tag/urwid/


About this release:
===

This is a maintenance release that fixes a number of bugs that have been
found in 0.9.8.1.


New in this release:


 * Fixed incompatibilities with Python 2.3

 * Fixed Pile cursor pref_col bug, WidgetWrap rows caching bug, Button
   mouse_event with no callback bug, Filler body bug triggered by the
   tutorial and a LineBox lline parameter typo.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.






--
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.8.1 - Console UI Library

2007-06-23 Thread Ian Ward
Announcing Urwid 0.9.8.1
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.8.1.tar.gz

RSS:
   http://excess.org/feeds/tag/urwid/


About this release:
===

This is a maintenance release that fixes a number of bugs that have been 
found in 0.9.8.


New in this release:


  * Fixed a Filler render() bug

  * Fixed a raw_display start()/stop() bug

  * Fixed a number of problems triggered by very small terminal window
sizes.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.




-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.9.8.1 - Console UI Library

2007-06-22 Thread Ian Ward
Announcing Urwid 0.9.8.1
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.8.1.tar.gz

RSS:
   http://excess.org/feeds/tag/urwid/


About this release:
===

This is a maintenance release that fixes a number of bugs that have been 
found in 0.9.8.


New in this release:


  * Fixed a Filler render() bug

  * Fixed a raw_display start()/stop() bug

  * Fixed a number of problems triggered by very small terminal window
sizes.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.




-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.8 - Console UI Library

2007-03-26 Thread Ian Ward
Announcing Urwid 0.9.8
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.8.tar.gz


About this release:
===

This release improves Urwid's performance by 70% to 450% (reducing 
running time by 41% to 82%)[1] for some benchmarks[2].  New base classes 
have been introduced for widgets, canvases and list walkers.  Some bugs 
have been fixed.  Python 2.2 or later is now required.

There were three major changes that contributed to the performance 
improvement in this release.  The Canvas class was rewritten so that 
canvases can be combined more efficiently.  Canvas objects are now 
cached so that most unchanged widgets will not need to re-render 
themselves.  There is a new C module for some of the heavily used 
low-level string functions contributed by Rebecca Breu.

Urwid's raw_display module may now be used with libraries like Twisted 
that have their own event loops.  Use the new get_input_descriptors() 
and get_input_nonblocking() methods instead of get_input() when using an 
external event loop.

While I have tried to maintain compatibility with older versions of 
Urwid, some of the changes in this release may affect existing code. 
Please report any problems you have to the mailing list or the IRC channel.

[1] http://article.gmane.org/gmane.comp.lib.urwid/415
[2] http://excess.org/urwid/browser/contrib/trunk


New in this release:


  * Rendering is now significantly faster.

  * New Widget base class for all widgets. It includes automatic caching
of rows() and render() methods. It also adds a new __super attribute
for accessing methods in superclasses.

Widgets must now call self._invalidate() to notify the cache when
their content has changed.

To disable caching in a widget set the class variable no_cache to a
list that includes the string render.

  * Canvas classes have been reorganized: Canvas has been renamed to
TextCanvas and Canvas is now the base class for all canvases. New
canvas classes include BlankCanvas, SolidCanvas and CompositeCanvas.

  * External event loops may now be used with the raw_display module. The
new methods get_input_descriptors() and get_input_nonblocking()
should be used instead of get_input() to allow input processing
without blocking.

  * The Columns, Pile and ListBox widgets now choose their first
selectable child widget as the focus widget by defaut.

  * New ListWalker base class for list walker classes.

  * New Signals class that will be used to improve the existing event
callbacks. Currently it is used for ListWalker objects to notify
their ListBox when their content has changed.

  * SimpleListWalker now behaves as a list and supports all list
operations. This class now detects when changes are made to the list
and notifies the ListBox object. New code should use this class to
wrap lists of widgets before passing them to the ListBox
constructor.

  * New PollingListWalker class is now the default list walker that is
used when passing a simple list to the ListBox constructor. This
class is intended for backwards compatibility only. When this class
is used the ListBox object is unable to cache its render() method.

  * The curses_display module can now draw in the lower-right corner of
the screen.

  * All display modules now have start() and stop() methods that may be
used instead of calling run_wrapper().

  * The raw_display module now uses an alternate buffer so that the
original screen can be restored on exit. The old behaviour is
available by seting the alternate_buffer parameter of start() or
run_wrapper() to False.

  * Many internal string processing functions have been rewritten in C to
improve their performance.

  * Compatible with Python = 2.2. Python 2.1 is no longer supported.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.




-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.9.8 - Console UI Library

2007-03-25 Thread Ian Ward
Announcing Urwid 0.9.8
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.8.tar.gz


About this release:
===

This release improves Urwid's performance by 70% to 450% (reducing 
running time by 41% to 82%)[1] for some benchmarks[2].  New base classes 
have been introduced for widgets, canvases and list walkers.  Some bugs 
have been fixed.  Python 2.2 or later is now required.

There were three major changes that contributed to the performance 
improvement in this release.  The Canvas class was rewritten so that 
canvases can be combined more efficiently.  Canvas objects are now 
cached so that most unchanged widgets will not need to re-render 
themselves.  There is a new C module for some of the heavily used 
low-level string functions contributed by Rebecca Breu.

Urwid's raw_display module may now be used with libraries like Twisted 
that have their own event loops.  Use the new get_input_descriptors() 
and get_input_nonblocking() methods instead of get_input() when using an 
external event loop.

While I have tried to maintain compatibility with older versions of 
Urwid, some of the changes in this release may affect existing code. 
Please report any problems you have to the mailing list or the IRC channel.

[1] http://article.gmane.org/gmane.comp.lib.urwid/415
[2] http://excess.org/urwid/browser/contrib/trunk


New in this release:


  * Rendering is now significantly faster.

  * New Widget base class for all widgets. It includes automatic caching
of rows() and render() methods. It also adds a new __super attribute
for accessing methods in superclasses.

Widgets must now call self._invalidate() to notify the cache when
their content has changed.

To disable caching in a widget set the class variable no_cache to a
list that includes the string render.

  * Canvas classes have been reorganized: Canvas has been renamed to
TextCanvas and Canvas is now the base class for all canvases. New
canvas classes include BlankCanvas, SolidCanvas and CompositeCanvas.

  * External event loops may now be used with the raw_display module. The
new methods get_input_descriptors() and get_input_nonblocking()
should be used instead of get_input() to allow input processing
without blocking.

  * The Columns, Pile and ListBox widgets now choose their first
selectable child widget as the focus widget by defaut.

  * New ListWalker base class for list walker classes.

  * New Signals class that will be used to improve the existing event
callbacks. Currently it is used for ListWalker objects to notify
their ListBox when their content has changed.

  * SimpleListWalker now behaves as a list and supports all list
operations. This class now detects when changes are made to the list
and notifies the ListBox object. New code should use this class to
wrap lists of widgets before passing them to the ListBox
constructor.

  * New PollingListWalker class is now the default list walker that is
used when passing a simple list to the ListBox constructor. This
class is intended for backwards compatibility only. When this class
is used the ListBox object is unable to cache its render() method.

  * The curses_display module can now draw in the lower-right corner of
the screen.

  * All display modules now have start() and stop() methods that may be
used instead of calling run_wrapper().

  * The raw_display module now uses an alternate buffer so that the
original screen can be restored on exit. The old behaviour is
available by seting the alternate_buffer parameter of start() or
run_wrapper() to False.

  * Many internal string processing functions have been rewritten in C to
improve their performance.

  * Compatible with Python = 2.2. Python 2.1 is no longer supported.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.




-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.7.2 - Console UI Library

2007-01-03 Thread Ian Ward
Announcing Urwid 0.9.7.2


Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.7.2.tar.gz


About this release:
===

This maintenance release significantly improves the performance of
Urwid when run in UTF-8 mode.  A UTF-8 input handling bug was also
fixed.


New in this release:


   * Improved performance in UTF-8 mode when ASCII text is used.

   * Fixed a UTF-8 input bug.

   * Added a clear() function to the the display modules to force
 the screen to be repainted on the next draw_screen() call.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.9.7.2 - Console UI Library

2007-01-03 Thread Ian Ward
Announcing Urwid 0.9.7.2


Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.7.2.tar.gz


About this release:
===

This maintenance release significantly improves the performance of
Urwid when run in UTF-8 mode.  A UTF-8 input handling bug was also
fixed.


New in this release:


   * Improved performance in UTF-8 mode when ASCII text is used.

   * Fixed a UTF-8 input bug.

   * Added a clear() function to the the display modules to force
 the screen to be repainted on the next draw_screen() call.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.7.1 - Console UI Library

2006-10-03 Thread Ian Ward
Announcing Urwid 0.9.7.1


Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.7.1.tar.gz


About this release:
===

This release fixes bugs introduced in the Padding and Overlay classes in 
the previous release.  These bugs prevent the graph.py example program 
from running.


New in this release:


   * Fixed bugs in Padding and Overlay widgets introduced in 0.9.7.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.









-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.9.7.1 - Console UI Library

2006-10-03 Thread Ian Ward
Announcing Urwid 0.9.7.1


Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.7.1.tar.gz


About this release:
===

This release fixes bugs introduced in the Padding and Overlay classes in 
the previous release.  These bugs prevent the graph.py example program 
from running.


New in this release:


   * Fixed bugs in Padding and Overlay widgets introduced in 0.9.7.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.









-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.7 - Console UI Library

2006-10-01 Thread Ian Ward
Announcing Urwid 0.9.7
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.7.tar.gz


About this release:
===

This release adds a new BigText widget for banners and text that needs 
to stand out on the screen.  A new example program demonstrating BigText 
usage and a number of fonts are included.  This widget is a fixed 
widget, a new alternative to flow widgets and a box widgets.  Fixed 
widgets may be displayed within Overlay or Padding widgets to handle 
changing screen sizes.


New in this release:


   - Added initial support for fixed widgets - widgets that have a
 fixed size on screen.  Fixed widgets expect a size parameter
 equal to ().  Fixed widgets must implement the pack(..)
 function to return their size.

   - New BigText class that draws text with fonts made of grids of
 character cells.  BigText is a fixed widget and doesn't do any
 alignment or wrapping.  It is intended for banners and number
 readouts that need to stand out on the screen.

 Fonts: Thin3x3Font, Thin4x3Font, Thin6x6Font (full ascii)
 UTF-8 only fonts: HalfBlock5x4Font, HalfBlock6x5Font,
 HalfBlockHeavy6x5Font, HalfBlock7x7Font (full ascii)

 New function get_all_fonts() may be used to get a list of the
 available fonts.

   - New example program bigtext.py demonstrates use of BigText.

   - Padding class now has a clipping mode that pads or clips fixed
 widgets to make them behave as flow widgets.

   - Overlay class can now accept a fixed widget as the widget to
 display on top.

   - New Canvas functions: pad_trim(..) and pad_trim_left_right(..).

   - Fixed a bug in Filler.get_cursor_coords(..) that causes a
 crash if the contained widget's get_cursor_coords(..) function
 returns None.

   - Fixed a bug in Text.pack(..) that caused an infinite loop
 when the text contained a newline.  This function is not
 currently used by Urwid.

   - Edit.__init__(..) now calls set_edit_text(..) to initialize
 its text.

   - Overlay.calculate_padding_filler(..) and
 Padding.padding_values(..) now include focus parameters.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.








-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.9.7 - Console UI Library

2006-10-01 Thread Ian Ward
Announcing Urwid 0.9.7
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.7.tar.gz


About this release:
===

This release adds a new BigText widget for banners and text that needs 
to stand out on the screen.  A new example program demonstrating BigText 
usage and a number of fonts are included.  This widget is a fixed 
widget, a new alternative to flow widgets and a box widgets.  Fixed 
widgets may be displayed within Overlay or Padding widgets to handle 
changing screen sizes.


New in this release:


   - Added initial support for fixed widgets - widgets that have a
 fixed size on screen.  Fixed widgets expect a size parameter
 equal to ().  Fixed widgets must implement the pack(..)
 function to return their size.

   - New BigText class that draws text with fonts made of grids of
 character cells.  BigText is a fixed widget and doesn't do any
 alignment or wrapping.  It is intended for banners and number
 readouts that need to stand out on the screen.

 Fonts: Thin3x3Font, Thin4x3Font, Thin6x6Font (full ascii)
 UTF-8 only fonts: HalfBlock5x4Font, HalfBlock6x5Font,
 HalfBlockHeavy6x5Font, HalfBlock7x7Font (full ascii)

 New function get_all_fonts() may be used to get a list of the
 available fonts.

   - New example program bigtext.py demonstrates use of BigText.

   - Padding class now has a clipping mode that pads or clips fixed
 widgets to make them behave as flow widgets.

   - Overlay class can now accept a fixed widget as the widget to
 display on top.

   - New Canvas functions: pad_trim(..) and pad_trim_left_right(..).

   - Fixed a bug in Filler.get_cursor_coords(..) that causes a
 crash if the contained widget's get_cursor_coords(..) function
 returns None.

   - Fixed a bug in Text.pack(..) that caused an infinite loop
 when the text contained a newline.  This function is not
 currently used by Urwid.

   - Edit.__init__(..) now calls set_edit_text(..) to initialize
 its text.

   - Overlay.calculate_padding_filler(..) and
 Padding.padding_values(..) now include focus parameters.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.








-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Templayer 1.4 - HTML templating library

2006-09-25 Thread Ian Ward
Announcing Templayer 1.4


Templayer home page:
   http://excess.org/templayer/

Tarball:
   http://excess.org/templayer/templayer-1.4.tar.gz


About this release:
===

This release improves integration with the Django web framework by 
reducing the amount of code required in Django views and by allowing use 
of Django forms in Templayer templates.  Also, two new HTML Markup tags 
were added and it is now possible for flat template files (files with no 
layers) to be used.


New in this release:


   - Added a django_form convenience function for using Templayer
 with the Django web framework's FormWrapper objects.

   - Added an allow_degenerate parameter to Template.__init__.  If
 set to True then a template file that is missing a contents
 block will be accepted and not cause an exception to be raised.

   - Added a special layer name '*' that treats the entire contents
 of a template file as a layer.

   - Added two new HTML Markup elements:
 - ('pluralize',count,singular_markup,plural_markup) inserts
   singular_markup if count equals one, and plural_markup
   otherwise.
 - ('',entity) inserts the given HTML entity where valid
   entity values include gt, #161 and #xA9.

   - FileLayer.close now returns the file object to which it wrote.
 This simplifies the code required to use Templayer in Django
 view functions.

   - Fixed a really obvious bug in the html_href function.


About Templayer
===

Templayer was created to offer an alternative to the more common ways of
generating dynamic HTML: embedding code within the HTML or embedding
HTML within code. Instead of mixing HTML and Python, two rich and
extremely expressive languages, Templayer adds a small amount of syntax
to each and keeps the two separate and coherent.

Templayer is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Templayer 1.4 - HTML templating library

2006-09-25 Thread Ian Ward
Announcing Templayer 1.4


Templayer home page:
   http://excess.org/templayer/

Tarball:
   http://excess.org/templayer/templayer-1.4.tar.gz


About this release:
===

This release improves integration with the Django web framework by 
reducing the amount of code required in Django views and by allowing use 
of Django forms in Templayer templates.  Also, two new HTML Markup tags 
were added and it is now possible for flat template files (files with no 
layers) to be used.


New in this release:


   - Added a django_form convenience function for using Templayer
 with the Django web framework's FormWrapper objects.

   - Added an allow_degenerate parameter to Template.__init__.  If
 set to True then a template file that is missing a contents
 block will be accepted and not cause an exception to be raised.

   - Added a special layer name '*' that treats the entire contents
 of a template file as a layer.

   - Added two new HTML Markup elements:
 - ('pluralize',count,singular_markup,plural_markup) inserts
   singular_markup if count equals one, and plural_markup
   otherwise.
 - ('',entity) inserts the given HTML entity where valid
   entity values include gt, #161 and #xA9.

   - FileLayer.close now returns the file object to which it wrote.
 This simplifies the code required to use Templayer in Django
 view functions.

   - Fixed a really obvious bug in the html_href function.


About Templayer
===

Templayer was created to offer an alternative to the more common ways of
generating dynamic HTML: embedding code within the HTML or embedding
HTML within code. Instead of mixing HTML and Python, two rich and
extremely expressive languages, Templayer adds a small amount of syntax
to each and keeps the two separate and coherent.

Templayer is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Templayer 1.3 - HTML templating library

2006-08-31 Thread Ian Ward
Announcing Templayer 1.3


Templayer home page:
   http://excess.org/templayer/

Tarball:
   http://excess.org/templayer/templayer-1.3.tar.gz


About this release:
===

This release includes new documentation and a new auto-reload feature 
useful for mod_python and web frameworks. Also, the internal template 
representation was changed to improve performance and consistency, and 
the HTML generated with HTML Markup is now more standards-compliant.


New in this release:


   - Added reference documentation and a new tutorial.

   - Added an auto_reload parameter to Template.__init__ to make the
 Template.start_file function check and reload a template if it has
 been modified.  This is useful for mod_python and web frameworks
 with long-lived processes.

   - Changed the internal representation of the templates to improve
 performance for large templates and to solve an issue with
 slots being filled with text that appears to contain another
 slot that is being filled at the same time.

 The new implementation no longer allows % and { characers in
 slot and layer names.

   - The Template.missing_slot function is now passed a list of
 missing slots for a layer.  This should improve performance when
 ignoring a large number of missing slots.

   - The HTML markup has been adjusted to make its use of br and p
 tags more standards-compliant.

   - HtmlTemplate has been renamed to HTMLTemplate and MarkupException
 has been renamed to MarkupError.  The old names are still
 provided for backwards compatibility.


About Templayer
===

Templayer was created to offer an alternative to the more common ways of 
generating dynamic HTML: embedding code within the HTML or embedding 
HTML within code. Instead of mixing HTML and Python, two rich and 
extremely expressive languages, Templayer adds a small amount of syntax 
to each and keeps the two separate and coherent.

Templayer is released under the GNU LGPL.


-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Templayer 1.3 - HTML templating library

2006-08-30 Thread Ian Ward
Announcing Templayer 1.3


Templayer home page:
   http://excess.org/templayer/

Tarball:
   http://excess.org/templayer/templayer-1.3.tar.gz


About this release:
===

This release includes new documentation and a new auto-reload feature 
useful for mod_python and web frameworks. Also, the internal template 
representation was changed to improve performance and consistency, and 
the HTML generated with HTML Markup is now more standards-compliant.


New in this release:


   - Added reference documentation and a new tutorial.

   - Added an auto_reload parameter to Template.__init__ to make the
 Template.start_file function check and reload a template if it has
 been modified.  This is useful for mod_python and web frameworks
 with long-lived processes.

   - Changed the internal representation of the templates to improve
 performance for large templates and to solve an issue with
 slots being filled with text that appears to contain another
 slot that is being filled at the same time.

 The new implementation no longer allows % and { characers in
 slot and layer names.

   - The Template.missing_slot function is now passed a list of
 missing slots for a layer.  This should improve performance when
 ignoring a large number of missing slots.

   - The HTML markup has been adjusted to make its use of br and p
 tags more standards-compliant.

   - HtmlTemplate has been renamed to HTMLTemplate and MarkupException
 has been renamed to MarkupError.  The old names are still
 provided for backwards compatibility.


About Templayer
===

Templayer was created to offer an alternative to the more common ways of 
generating dynamic HTML: embedding code within the HTML or embedding 
HTML within code. Instead of mixing HTML and Python, two rich and 
extremely expressive languages, Templayer adds a small amount of syntax 
to each and keeps the two separate and coherent.

Templayer is released under the GNU LGPL.


-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.6 - Console UI Library

2006-08-23 Thread Ian Ward
Announcing Urwid 0.9.6
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.6.tar.gz


About this release:
===

This release improves Unicode support with Python  2.4 and new features 
were added to the tutorial and reference generation scripts.

The graph.py example program introduced in 0.9.5 should now work 
properly for everyone.  Please let me know if you have any trouble with it.


New in this release:


   - Fixed Unicode conversion and locale issues when using Urwid with
 Python  2.4.  The graph.py example program should now work
 properly with older versions of Python.

   - The docgen_tutorial.py script can now write out the tutorial
 example programs as individual files.

   - Updated reference documentation table of contents to show which
 widgets are flow and/or box widgets.

   - Columns.set_focus(..) will now accept an integer or a widget as
 its parameter.

   - Added detection for rxvt's HOME and END escape sequences.

   - Added support for setuptools (improved distutils).


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.






-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.9.6 - Console UI Library

2006-08-23 Thread Ian Ward
Announcing Urwid 0.9.6
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.6.tar.gz


About this release:
===

This release improves Unicode support with Python  2.4 and new features 
were added to the tutorial and reference generation scripts.

The graph.py example program introduced in 0.9.5 should now work 
properly for everyone.  Please let me know if you have any trouble with it.


New in this release:


   - Fixed Unicode conversion and locale issues when using Urwid with
 Python  2.4.  The graph.py example program should now work
 properly with older versions of Python.

   - The docgen_tutorial.py script can now write out the tutorial
 example programs as individual files.

   - Updated reference documentation table of contents to show which
 widgets are flow and/or box widgets.

   - Columns.set_focus(..) will now accept an integer or a widget as
 its parameter.

   - Added detection for rxvt's HOME and END escape sequences.

   - Added support for setuptools (improved distutils).


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.






-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.5 - Console UI Library

2006-07-14 Thread Ian Ward
Announcing Urwid 0.9.5
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.5.tar.gz


About this release:
===

This release adds support for the alternate character set with DEC 
special and line drawing characters.  Urwid will now display these 
characters properly in almost all terminals and encodings.  This change 
also opens the door to future support for ISO-2022 encodings with 
switching character sets.

A new example program was added to demonstrate Urwid's graphics widgets, 
  two new widget types were introduced, existing widgets were improved 
and bugs were fixed.


New in this release:


   - Some Unicode characters are now converted to use the G1 alternate
 character set with DEC special and line drawing characters.  These
 Unicode characters should now just work in almost all terminals
 and encodings.

 When Urwid is run with the UTF-8 encoding the characters are left
 as UTF-8 and not converted.

 The characters converted are:
 \u00A3 (£), \u00B0 (°), \u00B1 (±), \u00B7 (·), \u03C0 (π),
 \u2260 (≠), \u2264 (≤), \u2265 (≥), \u23ba (⎺), \u23bb (⎻),
 \u23bc (⎼), \u23bd (⎽), \u2500 (─), \u2502 (│), \u250c (┌),
 \u2510 (┐), \u2514 (└), \u2518 (┘), \u251c (├), \u2524 (┤),
 \u252c (┬), \u2534 (┴), \u253c (┼), \u2592 (▒), \u25c6 (◆)

   - New SolidFill class for filling an area with a single character.

   - New LineBox class for wrapping widgets in a box made of line-
 drawing characters.  May be used as a box widget or a flow widget.

   - New example program graph.py demonstrates use of BarGraph, LineBox,
 ProgressBar and SolidFill.

   - Pile class may now be used as a box widget and contain a mix of box
 and flow widgets.

   - Columns class may now contain a mix of box and flow widgets. The box
 widgets will take their height from the maximum height of the flow
 widgets.

   - Improved the smoothness of resizing with raw_display module.  The
 module will now try to stop updating the screen when a resize event
 occurs during the update.

   - The Edit and IntEdit classes now use their set_edit_text(..) and
 set_edit_pos(..) functions when handling keypresses, so those
 functions may be overridden to catch text modification.

   - The set_state(..) functions in the CheckBox and RadioButton classes
 now have a do_callback parameter that determines if the callback
 function registered will be called.

   - Fixed a newly introduced incompatibility with python  2.3.

   - Fixed a missing symbol in curses_display when python is linked against
 libcurses.

   - Fixed mouse handling bugs in the Frame and Overlay classes.

   - Fixed a Padding bug when the left or right has no padding.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.






-- 
http://mail.python.org/mailman/listinfo/python-list

ANN: Urwid 0.9.4 - Console UI Library

2006-05-01 Thread Ian Ward
Announcing Urwid 0.9.4
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.4.tar.gz


About this release:
===

This release adds mouse event handling to the standard widgets and 
example programs.  Also, the files used to generate the reference and 
tutorial documentation are now included in the tarball.


New in this release:


   - Enabled mouse handling across the Urwid library.

 Added a new mouse_event(..) method to the Widget interface
 definition and to the following widgets: Edit, CheckBox,
 RadioButton, Button, GridFlow, Padding, Filler, Overlay, Frame,
 Pile, Columns, BoxAdapter and ListBox.

 Updated example programs browse.py, calc.py, dialog.py, edit.py and
 tour.py to support mouse input.

   - Released the files used to generate the reference and tutorial
 documentation: docgen_reference.py, docgen_tutorial.py and
 tmpl_tutorial.html.  The docgen scripts write the documentation
 to stdout.  docgen_tutorial.py requires the Templayer HTML
 templating library to run.

   - Improved Widget and List Walker interface documentation.

   - Fixed a bug in the handling of invalid UTF-8 data.  All invalid
 characters are now replaced with '?' characters when displayed.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.





-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.9.4 - Console UI Library

2006-05-01 Thread Ian Ward
Announcing Urwid 0.9.4
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.4.tar.gz


About this release:
===

This release adds mouse event handling to the standard widgets and 
example programs.  Also, the files used to generate the reference and 
tutorial documentation are now included in the tarball.


New in this release:


   - Enabled mouse handling across the Urwid library.

 Added a new mouse_event(..) method to the Widget interface
 definition and to the following widgets: Edit, CheckBox,
 RadioButton, Button, GridFlow, Padding, Filler, Overlay, Frame,
 Pile, Columns, BoxAdapter and ListBox.

 Updated example programs browse.py, calc.py, dialog.py, edit.py and
 tour.py to support mouse input.

   - Released the files used to generate the reference and tutorial
 documentation: docgen_reference.py, docgen_tutorial.py and
 tmpl_tutorial.html.  The docgen scripts write the documentation
 to stdout.  docgen_tutorial.py requires the Templayer HTML
 templating library to run.

   - Improved Widget and List Walker interface documentation.

   - Fixed a bug in the handling of invalid UTF-8 data.  All invalid
 characters are now replaced with '?' characters when displayed.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.





-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.3 - Console UI Library

2006-04-15 Thread Ian Ward
Announcing Urwid 0.9.3
--

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.3.tar.gz


About this release:
===

This release adds support for gpm and mouse dragging to the raw_display 
module, improves mouse release reporting and fixes a few text layout 
bugs.  If you are interested in Urwid's mouse support please try the 
input test example program and let me know if it works properly in your 
environment.

[EMAIL PROTECTED]:~/urwid-0.9.3$ ./input_test.py
will test the input of the curses_display module.

[EMAIL PROTECTED]:~/urwid-0.9.3$ ./input_test.py raw
will test the input of the raw_display module.

Please post your results and details about your environment to the
mailing list.


New in this release:


   - Improved mouse reporting.

 The raw_display module now detects gpm mouse events by reading
 /usr/bin/mev output.  The curses_display module already supports
 gpm directly.

 Mouse drag events are now reported by raw_display in terminals that
 provide button event tracking and on the console with gpm.  Note
 that gpm may report coordinates off the screen if the user drags the
 mouse off the edge.

 Button release events now report which button was released if that
 information is available, currently only on the console with gpm.

   - Added display of raw keycodes to the input_test.py example program.

   - Fixed a text layout bug affecting clipped text with blank lines, and
 another related to wrapped text starting with a space character.

   - Fixed a Frame.keypress(..) bug that caused it to call keypress on
 unselectable widgets.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Speedometer 2.4 - bandwidth and download monitor

2006-04-09 Thread Ian Ward
Announcing Speedometer 2.4
--

Speedometer home page:
   http://excess.org/speedometer/

Download:
   http://excess.org/speedometer/speedometer.py


New in this release:


   - New -z option treats files that don't exist as zero length so
 speedometer will not wait for them to be created at startup.

   - Multiple file taps may now be used stacked vertically in the
 same column.


About Speedometer
=

Speedometer is a console bandwidth and file download progress monitor with
a logarithmic bandwidth display and a simple command-line interface.

Speedometer requires Python 2.1 or later and Urwid 0.8.9 or later for
full-console bar graph display.  Urwid may be downloaded from:
http://excess.org/urwid/

Speedometer is released under the GNU LGPL.



-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.1 - Console UI Library

2006-03-09 Thread Ian Ward
Announcing Urwid 0.9.1
--

Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.9.1.tar.gz


About this release:
===

This release includes high resolution UTF-8 support for the BarGraph and
ProgressBar widgets, improved support for threading with raw_display and
a couple bug fixes.


New in this release:


  - BarGraph and ProgressBar can now display data more accurately by using
the UTF-8 vertical and horizontal eighth characters.  This behavior
will be enabled when the UTF-8 encoding is detected and smoothed
attributes are passed to the BarGraph or ProgressBar constructors.

  - New get_encoding_mode() function to determine how Urwid will treat
raw string data.

  - New raw_display.signal_init() and raw_display.signal_restore() methods
that may be overridden by threaded applications that need to call
signal.signal(..) from their main thread.

  - Fixed a bug that prevented the use of UTF-8 strings in text markup.

  - Removed some forgotten asserts that broke 8-bit and CJK input.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.


-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Speedometer 2.3 - bandwidth and download monitor

2006-03-08 Thread Ian Ward
Announcing Speedometer 2.3
--

Speedometer home page:
  http://excess.org/speedometer/

Download:
  http://excess.org/speedometer/speedometer.py


New in this release:


  - Graphs may now be displayed with 8 times the resolution of old blocky
graphs using a new UTF-8 smoothed display mode.  Requires UTF-8 capable
terminal in UTF-8 encoding (try uxterm) and Urwid 0.9.1 or later.

  - Use math.log without base for compatibility with Python 2.1.


About Speedometer
=

Speedometer is a console bandwidth and file download progress monitor with
a logarithmic bandwidth display and a simple command-line interface.

Speedometer requires Python 2.1 or later and Urwid 0.8.9 or later for
full-console bar graph display.  Urwid may be downloaded from:
http://excess.org/urwid/

Speedometer is released under the GNU LGPL.


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: Urwid 0.9.0 - Console UI library

2006-02-23 Thread Ian Ward
Thomas Dickey wrote:
 Ian Ward [EMAIL PROTECTED] wrote:
 
  - New raw_display module that handles console display without relying
on external libraries.  This module was written as a work around
for the lack of UTF-8 support in the standard version of ncurses.
 
 
 The standard version of ncurses has supported UTF-8 for the past few
 years.  You may perhaps mean default configuration, which has a
 different connotation.
 

You're right.

I was looking for a short way of saying a work around for lack of UTF-8 
support in the version of ncurses that Python links against by default.

Ian Ward

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.0 - Console UI library

2006-02-20 Thread Ian Ward
Announcing Urwid 0.9.0
--

Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.9.0.tar.gz

Screenshots:
  http://excess.org/urwid/utf8examples.html


About this release:
===

This is the first release of Urwid with UTF-8 input and display support.
A new raw_display module was added to enable UTF-8 display.  This module
also fixes the dead corner in the bottom right of the screen and
improves legibility of bright text in some terminals.


New in this release:


  - New support for UTF-8 encoding including input, display and editing
of narrow and wide (CJK) characters.

Preliminary combining (zero-width) character support is included,
but full support will require terminal behavior detection.

Right-to-Left input and display are not implemented.

  - New raw_display module that handles console display without relying
on external libraries.  This module was written as a work around
for the lack of UTF-8 support in the standard version of ncurses.

Eliminates dead corner in the bottom right of the screen.

Avoids use of bold text in xterm and gnome-terminal for improved
text legibility.

  - Fixed overlay bug related to UTF-8 handling.

  - Fixed Edit.move_cursor_to_coords(..) bug related to wide characters
in UTF-8 encoding.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.


-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.9.0 - Console UI library

2006-02-20 Thread Ian Ward
Announcing Urwid 0.9.0
--

Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.9.0.tar.gz

Screenshots:
  http://excess.org/urwid/utf8examples.html


About this release:
===

This is the first release of Urwid with UTF-8 input and display support.
A new raw_display module was added to enable UTF-8 display.  This module
also fixes the dead corner in the bottom right of the screen and
improves legibility of bright text in some terminals.


New in this release:


  - New support for UTF-8 encoding including input, display and editing
of narrow and wide (CJK) characters.

Preliminary combining (zero-width) character support is included,
but full support will require terminal behavior detection.

Right-to-Left input and display are not implemented.

  - New raw_display module that handles console display without relying
on external libraries.  This module was written as a work around
for the lack of UTF-8 support in the standard version of ncurses.

Eliminates dead corner in the bottom right of the screen.

Avoids use of bold text in xterm and gnome-terminal for improved
text legibility.

  - Fixed overlay bug related to UTF-8 handling.

  - Fixed Edit.move_cursor_to_coords(..) bug related to wide characters
in UTF-8 encoding.


About Urwid
===

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.


-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.9.0-pre3 curses-based UI library

2006-02-14 Thread Ian Ward
Announcing Urwid 0.9.0-pre3
---

Urwid home page:
   http://excess.org/urwid/

Tarball:
   http://excess.org/urwid/urwid-0.9.0-pre3.tar.gz


About this release:
===

This is a development release intended only for those interested in
working with the new Layout classes and those who want to help improve
UTF-8 support.

This is a single bugfix release preceeding some major changes.


New in this release:


   - Fixed Canvas attribute padding bug related to -pre1 changes.


About Urwid
===

Urwid is a curses-based UI library for Python. It features fluid
interface resizing, CJK support, multiple text layouts, simple
attribute markup, powerful scrolling list boxes, flexible edit boxes
and HTML screen shots.

Urwid is released under the GNU LGPL.

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


Re: Replacing curses

2006-02-10 Thread Ian Ward
Ross Ridge wrote:
 In general it's impossible to know how many display positions some
 random Unicode character might use.  For example, Chinese characters
 normally take two display positions, but the terminal your using might
 not support them and display a single width replacement character.
 Hopefully, you're limitted in the character set you actually need to
 support and the terminals that your applicaiton will be using.

I'm not so lucky -- I'm writing a console UI library (Urwid) that anyone 
could use, and I'm trying to support as many encodings and terminals as 
possible.

I hope that the different terminal behaviors can be enumerated so that 
the console interface will degrade gracefully with less capable 
terminals.  The mined_2000 unicode text editor is a program that does 
this by detecting the terminal's behavior on startup. I'll probably take 
a similar approach.

Ian Ward


-- 
http://mail.python.org/mailman/listinfo/python-list


cursesw+setlocale fixes it! (was: Re: Problem with curses and UTF-8)

2006-02-09 Thread Ian Ward
Damjan wrote:
 import curses, locale
 locale.setlocale(locale.LC_ALL, '')
 s = curses.initscr()

Hey, that works for me.  Combined characters and wide characters are 
working too.

Now the real problem.. how do I convince the python higher-ups to link 
against cursesw by default?

At the very least all distros that use UTF-8 as their default encoding 
should switch to cursesw.

Ian Ward

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: cursesw+setlocale fixes it!

2006-02-09 Thread Ian Ward
Martin v. Löwis wrote:
 That's very easy. Contribute a working patch. That patch should support
 all possible situations (e.g. curses is ncurses, and ncursesw is
 available, curses is ncurses, and ncursesw is not available, curses
 is not ncurses), and submit that patch to sf.net/projects/python.

Done.

http://sourceforge.net/tracker/index.php?func=detailaid=1428494group_id=5470atid=305470

Ian Ward

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Replacing curses

2006-02-08 Thread Ian Ward
Thomas Dickey wrote:
 hmm - I've read Urwid, and most of the comments I've read in that regard
 reflect problems in Urwid.  Perhaps it's time for you to do a little analysis.
 
 (looking forward to bug reports, rather than line noise)

A fair request.  My appologies for the inflammatory subject :-)

When trying to check for user input without waiting I use code like:
window_object.nodelay(1)
curses.cbreak()
input = window_object.getch()

Occasionally (hard to reproduce reliably) the cbreak() call will raise
an exception, but if I call it a second time before calling getch the
code will work properly.  This problem might be related to a signal
interrupting the function call, I'm not sure.

Also, screen resizing only seems to be reported once by getch() even if
the user continues to resize the window.  I have worked around this by
calling curses.doupdate() between calls to getch(). Maybe this is by design?

Finally, the curses escape sequence detection could be broadened. The
top part of the curses_display module in Urwid defines many escape
sequences I've run into that curses doesn't detect.

Ian Ward


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Replacing curses (Was: Re: Problem with curses and UTF-8)

2006-02-08 Thread Ian Ward
Grant Edwards wrote:
 Why not use termcap/terminfo?

That's a good idea, but I'd have to wrap the c library myself, wouldn't 
I?  Also, what happens when a user has an incorrect TERM setting (I've 
run into this before)

I don't want to reimpliment all the nice speed optimizations that the 
curses library has, I just want something simple that should work for as 
many people as possible.

Ian Ward

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Problem with curses and UTF-8

2006-02-08 Thread Ian Ward
Thomas Dickey wrote:
 Martin v. Löwis [EMAIL PROTECTED] wrote:
The ncurses documentation suggests that you should link with
ncurses_w instead of linking with ncurses - you might try
that as well. If it helps, please do report back.
 
 
 ncursesw

I'll test it if someone would dumb down link with ncursesw instead of 
ncurses a little for me.

I tried:
./configure --with-libs=ncursesw5

and it failed saying:
checking size of wchar_t... configure: error: cannot compute sizeof 
(wchar_t), 77

Ian Ward

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Replacing curses (Was: Re: Problem with curses and UTF-8)

2006-02-08 Thread Ian Ward
Grant Edwards wrote:
 Depending on what you're tring to do, slang might be an option,

I've looked at newt and snack, but all I really need is:
- a way to position the cursor at (0,0)
- a way to hide and show the cursor
- a way to detect when the terminal is resized
- a way to query the terminal size

Ian Ward


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Problem with curses and UTF-8

2006-02-08 Thread Ian Ward
Martin v. Löwis wrote:

 If that was Python's configure: don't do that. Instead, hack setup.py
 to make it change the compiler/linker settings, or even edit the
 compiler/linker line manually at first.

Ok, that compiled.

Now when I run the same test:

import curses
s = curses.initscr()
s.addstr('\xc3\x85 U+00C5 LATIN CAPITAL LETTER A WITH RING ABOVE\n')
s.addstr('\xc3\xa5 U+00F5 LATIN SMALL LETTER O WITH TILDE')
s.refresh()
s.getstr()
curses.endwin()


This is what I see:

  +00C5 LATIN CAPITAL LETTER A WITH RING ABOVE
  +00F5 LATIN SMALL LETTER O WITH TILDE


so, the UTF-8 characters didn't appear and the  U at the beginning 
became just  .

Ian Ward

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Replacing curses (Was: Re: Problem with curses and UTF-8)

2006-02-08 Thread Ian Ward
Jean-Paul Calderone wrote:
 I've looked at newt and snack, but all I really need is:
 - a way to position the cursor at (0,0)
 - a way to hide and show the cursor
 - a way to detect when the terminal is resized
 - a way to query the terminal size
 
 You might be interested in Twisted Conch's insults package.  I haven't 
 followed this thread closely, so I'm not sure if it covers all your 
 requirements, but it can do all of the above.

Thanks for the pointer!  twisted.conch.insult definitely has some of 
what I need.  The code for handling window resizing isn't jumping out at 
me but I'll keep looking.

Ian Ward

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Replacing curses

2006-02-08 Thread Ian Ward
Ross Ridge wrote:
 Thomas Dickey wrote:
...and send UTF-8 text, keeping track of where you really are on the screen.
 You make that sound so easy.

I'll have to deal with that anyway, since I'm doing all my own wrapping,
justification and clipping of text.  (don't talk to me about RtoL text,
I'm getting to it)

I'm going to look at the Mined text editor for some terminal behavior
detection code.  Mined is able to produce good UTF-8 output on a variety
of terminals, and it links agains ncurses, not ncursesw...  Interesting.

Ian Ward


-- 
http://mail.python.org/mailman/listinfo/python-list


Problem with curses and UTF-8

2006-02-07 Thread Ian Ward
When I run the following code in a terminal with the encoding set to
UTF-8 I get garbage on the first line, but the correct output on the second.


import curses
s = curses.initscr()
s.addstr('\xc3\x85 U+00C5 LATIN CAPITAL LETTER A WITH RING ABOVE\n')
s.addstr('\xc3\xa5 U+00F5 LATIN SMALL LETTER O WITH TILDE')
s.refresh()
s.getstr()
curses.endwin()


I tested with gnome-terminal, Python 2.4 and Ubuntu breezy.  The output
is correct when I run the following code:


print '\xc3\x85 U+00C5 LATIN CAPITAL LETTER A WITH RING ABOVE'
print '\xc3\xa5 U+00F5 LATIN SMALL LETTER O WITH TILDE'


Any Ideas?

Ian Ward


-- 
http://mail.python.org/mailman/listinfo/python-list


Replacing curses (Was: Re: Problem with curses and UTF-8)

2006-02-07 Thread Ian Ward
Martin v. Löwis wrote:

Ian Ward wrote:
  

Any Ideas?



I think there is one or more ncurses bugs somewhere.

The ncurses documentation suggests that you should link with
ncurses_w instead of linking with ncurses - you might try
that as well. If it helps, please do report back.

Ultimately, somebody will need to debug ncurses to find out
what precisely happens, and why.
  

Thank you for your response. I see there are other people that have run 
into the same problem.

I've had to work around many curses issues while developing Urwid (a 
console UI library). Even if the bugs are fixed I'm going to have to 
bypass the curses module to support UTF-8 in a reliable way for all users.

I think there are enough escape sequences common to all modern terminals 
so that I can build a generic curses-replacement for my library. 
However, if someone is already working on something similar I don't want 
to reinvent the wheel.

Ian Ward

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.8.10 curses-based UI library

2005-11-28 Thread Ian Ward
Announcing Urwid 0.8.10
--

Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.8.10.tar.gz

Updated Tutorial:
  http://excess.org/urwid/tutorial.html


About this release:
===

This release includes three new tutorial chapters as well as a big pile of 
bug fixes.


New in this release:


  - Expanded tutorial to cover advanced ListBox usage, custom widget classes
and the Pile, BoxAdapter, Columns, GridFlow and Overlay classes.

  - Added escape sequence for 'shift tab' to curses_display.

  - Added ListBox.set_focus_valign(..) to allow positioning of the 
focus widget within the ListBox.

  - Added WidgetWrap class for extending existing widgets without inheriting
their complete namespace.

  - Fixed web_display/mozilla breakage from 0.8.9.
Fixed crash on invalid locale setting.
Fixed ListBox slide-back bug.
Fixed improper space trimming in calculate_alignment(..).
Fixed browse.py example program rows bug.
Fixed sum definition, use of long ints for python2.1.
Fixed warnings with python2.1.
Fixed Padding.get_pref_col(..) bug.
Fixed Overlay splitting CJK characters bug.


About Urwid
===

Urwid is a curses-based UI library for Python. It features fluid 
interface resizing, CJK support, multiple text layouts, simple 
attribute markup, powerful scrolling list boxes, flexible edit boxes
and HTML screen shots.

Urwid is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Speedometer 2.1 - bandwidth and download monitor

2005-11-06 Thread Ian Ward
Announcing Speedometer 2.1
--

Speedometer home page:
  http://excess.org/speedometer/

Download:
  http://excess.org/speedometer/speedometer.py


New in this release:


  - New simultaneous display of multiple graphs with options for stacking
graphs vertically or horizontally
  
  - New labels to differentiate each graph

  - Removed 0-32 B/s from display to make more room for higher speeds
  
  - Fixed a wait_creation bug


About Speedometer
=

Speedometer is a console bandwidth and file download progress monitor with
a logarithmic bandwidth display and a simple command-line interface.

Speedometer requires Python 2.1 or later and Urwid 0.8.9 or later for
full-console bar graph display.  Urwid may be downloaded from:
http://excess.org/urwid/

Speedometer is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Speedometer 2.0 - bandwidth and download monitor

2005-10-22 Thread Ian Ward
Announcing Speedometer 2.0
--

Speedometer home page:
  http://excess.org/speedometer/

Download:
  http://excess.org/speedometer/speedometer.py


New in this release:


  - New full-console bar graph display based on Urwid 0.8.9
  
  - Realigned graphic scale to more common units


About Speedometer
=

Speedometer is a console bandwidth and file download progress monitor with
a logarithmic bandwidth display and a simple command-line interface.

Speedometer requires Python 2.1 or later and Urwid 0.8.9 or later for
full-console bar graph display.

Speedometer is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.8.8 with web_display

2005-06-14 Thread Ian Ward
Announcing Urwid 0.8.8
--

Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.8.8.tar.gz
or:
  https://excess.org/urwid/urwid-0.8.8.tar.gz


Summary:


This release adds a new web_display module that can emulate a console
display within a web browser window, as well as other enhancements.  

Live demo of the web_display module:
  http://live.excess.org/


New in this release:


  - New web_display module that emulates a console display within a web 
browser window.  Application must be run as a CGI script under Apache.

Supports font/window resizing, keepalive for long-lived connections,
limiting maximum concurrent connections, polling and connected update
methods.

Tested with Mozilla Firefox and Internet Explorer.

  - New BoxAdapter class for using box widgets in places that usually expect
flow widgets.

  - New curses_display input handling with better ESC key detection and 
broader escape code support.
  
  - Shortened resize timeout on gradual resize to improve responsiveness.
  

About Urwid
===

Urwid is a curses-based UI library for Python. It features fluid 
interface resizing, CJK support, multiple text layouts, simple 
attribute markup, powerful scrolling list boxes, flexible edit boxes
and HTML screen shots.

Urwid is released under the GNU LGPL.
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: Urwid 0.8.7

2005-04-23 Thread Ian Ward
Announcing Urwid 0.8.7
--

Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.8.7.tar.gz
or:
  https://excess.org/urwid/urwid-0.8.7.tar.gz


Summary:


This release adds a number of new widget classes as well as feature
enhancements for existing widget classes.  It also comes with a new 
example program similar to the dialog(1) command.


New in this release:


  - New widget classes: Button, RadioButton, CheckBox.
  
  - New layout widget classes: Padding, GridFlow.

  - New dialog.py example program that behaves like dialog(1) command.

  - Pile widgets now support selectable items, focus changing with up and
down keys and setting the cursor position.
  
  - Frame widgets now support selectable items in the header and footer.

  - Columns widgets now support fixed width and relative width columns, a
minimum width for all columns, selectable items within columns containing
flow widgets (already supported for box widgets), focus changing with
left and right keys and setting the cursor position.

  - Filler widgets may now wrap box widgets and have more alignment options.

  - Updated tour.py example program to show new widget types and features.

  - Avoid hogging cpu on gradual window resize and fix for slow resize 
with cygwin's broken curses implementation.

  - Fixed minor CJK problem and curs_set crash under MacOSX and Cygwin.

  - Fixed crash when deleting cells in calc.py example program.


About Urwid
===

Urwid is a curses-based UI library for Python. It features fluid 
interface resizing, CJK support, multiple text layouts, simple 
attribute markup, powerful scrolling list boxes, flexible edit boxes
and HTML screen shots.


-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html


ANN: Urwid 0.8.6

2005-01-04 Thread Ian Ward
Announcing Urwid 0.8.6
--

Urwid home page:
  http://excess.org/urwid/

Tarball:
  http://excess.org/urwid/urwid-0.8.6.tar.gz


Current Urwid users PLEASE NOTE:


This version of Urwid changes the default foreground and background for
areas of the screen with no attributes.  You may need to AttrWrap(..)
some of your widgets for your program to look the same.


New in this release:


  - Improved support for CJK double-byte encodings:
BIG5, UHC, GBK, GB2312, CN-GB, EUC-KR, EUC-CN, EUC-JP (JISX 0208 only)
and EUC-TW (CNS 11643 plain 1 only)

  - Added support for ncurses' use_default_colors() function to 
curses_display module (Python = 2.4).
 
register_palette(..) and register_palette_entry(..) now accept 
default as foreground and/or background.  If the terminal's
default attributes cannot be detected black on light gray will be
used to accommodate terminals with always-black cursors.

default is now the default for text with no attributes. This means
that areas with no attributes will change from light gray on black 
(curses default) to black on light gray or the terminal's default.

  - Modified examples to not use black as background of Edit widgets.

  - Fixed curses_display curs_set call so that cursor is hidden when 
widget in focus has no cursor position.


About Urwid
===

Urwid is a curses-based UI library for Python. It features fluid 
interface resizing, CJK support, multiple text layouts, simple 
attribute markup, powerful scrolling list boxes, flexible edit boxes
and HTML screen shots.


-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations.html