Commit Graph

22 Commits

Author SHA1 Message Date
Boulanger
ae6519663c Fix style issue introduced by eng/ide/gnatstudio!181
eng/ide/gnatstudio#52
2023-09-14 11:21:09 +02:00
David Hauzar
08925d5b65 Keep only the part of BT library actually used by GS.
In Inspector, BT library is used by BE.Backtraces.Xml_Files to write
XML files with backtraces and Inspector values. In GNAT Studio, BT
library is used to read XML files with Inspector values.

There was one copy of the library in Inspector's repo and one in GS
repo and these two copies were supposed to be manually synchronized.
However, since there is only a little intersection between the part
of the library used in Inspector and in GS, we decided to split the
library into two parts - Inspector part and GS part and to stop
synchronizing these systematically.

This commit puts comments to the parts of the splitted library that
still needs to synchronized, but it is very unlikely that these
will need to be modified. Here is the list of sources with some
intersection between Inspector and GS part:

bt.ads
- small part of the file containing the definition of source code
  position; very unlikely need to be synchronized
bt-xml.{abs, adb}
- definitions of names of XML entities and attributes + the function
  Xml_Vals_File_Name

Then, this commit makes the following changes:

* bt-xml-reader.{adb, ads} - keep only the part necessary for
  reading XML files with Inspector values
* bt.adb - remove - not used in GS
* bt.ads - keep only types representing source positions and values
  of value numbers
* bt-xml.{adb, ads} - keep only string constants for names of XML
  entities and attributes necessary to read XML files with Inspector
  values, keep the function Xml_Vals_File_Name
* message_kinds.{adb, ads} - remove - not used by GS
2023-09-13 13:51:33 +00:00
Anthony Leonardo Gracio
642a927502 Fix coding standard issues in CodePeer integration
Fixes eng/codepeer/codepeer#513
2023-04-20 09:17:54 +00:00
Anthony Leonardo Gracio
47dff4e878 Fix copyright year
Fixes eng/codepeer/codepeer#513
2023-04-20 09:14:06 +00:00
Daniel Mercier
c9fb637722 Update copy of bt/ from codepeer repository
Closes eng/codepeer/codepeer#513
2023-04-19 16:47:07 +00:00
Adrien Boulanger
4d9d58a0e1 W228-019: Remove redundant parentheses
Found by -gnatyz
2023-02-28 16:36:38 +01: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
b882d896da Fix dev builds
(no-tn-check)

Change-Id: I52c2bb2e0b9d474f2524b7ed5b2bee276399ea2d
2022-01-18 13:45:47 +00:00
Boris Yakobowski
0fd101ffb9 Upgrade files copied from CodePeer
No major impact. Probably only an improvement for the display of 64 bits
integer boundaries

no-tn-check

Change-Id: I27c95a367c2e5a73d91d72c8c5d543a2e7500a12
2022-01-17 18:24:54 +01: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
Boris Yakobowski
36b2bd1f26 T402-025 update GS following changes in CodePeer messages
Change-Id: Iec5694d452f848c0835d74f66ade9e907fb8835c
2020-04-06 10:47:14 +02:00
Adrien Boulanger
4f4904c818 Update Copyright 2019 => 2020.
(no-tn-check)

Change-Id: I7b854142151c6fc934c80c14dbe085e8bc7f6bb7
2020-01-07 10:45:26 +01:00
Anthony Leonardo Gracio
22cf269538 Update copyright year
(no-tn-check)

Change-Id: I27c5f49b41225d056dbc326411dd77b9516a766b
2019-01-03 16:37:00 +01:00
Arnaud Charlet
c33a9ba1d3 Resync with codepeer sources. no-tn-check
Change-Id: Ia879d60150c8e3aedc400aea49f8a428496b4583
2018-12-10 12:10:55 +01:00
Arnaud Charlet
8bf158a25e Resync with codepeer sources. no-tn-check
Change-Id: Icbe4a6a36bef884feb47df609eaecaa27b5bc477
2018-12-10 11:24:25 +01:00
Arnaud Charlet
3e751202d4 RB30-025 Rewrite fuzzy match on variable values (sync with codepeer src)
(Get_Variable_Vn_Value): Change spec and simplify algorithm.
Also move this function to the body.

The code is now much simpler and is actually working as expected.

Change-Id: Idbdd6bcc1fd55a57e5d4e715611ed2d494f18e5a
2018-12-01 11:37:37 +01:00
Arnaud Charlet
412984d584 RB30-025 Merge with codepeer version: fix handling of tooltips
(Get_Srcpos_Vn_Values): Fix logic.

Previous code would never trigger the fuzzy matching ("closest match")
since we were comparing source locations strictly, including the column.

Change-Id: I0d1044c311d4ee1c0af4b5885f54e262ed85a0ce
2018-11-30 20:43:23 +01:00
Arnaud Charlet
81f93b6dc9 RB30-025 Resync with CodePeer sources
Preparatory work before actually fixing this ticket.

Change-Id: Idf2e047a1ab930db0b53e87c53990b2d9b024a07
2018-11-30 17:20:03 +01:00
Vadim Godunko
4a5d52d1e0 R209-076 Move CodePeer's "bt" files into separate directory.
Change-Id: Id839b7f992931a58ab4226451a4f3917ffaf7dab
2018-05-24 22:19:28 +02:00