Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-19 | sd_daemon: Fix build on macOS, fix FD leak on Linux | Luke Shumaker | |
2018-12-07 | sd_daemon.WatchdogEnabled: Update example in doc comment | Luke Shumaker | |
The docs still used the used the pre-da323d620 (2017-01-18) notify function signature. | |||
2018-12-07 | Wow, I'm really bad at spelling | Luke Shumaker | |
2018-09-05 | Merge branch 'master' of https://git.lukeshu.com/go/libsystemd | Luke Shumaker | |
2018-09-05 | sd_daemon: Update exit-status.go | Luke Shumaker | |
- Add sysexits.h codes - Sync with systemd v239, don't mask deprecated systemd codes * Unmask _EXIT_RESERVED -> EXIT_TCPWRAP * Note that EXIT_MAKE_STARTER was dropped in SD v235 * Renumber EXIT_SMACK_PROCESS_LABEL from 237 to 236, replacing EXIT_BUS_ENDPOINT * Add EXIT_KEYRING at 237, EXIT_SMACK_PROCESS_LABEL's old number * Add everything 238 and up - Add comments about what versions of systemd handle the systemd codes - Update the LSB URL from LSB 3.1.1 to LSB 5.0.0 | |||
2018-09-04 | *.gen: Update to emit the pattern looked for by the `go` tool | Luke Shumaker | |
The `go` documentation says that the generated-code notice should match the go regex: ^// Code generated .* DO NOT EDIT\.$ | |||
2017-12-18 | sd_daemon/log: implement io.Writer and io.stringWriter where applicable | Luke Shumaker | |
2017-12-18 | sd_daemon: BREAKING CHANGE: rename WriteBytes->LogBytes, WriteString->LogStringv0.5.0 | Luke Shumaker | |
This is to make room for an io.stringWriter implementation. | |||
2017-12-18 | sd_daemon.Logger: improve docs | Luke Shumaker | |
2017-05-15 | sd_daemon: Fix Makefile | Luke Shumaker | |
2017-05-14 | gofmt -s | Luke Shumaker | |
2017-05-12 | Have the Makefile be AutoThing friendly. | Luke Shumaker | |
While it mostly played nice with autothing before, by having autothing treat `go generate` as an opaque step, it didn't populate `files.src.gen`. | |||
2017-01-18 | Change the notify signature (again). BREAKING CHANGE.v0.4.0 | Luke Shumaker | |
I think this should reduce the cognitive load of using the function. | |||
2017-01-18 | sd_daemon: Update a comment. | Luke Shumaker | |
2017-01-18 | Fix sd_daemon.Notify | Luke Shumaker | |
I was working with net.UnixConn.WriteMsgUnix() incorrectly. Literally the only example of this I can find in the wild is in CoreOS go-systemd, which does the same thing I did. Unfortunately go-systemd only hits that codepath as a fall-back if the primary code path errors... and the test suite only hits the primary code path. | |||
2016-12-27 | Documentation improvements. | Luke Shumaker | |
Also, I renamed a couple of the sd_id128 functions for better clarity. But since I haven't pushed since originally implementing them, I'm not labeling it as a breaking change. | |||
2016-12-27 | Merge sd_daemon/lsb into sd_daemon. BREAKING CHANGE.v0.3.0 | Luke Shumaker | |
2016-12-22 | sd_daemon/log.go: Shave off a byte, fix a comment. | Luke Shumaker | |
2016-12-19 | Improve documentation. | Luke Shumaker | |
2016-12-19 | Whoops, methods need to be on *Logger, not Logger | Luke Shumaker | |
2016-12-19 | Use golang.org/x/sys/unix instead of the deprecated syscall. | Luke Shumaker | |
2016-12-18 | sd_daemon/log: cheapen WriteString/WriteBytes. | Luke Shumaker | |
2016-12-18 | gofmt | Luke Shumaker | |
2016-12-18 | Implement almost all of sd-daemon. BREAKING CHANGES.v0.2.0 | Luke Shumaker | |
This does not include the sd_is_* utility functions. BREAKING CHANGES: - The import name is now "sd_daemon" instead of "sd". - The logger interface is now entirely different. - Notify now takes more arguments. | |||
2016-07-22 | oops | Luke Shumaker | |
2016-07-22 | ListenFds: Detect file names from LISTEN_FDNAMES. | Luke Shumaker | |
2015-11-23 | gometalinter | Luke Shumaker | |
2015-11-23 | gometalinter, ish | Luke Shumaker | |
2015-11-08 | gofmt | Luke Shumaker | |
2015-11-06 | fix import path | Luke Shumaker | |
2015-11-03 | *sigh* avoid reliance on systemd headers. | Luke Shumaker | |
What I'd really like to do is have `go generate` download the headers if they aren't on the system. But, that will have to be a later commit. | |||
2015-10-26 | make gofmt complain slightly less | Luke Shumaker | |
2015-09-18 | Massive documentation and copyright clean-up. | Luke Shumaker | |
2015-09-03 | Use a defer/recover block to have the exit status on panic match LSB. | Luke Shumaker | |
2015-09-03 | fix sd_daemon/logger arg passing | Luke Shumaker | |
2015-09-03 | Use systemd/lsb exit codes, consistently | Luke Shumaker | |
2015-08-26 | work | Luke Shumaker | |
2015-08-26 | clean up | Luke Shumaker | |