Revision 1200042

Go back to digest for 28th November 2010

Other in Development Tools

Chris Burel committed changes in /trunk/KDE/kdebindings/perl:

QtCore4.pm, KDECore4.pm: Allow client modules to tell QtCore4.pm about an array type they implement, for ambiguous method resolution.

handlers.cpp: Fix the from Perl marshaller for classes to use a version of Smoke::cast that correctly handles module boundaries.

util.cpp: Signals can be overloaded, but we want to check to make sure that the number of arguments passed to the signal are the same the number the signal accepts. So if we find a signal with the correct name but the wrong number of arguments, keep looking for another one.

util.cpp: Some weird cases when using the kperlpluginfactory ends up with entries in the pointer map that have a refcount of 0. Running hv_delete causes Perl to abort. So check the refcount before trying to delete them.

kperlpluginfactory.cpp: Use a "use lib" line instead of passing "-I" in argv to perl_parse. This way we can support loading in multiple plugins.

kdecore4handlers.cpp, plasma4handlers.cpp: Add a bunch of list handlers, copied from Ruby.

Update kdeui examples to not use the Qt4:: namespace anymore.
Update the analogclock plasmoid example. Now complete with calendar!

File Changes

Added 4 files
  • /trunk/KDE/kdebindings/perl/plasma/examples/applets/analogclock
  •   /Calendar.pm
  •   /calendarConfig.ui
  •   /CalendarTable.pm
  •   /WheelyToolButton.pm
Modified 23 files
  • /trunk/KDE/kdebindings/perl
  •   /kdecore/lib/KDECore4.pm
  •   /kdecore/src/KDECore4.xs
  •   /kdecore/src/kdecore4handlers.cpp
  •   /kdeui/src/kperlpluginfactory.cpp
  •   /plasma/src/plasma4handlers.cpp
  •   /qtcore/lib/QtCore4.pm
  •   /qtcore/src/handlers.cpp
  •   /qtcore/src/marshall_macros.h
  •   /qtcore/src/util.cpp
  •   /kdeui/examples/introduction/tutorial1/tutorial1.pl
  •   /kdeui/examples/introduction/tutorial2/MainWindow.pm
  •   /kdeui/examples/introduction/tutorial2/tutorial2.pl
  •   /kdeui/examples/introduction/tutorial3/MainWindow.pm
  •   /kdeui/examples/introduction/tutorial3/tutorial3.pl
  •   /kdeui/examples/introduction/tutorial4/MainWindow.pm
  •   /kdeui/examples/introduction/tutorial4/tutorial4.pl
  •   /kdeui/examples/introduction/tutorial5/MainWindow.pm
  •   /kdeui/examples/introduction/tutorial5/tutorial5.pl
  •   /plasma/examples/applets/analogclock/Clock.pm
  •   /plasma/examples/applets/analogclock/ClockApplet.pm
  •   /plasma/examples/applets/analogclock/Makefile
  •   /plasma/examples/applets/analogclock/plasma-applet-perl-analogclock.desktop
  •   /plasma/examples/applets/helloplasmoid/PlasmaAppletPerlHelloPlasmoid.pm
27 files changed in total