253 Commits

Author SHA1 Message Date
Vadim Godunko
5238335796 R117-025 Update copyright year in headers.
Change-Id: Id2d390da2faf2bc23a6abc32a909740a67bc10de
2018-01-17 19:49:29 +03:00
Vadim Godunko
37c8df0807 Q831-010 Remove ineffective use clauses.
Change-Id: I55f327171303977aa6d6208e8308b51a7eb38743
2017-09-06 18:15:02 +02:00
Emmanuel Briot
70e70fc34e Update copyright notices
Q102-020

Change-Id: I109a4f46a86edf29fbc097f739aa61ed95130ab2
2017-01-03 11:03:03 +01:00
Andry Ogorodnik
b3ffb73701 PA27-038 Step to remove common/src/generic_list
Change-Id: I4cf0b72d56375a73c1e74c1fd996221592760519
2016-12-01 16:50:10 +01:00
Andry Ogorodnik
f61a1bb5d1 PA27-038 First step to remove common/src/generic_list
Change-Id: Ia37bbbcbca024cf77762c078e89016a268e5ce95
2016-11-15 09:37:07 +01:00
Andry Ogorodnik
a6dbc5e8a7 PB02-019 (1/3) Correcting for Documentation_Dir attribute
Also obsolete attribute was removed from IDE package

Change-Id: I432e142960d5f2398db9e88e305473afebcaeea3
2016-11-11 17:48:01 +01:00
Anthony Leonardo Gracio
526a3e325d P727-037: Merge branch 'topic/search_ui'
Change-Id: Ic7437f98965e9718795b93b4f9fa3c1a48b94ee8
2016-10-21 17:01:23 +02:00
Anthony Leonardo Gracio
7b022d1c7f PA20-024: Standardize the use of '.' in visible documentation
Both Project Properties and Preferences documentation now end with
a '.'.

Suppress the use of 'Whether' in documentation.

Change-Id: I29613acd54c3ae1c2375829f69ce22a6920a024b
2016-10-20 16:37:50 +02:00
Anthony Leonardo Gracio
5c916dde7b P727-037: Add 'Expand/Fill' parameters to Dialog_Utils.Create_Child
Change-Id: I5c589ce02e5037984809dfb927484efc3119d085
2016-08-30 19:53:01 +02:00
Anthony Leonardo Gracio
9249fc13d4 Put 'Ada' before 'C & C++' in the Preferences dialog
P617-004

Change-Id: Id00867c9c93cf16d63425163385f67b9f49d7788
2016-06-17 10:31:25 +02:00
Maxim Reznik
7a9189797d Fix typo
Change-Id: I4fc9a03d35fcebc1d136bfcada86622d8005e223
2016-05-27 20:34:24 +02:00
Anthony Leonardo Gracio
a0c7d76692 Relooking of the Project Properties naming scheme pages
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
2016-05-24 23:39:49 +02:00
Anthony Leonardo Gracio
19233f6702 Add a runtime selector in the Project Properties
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
2016-05-20 09:42:45 +02:00
Anthony Leonardo Gracio
cfc395ba2a Preferences API improved (code + doc)
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
2016-01-26 18:35:57 +01:00
Emmanuel Briot
8f65df740c Remove 'Preferences dialog' documentation in Sphinx
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
2016-01-20 14:25:21 +01:00
Anthony Leonardo Gracio
5c8271913a "Editor/Ada" and "Editor/C & C++" pages reordered
OC21-021

These preferences pages have been reordered and
related preferences gathered in groups.

Change-Id: I9ae4c6baf1d5140389fe5578762048e2f37ed7c2
2016-01-12 19:38:12 +01:00
Emmanuel Briot
d38ec04cc0 Update copyright year
Change-Id: I27dc643fbd3773b3a73d0399d83edae0af633c2e
2016-01-04 10:49:40 +01:00
Nicolas Setton
8b424f39dd Fix spelling of "overridden"
Reported by Patrick Gautschi under O727-014.

Change-Id: I269bd8184aa36bac16faa4566c7ab9252d66130d
2015-07-28 13:13:06 -04:00
Emmanuel Briot
aa72569e20 Generate code to support the hooks system
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
2015-07-24 11:25:10 +02:00
Nicolas Setton
0400c91a18 Remove unused uses of GNATCOLL.VFS
Change-Id: Id858888d77eb2448418b02b1349aa687e63aeabc
2015-05-14 20:49:23 +02:00
Emmanuel Briot
13ab4050fa Project Properties dialog can now be displayed for uneditable projects
O130-023

Change-Id: I4485026c90a962a13b2af1a30627abb1610b789e
2015-02-04 19:43:02 +01:00
Raphael Amiard
232b9746e9 Merging branch 'topic/libclang_tasking'
Change-Id: Ie0ab98553ae2d9b14b38cd6fcf7c32b692fa5d88
2015-02-02 13:29:42 +01:00
Emmanuel Briot
be098d1c4a Reorganize the Project Properties dialog
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
2015-01-29 11:09:29 +01:00
Emmanuel Briot
fa7748c367 Update copyright notices to 2015
Change-Id: Ida4e6137317bd53ef0a556edffaafe4022c74e2a
2015-01-05 15:45:56 +01:00
Raphael Amiard
af57077669 libclang: Cosmetic and minor fixing phase
Adding comments everywhere, and wrapping every clang_* function into a
more idiomatic Ada name.

Change-Id: Ie03c906013e5331bcea2f9a108f9a6af16546f75
2014-12-10 15:30:47 +01:00