
CVS log for interchange/lib/Vend/TextSearch.pm
Up to [Local Repository] / interchange / lib / Vend
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 2.18: download - view: text, markup, annotated - select for diffs
Fri Jul 11 12:07:55 2008 UTC (5 months, 4 weeks ago) by racke
Branches: MAIN
CVS tags: REL_5_7_1,
HEAD
Diff to: previous 2.17: preferred, colored
Changes since revision 2.17: +4 -3 lines
remove trailing whitespace from text file headers
Revision 2.17: 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_6_1,
REL_5_5_3,
REL_5_5_2,
REL_5_5_1,
DEB_5_6_1_2,
DEB_5_5_1_1_1,
DEB_5_5_1
Diff to: previous 2.16: preferred, colored
Changes since revision 2.16: +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.15.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 12:15:29 2007 UTC (21 months, 1 week ago) by pajamian
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3
Diff to: previous 2.15: preferred, colored
Changes since revision 2.15: +4 -4
lines
New Free Software Foundation Address in headers of various files
Revision 2.16: download - view: text, markup, annotated - select for diffs
Fri Mar 30 11:39:46 2007 UTC (21 months, 1 week ago) by pajamian
Branches: MAIN
Diff to: previous 2.15: preferred, colored
Changes since revision 2.15: +4 -4
lines
New Free Software Foundation Address in headers of various files
Revision 2.15: download - view: text, markup, annotated - select for diffs
Tue Nov 8 18:14:45 2005 UTC (3 years, 2 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
Branch point for: STABLE_5_4-branch
Diff to: previous 2.14: preferred, colored
Changes since revision 2.14: +3 -3
lines
Big copyright and version number update to prepare for 5.3.2 release.
Revision 2.14: 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: DEB_5_3_0_20051028_1,
DEB_5_3_0_20051004_1
Diff to: previous 2.13: preferred, colored
Changes since revision 2.13: +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.13: 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.12: preferred, colored
Changes since revision 2.12: +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.12: 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.11: preferred, colored
Changes since revision 2.11: +4 -3
lines
The great copyright, email address, URL, and version update.
Revision 1.7.4.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 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +81 -81
lines
updated LINUXIA branch to 4.9 sources in order to use it as testbed again
Revision 2.0.2.4: 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.3: preferred, colored; branchpoint 2.0: preferred, colored
Changes since revision 2.0.2.3: +4 -3
lines
Sweeping update of Akopia/Red Hat references, to prepare for 4.8 release
with current Interchange URLs and contact information.
Revision 2.0.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 1 23:21:07 2002 UTC (6 years, 4 months ago) by mheins
Branches: STABLE_4_8-branch
CVS tags: DEB_4_8_6_20021108_1
Diff to: previous 2.0.2.2: preferred, colored; branchpoint 2.0: preferred, colored
Changes since revision 2.0.2.2: +2 -4
lines
* Remove min_string test from Search.pm, where it never really was used
or called due to mv_min_string default being 0.
* Place mv_min_string check back in Glimpse where it was intended in the first
place.
* Resolves Bugzilla #255 reported by dst@vernet.gr (Dimitris Tsamitros).
Revision 2.11: download - view: text, markup, annotated - select for diffs
Sun Sep 1 23:19:51 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.10: preferred, colored
Changes since revision 2.10: +2 -4
lines
* Remove min_string test from Search.pm, where it never really was used
or called due to mv_min_string default being 0.
* Place mv_min_string check back in Glimpse where it was intended in the first
place.
* Resolves Bugzilla #255.
Revision 2.10: 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_2,
REL_4_9_1
Diff to: previous 2.9: preferred, colored
Changes since revision 2.9: +2 -10
lines
* Get rid of mv_range_look check now that it will be deprecated and removed
from docs.
Revision 2.9: 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.8: preferred, colored
Changes since revision 2.8: +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.8: download - view: text, markup, annotated - select for diffs
Sat Jun 22 22:38:38 2002 UTC (6 years, 6 months ago) by edl
Branches: MAIN
Diff to: previous 2.7: preferred, colored
Changes since revision 2.7: +4 -2
lines
Oops! Should not have removed that first $s->{matches} assignment, could
have led to some breakage.
Revision 2.7: download - view: text, markup, annotated - select for diffs
Sat Jun 22 22:30:22 2002 UTC (6 years, 6 months ago) by edl
Branches: MAIN
Diff to: previous 2.6: preferred, colored
Changes since revision 2.6: +8 -5
lines
Implementing mv_max_matches as done in stable branch earlier today.
Revision 2.0.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 22 15:11:40 2002 UTC (6 years, 6 months ago) by edl
Branches: STABLE_4_8-branch
CVS tags: REL_4_8_6
Diff to: previous 2.0.2.1: preferred, colored; branchpoint 2.0: preferred, colored
Changes since revision 2.0.2.1: +8 -3
lines
Implementing mv_max_matches: if > 0, the search results will spliced at
its offset.
Revision 2.6: 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.5: preferred, colored
Changes since revision 2.5: +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.5: 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
Diff to: previous 2.4: preferred, colored
Changes since revision 2.4: +11 -4
lines
* 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.
Revision 2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 1 03:20:10 2002 UTC (6 years, 11 months ago) by mheins
Branches: MAIN
Diff to: previous 2.3: preferred, colored
Changes since revision 2.3: +12 -15
lines
* Fix nasty search bug in TextSearch, caused trashing of searches
by overwriting $_.
* Remove redundant code in both Search.pm and TextSearch.pm
* Remove passed argument for escape_scan, was already the default.
Revision 2.0.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 24 05:07:02 2002 UTC (6 years, 11 months ago) by jon
Branches: STABLE_4_8-branch
CVS tags: STRONGHOLD_4_8_4_approx,
REL_4_8_5,
REL_4_8_4,
DEB_4_8_5_20020527_1,
DEB_4_8_3_20020306_1
Diff to: previous 2.0: preferred, colored
Changes since revision 2.0: +3 -3
lines
Update version number and copyright year, to prepare for the eventual
day when we release version 4.8.4.
Revision 2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 29 19:49:33 2001 UTC (7 years ago) by mheins
Branches: MAIN
Diff to: previous 2.2: preferred, colored
Changes since revision 2.2: +8 -8
lines
* Add new MIRROR parameter for databases. This allows creation of a
DBM or Memory mirror.
Sequence is:
1. Table is always imported at config time.
2. Table is only imported once.
3. Text file is not required, but should be set so export
can work properly and so there is a placeholder.
A complete configuration is:
Database products_mem products_mem.txt TAB
Database products_mem MIRROR products
Database products_mem MEMORY 1
MIRROR name is not set in stone yet, probably not apropos
enough; suggestions are welcome.
Benchmarks for 1000 separate (i.e. tag_data, no caching)
accesses (repeated tries show these are representative):
Doing products_mem:
Class=MEMORY DSN=
Data returned 247 bytes
TIME=0.200
Doing products:
Class=DBI DSN=dbi:mysql:test_mfound
Data returned 247 bytes
TIME=0.670
Doing alias_mem:
Class=MEMORY DSN=
Data returned 9 bytes
TIME=0.180
Doing alias:
Class=DBI DSN=dbi:Pg:dbname=wikicms
Data returned 9 bytes
TIME=0.700
Doing wiki_mem:
Class=GDBM DSN=
Data returned 400 bytes
TIME=0.300
Doing wiki_mem2:
Class=MEMORY DSN=
Data returned 400 bytes
TIME=0.180
Doing wiki:
Class=DBI DSN=dbi:Pg:dbname=wikicms
Data returned 400 bytes
TIME=0.710
Gains should be even bigger as no database connections are needed
on a busy system.
Revision 2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 7 04:16:06 2001 UTC (7 years, 1 month ago) by jon
Branches: MAIN
Diff to: previous 2.1: preferred, colored
Changes since revision 2.1: +4 -4
lines
I finally found it! The bug was only for text searches, so it went away
when I changed icmenu's search type to db.
The array of search lines was getting crammed into a single array element
on the second pass for sorting.
Revision 2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 26 18:34:02 2001 UTC (7 years, 1 month ago) by mheins
Branches: MAIN
* Make the DbSearch module search references and not tab-joined lines.
* Search.pm now modifies its behavior for $limit_sub->() and $return_sub->()
to create a reference if needed.
* This solves the tab-delimited wrong-search-result problem while
increasing performance up to 20% on large database records.
* Slight change to each_nokey() routine -- it returns a
reference instead of a list. This should have no side-effect
unless someone happened to use the
Vend::Table::*::each_nokey() routine somewhere in custom code.
Certainly this is not documented as part of the API, and we
never use it in any of our stuff.
* Change passes regression tests 100%. Glimpse is not really
tested though I anticipate no problems.
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.8: 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.7: preferred, colored
Changes since revision 1.7: +43 -43
lines
Move DEV_4_7_0 development branch to repository trunk.
Revision 1.7.6.2: download - view: text, markup, annotated - select for diffs
Fri Jun 29 02:19:26 2001 UTC (7 years, 6 months ago) by jon
Branches: DEV_4_7_0
CVS tags: REL_4_7_5
Diff to: previous 1.7.6.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.6.1: +5 -5
lines
Update copyright notices and email addresses.
Standardize module headers and remove a few shebang lines.
Revision 1.7.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 13 16:11:15 2000 UTC (8 years ago) by zarko
Branches: DEV_4_7_0
CVS tags: REL_4_7_4,
REL_4_7_3,
REL_4_7_2,
REL_4_7_1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +40 -40
lines
Whitespace changes (diff -b -B will report nothing)
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 7 22:41:48 2000 UTC (8 years, 2 months ago) by zarko
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +56 -72
lines
stylistic changes
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Sep 27 22:17:06 2000 UTC (8 years, 3 months ago) by heins
CVS tags: STABLE_4_6-root,
STABLE_4_6-branch,
REL_4_6_5,
REL_4_6_4,
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,
DEB_4_6_5_1,
DEB_4_6_4_2,
DEB_4_6_4_1,
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.6: preferred, colored
Changes since revision 1.6: +9 -12
lines
Fixed bug in hashref routine for query. This fixes a reported problem
WRT order reports not working for DBM databases.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Sep 19 18:58:39 2000 UTC (8 years, 3 months ago) by zarko
CVS tags: REL_4_5_6
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Server:
necessary change to support minivend->interchange script rename
DbSearch/Glimpse/TextSearch:
comment change s/MINIVEND/INTERCHANGE on line 5
Util:
changed -t option in syslogging routine from minivend to interchange
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 6 19:59:38 2000 UTC (8 years, 5 months ago) by heins
CVS tags: INTERCHANGE_4_5_5
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -2
lines
Made sure we had some search_files even when MV_DEFAULT_SEARCH_FILE gets hosed.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jul 20 07:15:47 2000 UTC (8 years, 5 months ago) by heins
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Added multiple security fixes.
Added beginnings of IPC to perl programs.
Added Sub (catalog.cfg) link to [PREFIX-exec].
Added hs (head skip) option to [import ....] tag.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jul 12 03:08:12 2000 UTC (8 years, 5 months ago) by heins
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Changed Interchange name all over, minor exceptions being mvfaq.pod and
mvrpm.pod. Changed copyright notice to Akopia.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 28 07:18:55 2000 UTC (8 years, 6 months ago) by heins
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +35 -1
lines
Added mv_start_match to find first key matching specification.
Like mv_first_match, except sets based on value of match and
not index of match.
Added more security to Session.pm, saving username safe from
manipulation by user.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri May 26 18:50:41 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:41 2000 UTC (8 years, 7 months ago) by heins
Initial revision
Interchange CVSweb <info@icdevgroup.org>