Squash: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
Line 6: Line 6:
* Quickly produce large refactoring patches
* Quickly produce large refactoring patches
* Automate parts of deCOMtamination: class squashing & out-param rewriting (in the near future)
* Automate parts of deCOMtamination: class squashing & out-param rewriting (in the near future)
* Helps replacing deprecated APIs at call-sites & function renaming
* Helps replace deprecated APIs at call-sites & function renaming
* Could be integrated into any editor to do eclipse-style refactoring.
* Could be integrated into any editor to do eclipse-style refactoring.
* Has a web frontend.
* Has a web frontend.
Line 12: Line 12:
* '''FIXME''': CPP causes blind-spots in the code.
* '''FIXME''': CPP causes blind-spots in the code.
* '''FIXME''': Lack of precise source locations in parts of the AST.
* '''FIXME''': Lack of precise source locations in parts of the AST.
* '''TODO''': Add Objective C++ support for OSX issues like [https://bugzilla.mozilla.org/show_bug.cgi?id=163260 Exception Checking]

Latest revision as of 19:04, 18 June 2007

Squash is a patch generation tool to assist with Gecko:DeCOMtamination. This blog post describes how to use squash.


Squash: refactoring tool

  • Quickly produce large refactoring patches
  • Automate parts of deCOMtamination: class squashing & out-param rewriting (in the near future)
  • Helps replace deprecated APIs at call-sites & function renaming
  • Could be integrated into any editor to do eclipse-style refactoring.
  • Has a web frontend.
  • Since the squash isn't tied to an IDE, it should evolve quicker. If you discover a boring rewrite task that could be implement as an algorithm - it maybe easier to extend squash than to perform it by hand.
  • FIXME: CPP causes blind-spots in the code.
  • FIXME: Lack of precise source locations in parts of the AST.