Commit Graph

3411 Commits

Author SHA1 Message Date
Dandaedre 4c067fdf9b
Make fork package versions explicit
VSG fork CI VSG tests and package installation checks passed.
MadGobblins/vhdl-style-guide/pipeline/head This commit looks good Details
2026-10-03 22:10:44 +02:00
Dandaedre b7dc18c157
Report parser locations in incomplete diagnostics
VSG fork CI VSG tests and package installation checks passed.
MadGobblins/vhdl-style-guide/pipeline/head This commit looks good Details
2026-10-03 21:16:18 +02:00
Dandaedre 4580a83ea1
Document provenance and make editor streams failure-safe
VSG fork CI VSG tests and package installation checks passed.
MadGobblins/vhdl-style-guide/pipeline/head This commit looks good Details
2026-10-03 15:52:02 +02:00
Dandaedre 99d18a3b96
Restrict fixes by rule identifier and source line 2026-10-03 15:51:35 +02:00
Dandaedre 9e41eecfef
Expose versioned JSON diagnostics for editor clients 2026-10-03 15:51:21 +02:00
Dandaedre 39a399c2c6
Automate fork rebasing, packaging, and publication 2026-10-03 15:51:06 +02:00
Dandaedre 7b9e9128fe
Return fixed editor buffers through standard output 2026-10-03 15:50:46 +02:00
Jukka Hertzog 650058d9f9
Merge pull request #1576 from malsheimer/fix/token_prefix_clear_exception_list
Clear compiled exception list in token_prefix on each analyze
2026-09-06 10:41:23 +01:00
Michael Alsheimer e980d5ec92 fix(token_prefix): clear compiled exception list
generate_regexp_exceptions appends compiled patterns on every
analyze() call. fix() then check_rules() run analyze() twice
on the same instance, so the list grew without being reset.
2026-08-15 19:07:17 +02:00
Jukka Hertzog 4aef763290
Merge pull request #1553 from JHertz5/issue-1548
Issue#1548: Modified relaxedCamelCase to allow consecutive capital letters at the end.
2026-07-24 15:14:23 +01:00
Jukka Hertzog 4d1ba8dd47
Merge pull request #1565 from gaoflow/issue-1564
Issue#1564: Fix block_201 false positive on leading comments when block "is" is omitted
2026-07-03 19:39:32 +01:00
Jukka Hertzog f2bd0a19af
Merge pull request #1563 from lzulberti/fix/allow_comment
Remove self.allow_comment on previous_line base rule
2026-07-03 19:29:27 +01:00
Luca Zulberti 76461a18fd
Remove spurious self.allow_comment from previous_line 2026-06-24 15:06:18 +02:00
Jukka Hertzog 6dd1d02da2
Merge pull request #1550 from SAY-5/fix-issue-1549-deferred-constant-crash
Fix crash in multiline array rules on deferred constants
2026-06-19 08:30:59 +01:00
Vincent Gao 9895b186d2
Issue#1564: Fold regression test into test_rule per review
Address review feedback: rename the input file to follow the descriptive
naming convention (rule_201_test_input.block_without_is.vhd) and move the
test into the existing test_rule class instead of a separate class, checking
both the require_blank_line and no_blank_line style options.
2026-06-16 00:07:59 +02:00
Jukka Hertzog d2476547e6
Merge pull request #1567 from JHertz5/1566-unused-parameter-allow_comments-defined-in-several-rules
Issue#1566: Removed setting of unused parameter from tests.
2026-06-15 21:19:56 +01:00
JHertz5 d80fb9cba6 Issue#1566: Removed setting of unused parameter from tests. 2026-06-15 21:14:32 +01:00
Vincent Gao 526fb1c02f
Issue#1564: Fix block_201 false positive on leading comments when block is omitted
get_indexes_of_tokens_between appended the enumerate loop counter instead
of the start-token index when a start token had no following end token. A
block statement with the optional "is" keyword omitted (and no guard),
in a file containing no other is/guard tokens, therefore made block_201
report a violation against the first token of the file (a leading comment)
and --fix inserted a spurious blank line. Append the actual token index so
the rule is evaluated against the block line. Adds a regression test.
2026-06-15 19:40:34 +02:00
Jukka Hertzog a895557eee
Merge pull request #1560 from JHertz5/issue-1558
Issue#1558: Added rules.rst check to unit tests
2026-05-29 08:11:18 +01:00
Jukka Hertzog 00e59113f7
Merge pull request #1559 from JHertz5/issue-1555
Issue#1555: Added index constraint rules to rules index
2026-05-29 08:10:46 +01:00
JHertz5 c5da187a28 Issue#1558: Formatting. 2026-05-29 00:04:56 +01:00
JHertz5 66fe9beff8 Issue#1558: Added rules.rst verification to unit tests. 2026-05-28 23:59:42 +01:00
JHertz5 766d2769a6 Issue#155: Added index constraint rules to rules index. 2026-05-28 23:38:02 +01:00
Jukka Hertzog 87322afefd
Merge pull request #1554 from JHertz5/issue-1547
Issue#1547: Corrected library_007 to check library clauses for previous libraries
2026-05-28 22:54:32 +01:00
Jukka Hertzog 952374fbcd
Merge pull request #1466 from jeremiah-c-leary/issue-1458
Issue#1458:  Rules port_011 and port_025 were operating on component declarations.
2026-05-23 17:45:49 +01:00
Jukka Hertzog 6704c7ada7
Merge pull request #1505 from JHertz5/issue-1503
Issue#1503: Added new rules for structure and alignment of multiline signal initialisations
2026-05-23 17:38:31 +01:00
JHertz5 d8e5ff06e7 Merge remote-tracking branch 'origin/master' into issue-1503 2026-05-23 17:35:55 +01:00
JHertz5 919571fd7c Issue#1547: Formatting. 2026-05-23 13:59:23 +01:00
JHertz5 b1da5292ff Issue#1547: Updated tests. 2026-05-23 13:54:14 +01:00
JHertz5 df56e50412 Issue#1547: Comment improvements. 2026-05-23 13:49:36 +01:00
JHertz5 d8b8d31429 Issue#1547: Updated get_previous_library to work for library clauses as well as use clauses. 2026-05-23 13:49:26 +01:00
JHertz5 f95e083590 Issue#1547: Corrected get_index_of_line for when there is no previous line. 2026-05-23 13:49:13 +01:00
JHertz5 1cb53b68c4 Issue#1547: Simplified code. 2026-05-23 13:48:27 +01:00
Jukka Hertzog a6a8029be9
Merge pull request #1527 from HuskyNator/patch-1
Typo in example indentation config
2026-05-23 11:42:11 +01:00
Jukka Hertzog 9b4bf6c53b
Merge pull request #1535 from JHertz5/issue-1525
Issue#1525: Corrected block comment config example
2026-05-23 11:40:18 +01:00
JHertz5 55897f59ae Issue#1548: Test update. 2026-05-22 20:25:14 +01:00
JHertz5 0e63ad0b53 Issue#1548: Regex update. 2026-05-22 20:24:59 +01:00
JHertz5 ce1321963e Issue#1548: Updated test cases. 2026-05-22 20:16:20 +01:00
JHertz5 658d769d95 Issue#1548: Updated test_rule_008 to use ranges. 2026-05-22 20:00:39 +01:00
say dc3d81da0e Fix crash in multiline array rules on deferred constants
constant_012 and constant_016 crashed with a TypeError when a
constant declaration spanning multiple lines had no assignment
operator (a deferred constant whose initializer is in the package
body). array_detected_after_assignment_operator now returns False
when the assignment operator token is absent.

