167 Commits

Author SHA1 Message Date
Max Reznik
7149d431b2 Merge branch 'topic/kill' into 'master'
We can't require process to be alive at `kill` call

See merge request eng/ide/spawn!50
v25.0.0
2024-05-21 11:53:04 +00:00
Maxim Reznik
c8d3359f80 We can't require process to be alive at kill call
because even if the user checks the process status before
calling the terminate procedure, the process can terminate
before `kill` is actually executed.

Refs gnatstudio#306
2024-05-17 12:38:01 +03:00
Vadim Godunko
806ae6dd6e Merge branch 'feature/Wrap_OS_gpr_external' into 'master'
Wrap external parameter OS with SPAWN_OS, as OS can clash with other projects

See merge request eng/ide/spawn!49
2023-11-29 08:16:50 +00: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
Max Reznik
2642bd6d7d Merge branch 'topic/ada2022' into 'master'
Enable Ada 2022 for Spawn

See merge request eng/ide/spawn!48
v24.0.0
2023-05-18 09:24:48 +00:00
Maxim Reznik
4d80ffbec5 Fix Glib tests after API changes. 2023-05-12 18:18:42 +03:00
Maxim Reznik
eda1b9d167 Enable use of Ada 2022 by Alire. 2023-05-12 18:18:31 +03:00
Max Reznik
fcd3c701af Merge branch 'topic/fix_macos' into 'master'
Fix compilation on Mac OS X.

See merge request eng/ide/spawn!47
2023-04-28 20:07:51 +00:00
Maxim Reznik
40d94c4042 Fix compilation on Mac OS X. 2023-04-28 19:10:43 +03:00
Vadim Godunko
c6c4bf19a8 Merge branch 'topic/error_no_callbacks' into 'master'
Don't emit Error_Occured on IO errors

See merge request eng/ide/spawn!46
2023-04-26 12:35:34 +00:00
Vadim Godunko
bf3c793db6 Assert operation is successful. 2023-04-26 09:03:59 +03:00
Vadim Godunko
d3adc00f25 Fix copy-paste error. 2023-04-05 17:21:31 +04:00
Vadim Godunko
14ced1534b Pass error code to subprogram to create text message. 2023-04-04 14:41:03 +03:00
Vadim Godunko
107c9a503d V928-020 Kill only running processes. 2023-04-04 12:48:53 +04:00
Vadim Godunko
0e4d3960a8 Exclude Windows specific file on POSIX platforms. 2023-04-04 11:38:07 +04:00
Vadim Godunko
c219cd6f86 Report async IO errors by Glib implementation. 2023-04-04 11:35:50 +04:00
Vadim Godunko
e4a72f6ca7 Use appropriate callbacks to notify about async IO errors. 2023-04-04 09:26:21 +03:00
Vadim Godunko
a7399142ae Build tests with static version of Spawn. 2023-04-04 08:32:30 +03:00
Vadim Godunko
20ef5250b9 Support setting of Spawn specific library type. 2023-04-04 08:32:07 +03:00
Vadim Godunko
48a8f0e702 Update implementation on Windows for changes in API 2023-04-04 08:12:32 +03:00
Vadim Godunko
2cf6f5d51b Report sync IO errors on Windows/Glib. 2023-04-04 08:12:32 +03:00
Vadim Godunko
7a31ec9a55 Subprogram to take error message of GetLastError. 2023-04-04 08:12:32 +03:00
Vadim Godunko
5c5b5d849a Emitters for async IO error notifications. 2023-04-03 13:54:57 +04:00
Vadim Godunko
301d4618f4 Update test to use new API. 2023-04-03 12:52:11 +04:00
Vadim Godunko
a80a69ed4a Update implementation to new API for POSIX.
Don't emit Error_Occured on sych IO errors.
2023-04-03 12:45:45 +04:00