37 Commits

Author SHA1 Message Date
Vadim Godunko
92ad15b8b1 Remove Project Properties from GNAT Studio
This is needed in order to prepare the transition to GPR2.

Project edition should be done by editing the .gpr files now, with
the help of the Ada Language Server.

Documentation and comments have been updated accordingly and tests
checking the Project Properties GUI have been removed.

For eng/ide/gnatstudio#569
2025-10-23 10:17:57 +00:00
Nicolas Setton
5d7b01c27b V909-014 Convert the GNAT Studio manuals to the RTD theme
This affects the User's Guide and the Tutorial.

Change-Id: I63f2dbdcc08a772327f84a3d8c74dd3836425399
2022-09-13 09:39:38 +00:00
Andry Ogorodnik
35e9dea0e8 SA28-043 Documentation update
Description for the registers view has been added. 

Change-Id: I46487514a1848662b712e2dbcbf449b0ca5f0c50
2019-12-03 16:50:35 +02:00
Anthony Leonardo Gracio
fcd685616a S909-017: Update doc screenshots for GNAT Studio
Adn removes/adapt some parts that were out-of-date.

Change-Id: Ia788b71878924ea578d48437624a2b91ace80701
2019-09-16 16:52:02 +02:00
Adrien Boulanger
b0cd2f9a38 S910-005: Rename gps into gnatstudio in the documentation
Change-Id: Ie0c113907b044055764b471efd852891bb97f5be
2019-09-12 17:40:05 +02:00
Anthony Leonardo Gracio
b571ffe879 S904-003: Rename .gps directory and keys6.xml file
And add a mechanism to copy the old .gps directory to .gnatstudio
the first time. Rename keys6.xml to keys.xml when importing the old
.gpr directory.

Change-Id: I1e1ea2c123ae772a547561737e2309d4c081f239
2019-09-11 18:41:03 +02:00
Adrien Boulanger
c88704511d S425-025: Fix empty section in the generated documentation
We were having missing dependencies in conf.py
Also fix the invalid links, formatting warnings and errors.

Change-Id: I2df95e28d5e5766ca928f49b00e34a30de4ecd30
2019-05-14 14:24:26 +02:00
Anthony Leonardo Gracio
2d9b17777a R312-009: Remove doc for Debugger Data view
This view does no longer exist.

Change-Id: If0eadc6a300edd1d3ebb747a27fc59dbbf5208ab
2018-03-13 14:34:01 +01:00
Vasiliy Fofanov
3745e4f1c6 Fix typos throughout. Q707-032
Change-Id: I05faf7b0491b890478176d694fcb18c61595b17f
2017-07-08 15:46:09 +02:00
Nicolas Setton
823334a4ab Generate the menus automatically
To ease doc maintenance burden, move the doc for menus to a
separate chapter, and generate the contents automatically from the
documentation of all actions associated with menus.

For Q523-038

Change-Id: I5be8871304058d648dc0a68a70c770292b74a52f
2017-05-29 11:25:23 +02:00
Anthony Leonardo Gracio
e3d938c524 Q404-008: Create a toolbar button for Debug/Initialize
A new button has been added to the main toolbar for 'Debug/Initialize'
action. This button is a longpress button, allowing the user to select
which main he wants to debug (same as for 'Build Main').

Documentation has been updated accordingly.

Change-Id: I6018d84abf8170ba3ed555ac53d9de9ef89f5e52
2017-04-04 17:44:46 +02:00
Emmanuel Briot
e8b64b9a26 Add doc on how to use .gdbinit with GPS
Q125-037

Change-Id: I708b951241bfab66af6eab593afd2aeb8f725490
2017-01-26 11:32:48 +01:00
Emmanuel Briot
87fb7aad70 Double-click on breakpoint to jump to editor
Long click to edit the details

P706-011

Change-Id: Ia1149017aead2d7c7b4da61b0f40db958821ebaa
2016-07-06 15:06:21 +02:00
Vadim Godunko
740a7bf905 Fix of documentation.
Change-Id: Id76e77404c3991cad9dbbb28674b942602caa967
2016-07-05 10:16:04 +03:00
Emmanuel Briot
1ea6888421 Display breakpoints on top of the line numbers in editors
Remove the breakpoints column, since we now highlight the line number
 to indicate where breakpoints are set. Clicking on the line number
 will set/unset breakpoints.
The color of the highlighting is configurable via three new preferences,
 that replace the icons we used to have.
We use the Messages API to add information to the editors, and not
 directly the editor's line_information API. Added a new flag to
 indicate which messages should be displayed on top of the line
 numbers.
Current debugger line is now also highlighted via a Message, which
 simplifies the code, takes less horizontal space (we could remove
 the extra column on the side of editors), can be displayed in the
 speedbar, and have a tooltip to explain its meaning

part of P527-030

