User: james
Date: 06/04/18 18:26:38
Modified: packages/xemacs-packages/vhdl ChangeLog Makefile
vhdl-mode.el
Added: packages/xemacs-packages/vhdl ChangeLog.upstream
Log:
Sync with upstream version 3.33.8. See xemacs-patches message
<m3mzex73jz.fsf(a)jerrypc.cs.usu.edu>.
Revision Changes Path
1.26 +5 -0 XEmacs/packages/xemacs-packages/vhdl/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/vhdl/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- ChangeLog 2005/02/14 21:54:25 1.25
+++ ChangeLog 2006/04/18 16:26:33 1.26
@@ -1,3 +1,8 @@
+2006-04-07 Jerry James <james(a)xemacs.org>
+
+ * vhdl-mode.el: Sync with version 3.33.8.
+ * Makefile (AUTHOR_VERSION): Change to 3.33.8.
+
2005-02-14 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.20 released.
1.31 +1 -1 XEmacs/packages/xemacs-packages/vhdl/Makefile
Index: Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/vhdl/Makefile,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- Makefile 2005/02/14 21:54:25 1.30
+++ Makefile 2006/04/18 16:26:34 1.31
@@ -18,7 +18,7 @@
# Boston, MA 02111-1307, USA.
VERSION = 1.20
-AUTHOR_VERSION = 3.33.2
+AUTHOR_VERSION = 3.33.8
MAINTAINER = XEmacs Development Team <xemacs-beta(a)xemacs.org>
PACKAGE = vhdl
PKG_TYPE = regular
1.9 +127 -75 XEmacs/packages/xemacs-packages/vhdl/vhdl-mode.el
Index: vhdl-mode.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/vhdl/vhdl-mode.el,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- vhdl-mode.el 2005/02/14 17:27:50 1.8
+++ vhdl-mode.el 2006/04/18 16:26:34 1.9
@@ -5,14 +5,14 @@
;; Authors: Reto Zimmermann <reto(a)gnu.org>
;; Rodney J. Whitby <software.vhdl-mode(a)rwhitby.net>
;; Maintainer: Reto Zimmermann <reto(a)gnu.org>
-;; RCS: $Id: vhdl-mode.el,v 1.8 2005/02/14 17:27:50 james Exp $
+;; RCS: $Id: vhdl-mode.el,v 1.9 2006/04/18 16:26:34 james Exp $
;; Keywords: languages vhdl
;; WWW:
http://opensource.ethz.ch/emacs/vhdl-mode.html
-(defconst vhdl-version "3.33.2"
+(defconst vhdl-version "3.33.8"
"VHDL Mode version number.")
-(defconst vhdl-time-stamp "2005-01-11"
+(defconst vhdl-time-stamp "2005-12-09"
"VHDL Mode time stamp for last update.")
;; This file is part of GNU Emacs.
@@ -29,8 +29,8 @@
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Commentary:
@@ -70,13 +70,13 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Emacs Versions
-;; supported: GNU Emacs 20.X/21.X, XEmacs 20.X/21.X
+;; supported: GNU Emacs 20.X/21.X/22.X, XEmacs 20.X/21.X
;; tested on: GNU Emacs 20.4, XEmacs 21.1 (marginally)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Installation
-;; Prerequisites: GNU Emacs 20.X/21.X, XEmacs 20.X/21.X.
+;; Prerequisites: GNU Emacs 20.X/21.X/22.X, XEmacs 20.X/21.X.
;; Put `vhdl-mode.el' into the `site-lisp' directory of your Emacs installation
;; or into an arbitrary directory that is added to the load path by the
@@ -128,9 +128,17 @@
;; XEmacs handling
(defconst vhdl-xemacs (string-match "XEmacs" emacs-version)
"Non-nil if XEmacs is used.")
-;; Emacs 21 handling
-(defconst vhdl-emacs-21 (and (= emacs-major-version 21) (not vhdl-xemacs))
- "Non-nil if GNU Emacs 21 is used.")
+;; Emacs 21+ handling
+(defconst vhdl-emacs-21 (and (<= 21 emacs-major-version) (not vhdl-xemacs))
+ "Non-nil if GNU Emacs 21, 22, ... is used.")
+(defconst vhdl-emacs-22 (and (<= 22 emacs-major-version) (not vhdl-xemacs))
+ "Non-nil if GNU Emacs 22, ... is used.")
+
+(defvar compilation-file-regexp-alist)
+(defvar itimer-version)
+(defvar lazy-lock-defer-contextually)
+(defvar lazy-lock-defer-on-scrolling)
+(defvar lazy-lock-defer-on-the-fly)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -324,6 +332,12 @@ Overrides local variable `indent-tabs-mo
("\\*\\*Error: LINE \\([0-9]+\\) \\*\\*\\*" 0 1 0)
("^ *Compiling \"\\(.+\\)\" " 1)
nil)
+ ;; Xilinx XST:
+ ;; ERROR:HDLParsers:164 - "test.vhd" Line 3. parse error
+ ("Xilinx XST" "xflow" "" "make" "-f
\\1"
+ nil "mkdir \\1" "./" "work/" "Makefile"
"xilinx"
+ ("^ERROR:HDLParsers:[0-9]+ - \"\\(.+\\)\" Line \\([0-9]+\\)\." 1
2 0) ("" 0)
+ nil)
)
"*List of available VHDL compilers and their properties.
Each list entry specifies the following items for a compiler:
@@ -342,7 +356,7 @@ Compiler:
Makefile name : name of Makefile (default is \"Makefile\")
ID string : compiler identification string (see `vhdl-project-alist')
Error message:
- Regexp : regular expression to match error messages
+ Regexp : regular expression to match error messages (*)
File subexp index: index of subexpression that matches the file name
Line subexp index: index of subexpression that matches the line number
Column subexp idx: index of subexpression that matches the column number
@@ -355,6 +369,9 @@ Unit-to-file name mapping: mapping of li
\"\\2\" inserts the entity name for architectures)
Case adjustment : adjust case of inserted unit names
+\(*) The regular expression must match the error message starting from the
+ beginning of the line (but not necessarily to the end of the line).
+
Compile options allows insertion of the library name (see `vhdl-project-alist')
in order to set the compilers library option (e.g. \"vcom -work my_lib\").
@@ -384,8 +401,8 @@ assigning its name to option `vhdl-compi
Please send any missing or erroneous compiler properties to the maintainer for
updating.
-NOTE: Reflect the new setting in the choice list of option `vhdl-compiler'
- by restarting Emacs."
+NOTE: Activate new error and file message regexps and reflect the new setting
+ in the choice list of option `vhdl-compiler' by restarting Emacs."
:type '(repeat
(list :tag "Compiler" :indent 2
(string :tag "Compiler name ")
@@ -1245,7 +1262,7 @@ If TO STRING is empty, the instance name
(defgroup vhdl-testbench nil
- "Customizations for testbench generation ."
+ "Customizations for testbench generation."
:group 'vhdl-port)
(defcustom vhdl-testbench-entity-name '(".*" . "\\&_tb")
@@ -2128,7 +2145,7 @@ Ignore byte-compiler warnings you might
(defun vhdl-run-when-idle (secs repeat function)
"Wait until idle, then run FUNCTION."
- (if vhdl-xemacs
+ (if (fboundp 'start-itimer)
(start-itimer "vhdl-mode" function secs repeat t)
; (run-with-idle-timer secs repeat function)))
;; explicitely activate timer (necessary when Emacs is already idle)
@@ -2394,7 +2411,7 @@ old environment. Used for consistent se
(progn
(when file-opened (kill-buffer (current-buffer)))
(set-buffer source-buffer)
- (error (format "ERROR: File cannot be opened: \"%s\""
,file-name)))
+ (error "ERROR: File cannot be opened: \"%s\"" ,file-name))
(vhdl-warning (format "File cannot be opened: \"%s\"" ,file-name)
t)
nil))))
(condition-case info
@@ -2671,7 +2688,7 @@ STRING are replaced by `-' and substring
(define-key vhdl-mode-map "\M-\C-a" 'vhdl-backward-same-indent)
(define-key vhdl-mode-map "\M-\C-e" 'vhdl-forward-same-indent)
(unless vhdl-xemacs ; would override `M-backspace' in XEmacs
- (define-key vhdl-mode-map "\M-\C-h" 'vhdl-mark-defun))
+ (define-key vhdl-mode-map "\M-\C-h" 'vhdl-mark-defun))
(define-key vhdl-mode-map "\M-\C-q" 'vhdl-indent-sexp)
(define-key vhdl-mode-map "\M-^" 'vhdl-delete-indentation)
;; backspace/delete key bindings
@@ -2767,9 +2784,8 @@ STRING are replaced by `-' and substring
(define-key vhdl-mode-map "\C-c\C-i\C-m" 'vhdl-model-insert)
;; electric key bindings
(define-key vhdl-mode-map " " 'vhdl-electric-space)
- (if vhdl-intelligent-tab
- (define-key vhdl-mode-map "\t" 'vhdl-electric-tab)
- (define-key vhdl-mode-map "\t" 'indent-according-to-mode))
+ (when vhdl-intelligent-tab
+ (define-key vhdl-mode-map "\t" 'vhdl-electric-tab))
(define-key vhdl-mode-map "\r" 'vhdl-electric-return)
(define-key vhdl-mode-map "-" 'vhdl-electric-dash)
(define-key vhdl-mode-map "[" 'vhdl-electric-open-bracket)
@@ -2786,12 +2802,14 @@ STRING are replaced by `-' and substring
;; define special minibuffer keymap for enabling word completion in minibuffer
;; (useful in template generator prompts)
-(defvar vhdl-minibuffer-local-map (copy-keymap minibuffer-local-map)
+(defvar vhdl-minibuffer-local-map
+ (let ((map (make-sparse-keymap)))
+ (set-keymap-parent map minibuffer-local-map)
+ (when vhdl-word-completion-in-minibuffer
+ (define-key map "\t" 'vhdl-minibuffer-tab))
+ map)
"Keymap for minibuffer used in VHDL Mode.")
-(when vhdl-word-completion-in-minibuffer
- (define-key vhdl-minibuffer-local-map "\t" 'vhdl-minibuffer-tab))
-
;; set up electric character functions to work with
;; `delete-selection-mode' (Emacs) and `pending-delete-mode' (XEmacs)
(mapcar
@@ -2838,7 +2856,7 @@ STRING are replaced by `-' and substring
(modify-syntax-entry ?\< "." vhdl-mode-syntax-table)
(modify-syntax-entry ?\= "." vhdl-mode-syntax-table)
(modify-syntax-entry ?\> "." vhdl-mode-syntax-table)
- (modify-syntax-entry ?\\ "." vhdl-mode-syntax-table)
+ (modify-syntax-entry ?\\ "w" vhdl-mode-syntax-table)
(modify-syntax-entry ?\| "." vhdl-mode-syntax-table)
;; define string
(modify-syntax-entry ?\" "\"" vhdl-mode-syntax-table)
@@ -3175,6 +3193,7 @@ STRING are replaced by `-' and substring
(vhdl-menu-split menu-list "Project"))
'("--" "--"
["Select Project..." vhdl-set-project t]
+ ["Set As Default Project" vhdl-set-default-project t]
"--"
["Duplicate Project" vhdl-duplicate-project vhdl-project]
["Import Project..." vhdl-import-project
@@ -3799,7 +3818,7 @@ STRING are replaced by `-' and substring
(not vhdl-use-components-package))
:style toggle :selected vhdl-use-components-package]
["Include Header"
- (customize-set-variable 'vhdl-compose-include-headera
+ (customize-set-variable 'vhdl-compose-include-header
(not vhdl-compose-include-header))
:style toggle :selected vhdl-compose-include-header]
("Create Entity/Architecture Files"
@@ -3858,7 +3877,8 @@ STRING are replaced by `-' and substring
("Highlight"
["Highlighting On/Off..."
(customize-option
- (if vhdl-xemacs 'font-lock-auto-fontify 'global-font-lock-mode)) t]
+ (if (fboundp 'global-font-lock-mode)
+ 'global-font-lock-mode 'font-lock-auto-fontify)) t]
["Highlight Keywords"
(progn (customize-set-variable 'vhdl-highlight-keywords
(not vhdl-highlight-keywords))
@@ -4275,7 +4295,7 @@ Usage:
CODE FILLING:
- Code filling allows to condens code (e.g. sensitivity lists or port
+ Code filling allows to condense code (e.g. sensitivity lists or port
maps) by removing comments and newlines and re-wrapping so that all
lines are maximally filled (block filling). `C-c C-f C-f' fills a list
enclosed by parenthesis, `C-c C-f C-g' a group of lines separated by
@@ -4685,7 +4705,8 @@ Key bindings:
"\\s-*\\(--+\\s-*$\\|[^ -]\\|$\\)")
(set (make-local-variable 'paragraph-separate) paragraph-start)
(set (make-local-variable 'paragraph-ignore-fill-prefix) t)
- (set (make-local-variable 'require-final-newline) t)
+ (set (make-local-variable 'require-final-newline)
+ (if vhdl-emacs-22 mode-require-final-newline t))
(set (make-local-variable 'parse-sexp-ignore-comments) t)
(set (make-local-variable 'indent-line-function) 'vhdl-indent-line)
(set (make-local-variable 'comment-start) "--")
@@ -4744,7 +4765,9 @@ Key bindings:
(if noninteractive "" " See menu for documentation and release
notes."))
;; run hooks
- (run-hooks 'vhdl-mode-hook))
+ (if vhdl-emacs-22
+ (run-mode-hooks 'vhdl-mode-hook)
+ (run-hooks 'vhdl-mode-hook)))
(defun vhdl-activate-customizations ()
"Activate all customizations on local variables."
@@ -5192,7 +5215,7 @@ Try to increase performance by using thi
(defun vhdl-read-offset (langelem)
"Read new offset value for LANGELEM from minibuffer.
-Return a legal value only."
+Return a valid value only."
(let ((oldoff (format "%s" (cdr-safe (assq langelem vhdl-offsets-alist))))
(errmsg "Offset must be int, func, var, or one of +, -, ++, --: ")
(prompt "Offset: ")
@@ -5204,7 +5227,7 @@ Return a legal value only."
((string-equal "++" input) '++)
((string-equal "--" input) '--)
((string-match "^-?[0-9]+$" input)
- (string-to-int input))
+ (string-to-number input))
((fboundp (setq interned (intern input)))
interned)
((boundp interned) interned)
@@ -5737,7 +5760,8 @@ keyword."
(save-excursion
(re-search-backward ";\\|\\bwhen\\b[^_]" lim 'move)
(or (eq (following-char) ?\;)
- (eq (point) lim)))))
+ (eq (point) lim)
+ (vhdl-in-literal)))))
(defun vhdl-corresponding-begin (&optional lim)
"If the word at the current position corresponds to an \"end\"
@@ -6166,8 +6190,8 @@ Returns the location of the correspondin
stops due to beginning or end of buffer.
Note that if point is between the \"libunit\" keyword and the
corresponding \"begin\" keyword, then that libunit will not be
-recognised, and the search will continue backwards. If point is
-at the \"begin\" keyword, then the defun will be recognised. The
+recognized, and the search will continue backwards. If point is
+at the \"begin\" keyword, then the defun will be recognized. The
returned point is at the first character of the \"libunit\" keyword."
(let ((last-forward (point))
(last-backward
@@ -6210,8 +6234,8 @@ Returns the location of the correspondin
stops due to beginning or end of buffer."
;; Note that if point is between the "defun" keyword and the
;; corresponding "begin" keyword, then that defun will not be
- ;; recognised, and the search will continue backwards. If point is
- ;; at the "begin" keyword, then the defun will be recognised. The
+ ;; recognized, and the search will continue backwards. If point is
+ ;; at the "begin" keyword, then the defun will be recognized. The
;; returned point is at the first character of the "defun" keyword.
(interactive "p")
(let ((count (or count 1))
@@ -6264,17 +6288,17 @@ stops due to beginning or end of buffer.
(vhdl-keep-region-active)
foundp))
-(defun vhdl-beginning-of-statement (&optional count lim)
+(defun vhdl-beginning-of-statement (&optional count lim interactive)
"Go to the beginning of the innermost VHDL statement.
With prefix arg, go back N - 1 statements. If already at the
beginning of a statement then go to the beginning of the preceding
one. If within a string or comment, or next to a comment (only
whitespace between), move by sentences instead of statements.
-When called from a program, this function takes 2 optional args: the
-prefix arg, and a buffer position limit which is the farthest back to
-search."
- (interactive "p")
+When called from a program, this function takes 3 optional args: the
+prefix arg, a buffer position limit which is the farthest back to
+search, and an argument indicating an interactive call."
+ (interactive "p\np")
(let ((count (or count 1))
(case-fold-search t)
(lim (or lim (point-min)))
@@ -6283,7 +6307,7 @@ search."
(save-excursion
(goto-char lim)
(setq state (parse-partial-sexp (point) here nil nil)))
- (if (and (interactive-p)
+ (if (and interactive
(or (nth 3 state)
(nth 4 state)
(looking-at (concat "[ \t]*" comment-start-skip))))
@@ -7678,10 +7702,10 @@ buffer."
(defun vhdl-fill-region (beg end &optional arg)
"Fill lines for a region of code."
- (interactive "r")
+ (interactive "r\np")
(save-excursion
(goto-char beg)
- (let ((margin (if (interactive-p) (current-indentation) (current-column))))
+ (let ((margin (if arg (current-indentation) (current-column))))
(goto-char end)
(setq end (point-marker))
;; remove inline comments, newlines and whitespace
@@ -7804,7 +7828,8 @@ buffer."
;; parameter list of procedure call
((and (re-search-forward "^\\s-*\\w+[ \t\n]*(" proc-end t)
(1- (point)))
- (progn (forward-sexp) (point)))))
+ (progn (backward-char) (forward-sexp)
+ (while (looking-at "(") (forward-sexp)) (point)))))
name read-list sens-list signal-list
sens-beg sens-end beg end margin)
;; scan for signals in old sensitivity list
@@ -8036,7 +8061,7 @@ Used for undoing after template abortion
;; correct different behavior of function `unread-command-events' in XEmacs
(defun vhdl-character-to-event (arg))
(defalias 'vhdl-character-to-event
- (if vhdl-xemacs 'character-to-event 'identity))
+ (if (fboundp 'character-to-event) 'character-to-event 'identity))
(defun vhdl-work-library ()
"Return the working library name of the current project or \"work\" if
no
@@ -8347,7 +8372,8 @@ Turn on if ARG positive, turn off if ARG
(let ((margin (current-indentation))
(start (point))
label)
- (unless kind (setq kind (if (vhdl-sequential-statement-p) 'is 'use)))
+ (unless kind (setq kind (if (or (vhdl-sequential-statement-p)
+ (not (vhdl-standard-p 'ams))) 'is 'use)))
(if (or (not (eq vhdl-optional-labels 'all)) (vhdl-standard-p '87))
(vhdl-insert-keyword "CASE ")
(vhdl-insert-keyword ": CASE ")
@@ -8935,7 +8961,7 @@ otherwise."
(vhdl-insert-keyword
(concat " " (if (eq kind 'then) "THEN" "USE")
"\n\n"))
(indent-to margin)
- (vhdl-insert-keyword "END IF")
+ (vhdl-insert-keyword (concat "END " (if (eq kind 'then)
"IF" "USE")))
(when label (insert " " label))
(insert ";")
(forward-line -1)
@@ -10587,7 +10613,7 @@ but not if inside a comment or quote)."
(when (stringp caught) (message caught)))
(when (= invoke-char ?-) (setq abbrev-start-location (point)))
;; delete CR which is still in event queue
- (if vhdl-xemacs
+ (if (fboundp 'enqueue-eval-event)
(enqueue-eval-event 'delete-char -1)
(setq unread-command-events ; push back a delete char
(list (vhdl-character-to-event ?\177))))))))
@@ -10983,8 +11009,8 @@ reflected in a subsequent paste operatio
(setq group-comment (vhdl-parse-group-comment))
(setq end-of-list (vhdl-parse-string ")[ \t\n]*;[ \t\n]*" t))
(while (not end-of-list)
- ;; parse names
- (vhdl-parse-string "\\(\\w+\\)[ \t\n]*")
+ ;; parse names (accept extended identifiers)
+ (vhdl-parse-string "\\(\\w+\\|\\\\[^\\]+\\\\\\)[ \t\n]*")
(setq names (list (match-string-no-properties 1)))
(while (vhdl-parse-string ",[ \t\n]*\\(\\w+\\)[ \t\n]*" t)
(setq names
@@ -10992,6 +11018,9 @@ reflected in a subsequent paste operatio
;; parse type
(vhdl-parse-string ":[ \t\n]*\\([^():;\n]+\\)")
(setq type (match-string-no-properties 1))
+ (when (vhdl-in-comment-p) ; if stuck in comment
+ (setq type (concat type (and (vhdl-parse-string ".*")
+ (match-string-no-properties 0)))))
(setq comment nil)
(while (looking-at "(")
(setq type
@@ -11065,6 +11094,9 @@ reflected in a subsequent paste operatio
;; parse type
(vhdl-parse-string "\\([^();\n]+\\)")
(setq type (match-string-no-properties 1))
+ (when (vhdl-in-comment-p) ; if stuck in comment
+ (setq type (concat type (and (vhdl-parse-string ".*")
+ (match-string-no-properties 0)))))
(setq comment nil)
(while (looking-at "(")
(setq type (concat type
@@ -12302,6 +12334,12 @@ File statistics: \"%s\"\n\
(vhdl-warning (format "Unknown VHDL project: \"%s\"" name))))
(vhdl-speedbar-update-current-project))
+(defun vhdl-set-default-project ()
+ "Set current project as default on startup."
+ (interactive)
+ (customize-set-variable 'vhdl-project vhdl-project)
+ (customize-save-customized))
+
(defun vhdl-toggle-project (name token indent)
"Set current project to NAME or unset if NAME is current project."
(vhdl-set-project (if (equal name vhdl-project) "" name)))
@@ -12799,7 +12837,9 @@ This does background highlighting of tra
'vhdl-highlight-faces 'font-lock-variable-name-face 'custom-face)
(defface vhdl-font-lock-prompt-face
- '((((class color) (background light)) (:foreground "Red" :bold t))
+ '(;(((min-colors 88) (class color) (background light)) ; Emacs 22
+ ; (:foreground "Red1" :bold t))
+ (((class color) (background light)) (:foreground "Red" :bold t))
(((class color) (background dark)) (:foreground "Pink" :bold t))
(t (:inverse-video t)))
"Font lock mode face used to highlight prompts."
@@ -12840,6 +12880,8 @@ This does background highlighting of tra
(defface vhdl-font-lock-reserved-words-face
'((((class color) (background light)) (:foreground "Orange" :bold t))
+ ;(((min-colors 88) (class color) (background dark)) ; Emacs 22
+ ; (:foreground "Yellow1" :bold t))
(((class color) (background dark)) (:foreground "Yellow" :bold t))
(t ()))
"Font lock mode face used to highlight additional reserved words."
@@ -13920,10 +13962,10 @@ entity ENT-KEY."
(condition-case ()
(progn (load-file file-dir-name)
(string< (mapconcat
- (lambda (a) (format "%3d" (string-to-int a)))
+ (lambda (a) (format "%3d" (string-to-number a)))
(split-string "3.33" "\\.") "")
(mapconcat
- (lambda (a) (format "%3d" (string-to-int a)))
+ (lambda (a) (format "%3d" (string-to-number a)))
(split-string vhdl-cache-version "\\.") "")))
(error (progn (vhdl-warning (format "ERROR: Corrupted cache file:
\"%s\"" file-dir-name))
nil))))))
@@ -14297,7 +14339,7 @@ otherwise use cached data."
(beginning-of-line) (looking-at "^\\([0-9]+\\):"))
(re-search-backward
(format "^[0-%d]:\\s-*[[{<]-"
- (max (1- (string-to-int (match-string 1))) 0)) nil t)))
+ (max (1- (string-to-number (match-string 1))) 0)) nil t)))
(goto-char (match-end 0))
(speedbar-do-function-pointer)
(speedbar-center-buffer-smartly)))
@@ -15045,7 +15087,7 @@ NO-POSITION non-nil means do not re-posi
(save-excursion
(beginning-of-line)
(looking-at "^\\([0-9]+\\):")
- (setq depth (string-to-int (match-string 1)))
+ (setq depth (string-to-number (match-string 1)))
(when (re-search-backward (format "^%d: *[[<{][-+?][]>}] \\([^
\n]+\\)" (1- depth)) nil t)
(setq string (match-string 1))
(set-text-properties 0 (length string) nil string)
@@ -15167,7 +15209,7 @@ is already shown in a buffer."
"Place the entity/component under the cursor as component."
(interactive)
(if (not (vhdl-speedbar-check-unit 'entity))
- (error "ERROR: No entity/component under cursor.")
+ (error "ERROR: No entity/component under cursor")
(vhdl-speedbar-port-copy)
(if (fboundp 'speedbar-select-attached-frame)
(speedbar-select-attached-frame)
@@ -15179,7 +15221,7 @@ is already shown in a buffer."
"Generate configuration for the architecture under the cursor."
(interactive)
(if (not (vhdl-speedbar-check-unit 'architecture))
- (error "ERROR: No architecture under cursor.")
+ (error "ERROR: No architecture under cursor")
(let ((arch-name (vhdl-speedbar-line-text))
(ent-name (vhdl-speedbar-higher-text)))
(if (fboundp 'speedbar-select-attached-frame)
@@ -15191,7 +15233,7 @@ is already shown in a buffer."
"Select the architecture under the cursor as MRA."
(interactive)
(if (not (vhdl-speedbar-check-unit 'architecture))
- (error "ERROR: No architecture under cursor.")
+ (error "ERROR: No architecture under cursor")
(let* ((arch-key (downcase (vhdl-speedbar-line-text)))
(ent-key (downcase (vhdl-speedbar-higher-text)))
(ent-alist (aget vhdl-entity-alist
@@ -15258,7 +15300,8 @@ expansion function)."
:group 'speedbar-faces)
(defface vhdl-speedbar-architecture-face
- '((((class color) (background light)) (:foreground "Blue"))
+ '(;(((min-colors 88) (class color) (background light)) (:foreground
"Blue1")) ; Emacs 22
+ (((class color) (background light)) (:foreground "Blue"))
(((class color) (background dark)) (:foreground "LightSkyBlue")))
"Face used for displaying architecture names."
:group 'speedbar-faces)
@@ -15283,6 +15326,7 @@ expansion function)."
(defface vhdl-speedbar-instantiation-face
'((((class color) (background light)) (:foreground "Brown"))
+ ;(((min-colors 88) (class color) (background dark)) (:foreground
"Yellow1")) ; Emacs 22
(((class color) (background dark)) (:foreground "Yellow")))
"Face used for displaying instantiation names."
:group 'speedbar-faces)
@@ -15300,7 +15344,9 @@ expansion function)."
:group 'speedbar-faces)
(defface vhdl-speedbar-architecture-selected-face
- '((((class color) (background light)) (:foreground "Blue" :underline t))
+ '(;(((min-colors 88) (class color) (background light)) ; Emacs 22
+ ; (:foreground "Blue1" :underline t))
+ (((class color) (background light)) (:foreground "Blue" :underline t))
(((class color) (background dark)) (:foreground "LightSkyBlue" :underline
t)))
"Face used for displaying architecture names."
:group 'speedbar-faces)
@@ -15598,7 +15644,7 @@ component instantiation."
(cons constant-name
(if (match-string 1)
(or (aget generic-alist (match-string 2) t)
- (error (format "ERROR: Formal generic \"%s\" mismatch for instance
\"%s\"" (match-string 2) inst-name)))
+ (error "ERROR: Formal generic \"%s\" mismatch for instance
\"%s\"" (match-string 2) inst-name))
(cdar generic-alist))))
(setq constant-alist (cons constant-entry constant-alist))
(setq constant-name (downcase constant-name))
@@ -15618,7 +15664,7 @@ component instantiation."
(setq signal-entry (cons signal-name
(if (match-string 1)
(or (aget port-alist (match-string 2) t)
- (error (format "ERROR: Formal port \"%s\" mismatch for instance
\"%s\"" (match-string 2) inst-name)))
+ (error "ERROR: Formal port \"%s\" mismatch for instance
\"%s\"" (match-string 2) inst-name))
(cdar port-alist))))
(setq signal-alist (cons signal-entry signal-alist))
(setq signal-name (downcase signal-name))
@@ -16266,11 +16312,17 @@ do not print any file names."
(compile (concat command " " options " " file-name)))
(vhdl-warning "Your project settings tell me not to compile this
file"))))
+(defvar vhdl-make-target "all"
+ "Default target for `vhdl-make' command.")
+
(defun vhdl-make (&optional target)
"Call make command for compilation of all updated source files (requires
`Makefile'). Optional argument TARGET allows to compile the design
specified by a target."
(interactive)
+ (setq vhdl-make-target
+ (or target (read-from-minibuffer "Target: " vhdl-make-target
+ vhdl-minibuffer-local-map)))
(vhdl-compile-init)
(let* ((project (aget vhdl-project-alist vhdl-project))
(compiler (or (aget vhdl-compiler-alist vhdl-compiler)
@@ -16282,7 +16334,7 @@ specified by a target."
(error "ERROR: Compile directory does not exist: \"%s\""
default-directory))
;; run make
(compile (concat (if (equal command "") "make" command)
- " " options " " target))))
+ " " options " " vhdl-make-target))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Makefile generation
@@ -16946,26 +16998,26 @@ to visually support naming conventions."
(defun vhdl-doc-variable (variable)
"Display VARIABLE's documentation in *Help* buffer."
(interactive)
- (with-output-to-temp-buffer "*Help*"
+ (unless vhdl-xemacs
+ (help-setup-xref (list #'vhdl-doc-variable variable) (interactive-p)))
+ (with-output-to-temp-buffer
+ (if (fboundp 'help-buffer) (help-buffer) "*Help*")
(princ (documentation-property variable 'variable-documentation))
- (unless vhdl-xemacs
- (help-setup-xref (list #'vhdl-doc-variable variable) (interactive-p)))
- (save-excursion
- (set-buffer standard-output)
+ (with-current-buffer standard-output
(help-mode))
(print-help-return-message)))
(defun vhdl-doc-mode ()
"Display VHDL Mode documentation in *Help* buffer."
(interactive)
- (with-output-to-temp-buffer "*Help*"
+ (unless vhdl-xemacs
+ (help-setup-xref (list #'vhdl-doc-mode) (interactive-p)))
+ (with-output-to-temp-buffer
+ (if (fboundp 'help-buffer) (help-buffer) "*Help*")
(princ mode-name)
(princ " mode:\n")
(princ (documentation 'vhdl-mode))
- (unless vhdl-xemacs
- (help-setup-xref (list #'vhdl-doc-mode) (interactive-p)))
- (save-excursion
- (set-buffer standard-output)
+ (with-current-buffer standard-output
(help-mode))
(print-help-return-message)))
1.1 XEmacs/packages/xemacs-packages/vhdl/ChangeLog.upstream
Index: ChangeLog.upstream
===================================================================
2005-12-09 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.33.7 released.
(vhdl-template-case): Disable "case ... use" template if AMS turned off.
(vhdl-mode-syntax-table-init): Define '\' as word-constituent character
for extended identifiers.
(vhdl-mode): Define 'fill-prefix' for paragraph filling in XEmacs
(vhdl-port-copy): Handle '(' in port comments.
(vhdl-template-if-then-use): "if ... use" ends with "end use".
(vhdl-compiler-alist): Add 'Xilinx' compiler.
2005-08-30 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Sync with GNU Emacs CVS 1.42
2005-08-29 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Sync with GNU Emacs CVS 1.15.4.1.
2005-06-22 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Sync with GNU Emacs CVS 1.35.
2005-06-03 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-emacs-21): Make compatible with Emacs 22.
2005-05-17 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-update-sensitivity-list): Handle multi-dimensional array access.
2005-04-10 Stefan Monnier <monnier(a)iro.umontreal.ca>
* vhdl-mode.el: GNU Emacs CVS 1.26.
(vhdl-mode-map-init): Don't override default
TAB binding so tab-always-indent is obeyed.
(vhdl-minibuffer-local-map): Move initialization into declaration.
(vhdl-run-when-idle, vhdl-create-mode-menu, vhdl-character-to-event)
(vhdl-hooked-abbrev): Avoid test for XEmacs.
(vhdl-current-line): Use line-beginning-position.
(vhdl-doc-variable, vhdl-doc-mode): Call help-setup-xref before
with-output-to-temp-buffer, so the current position can be recorded.
2005-04-07 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-end-p): Fix indentation bug "else" after "-- when".
2005-02-25 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.33.3 released.
(vhdl-set-default-project): New function (easier setting of default).
(vhdl-port-copy): Handle extended identifiers for generics.
2005-01-21 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-compiler-alist): Better description for error message regexp.
2005-01-17 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-make): Query for target, use previous as default.
2005-01-11 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-port-copy): Fix port copy for port names starting with "signal".
2004-12-10 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-font-lock-keywords-2): Fix fontification for record el. assign.
2004-10-23 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-speedbar-make-subpack-line): Add package body link.
(vhdl-generate-makefile-1): Not include itself as dependency.
2004-09-30 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.33.2 released.
(vhdl-font-lock-init): Highlight c-preprocessor directives.
(vhdl-*ward-syntactic-ws): Skip c-preprocessor directives.
(vhdl-get-syntactic-context): Handle c-preprocessor directives.
2004-09-23 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.33.1 released.
(vhdl-update-sensitivity-list): Start scan at opening parenthesis.
(vhdl-fixup-whitespace-region): Fix jumping point (infinite loop).
(vhdl-update-sensitivity-list-buffer): Add string argument for `error'.
(vhdl-import-project): Add string argument for `error'.
2004-04-01 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-compose-*): Add configuration declaration generation.
2004-02-28 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-scan-directory-contents): Scan for block/generate hierarchy.
2004-02-16 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-trailer-re): Add "record" keyword (better indentation).
(vhdl-fixup-whitespace-region): "[^ \t\"-]+" instead of "[^
\t-\"]+".
(vhdl-font-lock-keywords-2): Not highlight formal parameter after '|'.
(vhdl-testbench-entity-file-name,vhdl-testbench-architecture-file-name):
Allow separate customization of testbench file names.
2004-02-13 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-beginning-of-block): Handle optional subprogram parameter list.
2004-02-06 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-get-visible-signals): Allow newline within alias declaration.
2004-01-08 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-update-sensitivity-list): Signal read only on certain attributes.
2003-12-18 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-fixup-whitespace-region): Fix bug with strings (double quotes).
2003-11-17 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(member-ignore-case): Alias for missing function in XEmacs.
2003-09-17 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-compiler-alist): Add unit-to-file name mapping for Cadence NC.
(vhdl-update-sensitivity-list): Ignore case on read signals.
2003-09-08 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-replace-string): Adjust case only for file names.
2003-08-04 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-update-sensitivity-list): Fix search for read signals.
2003-04-20 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-update-sensitivity-list): Exclude formal parameters.
(vhdl-get-visible-signals): Include aliases of signals.
(vhdl-get-visible-signals): Fix signal name searching.
2003-03-15 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-port-flatten, vhdl-port-reverse-direction): Better message.
2003-03-12 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.32.13 released.
(vhdl-fixup-whitespace-region): Fix for character literals (e.g. ':').
2003-02-28 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.32.12 released, submitted to GNU Emacs.
(vhdl-in-literal): Restore old function (fixes bug).
2003-01-06 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-compiler-alist): Add new error message syntax for Modelsim.
2002-12-09 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-create-mode-menu): Split menues for compilers, projects, models.
2002-11-12 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.32.11 released.
(vhdl-file-name-case): New option (allow casing of file names).
(vhdl-replace-string): Allow casing (use `vhdl-file-name-case').
2002-10-27 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.32.10 released.
(vhdl-forward-comment): Replace buggy `forward-comment' in XEmacs 21.4.
2002-09-16 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-update-sensitivity-list): Recognize signals with attributes.
2002-08-12 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-template-exit,vhdl-template-next,vhdl-template-return):
Fix template abortion.
2002-07-01 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-statistics-buffer): Open message buffer unless Emacs 21.
(vhdl-subprog-copy): Allow subprogram names in double quotes.
2002-06-24 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el: Version 3.32.9 beta released.
(vhdl-compiler-alist): Add "Speedwave" compiler.
2002-05-08 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-re-search-forward): Simplify search.
(vhdl-in-literal,vhdl-in-literal-p): Faster literal checking.
2002-05-07 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-compose-wire-components): Insert missing generic/port clause.
(vhdl-statistics-buffer): New code statistics function.
(vhdl-compose-place-component): Improve positioning of library clause.
2002-05-02 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-subprog-*): New subprogram interface copy/paste.
(vhdl-speedbar-port-copy): Add subprogram copy.
(vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'.
(vhdl-fill-{region,group,list,same-indent}): New code filling funcs.
2002-04-29 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-port-paste-testbench): Print file names created.
(vhdl-port-paste-testbench): Better handling when file exist/open.
(vhdl-update-hierarchy): Preserve order of files changed.
(vhdl-compose-new-component): Print file names created.
(vhdl-compose-components-package): Print file name created.
2002-04-26 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-visit-file): Improve error handling.
2002-04-25 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-port-paste-instance): Special case: no number in instance name.
(vhdl-visit-file): Abort if file does not exist.
(error): Add "ERROR: " prefix to all error messages.
(vhdl-port-flattened): Indicate flattened port in menu.
(vhdl-port-reversed-direction): Indicate reversed port in menu.
(vhdl-compose-wire-components): Case-insensitive wiring.
(vhdl-compose-wire-components): Error message for formals mismatch.
2002-03-17 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-scan-directory-contents): Add filename to "non-existing" warning.
(vhdl-speedbar-expand-units): Fix speedbar frame switching oddity.
2002-03-15 Reto Zimmermann <reto(a)gnu.org>
* vhdl-mode.el
(vhdl-scan-directory-contents): Scan for instantiations without map.
(vhdl-font-lock-keywords-2): Highlight instantiations without map.
2002-03-14 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.32.8 beta released.
(vhdl-mode): `comment-padding' for Emacs 21 only.
(vhdl-mode): Remove forced `turn-on-font-lock'.
(vhdl-create-mode-menu): Add customization for `global-font-lock-mode'.
(vhdl-work-library): Resolve environment variable.
(vhdl-port-reverse-direction): New function.
2001-12-11 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.32.7 beta released.
(vhdl-comment-uncomment-region): Remove usage of `commend-dwim' again.
(vhdl-compiler-alist): Add support for "Simili".
(vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images.
2001-11-27 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-fontify-buffer): Toggle font-lock-mode for better recovery.
(vhdl-update-sensitivity-list): Fix signal attributes as not reading.
(vhdl-port-list): Add context clause.
(vhdl-compose-place-component): Place context clause for used packages.
(vhdl-compose-place-component): Place component declaration only once.
(vhdl-compose-components-package): Include context clause.
2001-11-26 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-emacs-21): Add Emacs 21 compatibility/enhancements: not use
`lazy-lock-mode' anymore, use `comment-dwim'.
(vhdl-port-paste-signals): Include direction comments.
(vhdl-port-paste-testbench): Additional comments in code.
(vhdl-testbench-entity-header,vhdl-testbench-architecture-header):
Obsoleted.
(vhdl-testbench-include-header): Option for header in testbench files.
(vhdl-testbench-declarations,vhdl-testbench-statements): New default.
2001-11-24 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-port-*, vhdl-compose-*): Include name in status messages.
(vhdl-package-alist): Scan for and display subprogram body.
(vhdl-scan-directory-contents): Enhance double declaration warnings.
(vhdl-speedbar-find-file): Always jump to design unit if buffer open.
(vhdl-project-file-name): Include user name in setup file name.
(vhdl-auto-load-project,vhdl-import-project): Only make projects
from first entry current.
(vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages.
(vhdl-visit-file): Fix set visiting buffer by file name.
2001-11-21 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-speedbar-cache-file-name, vhdl-load-cache, vhdl-save-cache):
Include user name in cache file name.
2001-11-20 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.25, 3.32.6 beta released.
(vhdl-compiler-alist): Add Synplify, column no in error regexp.
(vhdl-compile-init): Allow fourth element (column no) in error regexp.
(vhdl-speedbar-toggle-hierarchy): Removed.
2001-11-18 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-beginning-of-block): Fix for function with multiple arguments.
(vhdl-get-visible-signals, vhdl-update-sensitivity-list): Make
case-insensitive.
(vhdl-minibuffer-tab): No indentation.
2001-11-12 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-ams-types, vhdl-ams-enum-values, vhdl-ams-packages): Add
identifiers from `nature_pkg' package.
2001-11-01 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-comment-uncomment-region): Change ARG for uncommenting.
2001-09-17 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-create-mode-menu): Fix `customize-group' entries for XEmacs.
2001-07-30 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-create-mode-menu): "Gen." -> "Generate" for XEmacs.
2001-05-28 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.24 released.
(vhdl-align-alist): Fix "when/else ... =>" case.
(vhdl-port-copy): Extended identifiers for signal names.
(vhdl-align-region-groups, vhdl-align-inline-comment-region,
vhdl-align-inline-comment-group): re-tabify.
2001-02-28 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.32.3 beta / 3.31.23 released.
(vhdl-compile-init): Fix `nconc' bug (also in 3.31).
(vhdl-compose-wire-components): Fix buffer switching.
2001-02-19 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.32.2 beta released.
(vhdl-font-lock-function-face): Change DarkCyan to Cyan4.
(vhdl-file-header): Insert VHDL language standard string.
(vhdl-use-direct-instantiation): Allow direct instantiation in VHDL'87.
(vhdl-default-library): Option to define default library name.
2001-02-18 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.32.1 beta released.
(vhdl-port-copy): Fix on empty generic/port clause.
(vhdl-use-direct-instantiation): Option to allow direct instantiation.
(vhdl-compose-wire-components): Include direct instantiation.
(vhdl-instance-name): Unique numbers in instance names.
2001-02-17 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compile, vhdl-make): Check for existing compile directory.
(vhdl-fix-case-word): Upcase VHDL words after SPC and RET.
(vhdl-template-field): Fix case on all VHDL words.
(vhdl-visit-file): Error if file not found.
2001-02-14 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.21 released.
(vhdl-compile-directory): Make sure that directory name ends with '/'.
2001-02-10 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.20 released.
(vhdl-compile): Put file name with spaces in quotes.
(speedbar): Use new 'speedbar-select-attached-frame' function.
(vhdl-mode): New web address.
2000-12-04 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-generate-makefile-hook): Allow to insert user parts in Makefile.
2000-11-22 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-font-lock-keywords-2): Fix label highlighting for signal asst.
2000-11-14 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el:
(vhdl-speedbar-show-hierarchy, vhdl-speedbar-show-projects): Replaced
by `vhdl-speedbar-display-mode'.
2000-11-12 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
Remove variable declarations for faces.
(vhdl-template-others): Re-electrified "others".
(vhdl-speedbar-expand-architecture, vhdl-speedbar-expand-config):
Give user control over displayed hierarchy depth.
2000-11-11 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-scan-directory-contents): Allow same name for multiple instances.
(vhdl-project-sort): Display projects in alphabetical order.
(vhdl-project-file-name): Change to list of file names.
2000-11-09 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compiler-alist): Include library name in library command.
2000-11-05 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
Adaptions for displaying all projects in hierarchy browser.
(vhdl-make): Fix missing options if there is a target.
(vhdl-speedbar-generate-makefile): Makefile generation from speedbar.
(vhdl-speedbar-show-projects): Option for project displaying mode.
2000-11-03 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-save-cache, vhdl-export-project, vhdl-generate-makefile-1):
Create directory first if non-existent.
(vhdl-compile-directory): Allow absolute path for compile directory.
(vhdl-project-alist): Insert library name in Makefile name.
2000-11-02 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-get-hierarchy): Include configurations in hierarchy list.
2000-11-01 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-speedbar-item-info): Enhanced displaying.
(vhdl-scan-file-contents): Fix skipping of comments in scanning.
2000-10-31 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(speedbar-indentation-width): Set default to 2 for VHDL Mode.
2000-10-30 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
Adaptions for case-insensitive hierarchy browsing.
(vhdl-entity-alist, vhdl-config-alist, vhdl-package-alist): Change
key to lower case, add original case identifier.
(vhdl-get-hierarchy): Fix bug with configurations.
(vhdl-generate-makefile-1): Add used packages to library unit targets.
(vhdl-speedbar-library-face): New face in hierarchy browser.
(vhdl-speedbar-case-insensitive): Remove option.
2000-10-26 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-electric-tab, vhdl-minibuffer-tab): Check whether
`hippie-expand-only-buffers' is bound (old XEmacs package).
(vhdl-port-copy): Fix parsing of comment on first line.
(vhdl-generate-makefile-1): Create library for all targets.
2000-10-25 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compile-use-local-error-regexp): Option for global error regexps.
(vhdl-project-alist, vhdl-scan-file-contents): Sources exclude regexp.
2000-10-22 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.11 beta released.
(vhdl-compile-init): Eliminate redundant regexps.
(vhdl-generate-makefile-1): Fix entry for files not to be compiled.
(vhdl-compiler-alist): Add unit-to-file name mapping for Savant.
2000-10-21 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compile, vhdl-make, vhdl-generate-makefile): Check compiler name.
(vhdl-generate-makefile-1): Allow absolute path for library directory.
(vhdl-port-paste-testbench): Replace keywords in testbench entity
and architecture file headers.
(vhdl-template-elsif): No expansion in concurrent part (except AMS).
(vhdl-compiler-alist, vhdl-generate-makefile): Add library option in
Makefile generation command.
(vhdl-scan-file-contents): Allow comment lines in instantiations.
(vhdl-testbench-include-library): Option for std_logic_1164 use clause.
2000-09-18 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-electric-tab, vhdl-minibuffer-tab): Not overwrite non-nil
default of `hippie-expand-only-buffers'.
2000-09-07 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-mode): Remove `hippie-expand-only-buffers' setting.
(vhdl-electric-tab, vhdl-minibuffer-tab): Use
`hippie-expand-only-buffers' to take expansions from VHDL buffers only.
2000-08-28 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compiler-alist): Add "Synopsys Design Compiler", "Cadence NC",
"Savant".
2000-08-25 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compose-use-components-package): Option for struct. composition.
(vhdl-compose-new-component, vhdl-compose-place-component,
vhdl-compose-wire-components): Consider components package.
2000-08-24 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compiler-alist): Add command to create library directory.
(vhdl-generate-makefile-1): Add rule to create library directory.
2000-08-23 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.9 beta released.
(vhdl-generate-makefile-1): Add subcomponent dependencies to rules for
single library units (to compile subhierarchies as well).
2000-08-22 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-generate-makefile-1): Better library and unit variable names.
2000-08-19 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.8 beta released.
(vhdl-insert-string-or-file): Resolve environment variables.
(vhdl-submit-bug-report): Prompt for summary.
2000-08-17 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compiler-alist): Built-in Makefile generation is always default.
(vhdl-speedbar-cache-file-name, vhdl-save-cache, vhdl-load-cache):
Resolve environment variables, allow absolute paths.
(vhdl-resolve-paths, vhdl-scan-project-contents): Rearrange environment
variable resolution.
(vhdl-project-file-name, vhdl-import-project, vhdl-export-project,
vhdl-auto-load-project): Resolve environment variables, allow absolute
paths.
2000-08-16 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compile-directory): Resolve environment variables.
(vhdl-scan-file-contents): Fix used packages in package body scanning.
(vhdl-activate-project): Add message "(auto-loaded)".
2000-08-15 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-doc-coding-style): Update RMM URL.
(vhdl-scan-project-contents): Allow absolute paths.
(vhdl-end-of-leader): Consider "is" keyword in VHDL'93.
2000-07-31 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.5 beta released.
(vhdl-compose-wire-components, vhdl-compose-insert-generic): Add
generics support to structural composition.
(vhdl-model-insert): Replace header prompts too.
(vhdl-template-header): New argument `is-model'.
(vhdl-template-generate-body): Remove "begin" for VHDL'93.
(vhdl-fixup-whitespace-region): Better treat comments and strings.
(vhdl-duplicate-project): New function.
2000-07-22 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-port-copy): Allow generic clause begin on first line.
2000-07-20 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Change Rod's email address.
2000-07-19 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.4 beta released.
(vhdl-run-when-idle): Explicitely activate idle timer.
(vhdl-show-messages, vhdl-create-mode-menu): Get *Messages* buffer.
2000-07-18 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-mode): Remove `lazy-lock-mode' for XEmacs (too old package).
(vhdl-speedbar-cache-file-name): Change default value.
(vhdl-create-mode-menu): Fix "Auto Load Setup File" menu entry.
(vhdl-set-project, vhdl-activate-project): Change message string.
2000-07-16 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-speedbar-contract-all): Only contract in current dir/project.
(vhdl-speedbar-expand-all): New function.
(vhdl-get-end-of-unit): Match only real beginnings of design units.
(vhdl-scan-file-contents): Allow code before first block configuration.
(vhdl-scan-file-contents): Scan also for "is" keyword of design units.
(vhdl-save-caches): Catch error while saving caches.
2000-07-14 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-mode): Enable `lazy-lock-mode' in XEmacs.
(vhdl-actual-port-name): Change default value (no "_i" extension).
2000-07-11 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.2 beta released.
(vhdl-indent-syntax-based): Option to switch to fast indentation.
(vhdl-speedbar-insert-hierarchy): Message "No VHDL design units!".
(vhdl-write-file-hooks-init): Use `after-save-hook'.
(vhdl-testbench-include-configuration): Changed default to t.
2000-06-15 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compose-wire-components): Function for structural composition.
(vhdl-create-mode-menu): Add faces customization to "Options".
2000-06-11 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-compose-components-package): Function for structural composition.
(vhdl-compose-include-header, vhdl-components-package-name):
Option for structural composition.
(vhdl-port-paste-testbench): Adjust case in testbench configuration.
(vhdl-fix-clause): Also fix port clause if cursor is at end.
(vhdl-create-mode-menu): Include `speedbar-indentation-width'.
2000-06-10 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.32 started.
(vhdl-compose-create-component, vhdl-compose-place-component):
Function for structural composition.
(vhdl-compose-create-files, vhdl-compose-architecture-name):
Option for structural composition.
(vhdl-template-modify): Delete date instead of kill.
(vhdl-get-source-files): Not match source files beginning with ".".
2000-04-28 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.31.1 beta released.
(vhdl-port-copy): Add "inout" and "linkage" to direction modes.
2000-04-13 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(hideshow): Adaptions for hideshow 5.
(vhdl-directive-keywords): New option.
(vhdl-create-mode-menu): Add "Options" entry.
(vhdl-compiler-alist): Add "ProVHDL" compiler.
(vhdl-update-sensitivity-list): Fix bug ("<=" is relational operator).
2000-03-30 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-scan-file-contents): Scan configuration specification.
(vhdl-mode): Update online documentation.
(vhdl-fixup-whitespace-region): Not in strings.
(file-expand-wildcards): Added for XEmacs compatibility.
(noninteractive): Non-interactive makefile generation.
(vhdl-process-command-line-option): "-compile" and "-project"
options.
2000-03-18 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Include `itimer.el' patch for XEmacs.
(vhdl-project-*-alist): Merged with variables `vhdl-*-alist'.
(vhdl-get-hierarchy): Consider configurations at lower levels.
(vhdl-speedbar-contract-all): Added.
(vhdl-speedbar-case-insensitive): New variable and functionality.
(vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser.
(vhdl-{save,load}-project): Importing/exporting project setup.
(vhdl-auto-load-project): Automatically load project setup on startup.
(vhdl-project-file-name,vhdl-project-auto-load): New variables.
2000-03-08 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-speedbar-expand-*): Display used packages.
(vhdl-warning*): Enhanced warning message handling.
(vhdl-visit-file): Fix coding system conversion for DOS.
(vhdl-package-alist): Scan for packages used by package body.
(vhdl-speedbar-update-on-saving, vhdl-speedbar-cache-file-name,
vhdl-speedbar-save-cache): New custom variables.
(vhdl-{read,write}-cache-file): Store hierarchy cache in file.
(vhdl-update-file-contents): Automatically update hierarchy.
(vhdl-get-hierarchy): Consider configurations.
2000-02-08 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-fixup-whitespace-region): Fix "=> ," alignment.
(vhdl-font-lock-keywords-2): Enhance highlighting of instantiation.
(vhdl-scan-file-contents): Clear directory alists first.
(vhdl-scan-file-contents, vhdl-generate-makefile-1): Consistency check.
(vhdl-generate-makefile-1): Add rules for design units.
2000-01-23 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-generate-makefile-1): Only configurations for working library.
2000-01-05 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-align-alist): Align declaration keywords only at beg. of line.
1999-12-16 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-sequential-statement-p): Better algorithm.
(vhdl-project-alist): Add file-specific compile exceptions.
(vhdl-scan-file-contents): Check for multiply scanned design units.
(vhdl-speedbar-expand-config): Added.
(vhdl-speedbar-port-copy): Copy port of component in package.
1999-12-11 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.30.3 beta released as 3.30
(includes some fixes from 3.30.4).
Version 3.30.4 beta changed to 3.31.1 beta.
1999-12-03 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-scan-file-contents): Scan components/subprograms in package.
(vhdl-generate-makefile): Add dependencies for components in package.
(vhdl-speedbar-expand-package): Add function.
1999-12-02 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.30.4 beta released.
(vhdl-scan-file-contents): Scan library clauses and subconfigurations.
(vhdl-generate-makefile): Add function.
(vhdl-project-alist): Enhanced customization of projects.
(vhdl-compiler-alist): Enhanced customization of compilers.
(vhdl-compiler): Changed empty value from "" to nil.
(vhdl-electric, vhdl-stutter): Changed key bindings.
(vhdl-set-compiler, vhdl-set-project): Added with key bindings.
1999-11-15 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Backquote fix.
(vhdl-forward-same-indent, vhdl-backward-same-indent): Add function.
(vhdl-electric-...): No stuttering within literals.
(vhdl-remove-trailing-spaces): Not within literals.
(vhdl-template-footer): Replace keywords in footer as in header.
(vhdl-align-group-separate, vhdl-align-same-indent): Add variables.
(vhdl-align-same-indent): Add function.
(vhdl-align-noindent-region): Change to `vhdl-align-region'.
(vhdl-align-noindent-buffer): Change to `vhdl-align-buffer'.
(vhdl-align-...): Enhance alignment, add progress reporting.
(vhdl-fixup-whitespace-region, vhdl-beautify-region): Bug fix.
(vhdl-comment-insert-inline): Remove wrapping to next line if too long.
(vhdl-update-progress-info): Change to line-based.
(vhdl-indent-group): Add function.
(vhdl-port-paste-initializations): Add function.
(vhdl-testbench-configuration-name),
(vhdl-testbench-include-configuration): Add variable and functionality.
1999-10-02 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-update-sensitivity-list-buffer): Fix starting cursor position.
(vhdl-align-alist): Align <=, := and == among each other.
1999-09-08 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.30.3 beta released.
(vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem.
(vhdl-prepare-search-[12]): Fix search within hidden code.
1999-08-26 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.30.2 beta released.
(vhdl-update-sensitivity-list): Add updating for sequential processes.
(vhdl-fix-clause): Handle closing parenthesis on separate line.
1999-08-17 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.30.1 beta released.
(hs-minor-mode): Enhanced usage of hideshow.
1999-08-07 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-electric-tab): Toggle comment indent.
(vhdl-update-sensitivity-list): Add sensitivity list update functions.
(vhdl-speedbar-jump-to-unit): Disable cursor re-positioning.
(vhdl-fix-clause): Fixup parenthesis in generic/port clause.
(vhdl-font-lock-keywords-2): Highlight formal parameters.
1999-07-21 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-template-for): Fix sequential statement part detection.
(vhdl-electric-space): Fix wrapping for non-word characters.
(vhdl-delete-indentation): Fix delete-indentation for comments.
(vhdl-speedbar-scan-limit, vhdl-scan-file-contents):
Limit file size for scanning.
1999-07-17 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-copyright-string): Insert copyright string in file header.
1999-06-26 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-font-lock-keywords-2): Highlight quantity declaration names.
(vhdl-align-list, vhdl-align-declarations): New alignment functions.
(vhdl-compile): Print out file name if compiler does not.
(vhdl-compiler-alist): Add VeriBest compiler.
(vhdl-include-group-comments): Include group comments in port pasting.
(vhdl-include-type-comments): Include type in generic/port comments.
1999-06-21 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el: Version 3.30 started.
(top): Change some documentation strings.
(vhdl-template-standard-package): Don't insert "std" library.
(vhdl-template-architecture): Code optimization.
(vhdl-template-package): Search for existing package name.
(vhdl-template-component-decl): Insert "is" in VHDL'93.
(vhdl-port-paste-declaration): Insert "is" in VHDL'93.
1999-06-10 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-port-copy): Fix parsing bug.
(vhdl-port-paste-generic-map): Fix indentation bug.
(vhdl-port-paste-port-map): Fix indentation bug.
(vhdl-scan-file-contents): Scan case insensitive.
1998-10-11 Reto Zimmermann <reto(a)gnu.org>
* progmodes/vhdl-mode.el
(vhdl-add-index-menu): reverse order in imenu-generic-expression.
(vhdl-template-assert, vhdl-block, vhdl-configuration-spec,
vhdl-elsif, vhdl-generate, vhdl-if, vhdl-map,
vhdl-selected-signal-assignment, vhdl-use, vhdl-while-loop,
vhdl-get-port, vhdl-get-generic): replace (undo 0) by (undo).
(vhdl-when): fix indentation problem.
(vhdl-outer-space): add "_" to syntax table for expand-abbrev.
(vhdl-get-port, vhdl-get-generic): bug fix in template.
(vhdl-hooked-abbrev): bug fix in hooked abbrev.