diff options
| -rw-r--r-- | LICENSE | 1351 | ||||
| -rw-r--r-- | REFLECTION | 229 | ||||
| -rw-r--r-- | php-pecl-couchbase2.spec | 106 | 
3 files changed, 1636 insertions, 50 deletions
| @@ -0,0 +1,1351 @@ + + + + +<!DOCTYPE html> +<html lang="en" class=""> +  <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#"> +    <meta charset='utf-8'> +    <meta http-equiv="X-UA-Compatible" content="IE=edge"> +    <meta http-equiv="Content-Language" content="en"> +     +     +    <title>php-couchbase/LICENSE at master · couchbaselabs/php-couchbase · GitHub</title> +    <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub"> +    <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub"> +    <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png"> +    <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png"> +    <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png"> +    <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png"> +    <meta property="fb:app_id" content="1401488693436528"> + +      <meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="couchbaselabs/php-couchbase" name="twitter:title" /><meta content="php-couchbase - New PHP Client Library for Couchbase" name="twitter:description" /><meta content="https://avatars2.githubusercontent.com/u/636956?v=2&s=400" name="twitter:image:src" /> +<meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="https://avatars2.githubusercontent.com/u/636956?v=2&s=400" property="og:image" /><meta content="couchbaselabs/php-couchbase" property="og:title" /><meta content="https://github.com/couchbaselabs/php-couchbase" property="og:url" /><meta content="php-couchbase - New PHP Client Library for Couchbase" property="og:description" /> + +      <meta name="browser-stats-url" content="/_stats"> +    <link rel="assets" href="https://assets-cdn.github.com/"> +    <link rel="conduit-xhr" href="https://ghconduit.com:25035"> +     + +    <meta name="msapplication-TileImage" content="/windows-tile.png"> +    <meta name="msapplication-TileColor" content="#ffffff"> +    <meta name="selected-link" value="repo_source" data-pjax-transient> +      <meta name="google-analytics" content="UA-3769691-2"> + +    <meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="52F18279:13B0:12E6FD88:541D2D54" name="octolytics-dimension-request_id" /> +    <meta content="Rails, view, blob#show" name="analytics-event" /> + +     +     +    <link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico"> + + +    <meta content="authenticity_token" name="csrf-param" /> +<meta content="5apotzS17o5zH26cqdTHj3IyKq09Hgv8mFhFwn6O6+Ae0p8XxNmU3TDRDGGI1cx2xjh3ZqJHxarwPYKTiRgdwg==" name="csrf-token" /> + +    <link href="https://assets-cdn.github.com/assets/github-b83b8eb08bbe9393c7a5d777e6a86ffe4372ab2d.css" media="all" rel="stylesheet" type="text/css" /> +    <link href="https://assets-cdn.github.com/assets/github2-9c223bf3576a594be038a21d709c9724d181cf0d.css" media="all" rel="stylesheet" type="text/css" /> +     + + +    <meta http-equiv="x-pjax-version" content="5250183d2ac940b525622a112ad95e8b"> + +       +  <meta name="description" content="php-couchbase - New PHP Client Library for Couchbase"> +  <meta name="go-import" content="github.com/couchbaselabs/php-couchbase git https://github.com/couchbaselabs/php-couchbase.git"> + +  <meta content="636956" name="octolytics-dimension-user_id" /><meta content="couchbaselabs" name="octolytics-dimension-user_login" /><meta content="19100832" name="octolytics-dimension-repository_id" /><meta content="couchbaselabs/php-couchbase" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="true" name="octolytics-dimension-repository_is_fork" /><meta content="14781656" name="octolytics-dimension-repository_parent_id" /><meta content="brett19/php-couchbase" name="octolytics-dimension-repository_parent_nwo" /><meta content="14781656" name="octolytics-dimension-repository_network_root_id" /><meta content="brett19/php-couchbase" name="octolytics-dimension-repository_network_root_nwo" /> +  <link href="https://github.com/couchbaselabs/php-couchbase/commits/master.atom" rel="alternate" title="Recent Commits to php-couchbase:master" type="application/atom+xml"> + +  </head> + + +  <body class="logged_out  env-production  vis-public fork page-blob"> +    <a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a> +    <div class="wrapper"> +       +       +       +       + + +       +      <div class="header header-logged-out"> +  <div class="container clearfix"> + +    <a class="header-logo-wordmark" href="https://github.com/" ga-data-click="(Logged out) Header, go to homepage, icon:logo-wordmark"> +      <span class="mega-octicon octicon-logo-github"></span> +    </a> + +    <div class="header-actions"> +        <a class="button primary" href="/join" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a> +      <a class="button signin" href="/login?return_to=%2Fcouchbaselabs%2Fphp-couchbase%2Fblob%2Fmaster%2FLICENSE" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a> +    </div> + +    <div class="site-search repo-scope js-site-search"> +      <form accept-charset="UTF-8" action="/couchbaselabs/php-couchbase/search" class="js-site-search-form" data-global-search-url="/search" data-repo-search-url="/couchbaselabs/php-couchbase/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div> +  <input type="text" +    class="js-site-search-field is-clearable" +    data-hotkey="s" +    name="q" +    placeholder="Search" +    data-global-scope-placeholder="Search GitHub" +    data-repo-scope-placeholder="Search" +    tabindex="1" +    autocapitalize="off"> +  <div class="scope-badge">This repository</div> +</form> +    </div> + +      <ul class="header-nav left"> +          <li class="header-nav-item"> +            <a class="header-nav-link" href="/explore" data-ga-click="(Logged out) Header, go to explore, text:explore">Explore</a> +          </li> +          <li class="header-nav-item"> +            <a class="header-nav-link" href="/features" data-ga-click="(Logged out) Header, go to features, text:features">Features</a> +          </li> +          <li class="header-nav-item"> +            <a class="header-nav-link" href="https://enterprise.github.com/" data-ga-click="(Logged out) Header, go to enterprise, text:enterprise">Enterprise</a> +          </li> +          <li class="header-nav-item"> +            <a class="header-nav-link" href="/blog" data-ga-click="(Logged out) Header, go to blog, text:blog">Blog</a> +          </li> +      </ul> + +  </div> +</div> + + + +      <div id="start-of-content" class="accessibility-aid"></div> +          <div class="site" itemscope itemtype="http://schema.org/WebPage"> +    <div id="js-flash-container"> +       +    </div> +    <div class="pagehead repohead instapaper_ignore readability-menu"> +      <div class="container"> +         +<ul class="pagehead-actions"> + + +  <li> +      <a href="/login?return_to=%2Fcouchbaselabs%2Fphp-couchbase" +    class="minibutton with-count star-button tooltipped tooltipped-n" +    aria-label="You must be signed in to star a repository" rel="nofollow"> +    <span class="octicon octicon-star"></span> +    Star +  </a> + +    <a class="social-count js-social-count" href="/couchbaselabs/php-couchbase/stargazers"> +      2 +    </a> + +  </li> + +    <li> +      <a href="/login?return_to=%2Fcouchbaselabs%2Fphp-couchbase" +        class="minibutton with-count js-toggler-target fork-button tooltipped tooltipped-n" +        aria-label="You must be signed in to fork a repository" rel="nofollow"> +        <span class="octicon octicon-repo-forked"></span> +        Fork +      </a> +      <a href="/couchbaselabs/php-couchbase/network" class="social-count"> +        2 +      </a> +    </li> +</ul> + +        <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public"> +          <span class="mega-octicon octicon-repo-forked"></span> +          <span class="author"><a href="/couchbaselabs" class="url fn" itemprop="url" rel="author"><span itemprop="title">couchbaselabs</span></a></span><!-- +       --><span class="path-divider">/</span><!-- +       --><strong><a href="/couchbaselabs/php-couchbase" class="js-current-repository js-repo-home-link">php-couchbase</a></strong> + +          <span class="page-context-loader"> +            <img alt="" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" /> +          </span> + +            <span class="fork-flag"> +              <span class="text">forked from <a href="/brett19/php-couchbase">brett19/php-couchbase</a></span> +            </span> +        </h1> +      </div><!-- /.container --> +    </div><!-- /.repohead --> + +    <div class="container"> +      <div class="repository-with-sidebar repo-container new-discussion-timeline  "> +        <div class="repository-sidebar clearfix"> +             +<div class="sunken-menu vertical-right repo-nav js-repo-nav js-repository-container-pjax js-octicon-loaders" data-issue-count-url="/couchbaselabs/php-couchbase/issues/counts"> +  <div class="sunken-menu-contents"> +    <ul class="sunken-menu-group"> +      <li class="tooltipped tooltipped-w" aria-label="Code"> +        <a href="/couchbaselabs/php-couchbase" aria-label="Code" class="selected js-selected-navigation-item sunken-menu-item" data-hotkey="g c" data-pjax="true" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /couchbaselabs/php-couchbase"> +          <span class="octicon octicon-code"></span> <span class="full-word">Code</span> +          <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" /> +</a>      </li> + + +      <li class="tooltipped tooltipped-w" aria-label="Pull Requests"> +        <a href="/couchbaselabs/php-couchbase/pulls" aria-label="Pull Requests" class="js-selected-navigation-item sunken-menu-item js-disable-pjax" data-hotkey="g p" data-selected-links="repo_pulls /couchbaselabs/php-couchbase/pulls"> +            <span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull Requests</span> +            <span class="js-pull-replace-counter"></span> +            <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" /> +</a>      </li> + + +    </ul> +    <div class="sunken-menu-separator"></div> +    <ul class="sunken-menu-group"> + +      <li class="tooltipped tooltipped-w" aria-label="Pulse"> +        <a href="/couchbaselabs/php-couchbase/pulse/weekly" aria-label="Pulse" class="js-selected-navigation-item sunken-menu-item" data-pjax="true" data-selected-links="pulse /couchbaselabs/php-couchbase/pulse/weekly"> +          <span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span> +          <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" /> +</a>      </li> + +      <li class="tooltipped tooltipped-w" aria-label="Graphs"> +        <a href="/couchbaselabs/php-couchbase/graphs" aria-label="Graphs" class="js-selected-navigation-item sunken-menu-item" data-pjax="true" data-selected-links="repo_graphs repo_contributors /couchbaselabs/php-couchbase/graphs"> +          <span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span> +          <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" /> +</a>      </li> +    </ul> + + +  </div> +</div> + +              <div class="only-with-full-nav"> +                 +   +<div class="clone-url open" +  data-protocol-type="http" +  data-url="/users/set_protocol?protocol_selector=http&protocol_type=clone"> +  <h3><span class="text-emphasized">HTTPS</span> clone URL</h3> +  <div class="input-group"> +    <input type="text" class="input-mini input-monospace js-url-field" +           value="https://github.com/couchbaselabs/php-couchbase.git" readonly="readonly"> +    <span class="input-group-button"> +      <button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/couchbaselabs/php-couchbase.git" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button> +    </span> +  </div> +</div> + +   +<div class="clone-url " +  data-protocol-type="subversion" +  data-url="/users/set_protocol?protocol_selector=subversion&protocol_type=clone"> +  <h3><span class="text-emphasized">Subversion</span> checkout URL</h3> +  <div class="input-group"> +    <input type="text" class="input-mini input-monospace js-url-field" +           value="https://github.com/couchbaselabs/php-couchbase" readonly="readonly"> +    <span class="input-group-button"> +      <button aria-label="Copy to clipboard" class="js-zeroclipboard minibutton zeroclipboard-button" data-clipboard-text="https://github.com/couchbaselabs/php-couchbase" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button> +    </span> +  </div> +</div> + + +<p class="clone-options">You can clone with +      <a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a> +      or <a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>. +  <a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you."> +    <span class="octicon octicon-question"></span> +  </a> +</p> + + + +                <a href="/couchbaselabs/php-couchbase/archive/master.zip" +                   class="minibutton sidebar-button" +                   aria-label="Download the contents of couchbaselabs/php-couchbase as a zip file" +                   title="Download the contents of couchbaselabs/php-couchbase as a zip file" +                   rel="nofollow"> +                  <span class="octicon octicon-cloud-download"></span> +                  Download ZIP +                </a> +              </div> +        </div><!-- /.repository-sidebar --> + +        <div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container> +           + +<a href="/couchbaselabs/php-couchbase/blob/fce4b63b680dc5fccf8ffeadf103e4030d366ceb/LICENSE" class="hidden js-permalink-shortcut" data-hotkey="y">Permalink</a> + +<!-- blob contrib key: blob_contributors:v21:6ff5e4734b9243fa1899b914bcaabd60 --> + +<div class="file-navigation"> +   +<div class="select-menu js-menu-container js-select-menu left"> +  <span class="minibutton select-menu-button js-menu-target css-truncate" data-hotkey="w" +    data-master-branch="master" +    data-ref="master" +    title="master" +    role="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true"> +    <span class="octicon octicon-git-branch"></span> +    <i>branch:</i> +    <span class="js-select-button css-truncate-target">master</span> +  </span> + +  <div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true"> + +    <div class="select-menu-modal"> +      <div class="select-menu-header"> +        <span class="select-menu-title">Switch branches/tags</span> +        <span class="octicon octicon-x js-menu-close" role="button" aria-label="Close"></span> +      </div> <!-- /.select-menu-header --> + +      <div class="select-menu-filters"> +        <div class="select-menu-text-filter"> +          <input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags"> +        </div> +        <div class="select-menu-tabs"> +          <ul> +            <li class="select-menu-tab"> +              <a href="#" data-tab-filter="branches" class="js-select-menu-tab">Branches</a> +            </li> +            <li class="select-menu-tab"> +              <a href="#" data-tab-filter="tags" class="js-select-menu-tab">Tags</a> +            </li> +          </ul> +        </div><!-- /.select-menu-tabs --> +      </div><!-- /.select-menu-filters --> + +      <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches"> + +        <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring"> + + +            <div class="select-menu-item js-navigation-item selected"> +              <span class="select-menu-item-icon octicon octicon-check"></span> +              <a href="/couchbaselabs/php-couchbase/blob/master/LICENSE" +                 data-name="master" +                 data-skip-pjax="true" +                 rel="nofollow" +                 class="js-navigation-open select-menu-item-text css-truncate-target" +                 title="master">master</a> +            </div> <!-- /.select-menu-item --> +        </div> + +          <div class="select-menu-no-results">Nothing to show</div> +      </div> <!-- /.select-menu-list --> + +      <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags"> +        <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring"> + + +            <div class="select-menu-item js-navigation-item "> +              <span class="select-menu-item-icon octicon octicon-check"></span> +              <a href="/couchbaselabs/php-couchbase/tree/2.0.0-dp2/LICENSE" +                 data-name="2.0.0-dp2" +                 data-skip-pjax="true" +                 rel="nofollow" +                 class="js-navigation-open select-menu-item-text css-truncate-target" +                 title="2.0.0-dp2">2.0.0-dp2</a> +            </div> <!-- /.select-menu-item --> +            <div class="select-menu-item js-navigation-item "> +              <span class="select-menu-item-icon octicon octicon-check"></span> +              <a href="/couchbaselabs/php-couchbase/tree/2.0.0-dp1/LICENSE" +                 data-name="2.0.0-dp1" +                 data-skip-pjax="true" +                 rel="nofollow" +                 class="js-navigation-open select-menu-item-text css-truncate-target" +                 title="2.0.0-dp1">2.0.0-dp1</a> +            </div> <!-- /.select-menu-item --> +        </div> + +        <div class="select-menu-no-results">Nothing to show</div> +      </div> <!-- /.select-menu-list --> + +    </div> <!-- /.select-menu-modal --> +  </div> <!-- /.select-menu-modal-holder --> +</div> <!-- /.select-menu --> + +  <div class="button-group right"> +    <a href="/couchbaselabs/php-couchbase/find/master" +          class="js-show-file-finder minibutton empty-icon tooltipped tooltipped-s" +          data-pjax +          data-hotkey="t" +          aria-label="Quickly jump between files"> +      <span class="octicon octicon-list-unordered"></span> +    </a> +    <button class="js-zeroclipboard minibutton zeroclipboard-button" +          data-clipboard-text="LICENSE" +          aria-label="Copy to clipboard" +          data-copied-hint="Copied!"> +      <span class="octicon octicon-clippy"></span> +    </button> +  </div> + +  <div class="breadcrumb"> +    <span class='repo-root js-repo-root'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/couchbaselabs/php-couchbase" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">php-couchbase</span></a></span></span><span class="separator"> / </span><strong class="final-path">LICENSE</strong> +  </div> +</div> + + +  <div class="commit commit-loader file-history-tease js-deferred-content" data-url="/couchbaselabs/php-couchbase/contributors/master/LICENSE"> +    <div class="file-history-tease-header"> +      Fetching contributors… +    </div> + +    <div class="participation"> +      <p class="loader-loading"><img alt="" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32-EAF2F5.gif" width="16" /></p> +      <p class="loader-error">Cannot retrieve contributors at this time</p> +    </div> +  </div> + +<div class="file-box"> +  <div class="file"> +    <div class="meta clearfix"> +      <div class="info file-name"> +          <span>203 lines (169 sloc)</span> +          <span class="meta-divider"></span> +        <span>11.358 kb</span> +      </div> +      <div class="actions"> +        <div class="button-group"> +          <a href="/couchbaselabs/php-couchbase/raw/master/LICENSE" class="minibutton " id="raw-url">Raw</a> +            <a href="/couchbaselabs/php-couchbase/blame/master/LICENSE" class="minibutton js-update-url-with-hash">Blame</a> +          <a href="/couchbaselabs/php-couchbase/commits/master/LICENSE" class="minibutton " rel="nofollow">History</a> +        </div><!-- /.button-group --> + + +            <a class="octicon-button disabled tooltipped tooltipped-w" href="#" +               aria-label="You must be signed in to make or propose changes"><span class="octicon octicon-pencil"></span></a> + +          <a class="octicon-button danger disabled tooltipped tooltipped-w" href="#" +             aria-label="You must be signed in to make or propose changes"> +          <span class="octicon octicon-trashcan"></span> +        </a> +      </div><!-- /.actions --> +    </div> +     +  <div class="blob-wrapper data type-text"> +      <table class="highlight tab-size-8 js-file-line-container"> +      <tr> +        <td id="L1" class="blob-num js-line-number" data-line-number="1"></td> +        <td id="LC1" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L2" class="blob-num js-line-number" data-line-number="2"></td> +        <td id="LC2" class="blob-code js-file-line">                                 Apache License</td> +      </tr> +      <tr> +        <td id="L3" class="blob-num js-line-number" data-line-number="3"></td> +        <td id="LC3" class="blob-code js-file-line">                           Version 2.0, January 2004</td> +      </tr> +      <tr> +        <td id="L4" class="blob-num js-line-number" data-line-number="4"></td> +        <td id="LC4" class="blob-code js-file-line">                        http://www.apache.org/licenses/</td> +      </tr> +      <tr> +        <td id="L5" class="blob-num js-line-number" data-line-number="5"></td> +        <td id="LC5" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L6" class="blob-num js-line-number" data-line-number="6"></td> +        <td id="LC6" class="blob-code js-file-line">   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</td> +      </tr> +      <tr> +        <td id="L7" class="blob-num js-line-number" data-line-number="7"></td> +        <td id="LC7" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L8" class="blob-num js-line-number" data-line-number="8"></td> +        <td id="LC8" class="blob-code js-file-line">   1. Definitions.</td> +      </tr> +      <tr> +        <td id="L9" class="blob-num js-line-number" data-line-number="9"></td> +        <td id="LC9" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L10" class="blob-num js-line-number" data-line-number="10"></td> +        <td id="LC10" class="blob-code js-file-line">      "License" shall mean the terms and conditions for use, reproduction,</td> +      </tr> +      <tr> +        <td id="L11" class="blob-num js-line-number" data-line-number="11"></td> +        <td id="LC11" class="blob-code js-file-line">      and distribution as defined by Sections 1 through 9 of this document.</td> +      </tr> +      <tr> +        <td id="L12" class="blob-num js-line-number" data-line-number="12"></td> +        <td id="LC12" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L13" class="blob-num js-line-number" data-line-number="13"></td> +        <td id="LC13" class="blob-code js-file-line">      "Licensor" shall mean the copyright owner or entity authorized by</td> +      </tr> +      <tr> +        <td id="L14" class="blob-num js-line-number" data-line-number="14"></td> +        <td id="LC14" class="blob-code js-file-line">      the copyright owner that is granting the License.</td> +      </tr> +      <tr> +        <td id="L15" class="blob-num js-line-number" data-line-number="15"></td> +        <td id="LC15" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L16" class="blob-num js-line-number" data-line-number="16"></td> +        <td id="LC16" class="blob-code js-file-line">      "Legal Entity" shall mean the union of the acting entity and all</td> +      </tr> +      <tr> +        <td id="L17" class="blob-num js-line-number" data-line-number="17"></td> +        <td id="LC17" class="blob-code js-file-line">      other entities that control, are controlled by, or are under common</td> +      </tr> +      <tr> +        <td id="L18" class="blob-num js-line-number" data-line-number="18"></td> +        <td id="LC18" class="blob-code js-file-line">      control with that entity. For the purposes of this definition,</td> +      </tr> +      <tr> +        <td id="L19" class="blob-num js-line-number" data-line-number="19"></td> +        <td id="LC19" class="blob-code js-file-line">      "control" means (i) the power, direct or indirect, to cause the</td> +      </tr> +      <tr> +        <td id="L20" class="blob-num js-line-number" data-line-number="20"></td> +        <td id="LC20" class="blob-code js-file-line">      direction or management of such entity, whether by contract or</td> +      </tr> +      <tr> +        <td id="L21" class="blob-num js-line-number" data-line-number="21"></td> +        <td id="LC21" class="blob-code js-file-line">      otherwise, or (ii) ownership of fifty percent (50%) or more of the</td> +      </tr> +      <tr> +        <td id="L22" class="blob-num js-line-number" data-line-number="22"></td> +        <td id="LC22" class="blob-code js-file-line">      outstanding shares, or (iii) beneficial ownership of such entity.</td> +      </tr> +      <tr> +        <td id="L23" class="blob-num js-line-number" data-line-number="23"></td> +        <td id="LC23" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L24" class="blob-num js-line-number" data-line-number="24"></td> +        <td id="LC24" class="blob-code js-file-line">      "You" (or "Your") shall mean an individual or Legal Entity</td> +      </tr> +      <tr> +        <td id="L25" class="blob-num js-line-number" data-line-number="25"></td> +        <td id="LC25" class="blob-code js-file-line">      exercising permissions granted by this License.</td> +      </tr> +      <tr> +        <td id="L26" class="blob-num js-line-number" data-line-number="26"></td> +        <td id="LC26" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L27" class="blob-num js-line-number" data-line-number="27"></td> +        <td id="LC27" class="blob-code js-file-line">      "Source" form shall mean the preferred form for making modifications,</td> +      </tr> +      <tr> +        <td id="L28" class="blob-num js-line-number" data-line-number="28"></td> +        <td id="LC28" class="blob-code js-file-line">      including but not limited to software source code, documentation</td> +      </tr> +      <tr> +        <td id="L29" class="blob-num js-line-number" data-line-number="29"></td> +        <td id="LC29" class="blob-code js-file-line">      source, and configuration files.</td> +      </tr> +      <tr> +        <td id="L30" class="blob-num js-line-number" data-line-number="30"></td> +        <td id="LC30" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L31" class="blob-num js-line-number" data-line-number="31"></td> +        <td id="LC31" class="blob-code js-file-line">      "Object" form shall mean any form resulting from mechanical</td> +      </tr> +      <tr> +        <td id="L32" class="blob-num js-line-number" data-line-number="32"></td> +        <td id="LC32" class="blob-code js-file-line">      transformation or translation of a Source form, including but</td> +      </tr> +      <tr> +        <td id="L33" class="blob-num js-line-number" data-line-number="33"></td> +        <td id="LC33" class="blob-code js-file-line">      not limited to compiled object code, generated documentation,</td> +      </tr> +      <tr> +        <td id="L34" class="blob-num js-line-number" data-line-number="34"></td> +        <td id="LC34" class="blob-code js-file-line">      and conversions to other media types.</td> +      </tr> +      <tr> +        <td id="L35" class="blob-num js-line-number" data-line-number="35"></td> +        <td id="LC35" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L36" class="blob-num js-line-number" data-line-number="36"></td> +        <td id="LC36" class="blob-code js-file-line">      "Work" shall mean the work of authorship, whether in Source or</td> +      </tr> +      <tr> +        <td id="L37" class="blob-num js-line-number" data-line-number="37"></td> +        <td id="LC37" class="blob-code js-file-line">      Object form, made available under the License, as indicated by a</td> +      </tr> +      <tr> +        <td id="L38" class="blob-num js-line-number" data-line-number="38"></td> +        <td id="LC38" class="blob-code js-file-line">      copyright notice that is included in or attached to the work</td> +      </tr> +      <tr> +        <td id="L39" class="blob-num js-line-number" data-line-number="39"></td> +        <td id="LC39" class="blob-code js-file-line">      (an example is provided in the Appendix below).</td> +      </tr> +      <tr> +        <td id="L40" class="blob-num js-line-number" data-line-number="40"></td> +        <td id="LC40" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L41" class="blob-num js-line-number" data-line-number="41"></td> +        <td id="LC41" class="blob-code js-file-line">      "Derivative Works" shall mean any work, whether in Source or Object</td> +      </tr> +      <tr> +        <td id="L42" class="blob-num js-line-number" data-line-number="42"></td> +        <td id="LC42" class="blob-code js-file-line">      form, that is based on (or derived from) the Work and for which the</td> +      </tr> +      <tr> +        <td id="L43" class="blob-num js-line-number" data-line-number="43"></td> +        <td id="LC43" class="blob-code js-file-line">      editorial revisions, annotations, elaborations, or other modifications</td> +      </tr> +      <tr> +        <td id="L44" class="blob-num js-line-number" data-line-number="44"></td> +        <td id="LC44" class="blob-code js-file-line">      represent, as a whole, an original work of authorship. For the purposes</td> +      </tr> +      <tr> +        <td id="L45" class="blob-num js-line-number" data-line-number="45"></td> +        <td id="LC45" class="blob-code js-file-line">      of this License, Derivative Works shall not include works that remain</td> +      </tr> +      <tr> +        <td id="L46" class="blob-num js-line-number" data-line-number="46"></td> +        <td id="LC46" class="blob-code js-file-line">      separable from, or merely link (or bind by name) to the interfaces of,</td> +      </tr> +      <tr> +        <td id="L47" class="blob-num js-line-number" data-line-number="47"></td> +        <td id="LC47" class="blob-code js-file-line">      the Work and Derivative Works thereof.</td> +      </tr> +      <tr> +        <td id="L48" class="blob-num js-line-number" data-line-number="48"></td> +        <td id="LC48" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L49" class="blob-num js-line-number" data-line-number="49"></td> +        <td id="LC49" class="blob-code js-file-line">      "Contribution" shall mean any work of authorship, including</td> +      </tr> +      <tr> +        <td id="L50" class="blob-num js-line-number" data-line-number="50"></td> +        <td id="LC50" class="blob-code js-file-line">      the original version of the Work and any modifications or additions</td> +      </tr> +      <tr> +        <td id="L51" class="blob-num js-line-number" data-line-number="51"></td> +        <td id="LC51" class="blob-code js-file-line">      to that Work or Derivative Works thereof, that is intentionally</td> +      </tr> +      <tr> +        <td id="L52" class="blob-num js-line-number" data-line-number="52"></td> +        <td id="LC52" class="blob-code js-file-line">      submitted to Licensor for inclusion in the Work by the copyright owner</td> +      </tr> +      <tr> +        <td id="L53" class="blob-num js-line-number" data-line-number="53"></td> +        <td id="LC53" class="blob-code js-file-line">      or by an individual or Legal Entity authorized to submit on behalf of</td> +      </tr> +      <tr> +        <td id="L54" class="blob-num js-line-number" data-line-number="54"></td> +        <td id="LC54" class="blob-code js-file-line">      the copyright owner. For the purposes of this definition, "submitted"</td> +      </tr> +      <tr> +        <td id="L55" class="blob-num js-line-number" data-line-number="55"></td> +        <td id="LC55" class="blob-code js-file-line">      means any form of electronic, verbal, or written communication sent</td> +      </tr> +      <tr> +        <td id="L56" class="blob-num js-line-number" data-line-number="56"></td> +        <td id="LC56" class="blob-code js-file-line">      to the Licensor or its representatives, including but not limited to</td> +      </tr> +      <tr> +        <td id="L57" class="blob-num js-line-number" data-line-number="57"></td> +        <td id="LC57" class="blob-code js-file-line">      communication on electronic mailing lists, source code control systems,</td> +      </tr> +      <tr> +        <td id="L58" class="blob-num js-line-number" data-line-number="58"></td> +        <td id="LC58" class="blob-code js-file-line">      and issue tracking systems that are managed by, or on behalf of, the</td> +      </tr> +      <tr> +        <td id="L59" class="blob-num js-line-number" data-line-number="59"></td> +        <td id="LC59" class="blob-code js-file-line">      Licensor for the purpose of discussing and improving the Work, but</td> +      </tr> +      <tr> +        <td id="L60" class="blob-num js-line-number" data-line-number="60"></td> +        <td id="LC60" class="blob-code js-file-line">      excluding communication that is conspicuously marked or otherwise</td> +      </tr> +      <tr> +        <td id="L61" class="blob-num js-line-number" data-line-number="61"></td> +        <td id="LC61" class="blob-code js-file-line">      designated in writing by the copyright owner as "Not a Contribution."</td> +      </tr> +      <tr> +        <td id="L62" class="blob-num js-line-number" data-line-number="62"></td> +        <td id="LC62" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L63" class="blob-num js-line-number" data-line-number="63"></td> +        <td id="LC63" class="blob-code js-file-line">      "Contributor" shall mean Licensor and any individual or Legal Entity</td> +      </tr> +      <tr> +        <td id="L64" class="blob-num js-line-number" data-line-number="64"></td> +        <td id="LC64" class="blob-code js-file-line">      on behalf of whom a Contribution has been received by Licensor and</td> +      </tr> +      <tr> +        <td id="L65" class="blob-num js-line-number" data-line-number="65"></td> +        <td id="LC65" class="blob-code js-file-line">      subsequently incorporated within the Work.</td> +      </tr> +      <tr> +        <td id="L66" class="blob-num js-line-number" data-line-number="66"></td> +        <td id="LC66" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L67" class="blob-num js-line-number" data-line-number="67"></td> +        <td id="LC67" class="blob-code js-file-line">   2. Grant of Copyright License. Subject to the terms and conditions of</td> +      </tr> +      <tr> +        <td id="L68" class="blob-num js-line-number" data-line-number="68"></td> +        <td id="LC68" class="blob-code js-file-line">      this License, each Contributor hereby grants to You a perpetual,</td> +      </tr> +      <tr> +        <td id="L69" class="blob-num js-line-number" data-line-number="69"></td> +        <td id="LC69" class="blob-code js-file-line">      worldwide, non-exclusive, no-charge, royalty-free, irrevocable</td> +      </tr> +      <tr> +        <td id="L70" class="blob-num js-line-number" data-line-number="70"></td> +        <td id="LC70" class="blob-code js-file-line">      copyright license to reproduce, prepare Derivative Works of,</td> +      </tr> +      <tr> +        <td id="L71" class="blob-num js-line-number" data-line-number="71"></td> +        <td id="LC71" class="blob-code js-file-line">      publicly display, publicly perform, sublicense, and distribute the</td> +      </tr> +      <tr> +        <td id="L72" class="blob-num js-line-number" data-line-number="72"></td> +        <td id="LC72" class="blob-code js-file-line">      Work and such Derivative Works in Source or Object form.</td> +      </tr> +      <tr> +        <td id="L73" class="blob-num js-line-number" data-line-number="73"></td> +        <td id="LC73" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L74" class="blob-num js-line-number" data-line-number="74"></td> +        <td id="LC74" class="blob-code js-file-line">   3. Grant of Patent License. Subject to the terms and conditions of</td> +      </tr> +      <tr> +        <td id="L75" class="blob-num js-line-number" data-line-number="75"></td> +        <td id="LC75" class="blob-code js-file-line">      this License, each Contributor hereby grants to You a perpetual,</td> +      </tr> +      <tr> +        <td id="L76" class="blob-num js-line-number" data-line-number="76"></td> +        <td id="LC76" class="blob-code js-file-line">      worldwide, non-exclusive, no-charge, royalty-free, irrevocable</td> +      </tr> +      <tr> +        <td id="L77" class="blob-num js-line-number" data-line-number="77"></td> +        <td id="LC77" class="blob-code js-file-line">      (except as stated in this section) patent license to make, have made,</td> +      </tr> +      <tr> +        <td id="L78" class="blob-num js-line-number" data-line-number="78"></td> +        <td id="LC78" class="blob-code js-file-line">      use, offer to sell, sell, import, and otherwise transfer the Work,</td> +      </tr> +      <tr> +        <td id="L79" class="blob-num js-line-number" data-line-number="79"></td> +        <td id="LC79" class="blob-code js-file-line">      where such license applies only to those patent claims licensable</td> +      </tr> +      <tr> +        <td id="L80" class="blob-num js-line-number" data-line-number="80"></td> +        <td id="LC80" class="blob-code js-file-line">      by such Contributor that are necessarily infringed by their</td> +      </tr> +      <tr> +        <td id="L81" class="blob-num js-line-number" data-line-number="81"></td> +        <td id="LC81" class="blob-code js-file-line">      Contribution(s) alone or by combination of their Contribution(s)</td> +      </tr> +      <tr> +        <td id="L82" class="blob-num js-line-number" data-line-number="82"></td> +        <td id="LC82" class="blob-code js-file-line">      with the Work to which such Contribution(s) was submitted. If You</td> +      </tr> +      <tr> +        <td id="L83" class="blob-num js-line-number" data-line-number="83"></td> +        <td id="LC83" class="blob-code js-file-line">      institute patent litigation against any entity (including a</td> +      </tr> +      <tr> +        <td id="L84" class="blob-num js-line-number" data-line-number="84"></td> +        <td id="LC84" class="blob-code js-file-line">      cross-claim or counterclaim in a lawsuit) alleging that the Work</td> +      </tr> +      <tr> +        <td id="L85" class="blob-num js-line-number" data-line-number="85"></td> +        <td id="LC85" class="blob-code js-file-line">      or a Contribution incorporated within the Work constitutes direct</td> +      </tr> +      <tr> +        <td id="L86" class="blob-num js-line-number" data-line-number="86"></td> +        <td id="LC86" class="blob-code js-file-line">      or contributory patent infringement, then any patent licenses</td> +      </tr> +      <tr> +        <td id="L87" class="blob-num js-line-number" data-line-number="87"></td> +        <td id="LC87" class="blob-code js-file-line">      granted to You under this License for that Work shall terminate</td> +      </tr> +      <tr> +        <td id="L88" class="blob-num js-line-number" data-line-number="88"></td> +        <td id="LC88" class="blob-code js-file-line">      as of the date such litigation is filed.</td> +      </tr> +      <tr> +        <td id="L89" class="blob-num js-line-number" data-line-number="89"></td> +        <td id="LC89" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L90" class="blob-num js-line-number" data-line-number="90"></td> +        <td id="LC90" class="blob-code js-file-line">   4. Redistribution. You may reproduce and distribute copies of the</td> +      </tr> +      <tr> +        <td id="L91" class="blob-num js-line-number" data-line-number="91"></td> +        <td id="LC91" class="blob-code js-file-line">      Work or Derivative Works thereof in any medium, with or without</td> +      </tr> +      <tr> +        <td id="L92" class="blob-num js-line-number" data-line-number="92"></td> +        <td id="LC92" class="blob-code js-file-line">      modifications, and in Source or Object form, provided that You</td> +      </tr> +      <tr> +        <td id="L93" class="blob-num js-line-number" data-line-number="93"></td> +        <td id="LC93" class="blob-code js-file-line">      meet the following conditions:</td> +      </tr> +      <tr> +        <td id="L94" class="blob-num js-line-number" data-line-number="94"></td> +        <td id="LC94" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L95" class="blob-num js-line-number" data-line-number="95"></td> +        <td id="LC95" class="blob-code js-file-line">      (a) You must give any other recipients of the Work or</td> +      </tr> +      <tr> +        <td id="L96" class="blob-num js-line-number" data-line-number="96"></td> +        <td id="LC96" class="blob-code js-file-line">          Derivative Works a copy of this License; and</td> +      </tr> +      <tr> +        <td id="L97" class="blob-num js-line-number" data-line-number="97"></td> +        <td id="LC97" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L98" class="blob-num js-line-number" data-line-number="98"></td> +        <td id="LC98" class="blob-code js-file-line">      (b) You must cause any modified files to carry prominent notices</td> +      </tr> +      <tr> +        <td id="L99" class="blob-num js-line-number" data-line-number="99"></td> +        <td id="LC99" class="blob-code js-file-line">          stating that You changed the files; and</td> +      </tr> +      <tr> +        <td id="L100" class="blob-num js-line-number" data-line-number="100"></td> +        <td id="LC100" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L101" class="blob-num js-line-number" data-line-number="101"></td> +        <td id="LC101" class="blob-code js-file-line">      (c) You must retain, in the Source form of any Derivative Works</td> +      </tr> +      <tr> +        <td id="L102" class="blob-num js-line-number" data-line-number="102"></td> +        <td id="LC102" class="blob-code js-file-line">          that You distribute, all copyright, patent, trademark, and</td> +      </tr> +      <tr> +        <td id="L103" class="blob-num js-line-number" data-line-number="103"></td> +        <td id="LC103" class="blob-code js-file-line">          attribution notices from the Source form of the Work,</td> +      </tr> +      <tr> +        <td id="L104" class="blob-num js-line-number" data-line-number="104"></td> +        <td id="LC104" class="blob-code js-file-line">          excluding those notices that do not pertain to any part of</td> +      </tr> +      <tr> +        <td id="L105" class="blob-num js-line-number" data-line-number="105"></td> +        <td id="LC105" class="blob-code js-file-line">          the Derivative Works; and</td> +      </tr> +      <tr> +        <td id="L106" class="blob-num js-line-number" data-line-number="106"></td> +        <td id="LC106" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L107" class="blob-num js-line-number" data-line-number="107"></td> +        <td id="LC107" class="blob-code js-file-line">      (d) If the Work includes a "NOTICE" text file as part of its</td> +      </tr> +      <tr> +        <td id="L108" class="blob-num js-line-number" data-line-number="108"></td> +        <td id="LC108" class="blob-code js-file-line">          distribution, then any Derivative Works that You distribute must</td> +      </tr> +      <tr> +        <td id="L109" class="blob-num js-line-number" data-line-number="109"></td> +        <td id="LC109" class="blob-code js-file-line">          include a readable copy of the attribution notices contained</td> +      </tr> +      <tr> +        <td id="L110" class="blob-num js-line-number" data-line-number="110"></td> +        <td id="LC110" class="blob-code js-file-line">          within such NOTICE file, excluding those notices that do not</td> +      </tr> +      <tr> +        <td id="L111" class="blob-num js-line-number" data-line-number="111"></td> +        <td id="LC111" class="blob-code js-file-line">          pertain to any part of the Derivative Works, in at least one</td> +      </tr> +      <tr> +        <td id="L112" class="blob-num js-line-number" data-line-number="112"></td> +        <td id="LC112" class="blob-code js-file-line">          of the following places: within a NOTICE text file distributed</td> +      </tr> +      <tr> +        <td id="L113" class="blob-num js-line-number" data-line-number="113"></td> +        <td id="LC113" class="blob-code js-file-line">          as part of the Derivative Works; within the Source form or</td> +      </tr> +      <tr> +        <td id="L114" class="blob-num js-line-number" data-line-number="114"></td> +        <td id="LC114" class="blob-code js-file-line">          documentation, if provided along with the Derivative Works; or,</td> +      </tr> +      <tr> +        <td id="L115" class="blob-num js-line-number" data-line-number="115"></td> +        <td id="LC115" class="blob-code js-file-line">          within a display generated by the Derivative Works, if and</td> +      </tr> +      <tr> +        <td id="L116" class="blob-num js-line-number" data-line-number="116"></td> +        <td id="LC116" class="blob-code js-file-line">          wherever such third-party notices normally appear. The contents</td> +      </tr> +      <tr> +        <td id="L117" class="blob-num js-line-number" data-line-number="117"></td> +        <td id="LC117" class="blob-code js-file-line">          of the NOTICE file are for informational purposes only and</td> +      </tr> +      <tr> +        <td id="L118" class="blob-num js-line-number" data-line-number="118"></td> +        <td id="LC118" class="blob-code js-file-line">          do not modify the License. You may add Your own attribution</td> +      </tr> +      <tr> +        <td id="L119" class="blob-num js-line-number" data-line-number="119"></td> +        <td id="LC119" class="blob-code js-file-line">          notices within Derivative Works that You distribute, alongside</td> +      </tr> +      <tr> +        <td id="L120" class="blob-num js-line-number" data-line-number="120"></td> +        <td id="LC120" class="blob-code js-file-line">          or as an addendum to the NOTICE text from the Work, provided</td> +      </tr> +      <tr> +        <td id="L121" class="blob-num js-line-number" data-line-number="121"></td> +        <td id="LC121" class="blob-code js-file-line">          that such additional attribution notices cannot be construed</td> +      </tr> +      <tr> +        <td id="L122" class="blob-num js-line-number" data-line-number="122"></td> +        <td id="LC122" class="blob-code js-file-line">          as modifying the License.</td> +      </tr> +      <tr> +        <td id="L123" class="blob-num js-line-number" data-line-number="123"></td> +        <td id="LC123" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L124" class="blob-num js-line-number" data-line-number="124"></td> +        <td id="LC124" class="blob-code js-file-line">      You may add Your own copyright statement to Your modifications and</td> +      </tr> +      <tr> +        <td id="L125" class="blob-num js-line-number" data-line-number="125"></td> +        <td id="LC125" class="blob-code js-file-line">      may provide additional or different license terms and conditions</td> +      </tr> +      <tr> +        <td id="L126" class="blob-num js-line-number" data-line-number="126"></td> +        <td id="LC126" class="blob-code js-file-line">      for use, reproduction, or distribution of Your modifications, or</td> +      </tr> +      <tr> +        <td id="L127" class="blob-num js-line-number" data-line-number="127"></td> +        <td id="LC127" class="blob-code js-file-line">      for any such Derivative Works as a whole, provided Your use,</td> +      </tr> +      <tr> +        <td id="L128" class="blob-num js-line-number" data-line-number="128"></td> +        <td id="LC128" class="blob-code js-file-line">      reproduction, and distribution of the Work otherwise complies with</td> +      </tr> +      <tr> +        <td id="L129" class="blob-num js-line-number" data-line-number="129"></td> +        <td id="LC129" class="blob-code js-file-line">      the conditions stated in this License.</td> +      </tr> +      <tr> +        <td id="L130" class="blob-num js-line-number" data-line-number="130"></td> +        <td id="LC130" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L131" class="blob-num js-line-number" data-line-number="131"></td> +        <td id="LC131" class="blob-code js-file-line">   5. Submission of Contributions. Unless You explicitly state otherwise,</td> +      </tr> +      <tr> +        <td id="L132" class="blob-num js-line-number" data-line-number="132"></td> +        <td id="LC132" class="blob-code js-file-line">      any Contribution intentionally submitted for inclusion in the Work</td> +      </tr> +      <tr> +        <td id="L133" class="blob-num js-line-number" data-line-number="133"></td> +        <td id="LC133" class="blob-code js-file-line">      by You to the Licensor shall be under the terms and conditions of</td> +      </tr> +      <tr> +        <td id="L134" class="blob-num js-line-number" data-line-number="134"></td> +        <td id="LC134" class="blob-code js-file-line">      this License, without any additional terms or conditions.</td> +      </tr> +      <tr> +        <td id="L135" class="blob-num js-line-number" data-line-number="135"></td> +        <td id="LC135" class="blob-code js-file-line">      Notwithstanding the above, nothing herein shall supersede or modify</td> +      </tr> +      <tr> +        <td id="L136" class="blob-num js-line-number" data-line-number="136"></td> +        <td id="LC136" class="blob-code js-file-line">      the terms of any separate license agreement you may have executed</td> +      </tr> +      <tr> +        <td id="L137" class="blob-num js-line-number" data-line-number="137"></td> +        <td id="LC137" class="blob-code js-file-line">      with Licensor regarding such Contributions.</td> +      </tr> +      <tr> +        <td id="L138" class="blob-num js-line-number" data-line-number="138"></td> +        <td id="LC138" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L139" class="blob-num js-line-number" data-line-number="139"></td> +        <td id="LC139" class="blob-code js-file-line">   6. Trademarks. This License does not grant permission to use the trade</td> +      </tr> +      <tr> +        <td id="L140" class="blob-num js-line-number" data-line-number="140"></td> +        <td id="LC140" class="blob-code js-file-line">      names, trademarks, service marks, or product names of the Licensor,</td> +      </tr> +      <tr> +        <td id="L141" class="blob-num js-line-number" data-line-number="141"></td> +        <td id="LC141" class="blob-code js-file-line">      except as required for reasonable and customary use in describing the</td> +      </tr> +      <tr> +        <td id="L142" class="blob-num js-line-number" data-line-number="142"></td> +        <td id="LC142" class="blob-code js-file-line">      origin of the Work and reproducing the content of the NOTICE file.</td> +      </tr> +      <tr> +        <td id="L143" class="blob-num js-line-number" data-line-number="143"></td> +        <td id="LC143" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L144" class="blob-num js-line-number" data-line-number="144"></td> +        <td id="LC144" class="blob-code js-file-line">   7. Disclaimer of Warranty. Unless required by applicable law or</td> +      </tr> +      <tr> +        <td id="L145" class="blob-num js-line-number" data-line-number="145"></td> +        <td id="LC145" class="blob-code js-file-line">      agreed to in writing, Licensor provides the Work (and each</td> +      </tr> +      <tr> +        <td id="L146" class="blob-num js-line-number" data-line-number="146"></td> +        <td id="LC146" class="blob-code js-file-line">      Contributor provides its Contributions) on an "AS IS" BASIS,</td> +      </tr> +      <tr> +        <td id="L147" class="blob-num js-line-number" data-line-number="147"></td> +        <td id="LC147" class="blob-code js-file-line">      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or</td> +      </tr> +      <tr> +        <td id="L148" class="blob-num js-line-number" data-line-number="148"></td> +        <td id="LC148" class="blob-code js-file-line">      implied, including, without limitation, any warranties or conditions</td> +      </tr> +      <tr> +        <td id="L149" class="blob-num js-line-number" data-line-number="149"></td> +        <td id="LC149" class="blob-code js-file-line">      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A</td> +      </tr> +      <tr> +        <td id="L150" class="blob-num js-line-number" data-line-number="150"></td> +        <td id="LC150" class="blob-code js-file-line">      PARTICULAR PURPOSE. You are solely responsible for determining the</td> +      </tr> +      <tr> +        <td id="L151" class="blob-num js-line-number" data-line-number="151"></td> +        <td id="LC151" class="blob-code js-file-line">      appropriateness of using or redistributing the Work and assume any</td> +      </tr> +      <tr> +        <td id="L152" class="blob-num js-line-number" data-line-number="152"></td> +        <td id="LC152" class="blob-code js-file-line">      risks associated with Your exercise of permissions under this License.</td> +      </tr> +      <tr> +        <td id="L153" class="blob-num js-line-number" data-line-number="153"></td> +        <td id="LC153" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L154" class="blob-num js-line-number" data-line-number="154"></td> +        <td id="LC154" class="blob-code js-file-line">   8. Limitation of Liability. In no event and under no legal theory,</td> +      </tr> +      <tr> +        <td id="L155" class="blob-num js-line-number" data-line-number="155"></td> +        <td id="LC155" class="blob-code js-file-line">      whether in tort (including negligence), contract, or otherwise,</td> +      </tr> +      <tr> +        <td id="L156" class="blob-num js-line-number" data-line-number="156"></td> +        <td id="LC156" class="blob-code js-file-line">      unless required by applicable law (such as deliberate and grossly</td> +      </tr> +      <tr> +        <td id="L157" class="blob-num js-line-number" data-line-number="157"></td> +        <td id="LC157" class="blob-code js-file-line">      negligent acts) or agreed to in writing, shall any Contributor be</td> +      </tr> +      <tr> +        <td id="L158" class="blob-num js-line-number" data-line-number="158"></td> +        <td id="LC158" class="blob-code js-file-line">      liable to You for damages, including any direct, indirect, special,</td> +      </tr> +      <tr> +        <td id="L159" class="blob-num js-line-number" data-line-number="159"></td> +        <td id="LC159" class="blob-code js-file-line">      incidental, or consequential damages of any character arising as a</td> +      </tr> +      <tr> +        <td id="L160" class="blob-num js-line-number" data-line-number="160"></td> +        <td id="LC160" class="blob-code js-file-line">      result of this License or out of the use or inability to use the</td> +      </tr> +      <tr> +        <td id="L161" class="blob-num js-line-number" data-line-number="161"></td> +        <td id="LC161" class="blob-code js-file-line">      Work (including but not limited to damages for loss of goodwill,</td> +      </tr> +      <tr> +        <td id="L162" class="blob-num js-line-number" data-line-number="162"></td> +        <td id="LC162" class="blob-code js-file-line">      work stoppage, computer failure or malfunction, or any and all</td> +      </tr> +      <tr> +        <td id="L163" class="blob-num js-line-number" data-line-number="163"></td> +        <td id="LC163" class="blob-code js-file-line">      other commercial damages or losses), even if such Contributor</td> +      </tr> +      <tr> +        <td id="L164" class="blob-num js-line-number" data-line-number="164"></td> +        <td id="LC164" class="blob-code js-file-line">      has been advised of the possibility of such damages.</td> +      </tr> +      <tr> +        <td id="L165" class="blob-num js-line-number" data-line-number="165"></td> +        <td id="LC165" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L166" class="blob-num js-line-number" data-line-number="166"></td> +        <td id="LC166" class="blob-code js-file-line">   9. Accepting Warranty or Additional Liability. While redistributing</td> +      </tr> +      <tr> +        <td id="L167" class="blob-num js-line-number" data-line-number="167"></td> +        <td id="LC167" class="blob-code js-file-line">      the Work or Derivative Works thereof, You may choose to offer,</td> +      </tr> +      <tr> +        <td id="L168" class="blob-num js-line-number" data-line-number="168"></td> +        <td id="LC168" class="blob-code js-file-line">      and charge a fee for, acceptance of support, warranty, indemnity,</td> +      </tr> +      <tr> +        <td id="L169" class="blob-num js-line-number" data-line-number="169"></td> +        <td id="LC169" class="blob-code js-file-line">      or other liability obligations and/or rights consistent with this</td> +      </tr> +      <tr> +        <td id="L170" class="blob-num js-line-number" data-line-number="170"></td> +        <td id="LC170" class="blob-code js-file-line">      License. However, in accepting such obligations, You may act only</td> +      </tr> +      <tr> +        <td id="L171" class="blob-num js-line-number" data-line-number="171"></td> +        <td id="LC171" class="blob-code js-file-line">      on Your own behalf and on Your sole responsibility, not on behalf</td> +      </tr> +      <tr> +        <td id="L172" class="blob-num js-line-number" data-line-number="172"></td> +        <td id="LC172" class="blob-code js-file-line">      of any other Contributor, and only if You agree to indemnify,</td> +      </tr> +      <tr> +        <td id="L173" class="blob-num js-line-number" data-line-number="173"></td> +        <td id="LC173" class="blob-code js-file-line">      defend, and hold each Contributor harmless for any liability</td> +      </tr> +      <tr> +        <td id="L174" class="blob-num js-line-number" data-line-number="174"></td> +        <td id="LC174" class="blob-code js-file-line">      incurred by, or claims asserted against, such Contributor by reason</td> +      </tr> +      <tr> +        <td id="L175" class="blob-num js-line-number" data-line-number="175"></td> +        <td id="LC175" class="blob-code js-file-line">      of your accepting any such warranty or additional liability.</td> +      </tr> +      <tr> +        <td id="L176" class="blob-num js-line-number" data-line-number="176"></td> +        <td id="LC176" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L177" class="blob-num js-line-number" data-line-number="177"></td> +        <td id="LC177" class="blob-code js-file-line">   END OF TERMS AND CONDITIONS</td> +      </tr> +      <tr> +        <td id="L178" class="blob-num js-line-number" data-line-number="178"></td> +        <td id="LC178" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L179" class="blob-num js-line-number" data-line-number="179"></td> +        <td id="LC179" class="blob-code js-file-line">   APPENDIX: How to apply the Apache License to your work.</td> +      </tr> +      <tr> +        <td id="L180" class="blob-num js-line-number" data-line-number="180"></td> +        <td id="LC180" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L181" class="blob-num js-line-number" data-line-number="181"></td> +        <td id="LC181" class="blob-code js-file-line">      To apply the Apache License to your work, attach the following</td> +      </tr> +      <tr> +        <td id="L182" class="blob-num js-line-number" data-line-number="182"></td> +        <td id="LC182" class="blob-code js-file-line">      boilerplate notice, with the fields enclosed by brackets "[]"</td> +      </tr> +      <tr> +        <td id="L183" class="blob-num js-line-number" data-line-number="183"></td> +        <td id="LC183" class="blob-code js-file-line">      replaced with your own identifying information. (Don't include</td> +      </tr> +      <tr> +        <td id="L184" class="blob-num js-line-number" data-line-number="184"></td> +        <td id="LC184" class="blob-code js-file-line">      the brackets!)  The text should be enclosed in the appropriate</td> +      </tr> +      <tr> +        <td id="L185" class="blob-num js-line-number" data-line-number="185"></td> +        <td id="LC185" class="blob-code js-file-line">      comment syntax for the file format. We also recommend that a</td> +      </tr> +      <tr> +        <td id="L186" class="blob-num js-line-number" data-line-number="186"></td> +        <td id="LC186" class="blob-code js-file-line">      file or class name and description of purpose be included on the</td> +      </tr> +      <tr> +        <td id="L187" class="blob-num js-line-number" data-line-number="187"></td> +        <td id="LC187" class="blob-code js-file-line">      same "printed page" as the copyright notice for easier</td> +      </tr> +      <tr> +        <td id="L188" class="blob-num js-line-number" data-line-number="188"></td> +        <td id="LC188" class="blob-code js-file-line">      identification within third-party archives.</td> +      </tr> +      <tr> +        <td id="L189" class="blob-num js-line-number" data-line-number="189"></td> +        <td id="LC189" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L190" class="blob-num js-line-number" data-line-number="190"></td> +        <td id="LC190" class="blob-code js-file-line">   Copyright [yyyy] [name of copyright owner]</td> +      </tr> +      <tr> +        <td id="L191" class="blob-num js-line-number" data-line-number="191"></td> +        <td id="LC191" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L192" class="blob-num js-line-number" data-line-number="192"></td> +        <td id="LC192" class="blob-code js-file-line">   Licensed under the Apache License, Version 2.0 (the "License");</td> +      </tr> +      <tr> +        <td id="L193" class="blob-num js-line-number" data-line-number="193"></td> +        <td id="LC193" class="blob-code js-file-line">   you may not use this file except in compliance with the License.</td> +      </tr> +      <tr> +        <td id="L194" class="blob-num js-line-number" data-line-number="194"></td> +        <td id="LC194" class="blob-code js-file-line">   You may obtain a copy of the License at</td> +      </tr> +      <tr> +        <td id="L195" class="blob-num js-line-number" data-line-number="195"></td> +        <td id="LC195" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L196" class="blob-num js-line-number" data-line-number="196"></td> +        <td id="LC196" class="blob-code js-file-line">       http://www.apache.org/licenses/LICENSE-2.0</td> +      </tr> +      <tr> +        <td id="L197" class="blob-num js-line-number" data-line-number="197"></td> +        <td id="LC197" class="blob-code js-file-line"> +</td> +      </tr> +      <tr> +        <td id="L198" class="blob-num js-line-number" data-line-number="198"></td> +        <td id="LC198" class="blob-code js-file-line">   Unless required by applicable law or agreed to in writing, software</td> +      </tr> +      <tr> +        <td id="L199" class="blob-num js-line-number" data-line-number="199"></td> +        <td id="LC199" class="blob-code js-file-line">   distributed under the License is distributed on an "AS IS" BASIS,</td> +      </tr> +      <tr> +        <td id="L200" class="blob-num js-line-number" data-line-number="200"></td> +        <td id="LC200" class="blob-code js-file-line">   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</td> +      </tr> +      <tr> +        <td id="L201" class="blob-num js-line-number" data-line-number="201"></td> +        <td id="LC201" class="blob-code js-file-line">   See the License for the specific language governing permissions and</td> +      </tr> +      <tr> +        <td id="L202" class="blob-num js-line-number" data-line-number="202"></td> +        <td id="LC202" class="blob-code js-file-line">   limitations under the License.</td> +      </tr> +</table> + +  </div> + +  </div> +</div> + +<a href="#jump-to-line" rel="facebox[.linejump]" data-hotkey="l" style="display:none">Jump to Line</a> +<div id="jump-to-line" style="display:none"> +  <form accept-charset="UTF-8" class="js-jump-to-line-form"> +    <input class="linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line…" autofocus> +    <button type="submit" class="button">Go</button> +  </form> +</div> + +        </div> + +      </div><!-- /.repo-container --> +      <div class="modal-backdrop"></div> +    </div><!-- /.container --> +  </div><!-- /.site --> + + +    </div><!-- /.wrapper --> + +      <div class="container"> +  <div class="site-footer"> +    <ul class="site-footer-links right"> +      <li><a href="https://status.github.com/">Status</a></li> +      <li><a href="http://developer.github.com">API</a></li> +      <li><a href="http://training.github.com">Training</a></li> +      <li><a href="http://shop.github.com">Shop</a></li> +      <li><a href="/blog">Blog</a></li> +      <li><a href="/about">About</a></li> + +    </ul> + +    <a href="/" aria-label="Homepage"> +      <span class="mega-octicon octicon-mark-github" title="GitHub"></span> +    </a> + +    <ul class="site-footer-links"> +      <li>© 2014 <span title="0.02952s from github-fe135-cp1-prd.iad.github.net">GitHub</span>, Inc.</li> +        <li><a href="/site/terms">Terms</a></li> +        <li><a href="/site/privacy">Privacy</a></li> +        <li><a href="/security">Security</a></li> +        <li><a href="/contact">Contact</a></li> +    </ul> +  </div><!-- /.site-footer --> +</div><!-- /.container --> + + +    <div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay"> +  <div class="fullscreen-container js-suggester-container"> +    <div class="textarea-wrap"> +      <textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents js-suggester-field" placeholder=""></textarea> +    </div> +  </div> +  <div class="fullscreen-sidebar"> +    <a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped tooltipped-w" aria-label="Exit Zen Mode"> +      <span class="mega-octicon octicon-screen-normal"></span> +    </a> +    <a href="#" class="theme-switcher js-theme-switcher tooltipped tooltipped-w" +      aria-label="Switch themes"> +      <span class="octicon octicon-color-mode"></span> +    </a> +  </div> +</div> + + + +    <div id="ajax-error-message" class="flash flash-error"> +      <span class="octicon octicon-alert"></span> +      <a href="#" class="octicon octicon-x flash-close js-ajax-error-dismiss" aria-label="Dismiss error"></a> +      Something went wrong with that request. Please try again. +    </div> + + +      <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-1fa81495311dda5d05f593b5cbbb09acf60035a9.js" type="text/javascript"></script> +      <script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-02f5d01f404c67172336376f4ccaf6cdc8296674.js" type="text/javascript"></script> +       +       +        <script async src="https://www.google-analytics.com/analytics.js"></script> +  </body> +</html> + diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..474da74 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,229 @@ +Extension [ <persistent> extension #16 couchbase version 2.0.0 ] { + +  - Constants [57] { +    Constant [ integer COUCHBASE_PERSISTTO_MASTER ] { 1 } +    Constant [ integer COUCHBASE_PERSISTTO_ONE ] { 1 } +    Constant [ integer COUCHBASE_PERSISTTO_TWO ] { 2 } +    Constant [ integer COUCHBASE_PERSISTTO_THREE ] { 4 } +    Constant [ integer COUCHBASE_REPLICATETO_ONE ] { 16 } +    Constant [ integer COUCHBASE_REPLICATETO_TWO ] { 32 } +    Constant [ integer COUCHBASE_REPLICATETO_THREE ] { 64 } +    Constant [ integer COUCHBASE_CNTL_OP_TIMEOUT ] { 0 } +    Constant [ integer COUCHBASE_CNTL_VIEW_TIMEOUT ] { 1 } +    Constant [ integer COUCHBASE_CNTL_DURABILITY_INTERVAL ] { 14 } +    Constant [ integer COUCHBASE_CNTL_DURABILITY_TIMEOUT ] { 13 } +    Constant [ integer COUCHBASE_CNTL_HTTP_TIMEOUT ] { 15 } +    Constant [ integer COUCHBASE_CNTL_CONFIGURATION_TIMEOUT ] { 18 } +    Constant [ integer COUCHBASE_CNTL_CONFDELAY_THRESH ] { 25 } +    Constant [ integer COUCHBASE_CNTL_CONFIG_NODE_TIMEOUT ] { 27 } +    Constant [ integer COUCHBASE_CNTL_HTCONFIG_IDLE_TIMEOUT ] { 28 } +    Constant [ integer COUCHBASE_SUCCESS ] { 0 } +    Constant [ integer COUCHBASE_AUTH_CONTINUE ] { 1 } +    Constant [ integer COUCHBASE_AUTH_ERROR ] { 2 } +    Constant [ integer COUCHBASE_DELTA_BADVAL ] { 3 } +    Constant [ integer COUCHBASE_E2BIG ] { 4 } +    Constant [ integer COUCHBASE_EBUSY ] { 5 } +    Constant [ integer COUCHBASE_ENOMEM ] { 8 } +    Constant [ integer COUCHBASE_ERANGE ] { 9 } +    Constant [ integer COUCHBASE_ERROR ] { 10 } +    Constant [ integer COUCHBASE_ETMPFAIL ] { 11 } +    Constant [ integer COUCHBASE_EINVAL ] { 7 } +    Constant [ integer COUCHBASE_CLIENT_ETMPFAIL ] { 27 } +    Constant [ integer COUCHBASE_KEY_EEXISTS ] { 12 } +    Constant [ integer COUCHBASE_KEY_ENOENT ] { 13 } +    Constant [ integer COUCHBASE_DLOPEN_FAILED ] { 14 } +    Constant [ integer COUCHBASE_DLSYM_FAILED ] { 15 } +    Constant [ integer COUCHBASE_NETWORK_ERROR ] { 16 } +    Constant [ integer COUCHBASE_NOT_MY_VBUCKET ] { 17 } +    Constant [ integer COUCHBASE_NOT_STORED ] { 18 } +    Constant [ integer COUCHBASE_NOT_SUPPORTED ] { 19 } +    Constant [ integer COUCHBASE_UNKNOWN_COMMAND ] { 20 } +    Constant [ integer COUCHBASE_UNKNOWN_HOST ] { 21 } +    Constant [ integer COUCHBASE_PROTOCOL_ERROR ] { 22 } +    Constant [ integer COUCHBASE_ETIMEDOUT ] { 23 } +    Constant [ integer COUCHBASE_BUCKET_ENOENT ] { 25 } +    Constant [ integer COUCHBASE_CLIENT_ENOMEM ] { 26 } +    Constant [ integer COUCHBASE_CONNECT_ERROR ] { 24 } +    Constant [ integer COUCHBASE_EBADHANDLE ] { 28 } +    Constant [ integer COUCHBASE_SERVER_BUG ] { 29 } +    Constant [ integer COUCHBASE_PLUGIN_VERSION_MISMATCH ] { 30 } +    Constant [ integer COUCHBASE_INVALID_HOST_FORMAT ] { 31 } +    Constant [ integer COUCHBASE_INVALID_CHAR ] { 32 } +    Constant [ integer COUCHBASE_DURABILITY_ETOOMANY ] { 33 } +    Constant [ integer COUCHBASE_DUPLICATE_COMMANDS ] { 34 } +    Constant [ integer COUCHBASE_EINTERNAL ] { 6 } +    Constant [ integer COUCHBASE_NO_MATCHING_SERVER ] { 35 } +    Constant [ integer COUCHBASE_BAD_ENVIRONMENT ] { 36 } +    Constant [ integer COUCHBASE_VALUE_F_JSON ] { 1 } +    Constant [ integer COUCHBASE_TMPFAIL ] { 11 } +    Constant [ integer COUCHBASE_KEYALREADYEXISTS ] { 12 } +    Constant [ integer COUCHBASE_KEYNOTFOUND ] { 13 } +  } + +  - Classes [4] { +    Class [ <internal:couchbase> class CouchbaseException extends Exception ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [4] { +        Property [ <default> protected $message ] +        Property [ <default> protected $code ] +        Property [ <default> protected $file ] +        Property [ <default> protected $line ] +      } + +      - Methods [9] { +        Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + +          - Parameters [3] { +            Parameter #0 [ <optional> $message ] +            Parameter #1 [ <optional> $code ] +            Parameter #2 [ <optional> $previous ] +          } +        } + +        Method [ <internal:Core, inherits Exception> final public method getMessage ] { +        } + +        Method [ <internal:Core, inherits Exception> final public method getCode ] { +        } + +        Method [ <internal:Core, inherits Exception> final public method getFile ] { +        } + +        Method [ <internal:Core, inherits Exception> final public method getLine ] { +        } + +        Method [ <internal:Core, inherits Exception> final public method getTrace ] { +        } + +        Method [ <internal:Core, inherits Exception> final public method getPrevious ] { +        } + +        Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { +        } + +        Method [ <internal:Core, inherits Exception> public method __toString ] { +        } +      } +    } + +    Class [ <internal:couchbase> class _CouchbaseCluster ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [3] { +        Method [ <internal:couchbase, ctor> public method __construct ] { +        } + +        Method [ <internal:couchbase> public method connect ] { +        } + +        Method [ <internal:couchbase> public method http_request ] { +        } +      } +    } + +    Class [ <internal:couchbase> class CouchbaseMetaDoc ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [4] { +        Property [ <default> public $error ] +        Property [ <default> public $value ] +        Property [ <default> public $flags ] +        Property [ <default> public $cas ] +      } + +      - Methods [0] { +      } +    } + +    Class [ <internal:couchbase> class _CouchbaseBucket ] { + +      - Constants [0] { +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [15] { +        Method [ <internal:couchbase, ctor> public method __construct ] { +        } + +        Method [ <internal:couchbase> public method insert ] { +        } + +        Method [ <internal:couchbase> public method upsert ] { +        } + +        Method [ <internal:couchbase> public method replace ] { +        } + +        Method [ <internal:couchbase> public method remove ] { +        } + +        Method [ <internal:couchbase> public method get ] { +        } + +        Method [ <internal:couchbase> public method getFromReplica ] { +        } + +        Method [ <internal:couchbase> public method counter ] { +        } + +        Method [ <internal:couchbase> public method flush ] { +        } + +        Method [ <internal:couchbase> public method unlock ] { +        } + +        Method [ <internal:couchbase> public method http_request ] { +        } + +        Method [ <internal:couchbase> public method durability ] { +        } + +        Method [ <internal:couchbase> public method setTranscoder ] { +        } + +        Method [ <internal:couchbase> public method setOption ] { +        } + +        Method [ <internal:couchbase> public method getOption ] { +        } +      } +    } +  } +} + diff --git a/php-pecl-couchbase2.spec b/php-pecl-couchbase2.spec index ad9945f..7dcf1ea 100644 --- a/php-pecl-couchbase2.spec +++ b/php-pecl-couchbase2.spec @@ -1,4 +1,4 @@ -# spec file for php-pecl-couchbase +# spec file for php-pecl-couchbase2  #  # Copyright (c) 2013-2014 Remi Collet  # License: CC-BY-SA @@ -7,70 +7,69 @@  # Please, preserve the changelog entries  # -%{?scl:          %scl_package         php-pecl-couchbase} +%{?scl:          %scl_package         php-pecl-couchbase2}  %{!?php_inidir:  %global php_inidir   %{_sysconfdir}/php.d}  %{!?__pecl:      %global __pecl       %{_bindir}/pecl}  %{!?__php:       %global __php        %{_bindir}/php}  %global pecl_name couchbase  %global with_zts  0%{?__ztsphp:1} -%global with_fastlz 1  %if "%{php_version}" < "5.6"  # After igbinary  %global ini_name  z-%{pecl_name}.ini  %else -# After 40-igbinary +# After 40-igbinary and 40-json  %global ini_name  50-%{pecl_name}.ini  %endif  Summary:       Couchbase Server PHP extension -Name:          %{?scl_prefix}php-pecl-couchbase -Version:       1.2.2 -Release:       3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Name:          %{?scl_prefix}php-pecl-couchbase2 +Version:       2.0.0 +Release:       1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}  License:       PHP  Group:         Development/Languages  URL:           pecl.php.net/package/couchbase  Source0:       http://pecl.php.net/get/%{pecl_name}-%{version}%{?svnrev:-dev}.tgz - -# https://github.com/couchbase/php-ext-couchbase/pull/11 -Patch0:        %{pecl_name}-fastlz.patch +# http://www.couchbase.com/issues/browse/PCBC-292 +Source1:       https://github.com/couchbaselabs/php-couchbase/blob/master/LICENSE  BuildRequires: %{?scl_prefix}php-devel >= 5.3.0 -BuildRequires: %{?scl_prefix}php-pecl-igbinary-devel  BuildRequires: %{?scl_prefix}php-pear -BuildRequires: zlib-devel  BuildRequires: libcouchbase-devel -# for tests -BuildRequires: %{?scl_prefix}php-json -%if %{with_fastlz} -BuildRequires: fastlz-devel -%endif  Requires(post): %{__pecl}  Requires(postun): %{__pecl}  Requires:      %{?scl_prefix}php(zend-abi) = %{php_zend_api}  Requires:      %{?scl_prefix}php(api) = %{php_core_api} -Requires:      %{?scl_prefix}php-pecl-igbinary%{?_isa} +# used in embded php code +# TODO fastlz http://www.couchbase.com/issues/browse/PCBC-293 +Requires:      %{?scl_prefix}php-igbinary%{?_isa} +Requires:      %{?scl_prefix}php-json%{?_isa} +%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}  Provides:      %{?scl_prefix}php-%{pecl_name} = %{version}  Provides:      %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}  Provides:      %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}  Provides:      %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +# Only 1 version can be installed +Conflicts:     %{?scl_prefix}php-pecl-couchbase < 2 +# http://www.couchbase.com/issues/browse/PCBC-294 +Conflicts:     %{?scl_prefix}php-pecl-xdebug  %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}  # Other third party repo stuff -Obsoletes:     php53-pecl-%{pecl_name}  <= %{version} -Obsoletes:     php53u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php54-pecl-%{pecl_name}  <= %{version} -Obsoletes:     php54w-pecl-%{pecl_name} <= %{version} +Obsoletes:     php53-pecl-%{pecl_name}2  <= %{version} +Obsoletes:     php53u-pecl-%{pecl_name}2 <= %{version} +Obsoletes:     php54-pecl-%{pecl_name}2  <= %{version} +Obsoletes:     php54w-pecl-%{pecl_name}2 <= %{version}  %if "%{php_version}" > "5.5" -Obsoletes:     php55u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php55w-pecl-%{pecl_name} <= %{version} +Obsoletes:     php55u-pecl-%{pecl_name}2 <= %{version} +Obsoletes:     php55w-pecl-%{pecl_name}2 <= %{version}  %endif  %if "%{php_version}" > "5.6" -Obsoletes:     php56u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php56w-pecl-%{pecl_name} <= %{version} +Obsoletes:     php56u-pecl-%{pecl_name}2 <= %{version} +Obsoletes:     php56w-pecl-%{pecl_name}2 <= %{version}  %endif  %endif @@ -85,6 +84,14 @@ Obsoletes:     php56w-pecl-%{pecl_name} <= %{version}  The PHP client library provides fast access to documents stored  in a Couchbase Server. +%{?scl_prefix}php-pecl-couchbase provides API version 1. +This package provides API version 2. + +Documentation: +http://docs.couchbase.com/prebuilt/php-sdk-2.0/topics/overview.html + +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}. +  %prep  %setup -q -c @@ -92,14 +99,7 @@ in a Couchbase Server.  mv %{pecl_name}-%{version} NTS  cd NTS -%patch0 -p1 -b .fastlz -%if %{with_fastlz} -rm -r fastlz -sed -e '/name="fastlz/d' -i ../package.xml -%endif - -# Fix version -sed -e '/PHP_COUCHBASE_VERSION/s/1.2.0/%{version}/' -i php_couchbase.h +cp %{SOURCE1} .  # Sanity check, really often broken  extver=$(sed -n '/#define PHP_COUCHBASE_VERSION/{s/.* "//;s/".*$//;p}' php_couchbase.h) @@ -109,6 +109,11 @@ if test "x${extver}" != "x%{version}"; then  fi  cd .. +cat << 'EOF' | tee %{ini_name} +; Enable %{pecl_name} extension module +extension=%{pecl_name}.so +EOF +  %if 0%{?__ztsphp:1}  # duplicate for ZTS build  cp -pr NTS ZTS @@ -120,9 +125,6 @@ cp -pr NTS ZTS  %build  peclconf() {  %configure \ -%if %{with_fastlz} -     --with-system-fastlz \ -%endif       --with-php-config=$1  } @@ -142,20 +144,20 @@ make %{?_smp_mflags}  %install  # Install the NTS stuff  make install -C NTS INSTALL_ROOT=%{buildroot} -install -D -m 644 NTS/example/%{pecl_name}.ini %{buildroot}%{php_inidir}/%{ini_name} +install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}  # Install the ZTS stuff  %if %{with_zts}  make install -C ZTS INSTALL_ROOT=%{buildroot} -install -D -m 644 ZTS/example/%{pecl_name}.ini %{buildroot}%{php_ztsinidir}/%{ini_name} +install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}  %endif  # Install the package XML file -install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml +install -D -m 644 package2.xml %{buildroot}%{pecl_xmldir}/%{name}.xml  # Test & Documentation  cd NTS -for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') +for i in LICENSE $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')  do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i  done @@ -163,18 +165,13 @@ done  %check  : minimal NTS load test  %{__php} -n \ -   -d extension=igbinary.so \ -   -d extension=json.so \ -   -d extension=NTS/modules/%{pecl_name}.so \ +   -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \     -m | grep %{pecl_name}  %if %{with_zts}  : minimal ZTS load test -ln -sf %{php_ztsextdir}/{json,igbinary}.so ZTS/modules/ -%{__ztsphp}    -n \ -   -d extension=igbinary.so \ -   -d extension=json.so \ -   -d extension=ZTS/modules/%{pecl_name}.so \ +%{__ztsphp} -n \ +   -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \     -m | grep %{pecl_name}  %endif @@ -190,6 +187,8 @@ fi  %files +%defattr(-,root,root,-) +%{?_licensedir:%license NTS/LICENSE}  %doc %{pecl_docdir}/%{pecl_name}  %{pecl_xmldir}/%{name}.xml @@ -204,6 +203,13 @@ fi  %changelog +* Sat Sep 20 2014 Remi Collet <remi@fedoraproject.org> - 2.0.0-1 +- rename to php-pecl-couchbase2 for new API +- update to 2.0.0 +- open http://www.couchbase.com/issues/browse/PCBC-292 license +- open http://www.couchbase.com/issues/browse/PCBC-293 fastlz +- open http://www.couchbase.com/issues/browse/PCBC-294 xdebug +  * Sat Sep  6 2014 Remi Collet <remi@fedoraproject.org> - 1.2.2-3  - test build with system fastlz @@ -231,4 +237,4 @@ fi  - update to 1.1.15 (no change)  * Fri Mar 22 2013 Remi Collet <remi@fedoraproject.org> - 1.1.14-1 -- initial package +- initial package
\ No newline at end of file | 
