data/TWiki/TWikiUIRDiffDotPm.txt,v
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
colas@0
     1
head	1.3;
colas@0
     2
access;
colas@0
     3
symbols;
colas@0
     4
locks; strict;
colas@0
     5
comment	@# @;
colas@0
     6
colas@0
     7
colas@0
     8
1.3
colas@0
     9
date	2008.01.22.03.21.32;	author TWikiContributor;	state Exp;
colas@0
    10
branches;
colas@0
    11
next	1.2;
colas@0
    12
colas@0
    13
1.2
colas@0
    14
date	2007.01.16.04.12.02;	author TWikiContributor;	state Exp;
colas@0
    15
branches;
colas@0
    16
next	1.1;
colas@0
    17
colas@0
    18
1.1
colas@0
    19
date	2006.02.01.12.01.26;	author TWikiContributor;	state Exp;
colas@0
    20
branches;
colas@0
    21
next	;
colas@0
    22
colas@0
    23
colas@0
    24
desc
colas@0
    25
@new-topic
colas@0
    26
@
colas@0
    27
colas@0
    28
colas@0
    29
1.3
colas@0
    30
log
colas@0
    31
@buildrelease
colas@0
    32
@
colas@0
    33
text
colas@0
    34
@---+ Package =TWiki::UI::RDiff=
colas@0
    35
colas@0
    36
UI functions for diffing.
colas@0
    37
colas@0
    38
colas@0
    39
%TOC%
colas@0
    40
colas@0
    41
---++ StaticMethod *diff* <tt>($session,$web,$topic,$query)</tt>
colas@0
    42
colas@0
    43
=diff= command handler.
colas@0
    44
This method is designed to be
colas@0
    45
invoked via the =UI::run= method.
colas@0
    46
colas@0
    47
Renders the differences between version of a TwikiTopic
colas@0
    48
| topic | topic that we are showing the differences of |
colas@0
    49
| rev1 | the higher revision |
colas@0
    50
| rev2 | the lower revision |
colas@0
    51
| render | the rendering style {sequential, sidebyside, raw, debug} | (preferences) DIFFRENDERSTYLE, =sequential= |
colas@0
    52
| type | {history, diff, last} history diff, version to version, last version to previous | =history= |
colas@0
    53
| context | number of lines of context |
colas@0
    54
| skin | the skin(s) to use to display the diff |
colas@0
    55
TODO:
colas@0
    56
   * add a {word} render style
colas@0
    57
   * move the common CGI param handling to one place
colas@0
    58
   * move defaults somewhere
colas@0
    59
colas@0
    60
colas@0
    61
@
colas@0
    62
colas@0
    63
colas@0
    64
1.2
colas@0
    65
log
colas@0
    66
@buildrelease
colas@0
    67
@
colas@0
    68
text
colas@0
    69
@d12 1
colas@0
    70
a12 1
colas@0
    71
invoked via the =TWiki::UI::run= method.
colas@0
    72
@
colas@0
    73
colas@0
    74
colas@0
    75
1.1
colas@0
    76
log
colas@0
    77
@buildrelease
colas@0
    78
@
colas@0
    79
text
colas@0
    80
@d9 1
colas@0
    81
@