Skip to content

Releases: apalmer1377/factorus

V1.984375--bug fixes and upgrades

31 Jul 15:16
Compare
Choose a tag to compare

GENERAL

Bugs

  • strange "find" error occasionally with large codebases or frequent use of system('find')
  • A lot of issues with extractMethod (frequently extracts invalid code snippets, lines from mismatched blocks, etc.)

Tasks

  • Manual extraction (methods, types, etc.)
  • Add default argument to function with added parameter
  • Add examples to README (prelim 2017-07-26)
  • Improve FRebuild output
  • look in project root directory for build file before searching (DONE 2017-07-27)

JAVA

Bugs

  • getSubClasses sometimes causes unwanted tabs to stay open, and wanted tabs to close
  • getSubClasses not always getting correct class (nested class implements superclasses, but gets marked as outer level instead of inner level)

Tasks

  • Add optional 'name' parameter for FEncapsulate

C

Bugs

  • Typedefs not noticed in renameField
  • Structs defined within structs not properly identified in renameField
  • Arrays of structs not identified in renameField
  • Method declarations without implementation not noticed as tags
  • Struct definition with no name shouldn't be noticed as a tag
  • renameType doesn't search all header files (header files don't need to include base file)
  • rollbackRename sometimes throws 'unable to open swap file' error
  • rename needs to update include files in case of static

Version 1.96875--C Support

24 Jul 15:03
Compare
Choose a tag to compare

C SUPPORT--RELEASE 1.96875

GENERAL

Tasks

  • Added support for C programming language (addParam, renameArg, renameType, renameMethod, extractMethod, renameMacro, renameField)

Bugs

  • Rollback for renameClass doesn't work properly (FIXED 2017-07-17)
  • updateQuickFix breaks if only one file is read (FIXED 2017-07-17)

JAVA

Bugs

  • single-line, no-bracket for and while loops screw with getAllBlocks (FIXED 2017-07-17 for while, for is tricker)

Tasks

  • add ability to rename enum field (i.e., if you have enum DayOfWeek, rename Monday to MONDAY) (DONE 2017-07-17)

Version 1.9375

13 Jul 14:55
Compare
Choose a tag to compare

GENERAL

Bug Fixes

  • FRollback doesn't work properly if quickfix file gets opened

New Features/Improvements

  • Rebuild command to validate code changes (ant/gradle/make/maven builds)
  • Make all methods atomic--if an error is thrown or the function is interrupted, roll back the changes
  • Provide list of all files/ all changes made after a rename
  • Provide list of all changes NOT made after a rename
  • Allow both changes and unchanges to be seen (I know that isn't a word)

JAVA

Bug Fixes

  • When breaking up lines in extractMethod, function hangs when line length == g:factorus_line_length
  • When other declarations were before return declaration, extractMethod incorrectly added declaration into conditional block
  • End message doesn't display when running FRollback from other tab
  • Multiple declarations on the same line (int i,j) don't get noticed
  • When constructed type contains question mark (Foo<? extends Bar>), declarations don't get noticed
  • extractMethod still sometimes not noticing conditionals
  • When subclass declaration extends multiple lines, subclass doesn't get noticed
  • Classes with the same name in the same package should be considered the same entity

New Features/Improvements

  • Speed up renameMethod (again)

PYTHON

Bug Fixes

  • Some changes can't be seen in rename, and so are overwritten

New Features/Improvements

  • Rollback function--when things don't go as expected, provide a rollback to undo the previous action
  • extractMethod function