Fixes #1549
2026-05-12 11:45:11 -07:00
Jukka Hertzog 26055b82cb
Merge pull request #1546 from JHertz5/issue-1544
Issue#1544: Changed `comment_012` to only match whole words.
2026-04-30 01:09:35 +01:00
JHertz5 e12f19776f Issue#1544: Corrected the regex. 2026-04-18 18:10:29 +01:00
JHertz5 62b1c8866b Issue#1544: Updated comment_012 to only match whole words. 2026-04-18 17:49:18 +01:00
Jukka Hertzog ced3e55be4
Merge pull request #1542 from CJ0Hn/issue-1541
Issue#1541: Corrected the examples and default value errors in the documentation.
2026-02-05 20:51:22 +00:00
ChenJunHeng 69a37ddad8 Issue#1541: Corrected the examples and default value errors in the documentation. 2026-02-04 20:29:42 +08:00
Jukka Hertzog 2fd4c598ad
Merge pull request #1540 from JHertz5/issue-1539
Issue#1539: "carraige" typo correction.
2026-01-13 22:50:32 +00:00
JHertz5 c8be0e59d3 Issue#1539: "carraige" typo correction. 2026-01-13 22:46:44 +00:00
Jukka Hertzog 0f7cacce29
Merge pull request #1532 from JHertz5/issue-1531
Issue#1531: Improved parser to handle both qualified expressions and parenthesis character literals
2026-01-13 01:37:20 +00:00
JHertz5 0e98e93e21 Merge remote-tracking branch 'origin/master' into issue-1531 2026-01-13 01:28:06 +00:00
Jukka Hertzog 2e2f14fe68
Merge pull request #1538 from JHertz5/issue-1537
Issue#1537: Performance improvements
2026-01-01 21:15:15 +00:00