Revision history for Perl module Glade::PerlGenerate development branch. Wed Jun 20 14:48:25 BST 2001 Dermot Musgrove - Version 0.59 - All modules now have empty DESTROY() sub as perl 5.6 demands. PerlRun->AUTOLOAD() also caters for (ignores) AUTOLOADED DESTROY() call. PerlRun perldoc corrected to lose warnings in pod2man. Thanks to Jim Edwards for the super-fast reports and patches. - PerlRun->lookup_widget() is a new method that accesses a window or a form's widget by name. It prints an error if the widget does not exist. e.g. my $widget = $window->lookup_widget('clist1'); OR my $form = $window->FORM; # or use $form in signal handlers my $widget = $form->lookup_widget('clist1'); - Glade-Perl will now create skeleton documentation files if they do not already exist. These default to files in directory 'Documentation' called COPYING, Changelog, FAQ, INSTALL, NEWS, README, ROADMAP and TODO If you don't want to generate the doc files add a line to site or project options file: 0 - Glade-Perl will now create skeleton distribution files if they do not already exist. These default to files - Makefile.PL, MANIFEST.SKIP, Project.spec and test.pl - so you should be able to call: 'perl Makefile.PL; make manifest; make dist;' and then either 'rpm -ta Project-0.01.tar.gz' to build a RPM or the normal perl methods of 'make test' and 'make install'. This is all at a very early stage and will probably fail in many cases but you should, at least, have some files to edit :) If you don't want to generate the dist files add a line to site or project options file: 0 Fri Apr 13 01:01:22 BST 2001 Dermot Musgrove - Version 0.58 - Mimimum requirements increased to Gtk-Perl-0.7000 and gnome-libs-1.2.0 These have been around for a year or more now and fix many problems. - All packages - Extensive tidying of options handling with a new data structure. Old format options files will be read as before but project options will be saved in the new hierarchically nested structure. - The options handling and diagnostics utilities have been moved to Glade::PerlRun so that you can use them in your own apps. - PerlUI - some variables updated for Gtk-Perl-0.7004 and later. - Some changes to generated comments and source code. - glade2perl - removed redundant 'use English' call New, more meaningful 'set_by' value and New (2nd) arg to specify verbosity in glade2perl call eg. 'glade2perl Project.glade 2' Simplified usage so that a separate Glade::PerlGenerate->options() call is not needed and the options can be specified to Form_from_File() Also, undefined glade_filename causes most recently used file stored in your user options file to run. - PerlRun->reload_any_altered_modules() is a new sub for app testing to reload any modules that have been edited. This idea is from Stas Bekman and gives you the ability to edit and reload any signal handlers and support modules without closing down the app and restarting it. This is not possible if you regenerate the UI module and reload it. Your app will crash in flames if you try this. Simply call '__PACKAGE__->reload_any_altered_modules;' in a handler for any widget/signal you like (I usually use a Refresh button). - PerlGenerate->Form_from_Glade_File() amended to call two new subs parse_form() and build_form() to allow use in future Glade::Helper app. - PerlGenerate->about_Form() fixed to use proper pixmap option - PerlGenerate->Form_from_Proto() now only generates subclass for simple AUTOLOAD style runs. - PerlRun->load_translations() amended to look for .mo files in several possible places if a catalog path is not specified. - An extra form element is now returned from generated UI constructor so that you can call $form->{'TOPLEVEL'} in any signal handler to get a toplevel form widget - ie. use $form->{'TOPLEVEL'}->get_filename() to get the file name entered in a fileselection dialog from the 'on_ok_button_clicked' signal handler. - PerlUI->my_gtk_perl_can_do() now also checks for particular versions that are known to be flawed in certain ways. - FAQ split into 3 files - all old FAQs are available on the website. FAQ - Frequently asked questions (general) FAQ.i18n - FAQs relating to internationalisation (I18N) issues. FAQ.old - FAQs relating to old/flawed software versions - PerlSource->perl_about() generates `gnome-config --version` call in Gnome about_Form() sub in App/SubApp. If the gnome-libs-devel RPM is not installed the gnome-libs version number will not be reported. - PerlSource now generates lines in app_run to load translations. - Glade-Perl.spec file based on one from George, the mp3 organiser. This one works I think and allows RPM builds from the tarball by calling eg. 'rpm -ta Glade-Perl-0.58.tar.gz'. - PerlUI->new_accelerator() - accelerator key now defaults to ''. PerlUIExtra->new_GtkPixmapMenuItem() also defaults key to '' PerlProject->use_Glade_Project() now escapes double quotes in author. Thanks for bug reports for the above reports to Joe "Markus" Clark. Fri Oct 20 01:19:45 BST 2000 Dermot Musgrove - Version 0.57 - PerlUIGtk->new_GtkPixmap() fixed to use project logo as default rather than crash in flames if no pixmap is specified. - PerlUIExtra->new_GnomePixmap() now also uses project logo as default - PerlUI->Widget_from_Proto() fixed to report missing constructors and properties correctly rather than die()ing. - $PerlUI::perl_gtk_depends updated to ignore gnome-db widgets until Gtk::Perl can handle them. - PerlRun->full_Path() fixed to remove any /../ parts in the filename so that the returned full path is exact and unique if possible. - PerlGenerate pod corrected and improved. - COPYING file changed to invite commercial users to make a donation to perl.org (donors at perlmongers.org) rather than me ;-> I borrowed the COPYING file from a CPAN module and was embarrassed to reread it when Scott Barninger of Piedmont Airlines accepted the invitation! - PerlUI->internal_pack_widget() fixed to pack Gtk::PixmapMenuItem submenus correctly. - Glade-Perl.spec file borrowed from Gtk-Perl dist to allow RPM builds. This doesn't work yet - but if you can help ... - PerlSource amended to also write a method app_run() to ProjectSIGS.pm and Project.pm (first time) for any user UI initialisation code. - PerlGUIGtk->new_GtkButton() now caters for 'relief' (in Glade-0.5.10) - PerlGUIGtk->new_GtkToggleButton() now caters for 'relief' (as above) - Null source_directory now generates source in project directory (and not in ./src) to match the actions of Glade 0.5.11. - New error message if there are minus signs/spaces/dots in signal handler names - they are substituted by _MINUS_/_SPACE_/_DOT_. This is really to deal with the new (Glade 0.5.10) default widget names for combo_box entry widgets (eg combo-entry1 and handler on_combo-entry1_activate) - Changelog - this file reduced to versions >= 0.50. (Older on website) - If the user option