Interchange

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 2.11: download - view: text, markup, annotated - select for diffs
Thu Aug 9 13:40:54 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.10: preferred, colored
Changes since revision 2.10: +3 -3 lines
* Updated copyright headers to 2007 (closes bug #102)

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

Revision 2.9.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 12:15:28 2007 UTC (21 months, 1 week ago) by pajamian
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3
Diff to: previous 2.9: preferred, colored; next MAIN 2.10: preferred, colored
Changes since revision 2.9: +4 -4 lines
New Free Software Foundation Address in headers of various files

Revision 2.10: download - view: text, markup, annotated - select for diffs
Fri Mar 30 11:39:45 2007 UTC (21 months, 1 week ago) by pajamian
Branches: MAIN
Diff to: previous 2.9: preferred, colored
Changes since revision 2.9: +4 -4 lines
New Free Software Foundation Address in headers of various files

Revision 2.9: download - view: text, markup, annotated - select for diffs
Wed Aug 3 19:33:39 2005 UTC (3 years, 5 months 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, DEB_5_3_0_20051028_1, DEB_5_3_0_20051004_1
Branch point for: STABLE_5_4-branch
Diff to: previous 2.8: preferred, colored
Changes since revision 2.8: +16 -19 lines
Remove some duplicate glob assignments for subroutines in other modules.
To do this easily, I did "expand -t4" and "LC_ALL=C sort -u".

Revision 2.8: 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
Diff to: previous 2.7: preferred, colored
Changes since revision 2.7: +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.7: download - view: text, markup, annotated - select for diffs
Fri Jul 23 02:48:58 2004 UTC (4 years, 5 months ago) by mheins
Branches: MAIN
Diff to: previous 2.6: preferred, colored
Changes since revision 2.6: +14 -2 lines
* Make filtering previous searches easier.

  Before this, you had to create your own reference and somehow
  pass it to the search object, and you had to provide your own
  field names.

  This patch assumes that if the called reference (re=foo) is
  a scalar, it refers to $::Instance->{SearchObject}, which will
  have the results of the last search.

  So you can now do:

  [loop
	  label=foo
	  search="
		  sf=prod_group
		  se=Hand Tools
		  rf=*
	  "
  /]

  <p>
  Searching the reference...
  </p>

  [loop
	  search="
		  st=ref
		  re=foo
		  co=yes
		  sf=category
		  se=Shears
		  rf=*
	  "
  ]

  [loop-param sku]<br>
  <blockquote>
	  -- prod_group=[loop-param prod_group]<br>
	  -- cat=[loop-param category]<br>
	  -- description=[loop-param description] <br><br>
  </blockquote>
  [/loop]

  I don't quite know why I didn't do this before -- probably I had completed
  what I wanted to do and never set it up to be used generally.

  TODO: Make it work for queries as a source, too.

Revision 2.6: 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.5: preferred, colored
Changes since revision 2.5: +4 -3 lines
The great copyright, email address, URL, and version update.

Revision 2.5.2.1: 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 2.5: preferred, colored; next MAIN 2.6: preferred, colored
Changes since revision 2.5: +2 -2 lines
updated LINUXIA branch to 4.9 sources in order to use it as testbed again

Revision 2.5: download - view: text, markup, annotated - select for diffs
Mon Jul 15 13:41:12 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_6, REL_4_9_5, REL_4_9_4, REL_4_9_2, REL_4_9_1
Branch point for: LINUXIA
Diff to: previous 2.4: preferred, colored
Changes since revision 2.4: +2 -11 lines
* Get rid of mv_range_look check now that it will be deprecated and removed
  from docs.

Revision 2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 02:57:57 2002 UTC (6 years, 6 months ago) by edl
Branches: MAIN
Diff to: previous 2.3: preferred, colored
Changes since revision 2.3: +8 -3 lines
Added handling for mv_max_matches.

Revision 2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 01:20:10 2002 UTC (6 years, 6 months ago) by jon
Branches: MAIN
Diff to: previous 2.2: preferred, colored
Changes since revision 2.2: +3 -3 lines
Add option to disable matchlimit entirely, with ml=all or ml=none.
Allow default of 50 to be changed in catalog variable MV_DEFAULT_MATCHLIMIT.

Revision 2.2: 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.1: preferred, colored
Changes since revision 2.1: +3 -3 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.1: download - view: text, markup, annotated - select for diffs
Tue Jun 11 04:50:23 2002 UTC (6 years, 6 months ago) by mheins
Branches: MAIN

    * Add new mv_next_search, which allows filtering searches
      through another search after the first one returns
      some rows.

    * Add search_reference() method to Search.pm

    * Add st=ref to allow searching of an array of arrays with
      an IC search -- I would not think it too useful but this
      type of thing has been requested

    * New Vend::RefSearch actually does the search

    * Search is passed by setting in a scratch variable right now,
      suggestions on how to better pass it are appreciated

    * A small test will be posted to core list.

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>