Commit Graph

11 Commits

Author SHA1 Message Date
Jaromil
b521e32110 huge cleanup
tomb shell command doesn't depends from X,
 all GUI notifications are moved into tomb-open including USB key handling,
 gksu has been dropped completely as a method to gain privileges,
 there is a new -n flag to avoid processing hooks,
 variable names have been sanitized, duplicate code eliminated,
 documentation has been updated and the code cleaned up

we are very close to the 1.0 now
2011-02-20 14:59:30 +01:00
Jaromil
b34d379596 backup function using duplicity
working, but hairy since duplicity continues trying to connect
and password handling is not optimal
2011-02-14 15:57:37 +01:00
Jaromil
23244bdedd fixes to tomb-status 2011-02-09 20:35:11 +01:00
Jaromil
22a65c7193 correct string termination for tomb close invocation 2011-02-09 19:51:27 +01:00
Jaromil
6078356b64 added post-hooks 2011-02-07 11:56:11 +01:00
Jaromil
4f3204e1e8 using fork() again and pipefd to pass it arguments
it works now, also the parent process correctly reads the output
2011-02-07 11:27:53 +01:00
Jaromil
2751d71708 Revert "substituted the fork with a pthread"
This reverts commit 5afeaac470.

execve()  does  not  return on success, and the text, data, bss, and stack of the calling process are overwritten by
that of the program loaded. means we cannot call exec() from a thread, we must use fork.

next try i'll use environment vars to pass mountpoint to forked exec.
2011-02-07 09:44:59 +01:00
Jaromil
5afeaac470 substituted the fork with a pthread
fixes a bug in closing tombs from the status tray icon
2011-02-06 17:02:28 +01:00
Jaromil
c0bd02a8c0 correct locking of open/close operations
in coordination with tray status presence
and lots more cleanups and testing
2011-02-03 20:42:46 +01:00
Jaromil
2bff19e0e4 fixes after testing on debian and better documentation 2011-01-30 11:37:50 +01:00
Jaromil
36565e2ef4 dropped c++ dependency plus various fixes 2011-01-16 23:43:45 +01:00