Differences From:
File
src/info.c
part of check-in
[677aa71bca]
- The g.zExtra parameter is now always available as P("name"). This
means the /wiki/xyz and /wiki?name=xyz are equivalent URLs.
by
drh on
2007-10-12 22:56:18.
[view]
To:
File
src/info.c
part of check-in
[57b2735ebd]
- Enhanced text diff subroutine uses Myers enhancements to Wagners
minimum edit distance algorithm. White space at the end of lines
is ignored.
by
drh on
2007-11-15 21:49:14.
[view]
@@ -511,9 +511,9 @@
Blob from, to, out;
content_get(fromid, &from);
content_get(toid, &to);
blob_zero(&out);
- unified_diff(&from, &to, 5, &out);
+ text_diff(&from, &to, &out, 5);
@ %h(blob_str(&out))
blob_reset(&from);
blob_reset(&to);
blob_reset(&out);
@@ -687,9 +687,9 @@
@ <blockquote><pre>
content_get(v1, &c1);
content_get(v2, &c2);
blob_zero(&diff);
- unified_diff(&c1, &c2, 4, &diff);
+ text_diff(&c1, &c2, &diff, 4);
blob_reset(&c1);
blob_reset(&c2);
@ %h(blob_str(&diff))
@ </pre></blockquote>