<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dome_key_event_source_simulator, branch master</title>
<subtitle>Special function key simulator library for DomeKey</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/'/>
<entry>
<title>Merge branch 'MPL-license'</title>
<updated>2018-12-12T19:49:28+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-12T19:49:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=80522d7732ad9775f921b1b9f2a750c01d67a3f5'/>
<id>80522d7732ad9775f921b1b9f2a750c01d67a3f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Relicense under the Mozilla Public License v. 2.0</title>
<updated>2018-12-12T19:47:37+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-12T19:47:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=0026a7957d43f4997a0af473cc7ea0600261495c'/>
<id>0026a7957d43f4997a0af473cc7ea0600261495c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add README</title>
<updated>2018-11-21T21:02:34+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-21T20:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=77bb59f63a51c5b70ae9ae2baf7c003e97f6cfa1'/>
<id>77bb59f63a51c5b70ae9ae2baf7c003e97f6cfa1</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-21T17:57:06+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-21T17:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=ce409d3c674853daf0c49aafbc8f20bd340ce2a3'/>
<id>ce409d3c674853daf0c49aafbc8f20bd340ce2a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: Add `build-release` target</title>
<updated>2018-11-04T15:37:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-11-04T15:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=fafbc6a23408e071d6cbff858e8492b8abab479c'/>
<id>fafbc6a23408e071d6cbff858e8492b8abab479c</id>
<content type='text'>
Build a release version of the library. To get these recipies, did what
I did before for the debug ones. Ran

    $ xcodebuild -scheme dome_key_event_source_simulator -configuration Release

and copy-pasted the result, with these changes:

* Removed "sysroot"-related arguments (for Rust integration)
* Changed absolute paths to use `${HOME}`
* Replaced DerivedData directory path hash with `*`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Build a release version of the library. To get these recipies, did what
I did before for the debug ones. Ran

    $ xcodebuild -scheme dome_key_event_source_simulator -configuration Release

and copy-pasted the result, with these changes:

* Removed "sysroot"-related arguments (for Rust integration)
* Changed absolute paths to use `${HOME}`
* Replaced DerivedData directory path hash with `*`
</pre>
</div>
</content>
</entry>
<entry>
<title>Change Cocoa import to be more specific</title>
<updated>2018-10-15T18:16:02+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-10-15T18:16:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=7c534c3c3d73666d24f7ba858f8ee9314ffa2707'/>
<id>7c534c3c3d73666d24f7ba858f8ee9314ffa2707</id>
<content type='text'>
Instead of including Cocoa as a whole, include the specific frameworks
that the library depends on. `NSEvent` is in `AppKit` and `CGEvent` etc.
is in `CoreGraphics`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of including Cocoa as a whole, include the specific frameworks
that the library depends on. `NSEvent` is in `AppKit` and `CGEvent` etc.
is in `CoreGraphics`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: Move `xcodebuild` steps into Make</title>
<updated>2018-10-15T17:58:36+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-10-15T17:58:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=c089d8cc157fc4298b0e2bca0f8665f7ffe5a8c7'/>
<id>c089d8cc157fc4298b0e2bca0f8665f7ffe5a8c7</id>
<content type='text'>
I needed to remove the `-isysroot` compiler flag in order to get the
static library to build in my Rust project without the

    ld: framework not found ColorSync for architecture x86_64

linker error (which is apparently caused by the fact that I'm building
against a 10.13 SDK on a machine running 10.12, since ColorSync exists
only on 10.13).

Not sure if there's a way to have Xcode not use the `-isysroot` flag and
let us continue to build using `xcodebuild`.

Just copy-pasted the build output including exported environment
variables. I removed machine-specific things like absolute paths to my
home directory and the hash after the DerivedData directory.

Not very clean, but it seems to work.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I needed to remove the `-isysroot` compiler flag in order to get the
static library to build in my Rust project without the

    ld: framework not found ColorSync for architecture x86_64

linker error (which is apparently caused by the fact that I'm building
against a 10.13 SDK on a machine running 10.12, since ColorSync exists
only on 10.13).

Not sure if there's a way to have Xcode not use the `-isysroot` flag and
let us continue to build using `xcodebuild`.

Just copy-pasted the build output including exported environment
variables. I removed machine-specific things like absolute paths to my
home directory and the hash after the DerivedData directory.

Not very clean, but it seems to work.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory error</title>
<updated>2018-10-15T17:32:12+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-10-15T17:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=a7887d2c3282d6444ebb73b3f7a365c7d244a326'/>
<id>a7887d2c3282d6444ebb73b3f7a365c7d244a326</id>
<content type='text'>
Thanks to Xcode's analyser, I was finally clued into the fact that this
`CFRelease` was freeing a non-owned object, resulting in an extra free.
Remove this to resolve our memory management problems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Xcode's analyser, I was finally clued into the fact that this
`CFRelease` was freeing a non-owned object, resulting in an extra free.
Remove this to resolve our memory management problems.
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: Add a `clean` target</title>
<updated>2018-10-15T17:31:56+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-10-15T17:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=051a9afdad6a004053bbfc1adf25b9d28b67c31f'/>
<id>051a9afdad6a004053bbfc1adf25b9d28b67c31f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Turn off ARC</title>
<updated>2018-10-15T17:30:18+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-10-15T17:30:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dome_key_event_source_simulator/commit/?id=51a574c13e42d565e530fcb88b6b8bcdfd45f3e3'/>
<id>51a574c13e42d565e530fcb88b6b8bcdfd45f3e3</id>
<content type='text'>
I'm getting a SIGTERM or segfault when running the library code from
Rust, so let's turn off ARC just in case and handle memory management
manually.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm getting a SIGTERM or segfault when running the library code from
Rust, so let's turn off ARC just in case and handle memory management
manually.
</pre>
</div>
</content>
</entry>
</feed>
