Al Poole
141ffff9f9
exe: fix cleanup on FreeBSD of ecore_con_server/clients.
2017-09-24 11:30:55 +01:00
Al Poole
757414ef86
exe: add header.
...
Tested on another machine, include is necessary.
2017-09-21 00:59:34 +01:00
Al Poole
d6b38524b9
edi_exe: fix bad bugs.
...
Make sure we're handling the right process. Also clean-up the
sockets manually. Also make sure we actually do ninja's
clean, otherwise we might be waiting for a long time.
2017-09-21 00:54:01 +01:00
Al Poole
647d866bba
Build: make build proces more robust.
...
Use a different socket address for each type. Also add some
UI indicators when a build is in progress.
2017-09-20 16:47:30 +01:00
Al Poole
e528a3c8bc
build: fix race-condition.
...
Use a global variable to keep track of builds. Both
edi_exe_notify/handle could and should be done
better. For now this stops an issue.
2017-09-19 20:16:32 +01:00
Al Poole
59a0ec1bae
scm: add support for file listing file status.
...
Add support for file listing status. Also some refactoring.
More to do, more testing first.
2017-09-16 01:19:54 +01:00
Al Poole
64648b87f5
edi_exe: don't send data if socket connect fails.
...
May be a use case where we don't send data indicative of
exit status.
2017-09-09 16:16:47 +01:00
Al Poole
2fcd434e3c
edi_exe: Don't use global variables.
...
Globals are unnecessary here.
2017-09-09 11:19:51 +01:00
Al Poole
b19befd089
edi_exe: modify method to allow additional data parameter.
...
This adds an additional pointer for abritrary data. Have utilised
this to make the notidy on build more verbose without code
duplication.
2017-09-08 00:16:10 +01:00
Al Poole
9be1db4858
build: Add status detection of all build types.
...
This adds tracking of other build types and their exit status and
allows us to use desktop notification for these also. Also cleaned
up some unnecessary cleanup code.
2017-09-06 13:08:02 +01:00
Al Poole
7e9f33a635
exe: Add methods to handle async shell execution and acting on exit status.
...
This adds two methods for handling executing shells async. The notification
has been reworked to use this method so there is less blocking. A callback
can be passed to the handler method for various actions on the exit status
of the script execution.
2017-09-05 15:58:00 +01:00
Al Poole
a232dccaba
edi_scm: add support to add status of changes to the commit dialogue.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4959
2017-06-17 13:04:52 +01:00
Andy Williams
ca83101e61
debug: Fix up exe_free usage as it is not needed for pipe_run calls
2017-06-11 18:51:13 -07:00
Al Poole
d208afac91
scm: add support for SCM (git) in library and the UI.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D4938
2017-06-06 18:09:25 -07:00
Andrew Williams
528d3aa665
exe: capture command output to console
2017-06-04 16:41:13 +01:00
Andy Williams
7f39682980
exe: add a helper for exe waiting
2017-05-30 23:30:39 +01:00