lp:~cjdahlin/upstart/n-ary-event-oper

Created by Casey Dahlin and last modified
Get this branch:
bzr branch lp:~cjdahlin/upstart/n-ary-event-oper
Only Casey Dahlin can upload to this branch. If you are Casey Dahlin please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Casey Dahlin
Project:
upstart
Status:
Development

Recent revisions

1189. By Casey Dahlin

* init/event_operator.c: Fix static prototypes, rename ALL/ANY to AND/OR again
(event_operator_copy): Style fix
(event_operator_add_child, event_operator_update): Improve docstring
* init/event_operator.h, init/parse_job.c: Rename ALL/ANY back to AND/OR
* init/tests/test_event.c: Style fixes
* init/tests/test_event_operator.c: Style fixes
* init/tests/test_parse_job.c: Style fixes

1188. By Casey Dahlin

* ChangeLog: More format fixes

1187. By Casey Dahlin

* ChangeLog: Format fix

1186. By Casey Dahlin

Johan Kiviniemi 2009-08-04 * conf/rc-sysinit.conf: Don't replace DEFAULT_RUNLEVEL with an
Scott James Remnant 2009-08-04 * init/tests/test_event_operator.c (test_operator_new): Replace
Scott James Remnant 2009-08-04 * init/tests/test_event.c (test_new): Replace TEST_ALLOC_ORPHAN(env)
Scott James Remnant 2009-08-04 * init/tests/test_control.c (test_emit_event): Discard event
Scott James Remnant 2009-08-04 * init/init.supp: Add nih_alloc_ref_new() to init functions
Scott James Remnant 2009-08-02 * configure.ac: Bump version to 0.7.0
Scott James Remnant 2009-08-02 * NEWS: Release 0.6.3
Scott James Remnant 2009-08-01 Update NEWS from libnih
Scott James Remnant 2009-08-01 * init/tests/test_job_process.c (test_handler): Add a missing test
Scott James Remnant 2009-07-31 * dbus/upstart.h: Allow the service name and address to be overriden
Michael Biebl 2009-07-29 * init/tests/test_job_process.c: Add missing sys/ptrace.h include
Scott James Remnant 2009-07-21 * configure.ac: Bump version to 0.6.3
Scott James Remnant 2009-07-21 * NEWS: Release 0.6.2
Scott James Remnant 2009-07-21 * init/main.c (crash_handler): Restore missing chdir ("/") call.
Scott James Remnant 2009-07-21 * init/tests/test_job_process.c (test_handler): We should allow
Scott James Remnant 2009-07-21 * init/job.c (job_change_state): Obvious bug fix; the set of states
Scott James Remnant 2009-07-16 * configure.ac: Bump version to 0.6.2
Scott James Remnant 2009-07-16 * NEWS: Release 0.6.1
Scott James Remnant 2009-07-16 * util/runlevel.c: Output the path before the error message,
Scott James Remnant 2009-07-16 * util/runlevel.c: If there is no current runlevel because the
Scott James Remnant 2009-07-15 * README: Now that D-Bus 1.2.16 proper has been released, update
Scott James Remnant 2009-07-14 * TODO: Update
Scott James Remnant 2009-07-14 * init/tests/test_job_process.c (test_handler): Rework the existing
Scott James Remnant 2009-07-14 * util/Makefile.am (EXTRA_DIST): Distribute the valgrind suppressions
Scott James Remnant 2009-07-14 * util/tests/test_utmp.c (test_write_shutdown): Additional instance
Scott James Remnant 2009-07-14 * util/tests/test_utmp.c (test_write_runlevel): Looks like glibc

ChangeLog: Update

1185. By Casey Dahlin

* init/event_operator.h (EventOperatorType): Change types from AND/OR to ANY/ALL
(EventOperator): Get rid of node entry and add children list.
* init/event_operator.c (event_operator_subtree_environment): New version of
event_operator_environment that assumes we are not at the root of the tree.
(event_operator_new): Initialize new children member instead of tree node
(event_operator_copy): Use recursive call to correctly copy N-ary tree
(event_operator_reset): Use recursive call to correctly reset N-ary tree
(event_operator_events): Use recursive call to correctly get events from N-ary
tree
(event_operator_handle): Use recursive call to correctly handle N-ary tree
(event_operator_update): Update based on all N children
(event_operator_match): Don't assert based on now-defunct node
(event_operator_add_child): New helper to add a child to a tree, automatically
collapsing it into its new parent if it is the same type.
(event_operator_destroy): Destroy children list head correctly.
(event_operator_environment): Use new event_operator_subtree_environment to
recursively collect environment variables.
* init/parse_job.c (parse_on_operator): Change AND/OR to ANY/ALL. Change tree
adds to event_operator_add_child calls
(parse_on_collect): Change tree adds to event_operator_add_child calls
* init/tests/test_event.c (test_pending_handle_jobs): Fix structural assumptions
about EventOperator
(test_finish): Change AND/OR to ANY/ALL
* init/tests/test_event_operator.c (everywhere): Fix structural assumptions
about EventOperator
(test_operator_add_child): New test for this new helper
* init/tests/test_job_process.c (everywhere): Fix structural assumptions
about EventOperator
* init/tests/test_parse_job.c (everywhere): Fix structural assumptions
about EventOperator

1184. By Scott James Remnant (Canonical)

* init/control.c (control_server_open): Don't hardcode the server
address, otherwise the test suite can't test this function.
* init/tests/test_control.c (test_server_open)
(test_server_connect, test_server_close): Change the server
address in the tests.

1183. By Scott James Remnant (Canonical)

* configure.ac: Bump version to 0.6.1
* NEWS: Begin new release

1182. By Scott James Remnant (Canonical)

* NEWS: Release 0.6.0

1181. By Scott James Remnant (Canonical)

* README: Note that we need D-Bus GIT HEAD.
* NEWS: Update.

1180. By Scott James Remnant (Canonical)

* init/man/inittab.5: People keep trying "man inittab", so explain
that it's gone.
* init/Makefile.am (dist_man_MANS): Install it

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack6RichRoot (bzr 1.9)
Stacked on:
lp:~canonical-scott/upstart/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers