| Commit message (Expand) | Author | Age |
* | web commit by http://madduck.net/ | Joey Hess | 2008-03-21 |
* | on css suckitude | Joey Hess | 2008-03-21 |
* | external: Work around XML RPC's lack of support for null by passing a special... | Joey Hess | 2008-03-21 |
* | Allow individual hook registration to override ID•••The preprocessor hooks need to specify IDs different from the ID used to
initialise the proxy. Thus, the hook function now takes an optional id
keyword argument and uses the ID used during initialisation if none is
provided.
Signed-off-by: martin f. krafft <madduck@madduck.net>
| martin f. krafft | 2008-03-21 |
* | Refactor remote procedure calls in the proxy•••Add an rpc() method to the proxy to allow users to call remote
procedures, and route the proxy's own import registration via this
function.
Also, implement convenience functions for the RPC calls exported in the
IkiWiki::XML::RPC namespace.
Signed-off-by: martin f. krafft <madduck@madduck.net>
| martin f. krafft | 2008-03-21 |
* | Make proxy object available to hook functions•••Hook functions now get the proxy object as first argument to be able to
use RPC via the proxy.
Signed-off-by: martin f. krafft <madduck@madduck.net>
| martin f. krafft | 2008-03-21 |
* | add last parameter to plugin registration•••Signed-off-by: martin f. krafft <madduck@madduck.net>
| martin f. krafft | 2008-03-21 |
* | Allow external plugins to return no value•••Instead of using the XML-RPC v2 extension <nil/>, which Perl's
XML::RPC::Parser does not (yet) support (Joey's patch is pending), we
agreed on a sentinel: {'null':''}, that is, a hash with a single key
"null" pointing to the empty string.
The Python proxy automatically converts None appropriately and raises an
exception if a hook function should, by weird coincidence, attempt to
return {'null':''}.
Signed-off-by: martin f. krafft <madduck@madduck.net>
| martin f. krafft | 2008-03-21 |
* | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info | Joey Hess | 2008-03-21 |
|\ |
|
| * | web commit by http://jblevins.org/: Case-sensitivity of HTML::Scrubber | Joey Hess | 2008-03-21 |
| * | web commit by http://jblevins.org/: Fix links and sign | Joey Hess | 2008-03-21 |
| * | web commit by http://jblevins.org/: Request for comments about SVG and MathML... | Joey Hess | 2008-03-21 |
* | | fix page source storing•••This saves space, and stores the data under the right keys.
| Joey Hess | 2008-03-21 |
* | | fix transition call | Joey Hess | 2008-03-21 |
* | | moved to a tip | Joey Hess | 2008-03-21 |
* | | add a tip about dealing with ikiwiki's binary state files | Joey Hess | 2008-03-21 |
* | | fix transitioning of page state | Joey Hess | 2008-03-21 |
* | | add transition code for indexdb | Joey Hess | 2008-03-21 |
* | | Changed to a binary index file, written using Storable, for speed•••During refresh of a wiki with 800 files, loadindex was using more total
time than any other function, and saveindex was also in the top ten.
Rewriting them to use Storable makes them three times as fast.
0.7 seconds is saved on my laptop in profiling mode.
| Joey Hess | 2008-03-21 |
|/ |
|
* | Precompile pagespecs, about 10% overall speedup•••About 12% of ikiwiki runtime was spent in pagespec_match. It was evaling
the same pagespec code over and over again. This changes pagespec_translate
to return memoized, precompiled functions that can be called to match against
a given pagespec.
This also allows getting rid of the weird variable scoping trick that had
to be in effect for pagespec_translate to be called -- the variables are
now just fed into the function it returns.
On my laptop, this drops build time for the docwiki from about 60 to 50
seconds.
| Joey Hess | 2008-03-21 |
* | improve comment | Joey Hess | 2008-03-21 |
* | updates to support current version of Devel::Profile | Joey Hess | 2008-03-21 |
* | work around perl warning | Joey Hess | 2008-03-21 |
* | delete inline data after it's used | Joey Hess | 2008-03-21 |
* | crazy optimisation to work around slow markdown•••Markdown is slow. Especially if it has to process an enormous page. The
most common enormous page is currently the recentchanges page, which gets
processed a lot, and contains very little actual markdown. Most of it is a
big <div>, which markdown skips ... slowly.
This is a rather sick optimisation to work around markdown's speed issues.
Now inline inserts a small, dummy div, allows markdown to quickly render
the actual page content, then replaces the dummy with the actual inlined
pages later.
Results: Rendering just a recentchanges page, with diffs included, dropped
from 4.5 seconds to 2.7 seconds on my laptop. Building the entire wiki
dropped from 46.6 seconds to 39.5 seconds.
(It would be better if inline were a *post*-processor directive.)
| Joey Hess | 2008-03-21 |
* | process smilies in a sanitize hook•••I had to move it to sanitize so all the markup is htmlized, so it can scan
for <pre> and <code>.
| Joey Hess | 2008-03-21 |
* | another fix•••I'm suprised that the second m//g didn't seem to clobber @-, but I don't
want to rely on that, so preserve it beforehand.
| Joey Hess | 2008-03-21 |
* | various fixes and simplifications | Joey Hess | 2008-03-21 |
* | typo | Joey Hess | 2008-03-21 |
* | smiley: Detect smileys inside pre and tags, and do not expand. | Joey Hess | 2008-03-21 |
* | Close meta tag for redir properly. | Joey Hess | 2008-03-21 |
* | web commit by http://jblevins.org/: Oops | Joey Hess | 2008-03-20 |
* | web commit by http://jblevins.org/: MathML+SVG whitelist | Joey Hess | 2008-03-20 |
* | web commit by http://brian.may.myopenid.com/: change.tmpl and BASEURL | Joey Hess | 2008-03-20 |
* | web commit by http://jblevins.org/: A note about the toc plugin and headers i... | Joey Hess | 2008-03-20 |
* | web commit by http://jblevins.org/: Bug report update | Joey Hess | 2008-03-20 |
* | web commit by http://bremner.myopenid.com/ | Joey Hess | 2008-03-20 |
* | moved to a different server | Joey Hess | 2008-03-19 |
* | Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info | Joey Hess | 2008-03-19 |
|\ |
|
| * | Store userinfo in network byte order for easy portability. (Old files will be... | Joey Hess | 2008-03-19 |
| * | Time::Duration is no longer used, remove from docs and recommends. | Joey Hess | 2008-03-19 |
* | | web commit by http://joey.kitenet.net/ | Joey Hess | 2008-03-19 |
|/ |
|
* | optimisation, only load openid module when signing in•••This makes the CGI about .2 seconds faster when editing pages etc.
| Joey Hess | 2008-03-19 |
* | fix setstate•••Same fix as in d7f1292c3134fd9464ca4005f48b9274be861c10
| Joey Hess | 2008-03-19 |
* | make setargv take an array•••for consistentcy with getargv, which returns one
| Joey Hess | 2008-03-19 |
* | fix setvar•••It was incorrectly setting the value to the number of items in @_, ie,
always 1.
| Joey Hess | 2008-03-19 |
* | Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info | Joey Hess | 2008-03-19 |
|\ |
|
| * | web commit by http://jblevins.org/: Patch for unclosed refresh meta tag. | Joey Hess | 2008-03-19 |
| * | web commit by http://engla.myopenid.com/: oops, point my URL to my ikiwiki po... | Joey Hess | 2008-03-19 |
| * | web commit by http://engla.myopenid.com/: changed my url since my university ... | Joey Hess | 2008-03-19 |