|
Are there any libraries (3rd party or built-in) in PHP to calculate text diffs?
Started by nickf on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
It really depends....
For performing and rendering text diffs
What sort of diffs? File diffs? There is array_diff() which actsit depends exactly what you mean and what you want to do but there is
PEAR Text_Diff - Engine it.
|
|
I would need to perform Diffs between Java strings. I would like to be able to rebuild a string from the original string and diff versions. Does anyone has done this in Java? What library do you use?
String a1; // This can be a long text String a2; //...
Started by Sergio del Amo on
, 7 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The java diff utills libraryApache Commons has String diff
org.apache.commons.lang.StringUtils
StringUtils.difference("foobar also want to have a look at that.
RFC 3284 (VCDIFF) for binary diffs (should work with strings too).
|
|
Eric suggests that you read your team's diffs every morning. Can I get TFS to automate this in some way? Ideally I'd like an email with all of the differences in, but I'd settle for a link to each of the commits.
Started by Andrew on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
As someone who works for Eric and who....
The other.
Whether you can get code diffs, I don't know.
Have you explored setting up a report on the project portal that would show diffs based on date of information you can get out of the portal.
|
Ask your Facebook Friends
|
Anyone know of a JS library that will allow me to syntax highlight a code block, then highlight line-level diffs? For example, in a subversion diff, I'd like to highlight the characters on the line that have changed (as well as highlighting the fact that...
Started by Peter Mounce on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm not sure if it supports diffs though, but I think it's quite.
I've used this to generate diffs of code in a browser -- it's excellent
http://snowtide.com is great, and supports lots of languages.
|
|
My web application is similar to StackOverflow in that different users frequently edit the same blob of text.
Currently we only support plain text, and therefore it's easy to show users how the text has changed between edits.
I want to support rich text...
Started by Horace Loeb on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You'll probably the diff as the user types, or something like that, you could use AJAX to hand off the diff work to the server.
Stack Overflow does diffs on the server side.
Of a Javascript WYSIWYG editor that does diffs.
|
|
I am looking for an FTP program (free if possible) that can find diffs between the client and server so it does not have to upload 50 gb every time I commit files.
I cannot use svn since this machine is not on my network.
Started by Eran on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at superuser):
In what context are you going to use this?
sitecopy... .
FileZilla will do the job
How about using rsync ?
If you want a desktop application, FileZilla is a good choice, but if you want something you can target programmatically, rsync is probably better .
|
|
I've been tasked with creating a tool that can diff and merge the configuration files for my company's product. The configurations are stored as either XML or URL-encoded strings. I'm looking for a library, preferably open source with a license compatible...
Started by rmeador on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Here is a C++ library that....
After running the diff, parse the result to get a tree containing what was added / removed.
Subversion comes with libsvn_diff and libsvn_delta licensed under Apache Software License of the original formatting.
|
|
I need to know if the two patches are effectively the same.
I have an old patch file and new patch file created with the unix diff command. Just diff'ing the patches reports differences due to the timestamp when the patch was created.
Is there a way (...
Started by srking on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You could apply both patches to copies of the same source file and then use diff normally to check.
|
|
Fix for the diffs? Is there a fix for the diffs in these cars except for shimming? Xo-1
Pede 4x4 PE - Slash 4x4 PE
Miss Geico Boat
Started by YOLOer on
, 12 posts
by 7 people.
Answer Snippets (Read the full thread at traxxas):
diff....
Nobody is born with experience.
Bear in mind that a too tight slipper and full throttle or full brake landings are diff killers.
Originally Posted by YOLOer Is there a fix for the diffs in these cars except for shimming? Not really.
|
|
Our team uses svn to manage our source. When performing a re-factor on a C file, I occasionally both change functions and move them within the file. Generally I try to avoid moving functions, because it makes the default svn diff get a bit addled about...
Started by Peter on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
And uninteresting diff for cosmetics work is ignored, and you have a concise diff for the functional changes..
|