Interchange

CVS log for interchange/lib/Vend/Parser.pm

[BACK] Up to [Local Repository] / interchange / lib / Vend

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 2.13: download - view: text, markup, annotated - select for diffs
Thu Aug 9 13:40:53 2007 UTC (17 months 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_6_1_2, DEB_5_5_1_1_1, DEB_5_5_1
Diff to: previous 2.12: preferred, colored
Changes since revision 2.12: +4 -4 lines
* Updated copyright headers to 2007 (closes bug #102)

* Added GPL and copyright headers to a few files that were missing them.

Revision 2.11.2.1: download - view: text, markup, annotated - select for diffs
Wed May 10 22:49:51 2006 UTC (2 years, 7 months ago) by jon
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3, REL_5_4_2, REL_5_4_1
Diff to: previous 2.11: preferred, colored
Changes since revision 2.11: +4 -10 lines
Fix bug in parser that can cause an infinite loop when malformed ITL
opening tags are encountered.

Bug found and original patch supplied by Dan Collis-Puro <dan@endpoint.com>.

Revision 2.12: download - view: text, markup, annotated - select for diffs
Wed May 10 22:47:31 2006 UTC (2 years, 7 months ago) by jon
Branches: MAIN
Diff to: previous 2.11: preferred, colored
Changes since revision 2.11: +4 -10 lines
Fix bug in parser that can cause an infinite loop when malformed ITL
opening tags are encountered.

Bug found and original patch supplied by Dan Collis-Puro <dan@endpoint.com>.

Revision 2.11: download - view: text, markup, annotated - select for diffs
Sat Apr 30 15:09:58 2005 UTC (3 years, 8 months ago) by mheins
Branches: MAIN
CVS tags: STABLE_5_4-root, REL_5_4_0, REL_5_3_3, REL_5_3_2, DEB_5_3_0_20051028_1, DEB_5_3_0_20051004_1
Branch point for: STABLE_5_4-branch
Diff to: previous 2.10: preferred, colored
Changes since revision 2.10: +3 -2 lines
* We had been running without warnings so long, we had gotten a bit sloppy
  in our code in some places.

  Because we do lots of uninitialized hash member stuff with arrays
  of fields and $opt, it is basically unreasonable for us to run with
  the "use of uninitialized variable" warnings. Because we do a fair
  amount of numerical comparisons on empty string values, it seemed
  unreasonable to run with "string value in numeric gt" enabled.

  Also, because Safe, HTML::Entities, and some other modules have
  these checks enabled, page code is bound to have warnings issued
  no matter what you do.

  It seems better to run with some warnings enabled so that we can
  catch bad code practice.

  So I have made the code run without warnings prior to and after
  interpolate_html(), and turned off warnings by default in the
  page code.

  If it is desirable to turn on warnings for pages, you can use
  [pragma perl_warnings_in_page] and see warnings for that page
  (or by default if you put in catalog.cfg).

* In general these changes are:

	 no warnings qw(uninitialized numeric);

  in most pages.

* Add $::Pragma->{perl_warnings_in_page}.

* Remove defined checks when simple set tests will do.

* Streamline some code.

Revision 2.10: download - view: text, markup, annotated - select for diffs
Mon Apr 18 12:12:28 2005 UTC (3 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.9: preferred, colored
Changes since revision 2.9: +7 -4 lines
* Allow ITL interpolation of reference-based ITL attributes
  if Pragma interpolate_itl_references is set. Allows construction:


	[tmp testing]foobar'ed[/tmp]
	[record
		table=inventory
		key=newkey
		col.quantity=300
		col.stock_message="[scratch testing]"
		]

* Change reference determination tests to the more canonical
  "ref($el) eq 'TYPE'".

Revision 2.9: download - view: text, markup, annotated - select for diffs
Wed Jun 18 17:34:44 2003 UTC (5 years, 6 months ago) by jon
Branches: MAIN
CVS tags: STABLE_5_2-root, STABLE_5_2-branch, STABLE_5_0-root, STABLE_5_0-branch, REL_5_2_1, REL_5_2_0, REL_5_1_1, REL_5_1_0, 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_2_1_1, 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
Diff to: previous 2.8: preferred, colored
Changes since revision 2.8: +6 -4 lines
The great copyright, email address, URL, and version update.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:21:28 2003 UTC (5 years, 11 months ago) by racke
Branches: LINUXIA
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +36 -176 lines
updated LINUXIA branch to 4.9 sources in order to use it as testbed again

Revision 2.8: download - view: text, markup, annotated - select for diffs
Tue Jan 14 02:25:53 2003 UTC (5 years, 11 months ago) by mheins
Branches: MAIN
Diff to: previous 2.7: preferred, colored
Changes since revision 2.7: +5 -4 lines

* Major changes to the Interchange output model and UI.

* There will be more commits for menu data.

UI
-------

* Zeald's redesign of the UI layout is almost fully implemented. There
  are but a few pages that don't incorporate the new layout.

* Each page can have an entry in mv_metadata, which allows setting
  of page titles, display types, menus, and more via database setting.
  An editor is provided.

* Virtual UI pages are fully supported. This will allow catalog-specific
  UI settings to be transmitted to a catalog with simple database updates.
  Each page is simply an entry in mv_metadata.

* The second-level menu can be set either with the page class, as before,
  or in the page metadata with $Scratch->{second_menu}.

* There is a third-level menu callable via $Scratch->{third_menu}. There
  are few situations where the old "next_line" menu setting causes the
  third-level menu -- old menu files should be compatible but where possible
  the third-level menu is explicitly specified.

* [table-editor] and [tabbed-display] can now do tabs to the third-level
  menus. This provides a very seamless tabbed display that does not
  require a page access to change.

* Many changes made to pages to map output to the new template.

* New GPG encryption wizard to make setting up of encryption as close
  to painless as I can make it.

* Change to menu editor to incorporate better menu loading.

* New merge_metadata function allows management of new metadata when
  updating the UI.

* Many, many minor changes and visual improvements.

* A good deal of documentation about the metadata and table editor
  has been written, and those items should be committed soon. Many
  of the features are covered.

Core
-----
* Output of the parser is now sent to @Vend::Output, which allows remapping
  of the parser output before output by the Server module.

  There should be no difference in behavior by default.

  Each piece of output is pushed onto an array, and pointers
  are maintained as to the name of the output. The default if
  the output is not remapped is to go to the $Vend::OutputMap{''} space.

  When output is done in non-mapped mode, @Vend::Output is simply
  joined and sent.

  The behavior diffence comes if you use the Vend::Page::output_cat
  routine. It will output the value of a named space.

  You can map output with the ITL tag:

  	[output-to name=foo]

  To return to the default space, you use:

  	[output-to name=""]

  To return to the *previous* named space, use:

  	[output-to]

  That is not normally what is wanted, though.

  All of the above allows you to map pieces of a page to different named
  spaces and unpack them with the [unpack] tag.

  This is all perhaps easier illustrated than described -- the illustration
  is in the changes to the UI, which map output from the page code to the
  template.

Revision 2.0.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 26 03:21:10 2002 UTC (6 years, 1 month ago) by jon
Branches: STABLE_4_8-branch
CVS tags: REL_4_8_9, REL_4_8_8, REL_4_8_7
Diff to: previous 2.0.2.1: preferred, colored; branchpoint 2.0: preferred, colored
Changes since revision 2.0.2.1: +5 -4 lines
Sweeping update of Akopia/Red Hat references, to prepare for 4.8 release
with current Interchange URLs and contact information.

Revision 2.7: download - view: text, markup, annotated - select for diffs
Wed Aug 14 15:32:04 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_6, REL_4_9_5, REL_4_9_4
Diff to: previous 2.6: preferred, colored
Changes since revision 2.6: +8 -3 lines
* Add new [deliver ....] tag that allows you to deliver some content
  without worrying about [tag op=header] and page spacing issues.

  Adds new global variable $Vend::Sent which is authoritative notification
  that all content is sent and that all further parsing of ITL
  should stop.

  Allows this:

  [perl]
  	 	if($CGI->{foo}) {
			# Oh, we need to send foo as text
			$Tag->deliver( { type => 'text/plain', body => $Scratch->{foo} });
			return;
		}
		else {
			# Go about parsing ITL
		}
  [/perl]

  Also will work with

  	[deliver type=text/plain][scratch foo][/deliver]

Revision 2.6: download - view: text, markup, annotated - select for diffs
Sun Jul 14 03:35:03 2002 UTC (6 years, 5 months ago) by jon
Branches: MAIN
CVS tags: REL_4_9_2, REL_4_9_1
Diff to: previous 2.5: preferred, colored
Changes since revision 2.5: +15 -23 lines
Correct some old comments remaining from HTML::Parser.

Revision 2.5: download - view: text, markup, annotated - select for diffs
Mon Jun 17 22:24:08 2002 UTC (6 years, 6 months ago) by jon
Branches: MAIN
Diff to: previous 2.4: preferred, colored
Changes since revision 2.4: +4 -4 lines
Big copyright date update. This will be the last time that Red Hat
copyright notices get updated en masse, since the bulk of new code will
very likely come from non-Red Hat employees.

Revision 2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 01:00:21 2002 UTC (6 years, 10 months ago) by mheins
Branches: MAIN
Diff to: previous 2.3: preferred, colored
Changes since revision 2.3: +3 -149 lines
As this will be a 5.0 release, we are no longer supporting deprecated
MV3 features. Here is the first removal:

	* Remove HTML-embedded syntax, which has been deprecated
	  since late MV3.

	* This reduces documentation and code complexity, and should
	  provide at least a small speedup in parsing.

	* Added "noRearrange" parameter to avoid $Tag->attr_list and
	  $Tag->uneval rearranging params when a hash is encountered as
	  the first argument.

Revision 2.3: download - view: text, markup, annotated - select for diffs
Fri Feb 8 05:22:40 2002 UTC (6 years, 11 months ago) by mheins
Branches: MAIN
Diff to: previous 2.2: preferred, colored
Changes since revision 2.2: +4 -4 lines
	* Make XML tag recognition really work, my test was bad.

Revision 2.2: download - view: text, markup, annotated - select for diffs
Thu Feb 7 21:33:21 2002 UTC (6 years, 11 months ago) by mheins
Branches: MAIN
Diff to: previous 2.1: preferred, colored
Changes since revision 2.1: +5 -2 lines
	* Honor XML-style empty container tags.

			[set name="foo"/]

		is equivalent to

			[set name="foo"][/set]

	  If you are going to use this, you MUST name the parameters,
	  and you SHOULD quote them.

	  		[set foo /]         ---> Never works
	  		[set name=foo/]     ---> Does not work
	  		[set name=foo /]    ---> Works but not recommended
	  		[set name="foo" /]  ---> Recommended
	  		[set name="foo"/]   ---> OK

	  Benefits of this are removing a call to parse empty buffers,
	  and it should not add significant overhead.

	* Fix a couple of default setting problems in Form.pm.

Revision 2.0.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 24 05:07:01 2002 UTC (6 years, 11 months ago) by jon
Branches: STABLE_4_8-branch
CVS tags: STRONGHOLD_4_8_4_approx, REL_4_8_6, REL_4_8_5, REL_4_8_4, DEB_4_8_6_20021108_1, DEB_4_8_5_20020527_1, DEB_4_8_3_20020306_1
Diff to: previous 2.0: preferred, colored
Changes since revision 2.0: +4 -4 lines
Update version number and copyright year, to prepare for the eventual
day when we release version 4.8.4.

Revision 2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 19 00:32:37 2001 UTC (7 years, 2 months ago) by mheins
Branches: MAIN
	* Add path_adjust Pragma to change all root-based (without protocol)
	  paths to add StaticPath in front of them, i.e.

	  	<A HREF="/something/somepage.html">

		becomes

		<A HREF="/foundation/something/somepage.html">
	  Same for <IMG>, <INPUT TYPE=IMAGE>, <BODY BACKGROUND>,
	  <T* BACKGROUND>, etc.

	  Not yet tested, but should work.

	* Pragma now called often enough that efficiency demands remapping
	  to $::Pragma (to save the hash key lookups).

Revision 2.0: download - view: text, markup, annotated - select for diffs
Wed Jul 18 02:23:14 2001 UTC (7 years, 5 months ago) by jon
Branches: MAIN
CVS tags: STABLE_4_8-root, REL_4_8_3, REL_4_8_2, REL_4_8_1, REL_4_7_7, REL_4_7_6, PRE_REL_4_8_0, DEB_4_8_1_2
Branch point for: STABLE_4_8-branch
Upping major version number after trunk/branch switch.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jul 18 01:56:44 2001 UTC (7 years, 5 months ago) by jon
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +19 -13 lines
Move DEV_4_7_0 development branch to repository trunk.

Revision 1.2.6.8: download - view: text, markup, annotated - select for diffs
Fri Jun 29 02:19:25 2001 UTC (7 years, 6 months ago) by jon
Branches: DEV_4_7_0
CVS tags: REL_4_7_5
Diff to: previous 1.2.6.7: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.7: +8 -9 lines
Update copyright notices and email addresses.
Standardize module headers and remove a few shebang lines.

Revision 1.2.6.7: download - view: text, markup, annotated - select for diffs
Thu Jun 14 14:38:20 2001 UTC (7 years, 6 months ago) by heins
Branches: DEV_4_7_0
CVS tags: REL_4_7_4
Diff to: previous 1.2.6.6: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.6: +10 -4 lines

	* Avoid bypass possibility for [restrict] where someone could run
	  equivalent of [calc] ...  by using backticks for tag parameters.

Revision 1.2.6.6: download - view: text, markup, annotated - select for diffs
Wed May 16 15:59:44 2001 UTC (7 years, 7 months ago) by heins
Branches: DEV_4_7_0
CVS tags: REL_4_7_3
Diff to: previous 1.2.6.5: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.5: +3 -2 lines

  * Tolerate either - or _ in paramer names. I *know* I have made
    this update twice before -- will it finally take?

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Fri Mar 23 13:34:46 2001 UTC (7 years, 9 months ago) by racke
Branches: LINUXIA
CVS tags: DEB_4_6_5_1, DEB_4_6_4_2, DEB_4_6_4_1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +20 -91 lines
merged changes 1.2 vs 1.3

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Mar 22 22:47:37 2001 UTC (7 years, 9 months ago) by jon
CVS tags: STABLE_4_6-root, STABLE_4_6-branch, REL_4_6_5, REL_4_6_4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +20 -91 lines
Removed some old unused stuff, updated inline POD docs.

Revision 1.2.6.5: download - view: text, markup, annotated - select for diffs
Sun Feb 25 15:31:27 2001 UTC (7 years, 10 months ago) by heins
Branches: DEV_4_7_0
CVS tags: REL_4_7_2, REL_4_7_1
Diff to: previous 1.2.6.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.4: +4 -4 lines
Change minor thing for variable namespace checks.

Revision 1.2.6.4: download - view: text, markup, annotated - select for diffs
Wed Feb 14 05:02:31 2001 UTC (7 years, 10 months ago) by jon
Branches: DEV_4_7_0
Diff to: previous 1.2.6.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.3: +19 -91 lines
Got rid of some legacy HTML::Parser stuff, mostly non-applicable POD docs.

Revision 1.2.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 17 07:22:23 2000 UTC (8 years ago) by heins
Branches: DEV_4_7_0
Diff to: previous 1.2.6.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.2: +25 -50 lines
Back out untested changes.

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Thu Dec 14 16:59:14 2000 UTC (8 years ago) by zarko
Branches: DEV_4_7_0
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.1: +50 -25 lines
Whitespace changes (diff -b -B will report nothing except below):

Uncuddled 21 cuddled else statements
Expanded 2 if blocks onto multi-line

Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 13 13:51:51 2000 UTC (8 years ago) by heins
Branches: DEV_4_7_0
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines

  * Why didn't I do this before? Make - == _ in attribute names.

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 7 22:41:46 2000 UTC (8 years, 2 months ago) by zarko
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +55 -63 lines
stylistic changes

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jul 12 03:08:11 2000 UTC (8 years, 5 months ago) by heins
CVS tags: REL_4_6_3, REL_4_6_2, REL_4_6_1, REL_4_6_0_B, REL_4_6_0, REL_4_5_8, REL_4_5_7, REL_4_5_6, INTERCHANGE_4_5_5, DEB_4_6_3_1, DEB_4_6_2_1, DEB_4_6_1_1, DEB_4_6_0_1
Branch point for: LINUXIA, DEV_4_7_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -9 lines
Changed Interchange name all over, minor exceptions being mvfaq.pod and
mvrpm.pod. Changed copyright notice to Akopia.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri May 26 18:50:39 2000 UTC (8 years, 7 months ago) by heins
Branches: CHAL_0_1
CVS tags: MV_4_5_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Initial import of changed Challenger with UI instead of Minimate.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 26 18:50:39 2000 UTC (8 years, 7 months ago) by heins
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

Interchange CVSweb <info@icdevgroup.org>