File: ChangeLog

package info (click to toggle)
ada-mode 3.6-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 680 kB
  • ctags: 369
  • sloc: lisp: 6,447; makefile: 54; sh: 50
file content (197 lines) | stat: -rw-r--r-- 9,749 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
2000-09-13  Stephen Leake <>

	* ada-mode.el (ada-adjust-case): Do nothing when the cursor is
	currently on the first character in the buffer. Fix integration
	problem with else-mode.

2000-08-11 Emmanuel Briot <briot@gnat.com>

	* ada-xref.el (ada-make-body-gnatstub): The file name was incorrectly
	chosen when the user was asked for a project name before.
	The function did not work correctly when called interactively

2000-08-10 Stephen Leake <>

	* ada-mode.el (comment-region): Fix handling of \C-u prefixes
	(ada-mode): Add special commentto show all existing bindings with \C-hm
	
	* ada-xref.el (ada-get-absolute-dir): Fix handling of Windows file names.

2000-07-17 Emmanuel Briot <briot@act-europe.fr>

	* ada-mode.el
	Got rid of all byte-compiler warnings on Emacs
	Load ada-xref.el before ada-prj.el, so that the Project menu is created
	when ada-prj tries to add to it.
	(ada-activate-keys-for-case): Suppress the characters that are not
	part of the Ada syntax. Better compatibility with else-mode
	(ada-adjust-case-interactive): When auto-casing is not active,
	correctly insert newlines (used to insert only ^M).
	Prevent the syntax table from being changed in case of an error
        (or '_' becomes part of a word and some commands are confused).
	Do nothing if ada-auto-case is nil.
	(ada-after-keyword-p): Ignore keywords that are also attributes
	(ada-batch-reformat): Update usage comment
	(ada-call-from-contextual-menu): New function
	(ada-case-read-exceptions): Reinitialize the casing exception list first
	to nil first, so that the casing exception file can be shared.
	(ada-check-defun-name): Handles "configure" keyword for gnatdist files.
	(ada-compile-goto-error): Fix regexp used to detect a file:line
	anywhere in the error message
	(ada-contextual-menu-last-point): New variable
	(ada-create-keymap): If the variable delete-key-deletes-forward is t on
	XEmacs, it means that DEL should delete one character forward.
	(ada-create-menu): Use :included instead of :visible for XEmacs.
	New submenu "Options".
	(ada-end-stmt-re): Correctly indent "select ... then abort" statements.
	(ada-fill-comment-paragraph): Correctly delete all leading '--' even
	if they don't match ada-fill-comment-prefix
	Fix handling of paragraphs on the first or last line of a file.
	(ada-format-paramlist): Fix handling of default parameter values.
	(ada-get-body-name): New function.
	(ada-get-current-indent): Optimized by searchling directly for an
	existing generic part or a statement outside of it.
	Handle ada-indent-align-comments when indenting comments
	Replaced some regexps by testing directly the next character. This
	results in a huge speedup on some files.
        New indentation scheme for renames statements.	
	Stop looking for the 'while' or 'for' associated with a 'loop' at the
	first semicolon encountered.
	A "return" can also match an anonymous access subprogram declaration.
	(ada-get-indent-noindent): Ignore strings and comments when looking for
	the keywords "record" and "private".
	(ada-goto-matching-decl-start): When matching "if", make sure we are
	not in fact seeing "end if".
	Ignore "when" statements except when initial keyword was "begin".
	Fix handling of nested procedures.
	Add a recursive call to this function to skip over other 'end' statmts.
        Fix indentation for "when .. => begin"	
	(ada-in-open-paren-p): Fix indentation for complex boolean expressions,
	where 'and then', 'or else' and parenthesis statements are mixed up.
	(ada-in-paramlist-p): Skip comments while searching for the beginning
	Fix handling of operator declarations.
	(ada-indent-align-comments): New variable
	(ada-indent-current): Change the syntax table only in the protected
	section, so that we are sure it is restored correctly.
	(ada-indent-on-previous-lines): Use ada-use-indent and ada-with-indent
	Correctly indent "select ... then"
	(ada-indent-region): Slight speedup.
	(ada-indent-renames): New variable.
	(ada-last-which-function-subprog, ada-last-which-function-line): New
	variables
	(ada-looking-at-semi-private): Correctly indent the 'private'
	keyword when it is the first word in a package declaration.
	(ada-loose-case-word): Stop searching if at the end of the buffer.
	(ada-loose-case-word, ada-capitalize-word): Recase the
	whole word even if point is not initially at the end of the word.
	(ada-matching-decl-start-re): Add "when".
	(ada-mode): Add support for abbrev-mode, outline-mode
	and which-func-mode
	Override the old find-file.el entry in ff-special-constructs since it
	is using the obsolete ada-spec-suffix variable
	(ada-no-auto-case): New function
	(ada-scan-paramlist): When parsing the argument type,
	accept spaces (as in "X 'Class", generated by Rational Rose).
	(ada-other-file-name): No longer loads the other file.
	(ada-popup-menu): Save and restore the current buffer and cursor
	position before and after displaying the menu.
	(ada-search-ignore-complex-boolean): New function.
	(ada-uncomment-region): Emacs21 already knows how to delete comments
	not starting in the first column.
	(ada-use-indent): New variable
	(ada-which-function): New function.
	(ada-with-indent): New variable
	(ada-xemacs): evaluate it at compile time too, so that ada-mode.el can
	be batch-compiled from the command line.

	* ada-xref.el:
	Got rid of all byte-compiler warnings on Emacs.
        Add to the menu when the file is loaded, not in ada-mode-hook.
        Add -toolbar to the default ddd command
	Switches moved from ada-prj-default-comp-cmd and ada-prj-default-make-cmd
	to ada-prj-default-comp-opt
	(ada-add-ada-menu): Remove the map and name parameters
	Add the Ada Reference Manual to the menu
	(ada-check-current): rewritten as a call to ada-compile-current
	(ada-compile): Removed.
	(ada-compile-application, ada-compile-current, ada-check-current): Set
	the compilation-search-path so that compile.el automatically finds the
	sources in src_dir.
	Automatic scrollong of the compilation buffer.
	C-uC-cC-c asks for confirmation before compiling
	(ada-compile-current): New parameter, prj-field
	(ada-complete-identifier): Load the .ali file before doing processing
	(ada-find-ali-file-in-dir): prepend build_dir to obj_dir to conform
	to gnatmake's behavior.
	(ada-find-file-in-dir): New function
	(ada-find-references): Set the environment variables for gnatfind
	(ada-find-src-file-in-dir): New function.
	(ada-first-non-nil): Removed
	(ada-gdb-application): Add support for jdb, the java debugger.
	(ada-get-ada-file-name): Load the original-file first if not done yet.
	(ada-get-all-references): Handles the new ali syntax (parent types are
	found between <>).
	(ada-initialize-runtime-library): New function
	(ada-mode-hook): Always load a project file when a file is opened,
	so that the casing exceptions are correctly read.
	(ada-operator-re): Add all missing operators ("abs", "rem", "**").
	(ada-parse-prj-file): Use find-file-noselect instead of find-file to
	open the project file, since the latter does not work with speedbar
	Get default values before loading the prj file, or the default executable
	file name is wrong.
	Use the absolute value of src_dir to initialize ada-search-directories and
	compilation-search-path,...
	Add the standard runtime library to the search path for find-file.
	(ada-prj-default-debugger): Was missing an opening '{'
	(ada-prj-default-bind-opt, ada-prj-default-link-opt): New variables.
	(ada-prj-default-gnatmake-opt): New variable
	(ada-prj-find-prj-file): Handles non-file buffers
	For non-Ada buffers, the project file is the default one
	Save the windows configuration before displaying the menu.
	(ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
	(ada-read-identifier): Fix xrefs on operators (for "mod", "and", ...)
	regexp-quote identifiers names to support operators +, -,... in regexps.
	(ada-remote): New function.
	(ada-run-application): Erase the output buffer before starting the run
	Support remote execution of the application.
	Use call-process, or the arguments are incorrectly parsed
	(ada-set-default-project-file): Reread the content of the active
	project file, not the one from the current buffer
	When a project file is set as the default project, all directories are
	automatically associated with it.
	(ada-set-environment): New function
	(ada-treat-cmd-string): New special variable ${current}
	(ada-treat-cmd-string): Revised.
	The substitution is now done for any ${...} substring
	(ada-xref-current): If no body was found, compiles the spec instead.
	Setup ADA_{SOURCE,OBJECTS}_PATH before running the compiler to get rid of
	command line length limitations.
	(ada-xref-get-project-field): New function
	(ada-xref-project-files): New variable
	(ada-xref-runtime-library-specs-path, ada-xref-runtime-library-ali-path):
	New variables
	(ada-xref-set-default-prj-values): Default run command now does a cd
	to the build directory.
	New field: main_unit
	Provide a default file name even if the current buffer has no prj file.

	* ada-prj.el:
	Rewritten to show a tabbed-dialog.
	(ada-prj-add-ada-menu): Remove the map and name parameters.
	(ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
	New function
	(ada-prj-load-directory, ada-prj-subdirs-of): New functions
	(ada-prj-load-from-file): New function
	(ada-prj-save): Always save fields that depend on the current buffer
	(ada-prj-show-value): New function
	
	* ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not
	in Ada mode. This will allow us to display the Ada menu in any buffer we
	want (for project items).
	(ada-header-tmpl): Use ada-fill-comment-prefix to put the correct number
	of spaces in the header.
	
2000-05-05  Gerd Moellmann <gerd@gnu.org>

	* ada-mode.texi: Add a @direntry line