Re: [swift-corelibs-dev] Packaging Everything for Testing

2015-12-11 Thread Dmitri Gribenko via swift-corelibs-dev
On Fri, Dec 11, 2015 at 7:13 PM, Joseph Bell via swift-corelibs-dev < swift-corelibs-dev@swift.org> wrote: > Howdy, > > I have been using the SNAPSHOT .tar.gz to write some basic Swift > applications, and now wanted to turn my attention to compiling with the > latest coming out of the corelibs-fou

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread David P Grove via swift-corelibs-dev
Thanks Pierre. We made a little progress on getting tests to compile this afternoon: https://github.com/dgrove-oss/swift-corelibs-libdispatch/tree/fixtests Absolutely not ready for a pull request, but mentioning it in case anyone else was starting on the same task and wanted to collaborate. --da

Re: [swift-corelibs-dev] NSDecimal & NSDecimalNumber

2015-12-11 Thread Brent Royal-Gordon via swift-corelibs-dev
> This may be better suited to swift-evolution or users list, but regarding > fatalError do you have any techniques for testing this behavior? I believe the Swift compiler’s tests run code it expects to trap in a separate process and verify that the other process trapped. We may want to think ab

Re: [swift-corelibs-dev] NSDecimal & NSDecimalNumber

2015-12-11 Thread Tony Parker via swift-corelibs-dev
> On Dec 11, 2015, at 1:02 PM, Dan Thorpe wrote: > > Thanks for the clarification Tony - and for reminding me of the primary goal > r.e. API compatibility. :) > > This may be better suited to swift-evolution or users list, but regarding > fatalError do you have any techniques for testing this

Re: [swift-corelibs-dev] NSDecimal & NSDecimalNumber

