[interchange-cvs] interchange - heins modified lib/Vend/Config.pm

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Sat Feb 2 14:00:01 2002


User:      heins
Date:      2002-02-02 18:59:34 GMT
Modified:  lib/Vend Config.pm
Log:
	* Add "Widget" and "LocaleChange" as recognized CodeDef types.
	  I am still unsure whether we should have a Global LocaleChange,
	  but probably so.

	* Some sorting of names in the process of the above.

Revision  Changes    Path
2.32      +36 -32    interchange/lib/Vend/Config.pm


rev 2.32, prev_rev 2.31
Index: Config.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Config.pm,v
retrieving revision 2.31
retrieving revision 2.32
diff -u -r2.31 -r2.32
--- Config.pm	1 Feb 2002 17:01:52 -0000	2.31
+++ Config.pm	2 Feb 2002 18:59:34 -0000	2.32
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.31 2002/02/01 17:01:52 kwalsh Exp $
+# $Id: Config.pm,v 2.32 2002/02/02 18:59:34 mheins Exp $
 #
 # Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
 #
@@ -44,7 +44,7 @@
 use Vend::Parse;
 use Vend::Util;
 
-$VERSION = substr(q$Revision: 2.31 $, 10);
+$VERSION = substr(q$Revision: 2.32 $, 10);
 
 my %CDname;
 
@@ -969,6 +969,8 @@
 		oc	OrderCheck
 		ut	UserTag
 		fi	Filter
+		fw	Widget
+		lc	LocaleChange
 		tag	UserTag
 		ct	CoreTag
 	/;
@@ -3054,22 +3056,23 @@
 
 my %tagCanon = ( qw(
 
-	alias			Alias
-	addattr  		addAttr
-	attralias		attrAlias
-	cannest			canNest
-	documentation	Documentation
-	endhtml			endHTML
-	gobble			Gobble
-
 	group			Group
 	actionmap		ActionMap
+	coretag  		CoreTag
 	filter			Filter
 	formaction		FormAction
 	ordercheck		OrderCheck
 	usertag			UserTag
 	systemtag		SystemTag
+	widget  		Widget
 
+	alias			Alias
+	addattr  		addAttr
+	attralias		attrAlias
+	cannest			canNest
+	documentation	Documentation
+	endhtml			endHTML
+	gobble			Gobble
 	hasendtag		hasEndTag
 	implicit		Implicit
 	inserthtml		insertHTML
@@ -3093,34 +3096,35 @@
 
 my %tagAry 	= ( qw! Order 1 Required 1 Version 1 ! );
 my %tagHash	= ( qw!
-				replaceAttr	1
-				Implicit	1
-				attrAlias	1
+                attrAlias   1
+                Implicit    1
+                replaceAttr 1
 				! );
 my %tagBool = ( qw!
-				hasEndTag	1
-				Interpolate 1
-				canNest		1
-				isEndAnchor	1
-				addAttr 	1
-				Filter		1
-				ItemAction	1
-				ActionMap	1
-				FormAction	1
-				OrderCheck	1
-				UserTag	    1
-				isOperator	1
+                ActionMap   1
+                addAttr     1
+                canNest     1
+                Filter      1
+                FormAction  1
+                hasEndTag   1
+                Interpolate 1
+                isEndAnchor 1
+                isOperator  1
+                ItemAction  1
+                OrderCheck  1
+                UserTag     1
 				! );
 
 my %current_dest;
 my %valid_dest = qw/
-					filter     Filter
-					itemaction ItemAction
-					actionmap  ActionMap
-					formaction FormAction
-					ordercheck OrderCheck
-					coretag    UserTag
-					usertag    UserTag
+                    actionmap  ActionMap
+                    coretag    UserTag
+                    filter     Filter
+                    formaction FormAction
+                    itemaction ItemAction
+                    ordercheck OrderCheck
+                    usertag    UserTag
+                    widget     Widget
 				/;
 
 sub finalize_mapped_code {