]> code.delx.au - gnu-emacs-elpa/blob - packages/ada-mode/NEWS
Merge commit '0cda39255827f283e7578cd469ae42daad9556a2' from js2-mode
[gnu-emacs-elpa] / packages / ada-mode / NEWS
1 GNU Emacs Ada mode NEWS -- history of user-visible changes.
2
3 Copyright (C) 2014 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
5
6 Please send Emacs Ada mode bug reports to bug-gnu-emacs@gnu.org, with
7 'ada-mode' in the subject. If possible, use M-x report-emacs-bug.
8
9 \f
10 * Ada mode 5.1.9
11 20 Jan 2016
12
13 ** New option ada-indent-comment-gnat matches the GNAT style check for
14 comments in all cases (previously, there were some cases where the
15 comment indent algorithm did not match the GNAT check).
16
17 ** New menu command "Show source file search path"; displays
18 compilation-search-path in a buffer.
19
20 ** Adding missing grammar statements to allow removing parens around
21 conditional and quantified expressions.
22
23 ** Key binding for ada-case-create-partial-exception in ada-mode
24 changed to C-c C-M-y; this is easier to type, and matches the key
25 binding in gpr-mode.
26
27 ** ada-case-keyword changed to accept the symbols 'lower-case,
28 'upper-case instead of the functions downcase-word, upcase-word.
29
30 ** ada-case-identifier changed to accept the symbols 'mixed-case,
31 'lower-case, 'upper-case instead of the functions 'ada-mixed-case,
32 'ada-lower-case, 'ada-upper-case.
33
34 ** ada-fix-add-context-clause now sorts "limited with" and "private
35 with" clauses after other clauses.
36
37 ** ada-align now aligns '=>' in case expressions.
38
39 ** ada-align-paramlist now handles access function parameters:
40
41 procedure Choose
42 (X, Y, Z : Integer;
43 Preference : access function (A, B : Integer) return Boolean);
44
45 ** ada-next-statement-keyword now moves to matching close paren if on
46 open paren, ada-prev-statement-keyword moves from close paren to
47 open paren.
48
49 ** New hook ada-prj-parse-hook, run from ada-parse-prj-file.
50
51 ** GPR mode now does case adjust similar to Ada mode.
52
53 ** gpr parser handles nested case statements without blowing up.
54
55 ** gpr parser handles package renames
56
57 ** fix other bugs
58
59 * Ada mode 5.1.8
60 10 Apr 2015
61
62 ** requires OpenToken 6.0
63
64 ** ada-align handle identifiers that start with Ada keywords
65
66 ** functions for ada-case-identifier now take three args: start, end,
67 force-case
68
69 ** parsing is not required by find-other-file if the current buffer is
70 larger than wisi-size-threshold
71
72 ** fix misc bugs
73
74 * Ada mode 5.1.7
75 18 Nov 2014
76
77 ** add ada-find-file that prompts for a file from the current project,
78 with completion.
79
80 ** fix bug that prevented
81 Y : Boolean := Boolean'(if True then False);
82
83 ** add ada-create-select-default-prj, to simplify working with small
84 projects
85
86 ** Handle deleting whitespace between words, inserting whitespace in
87 the middle of a word properly.
88
89 ** Change ada-case-adjust to capitalize words in comments and strings
90 by default; C-u adjusts case as if code.
91
92 ** allow 'raise' in expressions for GNAT GPL 2014 aspects
93
94 ** move all except keyword face highighting to grammar; much more
95 accurate, easier to maintain, simpler, faster.
96
97 ** delete gnatinspect support; gpr_query is better
98
99 ** misc bug fixes
100
101 * Ada mode 5.1.6
102 28 Sep 2014
103
104 ** improve syntax highlighting of names after 'of', 'new', 'renames'
105
106 ** fix ada-format-paramlist to handle 'aliased' keyword (new in Ada
107 2012), and 'not null' without 'access'.
108
109 ** fix ada-find-other-file in separate bodies; now navigates to the
110 spec.
111
112 ** restore ada-indent-newline-indent for [return]
113
114 * Ada mode 5.1.5
115 12 Jul 2014
116
117 ** add C-c <, C-c >; goto-declaration-start, -end
118
119 ** improve parsing speed significantly
120
121 * Ada mode 5.1.4
122 26 May 2014
123
124 ** support expression functions
125
126 ** beginning-of-defun-function, end-of-defun-function are now set. A
127 "defun" is a generic, package, protected, subprogram, or task spec
128 or body.
129
130 ** C-c C-s is now bound to ada-goto-previous-pos, which goes to the
131 first position in ada-goto-pos-ring. Most navigation functions set
132 ada-goto-pos-ring. This allows easy navigation back to the start of
133 a cross-reference chain.
134
135 ** xref tool error handlers no longer show the xref tool buffer; the
136 new Ada menu item 'show xref tool buffer' can be used instead.
137
138 ** The parser supports more deeply nested case statements.
139
140 * Ada mode 5.1.3
141 19 Apr 2014
142
143 ** more GNAT error message auto-fixes
144
145 ** support aspects on subprogram declarations; format same as SPARK examples.
146
147 ** fix bug in ada-syntax-propertize that caused query-replace to screw up
148
149 ** inhibit reparse due to case adjust; case adjust entire buffer is
150 now _much_ faster.
151
152 ** Non-ASCII characters supported in Ada mode buffers, including GNAT
153 bracket notation.
154
155 * Ada mode 5.1.2
156 16 Mar 2014
157
158 ** fix another packaging bug; forgot to add files to ELPA git!
159
160 * Ada mode 5.1.1
161 14 Mar 2014
162
163 ** require wisi-1.0.2, to fix packaging bug
164
165 ** gnat-find now called with -a to include read-only .ali files in the results.
166
167 * Ada mode 5.1.0
168 13 Mar 2014
169
170 ** Emacs 24.2 supported, via cl-lib in Gnu ELPA
171
172 ** Better handling of aspects.
173
174 ** 'record' is aligned with 'type' in derived types
175
176 ** Several minor indentation bugs have been fixed.
177
178 ** Added "2.2 Upgrading from previous versions" to the user guide.
179
180 ** ada-align now properly handles subprograms with the opening paren
181 on the same line as the preceding code and code on the same line as
182 the closing paren:
183
184 function Foo (Param_1 : Integer;
185 Param_2 : Integer) return Integer;
186
187 ** When no project file is selected, the default variables are
188 consistently used instead. Previously, the default variables were
189 only used when parsing a project file.
190
191 ** info files are properly visible in main info menu
192
193 ** 'C-c ;' used to run `comment-dim', which is bound to 'M-;' in the
194 global keymap. 'C-c ;' now gives an error with a message saying
195 'use M-; instead'.
196
197 * Ada mode 5.0.1
198 Feb 2 2014
199
200 First public release, via ELPA
201
202 * Ada mode 5.0.0
203 Dec 24 2013
204
205 ** first release in ELPA
206
207 ** Previous version was 4.00, in Emacs core. 5.0.1 is a complete
208 rewrite, using a generalized LALR parser that caches syntactic
209 information in text properties.