Home
last modified time | relevance | path

Searched full:diff (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/dokuwiki/_test/tests/inc/
H A Ddifference_engine.test.php13 $diff = new Diff(explode("\n", $this->x), explode("\n", $this->y));
15 $actual = $diffformatter->format($diff);
16 $expected = '<tr><td class="diff-blockheader" colspan="2">Line 1:</td>
17 <td class="diff-blockheader" colspan="2">Line 1:</td>
19diff-lineheader">-</td><td class="diff-deletedline"><strong class="diff-mark">zzz</strong></td><td…
20 <tr><td class="diff-lineheader">&#160;</td><td class="diff-context"></td><td class="diff-lineheader…
21 <tr><td class="diff-lineheader">&#160;</td><td class="diff-context">aaa</td><td class="diff-linehea…
22 <tr><td colspan="2">&#160;</td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></…
23 <tr><td colspan="2">&#160;</td><td class="diff-lineheader">+</td><td class="diff-addedline">bbb</td…
24 <tr><td class="diff-lineheader">&#160;</td><td class="diff-context"></td><td class="diff-lineheader…
[all …]
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_diff.css2 * This file provides styles for the diff view, which shows you
3 * differences between two versions of a page (?do=diff).
6 .dokuwiki table.diff {
10 .dokuwiki table.diff th,
11 .dokuwiki table.diff td {
21 .dokuwiki table.diff th {
26 .dokuwiki table.diff th a {
29 .dokuwiki table.diff th span.user {
32 .dokuwiki table.diff th span.sum {
36 .dokuwiki table.diff th.minor {
[all …]
/dokuwiki/inc/Feed/
H A DFeedPageProcessor.php5 use Diff; alias
34 case 'diff':
36 $opt = ['rev' => $this->getRev(), 'do' => 'diff'];
48 case 'diff':
49 $diff = $this->getDiff();
50 // note: diff output must be escaped, UnifiedDiffFormatter provides plain text
52 return "<pre>\n" . hsc($udf->format($diff)) . "\n</pre>";
55 $diff = $this->getDiff();
56 // note: no need to escape diff output, TableDiffFormatter provides 'safe' html
61 $content .= $tdf->format($diff);
[all …]
/dokuwiki/vendor/paragonie/constant_time_encoding/src/
H A DBase64UrlSafe.php79 $diff = 0x41;
81 // if ($src > 25) $diff += 0x61 - 0x41 - 26; // 6
82 $diff += ((25 - $src) >> 8) & 6;
84 // if ($src > 51) $diff += 0x30 - 0x61 - 26; // -75
85 $diff -= ((51 - $src) >> 8) & 75;
87 // if ($src > 61) $diff += 0x2d - 0x30 - 10; // -13
88 $diff -= ((61 - $src) >> 8) & 13;
90 // if ($src > 62) $diff += 0x5f - 0x2b - 1; // 3
91 $diff += ((62 - $src) >> 8) & 49;
93 return \pack('C', $src + $diff);
H A DBase64.php303 $diff = 0x41;
305 // if ($src > 25) $diff += 0x61 - 0x41 - 26; // 6
306 $diff += ((25 - $src) >> 8) & 6;
308 // if ($src > 51) $diff += 0x30 - 0x61 - 26; // -75
309 $diff -= ((51 - $src) >> 8) & 75;
311 // if ($src > 61) $diff += 0x2b - 0x30 - 10; // -15
312 $diff -= ((61 - $src) >> 8) & 15;
314 // if ($src > 62) $diff += 0x2f - 0x2b - 1; // 3
315 $diff += ((62 - $src) >> 8) & 3;
317 return \pack('C', $src + $diff);
/dokuwiki/inc/Action/
H A DDiff.php9 * Class Diff
15 class Diff extends AbstractAction class
28 // store the selected diff type in cookie
/dokuwiki/inc/Subscriptions/
H A DPageSubscriptionSender.php5 use Diff; alias
12 * Send the diff for some page change
43 $df = new Diff(
51 $df = new Diff(
66 $trep['DIFF'] = $tdiff;
67 $hrep['DIFF'] = $hdiff;
/dokuwiki/inc/
H A DDifferenceEngine.php3 * A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)
89 * Class used internally by Diff to actually compute the diffs.
92 * Algorithm::Diff (version 1.06) by Ned Konz, which is available at:
93 * http://www.perl.com/CPAN/authors/id/N/NE/NEDKONZ/Algorithm-Diff-1.06.zip
125 function diff($from_lines, $to_lines) { function in _DiffEngine
517 * Class representing a 'diff' between two sequences of strings.
519 class Diff { class
525 * Computes diff between sequences of strings.
533 $this->edits = $eng->diff($from_lines, $to_lines);
538 * Compute reversed Diff.
[all …]
/dokuwiki/inc/lang/lt/
H A Dmailtext.txt12 Pakeitimo diff'as:
14 @DIFF@
/dokuwiki/inc/Ui/
H A DDiff.php8 * DokuWiki Diff Interface
13 abstract class Diff extends Ui class
30 * Diff Ui constructor
66 * Gets or Sets preference of the Ui\Diff object
97 // diff link icon click, eg. &do=diff&rev=#
107 // submit button with two checked boxes, eg. &do=diff&rev2[0]=#&rev2[1]=#
H A DPageDiff.php18 class PageDiff extends Diff
43 $this->preference['difftype'] = 'sidebyside'; // diff view type: inline or sidebyside
95 * Handle requested revision(s) and diff view preferences
108 // requested diff view type
174 * Show diff
210 $Difference = new \Diff(
219 if ($this->preference['showIntro']) echo p_locale_xhtml('diff');
221 // print form to choose diff view type, and exact url reference to the view
229 // display diff view table
231 echo '<table class="diff diff_' . hsc($this->preference['difftype']) . '">';
[all …]
H A DMediaDiff.php16 class MediaDiff extends Diff
43 $this->preference['difftype'] = 'both'; // diff view type: both, opacity or portions
55 * Handle requested revision(s) and diff view preferences
66 // requested diff view type
110 // adjust requested diff view type
137 if ($this->preference['showIntro']) echo p_locale_xhtml('diff');
139 // print form to choose diff view type
162 * Print form to choose diff view type
180 $form->setHiddenField('mediado', 'diff');
200 // diff view type: opacity or portions
[all …]
H A DMediaRevisions.php66 $form->setHiddenField('mediado', 'diff'); // required for media revisions
91 $RevInfo->showIconCompareWithCurrent(), // link to diff view icon
107 // show button for diff view
108 $form->addButton('do[diff]', $lang['diff2'])->attr('type', 'submit');
/dokuwiki/_test/tests/Feed/
H A DFeedPageProcessorTest.php101 "http://wiki.example.com/doku.php?id=wiki:dokuwiki&rev=$expectedMtime&do=diff",
102 $proc->getURL('diff')
105 $diff = explode("\n", $proc->getBody('diff'));
106 $this->assertEquals('<pre>', $diff[0]);
107 $this->assertStringStartsWith('@@', $diff[1]);
/dokuwiki/inc/ChangeLog/
H A DRevisionInfo.php55 * set value of associated "current" key for internal use. Some UI element like diff
256 * diff link icon in recent changes list, to compare (this) current revision with previous one
270 // diff icon will not be shown when external edit occurred
275 … $param = ['tab_details' => 'history', 'mediado' => 'diff', 'ns' => getNS($id), 'image' => $id];
283 $href = wl($id, ['do' => 'diff'], false, '&');
289 . '<img src="' . DOKU_BASE . 'lib/images/diff.png" width="15" height="11"'
290 . ' title="' . $lang['diff'] . '" alt="' . $lang['diff'] . '" />'
298 * diff link icon in revisions list, compare this revision with current one
313 $param = ['mediado' => 'diff', 'image' => $id, 'rev' => $rev];
319 $href = wl($id, ['rev' => $rev, 'do' => 'diff'], false, '&');
[all …]
/dokuwiki/lib/plugins/config/lang/id-ni/
H A Dlang.php45 $lang['rss_content_o_diff'] = 'Unified Diff';
46 $lang['rss_content_o_htmldiff'] = 'HTML formatted diff table';
47 $lang['rss_content_o_html'] = 'Fefu HTML format diff table';
/dokuwiki/inc/lang/zh/
H A Dmailtext.txt12 @DIFF@
/dokuwiki/inc/lang/zh-tw/
H A Dmailtext.txt12 @DIFF@
/dokuwiki/inc/lang/ja/
H A Dmailtext.txt14 @DIFF@
/dokuwiki/inc/lang/la/
H A Dmailtext.txt11 @DIFF@
/dokuwiki/inc/lang/be/
H A Dmailtext.txt12 @DIFF@
/dokuwiki/inc/lang/ko/
H A Dmailtext.txt12 @DIFF@
/dokuwiki/inc/lang/tr/
H A Dmailtext.txt12 @DIFF@
/dokuwiki/inc/lang/fi/
H A Dmailtext.txt12 @DIFF@
/dokuwiki/inc/lang/sk/
H A Dmailtext.txt12 @DIFF@

12345678910>>...14