Hi all,
Just in time to tuck it under your Christmas tree, I've just made another preview snapshot of wxPython 2.5.1, it is availabe at
http://alldunn.com/wxPython/preview/2.5.x/wxPythonWIN32-preview-2.5.1p5.tar.gz
Just like the last one, this is only a quickie tarball of the Win32 Python 2.3 version of wxPython, there is no installer. Just unpack the archive somewhere like c:\ and then you can use it without disturbing your 2.4 install simply by setting PYTHONPATH to c:\wxPython-2.5.1p5.
Thanks mostly to Jeff G. the demo and most of the lib has been converted to the new wx namespace. If you run into any problems related to that please let us know.
Other changes since the last preview include improved generation of the automatic docstrings, generation of XML metadata that can be used for generating the refernce docs (see below) many of the bugs that were reported with the last preview as well as several others I've found along the way.
The metadata is located in docs/xml/wxPython-metadata.xml. It needs a bit more refinement in the content (some things still need converting to new names, etc.) but I think the basic structure is all set. Most parts of the data should be self explainitory, but here are a few notes:
* There are up to three types of documentation that can be attached to items. <autodoc> is what is either what is generated by my SWIG modifications, or is explicitly specified in the .i files and is the definition of the parameter types of functions or methods. <docstring> is the short description of items that are specified in the .i files. The autodoc + docstring are what is put into the .py files as the docstring of the items. The third docstring type is <refdoc> and is intended to be used for the detailed docs that will only show up in the reference docs. There are currently only a few <docstring>'s and very few <refdoc>'s as I've been working more on tools and structure, but they'll start coming soon.
* The content of the <pythoncode> elements are directly copied from the %pythoncode directives in the .i files, and they are also written to the .py files. I included it in the metadata "just in case" but since there is no structure there they will probably only be useful if generating a pseudo wx pacakge for runnign epydoc on or something. I would like to find a way to include metadata for things that are added in <pythoncode>'s...
* I included overloaded="yes|no" attributes for functions/methods since I am starting to use SWIG's overloading abilities in a few places. You'll notice that the autodoc for those already includes all of the overloaded signatures.
If there are any questions or suggestions about the XML structure just ask.
Riaan, you had volunteered to do scripting for generating docs. Is there enough info in the metadata file to do what yo had in mind?
I'm sure there was more that I was going to write more here but I'm too tired to think straight so I'm going to quit before I start babbling incoherently...
Happy Holidays all!
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!