Merge lp:~mzanetti/reminders-app/integrate-plugin into lp:reminders-app
- integrate-plugin
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | David Planella |
Approved revision: | 16 |
Merged at revision: | 7 |
Proposed branch: | lp:~mzanetti/reminders-app/integrate-plugin |
Merge into: | lp:reminders-app |
Diff against target: |
83497 lines (+82168/-99) 210 files modified
.bzrignore (+1/-0) 3rdParty/3rdParty.pro (+4/-0) 3rdParty/evernote-sdk-cpp/.git/HEAD (+1/-0) 3rdParty/evernote-sdk-cpp/.git/config (+11/-0) 3rdParty/evernote-sdk-cpp/.git/description (+1/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/applypatch-msg.sample (+15/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/commit-msg.sample (+24/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/post-update.sample (+8/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/pre-applypatch.sample (+14/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/pre-commit.sample (+50/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/pre-push.sample (+53/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/pre-rebase.sample (+169/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/prepare-commit-msg.sample (+36/-0) 3rdParty/evernote-sdk-cpp/.git/hooks/update.sample (+128/-0) 3rdParty/evernote-sdk-cpp/.git/info/exclude (+6/-0) 3rdParty/evernote-sdk-cpp/.git/logs/HEAD (+1/-0) 3rdParty/evernote-sdk-cpp/.git/logs/refs/heads/master (+1/-0) 3rdParty/evernote-sdk-cpp/.git/logs/refs/remotes/origin/HEAD (+1/-0) 3rdParty/evernote-sdk-cpp/.git/packed-refs (+3/-0) 3rdParty/evernote-sdk-cpp/.git/refs/heads/master (+1/-0) 3rdParty/evernote-sdk-cpp/.git/refs/remotes/origin/HEAD (+1/-0) 3rdParty/evernote-sdk-cpp/APACHE-LICENSE-2.0.txt (+202/-0) 3rdParty/evernote-sdk-cpp/LICENSE (+27/-0) 3rdParty/evernote-sdk-cpp/NOTICE (+5/-0) 3rdParty/evernote-sdk-cpp/README.md (+14/-0) 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro (+35/-0) 3rdParty/evernote-sdk-cpp/src/Errors_constants.cpp (+16/-0) 3rdParty/evernote-sdk-cpp/src/Errors_constants.h (+23/-0) 3rdParty/evernote-sdk-cpp/src/Errors_types.cpp (+236/-0) 3rdParty/evernote-sdk-cpp/src/Errors_types.h (+179/-0) 3rdParty/evernote-sdk-cpp/src/Limits_constants.cpp (+320/-0) 3rdParty/evernote-sdk-cpp/src/Limits_constants.h (+163/-0) 3rdParty/evernote-sdk-cpp/src/Limits_types.cpp (+10/-0) 3rdParty/evernote-sdk-cpp/src/Limits_types.h (+20/-0) 3rdParty/evernote-sdk-cpp/src/NoteStore.cpp (+25986/-0) 3rdParty/evernote-sdk-cpp/src/NoteStore.h (+10962/-0) 3rdParty/evernote-sdk-cpp/src/NoteStore_constants.cpp (+16/-0) 3rdParty/evernote-sdk-cpp/src/NoteStore_constants.h (+23/-0) 3rdParty/evernote-sdk-cpp/src/NoteStore_types.cpp (+2532/-0) 3rdParty/evernote-sdk-cpp/src/NoteStore_types.h (+1072/-0) 3rdParty/evernote-sdk-cpp/src/Types_constants.cpp (+28/-0) 3rdParty/evernote-sdk-cpp/src/Types_constants.h (+29/-0) 3rdParty/evernote-sdk-cpp/src/Types_types.cpp (+4212/-0) 3rdParty/evernote-sdk-cpp/src/Types_types.h (+2203/-0) 3rdParty/evernote-sdk-cpp/src/UserStore.cpp (+3753/-0) 3rdParty/evernote-sdk-cpp/src/UserStore.h (+1724/-0) 3rdParty/evernote-sdk-cpp/src/UserStore_constants.cpp (+20/-0) 3rdParty/evernote-sdk-cpp/src/UserStore_constants.h (+25/-0) 3rdParty/evernote-sdk-cpp/src/UserStore_types.cpp (+662/-0) 3rdParty/evernote-sdk-cpp/src/UserStore_types.h (+327/-0) 3rdParty/libthrift/.git/HEAD (+1/-0) 3rdParty/libthrift/.git/config (+11/-0) 3rdParty/libthrift/.git/description (+1/-0) 3rdParty/libthrift/.git/hooks/applypatch-msg.sample (+15/-0) 3rdParty/libthrift/.git/hooks/commit-msg.sample (+24/-0) 3rdParty/libthrift/.git/hooks/post-update.sample (+8/-0) 3rdParty/libthrift/.git/hooks/pre-applypatch.sample (+14/-0) 3rdParty/libthrift/.git/hooks/pre-commit.sample (+50/-0) 3rdParty/libthrift/.git/hooks/pre-push.sample (+53/-0) 3rdParty/libthrift/.git/hooks/pre-rebase.sample (+169/-0) 3rdParty/libthrift/.git/hooks/prepare-commit-msg.sample (+36/-0) 3rdParty/libthrift/.git/hooks/update.sample (+128/-0) 3rdParty/libthrift/.git/info/exclude (+6/-0) 3rdParty/libthrift/.git/logs/HEAD (+1/-0) 3rdParty/libthrift/.git/logs/refs/heads/master (+1/-0) 3rdParty/libthrift/.git/logs/refs/remotes/origin/HEAD (+1/-0) 3rdParty/libthrift/.git/packed-refs (+3/-0) 3rdParty/libthrift/.git/refs/heads/master (+1/-0) 3rdParty/libthrift/.git/refs/remotes/origin/HEAD (+1/-0) 3rdParty/libthrift/.gitignore (+2/-0) 3rdParty/libthrift/README (+77/-0) 3rdParty/libthrift/TApplicationException.cpp (+80/-0) 3rdParty/libthrift/TApplicationException.h (+106/-0) 3rdParty/libthrift/TLogging.h (+199/-0) 3rdParty/libthrift/TProcessor.h (+233/-0) 3rdParty/libthrift/TReflectionLocal.h (+96/-0) 3rdParty/libthrift/Thrift.cpp (+93/-0) 3rdParty/libthrift/Thrift.h (+210/-0) 3rdParty/libthrift/VirtualProfiling.cpp (+455/-0) 3rdParty/libthrift/async/TAsyncBufferProcessor.h (+46/-0) 3rdParty/libthrift/async/TAsyncChannel.cpp (+34/-0) 3rdParty/libthrift/async/TAsyncChannel.h (+66/-0) 3rdParty/libthrift/async/TAsyncProcessor.h (+97/-0) 3rdParty/libthrift/async/TAsyncProtocolProcessor.cpp (+51/-0) 3rdParty/libthrift/async/TAsyncProtocolProcessor.h (+57/-0) 3rdParty/libthrift/async/TEvhttpClientChannel.cpp (+162/-0) 3rdParty/libthrift/async/TEvhttpClientChannel.h (+76/-0) 3rdParty/libthrift/async/TEvhttpServer.cpp (+169/-0) 3rdParty/libthrift/async/TEvhttpServer.h (+71/-0) 3rdParty/libthrift/concurrency/BoostMonitor.cpp (+198/-0) 3rdParty/libthrift/concurrency/BoostMutex.cpp (+59/-0) 3rdParty/libthrift/concurrency/BoostThreadFactory.cpp (+182/-0) 3rdParty/libthrift/concurrency/BoostThreadFactory.h (+75/-0) 3rdParty/libthrift/concurrency/Exception.h (+64/-0) 3rdParty/libthrift/concurrency/FunctionRunner.h (+102/-0) 3rdParty/libthrift/concurrency/Monitor.cpp (+208/-0) 3rdParty/libthrift/concurrency/Monitor.h (+124/-0) 3rdParty/libthrift/concurrency/Mutex.cpp (+363/-0) 3rdParty/libthrift/concurrency/Mutex.h (+178/-0) 3rdParty/libthrift/concurrency/PlatformThreadFactory.h (+39/-0) 3rdParty/libthrift/concurrency/PosixThreadFactory.cpp (+342/-0) 3rdParty/libthrift/concurrency/PosixThreadFactory.h (+130/-0) 3rdParty/libthrift/concurrency/Thread.h (+146/-0) 3rdParty/libthrift/concurrency/ThreadManager.cpp (+585/-0) 3rdParty/libthrift/concurrency/ThreadManager.h (+202/-0) 3rdParty/libthrift/concurrency/TimerManager.cpp (+284/-0) 3rdParty/libthrift/concurrency/TimerManager.h (+122/-0) 3rdParty/libthrift/concurrency/Util.cpp (+54/-0) 3rdParty/libthrift/concurrency/Util.h (+150/-0) 3rdParty/libthrift/config.h (+20/-0) 3rdParty/libthrift/jni/Android.mk (+98/-0) 3rdParty/libthrift/jni/Application.mk (+7/-0) 3rdParty/libthrift/jni/shared.mk (+17/-0) 3rdParty/libthrift/jni/static.mk (+17/-0) 3rdParty/libthrift/libthrift.pro (+43/-0) 3rdParty/libthrift/processor/PeekProcessor.cpp (+127/-0) 3rdParty/libthrift/processor/PeekProcessor.h (+78/-0) 3rdParty/libthrift/processor/StatsProcessor.h (+266/-0) 3rdParty/libthrift/protocol/TBase64Utils.cpp (+79/-0) 3rdParty/libthrift/protocol/TBase64Utils.h (+42/-0) 3rdParty/libthrift/protocol/TBinaryProtocol.h (+279/-0) 3rdParty/libthrift/protocol/TBinaryProtocol.tcc (+460/-0) 3rdParty/libthrift/protocol/TCompactProtocol.h (+289/-0) 3rdParty/libthrift/protocol/TCompactProtocol.tcc (+811/-0) 3rdParty/libthrift/protocol/TDebugProtocol.cpp (+348/-0) 3rdParty/libthrift/protocol/TDebugProtocol.h (+227/-0) 3rdParty/libthrift/protocol/TDenseProtocol.cpp (+766/-0) 3rdParty/libthrift/protocol/TDenseProtocol.h (+254/-0) 3rdParty/libthrift/protocol/TJSONProtocol.cpp (+1005/-0) 3rdParty/libthrift/protocol/TJSONProtocol.h (+339/-0) 3rdParty/libthrift/protocol/TProtocol.h (+694/-0) 3rdParty/libthrift/protocol/TProtocolException.h (+104/-0) 3rdParty/libthrift/protocol/TProtocolTap.h (+188/-0) 3rdParty/libthrift/protocol/TVirtualProtocol.h (+564/-0) 3rdParty/libthrift/server/TNonblockingServer.cpp (+1261/-0) 3rdParty/libthrift/server/TNonblockingServer.h (+762/-0) 3rdParty/libthrift/server/TServer.cpp (+49/-0) 3rdParty/libthrift/server/TServer.h (+315/-0) 3rdParty/libthrift/server/TSimpleServer.cpp (+153/-0) 3rdParty/libthrift/server/TSimpleServer.h (+102/-0) 3rdParty/libthrift/server/TThreadPoolServer.cpp (+205/-0) 3rdParty/libthrift/server/TThreadPoolServer.h (+126/-0) 3rdParty/libthrift/server/TThreadedServer.cpp (+241/-0) 3rdParty/libthrift/server/TThreadedServer.h (+145/-0) 3rdParty/libthrift/transport/TBufferTransports.cpp (+387/-0) 3rdParty/libthrift/transport/TBufferTransports.h (+733/-0) 3rdParty/libthrift/transport/TFDTransport.cpp (+92/-0) 3rdParty/libthrift/transport/TFDTransport.h (+75/-0) 3rdParty/libthrift/transport/TFileTransport.cpp (+1122/-0) 3rdParty/libthrift/transport/TFileTransport.h (+478/-0) 3rdParty/libthrift/transport/THttpClient.cpp (+114/-0) 3rdParty/libthrift/transport/THttpClient.h (+49/-0) 3rdParty/libthrift/transport/THttpServer.cpp (+122/-0) 3rdParty/libthrift/transport/THttpServer.h (+64/-0) 3rdParty/libthrift/transport/THttpTransport.cpp (+252/-0) 3rdParty/libthrift/transport/THttpTransport.h (+107/-0) 3rdParty/libthrift/transport/TSSLServerSocket.cpp (+47/-0) 3rdParty/libthrift/transport/TSSLServerSocket.h (+59/-0) 3rdParty/libthrift/transport/TSSLSocket.cpp (+670/-0) 3rdParty/libthrift/transport/TSSLSocket.h (+315/-0) 3rdParty/libthrift/transport/TServerSocket.cpp (+489/-0) 3rdParty/libthrift/transport/TServerSocket.h (+82/-0) 3rdParty/libthrift/transport/TServerTransport.h (+92/-0) 3rdParty/libthrift/transport/TShortReadTransport.h (+97/-0) 3rdParty/libthrift/transport/TSimpleFileTransport.cpp (+68/-0) 3rdParty/libthrift/transport/TSimpleFileTransport.h (+41/-0) 3rdParty/libthrift/transport/TSocket.cpp (+823/-0) 3rdParty/libthrift/transport/TSocket.h (+308/-0) 3rdParty/libthrift/transport/TSocketPool.cpp (+256/-0) 3rdParty/libthrift/transport/TSocketPool.h (+196/-0) 3rdParty/libthrift/transport/TTransport.h (+270/-0) 3rdParty/libthrift/transport/TTransportException.cpp (+34/-0) 3rdParty/libthrift/transport/TTransportException.h (+115/-0) 3rdParty/libthrift/transport/TTransportUtils.cpp (+178/-0) 3rdParty/libthrift/transport/TTransportUtils.h (+330/-0) 3rdParty/libthrift/transport/TVirtualTransport.h (+146/-0) 3rdParty/libthrift/transport/TZlibTransport.cpp (+400/-0) 3rdParty/libthrift/transport/TZlibTransport.h (+276/-0) components/RemindersModel.qml (+0/-17) debian/control (+5/-1) debian/reminders-app.install (+2/-3) deployment.pri (+25/-0) manifest.json (+2/-1) reminders-app (+1/-1) reminders-app.pro (+8/-0) reminders-app.qmlproject (+0/-46) src/app/app.pro (+20/-0) src/app/main.cpp (+54/-0) src/app/qml/reminders-app.qml (+12/-4) src/app/qml/ui/AccountSelectorPage.qml (+50/-0) src/app/qml/ui/NotePage.qml (+15/-0) src/app/qml/ui/NotebooksPage.qml (+23/-4) src/app/qml/ui/NotesPage.qml (+27/-4) src/app/qml/ui/RemindersPage.qml (+2/-2) src/plugin/Evernote/Evernote.pro (+37/-0) src/plugin/Evernote/evernoteplugin.cpp (+40/-0) src/plugin/Evernote/evernoteplugin.h (+34/-0) src/plugin/Evernote/notebooks.cpp (+58/-0) src/plugin/Evernote/notebooks.h (+33/-0) src/plugin/Evernote/notes.cpp (+103/-0) src/plugin/Evernote/notes.h (+42/-0) src/plugin/Evernote/notesstore.cpp (+139/-0) src/plugin/Evernote/notesstore.h (+47/-0) src/plugin/Evernote/qmldir (+2/-0) src/plugin/Evernote/userstore.cpp (+119/-0) src/plugin/Evernote/userstore.h (+26/-0) src/plugin/plugin.pro (+2/-0) src/src.pro (+2/-0) tests/autopilot/reminders_app/__init__.py (+1/-1) tests/autopilot/reminders_app/main/test_main.py (+5/-15) |
To merge this branch: | bzr merge lp:~mzanetti/reminders-app/integrate-plugin |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Planella | Approve | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Review via email: mp+196210@code.launchpad.net |
Commit message
add evernote-sdk, libthrift and a qml plugin
Description of the change
This adds:
* evernote-sdk-cpp
* libthrift (required by evernote-sdk-cpp)
* a Evernote QML plugin
Additionally it moves the existing QML files around a bit to fit better with the 3rdParty + Plugin directories.
Given the fact that we need to compile C++ now, the qmlproject file is not of much use any more, so I've dropped it, but created a ready to go .pro file for you. We can change this later to cmake if that's wanted. But for now this .pro file should get us going.
You should be able to open "reminders-app.pro" in QtCreator and just click on build. You might need to install libboost-dev if you haven't yet. The libraries are linked statically and there is a minimalistic self-made qmlscene which loads the plugin path automatically. So nothing special to do. Just open and click on "play". Note that the main.cpp is not really required as we can still run everything in qmlscene, but I've added it for convenience as with qmlscene we'd need to add the -I and plugin path. We do not need to ship this in the final package if you prefer using qmlscene for whatever reason.
I've also updated the existing UI code a little bit to make use of the stuff that's available in the plugin to show you how to use it. Along with that I dropped the components dir as the fake model in there is now replaced by real functionality (well, I'll add support for reminders soon, so far only Notes and Notebooks).
What this does NOT:
* There is no write access yet. All we can do so far is reading stuff.
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
David Planella (dpm) wrote : | # |
Note for reviewers: in addition to libboost-dev, you'll need to install libssl-dev too to test the code.
David Planella (dpm) wrote : | # |
Excellent work, I could get it to fetch and render my notes. There are only a couple of minor things I noticed:
1) There is a typo in the reminders-app.qml file:
file://
That needs to be RemindersPage
2) This is simply a suggestion, but could we use something more generic to name the 3rdParty folder and project file? That is, could we use 'lib' instead of '3rdParty'?
- 9. By Michael Zanetti
-
fix reminders page renaming
Michael Zanetti (mzanetti) wrote : | # |
> 1) There is a typo in the reminders-app.qml file:
fixed.
> 2) This is simply a suggestion, but could we use something more generic to
> name the 3rdParty folder and project file? That is, could we use 'lib' instead
> of '3rdParty'?
Usually "lib" is used for libs that are part of this source code, i.e. if we would write it our own. 3rdParty indicates that this is really just imported without major modifications. So in my opinion keeping it to 3rdParty would be better. But if you guys agree this should be renamed to "lib" I can sure do that.
- 10. By Michael Zanetti
-
drop unneeded reference to example code
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:9
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:10
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 11. By Michael Zanetti
-
fix packaging
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:11
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 12. By Michael Zanetti
-
"fix" autopilot tests
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:12
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 13. By Michael Zanetti
-
add fake check target to make jenkins happy
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:13
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 14. By Michael Zanetti
-
more fixes for autopilot
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:14
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 15. By Michael Zanetti
-
fix target name
- 16. By Michael Zanetti
-
fix architecture for packages
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:16
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
David Planella (dpm) wrote : | # |
Not sure why Jenkins has not picked this up or whether it is a problem with my setup, but trying to build the package fails with the following errors:
E: reminders-app source: not-binnmuable-
E: reminders-app: missing-
- 17. By Michael Zanetti
-
add run_on_
ubuntu_ touch.sh script and fix .desktop file for click packaging
Michael Zanetti (mzanetti) wrote : | # |
> Not sure why Jenkins has not picked this up or whether it is a problem with my
> setup, but trying to build the package fails with the following errors:
>
> E: reminders-app source: not-binnmuable-
> autopilot -> reminders-app
> E: reminders-app: missing-
> gnu/qt5/
Hmm... I don't see this here and tbh I've no clue what is wrong. How do you build the package?
- 18. By Michael Zanetti
-
fix apparmor policy to allow accessing accounts
David Planella (dpm) wrote : | # |
I'm building the package on 13.10 from the root of the source tree with:
debuild -us -uc
On Sat, Nov 23, 2013 at 12:12 AM, Michael Zanetti <
<email address hidden>> wrote:
> > Not sure why Jenkins has not picked this up or whether it is a problem
> with my
> > setup, but trying to build the package fails with the following errors:
> >
> > E: reminders-app source: not-binnmuable-
> > autopilot -> reminders-app
> > E: reminders-app: missing-
> usr/lib/
> > gnu/qt5/
>
> Hmm... I don't see this here and tbh I've no clue what is wrong. How do
> you build the package?
> --
>
> https:/
> You are reviewing the proposed merge of
> lp:~mzanetti/reminders-app/integrate-plugin into lp:reminders-app.
>
David Planella (dpm) wrote : | # |
It seems that the packages build regardless of the error, and since Jenkins is happy with it and the branch works as expected, I'll just go ahead and approve it.
One thing I've noticed while using the app is that it sometimes seems to lose the connection with Evernote, and it stops fetching Notes or Notebooks (this can be easily seen in the Qt Creator console with the error messages).
Preview Diff
1 | === modified file '.bzrignore' |
2 | --- .bzrignore 2013-10-23 11:02:37 +0000 |
3 | +++ .bzrignore 2013-11-22 21:43:19 +0000 |
4 | @@ -1,1 +1,2 @@ |
5 | reminders-app.qmlproject.user |
6 | +reminders-app.pro.user |
7 | |
8 | === added directory '3rdParty' |
9 | === added file '3rdParty/3rdParty.pro' |
10 | --- 3rdParty/3rdParty.pro 1970-01-01 00:00:00 +0000 |
11 | +++ 3rdParty/3rdParty.pro 2013-11-22 21:43:19 +0000 |
12 | @@ -0,0 +1,4 @@ |
13 | +TEMPLATE = subdirs |
14 | +SUBDIRS = libthrift evernote-sdk-cpp |
15 | + |
16 | +evernote-sdk-cpp.depends = libthrift |
17 | |
18 | === added directory '3rdParty/evernote-sdk-cpp' |
19 | === added directory '3rdParty/evernote-sdk-cpp/.git' |
20 | === added file '3rdParty/evernote-sdk-cpp/.git/HEAD' |
21 | --- 3rdParty/evernote-sdk-cpp/.git/HEAD 1970-01-01 00:00:00 +0000 |
22 | +++ 3rdParty/evernote-sdk-cpp/.git/HEAD 2013-11-22 21:43:19 +0000 |
23 | @@ -0,0 +1,1 @@ |
24 | +ref: refs/heads/master |
25 | |
26 | === added directory '3rdParty/evernote-sdk-cpp/.git/branches' |
27 | === added file '3rdParty/evernote-sdk-cpp/.git/config' |
28 | --- 3rdParty/evernote-sdk-cpp/.git/config 1970-01-01 00:00:00 +0000 |
29 | +++ 3rdParty/evernote-sdk-cpp/.git/config 2013-11-22 21:43:19 +0000 |
30 | @@ -0,0 +1,11 @@ |
31 | +[core] |
32 | + repositoryformatversion = 0 |
33 | + filemode = true |
34 | + bare = false |
35 | + logallrefupdates = true |
36 | +[remote "origin"] |
37 | + url = https://github.com/evernote/evernote-sdk-cpp.git |
38 | + fetch = +refs/heads/*:refs/remotes/origin/* |
39 | +[branch "master"] |
40 | + remote = origin |
41 | + merge = refs/heads/master |
42 | |
43 | === added file '3rdParty/evernote-sdk-cpp/.git/description' |
44 | --- 3rdParty/evernote-sdk-cpp/.git/description 1970-01-01 00:00:00 +0000 |
45 | +++ 3rdParty/evernote-sdk-cpp/.git/description 2013-11-22 21:43:19 +0000 |
46 | @@ -0,0 +1,1 @@ |
47 | +Unnamed repository; edit this file 'description' to name the repository. |
48 | |
49 | === added directory '3rdParty/evernote-sdk-cpp/.git/hooks' |
50 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/applypatch-msg.sample' |
51 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/applypatch-msg.sample 1970-01-01 00:00:00 +0000 |
52 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/applypatch-msg.sample 2013-11-22 21:43:19 +0000 |
53 | @@ -0,0 +1,15 @@ |
54 | +#!/bin/sh |
55 | +# |
56 | +# An example hook script to check the commit log message taken by |
57 | +# applypatch from an e-mail message. |
58 | +# |
59 | +# The hook should exit with non-zero status after issuing an |
60 | +# appropriate message if it wants to stop the commit. The hook is |
61 | +# allowed to edit the commit message file. |
62 | +# |
63 | +# To enable this hook, rename this file to "applypatch-msg". |
64 | + |
65 | +. git-sh-setup |
66 | +test -x "$GIT_DIR/hooks/commit-msg" && |
67 | + exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} |
68 | +: |
69 | |
70 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/commit-msg.sample' |
71 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/commit-msg.sample 1970-01-01 00:00:00 +0000 |
72 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/commit-msg.sample 2013-11-22 21:43:19 +0000 |
73 | @@ -0,0 +1,24 @@ |
74 | +#!/bin/sh |
75 | +# |
76 | +# An example hook script to check the commit log message. |
77 | +# Called by "git commit" with one argument, the name of the file |
78 | +# that has the commit message. The hook should exit with non-zero |
79 | +# status after issuing an appropriate message if it wants to stop the |
80 | +# commit. The hook is allowed to edit the commit message file. |
81 | +# |
82 | +# To enable this hook, rename this file to "commit-msg". |
83 | + |
84 | +# Uncomment the below to add a Signed-off-by line to the message. |
85 | +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg |
86 | +# hook is more suited to it. |
87 | +# |
88 | +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') |
89 | +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" |
90 | + |
91 | +# This example catches duplicate Signed-off-by lines. |
92 | + |
93 | +test "" = "$(grep '^Signed-off-by: ' "$1" | |
94 | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { |
95 | + echo >&2 Duplicate Signed-off-by lines. |
96 | + exit 1 |
97 | +} |
98 | |
99 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/post-update.sample' |
100 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/post-update.sample 1970-01-01 00:00:00 +0000 |
101 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/post-update.sample 2013-11-22 21:43:19 +0000 |
102 | @@ -0,0 +1,8 @@ |
103 | +#!/bin/sh |
104 | +# |
105 | +# An example hook script to prepare a packed repository for use over |
106 | +# dumb transports. |
107 | +# |
108 | +# To enable this hook, rename this file to "post-update". |
109 | + |
110 | +exec git update-server-info |
111 | |
112 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/pre-applypatch.sample' |
113 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/pre-applypatch.sample 1970-01-01 00:00:00 +0000 |
114 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/pre-applypatch.sample 2013-11-22 21:43:19 +0000 |
115 | @@ -0,0 +1,14 @@ |
116 | +#!/bin/sh |
117 | +# |
118 | +# An example hook script to verify what is about to be committed |
119 | +# by applypatch from an e-mail message. |
120 | +# |
121 | +# The hook should exit with non-zero status after issuing an |
122 | +# appropriate message if it wants to stop the commit. |
123 | +# |
124 | +# To enable this hook, rename this file to "pre-applypatch". |
125 | + |
126 | +. git-sh-setup |
127 | +test -x "$GIT_DIR/hooks/pre-commit" && |
128 | + exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"} |
129 | +: |
130 | |
131 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/pre-commit.sample' |
132 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/pre-commit.sample 1970-01-01 00:00:00 +0000 |
133 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/pre-commit.sample 2013-11-22 21:43:19 +0000 |
134 | @@ -0,0 +1,50 @@ |
135 | +#!/bin/sh |
136 | +# |
137 | +# An example hook script to verify what is about to be committed. |
138 | +# Called by "git commit" with no arguments. The hook should |
139 | +# exit with non-zero status after issuing an appropriate message if |
140 | +# it wants to stop the commit. |
141 | +# |
142 | +# To enable this hook, rename this file to "pre-commit". |
143 | + |
144 | +if git rev-parse --verify HEAD >/dev/null 2>&1 |
145 | +then |
146 | + against=HEAD |
147 | +else |
148 | + # Initial commit: diff against an empty tree object |
149 | + against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 |
150 | +fi |
151 | + |
152 | +# If you want to allow non-ascii filenames set this variable to true. |
153 | +allownonascii=$(git config hooks.allownonascii) |
154 | + |
155 | +# Redirect output to stderr. |
156 | +exec 1>&2 |
157 | + |
158 | +# Cross platform projects tend to avoid non-ascii filenames; prevent |
159 | +# them from being added to the repository. We exploit the fact that the |
160 | +# printable range starts at the space character and ends with tilde. |
161 | +if [ "$allownonascii" != "true" ] && |
162 | + # Note that the use of brackets around a tr range is ok here, (it's |
163 | + # even required, for portability to Solaris 10's /usr/bin/tr), since |
164 | + # the square bracket bytes happen to fall in the designated range. |
165 | + test $(git diff --cached --name-only --diff-filter=A -z $against | |
166 | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 |
167 | +then |
168 | + echo "Error: Attempt to add a non-ascii file name." |
169 | + echo |
170 | + echo "This can cause problems if you want to work" |
171 | + echo "with people on other platforms." |
172 | + echo |
173 | + echo "To be portable it is advisable to rename the file ..." |
174 | + echo |
175 | + echo "If you know what you are doing you can disable this" |
176 | + echo "check using:" |
177 | + echo |
178 | + echo " git config hooks.allownonascii true" |
179 | + echo |
180 | + exit 1 |
181 | +fi |
182 | + |
183 | +# If there are whitespace errors, print the offending file names and fail. |
184 | +exec git diff-index --check --cached $against -- |
185 | |
186 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/pre-push.sample' |
187 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/pre-push.sample 1970-01-01 00:00:00 +0000 |
188 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/pre-push.sample 2013-11-22 21:43:19 +0000 |
189 | @@ -0,0 +1,53 @@ |
190 | +#!/bin/sh |
191 | + |
192 | +# An example hook script to verify what is about to be pushed. Called by "git |
193 | +# push" after it has checked the remote status, but before anything has been |
194 | +# pushed. If this script exits with a non-zero status nothing will be pushed. |
195 | +# |
196 | +# This hook is called with the following parameters: |
197 | +# |
198 | +# $1 -- Name of the remote to which the push is being done |
199 | +# $2 -- URL to which the push is being done |
200 | +# |
201 | +# If pushing without using a named remote those arguments will be equal. |
202 | +# |
203 | +# Information about the commits which are being pushed is supplied as lines to |
204 | +# the standard input in the form: |
205 | +# |
206 | +# <local ref> <local sha1> <remote ref> <remote sha1> |
207 | +# |
208 | +# This sample shows how to prevent push of commits where the log message starts |
209 | +# with "WIP" (work in progress). |
210 | + |
211 | +remote="$1" |
212 | +url="$2" |
213 | + |
214 | +z40=0000000000000000000000000000000000000000 |
215 | + |
216 | +IFS=' ' |
217 | +while read local_ref local_sha remote_ref remote_sha |
218 | +do |
219 | + if [ "$local_sha" = $z40 ] |
220 | + then |
221 | + # Handle delete |
222 | + else |
223 | + if [ "$remote_sha" = $z40 ] |
224 | + then |
225 | + # New branch, examine all commits |
226 | + range="$local_sha" |
227 | + else |
228 | + # Update to existing branch, examine new commits |
229 | + range="$remote_sha..$local_sha" |
230 | + fi |
231 | + |
232 | + # Check for WIP commit |
233 | + commit=`git rev-list -n 1 --grep '^WIP' "$range"` |
234 | + if [ -n "$commit" ] |
235 | + then |
236 | + echo "Found WIP commit in $local_ref, not pushing" |
237 | + exit 1 |
238 | + fi |
239 | + fi |
240 | +done |
241 | + |
242 | +exit 0 |
243 | |
244 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/pre-rebase.sample' |
245 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/pre-rebase.sample 1970-01-01 00:00:00 +0000 |
246 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/pre-rebase.sample 2013-11-22 21:43:19 +0000 |
247 | @@ -0,0 +1,169 @@ |
248 | +#!/bin/sh |
249 | +# |
250 | +# Copyright (c) 2006, 2008 Junio C Hamano |
251 | +# |
252 | +# The "pre-rebase" hook is run just before "git rebase" starts doing |
253 | +# its job, and can prevent the command from running by exiting with |
254 | +# non-zero status. |
255 | +# |
256 | +# The hook is called with the following parameters: |
257 | +# |
258 | +# $1 -- the upstream the series was forked from. |
259 | +# $2 -- the branch being rebased (or empty when rebasing the current branch). |
260 | +# |
261 | +# This sample shows how to prevent topic branches that are already |
262 | +# merged to 'next' branch from getting rebased, because allowing it |
263 | +# would result in rebasing already published history. |
264 | + |
265 | +publish=next |
266 | +basebranch="$1" |
267 | +if test "$#" = 2 |
268 | +then |
269 | + topic="refs/heads/$2" |
270 | +else |
271 | + topic=`git symbolic-ref HEAD` || |
272 | + exit 0 ;# we do not interrupt rebasing detached HEAD |
273 | +fi |
274 | + |
275 | +case "$topic" in |
276 | +refs/heads/??/*) |
277 | + ;; |
278 | +*) |
279 | + exit 0 ;# we do not interrupt others. |
280 | + ;; |
281 | +esac |
282 | + |
283 | +# Now we are dealing with a topic branch being rebased |
284 | +# on top of master. Is it OK to rebase it? |
285 | + |
286 | +# Does the topic really exist? |
287 | +git show-ref -q "$topic" || { |
288 | + echo >&2 "No such branch $topic" |
289 | + exit 1 |
290 | +} |
291 | + |
292 | +# Is topic fully merged to master? |
293 | +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` |
294 | +if test -z "$not_in_master" |
295 | +then |
296 | + echo >&2 "$topic is fully merged to master; better remove it." |
297 | + exit 1 ;# we could allow it, but there is no point. |
298 | +fi |
299 | + |
300 | +# Is topic ever merged to next? If so you should not be rebasing it. |
301 | +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` |
302 | +only_next_2=`git rev-list ^master ${publish} | sort` |
303 | +if test "$only_next_1" = "$only_next_2" |
304 | +then |
305 | + not_in_topic=`git rev-list "^$topic" master` |
306 | + if test -z "$not_in_topic" |
307 | + then |
308 | + echo >&2 "$topic is already up-to-date with master" |
309 | + exit 1 ;# we could allow it, but there is no point. |
310 | + else |
311 | + exit 0 |
312 | + fi |
313 | +else |
314 | + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` |
315 | + /usr/bin/perl -e ' |
316 | + my $topic = $ARGV[0]; |
317 | + my $msg = "* $topic has commits already merged to public branch:\n"; |
318 | + my (%not_in_next) = map { |
319 | + /^([0-9a-f]+) /; |
320 | + ($1 => 1); |
321 | + } split(/\n/, $ARGV[1]); |
322 | + for my $elem (map { |
323 | + /^([0-9a-f]+) (.*)$/; |
324 | + [$1 => $2]; |
325 | + } split(/\n/, $ARGV[2])) { |
326 | + if (!exists $not_in_next{$elem->[0]}) { |
327 | + if ($msg) { |
328 | + print STDERR $msg; |
329 | + undef $msg; |
330 | + } |
331 | + print STDERR " $elem->[1]\n"; |
332 | + } |
333 | + } |
334 | + ' "$topic" "$not_in_next" "$not_in_master" |
335 | + exit 1 |
336 | +fi |
337 | + |
338 | +<<\DOC_END |
339 | + |
340 | +This sample hook safeguards topic branches that have been |
341 | +published from being rewound. |
342 | + |
343 | +The workflow assumed here is: |
344 | + |
345 | + * Once a topic branch forks from "master", "master" is never |
346 | + merged into it again (either directly or indirectly). |
347 | + |
348 | + * Once a topic branch is fully cooked and merged into "master", |
349 | + it is deleted. If you need to build on top of it to correct |
350 | + earlier mistakes, a new topic branch is created by forking at |
351 | + the tip of the "master". This is not strictly necessary, but |
352 | + it makes it easier to keep your history simple. |
353 | + |
354 | + * Whenever you need to test or publish your changes to topic |
355 | + branches, merge them into "next" branch. |
356 | + |
357 | +The script, being an example, hardcodes the publish branch name |
358 | +to be "next", but it is trivial to make it configurable via |
359 | +$GIT_DIR/config mechanism. |
360 | + |
361 | +With this workflow, you would want to know: |
362 | + |
363 | +(1) ... if a topic branch has ever been merged to "next". Young |
364 | + topic branches can have stupid mistakes you would rather |
365 | + clean up before publishing, and things that have not been |
366 | + merged into other branches can be easily rebased without |
367 | + affecting other people. But once it is published, you would |
368 | + not want to rewind it. |
369 | + |
370 | +(2) ... if a topic branch has been fully merged to "master". |
371 | + Then you can delete it. More importantly, you should not |
372 | + build on top of it -- other people may already want to |
373 | + change things related to the topic as patches against your |
374 | + "master", so if you need further changes, it is better to |
375 | + fork the topic (perhaps with the same name) afresh from the |
376 | + tip of "master". |
377 | + |
378 | +Let's look at this example: |
379 | + |
380 | + o---o---o---o---o---o---o---o---o---o "next" |
381 | + / / / / |
382 | + / a---a---b A / / |
383 | + / / / / |
384 | + / / c---c---c---c B / |
385 | + / / / \ / |
386 | + / / / b---b C \ / |
387 | + / / / / \ / |
388 | + ---o---o---o---o---o---o---o---o---o---o---o "master" |
389 | + |
390 | + |
391 | +A, B and C are topic branches. |
392 | + |
393 | + * A has one fix since it was merged up to "next". |
394 | + |
395 | + * B has finished. It has been fully merged up to "master" and "next", |
396 | + and is ready to be deleted. |
397 | + |
398 | + * C has not merged to "next" at all. |
399 | + |
400 | +We would want to allow C to be rebased, refuse A, and encourage |
401 | +B to be deleted. |
402 | + |
403 | +To compute (1): |
404 | + |
405 | + git rev-list ^master ^topic next |
406 | + git rev-list ^master next |
407 | + |
408 | + if these match, topic has not merged in next at all. |
409 | + |
410 | +To compute (2): |
411 | + |
412 | + git rev-list master..topic |
413 | + |
414 | + if this is empty, it is fully merged to "master". |
415 | + |
416 | +DOC_END |
417 | |
418 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/prepare-commit-msg.sample' |
419 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/prepare-commit-msg.sample 1970-01-01 00:00:00 +0000 |
420 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/prepare-commit-msg.sample 2013-11-22 21:43:19 +0000 |
421 | @@ -0,0 +1,36 @@ |
422 | +#!/bin/sh |
423 | +# |
424 | +# An example hook script to prepare the commit log message. |
425 | +# Called by "git commit" with the name of the file that has the |
426 | +# commit message, followed by the description of the commit |
427 | +# message's source. The hook's purpose is to edit the commit |
428 | +# message file. If the hook fails with a non-zero status, |
429 | +# the commit is aborted. |
430 | +# |
431 | +# To enable this hook, rename this file to "prepare-commit-msg". |
432 | + |
433 | +# This hook includes three examples. The first comments out the |
434 | +# "Conflicts:" part of a merge commit. |
435 | +# |
436 | +# The second includes the output of "git diff --name-status -r" |
437 | +# into the message, just before the "git status" output. It is |
438 | +# commented because it doesn't cope with --amend or with squashed |
439 | +# commits. |
440 | +# |
441 | +# The third example adds a Signed-off-by line to the message, that can |
442 | +# still be edited. This is rarely a good idea. |
443 | + |
444 | +case "$2,$3" in |
445 | + merge,) |
446 | + /usr/bin/perl -i.bak -ne 's/^/# /, s/^# #/#/ if /^Conflicts/ .. /#/; print' "$1" ;; |
447 | + |
448 | +# ,|template,) |
449 | +# /usr/bin/perl -i.bak -pe ' |
450 | +# print "\n" . `git diff --cached --name-status -r` |
451 | +# if /^#/ && $first++ == 0' "$1" ;; |
452 | + |
453 | + *) ;; |
454 | +esac |
455 | + |
456 | +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') |
457 | +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" |
458 | |
459 | === added file '3rdParty/evernote-sdk-cpp/.git/hooks/update.sample' |
460 | --- 3rdParty/evernote-sdk-cpp/.git/hooks/update.sample 1970-01-01 00:00:00 +0000 |
461 | +++ 3rdParty/evernote-sdk-cpp/.git/hooks/update.sample 2013-11-22 21:43:19 +0000 |
462 | @@ -0,0 +1,128 @@ |
463 | +#!/bin/sh |
464 | +# |
465 | +# An example hook script to blocks unannotated tags from entering. |
466 | +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new |
467 | +# |
468 | +# To enable this hook, rename this file to "update". |
469 | +# |
470 | +# Config |
471 | +# ------ |
472 | +# hooks.allowunannotated |
473 | +# This boolean sets whether unannotated tags will be allowed into the |
474 | +# repository. By default they won't be. |
475 | +# hooks.allowdeletetag |
476 | +# This boolean sets whether deleting tags will be allowed in the |
477 | +# repository. By default they won't be. |
478 | +# hooks.allowmodifytag |
479 | +# This boolean sets whether a tag may be modified after creation. By default |
480 | +# it won't be. |
481 | +# hooks.allowdeletebranch |
482 | +# This boolean sets whether deleting branches will be allowed in the |
483 | +# repository. By default they won't be. |
484 | +# hooks.denycreatebranch |
485 | +# This boolean sets whether remotely creating branches will be denied |
486 | +# in the repository. By default this is allowed. |
487 | +# |
488 | + |
489 | +# --- Command line |
490 | +refname="$1" |
491 | +oldrev="$2" |
492 | +newrev="$3" |
493 | + |
494 | +# --- Safety check |
495 | +if [ -z "$GIT_DIR" ]; then |
496 | + echo "Don't run this script from the command line." >&2 |
497 | + echo " (if you want, you could supply GIT_DIR then run" >&2 |
498 | + echo " $0 <ref> <oldrev> <newrev>)" >&2 |
499 | + exit 1 |
500 | +fi |
501 | + |
502 | +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then |
503 | + echo "usage: $0 <ref> <oldrev> <newrev>" >&2 |
504 | + exit 1 |
505 | +fi |
506 | + |
507 | +# --- Config |
508 | +allowunannotated=$(git config --bool hooks.allowunannotated) |
509 | +allowdeletebranch=$(git config --bool hooks.allowdeletebranch) |
510 | +denycreatebranch=$(git config --bool hooks.denycreatebranch) |
511 | +allowdeletetag=$(git config --bool hooks.allowdeletetag) |
512 | +allowmodifytag=$(git config --bool hooks.allowmodifytag) |
513 | + |
514 | +# check for no description |
515 | +projectdesc=$(sed -e '1q' "$GIT_DIR/description") |
516 | +case "$projectdesc" in |
517 | +"Unnamed repository"* | "") |
518 | + echo "*** Project description file hasn't been set" >&2 |
519 | + exit 1 |
520 | + ;; |
521 | +esac |
522 | + |
523 | +# --- Check types |
524 | +# if $newrev is 0000...0000, it's a commit to delete a ref. |
525 | +zero="0000000000000000000000000000000000000000" |
526 | +if [ "$newrev" = "$zero" ]; then |
527 | + newrev_type=delete |
528 | +else |
529 | + newrev_type=$(git cat-file -t $newrev) |
530 | +fi |
531 | + |
532 | +case "$refname","$newrev_type" in |
533 | + refs/tags/*,commit) |
534 | + # un-annotated tag |
535 | + short_refname=${refname##refs/tags/} |
536 | + if [ "$allowunannotated" != "true" ]; then |
537 | + echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2 |
538 | + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 |
539 | + exit 1 |
540 | + fi |
541 | + ;; |
542 | + refs/tags/*,delete) |
543 | + # delete tag |
544 | + if [ "$allowdeletetag" != "true" ]; then |
545 | + echo "*** Deleting a tag is not allowed in this repository" >&2 |
546 | + exit 1 |
547 | + fi |
548 | + ;; |
549 | + refs/tags/*,tag) |
550 | + # annotated tag |
551 | + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 |
552 | + then |
553 | + echo "*** Tag '$refname' already exists." >&2 |
554 | + echo "*** Modifying a tag is not allowed in this repository." >&2 |
555 | + exit 1 |
556 | + fi |
557 | + ;; |
558 | + refs/heads/*,commit) |
559 | + # branch |
560 | + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then |
561 | + echo "*** Creating a branch is not allowed in this repository" >&2 |
562 | + exit 1 |
563 | + fi |
564 | + ;; |
565 | + refs/heads/*,delete) |
566 | + # delete branch |
567 | + if [ "$allowdeletebranch" != "true" ]; then |
568 | + echo "*** Deleting a branch is not allowed in this repository" >&2 |
569 | + exit 1 |
570 | + fi |
571 | + ;; |
572 | + refs/remotes/*,commit) |
573 | + # tracking branch |
574 | + ;; |
575 | + refs/remotes/*,delete) |
576 | + # delete tracking branch |
577 | + if [ "$allowdeletebranch" != "true" ]; then |
578 | + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 |
579 | + exit 1 |
580 | + fi |
581 | + ;; |
582 | + *) |
583 | + # Anything else (is there anything else?) |
584 | + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 |
585 | + exit 1 |
586 | + ;; |
587 | +esac |
588 | + |
589 | +# --- Finished |
590 | +exit 0 |
591 | |
592 | === added file '3rdParty/evernote-sdk-cpp/.git/index' |
593 | Binary files 3rdParty/evernote-sdk-cpp/.git/index 1970-01-01 00:00:00 +0000 and 3rdParty/evernote-sdk-cpp/.git/index 2013-11-22 21:43:19 +0000 differ |
594 | === added directory '3rdParty/evernote-sdk-cpp/.git/info' |
595 | === added file '3rdParty/evernote-sdk-cpp/.git/info/exclude' |
596 | --- 3rdParty/evernote-sdk-cpp/.git/info/exclude 1970-01-01 00:00:00 +0000 |
597 | +++ 3rdParty/evernote-sdk-cpp/.git/info/exclude 2013-11-22 21:43:19 +0000 |
598 | @@ -0,0 +1,6 @@ |
599 | +# git ls-files --others --exclude-from=.git/info/exclude |
600 | +# Lines that start with '#' are comments. |
601 | +# For a project mostly in C, the following would be a good set of |
602 | +# exclude patterns (uncomment them if you want to use them): |
603 | +# *.[oa] |
604 | +# *~ |
605 | |
606 | === added directory '3rdParty/evernote-sdk-cpp/.git/logs' |
607 | === added file '3rdParty/evernote-sdk-cpp/.git/logs/HEAD' |
608 | --- 3rdParty/evernote-sdk-cpp/.git/logs/HEAD 1970-01-01 00:00:00 +0000 |
609 | +++ 3rdParty/evernote-sdk-cpp/.git/logs/HEAD 2013-11-22 21:43:19 +0000 |
610 | @@ -0,0 +1,1 @@ |
611 | +0000000000000000000000000000000000000000 8ff7baba6c6fb73fe8cc14ef51b321890f09bc40 Michael Zanetti <michael_zanetti@gmx.net> 1384442360 +0100 clone: from https://github.com/evernote/evernote-sdk-cpp.git |
612 | |
613 | === added directory '3rdParty/evernote-sdk-cpp/.git/logs/refs' |
614 | === added directory '3rdParty/evernote-sdk-cpp/.git/logs/refs/heads' |
615 | === added file '3rdParty/evernote-sdk-cpp/.git/logs/refs/heads/master' |
616 | --- 3rdParty/evernote-sdk-cpp/.git/logs/refs/heads/master 1970-01-01 00:00:00 +0000 |
617 | +++ 3rdParty/evernote-sdk-cpp/.git/logs/refs/heads/master 2013-11-22 21:43:19 +0000 |
618 | @@ -0,0 +1,1 @@ |
619 | +0000000000000000000000000000000000000000 8ff7baba6c6fb73fe8cc14ef51b321890f09bc40 Michael Zanetti <michael_zanetti@gmx.net> 1384442360 +0100 clone: from https://github.com/evernote/evernote-sdk-cpp.git |
620 | |
621 | === added directory '3rdParty/evernote-sdk-cpp/.git/logs/refs/remotes' |
622 | === added directory '3rdParty/evernote-sdk-cpp/.git/logs/refs/remotes/origin' |
623 | === added file '3rdParty/evernote-sdk-cpp/.git/logs/refs/remotes/origin/HEAD' |
624 | --- 3rdParty/evernote-sdk-cpp/.git/logs/refs/remotes/origin/HEAD 1970-01-01 00:00:00 +0000 |
625 | +++ 3rdParty/evernote-sdk-cpp/.git/logs/refs/remotes/origin/HEAD 2013-11-22 21:43:19 +0000 |
626 | @@ -0,0 +1,1 @@ |
627 | +0000000000000000000000000000000000000000 8ff7baba6c6fb73fe8cc14ef51b321890f09bc40 Michael Zanetti <michael_zanetti@gmx.net> 1384442360 +0100 clone: from https://github.com/evernote/evernote-sdk-cpp.git |
628 | |
629 | === added directory '3rdParty/evernote-sdk-cpp/.git/objects' |
630 | === added directory '3rdParty/evernote-sdk-cpp/.git/objects/e6' |
631 | === added file '3rdParty/evernote-sdk-cpp/.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391' |
632 | Binary files 3rdParty/evernote-sdk-cpp/.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 1970-01-01 00:00:00 +0000 and 3rdParty/evernote-sdk-cpp/.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 2013-11-22 21:43:19 +0000 differ |
633 | === added directory '3rdParty/evernote-sdk-cpp/.git/objects/info' |
634 | === added directory '3rdParty/evernote-sdk-cpp/.git/objects/pack' |
635 | === added file '3rdParty/evernote-sdk-cpp/.git/objects/pack/pack-67281df39073784444642b09601e438f46d74a25.idx' |
636 | Binary files 3rdParty/evernote-sdk-cpp/.git/objects/pack/pack-67281df39073784444642b09601e438f46d74a25.idx 1970-01-01 00:00:00 +0000 and 3rdParty/evernote-sdk-cpp/.git/objects/pack/pack-67281df39073784444642b09601e438f46d74a25.idx 2013-11-22 21:43:19 +0000 differ |
637 | === added file '3rdParty/evernote-sdk-cpp/.git/objects/pack/pack-67281df39073784444642b09601e438f46d74a25.pack' |
638 | Binary files 3rdParty/evernote-sdk-cpp/.git/objects/pack/pack-67281df39073784444642b09601e438f46d74a25.pack 1970-01-01 00:00:00 +0000 and 3rdParty/evernote-sdk-cpp/.git/objects/pack/pack-67281df39073784444642b09601e438f46d74a25.pack 2013-11-22 21:43:19 +0000 differ |
639 | === added file '3rdParty/evernote-sdk-cpp/.git/packed-refs' |
640 | --- 3rdParty/evernote-sdk-cpp/.git/packed-refs 1970-01-01 00:00:00 +0000 |
641 | +++ 3rdParty/evernote-sdk-cpp/.git/packed-refs 2013-11-22 21:43:19 +0000 |
642 | @@ -0,0 +1,3 @@ |
643 | +# pack-refs with: peeled fully-peeled |
644 | +8ff7baba6c6fb73fe8cc14ef51b321890f09bc40 refs/remotes/origin/dev |
645 | +8ff7baba6c6fb73fe8cc14ef51b321890f09bc40 refs/remotes/origin/master |
646 | |
647 | === added directory '3rdParty/evernote-sdk-cpp/.git/refs' |
648 | === added directory '3rdParty/evernote-sdk-cpp/.git/refs/heads' |
649 | === added file '3rdParty/evernote-sdk-cpp/.git/refs/heads/master' |
650 | --- 3rdParty/evernote-sdk-cpp/.git/refs/heads/master 1970-01-01 00:00:00 +0000 |
651 | +++ 3rdParty/evernote-sdk-cpp/.git/refs/heads/master 2013-11-22 21:43:19 +0000 |
652 | @@ -0,0 +1,1 @@ |
653 | +8ff7baba6c6fb73fe8cc14ef51b321890f09bc40 |
654 | |
655 | === added directory '3rdParty/evernote-sdk-cpp/.git/refs/remotes' |
656 | === added directory '3rdParty/evernote-sdk-cpp/.git/refs/remotes/origin' |
657 | === added file '3rdParty/evernote-sdk-cpp/.git/refs/remotes/origin/HEAD' |
658 | --- 3rdParty/evernote-sdk-cpp/.git/refs/remotes/origin/HEAD 1970-01-01 00:00:00 +0000 |
659 | +++ 3rdParty/evernote-sdk-cpp/.git/refs/remotes/origin/HEAD 2013-11-22 21:43:19 +0000 |
660 | @@ -0,0 +1,1 @@ |
661 | +ref: refs/remotes/origin/master |
662 | |
663 | === added directory '3rdParty/evernote-sdk-cpp/.git/refs/tags' |
664 | === added file '3rdParty/evernote-sdk-cpp/APACHE-LICENSE-2.0.txt' |
665 | --- 3rdParty/evernote-sdk-cpp/APACHE-LICENSE-2.0.txt 1970-01-01 00:00:00 +0000 |
666 | +++ 3rdParty/evernote-sdk-cpp/APACHE-LICENSE-2.0.txt 2013-11-22 21:43:19 +0000 |
667 | @@ -0,0 +1,202 @@ |
668 | + |
669 | + Apache License |
670 | + Version 2.0, January 2004 |
671 | + http://www.apache.org/licenses/ |
672 | + |
673 | + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
674 | + |
675 | + 1. Definitions. |
676 | + |
677 | + "License" shall mean the terms and conditions for use, reproduction, |
678 | + and distribution as defined by Sections 1 through 9 of this document. |
679 | + |
680 | + "Licensor" shall mean the copyright owner or entity authorized by |
681 | + the copyright owner that is granting the License. |
682 | + |
683 | + "Legal Entity" shall mean the union of the acting entity and all |
684 | + other entities that control, are controlled by, or are under common |
685 | + control with that entity. For the purposes of this definition, |
686 | + "control" means (i) the power, direct or indirect, to cause the |
687 | + direction or management of such entity, whether by contract or |
688 | + otherwise, or (ii) ownership of fifty percent (50%) or more of the |
689 | + outstanding shares, or (iii) beneficial ownership of such entity. |
690 | + |
691 | + "You" (or "Your") shall mean an individual or Legal Entity |
692 | + exercising permissions granted by this License. |
693 | + |
694 | + "Source" form shall mean the preferred form for making modifications, |
695 | + including but not limited to software source code, documentation |
696 | + source, and configuration files. |
697 | + |
698 | + "Object" form shall mean any form resulting from mechanical |
699 | + transformation or translation of a Source form, including but |
700 | + not limited to compiled object code, generated documentation, |
701 | + and conversions to other media types. |
702 | + |
703 | + "Work" shall mean the work of authorship, whether in Source or |
704 | + Object form, made available under the License, as indicated by a |
705 | + copyright notice that is included in or attached to the work |
706 | + (an example is provided in the Appendix below). |
707 | + |
708 | + "Derivative Works" shall mean any work, whether in Source or Object |
709 | + form, that is based on (or derived from) the Work and for which the |
710 | + editorial revisions, annotations, elaborations, or other modifications |
711 | + represent, as a whole, an original work of authorship. For the purposes |
712 | + of this License, Derivative Works shall not include works that remain |
713 | + separable from, or merely link (or bind by name) to the interfaces of, |
714 | + the Work and Derivative Works thereof. |
715 | + |
716 | + "Contribution" shall mean any work of authorship, including |
717 | + the original version of the Work and any modifications or additions |
718 | + to that Work or Derivative Works thereof, that is intentionally |
719 | + submitted to Licensor for inclusion in the Work by the copyright owner |
720 | + or by an individual or Legal Entity authorized to submit on behalf of |
721 | + the copyright owner. For the purposes of this definition, "submitted" |
722 | + means any form of electronic, verbal, or written communication sent |
723 | + to the Licensor or its representatives, including but not limited to |
724 | + communication on electronic mailing lists, source code control systems, |
725 | + and issue tracking systems that are managed by, or on behalf of, the |
726 | + Licensor for the purpose of discussing and improving the Work, but |
727 | + excluding communication that is conspicuously marked or otherwise |
728 | + designated in writing by the copyright owner as "Not a Contribution." |
729 | + |
730 | + "Contributor" shall mean Licensor and any individual or Legal Entity |
731 | + on behalf of whom a Contribution has been received by Licensor and |
732 | + subsequently incorporated within the Work. |
733 | + |
734 | + 2. Grant of Copyright License. Subject to the terms and conditions of |
735 | + this License, each Contributor hereby grants to You a perpetual, |
736 | + worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
737 | + copyright license to reproduce, prepare Derivative Works of, |
738 | + publicly display, publicly perform, sublicense, and distribute the |
739 | + Work and such Derivative Works in Source or Object form. |
740 | + |
741 | + 3. Grant of Patent License. Subject to the terms and conditions of |
742 | + this License, each Contributor hereby grants to You a perpetual, |
743 | + worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
744 | + (except as stated in this section) patent license to make, have made, |
745 | + use, offer to sell, sell, import, and otherwise transfer the Work, |
746 | + where such license applies only to those patent claims licensable |
747 | + by such Contributor that are necessarily infringed by their |
748 | + Contribution(s) alone or by combination of their Contribution(s) |
749 | + with the Work to which such Contribution(s) was submitted. If You |
750 | + institute patent litigation against any entity (including a |
751 | + cross-claim or counterclaim in a lawsuit) alleging that the Work |
752 | + or a Contribution incorporated within the Work constitutes direct |
753 | + or contributory patent infringement, then any patent licenses |
754 | + granted to You under this License for that Work shall terminate |
755 | + as of the date such litigation is filed. |
756 | + |
757 | + 4. Redistribution. You may reproduce and distribute copies of the |
758 | + Work or Derivative Works thereof in any medium, with or without |
759 | + modifications, and in Source or Object form, provided that You |
760 | + meet the following conditions: |
761 | + |
762 | + (a) You must give any other recipients of the Work or |
763 | + Derivative Works a copy of this License; and |
764 | + |
765 | + (b) You must cause any modified files to carry prominent notices |
766 | + stating that You changed the files; and |
767 | + |
768 | + (c) You must retain, in the Source form of any Derivative Works |
769 | + that You distribute, all copyright, patent, trademark, and |
770 | + attribution notices from the Source form of the Work, |
771 | + excluding those notices that do not pertain to any part of |
772 | + the Derivative Works; and |
773 | + |
774 | + (d) If the Work includes a "NOTICE" text file as part of its |
775 | + distribution, then any Derivative Works that You distribute must |
776 | + include a readable copy of the attribution notices contained |
777 | + within such NOTICE file, excluding those notices that do not |
778 | + pertain to any part of the Derivative Works, in at least one |
779 | + of the following places: within a NOTICE text file distributed |
780 | + as part of the Derivative Works; within the Source form or |
781 | + documentation, if provided along with the Derivative Works; or, |
782 | + within a display generated by the Derivative Works, if and |
783 | + wherever such third-party notices normally appear. The contents |
784 | + of the NOTICE file are for informational purposes only and |
785 | + do not modify the License. You may add Your own attribution |
786 | + notices within Derivative Works that You distribute, alongside |
787 | + or as an addendum to the NOTICE text from the Work, provided |
788 | + that such additional attribution notices cannot be construed |
789 | + as modifying the License. |
790 | + |
791 | + You may add Your own copyright statement to Your modifications and |
792 | + may provide additional or different license terms and conditions |
793 | + for use, reproduction, or distribution of Your modifications, or |
794 | + for any such Derivative Works as a whole, provided Your use, |
795 | + reproduction, and distribution of the Work otherwise complies with |
796 | + the conditions stated in this License. |
797 | + |
798 | + 5. Submission of Contributions. Unless You explicitly state otherwise, |
799 | + any Contribution intentionally submitted for inclusion in the Work |
800 | + by You to the Licensor shall be under the terms and conditions of |
801 | + this License, without any additional terms or conditions. |
802 | + Notwithstanding the above, nothing herein shall supersede or modify |
803 | + the terms of any separate license agreement you may have executed |
804 | + with Licensor regarding such Contributions. |
805 | + |
806 | + 6. Trademarks. This License does not grant permission to use the trade |
807 | + names, trademarks, service marks, or product names of the Licensor, |
808 | + except as required for reasonable and customary use in describing the |
809 | + origin of the Work and reproducing the content of the NOTICE file. |
810 | + |
811 | + 7. Disclaimer of Warranty. Unless required by applicable law or |
812 | + agreed to in writing, Licensor provides the Work (and each |
813 | + Contributor provides its Contributions) on an "AS IS" BASIS, |
814 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
815 | + implied, including, without limitation, any warranties or conditions |
816 | + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
817 | + PARTICULAR PURPOSE. You are solely responsible for determining the |
818 | + appropriateness of using or redistributing the Work and assume any |
819 | + risks associated with Your exercise of permissions under this License. |
820 | + |
821 | + 8. Limitation of Liability. In no event and under no legal theory, |
822 | + whether in tort (including negligence), contract, or otherwise, |
823 | + unless required by applicable law (such as deliberate and grossly |
824 | + negligent acts) or agreed to in writing, shall any Contributor be |
825 | + liable to You for damages, including any direct, indirect, special, |
826 | + incidental, or consequential damages of any character arising as a |
827 | + result of this License or out of the use or inability to use the |
828 | + Work (including but not limited to damages for loss of goodwill, |
829 | + work stoppage, computer failure or malfunction, or any and all |
830 | + other commercial damages or losses), even if such Contributor |
831 | + has been advised of the possibility of such damages. |
832 | + |
833 | + 9. Accepting Warranty or Additional Liability. While redistributing |
834 | + the Work or Derivative Works thereof, You may choose to offer, |
835 | + and charge a fee for, acceptance of support, warranty, indemnity, |
836 | + or other liability obligations and/or rights consistent with this |
837 | + License. However, in accepting such obligations, You may act only |
838 | + on Your own behalf and on Your sole responsibility, not on behalf |
839 | + of any other Contributor, and only if You agree to indemnify, |
840 | + defend, and hold each Contributor harmless for any liability |
841 | + incurred by, or claims asserted against, such Contributor by reason |
842 | + of your accepting any such warranty or additional liability. |
843 | + |
844 | + END OF TERMS AND CONDITIONS |
845 | + |
846 | + APPENDIX: How to apply the Apache License to your work. |
847 | + |
848 | + To apply the Apache License to your work, attach the following |
849 | + boilerplate notice, with the fields enclosed by brackets "[]" |
850 | + replaced with your own identifying information. (Don't include |
851 | + the brackets!) The text should be enclosed in the appropriate |
852 | + comment syntax for the file format. We also recommend that a |
853 | + file or class name and description of purpose be included on the |
854 | + same "printed page" as the copyright notice for easier |
855 | + identification within third-party archives. |
856 | + |
857 | + Copyright [yyyy] [name of copyright owner] |
858 | + |
859 | + Licensed under the Apache License, Version 2.0 (the "License"); |
860 | + you may not use this file except in compliance with the License. |
861 | + You may obtain a copy of the License at |
862 | + |
863 | + http://www.apache.org/licenses/LICENSE-2.0 |
864 | + |
865 | + Unless required by applicable law or agreed to in writing, software |
866 | + distributed under the License is distributed on an "AS IS" BASIS, |
867 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
868 | + See the License for the specific language governing permissions and |
869 | + limitations under the License. |
870 | |
871 | === added file '3rdParty/evernote-sdk-cpp/LICENSE' |
872 | --- 3rdParty/evernote-sdk-cpp/LICENSE 1970-01-01 00:00:00 +0000 |
873 | +++ 3rdParty/evernote-sdk-cpp/LICENSE 2013-11-22 21:43:19 +0000 |
874 | @@ -0,0 +1,27 @@ |
875 | +/* |
876 | + * Copyright (c) 2007-2012 by Evernote Corporation, All rights reserved. |
877 | + * |
878 | + * Use of the source code and binary libraries included in this package |
879 | + * is permitted under the following terms: |
880 | + * |
881 | + * Redistribution and use in source and binary forms, with or without |
882 | + * modification, are permitted provided that the following conditions |
883 | + * are met: |
884 | + * |
885 | + * 1. Redistributions of source code must retain the above copyright |
886 | + * notice, this list of conditions and the following disclaimer. |
887 | + * 2. Redistributions in binary form must reproduce the above copyright |
888 | + * notice, this list of conditions and the following disclaimer in the |
889 | + * documentation and/or other materials provided with the distribution. |
890 | + * |
891 | + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
892 | + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
893 | + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
894 | + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
895 | + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
896 | + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
897 | + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
898 | + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
899 | + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
900 | + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
901 | + */ |
902 | |
903 | === added file '3rdParty/evernote-sdk-cpp/NOTICE' |
904 | --- 3rdParty/evernote-sdk-cpp/NOTICE 1970-01-01 00:00:00 +0000 |
905 | +++ 3rdParty/evernote-sdk-cpp/NOTICE 2013-11-22 21:43:19 +0000 |
906 | @@ -0,0 +1,5 @@ |
907 | +Apache Thrift |
908 | +Copyright 2006-2010 The Apache Software Foundation. |
909 | + |
910 | +This product includes software developed at |
911 | +The Apache Software Foundation (http://www.apache.org/). |
912 | \ No newline at end of file |
913 | |
914 | === added file '3rdParty/evernote-sdk-cpp/README.md' |
915 | --- 3rdParty/evernote-sdk-cpp/README.md 1970-01-01 00:00:00 +0000 |
916 | +++ 3rdParty/evernote-sdk-cpp/README.md 2013-11-22 21:43:19 +0000 |
917 | @@ -0,0 +1,14 @@ |
918 | +Evernote SDK for C++ |
919 | +========================================= |
920 | + |
921 | +Evernote API version 1.25 |
922 | + |
923 | +Overview |
924 | +-------- |
925 | +This SDK contains wrapper code used to call the Evernote Cloud API from C++ apps. |
926 | + |
927 | +Prerequisites |
928 | +------------- |
929 | +In order to use the code in this SDK, you need to obtain an API key from http://dev.evernote.com/documentation/cloud. You'll also find full API documentation on that page. |
930 | + |
931 | +In order to run the sample code, you need a user account on the sandbox service where you will do your development. Sign up for an account at https://sandbox.evernote.com/Registration.action |
932 | |
933 | === added file '3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro' |
934 | --- 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro 1970-01-01 00:00:00 +0000 |
935 | +++ 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro 2013-11-22 21:43:19 +0000 |
936 | @@ -0,0 +1,35 @@ |
937 | +TEMPLATE = lib |
938 | + |
939 | +CONFIG = staticlib |
940 | + |
941 | +QMAKE_CXXFLAGS += -std=c++0x -fPIC |
942 | + |
943 | +INCLUDEPATH += ../libthrift |
944 | + |
945 | +LIBS += -L../libthrift -llibthrift |
946 | + |
947 | +SOURCES += src/Errors_constants.cpp \ |
948 | + src/Errors_types.cpp \ |
949 | + src/Limits_constants.cpp \ |
950 | + src/Limits_types.cpp \ |
951 | + src/NoteStore_constants.cpp \ |
952 | + src/NoteStore.cpp \ |
953 | + src/NoteStore_types.cpp \ |
954 | + src/Types_constants.cpp \ |
955 | + src/Types_types.cpp \ |
956 | + src/UserStore_constants.cpp \ |
957 | + src/UserStore.cpp \ |
958 | + src/UserStore_types.cpp |
959 | + |
960 | +HEADERS += src/Errors_constants.h \ |
961 | + src/Errors_types.h \ |
962 | + src/Limits_constants.h \ |
963 | + src/Limits_types.h \ |
964 | + src/NoteStore_constants.h \ |
965 | + src/NoteStore.h \ |
966 | + src/NoteStore_types.h \ |
967 | + src/Types_constants.h \ |
968 | + src/Types_types.h \ |
969 | + src/UserStore_constants.h \ |
970 | + src/UserStore.h \ |
971 | + src/UserStore_types.h |
972 | |
973 | === added directory '3rdParty/evernote-sdk-cpp/src' |
974 | === added file '3rdParty/evernote-sdk-cpp/src/Errors_constants.cpp' |
975 | --- 3rdParty/evernote-sdk-cpp/src/Errors_constants.cpp 1970-01-01 00:00:00 +0000 |
976 | +++ 3rdParty/evernote-sdk-cpp/src/Errors_constants.cpp 2013-11-22 21:43:19 +0000 |
977 | @@ -0,0 +1,16 @@ |
978 | +/** |
979 | + * Autogenerated by Thrift |
980 | + * |
981 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
982 | + */ |
983 | +#include "Errors_constants.h" |
984 | + |
985 | +namespace evernote { namespace edam { |
986 | + |
987 | +const ErrorsConstants g_Errors_constants; |
988 | + |
989 | +ErrorsConstants::ErrorsConstants() { |
990 | +} |
991 | + |
992 | +}} // namespace |
993 | + |
994 | |
995 | === added file '3rdParty/evernote-sdk-cpp/src/Errors_constants.h' |
996 | --- 3rdParty/evernote-sdk-cpp/src/Errors_constants.h 1970-01-01 00:00:00 +0000 |
997 | +++ 3rdParty/evernote-sdk-cpp/src/Errors_constants.h 2013-11-22 21:43:19 +0000 |
998 | @@ -0,0 +1,23 @@ |
999 | +/** |
1000 | + * Autogenerated by Thrift |
1001 | + * |
1002 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
1003 | + */ |
1004 | +#ifndef Errors_CONSTANTS_H |
1005 | +#define Errors_CONSTANTS_H |
1006 | + |
1007 | +#include "Errors_types.h" |
1008 | + |
1009 | +namespace evernote { namespace edam { |
1010 | + |
1011 | +class ErrorsConstants { |
1012 | + public: |
1013 | + ErrorsConstants(); |
1014 | + |
1015 | +}; |
1016 | + |
1017 | +extern const ErrorsConstants g_Errors_constants; |
1018 | + |
1019 | +}} // namespace |
1020 | + |
1021 | +#endif |
1022 | |
1023 | === added file '3rdParty/evernote-sdk-cpp/src/Errors_types.cpp' |
1024 | --- 3rdParty/evernote-sdk-cpp/src/Errors_types.cpp 1970-01-01 00:00:00 +0000 |
1025 | +++ 3rdParty/evernote-sdk-cpp/src/Errors_types.cpp 2013-11-22 21:43:19 +0000 |
1026 | @@ -0,0 +1,236 @@ |
1027 | +/** |
1028 | + * Autogenerated by Thrift |
1029 | + * |
1030 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
1031 | + */ |
1032 | +#include "Errors_types.h" |
1033 | + |
1034 | +namespace evernote { namespace edam { |
1035 | + |
1036 | +const char* EDAMUserException::ascii_fingerprint = "24652790C81ECE22B629CB60A19F1E93"; |
1037 | +const uint8_t EDAMUserException::binary_fingerprint[16] = {0x24,0x65,0x27,0x90,0xC8,0x1E,0xCE,0x22,0xB6,0x29,0xCB,0x60,0xA1,0x9F,0x1E,0x93}; |
1038 | + |
1039 | +uint32_t EDAMUserException::read(::apache::thrift::protocol::TProtocol* iprot) { |
1040 | + |
1041 | + uint32_t xfer = 0; |
1042 | + std::string fname; |
1043 | + ::apache::thrift::protocol::TType ftype; |
1044 | + int16_t fid; |
1045 | + |
1046 | + xfer += iprot->readStructBegin(fname); |
1047 | + |
1048 | + using ::apache::thrift::protocol::TProtocolException; |
1049 | + |
1050 | + bool isset_errorCode = false; |
1051 | + |
1052 | + while (true) |
1053 | + { |
1054 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
1055 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
1056 | + break; |
1057 | + } |
1058 | + switch (fid) |
1059 | + { |
1060 | + case 1: |
1061 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
1062 | + int32_t ecast0; |
1063 | + xfer += iprot->readI32(ecast0); |
1064 | + this->errorCode = (EDAMErrorCode::type)ecast0; |
1065 | + isset_errorCode = true; |
1066 | + } else { |
1067 | + xfer += iprot->skip(ftype); |
1068 | + } |
1069 | + break; |
1070 | + case 2: |
1071 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
1072 | + xfer += iprot->readString(this->parameter); |
1073 | + this->__isset.parameter = true; |
1074 | + } else { |
1075 | + xfer += iprot->skip(ftype); |
1076 | + } |
1077 | + break; |
1078 | + default: |
1079 | + xfer += iprot->skip(ftype); |
1080 | + break; |
1081 | + } |
1082 | + xfer += iprot->readFieldEnd(); |
1083 | + } |
1084 | + |
1085 | + xfer += iprot->readStructEnd(); |
1086 | + |
1087 | + if (!isset_errorCode) |
1088 | + throw TProtocolException(TProtocolException::INVALID_DATA); |
1089 | + return xfer; |
1090 | +} |
1091 | + |
1092 | +uint32_t EDAMUserException::write(::apache::thrift::protocol::TProtocol* oprot) const { |
1093 | + uint32_t xfer = 0; |
1094 | + xfer += oprot->writeStructBegin("EDAMUserException"); |
1095 | + xfer += oprot->writeFieldBegin("errorCode", ::apache::thrift::protocol::T_I32, 1); |
1096 | + xfer += oprot->writeI32((int32_t)this->errorCode); |
1097 | + xfer += oprot->writeFieldEnd(); |
1098 | + if (this->__isset.parameter) { |
1099 | + xfer += oprot->writeFieldBegin("parameter", ::apache::thrift::protocol::T_STRING, 2); |
1100 | + xfer += oprot->writeString(this->parameter); |
1101 | + xfer += oprot->writeFieldEnd(); |
1102 | + } |
1103 | + xfer += oprot->writeFieldStop(); |
1104 | + xfer += oprot->writeStructEnd(); |
1105 | + return xfer; |
1106 | +} |
1107 | + |
1108 | +const char* EDAMSystemException::ascii_fingerprint = "106D9EB644563D065C091D0BD32D7D44"; |
1109 | +const uint8_t EDAMSystemException::binary_fingerprint[16] = {0x10,0x6D,0x9E,0xB6,0x44,0x56,0x3D,0x06,0x5C,0x09,0x1D,0x0B,0xD3,0x2D,0x7D,0x44}; |
1110 | + |
1111 | +uint32_t EDAMSystemException::read(::apache::thrift::protocol::TProtocol* iprot) { |
1112 | + |
1113 | + uint32_t xfer = 0; |
1114 | + std::string fname; |
1115 | + ::apache::thrift::protocol::TType ftype; |
1116 | + int16_t fid; |
1117 | + |
1118 | + xfer += iprot->readStructBegin(fname); |
1119 | + |
1120 | + using ::apache::thrift::protocol::TProtocolException; |
1121 | + |
1122 | + bool isset_errorCode = false; |
1123 | + |
1124 | + while (true) |
1125 | + { |
1126 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
1127 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
1128 | + break; |
1129 | + } |
1130 | + switch (fid) |
1131 | + { |
1132 | + case 1: |
1133 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
1134 | + int32_t ecast1; |
1135 | + xfer += iprot->readI32(ecast1); |
1136 | + this->errorCode = (EDAMErrorCode::type)ecast1; |
1137 | + isset_errorCode = true; |
1138 | + } else { |
1139 | + xfer += iprot->skip(ftype); |
1140 | + } |
1141 | + break; |
1142 | + case 2: |
1143 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
1144 | + xfer += iprot->readString(this->message); |
1145 | + this->__isset.message = true; |
1146 | + } else { |
1147 | + xfer += iprot->skip(ftype); |
1148 | + } |
1149 | + break; |
1150 | + case 3: |
1151 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
1152 | + xfer += iprot->readI32(this->rateLimitDuration); |
1153 | + this->__isset.rateLimitDuration = true; |
1154 | + } else { |
1155 | + xfer += iprot->skip(ftype); |
1156 | + } |
1157 | + break; |
1158 | + default: |
1159 | + xfer += iprot->skip(ftype); |
1160 | + break; |
1161 | + } |
1162 | + xfer += iprot->readFieldEnd(); |
1163 | + } |
1164 | + |
1165 | + xfer += iprot->readStructEnd(); |
1166 | + |
1167 | + if (!isset_errorCode) |
1168 | + throw TProtocolException(TProtocolException::INVALID_DATA); |
1169 | + return xfer; |
1170 | +} |
1171 | + |
1172 | +uint32_t EDAMSystemException::write(::apache::thrift::protocol::TProtocol* oprot) const { |
1173 | + uint32_t xfer = 0; |
1174 | + xfer += oprot->writeStructBegin("EDAMSystemException"); |
1175 | + xfer += oprot->writeFieldBegin("errorCode", ::apache::thrift::protocol::T_I32, 1); |
1176 | + xfer += oprot->writeI32((int32_t)this->errorCode); |
1177 | + xfer += oprot->writeFieldEnd(); |
1178 | + if (this->__isset.message) { |
1179 | + xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 2); |
1180 | + xfer += oprot->writeString(this->message); |
1181 | + xfer += oprot->writeFieldEnd(); |
1182 | + } |
1183 | + if (this->__isset.rateLimitDuration) { |
1184 | + xfer += oprot->writeFieldBegin("rateLimitDuration", ::apache::thrift::protocol::T_I32, 3); |
1185 | + xfer += oprot->writeI32(this->rateLimitDuration); |
1186 | + xfer += oprot->writeFieldEnd(); |
1187 | + } |
1188 | + xfer += oprot->writeFieldStop(); |
1189 | + xfer += oprot->writeStructEnd(); |
1190 | + return xfer; |
1191 | +} |
1192 | + |
1193 | +const char* EDAMNotFoundException::ascii_fingerprint = "D0297FC5011701BD87898CC36146A565"; |
1194 | +const uint8_t EDAMNotFoundException::binary_fingerprint[16] = {0xD0,0x29,0x7F,0xC5,0x01,0x17,0x01,0xBD,0x87,0x89,0x8C,0xC3,0x61,0x46,0xA5,0x65}; |
1195 | + |
1196 | +uint32_t EDAMNotFoundException::read(::apache::thrift::protocol::TProtocol* iprot) { |
1197 | + |
1198 | + uint32_t xfer = 0; |
1199 | + std::string fname; |
1200 | + ::apache::thrift::protocol::TType ftype; |
1201 | + int16_t fid; |
1202 | + |
1203 | + xfer += iprot->readStructBegin(fname); |
1204 | + |
1205 | + using ::apache::thrift::protocol::TProtocolException; |
1206 | + |
1207 | + |
1208 | + while (true) |
1209 | + { |
1210 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
1211 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
1212 | + break; |
1213 | + } |
1214 | + switch (fid) |
1215 | + { |
1216 | + case 1: |
1217 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
1218 | + xfer += iprot->readString(this->identifier); |
1219 | + this->__isset.identifier = true; |
1220 | + } else { |
1221 | + xfer += iprot->skip(ftype); |
1222 | + } |
1223 | + break; |
1224 | + case 2: |
1225 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
1226 | + xfer += iprot->readString(this->key); |
1227 | + this->__isset.key = true; |
1228 | + } else { |
1229 | + xfer += iprot->skip(ftype); |
1230 | + } |
1231 | + break; |
1232 | + default: |
1233 | + xfer += iprot->skip(ftype); |
1234 | + break; |
1235 | + } |
1236 | + xfer += iprot->readFieldEnd(); |
1237 | + } |
1238 | + |
1239 | + xfer += iprot->readStructEnd(); |
1240 | + |
1241 | + return xfer; |
1242 | +} |
1243 | + |
1244 | +uint32_t EDAMNotFoundException::write(::apache::thrift::protocol::TProtocol* oprot) const { |
1245 | + uint32_t xfer = 0; |
1246 | + xfer += oprot->writeStructBegin("EDAMNotFoundException"); |
1247 | + if (this->__isset.identifier) { |
1248 | + xfer += oprot->writeFieldBegin("identifier", ::apache::thrift::protocol::T_STRING, 1); |
1249 | + xfer += oprot->writeString(this->identifier); |
1250 | + xfer += oprot->writeFieldEnd(); |
1251 | + } |
1252 | + if (this->__isset.key) { |
1253 | + xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 2); |
1254 | + xfer += oprot->writeString(this->key); |
1255 | + xfer += oprot->writeFieldEnd(); |
1256 | + } |
1257 | + xfer += oprot->writeFieldStop(); |
1258 | + xfer += oprot->writeStructEnd(); |
1259 | + return xfer; |
1260 | +} |
1261 | + |
1262 | +}} // namespace |
1263 | |
1264 | === added file '3rdParty/evernote-sdk-cpp/src/Errors_types.h' |
1265 | --- 3rdParty/evernote-sdk-cpp/src/Errors_types.h 1970-01-01 00:00:00 +0000 |
1266 | +++ 3rdParty/evernote-sdk-cpp/src/Errors_types.h 2013-11-22 21:43:19 +0000 |
1267 | @@ -0,0 +1,179 @@ |
1268 | +/** |
1269 | + * Autogenerated by Thrift |
1270 | + * |
1271 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
1272 | + */ |
1273 | +#ifndef Errors_TYPES_H |
1274 | +#define Errors_TYPES_H |
1275 | + |
1276 | +#include <Thrift.h> |
1277 | +#include <TApplicationException.h> |
1278 | +#include <protocol/TProtocol.h> |
1279 | +#include <transport/TTransport.h> |
1280 | + |
1281 | + |
1282 | + |
1283 | +namespace evernote { namespace edam { |
1284 | + |
1285 | +struct EDAMErrorCode { |
1286 | + enum type { |
1287 | + UNKNOWN = 1, |
1288 | + BAD_DATA_FORMAT = 2, |
1289 | + PERMISSION_DENIED = 3, |
1290 | + INTERNAL_ERROR = 4, |
1291 | + DATA_REQUIRED = 5, |
1292 | + LIMIT_REACHED = 6, |
1293 | + QUOTA_REACHED = 7, |
1294 | + INVALID_AUTH = 8, |
1295 | + AUTH_EXPIRED = 9, |
1296 | + DATA_CONFLICT = 10, |
1297 | + ENML_VALIDATION = 11, |
1298 | + SHARD_UNAVAILABLE = 12, |
1299 | + LEN_TOO_SHORT = 13, |
1300 | + LEN_TOO_LONG = 14, |
1301 | + TOO_FEW = 15, |
1302 | + TOO_MANY = 16, |
1303 | + UNSUPPORTED_OPERATION = 17, |
1304 | + TAKEN_DOWN = 18, |
1305 | + RATE_LIMIT_REACHED = 19 |
1306 | + }; |
1307 | +}; |
1308 | + |
1309 | +typedef struct _EDAMUserException__isset { |
1310 | + _EDAMUserException__isset() : parameter(false) {} |
1311 | + bool parameter; |
1312 | +} _EDAMUserException__isset; |
1313 | + |
1314 | +class EDAMUserException : public ::apache::thrift::TException { |
1315 | + public: |
1316 | + |
1317 | + static const char* ascii_fingerprint; // = "24652790C81ECE22B629CB60A19F1E93"; |
1318 | + static const uint8_t binary_fingerprint[16]; // = {0x24,0x65,0x27,0x90,0xC8,0x1E,0xCE,0x22,0xB6,0x29,0xCB,0x60,0xA1,0x9F,0x1E,0x93}; |
1319 | + |
1320 | + EDAMUserException() : parameter("") { |
1321 | + } |
1322 | + |
1323 | + virtual ~EDAMUserException() throw() {} |
1324 | + |
1325 | + EDAMErrorCode::type errorCode; |
1326 | + std::string parameter; |
1327 | + |
1328 | + _EDAMUserException__isset __isset; |
1329 | + |
1330 | + bool operator == (const EDAMUserException & rhs) const |
1331 | + { |
1332 | + if (!(errorCode == rhs.errorCode)) |
1333 | + return false; |
1334 | + if (__isset.parameter != rhs.__isset.parameter) |
1335 | + return false; |
1336 | + else if (__isset.parameter && !(parameter == rhs.parameter)) |
1337 | + return false; |
1338 | + return true; |
1339 | + } |
1340 | + bool operator != (const EDAMUserException &rhs) const { |
1341 | + return !(*this == rhs); |
1342 | + } |
1343 | + |
1344 | + bool operator < (const EDAMUserException & ) const; |
1345 | + |
1346 | + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); |
1347 | + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; |
1348 | + |
1349 | +}; |
1350 | + |
1351 | +typedef struct _EDAMSystemException__isset { |
1352 | + _EDAMSystemException__isset() : message(false), rateLimitDuration(false) {} |
1353 | + bool message; |
1354 | + bool rateLimitDuration; |
1355 | +} _EDAMSystemException__isset; |
1356 | + |
1357 | +class EDAMSystemException : public ::apache::thrift::TException { |
1358 | + public: |
1359 | + |
1360 | + static const char* ascii_fingerprint; // = "106D9EB644563D065C091D0BD32D7D44"; |
1361 | + static const uint8_t binary_fingerprint[16]; // = {0x10,0x6D,0x9E,0xB6,0x44,0x56,0x3D,0x06,0x5C,0x09,0x1D,0x0B,0xD3,0x2D,0x7D,0x44}; |
1362 | + |
1363 | + EDAMSystemException() : message(""), rateLimitDuration(0) { |
1364 | + } |
1365 | + |
1366 | + virtual ~EDAMSystemException() throw() {} |
1367 | + |
1368 | + EDAMErrorCode::type errorCode; |
1369 | + std::string message; |
1370 | + int32_t rateLimitDuration; |
1371 | + |
1372 | + _EDAMSystemException__isset __isset; |
1373 | + |
1374 | + bool operator == (const EDAMSystemException & rhs) const |
1375 | + { |
1376 | + if (!(errorCode == rhs.errorCode)) |
1377 | + return false; |
1378 | + if (__isset.message != rhs.__isset.message) |
1379 | + return false; |
1380 | + else if (__isset.message && !(message == rhs.message)) |
1381 | + return false; |
1382 | + if (__isset.rateLimitDuration != rhs.__isset.rateLimitDuration) |
1383 | + return false; |
1384 | + else if (__isset.rateLimitDuration && !(rateLimitDuration == rhs.rateLimitDuration)) |
1385 | + return false; |
1386 | + return true; |
1387 | + } |
1388 | + bool operator != (const EDAMSystemException &rhs) const { |
1389 | + return !(*this == rhs); |
1390 | + } |
1391 | + |
1392 | + bool operator < (const EDAMSystemException & ) const; |
1393 | + |
1394 | + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); |
1395 | + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; |
1396 | + |
1397 | +}; |
1398 | + |
1399 | +typedef struct _EDAMNotFoundException__isset { |
1400 | + _EDAMNotFoundException__isset() : identifier(false), key(false) {} |
1401 | + bool identifier; |
1402 | + bool key; |
1403 | +} _EDAMNotFoundException__isset; |
1404 | + |
1405 | +class EDAMNotFoundException : public ::apache::thrift::TException { |
1406 | + public: |
1407 | + |
1408 | + static const char* ascii_fingerprint; // = "D0297FC5011701BD87898CC36146A565"; |
1409 | + static const uint8_t binary_fingerprint[16]; // = {0xD0,0x29,0x7F,0xC5,0x01,0x17,0x01,0xBD,0x87,0x89,0x8C,0xC3,0x61,0x46,0xA5,0x65}; |
1410 | + |
1411 | + EDAMNotFoundException() : identifier(""), key("") { |
1412 | + } |
1413 | + |
1414 | + virtual ~EDAMNotFoundException() throw() {} |
1415 | + |
1416 | + std::string identifier; |
1417 | + std::string key; |
1418 | + |
1419 | + _EDAMNotFoundException__isset __isset; |
1420 | + |
1421 | + bool operator == (const EDAMNotFoundException & rhs) const |
1422 | + { |
1423 | + if (__isset.identifier != rhs.__isset.identifier) |
1424 | + return false; |
1425 | + else if (__isset.identifier && !(identifier == rhs.identifier)) |
1426 | + return false; |
1427 | + if (__isset.key != rhs.__isset.key) |
1428 | + return false; |
1429 | + else if (__isset.key && !(key == rhs.key)) |
1430 | + return false; |
1431 | + return true; |
1432 | + } |
1433 | + bool operator != (const EDAMNotFoundException &rhs) const { |
1434 | + return !(*this == rhs); |
1435 | + } |
1436 | + |
1437 | + bool operator < (const EDAMNotFoundException & ) const; |
1438 | + |
1439 | + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); |
1440 | + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; |
1441 | + |
1442 | +}; |
1443 | + |
1444 | +}} // namespace |
1445 | + |
1446 | +#endif |
1447 | |
1448 | === added file '3rdParty/evernote-sdk-cpp/src/Limits_constants.cpp' |
1449 | --- 3rdParty/evernote-sdk-cpp/src/Limits_constants.cpp 1970-01-01 00:00:00 +0000 |
1450 | +++ 3rdParty/evernote-sdk-cpp/src/Limits_constants.cpp 2013-11-22 21:43:19 +0000 |
1451 | @@ -0,0 +1,320 @@ |
1452 | +/** |
1453 | + * Autogenerated by Thrift |
1454 | + * |
1455 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
1456 | + */ |
1457 | +#include "Limits_constants.h" |
1458 | + |
1459 | +namespace evernote { namespace limits { |
1460 | + |
1461 | +const LimitsConstants g_Limits_constants; |
1462 | + |
1463 | +LimitsConstants::LimitsConstants() { |
1464 | + EDAM_ATTRIBUTE_LEN_MIN = 1; |
1465 | + |
1466 | + EDAM_ATTRIBUTE_LEN_MAX = 4096; |
1467 | + |
1468 | + EDAM_ATTRIBUTE_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,4096}$"; |
1469 | + |
1470 | + EDAM_ATTRIBUTE_LIST_MAX = 100; |
1471 | + |
1472 | + EDAM_ATTRIBUTE_MAP_MAX = 100; |
1473 | + |
1474 | + EDAM_GUID_LEN_MIN = 36; |
1475 | + |
1476 | + EDAM_GUID_LEN_MAX = 36; |
1477 | + |
1478 | + EDAM_GUID_REGEX = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"; |
1479 | + |
1480 | + EDAM_EMAIL_LEN_MIN = 6; |
1481 | + |
1482 | + EDAM_EMAIL_LEN_MAX = 255; |
1483 | + |
1484 | + EDAM_EMAIL_LOCAL_REGEX = "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*$"; |
1485 | + |
1486 | + EDAM_EMAIL_DOMAIN_REGEX = "^[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$"; |
1487 | + |
1488 | + EDAM_EMAIL_REGEX = "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$"; |
1489 | + |
1490 | + EDAM_VAT_REGEX = "^((AT)?U[0-9]{8}|(BE)?0?[0-9]{9}|(BG)?[0-9]{9,10}|(CY)?[0-9]{8}L|(CZ)?[0-9]{8,10}|(DE)?[0-9]{9}|(DK)?[0-9]{8}|(EE)?[0-9]{9}|(EL|GR)?[0-9]{9}|(ES)?[0-9A-Z][0-9]{7}[0-9A-Z]|(FI)?[0-9]{8}|(FR)?[0-9A-Z]{2}[0-9]{9}|(GB)?([0-9]{9}([0-9]{3})?|[A-Z]{2}[0-9]{3})|(HU)?[0-9]{8}|(IE)?[0-9]S[0-9]{5}L|(IT)?[0-9]{11}|(LT)?([0-9]{9}|[0-9]{12})|(LU)?[0-9]{8}|(LV)?[0-9]{11}|(MT)?[0-9]{8}|(NL)?[0-9]{9}B[0-9]{2}|(PL)?[0-9]{10}|(PT)?[0-9]{9}|(RO)?[0-9]{2,10}|(SE)?[0-9]{12}|(SI)?[0-9]{8}|(SK)?[0-9]{10})|[0-9]{9}MVA|[0-9]{6}|CHE[0-9]{9}(TVA|MWST|IVA)$"; |
1491 | + |
1492 | + EDAM_TIMEZONE_LEN_MIN = 1; |
1493 | + |
1494 | + EDAM_TIMEZONE_LEN_MAX = 32; |
1495 | + |
1496 | + EDAM_TIMEZONE_REGEX = "^([A-Za-z_-]+(/[A-Za-z_-]+)*)|(GMT(-|\\+)[0-9]{1,2}(:[0-9]{2})?)$"; |
1497 | + |
1498 | + EDAM_MIME_LEN_MIN = 3; |
1499 | + |
1500 | + EDAM_MIME_LEN_MAX = 255; |
1501 | + |
1502 | + EDAM_MIME_REGEX = "^[A-Za-z]+/[A-Za-z0-9._+-]+$"; |
1503 | + |
1504 | + EDAM_MIME_TYPE_GIF = "image/gif"; |
1505 | + |
1506 | + EDAM_MIME_TYPE_JPEG = "image/jpeg"; |
1507 | + |
1508 | + EDAM_MIME_TYPE_PNG = "image/png"; |
1509 | + |
1510 | + EDAM_MIME_TYPE_WAV = "audio/wav"; |
1511 | + |
1512 | + EDAM_MIME_TYPE_MP3 = "audio/mpeg"; |
1513 | + |
1514 | + EDAM_MIME_TYPE_AMR = "audio/amr"; |
1515 | + |
1516 | + EDAM_MIME_TYPE_AAC = "audio/aac"; |
1517 | + |
1518 | + EDAM_MIME_TYPE_M4A = "audio/mp4"; |
1519 | + |
1520 | + EDAM_MIME_TYPE_MP4_VIDEO = "video/mp4"; |
1521 | + |
1522 | + EDAM_MIME_TYPE_INK = "application/vnd.evernote.ink"; |
1523 | + |
1524 | + EDAM_MIME_TYPE_PDF = "application/pdf"; |
1525 | + |
1526 | + EDAM_MIME_TYPE_DEFAULT = "application/octet-stream"; |
1527 | + |
1528 | + EDAM_MIME_TYPES.insert("image/gif"); |
1529 | + EDAM_MIME_TYPES.insert("image/jpeg"); |
1530 | + EDAM_MIME_TYPES.insert("image/png"); |
1531 | + EDAM_MIME_TYPES.insert("audio/wav"); |
1532 | + EDAM_MIME_TYPES.insert("audio/mpeg"); |
1533 | + EDAM_MIME_TYPES.insert("audio/amr"); |
1534 | + EDAM_MIME_TYPES.insert("application/vnd.evernote.ink"); |
1535 | + EDAM_MIME_TYPES.insert("application/pdf"); |
1536 | + EDAM_MIME_TYPES.insert("video/mp4"); |
1537 | + EDAM_MIME_TYPES.insert("audio/aac"); |
1538 | + EDAM_MIME_TYPES.insert("audio/mp4"); |
1539 | + |
1540 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/msword"); |
1541 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/mspowerpoint"); |
1542 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/excel"); |
1543 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.ms-word"); |
1544 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.ms-powerpoint"); |
1545 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.ms-excel"); |
1546 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.openxmlformats-officedocument.wordprocessingml.document"); |
1547 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.openxmlformats-officedocument.presentationml.presentation"); |
1548 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); |
1549 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.apple.pages"); |
1550 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.apple.numbers"); |
1551 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/vnd.apple.keynote"); |
1552 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/x-iwork-pages-sffpages"); |
1553 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/x-iwork-numbers-sffnumbers"); |
1554 | + EDAM_INDEXABLE_RESOURCE_MIME_TYPES.insert("application/x-iwork-keynote-sffkey"); |
1555 | + |
1556 | + EDAM_SEARCH_QUERY_LEN_MIN = 0; |
1557 | + |
1558 | + EDAM_SEARCH_QUERY_LEN_MAX = 1024; |
1559 | + |
1560 | + EDAM_SEARCH_QUERY_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{0,1024}$"; |
1561 | + |
1562 | + EDAM_HASH_LEN = 16; |
1563 | + |
1564 | + EDAM_USER_USERNAME_LEN_MIN = 1; |
1565 | + |
1566 | + EDAM_USER_USERNAME_LEN_MAX = 64; |
1567 | + |
1568 | + EDAM_USER_USERNAME_REGEX = "^[a-z0-9]([a-z0-9_-]{0,62}[a-z0-9])?$"; |
1569 | + |
1570 | + EDAM_USER_NAME_LEN_MIN = 1; |
1571 | + |
1572 | + EDAM_USER_NAME_LEN_MAX = 255; |
1573 | + |
1574 | + EDAM_USER_NAME_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,255}$"; |
1575 | + |
1576 | + EDAM_TAG_NAME_LEN_MIN = 1; |
1577 | + |
1578 | + EDAM_TAG_NAME_LEN_MAX = 100; |
1579 | + |
1580 | + EDAM_TAG_NAME_REGEX = "^[^,\\p{Cc}\\p{Z}]([^,\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^,\\p{Cc}\\p{Z}])?$"; |
1581 | + |
1582 | + EDAM_NOTE_TITLE_LEN_MIN = 1; |
1583 | + |
1584 | + EDAM_NOTE_TITLE_LEN_MAX = 255; |
1585 | + |
1586 | + EDAM_NOTE_TITLE_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,253}[^\\p{Cc}\\p{Z}])?$"; |
1587 | + |
1588 | + EDAM_NOTE_CONTENT_LEN_MIN = 0; |
1589 | + |
1590 | + EDAM_NOTE_CONTENT_LEN_MAX = 5242880; |
1591 | + |
1592 | + EDAM_APPLICATIONDATA_NAME_LEN_MIN = 3; |
1593 | + |
1594 | + EDAM_APPLICATIONDATA_NAME_LEN_MAX = 32; |
1595 | + |
1596 | + EDAM_APPLICATIONDATA_VALUE_LEN_MIN = 0; |
1597 | + |
1598 | + EDAM_APPLICATIONDATA_VALUE_LEN_MAX = 4092; |
1599 | + |
1600 | + EDAM_APPLICATIONDATA_ENTRY_LEN_MAX = 4095; |
1601 | + |
1602 | + EDAM_APPLICATIONDATA_NAME_REGEX = "^[A-Za-z0-9_.-]{3,32}$"; |
1603 | + |
1604 | + EDAM_APPLICATIONDATA_VALUE_REGEX = "^[^\\p{Cc}]{0,4092}$"; |
1605 | + |
1606 | + EDAM_NOTEBOOK_NAME_LEN_MIN = 1; |
1607 | + |
1608 | + EDAM_NOTEBOOK_NAME_LEN_MAX = 100; |
1609 | + |
1610 | + EDAM_NOTEBOOK_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"; |
1611 | + |
1612 | + EDAM_NOTEBOOK_STACK_LEN_MIN = 1; |
1613 | + |
1614 | + EDAM_NOTEBOOK_STACK_LEN_MAX = 100; |
1615 | + |
1616 | + EDAM_NOTEBOOK_STACK_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"; |
1617 | + |
1618 | + EDAM_PUBLISHING_URI_LEN_MIN = 1; |
1619 | + |
1620 | + EDAM_PUBLISHING_URI_LEN_MAX = 255; |
1621 | + |
1622 | + EDAM_PUBLISHING_URI_REGEX = "^[a-zA-Z0-9.~_+-]{1,255}$"; |
1623 | + |
1624 | + EDAM_PUBLISHING_URI_PROHIBITED.insert(".."); |
1625 | + |
1626 | + EDAM_PUBLISHING_DESCRIPTION_LEN_MIN = 1; |
1627 | + |
1628 | + EDAM_PUBLISHING_DESCRIPTION_LEN_MAX = 200; |
1629 | + |
1630 | + EDAM_PUBLISHING_DESCRIPTION_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$"; |
1631 | + |
1632 | + EDAM_SAVED_SEARCH_NAME_LEN_MIN = 1; |
1633 | + |
1634 | + EDAM_SAVED_SEARCH_NAME_LEN_MAX = 100; |
1635 | + |
1636 | + EDAM_SAVED_SEARCH_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"; |
1637 | + |
1638 | + EDAM_USER_PASSWORD_LEN_MIN = 6; |
1639 | + |
1640 | + EDAM_USER_PASSWORD_LEN_MAX = 64; |
1641 | + |
1642 | + EDAM_USER_PASSWORD_REGEX = "^[A-Za-z0-9!#$%&'()*+,./:;<=>?@^_`{|}~\\[\\]\\\\-]{6,64}$"; |
1643 | + |
1644 | + EDAM_BUSINESS_URI_LEN_MAX = 32; |
1645 | + |
1646 | + EDAM_NOTE_TAGS_MAX = 100; |
1647 | + |
1648 | + EDAM_NOTE_RESOURCES_MAX = 1000; |
1649 | + |
1650 | + EDAM_USER_TAGS_MAX = 100000; |
1651 | + |
1652 | + EDAM_BUSINESS_TAGS_MAX = 100000; |
1653 | + |
1654 | + EDAM_USER_SAVED_SEARCHES_MAX = 100; |
1655 | + |
1656 | + EDAM_USER_NOTES_MAX = 100000; |
1657 | + |
1658 | + EDAM_BUSINESS_NOTES_MAX = 500000; |
1659 | + |
1660 | + EDAM_USER_NOTEBOOKS_MAX = 250; |
1661 | + |
1662 | + EDAM_BUSINESS_NOTEBOOKS_MAX = 5000; |
1663 | + |
1664 | + EDAM_USER_RECENT_MAILED_ADDRESSES_MAX = 10; |
1665 | + |
1666 | + EDAM_USER_MAIL_LIMIT_DAILY_FREE = 50; |
1667 | + |
1668 | + EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM = 200; |
1669 | + |
1670 | + EDAM_USER_UPLOAD_LIMIT_FREE = 62914560LL; |
1671 | + |
1672 | + EDAM_USER_UPLOAD_LIMIT_PREMIUM = 1073741824LL; |
1673 | + |
1674 | + EDAM_USER_UPLOAD_LIMIT_BUSINESS = 2147483647LL; |
1675 | + |
1676 | + EDAM_NOTE_SIZE_MAX_FREE = 26214400; |
1677 | + |
1678 | + EDAM_NOTE_SIZE_MAX_PREMIUM = 104857600; |
1679 | + |
1680 | + EDAM_RESOURCE_SIZE_MAX_FREE = 26214400; |
1681 | + |
1682 | + EDAM_RESOURCE_SIZE_MAX_PREMIUM = 104857600; |
1683 | + |
1684 | + EDAM_USER_LINKED_NOTEBOOK_MAX = 100; |
1685 | + |
1686 | + EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM = 250; |
1687 | + |
1688 | + EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX = 250; |
1689 | + |
1690 | + EDAM_NOTE_CONTENT_CLASS_LEN_MIN = 3; |
1691 | + |
1692 | + EDAM_NOTE_CONTENT_CLASS_LEN_MAX = 32; |
1693 | + |
1694 | + EDAM_NOTE_CONTENT_CLASS_REGEX = "^[A-Za-z0-9_.-]{3,32}$"; |
1695 | + |
1696 | + EDAM_HELLO_APP_CONTENT_CLASS_PREFIX = "evernote.hello."; |
1697 | + |
1698 | + EDAM_FOOD_APP_CONTENT_CLASS_PREFIX = "evernote.food."; |
1699 | + |
1700 | + EDAM_CONTENT_CLASS_HELLO_ENCOUNTER = "evernote.hello.encounter"; |
1701 | + |
1702 | + EDAM_CONTENT_CLASS_HELLO_PROFILE = "evernote.hello.profile"; |
1703 | + |
1704 | + EDAM_CONTENT_CLASS_FOOD_MEAL = "evernote.food.meal"; |
1705 | + |
1706 | + EDAM_CONTENT_CLASS_SKITCH_PREFIX = "evernote.skitch"; |
1707 | + |
1708 | + EDAM_CONTENT_CLASS_SKITCH = "evernote.skitch"; |
1709 | + |
1710 | + EDAM_CONTENT_CLASS_SKITCH_PDF = "evernote.skitch.pdf"; |
1711 | + |
1712 | + EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX = "evernote.penultimate."; |
1713 | + |
1714 | + EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK = "evernote.penultimate.notebook"; |
1715 | + |
1716 | + EDAM_RELATED_PLAINTEXT_LEN_MIN = 1; |
1717 | + |
1718 | + EDAM_RELATED_PLAINTEXT_LEN_MAX = 131072; |
1719 | + |
1720 | + EDAM_RELATED_MAX_NOTES = 25; |
1721 | + |
1722 | + EDAM_RELATED_MAX_NOTEBOOKS = 1; |
1723 | + |
1724 | + EDAM_RELATED_MAX_TAGS = 25; |
1725 | + |
1726 | + EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN = 1; |
1727 | + |
1728 | + EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX = 200; |
1729 | + |
1730 | + EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$"; |
1731 | + |
1732 | + EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX = 20; |
1733 | + |
1734 | + EDAM_PREFERENCE_NAME_LEN_MIN = 3; |
1735 | + |
1736 | + EDAM_PREFERENCE_NAME_LEN_MAX = 32; |
1737 | + |
1738 | + EDAM_PREFERENCE_VALUE_LEN_MIN = 1; |
1739 | + |
1740 | + EDAM_PREFERENCE_VALUE_LEN_MAX = 1024; |
1741 | + |
1742 | + EDAM_MAX_PREFERENCES = 100; |
1743 | + |
1744 | + EDAM_MAX_VALUES_PER_PREFERENCE = 256; |
1745 | + |
1746 | + EDAM_PREFERENCE_NAME_REGEX = "^[A-Za-z0-9_.-]{3,32}$"; |
1747 | + |
1748 | + EDAM_PREFERENCE_VALUE_REGEX = "^[^\\p{Cc}]{1,1024}$"; |
1749 | + |
1750 | + EDAM_PREFERENCE_SHORTCUTS = "evernote.shortcuts"; |
1751 | + |
1752 | + EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES = 250; |
1753 | + |
1754 | + EDAM_DEVICE_ID_LEN_MAX = 32; |
1755 | + |
1756 | + EDAM_DEVICE_ID_REGEX = "^[^\\p{Cc}]{1,32}$"; |
1757 | + |
1758 | + EDAM_DEVICE_DESCRIPTION_LEN_MAX = 64; |
1759 | + |
1760 | + EDAM_DEVICE_DESCRIPTION_REGEX = "^[^\\p{Cc}]{1,64}$"; |
1761 | + |
1762 | + EDAM_SEARCH_SUGGESTIONS_MAX = 10; |
1763 | + |
1764 | + EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX = 1024; |
1765 | + |
1766 | + EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN = 2; |
1767 | + |
1768 | +} |
1769 | + |
1770 | +}} // namespace |
1771 | + |
1772 | |
1773 | === added file '3rdParty/evernote-sdk-cpp/src/Limits_constants.h' |
1774 | --- 3rdParty/evernote-sdk-cpp/src/Limits_constants.h 1970-01-01 00:00:00 +0000 |
1775 | +++ 3rdParty/evernote-sdk-cpp/src/Limits_constants.h 2013-11-22 21:43:19 +0000 |
1776 | @@ -0,0 +1,163 @@ |
1777 | +/** |
1778 | + * Autogenerated by Thrift |
1779 | + * |
1780 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
1781 | + */ |
1782 | +#ifndef Limits_CONSTANTS_H |
1783 | +#define Limits_CONSTANTS_H |
1784 | + |
1785 | +#include "Limits_types.h" |
1786 | + |
1787 | +namespace evernote { namespace limits { |
1788 | + |
1789 | +class LimitsConstants { |
1790 | + public: |
1791 | + LimitsConstants(); |
1792 | + |
1793 | + int32_t EDAM_ATTRIBUTE_LEN_MIN; |
1794 | + int32_t EDAM_ATTRIBUTE_LEN_MAX; |
1795 | + std::string EDAM_ATTRIBUTE_REGEX; |
1796 | + int32_t EDAM_ATTRIBUTE_LIST_MAX; |
1797 | + int32_t EDAM_ATTRIBUTE_MAP_MAX; |
1798 | + int32_t EDAM_GUID_LEN_MIN; |
1799 | + int32_t EDAM_GUID_LEN_MAX; |
1800 | + std::string EDAM_GUID_REGEX; |
1801 | + int32_t EDAM_EMAIL_LEN_MIN; |
1802 | + int32_t EDAM_EMAIL_LEN_MAX; |
1803 | + std::string EDAM_EMAIL_LOCAL_REGEX; |
1804 | + std::string EDAM_EMAIL_DOMAIN_REGEX; |
1805 | + std::string EDAM_EMAIL_REGEX; |
1806 | + std::string EDAM_VAT_REGEX; |
1807 | + int32_t EDAM_TIMEZONE_LEN_MIN; |
1808 | + int32_t EDAM_TIMEZONE_LEN_MAX; |
1809 | + std::string EDAM_TIMEZONE_REGEX; |
1810 | + int32_t EDAM_MIME_LEN_MIN; |
1811 | + int32_t EDAM_MIME_LEN_MAX; |
1812 | + std::string EDAM_MIME_REGEX; |
1813 | + std::string EDAM_MIME_TYPE_GIF; |
1814 | + std::string EDAM_MIME_TYPE_JPEG; |
1815 | + std::string EDAM_MIME_TYPE_PNG; |
1816 | + std::string EDAM_MIME_TYPE_WAV; |
1817 | + std::string EDAM_MIME_TYPE_MP3; |
1818 | + std::string EDAM_MIME_TYPE_AMR; |
1819 | + std::string EDAM_MIME_TYPE_AAC; |
1820 | + std::string EDAM_MIME_TYPE_M4A; |
1821 | + std::string EDAM_MIME_TYPE_MP4_VIDEO; |
1822 | + std::string EDAM_MIME_TYPE_INK; |
1823 | + std::string EDAM_MIME_TYPE_PDF; |
1824 | + std::string EDAM_MIME_TYPE_DEFAULT; |
1825 | + std::set<std::string> EDAM_MIME_TYPES; |
1826 | + std::set<std::string> EDAM_INDEXABLE_RESOURCE_MIME_TYPES; |
1827 | + int32_t EDAM_SEARCH_QUERY_LEN_MIN; |
1828 | + int32_t EDAM_SEARCH_QUERY_LEN_MAX; |
1829 | + std::string EDAM_SEARCH_QUERY_REGEX; |
1830 | + int32_t EDAM_HASH_LEN; |
1831 | + int32_t EDAM_USER_USERNAME_LEN_MIN; |
1832 | + int32_t EDAM_USER_USERNAME_LEN_MAX; |
1833 | + std::string EDAM_USER_USERNAME_REGEX; |
1834 | + int32_t EDAM_USER_NAME_LEN_MIN; |
1835 | + int32_t EDAM_USER_NAME_LEN_MAX; |
1836 | + std::string EDAM_USER_NAME_REGEX; |
1837 | + int32_t EDAM_TAG_NAME_LEN_MIN; |
1838 | + int32_t EDAM_TAG_NAME_LEN_MAX; |
1839 | + std::string EDAM_TAG_NAME_REGEX; |
1840 | + int32_t EDAM_NOTE_TITLE_LEN_MIN; |
1841 | + int32_t EDAM_NOTE_TITLE_LEN_MAX; |
1842 | + std::string EDAM_NOTE_TITLE_REGEX; |
1843 | + int32_t EDAM_NOTE_CONTENT_LEN_MIN; |
1844 | + int32_t EDAM_NOTE_CONTENT_LEN_MAX; |
1845 | + int32_t EDAM_APPLICATIONDATA_NAME_LEN_MIN; |
1846 | + int32_t EDAM_APPLICATIONDATA_NAME_LEN_MAX; |
1847 | + int32_t EDAM_APPLICATIONDATA_VALUE_LEN_MIN; |
1848 | + int32_t EDAM_APPLICATIONDATA_VALUE_LEN_MAX; |
1849 | + int32_t EDAM_APPLICATIONDATA_ENTRY_LEN_MAX; |
1850 | + std::string EDAM_APPLICATIONDATA_NAME_REGEX; |
1851 | + std::string EDAM_APPLICATIONDATA_VALUE_REGEX; |
1852 | + int32_t EDAM_NOTEBOOK_NAME_LEN_MIN; |
1853 | + int32_t EDAM_NOTEBOOK_NAME_LEN_MAX; |
1854 | + std::string EDAM_NOTEBOOK_NAME_REGEX; |
1855 | + int32_t EDAM_NOTEBOOK_STACK_LEN_MIN; |
1856 | + int32_t EDAM_NOTEBOOK_STACK_LEN_MAX; |
1857 | + std::string EDAM_NOTEBOOK_STACK_REGEX; |
1858 | + int32_t EDAM_PUBLISHING_URI_LEN_MIN; |
1859 | + int32_t EDAM_PUBLISHING_URI_LEN_MAX; |
1860 | + std::string EDAM_PUBLISHING_URI_REGEX; |
1861 | + std::set<std::string> EDAM_PUBLISHING_URI_PROHIBITED; |
1862 | + int32_t EDAM_PUBLISHING_DESCRIPTION_LEN_MIN; |
1863 | + int32_t EDAM_PUBLISHING_DESCRIPTION_LEN_MAX; |
1864 | + std::string EDAM_PUBLISHING_DESCRIPTION_REGEX; |
1865 | + int32_t EDAM_SAVED_SEARCH_NAME_LEN_MIN; |
1866 | + int32_t EDAM_SAVED_SEARCH_NAME_LEN_MAX; |
1867 | + std::string EDAM_SAVED_SEARCH_NAME_REGEX; |
1868 | + int32_t EDAM_USER_PASSWORD_LEN_MIN; |
1869 | + int32_t EDAM_USER_PASSWORD_LEN_MAX; |
1870 | + std::string EDAM_USER_PASSWORD_REGEX; |
1871 | + int32_t EDAM_BUSINESS_URI_LEN_MAX; |
1872 | + int32_t EDAM_NOTE_TAGS_MAX; |
1873 | + int32_t EDAM_NOTE_RESOURCES_MAX; |
1874 | + int32_t EDAM_USER_TAGS_MAX; |
1875 | + int32_t EDAM_BUSINESS_TAGS_MAX; |
1876 | + int32_t EDAM_USER_SAVED_SEARCHES_MAX; |
1877 | + int32_t EDAM_USER_NOTES_MAX; |
1878 | + int32_t EDAM_BUSINESS_NOTES_MAX; |
1879 | + int32_t EDAM_USER_NOTEBOOKS_MAX; |
1880 | + int32_t EDAM_BUSINESS_NOTEBOOKS_MAX; |
1881 | + int32_t EDAM_USER_RECENT_MAILED_ADDRESSES_MAX; |
1882 | + int32_t EDAM_USER_MAIL_LIMIT_DAILY_FREE; |
1883 | + int32_t EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM; |
1884 | + int64_t EDAM_USER_UPLOAD_LIMIT_FREE; |
1885 | + int64_t EDAM_USER_UPLOAD_LIMIT_PREMIUM; |
1886 | + int64_t EDAM_USER_UPLOAD_LIMIT_BUSINESS; |
1887 | + int32_t EDAM_NOTE_SIZE_MAX_FREE; |
1888 | + int32_t EDAM_NOTE_SIZE_MAX_PREMIUM; |
1889 | + int32_t EDAM_RESOURCE_SIZE_MAX_FREE; |
1890 | + int32_t EDAM_RESOURCE_SIZE_MAX_PREMIUM; |
1891 | + int32_t EDAM_USER_LINKED_NOTEBOOK_MAX; |
1892 | + int32_t EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM; |
1893 | + int32_t EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX; |
1894 | + int32_t EDAM_NOTE_CONTENT_CLASS_LEN_MIN; |
1895 | + int32_t EDAM_NOTE_CONTENT_CLASS_LEN_MAX; |
1896 | + std::string EDAM_NOTE_CONTENT_CLASS_REGEX; |
1897 | + std::string EDAM_HELLO_APP_CONTENT_CLASS_PREFIX; |
1898 | + std::string EDAM_FOOD_APP_CONTENT_CLASS_PREFIX; |
1899 | + std::string EDAM_CONTENT_CLASS_HELLO_ENCOUNTER; |
1900 | + std::string EDAM_CONTENT_CLASS_HELLO_PROFILE; |
1901 | + std::string EDAM_CONTENT_CLASS_FOOD_MEAL; |
1902 | + std::string EDAM_CONTENT_CLASS_SKITCH_PREFIX; |
1903 | + std::string EDAM_CONTENT_CLASS_SKITCH; |
1904 | + std::string EDAM_CONTENT_CLASS_SKITCH_PDF; |
1905 | + std::string EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX; |
1906 | + std::string EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK; |
1907 | + int32_t EDAM_RELATED_PLAINTEXT_LEN_MIN; |
1908 | + int32_t EDAM_RELATED_PLAINTEXT_LEN_MAX; |
1909 | + int32_t EDAM_RELATED_MAX_NOTES; |
1910 | + int32_t EDAM_RELATED_MAX_NOTEBOOKS; |
1911 | + int32_t EDAM_RELATED_MAX_TAGS; |
1912 | + int32_t EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN; |
1913 | + int32_t EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX; |
1914 | + std::string EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX; |
1915 | + int32_t EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX; |
1916 | + int32_t EDAM_PREFERENCE_NAME_LEN_MIN; |
1917 | + int32_t EDAM_PREFERENCE_NAME_LEN_MAX; |
1918 | + int32_t EDAM_PREFERENCE_VALUE_LEN_MIN; |
1919 | + int32_t EDAM_PREFERENCE_VALUE_LEN_MAX; |
1920 | + int32_t EDAM_MAX_PREFERENCES; |
1921 | + int32_t EDAM_MAX_VALUES_PER_PREFERENCE; |
1922 | + std::string EDAM_PREFERENCE_NAME_REGEX; |
1923 | + std::string EDAM_PREFERENCE_VALUE_REGEX; |
1924 | + std::string EDAM_PREFERENCE_SHORTCUTS; |
1925 | + int32_t EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES; |
1926 | + int32_t EDAM_DEVICE_ID_LEN_MAX; |
1927 | + std::string EDAM_DEVICE_ID_REGEX; |
1928 | + int32_t EDAM_DEVICE_DESCRIPTION_LEN_MAX; |
1929 | + std::string EDAM_DEVICE_DESCRIPTION_REGEX; |
1930 | + int32_t EDAM_SEARCH_SUGGESTIONS_MAX; |
1931 | + int32_t EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX; |
1932 | + int32_t EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN; |
1933 | +}; |
1934 | + |
1935 | +extern const LimitsConstants g_Limits_constants; |
1936 | + |
1937 | +}} // namespace |
1938 | + |
1939 | +#endif |
1940 | |
1941 | === added file '3rdParty/evernote-sdk-cpp/src/Limits_types.cpp' |
1942 | --- 3rdParty/evernote-sdk-cpp/src/Limits_types.cpp 1970-01-01 00:00:00 +0000 |
1943 | +++ 3rdParty/evernote-sdk-cpp/src/Limits_types.cpp 2013-11-22 21:43:19 +0000 |
1944 | @@ -0,0 +1,10 @@ |
1945 | +/** |
1946 | + * Autogenerated by Thrift |
1947 | + * |
1948 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
1949 | + */ |
1950 | +#include "Limits_types.h" |
1951 | + |
1952 | +namespace evernote { namespace limits { |
1953 | + |
1954 | +}} // namespace |
1955 | |
1956 | === added file '3rdParty/evernote-sdk-cpp/src/Limits_types.h' |
1957 | --- 3rdParty/evernote-sdk-cpp/src/Limits_types.h 1970-01-01 00:00:00 +0000 |
1958 | +++ 3rdParty/evernote-sdk-cpp/src/Limits_types.h 2013-11-22 21:43:19 +0000 |
1959 | @@ -0,0 +1,20 @@ |
1960 | +/** |
1961 | + * Autogenerated by Thrift |
1962 | + * |
1963 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
1964 | + */ |
1965 | +#ifndef Limits_TYPES_H |
1966 | +#define Limits_TYPES_H |
1967 | + |
1968 | +#include <Thrift.h> |
1969 | +#include <TApplicationException.h> |
1970 | +#include <protocol/TProtocol.h> |
1971 | +#include <transport/TTransport.h> |
1972 | + |
1973 | + |
1974 | + |
1975 | +namespace evernote { namespace limits { |
1976 | + |
1977 | +}} // namespace |
1978 | + |
1979 | +#endif |
1980 | |
1981 | === added file '3rdParty/evernote-sdk-cpp/src/NoteStore.cpp' |
1982 | --- 3rdParty/evernote-sdk-cpp/src/NoteStore.cpp 1970-01-01 00:00:00 +0000 |
1983 | +++ 3rdParty/evernote-sdk-cpp/src/NoteStore.cpp 2013-11-22 21:43:19 +0000 |
1984 | @@ -0,0 +1,25986 @@ |
1985 | +/** |
1986 | + * Autogenerated by Thrift |
1987 | + * |
1988 | + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
1989 | + */ |
1990 | +#include "NoteStore.h" |
1991 | + |
1992 | +namespace evernote { namespace edam { |
1993 | + |
1994 | +uint32_t NoteStore_getSyncState_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
1995 | + |
1996 | + uint32_t xfer = 0; |
1997 | + std::string fname; |
1998 | + ::apache::thrift::protocol::TType ftype; |
1999 | + int16_t fid; |
2000 | + |
2001 | + xfer += iprot->readStructBegin(fname); |
2002 | + |
2003 | + using ::apache::thrift::protocol::TProtocolException; |
2004 | + |
2005 | + |
2006 | + while (true) |
2007 | + { |
2008 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2009 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2010 | + break; |
2011 | + } |
2012 | + switch (fid) |
2013 | + { |
2014 | + case 1: |
2015 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
2016 | + xfer += iprot->readString(this->authenticationToken); |
2017 | + this->__isset.authenticationToken = true; |
2018 | + } else { |
2019 | + xfer += iprot->skip(ftype); |
2020 | + } |
2021 | + break; |
2022 | + default: |
2023 | + xfer += iprot->skip(ftype); |
2024 | + break; |
2025 | + } |
2026 | + xfer += iprot->readFieldEnd(); |
2027 | + } |
2028 | + |
2029 | + xfer += iprot->readStructEnd(); |
2030 | + |
2031 | + return xfer; |
2032 | +} |
2033 | + |
2034 | +uint32_t NoteStore_getSyncState_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2035 | + uint32_t xfer = 0; |
2036 | + xfer += oprot->writeStructBegin("NoteStore_getSyncState_args"); |
2037 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2038 | + xfer += oprot->writeString(this->authenticationToken); |
2039 | + xfer += oprot->writeFieldEnd(); |
2040 | + xfer += oprot->writeFieldStop(); |
2041 | + xfer += oprot->writeStructEnd(); |
2042 | + return xfer; |
2043 | +} |
2044 | + |
2045 | +uint32_t NoteStore_getSyncState_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2046 | + uint32_t xfer = 0; |
2047 | + xfer += oprot->writeStructBegin("NoteStore_getSyncState_pargs"); |
2048 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2049 | + xfer += oprot->writeString((*(this->authenticationToken))); |
2050 | + xfer += oprot->writeFieldEnd(); |
2051 | + xfer += oprot->writeFieldStop(); |
2052 | + xfer += oprot->writeStructEnd(); |
2053 | + return xfer; |
2054 | +} |
2055 | + |
2056 | +uint32_t NoteStore_getSyncState_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
2057 | + |
2058 | + uint32_t xfer = 0; |
2059 | + std::string fname; |
2060 | + ::apache::thrift::protocol::TType ftype; |
2061 | + int16_t fid; |
2062 | + |
2063 | + xfer += iprot->readStructBegin(fname); |
2064 | + |
2065 | + using ::apache::thrift::protocol::TProtocolException; |
2066 | + |
2067 | + |
2068 | + while (true) |
2069 | + { |
2070 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2071 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2072 | + break; |
2073 | + } |
2074 | + switch (fid) |
2075 | + { |
2076 | + case 0: |
2077 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2078 | + xfer += this->success.read(iprot); |
2079 | + this->__isset.success = true; |
2080 | + } else { |
2081 | + xfer += iprot->skip(ftype); |
2082 | + } |
2083 | + break; |
2084 | + case 1: |
2085 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2086 | + xfer += this->userException.read(iprot); |
2087 | + this->__isset.userException = true; |
2088 | + } else { |
2089 | + xfer += iprot->skip(ftype); |
2090 | + } |
2091 | + break; |
2092 | + case 2: |
2093 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2094 | + xfer += this->systemException.read(iprot); |
2095 | + this->__isset.systemException = true; |
2096 | + } else { |
2097 | + xfer += iprot->skip(ftype); |
2098 | + } |
2099 | + break; |
2100 | + default: |
2101 | + xfer += iprot->skip(ftype); |
2102 | + break; |
2103 | + } |
2104 | + xfer += iprot->readFieldEnd(); |
2105 | + } |
2106 | + |
2107 | + xfer += iprot->readStructEnd(); |
2108 | + |
2109 | + return xfer; |
2110 | +} |
2111 | + |
2112 | +uint32_t NoteStore_getSyncState_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2113 | + |
2114 | + uint32_t xfer = 0; |
2115 | + |
2116 | + xfer += oprot->writeStructBegin("NoteStore_getSyncState_result"); |
2117 | + |
2118 | + if (this->__isset.success) { |
2119 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
2120 | + xfer += this->success.write(oprot); |
2121 | + xfer += oprot->writeFieldEnd(); |
2122 | + } else if (this->__isset.userException) { |
2123 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
2124 | + xfer += this->userException.write(oprot); |
2125 | + xfer += oprot->writeFieldEnd(); |
2126 | + } else if (this->__isset.systemException) { |
2127 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
2128 | + xfer += this->systemException.write(oprot); |
2129 | + xfer += oprot->writeFieldEnd(); |
2130 | + } |
2131 | + xfer += oprot->writeFieldStop(); |
2132 | + xfer += oprot->writeStructEnd(); |
2133 | + return xfer; |
2134 | +} |
2135 | + |
2136 | +uint32_t NoteStore_getSyncState_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
2137 | + |
2138 | + uint32_t xfer = 0; |
2139 | + std::string fname; |
2140 | + ::apache::thrift::protocol::TType ftype; |
2141 | + int16_t fid; |
2142 | + |
2143 | + xfer += iprot->readStructBegin(fname); |
2144 | + |
2145 | + using ::apache::thrift::protocol::TProtocolException; |
2146 | + |
2147 | + |
2148 | + while (true) |
2149 | + { |
2150 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2151 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2152 | + break; |
2153 | + } |
2154 | + switch (fid) |
2155 | + { |
2156 | + case 0: |
2157 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2158 | + xfer += (*(this->success)).read(iprot); |
2159 | + this->__isset.success = true; |
2160 | + } else { |
2161 | + xfer += iprot->skip(ftype); |
2162 | + } |
2163 | + break; |
2164 | + case 1: |
2165 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2166 | + xfer += this->userException.read(iprot); |
2167 | + this->__isset.userException = true; |
2168 | + } else { |
2169 | + xfer += iprot->skip(ftype); |
2170 | + } |
2171 | + break; |
2172 | + case 2: |
2173 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2174 | + xfer += this->systemException.read(iprot); |
2175 | + this->__isset.systemException = true; |
2176 | + } else { |
2177 | + xfer += iprot->skip(ftype); |
2178 | + } |
2179 | + break; |
2180 | + default: |
2181 | + xfer += iprot->skip(ftype); |
2182 | + break; |
2183 | + } |
2184 | + xfer += iprot->readFieldEnd(); |
2185 | + } |
2186 | + |
2187 | + xfer += iprot->readStructEnd(); |
2188 | + |
2189 | + return xfer; |
2190 | +} |
2191 | + |
2192 | +uint32_t NoteStore_getSyncStateWithMetrics_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
2193 | + |
2194 | + uint32_t xfer = 0; |
2195 | + std::string fname; |
2196 | + ::apache::thrift::protocol::TType ftype; |
2197 | + int16_t fid; |
2198 | + |
2199 | + xfer += iprot->readStructBegin(fname); |
2200 | + |
2201 | + using ::apache::thrift::protocol::TProtocolException; |
2202 | + |
2203 | + |
2204 | + while (true) |
2205 | + { |
2206 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2207 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2208 | + break; |
2209 | + } |
2210 | + switch (fid) |
2211 | + { |
2212 | + case 1: |
2213 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
2214 | + xfer += iprot->readString(this->authenticationToken); |
2215 | + this->__isset.authenticationToken = true; |
2216 | + } else { |
2217 | + xfer += iprot->skip(ftype); |
2218 | + } |
2219 | + break; |
2220 | + case 2: |
2221 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2222 | + xfer += this->clientMetrics.read(iprot); |
2223 | + this->__isset.clientMetrics = true; |
2224 | + } else { |
2225 | + xfer += iprot->skip(ftype); |
2226 | + } |
2227 | + break; |
2228 | + default: |
2229 | + xfer += iprot->skip(ftype); |
2230 | + break; |
2231 | + } |
2232 | + xfer += iprot->readFieldEnd(); |
2233 | + } |
2234 | + |
2235 | + xfer += iprot->readStructEnd(); |
2236 | + |
2237 | + return xfer; |
2238 | +} |
2239 | + |
2240 | +uint32_t NoteStore_getSyncStateWithMetrics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2241 | + uint32_t xfer = 0; |
2242 | + xfer += oprot->writeStructBegin("NoteStore_getSyncStateWithMetrics_args"); |
2243 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2244 | + xfer += oprot->writeString(this->authenticationToken); |
2245 | + xfer += oprot->writeFieldEnd(); |
2246 | + xfer += oprot->writeFieldBegin("clientMetrics", ::apache::thrift::protocol::T_STRUCT, 2); |
2247 | + xfer += this->clientMetrics.write(oprot); |
2248 | + xfer += oprot->writeFieldEnd(); |
2249 | + xfer += oprot->writeFieldStop(); |
2250 | + xfer += oprot->writeStructEnd(); |
2251 | + return xfer; |
2252 | +} |
2253 | + |
2254 | +uint32_t NoteStore_getSyncStateWithMetrics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2255 | + uint32_t xfer = 0; |
2256 | + xfer += oprot->writeStructBegin("NoteStore_getSyncStateWithMetrics_pargs"); |
2257 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2258 | + xfer += oprot->writeString((*(this->authenticationToken))); |
2259 | + xfer += oprot->writeFieldEnd(); |
2260 | + xfer += oprot->writeFieldBegin("clientMetrics", ::apache::thrift::protocol::T_STRUCT, 2); |
2261 | + xfer += (*(this->clientMetrics)).write(oprot); |
2262 | + xfer += oprot->writeFieldEnd(); |
2263 | + xfer += oprot->writeFieldStop(); |
2264 | + xfer += oprot->writeStructEnd(); |
2265 | + return xfer; |
2266 | +} |
2267 | + |
2268 | +uint32_t NoteStore_getSyncStateWithMetrics_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
2269 | + |
2270 | + uint32_t xfer = 0; |
2271 | + std::string fname; |
2272 | + ::apache::thrift::protocol::TType ftype; |
2273 | + int16_t fid; |
2274 | + |
2275 | + xfer += iprot->readStructBegin(fname); |
2276 | + |
2277 | + using ::apache::thrift::protocol::TProtocolException; |
2278 | + |
2279 | + |
2280 | + while (true) |
2281 | + { |
2282 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2283 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2284 | + break; |
2285 | + } |
2286 | + switch (fid) |
2287 | + { |
2288 | + case 0: |
2289 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2290 | + xfer += this->success.read(iprot); |
2291 | + this->__isset.success = true; |
2292 | + } else { |
2293 | + xfer += iprot->skip(ftype); |
2294 | + } |
2295 | + break; |
2296 | + case 1: |
2297 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2298 | + xfer += this->userException.read(iprot); |
2299 | + this->__isset.userException = true; |
2300 | + } else { |
2301 | + xfer += iprot->skip(ftype); |
2302 | + } |
2303 | + break; |
2304 | + case 2: |
2305 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2306 | + xfer += this->systemException.read(iprot); |
2307 | + this->__isset.systemException = true; |
2308 | + } else { |
2309 | + xfer += iprot->skip(ftype); |
2310 | + } |
2311 | + break; |
2312 | + default: |
2313 | + xfer += iprot->skip(ftype); |
2314 | + break; |
2315 | + } |
2316 | + xfer += iprot->readFieldEnd(); |
2317 | + } |
2318 | + |
2319 | + xfer += iprot->readStructEnd(); |
2320 | + |
2321 | + return xfer; |
2322 | +} |
2323 | + |
2324 | +uint32_t NoteStore_getSyncStateWithMetrics_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2325 | + |
2326 | + uint32_t xfer = 0; |
2327 | + |
2328 | + xfer += oprot->writeStructBegin("NoteStore_getSyncStateWithMetrics_result"); |
2329 | + |
2330 | + if (this->__isset.success) { |
2331 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
2332 | + xfer += this->success.write(oprot); |
2333 | + xfer += oprot->writeFieldEnd(); |
2334 | + } else if (this->__isset.userException) { |
2335 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
2336 | + xfer += this->userException.write(oprot); |
2337 | + xfer += oprot->writeFieldEnd(); |
2338 | + } else if (this->__isset.systemException) { |
2339 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
2340 | + xfer += this->systemException.write(oprot); |
2341 | + xfer += oprot->writeFieldEnd(); |
2342 | + } |
2343 | + xfer += oprot->writeFieldStop(); |
2344 | + xfer += oprot->writeStructEnd(); |
2345 | + return xfer; |
2346 | +} |
2347 | + |
2348 | +uint32_t NoteStore_getSyncStateWithMetrics_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
2349 | + |
2350 | + uint32_t xfer = 0; |
2351 | + std::string fname; |
2352 | + ::apache::thrift::protocol::TType ftype; |
2353 | + int16_t fid; |
2354 | + |
2355 | + xfer += iprot->readStructBegin(fname); |
2356 | + |
2357 | + using ::apache::thrift::protocol::TProtocolException; |
2358 | + |
2359 | + |
2360 | + while (true) |
2361 | + { |
2362 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2363 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2364 | + break; |
2365 | + } |
2366 | + switch (fid) |
2367 | + { |
2368 | + case 0: |
2369 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2370 | + xfer += (*(this->success)).read(iprot); |
2371 | + this->__isset.success = true; |
2372 | + } else { |
2373 | + xfer += iprot->skip(ftype); |
2374 | + } |
2375 | + break; |
2376 | + case 1: |
2377 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2378 | + xfer += this->userException.read(iprot); |
2379 | + this->__isset.userException = true; |
2380 | + } else { |
2381 | + xfer += iprot->skip(ftype); |
2382 | + } |
2383 | + break; |
2384 | + case 2: |
2385 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2386 | + xfer += this->systemException.read(iprot); |
2387 | + this->__isset.systemException = true; |
2388 | + } else { |
2389 | + xfer += iprot->skip(ftype); |
2390 | + } |
2391 | + break; |
2392 | + default: |
2393 | + xfer += iprot->skip(ftype); |
2394 | + break; |
2395 | + } |
2396 | + xfer += iprot->readFieldEnd(); |
2397 | + } |
2398 | + |
2399 | + xfer += iprot->readStructEnd(); |
2400 | + |
2401 | + return xfer; |
2402 | +} |
2403 | + |
2404 | +uint32_t NoteStore_getSyncChunk_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
2405 | + |
2406 | + uint32_t xfer = 0; |
2407 | + std::string fname; |
2408 | + ::apache::thrift::protocol::TType ftype; |
2409 | + int16_t fid; |
2410 | + |
2411 | + xfer += iprot->readStructBegin(fname); |
2412 | + |
2413 | + using ::apache::thrift::protocol::TProtocolException; |
2414 | + |
2415 | + |
2416 | + while (true) |
2417 | + { |
2418 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2419 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2420 | + break; |
2421 | + } |
2422 | + switch (fid) |
2423 | + { |
2424 | + case 1: |
2425 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
2426 | + xfer += iprot->readString(this->authenticationToken); |
2427 | + this->__isset.authenticationToken = true; |
2428 | + } else { |
2429 | + xfer += iprot->skip(ftype); |
2430 | + } |
2431 | + break; |
2432 | + case 2: |
2433 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
2434 | + xfer += iprot->readI32(this->afterUSN); |
2435 | + this->__isset.afterUSN = true; |
2436 | + } else { |
2437 | + xfer += iprot->skip(ftype); |
2438 | + } |
2439 | + break; |
2440 | + case 3: |
2441 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
2442 | + xfer += iprot->readI32(this->maxEntries); |
2443 | + this->__isset.maxEntries = true; |
2444 | + } else { |
2445 | + xfer += iprot->skip(ftype); |
2446 | + } |
2447 | + break; |
2448 | + case 4: |
2449 | + if (ftype == ::apache::thrift::protocol::T_BOOL) { |
2450 | + xfer += iprot->readBool(this->fullSyncOnly); |
2451 | + this->__isset.fullSyncOnly = true; |
2452 | + } else { |
2453 | + xfer += iprot->skip(ftype); |
2454 | + } |
2455 | + break; |
2456 | + default: |
2457 | + xfer += iprot->skip(ftype); |
2458 | + break; |
2459 | + } |
2460 | + xfer += iprot->readFieldEnd(); |
2461 | + } |
2462 | + |
2463 | + xfer += iprot->readStructEnd(); |
2464 | + |
2465 | + return xfer; |
2466 | +} |
2467 | + |
2468 | +uint32_t NoteStore_getSyncChunk_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2469 | + uint32_t xfer = 0; |
2470 | + xfer += oprot->writeStructBegin("NoteStore_getSyncChunk_args"); |
2471 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2472 | + xfer += oprot->writeString(this->authenticationToken); |
2473 | + xfer += oprot->writeFieldEnd(); |
2474 | + xfer += oprot->writeFieldBegin("afterUSN", ::apache::thrift::protocol::T_I32, 2); |
2475 | + xfer += oprot->writeI32(this->afterUSN); |
2476 | + xfer += oprot->writeFieldEnd(); |
2477 | + xfer += oprot->writeFieldBegin("maxEntries", ::apache::thrift::protocol::T_I32, 3); |
2478 | + xfer += oprot->writeI32(this->maxEntries); |
2479 | + xfer += oprot->writeFieldEnd(); |
2480 | + xfer += oprot->writeFieldBegin("fullSyncOnly", ::apache::thrift::protocol::T_BOOL, 4); |
2481 | + xfer += oprot->writeBool(this->fullSyncOnly); |
2482 | + xfer += oprot->writeFieldEnd(); |
2483 | + xfer += oprot->writeFieldStop(); |
2484 | + xfer += oprot->writeStructEnd(); |
2485 | + return xfer; |
2486 | +} |
2487 | + |
2488 | +uint32_t NoteStore_getSyncChunk_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2489 | + uint32_t xfer = 0; |
2490 | + xfer += oprot->writeStructBegin("NoteStore_getSyncChunk_pargs"); |
2491 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2492 | + xfer += oprot->writeString((*(this->authenticationToken))); |
2493 | + xfer += oprot->writeFieldEnd(); |
2494 | + xfer += oprot->writeFieldBegin("afterUSN", ::apache::thrift::protocol::T_I32, 2); |
2495 | + xfer += oprot->writeI32((*(this->afterUSN))); |
2496 | + xfer += oprot->writeFieldEnd(); |
2497 | + xfer += oprot->writeFieldBegin("maxEntries", ::apache::thrift::protocol::T_I32, 3); |
2498 | + xfer += oprot->writeI32((*(this->maxEntries))); |
2499 | + xfer += oprot->writeFieldEnd(); |
2500 | + xfer += oprot->writeFieldBegin("fullSyncOnly", ::apache::thrift::protocol::T_BOOL, 4); |
2501 | + xfer += oprot->writeBool((*(this->fullSyncOnly))); |
2502 | + xfer += oprot->writeFieldEnd(); |
2503 | + xfer += oprot->writeFieldStop(); |
2504 | + xfer += oprot->writeStructEnd(); |
2505 | + return xfer; |
2506 | +} |
2507 | + |
2508 | +uint32_t NoteStore_getSyncChunk_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
2509 | + |
2510 | + uint32_t xfer = 0; |
2511 | + std::string fname; |
2512 | + ::apache::thrift::protocol::TType ftype; |
2513 | + int16_t fid; |
2514 | + |
2515 | + xfer += iprot->readStructBegin(fname); |
2516 | + |
2517 | + using ::apache::thrift::protocol::TProtocolException; |
2518 | + |
2519 | + |
2520 | + while (true) |
2521 | + { |
2522 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2523 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2524 | + break; |
2525 | + } |
2526 | + switch (fid) |
2527 | + { |
2528 | + case 0: |
2529 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2530 | + xfer += this->success.read(iprot); |
2531 | + this->__isset.success = true; |
2532 | + } else { |
2533 | + xfer += iprot->skip(ftype); |
2534 | + } |
2535 | + break; |
2536 | + case 1: |
2537 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2538 | + xfer += this->userException.read(iprot); |
2539 | + this->__isset.userException = true; |
2540 | + } else { |
2541 | + xfer += iprot->skip(ftype); |
2542 | + } |
2543 | + break; |
2544 | + case 2: |
2545 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2546 | + xfer += this->systemException.read(iprot); |
2547 | + this->__isset.systemException = true; |
2548 | + } else { |
2549 | + xfer += iprot->skip(ftype); |
2550 | + } |
2551 | + break; |
2552 | + default: |
2553 | + xfer += iprot->skip(ftype); |
2554 | + break; |
2555 | + } |
2556 | + xfer += iprot->readFieldEnd(); |
2557 | + } |
2558 | + |
2559 | + xfer += iprot->readStructEnd(); |
2560 | + |
2561 | + return xfer; |
2562 | +} |
2563 | + |
2564 | +uint32_t NoteStore_getSyncChunk_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2565 | + |
2566 | + uint32_t xfer = 0; |
2567 | + |
2568 | + xfer += oprot->writeStructBegin("NoteStore_getSyncChunk_result"); |
2569 | + |
2570 | + if (this->__isset.success) { |
2571 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
2572 | + xfer += this->success.write(oprot); |
2573 | + xfer += oprot->writeFieldEnd(); |
2574 | + } else if (this->__isset.userException) { |
2575 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
2576 | + xfer += this->userException.write(oprot); |
2577 | + xfer += oprot->writeFieldEnd(); |
2578 | + } else if (this->__isset.systemException) { |
2579 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
2580 | + xfer += this->systemException.write(oprot); |
2581 | + xfer += oprot->writeFieldEnd(); |
2582 | + } |
2583 | + xfer += oprot->writeFieldStop(); |
2584 | + xfer += oprot->writeStructEnd(); |
2585 | + return xfer; |
2586 | +} |
2587 | + |
2588 | +uint32_t NoteStore_getSyncChunk_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
2589 | + |
2590 | + uint32_t xfer = 0; |
2591 | + std::string fname; |
2592 | + ::apache::thrift::protocol::TType ftype; |
2593 | + int16_t fid; |
2594 | + |
2595 | + xfer += iprot->readStructBegin(fname); |
2596 | + |
2597 | + using ::apache::thrift::protocol::TProtocolException; |
2598 | + |
2599 | + |
2600 | + while (true) |
2601 | + { |
2602 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2603 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2604 | + break; |
2605 | + } |
2606 | + switch (fid) |
2607 | + { |
2608 | + case 0: |
2609 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2610 | + xfer += (*(this->success)).read(iprot); |
2611 | + this->__isset.success = true; |
2612 | + } else { |
2613 | + xfer += iprot->skip(ftype); |
2614 | + } |
2615 | + break; |
2616 | + case 1: |
2617 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2618 | + xfer += this->userException.read(iprot); |
2619 | + this->__isset.userException = true; |
2620 | + } else { |
2621 | + xfer += iprot->skip(ftype); |
2622 | + } |
2623 | + break; |
2624 | + case 2: |
2625 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2626 | + xfer += this->systemException.read(iprot); |
2627 | + this->__isset.systemException = true; |
2628 | + } else { |
2629 | + xfer += iprot->skip(ftype); |
2630 | + } |
2631 | + break; |
2632 | + default: |
2633 | + xfer += iprot->skip(ftype); |
2634 | + break; |
2635 | + } |
2636 | + xfer += iprot->readFieldEnd(); |
2637 | + } |
2638 | + |
2639 | + xfer += iprot->readStructEnd(); |
2640 | + |
2641 | + return xfer; |
2642 | +} |
2643 | + |
2644 | +uint32_t NoteStore_getFilteredSyncChunk_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
2645 | + |
2646 | + uint32_t xfer = 0; |
2647 | + std::string fname; |
2648 | + ::apache::thrift::protocol::TType ftype; |
2649 | + int16_t fid; |
2650 | + |
2651 | + xfer += iprot->readStructBegin(fname); |
2652 | + |
2653 | + using ::apache::thrift::protocol::TProtocolException; |
2654 | + |
2655 | + |
2656 | + while (true) |
2657 | + { |
2658 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2659 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2660 | + break; |
2661 | + } |
2662 | + switch (fid) |
2663 | + { |
2664 | + case 1: |
2665 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
2666 | + xfer += iprot->readString(this->authenticationToken); |
2667 | + this->__isset.authenticationToken = true; |
2668 | + } else { |
2669 | + xfer += iprot->skip(ftype); |
2670 | + } |
2671 | + break; |
2672 | + case 2: |
2673 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
2674 | + xfer += iprot->readI32(this->afterUSN); |
2675 | + this->__isset.afterUSN = true; |
2676 | + } else { |
2677 | + xfer += iprot->skip(ftype); |
2678 | + } |
2679 | + break; |
2680 | + case 3: |
2681 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
2682 | + xfer += iprot->readI32(this->maxEntries); |
2683 | + this->__isset.maxEntries = true; |
2684 | + } else { |
2685 | + xfer += iprot->skip(ftype); |
2686 | + } |
2687 | + break; |
2688 | + case 4: |
2689 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2690 | + xfer += this->filter.read(iprot); |
2691 | + this->__isset.filter = true; |
2692 | + } else { |
2693 | + xfer += iprot->skip(ftype); |
2694 | + } |
2695 | + break; |
2696 | + default: |
2697 | + xfer += iprot->skip(ftype); |
2698 | + break; |
2699 | + } |
2700 | + xfer += iprot->readFieldEnd(); |
2701 | + } |
2702 | + |
2703 | + xfer += iprot->readStructEnd(); |
2704 | + |
2705 | + return xfer; |
2706 | +} |
2707 | + |
2708 | +uint32_t NoteStore_getFilteredSyncChunk_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2709 | + uint32_t xfer = 0; |
2710 | + xfer += oprot->writeStructBegin("NoteStore_getFilteredSyncChunk_args"); |
2711 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2712 | + xfer += oprot->writeString(this->authenticationToken); |
2713 | + xfer += oprot->writeFieldEnd(); |
2714 | + xfer += oprot->writeFieldBegin("afterUSN", ::apache::thrift::protocol::T_I32, 2); |
2715 | + xfer += oprot->writeI32(this->afterUSN); |
2716 | + xfer += oprot->writeFieldEnd(); |
2717 | + xfer += oprot->writeFieldBegin("maxEntries", ::apache::thrift::protocol::T_I32, 3); |
2718 | + xfer += oprot->writeI32(this->maxEntries); |
2719 | + xfer += oprot->writeFieldEnd(); |
2720 | + xfer += oprot->writeFieldBegin("filter", ::apache::thrift::protocol::T_STRUCT, 4); |
2721 | + xfer += this->filter.write(oprot); |
2722 | + xfer += oprot->writeFieldEnd(); |
2723 | + xfer += oprot->writeFieldStop(); |
2724 | + xfer += oprot->writeStructEnd(); |
2725 | + return xfer; |
2726 | +} |
2727 | + |
2728 | +uint32_t NoteStore_getFilteredSyncChunk_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2729 | + uint32_t xfer = 0; |
2730 | + xfer += oprot->writeStructBegin("NoteStore_getFilteredSyncChunk_pargs"); |
2731 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2732 | + xfer += oprot->writeString((*(this->authenticationToken))); |
2733 | + xfer += oprot->writeFieldEnd(); |
2734 | + xfer += oprot->writeFieldBegin("afterUSN", ::apache::thrift::protocol::T_I32, 2); |
2735 | + xfer += oprot->writeI32((*(this->afterUSN))); |
2736 | + xfer += oprot->writeFieldEnd(); |
2737 | + xfer += oprot->writeFieldBegin("maxEntries", ::apache::thrift::protocol::T_I32, 3); |
2738 | + xfer += oprot->writeI32((*(this->maxEntries))); |
2739 | + xfer += oprot->writeFieldEnd(); |
2740 | + xfer += oprot->writeFieldBegin("filter", ::apache::thrift::protocol::T_STRUCT, 4); |
2741 | + xfer += (*(this->filter)).write(oprot); |
2742 | + xfer += oprot->writeFieldEnd(); |
2743 | + xfer += oprot->writeFieldStop(); |
2744 | + xfer += oprot->writeStructEnd(); |
2745 | + return xfer; |
2746 | +} |
2747 | + |
2748 | +uint32_t NoteStore_getFilteredSyncChunk_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
2749 | + |
2750 | + uint32_t xfer = 0; |
2751 | + std::string fname; |
2752 | + ::apache::thrift::protocol::TType ftype; |
2753 | + int16_t fid; |
2754 | + |
2755 | + xfer += iprot->readStructBegin(fname); |
2756 | + |
2757 | + using ::apache::thrift::protocol::TProtocolException; |
2758 | + |
2759 | + |
2760 | + while (true) |
2761 | + { |
2762 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2763 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2764 | + break; |
2765 | + } |
2766 | + switch (fid) |
2767 | + { |
2768 | + case 0: |
2769 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2770 | + xfer += this->success.read(iprot); |
2771 | + this->__isset.success = true; |
2772 | + } else { |
2773 | + xfer += iprot->skip(ftype); |
2774 | + } |
2775 | + break; |
2776 | + case 1: |
2777 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2778 | + xfer += this->userException.read(iprot); |
2779 | + this->__isset.userException = true; |
2780 | + } else { |
2781 | + xfer += iprot->skip(ftype); |
2782 | + } |
2783 | + break; |
2784 | + case 2: |
2785 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2786 | + xfer += this->systemException.read(iprot); |
2787 | + this->__isset.systemException = true; |
2788 | + } else { |
2789 | + xfer += iprot->skip(ftype); |
2790 | + } |
2791 | + break; |
2792 | + default: |
2793 | + xfer += iprot->skip(ftype); |
2794 | + break; |
2795 | + } |
2796 | + xfer += iprot->readFieldEnd(); |
2797 | + } |
2798 | + |
2799 | + xfer += iprot->readStructEnd(); |
2800 | + |
2801 | + return xfer; |
2802 | +} |
2803 | + |
2804 | +uint32_t NoteStore_getFilteredSyncChunk_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2805 | + |
2806 | + uint32_t xfer = 0; |
2807 | + |
2808 | + xfer += oprot->writeStructBegin("NoteStore_getFilteredSyncChunk_result"); |
2809 | + |
2810 | + if (this->__isset.success) { |
2811 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
2812 | + xfer += this->success.write(oprot); |
2813 | + xfer += oprot->writeFieldEnd(); |
2814 | + } else if (this->__isset.userException) { |
2815 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
2816 | + xfer += this->userException.write(oprot); |
2817 | + xfer += oprot->writeFieldEnd(); |
2818 | + } else if (this->__isset.systemException) { |
2819 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
2820 | + xfer += this->systemException.write(oprot); |
2821 | + xfer += oprot->writeFieldEnd(); |
2822 | + } |
2823 | + xfer += oprot->writeFieldStop(); |
2824 | + xfer += oprot->writeStructEnd(); |
2825 | + return xfer; |
2826 | +} |
2827 | + |
2828 | +uint32_t NoteStore_getFilteredSyncChunk_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
2829 | + |
2830 | + uint32_t xfer = 0; |
2831 | + std::string fname; |
2832 | + ::apache::thrift::protocol::TType ftype; |
2833 | + int16_t fid; |
2834 | + |
2835 | + xfer += iprot->readStructBegin(fname); |
2836 | + |
2837 | + using ::apache::thrift::protocol::TProtocolException; |
2838 | + |
2839 | + |
2840 | + while (true) |
2841 | + { |
2842 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2843 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2844 | + break; |
2845 | + } |
2846 | + switch (fid) |
2847 | + { |
2848 | + case 0: |
2849 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2850 | + xfer += (*(this->success)).read(iprot); |
2851 | + this->__isset.success = true; |
2852 | + } else { |
2853 | + xfer += iprot->skip(ftype); |
2854 | + } |
2855 | + break; |
2856 | + case 1: |
2857 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2858 | + xfer += this->userException.read(iprot); |
2859 | + this->__isset.userException = true; |
2860 | + } else { |
2861 | + xfer += iprot->skip(ftype); |
2862 | + } |
2863 | + break; |
2864 | + case 2: |
2865 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2866 | + xfer += this->systemException.read(iprot); |
2867 | + this->__isset.systemException = true; |
2868 | + } else { |
2869 | + xfer += iprot->skip(ftype); |
2870 | + } |
2871 | + break; |
2872 | + default: |
2873 | + xfer += iprot->skip(ftype); |
2874 | + break; |
2875 | + } |
2876 | + xfer += iprot->readFieldEnd(); |
2877 | + } |
2878 | + |
2879 | + xfer += iprot->readStructEnd(); |
2880 | + |
2881 | + return xfer; |
2882 | +} |
2883 | + |
2884 | +uint32_t NoteStore_getLinkedNotebookSyncState_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
2885 | + |
2886 | + uint32_t xfer = 0; |
2887 | + std::string fname; |
2888 | + ::apache::thrift::protocol::TType ftype; |
2889 | + int16_t fid; |
2890 | + |
2891 | + xfer += iprot->readStructBegin(fname); |
2892 | + |
2893 | + using ::apache::thrift::protocol::TProtocolException; |
2894 | + |
2895 | + |
2896 | + while (true) |
2897 | + { |
2898 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2899 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2900 | + break; |
2901 | + } |
2902 | + switch (fid) |
2903 | + { |
2904 | + case 1: |
2905 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
2906 | + xfer += iprot->readString(this->authenticationToken); |
2907 | + this->__isset.authenticationToken = true; |
2908 | + } else { |
2909 | + xfer += iprot->skip(ftype); |
2910 | + } |
2911 | + break; |
2912 | + case 2: |
2913 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2914 | + xfer += this->linkedNotebook.read(iprot); |
2915 | + this->__isset.linkedNotebook = true; |
2916 | + } else { |
2917 | + xfer += iprot->skip(ftype); |
2918 | + } |
2919 | + break; |
2920 | + default: |
2921 | + xfer += iprot->skip(ftype); |
2922 | + break; |
2923 | + } |
2924 | + xfer += iprot->readFieldEnd(); |
2925 | + } |
2926 | + |
2927 | + xfer += iprot->readStructEnd(); |
2928 | + |
2929 | + return xfer; |
2930 | +} |
2931 | + |
2932 | +uint32_t NoteStore_getLinkedNotebookSyncState_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2933 | + uint32_t xfer = 0; |
2934 | + xfer += oprot->writeStructBegin("NoteStore_getLinkedNotebookSyncState_args"); |
2935 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2936 | + xfer += oprot->writeString(this->authenticationToken); |
2937 | + xfer += oprot->writeFieldEnd(); |
2938 | + xfer += oprot->writeFieldBegin("linkedNotebook", ::apache::thrift::protocol::T_STRUCT, 2); |
2939 | + xfer += this->linkedNotebook.write(oprot); |
2940 | + xfer += oprot->writeFieldEnd(); |
2941 | + xfer += oprot->writeFieldStop(); |
2942 | + xfer += oprot->writeStructEnd(); |
2943 | + return xfer; |
2944 | +} |
2945 | + |
2946 | +uint32_t NoteStore_getLinkedNotebookSyncState_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
2947 | + uint32_t xfer = 0; |
2948 | + xfer += oprot->writeStructBegin("NoteStore_getLinkedNotebookSyncState_pargs"); |
2949 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
2950 | + xfer += oprot->writeString((*(this->authenticationToken))); |
2951 | + xfer += oprot->writeFieldEnd(); |
2952 | + xfer += oprot->writeFieldBegin("linkedNotebook", ::apache::thrift::protocol::T_STRUCT, 2); |
2953 | + xfer += (*(this->linkedNotebook)).write(oprot); |
2954 | + xfer += oprot->writeFieldEnd(); |
2955 | + xfer += oprot->writeFieldStop(); |
2956 | + xfer += oprot->writeStructEnd(); |
2957 | + return xfer; |
2958 | +} |
2959 | + |
2960 | +uint32_t NoteStore_getLinkedNotebookSyncState_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
2961 | + |
2962 | + uint32_t xfer = 0; |
2963 | + std::string fname; |
2964 | + ::apache::thrift::protocol::TType ftype; |
2965 | + int16_t fid; |
2966 | + |
2967 | + xfer += iprot->readStructBegin(fname); |
2968 | + |
2969 | + using ::apache::thrift::protocol::TProtocolException; |
2970 | + |
2971 | + |
2972 | + while (true) |
2973 | + { |
2974 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
2975 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
2976 | + break; |
2977 | + } |
2978 | + switch (fid) |
2979 | + { |
2980 | + case 0: |
2981 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2982 | + xfer += this->success.read(iprot); |
2983 | + this->__isset.success = true; |
2984 | + } else { |
2985 | + xfer += iprot->skip(ftype); |
2986 | + } |
2987 | + break; |
2988 | + case 1: |
2989 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2990 | + xfer += this->userException.read(iprot); |
2991 | + this->__isset.userException = true; |
2992 | + } else { |
2993 | + xfer += iprot->skip(ftype); |
2994 | + } |
2995 | + break; |
2996 | + case 2: |
2997 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
2998 | + xfer += this->systemException.read(iprot); |
2999 | + this->__isset.systemException = true; |
3000 | + } else { |
3001 | + xfer += iprot->skip(ftype); |
3002 | + } |
3003 | + break; |
3004 | + case 3: |
3005 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3006 | + xfer += this->notFoundException.read(iprot); |
3007 | + this->__isset.notFoundException = true; |
3008 | + } else { |
3009 | + xfer += iprot->skip(ftype); |
3010 | + } |
3011 | + break; |
3012 | + default: |
3013 | + xfer += iprot->skip(ftype); |
3014 | + break; |
3015 | + } |
3016 | + xfer += iprot->readFieldEnd(); |
3017 | + } |
3018 | + |
3019 | + xfer += iprot->readStructEnd(); |
3020 | + |
3021 | + return xfer; |
3022 | +} |
3023 | + |
3024 | +uint32_t NoteStore_getLinkedNotebookSyncState_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3025 | + |
3026 | + uint32_t xfer = 0; |
3027 | + |
3028 | + xfer += oprot->writeStructBegin("NoteStore_getLinkedNotebookSyncState_result"); |
3029 | + |
3030 | + if (this->__isset.success) { |
3031 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
3032 | + xfer += this->success.write(oprot); |
3033 | + xfer += oprot->writeFieldEnd(); |
3034 | + } else if (this->__isset.userException) { |
3035 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
3036 | + xfer += this->userException.write(oprot); |
3037 | + xfer += oprot->writeFieldEnd(); |
3038 | + } else if (this->__isset.systemException) { |
3039 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
3040 | + xfer += this->systemException.write(oprot); |
3041 | + xfer += oprot->writeFieldEnd(); |
3042 | + } else if (this->__isset.notFoundException) { |
3043 | + xfer += oprot->writeFieldBegin("notFoundException", ::apache::thrift::protocol::T_STRUCT, 3); |
3044 | + xfer += this->notFoundException.write(oprot); |
3045 | + xfer += oprot->writeFieldEnd(); |
3046 | + } |
3047 | + xfer += oprot->writeFieldStop(); |
3048 | + xfer += oprot->writeStructEnd(); |
3049 | + return xfer; |
3050 | +} |
3051 | + |
3052 | +uint32_t NoteStore_getLinkedNotebookSyncState_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
3053 | + |
3054 | + uint32_t xfer = 0; |
3055 | + std::string fname; |
3056 | + ::apache::thrift::protocol::TType ftype; |
3057 | + int16_t fid; |
3058 | + |
3059 | + xfer += iprot->readStructBegin(fname); |
3060 | + |
3061 | + using ::apache::thrift::protocol::TProtocolException; |
3062 | + |
3063 | + |
3064 | + while (true) |
3065 | + { |
3066 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3067 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3068 | + break; |
3069 | + } |
3070 | + switch (fid) |
3071 | + { |
3072 | + case 0: |
3073 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3074 | + xfer += (*(this->success)).read(iprot); |
3075 | + this->__isset.success = true; |
3076 | + } else { |
3077 | + xfer += iprot->skip(ftype); |
3078 | + } |
3079 | + break; |
3080 | + case 1: |
3081 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3082 | + xfer += this->userException.read(iprot); |
3083 | + this->__isset.userException = true; |
3084 | + } else { |
3085 | + xfer += iprot->skip(ftype); |
3086 | + } |
3087 | + break; |
3088 | + case 2: |
3089 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3090 | + xfer += this->systemException.read(iprot); |
3091 | + this->__isset.systemException = true; |
3092 | + } else { |
3093 | + xfer += iprot->skip(ftype); |
3094 | + } |
3095 | + break; |
3096 | + case 3: |
3097 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3098 | + xfer += this->notFoundException.read(iprot); |
3099 | + this->__isset.notFoundException = true; |
3100 | + } else { |
3101 | + xfer += iprot->skip(ftype); |
3102 | + } |
3103 | + break; |
3104 | + default: |
3105 | + xfer += iprot->skip(ftype); |
3106 | + break; |
3107 | + } |
3108 | + xfer += iprot->readFieldEnd(); |
3109 | + } |
3110 | + |
3111 | + xfer += iprot->readStructEnd(); |
3112 | + |
3113 | + return xfer; |
3114 | +} |
3115 | + |
3116 | +uint32_t NoteStore_getLinkedNotebookSyncChunk_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
3117 | + |
3118 | + uint32_t xfer = 0; |
3119 | + std::string fname; |
3120 | + ::apache::thrift::protocol::TType ftype; |
3121 | + int16_t fid; |
3122 | + |
3123 | + xfer += iprot->readStructBegin(fname); |
3124 | + |
3125 | + using ::apache::thrift::protocol::TProtocolException; |
3126 | + |
3127 | + |
3128 | + while (true) |
3129 | + { |
3130 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3131 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3132 | + break; |
3133 | + } |
3134 | + switch (fid) |
3135 | + { |
3136 | + case 1: |
3137 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
3138 | + xfer += iprot->readString(this->authenticationToken); |
3139 | + this->__isset.authenticationToken = true; |
3140 | + } else { |
3141 | + xfer += iprot->skip(ftype); |
3142 | + } |
3143 | + break; |
3144 | + case 2: |
3145 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3146 | + xfer += this->linkedNotebook.read(iprot); |
3147 | + this->__isset.linkedNotebook = true; |
3148 | + } else { |
3149 | + xfer += iprot->skip(ftype); |
3150 | + } |
3151 | + break; |
3152 | + case 3: |
3153 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
3154 | + xfer += iprot->readI32(this->afterUSN); |
3155 | + this->__isset.afterUSN = true; |
3156 | + } else { |
3157 | + xfer += iprot->skip(ftype); |
3158 | + } |
3159 | + break; |
3160 | + case 4: |
3161 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
3162 | + xfer += iprot->readI32(this->maxEntries); |
3163 | + this->__isset.maxEntries = true; |
3164 | + } else { |
3165 | + xfer += iprot->skip(ftype); |
3166 | + } |
3167 | + break; |
3168 | + case 5: |
3169 | + if (ftype == ::apache::thrift::protocol::T_BOOL) { |
3170 | + xfer += iprot->readBool(this->fullSyncOnly); |
3171 | + this->__isset.fullSyncOnly = true; |
3172 | + } else { |
3173 | + xfer += iprot->skip(ftype); |
3174 | + } |
3175 | + break; |
3176 | + default: |
3177 | + xfer += iprot->skip(ftype); |
3178 | + break; |
3179 | + } |
3180 | + xfer += iprot->readFieldEnd(); |
3181 | + } |
3182 | + |
3183 | + xfer += iprot->readStructEnd(); |
3184 | + |
3185 | + return xfer; |
3186 | +} |
3187 | + |
3188 | +uint32_t NoteStore_getLinkedNotebookSyncChunk_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3189 | + uint32_t xfer = 0; |
3190 | + xfer += oprot->writeStructBegin("NoteStore_getLinkedNotebookSyncChunk_args"); |
3191 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
3192 | + xfer += oprot->writeString(this->authenticationToken); |
3193 | + xfer += oprot->writeFieldEnd(); |
3194 | + xfer += oprot->writeFieldBegin("linkedNotebook", ::apache::thrift::protocol::T_STRUCT, 2); |
3195 | + xfer += this->linkedNotebook.write(oprot); |
3196 | + xfer += oprot->writeFieldEnd(); |
3197 | + xfer += oprot->writeFieldBegin("afterUSN", ::apache::thrift::protocol::T_I32, 3); |
3198 | + xfer += oprot->writeI32(this->afterUSN); |
3199 | + xfer += oprot->writeFieldEnd(); |
3200 | + xfer += oprot->writeFieldBegin("maxEntries", ::apache::thrift::protocol::T_I32, 4); |
3201 | + xfer += oprot->writeI32(this->maxEntries); |
3202 | + xfer += oprot->writeFieldEnd(); |
3203 | + xfer += oprot->writeFieldBegin("fullSyncOnly", ::apache::thrift::protocol::T_BOOL, 5); |
3204 | + xfer += oprot->writeBool(this->fullSyncOnly); |
3205 | + xfer += oprot->writeFieldEnd(); |
3206 | + xfer += oprot->writeFieldStop(); |
3207 | + xfer += oprot->writeStructEnd(); |
3208 | + return xfer; |
3209 | +} |
3210 | + |
3211 | +uint32_t NoteStore_getLinkedNotebookSyncChunk_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3212 | + uint32_t xfer = 0; |
3213 | + xfer += oprot->writeStructBegin("NoteStore_getLinkedNotebookSyncChunk_pargs"); |
3214 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
3215 | + xfer += oprot->writeString((*(this->authenticationToken))); |
3216 | + xfer += oprot->writeFieldEnd(); |
3217 | + xfer += oprot->writeFieldBegin("linkedNotebook", ::apache::thrift::protocol::T_STRUCT, 2); |
3218 | + xfer += (*(this->linkedNotebook)).write(oprot); |
3219 | + xfer += oprot->writeFieldEnd(); |
3220 | + xfer += oprot->writeFieldBegin("afterUSN", ::apache::thrift::protocol::T_I32, 3); |
3221 | + xfer += oprot->writeI32((*(this->afterUSN))); |
3222 | + xfer += oprot->writeFieldEnd(); |
3223 | + xfer += oprot->writeFieldBegin("maxEntries", ::apache::thrift::protocol::T_I32, 4); |
3224 | + xfer += oprot->writeI32((*(this->maxEntries))); |
3225 | + xfer += oprot->writeFieldEnd(); |
3226 | + xfer += oprot->writeFieldBegin("fullSyncOnly", ::apache::thrift::protocol::T_BOOL, 5); |
3227 | + xfer += oprot->writeBool((*(this->fullSyncOnly))); |
3228 | + xfer += oprot->writeFieldEnd(); |
3229 | + xfer += oprot->writeFieldStop(); |
3230 | + xfer += oprot->writeStructEnd(); |
3231 | + return xfer; |
3232 | +} |
3233 | + |
3234 | +uint32_t NoteStore_getLinkedNotebookSyncChunk_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
3235 | + |
3236 | + uint32_t xfer = 0; |
3237 | + std::string fname; |
3238 | + ::apache::thrift::protocol::TType ftype; |
3239 | + int16_t fid; |
3240 | + |
3241 | + xfer += iprot->readStructBegin(fname); |
3242 | + |
3243 | + using ::apache::thrift::protocol::TProtocolException; |
3244 | + |
3245 | + |
3246 | + while (true) |
3247 | + { |
3248 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3249 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3250 | + break; |
3251 | + } |
3252 | + switch (fid) |
3253 | + { |
3254 | + case 0: |
3255 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3256 | + xfer += this->success.read(iprot); |
3257 | + this->__isset.success = true; |
3258 | + } else { |
3259 | + xfer += iprot->skip(ftype); |
3260 | + } |
3261 | + break; |
3262 | + case 1: |
3263 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3264 | + xfer += this->userException.read(iprot); |
3265 | + this->__isset.userException = true; |
3266 | + } else { |
3267 | + xfer += iprot->skip(ftype); |
3268 | + } |
3269 | + break; |
3270 | + case 2: |
3271 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3272 | + xfer += this->systemException.read(iprot); |
3273 | + this->__isset.systemException = true; |
3274 | + } else { |
3275 | + xfer += iprot->skip(ftype); |
3276 | + } |
3277 | + break; |
3278 | + case 3: |
3279 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3280 | + xfer += this->notFoundException.read(iprot); |
3281 | + this->__isset.notFoundException = true; |
3282 | + } else { |
3283 | + xfer += iprot->skip(ftype); |
3284 | + } |
3285 | + break; |
3286 | + default: |
3287 | + xfer += iprot->skip(ftype); |
3288 | + break; |
3289 | + } |
3290 | + xfer += iprot->readFieldEnd(); |
3291 | + } |
3292 | + |
3293 | + xfer += iprot->readStructEnd(); |
3294 | + |
3295 | + return xfer; |
3296 | +} |
3297 | + |
3298 | +uint32_t NoteStore_getLinkedNotebookSyncChunk_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3299 | + |
3300 | + uint32_t xfer = 0; |
3301 | + |
3302 | + xfer += oprot->writeStructBegin("NoteStore_getLinkedNotebookSyncChunk_result"); |
3303 | + |
3304 | + if (this->__isset.success) { |
3305 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
3306 | + xfer += this->success.write(oprot); |
3307 | + xfer += oprot->writeFieldEnd(); |
3308 | + } else if (this->__isset.userException) { |
3309 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
3310 | + xfer += this->userException.write(oprot); |
3311 | + xfer += oprot->writeFieldEnd(); |
3312 | + } else if (this->__isset.systemException) { |
3313 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
3314 | + xfer += this->systemException.write(oprot); |
3315 | + xfer += oprot->writeFieldEnd(); |
3316 | + } else if (this->__isset.notFoundException) { |
3317 | + xfer += oprot->writeFieldBegin("notFoundException", ::apache::thrift::protocol::T_STRUCT, 3); |
3318 | + xfer += this->notFoundException.write(oprot); |
3319 | + xfer += oprot->writeFieldEnd(); |
3320 | + } |
3321 | + xfer += oprot->writeFieldStop(); |
3322 | + xfer += oprot->writeStructEnd(); |
3323 | + return xfer; |
3324 | +} |
3325 | + |
3326 | +uint32_t NoteStore_getLinkedNotebookSyncChunk_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
3327 | + |
3328 | + uint32_t xfer = 0; |
3329 | + std::string fname; |
3330 | + ::apache::thrift::protocol::TType ftype; |
3331 | + int16_t fid; |
3332 | + |
3333 | + xfer += iprot->readStructBegin(fname); |
3334 | + |
3335 | + using ::apache::thrift::protocol::TProtocolException; |
3336 | + |
3337 | + |
3338 | + while (true) |
3339 | + { |
3340 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3341 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3342 | + break; |
3343 | + } |
3344 | + switch (fid) |
3345 | + { |
3346 | + case 0: |
3347 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3348 | + xfer += (*(this->success)).read(iprot); |
3349 | + this->__isset.success = true; |
3350 | + } else { |
3351 | + xfer += iprot->skip(ftype); |
3352 | + } |
3353 | + break; |
3354 | + case 1: |
3355 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3356 | + xfer += this->userException.read(iprot); |
3357 | + this->__isset.userException = true; |
3358 | + } else { |
3359 | + xfer += iprot->skip(ftype); |
3360 | + } |
3361 | + break; |
3362 | + case 2: |
3363 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3364 | + xfer += this->systemException.read(iprot); |
3365 | + this->__isset.systemException = true; |
3366 | + } else { |
3367 | + xfer += iprot->skip(ftype); |
3368 | + } |
3369 | + break; |
3370 | + case 3: |
3371 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3372 | + xfer += this->notFoundException.read(iprot); |
3373 | + this->__isset.notFoundException = true; |
3374 | + } else { |
3375 | + xfer += iprot->skip(ftype); |
3376 | + } |
3377 | + break; |
3378 | + default: |
3379 | + xfer += iprot->skip(ftype); |
3380 | + break; |
3381 | + } |
3382 | + xfer += iprot->readFieldEnd(); |
3383 | + } |
3384 | + |
3385 | + xfer += iprot->readStructEnd(); |
3386 | + |
3387 | + return xfer; |
3388 | +} |
3389 | + |
3390 | +uint32_t NoteStore_listNotebooks_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
3391 | + |
3392 | + uint32_t xfer = 0; |
3393 | + std::string fname; |
3394 | + ::apache::thrift::protocol::TType ftype; |
3395 | + int16_t fid; |
3396 | + |
3397 | + xfer += iprot->readStructBegin(fname); |
3398 | + |
3399 | + using ::apache::thrift::protocol::TProtocolException; |
3400 | + |
3401 | + |
3402 | + while (true) |
3403 | + { |
3404 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3405 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3406 | + break; |
3407 | + } |
3408 | + switch (fid) |
3409 | + { |
3410 | + case 1: |
3411 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
3412 | + xfer += iprot->readString(this->authenticationToken); |
3413 | + this->__isset.authenticationToken = true; |
3414 | + } else { |
3415 | + xfer += iprot->skip(ftype); |
3416 | + } |
3417 | + break; |
3418 | + default: |
3419 | + xfer += iprot->skip(ftype); |
3420 | + break; |
3421 | + } |
3422 | + xfer += iprot->readFieldEnd(); |
3423 | + } |
3424 | + |
3425 | + xfer += iprot->readStructEnd(); |
3426 | + |
3427 | + return xfer; |
3428 | +} |
3429 | + |
3430 | +uint32_t NoteStore_listNotebooks_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3431 | + uint32_t xfer = 0; |
3432 | + xfer += oprot->writeStructBegin("NoteStore_listNotebooks_args"); |
3433 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
3434 | + xfer += oprot->writeString(this->authenticationToken); |
3435 | + xfer += oprot->writeFieldEnd(); |
3436 | + xfer += oprot->writeFieldStop(); |
3437 | + xfer += oprot->writeStructEnd(); |
3438 | + return xfer; |
3439 | +} |
3440 | + |
3441 | +uint32_t NoteStore_listNotebooks_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3442 | + uint32_t xfer = 0; |
3443 | + xfer += oprot->writeStructBegin("NoteStore_listNotebooks_pargs"); |
3444 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
3445 | + xfer += oprot->writeString((*(this->authenticationToken))); |
3446 | + xfer += oprot->writeFieldEnd(); |
3447 | + xfer += oprot->writeFieldStop(); |
3448 | + xfer += oprot->writeStructEnd(); |
3449 | + return xfer; |
3450 | +} |
3451 | + |
3452 | +uint32_t NoteStore_listNotebooks_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
3453 | + |
3454 | + uint32_t xfer = 0; |
3455 | + std::string fname; |
3456 | + ::apache::thrift::protocol::TType ftype; |
3457 | + int16_t fid; |
3458 | + |
3459 | + xfer += iprot->readStructBegin(fname); |
3460 | + |
3461 | + using ::apache::thrift::protocol::TProtocolException; |
3462 | + |
3463 | + |
3464 | + while (true) |
3465 | + { |
3466 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3467 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3468 | + break; |
3469 | + } |
3470 | + switch (fid) |
3471 | + { |
3472 | + case 0: |
3473 | + if (ftype == ::apache::thrift::protocol::T_LIST) { |
3474 | + { |
3475 | + this->success.clear(); |
3476 | + uint32_t _size166; |
3477 | + ::apache::thrift::protocol::TType _etype169; |
3478 | + iprot->readListBegin(_etype169, _size166); |
3479 | + this->success.resize(_size166); |
3480 | + uint32_t _i170; |
3481 | + for (_i170 = 0; _i170 < _size166; ++_i170) |
3482 | + { |
3483 | + xfer += this->success[_i170].read(iprot); |
3484 | + } |
3485 | + iprot->readListEnd(); |
3486 | + } |
3487 | + this->__isset.success = true; |
3488 | + } else { |
3489 | + xfer += iprot->skip(ftype); |
3490 | + } |
3491 | + break; |
3492 | + case 1: |
3493 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3494 | + xfer += this->userException.read(iprot); |
3495 | + this->__isset.userException = true; |
3496 | + } else { |
3497 | + xfer += iprot->skip(ftype); |
3498 | + } |
3499 | + break; |
3500 | + case 2: |
3501 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3502 | + xfer += this->systemException.read(iprot); |
3503 | + this->__isset.systemException = true; |
3504 | + } else { |
3505 | + xfer += iprot->skip(ftype); |
3506 | + } |
3507 | + break; |
3508 | + default: |
3509 | + xfer += iprot->skip(ftype); |
3510 | + break; |
3511 | + } |
3512 | + xfer += iprot->readFieldEnd(); |
3513 | + } |
3514 | + |
3515 | + xfer += iprot->readStructEnd(); |
3516 | + |
3517 | + return xfer; |
3518 | +} |
3519 | + |
3520 | +uint32_t NoteStore_listNotebooks_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3521 | + |
3522 | + uint32_t xfer = 0; |
3523 | + |
3524 | + xfer += oprot->writeStructBegin("NoteStore_listNotebooks_result"); |
3525 | + |
3526 | + if (this->__isset.success) { |
3527 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); |
3528 | + { |
3529 | + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size()); |
3530 | + std::vector<evernote::edam::Notebook> ::const_iterator _iter171; |
3531 | + for (_iter171 = this->success.begin(); _iter171 != this->success.end(); ++_iter171) |
3532 | + { |
3533 | + xfer += (*_iter171).write(oprot); |
3534 | + } |
3535 | + xfer += oprot->writeListEnd(); |
3536 | + } |
3537 | + xfer += oprot->writeFieldEnd(); |
3538 | + } else if (this->__isset.userException) { |
3539 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
3540 | + xfer += this->userException.write(oprot); |
3541 | + xfer += oprot->writeFieldEnd(); |
3542 | + } else if (this->__isset.systemException) { |
3543 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
3544 | + xfer += this->systemException.write(oprot); |
3545 | + xfer += oprot->writeFieldEnd(); |
3546 | + } |
3547 | + xfer += oprot->writeFieldStop(); |
3548 | + xfer += oprot->writeStructEnd(); |
3549 | + return xfer; |
3550 | +} |
3551 | + |
3552 | +uint32_t NoteStore_listNotebooks_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
3553 | + |
3554 | + uint32_t xfer = 0; |
3555 | + std::string fname; |
3556 | + ::apache::thrift::protocol::TType ftype; |
3557 | + int16_t fid; |
3558 | + |
3559 | + xfer += iprot->readStructBegin(fname); |
3560 | + |
3561 | + using ::apache::thrift::protocol::TProtocolException; |
3562 | + |
3563 | + |
3564 | + while (true) |
3565 | + { |
3566 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3567 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3568 | + break; |
3569 | + } |
3570 | + switch (fid) |
3571 | + { |
3572 | + case 0: |
3573 | + if (ftype == ::apache::thrift::protocol::T_LIST) { |
3574 | + { |
3575 | + (*(this->success)).clear(); |
3576 | + uint32_t _size172; |
3577 | + ::apache::thrift::protocol::TType _etype175; |
3578 | + iprot->readListBegin(_etype175, _size172); |
3579 | + (*(this->success)).resize(_size172); |
3580 | + uint32_t _i176; |
3581 | + for (_i176 = 0; _i176 < _size172; ++_i176) |
3582 | + { |
3583 | + xfer += (*(this->success))[_i176].read(iprot); |
3584 | + } |
3585 | + iprot->readListEnd(); |
3586 | + } |
3587 | + this->__isset.success = true; |
3588 | + } else { |
3589 | + xfer += iprot->skip(ftype); |
3590 | + } |
3591 | + break; |
3592 | + case 1: |
3593 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3594 | + xfer += this->userException.read(iprot); |
3595 | + this->__isset.userException = true; |
3596 | + } else { |
3597 | + xfer += iprot->skip(ftype); |
3598 | + } |
3599 | + break; |
3600 | + case 2: |
3601 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3602 | + xfer += this->systemException.read(iprot); |
3603 | + this->__isset.systemException = true; |
3604 | + } else { |
3605 | + xfer += iprot->skip(ftype); |
3606 | + } |
3607 | + break; |
3608 | + default: |
3609 | + xfer += iprot->skip(ftype); |
3610 | + break; |
3611 | + } |
3612 | + xfer += iprot->readFieldEnd(); |
3613 | + } |
3614 | + |
3615 | + xfer += iprot->readStructEnd(); |
3616 | + |
3617 | + return xfer; |
3618 | +} |
3619 | + |
3620 | +uint32_t NoteStore_getNotebook_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
3621 | + |
3622 | + uint32_t xfer = 0; |
3623 | + std::string fname; |
3624 | + ::apache::thrift::protocol::TType ftype; |
3625 | + int16_t fid; |
3626 | + |
3627 | + xfer += iprot->readStructBegin(fname); |
3628 | + |
3629 | + using ::apache::thrift::protocol::TProtocolException; |
3630 | + |
3631 | + |
3632 | + while (true) |
3633 | + { |
3634 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3635 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3636 | + break; |
3637 | + } |
3638 | + switch (fid) |
3639 | + { |
3640 | + case 1: |
3641 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
3642 | + xfer += iprot->readString(this->authenticationToken); |
3643 | + this->__isset.authenticationToken = true; |
3644 | + } else { |
3645 | + xfer += iprot->skip(ftype); |
3646 | + } |
3647 | + break; |
3648 | + case 2: |
3649 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
3650 | + xfer += iprot->readString(this->guid); |
3651 | + this->__isset.guid = true; |
3652 | + } else { |
3653 | + xfer += iprot->skip(ftype); |
3654 | + } |
3655 | + break; |
3656 | + default: |
3657 | + xfer += iprot->skip(ftype); |
3658 | + break; |
3659 | + } |
3660 | + xfer += iprot->readFieldEnd(); |
3661 | + } |
3662 | + |
3663 | + xfer += iprot->readStructEnd(); |
3664 | + |
3665 | + return xfer; |
3666 | +} |
3667 | + |
3668 | +uint32_t NoteStore_getNotebook_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3669 | + uint32_t xfer = 0; |
3670 | + xfer += oprot->writeStructBegin("NoteStore_getNotebook_args"); |
3671 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
3672 | + xfer += oprot->writeString(this->authenticationToken); |
3673 | + xfer += oprot->writeFieldEnd(); |
3674 | + xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 2); |
3675 | + xfer += oprot->writeString(this->guid); |
3676 | + xfer += oprot->writeFieldEnd(); |
3677 | + xfer += oprot->writeFieldStop(); |
3678 | + xfer += oprot->writeStructEnd(); |
3679 | + return xfer; |
3680 | +} |
3681 | + |
3682 | +uint32_t NoteStore_getNotebook_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3683 | + uint32_t xfer = 0; |
3684 | + xfer += oprot->writeStructBegin("NoteStore_getNotebook_pargs"); |
3685 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
3686 | + xfer += oprot->writeString((*(this->authenticationToken))); |
3687 | + xfer += oprot->writeFieldEnd(); |
3688 | + xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 2); |
3689 | + xfer += oprot->writeString((*(this->guid))); |
3690 | + xfer += oprot->writeFieldEnd(); |
3691 | + xfer += oprot->writeFieldStop(); |
3692 | + xfer += oprot->writeStructEnd(); |
3693 | + return xfer; |
3694 | +} |
3695 | + |
3696 | +uint32_t NoteStore_getNotebook_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
3697 | + |
3698 | + uint32_t xfer = 0; |
3699 | + std::string fname; |
3700 | + ::apache::thrift::protocol::TType ftype; |
3701 | + int16_t fid; |
3702 | + |
3703 | + xfer += iprot->readStructBegin(fname); |
3704 | + |
3705 | + using ::apache::thrift::protocol::TProtocolException; |
3706 | + |
3707 | + |
3708 | + while (true) |
3709 | + { |
3710 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3711 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3712 | + break; |
3713 | + } |
3714 | + switch (fid) |
3715 | + { |
3716 | + case 0: |
3717 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3718 | + xfer += this->success.read(iprot); |
3719 | + this->__isset.success = true; |
3720 | + } else { |
3721 | + xfer += iprot->skip(ftype); |
3722 | + } |
3723 | + break; |
3724 | + case 1: |
3725 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3726 | + xfer += this->userException.read(iprot); |
3727 | + this->__isset.userException = true; |
3728 | + } else { |
3729 | + xfer += iprot->skip(ftype); |
3730 | + } |
3731 | + break; |
3732 | + case 2: |
3733 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3734 | + xfer += this->systemException.read(iprot); |
3735 | + this->__isset.systemException = true; |
3736 | + } else { |
3737 | + xfer += iprot->skip(ftype); |
3738 | + } |
3739 | + break; |
3740 | + case 3: |
3741 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3742 | + xfer += this->notFoundException.read(iprot); |
3743 | + this->__isset.notFoundException = true; |
3744 | + } else { |
3745 | + xfer += iprot->skip(ftype); |
3746 | + } |
3747 | + break; |
3748 | + default: |
3749 | + xfer += iprot->skip(ftype); |
3750 | + break; |
3751 | + } |
3752 | + xfer += iprot->readFieldEnd(); |
3753 | + } |
3754 | + |
3755 | + xfer += iprot->readStructEnd(); |
3756 | + |
3757 | + return xfer; |
3758 | +} |
3759 | + |
3760 | +uint32_t NoteStore_getNotebook_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3761 | + |
3762 | + uint32_t xfer = 0; |
3763 | + |
3764 | + xfer += oprot->writeStructBegin("NoteStore_getNotebook_result"); |
3765 | + |
3766 | + if (this->__isset.success) { |
3767 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
3768 | + xfer += this->success.write(oprot); |
3769 | + xfer += oprot->writeFieldEnd(); |
3770 | + } else if (this->__isset.userException) { |
3771 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
3772 | + xfer += this->userException.write(oprot); |
3773 | + xfer += oprot->writeFieldEnd(); |
3774 | + } else if (this->__isset.systemException) { |
3775 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
3776 | + xfer += this->systemException.write(oprot); |
3777 | + xfer += oprot->writeFieldEnd(); |
3778 | + } else if (this->__isset.notFoundException) { |
3779 | + xfer += oprot->writeFieldBegin("notFoundException", ::apache::thrift::protocol::T_STRUCT, 3); |
3780 | + xfer += this->notFoundException.write(oprot); |
3781 | + xfer += oprot->writeFieldEnd(); |
3782 | + } |
3783 | + xfer += oprot->writeFieldStop(); |
3784 | + xfer += oprot->writeStructEnd(); |
3785 | + return xfer; |
3786 | +} |
3787 | + |
3788 | +uint32_t NoteStore_getNotebook_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
3789 | + |
3790 | + uint32_t xfer = 0; |
3791 | + std::string fname; |
3792 | + ::apache::thrift::protocol::TType ftype; |
3793 | + int16_t fid; |
3794 | + |
3795 | + xfer += iprot->readStructBegin(fname); |
3796 | + |
3797 | + using ::apache::thrift::protocol::TProtocolException; |
3798 | + |
3799 | + |
3800 | + while (true) |
3801 | + { |
3802 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3803 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3804 | + break; |
3805 | + } |
3806 | + switch (fid) |
3807 | + { |
3808 | + case 0: |
3809 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3810 | + xfer += (*(this->success)).read(iprot); |
3811 | + this->__isset.success = true; |
3812 | + } else { |
3813 | + xfer += iprot->skip(ftype); |
3814 | + } |
3815 | + break; |
3816 | + case 1: |
3817 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3818 | + xfer += this->userException.read(iprot); |
3819 | + this->__isset.userException = true; |
3820 | + } else { |
3821 | + xfer += iprot->skip(ftype); |
3822 | + } |
3823 | + break; |
3824 | + case 2: |
3825 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3826 | + xfer += this->systemException.read(iprot); |
3827 | + this->__isset.systemException = true; |
3828 | + } else { |
3829 | + xfer += iprot->skip(ftype); |
3830 | + } |
3831 | + break; |
3832 | + case 3: |
3833 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3834 | + xfer += this->notFoundException.read(iprot); |
3835 | + this->__isset.notFoundException = true; |
3836 | + } else { |
3837 | + xfer += iprot->skip(ftype); |
3838 | + } |
3839 | + break; |
3840 | + default: |
3841 | + xfer += iprot->skip(ftype); |
3842 | + break; |
3843 | + } |
3844 | + xfer += iprot->readFieldEnd(); |
3845 | + } |
3846 | + |
3847 | + xfer += iprot->readStructEnd(); |
3848 | + |
3849 | + return xfer; |
3850 | +} |
3851 | + |
3852 | +uint32_t NoteStore_getDefaultNotebook_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
3853 | + |
3854 | + uint32_t xfer = 0; |
3855 | + std::string fname; |
3856 | + ::apache::thrift::protocol::TType ftype; |
3857 | + int16_t fid; |
3858 | + |
3859 | + xfer += iprot->readStructBegin(fname); |
3860 | + |
3861 | + using ::apache::thrift::protocol::TProtocolException; |
3862 | + |
3863 | + |
3864 | + while (true) |
3865 | + { |
3866 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3867 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3868 | + break; |
3869 | + } |
3870 | + switch (fid) |
3871 | + { |
3872 | + case 1: |
3873 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
3874 | + xfer += iprot->readString(this->authenticationToken); |
3875 | + this->__isset.authenticationToken = true; |
3876 | + } else { |
3877 | + xfer += iprot->skip(ftype); |
3878 | + } |
3879 | + break; |
3880 | + default: |
3881 | + xfer += iprot->skip(ftype); |
3882 | + break; |
3883 | + } |
3884 | + xfer += iprot->readFieldEnd(); |
3885 | + } |
3886 | + |
3887 | + xfer += iprot->readStructEnd(); |
3888 | + |
3889 | + return xfer; |
3890 | +} |
3891 | + |
3892 | +uint32_t NoteStore_getDefaultNotebook_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3893 | + uint32_t xfer = 0; |
3894 | + xfer += oprot->writeStructBegin("NoteStore_getDefaultNotebook_args"); |
3895 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
3896 | + xfer += oprot->writeString(this->authenticationToken); |
3897 | + xfer += oprot->writeFieldEnd(); |
3898 | + xfer += oprot->writeFieldStop(); |
3899 | + xfer += oprot->writeStructEnd(); |
3900 | + return xfer; |
3901 | +} |
3902 | + |
3903 | +uint32_t NoteStore_getDefaultNotebook_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3904 | + uint32_t xfer = 0; |
3905 | + xfer += oprot->writeStructBegin("NoteStore_getDefaultNotebook_pargs"); |
3906 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
3907 | + xfer += oprot->writeString((*(this->authenticationToken))); |
3908 | + xfer += oprot->writeFieldEnd(); |
3909 | + xfer += oprot->writeFieldStop(); |
3910 | + xfer += oprot->writeStructEnd(); |
3911 | + return xfer; |
3912 | +} |
3913 | + |
3914 | +uint32_t NoteStore_getDefaultNotebook_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
3915 | + |
3916 | + uint32_t xfer = 0; |
3917 | + std::string fname; |
3918 | + ::apache::thrift::protocol::TType ftype; |
3919 | + int16_t fid; |
3920 | + |
3921 | + xfer += iprot->readStructBegin(fname); |
3922 | + |
3923 | + using ::apache::thrift::protocol::TProtocolException; |
3924 | + |
3925 | + |
3926 | + while (true) |
3927 | + { |
3928 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
3929 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
3930 | + break; |
3931 | + } |
3932 | + switch (fid) |
3933 | + { |
3934 | + case 0: |
3935 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3936 | + xfer += this->success.read(iprot); |
3937 | + this->__isset.success = true; |
3938 | + } else { |
3939 | + xfer += iprot->skip(ftype); |
3940 | + } |
3941 | + break; |
3942 | + case 1: |
3943 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3944 | + xfer += this->userException.read(iprot); |
3945 | + this->__isset.userException = true; |
3946 | + } else { |
3947 | + xfer += iprot->skip(ftype); |
3948 | + } |
3949 | + break; |
3950 | + case 2: |
3951 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
3952 | + xfer += this->systemException.read(iprot); |
3953 | + this->__isset.systemException = true; |
3954 | + } else { |
3955 | + xfer += iprot->skip(ftype); |
3956 | + } |
3957 | + break; |
3958 | + default: |
3959 | + xfer += iprot->skip(ftype); |
3960 | + break; |
3961 | + } |
3962 | + xfer += iprot->readFieldEnd(); |
3963 | + } |
3964 | + |
3965 | + xfer += iprot->readStructEnd(); |
3966 | + |
3967 | + return xfer; |
3968 | +} |
3969 | + |
3970 | +uint32_t NoteStore_getDefaultNotebook_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
3971 | + |
3972 | + uint32_t xfer = 0; |
3973 | + |
3974 | + xfer += oprot->writeStructBegin("NoteStore_getDefaultNotebook_result"); |
3975 | + |
3976 | + if (this->__isset.success) { |
3977 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
3978 | + xfer += this->success.write(oprot); |
3979 | + xfer += oprot->writeFieldEnd(); |
3980 | + } else if (this->__isset.userException) { |
3981 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
3982 | + xfer += this->userException.write(oprot); |
3983 | + xfer += oprot->writeFieldEnd(); |
3984 | + } else if (this->__isset.systemException) { |
3985 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
3986 | + xfer += this->systemException.write(oprot); |
3987 | + xfer += oprot->writeFieldEnd(); |
3988 | + } |
3989 | + xfer += oprot->writeFieldStop(); |
3990 | + xfer += oprot->writeStructEnd(); |
3991 | + return xfer; |
3992 | +} |
3993 | + |
3994 | +uint32_t NoteStore_getDefaultNotebook_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
3995 | + |
3996 | + uint32_t xfer = 0; |
3997 | + std::string fname; |
3998 | + ::apache::thrift::protocol::TType ftype; |
3999 | + int16_t fid; |
4000 | + |
4001 | + xfer += iprot->readStructBegin(fname); |
4002 | + |
4003 | + using ::apache::thrift::protocol::TProtocolException; |
4004 | + |
4005 | + |
4006 | + while (true) |
4007 | + { |
4008 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4009 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4010 | + break; |
4011 | + } |
4012 | + switch (fid) |
4013 | + { |
4014 | + case 0: |
4015 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4016 | + xfer += (*(this->success)).read(iprot); |
4017 | + this->__isset.success = true; |
4018 | + } else { |
4019 | + xfer += iprot->skip(ftype); |
4020 | + } |
4021 | + break; |
4022 | + case 1: |
4023 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4024 | + xfer += this->userException.read(iprot); |
4025 | + this->__isset.userException = true; |
4026 | + } else { |
4027 | + xfer += iprot->skip(ftype); |
4028 | + } |
4029 | + break; |
4030 | + case 2: |
4031 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4032 | + xfer += this->systemException.read(iprot); |
4033 | + this->__isset.systemException = true; |
4034 | + } else { |
4035 | + xfer += iprot->skip(ftype); |
4036 | + } |
4037 | + break; |
4038 | + default: |
4039 | + xfer += iprot->skip(ftype); |
4040 | + break; |
4041 | + } |
4042 | + xfer += iprot->readFieldEnd(); |
4043 | + } |
4044 | + |
4045 | + xfer += iprot->readStructEnd(); |
4046 | + |
4047 | + return xfer; |
4048 | +} |
4049 | + |
4050 | +uint32_t NoteStore_createNotebook_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
4051 | + |
4052 | + uint32_t xfer = 0; |
4053 | + std::string fname; |
4054 | + ::apache::thrift::protocol::TType ftype; |
4055 | + int16_t fid; |
4056 | + |
4057 | + xfer += iprot->readStructBegin(fname); |
4058 | + |
4059 | + using ::apache::thrift::protocol::TProtocolException; |
4060 | + |
4061 | + |
4062 | + while (true) |
4063 | + { |
4064 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4065 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4066 | + break; |
4067 | + } |
4068 | + switch (fid) |
4069 | + { |
4070 | + case 1: |
4071 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
4072 | + xfer += iprot->readString(this->authenticationToken); |
4073 | + this->__isset.authenticationToken = true; |
4074 | + } else { |
4075 | + xfer += iprot->skip(ftype); |
4076 | + } |
4077 | + break; |
4078 | + case 2: |
4079 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4080 | + xfer += this->notebook.read(iprot); |
4081 | + this->__isset.notebook = true; |
4082 | + } else { |
4083 | + xfer += iprot->skip(ftype); |
4084 | + } |
4085 | + break; |
4086 | + default: |
4087 | + xfer += iprot->skip(ftype); |
4088 | + break; |
4089 | + } |
4090 | + xfer += iprot->readFieldEnd(); |
4091 | + } |
4092 | + |
4093 | + xfer += iprot->readStructEnd(); |
4094 | + |
4095 | + return xfer; |
4096 | +} |
4097 | + |
4098 | +uint32_t NoteStore_createNotebook_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4099 | + uint32_t xfer = 0; |
4100 | + xfer += oprot->writeStructBegin("NoteStore_createNotebook_args"); |
4101 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
4102 | + xfer += oprot->writeString(this->authenticationToken); |
4103 | + xfer += oprot->writeFieldEnd(); |
4104 | + xfer += oprot->writeFieldBegin("notebook", ::apache::thrift::protocol::T_STRUCT, 2); |
4105 | + xfer += this->notebook.write(oprot); |
4106 | + xfer += oprot->writeFieldEnd(); |
4107 | + xfer += oprot->writeFieldStop(); |
4108 | + xfer += oprot->writeStructEnd(); |
4109 | + return xfer; |
4110 | +} |
4111 | + |
4112 | +uint32_t NoteStore_createNotebook_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4113 | + uint32_t xfer = 0; |
4114 | + xfer += oprot->writeStructBegin("NoteStore_createNotebook_pargs"); |
4115 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
4116 | + xfer += oprot->writeString((*(this->authenticationToken))); |
4117 | + xfer += oprot->writeFieldEnd(); |
4118 | + xfer += oprot->writeFieldBegin("notebook", ::apache::thrift::protocol::T_STRUCT, 2); |
4119 | + xfer += (*(this->notebook)).write(oprot); |
4120 | + xfer += oprot->writeFieldEnd(); |
4121 | + xfer += oprot->writeFieldStop(); |
4122 | + xfer += oprot->writeStructEnd(); |
4123 | + return xfer; |
4124 | +} |
4125 | + |
4126 | +uint32_t NoteStore_createNotebook_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
4127 | + |
4128 | + uint32_t xfer = 0; |
4129 | + std::string fname; |
4130 | + ::apache::thrift::protocol::TType ftype; |
4131 | + int16_t fid; |
4132 | + |
4133 | + xfer += iprot->readStructBegin(fname); |
4134 | + |
4135 | + using ::apache::thrift::protocol::TProtocolException; |
4136 | + |
4137 | + |
4138 | + while (true) |
4139 | + { |
4140 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4141 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4142 | + break; |
4143 | + } |
4144 | + switch (fid) |
4145 | + { |
4146 | + case 0: |
4147 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4148 | + xfer += this->success.read(iprot); |
4149 | + this->__isset.success = true; |
4150 | + } else { |
4151 | + xfer += iprot->skip(ftype); |
4152 | + } |
4153 | + break; |
4154 | + case 1: |
4155 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4156 | + xfer += this->userException.read(iprot); |
4157 | + this->__isset.userException = true; |
4158 | + } else { |
4159 | + xfer += iprot->skip(ftype); |
4160 | + } |
4161 | + break; |
4162 | + case 2: |
4163 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4164 | + xfer += this->systemException.read(iprot); |
4165 | + this->__isset.systemException = true; |
4166 | + } else { |
4167 | + xfer += iprot->skip(ftype); |
4168 | + } |
4169 | + break; |
4170 | + default: |
4171 | + xfer += iprot->skip(ftype); |
4172 | + break; |
4173 | + } |
4174 | + xfer += iprot->readFieldEnd(); |
4175 | + } |
4176 | + |
4177 | + xfer += iprot->readStructEnd(); |
4178 | + |
4179 | + return xfer; |
4180 | +} |
4181 | + |
4182 | +uint32_t NoteStore_createNotebook_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4183 | + |
4184 | + uint32_t xfer = 0; |
4185 | + |
4186 | + xfer += oprot->writeStructBegin("NoteStore_createNotebook_result"); |
4187 | + |
4188 | + if (this->__isset.success) { |
4189 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); |
4190 | + xfer += this->success.write(oprot); |
4191 | + xfer += oprot->writeFieldEnd(); |
4192 | + } else if (this->__isset.userException) { |
4193 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
4194 | + xfer += this->userException.write(oprot); |
4195 | + xfer += oprot->writeFieldEnd(); |
4196 | + } else if (this->__isset.systemException) { |
4197 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
4198 | + xfer += this->systemException.write(oprot); |
4199 | + xfer += oprot->writeFieldEnd(); |
4200 | + } |
4201 | + xfer += oprot->writeFieldStop(); |
4202 | + xfer += oprot->writeStructEnd(); |
4203 | + return xfer; |
4204 | +} |
4205 | + |
4206 | +uint32_t NoteStore_createNotebook_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
4207 | + |
4208 | + uint32_t xfer = 0; |
4209 | + std::string fname; |
4210 | + ::apache::thrift::protocol::TType ftype; |
4211 | + int16_t fid; |
4212 | + |
4213 | + xfer += iprot->readStructBegin(fname); |
4214 | + |
4215 | + using ::apache::thrift::protocol::TProtocolException; |
4216 | + |
4217 | + |
4218 | + while (true) |
4219 | + { |
4220 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4221 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4222 | + break; |
4223 | + } |
4224 | + switch (fid) |
4225 | + { |
4226 | + case 0: |
4227 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4228 | + xfer += (*(this->success)).read(iprot); |
4229 | + this->__isset.success = true; |
4230 | + } else { |
4231 | + xfer += iprot->skip(ftype); |
4232 | + } |
4233 | + break; |
4234 | + case 1: |
4235 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4236 | + xfer += this->userException.read(iprot); |
4237 | + this->__isset.userException = true; |
4238 | + } else { |
4239 | + xfer += iprot->skip(ftype); |
4240 | + } |
4241 | + break; |
4242 | + case 2: |
4243 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4244 | + xfer += this->systemException.read(iprot); |
4245 | + this->__isset.systemException = true; |
4246 | + } else { |
4247 | + xfer += iprot->skip(ftype); |
4248 | + } |
4249 | + break; |
4250 | + default: |
4251 | + xfer += iprot->skip(ftype); |
4252 | + break; |
4253 | + } |
4254 | + xfer += iprot->readFieldEnd(); |
4255 | + } |
4256 | + |
4257 | + xfer += iprot->readStructEnd(); |
4258 | + |
4259 | + return xfer; |
4260 | +} |
4261 | + |
4262 | +uint32_t NoteStore_updateNotebook_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
4263 | + |
4264 | + uint32_t xfer = 0; |
4265 | + std::string fname; |
4266 | + ::apache::thrift::protocol::TType ftype; |
4267 | + int16_t fid; |
4268 | + |
4269 | + xfer += iprot->readStructBegin(fname); |
4270 | + |
4271 | + using ::apache::thrift::protocol::TProtocolException; |
4272 | + |
4273 | + |
4274 | + while (true) |
4275 | + { |
4276 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4277 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4278 | + break; |
4279 | + } |
4280 | + switch (fid) |
4281 | + { |
4282 | + case 1: |
4283 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
4284 | + xfer += iprot->readString(this->authenticationToken); |
4285 | + this->__isset.authenticationToken = true; |
4286 | + } else { |
4287 | + xfer += iprot->skip(ftype); |
4288 | + } |
4289 | + break; |
4290 | + case 2: |
4291 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4292 | + xfer += this->notebook.read(iprot); |
4293 | + this->__isset.notebook = true; |
4294 | + } else { |
4295 | + xfer += iprot->skip(ftype); |
4296 | + } |
4297 | + break; |
4298 | + default: |
4299 | + xfer += iprot->skip(ftype); |
4300 | + break; |
4301 | + } |
4302 | + xfer += iprot->readFieldEnd(); |
4303 | + } |
4304 | + |
4305 | + xfer += iprot->readStructEnd(); |
4306 | + |
4307 | + return xfer; |
4308 | +} |
4309 | + |
4310 | +uint32_t NoteStore_updateNotebook_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4311 | + uint32_t xfer = 0; |
4312 | + xfer += oprot->writeStructBegin("NoteStore_updateNotebook_args"); |
4313 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
4314 | + xfer += oprot->writeString(this->authenticationToken); |
4315 | + xfer += oprot->writeFieldEnd(); |
4316 | + xfer += oprot->writeFieldBegin("notebook", ::apache::thrift::protocol::T_STRUCT, 2); |
4317 | + xfer += this->notebook.write(oprot); |
4318 | + xfer += oprot->writeFieldEnd(); |
4319 | + xfer += oprot->writeFieldStop(); |
4320 | + xfer += oprot->writeStructEnd(); |
4321 | + return xfer; |
4322 | +} |
4323 | + |
4324 | +uint32_t NoteStore_updateNotebook_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4325 | + uint32_t xfer = 0; |
4326 | + xfer += oprot->writeStructBegin("NoteStore_updateNotebook_pargs"); |
4327 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
4328 | + xfer += oprot->writeString((*(this->authenticationToken))); |
4329 | + xfer += oprot->writeFieldEnd(); |
4330 | + xfer += oprot->writeFieldBegin("notebook", ::apache::thrift::protocol::T_STRUCT, 2); |
4331 | + xfer += (*(this->notebook)).write(oprot); |
4332 | + xfer += oprot->writeFieldEnd(); |
4333 | + xfer += oprot->writeFieldStop(); |
4334 | + xfer += oprot->writeStructEnd(); |
4335 | + return xfer; |
4336 | +} |
4337 | + |
4338 | +uint32_t NoteStore_updateNotebook_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
4339 | + |
4340 | + uint32_t xfer = 0; |
4341 | + std::string fname; |
4342 | + ::apache::thrift::protocol::TType ftype; |
4343 | + int16_t fid; |
4344 | + |
4345 | + xfer += iprot->readStructBegin(fname); |
4346 | + |
4347 | + using ::apache::thrift::protocol::TProtocolException; |
4348 | + |
4349 | + |
4350 | + while (true) |
4351 | + { |
4352 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4353 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4354 | + break; |
4355 | + } |
4356 | + switch (fid) |
4357 | + { |
4358 | + case 0: |
4359 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
4360 | + xfer += iprot->readI32(this->success); |
4361 | + this->__isset.success = true; |
4362 | + } else { |
4363 | + xfer += iprot->skip(ftype); |
4364 | + } |
4365 | + break; |
4366 | + case 1: |
4367 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4368 | + xfer += this->userException.read(iprot); |
4369 | + this->__isset.userException = true; |
4370 | + } else { |
4371 | + xfer += iprot->skip(ftype); |
4372 | + } |
4373 | + break; |
4374 | + case 2: |
4375 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4376 | + xfer += this->systemException.read(iprot); |
4377 | + this->__isset.systemException = true; |
4378 | + } else { |
4379 | + xfer += iprot->skip(ftype); |
4380 | + } |
4381 | + break; |
4382 | + case 3: |
4383 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4384 | + xfer += this->notFoundException.read(iprot); |
4385 | + this->__isset.notFoundException = true; |
4386 | + } else { |
4387 | + xfer += iprot->skip(ftype); |
4388 | + } |
4389 | + break; |
4390 | + default: |
4391 | + xfer += iprot->skip(ftype); |
4392 | + break; |
4393 | + } |
4394 | + xfer += iprot->readFieldEnd(); |
4395 | + } |
4396 | + |
4397 | + xfer += iprot->readStructEnd(); |
4398 | + |
4399 | + return xfer; |
4400 | +} |
4401 | + |
4402 | +uint32_t NoteStore_updateNotebook_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4403 | + |
4404 | + uint32_t xfer = 0; |
4405 | + |
4406 | + xfer += oprot->writeStructBegin("NoteStore_updateNotebook_result"); |
4407 | + |
4408 | + if (this->__isset.success) { |
4409 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_I32, 0); |
4410 | + xfer += oprot->writeI32(this->success); |
4411 | + xfer += oprot->writeFieldEnd(); |
4412 | + } else if (this->__isset.userException) { |
4413 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
4414 | + xfer += this->userException.write(oprot); |
4415 | + xfer += oprot->writeFieldEnd(); |
4416 | + } else if (this->__isset.systemException) { |
4417 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
4418 | + xfer += this->systemException.write(oprot); |
4419 | + xfer += oprot->writeFieldEnd(); |
4420 | + } else if (this->__isset.notFoundException) { |
4421 | + xfer += oprot->writeFieldBegin("notFoundException", ::apache::thrift::protocol::T_STRUCT, 3); |
4422 | + xfer += this->notFoundException.write(oprot); |
4423 | + xfer += oprot->writeFieldEnd(); |
4424 | + } |
4425 | + xfer += oprot->writeFieldStop(); |
4426 | + xfer += oprot->writeStructEnd(); |
4427 | + return xfer; |
4428 | +} |
4429 | + |
4430 | +uint32_t NoteStore_updateNotebook_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
4431 | + |
4432 | + uint32_t xfer = 0; |
4433 | + std::string fname; |
4434 | + ::apache::thrift::protocol::TType ftype; |
4435 | + int16_t fid; |
4436 | + |
4437 | + xfer += iprot->readStructBegin(fname); |
4438 | + |
4439 | + using ::apache::thrift::protocol::TProtocolException; |
4440 | + |
4441 | + |
4442 | + while (true) |
4443 | + { |
4444 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4445 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4446 | + break; |
4447 | + } |
4448 | + switch (fid) |
4449 | + { |
4450 | + case 0: |
4451 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
4452 | + xfer += iprot->readI32((*(this->success))); |
4453 | + this->__isset.success = true; |
4454 | + } else { |
4455 | + xfer += iprot->skip(ftype); |
4456 | + } |
4457 | + break; |
4458 | + case 1: |
4459 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4460 | + xfer += this->userException.read(iprot); |
4461 | + this->__isset.userException = true; |
4462 | + } else { |
4463 | + xfer += iprot->skip(ftype); |
4464 | + } |
4465 | + break; |
4466 | + case 2: |
4467 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4468 | + xfer += this->systemException.read(iprot); |
4469 | + this->__isset.systemException = true; |
4470 | + } else { |
4471 | + xfer += iprot->skip(ftype); |
4472 | + } |
4473 | + break; |
4474 | + case 3: |
4475 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4476 | + xfer += this->notFoundException.read(iprot); |
4477 | + this->__isset.notFoundException = true; |
4478 | + } else { |
4479 | + xfer += iprot->skip(ftype); |
4480 | + } |
4481 | + break; |
4482 | + default: |
4483 | + xfer += iprot->skip(ftype); |
4484 | + break; |
4485 | + } |
4486 | + xfer += iprot->readFieldEnd(); |
4487 | + } |
4488 | + |
4489 | + xfer += iprot->readStructEnd(); |
4490 | + |
4491 | + return xfer; |
4492 | +} |
4493 | + |
4494 | +uint32_t NoteStore_expungeNotebook_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
4495 | + |
4496 | + uint32_t xfer = 0; |
4497 | + std::string fname; |
4498 | + ::apache::thrift::protocol::TType ftype; |
4499 | + int16_t fid; |
4500 | + |
4501 | + xfer += iprot->readStructBegin(fname); |
4502 | + |
4503 | + using ::apache::thrift::protocol::TProtocolException; |
4504 | + |
4505 | + |
4506 | + while (true) |
4507 | + { |
4508 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4509 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4510 | + break; |
4511 | + } |
4512 | + switch (fid) |
4513 | + { |
4514 | + case 1: |
4515 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
4516 | + xfer += iprot->readString(this->authenticationToken); |
4517 | + this->__isset.authenticationToken = true; |
4518 | + } else { |
4519 | + xfer += iprot->skip(ftype); |
4520 | + } |
4521 | + break; |
4522 | + case 2: |
4523 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
4524 | + xfer += iprot->readString(this->guid); |
4525 | + this->__isset.guid = true; |
4526 | + } else { |
4527 | + xfer += iprot->skip(ftype); |
4528 | + } |
4529 | + break; |
4530 | + default: |
4531 | + xfer += iprot->skip(ftype); |
4532 | + break; |
4533 | + } |
4534 | + xfer += iprot->readFieldEnd(); |
4535 | + } |
4536 | + |
4537 | + xfer += iprot->readStructEnd(); |
4538 | + |
4539 | + return xfer; |
4540 | +} |
4541 | + |
4542 | +uint32_t NoteStore_expungeNotebook_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4543 | + uint32_t xfer = 0; |
4544 | + xfer += oprot->writeStructBegin("NoteStore_expungeNotebook_args"); |
4545 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
4546 | + xfer += oprot->writeString(this->authenticationToken); |
4547 | + xfer += oprot->writeFieldEnd(); |
4548 | + xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 2); |
4549 | + xfer += oprot->writeString(this->guid); |
4550 | + xfer += oprot->writeFieldEnd(); |
4551 | + xfer += oprot->writeFieldStop(); |
4552 | + xfer += oprot->writeStructEnd(); |
4553 | + return xfer; |
4554 | +} |
4555 | + |
4556 | +uint32_t NoteStore_expungeNotebook_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4557 | + uint32_t xfer = 0; |
4558 | + xfer += oprot->writeStructBegin("NoteStore_expungeNotebook_pargs"); |
4559 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
4560 | + xfer += oprot->writeString((*(this->authenticationToken))); |
4561 | + xfer += oprot->writeFieldEnd(); |
4562 | + xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 2); |
4563 | + xfer += oprot->writeString((*(this->guid))); |
4564 | + xfer += oprot->writeFieldEnd(); |
4565 | + xfer += oprot->writeFieldStop(); |
4566 | + xfer += oprot->writeStructEnd(); |
4567 | + return xfer; |
4568 | +} |
4569 | + |
4570 | +uint32_t NoteStore_expungeNotebook_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
4571 | + |
4572 | + uint32_t xfer = 0; |
4573 | + std::string fname; |
4574 | + ::apache::thrift::protocol::TType ftype; |
4575 | + int16_t fid; |
4576 | + |
4577 | + xfer += iprot->readStructBegin(fname); |
4578 | + |
4579 | + using ::apache::thrift::protocol::TProtocolException; |
4580 | + |
4581 | + |
4582 | + while (true) |
4583 | + { |
4584 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4585 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4586 | + break; |
4587 | + } |
4588 | + switch (fid) |
4589 | + { |
4590 | + case 0: |
4591 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
4592 | + xfer += iprot->readI32(this->success); |
4593 | + this->__isset.success = true; |
4594 | + } else { |
4595 | + xfer += iprot->skip(ftype); |
4596 | + } |
4597 | + break; |
4598 | + case 1: |
4599 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4600 | + xfer += this->userException.read(iprot); |
4601 | + this->__isset.userException = true; |
4602 | + } else { |
4603 | + xfer += iprot->skip(ftype); |
4604 | + } |
4605 | + break; |
4606 | + case 2: |
4607 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4608 | + xfer += this->systemException.read(iprot); |
4609 | + this->__isset.systemException = true; |
4610 | + } else { |
4611 | + xfer += iprot->skip(ftype); |
4612 | + } |
4613 | + break; |
4614 | + case 3: |
4615 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4616 | + xfer += this->notFoundException.read(iprot); |
4617 | + this->__isset.notFoundException = true; |
4618 | + } else { |
4619 | + xfer += iprot->skip(ftype); |
4620 | + } |
4621 | + break; |
4622 | + default: |
4623 | + xfer += iprot->skip(ftype); |
4624 | + break; |
4625 | + } |
4626 | + xfer += iprot->readFieldEnd(); |
4627 | + } |
4628 | + |
4629 | + xfer += iprot->readStructEnd(); |
4630 | + |
4631 | + return xfer; |
4632 | +} |
4633 | + |
4634 | +uint32_t NoteStore_expungeNotebook_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4635 | + |
4636 | + uint32_t xfer = 0; |
4637 | + |
4638 | + xfer += oprot->writeStructBegin("NoteStore_expungeNotebook_result"); |
4639 | + |
4640 | + if (this->__isset.success) { |
4641 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_I32, 0); |
4642 | + xfer += oprot->writeI32(this->success); |
4643 | + xfer += oprot->writeFieldEnd(); |
4644 | + } else if (this->__isset.userException) { |
4645 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
4646 | + xfer += this->userException.write(oprot); |
4647 | + xfer += oprot->writeFieldEnd(); |
4648 | + } else if (this->__isset.systemException) { |
4649 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
4650 | + xfer += this->systemException.write(oprot); |
4651 | + xfer += oprot->writeFieldEnd(); |
4652 | + } else if (this->__isset.notFoundException) { |
4653 | + xfer += oprot->writeFieldBegin("notFoundException", ::apache::thrift::protocol::T_STRUCT, 3); |
4654 | + xfer += this->notFoundException.write(oprot); |
4655 | + xfer += oprot->writeFieldEnd(); |
4656 | + } |
4657 | + xfer += oprot->writeFieldStop(); |
4658 | + xfer += oprot->writeStructEnd(); |
4659 | + return xfer; |
4660 | +} |
4661 | + |
4662 | +uint32_t NoteStore_expungeNotebook_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
4663 | + |
4664 | + uint32_t xfer = 0; |
4665 | + std::string fname; |
4666 | + ::apache::thrift::protocol::TType ftype; |
4667 | + int16_t fid; |
4668 | + |
4669 | + xfer += iprot->readStructBegin(fname); |
4670 | + |
4671 | + using ::apache::thrift::protocol::TProtocolException; |
4672 | + |
4673 | + |
4674 | + while (true) |
4675 | + { |
4676 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4677 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4678 | + break; |
4679 | + } |
4680 | + switch (fid) |
4681 | + { |
4682 | + case 0: |
4683 | + if (ftype == ::apache::thrift::protocol::T_I32) { |
4684 | + xfer += iprot->readI32((*(this->success))); |
4685 | + this->__isset.success = true; |
4686 | + } else { |
4687 | + xfer += iprot->skip(ftype); |
4688 | + } |
4689 | + break; |
4690 | + case 1: |
4691 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4692 | + xfer += this->userException.read(iprot); |
4693 | + this->__isset.userException = true; |
4694 | + } else { |
4695 | + xfer += iprot->skip(ftype); |
4696 | + } |
4697 | + break; |
4698 | + case 2: |
4699 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4700 | + xfer += this->systemException.read(iprot); |
4701 | + this->__isset.systemException = true; |
4702 | + } else { |
4703 | + xfer += iprot->skip(ftype); |
4704 | + } |
4705 | + break; |
4706 | + case 3: |
4707 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4708 | + xfer += this->notFoundException.read(iprot); |
4709 | + this->__isset.notFoundException = true; |
4710 | + } else { |
4711 | + xfer += iprot->skip(ftype); |
4712 | + } |
4713 | + break; |
4714 | + default: |
4715 | + xfer += iprot->skip(ftype); |
4716 | + break; |
4717 | + } |
4718 | + xfer += iprot->readFieldEnd(); |
4719 | + } |
4720 | + |
4721 | + xfer += iprot->readStructEnd(); |
4722 | + |
4723 | + return xfer; |
4724 | +} |
4725 | + |
4726 | +uint32_t NoteStore_listTags_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
4727 | + |
4728 | + uint32_t xfer = 0; |
4729 | + std::string fname; |
4730 | + ::apache::thrift::protocol::TType ftype; |
4731 | + int16_t fid; |
4732 | + |
4733 | + xfer += iprot->readStructBegin(fname); |
4734 | + |
4735 | + using ::apache::thrift::protocol::TProtocolException; |
4736 | + |
4737 | + |
4738 | + while (true) |
4739 | + { |
4740 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4741 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4742 | + break; |
4743 | + } |
4744 | + switch (fid) |
4745 | + { |
4746 | + case 1: |
4747 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
4748 | + xfer += iprot->readString(this->authenticationToken); |
4749 | + this->__isset.authenticationToken = true; |
4750 | + } else { |
4751 | + xfer += iprot->skip(ftype); |
4752 | + } |
4753 | + break; |
4754 | + default: |
4755 | + xfer += iprot->skip(ftype); |
4756 | + break; |
4757 | + } |
4758 | + xfer += iprot->readFieldEnd(); |
4759 | + } |
4760 | + |
4761 | + xfer += iprot->readStructEnd(); |
4762 | + |
4763 | + return xfer; |
4764 | +} |
4765 | + |
4766 | +uint32_t NoteStore_listTags_args::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4767 | + uint32_t xfer = 0; |
4768 | + xfer += oprot->writeStructBegin("NoteStore_listTags_args"); |
4769 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
4770 | + xfer += oprot->writeString(this->authenticationToken); |
4771 | + xfer += oprot->writeFieldEnd(); |
4772 | + xfer += oprot->writeFieldStop(); |
4773 | + xfer += oprot->writeStructEnd(); |
4774 | + return xfer; |
4775 | +} |
4776 | + |
4777 | +uint32_t NoteStore_listTags_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4778 | + uint32_t xfer = 0; |
4779 | + xfer += oprot->writeStructBegin("NoteStore_listTags_pargs"); |
4780 | + xfer += oprot->writeFieldBegin("authenticationToken", ::apache::thrift::protocol::T_STRING, 1); |
4781 | + xfer += oprot->writeString((*(this->authenticationToken))); |
4782 | + xfer += oprot->writeFieldEnd(); |
4783 | + xfer += oprot->writeFieldStop(); |
4784 | + xfer += oprot->writeStructEnd(); |
4785 | + return xfer; |
4786 | +} |
4787 | + |
4788 | +uint32_t NoteStore_listTags_result::read(::apache::thrift::protocol::TProtocol* iprot) { |
4789 | + |
4790 | + uint32_t xfer = 0; |
4791 | + std::string fname; |
4792 | + ::apache::thrift::protocol::TType ftype; |
4793 | + int16_t fid; |
4794 | + |
4795 | + xfer += iprot->readStructBegin(fname); |
4796 | + |
4797 | + using ::apache::thrift::protocol::TProtocolException; |
4798 | + |
4799 | + |
4800 | + while (true) |
4801 | + { |
4802 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4803 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4804 | + break; |
4805 | + } |
4806 | + switch (fid) |
4807 | + { |
4808 | + case 0: |
4809 | + if (ftype == ::apache::thrift::protocol::T_LIST) { |
4810 | + { |
4811 | + this->success.clear(); |
4812 | + uint32_t _size177; |
4813 | + ::apache::thrift::protocol::TType _etype180; |
4814 | + iprot->readListBegin(_etype180, _size177); |
4815 | + this->success.resize(_size177); |
4816 | + uint32_t _i181; |
4817 | + for (_i181 = 0; _i181 < _size177; ++_i181) |
4818 | + { |
4819 | + xfer += this->success[_i181].read(iprot); |
4820 | + } |
4821 | + iprot->readListEnd(); |
4822 | + } |
4823 | + this->__isset.success = true; |
4824 | + } else { |
4825 | + xfer += iprot->skip(ftype); |
4826 | + } |
4827 | + break; |
4828 | + case 1: |
4829 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4830 | + xfer += this->userException.read(iprot); |
4831 | + this->__isset.userException = true; |
4832 | + } else { |
4833 | + xfer += iprot->skip(ftype); |
4834 | + } |
4835 | + break; |
4836 | + case 2: |
4837 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4838 | + xfer += this->systemException.read(iprot); |
4839 | + this->__isset.systemException = true; |
4840 | + } else { |
4841 | + xfer += iprot->skip(ftype); |
4842 | + } |
4843 | + break; |
4844 | + default: |
4845 | + xfer += iprot->skip(ftype); |
4846 | + break; |
4847 | + } |
4848 | + xfer += iprot->readFieldEnd(); |
4849 | + } |
4850 | + |
4851 | + xfer += iprot->readStructEnd(); |
4852 | + |
4853 | + return xfer; |
4854 | +} |
4855 | + |
4856 | +uint32_t NoteStore_listTags_result::write(::apache::thrift::protocol::TProtocol* oprot) const { |
4857 | + |
4858 | + uint32_t xfer = 0; |
4859 | + |
4860 | + xfer += oprot->writeStructBegin("NoteStore_listTags_result"); |
4861 | + |
4862 | + if (this->__isset.success) { |
4863 | + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); |
4864 | + { |
4865 | + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size()); |
4866 | + std::vector<evernote::edam::Tag> ::const_iterator _iter182; |
4867 | + for (_iter182 = this->success.begin(); _iter182 != this->success.end(); ++_iter182) |
4868 | + { |
4869 | + xfer += (*_iter182).write(oprot); |
4870 | + } |
4871 | + xfer += oprot->writeListEnd(); |
4872 | + } |
4873 | + xfer += oprot->writeFieldEnd(); |
4874 | + } else if (this->__isset.userException) { |
4875 | + xfer += oprot->writeFieldBegin("userException", ::apache::thrift::protocol::T_STRUCT, 1); |
4876 | + xfer += this->userException.write(oprot); |
4877 | + xfer += oprot->writeFieldEnd(); |
4878 | + } else if (this->__isset.systemException) { |
4879 | + xfer += oprot->writeFieldBegin("systemException", ::apache::thrift::protocol::T_STRUCT, 2); |
4880 | + xfer += this->systemException.write(oprot); |
4881 | + xfer += oprot->writeFieldEnd(); |
4882 | + } |
4883 | + xfer += oprot->writeFieldStop(); |
4884 | + xfer += oprot->writeStructEnd(); |
4885 | + return xfer; |
4886 | +} |
4887 | + |
4888 | +uint32_t NoteStore_listTags_presult::read(::apache::thrift::protocol::TProtocol* iprot) { |
4889 | + |
4890 | + uint32_t xfer = 0; |
4891 | + std::string fname; |
4892 | + ::apache::thrift::protocol::TType ftype; |
4893 | + int16_t fid; |
4894 | + |
4895 | + xfer += iprot->readStructBegin(fname); |
4896 | + |
4897 | + using ::apache::thrift::protocol::TProtocolException; |
4898 | + |
4899 | + |
4900 | + while (true) |
4901 | + { |
4902 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4903 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4904 | + break; |
4905 | + } |
4906 | + switch (fid) |
4907 | + { |
4908 | + case 0: |
4909 | + if (ftype == ::apache::thrift::protocol::T_LIST) { |
4910 | + { |
4911 | + (*(this->success)).clear(); |
4912 | + uint32_t _size183; |
4913 | + ::apache::thrift::protocol::TType _etype186; |
4914 | + iprot->readListBegin(_etype186, _size183); |
4915 | + (*(this->success)).resize(_size183); |
4916 | + uint32_t _i187; |
4917 | + for (_i187 = 0; _i187 < _size183; ++_i187) |
4918 | + { |
4919 | + xfer += (*(this->success))[_i187].read(iprot); |
4920 | + } |
4921 | + iprot->readListEnd(); |
4922 | + } |
4923 | + this->__isset.success = true; |
4924 | + } else { |
4925 | + xfer += iprot->skip(ftype); |
4926 | + } |
4927 | + break; |
4928 | + case 1: |
4929 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4930 | + xfer += this->userException.read(iprot); |
4931 | + this->__isset.userException = true; |
4932 | + } else { |
4933 | + xfer += iprot->skip(ftype); |
4934 | + } |
4935 | + break; |
4936 | + case 2: |
4937 | + if (ftype == ::apache::thrift::protocol::T_STRUCT) { |
4938 | + xfer += this->systemException.read(iprot); |
4939 | + this->__isset.systemException = true; |
4940 | + } else { |
4941 | + xfer += iprot->skip(ftype); |
4942 | + } |
4943 | + break; |
4944 | + default: |
4945 | + xfer += iprot->skip(ftype); |
4946 | + break; |
4947 | + } |
4948 | + xfer += iprot->readFieldEnd(); |
4949 | + } |
4950 | + |
4951 | + xfer += iprot->readStructEnd(); |
4952 | + |
4953 | + return xfer; |
4954 | +} |
4955 | + |
4956 | +uint32_t NoteStore_listTagsByNotebook_args::read(::apache::thrift::protocol::TProtocol* iprot) { |
4957 | + |
4958 | + uint32_t xfer = 0; |
4959 | + std::string fname; |
4960 | + ::apache::thrift::protocol::TType ftype; |
4961 | + int16_t fid; |
4962 | + |
4963 | + xfer += iprot->readStructBegin(fname); |
4964 | + |
4965 | + using ::apache::thrift::protocol::TProtocolException; |
4966 | + |
4967 | + |
4968 | + while (true) |
4969 | + { |
4970 | + xfer += iprot->readFieldBegin(fname, ftype, fid); |
4971 | + if (ftype == ::apache::thrift::protocol::T_STOP) { |
4972 | + break; |
4973 | + } |
4974 | + switch (fid) |
4975 | + { |
4976 | + case 1: |
4977 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
4978 | + xfer += iprot->readString(this->authenticationToken); |
4979 | + this->__isset.authenticationToken = true; |
4980 | + } else { |
4981 | + xfer += iprot->skip(ftype); |
4982 | + } |
4983 | + break; |
4984 | + case 2: |
4985 | + if (ftype == ::apache::thrift::protocol::T_STRING) { |
4986 | + xfer += iprot->readString(this->notebookGuid); |
4987 | + this->__isset.notebookGuid = true; |
4988 | + } else { |
4989 | + xfer += iprot->skip(ftype); |
4990 | + } |
4991 | + break; |
4992 | + default: |
4993 | + xfer += iprot->skip(ftype); |
4994 | + break; |
4995 | + } |
4996 | + xfer += iprot->readFieldEnd(); |
4997 | + } |
4998 | + |
4999 | + xfer += iprot->readStructEnd(); |
5000 | + |
FAILED: Continuous integration, rev:8 91.189. 93.70:8080/ job/reminders- app-ci/ 2/ 91.189. 93.70:8080/ job/generic- mediumtests- trusty/ 199/console 91.189. 93.70:8080/ job/reminders- app-raring- amd64-ci/ 2/console 91.189. 93.70:8080/ job/reminders- app-saucy- amd64-ci/ 2/console 91.189. 93.70:8080/ job/reminders- app-trusty- amd64-ci/ 2/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/reminders- app-ci/ 2/rebuild
http://