385 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
717207e9cc Replace String by Virtual_String 2025-04-25 13:53:38 +00:00
Vadim Godunko
7b0b9917b7 Replace String by Virtual_String 2025-04-25 13:53:38 +00:00
Vadim Godunko
5408d1e122 Rename Get_Attribute function. 2024-11-13 12:59:34 +00:00
Vadim Godunko
7ab8c1791a Rename subprogram to avoid overloading collision. 2024-11-13 12:59:34 +00:00
Anthony Leonardo Gracio
1b5338b319 Replace usage of deprecated Gtk.Stock package
For eng/ide/gnatstudio#330
2024-06-26 09:52:31 +00:00
Boulanger
6cf2b17e3f Handle Focus_Change in the keymanager
With Wayland when doing "CTRL+F" to open the search view the focus
is transfered to the Search dialog and CTRL release event is never
recieved by the main window locking it in hypermode

close eng/ide/gnatstudio#36
2023-05-15 09:51:08 +00:00
Anthony Leonardo Gracio
41c30ab309 Update copyright year (no-tn-check)
Change-Id: Ie2cf22f9729f30d2228572a7296c23889be4c563
2023-01-03 11:39:28 +01:00
Anthony Leonardo Gracio
d96a1e3fb5 V712-048: Always use 'default' key theme by default
Change-Id: I22461f3a9847314534affa511500d140da32e287
2022-07-18 10:00:40 +00:00
Adrien Boulanger
177931ba16 V413-013: Event handling issue for floating toplevel
Don't use Gtk.Main.Grab_Get_Current in Keymanager, in
case of a modal dialog it will still return a widget
from the Main_Window which is in the wrong toplevel.

Modify Get_Current_Focus_Widget to first check if a
toplevel is active before relying on Grab_Get_Current.

Add a test.

Change-Id: I494ce5a59d710f5043a669c425fb958141a421e3
2022-05-04 15:43:27 +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
Adrien Boulanger
fe56874f7f V323-011: Allow Button_X event in the keymanager
Key = 0 and Button = 9 for button_9, the filtering was too
restrictive.

Add a test.

Change-Id: I129a040c86d810073778ca784062efc5a1e49475
2022-03-30 16:00:33 +00:00
Anthony Leonardo Gracio
af4c8f2d41 Update copyright year
(no-tn-check)
(no-precommit-check)

Change-Id: Id71d3f84cd6ab219a37821da1460038f4eea525c
2022-01-03 15:09:31 +01:00
Anthony Leonardo Gracio
63c2e9d9c9 Update copyright year
(no-tn-check)
(no-precommit-check)

Change-Id: I50abdaba131d76d914f1df9a53f013ec8f48ca68
2021-01-11 17:22:37 +01:00
Andry Ogorodnik
d9993c6c21 S903-025 Rename GPS to GNAT Studio in comments, strings
Depends-On: If8db363de9c59b395772b715a838e3a785b568d7
Change-Id: I509eebd12037a49e0ff751220c7f6911b7480694
2020-10-28 12:03:44 +01:00
Anthony Leonardo Gracio
ae4f64a7a7 T909-006: Fix warnings with current GNAT
Change-Id: If0e02b998b8327777d8cac2a7b2436a9eed141cc
2020-09-09 18:05:05 +02:00
Adrien Boulanger
4f4904c818 Update Copyright 2019 => 2020.
(no-tn-check)

Change-Id: I7b854142151c6fc934c80c14dbe085e8bc7f6bb7
2020-01-07 10:45:26 +01:00
Vadim Godunko
128ee1342b SB19-009 Use explicit type conversion of anonymous access parameters.
Change-Id: I59f68bd6972d89d2a5d3e10be8f1e1b3e4a4a635
2019-11-19 20:33:59 +03: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
Nicolas Setton
d39a93eff9 S904-002 replace GPS by GNAT Studio in file headers
Change-Id: Icee628af75e0f1bd471a627c987b8024d999eb4b
2019-09-09 12:39:04 +02:00
Nicolas Setton
c8ccbaf87d S530-024 disable automatic completion when playing macros
The completion window could be triggered during the playback
of macros and interfere with them.


Change-Id: I34858e55632d37d1e3dc4f1f63ebcb394d30229f
2019-08-12 14:29:13 +02:00
Anthony Leonardo Gracio
7da842e4b2 S221-034: New icons for GPS message dialogs
The Gtkada.Dialogs.Message_Dialog function uses old XPM icons which
are quite ugly: instead, we now use the GPS_Message_Dialog funtion that
uses new modern icons for confirmation/information/warning/error dialogs.

Change-Id: Ib88758c05fbc00760e524e54fd7f15fe2a2eaaf3
Depends-On: Id5f97957e2615a00bf5646e2f3479601a3bb5998
2019-03-06 10:43:58 +01:00
Vadim Godunko
2eb601a320 S211-047 Rename Action_Record_Access to Action_Access.
No functional changes.

Change-Id: I371f98c67fa50c77ea867184bcb7d8732a055277
2019-02-19 22:31:19 +03:00
Vadim Godunko
fcdc828109 S211-047 Remove use of local objects of anonymous access types.
Change-Id: Ic4e7b3093c207fda6d51053eb8a08695ce950a4b
2019-02-19 22:16:58 +03:00
Adrien Boulanger
fdd487dd29 QA23-009: Move to gui_utils the function to free a list of paths
We were forgetting in some part of the code to free the paths
before freeing the list.
Move a function to do it from gps-locations-view to gui_utils.

Change-Id: Ia27017798eb5878f3e24514f5d31399ed5103272
2019-02-01 17:17:01 +01:00