aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/external.pm
Commit message (Collapse)AuthorAge
* external: Disable RPC::XML's "smart" encoding, which sent ints for strings ↵Joey Hess2010-09-14
| | | | that contained only a number, fixing a longstanding crash of the rst plugin.
* Support RPC::XML 0.69's incompatable object instantiation method.Joey Hess2009-09-29
|
* remove pagespec_match_list override for externalJoey Hess2009-05-06
| | | | Not needed since it returns a list of pages, not a fail/success object.
* external: Fix pagespec_match and pagespec_match_list. Closes: #527281Joey Hess2009-05-06
|
* typoJoey Hess2009-04-23
|
* pagespec_match_list added and used in most appropriate placesJoey Hess2009-04-23
| | | | | | | | * pagespec_match_list: New API function, matches pages in a list and throws an error if the pagespec is bad. * inline, brokenlinks, calendar, linkmap, map, orphans, pagecount, pagestate, postsparkline: Display a handy error message if the pagespec is erronious.
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
|
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* function injection overhaulJoey Hess2008-10-21
| | | | | | | | | | | Add an inject function, that can be used by plugins that want to replace one of ikiwiki's functions with their own version. (This is a scary thing that grubs through the symbol table, and replaces all exported occurances of a function with the injected version.) external: RPC functions can be injected to replace exported functions. Removed the stupid displaytime hook, and use injection instead.
* disable warnings when redefining functionsJoey Hess2008-10-21
|
* external: Fix support for hooks called in an array context.Joey Hess2008-08-06
|
* add plugin safe/rebuild info (part 1 of 2)Joey Hess2008-08-03
| | | | too many plugins.. brain exploding..
* Allow external plugins to return no valuemartin f. krafft2008-03-21
| | | | | | | | | | | | | 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>
* fix setstateJoey Hess2008-03-19
| | | | Same fix as in d7f1292c3134fd9464ca4005f48b9274be861c10
* make setargv take an arrayJoey Hess2008-03-19
| | | | for consistentcy with getargv, which returns one
* fix setvarJoey Hess2008-03-19
| | | | | It was incorrectly setting the value to the number of items in @_, ie, always 1.
* getargv needs to return a list referenceJoey Hess2008-03-19
| | | | | | xml rpc only allows functions to return a single value, no lists. So getargv needs to return a list reference, which means that the caller will see an xml rpc array.
* * external: Add getargv and setargv methods to allow access to ikiwiki'sJoey Hess2008-03-15
| | | | @ARGV.
* * external: Fix support of XML::RPC::fault.Joey Hess2008-03-15
|
* * Generate XML RPC messages with the encoding set to utf-8 insteadJoey Hess2008-02-11
| | | | | | of XML::RPC's default of us-ascii. Allows interoperation with python's xmlrpc library, which threw invalid encoding exceptions and caused the rst plugin to hang.
* * Finally implemented a simple per-page data storage mechanism for plugins,Joey Hess2007-12-08
| | | | | via the %pagestate hash. * Use pagestate in meta to detect potential redir loops.
* untaint plugin filename, will be tainted if specified at the command linejoey2007-10-13
|
* memoization for injected RPC functions is a very, very good thingjoey2007-08-13
|
* * Fix --libdir to work at the command line.joey2007-08-13
* Plugins can now be written as standalone external programs, which can be written in any language that can do XML::RPC.