-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9b7fb4e
Showing
12,224 changed files
with
2,459,242 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# rsyncSwift | ||
|
||
By [v-braun - www.dev-things.net](http://www.dev-things.net). | ||
|
||
## Description | ||
Swift Wrapper around the [acrosync-library](https://github.com/gilbertchen/acrosync-library). | ||
|
||
## Installation | ||
|
||
``` | ||
git clone https://github.com/v-braun/rsyncSwift.git | ||
``` | ||
|
||
|
||
## Usage | ||
|
||
- Open the rsyncSwift.xcworkspace file. | ||
- Look at the rsyncSwiftDemo xcode project | ||
|
||
|
||
### Known Issues | ||
|
||
If you discover any bugs, feel free to create an issue on GitHub fork and | ||
send me a pull request. | ||
|
||
[Issues List](https://github.com/v-braun/rsyncSwift/issues). | ||
|
||
## Authors | ||
|
||
![image](https://avatars3.githubusercontent.com/u/4738210?v=3&s=50) | ||
[v-braun](https://github.com/v-braun/) | ||
|
||
|
||
|
||
## Contributing | ||
|
||
1. Fork it | ||
2. Create your feature branch (`git checkout -b my-new-feature`) | ||
3. Commit your changes (`git commit -am 'Add some feature'`) | ||
4. Push to the branch (`git push origin my-new-feature`) | ||
5. Create new Pull Request | ||
|
||
|
||
## License | ||
|
||
See [LICENSE](https://github.com/v-braun/rsyncSwift/blob/master/LICENSE). |
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
rsyncSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+13.6 KB
...codeproj/project.xcworkspace/xcuserdata/vbraun.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
110 changes: 110 additions & 0 deletions
110
rsyncSwift.xcodeproj/xcuserdata/vbraun.xcuserdatad/xcschemes/rsyncSwift.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0640" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "2AC9693F1BAFEE6B00E89D34" | ||
BuildableName = "rsyncSwift.framework" | ||
BlueprintName = "rsyncSwift" | ||
ReferencedContainer = "container:rsyncSwift.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "NO" | ||
buildForArchiving = "NO" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "2AC9694A1BAFEE6B00E89D34" | ||
BuildableName = "rsyncSwiftTests.xctest" | ||
BlueprintName = "rsyncSwiftTests" | ||
ReferencedContainer = "container:rsyncSwift.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
buildConfiguration = "Debug"> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "2AC9694A1BAFEE6B00E89D34" | ||
BuildableName = "rsyncSwiftTests.xctest" | ||
BlueprintName = "rsyncSwiftTests" | ||
ReferencedContainer = "container:rsyncSwift.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "2AC9693F1BAFEE6B00E89D34" | ||
BuildableName = "rsyncSwift.framework" | ||
BlueprintName = "rsyncSwift" | ||
ReferencedContainer = "container:rsyncSwift.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</TestAction> | ||
<LaunchAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Debug" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
allowLocationSimulation = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "2AC9693F1BAFEE6B00E89D34" | ||
BuildableName = "rsyncSwift.framework" | ||
BlueprintName = "rsyncSwift" | ||
ReferencedContainer = "container:rsyncSwift.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Release" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "2AC9693F1BAFEE6B00E89D34" | ||
BuildableName = "rsyncSwift.framework" | ||
BlueprintName = "rsyncSwift" | ||
ReferencedContainer = "container:rsyncSwift.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
27 changes: 27 additions & 0 deletions
27
rsyncSwift.xcodeproj/xcuserdata/vbraun.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>SchemeUserState</key> | ||
<dict> | ||
<key>rsyncSwift.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>0</integer> | ||
</dict> | ||
</dict> | ||
<key>SuppressBuildableAutocreation</key> | ||
<dict> | ||
<key>2AC9693F1BAFEE6B00E89D34</key> | ||
<dict> | ||
<key>primary</key> | ||
<true/> | ||
</dict> | ||
<key>2AC9694A1BAFEE6B00E89D34</key> | ||
<dict> | ||
<key>primary</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+30.2 KB
rsyncSwift.xcworkspace/xcuserdata/vbraun.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
103 changes: 103 additions & 0 deletions
103
rsyncSwift.xcworkspace/xcuserdata/vbraun.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Bucket | ||
type = "0" | ||
version = "2.0"> | ||
<Breakpoints> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "rsyncSwiftDemo/rsyncSwiftDemo/ViewController.swift" | ||
timestampString = "464532021.945098" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "34" | ||
endingLineNumber = "34" | ||
landmarkName = "viewDidLoad()" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "rsyncSwift/rsyncWrapper.mm" | ||
timestampString = "464537556.620161" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "137" | ||
endingLineNumber = "137" | ||
landmarkName = "-statusFileUpdate:isDir:withSize:withTime:withSymLink:" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "rsyncSwiftDemo/rsyncSwiftDemo/ViewController.swift" | ||
timestampString = "464537599.481052" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "35" | ||
endingLineNumber = "35" | ||
landmarkName = "viewDidLoad()" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "rsyncSwift/rsyncWrapper.mm" | ||
timestampString = "464540862.338952" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "256" | ||
endingLineNumber = "256" | ||
landmarkName = "-uploadFromLocalDir:toRemoteDir:" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "rsyncSwift/rsyncWrapper.mm" | ||
timestampString = "464540862.338952" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "229" | ||
endingLineNumber = "229" | ||
landmarkName = "-uploadFromLocalDir:toRemoteDir:" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "rsyncSwift/RsyncClient.swift" | ||
timestampString = "464541260.651957" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "93" | ||
endingLineNumber = "93" | ||
landmarkName = "timerUpdate()" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
</Breakpoints> | ||
</Bucket> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// DelegateHandler.cpp | ||
// rsyncSwift | ||
// | ||
// Created by Viktor Braun on 19/09/15. | ||
// Copyright (c) 2015 AW-SYSTEMS. All rights reserved. | ||
// | ||
|
||
#include <stdio.h> | ||
#include "DelegateHandler.h" | ||
|
||
|
||
DelegateHandler::DelegateHandler(){ | ||
statusMessage = NULL; | ||
statusFile = NULL; | ||
} | ||
|
||
DelegateHandler::~DelegateHandler(){ | ||
statusMessage = NULL; | ||
statusFile = NULL; | ||
} | ||
|
||
void DelegateHandler::in5(const char * path, bool isDir, int64_t size, int64_t time, | ||
const char * symlink) const{ | ||
statusFile(path, isDir, size, time, symlink, context); | ||
} | ||
void DelegateHandler::in1(const char* msg) const{ | ||
statusMessage(msg, context); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// DelegateHandler.h | ||
// rsyncSwift | ||
// | ||
// Created by Viktor Braun on 19/09/15. | ||
// Copyright (c) 2015 AW-SYSTEMS. All rights reserved. | ||
// | ||
|
||
#ifndef __rsyncSwift__DelegateHandler__ | ||
#define __rsyncSwift__DelegateHandler__ | ||
|
||
#include <stdio.h> | ||
#include <vector> | ||
#include <set> | ||
|
||
class DelegateHandler { | ||
private: | ||
|
||
public: | ||
|
||
void(*statusMessage)(const char* msg, void *context); | ||
|
||
void(*statusFile)(const char * path, bool isDir, int64_t size, int64_t time, | ||
const char * symlink, void *context); | ||
|
||
void *context; | ||
|
||
DelegateHandler(); | ||
~DelegateHandler(); | ||
|
||
void in1(const char*) const; | ||
void in5(const char * /*path*/, bool /*isDir*/, int64_t /*size*/, int64_t /*time*/, | ||
const char * /*symlink*/) const; | ||
|
||
}; | ||
|
||
#endif /* defined(__rsyncSwift__DelegateHandler__) */ |
Oops, something went wrong.