bendy-bus:bendy-bus.git
5 years agobendy-bus: Only call g_type_init() for GLib ≤ 2.35.0 master
Philip Withnall [Sun, 21 Oct 2012 10:28:52 +0000 (11:28 +0100)]
bendy-bus: Only call g_type_init() for GLib ≤ 2.35.0

GLib master has just deprecated g_type_init() in favour of making it a
compiler-supported constructor function.

5 years agobendy-bus: Add --system-bus option
Martin Pitt [Tue, 25 Sep 2012 09:01:19 +0000 (11:01 +0200)]
bendy-bus: Add --system-bus option

This will pretend that the local D-BUS is a system bus instead of a session
bus. With this you can mock system D-BUS services like upower.

5 years agodocs: Update TODO
Philip Withnall [Mon, 8 Oct 2012 22:50:53 +0000 (23:50 +0100)]
docs: Update TODO

5 years agoFix help output for --run-iters
Martin Pitt [Tue, 25 Sep 2012 09:35:01 +0000 (11:35 +0200)]
Fix help output for --run-iters

run-iters defaults to 0 (infinite), not 1.

6 years agodocs: Update TODO
Philip Withnall [Sat, 21 Jul 2012 11:37:34 +0000 (12:37 +0100)]
docs: Update TODO

6 years agomachines: Add a machine for hamster-server
Philip Withnall [Sat, 7 Jul 2012 15:38:43 +0000 (16:38 +0100)]
machines: Add a machine for hamster-server

Simple machine, one state, no data, mostly complete. (Certainly good enough
to fuzz the main UI with. Pleasantly, no bugs were found in Hamster as a
result.)

6 years agobendy-bus: Fix the -t timeout option
Philip Withnall [Sat, 7 Jul 2012 15:24:23 +0000 (16:24 +0100)]
bendy-bus: Fix the -t timeout option

It was adding duplicate timeouts, so would always cause a simulation to be
terminated x seconds after starting (when using `-t x`).

6 years agobuild: Add a copy of the cc-by-sa 3.0 licence for the user manual
Philip Withnall [Tue, 22 May 2012 22:58:08 +0000 (23:58 +0100)]
build: Add a copy of the cc-by-sa 3.0 licence for the user manual

Add it to the build too, since we really should be distributing it.

6 years agodocs: Update README and TODO
Philip Withnall [Tue, 22 May 2012 22:57:57 +0000 (23:57 +0100)]
docs: Update README and TODO

6 years agobuild: Fix build of HTML/XHTML versions of the manual
Philip Withnall [Fri, 27 Apr 2012 23:39:33 +0000 (00:39 +0100)]
build: Fix build of HTML/XHTML versions of the manual

Left over from the port to the new yelp-tools.

6 years agoRelease version 0.1.2
Philip Withnall [Fri, 27 Apr 2012 23:30:04 +0000 (00:30 +0100)]
Release version 0.1.2

6 years agodfsm: Disallow negative timeouts for arbitrary transitions
Philip Withnall [Wed, 25 Apr 2012 22:20:16 +0000 (23:20 +0100)]
dfsm: Disallow negative timeouts for arbitrary transitions

There’s a non-zero probability that the normal distribution we use could
generate a negative timeout. As much as I would desire to be able to go back
in time, it probably wouldn’t make GLib very happy. For one thing, Bendy
Buses can’t reach 88mph.

Therefore, we take the absolute value of timeouts.

6 years agoRelease version 0.1.1 0.1.1
Philip Withnall [Wed, 11 Apr 2012 00:12:29 +0000 (01:12 +0100)]
Release version 0.1.1

6 years agobuild: Add missing manual pages to distribution
Philip Withnall [Wed, 11 Apr 2012 00:08:54 +0000 (01:08 +0100)]
build: Add missing manual pages to distribution

6 years agobuild: Add missing machines to distribution
Philip Withnall [Wed, 11 Apr 2012 00:08:38 +0000 (01:08 +0100)]
build: Add missing machines to distribution

