Timofey Solomko
e714dc308b
Updated copyright year to 2018
2018-01-03 19:44:18 +03:00
Timofey Solomko
0b922ba64c
Fixes for deployment stage in CI
...
Use osx and run before-deploy only once; don't carthage archive bcsymbolmap files from BitByteData; prepare-workspace before before_deploy script.
2018-01-03 19:44:05 +03:00
Timofey Solomko
73a23a013f
Merge branch 'feature-use-bitbytedata' into develop
2018-01-03 19:22:53 +03:00
Timofey Solomko
b556bbeaf2
Use final release version of BitByteData
2018-01-03 19:22:15 +03:00
Timofey Solomko
e986561487
Replace Int() conversions with toInt() functions
2018-01-03 19:22:15 +03:00
Timofey Solomko
d2d74d52b9
Remove unused extensions
2018-01-03 19:22:15 +03:00
Timofey Solomko
c8d92e56d3
Replace BitReader and ByteReader with BitByteData's implementations
2018-01-03 19:22:15 +03:00
Timofey Solomko
bb39c4016c
Replace SWCompression.BitWriter with BitByteData's one
2018-01-03 19:22:15 +03:00
Timofey Solomko
d06741f424
Update BitByteData to 1.0.0-test.3
2018-01-03 19:22:15 +03:00
Timofey Solomko
9d709568e1
Rework integration with BitByteData framework provided through Carthage
...
SWCompression is now linked against appropriate platform-version of framework using linker flags and framework search path; added custom shell script phase to TestSWCompression target, which copies appropriate platform-version of framework into test bundle (its presence is necessary to make it run).
2018-01-03 19:22:15 +03:00
Timofey Solomko
af26a11d4c
Add carthage bootstrap step to prepare workspace script
2018-01-03 19:22:14 +03:00
Timofey Solomko
a80d981b0f
Add linking to BitByteData framework provided through Carthage
2018-01-03 19:22:14 +03:00
Timofey Solomko
20ab480737
Complete renaming of DataWithPointer to ByteReader
...
This includes renaming pointerData variables to byteReader as well as renaming of files with extensions to ByteReader.
2018-01-03 19:22:14 +03:00
Timofey Solomko
6bc3cbb2eb
Add BitByteData as a dependency to podspec
2018-01-03 19:22:14 +03:00
Timofey Solomko
c3a1982e2a
Ignore Carthage.resolved
2018-01-03 19:22:14 +03:00
Timofey Solomko
91e6ffa81e
Add cartfile with BitByteData dependency
2018-01-03 19:22:14 +03:00
Timofey Solomko
1293cf15a0
Make BitReader.bitMask completely private
2018-01-03 19:22:14 +03:00
Timofey Solomko
22bd529b3c
Change return type of BitReader.bit() to UInt8
2018-01-03 19:22:13 +03:00
Timofey Solomko
dcf18c73d6
Rename ByteReader.isAtTheEnd to isFinished
2018-01-03 19:22:13 +03:00
Timofey Solomko
cef8ab12a2
Rename BitWriter.finish() to align
2018-01-03 19:22:13 +03:00
Timofey Solomko
15c06843b1
Replace BitWriter.buffer with Data
2018-01-03 19:22:13 +03:00
Timofey Solomko
b9eeb1bc7c
Rename ByteReader.index to offset
2018-01-03 19:22:13 +03:00
Timofey Solomko
3751e25c4f
Rename DataWithPointer to ByteReader
...
This and following commits should ease switch to BitByteData usage.
2018-01-03 19:22:13 +03:00
Timofey Solomko
47326b5da2
Add BitByteData as a dependency of swift package
2018-01-03 19:22:13 +03:00
Timofey Solomko
6b0dd666ce
Several modifications to xcode projects
...
Organization name set to "Timofey Solomko"; reset some settings to its default values; remove separate test project and workspace by merging them into main project; move plist files inside xcode project; use project-wide settings as much as possible; set project version 50 (total amount of releases on github) and CFBundleShortVersion to 4.0.1; versions in xcode project are now managed by agvtool: project version is increased by 1 whenever there is a new release, CFBundleShortVersion will continue to be semantically versioned; remove some unused settings; remove header file and empty build phases.
2018-01-03 19:21:14 +03:00
Timofey Solomko
7ab4b0336a
Add script for cleaning up "workspace"
2018-01-01 14:13:39 +03:00
Timofey Solomko
24cdbf0d29
Use new scripts in CI
2018-01-01 14:12:26 +03:00
Timofey Solomko
58f21f311e
Add scripts for CI stages
2018-01-01 14:12:18 +03:00
Timofey Solomko
d05b9b1f4a
Add script for preparing "workspace"
...
Right now it only downloads test files.
2018-01-01 14:11:45 +03:00
Timofey Solomko
007f77f895
Ignore docs, Pods and Carthage related directories
2017-12-31 20:43:24 +03:00
Timofey Solomko
296f287d9b
Make deflate and bzip2 compression test code more consistent with each other
2017-12-26 22:56:00 +03:00
Timofey Solomko
4992046107
Make compression ratio test message clearer
2017-12-26 20:01:32 +03:00
Timofey Solomko
b29d0b00a8
Rewrite CI config using jobs
2017-12-24 14:57:35 +03:00
Timofey Solomko
e05f917210
Improve compile time
2017-12-24 14:57:35 +03:00
Timofey Solomko
13d411e47c
Optimise zip's needsUtf8 function
2017-12-24 14:57:34 +03:00
Timofey Solomko
80ec70f7ce
Multiple updates to CI configuration
...
Use single GitHub OAuth Token; update Xcode version to 9.2; upgrade Carthage in before_deploy step; use SourceKitten to generate docs; enable email notifications; use default xctool; build and test every supported plaatform on osx; use workspace instead of project.
2017-12-24 14:57:34 +03:00
Timofey Solomko
1293f799ae
Multiple updates to Xcode projects/workspace
...
Use recommended settings for TestSWCompression; move SWCompression above TestSWCompression in workspace; remove internal workspace from SWCompression; remove platform-specific schemes and targets from SWCompression; enable support for all Darwin platforms in one target/scheme; set deployment targets as minimal as possible; set correct rpath for TestSWCompression; remove unwanted files from TestSWCompression; reorder files in TestSWCompression; add correct test action to SWCompression scheme; remove code-signing.
2017-12-24 14:53:47 +03:00
Timofey Solomko
7cdf69c493
Fix compression ratio diagnostic message in DeflateCompTests
2017-12-24 14:49:32 +03:00
Timofey Solomko
d7bb712031
Return Data instead of bytes array in Deflate.encodeHuffmanBlock
2017-12-24 14:49:32 +03:00
Timofey Solomko
fe41d4e90a
Fix travis command for testing on macos
2017-12-24 14:49:32 +03:00
Timofey Solomko
9ad5a91ce5
Remove docs directory
...
Documentation starting with next version will be stored in separate branch.
2017-12-24 14:49:32 +03:00
Timofey Solomko
353b5be4cf
Merge branch 'feature-use-xcode-workspace' into develop
2017-12-21 19:28:31 +03:00
Timofey Solomko
a0968060f3
Remove SWCompressionTests
2017-12-21 19:27:25 +03:00
Timofey Solomko
ba884fff5e
Add TestSWCompression project
2017-12-21 19:23:20 +03:00
Timofey Solomko
4cb3adb875
Update SWCompression project compatibility
2017-12-21 19:16:57 +03:00
Timofey Solomko
990567e7ab
Add xcode workspace
2017-12-21 19:16:05 +03:00
Timofey Solomko
cce4d35ab7
Remove bitOrder argument from BitWriter.write(number:bitCount:)
2017-12-21 15:26:00 +03:00
Timofey Solomko
d63d2977fb
Only reverse bit order of codes in EncHuffmanTree if necessary
...
And it is necessary only for Deflate. This will allow us to remove bitOrder argument of BitWriter.write, which has very unclear semantics
2017-12-21 15:24:54 +03:00
Timofey Solomko
ea295f96b0
Don't deploy docs on test releases
2017-12-21 15:01:49 +03:00
Timofey Solomko
075326d421
Some updates to git config in travis
2017-12-05 23:14:27 +03:00