<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi Luke,</p>

<p dir="auto">Thanks for putting this together! In the meantime, CI testing has highlighted an issue that will need to be solved before this can be pulled in — namely that <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">NSKeyedUnarchiver</code> is currently incomplete as it does not implement or override <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">failWithError</code> properly.<br>
This is something we’ll need to do in order to support this properly.</p>

<p dir="auto">— Itai</p>

<p dir="auto">On 27 Sep 2017, at 7:35, Luke Howard wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:normal"></div>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div id="6279BC4A-5874-439E-8BBB-F0E8059C3234"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Still having trouble building it on Linux – I did kind of get it built from swift-4.0-branch, but didn’t have a working lldb so was difficult to debug (except by printf). Currently appear to be running into SR-5938 when trying to build from master.<div class=""><br class=""><div class=""><div class=""><div><blockquote type="cite" class=""><div class="">On 26 Sep 2017, at 09:37, Luke Howard via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Itai,<div class=""><br class=""></div><div class="">Pull request is&nbsp;<a href="https://github.com/apple/swift-corelibs-foundation/pull/1237" class="">here</a>, unfortunately tests are failing on Linux. I’m still trying to get Swift built on Linux so I can investigate (didn’t have any luck using the prebuilt binaries to build Foundation).</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Luke</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 26 Sep 2017, at 06:24, Itai Ferber &lt;<a href="mailto:iferber@apple.com" class="">iferber@apple.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">


<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" class="">

<div class="">
<div style="font-family:sans-serif" class=""><div style="white-space:normal" class=""><p dir="auto" class="">Hi Luke,</p><p dir="auto" class="">Thanks for putting this together! Do you mind putting that up as a <a href="https://github.com/apple/swift-corelibs-foundation/pulls" style="color:#3983C4" class="">pull request</a> so we can review it more formally and run it through CI?</p><p dir="auto" class="">— Itai</p><p dir="auto" class="">On 22 Sep 2017, at 19:53, Luke Howard via swift-corelibs-dev wrote:</p>

</div>
<div style="white-space:normal" class=""></div>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px" class=""><div id="0EA13728-A891-4579-9780-9049A9A527B4" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Had a crack on this, is anyone able to test this on Linux?<div class=""><br class=""></div><div class=""><a href="https://github.com/lhoward/swift-corelibs-foundation/commit/8f8d16c8d68f1af7730522e728d96f8d93c88a2e" class="">https://github.com/lhoward/swift-corelibs-foundation/commit/8f8d16c8d68f1af7730522e728d96f8d93c88a2e</a></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 20 Sep 2017, at 23:30, Luke Howard via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I’m fairly out of touch with Swift these days, but I took a quick look at importing the encodeEncodable/decodeDecodable changes from stdlib into SwiftFoundation.<div class=""><br class=""></div><div class="">I ran into a bunch of bridging issues with the PropertyListDecoder, where it would be balk on the encoded property list types being Foundation instead of Swift types (e.g. “Expected to decode Dictionary&lt;String, Any&gt; but found a dictionary instead”).</div><div class=""><br class=""></div><div class="">Not sure the best way to workaround these: I started doing so explicitly in the unbox methods, but it didn’t feel intuitively right (apart from all the boilerplate code, sometimes the input value would be a Foundation object, other times not). I haven’t had time to investigate further.</div><div class=""><div class=""><br class=""><div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 12px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><span style="-webkit-font-kerning: none;" class="">Luke Howard</span></div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 10px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><a href="http://lukehoward.com/" class="">web</a>&nbsp;/&nbsp;<a href="https://www.facebook.com/lukehowardmusic" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">facebook</span></a>&nbsp;/&nbsp;<a href="https://soundcloud.com/lukehoward/" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">soundcloud</span></a>&nbsp;/&nbsp;<span style="line-height: normal; -webkit-font-kerning: none;" class=""><a href="https://open.spotify.com/artist/3duTXsC49HoPt4f4EySDKf" class="">spotify</a></span></div></div></div></div></div>_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br class=""></div></blockquote></div><br class=""><div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 12px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><span style="-webkit-font-kerning: none;" class="">Luke Howard</span></div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 10px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><a href="http://lukehoward.com/" class="">web</a>&nbsp;/&nbsp;<a href="https://www.facebook.com/lukehowardmusic" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">facebook</span></a>&nbsp;/&nbsp;<a href="https://soundcloud.com/lukehoward/" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">soundcloud</span></a>&nbsp;/&nbsp;<a href="https://open.spotify.com/artist/3duTXsC49HoPt4f4EySDKf" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">spotify</span></a></div>
</div>
<br class=""></div></div></div></blockquote>
<div style="white-space:normal" class="">
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px" class="">
</blockquote><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px" class=""><p dir="auto" class="">_______________________________________________<br class="">
swift-corelibs-dev mailing list<br class="">
<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" style="color:#777" class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a></p>
</blockquote></div>
<div style="white-space:normal" class="">
</div>
</div>
</div>

</div></blockquote></div><br class=""><div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 12px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><span style="-webkit-font-kerning: none;" class="">Luke Howard</span></div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 10px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><a href="http://lukehoward.com/" class="">web</a>&nbsp;/&nbsp;<a href="https://www.facebook.com/lukehowardmusic" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">facebook</span></a>&nbsp;/&nbsp;<a href="https://soundcloud.com/lukehoward/" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">soundcloud</span></a>&nbsp;/&nbsp;<a href="https://open.spotify.com/artist/3duTXsC49HoPt4f4EySDKf" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">spotify</span></a></div>
</div>
<br class=""></div></div>_______________________________________________<br class="">swift-corelibs-dev mailing list<br class=""><a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev<br class=""></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 12px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><span style="-webkit-font-kerning: none;" class="">Luke Howard</span></div><div style="color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 10px; line-height: normal; font-family: 'Akzidenz-Grotesk Pro';" class=""><a href="http://lukehoward.com" class="">web</a>&nbsp;/&nbsp;<a href="https://www.facebook.com/lukehowardmusic" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">facebook</span></a>&nbsp;/&nbsp;<a href="https://soundcloud.com/lukehoward/" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">soundcloud</span></a>&nbsp;/&nbsp;<a href="https://open.spotify.com/artist/3duTXsC49HoPt4f4EySDKf" class=""><span style="line-height: normal; -webkit-font-kerning: none;" class="">spotify</span></a></div>
</div>
<br class=""></div></div></div></div></div></blockquote>
<div style="white-space:normal">
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
</blockquote></div>
<div style="white-space:normal">
</div>
</div>
</body>
</html>