Commit Graph

1660 Commits

Author SHA1 Message Date
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
Jeremiah Leary 24e104dd61 Updating rule instantiation_010 to handle both generic and port maps. 2020-11-14 11:27:32 -06:00
Jeremiah Leary 18f64b4684 Removing unused code example. 2020-11-14 10:54:55 -06:00
Jeremiah Leary 7215ce28b2 Refactoring rules when ran against code examples. 2020-11-14 10:49:51 -06:00
Jeremiah Leary f59b593ec7 Updating status in README.rst 2020-11-12 07:49:26 -06:00
Jeremiah Leary f8f1ad66ef Fixing reporting issue if all rules we disabled in the final phase. 2020-11-10 20:12:51 -06:00
Jeremiah Leary 51614d367a Removing old code from previous parser. 2020-11-10 18:12:48 -06:00
Jeremiah Leary e6373d45b1 Removing depricated rules. 2020-11-10 18:12:31 -06:00
Jeremiah Leary b50809347e Fixing bug with architecture_027 in which consecutive skip lines were not fixed. 2020-11-10 07:38:33 -06:00
Jeremiah Leary 49c08aec79 Renaming tests/vhdlFile_new to tests/vhdlFile. 2020-11-10 06:44:38 -06:00
Jeremiah Leary 092d962316 Removing line.py. 2020-11-10 06:42:42 -06:00
Jeremiah Leary bea43bcf15 Removing all calls to line.py.
NOTE:  Still need to keep it around to support testing of the tokenizer.
2020-11-09 21:46:59 -06:00
Jeremiah Leary fb0c170a7c Removing unused code due to refactoring for new parser. 2020-11-09 21:20:50 -06:00
Jeremiah Leary 3b49f937df Removing obsolete classifying code due to refactor for new parser. 2020-11-09 21:01:30 -06:00
Jeremiah Leary 1252231d4d Removing old classifiers due to refactoring for new parser. 2020-11-09 21:00:04 -06:00
Jeremiah Leary b321170640 Removing commented out code. 2020-11-09 20:58:14 -06:00
Jeremiah Leary 2d672df79d Major refactor to remove the use of line.py to improve performance. 2020-11-09 20:49:45 -06:00
Jeremiah Leary bfb2be88e6 Performance updates:
1)  Simplified find_next_token
  2)  Removed unnecessary call to find_next_token in utils.are_next_consecutive_token_types
2020-11-08 20:18:41 -06:00
Jeremiah Leary 03bdc15f65 Adding space to solution output. 2020-11-08 20:16:07 -06:00
Jeremiah Leary b18309ef47 Fixing bug where variable was not defined before being used. 2020-11-08 18:36:30 -06:00
Jeremiah Leary fddb49c6a9 Fixing reporting issues. 2020-11-08 15:30:02 -06:00
Jeremiah Leary 1eeddedc3d Fixing indexing error when comment was the first element in a file. 2020-11-08 15:14:48 -06:00
Jeremiah Leary 790aabea1c Adding note to signal_007 documentation stating rule must be fixed by the user. 2020-11-08 15:14:11 -06:00
Jeremiah Leary e65a60d43d Fixing bug with rule generic_006. It was not handling generics with comments correctly. 2020-11-08 14:45:58 -06:00
Jeremiah Leary 24c76970a8 Refactoring rule constant_012 for new parser. 2020-11-08 14:32:34 -06:00