Comments (8)
Hi @rcmaniac25 , I created a pull request for it:
#12
from google-api-cpp-client.
Thanks @snnn. Was this generated or did you hand-write the code? Because I had written some of the missing functionality for my fork, but I'm debating on merging yours in (as I think this repo is dead otherwise)
from google-api-cpp-client.
@rcmaniac25 I only did some minor changes in 5 files :
src/googleapis/client/service/service_request_pager.h
src/googleapis/client/service/test/service_request_pager_test.cc
src/googleapis/client/util/date_time.h
src/samples/calendar_sample_main.cc
src/samples/gdriveutil_main.cc
Because Google is doing a migration which replaces all mixed underscore/camelCase names (e.g. set_pageToken), which uniform underscored names (set_page_token). (ref: https://groups.google.com/forum/#!topic/google-api-cpp-client/0R3w9gvGOjY)
The others (service_apis/calendar && service_apis/drive) were downloaded from http://google.github.io/google-api-cpp-client/latest/available_service_apis.html
Please check it for me. Thanks.
from google-api-cpp-client.
Ok, I did something similar but I don't think I changed underscore/camelCase. I'll check it later, as I may merge your fork into mine because of the underscore change.
from google-api-cpp-client.
On Fri, Jan 2, 2015 at 2:32 AM, Changming Sun [email protected]
wrote:
@rcmaniac25 https://github.com/rcmaniac25 I only did some minor changes
in 5 files :src/googleapis/client/service/service_request_pager.h
src/googleapis/client/service/test/service_request_pager_test.cc
src/googleapis/client/util/date_time.h
src/samples/calendar_sample_main.cc
src/samples/gdriveutil_main.ccBecause Google is doing a migration which replaces all mixed
underscore/camelCase names (e.g. set_pageToken), which uniform underscored
names (set_page_token). (ref:
https://groups.google.com/forum/#!topic/google-api-cpp-client/0R3w9gvGOjY)Yes. Underscores is our C++ style. The generated libraries might still be
generating method names in both formats, but that is going to stop soon.
The others (service_apis/calendar && service_apis/drive) were downloaded
from
http://google.github.io/google-api-cpp-client/latest/available_service_apis.htmlThat is the best place to get current versions of an API. As APIs have
minor revisions, the new code shows up there automatically.
from google-api-cpp-client.
Ok, I ended up merging @snnn's changes for the underscore changes. I also saw that he did (smarter then my own) "typedef DateTime Date;" while I had originally implemented a Date class and essentially copied the content from DateTime to it.
from google-api-cpp-client.
Got it. I may do a roll up of little fixes that we have made internally and
push them out. I'll look at the date class along with that.
On Wed, Jan 7, 2015 at 1:41 PM, rcmaniac25 [email protected] wrote:
Ok, I ended up merging @snnn https://github.com/snnn's changes for the
underscore changes. I also saw that he did (smarter then my own) "typedef
DateTime Date;" while I had originally implemented a Date class and
essentially copied the content from DateTime to it.—
Reply to this email directly or view it on GitHub
#2 (comment)
.
from google-api-cpp-client.
I merged in the pull request. That was to the v0.1 branch.
master, however, is the new default branch, where I have done a similar update.
from google-api-cpp-client.
Related Issues (20)
- Can't build: struct mg_callbacks callbacks_; isn't defined HOT 3
- Calendar sample program does not work well, HOT 1
- Mac build fails if space in path HOT 1
- Support for account default credentials HOT 1
- Update prepare_dependencies.py download paths HOT 3
- Please provide some examples.
- glog-0.3.3.tar.gz into glog-0.3.3
- Mismatch between functions that take StringPieces and functions that take strings causes runtime errors. HOT 1
- Failure Building Clients for Other APIs HOT 2
- Retry when Status Code 403 Forbidden HOT 1
- First upload to GCS always times out HOT 3
- undefined reference to `googleapis::client::New .... HOT 1
- Latest downloaded generated bigquery code is incompatible with latest framework code HOT 1
- does this work on windows? HOT 1
- Incompatible dependencies when linking HOT 2
- HAVE_UGO_PERMISSIONS and HAVE_FSTAT64 always fail HOT 1
- Tons of depreciation warnings during compile HOT 1
- More samples needed HOT 2
- Error on 'exp' type handling in ID Token HOT 7
- std::cout missing #include <iostream> HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-api-cpp-client.