29 Commits

Author SHA1 Message Date
Vadim Godunko
53bd2349f9 Disable RPATH generation for libraries 2026-01-26 15:15:10 +04:00
Rowan Walshe
91387d887b Wrap external parameter OS with SPAWN_OS, as OS can clash with other projects 2023-08-04 14:29:11 +01:00
Maxim Reznik
eda1b9d167 Enable use of Ada 2022 by Alire. 2023-05-12 18:18:31 +03:00
Maxim Reznik
40d94c4042 Fix compilation on Mac OS X. 2023-04-28 19:10:43 +03:00
Vadim Godunko
0e4d3960a8 Exclude Windows specific file on POSIX platforms. 2023-04-04 11:38:07 +04:00
Vadim Godunko
20ef5250b9 Support setting of Spawn specific library type. 2023-04-04 08:32:07 +03:00
Maxim Reznik
38891f5777 W102-006 Exclude POSIX Poll from Windows project files.
Copy Close_IO flag to spawn-internal__glib_windows.ads.
2023-01-02 16:19:41 +02:00
Maxim Reznik
fc7b2215c6 Create POSIX version of Spawn.Channels
to have similar package structure on POSIX and POSIX+Glib platforms.
2022-12-22 12:21:24 +02:00
Maxim Reznik
30c4c83668 Restructure implementation types/packages hierarchy
* Move `Process_Listener` to a dedicated package.

* Make `Spawn.Processes.Process` as a wrapper for
  `Spawn.Internal.Process` to hide internal details from a user.

* Make `Spawn.Internal.Process` API compatible/equal to
  `Spawn.Processes.Process`. Inherit all implementation from
  `Spawn.Common.Process` and move common trivial functionality
  there.

* Move other logic from Process.Platform packages to corresponding
  `Spawn.Internal` package.

* Move `Spawn.Process.Monitor` to `Spawn.Internal.Monitor`.
2022-12-16 17:36:28 +02:00
Vadim Godunko
af9e8a7f25 V513-017 Initial support for PTY on POSIX systems/Glib. 2022-09-26 16:44:48 +03:00
Vadim Godunko
2aefd03f0b V513-017 Code refactoring to remove duplicated code. 2022-09-26 16:44:48 +03:00
Maxim Reznik
0304ef5347 Change license headers to Apache 2.0 2022-06-22 11:04:15 +03:00
Nicolas Setton
9c3efec880 Add a build mode for AddressSanitizer 2021-08-26 06:51:30 +00:00
Vadim Godunko
6e60f0dde8 U318-015 Add "superproject" support. 2021-04-08 15:29:53 +03:00
Maxim Reznik
e57c59da4e Replace Build_Kind with Spawn_Build_Kind
to avoid name clash with gprinstall generated code.
2021-03-08 15:44:13 +02:00
Maxim Reznik
a2354d1700 Change default BUILD_MODE to prod for the Spawn
This is more appropriate mode for an `alire` user.
2021-02-24 13:13:03 +02:00
Maxim Reznik
12b041f66f Add LIBRARY_TYPE and BUILD_MODE to project files. 2020-12-24 22:12:56 +02:00
Maxim Reznik
56f6791d0f Update README.md. Add Makefile.
Update copyright headers.
2020-11-20 12:18:57 +02:00
Maxim Reznik
ea0f133e8f T318-072 Port Spawn Process API to Darwin/Mac OS X 2020-11-20 11:25:36 +02:00
Pierre-Marie de Rodat
5d6d050e5f gnat/spawn.gpr: add a switch to disable warning-as-errors
TN: T102-006
2020-11-20 11:25:36 +02:00
Maxim Reznik
48f954e1e9 S125-009 Add Search_Path function to Spawn API
to search full path of executable. We've considered to let Start
subprogram find full path, but this could be wrong if PATH environment
variable differs in child process environments. So client should find
full path in correct environment with new function Search_Path and pass
full path to Set_Program.
2020-11-20 11:25:36 +02:00
Vadim Godunko
eeefed0335 Fix elaboration order issue for environment variables. 2020-11-20 11:25:36 +02:00
Maxim Reznik
fb2f602385 Add -gnatyO option 2020-11-20 11:25:36 +02:00
Maxim Reznik
b069a88281 Add new macro $URI{x} to LSP tester.
This macro will be expanded to correct URI according to RFC 3986
and RFC 8089. Fix LSP server to produce correct URI on Windows,
where rirectory could be `C:\Some Path` and `\\SRV\SHARE\Path`.
2020-11-20 11:25:36 +02:00
Maxim Reznik
55c56007f1 Fix Process API on Mac OS X 2020-11-20 11:25:36 +02:00