GithubHelp home page GithubHelp logo

cfdiff's People

Watchers

 avatar

cfdiff's Issues

Division by zero

What steps will reproduce the problem?

1. When the time to process the data is 0 ms the following error occures:
Error Occurred While Processing Request 
Division by zero. 

row: <cfset Times.x_Factor[i]=Round(t1/t2)&"x">

2. Possible solution
<cftry><cfset Times.x_Factor[i]=Round(t1/t2)&"x"><cfcatch 
type="any"><cfset Times.x_Factor[i]="n/a"></cfcatch></cftry>

Original issue reported on code.google.com by [email protected] on 5 Oct 2009 at 3:06

Unit test testDiffArraysNoChange fails

The testDiffArraysNoChange fails, with this message:
   Recordcount does not match: expected:<0> but was:<1> 

What steps will reproduce the problem?
  1. Get the latest version of the application from SVN
  2. Browse to the testdiff http://localhost/cfdiff/testdiff.cfm
  3. The failure is displayed

I took a quick look, and I am not positive, but it looks like maybe this line:
   <cfset assertEquals("Recordcount does not match",0,Q.RecordCount)>
should maybe be:
   <cfset assertEquals("Recordcount does not match",0,Q.count)>
(using the count, instead of the recordcount)

If that is the case, I've attached a patch file with this solution.

Original issue reported on code.google.com by [email protected] on 12 Jul 2007 at 12:48

Attachments:

Some diffs provoke an error "The element at position 0 of array variable "DOWNVECTOR" cannot be found."

What steps will reproduce the problem?
1. Try to compare  ListToArray("a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q") 
2. and ListToArray("i").
3. The error occurs when using both UnifiedDiffArrays() and Parallelize()

What is the expected output? What do you see instead?
I get an error "The element at position 0 of array variable "DOWNVECTOR"
cannot be found." in diff.cfc: line 495 ( cfset DownVector[DownOffset+k]=x ).

What version of the product are you using? On what operating system?
I'm using the diff.cfc available for download today (Nov 19, 2007)


Original issue reported on code.google.com by glinoer on 19 Nov 2007 at 6:48

SVNBrowser.cfc does not support the "svn" protocol

SVNBrowser does not support the svn protocol, it currently only supports
http. So if the URL to my repository is "svn://servername" instead of
"http://servername" I am unable to use the svnbrowser.

I have a possible solution to this, I will attatch the patch file. 

Original issue reported on code.google.com by [email protected] on 12 Jul 2007 at 12:38

Attachments:

Non-cfc version (cfmodule)

Do we want to implement a version of the algorithm as a plain-old CFM
template for cfmodule uses?  Are enough people still on 4.x or 5.x that
would use this?

Original issue reported on code.google.com by [email protected] on 25 Sep 2006 at 6:35

Refactor the SVN browser

The SVN browser is horrifically bade code.  It should be refactored to use
MVC, or at least something a bit less spaghetti-like.  Do we want plugins
for specific frameworks?

Original issue reported on code.google.com by [email protected] on 2 Oct 2006 at 1:40

Need to implement DiffQueries method

Need to figure out how we want to implement this.  Is it row-based?  Is it
cell-based?

Presumably, we want to be able to diff only a certain subset of columns.

Original issue reported on code.google.com by [email protected] on 25 Sep 2006 at 6:30

Side-by-side, HTML-based diff output

A very common use case is to have side-by-side output, à la MediaWiki
diffs. Rendering this into HTML and providing default styles would be very
helpful. It's something I might be able to contribute a patch for, if
desired. See, for example:

http://www.shlomygantz.com/blog/index.cfm/2005/11/3/Diff-cfc-A-ColdFusion-diff-c
omponent

Original issue reported on code.google.com by [email protected] on 29 Nov 2007 at 9:59

Get a better diff algorithm!

The current diff algorithm, while pleasantly easy to understand, is very
very naive and very very slow.  We need to implement an algorithm that
isn't O(n^2) and won't chew up memory and processor.

Original issue reported on code.google.com by [email protected] on 25 Sep 2006 at 6:32

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.