Permalink
Commits on Sep 30, 2008
Commits on Sep 29, 2008
  1. Tidying up.

    committed Sep 29, 2008
  2. Refactoring.

    committed Sep 29, 2008
  3. Refactor, plus Towelie can now do diffs with arbitrary thresholds, i.…

    …e., find methods which are identical except for one node, find methods which are identical except for two nodes, etc., for any N nodes. What would be really cool is if it could recognize when those diff nodes were method calls vs. literals, e.g., strings, numbers, etc., because literals are easier to parameterize.
    committed Sep 29, 2008
  4. Comment.

    committed Sep 29, 2008
  5. Refactoring.

    committed Sep 29, 2008
  6. Indentation.

    committed Sep 29, 2008
  7. Weird refactoring. I threw methods on individual objects rather than …

    …creating classes even though the effect is essentially the same. Just took less code and required me to change less stuff.
    committed Sep 29, 2008
  8. Refactoring: added a #stepwise() method to Array, and used it in homo…

    …nyms(). For some reason diff-node spec failing so I had to switch the order of the methods in the ruby2ruby output. That makes no sense and is a flaw not in my code but in my testing strategy. I should be testing on the data, not the pretty-printing. Fail! Well whatever, I'll fix it later.
    committed Sep 29, 2008
  9. Clarification.

    committed Sep 29, 2008
  10. Towelie can find nodes that differ by only one thing they contain. Th…

    …is means you can have two methods - well, you'll see it in the spec data dir, but basically - you can have two methods which differ only by one thing, e.g., a literal or a method call, and if those two methods exist which only differ by one thing, Towelie goes hey, you got two methods here that only differ by one thing. The theory of course is that highly similar methods are prime targets for refactoring. The existing implementation is clumsy, but should improve soon I hope.
    committed Sep 29, 2008
  11. Well, this is pretty crazy. I just put back in the shit I removed. Mu…

    …st be tired or something.
    committed Sep 29, 2008
  12. Took out specs for stuff I'm not doing yet. Also changed load() to pa…

    …rse(). I'm damn near certain I'll refactor that soon.
    committed Sep 29, 2008
  13. Merge branch 'similarity'

    committed Sep 29, 2008
Commits on Sep 19, 2008
  1. New stuff I want to add.

    committed Sep 19, 2008
Commits on Sep 18, 2008
Commits on Sep 14, 2008
  1. Spec refactoring.

    committed Sep 14, 2008
Commits on Sep 13, 2008
  1. Erased inaccurate comment.

    committed Sep 13, 2008
  2. Towelie now has the ability to compare methods from the top-level, me…

    …thods from within classes, and methods from within modules.
    committed Sep 13, 2008
  3. Corrected a comment.

    committed Sep 13, 2008
  4. Refactored to inject().

    committed Sep 13, 2008
  5. Towelie can now pull out distinct methods which have the same name.

    Probably the next step is for the parsing process to retain some metadata, i.e., filename - otherwise this info is of limited usefulness.
    committed Sep 13, 2008
Commits on Sep 12, 2008