2886 Commits

Author SHA1 Message Date
Jerome Lambourg
08413b3c5f Merge branch 'mr/lambourg/gnatcoll-split' into 'master'
Split gnatcoll into gnatcoll_core and gnatcoll_projects

See merge request eng/toolchain/gnatcoll-db!6
v26.0.0
2025-09-08 12:21:09 +02:00
Jerome Lambourg
c0760f5472 Split gnatcoll into gnatcoll_core and gnatcoll_projects
The GPR project files should not reference gnatcoll.gpr anymore.

For eng/toolchain/gnatcoll-core#133
2025-09-08 09:31:01 +00:00
Joel Brobecker
60ec88b3b8 Merge branch 'mr/update-support-email-address' into 'master'
Replace references to report@adacore.com with support@adacore.com

See merge request eng/toolchain/gnatcoll-db!5
2025-02-19 06:19:58 +00:00
Joel Brobecker
38a8e1e337 Replace references to report@adacore.com with support@adacore.com
The latter is now our official email address for support services,
so update our README files accordingly.
2025-02-18 14:44:33 +04:00
Vadim Godunko
8fe204022b Merge branch 'mr/python-pre-commit-checkers-4' into 'master'
add pre-commit checks for python files

Closes #4

See merge request eng/toolchain/gnatcoll-db!2
2025-01-20 12:16:31 +00:00
Vadim Godunko
e8c4c71f58 Fix flake8 warnings. 2025-01-20 11:51:53 +00:00
Joel Brobecker
af28fe615c Add flake8 and black pre-commit checks, and reformat python files
This commit introduces a pre-commit config, which checks all
Python files via black (a code foramtter) and flake8 (a style
checker).

This commit also updates all python files after reformatting
by black (obtained by running "pre-commit run --all").

One thing this commit does not do, however, is make any manual
change. In particular, this commit does not address the errors
reported by flake8.
2025-01-20 11:51:53 +00:00
Joel Brobecker
15bb508151 testsuite/run-tests: fix Python 2 syntax in call to print
This commit removes an instance of the "print" keyword
being used, which was Python 2 syntax, no longer allowed
with Python 3.
2025-01-20 11:51:53 +00:00
Boris Yakobowski
20cbf24307 Merge branch 'mr/boris/gnatcoll_core' into 'master'
Refine dependencies to gnatcoll

See merge request eng/toolchain/gnatcoll-db!3
2024-10-04 14:12:24 +00:00
Boris Yakobowski
be1a7c6281 Refine dependencies to gnatcoll
Some of the bindings only require gnatcoll_core.
(However, xref and gnatinspect require GNATColl.Projects.)

For eng/toolchain/gnatcoll-db#5
2024-09-18 18:40:45 +02:00
Julien Bortolussi
5730f5fc5a Merge branch 'mr/bortolussi/add_logo_in_doc' into 'master'
Add AdaCore logo in the docs

See merge request eng/toolchain/gnatcoll-db!1
v25.0.0
2023-11-06 10:21:17 +00:00
bortolussi
d3aec81e95 Add AdaCore logo in the docs
Add the AdaCore logo in the table of content of the html docs, update
the background color and add and icon.

eng/toolchain/gnatcoll-db#1
2023-11-02 16:15:29 +01:00
Fedor Rybin
68c48d5c78 Use RTD theme, fix typo
TN: V809-018
Change-Id: I1d5f052eb1cb8c9b06f2c4b60a7879aff195d5f1
v24.0.0
2022-09-02 15:43:38 +03:00
Fabien Chouteau
6308e597eb Avoid shared gpr files
In the Alire index we have one crate for each of the GNATColl DB
libraries (xref, sql, sqlite, postgres). They all come from the same
repository but use different checkouts. The result is that the
"gnatcoll_db_shared.gpr" is found multiple times in the closure of a
project, e.g. for gnatcoll_xref that depends on gnatcoll_sqlite and
gnatcoll_sql. This result in an error from gprbuild.

To circumvent the issue, this patch duplicates gnatcoll_db_shared.gpr in
each of the sql, sqlite, xref and postgres folders with a different name
for each.

Part of V826-023.

Change-Id: I9058e5f88fa307806c483c02d3c0de7298018821
2022-08-26 15:41:02 +02:00
Vasiliy Fofanov
4a50dcf316 sphinx: remove unused extensions
This comes from the GitHub pull request #18
no-tn-check

Change-Id: Ie5f45d675668ef980a9e1b62567d2c8272c65984
2022-08-14 12:56:11 +02:00
Vasiliy Fofanov
a1581f4e79 docs/conf.py: close the version information file
This comes from the GitHub pull request #19
no-tn-check

Change-Id: Ifad27bf77c0e1c1aa3ce92d1857ac65e858ee63d
2022-08-14 12:34:00 +02:00
Vasiliy Fofanov
9d07cfaf12 Use ADAFLAGS CFLAGS CPPFLAGS LDFLAGS when available
This comes from the GitHub pull request #13
no-tn-check

Change-Id: If1478bbba283f72356c96993e9d6115a9adef71e
2022-08-13 19:19:46 +02:00
Nicolas Boulenguez
031bdcc731 projects: style improvements
Remove the Name variable, which duplicates an attribute.

Replace hardcoded Mains with Name.

Remove transitional Library_Type variable from library projects.

Make explicit that Library_Version is only useful during relocatable
builds.

Compute Library_Version from Library_Name, in case it ever differs
from Name.

Make the list of possible Library_Type values explicit (the
documentation mentions "dynamic").
2022-08-09 12:44:51 +02:00
Nicolas Boulenguez
040e1cc35e projects: explictly qualify as standard or library 2022-08-09 12:44:51 +02:00
Nicolas Boulenguez
d6ac7df083 sqlite: only add C language when sqlite is embedded
The warning about unused language becomes an error when the GPR
library is used directly without gprbuild.
2022-08-09 12:44:11 +02:00
Nicolas Boulenguez
6e04e68d2f sqlite: fix selection of -pthread and/or -sqlite3
Reorder case statements in order to use Sqlite_Lib in a way similar to
the existing Thread_Lib.

When OS /= Windows_NT, GNATCOLL_SQLITE = embedded, LIBRARY_TYPE = relocatable,
Library_Options is now ("-pthread") instead of (),
consistently with Linker'Linker_Options.

When GNATCOLL_SQLITE = external, LIBRARY_TYPE = static,
Library_Options is now () instead of ("-lsqlite3") & Thread_Lib.
These options are intended for the dynamic loader, not the static
archiver (see https://github.com/AdaCore/gnatcoll-db/pull/17).
2022-08-09 12:35:17 +02:00
Nicolas Boulenguez
6c87fb7476 library projects: independent selection of each shared object version 2022-08-09 12:35:10 +02:00
Nicolas Boulenguez
f96aad04cd projects: share settings, inherit build flags, drop unused variables 2022-08-09 12:34:55 +02:00
anisimko
f4a4c46fbb Fix From/Toentity casing issue
no-tn-check

Change-Id: I081a5df36967200f2c258fdd80191cbf59a1667e
2022-05-27 22:12:08 +06:00
anisimko
acc686a58b Remove wrong Unreferenced pragma
New GNAT detect it.

TN: U122-031
Change-Id: I994d98ab9ace012c64d4409c9fb1f8579db3dcd5
2022-01-17 14:31:55 +00:00