debian/0000755000000000000000000000000012252736041007170 5ustar debian/patches/0000755000000000000000000000000012207652361010621 5ustar debian/patches/01-fix-spelling-error.diff0000644000000000000000000001532412207652361015426 0ustar Description: fix man page Author: Fabrizio Regalli Forwarded: not-needed --- a/XMLApplication.pm +++ b/XMLApplication.pm @@ -484,7 +484,7 @@ content deliverment. As well CGI::XMLApplication is designed to support project management -on code level. The class allows to split web applications into several +on code level. The class allows one to split web applications into several simple parts. Through this most of the code stays simple and easy to maintain. Throughout the whole runtime of a script CGI::XMLApplication tries to keep the application stable. As well a @@ -520,10 +520,10 @@ or less redundant code. Since most CGI-scripts are waiting for B, which is usually the code abstraction of a click of a submit button or an image, CGI::XMLApplication implements a simple -event system, that allows to keep event related code as separated as +event system, that allows one to keep event related code as separated as possible. -Therefore final application class is not ment to have a constructor +Therefore final application class is not meant to have a constructor anymore. All functionality should be encapsulated into implicit or explicit event handlers. Because of a lack in Perl's OO implementation the call of a superclass constructor before the current constructor @@ -688,7 +688,7 @@ to any kind of display type, there should be no need to override this function. One can pass a context hash or context object, to pass external or prefetched information to the application. This context will be -available and acessable in all events and most extra functions. +available and accessible in all events and most extra functions. This function does all event and serialization related work. As well there is some validation done as well, so catched events, that are not @@ -756,8 +756,8 @@ To make it clear: If CGI::XMLApplication throws a panic, the application is broken, not completely implemented or stylesheets are -missing or broken. Application panics are ment for debugging purposes -and to avoid I. They are B ment as a +missing or broken. Application panics are meant for debugging purposes +and to avoid I. They are B meant as a replacement of a propper error handling! But how does CGI::XMLApplication know about the correct event handler? @@ -813,7 +813,7 @@ =item method sendEvent SCALAR -Sometimes it could be neccessary to send an event by your own (the +Sometimes it could be necessary to send an event by your own (the script's) initiative. A possible example could be if you don't have client input but path_info data, which determinates how the script should behave or session information is missing, so the client should @@ -875,7 +875,7 @@ CGI::XMLApplication knows three implicit events which are more or less independent to client responses: They are 'init', 'exit', and 'default'. These events already exist for any -CGI::XMLApplication. They need not to be implemented separatly if they +CGI::XMLApplication. They need not to be implemented separately if they make no sense for the application. =over 4 @@ -896,7 +896,7 @@ =item event_default This event is called as a fallback mechanism if CGI::XMLApplication -did not receive a stylesheet id by an other event handler; for example +did not receive a stylesheet id by another event handler; for example if no event matched. =back @@ -994,7 +994,7 @@ or remove cookies. The keys of the hash must be the same as the named parameters of CGI.pm's header method. One does not need to care about the output of these headers, this is done by CGI::XMLApplication -automaticly. +automatically. The content type of the returned data is usually not required to be set this way, since the XSLT processor knows about the content type, @@ -1005,7 +1005,7 @@ If the B is implemented the CGI::XMLApplication will assume the returned value either as a filename of a stylesheet or as a XML DOM representation of the same. If Stylesheets are stored in a -file accessable from the , one should set the common path for the +file accessible from the , one should set the common path for the stylesheets and let B do the parsing job. In cases the stylesheet is already present as a string (e.g. as a @@ -1018,14 +1018,14 @@ If none of these stylesheet selectors succeeds the I panic code is thrown. If the parsing of the stylesheet XML fails I is thrown. The latter case will also -give some informations where the stylesheet selection failed. +give some information where the stylesheet selection failed. B has to return a valid path/filename for the stylesheet requested. =item getXSLTParameter() -This function allows to pass a set of parameters to XML::LibXSLT's xsl +This function allows one to pass a set of parameters to XML::LibXSLT's xsl processor. The function needs only to return a hash and does not need to encode the parameters. @@ -1066,7 +1066,7 @@ interpreted as just described. If an application sets passthru by itself any external 'passthru' -parameter will be lost. This is usefull if one likes to avoid, someone +parameter will be lost. This is useful if one likes to avoid, someone can fetch the plain (untransformed) XML Data. @@ -1096,14 +1096,14 @@ This function searches the query string for a parameter with the passed name. The implementation is "imagesave" meaning there is no change in the code needed, if you switch from input.type=submit to -input.type=image or vv. The algorithm tests wheter a full name is +input.type=image or vv. The algorithm tests whether a full name is found in the querystring, if not it tries tests for the name expanded by a '.x'. In context of events this function interprets each item part in the query string list as an event. Because of that, the algorithm returns only the first item matched. If you use the event interface on this function, make sure, the -HTML-forms pass unique events to the script. This is neccessary to +HTML-forms pass unique events to the script. This is necessary to avoid confusing behaviour. This function is used by testEvent() so if it is required to change @@ -1114,7 +1114,7 @@ This a simple error message handler. By default this function will print some information to the client where the application failed. While development this is a useful feature on production -system this may pass vunerable informations about the system to the +system this may pass vunerable information about the system to the outside. To change the default behaviour, one may write his own panic method or simply set I<$CGI::XMLApplication::Quiet> to 1. The latter still causes the error page but does not send any error message. debian/patches/series0000644000000000000000000000003312207652361012032 0ustar 01-fix-spelling-error.diff debian/compat0000644000000000000000000000000212252734775010402 0ustar 9 debian/watch0000644000000000000000000000020012207652361010213 0ustar version=3 https://metacpan.org/release/CGI-XMLApplication/ .*/CGI-XMLApplication-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/changelog0000644000000000000000000001305012252736041011041 0ustar libcgi-xmlapplication-perl (1.1.3-7) unstable; urgency=low * Team upload [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. * debian/watch: use dist-based URL. * Drop POD fixes, not needed any more. * Set Standards-Version to 3.7.3 (no changes). * Refresh debian/rules, no functional changes. * Delete debian/libcgi-xmlapplication-perl.*, let debian/rules do the work. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * Change my email address. * debian/control: Changed: (build-)depend on perl instead of perl- modules. [ Fabrizio Regalli ] * Bump to 3.9.2 Standard-Version. * Switch to DEP5 license format. * Added myself to Uploaders and Copyright. * Added 01-fix-spelling-error.diff. * Moved d/rules to three lines standard version. * Bump to 3.0 quilt format. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" * Apply wrap-and-sort * Fix lintian warning binary-control-field-duplicates-source (2x) * Bump debhelper compatibility to 9 + Update versioned debhelper build-dependency accordingly * Bump Standards-Version to 3.9.5 (no changes) -- Axel Beckert Sat, 14 Dec 2013 03:02:09 +0100 libcgi-xmlapplication-perl (1.1.3-6) unstable; urgency=low * New Maintainer: Debian Perl Group (closes: #317405). * Improve watch file. -- gregor herrmann Fri, 6 Oct 2006 20:46:45 +0200 libcgi-xmlapplication-perl (1.1.3-5) unstable; urgency=low * QA upload. * Use $(CURDIR) instead of $(PWD) in debian/rules (Closes: #390475) * Move debhelper to B-D-I * Use at least debhelper 5.0.0 * Conforms with latest Standards Version 3.7.2 -- Michael Ablassmeier Sun, 1 Oct 2006 17:29:02 +0200 libcgi-xmlapplication-perl (1.1.3-4) unstable; urgency=low * Set maintainer to Debian QA Group * Updated Standards-Version * Removed versions in versioned dependencies as even oldstable has high enough versions -- Luk Claes Sat, 10 Sep 2005 11:53:34 +0000 libcgi-xmlapplication-perl (1.1.3-3) unstable; urgency=low * Changing maintainer to Debian Perl Group * debian/control: added Uploaders * XMLApplication.pm: escaping some - as \- -- Luk Claes Tue, 18 Jan 2005 15:55:06 +0100 libcgi-xmlapplication-perl (1.1.3-2) unstable; urgency=high * Urgency high because of FTBFS * Makefile: rerun Makefile instead of failing. -- Luk Claes Fri, 5 Nov 2004 16:51:22 +0100 libcgi-xmlapplication-perl (1.1.3-1) unstable; urgency=low * New upstream release (closes: #252929) * debian/watch: added * debian/copyright: added me as maintainer -- Luk Claes Mon, 7 Jun 2004 17:20:14 +0200 libcgi-xmlapplication-perl (1.1.2-2) unstable; urgency=low * New maintainer (closes: #210207) * Uploaded for Luk by Jaldhar H. Vyas -- Jaldhar H. Vyas Wed, 22 Oct 2003 19:48:37 +0000 libcgi-xmlapplication-perl (1.1.2-1) unstable; urgency=low * New upstream release * debian/control: removed obsolete (build) dependency on 'libcgi-pm-perl' * debian/rules: moved debhelper compatibility level setting to 'debian/compat' per latest debhelper best practices * debian/control: updated sections according to latest archive changes: - 'libcgi-xmlapplication-perl' from 'interpreters' to 'perl' * debian/control: changed build dependency on 'debhelper' to '(>= 4.1)' * debian/control: upgraded to Debian Policy 3.6.0 (no changes) -- Ardo van Rangelrooij Sat, 26 Jul 2003 12:33:39 -0500 libcgi-xmlapplication-perl (1.1.1-2) unstable; urgency=low * debian/rules: upgraded to debhelper v4 * debian/control: changed build dependency on debhelper accordingly * debian/rules: migrated from 'dh_movefiles' to 'dh_install' * debian/rules: split off 'install' target from 'binary-indep' target * debian/copyright: added pointer to license -- Ardo van Rangelrooij Sun, 4 Aug 2002 20:15:32 -0500 libcgi-xmlapplication-perl (1.1.1-1) unstable; urgency=low * New upstream release -- Ardo van Rangelrooij Tue, 1 Jan 2002 13:48:08 -0600 libcgi-xmlapplication-perl (1.1.0-1) unstable; urgency=low * New upstream release -- Ardo van Rangelrooij Sat, 22 Dec 2001 20:17:51 -0600 libcgi-xmlapplication-perl (1.0-1) unstable; urgency=low * New upstream release * debian/control: upgraded to Debian Policy 3.5.6 -- Ardo van Rangelrooij Sat, 17 Nov 2001 20:25:24 -0600 libcgi-xmlapplication-perl (0.9.3-2) unstable; urgency=low * debian/control: reduced description to its essentials (closes: Bug#111807) -- Ardo van Rangelrooij Thu, 13 Sep 2001 21:55:39 -0500 libcgi-xmlapplication-perl (0.9.3-1) unstable; urgency=low * Initial Release -- Ardo van Rangelrooij Sat, 1 Sep 2001 21:08:48 -0500 debian/copyright0000644000000000000000000000217412252734532011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Socket-Linux Upstream-Contact: Christian Glahn Source: http://search.cpan.org/~phish/CGI-XMLApplication-1.1.3/ Files: * Copyright: 2001, Christian Glahn License: Artistic or GPL-1+ Files: debian/* Copyright: 2001, Ardo van Rangelrooij 2011, Fabrizio Regalli License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/control0000644000000000000000000000233312252735555010605 0ustar Source: libcgi-xmlapplication-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: gregor herrmann , Fabrizio Regalli Standards-Version: 3.9.5 Homepage: https://metacpan.org/release/CGI-XMLApplication/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libcgi-xmlapplication-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libcgi-xmlapplication-perl.git Build-Depends-Indep: libxml-libxml-perl, libxml-libxslt-perl, perl Build-Depends: debhelper (>= 9~) Package: libcgi-xmlapplication-perl Architecture: all Depends: libxml-libxml-perl, libxml-libxslt-perl, ${misc:Depends}, ${perl:Depends} Description: perl module for creating XML-DOM and OO based CGI scripts This module provides an XML-DOM and object-oriented extension to the CGI module. The XML-DOM extension allows one to generate the output from XML and laid out according to an XSLT stylesheet, separating code and presentation. The object-oriented extension allows one to specify handlers for events like a mouse click on a submit button or on an image. debian/source/0000755000000000000000000000000012207652361010472 5ustar debian/source/format0000644000000000000000000000001412207652361011700 0ustar 3.0 (quilt) debian/libcgi-xmlapplication-perl.examples0000644000000000000000000000001312207652361016137 0ustar examples/* debian/rules0000755000000000000000000000003612207652361010251 0ustar #!/usr/bin/make -f %: dh $@