aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilson Snyder2011-11-29 13:11:23 -0700
committerDan Nicolaescu2011-11-29 13:11:23 -0700
commit6288f0ca4e18a9eb599bc4200554841c2986b6e1 (patch)
tree45972b44d0a029b4b152014f8c10cd5825f8547b
parentc935221f0bcd80ec64f34edb2e9439ed4373f687 (diff)
downloademacs-6288f0ca4e18a9eb599bc4200554841c2986b6e1.tar.gz
emacs-6288f0ca4e18a9eb599bc4200554841c2986b6e1.zip
Update verilog-mode.el from master.
* progmodes/verilog-mode.el (verilog-pretty-expr): Rework verilog-pretty-expr to handle new assignment operators in system verilog, such as += *= and the like. (verilog-assignment-operator-re): Regular expression to find the assigment operator in a verilog assignment. (verilog-assignment-operation-re): Regular expression to find an assignment statement for pretty-expr. (verilog-in-attribute-p): Query returns true if point is in an attribute context; used to skip these for expression line up from pretty-expr. (verilog-in-parameter-p): Query returns true if point is in an parameter definition context; used to skip these for expression line up from pretty-expr. (verilog-in-parenthesis-p): Query returns true if point is in a parenthetical expression, specifically ( ) but not [ ] or { }; used by pretty-expr. (verilog-just-one-space): If there is no space, don't add one. (verilog-get-lineup-indent-2): Specifically skip just attribute contexts for expression lineup, rather than skipping all parenthetical expressions. (verilog-calculate-indent): Fix comment, and fix indent. (verilog-do-indent): Indent declarations in lists (suggested by Joachim Lechner). (verilog-mode-abbrev-table): Populate abbrev mode with the various skeleton items. (verilog-sk-ovm-class): Add skeleton for OVM classes (reported by Alain Mellan). 29 Wilson Snyder <wsnyder@wsnyder.org> * verilog-mode.el (verilog-read-defines): Fix reading parameters with embedded comments. Reported by Ray Stevens. (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp, verilog-wait-fork-re): Fix indentation of "wait fork", bug407. Reported by Tim Holt. (verilog-auto): Fix AUTOing a upper module then AUTOing module instantiated by upper module causing wrong expansion until AUTOed a second time. Reported by K C Buckenmaier. (verilog-diff-auto): Fix showing .* as a difference when `verilog-auto-star-save' off. Reported by Dan Dever. (verilog-auto-reset, verilog-read-always-signals) (verilog-auto-reset-blocking-in-non): Fix AUTORESET including temporary signals in reset list if verilog-auto-reset-blocking-in-non is nil, and match assignment style to each signal's assignment type, bug381. Reported by Thomas Esposito. (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re) (verilog-uvm-statement-re): Support UVM indentation and highlighting, with old OVM keywords only. (verilog-auto-tieoff, verilog-auto-tieoff-declaration): Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan Greenlaw. (verilog-auto-insert-lisp, verilog-delete-to-paren) (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt) (verilog-inject-sense, verilog-read-inst-pins) (verilog-read-sub-decls, verilog-read-sub-decls-line): Fix mismatching parenthesis inside commented out code when deleting AUTOINST, bug383. Reported by Jonathan Greenlaw. (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with non-numeric vector width. Reported by Alex Reed. (verilog-auto-ascii-enum): Add "onehot" option to work around not detecting signals with parameter widths. Reported by Alex Reed. (verilog-auto-delete-trailing-whitespace): With `verilog-auto-delete-trailing-whitespace' remove trailing whitespace in auto expansion, bug371. Reported by Brad Dobbie. (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss): Fix verilog-scan-cache corruption when running user AUTO expansion hooks that call indentation routines. (verilog-simplify-range-expression): Fix typo ignoring lower case identifiers. (verilog-delete-auto): Fix delete-autos to also remove user created automatics, as long as they start with AUTO. (verilog-batch-diff-auto, verilog-diff-auto) (verilog-diff-function): Add `verilog-diff-auto' and bind to "C-c?" to report differences in AUTO expansion, ignoring spaces. (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick) (verilog-in-paren-quick, verilog-re-search-backward-quick) (verilog-re-search-forward-quick, verilog-syntax-ppss): Fix calling `syntax-ppss' when inside auto expansions as the ppss hook is disabled and its cache will get corrupt, causing AUTOS not to expand. Instead use only -quick functions. (verilog-scan-region): Fix scanning over escaped quotes. (verilog-inside-comment-or-string-p, verilog-inside-comment-p) (verilog-re-search-backward-quick) (verilog-re-search-forward-quick, verilog-scan): verilog-scan and related functions now ignore strings, to fix misparsing of strings with magic comments embedded in them. (verilog-read-auto-template): Fix 'verilog-auto-inst-template-numbers' with extra newline before (. Reported by Brad Dobbie. (verilog-read-auto-template): Fix 'verilog-auto-inst-template-numbers' with comments. Reported by Brad Dobbie. (verilog-auto-inst, verilog-auto-inst-param) (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie. (verilog-auto-inst-template-numbers): Add 'lhs' policy for debugging templates without merge conflicts, bug357. Reported by Brad Dobbie. (verilog-read-auto-template): Fix verilog-auto-inst-template-numbers with multiple templates. Reported by Brad Dobbie. (verilog-define-abbrev): Fix verilog-mode abbrevs to be system abbrevs so user won't be asked to save. (verilog-read-auto-lisp-present): Fix to start at beginning of buffer in case called outside of verilog-auto. (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1" to "X-2". Reported by Matthew Myers. (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating all inputs from module templates. Reported by Leith Johnson. (verilog-module-inside-filename-p): Fix locating programs as with modules. (verilog-auto-inst-port): Fix vl-width expressions when using verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn. (verilog-decls-get-regs, verilog-decls-get-signals, verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new, verilog-modi-cache-add-vars, verilog-modi-cache-add-wires, verilog-read-decls): Combine reg and wire structures into one var structure to represent SystemVerilog concepts. (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg) (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire) (verilog-auto-wire-type, verilog-insert-definition): Add verilog-auto-wire-type and AUTOLOGIC to support using SystemVerilog "logic" keyword instead of "wire"/"reg". (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE to declares outputs that also have assignments (presumably in an ifdef or generate if so there's not a driver conflict). Reported by Matthew Myers. (verilog-auto-declare-nettype, verilog-insert-definition): Add verilog-auto-declare-nettype to fix declarations using `default_nettype none. Reported by Julian Gorfajn. (verilog-read-always-signals-recurse, verilog-read-decls) (verilog-read-sub-decls-gate): Fix infinite loop with (*) and malformed end statement, bug325. Reported by Joshua Wise and Andrew Drake. (verilog-auto-star-safe, verilog-delete-auto-star-implicit) (verilog-inst-comment-re): Fix not deleting Interfaced comment when expanding .* in interfaces, bug320. Reported by Pierre-David Pfister. (verilog-read-module-name): Fix import statements between module name and open parenthesis, bug317. Reported by Pierre-David Pfister. (verilog-simplify-range-expression): Fix simplification of multiplications inside AUTOWIRE connections, bug303. (verilog-auto-inst-port): Support parameter expansion in multidimensional arrays. (verilog-read-decls): Fix AUTOREG etc looking for "endproperty" after "assert property". Reported by Julian Gorfajn. (verilog-simplify-range-expression): Fix "couldn't merge" errors with multiplication, bug303. (verilog-read-decls): Fix parsing of unsigned data types, bug302. Reported by Jan Frode Lonnum.
-rw-r--r--lisp/ChangeLog155
1 files changed, 155 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d6275c80374..601bb5edc37 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,158 @@
12011-11-29 Michael McNamara <mac@mail.brushroad.com>
2
3 * progmodes/verilog-mode.el (verilog-pretty-expr): Rework
4 verilog-pretty-expr to handle new assignment operators in system
5 verilog, such as += *= and the like.
6 (verilog-assignment-operator-re): Regular expression to find the
7 assigment operator in a verilog assignment.
8 (verilog-assignment-operation-re): Regular expression to find an
9 assignment statement for pretty-expr.
10 (verilog-in-attribute-p): Query returns true if point is in an
11 attribute context; used to skip these for expression line up from
12 pretty-expr.
13 (verilog-in-parameter-p): Query returns true if point is in an
14 parameter definition context; used to skip these for expression
15 line up from pretty-expr.
16 (verilog-in-parenthesis-p): Query returns true if point is in a
17 parenthetical expression, specifically ( ) but not [ ] or { };
18 used by pretty-expr.
19 (verilog-just-one-space): If there is no space, don't add one.
20 (verilog-get-lineup-indent-2): Specifically skip just attribute
21 contexts for expression lineup, rather than skipping all
22 parenthetical expressions.
23 (verilog-calculate-indent): Fix comment, and fix indent.
24 (verilog-do-indent): Indent declarations in lists (suggested by
25 Joachim Lechner).
26 (verilog-mode-abbrev-table): Populate abbrev mode with the various
27 skeleton items.
28 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
29 by Alain Mellan).
30
312011-11-29 Wilson Snyder <wsnyder@wsnyder.org>
32
33 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
34 parameters with embedded comments. Reported by Ray Stevens.
35 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
36 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
37 Reported by Tim Holt.
38 (verilog-auto): Fix AUTOing a upper module then AUTOing module
39 instantiated by upper module causing wrong expansion until AUTOed a
40 second time. Reported by K C Buckenmaier.
41 (verilog-diff-auto): Fix showing .* as a difference when
42 `verilog-auto-star-save' off. Reported by Dan Dever.
43 (verilog-auto-reset, verilog-read-always-signals)
44 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
45 temporary signals in reset list if
46 verilog-auto-reset-blocking-in-non is nil, and match assignment
47 style to each signal's assignment type, bug381. Reported by
48 Thomas Esposito.
49 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
50 (verilog-uvm-statement-re): Support UVM indentation and
51 highlighting, with old OVM keywords only.
52 (verilog-auto-tieoff, verilog-auto-tieoff-declaration): Support
53 AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
54 Greenlaw.
55 (verilog-auto-insert-lisp, verilog-delete-to-paren)
56 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
57 (verilog-inject-sense, verilog-read-inst-pins)
58 (verilog-read-sub-decls, verilog-read-sub-decls-line): Fix
59 mismatching parenthesis inside commented out code when deleting
60 AUTOINST, bug383. Reported by Jonathan Greenlaw.
61 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
62 non-numeric vector width. Reported by Alex Reed.
63 (verilog-auto-ascii-enum): Add "onehot" option to work around not
64 detecting signals with parameter widths. Reported by Alex Reed.
65 (verilog-auto-delete-trailing-whitespace): With
66 `verilog-auto-delete-trailing-whitespace' remove trailing
67 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
68 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
69 Fix verilog-scan-cache corruption when running user AUTO expansion
70 hooks that call indentation routines.
71 (verilog-simplify-range-expression): Fix typo ignoring lower case
72 identifiers.
73 (verilog-delete-auto): Fix delete-autos to also remove user created
74 automatics, as long as they start with AUTO.
75 (verilog-batch-diff-auto, verilog-diff-auto)
76 (verilog-diff-function): Add `verilog-diff-auto' and bind to
77 "C-c?" to report differences in AUTO expansion, ignoring spaces.
78 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
79 (verilog-in-paren-quick, verilog-re-search-backward-quick)
80 (verilog-re-search-forward-quick, verilog-syntax-ppss): Fix
81 calling `syntax-ppss' when inside auto expansions as the ppss hook
82 is disabled and its cache will get corrupt, causing AUTOS not to
83 expand. Instead use only -quick functions.
84 (verilog-scan-region): Fix scanning over escaped quotes.
85 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
86 (verilog-re-search-backward-quick)
87 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
88 related functions now ignore strings, to fix misparsing of strings
89 with magic comments embedded in them.
90 (verilog-read-auto-template): Fix
91 'verilog-auto-inst-template-numbers' with extra newline before (.
92 Reported by Brad Dobbie.
93 (verilog-read-auto-template): Fix
94 'verilog-auto-inst-template-numbers' with comments. Reported by
95 Brad Dobbie.
96 (verilog-auto-inst, verilog-auto-inst-param)
97 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
98 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
99 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
100 debugging templates without merge conflicts, bug357. Reported by
101 Brad Dobbie.
102 (verilog-read-auto-template): Fix
103 verilog-auto-inst-template-numbers with multiple templates.
104 Reported by Brad Dobbie.
105 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
106 abbrevs so user won't be asked to save.
107 (verilog-read-auto-lisp-present): Fix to start at beginning of
108 buffer in case called outside of verilog-auto.
109 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
110 to "X-2". Reported by Matthew Myers.
111 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
112 all inputs from module templates. Reported by Leith Johnson.
113 (verilog-module-inside-filename-p): Fix locating programs as with
114 modules.
115 (verilog-auto-inst-port): Fix vl-width expressions when using
116 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
117 (verilog-decls-get-regs, verilog-decls-get-signals,
118 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
119 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
120 verilog-read-decls): Combine reg and wire structures into one var
121 structure to represent SystemVerilog concepts.
122 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
123 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
124 (verilog-auto-wire-type, verilog-insert-definition): Add
125 verilog-auto-wire-type and AUTOLOGIC to support using
126 SystemVerilog "logic" keyword instead of "wire"/"reg".
127 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
128 to declares outputs that also have assignments (presumably in an
129 ifdef or generate if so there's not a driver conflict). Reported
130 by Matthew Myers.
131 (verilog-auto-declare-nettype, verilog-insert-definition): Add
132 verilog-auto-declare-nettype to fix declarations using
133 `default_nettype none. Reported by Julian Gorfajn.
134 (verilog-read-always-signals-recurse, verilog-read-decls)
135 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
136 malformed end statement, bug325. Reported by Joshua Wise and
137 Andrew Drake.
138 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
139 (verilog-inst-comment-re): Fix not deleting Interfaced comment
140 when expanding .* in interfaces, bug320. Reported by Pierre-David
141 Pfister.
142 (verilog-read-module-name): Fix import statements between module
143 name and open parenthesis, bug317. Reported by Pierre-David
144 Pfister.
145 (verilog-simplify-range-expression): Fix simplification of
146 multiplications inside AUTOWIRE connections, bug303.
147 (verilog-auto-inst-port): Support parameter expansion in
148 multidimensional arrays.
149 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
150 after "assert property". Reported by Julian Gorfajn.
151 (verilog-simplify-range-expression): Fix "couldn't merge" errors
152 with multiplication, bug303.
153 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
154 Reported by Jan Frode Lonnum.
155
12011-11-29 Stefan Monnier <monnier@iro.umontreal.ca> 1562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2 157
3 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022). 158 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).