Commit Graph

6304 Commits (5807f1de04aa7d3910e7f694e0d1e5613d8f5b41)

Author SHA1 Message Date
Joey Hess bf9829352b have the xapian stemmer use a language based on LANG 2008-06-04 02:41:02 -04:00
Joey Hess 47b5417ac0 already fixed 2008-06-04 01:58:52 -04:00
Joey Hess 811c76f85e already fixed 2008-06-04 01:57:59 -04:00
Joey Hess 7d87bf9e78 fix 2008-06-04 01:54:58 -04:00
Joey Hess 81719b40a4 closing, fixed in documentation 2008-06-04 01:54:23 -04:00
Joey Hess 95f93e6848 response 2008-06-04 01:53:49 -04:00
Joey Hess 27376abb3c also decode html entities in the title 2008-06-04 01:50:51 -04:00
Joey Hess ded3ea2ccf remove hyperestraier page 2008-06-04 01:41:45 -04:00
Joey Hess 4a51e384eb decode html entities 2008-06-04 01:34:26 -04:00
Joey Hess 9976c31aca fix clearing index on page deletion 2008-06-04 01:28:35 -04:00
Joey Hess 1dddec0ba9 Pass a destpage parameter to the sanitize hook.
Because the search plugin needed it, also because it's one of the few
plugins that didn't already have it.

I also considered adding it to htmlize, but I really cannot imagine caring
what the destpage is when htmlizing. (I'll probably be poven wrong later.)
2008-06-04 01:24:23 -04:00
Joey Hess 1546b48b97 move indexing to sanitize hook
I think this will give better results overall.

I made %IkiWiki::preprocessing accessible and used it to avoid indexing
at unnecessary points.
2008-06-04 00:58:46 -04:00
Joey Hess 46f7dcb362 Merge branch 'master' into xapian 2008-06-04 00:38:43 -04:00
Joey Hess ce826411b2 more search improvements 2008-06-04 00:38:40 -04:00
Joey Hess aefe5dd9cb more substr fixes 2008-06-04 00:25:56 -04:00
Joey Hess fab1333b67 Filter hooks are no longer called during the scan phase. This will prevent wikilinks added by filters from being scanned properly. But no known filter hook does that, and calling filters unncessarily during scan slowed down complex filters such as the one used to update the xapian index. 2008-06-04 00:15:15 -04:00
Joey Hess 53b188ed35 add a colon to disambiguate
The omega docs suggest doing this if the term may contain upper case, which
it could here.
2008-06-03 23:59:25 -04:00
Joey Hess 9c717d0873 avoid warning
"substr outside of string"
2008-06-03 23:58:19 -04:00
Joey Hess 7fc29119db use "U" term
this seems to be the thing to use for a unique id
2008-06-03 23:56:45 -04:00
Joey Hess 3ba723d79a don't loop forever 2008-06-03 23:55:00 -04:00
Joey Hess 6b7d90d88a fixed most of the xapian todos 2008-06-03 23:52:56 -04:00
Joey Hess 18b0aa1f13 prettify page names, and drop the redunadant url display 2008-06-03 22:11:33 -04:00
Joey Hess 02357b0b32 fix toindex 2008-06-03 21:59:21 -04:00
Joey Hess 20ac7c1bf5 sort list for $) so comparison works 2008-06-03 21:38:57 -04:00
Joey Hess 44fde6cbff first pass at doing xapian indexing
Still some TODOs to fill in.
2008-06-03 21:14:56 -04:00
Joey Hess 8a9be51d61 reorder 2008-06-03 16:19:27 -04:00
Joey Hess 8a6a5320ed search: Converted to use xapian-omega.
Everything is done except for the actual indexing. I plan to do incremental
indexing as pages change.
2008-06-03 15:29:54 -04:00
Joey Hess c688863cf1 add link to css market 2008-06-02 17:46:52 -04:00
Joey Hess d370052672 use PERL 2008-06-02 12:14:09 -04:00
Joey Hess e76c997e86 web commit by stmpeters 2008-06-02 11:37:45 -04:00
Joey Hess cd5daa2191 web commit from 80.176.192.210: poll vote (Accept only OpenID for logins) 2008-06-02 08:27:44 -04:00
Joey Hess 5e9e72b735 document that pagestate values can be anything Storable handles
This only started being true by accident when the index was changed to
use Storable, but it's a nice feature.
2008-06-01 12:59:33 -04:00
Joey Hess c1289de1ef cve id 2008-05-31 20:16:18 -04:00
Joey Hess 99e5e6dd08 inline: The optimisation in 2.41 broke nested inlines. Detect those and avoid overoptimising. 2008-05-31 15:10:23 -04:00
Joey Hess 0353882a66 ikiwiki-mass-rebuild: Don't trust $! when setting $)
A better fix, just check that what $) returns is what it was asked to set,
and ignore $! entirely.
2008-05-31 14:46:16 -04:00
Joey Hess cc26a49925 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-31 14:37:27 -04:00
Joey Hess c00890a2f0 ikiwiki-mass-rebuild: under $! before setting $) to avoid strange errno issue
This fixes a problem sgran saw on alioth. Apparently nss-db sets errno to
ENOENT as a side effect trying to read an optional file, but succeeds
anyway. Then, somehow, errno remains set across the library calls made by
$).

So unset it first as a workaround; there's probably a nss-db, libc, and/or
perl bug underneath.
2008-05-31 14:37:05 -04:00
Joey Hess ff6433179e web commit by http://willthompson.co.uk/: file a bug about nested inlines failing 2008-05-31 13:51:50 -04:00
Joey Hess f58a97806a web commit by http://willthompson.co.uk/ 2008-05-31 10:08:17 -04:00
Joey Hess ca9f7bd7c4 web commit by http://oscarjacho.myopenid.com/: Perhaps 2008-05-31 08:19:03 -04:00
Joey Hess 4f47fe9dd8 web commit by http://oscarjacho.myopenid.com/: Added one line 2008-05-31 08:17:09 -04:00
Joey Hess 4fda36e8df web commit by http://oscarjacho.myopenid.com/: Dreaming... or not? 2008-05-31 08:12:43 -04:00
Joey Hess 0a35e8a352 haiku: Generate valid xhtml. 2008-05-30 19:10:58 -04:00
Joey Hess 4a5344199b linkify 2008-05-30 18:32:48 -04:00
Joey Hess eb288969b5 fix link 2008-05-30 18:31:14 -04:00
Joey Hess ad5d49f25a fix links 2008-05-30 18:30:28 -04:00
Joey Hess 22879eba60 fix link 2008-05-30 18:29:40 -04:00
Joey Hess d5a2fc9334 fix link 2008-05-30 18:29:04 -04:00
Joey Hess 75da1471d0 fix link 2008-05-30 18:28:21 -04:00
Joey Hess d8ec77a3cd fix link 2008-05-30 18:27:37 -04:00