Every time. I always forget something.

6 years agoRelease version 0.1.0 0.1.0
Philip Withnall [Tue, 10 Apr 2012 23:16:34 +0000 (00:16 +0100)]
Release version 0.1.0

6 years agobuild: Port from gnome-doc-utils to yelp-tools
Philip Withnall [Wed, 11 Apr 2012 00:00:39 +0000 (01:00 +0100)]
build: Port from gnome-doc-utils to yelp-tools

Welcome to 2012.

6 years agobuild: Add missing test headers to build
Philip Withnall [Wed, 11 Apr 2012 00:00:18 +0000 (01:00 +0100)]
build: Add missing test headers to build

6 years agobuild: Fix `make distcheck` for gtk-doc
Philip Withnall [Tue, 10 Apr 2012 23:24:10 +0000 (00:24 +0100)]
build: Fix `make distcheck` for gtk-doc

6 years agobuild: Add a TODO file
Philip Withnall [Sat, 24 Mar 2012 16:55:48 +0000 (16:55 +0000)]
build: Add a TODO file

6 years agobuild: Add m4/* to MAINTAINERCLEANFILES
Philip Withnall [Sat, 24 Mar 2012 16:52:18 +0000 (16:52 +0000)]
build: Add m4/* to MAINTAINERCLEANFILES

6 years agomachines: Remove UTF-8 from telepathy-cm.machine
Philip Withnall [Tue, 20 Mar 2012 22:04:26 +0000 (22:04 +0000)]
machines: Remove UTF-8 from telepathy-cm.machine

This is being included in the dissertation and the UTF-8 was making LaTeX
choke.

6 years agomachines: Fix some bugs in telepathy-cm.machine
Philip Withnall [Mon, 19 Mar 2012 19:26:34 +0000 (19:26 +0000)]
machines: Fix some bugs in telepathy-cm.machine

These were left over from c2034059dd2e95e7ed41342d7847ac147571db9a.

6 years agodfsm: Use type annotations to give integer types
Philip Withnall [Mon, 19 Mar 2012 16:16:58 +0000 (16:16 +0000)]
dfsm: Use type annotations to give integer types

This removes the ugly postfix syntax for specifying the types of integers,
and uses type annotations instead. This is much more like the GVariant text
format, in that all unannotated integers are presumed to be int32s, and
annotations are used otherwise to specify numeric types.

The only differences now are that libdfsm doesn't support:
 • Full-length type annotations (e.g. ‘uint32 5’ vs. ‘@u 5’)
 • Type inference from surrounding types (e.g. ‘@au [5]’)

6 years agodfsm: Fix a typo in a documentation comment
Philip Withnall [Mon, 19 Mar 2012 14:09:32 +0000 (14:09 +0000)]
dfsm: Fix a typo in a documentation comment

6 years agobendy-bus: Add pages on all the command line programs to the manual
Philip Withnall [Thu, 15 Mar 2012 16:52:58 +0000 (16:52 +0000)]
bendy-bus: Add pages on all the command line programs to the manual

This completes the manual, though it can always be expanded and clarified.

6 years agodfsm: Add all the missing API reference comments
Philip Withnall [Thu, 15 Mar 2012 15:41:13 +0000 (15:41 +0000)]
dfsm: Add all the missing API reference comments

This brings the API reference up to 100% completion.

6 years agobendy-bus: Tidy up some repeated function calls
Philip Withnall [Tue, 28 Feb 2012 09:27:54 +0000 (09:27 +0000)]
bendy-bus: Tidy up some repeated function calls

6 years agodfsm: Fix a comment
Philip Withnall [Sun, 26 Feb 2012 21:06:27 +0000 (21:06 +0000)]
dfsm: Fix a comment

6 years agodfsm: Add an asynchronous factory_from_files() function for creating objects
Philip Withnall [Sun, 26 Feb 2012 20:06:18 +0000 (20:06 +0000)]
dfsm: Add an asynchronous factory_from_files() function for creating objects

6 years agobuild: Add some directories to .gitignore
Philip Withnall [Sun, 26 Feb 2012 17:54:54 +0000 (17:54 +0000)]
build: Add some directories to .gitignore

6 years agobendy-bus: Update the manual’s section on integer arithmetic
Philip Withnall [Sun, 26 Feb 2012 17:49:29 +0000 (17:49 +0000)]
bendy-bus: Update the manual’s section on integer arithmetic

6 years agodfsm: Redefine arithmetic to saturate rather than overflow
Philip Withnall [Sun, 26 Feb 2012 10:58:34 +0000 (10:58 +0000)]
dfsm: Redefine arithmetic to saturate rather than overflow

This also redefines the behaviour of the modulus operator, and tidies up some
implementations which relied on undefined behaviour in C.

6 years agodfsm: Fix lexing of negative numbers
Philip Withnall [Sat, 25 Feb 2012 22:10:05 +0000 (22:10 +0000)]
dfsm: Fix lexing of negative numbers

6 years agobuild: Add some missing files to EXTRA_DIST
Philip Withnall [Sat, 25 Feb 2012 17:56:51 +0000 (17:56 +0000)]
build: Add some missing files to EXTRA_DIST

6 years agodfsm: Add tests of the scheduling algorithm
Philip Withnall [Sat, 25 Feb 2012 17:55:28 +0000 (17:55 +0000)]
dfsm: Add tests of the scheduling algorithm

6 years agodfsm: Add fuzzing test suite
Philip Withnall [Sat, 25 Feb 2012 17:04:50 +0000 (17:04 +0000)]
dfsm: Add fuzzing test suite

6 years agodfsm: Implement proper fuzzing for object paths and type signatures
Philip Withnall [Sat, 25 Feb 2012 17:04:15 +0000 (17:04 +0000)]
dfsm: Implement proper fuzzing for object paths and type signatures

6 years agodfsm: Fix dfsm_ast_transition_get_preconditions() in the documentation
Philip Withnall [Sat, 25 Feb 2012 17:03:36 +0000 (17:03 +0000)]
dfsm: Fix dfsm_ast_transition_get_preconditions() in the documentation

6 years agodfsm: Add a getter method for the statements in a DfsmAstTransition
Philip Withnall [Sat, 25 Feb 2012 17:02:55 +0000 (17:02 +0000)]
dfsm: Add a getter method for the statements in a DfsmAstTransition

6 years agodfsm: Add getter methods for children of DfsmAstStatementAssignment
Philip Withnall [Sat, 25 Feb 2012 17:02:11 +0000 (17:02 +0000)]
dfsm: Add getter methods for children of DfsmAstStatementAssignment

6 years agodfsm: Factor out some common testing code into a new test-utils.c file
Philip Withnall [Sat, 25 Feb 2012 12:08:42 +0000 (12:08 +0000)]
dfsm: Factor out some common testing code into a new test-utils.c file

6 years agodfsm: Add tests for DfsmOutputSequence usage in AST execution
Philip Withnall [Sat, 25 Feb 2012 11:58:43 +0000 (11:58 +0000)]
dfsm: Add tests for DfsmOutputSequence usage in AST execution

6 years agodfsm: Add tests for parser error handling
Philip Withnall [Sat, 25 Feb 2012 10:52:09 +0000 (10:52 +0000)]
dfsm: Add tests for parser error handling

6 years agodfsm: Disallow ‘throwing’ clauses on non-method-triggered preconditions
Philip Withnall [Sat, 25 Feb 2012 10:51:17 +0000 (10:51 +0000)]
dfsm: Disallow ‘throwing’ clauses on non-method-triggered preconditions

For the same reason we disallow ‘throw’ statements in those transitions too.

6 years agodfsm: Move parser-test.machine into ast.c
Philip Withnall [Sat, 25 Feb 2012 10:08:25 +0000 (10:08 +0000)]
dfsm: Move parser-test.machine into ast.c

This makes the tests a little more fine-grained.

6 years agodoc: Mention the interim location for the manual in the README
Philip Withnall [Sun, 19 Feb 2012 23:07:16 +0000 (23:07 +0000)]
doc: Mention the interim location for the manual in the README

6 years agobuild: Add index.page to the build
Philip Withnall [Sun, 19 Feb 2012 21:04:32 +0000 (21:04 +0000)]
build: Add index.page to the build

6 years agobendy-bus: Expand and improve the bendy-bus user manual
Philip Withnall [Sun, 19 Feb 2012 21:02:34 +0000 (21:02 +0000)]
bendy-bus: Expand and improve the bendy-bus user manual

6 years agomachines: Add support for SetAliases and SetContactInfo to Telepathy machines
Philip Withnall [Sun, 19 Feb 2012 15:06:13 +0000 (15:06 +0000)]
machines: Add support for SetAliases and SetContactInfo to Telepathy machines

6 years agomachines: Add support for RequestHandles and AddMembers to Telepathy machines
Philip Withnall [Sun, 19 Feb 2012 15:04:57 +0000 (15:04 +0000)]
machines: Add support for RequestHandles and AddMembers to Telepathy machines

6 years agomachines: s/cmname/cm/ and s/proto/protocol/ in the Telepathy machines
Philip Withnall [Sun, 19 Feb 2012 14:55:54 +0000 (14:55 +0000)]
machines: s/cmname/cm/ and s/proto/protocol/ in the Telepathy machines

This is for consistency with the libfolks test suite, so that we can re-use
as much of the Telepathy machines between bendy-bus and the test suite as
possible.

6 years agodfsm: Fix dependency loop with DfsmEnvironment/DfsmAstExpression better
Philip Withnall [Sun, 19 Feb 2012 13:27:43 +0000 (13:27 +0000)]
dfsm: Fix dependency loop with DfsmEnvironment/DfsmAstExpression better

…by splitting DfsmEnvironment’s function handling methods out into a separate
header file.

6 years agobendy-bus: Expand the Bendy Bus manual
Philip Withnall [Sun, 19 Feb 2012 13:08:05 +0000 (13:08 +0000)]
bendy-bus: Expand the Bendy Bus manual

The pages describing the simulation language are mostly complete, excluding
sections on data structures, built-in functions, D-Bus interfaces and
fuzzing.

This also includes some additions to the Makefile to allow the documentation
to be compiled to HTML if yelp-tools are installed.

6 years agobuild: Add Mallard support to bendy-bus
Philip Withnall [Sun, 19 Feb 2012 00:15:31 +0000 (00:15 +0000)]
build: Add Mallard support to bendy-bus

This includes the beginnings of a user manual, including language
documentation.

6 years agodocs: Add missing documentation comments to libdfsm
Philip Withnall [Sat, 18 Feb 2012 23:10:31 +0000 (23:10 +0000)]
docs: Add missing documentation comments to libdfsm

6 years agodocs: Various minor fixes to the libdfsm documentation
Philip Withnall [Sat, 18 Feb 2012 22:31:36 +0000 (22:31 +0000)]
docs: Various minor fixes to the libdfsm documentation

6 years agodfsm: Manually expand out DFSM_CONSTRUCTOR function attribute
Philip Withnall [Sat, 18 Feb 2012 22:24:29 +0000 (22:24 +0000)]
dfsm: Manually expand out DFSM_CONSTRUCTOR function attribute

gtk-doc was choking on it, so we manually expand it out in all headers and
remove the original definition of it.

6 years agodfsm: Add a missing symbol to dfsm.symbols
Philip Withnall [Sat, 18 Feb 2012 22:07:51 +0000 (22:07 +0000)]
dfsm: Add a missing symbol to dfsm.symbols

6 years agobuild: Add gtk-doc support to libdfsm
Philip Withnall [Sat, 18 Feb 2012 22:07:36 +0000 (22:07 +0000)]
build: Add gtk-doc support to libdfsm

6 years agodfsm: Fix handling of already-owned well-known names on the bus
Philip Withnall [Sat, 18 Feb 2012 13:49:58 +0000 (13:49 +0000)]
dfsm: Fix handling of already-owned well-known names on the bus

We previously didn't handle failure to grab a well-known name, which caused
problems when registering/unregistering objects in a tight loop (and leaking
some of the registrations).

6 years agodfsm: Add signals to DfsmObject and DfsmMachine for control over transitions
Philip Withnall [Sat, 18 Feb 2012 13:48:35 +0000 (13:48 +0000)]
dfsm: Add signals to DfsmObject and DfsmMachine for control over transitions

This allows client applications (such as unit tests) to programmatically
control which transitions are made by the simulation, or to selectively
override certain transitions with their own implementation.

6 years agodfsm: Add a dictToTupleArray() built-in function
Philip Withnall [Sat, 18 Feb 2012 13:39:30 +0000 (13:39 +0000)]
dfsm: Add a dictToTupleArray() built-in function

6 years agodfsm: Add a pkgconfig file
Philip Withnall [Thu, 16 Feb 2012 15:41:47 +0000 (15:41 +0000)]
dfsm: Add a pkgconfig file

6 years agomachines: Delete some unreachable states found by bendy-bus-lint
Philip Withnall [Mon, 6 Feb 2012 22:40:47 +0000 (22:40 +0000)]
machines: Delete some unreachable states found by bendy-bus-lint

6 years agobendy-bus-lint: Check for and error on unreachable states in any object
Philip Withnall [Mon, 6 Feb 2012 22:40:22 +0000 (22:40 +0000)]
bendy-bus-lint: Check for and error on unreachable states in any object

6 years agodfsm: Comment out debug code
Philip Withnall [Mon, 6 Feb 2012 22:39:57 +0000 (22:39 +0000)]
dfsm: Comment out debug code

6 years agodfsm: Implement state reachability checking for DfsmMachines
Philip Withnall [Sun, 5 Feb 2012 18:23:15 +0000 (18:23 +0000)]
dfsm: Implement state reachability checking for DfsmMachines

This allows the reachability of the various states in the DfsmMachine to
be statically checked. This is implemented using a modified form of
Dijkstra's algorithm.

6 years agodfsm: Fix a comment
Philip Withnall [Sun, 5 Feb 2012 14:51:20 +0000 (14:51 +0000)]
dfsm: Fix a comment

6 years agodfsm: Add some parser/lexer tests
Philip Withnall [Sun, 5 Feb 2012 13:34:14 +0000 (13:34 +0000)]
dfsm: Add some parser/lexer tests

6 years agodfsm: Fix lexing of non-ASCII strings
Philip Withnall [Sun, 5 Feb 2012 13:03:50 +0000 (13:03 +0000)]
dfsm: Fix lexing of non-ASCII strings

6 years agodfsm: Remove unused lines from dfsm-flex.l
Philip Withnall [Sun, 5 Feb 2012 12:48:27 +0000 (12:48 +0000)]
dfsm: Remove unused lines from dfsm-flex.l

6 years agodfsm: Use a normal distribution for transition timeouts
Philip Withnall [Sun, 5 Feb 2012 12:41:15 +0000 (12:41 +0000)]
dfsm: Use a normal distribution for transition timeouts

This tightens the peak around 100ms timeouts which should reduce the number
of times we pointlessly wait longer periods between transitions.

This uses the Box–Muller method to generate values from a normal
distribution, and adds a dependency on libm.

6 years agobendy-bus: Really fix stop_simulation()
Philip Withnall [Thu, 2 Feb 2012 22:59:23 +0000 (22:59 +0000)]
bendy-bus: Really fix stop_simulation()

6 years agobendy-bus: Fix stop_simulation() if it’s called multiple times
Philip Withnall [Tue, 31 Jan 2012 18:11:32 +0000 (18:11 +0000)]
bendy-bus: Fix stop_simulation() if it’s called multiple times

6 years agobendy-bus: Fix test program working directory
Philip Withnall [Sun, 29 Jan 2012 13:29:45 +0000 (13:29 +0000)]
bendy-bus: Fix test program working directory

6 years agomachines: Update Telepathy machines to work a little better
Philip Withnall [Sat, 28 Jan 2012 23:27:56 +0000 (23:27 +0000)]
machines: Update Telepathy machines to work a little better

6 years agodfsm: Fix a GVariant ref-counting problem
Philip Withnall [Sat, 28 Jan 2012 23:27:34 +0000 (23:27 +0000)]
dfsm: Fix a GVariant ref-counting problem

6 years agodfsm: Fix string fuzzing for Unicode strings
Philip Withnall [Sat, 28 Jan 2012 23:26:50 +0000 (23:26 +0000)]
dfsm: Fix string fuzzing for Unicode strings

I completely messed up the block separation character replacement mode the
first time round. Let’s have another go.

6 years agomachines: Tidy up machines and formalise normal and full variants
Philip Withnall [Sat, 28 Jan 2012 22:22:32 +0000 (22:22 +0000)]
machines: Tidy up machines and formalise normal and full variants

The full variants have all the error-throwing transitions, whereas the normal
variants don’t.

6 years agobendy-bus: Add a --unfuzzed-transition-limit parameter
Philip Withnall [Sat, 28 Jan 2012 21:37:10 +0000 (21:37 +0000)]
bendy-bus: Add a --unfuzzed-transition-limit parameter

See the previous commit.

6 years agodfsm: Add support for enabling fuzzing after a certain number of transitions
Philip Withnall [Sat, 28 Jan 2012 21:35:29 +0000 (21:35 +0000)]
dfsm: Add support for enabling fuzzing after a certain number of transitions

Before fuzzing is enabled, no data structure fuzzing takes place, and no
error-throwing transitions are executed (if at all possible; if they're the
only option, then they will be executed). This should allow for experiments
into the depth of the test program's state space which we can reach.

6 years agodfsm: Fix string length in the string fuzzer
Philip Withnall [Sat, 28 Jan 2012 16:04:32 +0000 (16:04 +0000)]
dfsm: Fix string length in the string fuzzer

6 years agodfsm: Add a string fuzzing mode which replaces letters with block separators
Philip Withnall [Sat, 28 Jan 2012 12:57:09 +0000 (12:57 +0000)]
dfsm: Add a string fuzzing mode which replaces letters with block separators

This might provoke some bugs in EDS’ vCard parsing code, specifically in its
handling of quoted-printable line encodings.

6 years agodfsm: Fix floating point comparison in dfsm-probabilities.h
Philip Withnall [Sat, 28 Jan 2012 12:56:25 +0000 (12:56 +0000)]
dfsm: Fix floating point comparison in dfsm-probabilities.h

We should be comparing the absolute difference to DBL_EPSILON, rather than
asserting the two floating point numbers are bitwise equal.

6 years agodfsm: Add more block separator characters for string fuzzing
Philip Withnall [Sat, 28 Jan 2012 12:19:56 +0000 (12:19 +0000)]
dfsm: Add more block separator characters for string fuzzing

6 years agodfsm: Fix some hash table unref problems
Philip Withnall [Fri, 27 Jan 2012 09:11:16 +0000 (09:11 +0000)]
dfsm: Fix some hash table unref problems

6 years agobendy-bus: Adapt to changes in the DfsmObject API
Philip Withnall [Thu, 26 Jan 2012 21:57:42 +0000 (21:57 +0000)]
bendy-bus: Adapt to changes in the DfsmObject API

As per commit fe5e1b598b6b901fdb04f273495be407d13235bb.

6 years agodfsm: Move well-known bus name ownership into dfsm_object_register_on_bus()
Philip Withnall [Thu, 26 Jan 2012 21:57:05 +0000 (21:57 +0000)]
dfsm: Move well-known bus name ownership into dfsm_object_register_on_bus()

It’s inherently a part of the simulation, so shouldn’t be left to clients.

6 years agodfsm: Use transition nicknames in debug messages
Philip Withnall [Thu, 26 Jan 2012 17:58:23 +0000 (17:58 +0000)]
dfsm: Use transition nicknames in debug messages

6 years agobuild: Make sure all public headers are actually installed
Philip Withnall [Thu, 26 Jan 2012 17:43:07 +0000 (17:43 +0000)]
build: Make sure all public headers are actually installed

6 years agodfsm: Add support for nicknames on fuzzy data structures
Philip Withnall [Thu, 26 Jan 2012 17:38:58 +0000 (17:38 +0000)]
dfsm: Add support for nicknames on fuzzy data structures

This will allow them to be looked up more easily in unit tests.

6 years agodfsm: Add support for nicknames on DfsmAstObjectTransitions
Philip Withnall [Thu, 26 Jan 2012 17:05:01 +0000 (17:05 +0000)]
dfsm: Add support for nicknames on DfsmAstObjectTransitions

This will allow them to be looked up more easily in unit tests.

6 years agobendy-bus: Add a SIGKILL on a timeout when stopping the simulation
Philip Withnall [Thu, 26 Jan 2012 16:37:45 +0000 (16:37 +0000)]
bendy-bus: Add a SIGKILL on a timeout when stopping the simulation

Sometimes the test program won’t respond to SIGTERM. Since we now wait for
notification that the child process has died, the simulation will continue
running forever in this case. This is bad. Consequently, we now send a
SIGKILL to the child process after a 15 second timeout if it doesn’t respond
to SIGTERM.

This does mean that the process won’t (for example) write out code coverage
files (since a process has to exit cleanly to do that), but in this situation
we can never hope to get those anyway. It’s better to kill the process and
just start on another test run than continue on the current one indefinitely.

6 years agobendy-bus: Wait for test program to die before stopping the simulation
Philip Withnall [Wed, 25 Jan 2012 20:37:54 +0000 (20:37 +0000)]
bendy-bus: Wait for test program to die before stopping the simulation

When we want to stop the simulation, we need to send SIGTERM to the test
program, _and then wait for it to die_ before we continue shutting down the
simulation. This is because test programs may handle SIGTERM and spend a
while shutting themselves down. Evolution does, for example.

If programs do that but we continue to shut down without waiting for them,
when running bendy-bus-lcov, we'll end up trying to process the test
program's .gcda files before the program has written them yet.

6 years agomachines: Add some more structure to eds-address-book.machine’s vCards
Philip Withnall [Wed, 25 Jan 2012 16:57:33 +0000 (16:57 +0000)]
machines: Add some more structure to eds-address-book.machine’s vCards

Built the fuzzy vCard strings from a fuzzed array of valid vCard properties.

This assumes that EDS’ vCard parser is very reliable when it comes to
handling invalidly-structured vCards. Instead, we now concentrate on slipping
invalid property values (or invalid combinations of properties) past the
parser and deeper into EDS.

6 years agodfsm: Add a new stringJoin() built-in function
Philip Withnall [Wed, 25 Jan 2012 16:56:12 +0000 (16:56 +0000)]
dfsm: Add a new stringJoin() built-in function

This will join together all the strings in an array, using an optional
separator string.

6 years agomachines: Update eds-address-book.machine to EDS address book API v3
Philip Withnall [Tue, 24 Jan 2012 00:49:46 +0000 (00:49 +0000)]
machines: Update eds-address-book.machine to EDS address book API v3

6 years agobendy-bus: Add more pass-through environment pairs
Philip Withnall [Tue, 24 Jan 2012 00:37:48 +0000 (00:37 +0000)]
bendy-bus: Add more pass-through environment pairs

Ensure we cover the entire XDG spec.

6 years agomachines: Add AddressBookView support to eds-address-book.machine
Philip Withnall [Mon, 23 Jan 2012 23:33:50 +0000 (23:33 +0000)]
machines: Add AddressBookView support to eds-address-book.machine

This completes eds-address-book.machine, albeit commenting out some of the
code which checks book creation in the process.