Mercurial > emacs
annotate src/chpdef.h @ 30408:e3e2c9051c5f
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.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 24 Jul 2000 11:13:11 +0000 |
parents | 3165b2697c78 |
children | 695cf19ef79e |
rev | line source |
---|---|
484 | 1 #define CHP$_END 0 |
2 #define CHP$_ACCESS 1 | |
3 #define CHP$_FLAGS 2 | |
4 #define CHP$_PRIV 3 | |
5 #define CHP$_ACMODE 4 | |
6 #define CHP$_ACCLASS 5 | |
7 #define CHP$_RIGHTS 6 | |
8 #define CHP$_ADDRIGHTS 7 | |
9 #define CHP$_MODE 8 | |
10 #define CHP$_MODES 9 | |
11 #define CHP$_MINCLASS 10 | |
12 #define CHP$_MAXCLASS 11 | |
13 #define CHP$_OWNER 12 | |
14 #define CHP$_PROT 13 | |
15 #define CHP$_ACL 14 | |
16 #define CHP$_AUDITNAME 15 | |
17 #define CHP$_ALARMNAME 16 | |
18 #define CHP$_MATCHEDACE 17 | |
19 #define CHP$_PRIVUSED 18 | |
20 #define CHP$_MAX_CODE 19 | |
21 #define CHP$M_SYSPRV 1 | |
22 #define CHP$M_BYPASS 2 | |
23 #define CHP$M_UPGRADE 4 | |
24 #define CHP$M_DOWNGRADE 8 | |
25 #define CHP$M_GRPPRV 16 | |
26 #define CHP$M_READALL 32 | |
27 #define CHP$V_SYSPRV 0 | |
28 #define CHP$V_BYPASS 1 | |
29 #define CHP$V_UPGRADE 2 | |
30 #define CHP$V_DOWNGRADE 3 | |
31 #define CHP$V_GRPPRV 4 | |
32 #define CHP$V_READALL 5 | |
33 #define CHP$M_READ 1 | |
34 #define CHP$M_WRITE 2 | |
35 #define CHP$M_USEREADALL 4 | |
36 #define CHP$V_READ 0 | |
37 #define CHP$V_WRITE 1 | |
38 #define CHP$V_USEREADALL 2 |