Commit Graph

1684 Commits

Author SHA1 Message Date
Jeremiah Leary 2be4bd6a01 Adjusting subphase for constant_012 and constant_014 to ensure they run last in alignments. 2020-11-27 08:19:19 -06:00
Jeremiah Leary 31690f66ce Issue #485: Rule signal_015 was incorrectly formatting new signal declarations. 2020-11-27 07:26:09 -06:00
Jeremiah Leary 9bf3d71b60 Refactoring signal_005 and variable_005 to use the single_space_after base rule. 2020-11-26 20:55:22 -06:00
Jeremiah Leary fe646bbc71 Issue #482: Refactoring rule concurrent_009 to improve readability. 2020-11-26 19:21:42 -06:00
Jeremiah Leary c7c0911824 Updates for issue #482:
Added rule concurrent_009 to handle conditional_signal_assignments.

  1)  Removed conditional_signal_assignments from rule concurrent_003
  2)  Added tests
  3)  Added documentation
  4)  Added rule concurrent_009
2020-11-26 18:43:16 -06:00
Jeremiah Leary 5ba6e9fef1 token_indent would not handle indents which were not defined. 2020-11-25 15:48:38 -06:00
Jeremiah Leary e561760155 Adjusting indents for comments.
1)  library_009 sets the correct indent
  2)  Indents for comments within concurrent signal assignments are removed to allow for proper alignments
2020-11-25 15:19:16 -06:00
Jeremiah Leary ae367a907a Refactoring vsg.vhdlFile.vhdlFile.set_token_indent into it's own file. 2020-11-25 14:34:47 -06:00
Jeremiah Leary e4cdef673a Making consistent case rules ignore entity names. 2020-11-25 14:15:39 -06:00
Jeremiah Leary 7bdad636b5 Fixing issue where loop_statement was mis-classifying a wait for statement after an else keyword. 2020-11-25 11:50:40 -06:00
Jeremiah Leary aba8f10121 Removing unused file. 2020-11-25 09:36:17 -06:00
Jeremiah Leary f7fe1122b1 More updates for Codacy checks. 2020-11-25 09:33:32 -06:00
Jeremiah Leary 379d5df847 Removing trailing spaces. 2020-11-25 08:26:54 -06:00
Jeremiah Leary 2ed37e75c9 Updates for CodeClimate. 2020-11-25 08:17:51 -06:00
Jeremiah Leary 9c0fc9fb2a Removing unused code. 2020-11-24 19:34:05 -06:00
Jeremiah Leary 39dce36ec8 Additional Codacy Updates. 2020-11-24 18:19:42 -06:00
Jeremiah Leary a0a9813d89 Codacy fixes. 2020-11-24 17:14:00 -06:00
Jeremiah Leary b7e26e8e0a Updates for issue #483:
Fixing rule constant_011 so it checks the correct tokens for case.

  1)  Updated tests to expose issue
  2)  Converter constant_011 to use the same base rule as signal_011
2020-11-24 12:43:41 -06:00
Jeremiah Leary c5712a81fb Updates for issue #480
Adding rule if_035 to handle conditions not on the same line as **if** and **elsif** keywords.

  1)  Added test
  2)  Added documentation
  3)  Added rule if_035
  4)  Updated test for rule if_009
2020-11-24 12:30:09 -06:00
Jeremiah Leary 023b2fbbcd Updates for issue #479
Updated if statement rules to allow for a single blank line before or after keywords.

  1)  Updated tests
  2)  Updated rules
      a)  if_statement_006
      b)  if_statement_007
      c)  if_statement_008
      d)  if_statement_010
      e)  if_statement_011
