[swift-users] Getting started with development

2017-02-13 Thread Mohit Athwani via swift-users
Hello, I'm a master's student in computer science and as part of my degree, I have to contribute to some well known open source repositories. I have been an iOS developer since 5 years now and I'm wondering if anybody in the community can help me get started with where to look for issues/bugs and h

Re: [swift-users] Getting started with development

2017-02-13 Thread Mohit Athwani via swift-users
2017 at 8:42 PM, Michael Gottesman wrote: > > > On Feb 13, 2017, at 7:09 PM, Mohit Athwani via swift-users < > swift-users@swift.org> wrote: > > > > Hello, > > I'm a master's student in computer science and as part of my degree, I > have to contribute t

[swift-users] Problems installing Swift on Ubuntu

2017-02-16 Thread Mohit Athwani via swift-users
I am a noob too and I got Swift to compile on Ubuntu 16.04 LTS using the following command from the swift/utils directory: ./build-script --preset=buildbot_linux_1604 install_destdir=/tmp/install installable_package=/tmp/swift.tar.gz And then running swift with: /tmp/install/bin/swift my_code.swi

[swift-users] Master branch not compiling

2017-02-20 Thread Mohit Athwani via swift-users
Hello, I fetched updates from upstream into my forked and cloned repository and tried to compile for linux_1604 and the compile fails with error: no matching constructor for initialization of swift::TypeAliasDecl Wondering if anybody else is facing this issue. This is the master branch btw Cheer

Re: [swift-users] Master branch not compiling

2017-02-20 Thread Mohit Athwani via swift-users
Just pulled and merged and same problem! Cheers! -- Mohit Athwani http://about.me/mohitathwani On Feb 20, 2017, 3:04 PM -0800, Greg Parker , wrote: > > > On Feb 20, 2017, at 12:56 PM, Mohit Athwani via swift-users > > mailto:swift-users@swift.org)> wrote: > > Hello, &g

[swift-users] Building Swift from source

2017-02-20 Thread Mohit Athwani via swift-users
To compile, I've been using: ./swift/utils/build-script --preset=buildbot_linux_1604 install_destdir=/tmp/install installable_package=/tmp/swift.tar.gz This process takes a very long time. I was wondering if there was a quicker way for subsequent builds. Thanks, Mohit __

[swift-users] Implementing String(contentOfUrl:usedEncoding)

2017-02-22 Thread Mohit Athwani via swift-users
Hello, I am trying to contribute to open source software for the first time and saw that in NSString.swift, a convenience initializer was not implemented so I decided to work on it. The initializer is: public convenience init(contentsOf url:URL, usedEncoding enc: UnsafeMutablePointer?) throws I

Re: [swift-users] Implementing String(contentOfUrl:usedEncoding)

2017-02-22 Thread Mohit Athwani via swift-users
Hey Jens, Thanks so much! This is really useful! I'm going to get started on this. Cheers! Mohit On Wed, Feb 22, 2017 at 9:09 PM, Jens Alfke wrote: > > On Feb 22, 2017, at 6:05 PM, Mohit Athwani via swift-users < > swift-users@swift.org> wrote: > > I don&#x

[swift-users] @swift-ci Response time

2017-03-04 Thread Mohit Athwani via swift-users
Hello, I submitted my first pull request ever and I'm super excited! @swift-ci has been tagged to test my code and I'm wondering how long does it take to perform it's tests and give me the result? Thanks, Mohit ___ swift-users mailing list swift-users

Re: [swift-users] @swift-ci Response time

2017-03-05 Thread Mohit Athwani via swift-users
://about.me/mohitathwani On Mar 5, 2017, 11:58 AM -0800, Michael Gottesman , wrote: > > > On Mar 5, 2017, at 11:58 AM, Michael Gottesman > (mailto:mgottes...@apple.com)> wrote: > > > > > On Mar 4, 2017, at 5:24 PM, Mohit Athwani via swift-users > > > mailto:swi

