├── .clang-format ├── .editorconfig ├── .gitignore ├── .gitmodules ├── .travis.yml ├── Assets └── Icons │ └── AppIcon.svg ├── CONTRIBUTING.md ├── Examples ├── GitDiff │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── MainMenu.xib │ ├── GitDiff.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── GitDiff.xcscheme │ ├── Info.plist │ └── main.m ├── GitDown │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── MainMenu.xib │ ├── GitDown.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── GitDown.xcscheme │ ├── Info.plist │ └── main.m ├── GitY │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ ├── Document.xib │ │ └── MainMenu.xib │ ├── CommitViewTemplate.png │ ├── Document.h │ ├── Document.m │ ├── DocumentController.h │ ├── DocumentController.m │ ├── GitY.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── GitY.xcscheme │ ├── HistoryViewTemplate.png │ ├── Info.plist │ └── main.m └── iGit │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard │ ├── Info.plist │ ├── ViewController.h │ ├── ViewController.m │ ├── iGit.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── iGit.xcscheme │ └── main.m ├── GitUp ├── Application │ ├── AboutWindowController.h │ ├── AboutWindowController.m │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Application.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── icon_128x128.png │ │ │ ├── icon_128x128@2x.png │ │ │ ├── icon_16x16.png │ │ │ ├── icon_16x16@2x.png │ │ │ ├── icon_256x256.png │ │ │ ├── icon_256x256@2x.png │ │ │ ├── icon_32x32.png │ │ │ ├── icon_32x32@2x.png │ │ │ ├── icon_512x512.png │ │ │ └── icon_512x512@2x.png │ │ ├── Contents.json │ │ ├── arrow.down.right.and.arrow.up.left.imageset │ │ │ ├── Contents.json │ │ │ └── arrow.down.forward.and.arrow.up.backward.pdf │ │ ├── chevron.down.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_nav_down.png │ │ │ └── icon_nav_down@2x.png │ │ ├── chevron.up.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_nav_up.png │ │ │ └── icon_nav_up@2x.png │ │ ├── circle.2.line.diagonal.symbolset │ │ │ ├── Contents.json │ │ │ └── circle.2.line.diagonal.svg │ │ ├── clock.arrow.circlepath.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_nav_snapshot.png │ │ │ └── icon_nav_snapshot@2x.png │ │ ├── gearshape.imageset │ │ │ ├── Advanced.png │ │ │ ├── Advanced@2x.png │ │ │ └── Contents.json │ │ ├── icon_action_fetch.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_action_fetch.png │ │ │ └── icon_action_fetch@2x.png │ │ ├── icon_action_fetch_new.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_action_fetch_new.png │ │ │ ├── icon_action_fetch_new@2x.png │ │ │ ├── icon_action_fetch_new_light.png │ │ │ └── icon_action_fetch_new_light@2x.png │ │ ├── icon_action_push.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_action_push.png │ │ │ └── icon_action_push@2x.png │ │ ├── icon_forum.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_forum.png │ │ │ └── icon_forum@2x.png │ │ ├── icon_nav_map.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_nav_map.png │ │ │ └── icon_nav_map@2x.png │ │ ├── icon_twitter.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_twitter.png │ │ │ └── icon_twitter@2x.png │ │ ├── line.horizontal.3.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_nav_stash.png │ │ │ └── icon_nav_stash@2x.png │ │ ├── square.and.pencil.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_nav_commit.png │ │ │ └── icon_nav_commit@2x.png │ │ └── switch.2.imageset │ │ │ ├── Contents.json │ │ │ ├── General.png │ │ │ └── General@2x.png │ ├── AuthenticationWindowController.h │ ├── AuthenticationWindowController.m │ ├── Base.lproj │ │ ├── AboutWindowController.xib │ │ ├── AuthenticationWindowController.xib │ │ ├── CloneWindowController.xib │ │ ├── Document.xib │ │ ├── MainMenu.xib │ │ ├── PreferencesWindowController.xib │ │ └── WelcomeWindowController.xib │ ├── CloneWindowController.h │ ├── CloneWindowController.m │ ├── Common.h │ ├── Document.h │ ├── Document.m │ ├── DocumentController.h │ ├── DocumentController.m │ ├── FontSizeTransformer.h │ ├── FontSizeTransformer.m │ ├── GitUp.entitlements │ ├── Info.plist │ ├── KeychainAccessor.h │ ├── KeychainAccessor.m │ ├── PreferencesWindowController.h │ ├── PreferencesWindowController.m │ ├── ServicesProvider.h │ ├── ServicesProvider.m │ ├── ToolbarItemWrapperView.h │ ├── ToolbarItemWrapperView.m │ ├── WelcomeWindowController.h │ ├── WelcomeWindowController.m │ ├── WindowController.h │ ├── WindowController.m │ ├── en.lproj │ │ ├── Help.plist │ │ ├── InfoPlist.strings │ │ └── Localizable.strings │ └── main.m ├── Export-Options.plist ├── GitUp.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── Application.xcscheme │ │ └── Tool.xcscheme ├── SparkleAppcast.xml ├── Tool │ ├── install.sh │ └── main.m └── ToolProtocol.h ├── GitUpKit ├── Components │ ├── Base.lproj │ │ ├── GICommitListViewController.xib │ │ ├── GIDiffContentsViewController.xib │ │ ├── GIDiffFilesViewController.xib │ │ ├── GISnapshotListViewController.xib │ │ └── GIUnifiedReflogViewController.xib │ ├── Components.xcassets │ │ ├── Contents.json │ │ ├── diff │ │ │ ├── Contents.json │ │ │ ├── added_background.colorset │ │ │ │ └── Contents.json │ │ │ ├── conflict_background.colorset │ │ │ │ └── Contents.json │ │ │ ├── deleted_background.colorset │ │ │ │ └── Contents.json │ │ │ ├── modified_background.colorset │ │ │ │ └── Contents.json │ │ │ ├── renamed_background.colorset │ │ │ │ └── Contents.json │ │ │ └── untracked_background.colorset │ │ │ │ └── Contents.json │ │ ├── icon_file_a.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_file_a.png │ │ │ └── icon_file_a@2x.png │ │ ├── icon_file_conflict.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_file_conflict.png │ │ │ └── icon_file_conflict@2x.png │ │ ├── icon_file_d.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_file_d.png │ │ │ └── icon_file_d@2x.png │ │ ├── icon_file_m.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_file_m.png │ │ │ └── icon_file_m@2x.png │ │ ├── icon_file_r.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_file_r.png │ │ │ └── icon_file_r@2x.png │ │ ├── icon_file_u.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_file_u.png │ │ │ └── icon_file_u@2x.png │ │ └── icon_gear.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_gear.png │ │ │ └── icon_gear@2x.png │ ├── GICommitListViewController.h │ ├── GICommitListViewController.m │ ├── GIDiffContentsViewController.h │ ├── GIDiffContentsViewController.m │ ├── GIDiffFilesViewController.h │ ├── GIDiffFilesViewController.m │ ├── GISnapshotListViewController.h │ ├── GISnapshotListViewController.m │ ├── GIUnifiedReflogViewController.h │ ├── GIUnifiedReflogViewController.m │ └── en.lproj │ │ └── Reasons.strings ├── Core │ ├── GCBranch-Tests.m │ ├── GCBranch.h │ ├── GCBranch.m │ ├── GCCommit-Tests.m │ ├── GCCommit.h │ ├── GCCommit.m │ ├── GCCommitDatabase-Tests.m │ ├── GCCommitDatabase.h │ ├── GCCommitDatabase.m │ ├── GCCore.h │ ├── GCDiff-Tests.m │ ├── GCDiff.h │ ├── GCDiff.m │ ├── GCError.h │ ├── GCFoundation-Tests.m │ ├── GCFoundation.h │ ├── GCFoundation.m │ ├── GCFunctions.h │ ├── GCFunctions.m │ ├── GCHistory-Tests.m │ ├── GCHistory.h │ ├── GCHistory.m │ ├── GCIndex.h │ ├── GCIndex.m │ ├── GCLiveRepository+Conflicts.h │ ├── GCLiveRepository+Conflicts.m │ ├── GCLiveRepository-Tests.m │ ├── GCLiveRepository.h │ ├── GCLiveRepository.m │ ├── GCMacros.h │ ├── GCObject.h │ ├── GCObject.m │ ├── GCOrderedSet-Tests.m │ ├── GCOrderedSet.h │ ├── GCOrderedSet.m │ ├── GCPrivate.h │ ├── GCPrivate.m │ ├── GCReference.h │ ├── GCReference.m │ ├── GCReferenceTransform.h │ ├── GCReferenceTransform.m │ ├── GCReflogMessages.h │ ├── GCRemote-Tests.m │ ├── GCRemote.h │ ├── GCRemote.m │ ├── GCRepository+Bare-Tests.m │ ├── GCRepository+Bare.h │ ├── GCRepository+Bare.m │ ├── GCRepository+Config-Tests.m │ ├── GCRepository+Config.h │ ├── GCRepository+Config.m │ ├── GCRepository+HEAD-Tests.m │ ├── GCRepository+HEAD.h │ ├── GCRepository+HEAD.m │ ├── GCRepository+Mock-Tests.m │ ├── GCRepository+Mock.h │ ├── GCRepository+Mock.m │ ├── GCRepository+Reflog-Tests.m │ ├── GCRepository+Reflog.h │ ├── GCRepository+Reflog.m │ ├── GCRepository+Reset-Tests.m │ ├── GCRepository+Reset.h │ ├── GCRepository+Reset.m │ ├── GCRepository+Status-Tests.m │ ├── GCRepository+Status.h │ ├── GCRepository+Status.m │ ├── GCRepository-Tests.m │ ├── GCRepository.h │ ├── GCRepository.m │ ├── GCSQLiteRepository-Tests.m │ ├── GCSQLiteRepository.h │ ├── GCSQLiteRepository.m │ ├── GCSnapshot-Tests.m │ ├── GCSnapshot.h │ ├── GCSnapshot.m │ ├── GCStash-Tests.m │ ├── GCStash.h │ ├── GCStash.m │ ├── GCSubmodule-Tests.m │ ├── GCSubmodule.h │ ├── GCSubmodule.m │ ├── GCTag-Tests.m │ ├── GCTag.h │ ├── GCTag.m │ ├── GCTestCase.h │ └── GCTestCase.m ├── Extensions │ ├── GCHistory+Rewrite-Tests.m │ ├── GCHistory+Rewrite.h │ ├── GCHistory+Rewrite.m │ ├── GCLiveRepository+Utilities.h │ ├── GCLiveRepository+Utilities.m │ ├── GCRepository+Index-Tests.m │ ├── GCRepository+Index.h │ ├── GCRepository+Index.m │ ├── GCRepository+Utilities-Tests.m │ ├── GCRepository+Utilities.h │ └── GCRepository+Utilities.m ├── GitUpKit.h ├── GitUpKit.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── GitUpKit (iOS).xcscheme │ │ └── GitUpKit (macOS).xcscheme ├── Info.plist ├── Interface │ ├── GIBranch.h │ ├── GIBranch.m │ ├── GIConstants.h │ ├── GIDiffView.h │ ├── GIDiffView.m │ ├── GIFunctions-Tests.m │ ├── GIFunctions.h │ ├── GIFunctions.m │ ├── GIGraph-Tests.m │ ├── GIGraph-Tests │ │ ├── simple.txt │ │ ├── skip_remote_branches_1.txt │ │ ├── skip_remote_branches_2.txt │ │ ├── skip_remote_branches_3.txt │ │ └── virtual_tip.txt │ ├── GIGraph.h │ ├── GIGraph.m │ ├── GIGraphView.h │ ├── GIGraphView.m │ ├── GIImageDiffView.h │ ├── GIImageDiffView.m │ ├── GIInterface.h │ ├── GILayer.h │ ├── GILayer.m │ ├── GILine.h │ ├── GILine.m │ ├── GINode.h │ ├── GINode.m │ ├── GIPrivate.h │ ├── GIPrivate.m │ ├── GISplitDiffView.h │ ├── GISplitDiffView.m │ ├── GIUnifiedDiffView.h │ ├── GIUnifiedDiffView.m │ └── Interface.xcassets │ │ ├── Contents.json │ │ ├── branch │ │ ├── 1.colorset │ │ │ └── Contents.json │ │ ├── 2.colorset │ │ │ └── Contents.json │ │ ├── 3.colorset │ │ │ └── Contents.json │ │ ├── 4.colorset │ │ │ └── Contents.json │ │ ├── 5.colorset │ │ │ └── Contents.json │ │ ├── 6.colorset │ │ │ └── Contents.json │ │ ├── 7.colorset │ │ │ └── Contents.json │ │ ├── 8.colorset │ │ │ └── Contents.json │ │ └── Contents.json │ │ └── diff │ │ ├── Contents.json │ │ ├── added_text_background.colorset │ │ └── Contents.json │ │ ├── added_text_highlight.colorset │ │ └── Contents.json │ │ ├── deleted_text_background.colorset │ │ └── Contents.json │ │ ├── deleted_text_highlight.colorset │ │ └── Contents.json │ │ └── separator_background.colorset │ │ └── Contents.json ├── Logging │ └── XLFacilityMacros.h ├── Third-Party │ ├── Package.swift │ ├── common.sh │ ├── libcrypto.xcframework │ │ ├── Info.plist │ │ ├── ios-arm64 │ │ │ └── libcrypto.a │ │ ├── ios-arm64_x86_64-simulator │ │ │ └── libcrypto.a │ │ └── macos-arm64_x86_64 │ │ │ └── libcrypto.a │ ├── libgit2.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── libgit2.xcscheme │ ├── libsqlite3.xcframework │ │ ├── Info.plist │ │ ├── ios-arm64 │ │ │ ├── Headers │ │ │ │ ├── sqlite3.h │ │ │ │ └── sqlite3ext.h │ │ │ └── libsqlite3.a │ │ ├── ios-arm64_x86_64-simulator │ │ │ ├── Headers │ │ │ │ ├── sqlite3.h │ │ │ │ └── sqlite3ext.h │ │ │ └── libsqlite3.a │ │ └── macos-arm64_x86_64 │ │ │ ├── Headers │ │ │ ├── sqlite3.h │ │ │ └── sqlite3ext.h │ │ │ └── libsqlite3.a │ ├── libssh2.xcframework │ │ ├── Info.plist │ │ ├── ios-arm64 │ │ │ ├── Headers │ │ │ │ ├── libssh2.h │ │ │ │ ├── libssh2_publickey.h │ │ │ │ └── libssh2_sftp.h │ │ │ └── libssh2.a │ │ ├── ios-arm64_x86_64-simulator │ │ │ ├── Headers │ │ │ │ ├── libssh2.h │ │ │ │ ├── libssh2_publickey.h │ │ │ │ └── libssh2_sftp.h │ │ │ └── libssh2.a │ │ └── macos-arm64_x86_64 │ │ │ ├── Headers │ │ │ ├── libssh2.h │ │ │ ├── libssh2_publickey.h │ │ │ └── libssh2_sftp.h │ │ │ └── libssh2.a │ ├── libssl.xcframework │ │ ├── Info.plist │ │ ├── ios-arm64 │ │ │ ├── Headers │ │ │ │ └── openssl │ │ │ │ │ ├── aes.h │ │ │ │ │ ├── asn1.h │ │ │ │ │ ├── asn1_mac.h │ │ │ │ │ ├── asn1err.h │ │ │ │ │ ├── asn1t.h │ │ │ │ │ ├── async.h │ │ │ │ │ ├── asyncerr.h │ │ │ │ │ ├── bio.h │ │ │ │ │ ├── bioerr.h │ │ │ │ │ ├── blowfish.h │ │ │ │ │ ├── bn.h │ │ │ │ │ ├── bnerr.h │ │ │ │ │ ├── buffer.h │ │ │ │ │ ├── buffererr.h │ │ │ │ │ ├── camellia.h │ │ │ │ │ ├── cast.h │ │ │ │ │ ├── cmac.h │ │ │ │ │ ├── cms.h │ │ │ │ │ ├── cmserr.h │ │ │ │ │ ├── comp.h │ │ │ │ │ ├── comperr.h │ │ │ │ │ ├── conf.h │ │ │ │ │ ├── conf_api.h │ │ │ │ │ ├── conferr.h │ │ │ │ │ ├── crypto.h │ │ │ │ │ ├── cryptoerr.h │ │ │ │ │ ├── ct.h │ │ │ │ │ ├── cterr.h │ │ │ │ │ ├── des.h │ │ │ │ │ ├── dh.h │ │ │ │ │ ├── dherr.h │ │ │ │ │ ├── dsa.h │ │ │ │ │ ├── dsaerr.h │ │ │ │ │ ├── dtls1.h │ │ │ │ │ ├── e_os2.h │ │ │ │ │ ├── ebcdic.h │ │ │ │ │ ├── ec.h │ │ │ │ │ ├── ecdh.h │ │ │ │ │ ├── ecdsa.h │ │ │ │ │ ├── ecerr.h │ │ │ │ │ ├── engine.h │ │ │ │ │ ├── engineerr.h │ │ │ │ │ ├── err.h │ │ │ │ │ ├── evp.h │ │ │ │ │ ├── evperr.h │ │ │ │ │ ├── hmac.h │ │ │ │ │ ├── idea.h │ │ │ │ │ ├── kdf.h │ │ │ │ │ ├── kdferr.h │ │ │ │ │ ├── lhash.h │ │ │ │ │ ├── md2.h │ │ │ │ │ ├── md4.h │ │ │ │ │ ├── md5.h │ │ │ │ │ ├── mdc2.h │ │ │ │ │ ├── modes.h │ │ │ │ │ ├── obj_mac.h │ │ │ │ │ ├── objects.h │ │ │ │ │ ├── objectserr.h │ │ │ │ │ ├── ocsp.h │ │ │ │ │ ├── ocsperr.h │ │ │ │ │ ├── opensslconf.h │ │ │ │ │ ├── opensslv.h │ │ │ │ │ ├── ossl_typ.h │ │ │ │ │ ├── pem.h │ │ │ │ │ ├── pem2.h │ │ │ │ │ ├── pemerr.h │ │ │ │ │ ├── pkcs12.h │ │ │ │ │ ├── pkcs12err.h │ │ │ │ │ ├── pkcs7.h │ │ │ │ │ ├── pkcs7err.h │ │ │ │ │ ├── rand.h │ │ │ │ │ ├── rand_drbg.h │ │ │ │ │ ├── randerr.h │ │ │ │ │ ├── rc2.h │ │ │ │ │ ├── rc4.h │ │ │ │ │ ├── rc5.h │ │ │ │ │ ├── ripemd.h │ │ │ │ │ ├── rsa.h │ │ │ │ │ ├── rsaerr.h │ │ │ │ │ ├── safestack.h │ │ │ │ │ ├── seed.h │ │ │ │ │ ├── sha.h │ │ │ │ │ ├── srp.h │ │ │ │ │ ├── srtp.h │ │ │ │ │ ├── ssl.h │ │ │ │ │ ├── ssl2.h │ │ │ │ │ ├── ssl3.h │ │ │ │ │ ├── sslerr.h │ │ │ │ │ ├── stack.h │ │ │ │ │ ├── store.h │ │ │ │ │ ├── storeerr.h │ │ │ │ │ ├── symhacks.h │ │ │ │ │ ├── tls1.h │ │ │ │ │ ├── ts.h │ │ │ │ │ ├── tserr.h │ │ │ │ │ ├── txt_db.h │ │ │ │ │ ├── ui.h │ │ │ │ │ ├── uierr.h │ │ │ │ │ ├── whrlpool.h │ │ │ │ │ ├── x509.h │ │ │ │ │ ├── x509_vfy.h │ │ │ │ │ ├── x509err.h │ │ │ │ │ ├── x509v3.h │ │ │ │ │ └── x509v3err.h │ │ │ └── libssl.a │ │ ├── ios-arm64_x86_64-simulator │ │ │ ├── Headers │ │ │ │ └── openssl │ │ │ │ │ ├── aes.h │ │ │ │ │ ├── asn1.h │ │ │ │ │ ├── asn1_mac.h │ │ │ │ │ ├── asn1err.h │ │ │ │ │ ├── asn1t.h │ │ │ │ │ ├── async.h │ │ │ │ │ ├── asyncerr.h │ │ │ │ │ ├── bio.h │ │ │ │ │ ├── bioerr.h │ │ │ │ │ ├── blowfish.h │ │ │ │ │ ├── bn.h │ │ │ │ │ ├── bnerr.h │ │ │ │ │ ├── buffer.h │ │ │ │ │ ├── buffererr.h │ │ │ │ │ ├── camellia.h │ │ │ │ │ ├── cast.h │ │ │ │ │ ├── cmac.h │ │ │ │ │ ├── cms.h │ │ │ │ │ ├── cmserr.h │ │ │ │ │ ├── comp.h │ │ │ │ │ ├── comperr.h │ │ │ │ │ ├── conf.h │ │ │ │ │ ├── conf_api.h │ │ │ │ │ ├── conferr.h │ │ │ │ │ ├── crypto.h │ │ │ │ │ ├── cryptoerr.h │ │ │ │ │ ├── ct.h │ │ │ │ │ ├── cterr.h │ │ │ │ │ ├── des.h │ │ │ │ │ ├── dh.h │ │ │ │ │ ├── dherr.h │ │ │ │ │ ├── dsa.h │ │ │ │ │ ├── dsaerr.h │ │ │ │ │ ├── dtls1.h │ │ │ │ │ ├── e_os2.h │ │ │ │ │ ├── ebcdic.h │ │ │ │ │ ├── ec.h │ │ │ │ │ ├── ecdh.h │ │ │ │ │ ├── ecdsa.h │ │ │ │ │ ├── ecerr.h │ │ │ │ │ ├── engine.h │ │ │ │ │ ├── engineerr.h │ │ │ │ │ ├── err.h │ │ │ │ │ ├── evp.h │ │ │ │ │ ├── evperr.h │ │ │ │ │ ├── hmac.h │ │ │ │ │ ├── idea.h │ │ │ │ │ ├── kdf.h │ │ │ │ │ ├── kdferr.h │ │ │ │ │ ├── lhash.h │ │ │ │ │ ├── md2.h │ │ │ │ │ ├── md4.h │ │ │ │ │ ├── md5.h │ │ │ │ │ ├── mdc2.h │ │ │ │ │ ├── modes.h │ │ │ │ │ ├── obj_mac.h │ │ │ │ │ ├── objects.h │ │ │ │ │ ├── objectserr.h │ │ │ │ │ ├── ocsp.h │ │ │ │ │ ├── ocsperr.h │ │ │ │ │ ├── opensslconf.h │ │ │ │ │ ├── opensslv.h │ │ │ │ │ ├── ossl_typ.h │ │ │ │ │ ├── pem.h │ │ │ │ │ ├── pem2.h │ │ │ │ │ ├── pemerr.h │ │ │ │ │ ├── pkcs12.h │ │ │ │ │ ├── pkcs12err.h │ │ │ │ │ ├── pkcs7.h │ │ │ │ │ ├── pkcs7err.h │ │ │ │ │ ├── rand.h │ │ │ │ │ ├── rand_drbg.h │ │ │ │ │ ├── randerr.h │ │ │ │ │ ├── rc2.h │ │ │ │ │ ├── rc4.h │ │ │ │ │ ├── rc5.h │ │ │ │ │ ├── ripemd.h │ │ │ │ │ ├── rsa.h │ │ │ │ │ ├── rsaerr.h │ │ │ │ │ ├── safestack.h │ │ │ │ │ ├── seed.h │ │ │ │ │ ├── sha.h │ │ │ │ │ ├── srp.h │ │ │ │ │ ├── srtp.h │ │ │ │ │ ├── ssl.h │ │ │ │ │ ├── ssl2.h │ │ │ │ │ ├── ssl3.h │ │ │ │ │ ├── sslerr.h │ │ │ │ │ ├── stack.h │ │ │ │ │ ├── store.h │ │ │ │ │ ├── storeerr.h │ │ │ │ │ ├── symhacks.h │ │ │ │ │ ├── tls1.h │ │ │ │ │ ├── ts.h │ │ │ │ │ ├── tserr.h │ │ │ │ │ ├── txt_db.h │ │ │ │ │ ├── ui.h │ │ │ │ │ ├── uierr.h │ │ │ │ │ ├── whrlpool.h │ │ │ │ │ ├── x509.h │ │ │ │ │ ├── x509_vfy.h │ │ │ │ │ ├── x509err.h │ │ │ │ │ ├── x509v3.h │ │ │ │ │ └── x509v3err.h │ │ │ └── libssl.a │ │ └── macos-arm64_x86_64 │ │ │ ├── Headers │ │ │ └── openssl │ │ │ │ ├── aes.h │ │ │ │ ├── asn1.h │ │ │ │ ├── asn1_mac.h │ │ │ │ ├── asn1err.h │ │ │ │ ├── asn1t.h │ │ │ │ ├── async.h │ │ │ │ ├── asyncerr.h │ │ │ │ ├── bio.h │ │ │ │ ├── bioerr.h │ │ │ │ ├── blowfish.h │ │ │ │ ├── bn.h │ │ │ │ ├── bnerr.h │ │ │ │ ├── buffer.h │ │ │ │ ├── buffererr.h │ │ │ │ ├── camellia.h │ │ │ │ ├── cast.h │ │ │ │ ├── cmac.h │ │ │ │ ├── cms.h │ │ │ │ ├── cmserr.h │ │ │ │ ├── comp.h │ │ │ │ ├── comperr.h │ │ │ │ ├── conf.h │ │ │ │ ├── conf_api.h │ │ │ │ ├── conferr.h │ │ │ │ ├── crypto.h │ │ │ │ ├── cryptoerr.h │ │ │ │ ├── ct.h │ │ │ │ ├── cterr.h │ │ │ │ ├── des.h │ │ │ │ ├── dh.h │ │ │ │ ├── dherr.h │ │ │ │ ├── dsa.h │ │ │ │ ├── dsaerr.h │ │ │ │ ├── dtls1.h │ │ │ │ ├── e_os2.h │ │ │ │ ├── ebcdic.h │ │ │ │ ├── ec.h │ │ │ │ ├── ecdh.h │ │ │ │ ├── ecdsa.h │ │ │ │ ├── ecerr.h │ │ │ │ ├── engine.h │ │ │ │ ├── engineerr.h │ │ │ │ ├── err.h │ │ │ │ ├── evp.h │ │ │ │ ├── evperr.h │ │ │ │ ├── hmac.h │ │ │ │ ├── idea.h │ │ │ │ ├── kdf.h │ │ │ │ ├── kdferr.h │ │ │ │ ├── lhash.h │ │ │ │ ├── md2.h │ │ │ │ ├── md4.h │ │ │ │ ├── md5.h │ │ │ │ ├── mdc2.h │ │ │ │ ├── modes.h │ │ │ │ ├── obj_mac.h │ │ │ │ ├── objects.h │ │ │ │ ├── objectserr.h │ │ │ │ ├── ocsp.h │ │ │ │ ├── ocsperr.h │ │ │ │ ├── opensslconf.h │ │ │ │ ├── opensslv.h │ │ │ │ ├── ossl_typ.h │ │ │ │ ├── pem.h │ │ │ │ ├── pem2.h │ │ │ │ ├── pemerr.h │ │ │ │ ├── pkcs12.h │ │ │ │ ├── pkcs12err.h │ │ │ │ ├── pkcs7.h │ │ │ │ ├── pkcs7err.h │ │ │ │ ├── rand.h │ │ │ │ ├── rand_drbg.h │ │ │ │ ├── randerr.h │ │ │ │ ├── rc2.h │ │ │ │ ├── rc4.h │ │ │ │ ├── rc5.h │ │ │ │ ├── ripemd.h │ │ │ │ ├── rsa.h │ │ │ │ ├── rsaerr.h │ │ │ │ ├── safestack.h │ │ │ │ ├── seed.h │ │ │ │ ├── sha.h │ │ │ │ ├── srp.h │ │ │ │ ├── srtp.h │ │ │ │ ├── ssl.h │ │ │ │ ├── ssl2.h │ │ │ │ ├── ssl3.h │ │ │ │ ├── sslerr.h │ │ │ │ ├── stack.h │ │ │ │ ├── store.h │ │ │ │ ├── storeerr.h │ │ │ │ ├── symhacks.h │ │ │ │ ├── tls1.h │ │ │ │ ├── ts.h │ │ │ │ ├── tserr.h │ │ │ │ ├── txt_db.h │ │ │ │ ├── ui.h │ │ │ │ ├── uierr.h │ │ │ │ ├── whrlpool.h │ │ │ │ ├── x509.h │ │ │ │ ├── x509_vfy.h │ │ │ │ ├── x509err.h │ │ │ │ ├── x509v3.h │ │ │ │ └── x509v3err.h │ │ │ └── libssl.a │ ├── rebuild-libsqlite3.sh │ ├── rebuild-libssh2.sh │ └── rebuild-libssl.sh ├── Utilities │ ├── GIAppKit.h │ ├── GIAppKit.m │ ├── GIColorView.h │ ├── GIColorView.m │ ├── GICustomToolbarItem.h │ ├── GICustomToolbarItem.m │ ├── GILaunchServicesLocator.h │ ├── GILaunchServicesLocator.m │ ├── GILinkButton.h │ ├── GILinkButton.m │ ├── GIModalView.h │ ├── GIModalView.m │ ├── GIViewController+Utilities.h │ ├── GIViewController+Utilities.m │ ├── GIViewController.h │ ├── GIViewController.m │ ├── GIWindowController.h │ ├── GIWindowController.m │ ├── GIWindowController.xib │ ├── NSBundle+GitUpKit.h │ ├── NSBundle+GitUpKit.m │ ├── NSColor+GINamedColors.h │ ├── NSColor+GINamedColors.m │ └── Utilities.xcassets │ │ ├── Contents.json │ │ ├── icon_alert_caution.imageset │ │ ├── Contents.json │ │ ├── icon_alert_caution.png │ │ └── icon_alert_caution@2x.png │ │ ├── icon_alert_note.imageset │ │ ├── Contents.json │ │ ├── icon_alert_note.png │ │ └── icon_alert_note@2x.png │ │ ├── icon_alert_stop.imageset │ │ ├── Contents.json │ │ ├── icon_alert_stop.png │ │ └── icon_alert_stop@2x.png │ │ └── separator.colorset │ │ └── Contents.json ├── Views │ ├── Base.lproj │ │ ├── GIAdvancedCommitViewController.xib │ │ ├── GICommitRewriterViewController.xib │ │ ├── GICommitSplitterViewController.xib │ │ ├── GIConfigViewController.xib │ │ ├── GIConflictResolverViewController.xib │ │ ├── GIDiffViewController.xib │ │ ├── GIMapViewController.xib │ │ ├── GIQuickViewController.xib │ │ ├── GISimpleCommitViewController.xib │ │ └── GIStashListViewController.xib │ ├── GIAdvancedCommitViewController.h │ ├── GIAdvancedCommitViewController.m │ ├── GICommitRewriterViewController.h │ ├── GICommitRewriterViewController.m │ ├── GICommitSplitterViewController.h │ ├── GICommitSplitterViewController.m │ ├── GICommitViewController.h │ ├── GICommitViewController.m │ ├── GIConfigViewController.h │ ├── GIConfigViewController.m │ ├── GIConflictResolverViewController.h │ ├── GIConflictResolverViewController.m │ ├── GIDiffViewController.h │ ├── GIDiffViewController.m │ ├── GIMapViewController+Operations.h │ ├── GIMapViewController+Operations.m │ ├── GIMapViewController.h │ ├── GIMapViewController.m │ ├── GIQuickViewController.h │ ├── GIQuickViewController.m │ ├── GIRemappingExplanationPopover.h │ ├── GIRemappingExplanationPopover.m │ ├── GIRemappingExplanationViewController.xib │ ├── GISimpleCommitViewController.h │ ├── GISimpleCommitViewController.m │ ├── GIStashListViewController.h │ ├── GIStashListViewController.m │ ├── Views.xcassets │ │ ├── Contents.json │ │ ├── background_pattern.imageset │ │ │ ├── Contents.json │ │ │ ├── background_pattern-dark.png │ │ │ ├── background_pattern-dark@2x.png │ │ │ ├── background_pattern.png │ │ │ └── background_pattern@2x.png │ │ ├── commit │ │ │ ├── Contents.json │ │ │ └── header_background.colorset │ │ │ │ └── Contents.json │ │ ├── config │ │ │ ├── Contents.json │ │ │ ├── conflict_background.colorset │ │ │ │ └── Contents.json │ │ │ ├── global_background.colorset │ │ │ │ └── Contents.json │ │ │ └── highlight_background.colorset │ │ │ │ └── Contents.json │ │ ├── icon_author.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_author.png │ │ │ └── icon_author@2x.png │ │ └── icon_committer.imageset │ │ │ ├── Contents.json │ │ │ ├── icon_committer.png │ │ │ └── icon_committer@2x.png │ └── en.lproj │ │ └── GIConfigViewController-Help.txt └── build-release.sh ├── LICENSE ├── README.md ├── UPDATING-LIBGIT2.md ├── Xcode-Configurations ├── Base.xcconfig ├── Debug.xcconfig └── Release.xcconfig ├── appcasts ├── continuous │ └── appcast.xml └── stable │ └── appcast.xml ├── continuous-build.sh ├── format-source.sh ├── stable-build.sh └── travis-build.sh /.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | BasedOnStyle: Google 3 | Standard: Cpp11 4 | ColumnLimit: 0 5 | AlignTrailingComments: false 6 | NamespaceIndentation: All 7 | DerivePointerAlignment: false 8 | AlwaysBreakBeforeMultilineStrings: false 9 | AccessModifierOffset: -2 10 | ObjCSpaceBeforeProtocolList: true 11 | SortIncludes: false 12 | ObjCBinPackProtocolList: Auto 13 | --- 14 | Language: Cpp 15 | --- 16 | Language: ObjC 17 | ... 18 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | xcuserdata 3 | project.xcworkspace 4 | build 5 | 6 | # User-specific xcconfig files 7 | Xcode-Configurations/DEVELOPMENT_TEAM.xcconfig 8 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "libgit2"] 2 | path = GitUpKit/Third-Party/libgit2 3 | url = https://github.com/git-up/libgit2.git 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | script: ./travis-build.sh 3 | osx_image: xcode10.3 4 | -------------------------------------------------------------------------------- /Examples/GitDiff/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface AppDelegate : NSObject 19 | @end 20 | -------------------------------------------------------------------------------- /Examples/GitDiff/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSMinimumSystemVersion 22 | $(MACOSX_DEPLOYMENT_TARGET) 23 | NSMainNibFile 24 | MainMenu 25 | NSPrincipalClass 26 | NSApplication 27 | 28 | 29 | -------------------------------------------------------------------------------- /Examples/GitDiff/main.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | int main(int argc, const char* argv[]) { 19 | return NSApplicationMain(argc, argv); 20 | } 21 | -------------------------------------------------------------------------------- /Examples/GitDown/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface AppDelegate : NSObject 19 | @end 20 | -------------------------------------------------------------------------------- /Examples/GitDown/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSMinimumSystemVersion 22 | $(MACOSX_DEPLOYMENT_TARGET) 23 | NSMainNibFile 24 | MainMenu 25 | NSPrincipalClass 26 | NSApplication 27 | 28 | 29 | -------------------------------------------------------------------------------- /Examples/GitDown/main.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | int main(int argc, const char* argv[]) { 19 | return NSApplicationMain(argc, argv); 20 | } 21 | -------------------------------------------------------------------------------- /Examples/GitY/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface AppDelegate : NSObject 19 | @end 20 | -------------------------------------------------------------------------------- /Examples/GitY/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "AppDelegate.h" 17 | #import "DocumentController.h" 18 | 19 | @implementation AppDelegate 20 | 21 | - (void)applicationWillFinishLaunching:(NSNotification*)notification { 22 | // Initialize and install custom subclass of NSDocumentController 23 | [DocumentController sharedDocumentController]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Examples/GitY/CommitViewTemplate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/Examples/GitY/CommitViewTemplate.png -------------------------------------------------------------------------------- /Examples/GitY/Document.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface Document : NSDocument 19 | @end 20 | -------------------------------------------------------------------------------- /Examples/GitY/DocumentController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface DocumentController : NSDocumentController 19 | @end 20 | -------------------------------------------------------------------------------- /Examples/GitY/DocumentController.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "DocumentController.h" 17 | 18 | @implementation DocumentController 19 | 20 | // Patch method to allow selecting folders 21 | - (void)beginOpenPanel:(NSOpenPanel*)openPanel forTypes:(NSArray*)inTypes completionHandler:(void (^)(NSInteger result))completionHandler { 22 | openPanel.canChooseFiles = NO; 23 | openPanel.canChooseDirectories = YES; 24 | [super beginOpenPanel:openPanel forTypes:inTypes completionHandler:completionHandler]; 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Examples/GitY/HistoryViewTemplate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/Examples/GitY/HistoryViewTemplate.png -------------------------------------------------------------------------------- /Examples/GitY/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDocumentTypes 8 | 9 | 10 | CFBundleTypeName 11 | Git Repository 12 | CFBundleTypeRole 13 | Viewer 14 | LSItemContentTypes 15 | 16 | public.folder 17 | 18 | NSDocumentClass 19 | Document 20 | 21 | 22 | CFBundleExecutable 23 | $(EXECUTABLE_NAME) 24 | CFBundleIdentifier 25 | $(PRODUCT_BUNDLE_IDENTIFIER) 26 | CFBundleInfoDictionaryVersion 27 | 6.0 28 | CFBundleName 29 | $(PRODUCT_NAME) 30 | CFBundlePackageType 31 | APPL 32 | CFBundleShortVersionString 33 | 1.0 34 | CFBundleVersion 35 | 1 36 | LSMinimumSystemVersion 37 | $(MACOSX_DEPLOYMENT_TARGET) 38 | NSMainNibFile 39 | MainMenu 40 | NSPrincipalClass 41 | NSApplication 42 | 43 | 44 | -------------------------------------------------------------------------------- /Examples/GitY/main.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | int main(int argc, const char* argv[]) { 19 | return NSApplicationMain(argc, argv); 20 | } 21 | -------------------------------------------------------------------------------- /Examples/iGit/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface AppDelegate : UIResponder 19 | @property(nonatomic, strong) UIWindow* window; 20 | @end 21 | -------------------------------------------------------------------------------- /Examples/iGit/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "AppDelegate.h" 17 | 18 | @implementation AppDelegate 19 | 20 | - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { 21 | return YES; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Examples/iGit/ViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface ViewController : UIViewController 19 | @end 20 | -------------------------------------------------------------------------------- /Examples/iGit/main.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | #import "AppDelegate.h" 19 | 20 | int main(int argc, char* argv[]) { 21 | @autoreleasepool { 22 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /GitUp/Application/AboutWindowController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AboutWindowController.h 3 | // Application 4 | // 5 | // Created by Dmitry Lobanov on 08.10.2019. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @interface AboutWindowController : NSWindowController 13 | @end 14 | 15 | NS_ASSUME_NONNULL_END 16 | -------------------------------------------------------------------------------- /GitUp/Application/AboutWindowController.m: -------------------------------------------------------------------------------- 1 | // 2 | // AboutWindowController.m 3 | // Application 4 | // 5 | // Created by Dmitry Lobanov on 08.10.2019. 6 | // 7 | 8 | #import "AboutWindowController.h" 9 | 10 | @interface AboutWindowController () 11 | @property(nonatomic, weak) IBOutlet NSTextField* versionTextField; 12 | @property(nonatomic, weak) IBOutlet NSTextField* copyrightTextField; 13 | @end 14 | 15 | @implementation AboutWindowController 16 | 17 | - (instancetype)init { 18 | return [super initWithWindowNibName:@"AboutWindowController"]; 19 | } 20 | 21 | - (void)windowDidLoad { 22 | [super windowDidLoad]; 23 | [self configureUI]; 24 | } 25 | 26 | - (void)configureUI { 27 | NSString* version = nil; 28 | #if DEBUG 29 | version = @"DEBUG"; 30 | #else 31 | version = [NSString stringWithFormat:NSLocalizedString(@"Version %@ (%@)", nil), [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"], [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]]; 32 | #endif 33 | self.versionTextField.stringValue = version; 34 | self.copyrightTextField.stringValue = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"NSHumanReadableCopyright"]; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /GitUp/Application/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface AppDelegate : NSObject 19 | + (instancetype)sharedDelegate; 20 | - (void)handleDocumentCountChanged; 21 | @end 22 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_128x128.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_128x128@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_16x16.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_16x16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_16x16@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_256x256.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_256x256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_256x256@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_32x32.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_32x32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_32x32@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_512x512.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_512x512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/AppIcon.appiconset/icon_512x512@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/arrow.down.right.and.arrow.up.left.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "arrow.down.forward.and.arrow.up.backward.pdf", 5 | "idiom" : "universal" 6 | } 7 | ], 8 | "info" : { 9 | "author" : "xcode", 10 | "version" : 1 11 | }, 12 | "properties" : { 13 | "template-rendering-intent" : "template" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/arrow.down.right.and.arrow.up.left.imageset/arrow.down.forward.and.arrow.up.backward.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/arrow.down.right.and.arrow.up.left.imageset/arrow.down.forward.and.arrow.up.backward.pdf -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/chevron.down.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon_nav_down.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "filename" : "icon_nav_down@2x.png", 10 | "idiom" : "universal", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/chevron.down.imageset/icon_nav_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/chevron.down.imageset/icon_nav_down.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/chevron.down.imageset/icon_nav_down@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/chevron.down.imageset/icon_nav_down@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/chevron.up.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon_nav_up.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "filename" : "icon_nav_up@2x.png", 10 | "idiom" : "universal", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/chevron.up.imageset/icon_nav_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/chevron.up.imageset/icon_nav_up.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/chevron.up.imageset/icon_nav_up@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/chevron.up.imageset/icon_nav_up@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/circle.2.line.diagonal.symbolset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | }, 6 | "symbols" : [ 7 | { 8 | "filename" : "circle.2.line.diagonal.svg", 9 | "idiom" : "universal" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/clock.arrow.circlepath.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon_nav_snapshot.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "filename" : "icon_nav_snapshot@2x.png", 10 | "idiom" : "universal", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/clock.arrow.circlepath.imageset/icon_nav_snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/clock.arrow.circlepath.imageset/icon_nav_snapshot.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/clock.arrow.circlepath.imageset/icon_nav_snapshot@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/clock.arrow.circlepath.imageset/icon_nav_snapshot@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/gearshape.imageset/Advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/gearshape.imageset/Advanced.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/gearshape.imageset/Advanced@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/gearshape.imageset/Advanced@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/gearshape.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "Advanced.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "filename" : "Advanced@2x.png", 10 | "idiom" : "universal", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_fetch.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_action_fetch.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "icon_action_fetch@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_fetch.imageset/icon_action_fetch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_action_fetch.imageset/icon_action_fetch.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_fetch.imageset/icon_action_fetch@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_action_fetch.imageset/icon_action_fetch@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon_action_fetch_new.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "appearances" : [ 10 | { 11 | "appearance" : "luminosity", 12 | "value" : "dark" 13 | } 14 | ], 15 | "filename" : "icon_action_fetch_new_light.png", 16 | "idiom" : "universal", 17 | "scale" : "1x" 18 | }, 19 | { 20 | "filename" : "icon_action_fetch_new@2x.png", 21 | "idiom" : "universal", 22 | "scale" : "2x" 23 | }, 24 | { 25 | "appearances" : [ 26 | { 27 | "appearance" : "luminosity", 28 | "value" : "dark" 29 | } 30 | ], 31 | "filename" : "icon_action_fetch_new_light@2x.png", 32 | "idiom" : "universal", 33 | "scale" : "2x" 34 | }, 35 | { 36 | "idiom" : "universal", 37 | "scale" : "3x" 38 | }, 39 | { 40 | "appearances" : [ 41 | { 42 | "appearance" : "luminosity", 43 | "value" : "dark" 44 | } 45 | ], 46 | "idiom" : "universal", 47 | "scale" : "3x" 48 | } 49 | ], 50 | "info" : { 51 | "author" : "xcode", 52 | "version" : 1 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/icon_action_fetch_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/icon_action_fetch_new.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/icon_action_fetch_new@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/icon_action_fetch_new@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/icon_action_fetch_new_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/icon_action_fetch_new_light.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/icon_action_fetch_new_light@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_action_fetch_new.imageset/icon_action_fetch_new_light@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_push.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_action_push.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "icon_action_push@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_push.imageset/icon_action_push.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_action_push.imageset/icon_action_push.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_action_push.imageset/icon_action_push@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_action_push.imageset/icon_action_push@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_forum.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_forum.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_forum@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_forum.imageset/icon_forum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_forum.imageset/icon_forum.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_forum.imageset/icon_forum@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_forum.imageset/icon_forum@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_nav_map.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_nav_map.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_nav_map@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_nav_map.imageset/icon_nav_map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_nav_map.imageset/icon_nav_map.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_nav_map.imageset/icon_nav_map@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_nav_map.imageset/icon_nav_map@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_twitter.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_twitter.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_twitter@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_twitter.imageset/icon_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_twitter.imageset/icon_twitter.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/icon_twitter.imageset/icon_twitter@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/icon_twitter.imageset/icon_twitter@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/line.horizontal.3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon_nav_stash.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "filename" : "icon_nav_stash@2x.png", 10 | "idiom" : "universal", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/line.horizontal.3.imageset/icon_nav_stash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/line.horizontal.3.imageset/icon_nav_stash.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/line.horizontal.3.imageset/icon_nav_stash@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/line.horizontal.3.imageset/icon_nav_stash@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/square.and.pencil.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon_nav_commit.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "filename" : "icon_nav_commit@2x.png", 10 | "idiom" : "universal", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/square.and.pencil.imageset/icon_nav_commit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/square.and.pencil.imageset/icon_nav_commit.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/square.and.pencil.imageset/icon_nav_commit@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/square.and.pencil.imageset/icon_nav_commit@2x.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/switch.2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "General.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "filename" : "General@2x.png", 10 | "idiom" : "universal", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/switch.2.imageset/General.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/switch.2.imageset/General.png -------------------------------------------------------------------------------- /GitUp/Application/Application.xcassets/switch.2.imageset/General@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUp/Application/Application.xcassets/switch.2.imageset/General@2x.png -------------------------------------------------------------------------------- /GitUp/Application/AuthenticationWindowController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AuthenticationWindowController.h 3 | // Application 4 | // 5 | // Created by Dmitry Lobanov on 08.10.2019. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @class GCRepository; 13 | 14 | @interface AuthenticationWindowController : NSWindowController 15 | 16 | // Repository 17 | - (void)repository:(GCRepository*)repository willStartTransferWithURL:(NSURL*)url; 18 | - (BOOL)repository:(GCRepository*)repository requiresPlainTextAuthenticationForURL:(NSURL*)url user:(NSString*)user username:(NSString* _Nullable* _Nonnull)username password:(NSString* _Nullable* _Nonnull)password; 19 | - (void)repository:(GCRepository*)repository didFinishTransferWithURL:(NSURL*)url success:(BOOL)success; 20 | @end 21 | 22 | NS_ASSUME_NONNULL_END 23 | -------------------------------------------------------------------------------- /GitUp/Application/CloneWindowController.h: -------------------------------------------------------------------------------- 1 | // 2 | // CloneWindowController.h 3 | // Application 4 | // 5 | // Created by Dmitry Lobanov on 08.10.2019. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @interface CloneWindowControllerResult : NSObject 13 | @property(nonatomic, copy) NSURL* repositoryURL; 14 | @property(nonatomic, copy) NSString* directoryPath; 15 | @property(nonatomic) BOOL recursive; 16 | 17 | @property(nonatomic, readonly) BOOL invalidRepository; 18 | @property(nonatomic, readonly) BOOL emptyDirectoryPath; 19 | @end 20 | 21 | @interface CloneWindowController : NSWindowController 22 | @property(nonatomic, copy) NSString* url; 23 | - (void)runModalForURL:(NSString*)url completion:(void (^)(CloneWindowControllerResult* _Nullable result))completion; 24 | @end 25 | 26 | NS_ASSUME_NONNULL_END 27 | -------------------------------------------------------------------------------- /GitUp/Application/DocumentController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface DocumentController : NSDocumentController 19 | @end 20 | -------------------------------------------------------------------------------- /GitUp/Application/FontSizeTransformer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | /// Transforms between the linear slider in Preferences to a non-linear list of font sizes matching the system font picker. 19 | @interface FontSizeTransformer : NSValueTransformer 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /GitUp/Application/GitUp.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.automation.apple-events 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /GitUp/Application/KeychainAccessor.h: -------------------------------------------------------------------------------- 1 | // 2 | // KeychainAccessor.h 3 | // Application 4 | // 5 | // Created by Dmitry Lobanov on 05.11.2019. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @interface KeychainAccessor : NSObject 13 | + (BOOL)loadPlainTextAuthenticationFormKeychainForURL:(NSURL*)url user:(NSString*)user username:(NSString* _Nullable* _Nonnull)username password:(NSString* _Nullable* _Nonnull)password allowInteraction:(BOOL)allowInteraction; 14 | + (void)savePlainTextAuthenticationToKeychainForURL:(NSURL*)url username:(NSString*)username password:(NSString*)password; 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /GitUp/Application/PreferencesWindowController.h: -------------------------------------------------------------------------------- 1 | // 2 | // PreferencesWindowController.h 3 | // Application 4 | // 5 | // Created by Dmitry Lobanov on 08.10.2019. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | #pragma mark - Release Channels 12 | extern NSString* const PreferencesWindowController_ReleaseChannel_Stable; 13 | extern NSString* const PreferencesWindowController_ReleaseChannel_Continuous; 14 | 15 | #pragma mark - Themes 16 | extern NSString* const PreferencesWindowController_Theme_SystemPreference; 17 | extern NSString* const PreferencesWindowController_Theme_Light; 18 | extern NSString* const PreferencesWindowController_Theme_Dark; 19 | 20 | @interface PreferencesThemeService : NSObject 21 | + (NSString*)selectedTheme; 22 | + (void)applySelectedTheme; 23 | @end 24 | 25 | @interface PreferencesWindowController : NSWindowController 26 | @property(nonatomic, copy) NSArray* channelTitles; 27 | @property(nonatomic, copy) NSArray* themesTitles; 28 | @property(nonatomic, copy) NSString* selectedChannel; 29 | @property(nonatomic, copy) NSString* selectedTheme; 30 | @property(nonatomic, copy) NSString* selectedItemIdentifier; 31 | 32 | @property(nonatomic, copy) void (^didChangeReleaseChannel)(BOOL); 33 | @end 34 | 35 | NS_ASSUME_NONNULL_END 36 | -------------------------------------------------------------------------------- /GitUp/Application/ServicesProvider.h: -------------------------------------------------------------------------------- 1 | // 2 | // ServicesProvider.h 3 | // Application 4 | // 5 | // Created by Dmitry Lobanov on 17/09/2019. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @interface ServicesProvider : NSObject 13 | 14 | @end 15 | 16 | NS_ASSUME_NONNULL_END 17 | -------------------------------------------------------------------------------- /GitUp/Application/ToolbarItemWrapperView.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2018 Rob Mayoff . 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface ToolbarItemWrapperView : NSView 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /GitUp/Application/WelcomeWindowController.h: -------------------------------------------------------------------------------- 1 | // 2 | // WelcomeWindowController.h 3 | // Application 4 | // 5 | // Created by Dmitry Lobanov on 10/09/2019. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface WelcomeWindowController : NSWindowController 14 | 15 | // Hide and Show 16 | @property(assign, nonatomic, readonly) BOOL shouldShow; 17 | @property(assign, nonatomic, readonly) BOOL notActivedYet; 18 | - (void)setShouldShow; 19 | - (void)setShouldHide; 20 | 21 | // Recent items configuration 22 | @property(nonatomic, copy) void (^openDocumentAtURL)(NSURL* url); 23 | 24 | // UserDefaultsKeys 25 | @property(nonatomic, copy) NSString* keyShouldShowWindow; 26 | 27 | // Actions 28 | - (void)handleDocumentCountChanged; 29 | @end 30 | 31 | NS_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /GitUp/Application/WindowController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface WindowController : GIWindowController 19 | @end 20 | -------------------------------------------------------------------------------- /GitUp/Application/WindowController.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "WindowController.h" 17 | #import "Document.h" 18 | 19 | @implementation WindowController 20 | 21 | - (void)dealloc { 22 | self.window.contentView = nil; // Work around a strange bug in OS X 10.10 affected restored windows only where they remain retained for a couple seconds after the NSDocument was closed 23 | } 24 | 25 | - (void)windowDidLoad { 26 | [super windowDidLoad]; 27 | 28 | self.window.delegate = self; 29 | } 30 | 31 | - (NSUndoManager*)windowWillReturnUndoManager:(NSWindow*)window { 32 | return [(Document*)self.document undoManager]; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /GitUp/Application/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* 2 | InfoPlist.strings 3 | GitUp 4 | 5 | Created by Dmitry Lobanov on 25/08/2019. 6 | 7 | */ 8 | 9 | "NSAppleEventsUsageDescription" = "Please give access to Terminal via Apple Script."; 10 | -------------------------------------------------------------------------------- /GitUp/Application/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | "stable" = "Stable"; 17 | "continuous" = "Continuous"; 18 | 19 | "systemTheme" = "According to System Preference"; 20 | "darkTheme" = "Always use Dark theme"; 21 | "lightTheme" = "Always use Light theme"; 22 | 23 | "map" = "Map"; 24 | "quickview" = "Quick View"; 25 | "diff" = "Diff"; 26 | "rewrite" = "Rewrite Commit"; 27 | "split" = "Split Commit"; 28 | "resolve" = "Resolve Conflicts"; 29 | "config" = "Configuration"; 30 | "commit" = "Commit"; 31 | "stashes" = "Stashes"; 32 | -------------------------------------------------------------------------------- /GitUp/Application/main.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | int main(int argc, const char* argv[]) { 19 | return NSApplicationMain(argc, argv); 20 | } 21 | -------------------------------------------------------------------------------- /GitUp/Export-Options.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | method 6 | developer-id 7 | 8 | 9 | -------------------------------------------------------------------------------- /GitUp/SparkleAppcast.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | __APPCAST_TITLE__ 5 | __APPCAST_URL__ 6 | 7 | 8 | __MIN_OS__ 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /GitUp/Tool/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -ex 2 | 3 | TOOL_PATH="$1" 4 | INSTALL_PATH="$2" 5 | INSTALL_DIR=`dirname "$INSTALL_PATH"` 6 | 7 | mkdir -p "$INSTALL_DIR" 8 | ln -sf "$TOOL_PATH" "$INSTALL_PATH" 9 | 10 | printf "OK" 11 | -------------------------------------------------------------------------------- /GitUp/ToolProtocol.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #if DEBUG 17 | #define kToolPortName "co.gitup.mac-debug" 18 | #else 19 | #define kToolPortName "co.gitup.mac" 20 | #endif 21 | 22 | #define kToolCommand_Help "help" 23 | #define kToolCommand_Open "open" 24 | #define kToolCommand_Map "map" 25 | #define kToolCommand_Commit "commit" 26 | #define kToolCommand_Stash "stash" 27 | 28 | #define kToolOption_Help "-h" 29 | #define kToolOption_Tab "-t" 30 | 31 | #define kToolDictionaryKey_Command @"command" // NSString 32 | #define kToolDictionaryKey_Repository @"repository" // NSString 33 | #define kToolDictionaryKey_Option @"option" // NSString 34 | 35 | #define kToolDictionaryKey_Error @"error" // NSString 36 | -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/diff/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "provides-namespace" : true 8 | } 9 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/diff/added_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.609", 13 | "alpha" : "1.000", 14 | "blue" : "0.501", 15 | "green" : "0.798" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.309", 31 | "alpha" : "1.000", 32 | "blue" : "0.201", 33 | "green" : "0.498" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/diff/conflict_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "1.000", 13 | "alpha" : "1.000", 14 | "blue" : "0.150", 15 | "green" : "0.590" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.700", 31 | "alpha" : "1.000", 32 | "blue" : "0.000", 33 | "green" : "0.290" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/diff/deleted_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "1.000", 13 | "alpha" : "1.000", 14 | "blue" : "0.630", 15 | "green" : "0.627" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.700", 31 | "alpha" : "1.000", 32 | "blue" : "0.330", 33 | "green" : "0.327" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/diff/modified_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.475", 13 | "alpha" : "1.000", 14 | "blue" : "1.000", 15 | "green" : "0.687" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.175", 31 | "alpha" : "1.000", 32 | "blue" : "0.700", 33 | "green" : "0.387" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/diff/renamed_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.656", 13 | "alpha" : "1.000", 14 | "blue" : "0.759", 15 | "green" : "0.547" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.356", 31 | "alpha" : "1.000", 32 | "blue" : "0.459", 33 | "green" : "0.247" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/diff/untracked_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.750", 13 | "alpha" : "1.000", 14 | "blue" : "0.750", 15 | "green" : "0.750" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.450", 31 | "alpha" : "1.000", 32 | "blue" : "0.450", 33 | "green" : "0.450" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_a.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_file_a.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_file_a@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_a.imageset/icon_file_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_a.imageset/icon_file_a.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_a.imageset/icon_file_a@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_a.imageset/icon_file_a@2x.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_conflict.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_file_conflict.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_file_conflict@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_conflict.imageset/icon_file_conflict.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_conflict.imageset/icon_file_conflict.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_conflict.imageset/icon_file_conflict@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_conflict.imageset/icon_file_conflict@2x.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_d.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_file_d.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_file_d@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_d.imageset/icon_file_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_d.imageset/icon_file_d.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_d.imageset/icon_file_d@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_d.imageset/icon_file_d@2x.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_m.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_file_m.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_file_m@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_m.imageset/icon_file_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_m.imageset/icon_file_m.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_m.imageset/icon_file_m@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_m.imageset/icon_file_m@2x.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_r.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_file_r.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_file_r@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_r.imageset/icon_file_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_r.imageset/icon_file_r.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_r.imageset/icon_file_r@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_r.imageset/icon_file_r@2x.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_u.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_file_u.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_file_u@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_u.imageset/icon_file_u.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_u.imageset/icon_file_u.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_file_u.imageset/icon_file_u@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_file_u.imageset/icon_file_u@2x.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_gear.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_gear.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "icon_gear@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_gear.imageset/icon_gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_gear.imageset/icon_gear.png -------------------------------------------------------------------------------- /GitUpKit/Components/Components.xcassets/icon_gear.imageset/icon_gear@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Components/Components.xcassets/icon_gear.imageset/icon_gear@2x.png -------------------------------------------------------------------------------- /GitUpKit/Components/GISnapshotListViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIViewController.h" 17 | 18 | @class GISnapshotListViewController, GCSnapshot; 19 | 20 | @protocol GISnapshotListViewControllerDelegate 21 | @optional 22 | - (void)snapshotListViewControllerDidChangeSelection:(GISnapshotListViewController*)controller; 23 | - (void)snapshotListViewController:(GISnapshotListViewController*)controller didRestoreSnapshot:(GCSnapshot*)snapshot; 24 | @end 25 | 26 | @interface GISnapshotListViewController : GIViewController 27 | @property(nonatomic, weak) id delegate; 28 | @property(nonatomic, readonly) GCSnapshot* selectedSnapshot; 29 | @end 30 | -------------------------------------------------------------------------------- /GitUpKit/Components/GIUnifiedReflogViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIViewController.h" 17 | 18 | @class GIUnifiedReflogViewController, GCReflogEntry, GCCommit; 19 | 20 | @protocol GIUnifiedReflogViewControllerDelegate 21 | @optional 22 | - (void)unifiedReflogViewControllerDidChangeSelection:(GIUnifiedReflogViewController*)controller; 23 | - (void)unifiedReflogViewController:(GIUnifiedReflogViewController*)controller didRestoreReflogEntry:(GCReflogEntry*)entry; 24 | @end 25 | 26 | @interface GIUnifiedReflogViewController : GIViewController 27 | @property(nonatomic, weak) id delegate; 28 | @property(nonatomic, readonly) GCReflogEntry* selectedReflogEntry; 29 | @end 30 | -------------------------------------------------------------------------------- /GitUpKit/Core/GCError.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | typedef NS_ENUM(NSInteger, GCErrorCode) { 19 | kGCErrorCode_SubmoduleUninitialized = 3, 20 | kGCErrorCode_RepositoryDirty = 2, 21 | kGCErrorCode_Generic = 1, 22 | kGCErrorCode_UserCancelled = 0, 23 | kGCErrorCode_NotFound = -3, // GIT_ENOTFOUND, 24 | kGCErrorCode_User = -7, // GIT_EUSER 25 | kGCErrorCode_NonFastForward = -11, // GIT_ENONFASTFORWARD 26 | kGCErrorCode_CheckoutConflicts = -13, // GIT_ECONFLICT 27 | kGCErrorCode_Authentication = -16 // GIT_EAUTH 28 | }; 29 | 30 | // Negative errors are from libgit2 and positive errors from the API 31 | extern NSString* const GCErrorDomain; 32 | -------------------------------------------------------------------------------- /GitUpKit/Core/GCFoundation.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface NSFileManager (GCFoundation) 19 | - (BOOL)fileExistsAtPath:(NSString*)path followLastSymlink:(BOOL)followLastSymlink; 20 | 21 | #if !TARGET_OS_IPHONE 22 | 23 | - (BOOL)moveItemAtPathToTrash:(NSString*)path error:(NSError**)error; 24 | 25 | #endif 26 | @end 27 | -------------------------------------------------------------------------------- /GitUpKit/Core/GCLiveRepository+Conflicts.h: -------------------------------------------------------------------------------- 1 | // 2 | // GCLiveRepository+Conflicts.h 3 | // GitUpKit (macOS) 4 | // 5 | // Created by Felix Lapalme on 2024-04-13. 6 | // 7 | 8 | #import 9 | 10 | @protocol GCMergeConflictResolver 11 | - (BOOL)resolveMergeConflictsWithOurCommit:(GCCommit*)ourCommit theirCommit:(GCCommit*)theirCommit; 12 | @end 13 | 14 | @interface GCLiveRepository (Conflicts) 15 | 16 | - (GCCommit*)resolveConflictsWithResolver:(id)resolver 17 | index:(GCIndex*)index 18 | ourCommit:(GCCommit*)ourCommit 19 | theirCommit:(GCCommit*)theirCommit 20 | parentCommits:(NSArray*)parentCommits 21 | message:(NSString*)message 22 | error:(NSError**)error; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /GitUpKit/Core/GCObject.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @class GCRepository; 19 | 20 | @interface GCObject : NSObject 21 | @property(nonatomic, readonly) GCRepository* repository; // NOT RETAINED 22 | @property(nonatomic, readonly) NSString* SHA1; 23 | @property(nonatomic, readonly) NSString* shortSHA1; // First 7 characters (not computed!) 24 | @end 25 | 26 | @interface GCObject (Extensions) 27 | - (BOOL)isEqualToObject:(GCObject*)object; 28 | @end 29 | -------------------------------------------------------------------------------- /GitUpKit/Core/GCReference.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GCRepository.h" 17 | 18 | @interface GCReference : NSObject 19 | @property(nonatomic, readonly) GCRepository* repository; // NOT RETAINED 20 | @property(nonatomic, readonly) NSString* fullName; 21 | @property(nonatomic, readonly) NSString* name; 22 | @property(nonatomic, readonly, getter=isSymbolic) BOOL symbolic; 23 | @end 24 | 25 | @interface GCReference (Extensions) 26 | - (BOOL)isEqualToReference:(GCReference*)reference; 27 | - (NSComparisonResult)nameCompare:(GCReference*)reference; 28 | @end 29 | -------------------------------------------------------------------------------- /GitUpKit/Core/GCRepository+Reset.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GCDiff.h" 17 | 18 | typedef NS_ENUM(NSUInteger, GCResetMode) { 19 | kGCResetMode_Soft = 0, 20 | kGCResetMode_Mixed, 21 | kGCResetMode_Hard 22 | }; 23 | 24 | @interface GCRepository (Reset) 25 | - (BOOL)resetToHEAD:(GCResetMode)mode error:(NSError**)error; // git reset {--soft | --mixed | --hard} HEAD 26 | - (BOOL)resetToTag:(GCTag*)tag mode:(GCResetMode)mode error:(NSError**)error; // git reset {--soft | --mixed | --hard} {tag} 27 | - (BOOL)resetToCommit:(GCCommit*)commit mode:(GCResetMode)mode error:(NSError**)error; // git reset {--soft | --mixed | --hard} {commit} 28 | @end 29 | -------------------------------------------------------------------------------- /GitUpKit/Core/GCRepository+Status.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GCRepository.h" 17 | 18 | typedef NS_OPTIONS(NSUInteger, GCCleanCheckOptions) { 19 | kGCCleanCheckOption_IgnoreState = (1 << 0), 20 | kGCCleanCheckOption_IgnoreIndexConflicts = (1 << 1), 21 | kGCCleanCheckOption_IgnoreIndexChanges = (1 << 2), 22 | kGCCleanCheckOption_IgnoreWorkingDirectoryChanges = (1 << 3), 23 | kGCCleanCheckOption_IgnoreUntrackedFiles = (1 << 4) 24 | }; 25 | 26 | @interface GCRepository (Status) 27 | - (NSDictionary*)checkConflicts:(NSError**)error; // Keys are paths and values are GCIndexConflicts 28 | 29 | - (BOOL)checkClean:(GCCleanCheckOptions)options error:(NSError**)error; // git status 30 | @end 31 | -------------------------------------------------------------------------------- /GitUpKit/Core/GCSQLiteRepository.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GCRepository.h" 17 | 18 | @interface GCSQLiteRepository : GCRepository 19 | - (instancetype)initWithDatabase:(NSString*)databasePath error:(NSError**)error; 20 | - (instancetype)initWithDatabase:(NSString*)databasePath config:(NSString*)configPath localRepositoryContents:(NSString*)localPath error:(NSError**)error; 21 | @end 22 | -------------------------------------------------------------------------------- /GitUpKit/Extensions/GCLiveRepository+Utilities.h: -------------------------------------------------------------------------------- 1 | // 2 | // GCLiveRepository+Utilities.h 3 | // GitUpKit (OSX) 4 | // 5 | // Created by Lucas Derraugh on 8/2/19. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @interface GCLiveRepository (Utilities) 13 | 14 | /// Attempt to checkout branch matching commit or fallback to commit. Window is used to present modal dialog. 15 | - (void)smartCheckoutCommit:(GCHistoryCommit*)commit window:(NSWindow*)window; 16 | 17 | /// Returns target for smart checkout 18 | - (id)smartCheckoutTarget:(GCHistoryCommit*)commit; 19 | 20 | /// Checkout remote branch and ask user to create local branch if none exists. Window is used to present modal dialog. 21 | - (void)checkoutRemoteBranch:(GCHistoryRemoteBranch*)remoteBranch window:(NSWindow*)window; 22 | 23 | @end 24 | 25 | NS_ASSUME_NONNULL_END 26 | -------------------------------------------------------------------------------- /GitUpKit/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | NSAppTransportSecurity 18 | 19 | NSExceptionDomains 20 | 21 | s3.amazonaws.com 22 | 23 | NSIncludesSubdomains 24 | 25 | NSExceptionAllowsInsecureHTTPLoads 26 | 27 | 28 | 29 | 30 | NSHumanReadableCopyright 31 | Copyright © 2015-2024 Pierre-Olivier Latour. All rights reserved. 32 | 33 | 34 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIBranch.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @class GINode, GILine; 19 | 20 | @interface GIBranch : NSObject 21 | @property(nonatomic, weak, readonly) GILine* mainLine; // NOT RETAINED 22 | 23 | // Computed properties 24 | @property(nonatomic, readonly) GINode* tipNode; 25 | @property(nonatomic, readonly) NSArray* localBranches; 26 | @property(nonatomic, readonly) NSArray* remoteBranches; 27 | @property(nonatomic, readonly) NSArray* tags; 28 | @property(nonatomic, readonly) GIBranch* parentBranch; 29 | @end 30 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIConstants.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | #import 18 | 19 | typedef NS_ENUM(unsigned short, GIKeyCode) { 20 | kGIKeyCode_Tab = 0x30, 21 | kGIKeyCode_Esc = 0x35, 22 | kGIKeyCode_Left = 0x7B, 23 | kGIKeyCode_Right = 0x7C, 24 | kGIKeyCode_Down = 0x7D, 25 | kGIKeyCode_PageUp = 0x74, 26 | kGIKeyCode_PageDown = 0x79, 27 | kGIKeyCode_Up = 0x7E, 28 | kGIKeyCode_Home = 0x73, 29 | kGIKeyCode_End = 0x77, 30 | kGIKeyCode_Return = 0x24, 31 | kGIKeyCode_Delete = 0x33 32 | }; 33 | 34 | static const NSEventModifierFlags kGIKeyModifiersAll = NSEventModifierFlagShift | NSEventModifierFlagControl | NSEventModifierFlagCommand | NSEventModifierFlagOption; 35 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIFunctions.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | #import 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | void GIComputeModifiedRanges(NSString* beforeString, NSRange* beforeRange, NSString* afterString, NSRange* afterRange); 24 | NSString* GIFormatDateRelativelyFromNow(NSDate* date, BOOL showApproximateTime); 25 | NSString* GIFormatRelativeDateDifference(NSDate* fromDate, NSDate* toDate, BOOL showApproximateTime); 26 | void GICGContextAddRoundedRect(CGContextRef context, CGRect rect, CGFloat radius); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIGraph-Tests/simple.txt: -------------------------------------------------------------------------------- 1 | # Test notation syntax 2 | 3 | ##### NOTATION ##### 4 | 5 | m0 - m1 - m2 6 | \ 7 | t1(m0) - t2 - t3 - t4 8 | 9 | ##### GRAPH ##### 10 | 11 | [0000] m2 t4 12 | [0001] m1 t3 13 | [0002] (m0) t2 14 | [0003] (m0) t1 15 | [0004] m0 16 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIGraph-Tests/skip_remote_branches_1.txt: -------------------------------------------------------------------------------- 1 | # Test skipping commits works when they start before the local branch 2 | 3 | { 4 | "skipRemoteBranchTips": true 5 | } 6 | 7 | ##### NOTATION ##### 8 | 9 | m0 - m1 - m2 10 | \ 11 | t1(m1) - t2 - t3 - t4 - t5[origin/topic] 12 | 13 | ##### GRAPH ##### 14 | 15 | [0000] m2 16 | [0001] m1 17 | [0002] m0 18 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIGraph-Tests/skip_remote_branches_2.txt: -------------------------------------------------------------------------------- 1 | # Test skipping commits stops when reaching a local branch 2 | 3 | { 4 | "skipRemoteBranchTips": true 5 | } 6 | 7 | ##### NOTATION ##### 8 | 9 | m0 - m1 - m2 10 | \ 11 | t1(m1) - t2 - t3 - t4 - t5[origin/topic] 12 | 13 | ##### GRAPH ##### 14 | 15 | [0000] m2 t2 16 | [0001] (m1) t1 17 | [0002] m1 18 | [0003] m0 19 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIGraph-Tests/skip_remote_branches_3.txt: -------------------------------------------------------------------------------- 1 | # Test skipping commits stops when reaching a local branch but does not resuscitate it 2 | # as a tip unless all children are skipped 3 | 4 | { 5 | "skipRemoteBranchTips": true 6 | } 7 | 8 | ##### NOTATION ##### 9 | 10 | m0 - m1 - m2 - m3[origin/master] 11 | \ 12 | t1(m1) - t2[origin/topic] 13 | 14 | ##### GRAPH ##### 15 | 16 | [0000] m3 17 | [0001] m2 18 | [0002] m1 19 | [0003] m0 20 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIGraph-Tests/virtual_tip.txt: -------------------------------------------------------------------------------- 1 | # Test that a virtual tip is created for a branch that's not pointing to a tip-commit 2 | 3 | { 4 | "showVirtualTips": true 5 | } 6 | 7 | ##### NOTATION ##### 8 | 9 | m0 - m1 - m2[origin/master] 10 | 11 | ##### GRAPH ##### 12 | 13 | [0000] m2 (m1) 14 | [0001] m1 15 | [0002] m0 16 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIImageDiffView.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface GIImageDiffView : NSView 4 | @property(nonatomic, strong) GCDiffDelta* delta; 5 | 6 | - (id)initWithRepository:(GCLiveRepository*)repository; 7 | - (CGFloat)desiredHeightForWidth:(CGFloat)width; 8 | @end 9 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIInterface.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #ifndef __GI_HAS_APPKIT__ 17 | // clang-format off 18 | #if defined(__has_include) && __has_include() 19 | // clang-format on 20 | #define __GI_HAS_APPKIT__ 1 21 | #else 22 | #define __GI_HAS_APPKIT__ 0 23 | #endif 24 | #endif 25 | 26 | #import "GCCore.h" 27 | 28 | #import "GIBranch.h" 29 | #import "GIConstants.h" 30 | #import "GIFunctions.h" 31 | #import "GIGraph.h" 32 | #import "GILayer.h" 33 | #import "GILine.h" 34 | #import "GINode.h" 35 | 36 | #if __GI_HAS_APPKIT__ 37 | #import "GIDiffView.h" 38 | #import "GIGraphView.h" 39 | #import "GISplitDiffView.h" 40 | #import "GIUnifiedDiffView.h" 41 | #import "NSColor+GINamedColors.h" 42 | #import "GIImageDiffView.h" 43 | #endif 44 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GILayer.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface GILayer : NSObject 19 | @property(nonatomic, readonly) NSArray* nodes; // NOT RETAINED 20 | @property(nonatomic, readonly) NSArray* lines; // NOT RETAINED 21 | @property(nonatomic, readonly) NSUInteger index; // Matches index in layers array 22 | @end 23 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GILine.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @class GIBranch; 19 | 20 | @interface GILine : NSObject 21 | @property(nonatomic, readonly) GIBranch* branch; // NOT RETAINED 22 | @property(nonatomic, readonly) NSArray* nodes; // NOT RETAINED 23 | 24 | // Computed properties 25 | @property(nonatomic, readonly, getter=isVirtual) BOOL virtual; 26 | @property(nonatomic, readonly) GILine* parentLine; 27 | @property(nonatomic, readonly, getter=isBranchMainLine) BOOL branchMainLine; 28 | @end 29 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GINode.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @class GCHistoryCommit, GILine, GILayer; 19 | 20 | @interface GINode : NSObject 21 | @property(nonatomic, readonly) GILayer* layer; // NOT RETAINED 22 | @property(nonatomic, readonly) GILine* primaryLine; // NOT RETAINED 23 | @property(nonatomic, readonly) GCHistoryCommit* commit; 24 | @property(nonatomic, readonly, getter=isDummy) BOOL dummy; 25 | @property(nonatomic, readonly) NSUInteger parentCount; 26 | - (GINode*)parentAtIndex:(NSUInteger)index; // NOT RETAINED 27 | @end 28 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GISplitDiffView.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIDiffView.h" 17 | 18 | @interface GISplitDiffView : GIDiffView 19 | @end 20 | -------------------------------------------------------------------------------- /GitUpKit/Interface/GIUnifiedDiffView.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIDiffView.h" 17 | 18 | @interface GIUnifiedDiffView : GIDiffView 19 | @end 20 | -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/1.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.900", 13 | "alpha" : "1.000", 14 | "blue" : "0.535", 15 | "green" : "0.536" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.851", 31 | "alpha" : "1.000", 32 | "blue" : "0.392", 33 | "green" : "0.392" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/2.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.900", 13 | "alpha" : "1.000", 14 | "blue" : "0.495", 15 | "green" : "0.714" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.800", 31 | "alpha" : "1.000", 32 | "blue" : "0.263", 33 | "green" : "0.533" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/3.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.900", 13 | "alpha" : "1.000", 14 | "blue" : "0.450", 15 | "green" : "0.801" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.820", 31 | "alpha" : "1.000", 32 | "blue" : "0.204", 33 | "green" : "0.647" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/4.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.508", 13 | "alpha" : "1.000", 14 | "blue" : "0.482", 15 | "green" : "0.810" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.333", 31 | "alpha" : "1.000", 32 | "blue" : "0.302", 33 | "green" : "0.702" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/5.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.495", 13 | "alpha" : "1.000", 14 | "blue" : "0.851", 15 | "green" : "0.900" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.282", 31 | "alpha" : "1.000", 32 | "blue" : "0.741", 33 | "green" : "0.741" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/6.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.494", 13 | "alpha" : "1.000", 14 | "blue" : "0.898", 15 | "green" : "0.678" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.329", 31 | "alpha" : "1.000", 32 | "blue" : "0.780", 33 | "green" : "0.537" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/7.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.752", 13 | "alpha" : "1.000", 14 | "blue" : "0.850", 15 | "green" : "0.544" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.600", 31 | "alpha" : "1.000", 32 | "blue" : "0.722", 33 | "green" : "0.380" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/8.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.900", 13 | "alpha" : "1.000", 14 | "blue" : "0.742", 15 | "green" : "0.558" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.812", 31 | "alpha" : "1.000", 32 | "blue" : "0.612", 33 | "green" : "0.388" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/branch/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "provides-namespace" : true 8 | } 9 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/diff/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "provides-namespace" : true 8 | } 9 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/diff/added_text_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.850", 13 | "alpha" : "1.000", 14 | "blue" : "0.850", 15 | "green" : "1.000" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.150", 31 | "alpha" : "1.000", 32 | "blue" : "0.150", 33 | "green" : "0.350" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/diff/added_text_highlight.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.700", 13 | "alpha" : "1.000", 14 | "blue" : "0.700", 15 | "green" : "1.000" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.100", 31 | "alpha" : "1.000", 32 | "blue" : "0.100", 33 | "green" : "0.500" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/diff/deleted_text_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "1.000", 13 | "alpha" : "1.000", 14 | "blue" : "0.900", 15 | "green" : "0.900" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.350", 31 | "alpha" : "1.000", 32 | "blue" : "0.150", 33 | "green" : "0.150" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/diff/deleted_text_highlight.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "1.000", 13 | "alpha" : "1.000", 14 | "blue" : "0.700", 15 | "green" : "0.700" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.550", 31 | "alpha" : "1.000", 32 | "blue" : "0.200", 33 | "green" : "0.200" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Interface/Interface.xcassets/diff/separator_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.970", 13 | "alpha" : "1.000", 14 | "blue" : "0.970", 15 | "green" : "0.970" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.030", 31 | "alpha" : "1.000", 32 | "blue" : "0.030", 33 | "green" : "0.030" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libcrypto.xcframework/ios-arm64/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libcrypto.xcframework/ios-arm64/libcrypto.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libcrypto.xcframework/ios-arm64_x86_64-simulator/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libcrypto.xcframework/ios-arm64_x86_64-simulator/libcrypto.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libcrypto.xcframework/macos-arm64_x86_64/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libcrypto.xcframework/macos-arm64_x86_64/libcrypto.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libsqlite3.xcframework/ios-arm64/libsqlite3.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libsqlite3.xcframework/ios-arm64/libsqlite3.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libsqlite3.xcframework/ios-arm64_x86_64-simulator/libsqlite3.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libsqlite3.xcframework/ios-arm64_x86_64-simulator/libsqlite3.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libsqlite3.xcframework/macos-arm64_x86_64/libsqlite3.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libsqlite3.xcframework/macos-arm64_x86_64/libsqlite3.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssh2.xcframework/ios-arm64/libssh2.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libssh2.xcframework/ios-arm64/libssh2.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssh2.xcframework/ios-arm64_x86_64-simulator/libssh2.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libssh2.xcframework/ios-arm64_x86_64-simulator/libssh2.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssh2.xcframework/macos-arm64_x86_64/libssh2.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libssh2.xcframework/macos-arm64_x86_64/libssh2.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/asn1_mac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #error "This file is obsolete; please update your software." 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/buffererr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the OpenSSL license (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef HEADER_BUFERR_H 12 | # define HEADER_BUFERR_H 13 | 14 | # ifndef HEADER_SYMHACKS_H 15 | # include 16 | # endif 17 | 18 | # ifdef __cplusplus 19 | extern "C" 20 | # endif 21 | int ERR_load_BUF_strings(void); 22 | 23 | /* 24 | * BUF function codes. 25 | */ 26 | # define BUF_F_BUF_MEM_GROW 100 27 | # define BUF_F_BUF_MEM_GROW_CLEAN 105 28 | # define BUF_F_BUF_MEM_NEW 101 29 | 30 | /* 31 | * BUF reason codes. 32 | */ 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/cmac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2010-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_CMAC_H 11 | # define HEADER_CMAC_H 12 | 13 | # ifndef OPENSSL_NO_CMAC 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | # include 20 | 21 | /* Opaque */ 22 | typedef struct CMAC_CTX_st CMAC_CTX; 23 | 24 | CMAC_CTX *CMAC_CTX_new(void); 25 | void CMAC_CTX_cleanup(CMAC_CTX *ctx); 26 | void CMAC_CTX_free(CMAC_CTX *ctx); 27 | EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx); 28 | int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); 29 | 30 | int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, 31 | const EVP_CIPHER *cipher, ENGINE *impl); 32 | int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen); 33 | int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen); 34 | int CMAC_resume(CMAC_CTX *ctx); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | # endif 41 | #endif 42 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/comperr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the OpenSSL license (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef HEADER_COMPERR_H 12 | # define HEADER_COMPERR_H 13 | 14 | # ifndef HEADER_SYMHACKS_H 15 | # include 16 | # endif 17 | 18 | # include 19 | 20 | # ifndef OPENSSL_NO_COMP 21 | 22 | # ifdef __cplusplus 23 | extern "C" 24 | # endif 25 | int ERR_load_COMP_strings(void); 26 | 27 | /* 28 | * COMP function codes. 29 | */ 30 | # define COMP_F_BIO_ZLIB_FLUSH 99 31 | # define COMP_F_BIO_ZLIB_NEW 100 32 | # define COMP_F_BIO_ZLIB_READ 101 33 | # define COMP_F_BIO_ZLIB_WRITE 102 34 | # define COMP_F_COMP_CTX_NEW 103 35 | 36 | /* 37 | * COMP reason codes. 38 | */ 39 | # define COMP_R_ZLIB_DEFLATE_ERROR 99 40 | # define COMP_R_ZLIB_INFLATE_ERROR 100 41 | # define COMP_R_ZLIB_NOT_SUPPORTED 101 42 | 43 | # endif 44 | #endif 45 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/conf_api.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_CONF_API_H 11 | # define HEADER_CONF_API_H 12 | 13 | # include 14 | # include 15 | 16 | #ifdef __cplusplus 17 | extern "C" { 18 | #endif 19 | 20 | /* Up until OpenSSL 0.9.5a, this was new_section */ 21 | CONF_VALUE *_CONF_new_section(CONF *conf, const char *section); 22 | /* Up until OpenSSL 0.9.5a, this was get_section */ 23 | CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section); 24 | /* Up until OpenSSL 0.9.5a, this was CONF_get_section */ 25 | STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, 26 | const char *section); 27 | 28 | int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); 29 | char *_CONF_get_string(const CONF *conf, const char *section, 30 | const char *name); 31 | long _CONF_get_number(const CONF *conf, const char *section, 32 | const char *name); 33 | 34 | int _CONF_new_data(CONF *conf); 35 | void _CONF_free_data(CONF *conf); 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | #endif 41 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_EBCDIC_H 11 | # define HEADER_EBCDIC_H 12 | 13 | # include 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | /* Avoid name clashes with other applications */ 20 | # define os_toascii _openssl_os_toascii 21 | # define os_toebcdic _openssl_os_toebcdic 22 | # define ebcdic2ascii _openssl_ebcdic2ascii 23 | # define ascii2ebcdic _openssl_ascii2ebcdic 24 | 25 | extern const unsigned char os_toascii[256]; 26 | extern const unsigned char os_toebcdic[256]; 27 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 28 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | #endif 34 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/ecdh.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/ecdsa.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/md2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_MD2_H 11 | # define HEADER_MD2_H 12 | 13 | # include 14 | 15 | # ifndef OPENSSL_NO_MD2 16 | # include 17 | # ifdef __cplusplus 18 | extern "C" { 19 | # endif 20 | 21 | typedef unsigned char MD2_INT; 22 | 23 | # define MD2_DIGEST_LENGTH 16 24 | # define MD2_BLOCK 16 25 | 26 | typedef struct MD2state_st { 27 | unsigned int num; 28 | unsigned char data[MD2_BLOCK]; 29 | MD2_INT cksm[MD2_BLOCK]; 30 | MD2_INT state[MD2_BLOCK]; 31 | } MD2_CTX; 32 | 33 | const char *MD2_options(void); 34 | int MD2_Init(MD2_CTX *c); 35 | int MD2_Update(MD2_CTX *c, const unsigned char *data, size_t len); 36 | int MD2_Final(unsigned char *md, MD2_CTX *c); 37 | unsigned char *MD2(const unsigned char *d, size_t n, unsigned char *md); 38 | 39 | # ifdef __cplusplus 40 | } 41 | # endif 42 | # endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/mdc2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_MDC2_H 11 | # define HEADER_MDC2_H 12 | 13 | # include 14 | 15 | #ifndef OPENSSL_NO_MDC2 16 | # include 17 | # include 18 | # ifdef __cplusplus 19 | extern "C" { 20 | # endif 21 | 22 | # define MDC2_BLOCK 8 23 | # define MDC2_DIGEST_LENGTH 16 24 | 25 | typedef struct mdc2_ctx_st { 26 | unsigned int num; 27 | unsigned char data[MDC2_BLOCK]; 28 | DES_cblock h, hh; 29 | int pad_type; /* either 1 or 2, default 1 */ 30 | } MDC2_CTX; 31 | 32 | int MDC2_Init(MDC2_CTX *c); 33 | int MDC2_Update(MDC2_CTX *c, const unsigned char *data, size_t len); 34 | int MDC2_Final(unsigned char *md, MDC2_CTX *c); 35 | unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md); 36 | 37 | # ifdef __cplusplus 38 | } 39 | # endif 40 | # endif 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/pem2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_PEM2_H 11 | # define HEADER_PEM2_H 12 | # include 13 | #endif 14 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/rc4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_RC4_H 11 | # define HEADER_RC4_H 12 | 13 | # include 14 | 15 | # ifndef OPENSSL_NO_RC4 16 | # include 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | typedef struct rc4_key_st { 22 | RC4_INT x, y; 23 | RC4_INT data[256]; 24 | } RC4_KEY; 25 | 26 | const char *RC4_options(void); 27 | void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data); 28 | void RC4(RC4_KEY *key, size_t len, const unsigned char *indata, 29 | unsigned char *outdata); 30 | 31 | # ifdef __cplusplus 32 | } 33 | # endif 34 | # endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/ripemd.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_RIPEMD_H 11 | # define HEADER_RIPEMD_H 12 | 13 | # include 14 | 15 | #ifndef OPENSSL_NO_RMD160 16 | # include 17 | # include 18 | # ifdef __cplusplus 19 | extern "C" { 20 | # endif 21 | 22 | # define RIPEMD160_LONG unsigned int 23 | 24 | # define RIPEMD160_CBLOCK 64 25 | # define RIPEMD160_LBLOCK (RIPEMD160_CBLOCK/4) 26 | # define RIPEMD160_DIGEST_LENGTH 20 27 | 28 | typedef struct RIPEMD160state_st { 29 | RIPEMD160_LONG A, B, C, D, E; 30 | RIPEMD160_LONG Nl, Nh; 31 | RIPEMD160_LONG data[RIPEMD160_LBLOCK]; 32 | unsigned int num; 33 | } RIPEMD160_CTX; 34 | 35 | int RIPEMD160_Init(RIPEMD160_CTX *c); 36 | int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); 37 | int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 38 | unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md); 39 | void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); 40 | 41 | # ifdef __cplusplus 42 | } 43 | # endif 44 | # endif 45 | 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/ssl2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_SSL2_H 11 | # define HEADER_SSL2_H 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | # define SSL2_VERSION 0x0002 18 | 19 | # define SSL2_MT_CLIENT_HELLO 1 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif 25 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/Headers/openssl/symhacks.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_SYMHACKS_H 11 | # define HEADER_SYMHACKS_H 12 | 13 | # include 14 | 15 | /* Case insensitive linking causes problems.... */ 16 | # if defined(OPENSSL_SYS_VMS) 17 | # undef ERR_load_CRYPTO_strings 18 | # define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings 19 | # undef OCSP_crlID_new 20 | # define OCSP_crlID_new OCSP_crlID2_new 21 | 22 | # undef d2i_ECPARAMETERS 23 | # define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS 24 | # undef i2d_ECPARAMETERS 25 | # define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS 26 | # undef d2i_ECPKPARAMETERS 27 | # define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS 28 | # undef i2d_ECPKPARAMETERS 29 | # define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS 30 | 31 | /* This one clashes with CMS_data_create */ 32 | # undef cms_Data_create 33 | # define cms_Data_create priv_cms_Data_create 34 | 35 | # endif 36 | 37 | #endif /* ! defined HEADER_VMS_IDHACKS_H */ 38 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libssl.xcframework/ios-arm64/libssl.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/asn1_mac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #error "This file is obsolete; please update your software." 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/buffererr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the OpenSSL license (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef HEADER_BUFERR_H 12 | # define HEADER_BUFERR_H 13 | 14 | # ifndef HEADER_SYMHACKS_H 15 | # include 16 | # endif 17 | 18 | # ifdef __cplusplus 19 | extern "C" 20 | # endif 21 | int ERR_load_BUF_strings(void); 22 | 23 | /* 24 | * BUF function codes. 25 | */ 26 | # define BUF_F_BUF_MEM_GROW 100 27 | # define BUF_F_BUF_MEM_GROW_CLEAN 105 28 | # define BUF_F_BUF_MEM_NEW 101 29 | 30 | /* 31 | * BUF reason codes. 32 | */ 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/cmac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2010-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_CMAC_H 11 | # define HEADER_CMAC_H 12 | 13 | # ifndef OPENSSL_NO_CMAC 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | # include 20 | 21 | /* Opaque */ 22 | typedef struct CMAC_CTX_st CMAC_CTX; 23 | 24 | CMAC_CTX *CMAC_CTX_new(void); 25 | void CMAC_CTX_cleanup(CMAC_CTX *ctx); 26 | void CMAC_CTX_free(CMAC_CTX *ctx); 27 | EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx); 28 | int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); 29 | 30 | int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, 31 | const EVP_CIPHER *cipher, ENGINE *impl); 32 | int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen); 33 | int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen); 34 | int CMAC_resume(CMAC_CTX *ctx); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | # endif 41 | #endif 42 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/comperr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the OpenSSL license (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef HEADER_COMPERR_H 12 | # define HEADER_COMPERR_H 13 | 14 | # ifndef HEADER_SYMHACKS_H 15 | # include 16 | # endif 17 | 18 | # include 19 | 20 | # ifndef OPENSSL_NO_COMP 21 | 22 | # ifdef __cplusplus 23 | extern "C" 24 | # endif 25 | int ERR_load_COMP_strings(void); 26 | 27 | /* 28 | * COMP function codes. 29 | */ 30 | # define COMP_F_BIO_ZLIB_FLUSH 99 31 | # define COMP_F_BIO_ZLIB_NEW 100 32 | # define COMP_F_BIO_ZLIB_READ 101 33 | # define COMP_F_BIO_ZLIB_WRITE 102 34 | # define COMP_F_COMP_CTX_NEW 103 35 | 36 | /* 37 | * COMP reason codes. 38 | */ 39 | # define COMP_R_ZLIB_DEFLATE_ERROR 99 40 | # define COMP_R_ZLIB_INFLATE_ERROR 100 41 | # define COMP_R_ZLIB_NOT_SUPPORTED 101 42 | 43 | # endif 44 | #endif 45 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_EBCDIC_H 11 | # define HEADER_EBCDIC_H 12 | 13 | # include 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | /* Avoid name clashes with other applications */ 20 | # define os_toascii _openssl_os_toascii 21 | # define os_toebcdic _openssl_os_toebcdic 22 | # define ebcdic2ascii _openssl_ebcdic2ascii 23 | # define ascii2ebcdic _openssl_ascii2ebcdic 24 | 25 | extern const unsigned char os_toascii[256]; 26 | extern const unsigned char os_toebcdic[256]; 27 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 28 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | #endif 34 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/ecdh.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/ecdsa.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/md2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_MD2_H 11 | # define HEADER_MD2_H 12 | 13 | # include 14 | 15 | # ifndef OPENSSL_NO_MD2 16 | # include 17 | # ifdef __cplusplus 18 | extern "C" { 19 | # endif 20 | 21 | typedef unsigned char MD2_INT; 22 | 23 | # define MD2_DIGEST_LENGTH 16 24 | # define MD2_BLOCK 16 25 | 26 | typedef struct MD2state_st { 27 | unsigned int num; 28 | unsigned char data[MD2_BLOCK]; 29 | MD2_INT cksm[MD2_BLOCK]; 30 | MD2_INT state[MD2_BLOCK]; 31 | } MD2_CTX; 32 | 33 | const char *MD2_options(void); 34 | int MD2_Init(MD2_CTX *c); 35 | int MD2_Update(MD2_CTX *c, const unsigned char *data, size_t len); 36 | int MD2_Final(unsigned char *md, MD2_CTX *c); 37 | unsigned char *MD2(const unsigned char *d, size_t n, unsigned char *md); 38 | 39 | # ifdef __cplusplus 40 | } 41 | # endif 42 | # endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/mdc2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_MDC2_H 11 | # define HEADER_MDC2_H 12 | 13 | # include 14 | 15 | #ifndef OPENSSL_NO_MDC2 16 | # include 17 | # include 18 | # ifdef __cplusplus 19 | extern "C" { 20 | # endif 21 | 22 | # define MDC2_BLOCK 8 23 | # define MDC2_DIGEST_LENGTH 16 24 | 25 | typedef struct mdc2_ctx_st { 26 | unsigned int num; 27 | unsigned char data[MDC2_BLOCK]; 28 | DES_cblock h, hh; 29 | int pad_type; /* either 1 or 2, default 1 */ 30 | } MDC2_CTX; 31 | 32 | int MDC2_Init(MDC2_CTX *c); 33 | int MDC2_Update(MDC2_CTX *c, const unsigned char *data, size_t len); 34 | int MDC2_Final(unsigned char *md, MDC2_CTX *c); 35 | unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md); 36 | 37 | # ifdef __cplusplus 38 | } 39 | # endif 40 | # endif 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/pem2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_PEM2_H 11 | # define HEADER_PEM2_H 12 | # include 13 | #endif 14 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/rc4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_RC4_H 11 | # define HEADER_RC4_H 12 | 13 | # include 14 | 15 | # ifndef OPENSSL_NO_RC4 16 | # include 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | typedef struct rc4_key_st { 22 | RC4_INT x, y; 23 | RC4_INT data[256]; 24 | } RC4_KEY; 25 | 26 | const char *RC4_options(void); 27 | void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data); 28 | void RC4(RC4_KEY *key, size_t len, const unsigned char *indata, 29 | unsigned char *outdata); 30 | 31 | # ifdef __cplusplus 32 | } 33 | # endif 34 | # endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/ripemd.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_RIPEMD_H 11 | # define HEADER_RIPEMD_H 12 | 13 | # include 14 | 15 | #ifndef OPENSSL_NO_RMD160 16 | # include 17 | # include 18 | # ifdef __cplusplus 19 | extern "C" { 20 | # endif 21 | 22 | # define RIPEMD160_LONG unsigned int 23 | 24 | # define RIPEMD160_CBLOCK 64 25 | # define RIPEMD160_LBLOCK (RIPEMD160_CBLOCK/4) 26 | # define RIPEMD160_DIGEST_LENGTH 20 27 | 28 | typedef struct RIPEMD160state_st { 29 | RIPEMD160_LONG A, B, C, D, E; 30 | RIPEMD160_LONG Nl, Nh; 31 | RIPEMD160_LONG data[RIPEMD160_LBLOCK]; 32 | unsigned int num; 33 | } RIPEMD160_CTX; 34 | 35 | int RIPEMD160_Init(RIPEMD160_CTX *c); 36 | int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); 37 | int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 38 | unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md); 39 | void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); 40 | 41 | # ifdef __cplusplus 42 | } 43 | # endif 44 | # endif 45 | 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/Headers/openssl/ssl2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_SSL2_H 11 | # define HEADER_SSL2_H 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | # define SSL2_VERSION 0x0002 18 | 19 | # define SSL2_MT_CLIENT_HELLO 1 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif 25 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libssl.xcframework/ios-arm64_x86_64-simulator/libssl.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/asn1_mac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #error "This file is obsolete; please update your software." 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/buffererr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the OpenSSL license (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef HEADER_BUFERR_H 12 | # define HEADER_BUFERR_H 13 | 14 | # ifndef HEADER_SYMHACKS_H 15 | # include 16 | # endif 17 | 18 | # ifdef __cplusplus 19 | extern "C" 20 | # endif 21 | int ERR_load_BUF_strings(void); 22 | 23 | /* 24 | * BUF function codes. 25 | */ 26 | # define BUF_F_BUF_MEM_GROW 100 27 | # define BUF_F_BUF_MEM_GROW_CLEAN 105 28 | # define BUF_F_BUF_MEM_NEW 101 29 | 30 | /* 31 | * BUF reason codes. 32 | */ 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/cmac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2010-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_CMAC_H 11 | # define HEADER_CMAC_H 12 | 13 | # ifndef OPENSSL_NO_CMAC 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | # include 20 | 21 | /* Opaque */ 22 | typedef struct CMAC_CTX_st CMAC_CTX; 23 | 24 | CMAC_CTX *CMAC_CTX_new(void); 25 | void CMAC_CTX_cleanup(CMAC_CTX *ctx); 26 | void CMAC_CTX_free(CMAC_CTX *ctx); 27 | EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx); 28 | int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); 29 | 30 | int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, 31 | const EVP_CIPHER *cipher, ENGINE *impl); 32 | int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen); 33 | int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen); 34 | int CMAC_resume(CMAC_CTX *ctx); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | # endif 41 | #endif 42 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/comperr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by util/mkerr.pl DO NOT EDIT 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. 4 | * 5 | * Licensed under the OpenSSL license (the "License"). You may not use 6 | * this file except in compliance with the License. You can obtain a copy 7 | * in the file LICENSE in the source distribution or at 8 | * https://www.openssl.org/source/license.html 9 | */ 10 | 11 | #ifndef HEADER_COMPERR_H 12 | # define HEADER_COMPERR_H 13 | 14 | # ifndef HEADER_SYMHACKS_H 15 | # include 16 | # endif 17 | 18 | # include 19 | 20 | # ifndef OPENSSL_NO_COMP 21 | 22 | # ifdef __cplusplus 23 | extern "C" 24 | # endif 25 | int ERR_load_COMP_strings(void); 26 | 27 | /* 28 | * COMP function codes. 29 | */ 30 | # define COMP_F_BIO_ZLIB_FLUSH 99 31 | # define COMP_F_BIO_ZLIB_NEW 100 32 | # define COMP_F_BIO_ZLIB_READ 101 33 | # define COMP_F_BIO_ZLIB_WRITE 102 34 | # define COMP_F_COMP_CTX_NEW 103 35 | 36 | /* 37 | * COMP reason codes. 38 | */ 39 | # define COMP_R_ZLIB_DEFLATE_ERROR 99 40 | # define COMP_R_ZLIB_INFLATE_ERROR 100 41 | # define COMP_R_ZLIB_NOT_SUPPORTED 101 42 | 43 | # endif 44 | #endif 45 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/conf_api.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_CONF_API_H 11 | # define HEADER_CONF_API_H 12 | 13 | # include 14 | # include 15 | 16 | #ifdef __cplusplus 17 | extern "C" { 18 | #endif 19 | 20 | /* Up until OpenSSL 0.9.5a, this was new_section */ 21 | CONF_VALUE *_CONF_new_section(CONF *conf, const char *section); 22 | /* Up until OpenSSL 0.9.5a, this was get_section */ 23 | CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section); 24 | /* Up until OpenSSL 0.9.5a, this was CONF_get_section */ 25 | STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, 26 | const char *section); 27 | 28 | int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); 29 | char *_CONF_get_string(const CONF *conf, const char *section, 30 | const char *name); 31 | long _CONF_get_number(const CONF *conf, const char *section, 32 | const char *name); 33 | 34 | int _CONF_new_data(CONF *conf); 35 | void _CONF_free_data(CONF *conf); 36 | 37 | #ifdef __cplusplus 38 | } 39 | #endif 40 | #endif 41 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_EBCDIC_H 11 | # define HEADER_EBCDIC_H 12 | 13 | # include 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | /* Avoid name clashes with other applications */ 20 | # define os_toascii _openssl_os_toascii 21 | # define os_toebcdic _openssl_os_toebcdic 22 | # define ebcdic2ascii _openssl_ebcdic2ascii 23 | # define ascii2ebcdic _openssl_ascii2ebcdic 24 | 25 | extern const unsigned char os_toascii[256]; 26 | extern const unsigned char os_toebcdic[256]; 27 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 28 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | #endif 34 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/ecdh.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/ecdsa.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #include 11 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/md2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_MD2_H 11 | # define HEADER_MD2_H 12 | 13 | # include 14 | 15 | # ifndef OPENSSL_NO_MD2 16 | # include 17 | # ifdef __cplusplus 18 | extern "C" { 19 | # endif 20 | 21 | typedef unsigned char MD2_INT; 22 | 23 | # define MD2_DIGEST_LENGTH 16 24 | # define MD2_BLOCK 16 25 | 26 | typedef struct MD2state_st { 27 | unsigned int num; 28 | unsigned char data[MD2_BLOCK]; 29 | MD2_INT cksm[MD2_BLOCK]; 30 | MD2_INT state[MD2_BLOCK]; 31 | } MD2_CTX; 32 | 33 | const char *MD2_options(void); 34 | int MD2_Init(MD2_CTX *c); 35 | int MD2_Update(MD2_CTX *c, const unsigned char *data, size_t len); 36 | int MD2_Final(unsigned char *md, MD2_CTX *c); 37 | unsigned char *MD2(const unsigned char *d, size_t n, unsigned char *md); 38 | 39 | # ifdef __cplusplus 40 | } 41 | # endif 42 | # endif 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/mdc2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_MDC2_H 11 | # define HEADER_MDC2_H 12 | 13 | # include 14 | 15 | #ifndef OPENSSL_NO_MDC2 16 | # include 17 | # include 18 | # ifdef __cplusplus 19 | extern "C" { 20 | # endif 21 | 22 | # define MDC2_BLOCK 8 23 | # define MDC2_DIGEST_LENGTH 16 24 | 25 | typedef struct mdc2_ctx_st { 26 | unsigned int num; 27 | unsigned char data[MDC2_BLOCK]; 28 | DES_cblock h, hh; 29 | int pad_type; /* either 1 or 2, default 1 */ 30 | } MDC2_CTX; 31 | 32 | int MDC2_Init(MDC2_CTX *c); 33 | int MDC2_Update(MDC2_CTX *c, const unsigned char *data, size_t len); 34 | int MDC2_Final(unsigned char *md, MDC2_CTX *c); 35 | unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md); 36 | 37 | # ifdef __cplusplus 38 | } 39 | # endif 40 | # endif 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/pem2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_PEM2_H 11 | # define HEADER_PEM2_H 12 | # include 13 | #endif 14 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/rc4.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_RC4_H 11 | # define HEADER_RC4_H 12 | 13 | # include 14 | 15 | # ifndef OPENSSL_NO_RC4 16 | # include 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | typedef struct rc4_key_st { 22 | RC4_INT x, y; 23 | RC4_INT data[256]; 24 | } RC4_KEY; 25 | 26 | const char *RC4_options(void); 27 | void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data); 28 | void RC4(RC4_KEY *key, size_t len, const unsigned char *indata, 29 | unsigned char *outdata); 30 | 31 | # ifdef __cplusplus 32 | } 33 | # endif 34 | # endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/ripemd.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_RIPEMD_H 11 | # define HEADER_RIPEMD_H 12 | 13 | # include 14 | 15 | #ifndef OPENSSL_NO_RMD160 16 | # include 17 | # include 18 | # ifdef __cplusplus 19 | extern "C" { 20 | # endif 21 | 22 | # define RIPEMD160_LONG unsigned int 23 | 24 | # define RIPEMD160_CBLOCK 64 25 | # define RIPEMD160_LBLOCK (RIPEMD160_CBLOCK/4) 26 | # define RIPEMD160_DIGEST_LENGTH 20 27 | 28 | typedef struct RIPEMD160state_st { 29 | RIPEMD160_LONG A, B, C, D, E; 30 | RIPEMD160_LONG Nl, Nh; 31 | RIPEMD160_LONG data[RIPEMD160_LBLOCK]; 32 | unsigned int num; 33 | } RIPEMD160_CTX; 34 | 35 | int RIPEMD160_Init(RIPEMD160_CTX *c); 36 | int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); 37 | int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 38 | unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md); 39 | void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); 40 | 41 | # ifdef __cplusplus 42 | } 43 | # endif 44 | # endif 45 | 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/ssl2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_SSL2_H 11 | # define HEADER_SSL2_H 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | # define SSL2_VERSION 0x0002 18 | 19 | # define SSL2_MT_CLIENT_HELLO 1 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif 25 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/Headers/openssl/symhacks.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. 3 | * 4 | * Licensed under the OpenSSL license (the "License"). You may not use 5 | * this file except in compliance with the License. You can obtain a copy 6 | * in the file LICENSE in the source distribution or at 7 | * https://www.openssl.org/source/license.html 8 | */ 9 | 10 | #ifndef HEADER_SYMHACKS_H 11 | # define HEADER_SYMHACKS_H 12 | 13 | # include 14 | 15 | /* Case insensitive linking causes problems.... */ 16 | # if defined(OPENSSL_SYS_VMS) 17 | # undef ERR_load_CRYPTO_strings 18 | # define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings 19 | # undef OCSP_crlID_new 20 | # define OCSP_crlID_new OCSP_crlID2_new 21 | 22 | # undef d2i_ECPARAMETERS 23 | # define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS 24 | # undef i2d_ECPARAMETERS 25 | # define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS 26 | # undef d2i_ECPKPARAMETERS 27 | # define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS 28 | # undef i2d_ECPKPARAMETERS 29 | # define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS 30 | 31 | /* This one clashes with CMS_data_create */ 32 | # undef cms_Data_create 33 | # define cms_Data_create priv_cms_Data_create 34 | 35 | # endif 36 | 37 | #endif /* ! defined HEADER_VMS_IDHACKS_H */ 38 | -------------------------------------------------------------------------------- /GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Third-Party/libssl.xcframework/macos-arm64_x86_64/libssl.a -------------------------------------------------------------------------------- /GitUpKit/Third-Party/rebuild-libsqlite3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -ex -o pipefail 2 | 3 | VERSION="3220000" 4 | DIRNAME="`pwd`" 5 | 6 | . ./common.sh 7 | 8 | function build_arch_library() { 9 | local PLATFORM="$1" 10 | local ARCH="$2" 11 | local PREFIX="$3" 12 | 13 | if [[ "$ARCH" == "x86_64" ]]; then 14 | HOST="x86_64-apple-darwin" 15 | elif [[ "$ARCH" == "arm64" ]]; then 16 | HOST="arm-apple-darwin" 17 | else 18 | exit 1 19 | fi 20 | 21 | configure_environment "$PLATFORM" "$ARCH" 22 | 23 | ./configure --prefix="$PREFIX" --host="$HOST" --disable-shared --disable-dynamic-extensions 24 | make install-includeHEADERS 25 | make install-libLTLIBRARIES 26 | make clean 27 | } 28 | 29 | # Setup 30 | mkdir -p "build" 31 | cd "build" 32 | if [[ ! -f "sqlite-autoconf-$VERSION.tar.gz" ]]; then 33 | curl -sfLO "https://www.sqlite.org/2018/sqlite-autoconf-$VERSION.tar.gz" 34 | fi 35 | rm -rf "sqlite-autoconf-$VERSION" 36 | tar -xvf "sqlite-autoconf-$VERSION.tar.gz" 37 | 38 | # Patch 39 | cd "sqlite-autoconf-$VERSION" 40 | perl -pi -e "s/SQLITE_THREADSAFE=1/SQLITE_THREADSAFE=2/g" "configure" # Patch configure so that SQLITE_THREADSAFE=2 instead of SQLITE_THREADSAFE=1 41 | 42 | # Build 43 | EXTRA_CFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" 44 | build_libraries "$DIRNAME" "libsqlite3" 45 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/GIColorView.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | IB_DESIGNABLE 19 | @interface GIColorView : NSView 20 | @property(nonatomic, strong) IBInspectable NSColor* backgroundColor; 21 | @end 22 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/GIColorView.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #if !__has_feature(objc_arc) 17 | #error This file requires ARC 18 | #endif 19 | 20 | #import "GIColorView.h" 21 | 22 | @implementation GIColorView 23 | 24 | - (BOOL)wantsUpdateLayer { 25 | return YES; 26 | } 27 | 28 | - (void)updateLayer { 29 | self.layer.backgroundColor = self.backgroundColor.CGColor; 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/GILaunchServicesLocator.h: -------------------------------------------------------------------------------- 1 | // 2 | // GILaunchServicesLocator.h 3 | // GitUpKit (OSX) 4 | // 5 | // Created by Dmitry Lobanov on 08.10.2019. 6 | // 7 | 8 | #import 9 | NS_ASSUME_NONNULL_BEGIN 10 | // Settings 11 | extern NSString* const GIPreferences_DiffTool; 12 | extern NSString* const GIPreferences_MergeTool; 13 | extern NSString* const GIPreferences_TerminalTool; 14 | 15 | // DiffTool and MergeTool 16 | extern NSString* const GIPreferences_DiffMergeTool_FileMerge; 17 | extern NSString* const GIPreferences_DiffMergeTool_Kaleidoscope; 18 | extern NSString* const GIPreferences_DiffMergeTool_BeyondCompare; 19 | extern NSString* const GIPreferences_DiffMergeTool_P4Merge; 20 | extern NSString* const GIPreferences_DiffMergeTool_GitTool; 21 | extern NSString* const GIPreferences_DiffMergeTool_DiffMerge; 22 | 23 | // TerminalTool 24 | extern NSString* const GIPreferences_TerminalTool_Terminal; 25 | extern NSString* const GIPreferences_TerminalTool_iTerm; 26 | 27 | @interface GILaunchServicesLocator : NSObject 28 | #pragma mark - Setup 29 | + (void)setup; 30 | 31 | #pragma mark - Installed Apps 32 | + (NSDictionary*)installedAppsDictionary; 33 | + (BOOL)hasInstalledApplicationForDisplayName:(NSString*)displayName; 34 | + (BOOL)hasInstalledApplicationForBundleIdentifier:(NSString*)bundleIdentifier; 35 | 36 | #pragma mark - Diff Tools Supplement 37 | @property(nonatomic, copy, class) NSString* diffTemporaryDirectoryPath; 38 | @end 39 | 40 | NS_ASSUME_NONNULL_END 41 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/GILinkButton.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | IB_DESIGNABLE 19 | @interface GILinkButton : NSControl 20 | @property(nonatomic) NSTextAlignment textAlignment; // Using @alignment from NSControl doesn't work 21 | @property(nonatomic, strong) NSFont* textFont; // Using @font from NSControl doesn't work 22 | @property(nonatomic, strong) IBInspectable NSString* link; 23 | @property(nonatomic, strong) IBInspectable NSColor* linkColor; 24 | @property(nonatomic, strong) IBInspectable NSColor* alternateLinkColor; 25 | @end 26 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/GIModalView.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface GIModalView : NSView 19 | - (void)presentContentView:(NSView*)view withCompletionHandler:(dispatch_block_t)handler; 20 | - (void)dismissContentViewWithCompletionHandler:(dispatch_block_t)handler; 21 | @end 22 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/NSBundle+GitUpKit.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import 17 | 18 | @interface NSBundle (GitUpKit) 19 | 20 | @property(class, strong, readonly) NSBundle* gitUpKitBundle; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/NSBundle+GitUpKit.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "NSBundle+GitUpKit.h" 17 | #import "GIBranch.h" // just any class included on all platforms 18 | 19 | @implementation NSBundle (GitUpKit) 20 | 21 | + (NSBundle*)gitUpKitBundle { 22 | return [NSBundle bundleForClass:GIBranch.class]; 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_caution.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_alert_caution.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_alert_caution@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_caution.imageset/icon_alert_caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Utilities/Utilities.xcassets/icon_alert_caution.imageset/icon_alert_caution.png -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_caution.imageset/icon_alert_caution@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Utilities/Utilities.xcassets/icon_alert_caution.imageset/icon_alert_caution@2x.png -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_note.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "icon_alert_note.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "icon_alert_note@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_note.imageset/icon_alert_note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Utilities/Utilities.xcassets/icon_alert_note.imageset/icon_alert_note.png -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_note.imageset/icon_alert_note@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Utilities/Utilities.xcassets/icon_alert_note.imageset/icon_alert_note@2x.png -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_stop.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon_alert_stop.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "filename" : "icon_alert_stop@2x.png", 10 | "idiom" : "universal", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "author" : "xcode", 20 | "version" : 1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_stop.imageset/icon_alert_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Utilities/Utilities.xcassets/icon_alert_stop.imageset/icon_alert_stop.png -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/icon_alert_stop.imageset/icon_alert_stop@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Utilities/Utilities.xcassets/icon_alert_stop.imageset/icon_alert_stop@2x.png -------------------------------------------------------------------------------- /GitUpKit/Utilities/Utilities.xcassets/separator.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "reference" : "separatorColor" 11 | } 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "appearances" : [ 16 | { 17 | "appearance" : "luminosity", 18 | "value" : "dark" 19 | } 20 | ], 21 | "color" : { 22 | "reference" : "separatorColor" 23 | } 24 | }, 25 | { 26 | "idiom" : "universal", 27 | "appearances" : [ 28 | { 29 | "appearance" : "contrast", 30 | "value" : "high" 31 | } 32 | ], 33 | "color" : { 34 | "reference" : "separatorColor" 35 | } 36 | }, 37 | { 38 | "idiom" : "universal", 39 | "appearances" : [ 40 | { 41 | "appearance" : "luminosity", 42 | "value" : "dark" 43 | }, 44 | { 45 | "appearance" : "contrast", 46 | "value" : "high" 47 | } 48 | ], 49 | "color" : { 50 | "reference" : "separatorColor" 51 | } 52 | } 53 | ] 54 | } -------------------------------------------------------------------------------- /GitUpKit/Views/GIAdvancedCommitViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GICommitViewController.h" 17 | 18 | @interface GIAdvancedCommitViewController : GICommitViewController 19 | @end 20 | -------------------------------------------------------------------------------- /GitUpKit/Views/GIConfigViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIViewController.h" 17 | 18 | @interface GIConfigViewController : GIViewController 19 | @end 20 | -------------------------------------------------------------------------------- /GitUpKit/Views/GIConflictResolverViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIViewController.h" 17 | 18 | @class GCCommit, GIConflictResolverViewController; 19 | 20 | @protocol GIConflictResolverViewControllerDelegate 21 | - (void)conflictResolverViewControllerShouldCancel:(GIConflictResolverViewController*)controller; 22 | - (void)conflictResolverViewControllerDidFinish:(GIConflictResolverViewController*)controller; 23 | @end 24 | 25 | @interface GIConflictResolverViewController : GIViewController 26 | @property(nonatomic, weak) id delegate; 27 | @property(nonatomic, strong) GCCommit* ourCommit; 28 | @property(nonatomic, strong) GCCommit* theirCommit; 29 | @end 30 | -------------------------------------------------------------------------------- /GitUpKit/Views/GIDiffViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIViewController.h" 17 | 18 | @class GCCommit; 19 | 20 | @interface GIDiffViewController : GIViewController 21 | @property(nonatomic, readonly) GCCommit* commit; 22 | @property(nonatomic, readonly) GCCommit* parentCommit; 23 | - (void)setCommit:(GCCommit*)commit withParentCommit:(GCCommit*)parentCommit; 24 | @end 25 | -------------------------------------------------------------------------------- /GitUpKit/Views/GIQuickViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIViewController.h" 17 | 18 | @class GCHistoryCommit; 19 | 20 | @interface GIQuickViewController : GIViewController 21 | @property(nonatomic, strong) GCHistoryCommit* commit; 22 | @end 23 | -------------------------------------------------------------------------------- /GitUpKit/Views/GIRemappingExplanationPopover.h: -------------------------------------------------------------------------------- 1 | // 2 | // GIRemappingExplanationViewController.h 3 | // GitUpKit 4 | // 5 | // Created by Lucas Derraugh on 3/3/24. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @interface GIRemappingExplanationPopover : NSObject 13 | 14 | + (void)showIfNecessaryRelativeToRect:(NSRect)positioningRect ofView:(NSView*)positioningView preferredEdge:(NSRectEdge)preferredEdge; 15 | 16 | @end 17 | 18 | NS_ASSUME_NONNULL_END 19 | -------------------------------------------------------------------------------- /GitUpKit/Views/GISimpleCommitViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GICommitViewController.h" 17 | 18 | @interface GISimpleCommitViewController : GICommitViewController 19 | @end 20 | -------------------------------------------------------------------------------- /GitUpKit/Views/GIStashListViewController.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2015-2019 Pierre-Olivier Latour 2 | // 3 | // This program is free software: you can redistribute it and/or modify 4 | // it under the terms of the GNU General Public License as published by 5 | // the Free Software Foundation, either version 3 of the License, or 6 | // (at your option) any later version. 7 | // 8 | // This program is distributed in the hope that it will be useful, 9 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | // GNU General Public License for more details. 12 | // 13 | // You should have received a copy of the GNU General Public License 14 | // along with this program. If not, see . 15 | 16 | #import "GIViewController.h" 17 | 18 | @interface GIStashListViewController : GIViewController 19 | @end 20 | -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/background_pattern.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "background_pattern.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "background_pattern-dark.png", 11 | "appearances" : [ 12 | { 13 | "appearance" : "luminosity", 14 | "value" : "dark" 15 | } 16 | ], 17 | "scale" : "1x" 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "filename" : "background_pattern@2x.png", 22 | "scale" : "2x" 23 | }, 24 | { 25 | "idiom" : "universal", 26 | "filename" : "background_pattern-dark@2x.png", 27 | "appearances" : [ 28 | { 29 | "appearance" : "luminosity", 30 | "value" : "dark" 31 | } 32 | ], 33 | "scale" : "2x" 34 | }, 35 | { 36 | "idiom" : "universal", 37 | "scale" : "3x" 38 | } 39 | ], 40 | "info" : { 41 | "version" : 1, 42 | "author" : "xcode" 43 | } 44 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/background_pattern.imageset/background_pattern-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Views/Views.xcassets/background_pattern.imageset/background_pattern-dark.png -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/background_pattern.imageset/background_pattern-dark@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Views/Views.xcassets/background_pattern.imageset/background_pattern-dark@2x.png -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/background_pattern.imageset/background_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Views/Views.xcassets/background_pattern.imageset/background_pattern.png -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/background_pattern.imageset/background_pattern@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Views/Views.xcassets/background_pattern.imageset/background_pattern@2x.png -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/commit/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "provides-namespace" : true 8 | } 9 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/commit/header_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "gray-gamma-22", 11 | "components" : { 12 | "white" : "0.500", 13 | "alpha" : "1.000" 14 | } 15 | } 16 | }, 17 | { 18 | "idiom" : "universal", 19 | "appearances" : [ 20 | { 21 | "appearance" : "luminosity", 22 | "value" : "dark" 23 | } 24 | ], 25 | "color" : { 26 | "reference" : "alternatingContentBackgroundColor" 27 | } 28 | } 29 | ] 30 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/config/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "properties" : { 7 | "provides-namespace" : true 8 | } 9 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/config/conflict_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "1.000", 13 | "alpha" : "1.000", 14 | "blue" : "0.950", 15 | "green" : "0.950" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.300", 31 | "alpha" : "1.000", 32 | "blue" : "0.000", 33 | "green" : "0.000" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/config/global_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "0.950", 13 | "alpha" : "1.000", 14 | "blue" : "0.950", 15 | "green" : "1.000" 16 | } 17 | } 18 | }, 19 | { 20 | "idiom" : "universal", 21 | "appearances" : [ 22 | { 23 | "appearance" : "luminosity", 24 | "value" : "dark" 25 | } 26 | ], 27 | "color" : { 28 | "color-space" : "srgb", 29 | "components" : { 30 | "red" : "0.000", 31 | "alpha" : "1.000", 32 | "blue" : "0.000", 33 | "green" : "0.300" 34 | } 35 | } 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/config/highlight_background.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | }, 6 | "colors" : [ 7 | { 8 | "idiom" : "universal", 9 | "color" : { 10 | "color-space" : "srgb", 11 | "components" : { 12 | "red" : "1.000", 13 | "alpha" : "0.500", 14 | "blue" : "0.000", 15 | "green" : "1.000" 16 | } 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/icon_author.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_author.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "icon_author@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/icon_author.imageset/icon_author.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Views/Views.xcassets/icon_author.imageset/icon_author.png -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/icon_author.imageset/icon_author@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Views/Views.xcassets/icon_author.imageset/icon_author@2x.png -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/icon_committer.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_committer.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "icon_committer@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | }, 22 | "properties" : { 23 | "template-rendering-intent" : "template" 24 | } 25 | } -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/icon_committer.imageset/icon_committer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Views/Views.xcassets/icon_committer.imageset/icon_committer.png -------------------------------------------------------------------------------- /GitUpKit/Views/Views.xcassets/icon_committer.imageset/icon_committer@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-up/GitUp/6687b5f4b766ec5803430ea40f3a6027135920af/GitUpKit/Views/Views.xcassets/icon_committer.imageset/icon_committer@2x.png -------------------------------------------------------------------------------- /GitUpKit/build-release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -ex 3 | 4 | XCODE_OBJROOT="/tmp/GitUpKit-Build" 5 | XCODE_SYMROOT="/tmp/GitUpKit-Products" 6 | 7 | LIPO=$(xcrun -find lipo) 8 | 9 | rm -rf "$XCODE_SYMROOT" 10 | 11 | # Build for OS X 12 | rm -rf "$XCODE_OBJROOT" 13 | xcodebuild build -sdk "macosx" -scheme "GitUpKit (OSX)" -configuration "Release" "OBJROOT=$XCODE_OBJROOT" "SYMROOT=$XCODE_SYMROOT" 14 | 15 | # Build for iPhone Simulator 16 | rm -rf "$XCODE_OBJROOT" 17 | xcodebuild build -sdk "iphonesimulator" -scheme "GitUpKit (iOS)" -configuration "Release" "OBJROOT=$XCODE_OBJROOT" "SYMROOT=$XCODE_SYMROOT" 18 | 19 | # Build for iOS 20 | rm -rf "$XCODE_OBJROOT" 21 | xcodebuild build -sdk "iphoneos" -scheme "GitUpKit (iOS)" -configuration "Release" "OBJROOT=$XCODE_OBJROOT" "SYMROOT=$XCODE_SYMROOT" 22 | 23 | # Copy for OS X 24 | rm -rf "GitUpKit-OSX" 25 | mkdir -p "GitUpKit-OSX" 26 | mv "$XCODE_SYMROOT/Release/GitUpKit.framework" "GitUpKit-OSX" 27 | 28 | # Copy for iOS (universal simulator & device) 29 | rm -rf "GitUpKit-iOS" 30 | mkdir -p "GitUpKit-iOS" 31 | mv "$XCODE_SYMROOT/Release-iphonesimulator/GitUpKit.framework" "GitUpKit-iOS" 32 | $LIPO -create "GitUpKit-iOS/GitUpKit.framework/GitUpKit" "$XCODE_SYMROOT/Release-iphoneos/GitUpKit.framework/GitUpKit" -output "GitUpKit-iOS/GitUpKit.framework/GitUpKit~" 33 | mv -f "GitUpKit-iOS/GitUpKit.framework/GitUpKit~" "GitUpKit-iOS/GitUpKit.framework/GitUpKit" 34 | -------------------------------------------------------------------------------- /UPDATING-LIBGIT2.md: -------------------------------------------------------------------------------- 1 | ### Update Fork From Upstream 2 | 3 | - Checkout https://github.com/git-up/libgit2 4 | - Switch to `gitup` branch 5 | - Add upstream remote at https://github.com/libgit2/libgit2 with `git remote add upstream git@github.com:libgit2/libgit2.git` 6 | - Fetch from upstream with `git fetch --all` 7 | - Make sure `gitup` branch current tip is tagged with the corresponding date e.g. `2015-12-02` and push tag 8 | - Rebased `gitup` branch on top of upstream 9 | 10 | ### Test Fork 11 | 12 | - Run `./update-xcode.sh` 13 | - Select `libgit2_clar` project 14 | - Enable address sanitizer 15 | - Set environment variable `ASAN_OPTIONS` to `allocator_may_return_null=1` 16 | - Run to run all default tests 17 | - Run again passing `-sonline` as an argument to run online tests 18 | 19 | ### Update and Test GitUp 20 | 21 | - Force push `gitup` branch to remote 22 | - Force update `libgit2` submodule 23 | - Open GitUp Xcode project 24 | - Select `GitUpKit (OS X)` target and run tests 25 | - Verify `GitUpKit (iOS)` builds 26 | - Commit and push 27 | -------------------------------------------------------------------------------- /Xcode-Configurations/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Base" 2 | 3 | GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 4 | WARNING_CFLAGS = -Wall -Weverything -Wno-pedantic -Wno-padded -Wno-direct-ivar-access -Wno-documentation-unknown-command -Wno-objc-missing-property-synthesis -Wno-implicit-retain-self -Wno-explicit-ownership-type -Wno-assign-enum -Wno-cast-align -Wno-switch-enum -Wno-cstring-format-directive -Wno-cast-qual -Wno-nullable-to-nonnull-conversion -Wno-reserved-id-macro -Wno-nonnull -Wno-double-promotion -Wno-objc-messaging-id -Wno-auto-import -Wno-atimport-in-framework-header -Wno-declaration-after-statement 5 | 6 | ONLY_ACTIVE_ARCH = YES 7 | DEBUG_INFORMATION_FORMAT = dwarf 8 | GCC_OPTIMIZATION_LEVEL = 0 9 | ENABLE_TESTABILITY = YES 10 | -------------------------------------------------------------------------------- /Xcode-Configurations/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Base" 2 | 3 | VALIDATE_PRODUCT = YES 4 | ENABLE_NS_ASSERTIONS = NO 5 | WARNING_CFLAGS = -Wall -Wno-nonnull -Wno-property-attribute-mismatch -Wno-auto-import -Wno-atimport-in-framework-header 6 | -------------------------------------------------------------------------------- /appcasts/continuous/appcast.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | GitUp 5 | 6 | 1.4.3 7 | Fri, 14 Feb 2025 09:05:00 -0500 8 | 10.13 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /appcasts/stable/appcast.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | GitUp 5 | 6 | 1.4.3 7 | Mon, 17 Mar 2025 10:52:00 -0400 8 | 10.13 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /continuous-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -ex 2 | 3 | CHANNEL="continuous" 4 | 5 | PRODUCT_NAME="GitUp" 6 | APPCAST_NAME="appcast.xml" 7 | 8 | MAX_VERSION=`git tag -l "b*" | sed 's/b//g' | sort -nr | head -n 1` 9 | VERSION=$((MAX_VERSION + 1)) 10 | 11 | ##### Archive and export app 12 | 13 | rm -rf "build" 14 | pushd "GitUp" 15 | xcodebuild archive -scheme "Application" -archivePath "../build/$PRODUCT_NAME.xcarchive" "BUNDLE_VERSION=$VERSION" 16 | xcodebuild -exportArchive -exportOptionsPlist "Export-Options.plist" -archivePath "../build/$PRODUCT_NAME.xcarchive" -exportPath "../build/$PRODUCT_NAME" 17 | popd 18 | 19 | FULL_PRODUCT_NAME="$PRODUCT_NAME.app" 20 | PRODUCT_PATH="`pwd`/build/$PRODUCT_NAME/$FULL_PRODUCT_NAME" # Must be absolute path 21 | ARCHIVE_NAME="$PRODUCT_NAME.zip" 22 | ARCHIVE_PATH="build/$ARCHIVE_NAME" 23 | 24 | ##### Notarize zip file 25 | 26 | ditto -c -k --keepParent "$PRODUCT_PATH" "$ARCHIVE_PATH" 27 | 28 | # "PersonalNotary" is the profile name assigned from `notarytool store-credentials` 29 | xcrun notarytool submit $ARCHIVE_PATH --keychain-profile "PersonalNotary" --wait 30 | 31 | echo "Notarization has completed" 32 | 33 | ##### Staple app and regenerate zip 34 | 35 | xcrun stapler staple "$PRODUCT_PATH" 36 | 37 | ditto -c -k --keepParent "$PRODUCT_PATH" "$ARCHIVE_PATH" 38 | 39 | ##### Tag build 40 | 41 | git tag -f "b$VERSION" 42 | git push -f origin "b$VERSION" 43 | 44 | osascript -e 'display notification "Successfully completed continuous build" with title "GitUp Script" sound name "Hero"' 45 | -------------------------------------------------------------------------------- /format-source.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -ex 2 | 3 | # brew install clang-format 4 | 5 | CLANG_FORMAT_VERSION=`clang-format -version | awk '{ print $3 }'` 6 | if [[ "$CLANG_FORMAT_VERSION" < "11.0.0" ]]; then 7 | echo "Unsupported clang-format version" 8 | exit 1 9 | fi 10 | 11 | find "GitUpKit/Components" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 12 | find "GitUpKit/Core" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 13 | find "GitUpKit/Extensions" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 14 | find "GitUpKit/Interface" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 15 | find "GitUpKit/Utilities" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 16 | find "GitUpKit/Views" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 17 | 18 | find "GitUp/Application" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 19 | find "GitUp/Tool" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 20 | 21 | find "Examples" -type f -iname *.h -o -iname *.m | xargs clang-format -style=file -i 22 | 23 | echo "Done!" 24 | -------------------------------------------------------------------------------- /travis-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -ex 2 | 3 | # Run GitUpKit unit tests 4 | pushd "GitUpKit" 5 | xcodebuild test -scheme "GitUpKit (macOS)" 6 | popd 7 | 8 | # Build GitUp without signing 9 | pushd "GitUp" 10 | xcodebuild build -scheme "Application" -configuration "Release" "CODE_SIGN_IDENTITY=" > /dev/null 11 | popd 12 | 13 | # Build OS X examples 14 | pushd "Examples/GitDown" 15 | xcodebuild build -scheme "GitDown" -sdk "macosx" -configuration "Release" > /dev/null 16 | popd 17 | pushd "Examples/GitDiff" 18 | xcodebuild build -scheme "GitDiff" -sdk "macosx" -configuration "Release" > /dev/null 19 | popd 20 | pushd "Examples/GitY" 21 | xcodebuild build -scheme "GitY" -sdk "macosx" -configuration "Release" > /dev/null 22 | popd 23 | 24 | # Build iOS example 25 | pushd "Examples/iGit" 26 | xcodebuild build -scheme "iGit" -sdk "iphonesimulator" -configuration "Release" > /dev/null 27 | popd 28 | --------------------------------------------------------------------------------