Gtk2 1.030 (unstable)



On the heels of Glib 1.030, we have Gtk2 1.030, embarking on an unstable development series that ambitiously improves api coverage and testing. (We plan to merge the gtk+ 2.4 branch in this unstable series, but that's not in this release.)

This release requires Glib-1.030 (the Perl module), but will work with any stable release of gtk+-2.0 and glib-2.0 (the C libraries).


As always, the code is available from the sourceforge project's File Releases page: http://sourceforge.net/project/ showfiles.php?group_id=64773&package_id=91218&release_id=210271

If you use cvs, the tag for this release is rel-1-03-0 on gtk2-perl-xs/Gtk2, but honestly, we're moving really fast, so HEAD would be the place to stay.

Ross has a new build machine with four operating systems on it; expect signed binary packages to trickle in Friday.


The most visible change since 1.02x: the new test suite, which is about 90% to 95% the work of Torsten Schoenfeld. Exhaustive is a good word for it. We've found and reported several gtk+ bugs as a result of this suite. This is no joke. The test suite for 1.023 has 846 tests; the new suite in 1.030 has 1740 tests, and it's not even complete! We've also added Gtk2::TestHelper, which automates some of the boilerplate in all of our tests, including ignoring keyboard events (to keep the tests from failing because you were typing) and handling empty DISPLAY properly (so you can build Fedora rpms or with an automated build system).


Summary of changes from the SF release:

All of the fixes on the 1.02x branch have been made here as well, including the 64-bit cleanliness stuff, the MessageDialog utf8 fix, and the SimpleList base issue that broke upgrades from really old gtk2-perl.

Lots of general clean up. Many small bugfixes (add ornull here, fix a broken call signature there, fix uninitialized variables all over the place, etc). Adjust ALIASed xsubs to remove invalid methods from the perl namespace. Never allow NULL to be passed to SvOK().

New examples: how to use Perl threads and Gtk2 together safely; how to colorize rows in a SimpleList; how to add your own stock items; how to use inline XPM images.

Add support for GdkRegions.  Improved support for GtkRcStyles.

Added lots of other esoteric functions. Our api coverage is creeping up.

Move the implementation of the ItemFactory stuff from Perl to XS, and in the process fixed the bug that kept accelerators from showing up properly.

Extended handling of GdkGeometry. In addition to the method accessors, you can create the geom as a hash; the bindings will calculate the valid mask for you.

Implement custom marshaller for the rows-reordered signal, making it usable. (Patch from Roderich Schupp)

Completed the implementation of SPLICE on SimpleList's TiedList class.

and more.



Can you believe it? Four releases in one night! I owe it all to ccache (http://ccache.samba.org), which makes compiling Gtk2 suck a lot less.

--
Brian: If i recall correctly, this is the physics department.
Chris: That explains all that gravity.
        -- Family Guy, "The Story on Page One"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]