History log of /dokuwiki/inc/ (Results 3901 – 3925 of 6439)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
4871414226-Nov-2010 Michael Hamann <michael@content-space.de>

Fix for $conf['breadcrumbs'] < 0, FS#2107

This fixes an infinite loop in breadcrumbs() and makes the behaviors in
all places where breadcrumbs are used consistent so that non-numeric
values, values

Fix for $conf['breadcrumbs'] < 0, FS#2107

This fixes an infinite loop in breadcrumbs() and makes the behaviors in
all places where breadcrumbs are used consistent so that non-numeric
values, values < 0 and 0 are treated the same way.

show more ...

9821486722-Nov-2010 Michael Hamann <michael@content-space.de>

Render metadata when needed

This changes fundamentally when metadata is rendered. This commit
introduces a new cache file for every page that just contains a
timestamp and is updated whenever the me

Render metadata when needed

This changes fundamentally when metadata is rendered. This commit
introduces a new cache file for every page that just contains a
timestamp and is updated whenever the metadata of that page is rendered.

Metadata is rendered when p_get_metadata is called and the last
rendering has been before a page, metadata, configuration or renderer
update or purge is set like in the xhtml renderer cache.

Metadata is no longer automatically rendered when the xhtml renderer
cache isn't used but will still be rendered when needed as
p_get_metadata is called in the cache.

Metadata is also no longer rendered in the indexer script when missing
as that is already done by pageinfo() before anything else is done so
the indexer script won't be called when there is no metadata file.

show more ...

5e1ee18806-Nov-2010 Xin LI <delphij@FreeBSD.org>

Fix unicode handling.

Suggested by: MQ <antinvidia gmail com>

Signed-off-by: Xin LI <delphij@FreeBSD.org>

54cbb21521-Nov-2010 Guillaume Turri <guillaume.turri@gmail.com>

Fixed a call to replace_invalid_with_pct_encoding (fixed upstream after SimplePie1.2) to continue to display correctly feeds with =

91d55b7921-Nov-2010 Guillaume Turri <guillaume.turri@gmail.com>

First step to upgrade to SimplePie 1.2

ba6984cf20-Nov-2010 Caleb Maclennan <caleb@alerque.com>

Turkish language update

85dcda2020-Nov-2010 Robin Getz <rgetz@blackfin.uclinux.org>

Send 403 header for permission denied screens when send404 is enabled

4064e2d320-Nov-2010 Robin Getz <rgetz@blackfin.uclinux.org>

Handle do=check before ACL checking

812bb04e20-Nov-2010 Robin Getz <rgetz@blackfin.uclinux.org>

Add support for inline diff formatting

This patch only adds the capability to the Difference Engine lib, not to
the user interface, yet.

7deca91b27-Oct-2010 Robin Getz <robin.getz@analog.com>

White space fixes only - no functional changes

11d7187b18-Nov-2010 YooS C <dryoo@live.com>

Korean language update

7ae265d318-Nov-2010 Zbyněk Švec <Zbynek.Svec@septim.cz>

Czech language update

dc9bdead18-Nov-2010 Andreas Gohr <andi@splitbrain.org>

Improve native JSON usage

This patch does two things: It makes sure the native json_decode() will
honor the JSON_LOOSETYPE option of the class and it also adds way
to skip the use of the native func

Improve native JSON usage

This patch does two things: It makes sure the native json_decode() will
honor the JSON_LOOSETYPE option of the class and it also adds way
to skip the use of the native function completely. The latter is
necessary for slightly non-standard JSON data.

show more ...

420edfd618-Nov-2010 Tom N Harris <tnharris@whoopdedo.org>

Restore io_runcmd, use io_exec for exec with pipes

7c2ef4e817-Nov-2010 Tom N Harris <tnharris@whoopdedo.org>

Use a different indexer version when external tokenizer is enabled

1c07b9e616-Nov-2010 Tom N Harris <tnharris@whoopdedo.org>

Use external program to split pages into words

An external tokenizer inserts extra spaces to mark words in the input text.
The text is sent through STDIN and STDOUT file handles.

A good choice for

Use external program to split pages into words

An external tokenizer inserts extra spaces to mark words in the input text.
The text is sent through STDIN and STDOUT file handles.

A good choice for Chinese and Japanese is MeCab.
http://sourceforge.net/projects/mecab/
With the command line 'mecab -O wakati'

show more ...

6c52822016-Nov-2010 Tom N Harris <tnharris@whoopdedo.org>

Repurpose io_runcmd for pipes

4753bcc015-Nov-2010 Michael Hamann <michael@content-space.de>

Indexer improvement: regex instead of arrays for lines

When updating a single line that line was split into an array and in a
loop over that array one entry was removed and afterwards a new one
adde

Indexer improvement: regex instead of arrays for lines

When updating a single line that line was split into an array and in a
loop over that array one entry was removed and afterwards a new one
added. Tests have shown that using a regex for doing that is much faster
which can be easily explained as that regex is very simple to match
while a loop over an array isn't that fast. As that update function is
called for every word in a page the impact of this change is
significant.

show more ...

e5e5038315-Nov-2010 Michael Hamann <michael@content-space.de>

Indexer improvement: Only write the words index when needed

This adds a simple boolean variable that tracks if new words have been
added. When editing a page in many cases all words have already bee

Indexer improvement: Only write the words index when needed

This adds a simple boolean variable that tracks if new words have been
added. When editing a page in many cases all words have already been
used somewhere else or just one or two words are new. Until this change
all words indexes read were always written, now only the changed ones
are written. The overhead of the new boolean variable should be low.

show more ...

037b557315-Nov-2010 Michael Hamann <michael@content-space.de>

Indexer improvement: replace _freadline by fgets

In PHP versions newer than 4.3.0 fgets reads a whole line regardless of
its length when no length is given. Thus the loop in _freadline isn't
needed.

Indexer improvement: replace _freadline by fgets

In PHP versions newer than 4.3.0 fgets reads a whole line regardless of
its length when no length is given. Thus the loop in _freadline isn't
needed. This increases the speed significantly as _freadline was called
very often.

show more ...

06af2d0315-Nov-2010 Michael Hamann <michael@content-space.de>

Indexer speed improvement: joined array vs. single lines

From my experience with a benchmark of the indexer it is faster to first
join the array of all index entries and then write them back togethe

Indexer speed improvement: joined array vs. single lines

From my experience with a benchmark of the indexer it is faster to first
join the array of all index entries and then write them back together
instead of writing every single entry. This might increase memory usage,
but I couldn't see a significant increase and this function is also only
used for the small index files, not for the large pagewords index.

show more ...

5bcab0c415-Nov-2010 Tom N Harris <tnharris@whoopdedo.org>

tokenizer was returning prematurely

430d05b014-Nov-2010 Michael Hamann <michael@content-space.de>

Use native PHP JSON functions when available

4e1bf40814-Nov-2010 Tom N Harris <tnharris@whoopdedo.org>

Refactor tokenizer to avoid splitting multiple times

4b9792c614-Nov-2010 Tom N Harris <tnharris@whoopdedo.org>

Measure length of multi-character Asian words

1...<<151152153154155156157158159160>>...258