| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | tests: daemon.booted | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 1 | -1/+9 | |
| | | | ||||||
| | * | tests: daemon.listen_fds | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 1 | -1/+26 | |
| | | | ||||||
| | * | tests: fix test discovery by pytest | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 1 | -1/+2 | |
| | | | ||||||
| | * | tests: also collect doctests from rst | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 3 | -6/+40 | |
| | | | | | | | | | There isn't much to test now, but it doesn't hurt to enable. | |||||
| | * | tests: enable doctests in the sources | Zbigniew Jędrzejewski-Szmek | 2015-09-05 | 2 | -6/+14 | |
| | | | | | | | | | | | | | | | | | | | Unfortunately the "standard" way to access the names in the defined module does not work. I find it nicer to explicitly import, e.g. from systemd import journal, because then the examples correspond more closely to what a user would use. The only exception is made for JournalHandler, because journal.JournalHandler is a tad to long. | |||||
| | * | tests: add first test | Zbigniew Jędrzejewski-Szmek | 2015-08-07 | 1 | -0/+64 | |
| | | | | | | | | | | | This is based on the code in https://github.com/systemd/python-systemd/pull/4 by Jacek Konieczny <j.konieczny@eggsoft.pl>. | |||||
| * | | build-sys: replace loop with list comprehension | Zbigniew Jędrzejewski-Szmek | 2015-10-25 | 1 | -5/+3 | |
| | | | ||||||
| * | | build-sys: generate systemd/id128-constants.h in setup.py | Jeroen Dekkers | 2015-10-25 | 2 | -5/+21 | |
| | | | | | | | | | Fixes #7. | |||||
| * | | Fix booted() doc | Evgeny Vereshchagin | 2015-09-04 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add compatibility with systemd < 205 | Zbigniew Jędrzejewski-Szmek | 2015-09-04 | 2 | -16/+28 | |
| | | | ||||||
| * | | build-sys: output full pkg-config output on failure | Zbigniew Jędrzejewski-Szmek | 2015-09-04 | 1 | -10/+28 | |
| | | | ||||||
| * | | build-sys: use pkg-config to build with old systemd | Zbigniew Jędrzejewski-Szmek | 2015-09-04 | 2 | -10/+33 | |
| | | | | | | | | | | | This should allow the build to just work on old Ubuntu and similar. | |||||
| * | | README: add semaphore build badge | Zbigniew Jędrzejewski-Szmek | 2015-09-03 | 1 | -0/+2 | |
| |/ | ||||||
| * | tree-wide: systemd→python-systemd in headers | Zbigniew Jędrzejewski-Szmek | 2015-08-07 | 12 | -36/+36 | |
| | | ||||||
| * | build-sys: add clean targets | Zbigniew Jędrzejewski-Szmek | 2015-08-07 | 1 | -1/+7 | |
| | | ||||||
| * | Fix daemon.is_fifo and .is_mq under Python 3 | Jacek Konieczny | 2015-08-07 | 1 | -2/+8 | |
| | | | | | | | | The 'path' parameter was not properly converted from Unicode and the functions would always fail when a path was provided. https://github.com/systemd/python-systemd/pull/4 | |||||
| * | Update source building instructions | David Strauss | 2015-08-02 | 1 | -6/+6 | |
| | | | | | | * Only list Fedora 21+. Older releases are no longer supported by upstream, let alone for systemd development. * Fedora now uses `pip` and `pip3`, not `pip-python` and `pip-python3`. By only documenting Fedora 21+, we can be consistent in the instructions. * Use HTTPS for git (rather than HTTP). | |||||
| * | build-sys: also add installation and dist targets | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 2 | -1/+8 | |
| | | ||||||
| * | build-sys: exclude id128-constants.h after all | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 1 | -1/+1 | |
| | | | | | | This file should be rebuild from latest systemd headers, and not distributed here. | |||||
| * | docs: avoid warning about duplicate target name | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 1 | -1/+1 | |
| | | ||||||
| * | docs: update links in documentation | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 2 | -6/+18 | |
| | | | | | | This is a standalone package now, but let's keep the links to systemd itself. | |||||
| * | build-sys: call setup.py from make | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 1 | -1/+8 | |
| | | ||||||
| * | build-sys: add make rules for documentation | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 1 | -0/+15 | |
| | | ||||||
| * | Move docs to top level and include in manifest | Zbigniew Jędrzejewski-Szmek | 2015-07-08 | 10 | -0/+1 | |
| | | ||||||
| * | Bump version to 230v230 | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -1/+1 | |
| | | | | | | This matches what was done for libgudev. This way we have plenty of time to remove the module from systemd, and this version will always be "newer". | |||||
| * | Specify system-devel@ as the maintainers | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -0/+2 | |
| | | ||||||
| * | build-sys: add MANIFEST.in to properly include all files | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 2 | -0/+5 | |
| | | ||||||
| * | Use python-systemd as the name | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -1/+1 | |
| | | | | | | We want the package to be installed under this name. This is also used for sdist, and we want python-systemd-<version>.tar.xz. | |||||
| * | Update LICENSE file and classifiers | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 15 | -41/+535 | |
| | | | | | | | The license was originally MIT, but when this module became part of systemd, it was changed to LGPLv2+. All files had correct headers, so only the LICENSE file needs updating. Take the opportunity to add classifiers to setup.py. | |||||
| * | build-sys: update setup.py to build everything | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 10 | -15/+176 | |
| | | ||||||
| * | Merge development in systemd upstream | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 20 | -161/+3489 | |
| |\ | ||||||
| | * | remove gudev and gtk-doc | Kay Sievers | 2015-07-05 | 1 | -2/+0 | |
| | | | | | | | | | | | The library moved to: https://git.gnome.org/browse/libgudev/ | |||||
| | * | python-systemd: fix is_socket_inet to cope with ports | Simon Farnsworth | 2015-07-05 | 2 | -2/+2 | |
| | | | | | | | | | Just a couple of trivial oversights. | |||||
| | * | python-systemd: avoid hitting assert in __exit__ | Dave Reisner | 2015-07-05 | 1 | -1/+1 | |
| | | | | | | | | | | | Reader_close() asserts that 'args' is always NULL, but the __exit__ function forwards a non-NULL args. | |||||
| | * | Always prefer our headers to system headers | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 4 | -4/+4 | |
| | | | | | | | | | | | | | In practice this shouldn't make much difference, but sometimes our headers might be newer, and we want to test them. | |||||
| | * | systemd-python: fix failing assert | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -1/+0 | |
| | | | | | | | | | | | A parameter which was always null before, now get's set to the module. | |||||
| | * | systemd-python: use .hex instead of .get_hex() | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -3/+3 | |
| | | | | | | | | | | | | | It turns out the latter got removed in Python 3. https://bugs.freedesktop.org/show_bug.cgi?id=77086 | |||||
| | * | python: reindent _reader.c | Lennart Poettering | 2015-07-05 | 1 | -582/+577 | |
| | | | | | | | | | | | All files should follow our coding style, and that means 8ch indenting. Let's correct that. | |||||
| | * | macro: introduce nice macro for disabling -Wmissing-prototypes warnigs | Lennart Poettering | 2015-07-05 | 5 | -24/+23 | |
| | | | ||||||
| | * | util: use alloca0() intead of alloca() + memzero() | Lennart Poettering | 2015-07-05 | 1 | -2/+1 | |
| | | | ||||||
| | * | use memzero(foo, length); for all memset(foo, 0, length); calls | Greg KH | 2015-07-05 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | In trying to track down a stupid linker bug, I noticed a bunch of memset() calls that should be using memzero() to make it more "obvious" that the options are correct (i.e. 0 is not the length, but the data to set). So fix up all current calls to memset(foo, 0, length) to memzero(foo, length). | |||||
| | * | systemd-python: fix listen_fds under Python 2 | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -1/+1 | |
| | | | ||||||
| | * | systemd-python: fix setting of exception codes | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 2 | -42/+35 | |
| | | | | | | | | | | | | | | | The return value of 0 would be treated as failure by mistake, resulting in " SystemError: error return without exception set". The way that set_error() is used is changed to be the same everywhere. | |||||
| | * | trivial coding style clean ups | Thomas Hindoe Paaboel Andersen | 2015-07-05 | 2 | -92/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { } | |||||
| | * | systemd-python: fix booted() and add two functions to docs | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 2 | -1/+3 | |
| | | | | | | | | | For some reason sphinx doesn't want to show inherited C functions. | |||||
| | * | systemd-python: convert keyword value to string | Richard Marko | 2015-07-05 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | Allows using journal.send('msg', PRIORITY=journal.LOG_CRIT) Before this commit this results in TypeError: cannot concatenate 'str' and 'int' objects and requires passing PRIORITY value as string to work. | |||||
| | * | systemd-python: check for oom, give nicer error messages | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 2 | -3/+7 | |
| | | | ||||||
| | * | systemd-python: fix initialization of _Reader objects | Steven Hiscocks | 2015-07-05 | 1 | -0/+9 | |
| | | | | | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=995575 | |||||
| | * | systemd-python: fix gcc warning | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | src/python-systemd/_reader.c: In function Reader_get_catalog: src/python-systemd/_reader.c:912:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] assert(mid_len > l); ^ | |||||
| | * | systemd-python: use modern C | Zbigniew Jędrzejewski-Szmek | 2015-07-05 | 1 | -39/+10 | |
| | | | ||||||
