- None.
- None.
- None.
- None.
- Update
Cartfile.resolved
& corresponding git submodule to point to Yams 0.3.1. Also loosen the Yams version dependency inPackage.swift
to only specify~> 0.3
and not= 0.3.0
.
Norio Nomura
- None.
- None.
-
Added a new field
numBytesToErase
inCodeCompletionItem
to indicate how many bytes should be deleted prior to the cursor in order to finish the completion.
@KelvinJin -
Support Swift 3.1 on macOS.
sourcekitInProc
appears to be broken on Linux as of Swift 3.1.
Norio Nomura #348
- Fix a crash that occurred when a documentation comment ended with an extended
grapheme cluster.
Lukas Stührk #350
- Change
Text
enum case names to match Swift 3 API guidelines.
@istx25
- None.
- Make sending
Request
s safer in concurrent environments.
@krzysztofzablocki
- The
SourceKitten
CocoaPods podspec used to actually refer to SourceKittenFramework, so it has been renamed. Existing pushes to CocoaPods trunk will be preserved, but from now on if you use SourceKittenFramework via CocoaPods, please specify to use theSourceKittenFramework
pod.
JP Simard
- Add
Request.yaml
API to create a sourcekit request from yaml and expose as arequest --yaml [file|text]
CLI command.
Keith Smiley #312
- None.
- None.
- Reduce compilation time.
Norio Nomura
- None.
- None.
- None.
- None.
CXComment.commandName()
was returning nil on custom code comments since Xcode 8.1. This caused a force unwrap when generating documentation. Inline command comment is now used as a fallback to catch this edge case.
Jérémie Girault
- SourceKitten now requires Xcode 8.0 and Swift 3.0 to build.
APIs have been adapted to conform to the Swift 3 API Design Guidelines.
JP Simard Norio Nomura
-
Add
--spm-module [ModuleName]
flag tocomplete
to automatically detect compiler flags for Swift Package Manager modules.swift build
must be run prior to support detection.
vdka #270 -
Now builds and passes most tests on Linux using the Swift Package Manager with Swift 3.0. This requires
libsourcekitdInProc.so
to be built and located in/usr/lib
, or in another location specified by theLINUX_SOURCEKIT_LIB_PATH
environment variable. A preconfigured Docker image is available on Docker Hub by the ID ofnorionomura/sourcekit:30
.
JP Simard Norio Nomura #179 -
Now supports Swift Package Manager on macOS and Linux.
JP Simard -
Now supports docinfo requests for sourcetext and module keys.
Erik Abair -
Now supports Objective-C class properties.
Jérémie Girault JP Simard #243 -
Add podspec to support using SourceKittenFramework with CocoaPods.
JP Simard
NSString.lines()
generated surplus line when string ended with newline character.
Norio Nomura #259
- None.
- None.
- Fixed Homebrew distribution.
Norio Nomura
This is the last release to support Swift 2.2 and Swift 2.3. The next release will require Swift 3.0.
-
Embedding frameworks needed by
sourcekitten
was moved from SourceKittenFramework Xcode target to the sourcekitten target. TheSourceKittenFramework.framework
product built by the SourceKittenFramework target no longer contains unnecessary frameworks or multiple copies of the Swift libraries.
Norio Nomura -
Require passing compiler arguments to
index
command.
Brian Gesiak -
Remove
--compilerargs
CLI flag. Arguments are now passed after--
.
Keith Smiley
-
Refactor to unite swift lang syntax types with SwiftLangSyntax protocol.
-
Make SwiftDocKey public.
Evgeny Suvorov -
Swift 2.3 support.
Syo Ikeda -
The following availability and deprecation values are now exposed for Objective-C APIs.
- key.always_deprecated
- key.always_unavailable
- key.deprecation_message
- key.unavailable_message
Jeff Verkoeyen
-
Add
SwiftDeclarationKind.PrecedenceGroup
.
JP Simard
-
Fix issue where single-line declaration+bodies would include the body in the parsed declaration when generating docs.
JP Simard #45 jazzy#226 -
Fix issue where directories ending with
.swift
would be considered Swift source files.
JP Simard jazzy#586
- None.
-
Add
format
command that re-indents a Swift file much like pasting into Xcode would. This command optionally takes the following parameters:--file (string)
: relative or absolute path of Swift file to format--no-trim-whitespace
: trim trailing whitespace--use-tabs
: use tabs to indent--indent-width (integer)
: number of spaces to indent
JP Simard
-
Add
--spm-module [ModuleName]
flag todoc
to document Swift Package Manager modules. Need to runswift build
prior to runningsourcekitten doc
. The right Swift toolchain version must also be selected (by settingTOOLCHAIN_DIR
or similar).
JP Simard -
Add support
TOOLCHAINS
environment variable to selecting alternative toolchains for loading SourceKitService.
Norio Nomura
- Add support for handling
CXCursor_UnexposedDecl
declarations when documenting Objective-C.
JP Simard realm/jazzy#543
- None.
- Add
index
command.
JP Simard
- None.
- None.
- Swift declarations are included when generating Objective-C documentation.
JP Simard realm/jazzy#136
- Fixed situations where the wrong documentation comment was found for a
declaration, or when documentation comments were further than a single line
away from their declaration and the declaration would be incorrectly
considered undocumented.
JP Simard realm/jazzy#454 realm/jazzy#502
- Updated for Xcode 7.3.
JP Simard
- None.
- None.
- Now
libclang.dylib
andsourcekitd.framework
are dynamically loaded at runtime by SourceKittenFramework to use the versions included in the Xcode version specified byxcode-select -p
or custom toolchains. If SourceKittenFramework clients previously accessed either of these libraries directly using their APIs, those are no longer available.
Norio Nomura #167
-
Simplify the process of generating library wrappers and validate library wrappers in unit tests.
JP Simard -
Support
swift test
on OS X.
Norio Nomura
-
Fix crash on DOS newlines.
Norio Nomura #315 -
Fix doc.comment blank for many declarations, causing missing Jazzy docs.
Norio Nomura #142 -
Fix "Unrecognized arguments:" error on
doc
command.
Norio Nomura #174 -
Fix "illegal hardware instruction" error when SourceKitService returns string in other than
NSUTF8StringEncoding
.
Norio Nomura #184
- Change
SwiftDocs.init(file:arguments:)
toSwiftDocs.init?(file:arguments:)
.
Norio Nomura
- Add
Request.failableSend()
that can handle SourceKitService crashes.sourcekitten doc
does not stop when SourceKitService crashes.
Norio Nomura
- Fix crash when offset points end of string.
Norio Nomura SwiftLint#164
- Change
Line
from tuple to struct with extra propertiesrange
andbyteRange
.
Norio Nomura
- None.
- None.
- Replaced all uses of
XPCDictionary
,XPCArray
,XPCRepresentable
&xpc_object_t
with SourceKit equivalents.
JP Simard
- Supports building with Swift 2.2 snapshot & Swift Package Manager on OS X.
JP Simard
- Fix crash when file contains NULL character.
Norio Nomura SwiftLint#379
- None.
-
Add
Structure.init(sourceKitResponse:)
.
Norio Nomura -
Improve performance of
Request.send()
.
Norio Nomura
- None.
- Add
NSString.lineAndCharacterForByteOffset
.
JP Simard
- Fixed multi-byte character handling in
File.getDocumentationCommentBody
.
JP Simard
- None.
-
Optimize
NSString.lineAndCharacterForCharacterOffset(...)
,NSString.NSRangeToByteRange(...)
andSyntaxMap.commentRangeBeforeOffset(_:)
.
Norio Nomura #119 -
Fix unicode handling of
String.commentBody(range:)
.
Norio Nomura
- None.
- Optimize
NSRange
operation.
Norio Nomura #119
File
is now afinal class
instead of astruct
andcontents
&lines
are now marked asvar
. This was done so that mutations to the underlying file on disk can be mirrored in aFile
instance.
JP Simard
None.
-
Fix issue where Swift extensions would pick up documentation from previous tokens.
JP Simard #65 -
Fix
String.stringByTrimmingTrailingCharactersInSet(_:)
returning full string when all characters matched character set.
JP Simard -
Fix
indexOfByteOffset(offset:)
failing when string include some emoji.
Norio Nomura #111 -
Fix pragma mark extraction with multibyte characters.
1ec5 #114
None.
- Increase robustness of file path handling.
Boris Bügling #86
None.
- Support "wall of asterisk" documentation comments.
Jeff Verkoeyen
-
Fix a string interpolation issue when generating completion options.
Benedikt Terhechte #97 -
Fix an out-of-bounds exception when generating pragma marks.
JP Simard jazzy#370
None.
- Ability to generate Objective-C documentation.
Thomas Goyne JP Simard
None.
-
Add
compilerargs
option to complete command.
Masayuki Yamaya -
Add support for Xcode 7.1.
JP Simard
None.
- Improve error reporting when compiler arguments can't be parsed and log
xcodebuild
output to file instead of stderr.
JP Simard
None.
- Updated to Swift 2.0.
JP Simard
-
Update
File
lines
convenience property to be immutable.
Keith Smiley -
Added the ability to generate code completion options (
complete
command).
JP Simard
None.
None.
- Add
lines
convenience property toFile
Keith Smiley
None.
- Simplified rpath's.
JP Simard
None.
None.
None.
- Fixed issue when installing 0.4.2 via Homebrew.
JP Simard
None.
None.
- SourceKitten can now be installed alongside Carthage because
SourceKittenFramework now nests its Commandant and LlamaKit frameworks.
JP Simard
- SwiftDocs now prints its file path in its
description
.
JP Simard
None.
None.
- Requires Swift 1.2 to build.
JP Simard
None.
None.
None.
-
Added definition line ranges to declarations.
JP Simard #198 -
Parse documentation comments.
JP Simard
-
Fixed out-of-bounds exception when parsing the declaration in files starting with a declaration.
JP Simard #30 -
Fixed out-of-bounds exception and inaccurate parsed declarations when using multibyte characters.
JP Simard #35 -
Fixed parsing issues with keyword functions such as
subscript
,init
anddeinit
.
JP Simard #27 -
Fixed issues where USR wasn't accurate because dependencies couldn't be resolved.
JP Simard
- Everything. No, seriously lots has changed in this release and you should
consider SourceKitten entirely rewritten. SourceKitten now uses dynamic
frameworks for the bulk of its functionality, which means that everything is
now much more modular and testable.
JP Simard #17
None.
None.
None.
None.
None.
- Fixed improper UTF8 parsing of MARK comments.
JP Simard realm/jazzy#131
None.
-
Added CHANGELOG.md.
JP Simard realm/jazzy#125
-
Fixed crash when files contained a declaration on the first line.
JP Simard #14 -
Fixed invalid JSON issue when last file in an Xcode project failed to parse.
JP Simard -
Fixed crash when attempting to parse the declaration of
extension Array
.
JP Simard realm/jazzy#126