Commit Graph

56 Commits

Author SHA1 Message Date
Maxim Reznik
2b3fe48d14 Compile Spawn_Glib and its test 2021-04-01 18:04:56 +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
250562471e Add COPR support to be able build RPM. 2021-02-14 11:39:58 +02:00
Anthony Leonardo Gracio
7db51dfcae Fix warning on Windows 2021-01-13 09:30:38 +02:00
Maxim Reznik
464ae4c843 Avoid "if statement has no effect" warning. 2021-01-13 09:30:38 +02:00
Maxim Reznik
c2a06cf5de TB23-030 Fix building libspawn.dll on Windows
when LIBRARY_TYPE=relocatable
2021-01-13 09:30:38 +02:00
Maxim Reznik
835e8d54d1 Merge pull request #2 from AdaCore/topic/updates_from_als
Topic/updates from als
2020-12-25 18:40:15 +02:00
Maxim Reznik
521e383c1a Minor update
Fix CR/LF in COPYING.RUNTIME. Add one more test to Makefile.
Force environment OS=osx on Mac OS X.
Use ce2020 branch for toolchain instead of the commit.
2020-12-24 22:35:16 +02:00
Maxim Reznik
7a803c760b TB23-030 Fix spawn tests.
Don't close stdout before child read it (it fails on Windows).
Fix Write_Standard_Input check: no write allowed in wrong state.
2020-12-24 22:12:56 +02:00
Maxim Reznik
ec77c796b4 TB23-030 Fix "No such device or address" error.
Don't read/write on already closed pipe.
2020-12-24 22:12:56 +02:00
Maxim Reznik
cc3e61eef2 TB23-030 Fix an assertion
don't trigger event before creation.
2020-12-24 22:12:56 +02:00
Maxim Reznik
12b041f66f Add LIBRARY_TYPE and BUILD_MODE to project files. 2020-12-24 22:12:56 +02:00
Maxim Reznik
dd9ed7d35b Mark incomplete type declaration as target
to avoid warnings in newer compiler.
2020-12-24 20:47:05 +02:00
Maxim Reznik
03cac0cd15 Add GitHub Action 2020-11-20 12:19:05 +02:00
Maxim Reznik
56f6791d0f Update README.md. Add Makefile.
Update copyright headers.
2020-11-20 12:18:57 +02:00
Vadim Godunko
9b5dd70aa8 TA14-018 Rewrite pipe initialization code for interprocess communication
Each pipe has unique name now. Each pipe can have only one instance.
Attempt to use another pipe name on case of failure.

Wait to complete of pipe initialization.
2020-11-20 11:25:36 +02:00
Maxim Reznik
4f404a5ef7 T803-008 Add a test for Process API
that calls Write_Standard_Input before and after subprocess run.
1.0.0
2020-11-20 11:25:36 +02:00
Maxim Reznik
f85f41cdba T803-008 Turn Process API example into a test 2020-11-20 11:25:36 +02:00
Maxim Reznik
eceffa3f9d Fix typo in expand array code 2020-11-20 11:25:36 +02:00
Vadim Godunko
88952066aa T710-023 Fix size of data to be submitted.
Use constant for buffer size.
2020-11-20 11:25:36 +02:00
Vadim Godunko
9d816839cb T626-018 Change in Process API
We change behavior of the Write_Standard_Input when only
a part of the data buffer is written. In this case the
Standard_Input_Available will be called. Note there is a
difference with Standard_Output_Available in the same
situation.
2020-11-20 11:25:36 +02:00
Andry Ogorodnik
fc8346c329 T519-034 Fix Append_Escaped_String 2020-11-20 11:25:36 +02:00
Anthony Leonardo Gracio
cd5c0e15f2 T406-014: Fix compilation errors in spawn-process_glib.adb 2020-11-20 11:25:36 +02:00
Maxim Reznik
893f6d1879 T406-014 Fix compilation on new GNAT Pro compiler.
It requires type use visibility for 'in' and 'not in' operations.
2020-11-20 11:25:36 +02:00