Commit Graph

47 Commits

Author SHA1 Message Date
Jeremiah C Leary a6d82e7bbe Updates for issue #248:
Updated the process classifier to update the insideResetProcess line attribute.
2019-09-08 06:40:01 -05:00
Jeremiah C Leary 41653e3cba Updates for issue #251:
Fixed issue where ports in an instantiation which started with "end" were classified as the end of the architecture.
Fixed issue where concurrent assignments which started with "end" were classified as the end of the architecture.

  1)  Added tests
  2)  Updated architecture classifier
2019-09-07 07:57:01 -05:00
Jeremiah C Leary 43e708cf16 Updates for issue #195:
1)  Added classification of clock processes
  2)  Added classification for after keyword
  3)  Added tests to validate classifications
2019-06-09 21:08:47 -05:00
Jeremiah C Leary a7d0aa556d Updates for issue #237
Added rule constant_014 to handle multiline non array constants:

  1)  Added documentation
  2)  Fixed rule constant_012 so it does not fire on non array constants
  3)  Added rule constant_014
  4)  Added tests
  5)  Added classification of array constants
2019-06-08 11:22:31 -05:00
Jeremiah C Leary 65159fcb0b Updates for issue #220
Adding test case to procedure tests.

  1)  Updated meaning of isProcedureParameterEnd.
2019-03-22 17:52:04 -05:00
Jeremiah C Leary 6f7ae69e55 Updates for issue #220:
Invalid classification of procedure "begin" keyword as a process "begin" keyword.

  1)  Updated tests to include testcase
  2)  Updated code to handle testcase
2019-03-22 17:26:42 -05:00
Jeremiah C Leary f2f0ac5bc9 Updates for issue #181
Adding code tag classifier.
2019-03-10 11:09:02 -05:00
Jeremiah C Leary a974530bb5 Updates for issue #204
Added rule to handle generate label and generate keyword not on the same line:

  1)  Added generate_015 to flag label and keyword not on the same line
  2)  Added tests
  3)  Added documentation
  4)  Improved classification of generates to detect label and keyword not on the same line

NOTE:  This is currently not fixable.
2019-03-02 08:57:01 -06:00
Jeremiah C Leary cf9b3b7791 Updates for issue #193
Build failed, but local tests passed.
Tracked problem down to not setting filename in vhdlFile object.
2019-02-24 13:29:10 -06:00
Jeremiah C Leary 183b9f5c18 Updates for issue #193
The class vhdlFile now takes a list instead of a file name.
This removes the responsibility of reading the file from the vhdlFile class.
Which allows for better integration into other tools.
2019-02-24 12:49:25 -06:00
Jeremiah C Leary 15d39274c3 Updates for issue #206
1)  Fixing Codacy issues
2019-02-24 09:42:29 -06:00
Jeremiah C Leary a51c390771 Updates for Codacy issues. 2019-02-17 09:49:32 -06:00
Jeremiah C Leary 3f094345a2 Updates for issue #208
1)  Added "when" attributes to line object
  2)  Added classification of "when" constructs
  3)  Added tests
2019-02-17 09:28:19 -06:00
Jeremiah C Leary 9a68c25937 Fixing issues identified by Codacy. 2018-12-18 08:43:16 -06:00
Jeremiah C Leary e8de82199d Updates for codacy issues. 2018-12-12 15:45:40 -06:00
Jeremiah C Leary 3af2b46496 Updates for issue #109:
Blank line after "end if" keyword is now enforced.

  1)  Added test case
  2)  Updated documentation
  3)  Added rule
2018-12-03 19:53:51 -06:00
Jeremiah C Leary 317c728d6e Adding wait_001 rule to handle indenting of wait statements.
1)  Added tests
  2)  Added docmentation
  3)  Added rule
2018-12-01 11:03:11 -06:00
Jeremiah C Leary 19985ea81b Fixing code style issues. 2018-11-15 18:53:08 -06:00
Jeremiah C Leary 33e81c896a Preparing for release 0.21
1)  Updated release number
  2)  Added/Updated comments
2018-11-01 21:04:31 -05:00
Jeremiah C Leary 937ff79e13 Updates for issue #168
1)  Added handling of files being passed that do not exist
  2)  Updated documentation
  3)  Updated tests
2018-09-22 09:07:25 -05:00
Jeremiah C Leary 510ba10e8c Updates for issue #161
Adding initial support for blocks:

  1)  block structures are now detected
  2)  indenting enforced

NOTE:  extensive testing of structures within a block have not been tested.
2018-09-12 20:53:05 -05:00
Jeremiah C Leary a142f78ef2 Updates for issue #133:
1)  Updated classification of functions.
  2)  Updated tests