[swift-users] Foundation: build.ninja No such file or directory

2017-03-28 Thread Mohit Athwani via swift-users
I am trying to build Foundation and is anybody else getting build.ninja: No such file or directory error? I just cloned everything from github. This did not happen with me when I worked on my previous pull request. Cheers! -- Mohit Athwani http://about.me/mohitathwani__

[swift-users] Foundation: build.ninja No such file or directory

2017-03-28 Thread Mohit Athwani via swift-users
Hey guys, I am trying to build Foundation and is anybody else getting build.ninja: No such file or directory error? I just cloned everything from github. This did not happen with me when I worked on my previous pull request. Cheers! Mohit ___ swift-us

Re: [swift-users] Foundation: build.ninja No such file or directory

2017-03-28 Thread Mohit Athwani via swift-users
d you can run ninja in the Foundation directory > to build it, and if you need to modify the build scripts (for example > including additional files) you can run ./configure --reconfigure > > On Mar 28, 2017, at 12:28 PM, Mohit Athwani via swift-users < > swift-users@swift.org> wr

[swift-users] Building swift with xctest and foundation fails

2017-03-29 Thread Mohit Athwani via swift-users
I'm trying to get back to work starting from scratch on Swift Foundation on my Ubuntu 16.04 LTS system. I cloned the main swift repo and all of it's dependencies via ssh ./swift/utils/update-checkout --clone-with-ssh and after running (taken from instructions from the Foundation site): swift/ut

Re: [swift-users] [swift-corelibs-dev] Building swift with xctest and foundation fails

2017-03-29 Thread Mohit Athwani via swift-users
Hi Philippe, That doesn't solve the issue either! Cheers! Mohit On Wed, Mar 29, 2017 at 7:21 PM, Philippe Hausler wrote: > You need to also pass --libdispatch but I am not quite sure that will > fully fix the problem at hand. > > Sent from my iPhone > > On Mar 29, 2017, at 6:29 PM, Mohit Athw

[swift-users] Unable to build swift master branch

2017-03-30 Thread Mohit Athwani via swift-users
I'm trying to get back to work starting from scratch on Swift Foundation on my Ubuntu 16.04 LTS system. I cloned the main swift repo and all of it's dependencies via ssh ./swift/utils/update-checkout --clone-with-ssh and after running (taken from instructions from the Foundation site): swift/ut

Re: [swift-users] Unable to build swift master branch

2017-04-02 Thread Mohit Athwani via swift-users
; > > > On Mar 30, 2017, at 4:22 PM, Michael Gottesman via swift-users > > > > mailto:swift-users@swift.org)> wrote: > > > > > > > > > > On Mar 30, 2017, at 12:31 PM, Mohit Athwani via swift-users > > > > > mailto:swift-users@swift.org)>

Re: [swift-users] Unable to build swift master branch

2017-04-02 Thread Mohit Athwani via swift-users
te: > > > On Mar 30, 2017, at 4:22 PM, Michael Gottesman via swift-users < > swift-users@swift.org> wrote: > > > On Mar 30, 2017, at 12:31 PM, Mohit Athwani via swift-users < > swift-users@swift.org> wrote: > > I'm trying to get back to work starting fr

[swift-users] #selector() in Swift

2017-08-09 Thread Mohit Athwani via swift-users
With closures being first class citizens in Swift and the ability of closures to be able to capture scope, it seems a little archaic to me that the #selector() feature exists in Swift. For example, why does func addTarget(_ target: Any?, action: Selector

Re: [swift-users] #selector() in Swift

2017-08-11 Thread Mohit Athwani via swift-users
Hi Alex, Thanks for the update! Cheers! -- Mohit Athwani http://about.me/mohitathwani On Aug 10, 2017, 2:56 AM -0700, Alex Blewitt , wrote: > > On 10 Aug 2017, at 07:04, Mohit Athwani via swift-users > > wrote: > > > > With closures being first class citizens in