├── assets ├── VERSION-code-mirror ├── trans_bg.gif ├── octicons-regular-webfont.ttf ├── mode │ ├── rpm │ │ ├── spec │ │ │ └── spec.css │ │ └── changes │ │ │ └── changes.js │ ├── tiddlywiki │ │ └── tiddlywiki.css │ ├── tiki │ │ └── tiki.css │ ├── diff │ │ └── diff.js │ ├── vbscript │ │ └── vbscript.js │ ├── pascal │ │ └── LICENSE │ ├── python │ │ └── LICENSE.txt │ ├── perl │ │ └── LICENSE │ ├── xquery │ │ └── LICENSE │ ├── vb │ │ └── LICENSE.txt │ ├── coffeescript │ │ └── LICENSE │ ├── sieve │ │ └── LICENSE │ ├── jinja2 │ │ └── jinja2.js │ ├── r │ │ └── LICENSE │ └── ruby │ │ └── LICENSE ├── source-editor.html ├── source-editor.css └── LICENSE ├── libs ├── rtyley.jar ├── aopalliance.jar ├── gson-2.2.4.jar ├── roboguice.jar ├── javax.inject.jar ├── guice-3.0-no_aop.jar ├── android-support-v4.jar └── guice-assistedinject-3.0.jar ├── ic_launcher-web.png ├── res ├── drawable-hdpi │ ├── app_icon.png │ ├── menu_edit.png │ ├── menu_share.png │ ├── menu_star.png │ ├── action_create.png │ ├── action_gist.png │ ├── action_save.png │ ├── action_search.png │ ├── ic_launcher.png │ ├── menu_bookmark.png │ ├── menu_delete.png │ ├── menu_filter.png │ ├── menu_random.png │ ├── menu_refresh.png │ ├── action_bookmark.png │ ├── action_comment.png │ ├── action_refresh.png │ ├── menu_issue_open.png │ ├── action_dashboard.png │ ├── menu_issue_close.png │ ├── menu_issue_reopen.png │ └── menu_delete_history.png ├── drawable-ldpi │ ├── app_icon.png │ ├── menu_edit.png │ ├── menu_share.png │ ├── menu_star.png │ ├── action_create.png │ ├── action_gist.png │ ├── action_save.png │ ├── action_search.png │ ├── ic_launcher.png │ ├── menu_bookmark.png │ ├── menu_delete.png │ ├── menu_filter.png │ ├── menu_random.png │ ├── menu_refresh.png │ ├── action_bookmark.png │ ├── action_comment.png │ ├── menu_issue_open.png │ ├── action_dashboard.png │ ├── menu_issue_close.png │ ├── menu_issue_reopen.png │ └── menu_delete_history.png ├── drawable-mdpi │ ├── app_icon.png │ ├── menu_edit.png │ ├── menu_share.png │ ├── menu_star.png │ ├── action_create.png │ ├── action_gist.png │ ├── action_save.png │ ├── action_search.png │ ├── ic_launcher.png │ ├── menu_bookmark.png │ ├── menu_delete.png │ ├── menu_filter.png │ ├── menu_random.png │ ├── menu_refresh.png │ ├── action_bookmark.png │ ├── action_comment.png │ ├── action_refresh.png │ ├── menu_issue_open.png │ ├── action_dashboard.png │ ├── menu_issue_close.png │ ├── menu_issue_reopen.png │ └── menu_delete_history.png ├── drawable-xhdpi │ ├── app_icon.png │ ├── menu_edit.png │ ├── menu_star.png │ ├── action_gist.png │ ├── action_save.png │ ├── ic_launcher.png │ ├── menu_delete.png │ ├── menu_filter.png │ ├── menu_random.png │ ├── menu_refresh.png │ ├── menu_share.png │ ├── action_comment.png │ ├── action_create.png │ ├── action_refresh.png │ ├── action_search.png │ ├── menu_bookmark.png │ ├── action_bookmark.png │ ├── action_dashboard.png │ ├── menu_issue_close.png │ ├── menu_issue_open.png │ ├── menu_issue_reopen.png │ └── menu_delete_history.png ├── drawable-nodpi │ ├── tab_left.9.png │ ├── tab_right.9.png │ ├── dropdown_gist.png │ ├── gravatar_icon.png │ ├── spinner_inner.png │ ├── spinner_outer.png │ ├── tab_selected.9.png │ ├── dropdown_bookmark.png │ ├── tab_left_right.9.png │ ├── dropdown_dashboard.png │ └── image_loading_icon.png ├── layout │ ├── activity_main.xml │ ├── pager.xml │ ├── gist_file_view.xml │ ├── list_divider.xml │ ├── list_view.xml │ ├── footer_separator.xml │ ├── commit_comments.xml │ ├── issues_filter_header.xml │ ├── commit_details_header.xml │ ├── comment_item.xml │ ├── commit_comment_item.xml │ ├── dialog_list_view.xml │ ├── commit_compare_file_details_header.xml │ ├── commit_file_details_header.xml │ ├── diff_comment_item.xml │ ├── commit_diff_line.xml │ ├── commit.xml │ ├── commit_compare.xml │ ├── commit_parent_item.xml │ ├── tabbed_progress_pager.xml │ ├── loading_item.xml │ ├── comment_create.xml │ ├── user_item.xml │ ├── milestone.xml │ ├── issue_search.xml │ ├── issues_filter_list.xml │ ├── repo_search.xml │ ├── label_item.xml │ ├── repo_issue_list.xml │ ├── gist_file_item.xml │ ├── progress_dialog.xml │ ├── repo_code.xml │ ├── user_repo_item.xml │ ├── commit_file_view.xml │ ├── path_item.xml │ ├── comment_list.xml │ ├── org_item.xml │ ├── item_list.xml │ ├── org_dropdown_item.xml │ └── commit_diff_list.xml ├── menu │ ├── repository_share.xml │ ├── user_follow.xml │ ├── code_view.xml │ ├── login.xml │ ├── gist_create.xml │ ├── issue_filter.xml │ ├── refresh.xml │ ├── home.xml │ ├── comment.xml │ ├── issue_edit.xml │ ├── repository.xml │ ├── gists.xml │ ├── search.xml │ ├── file_view.xml │ └── commit_view.xml ├── values │ ├── roboguice.xml │ └── typeface.xml ├── xml │ ├── sync_adapter.xml │ ├── authenticator.xml │ ├── searchable_issues.xml │ └── searchable_repos.xml ├── color │ ├── tab_icon_colors.xml │ └── tab_text_colors.xml └── drawable │ ├── edit_text_cursor.xml │ ├── diff_add_background.xml │ ├── list_item_background.xml │ ├── diff_remove_background.xml │ ├── diff_marker_background.xml │ ├── footer_selector.xml │ ├── section_selector.xml │ ├── milestone_closed_background.xml │ ├── tab_selector_left.xml │ ├── tab_selector_right.xml │ ├── tab_selector_left_right.xml │ ├── list_divider.xml │ ├── actionbar_spinner.xml │ ├── sign_up_background.xml │ ├── section_background.xml │ ├── section_selected_background.xml │ ├── spinner.xml │ ├── milestone_background.xml │ └── actionbar_background.xml ├── .classpath ├── project.properties ├── proguard-project.txt ├── src ├── org │ └── eclipse │ │ └── egit │ │ └── github │ │ └── core │ │ ├── event │ │ ├── PublicPayload.java │ │ ├── EventPayload.java │ │ ├── WatchPayload.java │ │ ├── FollowPayload.java │ │ ├── ForkPayload.java │ │ ├── DownloadPayload.java │ │ ├── GollumPayload.java │ │ ├── CommitCommentPayload.java │ │ ├── PullRequestReviewCommentPayload.java │ │ └── DeletePayload.java │ │ ├── util │ │ ├── DateUtils.java │ │ ├── MilestoneComparator.java │ │ └── LabelComparator.java │ │ ├── IResourceProvider.java │ │ ├── IRepositoryIdProvider.java │ │ ├── Id.java │ │ ├── ShaResource.java │ │ ├── RequestError.java │ │ ├── Application.java │ │ └── RepositoryBranch.java └── com │ └── github │ ├── mobile │ ├── core │ │ ├── OnLoadListener.java │ │ ├── user │ │ │ └── UserPager.java │ │ ├── commit │ │ │ └── CommitMatch.java │ │ ├── UrlMatcher.java │ │ ├── gist │ │ │ └── GistPager.java │ │ └── issue │ │ │ └── IssuePager.java │ ├── ResultCodes.java │ ├── ui │ │ ├── FragmentProvider.java │ │ ├── user │ │ │ ├── OrganizationSelectionListener.java │ │ │ ├── EventPager.java │ │ │ ├── MyFollowersFragment.java │ │ │ ├── FollowersFragment.java │ │ │ ├── FollowingFragment.java │ │ │ ├── UserCreatedNewsFragment.java │ │ │ ├── OrganizationSelectionProvider.java │ │ │ ├── MyFollowingFragment.java │ │ │ ├── UserReceivedNewsFragment.java │ │ │ └── OrganizationNewsFragment.java │ │ ├── TextWatcherAdapter.java │ │ ├── DialogResultListener.java │ │ ├── gist │ │ │ ├── StarredGistsFragment.java │ │ │ └── PublicGistsFragment.java │ │ └── commit │ │ │ └── CommitFileComparator.java │ ├── RequestFuture.java │ ├── sync │ │ └── SyncAdapterService.java │ ├── accounts │ │ ├── AccountConstants.java │ │ └── AccountAuthenticatorService.java │ └── util │ │ └── MarkdownUtils.java │ └── kevinsawicki │ └── wishlist │ ├── OnDoubleTapAdapter.java │ └── Keyboard.java └── .project /assets/VERSION-code-mirror: -------------------------------------------------------------------------------- 1 | 2.3.5 -------------------------------------------------------------------------------- /libs/rtyley.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/libs/rtyley.jar -------------------------------------------------------------------------------- /assets/trans_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/assets/trans_bg.gif -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/ic_launcher-web.png -------------------------------------------------------------------------------- /libs/aopalliance.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/libs/aopalliance.jar -------------------------------------------------------------------------------- /libs/gson-2.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/libs/gson-2.2.4.jar -------------------------------------------------------------------------------- /libs/roboguice.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/libs/roboguice.jar -------------------------------------------------------------------------------- /libs/javax.inject.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/libs/javax.inject.jar -------------------------------------------------------------------------------- /libs/guice-3.0-no_aop.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/libs/guice-3.0-no_aop.jar -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/libs/android-support-v4.jar -------------------------------------------------------------------------------- /res/drawable-hdpi/app_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/app_icon.png -------------------------------------------------------------------------------- /res/drawable-ldpi/app_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/app_icon.png -------------------------------------------------------------------------------- /res/drawable-mdpi/app_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/app_icon.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_edit.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_share.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_star.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_edit.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_share.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_star.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_edit.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_share.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_star.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/app_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/app_icon.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_edit.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_star.png -------------------------------------------------------------------------------- /assets/octicons-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/assets/octicons-regular-webfont.ttf -------------------------------------------------------------------------------- /libs/guice-assistedinject-3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/libs/guice-assistedinject-3.0.jar -------------------------------------------------------------------------------- /res/drawable-hdpi/action_create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/action_create.png -------------------------------------------------------------------------------- /res/drawable-hdpi/action_gist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/action_gist.png -------------------------------------------------------------------------------- /res/drawable-hdpi/action_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/action_save.png -------------------------------------------------------------------------------- /res/drawable-hdpi/action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/action_search.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_bookmark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_delete.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_filter.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_random.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_random.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_refresh.png -------------------------------------------------------------------------------- /res/drawable-ldpi/action_create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/action_create.png -------------------------------------------------------------------------------- /res/drawable-ldpi/action_gist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/action_gist.png -------------------------------------------------------------------------------- /res/drawable-ldpi/action_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/action_save.png -------------------------------------------------------------------------------- /res/drawable-ldpi/action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/action_search.png -------------------------------------------------------------------------------- /res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_bookmark.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_delete.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_filter.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_random.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_random.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_refresh.png -------------------------------------------------------------------------------- /res/drawable-mdpi/action_create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/action_create.png -------------------------------------------------------------------------------- /res/drawable-mdpi/action_gist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/action_gist.png -------------------------------------------------------------------------------- /res/drawable-mdpi/action_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/action_save.png -------------------------------------------------------------------------------- /res/drawable-mdpi/action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/action_search.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_bookmark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_delete.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_filter.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_random.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_random.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_refresh.png -------------------------------------------------------------------------------- /res/drawable-nodpi/tab_left.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/tab_left.9.png -------------------------------------------------------------------------------- /res/drawable-nodpi/tab_right.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/tab_right.9.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/action_gist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/action_gist.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/action_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/action_save.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_delete.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_filter.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_random.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_random.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_refresh.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_share.png -------------------------------------------------------------------------------- /res/drawable-hdpi/action_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/action_bookmark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/action_comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/action_comment.png -------------------------------------------------------------------------------- /res/drawable-hdpi/action_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/action_refresh.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_issue_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_issue_open.png -------------------------------------------------------------------------------- /res/drawable-ldpi/action_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/action_bookmark.png -------------------------------------------------------------------------------- /res/drawable-ldpi/action_comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/action_comment.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_issue_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_issue_open.png -------------------------------------------------------------------------------- /res/drawable-mdpi/action_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/action_bookmark.png -------------------------------------------------------------------------------- /res/drawable-mdpi/action_comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/action_comment.png -------------------------------------------------------------------------------- /res/drawable-mdpi/action_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/action_refresh.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_issue_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_issue_open.png -------------------------------------------------------------------------------- /res/drawable-nodpi/dropdown_gist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/dropdown_gist.png -------------------------------------------------------------------------------- /res/drawable-nodpi/gravatar_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/gravatar_icon.png -------------------------------------------------------------------------------- /res/drawable-nodpi/spinner_inner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/spinner_inner.png -------------------------------------------------------------------------------- /res/drawable-nodpi/spinner_outer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/spinner_outer.png -------------------------------------------------------------------------------- /res/drawable-nodpi/tab_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/tab_selected.9.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/action_comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/action_comment.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/action_create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/action_create.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/action_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/action_refresh.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/action_search.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_bookmark.png -------------------------------------------------------------------------------- /res/drawable-hdpi/action_dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/action_dashboard.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_issue_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_issue_close.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_issue_reopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_issue_reopen.png -------------------------------------------------------------------------------- /res/drawable-ldpi/action_dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/action_dashboard.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_issue_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_issue_close.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_issue_reopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_issue_reopen.png -------------------------------------------------------------------------------- /res/drawable-mdpi/action_dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/action_dashboard.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_issue_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_issue_close.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_issue_reopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_issue_reopen.png -------------------------------------------------------------------------------- /res/drawable-nodpi/dropdown_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/dropdown_bookmark.png -------------------------------------------------------------------------------- /res/drawable-nodpi/tab_left_right.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/tab_left_right.9.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/action_bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/action_bookmark.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/action_dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/action_dashboard.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_issue_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_issue_close.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_issue_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_issue_open.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_issue_reopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_issue_reopen.png -------------------------------------------------------------------------------- /res/drawable-hdpi/menu_delete_history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-hdpi/menu_delete_history.png -------------------------------------------------------------------------------- /res/drawable-ldpi/menu_delete_history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-ldpi/menu_delete_history.png -------------------------------------------------------------------------------- /res/drawable-mdpi/menu_delete_history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-mdpi/menu_delete_history.png -------------------------------------------------------------------------------- /res/drawable-nodpi/dropdown_dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/dropdown_dashboard.png -------------------------------------------------------------------------------- /res/drawable-nodpi/image_loading_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-nodpi/image_loading_icon.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/menu_delete_history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geniusgithub/github-android/HEAD/res/drawable-xhdpi/menu_delete_history.png -------------------------------------------------------------------------------- /assets/mode/rpm/spec/spec.css: -------------------------------------------------------------------------------- 1 | .cm-s-default span.cm-preamble {color: #b26818; font-weight: bold;} 2 | .cm-s-default span.cm-macro {color: #b218b2;} 3 | .cm-s-default span.cm-section {color: green; font-weight: bold;} 4 | .cm-s-default span.cm-script {color: red;} 5 | .cm-s-default span.cm-issue {color: yellow;} 6 | -------------------------------------------------------------------------------- /assets/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /assets/source-editor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /assets/source-editor.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 0; 3 | margin: 0; 4 | font-size: 12px; 5 | } 6 | 7 | .CodeMirror { 8 | overflow-x: scroll; 9 | line-height: 1.4em; 10 | } 11 | 12 | .CodeMirror-scroll { 13 | height: auto; 14 | overflow-y: hidden; 15 | } 16 | 17 | img { 18 | display: block; 19 | border: 1px solid #999; 20 | padding: 1px; 21 | margin-top: 10px; 22 | margin-left: 10px; 23 | background: url("trans_bg.gif") right bottom #EEE; 24 | } 25 | -------------------------------------------------------------------------------- /assets/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFFFFF; 3 | background-color: #990000; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px ! important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } -------------------------------------------------------------------------------- /res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 13 | 14 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-15 15 | android.library.reference.1=..\\ActionBarSherlock 16 | android.library.reference.2=../-Android-ViewPagerIndicator 17 | -------------------------------------------------------------------------------- /assets/mode/rpm/changes/changes.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("changes", function(config, modeConfig) { 2 | var headerSeperator = /^-+$/; 3 | var headerLine = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /; 4 | var simpleEmail = /^[\w+.-]+@[\w.-]+/; 5 | 6 | return { 7 | token: function(stream) { 8 | if (stream.sol()) { 9 | if (stream.match(headerSeperator)) { return 'tag'; } 10 | if (stream.match(headerLine)) { return 'tag'; } 11 | } 12 | if (stream.match(simpleEmail)) { return 'string'; } 13 | stream.next(); 14 | return null; 15 | } 16 | }; 17 | }); 18 | 19 | CodeMirror.defineMIME("text/x-rpm-changes", "changes"); 20 | -------------------------------------------------------------------------------- /res/menu/repository_share.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /assets/mode/diff/diff.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("diff", function() { 2 | 3 | var TOKEN_NAMES = { 4 | '+': 'tag', 5 | '-': 'string', 6 | '@': 'meta' 7 | }; 8 | 9 | return { 10 | token: function(stream) { 11 | var tw_pos = stream.string.search(/[\t ]+?$/); 12 | 13 | if (!stream.sol() || tw_pos === 0) { 14 | stream.skipToEnd(); 15 | return ("error " + ( 16 | TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, ''); 17 | } 18 | 19 | var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd(); 20 | 21 | if (tw_pos === -1) { 22 | stream.skipToEnd(); 23 | } else { 24 | stream.pos = tw_pos; 25 | } 26 | 27 | return token_name; 28 | } 29 | }; 30 | }); 31 | 32 | CodeMirror.defineMIME("text/x-diff", "diff"); 33 | -------------------------------------------------------------------------------- /res/values/roboguice.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | com.github.mobile.GitHubModule 20 | 21 | 22 | -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /res/layout/pager.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | -------------------------------------------------------------------------------- /res/xml/sync_adapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | -------------------------------------------------------------------------------- /res/layout/gist_file_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | -------------------------------------------------------------------------------- /res/menu/user_follow.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 23 | 24 | -------------------------------------------------------------------------------- /res/color/tab_icon_colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /res/color/tab_text_colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /res/drawable/edit_text_cursor.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /res/layout/list_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /res/layout/list_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 22 | -------------------------------------------------------------------------------- /res/menu/code_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 23 | 24 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/event/PublicPayload.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Jason Tsay (GitHub Inc.) - initial API and implementation 10 | *******************************************************************************/ 11 | package org.eclipse.egit.github.core.event; 12 | 13 | import java.io.Serializable; 14 | 15 | /** 16 | * PublicEvent payload model class. 17 | */ 18 | public class PublicPayload extends EventPayload implements Serializable { 19 | 20 | private static final long serialVersionUID = 5262549236565872052L; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /res/layout/footer_separator.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /res/drawable/diff_add_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /res/drawable/list_item_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /res/layout/commit_comments.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 22 | -------------------------------------------------------------------------------- /res/layout/issues_filter_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /res/drawable/diff_remove_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /res/layout/commit_details_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 23 | 24 | -------------------------------------------------------------------------------- /res/drawable/diff_marker_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /res/layout/comment_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /res/menu/login.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /res/xml/authenticator.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 22 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | github-android 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /res/layout/commit_comment_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /res/drawable/footer_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /res/drawable/section_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/com/github/mobile/core/OnLoadListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile.core; 17 | 18 | /** 19 | * Load listener callback 20 | * 21 | * @param 22 | */ 23 | public interface OnLoadListener { 24 | 25 | /** 26 | * Loaded callback 27 | * 28 | * @param data 29 | */ 30 | void loaded(V data); 31 | } 32 | -------------------------------------------------------------------------------- /res/menu/gist_create.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /res/menu/issue_filter.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /res/menu/refresh.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /res/menu/home.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /res/layout/dialog_list_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | -------------------------------------------------------------------------------- /src/com/github/mobile/ResultCodes.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile; 17 | 18 | import static android.app.Activity.RESULT_FIRST_USER; 19 | 20 | /** 21 | * Result codes 22 | */ 23 | public interface ResultCodes { 24 | 25 | /** 26 | * Resource being viewed was modified 27 | */ 28 | int RESOURCE_CHANGED = RESULT_FIRST_USER; 29 | } 30 | -------------------------------------------------------------------------------- /assets/mode/vbscript/vbscript.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("vbscript", function() { 2 | var regexVBScriptKeyword = /^(?:Call|Case|CDate|Clear|CInt|CLng|Const|CStr|Description|Dim|Do|Each|Else|ElseIf|End|Err|Error|Exit|False|For|Function|If|LCase|Loop|LTrim|Next|Nothing|Now|Number|On|Preserve|Quit|ReDim|Resume|RTrim|Select|Set|Sub|Then|To|Trim|True|UBound|UCase|Until|VbCr|VbCrLf|VbLf|VbTab)$/im; 3 | 4 | return { 5 | token: function(stream) { 6 | if (stream.eatSpace()) return null; 7 | var ch = stream.next(); 8 | if (ch == "'") { 9 | stream.skipToEnd(); 10 | return "comment"; 11 | } 12 | if (ch == '"') { 13 | stream.skipTo('"'); 14 | return "string"; 15 | } 16 | 17 | if (/\w/.test(ch)) { 18 | stream.eatWhile(/\w/); 19 | if (regexVBScriptKeyword.test(stream.current())) return "keyword"; 20 | } 21 | return null; 22 | } 23 | }; 24 | }); 25 | 26 | CodeMirror.defineMIME("text/vbscript", "vbscript"); 27 | -------------------------------------------------------------------------------- /res/layout/commit_compare_file_details_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 24 | 25 | -------------------------------------------------------------------------------- /res/menu/comment.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 25 | 26 | -------------------------------------------------------------------------------- /res/menu/issue_edit.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 25 | 26 | -------------------------------------------------------------------------------- /res/drawable/milestone_closed_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /res/drawable/tab_selector_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /res/drawable/tab_selector_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/com/github/mobile/ui/FragmentProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile.ui; 17 | 18 | import com.actionbarsherlock.app.SherlockFragment; 19 | 20 | /** 21 | * Provides a fragment 22 | */ 23 | public interface FragmentProvider { 24 | 25 | /** 26 | * Get selected fragment 27 | * 28 | * @return fragment 29 | */ 30 | SherlockFragment getSelected(); 31 | } 32 | -------------------------------------------------------------------------------- /res/layout/commit_file_details_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | 22 | 25 | 26 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/event/EventPayload.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Jason Tsay (GitHub Inc.) - initial API and implementation 10 | *******************************************************************************/ 11 | package org.eclipse.egit.github.core.event; 12 | 13 | import java.io.Serializable; 14 | 15 | /** 16 | * Parent class for event payloads 17 | * 18 | * @see GitHub Event types 19 | * API documentation 20 | */ 21 | public class EventPayload implements Serializable { 22 | 23 | private static final long serialVersionUID = 1022083387039340606L; 24 | } 25 | -------------------------------------------------------------------------------- /res/drawable/tab_selector_left_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/util/DateUtils.java: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Kevin Sawicki (GitHub Inc.) - initial API and implementation 10 | *****************************************************************************/ 11 | package org.eclipse.egit.github.core.util; 12 | 13 | import java.util.Date; 14 | 15 | /** 16 | * Date utilities 17 | */ 18 | public abstract class DateUtils { 19 | 20 | /** 21 | * Clone date if non-null 22 | * 23 | * @param date 24 | * @return copied date 25 | */ 26 | public static Date clone(final Date date) { 27 | if (date == null) 28 | return null; 29 | return new Date(date.getTime()); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /res/layout/diff_comment_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /res/xml/searchable_issues.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | -------------------------------------------------------------------------------- /res/menu/repository.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 23 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /res/xml/searchable_repos.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/IResourceProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Kevin Sawicki (GitHub Inc.) - initial API and implementation 10 | *******************************************************************************/ 11 | package org.eclipse.egit.github.core; 12 | 13 | import java.util.List; 14 | 15 | /** 16 | * Interface for container classes that can provide a collection of resources of 17 | * the same type. 18 | * 19 | * @param 20 | */ 21 | public interface IResourceProvider { 22 | 23 | /** 24 | * Get collection of resources 25 | * 26 | * @return non-null but possibly empty collection 27 | */ 28 | List getResources(); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/com/github/mobile/RequestFuture.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile; 17 | 18 | /** 19 | * Request future delivering a response 20 | * 21 | * @param 22 | * type of response data 23 | */ 24 | public interface RequestFuture { 25 | 26 | /** 27 | * Callback that response for request was successfully obtained 28 | * 29 | * @param response 30 | */ 31 | void success(V response); 32 | } 33 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/IRepositoryIdProvider.java: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Kevin Sawicki (GitHub Inc.) - initial API and implementation 10 | *****************************************************************************/ 11 | package org.eclipse.egit.github.core; 12 | 13 | /** 14 | * Interface to provide an ID for a repository. This refers to the unique 15 | * identifier of any GitHub repository that is currently the owner and name of 16 | * the repository joined by a single '/'. 17 | */ 18 | public interface IRepositoryIdProvider { 19 | 20 | /** 21 | * Generate a repository id 22 | * 23 | * @return repository id 24 | */ 25 | String generateId(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/com/github/mobile/core/user/UserPager.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile.core.user; 17 | 18 | import com.github.mobile.core.ResourcePager; 19 | 20 | import org.eclipse.egit.github.core.User; 21 | 22 | /** 23 | * Pager over users 24 | */ 25 | public abstract class UserPager extends ResourcePager { 26 | 27 | @Override 28 | protected Object getId(User resource) { 29 | return resource.getId(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /res/layout/commit_diff_line.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 26 | -------------------------------------------------------------------------------- /assets/mode/pascal/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 souceLair 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /res/drawable/list_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /res/drawable/actionbar_spinner.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/com/github/mobile/ui/user/OrganizationSelectionListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile.ui.user; 17 | 18 | import org.eclipse.egit.github.core.User; 19 | 20 | /** 21 | * Callback interface when the selected organization changes 22 | */ 23 | public interface OrganizationSelectionListener { 24 | 25 | /** 26 | * Organization selection changed 27 | * 28 | * @param organization 29 | */ 30 | void onOrganizationSelected(User organization); 31 | } -------------------------------------------------------------------------------- /res/drawable/sign_up_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /res/layout/commit.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 26 | 27 | -------------------------------------------------------------------------------- /res/layout/commit_compare.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 26 | 27 | -------------------------------------------------------------------------------- /res/values/typeface.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | \uf20E 20 | \uf04f 21 | \uf011 22 | \uf215 23 | \uf216 24 | \uf217 25 | \uf02a 26 | \uf020 27 | 28 | -------------------------------------------------------------------------------- /res/menu/gists.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 24 | 29 | 30 | -------------------------------------------------------------------------------- /assets/mode/python/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2010 Timothy Farrell 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /assets/mode/perl/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011 by Sabaca under the MIT license. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /res/layout/commit_parent_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 22 | 23 | 29 | 30 | -------------------------------------------------------------------------------- /res/menu/search.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 24 | 29 | 30 | -------------------------------------------------------------------------------- /assets/mode/xquery/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011 by MarkLogic Corporation 2 | Author: Mike Brevoort 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/Id.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Kevin Sawicki (GitHub Inc.) - initial API and implementation 10 | *******************************************************************************/ 11 | package org.eclipse.egit.github.core; 12 | 13 | import java.io.Serializable; 14 | 15 | /** 16 | * Id model class. 17 | */ 18 | public class Id implements Serializable { 19 | 20 | /** serialVersionUID */ 21 | private static final long serialVersionUID = -1074145490136786429L; 22 | 23 | private String id; 24 | 25 | /** 26 | * Get id 27 | * 28 | * @return id 29 | */ 30 | public String getId() { 31 | return id; 32 | } 33 | 34 | /** 35 | * @param id 36 | * @return this id 37 | */ 38 | public Id setId(String id) { 39 | this.id = id; 40 | return this; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /assets/mode/vb/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2012 Codility Limited, 107 Cheapside, London EC2V 6DN, UK 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/com/github/mobile/ui/TextWatcherAdapter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile.ui; 17 | 18 | import android.text.Editable; 19 | import android.text.TextWatcher; 20 | 21 | /** 22 | * Adapter for {@link TextWatcher} interface 23 | */ 24 | public class TextWatcherAdapter implements TextWatcher { 25 | 26 | public void afterTextChanged(Editable s) { 27 | } 28 | 29 | public void beforeTextChanged(CharSequence s, int start, int count, 30 | int after) { 31 | } 32 | 33 | public void onTextChanged(CharSequence s, int start, int before, int count) { 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/util/MilestoneComparator.java: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Kevin Sawicki (GitHub Inc.) - initial API and implementation 10 | *****************************************************************************/ 11 | package org.eclipse.egit.github.core.util; 12 | 13 | import java.io.Serializable; 14 | import java.util.Comparator; 15 | 16 | import org.eclipse.egit.github.core.Milestone; 17 | 18 | /** 19 | * Milestone comparator using case-insensitive name comparisons. 20 | */ 21 | public class MilestoneComparator implements Comparator, Serializable { 22 | 23 | /** 24 | * serialVersionUID 25 | */ 26 | private static final long serialVersionUID = 7166479273639101758L; 27 | 28 | public int compare(Milestone m1, Milestone m2) { 29 | return m1.getTitle().compareToIgnoreCase(m2.getTitle()); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/com/github/mobile/ui/user/EventPager.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile.ui.user; 17 | 18 | import com.github.mobile.core.ResourcePager; 19 | 20 | import org.eclipse.egit.github.core.event.Event; 21 | 22 | /** 23 | * Pager over events 24 | */ 25 | public abstract class EventPager extends ResourcePager { 26 | 27 | @Override 28 | protected Object getId(Event resource) { 29 | return resource.getId(); 30 | } 31 | 32 | @Override 33 | protected Event register(Event resource) { 34 | return NewsListAdapter.isValid(resource) ? resource : null; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/ShaResource.java: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Kevin Sawicki (GitHub Inc.) - initial API and implementation 10 | *****************************************************************************/ 11 | package org.eclipse.egit.github.core; 12 | 13 | import java.io.Serializable; 14 | 15 | /** 16 | * Model class for resources identified by a SHA-1 17 | */ 18 | public class ShaResource implements Serializable { 19 | 20 | /** serialVersionUID */ 21 | private static final long serialVersionUID = 7029184412278953778L; 22 | 23 | private String sha; 24 | 25 | /** 26 | * @return sha 27 | */ 28 | public String getSha() { 29 | return sha; 30 | } 31 | 32 | /** 33 | * @param sha 34 | * @return this resource 35 | */ 36 | public ShaResource setSha(String sha) { 37 | this.sha = sha; 38 | return this; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /assets/mode/coffeescript/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2011 Jeff Pickhardt 4 | Modified from the Python CodeMirror mode, Copyright (c) 2010 Timothy Farrell 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. -------------------------------------------------------------------------------- /res/layout/tabbed_progress_pager.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 22 | 23 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/event/WatchPayload.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Jason Tsay (GitHub Inc.) - initial API and implementation 10 | *******************************************************************************/ 11 | package org.eclipse.egit.github.core.event; 12 | 13 | import java.io.Serializable; 14 | 15 | /** 16 | * WatchEvent payload model class. 17 | */ 18 | public class WatchPayload extends EventPayload implements Serializable { 19 | 20 | private static final long serialVersionUID = -1600566006173513492L; 21 | 22 | private String action; 23 | 24 | /** 25 | * @return action 26 | */ 27 | public String getAction() { 28 | return action; 29 | } 30 | 31 | /** 32 | * @param action 33 | * @return this WatchPayload 34 | */ 35 | public WatchPayload setAction(String action) { 36 | this.action = action; 37 | return this; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /res/drawable/section_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 27 | 28 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /res/drawable/section_selected_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 27 | 28 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /res/layout/loading_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | 22 | 27 | 28 | 33 | 34 | -------------------------------------------------------------------------------- /res/menu/file_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 23 | 29 | 34 | 35 | -------------------------------------------------------------------------------- /src/com/github/mobile/sync/SyncAdapterService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile.sync; 17 | 18 | import android.content.Intent; 19 | import android.os.IBinder; 20 | 21 | import com.google.inject.Inject; 22 | 23 | import roboguice.inject.ContextScopedProvider; 24 | import roboguice.service.RoboService; 25 | 26 | /** 27 | * Sync adapter service 28 | */ 29 | public class SyncAdapterService extends RoboService { 30 | 31 | @Inject 32 | private ContextScopedProvider syncAdapterProvider; 33 | 34 | @Override 35 | public IBinder onBind(Intent intent) { 36 | return syncAdapterProvider.get(this).getSyncAdapterBinder(); 37 | } 38 | } -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/event/FollowPayload.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Jason Tsay (GitHub Inc.) - initial API and implementation 10 | *******************************************************************************/ 11 | package org.eclipse.egit.github.core.event; 12 | 13 | import java.io.Serializable; 14 | 15 | import org.eclipse.egit.github.core.User; 16 | 17 | /** 18 | * FollowEvent payload model class. 19 | */ 20 | public class FollowPayload extends EventPayload implements Serializable { 21 | 22 | private static final long serialVersionUID = -4345668254608800406L; 23 | 24 | private User target; 25 | 26 | /** 27 | * @return target 28 | */ 29 | public User getTarget() { 30 | return target; 31 | } 32 | 33 | /** 34 | * @param target 35 | * @return this FollowPayload 36 | */ 37 | public FollowPayload setTarget(User target) { 38 | this.target = target; 39 | return this; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /assets/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2012 by Marijn Haverbeke 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | 21 | Please note that some subdirectories of the CodeMirror distribution 22 | include their own LICENSE files, and are released under different 23 | licences. 24 | -------------------------------------------------------------------------------- /src/com/github/mobile/ui/DialogResultListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 GitHub Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.github.mobile.ui; 17 | 18 | import android.app.Activity; 19 | import android.os.Bundle; 20 | 21 | /** 22 | * Listener that dialogs results are delivered too 23 | */ 24 | public interface DialogResultListener { 25 | 26 | /** 27 | * Callback for a dialog finishing and delivering a result 28 | * 29 | * @param requestCode 30 | * @param resultCode 31 | * result such as {@link Activity#RESULT_CANCELED} or 32 | * {@link Activity#RESULT_OK} 33 | * @param arguments 34 | */ 35 | void onDialogResult(int requestCode, int resultCode, Bundle arguments); 36 | } 37 | -------------------------------------------------------------------------------- /assets/mode/sieve/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2012 Thomas Schmid 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | 21 | Please note that some subdirectories of the CodeMirror distribution 22 | include their own LICENSE files, and are released under different 23 | licences. 24 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/event/ForkPayload.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Jason Tsay (GitHub Inc.) - initial API and implementation 10 | *******************************************************************************/ 11 | package org.eclipse.egit.github.core.event; 12 | 13 | import java.io.Serializable; 14 | 15 | import org.eclipse.egit.github.core.Repository; 16 | 17 | /** 18 | * ForkEvent payload model class. 19 | */ 20 | public class ForkPayload extends EventPayload implements Serializable { 21 | 22 | private static final long serialVersionUID = 2110456722558520113L; 23 | 24 | private Repository forkee; 25 | 26 | /** 27 | * @return forkee 28 | */ 29 | public Repository getForkee() { 30 | return forkee; 31 | } 32 | 33 | /** 34 | * @param forkee 35 | * @return this ForkPayload 36 | */ 37 | public ForkPayload setForkee(Repository forkee) { 38 | this.forkee = forkee; 39 | return this; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/org/eclipse/egit/github/core/util/LabelComparator.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2011 GitHub Inc. 3 | * All rights reserved. This program and the accompanying materials 4 | * are made available under the terms of the Eclipse Public License v1.0 5 | * which accompanies this distribution, and is available at 6 | * http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Kevin Sawicki (GitHub Inc.) - initial API and implementation 10 | *******************************************************************************/ 11 | package org.eclipse.egit.github.core.util; 12 | 13 | import java.io.Serializable; 14 | import java.util.Comparator; 15 | 16 | import org.eclipse.egit.github.core.Label; 17 | 18 | /** 19 | * Label comparator using case-insensitive name comparisons. 20 | */ 21 | public class LabelComparator implements Comparator