32 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
Anthony Leonardo Gracio
48e3fde298 Memory Usage View improvements
* Add special handling for unknown sizes, to avoid possible overflows
when converting to C types.

* Fetch any available memory usage data when opening the view, to refresh
it on opening if a map file is already present

* Display properly exceptions that occur when parsing map files, making sure
they appear in the Messages view when running the testsuite.

* Add another automatic test.

For eng/ide/gnatstudio#402
2024-10-29 15:02:27 +00:00
Anthony Leonardo Gracio
7d2dad559e W307-033: Use Float type in Memory Usage View module
This allows to store bigger values for memory regions/sections
lengths.
2023-04-05 09:43:05 +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
066dee6749 V330-030: Handle unknown memory regions
Linker map files may not list 'real' memory regions is some cases.
Handle them as unknown but keep the Memory Usage view usable to
display memory sections.

Add an automatic test.

Change-Id: Ibb6844f93c22e0bf1905a62c7d0091d0f0d778ea
2022-03-31 17:26:19 +02: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
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
Anthony Leonardo Gracio
6540612f8e T213-015: Fetch memory usage info on project changes
This will allow to display memory usage information if a linker map
file is already present when loading the project.

An autmatic test has been added. 

Change-Id: I680fae459b4dfaa70ac08fddd56e4e8ecac0f773
2020-02-13 19:16:21 +01: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
Nicolas Setton
d39a93eff9 S904-002 replace GPS by GNAT Studio in file headers
Change-Id: Icee628af75e0f1bd471a627c987b8024d999eb4b
2019-09-09 12:39:04 +02:00
Maxim Reznik
fdd922b00c S612-030 Take into account --harness_dir option of gnattest
to be able to open harness project when the option is specified
in command line or BuildTarget dialog.

To do this add command line as argument of compilation_finished
hook. Provide convertion routines to/from Python for Arg_List.

Change-Id: Iaf2d7753d6a0f4ca5fe9ae51804598c01c7d185b
Depends-On: I239319ff69ec4364544179bd84d9964ef2b4d655
2019-07-15 14:19:19 +02:00
Vadim Godunko
9d1f63ad68 S603-050 Remove use of anonymous access types.
Change-Id: Ic3105e02a35a2ae0c5ee13328cdcfff5a104a170
2019-06-07 18:22:36 +02:00
Anthony Leonardo Gracio
c8ea4fd726 Avoid exception when memory_usage plugin disabled
(no-tn-check) 

Change-Id: I53b6b2b9788ca009de09e8fe3baff6fa9ff771dc
2019-05-27 14:28:47 +02:00
Vadim Godunko
4516139bd9 S211-047 Remove use of local objects of anonymous access types.
Change-Id: If9bf9953aabf65465c8b78f356037ea3f5e73abb
2019-02-18 19:05:14 +03:00
Anthony Leonardo Gracio
22cf269538 Update copyright year
(no-tn-check)

Change-Id: I27c5f49b41225d056dbc326411dd77b9516a766b
2019-01-03 16:37:00 +01:00
Vadim Godunko
d0c16462bd R815-016 Fix memory leak.
Change-Id: If4003ce3b5e60170348ab87e37c8ae48baea0bd8
2018-08-21 12:40:27 +02:00
Anthony Leonardo Gracio
6d5c1c8f29 R104-012: Raise the Memory_Usage_View only when necessary
We now raise and focus the Memory_Usage_View only when it's not visible
yet or if a memory overflow occured. We only highlight it otherwise.


Change-Id: I3b77c42a5ea31db0b9e43bebddfc9bc43590a538
2018-03-29 18:54:25 +02:00
Andry Ogorodnik
67c0fbb995 R220-024 The Log view.
The filter panel has been moved into separate package in order to have
an ability to reuse it everywhere, for example in dialogs.

Change-Id: I92acfb90387a7b745a0b8a515ea141066099d517
2018-03-15 19:10:26 +01:00
Andry Ogorodnik
e09a6c2e21 R126-010 Properties/Traces has been added
Change-Id: Ief2494f6e619d6466e6050d928f328fd192bd134
2018-02-14 11:26:14 +01:00
Vadim Godunko
5238335796 R117-025 Update copyright year in headers.
Change-Id: Id2d390da2faf2bc23a6abc32a909740a67bc10de
2018-01-17 19:49:29 +03:00
Anthony Leonardo Gracio
9547ae2f64 Q921-026: Fix minor display bug in Memory Usage View
Change-Id: Ib4f3a838513f2c6738a052ef4bd9f6b00a0e9536
2017-09-22 09:47:22 +02:00
Vadim Godunko
37c8df0807 Q831-010 Remove ineffective use clauses.
Change-Id: I55f327171303977aa6d6208e8308b51a7eb38743
2017-09-06 18:15:02 +02:00
Anthony Leonardo Gracio
fa960c0f5d Q410-029: Allow creation of filtered and sortable tree views
The Gtkada.Tree_View package has been improved in order to support
tree views that are both filtered and sortable.

Change-Id: I3da57556cc674835d3247b9fda85b21c4a5fd2fb
2017-04-13 07:40:01 +02:00