Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-03 | util: rework strappenda(), and rename it strjoina() | Lennart Poettering | |
After all it is now much more like strjoin() than strappend(). At the same time, add support for NULL sentinels, even if they are normally not necessary. | |||
2014-12-10 | sd-bus: move common errors src/shared/bus-errors.h → ↵ | Lennart Poettering | |
src/libsystemd/sd-bus/bus-common-errors.h Stuff in src/shared/ should not use stuff from src/libsystemd/ really. | |||
2014-11-28 | treewide: yet more log_*_errno + return simplifications | Michal Schmidt | |
Using: find . -name '*.[ch]' | while read f; do perl -i.mmm -e \ 'local $/; local $_=<>; s/(if\s*\([^\n]+\))\s*{\n(\s*)(log_[a-z_]*_errno\(\s*([->a-zA-Z_]+)\s*,[^;]+);\s*return\s+\g4;\s+}/\1\n\2return \3;/msg; print;' $f done And a couple of manual whitespace fixups. | |||
2014-11-28 | treewide: no need to negate errno for log_*_errno() | Michal Schmidt | |
It corrrectly handles both positive and negative errno values. | |||
2014-11-28 | treewide: auto-convert the simple cases to log_*_errno() | Michal Schmidt | |
As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno(). | |||
2014-08-14 | resolved: allow passing on which protocol, family and interface to look ↵ | Lennart Poettering | |
something up Also, return on which protocol/family/interface we found something. | |||
2014-08-11 | resolved: verify all RRs when we come back from suspend | Lennart Poettering | |
2014-08-11 | resolved: destroy outstanding queries if the clients that initiated them die | Lennart Poettering | |
2014-08-11 | resolved: properly pass aborted transaction result back to clients | Lennart Poettering | |
2014-08-03 | resolved: remove unused variables | Thomas Hindoe Paaboel Andersen | |
2014-08-01 | resolved: rename resolved.h to resolved-manager.h | Lennart Poettering | |
After all it pretty much exlcusively containers definitions about the "Manager" object, hence let's call this the most obvious way. | |||
2014-07-31 | resolved: accept UTF-8 hostnames from bus clients | Lennart Poettering | |
2014-07-31 | resolved: implement LLMNR uniqueness verification | Lennart Poettering | |
2014-07-30 | resolved: add API for resolving specific RRs | Lennart Poettering | |
2014-07-30 | resolved: properly pass empty answers back to bus clients | Lennart Poettering | |
2014-07-23 | resolved: rework logic so that we can share transactions between queries of ↵ | Lennart Poettering | |
different clients | |||
2014-07-18 | resolved: fix bus signatures to follow family as int change | Lennart Poettering | |
2014-07-18 | change type for address family to "int" | Lennart Poettering | |
Let's settle on a single type for all address family values, even if UNIX is very inconsitent on the precise type otherwise. Given that socket() is the primary entrypoint for the sockets API, and that uses "int", and "int" is relatively simple and generic, we settle on "int" for this. | |||
2014-07-17 | resolved: silence warnings | Thomas Hindoe Paaboel Andersen | |
No need to write to r here since it will be overwritten as the first step in parse_fail. | |||
2014-07-17 | resolved: remove unused variable | Thomas Hindoe Paaboel Andersen | |
2014-07-17 | resolved: add DNS cache | Lennart Poettering | |
2014-07-16 | resolved: properly pass canonical name information to resolving client | Lennart Poettering | |
Also, hook up nss-resolve to make use of this information | |||
2014-07-16 | resolved: add CNAME lookup support | Lennart Poettering | |
2014-07-16 | resolved: support for TCP DNS queries | Lennart Poettering | |
2014-07-16 | dns-domain: introduce macros for accessing all DNS header fields | Lennart Poettering | |
2014-07-16 | resolved: add small NSS module that uses resolved to resolve DNS names | Lennart Poettering | |
2014-07-16 | resolve: add distinct bus error code for hosts that exist but lack A or AAAA ↵ | Lennart Poettering | |
records | |||
2014-07-16 | resolved: add a DNS client stub resolver | Lennart Poettering | |
Let's turn resolved into a something truly useful: a fully asynchronous DNS stub resolver that subscribes to network changes. (More to come: caching, LLMNR, mDNS/DNS-SD, DNSSEC, IDN, NSS module) |