Skip to content

Commit 205f50f

Browse files
committed
First commit.
0 parents  commit 205f50f

File tree

684 files changed

+315316
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

684 files changed

+315316
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Source/GTLRCore.xcodeproj/project.xcworkspace/xcuserdata
2+
Source/GTLRCore.xcodeproj/xcuserdata
3+
Source/Tools/ServiceGenerator/ServiceGenerator.xcodeproj/project.xcworkspace/xcuserdata
4+
Source/Tools/ServiceGenerator/ServiceGenerator.xcodeproj/xcuserdata
5+
Source/Tools/ServiceGenerator/build
6+
7+
# Any place they exist.
8+
.DS_Store

.gitmodules

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[submodule "Deps/gtm-oauth2"]
2+
path = Deps/gtm-oauth2
3+
url = https://github.com/google/gtm-oauth2.git
4+
branch = master
5+
[submodule "Deps/gtm-session-fetcher"]
6+
path = Deps/gtm-session-fetcher
7+
url = https://github.com/google/gtm-session-fetcher.git
8+
branch = master

CONTRIBUTING.md

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# How to contribute #
2+
3+
We'd love to accept your patches and contributions to this project. There are
4+
a just a few small guidelines you need to follow.
5+
6+
7+
## Contributor License Agreement ##
8+
9+
Contributions to any Google project must be accompanied by a Contributor
10+
License Agreement. This is not a copyright **assignment**, it simply gives
11+
Google permission to use and redistribute your contributions as part of the
12+
project.
13+
14+
* If you are an individual writing original source code and you're sure you
15+
own the intellectual property, then you'll need to sign an [individual
16+
CLA][].
17+
18+
* If you work for a company that wants to allow you to contribute your work,
19+
then you'll need to sign a [corporate CLA][].
20+
21+
You generally only need to submit a CLA once, so if you've already submitted
22+
one (even if it was for a different project), you probably don't need to do it
23+
again.
24+
25+
[individual CLA]: https://developers.google.com/open-source/cla/individual
26+
[corporate CLA]: https://developers.google.com/open-source/cla/corporate
27+
28+
29+
## Submitting a patch ##
30+
31+
1. It's generally best to start by opening a new issue describing the bug or
32+
feature you're intending to fix. Even if you think it's relatively minor,
33+
it's helpful to know what people are working on. Mention in the initial
34+
issue that you are planning to work on that bug or feature so that it can
35+
be assigned to you.
36+
37+
1. Follow the normal process of [forking][] the project, and setup a new
38+
branch to work in. It's important that each group of changes be done in
39+
separate branches in order to ensure that a pull request only includes the
40+
commits related to that bug or feature.
41+
42+
1. Any significant changes should almost always be accompanied by tests. The
43+
project already has good test coverage, so look at some of the existing
44+
tests if you're unsure how to go about it.
45+
46+
1. Do your best to have [well-formed commit messages][] for each change.
47+
This provides consistency throughout the project, and ensures that commit
48+
messages are able to be formatted properly by various git tools.
49+
50+
1. Finally, push the commits to your fork and submit a [pull request][].
51+
52+
[forking]: https://help.github.com/articles/fork-a-repo
53+
[well-formed commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
54+
[pull request]: https://help.github.com/articles/creating-a-pull-request

Deps/GTLRNetworking_Sources.m

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#import <TargetConditionals.h>
2+
#import <AvailabilityMacros.h>
3+
4+
#ifndef GTM_USE_SESSION_FETCHER
5+
#define GTM_USE_SESSION_FETCHER 1
6+
#endif
7+
8+
#if !__has_feature(objc_arc)
9+
#error "This file needs to be compiled with ARC enabled."
10+
#endif
11+
12+
#undef GTMSESSION_BUILD_COMBINED_SOURCES
13+
#define GTMSESSION_BUILD_COMBINED_SOURCES 1
14+
15+
#pragma clang diagnostic push
16+
#pragma clang diagnostic ignored "-Wnullability-completeness"
17+
18+
#import "gtm-session-fetcher/Source/GTMGatherInputStream.m"
19+
#import "gtm-session-fetcher/Source/GTMMIMEDocument.m"
20+
#import "gtm-session-fetcher/Source/GTMReadMonitorInputStream.m"
21+
#import "gtm-session-fetcher/Source/GTMSessionFetcher.m"
22+
#import "gtm-session-fetcher/Source/GTMSessionFetcherLogging.m"
23+
#import "gtm-session-fetcher/Source/GTMSessionFetcherService.m"
24+
#import "gtm-session-fetcher/Source/GTMSessionUploadFetcher.m"
25+
26+
#pragma clang diagnostic pop

Deps/GTLROAuth2_Sources.m

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#import <TargetConditionals.h>
2+
#import <AvailabilityMacros.h>
3+
4+
#if __has_feature(objc_arc)
5+
#error "This file needs to be compiled with ARC disabled."
6+
#endif
7+
8+
#ifndef GTM_USE_SESSION_FETCHER
9+
#define GTM_USE_SESSION_FETCHER 1
10+
#endif
11+
12+
#import "gtm-oauth2/Source/GTMOAuth2Authentication.m"
13+
#import "gtm-oauth2/Source/GTMOAuth2SignIn.m"
14+
#if TARGET_OS_IPHONE
15+
#import "gtm-oauth2/Source/Touch/GTMOAuth2ViewControllerTouch.m"
16+
#elif TARGET_OS_MAC
17+
#import "gtm-oauth2/Source/Mac/GTMOAuth2WindowController.m"
18+
#else
19+
#error Need Target Conditionals
20+
#endif

Deps/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This directory contains git submodules for the other projects that this project
2+
depends on.
3+
4+
It also include "umbrella" source files to use with those directories. If you
5+
are manually adding sources to a project, you can use these files to include
6+
all the needed sources from the dependencies instead of manually having to add
7+
the subfiles within the dependencies.

Deps/gtm-oauth2

Submodule gtm-oauth2 added at c2a0486

Deps/gtm-session-fetcher

Submodule gtm-session-fetcher added at f29eb7e

0 commit comments

Comments
 (0)