ANNOUNCE: wxPython 2.5.4.1

2005-03-17 Thread Robin Dunn
Announcing
--
I'm pleased to announce the 2.5.4.1 release of wxPython, now available
for download at http://wxpython.org/download.php
What is wxPython?
-
wxPython is a GUI toolkit for the Python programming language. It
allows Python programmers to create programs with a robust, highly
functional graphical user interface, simply and easily. It is
implemented as a Python extension module that wraps the GUI components
of the popular wxWidgets cross platform library, which is written in
C++.
wxPython is a cross-platform toolkit. This means that the same program
will usually run on multiple platforms without modifications.
Currently supported platforms are 32-bit Microsoft Windows, most Linux
or other Unix-like systems using GTK or GTK2, and Apple Macintosh OS
X.
Changes in 2.5.4.1
--
wx.Sizer Add, Insert, and Prepend functions now return a reference to the
wx.SizerItem that was added to the sizer, and the wx.SizerItem has a
GetRect accessor to give the position of the item on the parent window.
Added wx.Sizer.GetItem method which returns the wx.SizerItem for the given
wx.Window, wx.Sizer or position index.
wxMSW: wx.RadioButtons in the same group no longer have to be
consecutive (there may be intervening controls). Without this fix, an
out-of-sync assert is generated when clicking on a radio button and
then calling GetValue().
Some XRC changes:
- Added 'icon' property to wxFrame and wxDialog
- No longer ignores menu bitmaps on non-MSW platforms
- Notebook page bitmaps are now supported
- added system colours and fonts support (based on patch #1038207)
wxMSW: fix for [ 1052989 ] TextCtrl.SetBackgroundColour(wx.NullColour)
bug.
Added wx.PasswordEntryDialog analagous to wx.TextEntryDialog, allows
detecting entering an empty string vs. cancel unlike the
wx.GetPasswordFromUser dialog function.
OGL patch from Shane Holloway:
Two simple problems found in the new python ogl code.  First is
the patch for _canvas.py.  Essentially::
dx = abs(dc.LogicalToDeviceX(x - self._firstDragX))
dy = abs(dc.LogicalToDeviceY(y - self._firstDragY))
was incorrect because (x,y) and (self._firstDragX,
self._firstDragY) are both already in Logical coordinates.
Therefore the difference between the two is also in logical
coordinates, and the conversion call is an error.  This bug
surfaces when you have OGL on a scrollwin, and you are far from
the origin of the canvas.
The second change in _composit.py basically removes the assumption
that the child is in both self._children and self._divisions.
Causes many problems when it's not.  ;)
Fixed GetSaveData and SetSaveData in wx.lib.multisash to not depend on
the default way that class objectss are converted to strings.
Fixed problem in StyledTextCtrl.Set[HV]ScrollBar that could leave the
internal scrollbar visible.
Added wx.StandardPaths which provides methods for determining standard
system paths for each platform.
wxMSW: The window background is now only erased by default if the
background colour or background mode has been changed.  This better
allows the default system themed behaviour to show through for
uncustomized windows.  Explicit support added for using the correct
theme texture for wx.Notebook pages and their children.
wx.Image: Added support for alpha channels in interpolated and
non-interpolated image rotation.  Added ConvertAlphaToMask helper
method for turning shades of grey into shades of alpha and a colour.
wxGTK2: Reimplemented DoDrawRotatedText() by way of a rotation of an
alpha blended text bitmap.  It would be better if Pango could draw
directly into an wxImage (as FreeType can,) but that is for later...
Added wrappers and a demo for the wx.MediaCtrl class, which can play
various forms of audio/video media using native codecs install on the
system.  So far it is only implemented for Windows and OSX.
wxGTK: Patch applied for Freeze()/Thaw() for wxTextCtrtl.
Added "gravity" for splitter window (patch 1046105). Gravity is a
floating-point factor between 0.0 and 1.0 which controls position of
sash while resizing the wx.SplitterWindow.  The gravity specifies
how much the left/top window will grow while resizing.
wxMSW: wx.Slider's C++ implementation rewritten to be more
maintainable and hopefully less buggy.  The position of the labels has
also been changed in order to better comply with Microsoft's examples
of how to use the control.
wxMSW:  Fix wx.TreeCtrl to end label editing if the control loses
focus (a slightly modified patch 1084592.)
Added wx.EXEC_NODISABLE flag for wx.Execute, which will prevent all
the app's windows being disabled while a synchronous child process is
running.
wxMSW: Much work to correct painting (or leaving transparent) of
control backgrounds, properly using background themes on XP, etc.
Fixed a circular reference problem with wx.Timer.  It will now
completely cleanup after itself when the last reference to the timer
is removed.  If you 

PyCon 2005 Sprints

2005-03-17 Thread Jim Fulton
PyCon 2005 is just around the corner.  PyCon is a great place to meet
and collaborate with your colleagues.  A great way to collaborate at
PyCon is through sprints.
A sprint is a multi-day session of intense development organized
around extreme programming (XP) ideas such as pair programming.
There will be four days, March 19-22, before the regular conference
to sprint on a variety of projects.  To see what sprints are
planned, see:
  http://www.python.org/moin/PyConDC2005/Sprints
There is also useful logistical information there!
If you would like to lead a sprint, feel free to add the sprint
to that page.  If you want to participate in a sprint, visit
a sprint-topic page and add your name to the list of attendees so
that we know how many people are coming.
If you have a question about the sprints, feel free to drop me
a line at [EMAIL PROTECTED]
Note that you don't have to attend PyCon to participate in a sprint.
Jim
--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
--
http://mail.python.org/mailman/listinfo/python-announce-list
   Support the Python Software Foundation:
   http://www.python.org/psf/donations.html


ANN: ElementTree 1.2.6 (march 16, 2005)

2005-03-17 Thread Fredrik Lundh
The Element type is a simple but flexible container object, designed
to store hierarchical data structures, such as simplified XML infosets,
in memory.  The ElementTree package provides a Python implementation
of this type, plus code to serialize element trees to and from XML files.
ElementTree 1.2.6 is a maintenance release, consisting of 1.2.5 plus a
fix for proper expansion of entities defined in internal DTD:s, minor fixes
in the HTML parser, and proper serialization also if Python's default
encoding has been changed.
You can get the ElementTree package from:
   http://effbot.org/downloads#elementtree
Documentation, code samples, and pointers to articles about the Element-
Tree package are available from:
   http://effbot.org/zone/element.htm
enjoy /F
--
http://mail.python.org/mailman/listinfo/python-announce-list
   Support the Python Software Foundation:
   http://www.python.org/psf/donations.html


ANN: cElementTree 1.0.2 (march 2, 2005)

2005-03-17 Thread Fredrik Lundh
effbot.org proudly presents release 1.0.2 of the cElementTree library,
a fast and very efficient implementation of the ElementTree API, for
Python 2.1 and later.  On typical documents, it's 15-20 times faster
than the Python version of ElementTree, and uses 2-5 times less
memory.
cElementTree 1.0.2 is 1.0.1 plus the missing "iselement" function, and
a couple of minor tweaks and bug fixes.
The library is available as C source code, and as Windows installers
for all recent Python versions.  Get your copy here:
   http://effbot.org/downloads#celementtree
The cElementTree module uses some support functions from the standard
ElementTree library, and will not work properly without it.  If you haven't
installed it already, you can get it from:
   http://effbot.org/downloads#elementtree
enjoy /F
--
http://mail.python.org/mailman/listinfo/python-announce-list
   Support the Python Software Foundation:
   http://www.python.org/psf/donations.html


New Mailing List for PyCon 2005 Attendees

2005-03-17 Thread Jim Fulton
The PyCon organizers have created a mailing list for PyCon 2005 attendees:
  http://mail.python.org/mailman/listinfo/pycon2005-attendees
We've subscribed attendees we had email addresses for. If you are
attending PyCon and haven't received a welcome message, then we probably
don't have your email address and you should subscribe to get last
minute information.  Alternatively, you can keep an eye on the
archives.
We'll remove this list a week or two after PyCon.
Jim
(P.S. The subsciber list for this mailing list is only viewable by the
  list administrators.)
--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
--
http://mail.python.org/mailman/listinfo/python-announce-list
   Support the Python Software Foundation:
   http://www.python.org/psf/donations.html


ANN: Leo 4.3-a4

2005-03-17 Thread Edward K. Ream
Leo 4.3 alpha 4 is now available at http://sourceforge.net/projects/leo/

Leo 4.3 is the culmination of more than five months of work. This alpha 4
focuses on plugins: all known plugins are now in leoPlugins.leo. Most
plugins now work with the 4.3 code base.

This alpha 4 release also adds the frequently-requested Add Comments and
Delete Comments commands to Leo's Edit Body menu.

The defining features of Leo 4.3:
-
1. Leo now stores options in @settings trees, that is, outlines whose
headline is '@settings'. When opening a .leo file, Leo looks for @settings
trees not only in the outline being opened but also in various
leoSettings.leo files. Users can create arbitrarily complex user options
with @settings trees.

2. The Preferences command temporarily replaces the outline pane with an
outline showing all the @settings trees in effect. The Preferences command
also replaces the body pane with a "settings pane". This settings pane
allows you to change the settings selected in the outline pane using
standard gui widgets.

3. Leo's read/write code in leoAtFile.py has been rewritten to support
user-defined tangling and untangling. This is a major cleanup of Leo's core.

4. Leo now contains an excellent Plugins Manager plugin. This plugin enables
and disables plugins automatically and tells you everything you need to know
about each plugin. This plugin also lets you download plugins from Leo's cvs
site.

5. You can install third-party extensions in Leo's extensions directory. Leo
will attempt to import such extensions from the extensions directory when
normal imports fail. The distribution contains Python Mega Widgets in the
extensions directory.

What people are saying about Leo

"Word outlines are very useful. But Leo makes Word look like a clunky
toy." --Joe Orr

"Leo is an interactive editor for organizing text fragments hierarchically
and sequentially into one or more files and hierarchical folders, without
arbitrary limits on the number and size of text fragments and the depth of
the hierarchy...Tangle is a tool for combining hierarchically and
sequentially organized text fragments into text files, hierarchically
grouped into folders, with hierarchical or sequential organization of text
within the files, and without arbitrary limits on the size and number of
files and the depth of the hierarchy of folders and text nesting within the
files." -- Alex Abacus

"Leo reminds me a great deal of things I loved when I used Userland's
Frontier (an outlining cms with a native oodb) - but Frontier wasn't
hackable enough for me, and it wasn't oriented towards coding and literate
programming, and you couldn't round-trip rendered pages (big Leo win). This
is really a super tool - in a matter of days I've started to use it on all
my projects and I still haven't figured out how I lived without it." -- John
Sequeira

"Leo is EXACTLY the kind of outliner I was looking for--fantastic job!" --
Steve Allen

"If you are like me, you have a kind of knowledge base with infos gathered
over time. And you have projects, where you use some of those infos. Now,
with conventional outliners you begin to double these infos, because you
want to have the infos needed for the project with your project. With Leo
you can do this too, but if you change text in one place IT IS UPDATED IN
THE OTHER PLACE TOO! This is a feature I did not see with any other outliner
(and I tried a few). Amazing! Leo directly supports the way I work!" -- F.
Geiger

More quotes at: http://webpages.charter.net/edreamleo/testimonials.html

What makes Leo special?
---
- Leo's outlines add a new dimension to programming.
- Leo shows you your code and data the way _you_ want to see them.
- Leo extends, completes and simplifies literate programming.
- Leo's script buttons bring scripts to data.

What is Leo?

- A programmer's editor, an outlining editor and a flexible browser.
- A literate programming tool, compatible with noweb and CWEB.
- A data organizer and project manager. Leo provides multiple views
  of projects within a single outline.
- Fully scriptable using Python. Leo saves its files in XML format.
- Portable. leo.py is 100% pure Python.
- Open Software, distributed under the Python License.

Leo requires Python 2.2.1 or above and tcl/tk 8.4 or above.
Leo works on Linux, Windows and MacOs X.

Links:
--
Leo:  http://webpages.charter.net/edreamleo/front.html
Home: http://sourceforge.net/projects/leo/
Download: http://sourceforge.net/project/showfiles.php?group_id=3458
CVS:  http://sourceforge.net/cvs/?group_id=3458
Quotes:   http://webpages.charter.net/edreamleo/testimonials.html

Edward

Edward K. Ream   email:  [EMAIL PROTECTED]
Leo: Literate Editor with Outlines
Leo: http://webpages.charter.net/edreamleo/front.html


[ANN] Boa Constructor 0.4.0

2005-03-17 Thread Riaan Booysen
Hi everyone,
Boa Constructor 0.4.0 has been released and is available from the
SourceForge file download page.
http://sourceforge.net/project/showfiles.php?group_id=1909&package_id=1856&release_id=313481
The main focus of the release is wxPython 2.5 compatibility
and source generation for the GUI designer.
This release requires wxPython 2.5 to run.
wxPython 2.4 is no longer supported, but there is a code
upgrading tool provided to help upgrade from wxPython 2.4
to wxPython 2.5.
A special thanks to Werner Bruhin for updating the tutorial
and the code upgrading tool (started by Paul Sorenson).
Enjoy,
Riaan.
http://boa-constructor.sourceforge.net
--
http://mail.python.org/mailman/listinfo/python-announce-list
   Support the Python Software Foundation:
   http://www.python.org/psf/donations.html