Commit Graph

  • e8f3847c16 Fix swiftshell-init to work with new Package.swift layout. Kare Morstol 2018-01-30 00:49:40 +01:00
  • bd1b22c2e7 Merge pull request #46 from harlanhaskins/remove-deprecated-characters Kare Morstol 2018-01-30 01:37:15 +01:00
  • db1acda41f Readme: update instructions for Swift Package Manager. Kare Morstol 2018-01-30 01:26:17 +01:00
  • bca9b0288e Remove deprecated uses of .characters Harlan Haskins 2017-12-03 22:46:43 -05:00
  • 107ab24fc5 Readme: update version number to 4 in setup instructions. Kare Morstol 2017-09-28 20:22:50 +02:00
  • ecf0544d74 Merge swift4 into master 4.0.0 Kare Morstol 2017-09-25 21:22:43 +02:00
  • 78e582d3d6 Add link to Swift 4 version. Swift3 Kare Morstol 2017-09-23 01:05:50 +02:00
  • 07769c0b14 Update to version 4.0.0 Kare Morstol 2017-09-23 00:56:31 +02:00
  • e5d6bffbc0 Set Swift version to 4.0, update Travis and pod spec. Kare Morstol 2017-09-22 15:18:24 +02:00
  • 9e7bd2f21d Update to 4.0-DEVELOPMENT-SNAPSHOT-2017-08-21-a. Kare Morstol 2017-08-28 20:38:28 +02:00
  • 893d0dadbf Remove AnyArrayType, not required in Swift 4. Kare Morstol 2017-08-28 19:18:03 +02:00
  • b2b311a601 Readme: add a link to Swift 4 version. Kare Morstol 2017-06-23 21:11:20 +02:00
  • 246d5d0759 Readme: add link back to Swift 3 version. Kare Morstol 2017-06-23 21:09:02 +02:00
  • 66fb0be630 Try with 4.0-DEVELOPMENT-SNAPSHOT-2017-06-19-a instead. Kare Morstol 2017-06-23 20:29:37 +02:00
  • eb9ded045b Update to Swift 4. Kare Morstol 2017-06-23 20:15:44 +02:00
  • 8518bcfbb0 Readme: add instructions for Marathon, and more badges. Kare Morstol 2017-05-16 00:43:22 +02:00
  • 433f281166 swiftshell-init use version 3.0.0, not the beta. 3.0.1 Kare Morstol 2017-05-11 21:43:14 +02:00
  • ae127df8c5 Remove Scripts directory reference in XCode. Kare Morstol 2017-05-11 21:41:58 +02:00
  • 93964b518f Improve error output from ‘exit’ and non-SwiftShell errors. Kare Morstol 2017-04-28 21:43:42 +02:00
  • cdb243acd5 Release SwiftShell 3.0. 3.0.0 Kare Morstol 2017-04-28 19:12:46 +02:00
  • dcd6f2d53a Fix the fixing of the Linux fix. Kare Morstol 2017-04-28 01:32:19 +02:00
  • 1d31d9aacb Update documentation. Kare Morstol 2017-04-28 00:59:11 +02:00
  • a5d4555d50 Readme: small-ish changes. Kare Morstol 2017-04-27 23:51:32 +02:00
  • adcb0a09fa Streams: add support for writing and reading Data. Kare Morstol 2017-04-27 23:40:35 +02:00
  • f3bfbeb524 Make sure writing a stream to another stream compiles. Kare Morstol 2017-04-27 23:30:55 +02:00
  • 37464adb24 Mark closures to ReadableStream.onOutput and .onStringOutput as @escaping. Kare Morstol 2017-04-27 21:07:37 +02:00
  • 2719f55162 Add AsyncCommand.isRunning. Kare Morstol 2017-04-27 20:06:34 +02:00
  • 911df7e7ac Mark AsyncCommand.onCompletion parameter as @escaping and non-optional. Kare Morstol 2017-04-27 17:25:27 +02:00
  • 8c45703aed Readme: add Table of Contents, remove “Overview” heading. Kare Morstol 2017-04-27 16:55:47 +02:00
  • f7a8c7cd88 Remove Script directory as it is outdated. Kare Morstol 2017-04-27 16:28:48 +02:00
  • e789bec019 Readme: massive improvements, especially for Contexts and Streams. (#40) Kare Morstol 2017-04-27 03:10:12 +02:00
  • 7aefeb6a7a Fix Linux build crash "Can only convert lvalues to inout". Kare Morstol 2017-04-27 03:06:02 +02:00
  • f195472d87 Allow ReadableStream.write(to:) to take a WritableStream _protocol value_. Kare Morstol 2017-04-27 02:18:50 +02:00
  • 90230ad725 Rename RunOutput(output:) to RunOutput(launch:). Kare Morstol 2017-04-27 01:34:06 +02:00
  • 3413a622a2 Un-capitalise enum cases. Future proof switch statement. Kare Morstol 2017-04-24 17:54:07 +02:00
  • fdf348859c Remove space before ( in function declarations. Kare Morstol 2017-04-20 20:32:29 +02:00
  • 1fef513b26 Documentation: small fixes. Kare Morstol 2017-04-20 19:54:09 +02:00
  • ecc86ad124 Remove horrible hack for printing to stdout. Kare Morstol 2017-04-18 19:51:03 +02:00
  • 0a078a20a5 Camel case enum cases of CommandError. Kare Morstol 2017-04-18 19:07:56 +02:00
  • e7e43b42ba Cleanup code. Kare Morstol 2017-04-18 19:05:36 +02:00
  • daee36b00e Travis: use Xcode 8.3, verify cocoa pod. Kare Morstol 2017-04-06 21:59:59 +02:00
  • edb751dfed Update documentation. Kare Morstol 2017-04-05 22:34:43 +02:00
  • caea066468 Improve documentation for "run". 3.0.0-beta.14 Kare Morstol 2017-04-05 18:29:15 +02:00
  • 33019fb307 Replace all uses of the word "Task". Kare Morstol 2017-04-05 18:00:37 +02:00
  • 2d61e881ec Make unavailable run() -> String method signatures identical to the available one Kare Morstol 2017-04-05 02:25:02 +02:00
  • 9024477468 Ensure all 'run' functions have 'combineOutput' parameter and none have file and line parameters. Kare Morstol 2017-04-05 01:17:56 +02:00
  • c9d75bd68e Document && and || operators. Kare Morstol 2017-04-05 01:04:34 +02:00
  • de0414c6a3 Add String.lines(). Kare Morstol 2017-04-05 00:57:21 +02:00
  • 5f40cb878f Simplify bash run-functions, add file and line numbers to global runAsync(bash:) function. Kare Morstol 2017-04-04 23:33:56 +02:00
  • 72dd5d8277 Add combineOutput parameter to 'run'. Kare Morstol 2017-04-04 23:24:43 +02:00
  • 891422fe7c Add RunOutput.error. Add file and line params to runAsync(bash:). Kare Morstol 2017-04-04 19:06:26 +02:00
  • 74077e9b06 Make RunOutput.|| and .&& public. Remove @testable from test imports. Kare Morstol 2017-04-03 19:42:53 +02:00
  • 442d52a83b Update documentation. Kare Morstol 2017-03-31 00:58:23 +02:00
  • 38f3d41ca7 Also rename in LinuxMain.swift. 3.0.0-beta.13 Kare Morstol 2017-03-31 00:08:56 +02:00
  • 4d2ed74b55 Massive renaming: avoid words Type, Task and Shell. Kare Morstol 2017-03-30 20:10:05 +02:00
  • ba403e8bf9 Make main's tempdirectory, arguments and path publicly immutable. Kare Morstol 2017-03-30 13:44:15 +02:00
  • 00edb93cb8 Auto-implement ShellRunnable for ShellContextType. Kare Morstol 2017-03-30 13:42:06 +02:00
  • 4cbdea39a7 Remove encoding from ShellContextType, as it has no effect there. Kare Morstol 2017-03-29 22:25:32 +02:00
  • bd8ceeecbc Make RunOutput.stdout and .stderror publicly immutable. Kare Morstol 2017-03-29 21:50:27 +02:00
  • 85bbe2a009 Update to Swift 3.1. Travis: don't test the beta anymore. Kare Morstol 2017-03-29 20:24:09 +02:00
  • 755d1aa563 run() returns RunOutput instead of String. Supports || and &&. Kare Morstol 2017-03-29 02:36:59 +02:00
  • 03adb38f56 Update to Xcode 8.3. Kare Morstol 2017-03-28 21:42:39 +02:00
  • 85962c2da2 Readme: add shebang to example. Kare Morstol 2017-03-28 12:45:12 +02:00
  • 21a385f198 Simplify #if statement. 3.0.0-beta.12 Kare Morstol 2017-03-21 21:38:54 +01:00
  • 3a824465c8 Travis: test on Swift 3.1 beta Kare Morstol 2017-03-23 20:28:16 +01:00
  • 4c416f38a4 Swift 3.1 Correctly Removes Task (#35) Joe Smith 2017-03-23 12:37:49 -07:00
  • fee47d0857 Readme: add header for Moderator and FileSmith. Kare Morstol 2017-03-16 01:12:49 +01:00
  • 03384130ea Remove CocoaPods test from Travis as it only fails there. Kare Morstol 2017-03-02 22:08:22 +01:00
  • 89ac85208c Readme: update CocoaPods instructions and projected Swift version for ABI instability. Kare Morstol 2017-03-02 19:51:42 +01:00
  • d6feaf2606 Add test of pod spec to Travis. Kare Morstol 2017-03-02 19:34:58 +01:00
  • af7399e93a Fix up ReadableStream.onStringOutput, set framework as dependency for all unit test targets. Kare Morstol 2017-03-02 19:15:49 +01:00
  • d944464578 Update podspec with iOS deployment target 9.0. 3.0.0-beta.11 Kare Morstol 2017-03-01 21:58:37 +01:00
  • 5a78671651 Remove completely unintended and compile-breaking word. Kare Morstol 2017-03-01 19:28:55 +01:00
  • a93535b390 Add CocoaPods support. Kare Morstol 2017-03-01 19:17:43 +01:00
  • bcaab22767 Require encoding for FileHandle.readSome and .read. Documentation. Kare Morstol 2017-03-01 18:25:58 +01:00
  • fa70e419dd Enable building for iOS. Just the Stream part. So FileSmith can use it. 3.0.0-beta.10 Kare Morstol 2017-02-21 22:09:00 +01:00
  • 7204dbdb3a @discardableResult declared on a function returning Void is unnecessary. Kare Morstol 2017-02-21 22:11:54 +01:00
  • 62780a880a String(contentsOfFile:) not implemented on Linux, use String(contentsOfFile: encoding:) instead. 3.0.0-beta.9 Kare Morstol 2017-01-31 00:41:29 +01:00
  • 43a726bbba Fix testOpenForOverWritingCreatesIntermediateDirectory. Kare Morstol 2017-01-30 20:37:13 +01:00
  • 11b979c690 Fix AssertNoThrow silencing test failures. Cleanup test helping code. Kare Morstol 2017-01-30 20:27:12 +01:00
  • 93b2b36d68 Fix intermediate directories not created (#32) Miguel Angel Quinones Garcia 2017-01-30 19:13:49 +00:00
  • eca353d338 Rename WriteableStream to WritableStream. Kare Morstol 2017-01-25 18:50:56 +01:00
  • 4145afefd8 Make the default main.stdout a StdoutStream, which uses Swift.print(). 3.0.0-beta.8 Kare Morstol 2017-01-09 22:56:57 +01:00
  • fa8f65e13f Make ReadableStream.lines return type prettier. Kare Morstol 2017-01-09 22:32:47 +01:00
  • ce44afe306 Turn WriteableStream and ReadableStream into protocols. Kare Morstol 2017-01-09 17:43:53 +01:00
  • e53557624c Update to recommended settings in Xcode 8.2. Kare Morstol 2016-12-16 20:13:43 +01:00
  • 6f5138e9d6 Update Swift version to 3.0.2. Kare Morstol 2016-12-16 20:05:24 +01:00
  • 5dd2da16f0 Remove workaround for fixed compiler bug when printing errors. 3.0.0-beta.7 Kare Morstol 2016-11-23 00:17:10 +01:00
  • fe81f49fb5 Make .encoding in WriteableStream and ReadableStream public and mutable. Kare Morstol 2016-11-16 20:52:05 +01:00
  • 3abef0d51d Small documentation fix. Kare Morstol 2016-11-15 18:31:30 +01:00
  • daf894ed2a Readme: list functionality and mention readSome(). Kare Morstol 2016-11-16 20:43:15 +01:00
  • 25f64feceb Set Swift version to 3.0.1. 3.0.0-beta.6 Kare Morstol 2016-11-04 00:13:00 +01:00
  • f3f86c0c3b Improve output from *Stream.debugDescription. Kare Morstol 2016-11-04 00:10:12 +01:00
  • 6b5be62c18 Add debugDescription to Streams and Contexts. Kare Morstol 2016-11-03 21:54:53 +01:00
  • 8590bc52ae Make Misc/swiftshell-init work on Linux. kareman 2016-11-03 19:56:59 +01:00
  • 8ffddca79e Readme: fix small error. Kare Morstol 2016-11-02 21:03:01 +01:00
  • eea3cd2d61 Simplify WriteableStream.print 3.0.0-beta.5 kareman 2016-11-01 21:46:46 +01:00
  • 6acfe7f870 Add WriteableStream.print kareman 2016-11-01 21:25:14 +01:00
  • 221c9892bc Replace OSX with macOS kareman 2016-11-01 20:37:47 +01:00
  • 67e5db3944 Add WriteableStream.onInput. Issue #26. writeablestream-oninput Kare Morstol 2016-10-27 22:44:28 +02:00