2015-12-11 Thread Dan Thorpe via swift-corelibs-dev
Thanks for the clarification Tony - and for reminding me of the primary goal r.e. API compatibility. :) This may be better suited to swift-evolution or users list, but regarding fatalError do you have any techniques for testing this behavior? I was thinking about an internal try/throw/ layer (w

Re: [swift-corelibs-dev] NSDate Comparable & Equatable

2015-12-11 Thread Tony Parker via swift-corelibs-dev
Hi James, Here’s the start of the thread in the archives: https://lists.swift.org/pipermail/swift-corelibs-dev/Week-of-Mon-20151130/77.html - Tony > On Dec 11, 2015, at 11:46 AM, James Lee via swift-corelibs-dev > wrote: > > Hi all, > > I raised PR 119 yesterday with a comment from Tony

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread Pierre Habouzit via swift-corelibs-dev
I was talking about the *dispatch* run loop code. I'm not sure it's needed. The main queue is a different story. -Pierre on his iPhone > On 11 déc. 2015, at 11:28, Tony Parker via swift-corelibs-dev > wrote: > > >>> On Dec 11, 2015, at 11:25 AM, Pierre Habouzit via swift-corelibs-dev >>>

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread Tony Parker via swift-corelibs-dev
> On Dec 11, 2015, at 11:25 AM, Pierre Habouzit via swift-corelibs-dev > wrote: > >> On Dec 11, 2015, at 9:57 AM, Pierre Habouzit via swift-corelibs-dev >> mailto:swift-corelibs-dev@swift.org>> wrote: >> >>> >>> On Dec 11, 2015, at 9:02 AM, Philippe Hausler via swift-corelibs-dev >>> mailto

Re: [swift-corelibs-dev] NSDecimal & NSDecimalNumber

2015-12-11 Thread Tony Parker via swift-corelibs-dev
Hi Dan, Florian, I agree with Philippe that NSDecimal is a particularly troublesome area in terms of how poorly the API is imported into Swift. Since NSDecimal is already a value type, it may be possible to do something better here ourselves without worrying about the bridging problem. It would

Re: [swift-corelibs-dev] NSDate, NSDateFormatter

2015-12-11 Thread Tony Parker via swift-corelibs-dev
Hi Joe, Sure, bug reports are appreciated. If you have the ability to check out the whole stack and try ToT, that would be great too. We are moving extremely rapidly right now on implementing missing pieces of Foundation. - Tony > On Dec 11, 2015, at 10:53 AM, Joseph Bell wrote: > > Thanks

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread Pierre Habouzit via swift-corelibs-dev
> On Dec 11, 2015, at 9:02 AM, Philippe Hausler via swift-corelibs-dev > wrote: > > This is only tangentially related: but I was attempting to build dispatch as > well to start work on CFRunLoop and a few other dispatch bound features in > Foundation on linux. I was seeing similar failures as

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread David P Grove via swift-corelibs-dev
phaus...@apple.com wrote on 12/11/2015 12:02:30 PM: > This is only tangentially related: but I was attempting to build > dispatch as well to start work on CFRunLoop and a few other dispatch > bound features in Foundation on linux. I was seeing similar failures > as Dzianis Fedarenka. Is there a bra

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread Philippe Hausler via swift-corelibs-dev
This is only tangentially related: but I was attempting to build dispatch as well to start work on CFRunLoop and a few other dispatch bound features in Foundation on linux. I was seeing similar failures as Dzianis Fedarenka. Is there a branch/fork that I can grab to test this stuff out w/ bringi

Re: [swift-corelibs-dev] NSDate, NSDateFormatter

2015-12-11 Thread Tony Parker via swift-corelibs-dev
Hi Joe, Try this as a workaround: Set the LD_LIBRARY_PATH environment variable to $INSTALLED_LOCATION_OF_SWIFT/usr/lib/swift/linux This should only affect the REPL and not compiled code. I think this is supposed to be fixed in the top of tree Swift but not in the Dec 1 binary drop. - Tony >

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread David P Grove via swift-corelibs-dev
swift-corelibs-dev-boun...@swift.org wrote on 12/11/2015 11:19:15 AM: > > The linux port is in progress, and even if it built, right now, it > wouldn’t be functional. > > -Pierre > > Yes. I completely understand that there linux port is not > functional. So I want to contribute to it. But it's pr

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread Pierre Habouzit via swift-corelibs-dev
> On Dec 11, 2015, at 8:19 AM, Dzianis Fedarenka via swift-corelibs-dev > wrote: > > >> 11 дек. 2015 г., в 18:36, Pierre Habouzit > > написал(а): >> >> The linux port is in progress, and even if it built, right now, it wouldn’t >> be functional. >> >> -Pierre >

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread Dzianis Fedarenka via swift-corelibs-dev
> 11 дек. 2015 г., в 18:36, Pierre Habouzit написал(а): > > The linux port is in progress, and even if it built, right now, it wouldn’t > be functional. > > -Pierre Yes. I completely understand that there linux port is not functional. So I want to contribute to it. But it's practically impo

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread Dzianis Fedarenka via swift-corelibs-dev
Actually, I’ve built library on 14.04 but it required some hack’s like adding dummy #define and calling libtool with different arguments after make failed with errors. First try: user$ sudo apt-get install libblocksruntime-dev libkqueue-dev libpthread-workqueue-dev Reading package lists... Bui

Re: [swift-corelibs-dev] NSDecimal & NSDecimalNumber

2015-12-11 Thread Matthew Johnson via swift-corelibs-dev
This thread is related to the thread I started last night about Foundation and value types. Ideally all Foundation types that are already structs would expose a more Swifty interface and those that are naturally value types but currently implemented as classes would be bridged and exposed in S

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread Pierre Habouzit via swift-corelibs-dev
Hi, > On Dec 11, 2015, at 12:17 AM, f-dz-f via swift-corelibs-dev > wrote: > > Hi! I’m unable to build on OS X 10.11 > > Using make: > > ../private/voucher_activity_private.h:493:10: fatal error: 'os/lock_private.h' > file not found > #include > ^ > > Using Xcode: > > /User

Re: [swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread David P Grove via swift-corelibs-dev
swift-corelibs-dev-boun...@swift.org wrote on 12/11/2015 03:17:47 AM: > From: f-dz-f via swift-corelibs-dev > To: swift-corelibs-dev@swift.org > Date: 12/11/2015 03:18 AM > Subject: [swift-corelibs-dev] libdispatch build issue > Sent by: swift-corelibs-dev-boun...@swift.org > PS On ubuntu 14.04

[swift-corelibs-dev] NSDecimal & NSDecimalNumber

2015-12-11 Thread Florian Reinhart via swift-corelibs-dev
Hi all, Is someone already working on NSDecimal and/or NSDecimalNumber? If not I would like to help and have a few questions on how to best tackle this. I think it’s best to start with NSDecimal and then use NSDecimal to create NSDecimalNumber. That’s why I want to concentrate on NSDecimal firs

[swift-corelibs-dev] libdispatch build issue

2015-12-11 Thread f-dz-f via swift-corelibs-dev
Hi! I’m unable to build on OS X 10.11 Using make: ../private/voucher_activity_private.h:493:10: fatal error: 'os/lock_private.h' file not found #include ^ Using Xcode: /Users/dzianis/Documents/my_code/libs/swift-corelibs-libdispatch/private/voucher_activity_private.h:493:10: '