2017-12-30 12:27:23 -06:00
Jeremiah C Leary 4710c436b7 Updates for issue #132:
1)  Updated classification of procedures
  2)  Updated tests
  3)  Added procedure_005 rule
  4)  Updated documentation
2017-12-30 09:31:22 -06:00
jcleary cef1a0a7a0 Updating classifiers to handle more conditions. 2017-12-29 21:03:16 -06:00
Jeremiah C Leary d6068f3fb9 Adding API documentation. 2017-12-29 07:14:36 -06:00
Jeremiah C Leary fdb45d79ae Refactoring classifiers and several rules. 2017-12-28 06:57:39 -06:00
Jeremiah C Leary a0033246c7 Updates for issue #129
1)  Added classification of procedures
   2)  Added procedure rules 001, 002, 003, and 004.
   3)  Added tests
   4)  Added documentation
2017-12-27 11:56:25 -06:00
Jeremiah C Leary 8b18201fe7 Updates for issue #129
1)  Added ability to correctly classify nested generates.
  2)  Added tests
2017-12-26 08:00:31 -06:00
Jeremiah C Leary 41510950d9 Updates for issue #128
1)  Function parameters are no longer classified as signals or constants
  2)  Functions in packages are now classified
  3)  Updated tests
2017-12-26 07:23:56 -06:00
Jeremiah C Leary 1145cda18f Updates for issue #124
1)  Added file statement attributes to line.py
  2)  Added file statement classifier
  3)  Added file statement rules
  4)  Added tests
  5)  Added documentation
2017-12-25 11:24:06 -06:00
Jeremiah C Leary 03636fe358 Updates for issue #123
1)  Added attribute attributes to line.py
  2)  Added attribute classifier
  3)  Added attribute rules
  4)  Added tests
  5)  Added documentation
2017-12-25 09:50:45 -06:00
Jeremiah C Leary b055aa9b1f Removing unused imports to address Codacy issues. 2017-12-24 07:32:32 -06:00
Jeremiah C Leary b85d8c84c0 Refactored type rules into type_definition rules to address Codacy issue. 2017-12-24 06:59:07 -06:00
Jeremiah C Leary 071010fb3e Updates for rule #73
1)  Added rule with_001
  2)  Added tests
  3)  Added documentation
2017-12-14 08:42:39 -06:00
Jeremiah C Leary 7260c444e0 Updates for code style. 2017-12-08 21:02:57 -06:00
Jeremiah C Leary d9ac954028 Updates for code style. 2017-12-08 20:00:47 -06:00
Jeremiah C Leary 006ad3a616 Updates for issue #107
1)  Added classifier for while loops
  2)  Updated existing classifiers to handle while loops
  3)  Added tests
  4)  Added documentation
  5)  Added two rules for while loops
2017-12-06 19:53:30 -06:00
Jeremiah C Leary 0cc31c9903 Updates for issue #108
1)  subtypes are classified now
  2)  created tests
  3)  Added fix
  4)  Added documentation
2017-12-05 21:32:18 -06:00
Jeremiah C Leary 4236da7818 Updates for issue #105
1)  Split entity_015 into entity_015 and entity_019
  2)  Updated tests
  3)  Added sphinx documentation
2017-12-04 21:04:24 -06:00
Jeremiah C Leary 0df27ef020 Updates for issue #71
1)  Added classification for assert statements
  2)  Added indent rule
  3)  Added test for assert statements
2017-12-03 07:17:29 -06:00
Jeremiah C Leary a6b0cace48 Updates for code coverage:
1)  Moved write method from vhdlfile.py to write_vhdl_file in vsg.
      This seems like a more logical place for the write function.
2017-12-02 16:53:46 -06:00
Jeremiah C Leary 041158382f Updates for issue #90
1)  Created classify.py
  2)  Moved attribute classifications to their own functions within classify.py
2017-12-01 17:29:05 -06:00
Jeremiah C Leary 5cb2abdc1b Updates for issue #91
1)  Create update.py
  2)  Moved the update functions to update.py
2017-12-01 16:34:16 -06:00
Jeremiah C Leary 7865e92b3f Upadates for issue #91
1)  Refactored update_inside_attributes by moving individual updates to their own functions.
2017-12-01 16:29:40 -06:00
Jeremiah C Leary c6c01a1462 Updates for issue #91
1)  Refactored boolean flags out and used attributes from the line object
2017-12-01 16:07:19 -06:00
Jeremiah C Leary 6aa7ed577c Style updates. 2017-12-01 06:06:41 -06:00
Jeremiah C Leary d76b08bf8d Updates for code climate
1)  Moved vhdlFile to it's own directory so it can be split up
2017-11-26 07:16:16 -06:00