| /dokuwiki/_test/tests/inc/ |
| H A D | difference_engine.test.php | 13 $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> 19 …diff-lineheader">-</td><td class="diff-deletedline"><strong class="diff-mark">zzz</strong></td><td… 20 <tr><td class="diff-lineheader"> </td><td class="diff-context"></td><td class="diff-lineheader… 21 <tr><td class="diff-lineheader"> </td><td class="diff-context">aaa</td><td class="diff-linehea… 22 <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></… 23 <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">bbb</td… 24 <tr><td class="diff-lineheader"> </td><td class="diff-context"></td><td class="diff-lineheader… [all …]
|
| /dokuwiki/lib/tpl/dokuwiki/css/ |
| H A D | _diff.css | 2 * 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 D | FeedPageProcessor.php | 5 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 …]
|
| H A D | FeedCreatorOptions.php | 41 'item_content' => 'diff', 75 ['diff', 'page', 'rev', 'current'], 80 ['abstract', 'diff', 'htmldiff', 'html'],
|
| H A D | FeedMediaProcessor.php | 36 case 'diff': 43 'media_do' => 'diff' 53 case 'diff':
|
| /dokuwiki/vendor/paragonie/constant_time_encoding/src/ |
| H A D | Base64UrlSafe.php | 79 $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 D | Base64.php | 303 $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/Subscriptions/ |
| H A D | PageSubscriptionSender.php | 5 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;
|
| H A D | MediaSubscriptionSender.php | 8 * Send the diff for some media change
|
| /dokuwiki/inc/Action/ |
| H A D | Diff.php | 9 * Class Diff 15 class Diff extends AbstractAction class 28 // store the selected diff type in cookie
|
| /dokuwiki/inc/ |
| H A D | DifferenceEngine.php | 3 * 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/Ui/ |
| H A D | Diff.php | 8 * 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 D | PageDiff.php | 18 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 D | MediaDiff.php | 16 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 D | MediaRevisions.php | 66 $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');
|
| H A D | PageRevisions.php | 93 $RevInfo->showIconCompareWithCurrent(), // link to diff view icon 106 // show button for diff view 107 $form->addButton('do[diff]', $lang['diff2'])->attr('type', 'submit');
|
| /dokuwiki/_test/tests/Feed/ |
| H A D | FeedPageProcessorTest.php | 101 "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]);
|
| H A D | FeedMediaProcessorTest.php | 72 …age=wiki%3Adokuwiki-128.png&ns=wiki&rev=$expectedMtime&tab_details=history&media_do=diff&do=media", 73 $proc->getURL('diff') 78 $doc->html($proc->getBody('diff'));
|
| /dokuwiki/inc/ChangeLog/ |
| H A D | RevisionInfo.php | 55 * 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/revert/ |
| H A D | admin.php | 149 echo '<a href="' . wl($recent['id'], "do=diff") . '">'; 151 $p['src'] = DOKU_BASE . 'lib/images/diff.png'; 154 $p['title'] = $lang['diff']; 155 $p['alt'] = $lang['diff'];
|
| /dokuwiki/vendor/geshi/geshi/src/geshi/ |
| H A D | bash.php | 156 'cvs commit', 'cvs diff', 'cvs edit', 'cvs editors', 'cvs export', 165 'dialog', 'diff', 'diff3', 'dig', 'dir', 'dircolors', 'directomatic', 186 'git diff', 'git diff-files', 'git diff-index', 'git difftool', 187 'git difftool--helper', 'git diff-tree', 'git fast-export', 226 'git-describe', 'git-diff', 'git-diff-files', 'git-diff-index', 227 'git-difftool', 'git-difftool--helper', 'git-diff-tree', 306 'svn delete', 'svn di', 'svn diff', 'svn export', 'svn help', 329 'svnlook diff', 'svnlook dirs-changed', 'svnlook filesize',
|
| H A D | diff.php | 3 * diff.php 10 * Diff-output language file for GeSHi. 47 'LANG_NAME' => 'Diff',
|
| /dokuwiki/lib/scripts/ |
| H A D | media.js | 581 * Sets options for opacity diff slider 586 var $diff = jQuery("#mediamanager__diff"); 587 var $slider = $diff.find("div.slider"); 590 var $image = $diff.find('div.imageDiff.opacity div.image1 img'); 605 * Sets options for red line diff slider 610 var $diff = jQuery("#mediamanager__diff"); 611 if (!$diff.length) return; 613 var $image1 = $diff.find('div.imageDiff.portions div.image1 img'); 614 var $image2 = $diff.find('div.imageDiff.portions div.image2 img'); 617 $diff.width('100%'); [all …]
|
| /dokuwiki/conf/ |
| H A D | dokuwiki.php | 125 $conf['rss_linkto'] = 'diff'; //what page RSS entries link to: 126 // 'diff' - page showing revision differences 132 … // 'diff' - plain text unified diff wrapped in <pre> tags 133 // 'htmldiff' - diff as HTML table
|
| /dokuwiki/vendor/splitbrain/php-jsstrip/ |
| H A D | composer.lock | 578 "sebastian/diff": "^3.0.2", 715 "sebastian/diff": "^3.0", 774 "name": "sebastian/diff", 778 "url": "https://github.com/sebastianbergmann/diff.git", 783 …"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/14f72dd46eaf2f2293cbe79c93cc0b… 819 "description": "Diff implementation", 820 "homepage": "https://github.com/sebastianbergmann/diff", 822 "diff", 825 "unified diff" 828 "issues": "https://github.com/sebastianbergmann/diff/issues", [all …]
|