
CVS log for interchange/code/UserTag/var.tag
Up to [Local Repository] / interchange / code / UserTag
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 31 00:20:18 2007 UTC (19 months, 3 weeks ago) by pajamian
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +9 -4
lines
Fix incorrect license in headers GPL v2 -> GPL v2 "or later". Update copyrights.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Mar 30 23:40:57 2007 UTC (19 months, 3 weeks ago) by pajamian
Branches: MAIN
CVS tags: STABLE_5_6-root,
STABLE_5_6-branch,
REL_5_7_1,
REL_5_6_1,
REL_5_5_3,
REL_5_5_2,
REL_5_5_1,
HEAD,
DEB_5_5_1_1_1,
DEB_5_5_1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -4
lines
Fix incorrect license in headers GPL v2 -> GPL v2 "or later". Update copyrights.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Nov 8 18:14:43 2005 UTC (3 years ago) by jon
Branches: MAIN
CVS tags: STABLE_5_4-root,
REL_5_4_2,
REL_5_4_1,
REL_5_4_0,
REL_5_3_3,
REL_5_3_2
Branch point for: STABLE_5_4-branch
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Big copyright and version number update to prepare for 5.3.2 release.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 10 14:38:39 2005 UTC (3 years, 9 months ago) by docelic
Branches: MAIN
CVS tags: DEB_5_3_0_20051028_1,
DEB_5_3_0_20051004_1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5
lines
Header/license fix or Version update+minor formatting fix, or both
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Sep 24 15:30:23 2004 UTC (4 years, 1 month ago) by docelic
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
- *: Fixed headers
- button.tag: proper quoting in html generated from 2 loops
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Sep 24 12:01:48 2004 UTC (4 years, 1 month ago) by docelic
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -11
lines
Documented it in xmldocs, fixed header
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Feb 11 22:06:06 2004 UTC (4 years, 9 months ago) by racke
Branches: MAIN
CVS tags: STABLE_5_2-root,
STABLE_5_2-branch,
REL_5_2_1,
REL_5_2_0,
REL_5_1_1,
REL_5_1_0,
MANIFEST,
DEB_5_2_1_1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -4
lines
use positional variable for filter, remove include artifact
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Feb 11 19:56:17 2004 UTC (4 years, 9 months ago) by racke
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
missing addAttr and $opt variable added
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Feb 11 14:40:45 2004 UTC (4 years, 9 months ago) by jon
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +17 -12
lines
Allow filter attribute to var tag, similar to value, cgi, and scratch,
except that filtered value will never be saved back into the variable.
Example:
[var name=ADDRESS filter=html2text]
Incidentally I think the logic of this tag's code is now much easier to
follow.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:20:36 2003 UTC (5 years, 9 months ago) by racke
Branches: LINUXIA
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +0 -0
lines
updated LINUXIA branch to 4.9 sources in order to use it as testbed again
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 13 23:28:48 2003 UTC (5 years, 10 months ago) by mheins
Branches: MAIN
CVS tags: STABLE_5_0-root,
STABLE_5_0-branch,
REL_5_0_2,
REL_5_0_1,
REL_5_0_0_RC2,
REL_5_0_0_RC1,
REL_5_0_0,
REL_4_9_9,
REL_4_9_8,
DEB_5_0_0_2,
DEB_4_9_8_20031014_1,
DEB_4_9_8_20031010_1,
DEB_4_9_8_20030911_1,
DEB_4_9_8_20030706_1,
DEB_4_9_8_2
Branch point for: LINUXIA
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2
lines
* Add another postional parameter, no behavior change.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Oct 15 14:46:30 2002 UTC (6 years, 1 month ago) by racke
Branches: MAIN
CVS tags: REL_4_9_6,
REL_4_9_5,
REL_4_9_4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
don't return the whole variable hash
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Sep 16 23:06:31 2002 UTC (6 years, 2 months ago) by mheins
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -3
lines
* Move most all code out of bin/interchange. The only routines
that remain are:
dontwarn
version
usage
catch_warnings
parse_options
main_loop
Once the initial startup for Interchange is done, this code
is completely out of the picture.
* Create new Vend::Dispatch module which contains the bulk of the
code removed from bin/interchange.
* Move the important update_data() subroutine to Vend::Data.
* Move the session-related routines to Vend::Session.
* Move the order-related routines do_order() and update_quantity()
to Vend::Order.
* Change many ::uneval() calls to plain uneval() or Vend::Util::uneval().
* Remove various unused tags and routines....
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 05:52:42 2002 UTC (6 years, 9 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_2,
REL_4_9_1
* The great tag breakout!
* Almost all tags are now UserTag definitions. The only exceptions
are:
and bounce goto if label or unless
* New TagDir directive (default is VENDROOT/code) sets the
directory (or directories) which are searched for code definitions
set by UserTag and CodeDef.
* New TagGroup directive establishes groups of ITL tags which can
be included.
TagGroup :crufty "banner default ecml html_table onfly sql"
The default groups include :core, which contains all of the
ITL tags defined in 4.8/early 4.9. The groups are defined
in $Vend::Cfg::StdTags and can be undefined if desired
with "TagGroup :group".
* New TagInclude directive allows inclusion of tags (or groups
of tags). If a tag is defined as a core tag (with a .coretag
or .tag or .ct extension) and is not included, it will not
be compiled and placed in the tag map. This is for all catalogs,
so if *any* catalog uses a tag it must be included.
Examples:
# Include the base tags
TagInclude :core
# Not the commerce tags
TagInclude !:commerce
# But make sure item-list is included even though
# it is in :commerce
TagInclude item-list
## Double negatives are honored
TagGroup :foo "bar !baz buz"
## With the group above, the below is equivalent
## to TagInclude !bar baz !buz
TagInclude !:foo
* New CodeDef directive allows the setting of filters,
order checks, FormAction, ActionMap, ItemAction,
and LocaleChange.
## filters
CodeDef mixedcase Filter
CodeDef mixedcase Routine <<EOR
sub {
my $val = shift;
## [filter mixedcase]mixed case[/filter]
## outputs "MiXeD CaSe"
$val =~ s/(.)(.)/\u$1\l$2/g;
return $val;
}
EOR
## order checks
CodeDef mixedcase OrderCheck
CodeDef foo Routine <<EOR
sub {
my ($ref, $var, $val) = @_;
return (1,$var) if $val eq 'bar';
return (0,$var, "foo must be bar");
}
EOR
All work in catalog.cfg; LocaleChange and ItemAction are not
global. FormAction, ActionMap, and ItemAction directives
are equivalent to their CodeDef equivalents.
Interchange CVSweb <info@icdevgroup.org>