2020-11-24 11:12:03 -06:00
Jeremiah Leary 4772e9949f Adding indenting for package_body. 2020-11-23 19:01:37 -06:00
Jeremiah Leary d706afaa27 Enhancing solution text for rules. 2020-11-23 18:14:01 -06:00
Jeremiah Leary 8134c869ec Adjusting indent level for rules that align comments above a keyword to prevent subsequent comment_004 triggers. 2020-11-23 17:47:24 -06:00
Jeremiah Leary 0ef92f40f2 Fixing crash error due to variable not being created before being used. 2020-11-23 17:38:01 -06:00
Jeremiah Leary 8482d7490e Adding solutions to comment_004 and whitespace_007 rules. 2020-11-23 17:23:34 -06:00
Jeremiah Leary 4d33270510 Updating rule process_032 to handle various formats of labels. 2020-11-23 17:17:21 -06:00
Jeremiah Leary 8773a06582 Adding solution to rule process_032. 2020-11-23 16:24:04 -06:00
Jeremiah Leary 8e7d38f68d Updating discrete_range to handle functions and parenthesis. 2020-11-23 16:08:48 -06:00
Jeremiah Leary eab35919c9 If a solution is not defined, then None will be used. 2020-11-23 11:08:14 -06:00
Jeremiah Leary 33113536cb Adding solution for rule instantiation_033. 2020-11-23 11:07:48 -06:00
Jeremiah Leary 7d7967263c Fixing solution output to add a space before the indent level. 2020-11-23 11:07:02 -06:00
Jeremiah Leary 5f052fea1a Updates for issue #478
Added ability to read ISO 8859-1 encoded files.
2020-11-23 10:27:48 -06:00
Jeremiah Leary d76c673437 Renaming classify_new module to classify. 2020-11-23 09:24:59 -06:00
Jeremiah Leary 55a3f3f13f Refactoring rule_item into rule. 2020-11-23 09:02:06 -06:00
Jeremiah Leary c2de119824 Updates for issues #464 and #465:
Generic map aspect rules moved from instantiation to generic_map rules.
Port map aspect rules moved from instantiation to port_map rules.

  1)  Updated documentation
      a)  Added generic_map rule section
      b)  Added port_map rule section
  2)  Moved instantiation rules to generic_map rules
  3)  Moved instantiation rules to port_map rules
2020-11-22 21:42:29 -06:00
Jeremiah Leary 6a229f2640 Updates for issue #469
Fixed issue with rules instantiation_025 and instantiation_026 firing on lines in which the parenthesis was on the same line.

  1)  Updated tests to expose issue
  2)  Updated base rule to address issue
2020-11-22 19:53:54 -06:00
Jeremiah Leary 476a5f0729 Updating conversion status. 2020-11-22 19:36:28 -06:00
Jeremiah Leary 6f9b598617 Updates for issue #473:
1)  Removed rule process_037 as it was a duplicate of rule process_031
2020-11-22 16:15:07 -06:00
Jeremiah Leary 61fa7f46a0 Removing unused rule. 2020-11-22 15:58:07 -06:00
Jeremiah Leary c292eecdd0 Refactoring after rules for new parser. 2020-11-22 15:38:47 -06:00
Jeremiah Leary 72099b17a1 Refactoring code tags to work with new parser.
1)  Added code tags to tokens
  2)  Added methods to parse code tags
  3)  Updated tests
2020-11-22 10:24:00 -06:00
Jeremiah Leary fad6f180b6 Updates to address additional style tests:
1)  Updated blank line above/below rules to default to not allow comments
      a)  Set several tests which already allowed comments to allow comments
      b)  Updated documentation
      c)  Added documentation for configuring blank line rules
  2)  Fixed generate_011
      a)  Now handles all three types of generates
      b)  Handles nested generates
2020-11-21 17:00:16 -06:00
Jeremiah Leary 0ae78b9e03 Updates for context rules to handle blank lines correctly. 2020-11-19 20:23:48 -06:00
Jeremiah Leary 12d7d6f6ad Updating indent rules for generate statement body.
1)  Changed indent level of begin and end keywords
  2)  Updated rule generate_006
  3)  Added rule generate_018
  4)  Updated documentation
2020-11-15 22:13:54 -06:00
Jeremiah Leary a11123d930 Adjusting classification of generate_statement_body.
1)  a *begin* will be classified even if a declarative is not present
  2)  improved classification of the optional end statement
2020-11-15 18:03:25 -06:00
Jeremiah Leary 6ae3ef049f Re-enabled vsg level tests:
1)  Fixed local rule test to use the new parser
2020-11-15 14:58:48 -06:00
Jeremiah Leary caa686c85c Updates for severity feature:
1)  Fixed several solution output messages
  2)  Fixed issue with JUnit generation
  3)  Updated tests
2020-11-15 14:21:29 -06:00
Jeremiah Leary 9dad651e0a Updates for indent_only style.
1)  Fixed phase for rule whitespace_012
  2)  Minor updates to code examples to match new rule results
2020-11-15 11:39:15 -06:00
Jeremiah Leary 55edb03ed7 Hardning updates for existing code examples:
1)  Added single_space_before_token to handle case_rule_005
  2)  Added insert_carriage_return.......
  3)  Improved existing tests
2020-11-15 09:51:21 -06:00
Jeremiah Leary cccf9b7d7c Updates during jcl style validation.
1)  Added rule function_016 to handle return statements in functions
      a)  Updated documentation
      b)  Created tests
      c)  Added rule
  2)  Updated rules to match existing jcl style output
2020-11-14 17:07:48 -06:00