PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Text » Text_Diff

Engine for performing and rendering text diffs

This package is unmaintained.

Download latest release 1.2.3 (there might be newer Composer installable version)

License: LGPL

Description

This package provides a text-based diff engine and renderers for multiple diff output formats.

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#1397ClosedBug2004-05-13final is a reserved keyword in php 5
#2178ClosedReq2004-08-20Question about class naming and PHP QA int Text_Diff
#2506ClosedBug2004-10-11all @param tags have the order reversed
#2507ClosedBug2004-10-11CRITICAL: diff renderer fails in all cases in PHP5 because of get_class()
#3730ClosedBug2005-03-07New lines being added in Text_Diff_Renderer_inline
#4065ClosedBug2005-04-05Renderer calls _endBlock for every edit
#4300BogusBug2005-05-06strange diff result
#4301DuplicateReq2005-05-06tags not closed
#4549ClosedBug2005-06-08parameters not passed correctly in Renderer::getParams()
#4879ClosedBug2005-07-22Text_Diff_Renderer_inline hangs on numbers in input string
#4982OpenReq2005-08-03diff on a little bit wrong place with inline renderer
#5108ClosedBug2005-08-16packages does not install without giving the exact url
#5152ClosedBug2005-08-19Inline checking fails in versions earlier than 4.3.0
#5373ClosedReq2005-09-12Engine that handles existing diffs/patches
#5472No FeedbackReq2005-09-21inline renderer always encodes html entities forcefully, should be controllable
#6251ClosedBug2005-12-15Unified diffs get too much trailing context
#6265ClosedBug2005-12-16native_engine does not detect whitespace changes
#6359OpenReq2005-12-28Ignore whitespace
#6428ClosedBug2006-01-06Problem with single digits after space
#6440ClosedBug2006-01-07require Text/Diff/Renderer.php in inline.php
#6699ClosedBug0.2.02006-02-05Text_Diff::reverse() wrong arument for clone
#7839ClosedBug0.2.12006-06-08wrong output by render function of Renderer.php
#7921ClosedBug2006-06-16inline renderer hangs indefinitely on strings with \0
#8096No FeedbackReq0.2.12006-07-01diff generated is wrong.
#8495BogusBug0.2.12006-08-17deprecated coding practices causing annoying warning messages
#10423ClosedBug0.2.12007-03-20Assert on line 202 (file: native.php) fails for no apparent reason
#11254ClosedBug0.2.12007-06-09strict-mode warnings for reverse()
#11963BogusBug0.2.12007-09-02package totally broken
#12051ClosedReq0.2.12007-09-13New "shell" engine which uses gnu diff directly via shell_exec
#12091SuspendedReqCVS2007-09-20remove some PHP 5 Strict messages
#12111ClosedReqCVS2007-09-25Default renderer sets wrong line number for deleted lines
#12433BogusBug0.3.12007-11-13Misaligned replacement array?
#12579ClosedBug0.3.12007-12-02license clarification needed
#12740ClosedBug0.3.12007-12-20Failed assertion in Text_diff
#13184DuplicateReqCVS2008-02-232 New Functions for Text_Diff
#14494DuplicateReq1.0.02008-08-12No option to not use htmlspecialcharacters with inline renderer.
#14533ClosedBug1.0.02008-08-20No output when comparing two one-line strings using 'string' engine
#14625ClosedBug1.0.02008-09-09Autodetect mode in string.php contains incorrect logic
#16240ClosedBug1.1.02009-05-19Referencing array in place of string in xdiff.php
#16442BogusBug1.1.02009-07-16Various notices
#16470Wont fixReq1.1.12009-07-24Patching capability
#16552DuplicateBug1.1.12009-08-29not expected diff output when a line splitted in two lines
#16562BogusBug1.1.12009-09-02inline renderer shows too much text as changed
#16564BogusBug1.1.12009-09-02inline renderer switches words and lines split level
#16662BogusBug1.1.12009-09-30Triggers E_STRICT error messages
#16774OpenReq1.1.12009-11-10Word boundaries are insufficient for inline differ
#16965OpenReq1.1.12010-01-03Formatting output of context- and unified-diff
#17000BogusBug1.1.12010-01-15The package uses depracated php functions
#17090BogusBugUnknown2010-02-12PHP array_walk OOP issue
#17502OpenBug1.1.12010-06-18Text_Diff3 merge conflicts without reason
#17620OpenReq1.1.12010-07-22Trimming newlines should not be done by the engines
#17630BogusBug1.1.12010-07-25Deprecated errors on referenced return values
#17782ClosedBug1.1.12010-08-21package.xml refers xdiff as extension, not pecl package
#18098Wont fixReq1.1.12010-12-06Support modern PHP
#18116DuplicateReq1.1.12010-12-14PHP5 compatibility
#19771Wont fixBug1.1.12013-01-03Deprecated notices under PHP 5.3
#21055Wont fixBug1.2.12016-04-20PHP7: Methods with the same name as their class will not be constructo