646 Commits

Author SHA1 Message Date
Anthony Leonardo Gracio
11672bc929 Update copyright year for GS sources
(no-issue-check)
2026-01-05 12:41:13 +00:00
Vadim Godunko
a22776ea98 Fix build after bump. 2025-12-22 18:39:46 +04:00
Anthony Leonardo Gracio
365801b711 Use GPR language server for 'new ada main unit'
To avoid using the GPS.Project API to edit projects.

Enhance the UX, by opening the GPR file being modified
in split mode, selecting the newly added main unit.

For eng/ide/gnatstudio#606
2025-12-17 17:14:21 +00:00
Anthony Leonardo Gracio
8413306af2 Remove unused code after Project Properties removal
For eng/ide/gnatstudio#569
2025-11-17 10:54:10 +00:00
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
Boulanger
4fcbfed0f9 Ignore new GNAT warning
Closes eng/ide/gnatstudio#572
2025-09-17 09:41:42 +00:00
Boulanger
de01bd361a Protect interpolation character from autocasing
For Casing On_The_Fly and End_Of_Word Change "Word_Added"
to check the newly added character after the word.
It handles adding a '"' after 'f'.

For Casing End_Of_Line, change the Ada language to protect 'f"'.

Add a test.

Closes eng/ide/gnatstudio#496
2025-02-24 15:47:38 +00:00
Anthony Leonardo Gracio
084d95d137 Revert "Protect interpolation character from autocasing"
This reverts commit 3e04037912.
2025-02-21 13:25:32 +00:00
Boulanger
3e04037912 Protect interpolation character from autocasing
For Casing On_The_Fly and End_Of_Word Change "Word_Added"
to check the newly added character after the word.
It handles adding a '"' after 'f'.

For Casing End_Of_Line, change the Ada language to protect 'f"'.

Add a test.

Closes eng/ide/gnatstudio#496
2025-02-18 13:51:24 +00:00
Vadim Godunko
dd02b1c870 Function to create GValue from Virtual_String. 2024-11-13 12:59:34 +00:00
Vadim Godunko
5408d1e122 Rename Get_Attribute function. 2024-11-13 12:59:34 +00:00
Vadim Godunko
cce69b3b56 Remove duplicate dependency from gtkada. 2024-07-16 06:04:02 +00:00
Anthony Leonardo Gracio
dc027b7a2e Forbid blankspaces in 'New package...' dialogs
Adapt existing test to cover that case.

For eng/ide/gnatstudio#228
2024-01-29 09:38:27 +00:00
Boulanger
653833818d Fix exectuble stack in Interactive.Consoles
eng/ide/gnatstudio#234
2024-01-23 13:15:10 +00:00
Anthony Leonardo Gracio
5935497a61 Add a new GPS.Process.get_pid function
For eng/ide/gnatstudio#237
2024-01-10 11:46:20 +00:00
Nicolas Setton
cfe52f1fab UTF-8 validate strings coming from spawned processes
... before creating Python string objects representing them.

This defense protects against storage_errors occuring in Python
frames as the binding attempts to create non-valid objects.

Fixes #93.
2023-10-30 15:09:38 +00:00
Anthony Leonardo Gracio
7c1ba23818 Revert "Merge branch 'topic/gs_56_bookmark_leaking_buffer' into 'master'"
This reverts merge request !195
2023-09-08 10:59:06 +00:00
Boulanger
64ac98f85a Remove Open_Buffer from Editor_Buffer_Factory
Opening a buffer without a view leaves the responsibility to the
caller to close the buffer manually.
=> this is unsafe: either we are closing a buffer shared
somewhere else or forgetting to close it (= leaking it)

The solution is to always use Buffer_Holder.
2023-09-07 11:37:05 +02:00
Vadim Godunko
ff24dd8bea W117-008 Pass Process object in the first parameter...
... to follow description of the function.

Change-Id: I48253e00192bc235b161b7b9fa5db5007e86fbb9
2023-03-22 13:49:42 +00:00
Andry Ogorodnik
1d2c3d93ab W103-013 Fixing regressions.
Execute custom commands in active mode by default.

`active-execution` parameter can be used for controlling
 Active/Passive mode when defining actions.

Change-Id: Ia3c14a261e20b62a348b36d3e2cf4f4d43db1eb9
2023-01-04 14:03:32 +00:00
Anthony Leonardo Gracio
41c30ab309 Update copyright year (no-tn-check)
Change-Id: Ie2cf22f9729f30d2228572a7296c23889be4c563
2023-01-03 11:39:28 +01:00
Andry Ogorodnik
5459e95ad1 VB29-019 Execute external command in passive mode
To not consume 100% CPU when the command is treated as active and
 is polled consistently.

Change-Id: I950d7742899f33881dca8c98bf2e999df96ee8c1
2023-01-02 14:08:08 +00:00
Andry Ogorodnik
44faa97f3b VA07-041 Correct default directory of templates
Change-Id: I7de43f48da1467b6a0485adccdc83817d5b5f569
2022-12-27 09:52:25 +00:00
Anthony Leonardo Gracio
a952b9e95f V415-030: Ignore casing when checking illegal package names
Change-Id: I3c7014b50630039a7a2ea7ab783b2d2676396ae0
2022-06-27 12:50:21 +00:00
Adrien Boulanger
1804f192f3 S712-022: Fix over-referenced Python object by Ada
Add free for Callback_Data/Subprogram_Type/List_Instances
Fix ownership transfer issue for Monitored_Command.
Fix over-referenced on widget by python (Editor_Overlay)

Add a test.

Change-Id: I5f6447e37928535f2b7085bcd1b102ee28e31c33
2022-03-31 12:34:25 +00:00