summaryrefslogtreecommitdiff
path: root/src/dbus-automount.c
Commit message (Collapse)AuthorAge
* automount: convert failure boolean to enumLennart Poettering2012-02-03
|
* dbus: more efficient implementation of propertiesMichal Schmidt2012-01-16
| | | | | | | | | | | | | | | | | The way the various properties[] arrays are initialized is inefficient: - only the .data members change at runtime, yet the whole arrays of properties with all the fields are constructed on the stack one by one by the code. - there's duplication, eg. the properties of "org.freedesktop.systemd1.Unit" are repeated in several unit types. Fix it by moving the information about properties into static const sections. Instead of storing the .data directly in the property, store a constant offset from a run-time base. The small arrays of struct BusBoundProperties bind together the constant information with the right runtime information (the base pointer). On my system the code shrinks by 60 KB, data increases by 10 KB.
* unit: remove union UnitMichal Schmidt2012-01-16
| | | | | | | | | | Now that objects of all unit types are allocated the exact amount of memory they need, the Unit union has lost its purpose. Remove it. "Unit" is a more natural name for the base unit class than "Meta", so rename Meta to Unit. Access to members of the base class gets simplified.
* dbus: split out object management code into dbus-common, and simplify itLennart Poettering2011-04-16
|
* dbus: properly generate UnknownInterface, UnknownProperty and ↵Lennart Poettering2011-03-09
| | | | PropertyReadOnly errors
* build-sys: allow cross-compilationThierry Reding2010-11-23
| | | | | | | | | | | | | | When cross-compiling systemd, the introspection XML files fail to be generated because the systemd host binary is not executable. This patch works around this by putting the introspection XML data into separate ELF sections and extracting them from the binary when generating the XML files. The extracted XML data is passed through the strings utility in order to strip the trailing NUL character. A small AWK script is used to prepend the doctype and add the opening and closing node tags respectively. Finally, the C preprocessor is used to substitute the correct doctype information from the D-Bus header files.
* dbus: follow standardized fdo PropertiesChanged signal specLennart Poettering2010-08-20
|
* emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering2010-08-14
|
* dbus: complete automount and mount unit coverageLennart Poettering2010-07-04
|
* dbus: to make sure that systemd stays controllable during early bootup, ↵Lennart Poettering2010-06-19
| | | | register our services on our own micro usb server in addition to the bus
* dbus: automatically generate and install introspection filesLennart Poettering2010-05-23
|
* build-sys: move source files to subdirectoryLennart Poettering2010-05-16