summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in chunk morphology that prevented installationbaserock/morphJonathan Maw2013-02-121-1/+1
|
* Add chunk morphology that specifies sysconfdir=/etcJonathan Maw2013-02-121-0/+14
|
* Fix missing break statement in NSC application get propertyJonathan Maw2013-01-071-0/+1
| | | | | | | | | This missing break previously caused the method node_startup_controller_application_get_property() to return the Legacy App Handler when asked to get the Node Startup Controller. Signed-off-by: Jonathan Maw <jonathan.maw@codethink.co.uk> Reviewed-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk>
* Add autogen scriptJonathan Maw2012-11-062-1/+14
| | | | | | | | | | | This commit simplifies the build process by adding an autogen script to handle the creation of an m4 directory and execution of gtkdocize and autoreconf. Documentation on building has been updated accordingly. Signed-off-by: Jonathan Maw <jonathan.maw@codethink.co.uk> Signed-off-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk>
* Emit "luc-group-started" even if failing to read the LUCJannis Pohlmann2012-10-112-0/+7
| | | | | | | | | | If we don't do this, the callback provided by the application will not always be called and thus, sd_notify() will only be called if reading the LUC is attempted. That breaks starting the NSC service through systemd. Signed-off-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> Reviewed-by: Jonathan Maw <jonathan.maw@codethink.co.uk>
* Adjust NSM Consumer D-Bus interface to match the real NSMJannis Pohlmann2012-10-102-3/+4
|
* Release 1.0.1node-startup-controller-1.0.1Jonathan Maw2012-09-262-2/+2
|
* Make systemd respond to "READY" notifications from the NSC (GT-2212)Jonathan Maw2012-09-253-2/+6
| | | | | The type of the systemd service is now "notify", because systemd ignores the "READY=1" notification for all other service types.
* Release 1.0.0node-startup-controller-1.0.0Jannis Pohlmann2012-08-102-4/+5
|
* Expand description for ShutdownClientJonathan Maw2012-08-101-1/+13
| | | | Adds some information about the data it contains.
* Fix minor inconsistencies in expected test output.Jonathan Maw2012-08-102-3/+3
| | | | | | | In test-legacy-app-handling.xml, the timeout was wrong. In test-target-startup-monitoring, the phrase "Applied the node state N" had been changed to "Node state N applied" in everywhere but one place.
* Rename all com.contiautomotive to org.geniviJonathan Maw2012-08-1017-33/+33
|
* Expand description of the NodeStartupControllerServiceJonathan Maw2012-08-101-4/+22
| | | | | | Expands the description to explain what it does when it receives the "handle-begin-lucregistration", "handle-register-with-luc" and "handle-finish-lucregistration" signals.
* Expand description of the LAHandlerServiceJonathan Maw2012-08-101-16/+42
| | | | | Includes a step-by-step description of what happens when it receives a method call.
* Expand description for TargetStartupMonitorFrancisco Redondo Marchena2012-08-101-10/+14
|
* Expand description of the LUCStarterFrancisco Redondo Marchena2012-08-101-15/+39
| | | | | Includes a step-by-step description of how to start the Last User Context.
* Expand documentation for JobManagerJonathan Maw2012-08-101-2/+13
|
* Remove the list of units and create D-Bus proxy only for wanted targetsFrancisco Redondo Marchena2012-08-092-25/+14
| | | | | | | | | | | | | | Remove the list of units which is not longer used. When the TargetStarterMonitor receives a "job-removed" signal it creates a D-Bus proxy to monitor the unit and check if the state changes to "active". If it does the TargetStartupMonitor sets the node state. The TargetStarterMonitor is only interested in monitoring "focussed.target", "unfocussed.target" and "lazy.target" units. To avoid creating the D-Bus proxy for unneeded units, it should check in target_startup_monitor_job_removed if the unit is a unit which has to be monitored.
* Add callbacks that log when bus names are acquired or lostJonathan Maw2012-08-092-14/+78
| | | | Callbacks added to both the Node Startup Controller and the NSM Dummy
* Update log messages in the TargetStartupMonitor test case docsFrancisco Redondo Marchena2012-08-081-5/+5
| | | | | Replace the old DLT messages in the TargetStartupMonitor test case documetnation with the ones we currently use.
* Edit docs for NodeStartupControllerApplication to be more elaborateJonathan Maw2012-08-081-5/+26
| | | | | Rewrites the description of the NodeStartupControllerApplication to be more explicit in what it contains and what it does.
* Fix minor bugs in NodeStartupControllerApplication's SIGINT handlerJonathan Maw2012-08-082-3/+5
| | | | | | | | The SIGINT handler did not cancel the LUCStarter, it does now. The SIGINT handler made the application quit, but the asynchronous call to deregister its shutdown consumer from the Node State Manager does that when it is finished.
* Fix segmentation faults and remove an unused variableFrancisco Redondo Marchena2012-08-083-3/+6
| | | | | | | | | | | | Fix a segmentation fault in target_startup_monitor_finalize caused by freeing the data of a list item instead of the actual unit list we want to free. Fix another possible segmentation fault in la_handler_service_handle_consumer_lifecycle_request_finish caused by logging a message using the wrong GError. Remove an unused variable in la_handler_service_handle_register.
* Add documentation for the GLib extension functionsFrancisco Redondo Marchena2012-08-082-0/+49
|
* Document the NodeStartupControllerService classJonathan Maw2012-08-081-0/+64
|
* In README, point to building.xml for build deps and instructionsJannis Pohlmann2012-08-081-5/+3
|
* Remove empty lines in node-startup-controller-application.cFrancisco Redondo Marchena2012-08-081-3/+0
|
* Document arguments and remove old function prototype of LAHandlerServiceJonathan Maw2012-08-082-11/+11
| | | | | | | | Previous documentation of the LAHandlerService omitted explaining the @service arguments. A function prototype existed in the header for the LAHandlerService and was included in the documentation, but was never used or defined.
* Document the LUCStarter classFrancisco Redondo Marchena2012-08-082-2/+41
|
* Add documentation to the ShutdownClient classJonathan Maw2012-08-072-5/+128
|
* Add documentation for the NodeStartupControllerApplication classFrancisco Redondo Marchena2012-08-072-0/+32
|
* License the reference manual under Creative Commons CC0 1.0 UniversalJannis Pohlmann2012-08-073-0/+21
| | | | | Add a dedicated COPYING.docs file for this. The license is also mentioned again in the reference manual itself.
* Improve WatchdogClient documentation a bitJannis Pohlmann2012-08-071-6/+10
|
* Add documentation for the WatchdogClient classJonathan Maw2012-08-072-0/+24
|
* Improve class documentation a bitJannis Pohlmann2012-08-073-8/+9
|
* Add documentation to the TargetStartupMonitor classJonathan Maw2012-08-072-0/+36
|
* Fix name of the LAHandlerService class in the docs and in NEWSJannis Pohlmann2012-08-072-2/+2
|
* Add docuumentation to the la-handler-service classJonathan Maw2012-08-072-1/+57
|
* Add an explanation of the JobManagerCallbackJonathan Maw2012-08-071-0/+12
|
* Update NEWS regarding the JobManager documentationJonathan Maw2012-08-071-0/+1
|
* Add documentation for JobManager's constructorJonathan Maw2012-08-071-1/+10
|
* Document purpose and start/stop methods of job managerJonathan Maw2012-08-071-0/+29
|
* Fix minor alignment issue in glib-extensions.cJonathan Maw2012-08-071-1/+1
| | | | | | g_variant_string_array_has_string was partly aligned using tabs, which only looks good when tab width is set to two spaces. Tabs have now been replaced with spaces.
* Simplify g_variant_lookup_value_with_int_keyFrancisco Redondo Marchena2012-08-072-38/+17
| | | | | An implementation custom-tailored towards "{ias}" dictionaries is sufficient for us.
* Update the NEWS fileJannis Pohlmann2012-08-061-0/+1
|
* Rewrite documentation for legacy app handler testJonathan Maw2012-08-061-106/+102
| | | | | | | | | | | | | | | | | Removed the requirement to restart the system for each test, instead just restart the node startup controller for each test. The downside of this is that the dlt.log file is not reset so may become very large. Reduced the number of DLT log messages to compare against the output. Instead, only the most relevant lines are included for each test. Added separate test that the Node Startup Controller registers itself. Rewrote the descriptions for each test case to be more readable. Numbered each test case. Spelling and grammar fixes.
* Remove the bus_name_id member from LAHandlerServiceFrancisco Redondo Marchena2012-08-061-4/+0
| | | | The bus_name_id member is not longer used in this class.
* Update NEWSJannis Pohlmann2012-08-061-0/+4
|
* Use a proper error code when unable to handle an unregister requestFrancisco Redondo Marchena2012-08-061-1/+2
| | | | | Send NSM_ERROR_STATUS_ERROR rather than -1 back to the caller when an unregister request could not be handled successfully.
* Release 0.9.1 - the first release candidate for 1.0.0node-startup-controller-0.9.1Jannis Pohlmann2012-08-061-2/+2
|