Change-Id: I09c43824e4b7ddff2c0c6262539868d171b4c321
2016-06-28 10:56:04 +02:00
Emmanuel Briot
44b7a3ae99 Allow setting breakpoints before the debugger is even started
All the code related to breakpoints was moved to a new package
 gvd-breakpoints_list. This package maintains a global list of
 persistent breakpoints, which can be modified even when no debugger
 is running, and will be synchronized with them when they start.
Each debugger then gets its own list of breakpoints, as we were
 already doing, and the last debugger that terminates overrides the
 global persistent list.
Persistent breakpoints are now associated with the root project, not
 with the executable we debug, since we don't know which it will be
 until a debugger is actually started.
Various cleanup of code and remove duplication, while isolating the
 breakpoint-related code better (via hooks most notably).
The contextual menu Debug/Set Breakpoint At Line is now always
 enabled, even when no debugger is running. Setting a breakpoint
 will in fact set it in all running debugger, to keep them
 synchronized as much as possible (so that breakpoints displayed on
 the side of editors do not change when the current debugger changes).

For now, the column with gray dots is systematically created in editors,
with a dot on every line.

P527-030

Change-Id: Ia38a095d22ef534467ef0689359c0f3d7cba3104
2016-06-28 10:55:29 +02:00
Emmanuel Briot
add36d3d63 New view: debugger variables
This shows the same information as the data window, but in a tree,
which a lot of users find more convenient

Improve display of <repeat> types, so that there are 2 less nodes
to expand to see the actual values.

Add support for splitting the debugger output (`cmd`) into several
components, rather than consider it as a single block of text.

Gtkada.Tree_View: add support for writing simple filters and showing
parents when children should be visible.

Local configuration: whether to show types or not.

Display in red modified values between two debugger actions.
Preserve expansion of nodes between refresh of the tree. This is done
 in Gtkada.Tree_View in a generic manner, and can be reused for other
 views.

Add support for editing values of variables from the Variables view.
 This required making the gdb "set variable" command run the hooks so
 that the view is properly refreshed.

Change default debug perpsective, to replace the Data window with the
 Variables view. It is now at the bottom, rather than take valuable
 space at the top.

Access types can be expanded in place to see the referenced value. This
 is done by new general support in Gtkada.Tree_View for lazy nodes,
 which can be used in other contexts.

Remove contextual menu Debug/Print A, which only emits a "print ..."
 in the console and is therefore not very useful. Rename
 /Debug/Display A to /Debug/Graph Display A, since we now also have
 /Debug/Tree Display A. Move the graph commands to gvd-canvas.adb for
 better separation of modules.

OC30-003 (1/2)

Change-Id: I567f0b23573cccef53f15e8db0c0b803e21235d2
2016-05-09 11:39:59 +02:00
Emmanuel Briot
e9967835c6 Revamp the breakpoints view
Use a local toolbar for Remove/View/Advanced, instead of adding large
buttons at the bottom of the view. For the toolbar, new GPS actions
were defined, so key bindings can be associated to them.

The view now only contains the list of breakpoints. Toolbar buttons open
a dialog that shows all properties of the breakpoint (basic properties
like file, line, exception,... as well as advanced properties like
conditions and commands).
The previous workflow of showing the properties of the selected breakpoint
and letting users edit them to create new breakpoints could be misleading
(for instance, selecting a breakpoint, then changing the line number would
create a new breakpoint, and not edit the selected one).

The view is thus smaller now and easier to keep permanently in the desktop.

P315-043 (1/2)

Change-Id: Ie478f915c7f3eb0cb2a7a6beb4805d88c4fcb0ef
2016-03-30 15:43:34 +02:00
Maxim Reznik
b7e8a89d36 Remove incorrect escaping of backslashes
and let the user do the quoting himself if he has special characters.
For P108-044

Change-Id: I3a5fba70ff8308554f12542bbd59e3695282dce8
2016-01-20 16:31:01 +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
Raphael Amiard
219bf339e9 Rework documentation about gps shell
O807-008

Change-Id: I2753be09fb245e715b37cc576680c0d22287f7dc
2015-08-12 10:31:43 +02:00
Emmanuel Briot
c3fb2915aa Update documentation and screenshots for browsers
N513-005

Change-Id: I70ac521bc8d8eacdbd98545dd8aec571285e1b63
2014-09-15 17:23:48 +02:00
Richard Kenner
d9e8055bd3 MB29-005: add Oxford commas and other minor changes
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@225929 936e1b1b-40f2-da11-902a-00137254ae57
2014-04-09 23:11:19 +00:00
Richard Kenner
234015e4ff MB29-005: make changes found by Karisa
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@225927 936e1b1b-40f2-da11-902a-00137254ae57
2014-04-09 22:20:03 +00:00
Richard Kenner
8cb8485ae2 MB29-005: remove contractions and other minor fixes
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@223828 936e1b1b-40f2-da11-902a-00137254ae57
2014-02-26 16:28:49 +00:00