<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dome-key-map, branch v0.1.0</title>
<subtitle>DomeKey core library</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/'/>
<entry>
<title>Add README</title>
<updated>2018-11-22T04:38:47+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-22T04:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=70a93073398e28d66386f69a973bf7a353388e69'/>
<id>70a93073398e28d66386f69a973bf7a353388e69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>.gitmodules: Switch to the dome_key_event_source_simulator public repo</title>
<updated>2018-11-22T04:23:49+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-22T04:23:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=3279de9f61d4800809efce30941995bfbb32baba'/>
<id>3279de9f61d4800809efce30941995bfbb32baba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license</title>
<updated>2018-11-22T03:31:13+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-22T03:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=1c1958c40b62c02032ff8b41c6ad38563bb27617'/>
<id>1c1958c40b62c02032ff8b41c6ad38563bb27617</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>map_group(): Fix error when mappings start with comment or whitespace</title>
<updated>2018-11-05T03:29:00+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-05T03:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=d608a23da62c9a93c01802997f1204fd494eb97d'/>
<id>d608a23da62c9a93c01802997f1204fd494eb97d</id>
<content type='text'>
Previously we'd get an error if the first lines in the mappings file
were blank or comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we'd get an error if the first lines in the mappings file
were blank or comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>parser: Add tests for initial whitespace and comments in mappings file</title>
<updated>2018-11-05T02:39:50+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-05T02:39:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=2495cd60c34061b4e2b383beee6947787388f4cf'/>
<id>2495cd60c34061b4e2b383beee6947787388f4cf</id>
<content type='text'>
This broke recently I think. You can no longer have a mappings file that
starts with blank lines or comment lines.

Removing the empty and blank handler in `definitions()` fixes the tests
added by this commit but fails these:

    parser::tests::map_group_empty_input_does_not_fail
    parser::tests::map_group_skipped_input_outputs_default_map_group

Using this diff:

    diff --git a/src/parser.rs b/src/parser.rs
    index 3f3d7b9..d18b56a 100644
    --- a/src/parser.rs
    +++ b/src/parser.rs
    @@ -629,11 +629,11 @@ where
         I: Stream&lt;Item = char&gt;,
         I::Error: ParseError&lt;I::Item, I::Range, I::Position&gt;,
     {
    -    or(
    -        (
    -            blank(),
    -            eof(),
    -        ).map(|_| MapGroup::default()),
    +    // or(
    +    //     (
    +    //         blank(),
    +    //         eof(),
    +    //     ).map(|_| MapGroup::default()),
             (
                 definitions(),
                 eof(),
    @@ -661,8 +661,8 @@ where
                 }

                 map_group
    -        }),
    -    )
    +        })
    +    // )
     }

     fn comment&lt;I&gt;() -&gt; impl Parser&lt;Input = I&gt;

Need to figure out some way to get both sets of tests to pass.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This broke recently I think. You can no longer have a mappings file that
starts with blank lines or comment lines.

Removing the empty and blank handler in `definitions()` fixes the tests
added by this commit but fails these:

    parser::tests::map_group_empty_input_does_not_fail
    parser::tests::map_group_skipped_input_outputs_default_map_group

Using this diff:

    diff --git a/src/parser.rs b/src/parser.rs
    index 3f3d7b9..d18b56a 100644
    --- a/src/parser.rs
    +++ b/src/parser.rs
    @@ -629,11 +629,11 @@ where
         I: Stream&lt;Item = char&gt;,
         I::Error: ParseError&lt;I::Item, I::Range, I::Position&gt;,
     {
    -    or(
    -        (
    -            blank(),
    -            eof(),
    -        ).map(|_| MapGroup::default()),
    +    // or(
    +    //     (
    +    //         blank(),
    +    //         eof(),
    +    //     ).map(|_| MapGroup::default()),
             (
                 definitions(),
                 eof(),
    @@ -661,8 +661,8 @@ where
                 }

                 map_group
    -        }),
    -    )
    +        })
    +    // )
     }

     fn comment&lt;I&gt;() -&gt; impl Parser&lt;Input = I&gt;

Need to figure out some way to get both sets of tests to pass.
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: Organise targets a bit</title>
<updated>2018-11-05T00:47:47+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-05T00:47:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=0c6ad19a5e1c6b331df04f95b804de35cc2ef52e'/>
<id>0c6ad19a5e1c6b331df04f95b804de35cc2ef52e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: Remove `includer` and `moder` targets</title>
<updated>2018-11-05T00:45:30+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-05T00:41:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=44119ce51728254e0a925f63ac87029043f7321f'/>
<id>44119ce51728254e0a925f63ac87029043f7321f</id>
<content type='text'>
Don't need these programs any more, so the build recipes for them don't
really make sense to keep.

Also remove the `clean` target since it only relates to `includer` and
`moder`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't need these programs any more, so the build recipes for them don't
really make sense to keep.

Also remove the `clean` target since it only relates to `includer` and
`moder`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase version v0.0.1 -&gt; v0.1.0</title>
<updated>2018-11-04T17:11:14+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-04T17:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=29bc22d4b4881acb2eb6534af1d260f52bac7bdb'/>
<id>29bc22d4b4881acb2eb6534af1d260f52bac7bdb</id>
<content type='text'>
Ready for a stable release.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ready for a stable release.
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: Add targets for release build</title>
<updated>2018-11-04T16:50:06+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-04T16:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=7d3c563b129acff2502cb480e07ca68db097c742'/>
<id>7d3c563b129acff2502cb480e07ca68db097c742</id>
<content type='text'>
* Release targets for 'dome_key_event_source_simulator'
* Add `release` target
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Release targets for 'dome_key_event_source_simulator'
* Add `release` target
</pre>
</div>
</content>
</entry>
<entry>
<title>trial: Set a proper encryption key</title>
<updated>2018-11-03T18:41:01+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-03T18:41:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome-key-map/commit/?id=95284d5ed66f3ae74db4861e0118d4ad2486556b'/>
<id>95284d5ed66f3ae74db4861e0118d4ad2486556b</id>
<content type='text'>
Remove the TODO key and use a real one instead. A description of the
program.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the TODO key and use a real one instead. A description of the
program.
</pre>
</div>
</content>
</entry>
</feed>
