Both Project Properties and Preferences documentation now end with
a '.'.
Suppress the use of 'Whether' in documentation.
Change-Id: I29613acd54c3ae1c2375829f69ce22a6920a024b
P427-007 (1/2)
The 'Naming/<language>' Project Properties pages have been relooked
so that they have the same look-and-feel as the other Project Properties
editor pages. Documentation has been added under each naming attribute
editor.
A minor change has been done in the 'Toolchain' page to display the
toolchains list tree view withing a group.
Change-Id: I9fd5e7fcfcdd6f457d5ae0a4ff8e3a1be83bada6
P401-030
P427-007 (1/3)
A runtime selector has been added in the Project Properties editor,
in the Toolchain page.
Scanning the available toolchains/runtimes is now automatically done
when launching the Project Properties editor. A spinner
is displayed while GPS is scanning, so that the user can see that GPS is
doing something in background.
Some initial changes have been made to the Project Properties editor UI
so that it used the Dialog_Package. More important changes will be made
in further commits.
Change-Id: I0e9f038386fba910ca389531ea6069b98c26f816
P126-029
The preferences API has been improved to have more explicit
parameter names and types.
. Some subprograms of the public API that could be used to create
subpage and retrieve them (Register_Page and Get_Registered_Subpage)
have been removed, so that the user does not have to know about the
internal representation of the preferences pages hierarchy but only
use one API for this purpose (Register_Page and Get_Registered_Page).
. New String subtypes have been introduced to type the preferences
paths, the pages names and the group names. Documentation has been
added under the definition of each type so that the user knows the
exact policy regarding preferences paths, pages names and group
names.
Change-Id: I54da501b31a1afa54bbc97a6ba44d26a39525487
This was not up-to-date (missing lots of preferences, and still
documenting onces we have removed a long time ago).
Review the documentation for almost all preferences to make them
shorter, now that they are displayed in the Preferences dialog.
Change the type of the Default Font preference (which was a style,
not a font), since we never used foreground and background.
Reorganize some of the preferences into groups.
Remove a few preferences that were unused
P113-026
Change-Id: I31a7381b0637d199ac0ec503878a96affec437e6
Most of the complex manual code to encode and decode python
parameters is now automatically generated. The API was in fact
simplified too, so that even the generated code is much simpler
than before.
This fixes a number of inconsistencies in our hooks, between
the doc that could be missing some parameters, or even in the way
some hooks were exported to python. For instance, compilation_finished
would export 5 parameters (category, target, mode, status), but
expect 7 when GPS.Hook.run() was called from python (which was never
done in our own plug-ins).
This also removes support for creating custom hook types from python.
This was never used in any of our plug-ins (only in tests), and complexifies
the implementation significantly.
Improve error messages for hooks, since we can more systematically
catch Ada and python exceptions.
(modules.py): do not support adding to the gps_started hook anymore. The
proper alternative is to override setup(). Otherwise, when GPS calls
gps_started, the local gps_started callback is added to the end of the
callback queue, and will be run after the test's exit() function (in
some tests like IA27_014), which might result in exceptions. It seems
we had a problem before: running a hook would do a local copy of the list
of callbacks, so any callback added during the run was not run; as a
result, it is possible that the gps_started() functions from modules.py
were not called properly. We no longer make this temporary copy
(for efficiency)
Kernel.Open_Files is now implemented as a sorted set, instead of an array
of Virtual_File. This provides a more efficient Contains operation. But
we still need a specific sort order so that GC14_007 passes
M109-019 (1/2)
Change-Id: I1853c0a82b32c220d19da16e650953261d067630
We no longer use a notebook (which might contain other notebooks for
instance in the switches or naming pages). Instead, we use a tree, as
we do in the preferences dialog.
Each page for the switches has its own entry in the tree. However,
wizards and the file setting editor still use a notebook for the
switches.
Rename and reorganize some of the pages in the Project Properties
dialog (splitting the largest pages when possible).
Move the Toolchain settings to a separate page in the Project Properties
Code moved from toolchains/ui to prj_viewer to avoid cyclic
dependency.
Disabling compilation for a language is no longer done in the list of
languages, but in the Toolchains page via a new checkbox.
When a language has an invalid compiler, the name of the language is no
longer highlighted in red in the list of languages.
O119-023 (1/2)
Change-Id: I6dd90f2f000bdf4fa1ab5093ff8a9e93643d55bd