From 44c1ed9c6218b979bb00b8e588b321b38aa18fc4 Mon Sep 17 00:00:00 2001 From: Shuhei Tanuma Date: Fri, 23 Dec 2011 08:54:21 +0900 Subject: [PATCH 1/2] just make docs --- .buildinfo | 4 + _sources/classes/backend/__construct.txt | 26 + _sources/classes/backend/exists.txt | 30 + _sources/classes/backend/free.txt | 26 + _sources/classes/backend/index.txt | 12 + _sources/classes/backend/read.txt | 30 + _sources/classes/backend/read_header.txt | 30 + _sources/classes/backend/write.txt | 30 + _sources/classes/blob/__construct.txt | 28 + _sources/classes/blob/get_id.txt | 26 + _sources/classes/blob/get_type.txt | 26 + _sources/classes/blob/index.txt | 9 + _sources/classes/blob/is_blob.txt | 26 + _sources/classes/blob/is_tree.txt | 26 + _sources/classes/blob/set_content.txt | 28 + _sources/classes/blob/write.txt | 26 + _sources/classes/commit/__construct.txt | 42 + _sources/classes/commit/get_author.txt | 40 + _sources/classes/commit/get_committer.txt | 40 + _sources/classes/commit/get_id.txt | 26 + _sources/classes/commit/get_message.txt | 38 + _sources/classes/commit/get_parent.txt | 31 + _sources/classes/commit/get_short_message.txt | 32 + _sources/classes/commit/get_tree.txt | 39 + _sources/classes/commit/index.txt | 9 + _sources/classes/commit/set_author.txt | 42 + _sources/classes/commit/set_committer.txt | 41 + _sources/classes/commit/set_message.txt | 46 + _sources/classes/commit/set_parent.txt | 61 ++ _sources/classes/commit/set_tree.txt | 29 + _sources/classes/commit/write.txt | 32 + _sources/classes/entry/__construct.txt | 26 + _sources/classes/entry/index.txt | 9 + _sources/classes/entry/to_object.txt | 26 + _sources/classes/git/index.txt | 9 + _sources/classes/index/add.txt | 40 + _sources/classes/index/count.txt | 36 + _sources/classes/index/find.txt | 41 + _sources/classes/index/get_entry.txt | 70 ++ _sources/classes/index/get_iterator.txt | 34 + _sources/classes/index/index.txt | 10 + _sources/classes/index/refresh.txt | 38 + _sources/classes/index/write.txt | 35 + _sources/classes/manager/__construct.txt | 39 + _sources/classes/manager/create.txt | 48 ++ _sources/classes/manager/get_list.txt | 39 + _sources/classes/manager/index.txt | 9 + _sources/classes/manager/lookup.txt | 48 ++ _sources/classes/manager/pack.txt | 37 + _sources/classes/object/get_id.txt | 26 + _sources/classes/object/get_type.txt | 46 + _sources/classes/object/index.txt | 10 + _sources/classes/object/is_blob.txt | 43 + _sources/classes/object/is_tree.txt | 48 ++ _sources/classes/object/write.txt | 26 + _sources/classes/odb/__construct.txt | 26 + _sources/classes/odb/add_alternate.txt | 28 + _sources/classes/odb/add_backend.txt | 28 + _sources/classes/odb/index.txt | 9 + _sources/classes/rawobject/__construct.txt | 34 + _sources/classes/rawobject/get_id.txt | 26 + _sources/classes/rawobject/index.txt | 11 + _sources/classes/reference/__construct.txt | 28 + _sources/classes/reference/get_id.txt | 26 + _sources/classes/reference/get_name.txt | 26 + _sources/classes/reference/get_target.txt | 26 + _sources/classes/reference/get_type.txt | 26 + _sources/classes/reference/index.txt | 11 + _sources/classes/reference/is_blob.txt | 26 + _sources/classes/reference/is_tree.txt | 26 + _sources/classes/reference/write.txt | 26 + _sources/classes/repository/__construct.txt | 35 + _sources/classes/repository/add_alternate.txt | 37 + _sources/classes/repository/add_backend.txt | 119 +++ _sources/classes/repository/get_commit.txt | 41 + _sources/classes/repository/get_index.txt | 36 + _sources/classes/repository/get_object.txt | 44 + .../classes/repository/get_references.txt | 43 + _sources/classes/repository/get_tree.txt | 40 + _sources/classes/repository/get_walker.txt | 44 + _sources/classes/repository/index.txt | 10 + _sources/classes/repository/init.txt | 45 + _sources/classes/repository/lookup_ref.txt | 40 + _sources/classes/repository/open2.txt | 53 ++ _sources/classes/repository/open3.txt | 37 + _sources/classes/revwalk/__construct.txt | 29 + _sources/classes/revwalk/hide.txt | 52 ++ _sources/classes/revwalk/index.txt | 9 + _sources/classes/revwalk/next.txt | 40 + _sources/classes/revwalk/push.txt | 46 + _sources/classes/revwalk/reset.txt | 39 + _sources/classes/revwalk/sort.txt | 42 + _sources/classes/signature/__construct.txt | 49 ++ _sources/classes/signature/index.txt | 9 + _sources/classes/tag/__construct.txt | 28 + _sources/classes/tag/get_id.txt | 26 + _sources/classes/tag/get_message.txt | 26 + _sources/classes/tag/get_name.txt | 26 + _sources/classes/tag/get_target.txt | 26 + _sources/classes/tag/get_type.txt | 26 + _sources/classes/tag/index.txt | 12 + _sources/classes/tag/is_blob.txt | 26 + _sources/classes/tag/is_tree.txt | 26 + _sources/classes/tag/set_message.txt | 28 + _sources/classes/tag/set_name.txt | 28 + _sources/classes/tag/set_target.txt | 28 + _sources/classes/tag/write.txt | 26 + _sources/classes/tree/__construct.txt | 28 + _sources/classes/tree/add.txt | 56 ++ _sources/classes/tree/count.txt | 39 + _sources/classes/tree/get_entries.txt | 35 + _sources/classes/tree/get_entry.txt | 39 + _sources/classes/tree/get_id.txt | 37 + _sources/classes/tree/get_iterator.txt | 35 + _sources/classes/tree/get_type.txt | 29 + _sources/classes/tree/index.txt | 10 + _sources/classes/tree/path.txt | 46 + _sources/classes/tree/remove.txt | 40 + _sources/classes/tree/write.txt | 37 + _sources/constants.txt | 18 + _sources/examples.txt | 131 +++ _sources/index.txt | 29 + _sources/ini.txt | 4 + _sources/installation.txt | 24 + _sources/intro.txt | 6 + _sources/requirements.txt | 7 + _sources/resources.txt | 4 + _sources/setup.txt | 12 + _static/ajax-loader.gif | Bin 0 -> 673 bytes _static/basic.css | 528 ++++++++++++ _static/comment-bright.png | Bin 0 -> 3500 bytes _static/comment-close.png | Bin 0 -> 3578 bytes _static/comment.png | Bin 0 -> 3445 bytes _static/contents.png | Bin 0 -> 202 bytes _static/doctools.js | 247 ++++++ _static/down-pressed.png | Bin 0 -> 368 bytes _static/down.png | Bin 0 -> 363 bytes _static/file.png | Bin 0 -> 392 bytes _static/jquery.js | 154 ++++ _static/minus.png | Bin 0 -> 199 bytes _static/navigation.png | Bin 0 -> 218 bytes _static/plus.png | Bin 0 -> 199 bytes _static/pygments.css | 62 ++ _static/searchtools.js | 556 ++++++++++++ _static/sphinxdoc.css | 339 ++++++++ _static/underscore.js | 23 + _static/up-pressed.png | Bin 0 -> 372 bytes _static/up.png | Bin 0 -> 363 bytes _static/websupport.js | 808 ++++++++++++++++++ classes/backend/__construct.html | 143 ++++ classes/backend/exists.html | 148 ++++ classes/backend/free.html | 143 ++++ classes/backend/index.html | 124 +++ classes/backend/read.html | 148 ++++ classes/backend/read_header.html | 148 ++++ classes/backend/write.html | 148 ++++ classes/blob/__construct.html | 147 ++++ classes/blob/get_id.html | 143 ++++ classes/blob/get_type.html | 143 ++++ classes/blob/index.html | 123 +++ classes/blob/is_blob.html | 143 ++++ classes/blob/is_tree.html | 143 ++++ classes/blob/set_content.html | 147 ++++ classes/blob/write.html | 143 ++++ classes/commit/__construct.html | 156 ++++ classes/commit/get_author.html | 154 ++++ classes/commit/get_committer.html | 153 ++++ classes/commit/get_id.html | 143 ++++ classes/commit/get_message.html | 153 ++++ classes/commit/get_parent.html | 149 ++++ classes/commit/get_short_message.html | 150 ++++ classes/commit/get_tree.html | 153 ++++ classes/commit/index.html | 130 +++ classes/commit/set_author.html | 157 ++++ classes/commit/set_committer.html | 157 ++++ classes/commit/set_message.html | 162 ++++ classes/commit/set_parent.html | 180 ++++ classes/commit/set_tree.html | 148 ++++ classes/commit/write.html | 146 ++++ classes/entry/__construct.html | 143 ++++ classes/entry/index.html | 118 +++ classes/entry/to_object.html | 143 ++++ classes/git/index.html | 116 +++ classes/index/add.html | 156 ++++ classes/index/count.html | 152 ++++ classes/index/find.html | 153 ++++ classes/index/get_entry.html | 153 ++++ classes/index/get_iterator.html | 144 ++++ classes/index/index.html | 124 +++ classes/index/refresh.html | 145 ++++ classes/index/write.html | 144 ++++ classes/manager/__construct.html | 155 ++++ classes/manager/create.html | 165 ++++ classes/manager/get_list.html | 152 ++++ classes/manager/index.html | 121 +++ classes/manager/lookup.html | 164 ++++ classes/manager/pack.html | 154 ++++ classes/object/get_id.html | 143 ++++ classes/object/get_type.html | 161 ++++ classes/object/index.html | 122 +++ classes/object/is_blob.html | 158 ++++ classes/object/is_tree.html | 159 ++++ classes/object/write.html | 143 ++++ classes/odb/__construct.html | 143 ++++ classes/odb/add_alternate.html | 147 ++++ classes/odb/add_backend.html | 147 ++++ classes/odb/index.html | 119 +++ classes/rawobject/__construct.html | 151 ++++ classes/rawobject/get_id.html | 143 ++++ classes/rawobject/index.html | 120 +++ classes/reference/__construct.html | 147 ++++ classes/reference/get_id.html | 143 ++++ classes/reference/get_name.html | 143 ++++ classes/reference/get_target.html | 143 ++++ classes/reference/get_type.html | 143 ++++ classes/reference/index.html | 128 +++ classes/reference/is_blob.html | 143 ++++ classes/reference/is_tree.html | 143 ++++ classes/reference/write.html | 143 ++++ classes/repository/__construct.html | 152 ++++ classes/repository/add_alternate.html | 152 ++++ classes/repository/add_backend.html | 234 +++++ classes/repository/get_commit.html | 155 ++++ classes/repository/get_index.html | 150 ++++ classes/repository/get_object.html | 159 ++++ classes/repository/get_references.html | 159 ++++ classes/repository/get_tree.html | 155 ++++ classes/repository/get_walker.html | 158 ++++ classes/repository/index.html | 130 +++ classes/repository/init.html | 160 ++++ classes/repository/lookup_ref.html | 155 ++++ classes/repository/open2.html | 167 ++++ classes/repository/open3.html | 153 ++++ classes/revwalk/__construct.html | 149 ++++ classes/revwalk/hide.html | 164 ++++ classes/revwalk/index.html | 122 +++ classes/revwalk/next.html | 154 ++++ classes/revwalk/push.html | 161 ++++ classes/revwalk/reset.html | 154 ++++ classes/revwalk/sort.html | 162 ++++ classes/signature/__construct.html | 162 ++++ classes/signature/index.html | 117 +++ classes/tag/__construct.html | 147 ++++ classes/tag/get_id.html | 143 ++++ classes/tag/get_message.html | 143 ++++ classes/tag/get_name.html | 143 ++++ classes/tag/get_target.html | 143 ++++ classes/tag/get_type.html | 143 ++++ classes/tag/index.html | 132 +++ classes/tag/is_blob.html | 143 ++++ classes/tag/is_tree.html | 143 ++++ classes/tag/set_message.html | 147 ++++ classes/tag/set_name.html | 147 ++++ classes/tag/set_target.html | 147 ++++ classes/tag/write.html | 143 ++++ classes/tree/__construct.html | 147 ++++ classes/tree/add.html | 187 ++++ classes/tree/count.html | 153 ++++ classes/tree/get_entries.html | 145 ++++ classes/tree/get_entry.html | 149 ++++ classes/tree/get_id.html | 152 ++++ classes/tree/get_iterator.html | 144 ++++ classes/tree/get_type.html | 145 ++++ classes/tree/index.html | 128 +++ classes/tree/path.html | 160 ++++ classes/tree/remove.html | 157 ++++ classes/tree/write.html | 142 +++ constants.html | 155 ++++ examples.html | 242 ++++++ genindex.html | 669 +++++++++++++++ index.html | 293 +++++++ ini.html | 116 +++ installation.html | 137 +++ intro.html | 114 +++ objects.inv | Bin 0 -> 203 bytes requirements.html | 121 +++ resources.html | 116 +++ search.html | 99 +++ searchindex.js | 1 + setup.html | 121 +++ 280 files changed, 26361 insertions(+) create mode 100644 .buildinfo create mode 100644 _sources/classes/backend/__construct.txt create mode 100644 _sources/classes/backend/exists.txt create mode 100644 _sources/classes/backend/free.txt create mode 100644 _sources/classes/backend/index.txt create mode 100644 _sources/classes/backend/read.txt create mode 100644 _sources/classes/backend/read_header.txt create mode 100644 _sources/classes/backend/write.txt create mode 100644 _sources/classes/blob/__construct.txt create mode 100644 _sources/classes/blob/get_id.txt create mode 100644 _sources/classes/blob/get_type.txt create mode 100644 _sources/classes/blob/index.txt create mode 100644 _sources/classes/blob/is_blob.txt create mode 100644 _sources/classes/blob/is_tree.txt create mode 100644 _sources/classes/blob/set_content.txt create mode 100644 _sources/classes/blob/write.txt create mode 100644 _sources/classes/commit/__construct.txt create mode 100644 _sources/classes/commit/get_author.txt create mode 100644 _sources/classes/commit/get_committer.txt create mode 100644 _sources/classes/commit/get_id.txt create mode 100644 _sources/classes/commit/get_message.txt create mode 100644 _sources/classes/commit/get_parent.txt create mode 100644 _sources/classes/commit/get_short_message.txt create mode 100644 _sources/classes/commit/get_tree.txt create mode 100644 _sources/classes/commit/index.txt create mode 100644 _sources/classes/commit/set_author.txt create mode 100644 _sources/classes/commit/set_committer.txt create mode 100644 _sources/classes/commit/set_message.txt create mode 100644 _sources/classes/commit/set_parent.txt create mode 100644 _sources/classes/commit/set_tree.txt create mode 100644 _sources/classes/commit/write.txt create mode 100644 _sources/classes/entry/__construct.txt create mode 100644 _sources/classes/entry/index.txt create mode 100644 _sources/classes/entry/to_object.txt create mode 100644 _sources/classes/git/index.txt create mode 100644 _sources/classes/index/add.txt create mode 100644 _sources/classes/index/count.txt create mode 100644 _sources/classes/index/find.txt create mode 100644 _sources/classes/index/get_entry.txt create mode 100644 _sources/classes/index/get_iterator.txt create mode 100644 _sources/classes/index/index.txt create mode 100644 _sources/classes/index/refresh.txt create mode 100644 _sources/classes/index/write.txt create mode 100644 _sources/classes/manager/__construct.txt create mode 100644 _sources/classes/manager/create.txt create mode 100644 _sources/classes/manager/get_list.txt create mode 100644 _sources/classes/manager/index.txt create mode 100644 _sources/classes/manager/lookup.txt create mode 100644 _sources/classes/manager/pack.txt create mode 100644 _sources/classes/object/get_id.txt create mode 100644 _sources/classes/object/get_type.txt create mode 100644 _sources/classes/object/index.txt create mode 100644 _sources/classes/object/is_blob.txt create mode 100644 _sources/classes/object/is_tree.txt create mode 100644 _sources/classes/object/write.txt create mode 100644 _sources/classes/odb/__construct.txt create mode 100644 _sources/classes/odb/add_alternate.txt create mode 100644 _sources/classes/odb/add_backend.txt create mode 100644 _sources/classes/odb/index.txt create mode 100644 _sources/classes/rawobject/__construct.txt create mode 100644 _sources/classes/rawobject/get_id.txt create mode 100644 _sources/classes/rawobject/index.txt create mode 100644 _sources/classes/reference/__construct.txt create mode 100644 _sources/classes/reference/get_id.txt create mode 100644 _sources/classes/reference/get_name.txt create mode 100644 _sources/classes/reference/get_target.txt create mode 100644 _sources/classes/reference/get_type.txt create mode 100644 _sources/classes/reference/index.txt create mode 100644 _sources/classes/reference/is_blob.txt create mode 100644 _sources/classes/reference/is_tree.txt create mode 100644 _sources/classes/reference/write.txt create mode 100644 _sources/classes/repository/__construct.txt create mode 100644 _sources/classes/repository/add_alternate.txt create mode 100644 _sources/classes/repository/add_backend.txt create mode 100644 _sources/classes/repository/get_commit.txt create mode 100644 _sources/classes/repository/get_index.txt create mode 100644 _sources/classes/repository/get_object.txt create mode 100644 _sources/classes/repository/get_references.txt create mode 100644 _sources/classes/repository/get_tree.txt create mode 100644 _sources/classes/repository/get_walker.txt create mode 100644 _sources/classes/repository/index.txt create mode 100644 _sources/classes/repository/init.txt create mode 100644 _sources/classes/repository/lookup_ref.txt create mode 100644 _sources/classes/repository/open2.txt create mode 100644 _sources/classes/repository/open3.txt create mode 100644 _sources/classes/revwalk/__construct.txt create mode 100644 _sources/classes/revwalk/hide.txt create mode 100644 _sources/classes/revwalk/index.txt create mode 100644 _sources/classes/revwalk/next.txt create mode 100644 _sources/classes/revwalk/push.txt create mode 100644 _sources/classes/revwalk/reset.txt create mode 100644 _sources/classes/revwalk/sort.txt create mode 100644 _sources/classes/signature/__construct.txt create mode 100644 _sources/classes/signature/index.txt create mode 100644 _sources/classes/tag/__construct.txt create mode 100644 _sources/classes/tag/get_id.txt create mode 100644 _sources/classes/tag/get_message.txt create mode 100644 _sources/classes/tag/get_name.txt create mode 100644 _sources/classes/tag/get_target.txt create mode 100644 _sources/classes/tag/get_type.txt create mode 100644 _sources/classes/tag/index.txt create mode 100644 _sources/classes/tag/is_blob.txt create mode 100644 _sources/classes/tag/is_tree.txt create mode 100644 _sources/classes/tag/set_message.txt create mode 100644 _sources/classes/tag/set_name.txt create mode 100644 _sources/classes/tag/set_target.txt create mode 100644 _sources/classes/tag/write.txt create mode 100644 _sources/classes/tree/__construct.txt create mode 100644 _sources/classes/tree/add.txt create mode 100644 _sources/classes/tree/count.txt create mode 100644 _sources/classes/tree/get_entries.txt create mode 100644 _sources/classes/tree/get_entry.txt create mode 100644 _sources/classes/tree/get_id.txt create mode 100644 _sources/classes/tree/get_iterator.txt create mode 100644 _sources/classes/tree/get_type.txt create mode 100644 _sources/classes/tree/index.txt create mode 100644 _sources/classes/tree/path.txt create mode 100644 _sources/classes/tree/remove.txt create mode 100644 _sources/classes/tree/write.txt create mode 100644 _sources/constants.txt create mode 100644 _sources/examples.txt create mode 100644 _sources/index.txt create mode 100644 _sources/ini.txt create mode 100644 _sources/installation.txt create mode 100644 _sources/intro.txt create mode 100644 _sources/requirements.txt create mode 100644 _sources/resources.txt create mode 100644 _sources/setup.txt create mode 100644 _static/ajax-loader.gif create mode 100644 _static/basic.css create mode 100644 _static/comment-bright.png create mode 100644 _static/comment-close.png create mode 100644 _static/comment.png create mode 100644 _static/contents.png create mode 100644 _static/doctools.js create mode 100644 _static/down-pressed.png create mode 100644 _static/down.png create mode 100644 _static/file.png create mode 100644 _static/jquery.js create mode 100644 _static/minus.png create mode 100644 _static/navigation.png create mode 100644 _static/plus.png create mode 100644 _static/pygments.css create mode 100644 _static/searchtools.js create mode 100644 _static/sphinxdoc.css create mode 100644 _static/underscore.js create mode 100644 _static/up-pressed.png create mode 100644 _static/up.png create mode 100644 _static/websupport.js create mode 100644 classes/backend/__construct.html create mode 100644 classes/backend/exists.html create mode 100644 classes/backend/free.html create mode 100644 classes/backend/index.html create mode 100644 classes/backend/read.html create mode 100644 classes/backend/read_header.html create mode 100644 classes/backend/write.html create mode 100644 classes/blob/__construct.html create mode 100644 classes/blob/get_id.html create mode 100644 classes/blob/get_type.html create mode 100644 classes/blob/index.html create mode 100644 classes/blob/is_blob.html create mode 100644 classes/blob/is_tree.html create mode 100644 classes/blob/set_content.html create mode 100644 classes/blob/write.html create mode 100644 classes/commit/__construct.html create mode 100644 classes/commit/get_author.html create mode 100644 classes/commit/get_committer.html create mode 100644 classes/commit/get_id.html create mode 100644 classes/commit/get_message.html create mode 100644 classes/commit/get_parent.html create mode 100644 classes/commit/get_short_message.html create mode 100644 classes/commit/get_tree.html create mode 100644 classes/commit/index.html create mode 100644 classes/commit/set_author.html create mode 100644 classes/commit/set_committer.html create mode 100644 classes/commit/set_message.html create mode 100644 classes/commit/set_parent.html create mode 100644 classes/commit/set_tree.html create mode 100644 classes/commit/write.html create mode 100644 classes/entry/__construct.html create mode 100644 classes/entry/index.html create mode 100644 classes/entry/to_object.html create mode 100644 classes/git/index.html create mode 100644 classes/index/add.html create mode 100644 classes/index/count.html create mode 100644 classes/index/find.html create mode 100644 classes/index/get_entry.html create mode 100644 classes/index/get_iterator.html create mode 100644 classes/index/index.html create mode 100644 classes/index/refresh.html create mode 100644 classes/index/write.html create mode 100644 classes/manager/__construct.html create mode 100644 classes/manager/create.html create mode 100644 classes/manager/get_list.html create mode 100644 classes/manager/index.html create mode 100644 classes/manager/lookup.html create mode 100644 classes/manager/pack.html create mode 100644 classes/object/get_id.html create mode 100644 classes/object/get_type.html create mode 100644 classes/object/index.html create mode 100644 classes/object/is_blob.html create mode 100644 classes/object/is_tree.html create mode 100644 classes/object/write.html create mode 100644 classes/odb/__construct.html create mode 100644 classes/odb/add_alternate.html create mode 100644 classes/odb/add_backend.html create mode 100644 classes/odb/index.html create mode 100644 classes/rawobject/__construct.html create mode 100644 classes/rawobject/get_id.html create mode 100644 classes/rawobject/index.html create mode 100644 classes/reference/__construct.html create mode 100644 classes/reference/get_id.html create mode 100644 classes/reference/get_name.html create mode 100644 classes/reference/get_target.html create mode 100644 classes/reference/get_type.html create mode 100644 classes/reference/index.html create mode 100644 classes/reference/is_blob.html create mode 100644 classes/reference/is_tree.html create mode 100644 classes/reference/write.html create mode 100644 classes/repository/__construct.html create mode 100644 classes/repository/add_alternate.html create mode 100644 classes/repository/add_backend.html create mode 100644 classes/repository/get_commit.html create mode 100644 classes/repository/get_index.html create mode 100644 classes/repository/get_object.html create mode 100644 classes/repository/get_references.html create mode 100644 classes/repository/get_tree.html create mode 100644 classes/repository/get_walker.html create mode 100644 classes/repository/index.html create mode 100644 classes/repository/init.html create mode 100644 classes/repository/lookup_ref.html create mode 100644 classes/repository/open2.html create mode 100644 classes/repository/open3.html create mode 100644 classes/revwalk/__construct.html create mode 100644 classes/revwalk/hide.html create mode 100644 classes/revwalk/index.html create mode 100644 classes/revwalk/next.html create mode 100644 classes/revwalk/push.html create mode 100644 classes/revwalk/reset.html create mode 100644 classes/revwalk/sort.html create mode 100644 classes/signature/__construct.html create mode 100644 classes/signature/index.html create mode 100644 classes/tag/__construct.html create mode 100644 classes/tag/get_id.html create mode 100644 classes/tag/get_message.html create mode 100644 classes/tag/get_name.html create mode 100644 classes/tag/get_target.html create mode 100644 classes/tag/get_type.html create mode 100644 classes/tag/index.html create mode 100644 classes/tag/is_blob.html create mode 100644 classes/tag/is_tree.html create mode 100644 classes/tag/set_message.html create mode 100644 classes/tag/set_name.html create mode 100644 classes/tag/set_target.html create mode 100644 classes/tag/write.html create mode 100644 classes/tree/__construct.html create mode 100644 classes/tree/add.html create mode 100644 classes/tree/count.html create mode 100644 classes/tree/get_entries.html create mode 100644 classes/tree/get_entry.html create mode 100644 classes/tree/get_id.html create mode 100644 classes/tree/get_iterator.html create mode 100644 classes/tree/get_type.html create mode 100644 classes/tree/index.html create mode 100644 classes/tree/path.html create mode 100644 classes/tree/remove.html create mode 100644 classes/tree/write.html create mode 100644 constants.html create mode 100644 examples.html create mode 100644 genindex.html create mode 100644 index.html create mode 100644 ini.html create mode 100644 installation.html create mode 100644 intro.html create mode 100644 objects.inv create mode 100644 requirements.html create mode 100644 resources.html create mode 100644 search.html create mode 100644 searchindex.js create mode 100644 setup.html diff --git a/.buildinfo b/.buildinfo new file mode 100644 index 0000000000..48b1da6a7a --- /dev/null +++ b/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: e70a3555cf7d2312c3f89bf65fd10495 +tags: fbb0d17656682115ca4d033fb2f83ba1 diff --git a/_sources/classes/backend/__construct.txt b/_sources/classes/backend/__construct.txt new file mode 100644 index 0000000000..c76a8cc284 --- /dev/null +++ b/_sources/classes/backend/__construct.txt @@ -0,0 +1,26 @@ +.. index:: + single: __construct (Git\Backend method) + + +Git\\Backend::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\Backend::__construct** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/backend/exists.txt b/_sources/classes/backend/exists.txt new file mode 100644 index 0000000000..db706b6c83 --- /dev/null +++ b/_sources/classes/backend/exists.txt @@ -0,0 +1,30 @@ +.. index:: + single: exists (Git\Backend method) + + +Git\\Backend::exists +=========================================================== + +Description +*********************************************************** + +abstract public **Git\\Backend::exists** (string *$key*) + + +Parameters +*********************************************************** + +*key* + target hash id. + + +Return Values +*********************************************************** + +this method must return true or false. + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/backend/free.txt b/_sources/classes/backend/free.txt new file mode 100644 index 0000000000..f174a6a3f8 --- /dev/null +++ b/_sources/classes/backend/free.txt @@ -0,0 +1,26 @@ +.. index:: + single: free (Git\Backend method) + + +Git\\Backend::free +=========================================================== + +Description +*********************************************************** + +public **Git\\Backend::free** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/backend/index.txt b/_sources/classes/backend/index.txt new file mode 100644 index 0000000000..8e4f3de694 --- /dev/null +++ b/_sources/classes/backend/index.txt @@ -0,0 +1,12 @@ +Git\\Backend +=========================== + +abstract class Git\\Backend + +this class use for custom backend. + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/backend/read.txt b/_sources/classes/backend/read.txt new file mode 100644 index 0000000000..a750786eb5 --- /dev/null +++ b/_sources/classes/backend/read.txt @@ -0,0 +1,30 @@ +.. index:: + single: read (Git\Backend method) + + +Git\\Backend::read +=========================================================== + +Description +*********************************************************** + +abstract public **Git\\Backend::read** (string *$key*) + + +Parameters +*********************************************************** + +*key* + target hash id + + +Return Values +*********************************************************** + +Git\\RawObject / false + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/backend/read_header.txt b/_sources/classes/backend/read_header.txt new file mode 100644 index 0000000000..cad3725d36 --- /dev/null +++ b/_sources/classes/backend/read_header.txt @@ -0,0 +1,30 @@ +.. index:: + single: read_header (Git\Backend method) + + +Git\\Backend::read_header +=========================================================== + +Description +*********************************************************** + +abstract public **Git\\Backend::read_header** (*$key*) + + +Parameters +*********************************************************** + +*key* + target hash id. + + +Return Values +*********************************************************** + +Git\RawObject / false + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/backend/write.txt b/_sources/classes/backend/write.txt new file mode 100644 index 0000000000..1ed215b7af --- /dev/null +++ b/_sources/classes/backend/write.txt @@ -0,0 +1,30 @@ +.. index:: + single: write (Git\Backend method) + + +Git\\Backend::write +=========================================================== + +Description +*********************************************************** + +abstract public **Git\\Backend::write** (Git\RawObject *$object*) + + +Parameters +*********************************************************** + +*object* + Git\RawObject + + +Return Values +*********************************************************** + +true / false + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/blob/__construct.txt b/_sources/classes/blob/__construct.txt new file mode 100644 index 0000000000..cfe98cee8a --- /dev/null +++ b/_sources/classes/blob/__construct.txt @@ -0,0 +1,28 @@ +.. index:: + single: __construct (Git\Blob method) + + +Git\\Blob::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\Blob::__construct** (Git\Repository *$repository*) + + +Parameters +*********************************************************** + +*repository* + Git\Repository object. + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/blob/get_id.txt b/_sources/classes/blob/get_id.txt new file mode 100644 index 0000000000..aac683f435 --- /dev/null +++ b/_sources/classes/blob/get_id.txt @@ -0,0 +1,26 @@ +.. index:: + single: getId (Git\Blob method) + + +Git\\Blob::getId +=========================================================== + +Description +*********************************************************** + +public **Git\\Blob::getId** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/blob/get_type.txt b/_sources/classes/blob/get_type.txt new file mode 100644 index 0000000000..8f22a16ed6 --- /dev/null +++ b/_sources/classes/blob/get_type.txt @@ -0,0 +1,26 @@ +.. index:: + single: getType (Git\Blob method) + + +Git\\Blob::getType +=========================================================== + +Description +*********************************************************** + +public **Git\\Blob::getType** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/blob/index.txt b/_sources/classes/blob/index.txt new file mode 100644 index 0000000000..4d699a3f1c --- /dev/null +++ b/_sources/classes/blob/index.txt @@ -0,0 +1,9 @@ +Git\\Blob +=========================== + + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/blob/is_blob.txt b/_sources/classes/blob/is_blob.txt new file mode 100644 index 0000000000..b5bc583a20 --- /dev/null +++ b/_sources/classes/blob/is_blob.txt @@ -0,0 +1,26 @@ +.. index:: + single: isBlob (Git\Blob method) + + +Git\\Blob::isBlob +=========================================================== + +Description +*********************************************************** + +public **Git\\Blob::isBlob** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/blob/is_tree.txt b/_sources/classes/blob/is_tree.txt new file mode 100644 index 0000000000..1482c2de4a --- /dev/null +++ b/_sources/classes/blob/is_tree.txt @@ -0,0 +1,26 @@ +.. index:: + single: isTree (Git\Blob method) + + +Git\\Blob::isTree +=========================================================== + +Description +*********************************************************** + +public **Git\\Blob::isTree** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/blob/set_content.txt b/_sources/classes/blob/set_content.txt new file mode 100644 index 0000000000..00baeea373 --- /dev/null +++ b/_sources/classes/blob/set_content.txt @@ -0,0 +1,28 @@ +.. index:: + single: setContent (Git\Blob method) + + +Git\\Blob::setContent +=========================================================== + +Description +*********************************************************** + +public **Git\\Blob::setContent** (*$string*) + + +Parameters +*********************************************************** + +*string* + contents + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/blob/write.txt b/_sources/classes/blob/write.txt new file mode 100644 index 0000000000..88bdad8bc4 --- /dev/null +++ b/_sources/classes/blob/write.txt @@ -0,0 +1,26 @@ +.. index:: + single: write (Git\Blob method) + + +Git\\Blob::write +=========================================================== + +Description +*********************************************************** + +public **Git\\Blob::write** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/commit/__construct.txt b/_sources/classes/commit/__construct.txt new file mode 100644 index 0000000000..7af4c398f4 --- /dev/null +++ b/_sources/classes/commit/__construct.txt @@ -0,0 +1,42 @@ +.. index:: + single: __construct (Git\Commit method) + +create new commit. + + +Git\\Commit::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::__construct** (Git\\Repository *$repository*) + + +Parameters +*********************************************************** + +Git\\Repository *repository* + Repository class + + +Return Values +*********************************************************** + +:doc:`Git\\Commit ` + +Examples +*********************************************************** + + +.. code-block:: php + + ` \ No newline at end of file diff --git a/_sources/classes/commit/get_author.txt b/_sources/classes/commit/get_author.txt new file mode 100644 index 0000000000..28970890f3 --- /dev/null +++ b/_sources/classes/commit/get_author.txt @@ -0,0 +1,40 @@ +.. index:: + single: getAuthor (Git\Commit method) + + +Git\\Commit::getAuthor +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::getAuthor** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +Git\\Signature + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $commit = $repo->getCommit($ref->getId()); + $author = $commit->getAuthor(); + +See Also +*********************************************************** + +:doc:`Git\\Commit ` +:doc:`Git\\Commit::getCommitter() ` +:doc:`Git\\Signature ` + diff --git a/_sources/classes/commit/get_committer.txt b/_sources/classes/commit/get_committer.txt new file mode 100644 index 0000000000..dcc25357a1 --- /dev/null +++ b/_sources/classes/commit/get_committer.txt @@ -0,0 +1,40 @@ +.. index:: + single: getCommitter (Git\Commit method) + + +Git\\Commit::getCommitter +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::getCommitter** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $commit = $repo->getCommit($ref->getId()); + $committer = $commit->getCommitter(); + + +See Also +*********************************************************** + +:doc:`Git\\Commit ` +:doc:`Git\\Commit::getAuthor() ` +:doc:`Git\\Signature ` + diff --git a/_sources/classes/commit/get_id.txt b/_sources/classes/commit/get_id.txt new file mode 100644 index 0000000000..b74db7fa43 --- /dev/null +++ b/_sources/classes/commit/get_id.txt @@ -0,0 +1,26 @@ +.. index:: + single: getId (Git\Commit method) + + +Git\\Commit::getId +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::getId** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/commit/get_message.txt b/_sources/classes/commit/get_message.txt new file mode 100644 index 0000000000..1428b49c99 --- /dev/null +++ b/_sources/classes/commit/get_message.txt @@ -0,0 +1,38 @@ +.. index:: + single: getMessage (Git\Commit method) + + +Git\\Commit::getMessage +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::getMessage** () + + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +string + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $commit = $repo->getCommit($ref->getId()); + $message = $commit->getMessage(); + + +See Also +*********************************************************** + +:doc:`Git\\Commit ` +:doc:`Git\\Commit::getShortMessage() ` \ No newline at end of file diff --git a/_sources/classes/commit/get_parent.txt b/_sources/classes/commit/get_parent.txt new file mode 100644 index 0000000000..3b42b33d43 --- /dev/null +++ b/_sources/classes/commit/get_parent.txt @@ -0,0 +1,31 @@ +.. index:: + single: getParent (Git\Commit method) + + +Git\\Commit::getParent +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::getParent** (int *$offset* = 0) + + +Parameters +*********************************************************** + +int *offset* + specified parent offset. + +Return Values +*********************************************************** + +Git\\Commit + +Examples +*********************************************************** + +See Also +*********************************************************** + +:doc:`Git\\Commit ` \ No newline at end of file diff --git a/_sources/classes/commit/get_short_message.txt b/_sources/classes/commit/get_short_message.txt new file mode 100644 index 0000000000..108acb8991 --- /dev/null +++ b/_sources/classes/commit/get_short_message.txt @@ -0,0 +1,32 @@ +.. index:: + single: getShortMessage (Git\Commit method) + + +Git\\Commit::getShortMessage +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::getShortMessage** () + + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $commit = $repo->getCommit($ref->getId()); + $message = $commit->getShortMessage(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/commit/get_tree.txt b/_sources/classes/commit/get_tree.txt new file mode 100644 index 0000000000..1adb8c8b9c --- /dev/null +++ b/_sources/classes/commit/get_tree.txt @@ -0,0 +1,39 @@ +.. index:: + single: getTree (Git\Commit method) + + +Git\\Commit::getTree +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::getTree** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Git\\Tree + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $commit = $repo->getCommit($ref->getId()); + $tree = $commit->getTree(); + +See Also +*********************************************************** + +:doc:`Git\\Tree ` +:doc:`Git\\Commit ` diff --git a/_sources/classes/commit/index.txt b/_sources/classes/commit/index.txt new file mode 100644 index 0000000000..4d8f162531 --- /dev/null +++ b/_sources/classes/commit/index.txt @@ -0,0 +1,9 @@ +Git\\Commit +=========================== + + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/commit/set_author.txt b/_sources/classes/commit/set_author.txt new file mode 100644 index 0000000000..b8a6952ecb --- /dev/null +++ b/_sources/classes/commit/set_author.txt @@ -0,0 +1,42 @@ +.. index:: + single: setAuthor (Git\Commit method) + + +Git\\Commit::setAuthor +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::setAuthor** (Git\\Signature *$author*) + + +Parameters +*********************************************************** + +*author* + author signature. + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + setAuthor(new Git\Signature("Someone","someone@example.com", new DateTime("2011-01-01 00:00:00",new DateTimezone("Asia/Tokyo")))); + + +See Also +*********************************************************** + +:doc:`Git\\Signature ` +:doc:`Git\\Commit::setCommitter ` +`DateTime(PHP Documents) `_ +`DateTimeZone(PHP Documents) `_ \ No newline at end of file diff --git a/_sources/classes/commit/set_committer.txt b/_sources/classes/commit/set_committer.txt new file mode 100644 index 0000000000..a141d624f0 --- /dev/null +++ b/_sources/classes/commit/set_committer.txt @@ -0,0 +1,41 @@ +.. index:: + single: setCommitter (Git\Commit method) + + +Git\\Commit::setCommitter +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::setCommitter** (Git\\Signature *$committer*) + + +Parameters +*********************************************************** + +*committer* + committer signature + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + setCommitter(new Git\Signature("Someone","someone@example.com", new DateTime("2011-01-01 00:00:00",new DateTimezone("Asia/Tokyo")))); + +See Also +*********************************************************** + +:doc:`Git\\Signature ` +:doc:`Git\\Commit::setAuthor ` +`DateTime(PHP Documents) `_ +`DateTimeZone(PHP Documents) `_ \ No newline at end of file diff --git a/_sources/classes/commit/set_message.txt b/_sources/classes/commit/set_message.txt new file mode 100644 index 0000000000..e024e29b85 --- /dev/null +++ b/_sources/classes/commit/set_message.txt @@ -0,0 +1,46 @@ +.. index:: + single: setMessage (Git\Commit method) + + +Git\\Commit::setMessage +=========================================================== + +.. note:: + have to set commit message when writing commit. + +Description +*********************************************************** + +public **Git\\Commit::setMessage** (string *$message*) + + +Parameters +*********************************************************** + +*message* + commit message. + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + setMessage( + "initial import\n" // short message + ."\n" + ."import from https://github.com/...\n" + ); + + +See Also +*********************************************************** + +:doc:`Git\\Commit ` \ No newline at end of file diff --git a/_sources/classes/commit/set_parent.txt b/_sources/classes/commit/set_parent.txt new file mode 100644 index 0000000000..d34f62fe3d --- /dev/null +++ b/_sources/classes/commit/set_parent.txt @@ -0,0 +1,61 @@ +.. index:: + single: setParent (Git\Commit method) + + +Git\\Commit::setParent +=========================================================== + +.. note:: + php-git can't add multiple parents now. + this limit will fix later. + +.. note:: + do not call this method when first commit. + +Description +*********************************************************** + +public **Git\\Commit::setParent** (string *$hash*) + + +Parameters +*********************************************************** + +*hash* + commit hash id + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +- First Commit + +.. code-block:: php + + setContent("First Object1"); + $hash = $blob->write(); + $tree = new Git\Tree($repository); + $tree->add($hash,"README",100644); + $tree_hash = $tree->write(); + $commit = new Git\Commit($repository); + $commit->setAuthor(new Git\Signature("Someone","someone@example.com", new DateTime("2011-01-01 00:00:00",new DateTimezone("Asia/Tokyo")))); + $commit->setCommitter(new Git\Signature("Someone","someone@example.com", new DateTime("2011-01-01 00:00:00",new DateTimezone("Asia/Tokyo")))); + $commit->setTree($tree->getId()); + // when first commit. do not call setParent. + //$commit->setParent(""); + $commit->setMessage("initial import"); + $master_hash = $commit->write(); + + +See Also +*********************************************************** + +:doc:`Git\\Signature ` +:doc:`Git\\Commit ` \ No newline at end of file diff --git a/_sources/classes/commit/set_tree.txt b/_sources/classes/commit/set_tree.txt new file mode 100644 index 0000000000..c7b6f7ca69 --- /dev/null +++ b/_sources/classes/commit/set_tree.txt @@ -0,0 +1,29 @@ +.. index:: + single: setTree (Git\Commit method) + + +Git\\Commit::setTree +=========================================================== + +Description +*********************************************************** + +public **Git\\Commit::setTree** (string *$tree*) + + +Parameters +*********************************************************** + +*tree* + tree hash id + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** + +:doc:`Git\\Commit ` \ No newline at end of file diff --git a/_sources/classes/commit/write.txt b/_sources/classes/commit/write.txt new file mode 100644 index 0000000000..11a6f30a6f --- /dev/null +++ b/_sources/classes/commit/write.txt @@ -0,0 +1,32 @@ +.. index:: + single: write (Git\Commit method) + + +Git\\Commit::write +=========================================================== + +write current commit. + +Description +*********************************************************** + +public **Git\\Commit::write** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +boolean + +Examples +*********************************************************** + +See Also +*********************************************************** + +:doc:`Git\\Commit ` \ No newline at end of file diff --git a/_sources/classes/entry/__construct.txt b/_sources/classes/entry/__construct.txt new file mode 100644 index 0000000000..70b585aa10 --- /dev/null +++ b/_sources/classes/entry/__construct.txt @@ -0,0 +1,26 @@ +.. index:: + single: __construct (Git\Tree\Entry method) + + +Git\\Tree\\Entry::__construct +=========================================================== + +Description +*********************************************************** + +**Git\\Tree\\Entry::__construct** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/entry/index.txt b/_sources/classes/entry/index.txt new file mode 100644 index 0000000000..0279c084fc --- /dev/null +++ b/_sources/classes/entry/index.txt @@ -0,0 +1,9 @@ +Git\\Tree\\Entry +=========================== + + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/entry/to_object.txt b/_sources/classes/entry/to_object.txt new file mode 100644 index 0000000000..2a8d48ca0a --- /dev/null +++ b/_sources/classes/entry/to_object.txt @@ -0,0 +1,26 @@ +.. index:: + single: toObject (Git\Tree\Entry method) + + +Git\\Tree\\Entry::toObject +=========================================================== + +Description +*********************************************************** + +public **Git\\Tree\\Entry::toObject** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/git/index.txt b/_sources/classes/git/index.txt new file mode 100644 index 0000000000..00d6fad742 --- /dev/null +++ b/_sources/classes/git/index.txt @@ -0,0 +1,9 @@ +Git\\Git +=========================== + + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/index/add.txt b/_sources/classes/index/add.txt new file mode 100644 index 0000000000..6fdd1d8457 --- /dev/null +++ b/_sources/classes/index/add.txt @@ -0,0 +1,40 @@ +.. index:: + single: add (Git\Index method) + + +Git\\Index::add +=========================================================== + +add specified file to your index. you have to call Git::Index::write after this method. + + +Description +*********************************************************** + +public **Git\\Index::add** (string *$path*,int *$staging* = 0) + + +Parameters +*********************************************************** + +*path* + file path. + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block:: php + + getIndex(); + $index->add("newcontents.txt"); + $index->write(); + $index->refresh(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/index/count.txt b/_sources/classes/index/count.txt new file mode 100644 index 0000000000..c82b6e6f1a --- /dev/null +++ b/_sources/classes/index/count.txt @@ -0,0 +1,36 @@ +.. index:: + single: count (Git\Index method) + + +Git\\Index::count +=========================================================== + +Countable Interface. you can count(Git::Index) this method. + +Description +*********************************************************** + +public **Git\\Index::count** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block:: php + + getIndex(); + echo count($index); + // same as echo $index->count(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/index/find.txt b/_sources/classes/index/find.txt new file mode 100644 index 0000000000..ec52795717 --- /dev/null +++ b/_sources/classes/index/find.txt @@ -0,0 +1,41 @@ +.. index:: + single: find (Git\Index method) + + +Git\\Index::find +=========================================================== + +returns specified file offset in git_index. + +.. note:: + this method may change next development. + +Description +*********************************************************** + +public **Git\\Index::find** (string *$path*) + + +Parameters +*********************************************************** + +*path* + file name + +Return Values +*********************************************************** + +int offset + +Examples +*********************************************************** + +.. code-block::php + + getIndex(); + $offset = $index->find("README.md"); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/index/get_entry.txt b/_sources/classes/index/get_entry.txt new file mode 100644 index 0000000000..1281b2b7cd --- /dev/null +++ b/_sources/classes/index/get_entry.txt @@ -0,0 +1,70 @@ +.. index:: + single: getEntry (Git\Index method) + + +Git\\Index::getEntry +=========================================================== + +returns specified index entry. + +Description +*********************************************************** + +public **Git\\Index::getEntry** (int *$offset* = 0) + + +Parameters +*********************************************************** + +*offset* + index offset + + +Return Values +*********************************************************** + +Stdclass + +Examples +*********************************************************** + +.. code-block::php + + getIndex(); + $result = $index->getEntry(0); + /* + object(stdClass)#4 (12) { + ["path"]=> + string(10) ".gitignore" + ["oid"]=> + string(40) "5b1a5b7ad3dd7141ccacd25e50e3078de4288a22" + ["dev"]=> + int(2050) + ["ino"]=> + int(1205498) + ["mode"]=> + int(33188) + ["uid"]=> + int(1000) + ["gid"]=> + int(1000) + ["file_size"]=> + int(364) + ["flags"]=> + int(10) + ["flags_extended"]=> + int(0) + ["ctime"]=> + int(1294640280) + ["mtime"]=> + int(1294640280) + } + */ + +.. note:: + return object may change next development + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/index/get_iterator.txt b/_sources/classes/index/get_iterator.txt new file mode 100644 index 0000000000..9e059f1eee --- /dev/null +++ b/_sources/classes/index/get_iterator.txt @@ -0,0 +1,34 @@ +.. index:: + single: getIterator (Git\Index method) + + +Git\\Index::getIterator +=========================================================== + +IteratorAggregate interface. + +Description +*********************************************************** + +public **Git\\Index::getIterator** () + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block::php + + getIndex(); + foreach($index->getIterator() as $entry){ + // something... + } + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/index/index.txt b/_sources/classes/index/index.txt new file mode 100644 index 0000000000..86c808d1ad --- /dev/null +++ b/_sources/classes/index/index.txt @@ -0,0 +1,10 @@ +Git\\Index +=========================== + +representation of git index. + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/index/refresh.txt b/_sources/classes/index/refresh.txt new file mode 100644 index 0000000000..56e8e19c6d --- /dev/null +++ b/_sources/classes/index/refresh.txt @@ -0,0 +1,38 @@ +.. index:: + single: refresh (Git\Index method) + + +Git\\Index::refresh +=========================================================== + +reloading current repository index. + +Description +*********************************************************** + +public **Git\\Index::refresh** () + + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + getIndex(); + /** + * some change wrote. + * you have to refresh index. + */ + $index->refresh(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/index/write.txt b/_sources/classes/index/write.txt new file mode 100644 index 0000000000..63bafa4bd8 --- /dev/null +++ b/_sources/classes/index/write.txt @@ -0,0 +1,35 @@ +.. index:: + single: write (Git\Index method) + + +Git\\Index::write +=========================================================== + +write current index to filesystem. + +Description +*********************************************************** + +public **Git\\Index::write** () + + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block::php + + getIndex(); + $index->add("newcontents.txt"); + $index->write(); + $index->refresh(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/manager/__construct.txt b/_sources/classes/manager/__construct.txt new file mode 100644 index 0000000000..ddc684e9ed --- /dev/null +++ b/_sources/classes/manager/__construct.txt @@ -0,0 +1,39 @@ +.. index:: + single: __construct (Git\Reference\Manager method) + + +Git\\Reference\\Manager::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference\\Manager::__construct** (Git\\Repository *$repository*) + + +Parameters +*********************************************************** + +*repository* + Git\\Repository + + +Return Values +*********************************************************** + +:doc:`Git\\Reference\\Manager ` + +Examples +*********************************************************** + +.. code-block:: php + + ` +:doc:`Git\\Repository ` diff --git a/_sources/classes/manager/create.txt b/_sources/classes/manager/create.txt new file mode 100644 index 0000000000..d2757e4068 --- /dev/null +++ b/_sources/classes/manager/create.txt @@ -0,0 +1,48 @@ +.. index:: + single: create (Git\Reference\Manager method) + + +Git\\Reference\\Manager::create +=========================================================== + +.. note:: + Currentry can create non symbolic reference only. + (this is php-git limits. this issue fix soon) + +Description +*********************************************************** + +public **Git\\Reference\\Manager::create** (string *$name*,string *$oid*) + + +Parameters +*********************************************************** + +*name* + reference name (e.g. refs/heads/reference-name) + +*oid* + target commit id + +Return Values +*********************************************************** + +boolean + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + //create new branch `new-branch` what targets `master` commit. + $manager->create("refs/heads/new-branch",$master->getId()); + +See Also +*********************************************************** + +:doc:`Git\\Commit ` +:doc:`Git\\Reference ` diff --git a/_sources/classes/manager/get_list.txt b/_sources/classes/manager/get_list.txt new file mode 100644 index 0000000000..d439b22efb --- /dev/null +++ b/_sources/classes/manager/get_list.txt @@ -0,0 +1,39 @@ +.. index:: + single: getList (Git\Reference\Manager method) + + +Git\\Reference\\Manager::getList +=========================================================== + +get available reference list. + +Description +*********************************************************** + +public **Git\\Reference\\Manager::getList** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +array Git\\Reference + +Examples +*********************************************************** + +.. code-block:: php + + getList(); + +See Also +*********************************************************** + +:doc:`Git\\Reference ` \ No newline at end of file diff --git a/_sources/classes/manager/index.txt b/_sources/classes/manager/index.txt new file mode 100644 index 0000000000..75951c8f50 --- /dev/null +++ b/_sources/classes/manager/index.txt @@ -0,0 +1,9 @@ +Git\\Reference\\Manager +=========================== + + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/manager/lookup.txt b/_sources/classes/manager/lookup.txt new file mode 100644 index 0000000000..d485206f35 --- /dev/null +++ b/_sources/classes/manager/lookup.txt @@ -0,0 +1,48 @@ +.. index:: + single: lookup (Git\Reference\Manager method) + + +Git\\Reference\\Manager::lookup +=========================================================== + +this method same as Git\Repository::lookup(); + +Description +*********************************************************** + +public **Git\\Reference\\Manager::lookup** (string *$name*) + + +Parameters +*********************************************************** + +*name* + reference name (e.g. refs/heads/master) + + +Return Values +*********************************************************** + +Git\\Reference + +ChangeLog +*********************************************************** + +- method name changed from lookupRef to lookup. + (can't define lookup method because php-compat defines `lookup` preprocessor.) + +Examples +*********************************************************** + +.. code-block:: php + + lookup("refs/heads/master"); + + +See Also +*********************************************************** + +:doc:`Git\\Repository::lookupRef ` \ No newline at end of file diff --git a/_sources/classes/manager/pack.txt b/_sources/classes/manager/pack.txt new file mode 100644 index 0000000000..149be41ecf --- /dev/null +++ b/_sources/classes/manager/pack.txt @@ -0,0 +1,37 @@ +.. index:: + single: pack (Git\Reference\Manager method) + + +Git\\Reference\\Manager::pack +=========================================================== + +.. note:: + WARNING: calling this method may invalidate any existing references previously loaded on the cache. + +Description +*********************************************************** + +public **Git\\Reference\\Manager::pack** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +boolean + +Examples +*********************************************************** + +.. code-block:: php + + pack(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/object/get_id.txt b/_sources/classes/object/get_id.txt new file mode 100644 index 0000000000..c85c2821ee --- /dev/null +++ b/_sources/classes/object/get_id.txt @@ -0,0 +1,26 @@ +.. index:: + single: getId (Git\Object method) + + +Git\\Object::getId +=========================================================== + +Description +*********************************************************** + +public **Git\\Object::getId** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/object/get_type.txt b/_sources/classes/object/get_type.txt new file mode 100644 index 0000000000..dd17aea314 --- /dev/null +++ b/_sources/classes/object/get_type.txt @@ -0,0 +1,46 @@ +.. index:: + single: getType (Git\Object method) + + +Git\\Object::getType +=========================================================== + +returns current object type + +Description +*********************************************************** + +public **Git\\Object::getType** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +int object_type + +- Git\\Object\\Tree +- Git\\Object\\Blob + +Examples +*********************************************************** + +.. code-block:: php + + entries as $entry){ + $object = $entry->toObject(); + if($object->getType() == Git\Object\Tree){ + // + } + } + +See Also +*********************************************************** + +:doc:`Git\\Object::isTree ` +:doc:`Git\\Object::isBlob ` \ No newline at end of file diff --git a/_sources/classes/object/index.txt b/_sources/classes/object/index.txt new file mode 100644 index 0000000000..3b26bab176 --- /dev/null +++ b/_sources/classes/object/index.txt @@ -0,0 +1,10 @@ +Git\\Object +=========================== + +Base class for Git\\Commit, Git\\Blob, Git\\Tree, Git\\Commit + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/object/is_blob.txt b/_sources/classes/object/is_blob.txt new file mode 100644 index 0000000000..4e7fb9ba41 --- /dev/null +++ b/_sources/classes/object/is_blob.txt @@ -0,0 +1,43 @@ +.. index:: + single: isBlob (Git\Object method) + + +Git\\Object::isBlob +=========================================================== + +return true when object is blob. + +Description +*********************************************************** + +public **Git\\Object::isBlob** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block:: php + + entries as $entry){ + $object = $entry->toObject(); + if($object->isTree()){ + // + } else if($object->isBlob()){ + // + } + } + +See Also +*********************************************************** + +:doc:`Git\\Object::isTree ` +:doc:`Git\\Object::getType ` \ No newline at end of file diff --git a/_sources/classes/object/is_tree.txt b/_sources/classes/object/is_tree.txt new file mode 100644 index 0000000000..142e5860a1 --- /dev/null +++ b/_sources/classes/object/is_tree.txt @@ -0,0 +1,48 @@ +.. index:: + single: isTree (Git\Object method) + + +Git\\Object::isTree +=========================================================== + +return true when object is tree. + + +Description +*********************************************************** + +public **Git\\Object::isTree** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +boolean + +Examples +*********************************************************** + +.. code-block:: php + + entries as $entry){ + $object = $entry->toObject(); + if($object->isTree()){ + // + } else if($object->isBlob()){ + // + } + } + +See Also +*********************************************************** + + +:doc:`Git\\Object::isBlob ` +:doc:`Git\\Object::getType ` \ No newline at end of file diff --git a/_sources/classes/object/write.txt b/_sources/classes/object/write.txt new file mode 100644 index 0000000000..e89ec80b17 --- /dev/null +++ b/_sources/classes/object/write.txt @@ -0,0 +1,26 @@ +.. index:: + single: write (Git\Object method) + + +Git\\Object::write +=========================================================== + +Description +*********************************************************** + +public **Git\\Object::write** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/odb/__construct.txt b/_sources/classes/odb/__construct.txt new file mode 100644 index 0000000000..136515fb50 --- /dev/null +++ b/_sources/classes/odb/__construct.txt @@ -0,0 +1,26 @@ +.. index:: + single: __construct (Git\ODB method) + + +Git\\ODB::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\ODB::__construct** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/odb/add_alternate.txt b/_sources/classes/odb/add_alternate.txt new file mode 100644 index 0000000000..839c2e3cb0 --- /dev/null +++ b/_sources/classes/odb/add_alternate.txt @@ -0,0 +1,28 @@ +.. index:: + single: addAlternate (Git\ODB method) + + +Git\\ODB::addAlternate +=========================================================== + +Description +*********************************************************** + +public **Git\\ODB::addAlternate** (Git\Backend *$backend*) + + +Parameters +*********************************************************** + +Git\Backend *backend* + custom backend object + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/odb/add_backend.txt b/_sources/classes/odb/add_backend.txt new file mode 100644 index 0000000000..d56494058f --- /dev/null +++ b/_sources/classes/odb/add_backend.txt @@ -0,0 +1,28 @@ +.. index:: + single: addBackend (Git\ODB method) + + +Git\\ODB::addBackend +=========================================================== + +Description +*********************************************************** + +public **Git\\ODB::addBackend** (Git\Backend *$backend*) + + +Parameters +*********************************************************** + +Git\Backend *backend* + custom backend object + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/odb/index.txt b/_sources/classes/odb/index.txt new file mode 100644 index 0000000000..64c8e18558 --- /dev/null +++ b/_sources/classes/odb/index.txt @@ -0,0 +1,9 @@ +Git\\ODB +=========================== + + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/rawobject/__construct.txt b/_sources/classes/rawobject/__construct.txt new file mode 100644 index 0000000000..e4b05fc8b4 --- /dev/null +++ b/_sources/classes/rawobject/__construct.txt @@ -0,0 +1,34 @@ +.. index:: + single: __construct (Git\RawObject method) + + +Git\\RawObject::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\RawObject::__construct** (int *$type*, string *$data*, [int *$len*]) + + +Parameters +*********************************************************** + +*type* + object type. + +*data* + object data + +*len* + object data length + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/rawobject/get_id.txt b/_sources/classes/rawobject/get_id.txt new file mode 100644 index 0000000000..e32014893a --- /dev/null +++ b/_sources/classes/rawobject/get_id.txt @@ -0,0 +1,26 @@ +.. index:: + single: getId (Git\RawObject method) + + +Git\\RawObject::getId +=========================================================== + +Description +*********************************************************** + +public **Git\\RawObject::getId** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/rawobject/index.txt b/_sources/classes/rawobject/index.txt new file mode 100644 index 0000000000..c6e44f0b90 --- /dev/null +++ b/_sources/classes/rawobject/index.txt @@ -0,0 +1,11 @@ +Git\\RawObject +=========================== + +this class uses php-git internal. +see also :doc:`Git\\Backend ` + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/reference/__construct.txt b/_sources/classes/reference/__construct.txt new file mode 100644 index 0000000000..ff85c29e9d --- /dev/null +++ b/_sources/classes/reference/__construct.txt @@ -0,0 +1,28 @@ +.. index:: + single: __construct (Git\Reference method) + + +Git\\Reference::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference::__construct** (Git\Repository *$repository*) + + +Parameters +*********************************************************** + +Git\Repository *repository* + Git\Repository object. + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/reference/get_id.txt b/_sources/classes/reference/get_id.txt new file mode 100644 index 0000000000..751936ee8a --- /dev/null +++ b/_sources/classes/reference/get_id.txt @@ -0,0 +1,26 @@ +.. index:: + single: getId (Git\Reference method) + + +Git\\Reference::getId +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference::getId** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/reference/get_name.txt b/_sources/classes/reference/get_name.txt new file mode 100644 index 0000000000..49ea57db3b --- /dev/null +++ b/_sources/classes/reference/get_name.txt @@ -0,0 +1,26 @@ +.. index:: + single: getName (Git\Reference method) + + +Git\\Reference::getName +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference::getName** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/reference/get_target.txt b/_sources/classes/reference/get_target.txt new file mode 100644 index 0000000000..8d0a1e7e1a --- /dev/null +++ b/_sources/classes/reference/get_target.txt @@ -0,0 +1,26 @@ +.. index:: + single: getTarget (Git\Reference method) + + +Git\\Reference::getTarget +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference::getTarget** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/reference/get_type.txt b/_sources/classes/reference/get_type.txt new file mode 100644 index 0000000000..fd0236a8b7 --- /dev/null +++ b/_sources/classes/reference/get_type.txt @@ -0,0 +1,26 @@ +.. index:: + single: getType (Git\Reference method) + + +Git\\Reference::getType +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference::getType** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/reference/index.txt b/_sources/classes/reference/index.txt new file mode 100644 index 0000000000..fb1796a78f --- /dev/null +++ b/_sources/classes/reference/index.txt @@ -0,0 +1,11 @@ +Git\\Reference +=========================== + +.. note:: + this class is experimental. + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/reference/is_blob.txt b/_sources/classes/reference/is_blob.txt new file mode 100644 index 0000000000..6d1cff9d75 --- /dev/null +++ b/_sources/classes/reference/is_blob.txt @@ -0,0 +1,26 @@ +.. index:: + single: isBlob (Git\Reference method) + + +Git\\Reference::isBlob +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference::isBlob** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/reference/is_tree.txt b/_sources/classes/reference/is_tree.txt new file mode 100644 index 0000000000..20538ee5ea --- /dev/null +++ b/_sources/classes/reference/is_tree.txt @@ -0,0 +1,26 @@ +.. index:: + single: isTree (Git\Reference method) + + +Git\\Reference::isTree +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference::isTree** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/reference/write.txt b/_sources/classes/reference/write.txt new file mode 100644 index 0000000000..61b2fc2dca --- /dev/null +++ b/_sources/classes/reference/write.txt @@ -0,0 +1,26 @@ +.. index:: + single: write (Git\Reference method) + + +Git\\Reference::write +=========================================================== + +Description +*********************************************************** + +public **Git\\Reference::write** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/repository/__construct.txt b/_sources/classes/repository/__construct.txt new file mode 100644 index 0000000000..30017b900e --- /dev/null +++ b/_sources/classes/repository/__construct.txt @@ -0,0 +1,35 @@ +.. index:: + single: __construct (Git\Repository method) + + +Git\\Repository::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\Repository::__construct** ( [*$repository_path*]) + + +Parameters +*********************************************************** + +*repository_path* + git repository path. + + +Return Values +*********************************************************** + +:doc:`Git\Repository ` + +Examples +*********************************************************** + +.. code-block:: php + + ` + +*priority* + [low] 1 ... 5[high] + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +See Also +*********************************************************** + +:doc:`Git\\Backend ` \ No newline at end of file diff --git a/_sources/classes/repository/add_backend.txt b/_sources/classes/repository/add_backend.txt new file mode 100644 index 0000000000..ee61466a70 --- /dev/null +++ b/_sources/classes/repository/add_backend.txt @@ -0,0 +1,119 @@ +.. index:: + single: addBackend (Git\Repository method) + + +Git\\Repository::addBackend +=========================================================== + +Description +*********************************************************** + +public **Git\\Repository::addBackend** (*$backend*, *$priority*) + + +Parameters +*********************************************************** + +*backend* + Specifies a class that inherits from :doc:`Git\\Backend ` + +*priority* + [low] 1 ... 5[high] + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + exists($key)){ + $object = $this->get($key); + return $object; + } + } + + /** + * Read Header + * + * @param string $key sha1 hash. + * @return Git\RawObject + */ + public function read_header($key){ + if(isset($this->memory[$key])){ + return new \Git\RawObject($obj->type,"",$obj->len); + } + } + + /** + * check specified contents. + * + * @param string $key sha1 hash. + * @return boolean + */ + public function exists($key){ + if(isset($this->memory[$key])){ + return true; + }else{ + return false; + } + } + + /** + * write contents + * + * you have to write key,data,type your storage engine. + * + * @param string $key sha1 hash. + * @param Git\RawObject $object. + * @return hash + */ + public function write($object){ + $key = $object->getId(); + $std = new \Stdclass(); + $std->data = $object->data; + $std->type = $object->type; + $std->len = $object->len; + $this->memory[$key] = $std; + return $key; + } + + public function free() + { + unset($this->memory); + } + } + + + $repository = new Git\Repository("/tmp/example/.git"); + $repository->addBackend(new MemoryBackend(), 5);// higher priority. + +See Also +*********************************************************** + +:doc:`Git\\Backend ` \ No newline at end of file diff --git a/_sources/classes/repository/get_commit.txt b/_sources/classes/repository/get_commit.txt new file mode 100644 index 0000000000..57beb1dbb6 --- /dev/null +++ b/_sources/classes/repository/get_commit.txt @@ -0,0 +1,41 @@ +.. index:: + single: getCommit (Git\Repository method) + + +Git\\Repository::getCommit +=========================================================== + +returns specified Git\\Commit. + +Description +*********************************************************** + +public **Git\\Repository::getCommit** (string *$hash*) + + +Parameters +*********************************************************** + +*hash* + commit hash id. + + +Return Values +*********************************************************** + +:doc:`Git\\Commit ` + +Examples +*********************************************************** + +.. code-block:: php + + getCommit("cd584aba22827a6a59cad3ab1b4e026418558bfb"); + + +See Also +*********************************************************** + +:doc:`Git\\Commit ` \ No newline at end of file diff --git a/_sources/classes/repository/get_index.txt b/_sources/classes/repository/get_index.txt new file mode 100644 index 0000000000..9eb8289742 --- /dev/null +++ b/_sources/classes/repository/get_index.txt @@ -0,0 +1,36 @@ +.. index:: + single: getIndex (Git\Repository method) + + +Git\\Repository::getIndex +=========================================================== + +returns current Git\Index object. this method will fail when bare repository. + +Description +*********************************************************** + +public **Git\\Repository::getIndex** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +:doc:`Git\\Index ` + +Examples +*********************************************************** + +.. code-block:: php + + getIndex(); + + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/repository/get_object.txt b/_sources/classes/repository/get_object.txt new file mode 100644 index 0000000000..d9572f5f7d --- /dev/null +++ b/_sources/classes/repository/get_object.txt @@ -0,0 +1,44 @@ +.. index:: + single: getObject (Git\Repository method) + + +Git\\Repository::getObject +=========================================================== + +returns specified Git\\Blob. + +.. note:: + this method will rename to Git\\Repository::getBlob + +Description +*********************************************************** + +public **Git\\Repository::getObject** (*$hash*) + + +Parameters +*********************************************************** + +*hash* + blob hash id. + + +Return Values +*********************************************************** + +:doc:`Git\\Blob ` + +Examples +*********************************************************** + +.. code-block:: php + + getObject("cd584aba22827a6a59cad3ab1b4e026418558bfb"); + + +See Also +*********************************************************** + +:doc:`Git\\Blob ` diff --git a/_sources/classes/repository/get_references.txt b/_sources/classes/repository/get_references.txt new file mode 100644 index 0000000000..073e066275 --- /dev/null +++ b/_sources/classes/repository/get_references.txt @@ -0,0 +1,43 @@ +.. index:: + single: getReferences (Git\Repository method) + + +Git\\Repository::getReferences +=========================================================== + +returns a list with all the references that can be found in a repository. + +.. note:: + this method may changed next development. + +Description +*********************************************************** + +public **Git\\Repository::getReferences** (int *$flag*) + + +Parameters +*********************************************************** + +*flag* + fill them out lator + + +Return Values +*********************************************************** + +:doc:`array Git\\References ` + +Examples +*********************************************************** + +.. code-block:: php + + getReferences(); + +See Also +*********************************************************** + +:doc:`Git\\Reference ` \ No newline at end of file diff --git a/_sources/classes/repository/get_tree.txt b/_sources/classes/repository/get_tree.txt new file mode 100644 index 0000000000..181317e395 --- /dev/null +++ b/_sources/classes/repository/get_tree.txt @@ -0,0 +1,40 @@ +.. index:: + single: getTree (Git\Repository method) + + +Git\\Repository::getTree +=========================================================== + +returns specified Git\\Tree. + +Description +*********************************************************** + +public **Git\\Repository::getTree** (*$hash*) + + +Parameters +*********************************************************** + +*hash* + tree hash id. + + +Return Values +*********************************************************** + +:doc:`Git\\Tree ` + +Examples +*********************************************************** + +.. code-block:: php + + getTree("cd584aba22827a6a59cad3ab1b4e026418558bfb"); + +See Also +*********************************************************** + +:doc:`Git\\Tree ` \ No newline at end of file diff --git a/_sources/classes/repository/get_walker.txt b/_sources/classes/repository/get_walker.txt new file mode 100644 index 0000000000..df9acbb732 --- /dev/null +++ b/_sources/classes/repository/get_walker.txt @@ -0,0 +1,44 @@ +.. index:: + single: getWalker (Git\Repository method) + + +Git\\Repository::getWalker +=========================================================== + +returns Git\Revwalk. + +Description +*********************************************************** + +public **Git\\Repository::getWalker** () + + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +:doc:`Git\\Revwalk ` + +Examples +*********************************************************** + + +.. code-block:: php + + lookupRef("refs/heads/master"); + $walker = $repo->getWalker(); + $walker->push($reference->getId()); + + while($commit = $walker->next()){ + var_dump($commit); + } + +See Also +*********************************************************** + +:doc:`Git\\Revwalk ` +:doc:`Git\\Commit ` \ No newline at end of file diff --git a/_sources/classes/repository/index.txt b/_sources/classes/repository/index.txt new file mode 100644 index 0000000000..1e7e1fd91e --- /dev/null +++ b/_sources/classes/repository/index.txt @@ -0,0 +1,10 @@ +Git\\Repository +=========================== + +representation of git_repository. + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/repository/init.txt b/_sources/classes/repository/init.txt new file mode 100644 index 0000000000..3a90e70106 --- /dev/null +++ b/_sources/classes/repository/init.txt @@ -0,0 +1,45 @@ +.. index:: + single: init (Git\Repository method) + + +Git\\Repository::init +=========================================================== + +create a new git repository on your filesystem. + +Description +*********************************************************** + +public static **Git\\Repository::init** (*$path*, *$is_bare*) + + +Parameters +*********************************************************** + +*path* + blank directory + +*is_bare* + create bare repository when is_bare is true. + + +.. note:: + do not call this method when specified repository exists. + +Return Values +*********************************************************** + +:doc:`Git\\Repository ` + +Examples +*********************************************************** + +.. code-block:: php + + ` \ No newline at end of file diff --git a/_sources/classes/repository/lookup_ref.txt b/_sources/classes/repository/lookup_ref.txt new file mode 100644 index 0000000000..f98348ffc7 --- /dev/null +++ b/_sources/classes/repository/lookup_ref.txt @@ -0,0 +1,40 @@ +.. index:: + single: lookupRef (Git\Repository method) + + +Git\\Repository::lookupRef +=========================================================== + +return specified reference object. + +Description +*********************************************************** + +public **Git\\Repository::lookupRef** (*$name*) + + +Parameters +*********************************************************** + +*name* + reference name. + + +Return Values +*********************************************************** + +:doc:`Git\\Reference ` + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + +See Also +*********************************************************** + +:doc:`Git\\Reference ` \ No newline at end of file diff --git a/_sources/classes/repository/open2.txt b/_sources/classes/repository/open2.txt new file mode 100644 index 0000000000..75fb4193c2 --- /dev/null +++ b/_sources/classes/repository/open2.txt @@ -0,0 +1,53 @@ +.. index:: + single: open2 (Git\Repository method) + + +Git\\Repository::open2 +=========================================================== + +Description +*********************************************************** + +public **Git\\Repository::open2** (string *$git_dir*, string *$git_object_dir*, string *$git_index_file*, string *$git_working_tree*) + + +Parameters +*********************************************************** + +*git_dir* + git repository directory + +*git_object_dir* + object directory + +*git_index_file* + index file + +*git_working_tree* + working tree directory + +Return Values +*********************************************************** + +boolean + +Examples +*********************************************************** + +.. code-block:: php + + open2( + "/home/chobie/src/libgit2/.git", // git directory + "/home/chobie/src/libgit2/.git/objects",// git object directory + "/home/chobie/src/libgit2/.git/index", // git index file + "/home/chobie/src/libgit2/" // git working tree + ); + + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/repository/open3.txt b/_sources/classes/repository/open3.txt new file mode 100644 index 0000000000..ced0b9ffd6 --- /dev/null +++ b/_sources/classes/repository/open3.txt @@ -0,0 +1,37 @@ +.. index:: + single: open3 (Git\Repository method) + + +Git\\Repository::open3 +=========================================================== + +Description +*********************************************************** + +public **Git\\Repository::open3** (string *$git_dir*, [Git\Odb *$odb*], [string *$index*], [string *$tree*]) + + +Parameters +*********************************************************** + +*git_dir* + specified git repository directory + +*odb* + Git\Odb object which added custom backends. + +*index* + specified git index path. + +*tree* + specified git working tree path. + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/revwalk/__construct.txt b/_sources/classes/revwalk/__construct.txt new file mode 100644 index 0000000000..977eef6222 --- /dev/null +++ b/_sources/classes/revwalk/__construct.txt @@ -0,0 +1,29 @@ +.. index:: + single: __construct (Git\Revwalk method) + + +Git\\Revwalk::__construct +=========================================================== + +.. note:: + you should use Git\\Repository::getWalker() instead. + +Description +*********************************************************** + +public **Git\\Revwalk::__construct** () + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** + +:doc:`Git\\Repository ` +:doc:`Git\\Repository::getWalker() ` \ No newline at end of file diff --git a/_sources/classes/revwalk/hide.txt b/_sources/classes/revwalk/hide.txt new file mode 100644 index 0000000000..e21390fd38 --- /dev/null +++ b/_sources/classes/revwalk/hide.txt @@ -0,0 +1,52 @@ +.. index:: + single: hide (Git\Revwalk method) + + +Git\\Revwalk::hide +=========================================================== + +hide uninterested commits. + +:: + + o---o---o---o---o---o---o---o + `--o---o--/ + ^hide + +:: + + o---o---o---o---o---o---o---o + + +Description +*********************************************************** + +public **Git\\Revwalk::hide** (*$hash*) + + +Parameters +*********************************************************** + +*hash* + uninterested commit id + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $revwalk = $repo->getWalker(); + $uninterested = "";// specified uninterested commit id + $revwalk->hide($uninterested); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/revwalk/index.txt b/_sources/classes/revwalk/index.txt new file mode 100644 index 0000000000..076b50f1bf --- /dev/null +++ b/_sources/classes/revwalk/index.txt @@ -0,0 +1,9 @@ +Git\\Revwalk +=========================== + + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/revwalk/next.txt b/_sources/classes/revwalk/next.txt new file mode 100644 index 0000000000..363129a702 --- /dev/null +++ b/_sources/classes/revwalk/next.txt @@ -0,0 +1,40 @@ +.. index:: + single: next (Git\Revwalk method) + + +Git\\Revwalk::next +=========================================================== + +get next travasable commit. + +Description +*********************************************************** + +public **Git\\Revwalk::next** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +:doc:`Git\\Commit ` + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $revwalk = $repo->getWalker(); + $revwalk->push($master->getId()); + $commit = $revwalk->next(); + +See Also +*********************************************************** + +:doc:`Git\\Commit ` \ No newline at end of file diff --git a/_sources/classes/revwalk/push.txt b/_sources/classes/revwalk/push.txt new file mode 100644 index 0000000000..248c5ed3f1 --- /dev/null +++ b/_sources/classes/revwalk/push.txt @@ -0,0 +1,46 @@ +.. index:: + single: push (Git\Revwalk method) + + +Git\\Revwalk::push +=========================================================== + +push commit to revwalk object. + +Description +*********************************************************** + +public **Git\\Revwalk::push** (string *$hash*) + + +Parameters +*********************************************************** + +*hash* + commit id + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $revwalk = $repo->getWalker(); + $revwalk->push($master->getId()); + while($commit = $revwalk->next()){ + // + } + +See Also +*********************************************************** + +:doc:`Git\\Reference ` +:doc:`Git\\Revwalk::next() ` \ No newline at end of file diff --git a/_sources/classes/revwalk/reset.txt b/_sources/classes/revwalk/reset.txt new file mode 100644 index 0000000000..5d08195cd5 --- /dev/null +++ b/_sources/classes/revwalk/reset.txt @@ -0,0 +1,39 @@ +.. index:: + single: reset (Git\Revwalk method) + + +Git\\Revwalk::reset +=========================================================== + +reset internal pointer. + +Description +*********************************************************** + +public **Git\\Revwalk::reset** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $revwalk = $repo->getWalker(); + $revwalk->push($master->getId()); + $commit = $revwalk->next(); + $revwalk->reset(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/revwalk/sort.txt b/_sources/classes/revwalk/sort.txt new file mode 100644 index 0000000000..94c15b06f9 --- /dev/null +++ b/_sources/classes/revwalk/sort.txt @@ -0,0 +1,42 @@ +.. index:: + single: sort (Git\Revwalk method) + + +Git\\Revwalk::sort +=========================================================== + +Description +*********************************************************** + +public **Git\\Revwalk::sort** (int *$sort_type*) + +Parameters +*********************************************************** + +*sort_type* + specified sort type + +- Git\\Revwalk\\SORT_NONE +- Git\\Revwalk\\SORT_TOPO +- Git\\Revwalk\\SORT_DATE +- Git\\Revwalk\\SORT_REVERSE + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $revwalk = $repo->getWalker(); + $revwalk->sort(Git\Revwalk\SORT_REVERSE); + $revwalk->push($master->getId()); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/signature/__construct.txt b/_sources/classes/signature/__construct.txt new file mode 100644 index 0000000000..139be090fd --- /dev/null +++ b/_sources/classes/signature/__construct.txt @@ -0,0 +1,49 @@ +.. index:: + single: __construct (Git\Signature method) + + +Git\\Signature::__construct +=========================================================== + +create signature. + +Description +*********************************************************** + +public **Git\\Signature::__construct** (string *$name*,string *$email*, \\DateTime *$when*) + + +Parameters +*********************************************************** + +*name* + full name. e.g) John Smith + +*email* + email. e.g) john.smith@example.com + +*when* + commit time + + +Return Values +*********************************************************** + +:doc:`Git\\Signature ` + +Examples +*********************************************************** + +.. code-block:: php + + ` \ No newline at end of file diff --git a/_sources/classes/signature/index.txt b/_sources/classes/signature/index.txt new file mode 100644 index 0000000000..760a7aface --- /dev/null +++ b/_sources/classes/signature/index.txt @@ -0,0 +1,9 @@ +Git\\Signature +=========================== + + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/tag/__construct.txt b/_sources/classes/tag/__construct.txt new file mode 100644 index 0000000000..a7dfea078f --- /dev/null +++ b/_sources/classes/tag/__construct.txt @@ -0,0 +1,28 @@ +.. index:: + single: __construct (Git\Tag method) + + +Git\\Tag::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::__construct** (*$repository*) + + +Parameters +*********************************************************** + +*repository* + fill them out later + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/get_id.txt b/_sources/classes/tag/get_id.txt new file mode 100644 index 0000000000..b3db254693 --- /dev/null +++ b/_sources/classes/tag/get_id.txt @@ -0,0 +1,26 @@ +.. index:: + single: getId (Git\Tag method) + + +Git\\Tag::getId +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::getId** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/get_message.txt b/_sources/classes/tag/get_message.txt new file mode 100644 index 0000000000..c9ee07bade --- /dev/null +++ b/_sources/classes/tag/get_message.txt @@ -0,0 +1,26 @@ +.. index:: + single: getMessage (Git\Tag method) + + +Git\\Tag::getMessage +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::getMessage** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/get_name.txt b/_sources/classes/tag/get_name.txt new file mode 100644 index 0000000000..e5e61459b0 --- /dev/null +++ b/_sources/classes/tag/get_name.txt @@ -0,0 +1,26 @@ +.. index:: + single: getName (Git\Tag method) + + +Git\\Tag::getName +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::getName** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/get_target.txt b/_sources/classes/tag/get_target.txt new file mode 100644 index 0000000000..4ec63969fa --- /dev/null +++ b/_sources/classes/tag/get_target.txt @@ -0,0 +1,26 @@ +.. index:: + single: getTarget (Git\Tag method) + + +Git\\Tag::getTarget +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::getTarget** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/get_type.txt b/_sources/classes/tag/get_type.txt new file mode 100644 index 0000000000..1304ee9035 --- /dev/null +++ b/_sources/classes/tag/get_type.txt @@ -0,0 +1,26 @@ +.. index:: + single: getType (Git\Tag method) + + +Git\\Tag::getType +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::getType** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/index.txt b/_sources/classes/tag/index.txt new file mode 100644 index 0000000000..d6ca7a118a --- /dev/null +++ b/_sources/classes/tag/index.txt @@ -0,0 +1,12 @@ +Git\\Tag +=========================== + + +.. note:: + this class experimental. use :doc:`Git\\Reference ` instead. + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/tag/is_blob.txt b/_sources/classes/tag/is_blob.txt new file mode 100644 index 0000000000..b1980c842e --- /dev/null +++ b/_sources/classes/tag/is_blob.txt @@ -0,0 +1,26 @@ +.. index:: + single: isBlob (Git\Tag method) + + +Git\\Tag::isBlob +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::isBlob** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/is_tree.txt b/_sources/classes/tag/is_tree.txt new file mode 100644 index 0000000000..de3d61c565 --- /dev/null +++ b/_sources/classes/tag/is_tree.txt @@ -0,0 +1,26 @@ +.. index:: + single: isTree (Git\Tag method) + + +Git\\Tag::isTree +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::isTree** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/set_message.txt b/_sources/classes/tag/set_message.txt new file mode 100644 index 0000000000..a825c083da --- /dev/null +++ b/_sources/classes/tag/set_message.txt @@ -0,0 +1,28 @@ +.. index:: + single: setMessage (Git\Tag method) + + +Git\\Tag::setMessage +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::setMessage** (*$message*) + + +Parameters +*********************************************************** + +*message* + fill them out later + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/set_name.txt b/_sources/classes/tag/set_name.txt new file mode 100644 index 0000000000..bd498fcfd7 --- /dev/null +++ b/_sources/classes/tag/set_name.txt @@ -0,0 +1,28 @@ +.. index:: + single: setName (Git\Tag method) + + +Git\\Tag::setName +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::setName** (*$name*) + + +Parameters +*********************************************************** + +*name* + fill them out later + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/set_target.txt b/_sources/classes/tag/set_target.txt new file mode 100644 index 0000000000..74a702ab3c --- /dev/null +++ b/_sources/classes/tag/set_target.txt @@ -0,0 +1,28 @@ +.. index:: + single: setTarget (Git\Tag method) + + +Git\\Tag::setTarget +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::setTarget** (*$target*) + + +Parameters +*********************************************************** + +*target* + fill them out later + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tag/write.txt b/_sources/classes/tag/write.txt new file mode 100644 index 0000000000..4b0a339d20 --- /dev/null +++ b/_sources/classes/tag/write.txt @@ -0,0 +1,26 @@ +.. index:: + single: write (Git\Tag method) + + +Git\\Tag::write +=========================================================== + +Description +*********************************************************** + +public **Git\\Tag::write** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tree/__construct.txt b/_sources/classes/tree/__construct.txt new file mode 100644 index 0000000000..b58bd347b1 --- /dev/null +++ b/_sources/classes/tree/__construct.txt @@ -0,0 +1,28 @@ +.. index:: + single: __construct (Git\Tree method) + + +Git\\Tree::__construct +=========================================================== + +Description +*********************************************************** + +public **Git\\Tree::__construct** (Git\Repository *$repository*) + + +Parameters +*********************************************************** + +*repository* + Git\Repository Object + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tree/add.txt b/_sources/classes/tree/add.txt new file mode 100644 index 0000000000..b5f3f62d83 --- /dev/null +++ b/_sources/classes/tree/add.txt @@ -0,0 +1,56 @@ +.. index:: + single: add (Git\Tree method) + + +Git\\Tree::add +=========================================================== + +Description +*********************************************************** + +public **Git\\Tree::add** (string *$hash*, string *$name*, int *$mode*) + + +Parameters +*********************************************************** + +*hash* + specified object id. + +*name* + file name. + +*mode* + file attribute. + + + ======== ========================== + 100644 Regular file + 100755 Regular file & executable + 120000 Symbolic link + 40000 Directory + 160000 submodule + ======== ========================== + + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + add($hash,"README",100644); + $tree_hash = $tree->write(); + +See Also +*********************************************************** + +:doc:`Git\\Tree ` \ No newline at end of file diff --git a/_sources/classes/tree/count.txt b/_sources/classes/tree/count.txt new file mode 100644 index 0000000000..d74ecc074f --- /dev/null +++ b/_sources/classes/tree/count.txt @@ -0,0 +1,39 @@ +.. index:: + single: count (Git\Tree method) + + +Git\\Tree::count +=========================================================== + +Countable interface. + +Description +*********************************************************** + +public **Git\\Tree::count** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +int count. + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $tree = $repository->getTree($refs->getId()); + echo count($tree); // or echo $tree->count(); + +See Also +*********************************************************** + +`Countable Interface `_ (PHP Documents) \ No newline at end of file diff --git a/_sources/classes/tree/get_entries.txt b/_sources/classes/tree/get_entries.txt new file mode 100644 index 0000000000..a21b37f1fb --- /dev/null +++ b/_sources/classes/tree/get_entries.txt @@ -0,0 +1,35 @@ +.. index:: + single: getEntries (Git\Tree method) + + +Git\\Tree::getEntries +=========================================================== + +returns tree entry array. + +Description +*********************************************************** + +public **Git\\Tree::getEntries** () + + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +array Git\Tree\Entry + +Examples +*********************************************************** + +.. code-block::php + + getTree($repo->getCommit($repo->lookupRef("refs/heads/master"))); + $result = $tree->getEntries(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tree/get_entry.txt b/_sources/classes/tree/get_entry.txt new file mode 100644 index 0000000000..cc88680512 --- /dev/null +++ b/_sources/classes/tree/get_entry.txt @@ -0,0 +1,39 @@ +.. index:: + single: getEntry (Git\Tree method) + + +Git\\Tree::getEntry +=========================================================== + +returns specified tree entry. + +Description +*********************************************************** + +public **Git\\Tree::getEntry** (int *$offset* = 0) + + +Parameters +*********************************************************** + +*offset* + tree entry offset + + +Return Values +*********************************************************** + +Git\Tree\Entry + +Examples +*********************************************************** + +.. code-block::php + + getTree($repo->getCommit($repo->lookupRef("refs/heads/master"))); + $result = $tree->getEntry(0); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tree/get_id.txt b/_sources/classes/tree/get_id.txt new file mode 100644 index 0000000000..df86c57564 --- /dev/null +++ b/_sources/classes/tree/get_id.txt @@ -0,0 +1,37 @@ +.. index:: + single: getId (Git\Tree method) + + +Git\\Tree::getId +=========================================================== + +returns tree hash id. + +Description +*********************************************************** + +public **Git\\Tree::getId** () + + +Parameters +*********************************************************** + + +Return Values +*********************************************************** + +string hash id + +Examples +*********************************************************** + +.. code-block:: php + + lookupRef("refs/heads/master"); + $tree = $repository->getTree($refs->getId()); + echo $tree->getId(); + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tree/get_iterator.txt b/_sources/classes/tree/get_iterator.txt new file mode 100644 index 0000000000..e09526cfa6 --- /dev/null +++ b/_sources/classes/tree/get_iterator.txt @@ -0,0 +1,35 @@ +.. index:: + single: getIterator (Git\Tree method) + + +Git\\Tree::getIterator +=========================================================== + +IteratorAggregate interface. + +Description +*********************************************************** + +public **Git\\Tree::getIterator** () + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block::php + + getCommit($repo->lookupRef("refs/heads/master")->getId()); + $tree = $commit->getTree(); + foreach($tree->getIterator() as $entry){ + // something... + } + +See Also +*********************************************************** \ No newline at end of file diff --git a/_sources/classes/tree/get_type.txt b/_sources/classes/tree/get_type.txt new file mode 100644 index 0000000000..c824fc429b --- /dev/null +++ b/_sources/classes/tree/get_type.txt @@ -0,0 +1,29 @@ +.. index:: + single: getType (Git\Tree method) + + +Git\\Tree::getType +=========================================================== + +inherits Git\\Object. + +Description +*********************************************************** + +public **Git\\Tree::getType** () + + +Parameters +*********************************************************** + +Return Values +*********************************************************** + +Examples +*********************************************************** + +See Also +*********************************************************** + + +:doc:`Git\\Object::getType ` \ No newline at end of file diff --git a/_sources/classes/tree/index.txt b/_sources/classes/tree/index.txt new file mode 100644 index 0000000000..eeaae305aa --- /dev/null +++ b/_sources/classes/tree/index.txt @@ -0,0 +1,10 @@ +Git\\Tree +=========================== + +Git\\Tree extends Git\\Object + +.. toctree:: + :maxdepth: 1 + :glob: + + * diff --git a/_sources/classes/tree/path.txt b/_sources/classes/tree/path.txt new file mode 100644 index 0000000000..33514f1fed --- /dev/null +++ b/_sources/classes/tree/path.txt @@ -0,0 +1,46 @@ +.. index:: + single: path (Git\Tree method) + + +Git\\Tree::path +=========================================================== + +returns specified Git\Tree\Entry. + +Description +*********************************************************** + +public **Git\\Tree::path** (*$path*) + + +Parameters +*********************************************************** + +*path* + file name + + +Return Values +*********************************************************** + +:doc:`Git\\Tree\Entry ` + +Examples +*********************************************************** + +.. code-block:: php + + getTree("cd584aba22827a6a59cad3ab1b4e026418558bfb"); + $entry = $tree->path("README.md"); + + +.. note:: + + this method can't resolve recursive yet. + +See Also +*********************************************************** + +:doc:`Git\\Tree\\Entry ` \ No newline at end of file diff --git a/_sources/classes/tree/remove.txt b/_sources/classes/tree/remove.txt new file mode 100644 index 0000000000..a0ad0e3ec7 --- /dev/null +++ b/_sources/classes/tree/remove.txt @@ -0,0 +1,40 @@ +.. index:: + single: remove (Git\Tree method) + + +Git\\Tree::remove +=========================================================== + +Description +*********************************************************** + +public **Git\\Tree::remove** (string *$name*) + + +Parameters +*********************************************************** + +*name* + specified file name + +Return Values +*********************************************************** + +void + +Examples +*********************************************************** + +.. code-block:: php + + remove("README"); + $tree_hash = $tree->write(); + +See Also +*********************************************************** + +:doc:`Git\\Tree ` \ No newline at end of file diff --git a/_sources/classes/tree/write.txt b/_sources/classes/tree/write.txt new file mode 100644 index 0000000000..581e1626e2 --- /dev/null +++ b/_sources/classes/tree/write.txt @@ -0,0 +1,37 @@ +.. index:: + single: write (Git\Tree method) + + +Git\\Tree::write +=========================================================== + +Description +*********************************************************** + +public **Git\\Tree::write** () + + +Parameters +*********************************************************** + + + +Return Values +*********************************************************** + +Examples +*********************************************************** + +.. code-block:: php + + add($hash,"README",100644); + $tree_hash = $tree->write(); + +See Also +*********************************************************** + +:doc:`Git\\Object::write ` \ No newline at end of file diff --git a/_sources/constants.txt b/_sources/constants.txt new file mode 100644 index 0000000000..b113650743 --- /dev/null +++ b/_sources/constants.txt @@ -0,0 +1,18 @@ +Predefined Constants +================================================== + + +=========================== =============== +Key Value +=========================== =============== +Git\\Revwalk\\SORT_NONE 0 +Git\\Revwalk\\SORT_TOPO 1 +Git\\Revwalk\\SORT_DATE 2 +Git\\Revwalk\\SORT_REVERSE 4 +Git\\Object\\Any GIT_OBJ_ANY +Git\\Object\\Bad GIT_OBJ_BAD +Git\\Object\\Commit GIT_OBJ_COMMIT +Git\\Object\\Tree Git_OBJ_TREE +Git\\Object\\Blob Git_OBJ_BLOB +Git\\Object\\TAG Git_OBJ_TAG +=========================== =============== diff --git a/_sources/examples.txt b/_sources/examples.txt new file mode 100644 index 0000000000..ab5e9b3060 --- /dev/null +++ b/_sources/examples.txt @@ -0,0 +1,131 @@ +Examples +================================================== + +php-git examples.these example uses experimental API. + +Create new blob +++++++++++++++++++++++++++++++++++++++++++++++++++ + +.. code-block:: php + + setContent("First Object1"); + $blobHash = $blob->write(); + +:doc:`Git\Blob::setContent ` + +.. note:: + maybe this API will change next release. + +Create new Tree +++++++++++++++++++++++++++++++++++++++++++++++++++ + +.. code-block:: php + + add($hash,"README",100644); + $tree_hash = $tree->write(); + +:doc:`Git\Tree::add ` + +.. note:: + maybe this API will change next release. + + +Create new Commit +++++++++++++++++++++++++++++++++++++++++++++++++++ + +.. code-block:: php + + add($hash,"README",100644); + $tree_hash = $tree->write(); + $commit = new Git\Commit($repository); + $commit->setAuthor(new Git\Signature("Someone","someone@example.com", new DateTime("2011-01-01 00:00:00",new DateTimezone("Asia/Tokyo")))); + $commit->setCommitter(new Git\Signature("Someone","someone@example.com", new DateTime("2011-01-01 00:00:00",new DateTimezone("Asia/Tokyo")))); + $commit->setTree($tree->getId()); + // when first commit. you dont call setParent. + //$commit->setParent($last_commit->getParent()->getId()); + $commit->setMessage("initial import"); + + $master_hash = $commit->write(); + +:doc:`Git\Tree::add ` +:doc:`Git\Commit::setAuthor ` +:doc:`Git\Commit::setCommitter ` +:doc:`Git\Commit::setTree ` +:doc:`Git\Commit::setParent ` +:doc:`Git\Commit::setMessage ` + +.. note:: + php-git can't manage multiple parents now. this will fix next release. + +get master tree +++++++++++++++++++++++++++++++++++++++++++++++++++ + +.. code-block:: php + + getCommit($repository->lookupRef("refs/heads/master")); + $tree = $master_commit->getTree(); + // or $tree->getEntries() + foreach($tree->getIterator() as $entry){ + var_dump($entry); + } + +revision walking +++++++++++++++++++++++++++++++++++++++++++++++++++ + +.. code-block:: php + + getCommit($repository->lookupRef("refs/heads/master")); + $walker = $master_commit->getWalker(); + $walker->push($master_commit->getId()); + while($commit = $walker->next()){ + var_dump($commit); + } + +custom backends +++++++++++++++++++++++++++++++++++++++++++++++++++ + +see also :doc:`Git\\Repository\\addBackend ` + + +get available references +++++++++++++++++++++++++++++++++++++++++++++++++++ + +.. note:: + maybe this API will change next release. + +.. code-block:: php + + getList(); + +:doc:`Git\\Reference\\Manager ` + + +this method gets available all references.if you want gets available branches.you have to check manualy now. + +.. code-block:: php + + getList() as $ref){ + if(strpos($ref->name,"refs/heads")){ + $brandhes[] $ref; + } + } diff --git a/_sources/index.txt b/_sources/index.txt new file mode 100644 index 0000000000..5f38db3856 --- /dev/null +++ b/_sources/index.txt @@ -0,0 +1,29 @@ +.. php-git documentation master file, created by + sphinx-quickstart on Mon Jan 10 14:18:21 2011. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to php-git's documentation! +=================================== + +php-git is a set of PHP 5.3+ bindings to the libgit2 linkable C Git library. +*Important Notice* this module is EXPERIMENTAL. + +Contents: + +.. toctree:: + :maxdepth: 2 + :glob: + + intro + setup + constants + examples + classes/*/index + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`search` + diff --git a/_sources/ini.txt b/_sources/ini.txt new file mode 100644 index 0000000000..bd9c7ae300 --- /dev/null +++ b/_sources/ini.txt @@ -0,0 +1,4 @@ +Runtime Configuration +================================================== + +nothing. diff --git a/_sources/installation.txt b/_sources/installation.txt new file mode 100644 index 0000000000..cff0d07414 --- /dev/null +++ b/_sources/installation.txt @@ -0,0 +1,24 @@ +Installation +================================================== + +.. code-block:: bash + + cd /tmp + git clone https://github.com/libgit2/libgit2 libgit2 + git clone https://github.com/libgit2/php-git php-git + cd libgit2 + git checkout `cat ../php-git/LIBGIT2_VERSION` + ./waf configure + ./waf build-shared + sudo ./waf install-shared + + cd ../php-git/src + phpize + ./configure && make + sudo make install + # add your php.ini + # extension=git.so + +.. note:: + php-git still under development status. + should not use production environment. \ No newline at end of file diff --git a/_sources/intro.txt b/_sources/intro.txt new file mode 100644 index 0000000000..38266b261f --- /dev/null +++ b/_sources/intro.txt @@ -0,0 +1,6 @@ +Introduction +================================================== + +Git module provides handy procedural and object oriented interface to libgit2. + +More information about libgit2 can be found at https://github.com/libgit2/libgit2 diff --git a/_sources/requirements.txt b/_sources/requirements.txt new file mode 100644 index 0000000000..2800ddd9da --- /dev/null +++ b/_sources/requirements.txt @@ -0,0 +1,7 @@ +Requirements +================================================== + +- `libgit2 `_ +- php5.3 higher +- php-devel +- pcre-devel diff --git a/_sources/resources.txt b/_sources/resources.txt new file mode 100644 index 0000000000..58b707d4de --- /dev/null +++ b/_sources/resources.txt @@ -0,0 +1,4 @@ +Resources +================================================== + +nothing diff --git a/_sources/setup.txt b/_sources/setup.txt new file mode 100644 index 0000000000..b92277ba65 --- /dev/null +++ b/_sources/setup.txt @@ -0,0 +1,12 @@ +Installing/Configuring +================================================== + +Table of Contents: + +.. toctree:: + :maxdepth: 2 + + requirements + installation + ini + resources diff --git a/_static/ajax-loader.gif b/_static/ajax-loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..61faf8cab23993bd3e1560bff0668bd628642330 GIT binary patch literal 673 zcmZ?wbhEHb6krfw_{6~Q|Nno%(3)e{?)x>&1u}A`t?OF7Z|1gRivOgXi&7IyQd1Pl zGfOfQ60;I3a`F>X^fL3(@);C=vM_KlFfb_o=k{|A33hf2a5d61U}gjg=>Rd%XaNQW zW@Cw{|b%Y*pl8F?4B9 zlo4Fz*0kZGJabY|>}Okf0}CCg{u4`zEPY^pV?j2@h+|igy0+Kz6p;@SpM4s6)XEMg z#3Y4GX>Hjlml5ftdH$4x0JGdn8~MX(U~_^d!Hi)=HU{V%g+mi8#UGbE-*ao8f#h+S z2a0-5+vc7MU$e-NhmBjLIC1v|)9+Im8x1yacJ7{^tLX(ZhYi^rpmXm0`@ku9b53aN zEXH@Y3JaztblgpxbJt{AtE1ad1Ca>{v$rwwvK(>{m~Gf_=-Ro7Fk{#;i~+{{>QtvI yb2P8Zac~?~=sRA>$6{!(^3;ZP0TPFR(G_-UDU(8Jl0?(IXu$~#4A!880|o%~Al1tN literal 0 HcmV?d00001 diff --git a/_static/basic.css b/_static/basic.css new file mode 100644 index 0000000000..4b875f8e00 --- /dev/null +++ b/_static/basic.css @@ -0,0 +1,528 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +img { + border: 0; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li div.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable dl, table.indextable dd { + margin-top: 0; + margin-bottom: 0; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- general body styles --------------------------------------------------- */ + +a.headerlink { + visibility: hidden; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.field-list ul { + padding-left: 1em; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + clear: both; + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px 7px 0 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +div.admonition dl { + margin-bottom: 0; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + border: 0; + border-collapse: collapse; +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.field-list td, table.field-list th { + border: 0 !important; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +dl { + margin-bottom: 15px; +} + +dd p { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dt:target, .highlighted { + background-color: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.refcount { + color: #060; +} + +.optional { + font-size: 1.3em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + margin-left: 0.5em; +} + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; +} + +tt.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; +} + +tt.descclassname { + background-color: transparent; +} + +tt.xref, a tt { + background-color: transparent; + font-weight: bold; +} + +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/_static/comment-bright.png b/_static/comment-bright.png new file mode 100644 index 0000000000000000000000000000000000000000..551517b8c83b76f734ff791f847829a760ad1903 GIT binary patch literal 3500 zcmV;d4O8-oP)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso6vH!8a<3Q zq36)6Xb;+tK10Vaz~~qUGsJ8#F2=(`u{bOVlVi)VBCHIn#u~6ztOL7=^<&SmcLWlF zMZgI*1b0FpVIDz9SWH+>*hr`#93(Um+6gxa1B6k+CnA%mOSC4s5&6UzVlpv@SV$}* z))J2sFA#f(L&P^E5{W}HC%KRUNwK6<(h|}}(r!{C=`5+6G)NjFlgZj-YqAG9lq?`C z$c5yc>d>VnA`E_*3F2Qp##d8RZb=H01_mm@+|Cqnc9PsG(F5HIG_C zt)aG3uTh7n6Et<2In9F>NlT@zqLtGcXcuVrX|L#Xx)I%#9!{6gSJKPrN9dR61N3(c z4Tcqi$B1Vr8Jidf7-t!G7_XR2rWwr)$3XQ?}=hpK0&Z&W{| zep&sA23f;Q!%st`QJ}G3cbou<7-yIK2z4nfCCCtN2-XOGSWo##{8Q{ATurxr~;I`ytDs%xbip}RzP zziy}Qn4Z2~fSycmr`~zJ=lUFdFa1>gZThG6M+{g7vkW8#+YHVaJjFF}Z#*3@$J_By zLtVo_L#1JrVVB{Ak-5=4qt!-@Mh}c>#$4kh<88)m#-k<%CLtzEP3leVno>={htGUuD;o7bD)w_sX$S}eAxwzy?UvgBH(S?;#HZiQMoS*2K2 zT3xe7t(~nU*1N5{rxB;QPLocnp4Ml>u<^FZwyC!nu;thW+pe~4wtZn|Vi#w(#jeBd zlf9FDx_yoPJqHbk*$%56S{;6Kv~mM9!g3B(KJ}#RZ#@)!hR|78Dq|Iq-afF%KE1Brn_fm;Im z_u$xr8UFki1L{Ox>G0o)(&RAZ;=|I=wN2l97;cLaHH6leTB-XXa*h%dBOEvi`+x zi?=Txl?TadvyiL>SuF~-LZ;|cS}4~l2eM~nS7yJ>iOM;atDY;(?aZ^v+mJV$@1Ote z62cPUlD4IWOIIx&SmwQ~YB{nzae3Pc;}r!fhE@iwJh+OsDs9zItL;~pu715HdQEGA zUct(O!LkCy1<%NCg+}G`0PgpNm-?d@-hMgNe6^V+j6x$b<6@S<$+<4_1hi}Ti zncS4LsjI}fWY1>OX6feMEuLErma3QLmkw?X+1j)X-&VBk_4Y;EFPF_I+q;9dL%E~B zJh;4Nr^(LEJ3myURP{Rblsw%57T)g973R8o)DE9*xN#~;4_o$q%o z4K@u`jhx2fBXC4{U8Qn{*%*B$Ge=nny$HAYq{=vy|sI0 z_vss+H_qMky?OB#|JK!>IX&II^LlUh#rO5!7TtbwC;iULyV-Xq?ybB}ykGP{?LpZ? z-G|jbTmIbG@7#ZCz;~eY(cDM(28Dyq{*m>M4?_iynUBkc4TkHUI6gT!;y-fz>HMcd z&t%Ugo)`Y2{>!cx7B7DI)$7;J(U{Spm-3gBzioV_{p!H$8L!*M!p0uH$#^p{Ui4P` z?ZJ24cOCDe-w#jZd?0@)|7iKK^;6KN`;!@ylm7$*nDhK&GcDTy000JJOGiWi{{a60 z|De66lK=n!32;bRa{vGf6951U69E94oEQKA00(qQO+^RV2niQ93PPz|JOBU!-bqA3 zR5;6pl1pe^WfX zkSdl!omi0~*ntl;2q{jA^;J@WT8O!=A(Gck8fa>hn{#u{`Tyg)!KXI6l>4dj==iVKK6+%4zaRizy(5eryC3d2 z+5Y_D$4}k5v2=Siw{=O)SWY2HJwR3xX1*M*9G^XQ*TCNXF$Vj(kbMJXK0DaS_Sa^1 z?CEa!cFWDhcwxy%a?i@DN|G6-M#uuWU>lss@I>;$xmQ|`u3f;MQ|pYuHxxvMeq4TW;>|7Z2*AsqT=`-1O~nTm6O&pNEK?^cf9CX= zkq5|qAoE7un3V z^yy=@%6zqN^x`#qW+;e7j>th{6GV}sf*}g7{(R#T)yg-AZh0C&U;WA`AL$qz8()5^ zGFi2`g&L7!c?x+A2oOaG0c*Bg&YZt8cJ{jq_W{uTdA-<;`@iP$$=$H?gYIYc_q^*$ z#k(Key`d40R3?+GmgK8hHJcwiQ~r4By@w9*PuzR>x3#(F?YW_W5pPc(t(@-Y{psOt zz2!UE_5S)bLF)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso6vH!8a<3Q zq36)6Xb;+tK10Vaz~~qUGsJ8#F2=(`u{bOVlVi)VBCHIn#u~6ztOL7=^<&SmcLWlF zMZgI*1b0FpVIDz9SWH+>*hr`#93(Um+6gxa1B6k+CnA%mOSC4s5&6UzVlpv@SV$}* z))J2sFA#f(L&P^E5{W}HC%KRUNwK6<(h|}}(r!{C=`5+6G)NjFlgZj-YqAG9lq?`C z$c5yc>d>VnA`E_*3F2Qp##d8RZb=H01_mm@+|Cqnc9PsG(F5HIG_C zt)aG3uTh7n6Et<2In9F>NlT@zqLtGcXcuVrX|L#Xx)I%#9!{6gSJKPrN9dR61N3(c z4Tcqi$B1Vr8Jidf7-t!G7_XR2rWwr)$3XQ?}=hpK0&Z&W{| zep&sA23f;Q!%st`QJ}G3cbou<7-yIK2z4nfCCCtN2-XOGSWo##{8Q{ATurxr~;I`ytDs%xbip}RzP zziy}Qn4Z2~fSycmr`~zJ=lUFdFa1>gZThG6M+{g7vkW8#+YHVaJjFF}Z#*3@$J_By zLtVo_L#1JrVVB{Ak-5=4qt!-@Mh}c>#$4kh<88)m#-k<%CLtzEP3leVno>={htGUuD;o7bD)w_sX$S}eAxwzy?UvgBH(S?;#HZiQMoS*2K2 zT3xe7t(~nU*1N5{rxB;QPLocnp4Ml>u<^FZwyC!nu;thW+pe~4wtZn|Vi#w(#jeBd zlf9FDx_yoPJqHbk*$%56S{;6Kv~mM9!g3B(KJ}#RZ#@)!hR|78Dq|Iq-afF%KE1Brn_fm;Im z_u$xr8UFki1L{Ox>G0o)(&RAZ;=|I=wN2l97;cLaHH6leTB-XXa*h%dBOEvi`+x zi?=Txl?TadvyiL>SuF~-LZ;|cS}4~l2eM~nS7yJ>iOM;atDY;(?aZ^v+mJV$@1Ote z62cPUlD4IWOIIx&SmwQ~YB{nzae3Pc;}r!fhE@iwJh+OsDs9zItL;~pu715HdQEGA zUct(O!LkCy1<%NCg+}G`0PgpNm-?d@-hMgNe6^V+j6x$b<6@S<$+<4_1hi}Ti zncS4LsjI}fWY1>OX6feMEuLErma3QLmkw?X+1j)X-&VBk_4Y;EFPF_I+q;9dL%E~B zJh;4Nr^(LEJ3myURP{Rblsw%57T)g973R8o)DE9*xN#~;4_o$q%o z4K@u`jhx2fBXC4{U8Qn{*%*B$Ge=nny$HAYq{=vy|sI0 z_vss+H_qMky?OB#|JK!>IX&II^LlUh#rO5!7TtbwC;iULyV-Xq?ybB}ykGP{?LpZ? z-G|jbTmIbG@7#ZCz;~eY(cDM(28Dyq{*m>M4?_iynUBkc4TkHUI6gT!;y-fz>HMcd z&t%Ugo)`Y2{>!cx7B7DI)$7;J(U{Spm-3gBzioV_{p!H$8L!*M!p0uH$#^p{Ui4P` z?ZJ24cOCDe-w#jZd?0@)|7iKK^;6KN`;!@ylm7$*nDhK&GcDTy000JJOGiWi{{a60 z|De66lK=n!32;bRa{vGf6951U69E94oEQKA00(qQO+^RV2oe()A>y0J-2easEJ;K` zR5;6Jl3z%jbr{D#&+mQTbB>-f&3W<<%ayjKi&ZjBc2N<@)`~{dMXWB0(ajbV85_gJ zf(EU`iek}4Bt%55ix|sVMm1u8KvB#hnmU~_r<Ogd(A5vg_omvd-#L!=(BMVklxVqhdT zofSj`QA^|)G*lu58>#vhvA)%0Or&dIsb%b)st*LV8`ANnOipDbh%_*c7`d6# z21*z~Xd?ovgf>zq(o0?Et~9ti+pljZC~#_KvJhA>u91WRaq|uqBBKP6V0?p-NL59w zrK0w($_m#SDPQ!Z$nhd^JO|f+7k5xca94d2OLJ&sSxlB7F%NtrF@@O7WWlkHSDtor zzD?u;b&KN$*MnHx;JDy9P~G<{4}9__s&MATBV4R+MuA8TjlZ3ye&qZMCUe8ihBnHI zhMSu zSERHwrmBb$SWVr+)Yk2k^FgTMR6mP;@FY2{}BeV|SUo=mNk<-XSOHNErw>s{^rR-bu$@aN7= zj~-qXcS2!BA*(Q**BOOl{FggkyHdCJi_Fy>?_K+G+DYwIn8`29DYPg&s4$}7D`fv? zuyJ2sMfJX(I^yrf6u!(~9anf(AqAk&ke}uL0SIb-H!SaDQvd(}07*qoM6N<$g1Ha7 A2LJ#7 literal 0 HcmV?d00001 diff --git a/_static/comment.png b/_static/comment.png new file mode 100644 index 0000000000000000000000000000000000000000..92feb52b8824c6b0f59b658b1196c61de9162a95 GIT binary patch literal 3445 zcmV-*4T|!KP)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso6vH!8a<3Q zq36)6Xb;+tK10Vaz~~qUGsJ8#F2=(`u{bOVlVi)VBCHIn#u~6ztOL7=^<&SmcLWlF zMZgI*1b0FpVIDz9SWH+>*hr`#93(Um+6gxa1B6k+CnA%mOSC4s5&6UzVlpv@SV$}* z))J2sFA#f(L&P^E5{W}HC%KRUNwK6<(h|}}(r!{C=`5+6G)NjFlgZj-YqAG9lq?`C z$c5yc>d>VnA`E_*3F2Qp##d8RZb=H01_mm@+|Cqnc9PsG(F5HIG_C zt)aG3uTh7n6Et<2In9F>NlT@zqLtGcXcuVrX|L#Xx)I%#9!{6gSJKPrN9dR61N3(c z4Tcqi$B1Vr8Jidf7-t!G7_XR2rWwr)$3XQ?}=hpK0&Z&W{| zep&sA23f;Q!%st`QJ}G3cbou<7-yIK2z4nfCCCtN2-XOGSWo##{8Q{ATurxr~;I`ytDs%xbip}RzP zziy}Qn4Z2~fSycmr`~zJ=lUFdFa1>gZThG6M+{g7vkW8#+YHVaJjFF}Z#*3@$J_By zLtVo_L#1JrVVB{Ak-5=4qt!-@Mh}c>#$4kh<88)m#-k<%CLtzEP3leVno>={htGUuD;o7bD)w_sX$S}eAxwzy?UvgBH(S?;#HZiQMoS*2K2 zT3xe7t(~nU*1N5{rxB;QPLocnp4Ml>u<^FZwyC!nu;thW+pe~4wtZn|Vi#w(#jeBd zlf9FDx_yoPJqHbk*$%56S{;6Kv~mM9!g3B(KJ}#RZ#@)!hR|78Dq|Iq-afF%KE1Brn_fm;Im z_u$xr8UFki1L{Ox>G0o)(&RAZ;=|I=wN2l97;cLaHH6leTB-XXa*h%dBOEvi`+x zi?=Txl?TadvyiL>SuF~-LZ;|cS}4~l2eM~nS7yJ>iOM;atDY;(?aZ^v+mJV$@1Ote z62cPUlD4IWOIIx&SmwQ~YB{nzae3Pc;}r!fhE@iwJh+OsDs9zItL;~pu715HdQEGA zUct(O!LkCy1<%NCg+}G`0PgpNm-?d@-hMgNe6^V+j6x$b<6@S<$+<4_1hi}Ti zncS4LsjI}fWY1>OX6feMEuLErma3QLmkw?X+1j)X-&VBk_4Y;EFPF_I+q;9dL%E~B zJh;4Nr^(LEJ3myURP{Rblsw%57T)g973R8o)DE9*xN#~;4_o$q%o z4K@u`jhx2fBXC4{U8Qn{*%*B$Ge=nny$HAYq{=vy|sI0 z_vss+H_qMky?OB#|JK!>IX&II^LlUh#rO5!7TtbwC;iULyV-Xq?ybB}ykGP{?LpZ? z-G|jbTmIbG@7#ZCz;~eY(cDM(28Dyq{*m>M4?_iynUBkc4TkHUI6gT!;y-fz>HMcd z&t%Ugo)`Y2{>!cx7B7DI)$7;J(U{Spm-3gBzioV_{p!H$8L!*M!p0uH$#^p{Ui4P` z?ZJ24cOCDe-w#jZd?0@)|7iKK^;6KN`;!@ylm7$*nDhK&GcDTy000JJOGiWi{{a60 z|De66lK=n!32;bRa{vGf6951U69E94oEQKA00(qQO+^RV2nzr)JMUJvzW@LNr%6OX zR5;6Zk;`k`RTRfR-*ac2G}PGmXsUu>6ce?Lsn$m^3Q`48f|TwQ+_-Qh=t8Ra7nE)y zf@08(pjZ@22^EVjG*%30TJRMkBUC$WqZ73uoiv&J=APqX;!v%AH}`Vx`999MVjXwy z{f1-vh8P<=plv&cZ>p5jjX~Vt&W0e)wpw1RFRuRdDkwlKb01tp5 zP=trFN0gH^|L4jJkB{6sCV;Q!ewpg-D&4cza%GQ*b>R*=34#dW;ek`FEiB(vnw+U# zpOX5UMJBhIN&;D1!yQoIAySC!9zqJmmfoJqmQp}p&h*HTfMh~u9rKic2oz3sNM^#F zBIq*MRLbsMt%y{EHj8}LeqUUvoxf0=kqji62>ne+U`d#%J)abyK&Y`=eD%oA!36<)baZyK zXJh5im6umkS|_CSGXips$nI)oBHXojzBzyY_M5K*uvb0_9viuBVyV%5VtJ*Am1ag# zczbv4B?u8j68iOz<+)nDu^oWnL+$_G{PZOCcOGQ?!1VCefves~rfpaEZs-PdVYMiV z98ElaJ2}7f;htSXFY#Zv?__sQeckE^HV{ItO=)2hMQs=(_ Xn!ZpXD%P(H00000NkvXXu0mjf;VkfoEM{Qf z76xHPhFNnYfP(BLp1!W^HyC+E#mt?nx10eANtU=qlsM<-=BDPAFgO>bCYGe8D3oWG zWGJ|M`UZqI@`(c#nR~i8hHzY8+H1+jpulh_>fir3VfEN66+L= 0 && !jQuery(node.parentNode).hasClass(className)) { + var span = document.createElement("span"); + span.className = className; + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this); + }); + } + } + return this.each(function() { + highlight(this); + }); +}; + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated == 'undefined') + return string; + return (typeof translated == 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated == 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('\u00B6'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('') + .appendTo($('.sidebar .this-page-menu')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) == 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('.sidebar .this-page-menu li.highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this == '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); diff --git a/_static/down-pressed.png b/_static/down-pressed.png new file mode 100644 index 0000000000000000000000000000000000000000..6f7ad782782e4f8e39b0c6e15c7344700cdd2527 GIT binary patch literal 368 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*yM+OLB!qm#z$3ZNi+iKnkC`z>}Z23@f-Ava~9&<9T!#}JFtXD=!G zGdl{fK6ro2OGiOl+hKvH6i=D3%%Y^j`yIkRn!8O>@bG)IQR0{Kf+mxNd=_WScA8u_ z3;8(7x2){m9`nt+U(Nab&1G)!{`SPVpDX$w8McLTzAJ39wprG3p4XLq$06M`%}2Yk zRPPsbES*dnYm1wkGL;iioAUB*Or2kz6(-M_r_#Me-`{mj$Z%( literal 0 HcmV?d00001 diff --git a/_static/down.png b/_static/down.png new file mode 100644 index 0000000000000000000000000000000000000000..3003a88770de3977d47a2ba69893436a2860f9e7 GIT binary patch literal 363 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6U4S$Y z{B+)352QE?JR*yM+OLB!qm#z$3ZNi+iKnkC`z>}xaV3tUZ$qnrLa#kt978NlpS`ru z&)HFc^}^>{UOEce+71h5nn>6&w6A!ieNbu1wh)UGh{8~et^#oZ1# z>T7oM=FZ~xXWnTo{qnXm$ZLOlqGswI_m2{XwVK)IJmBjW{J3-B3x@C=M{ShWt#fYS9M?R;8K$~YwlIqwf>VA7q=YKcwf2DS4Zj5inDKXXB1zl=(YO3ST6~rDq)&z z*o>z)=hxrfG-cDBW0G$!?6{M<$@{_4{m1o%Ub!naEtn|@^frU1tDnm{r-UW|!^@B8 literal 0 HcmV?d00001 diff --git a/_static/file.png b/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..d18082e397e7e54f20721af768c4c2983258f1b4 GIT binary patch literal 392 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP$HyOL$D9)yc9|lc|nKf<9@eUiWd>3GuTC!a5vdfWYEazjncPj5ZQX%+1 zt8B*4=d)!cdDz4wr^#OMYfqGz$1LDFF>|#>*O?AGil(WEs?wLLy{Gj2J_@opDm%`dlax3yA*@*N$G&*ukFv>P8+2CBWO(qz zD0k1@kN>hhb1_6`&wrCswzINE(evt-5C1B^STi2@PmdKI;Vst0PQB6!2kdN literal 0 HcmV?d00001 diff --git a/_static/jquery.js b/_static/jquery.js new file mode 100644 index 0000000000..7c24308023 --- /dev/null +++ b/_static/jquery.js @@ -0,0 +1,154 @@ +/*! + * jQuery JavaScript Library v1.4.2 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Sat Feb 13 22:33:48 2010 -0500 + */ +(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, +Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& +(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, +a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== +"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, +function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b
a"; +var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, +parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= +false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= +s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true, +applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando]; +else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this, +a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b=== +w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i, +cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected= +c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); +a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g, +function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split("."); +k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a), +C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B=0){a.type= +e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&& +f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive; +if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data", +e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a, +"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a, +d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, +e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); +t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| +g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, +CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, +g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, +text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, +setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return hl[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= +h[3];l=0;for(m=h.length;l=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== +"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, +h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& +q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML=""; +if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="

";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); +(function(){var g=s.createElement("div");g.innerHTML="
";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: +function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j= +{},i;if(f&&a.length){e=0;for(var o=a.length;e-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a=== +"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode", +d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")? +a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType=== +1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/"},F={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= +c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, +wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, +prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, +this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); +return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, +""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); +return this}else{e=0;for(var j=d.length;e0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", +""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]===""&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= +c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? +c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= +function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= +Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, +"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= +a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= +a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=//gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!== +"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("
").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this}, +serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), +function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href, +global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&& +e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)? +"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache=== +false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B= +false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since", +c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E|| +d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x); +g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status=== +1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b=== +"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional; +if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration=== +"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]|| +c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start; +this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now= +this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem, +e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b
"; +a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b); +c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a, +d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top- +f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset": +"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in +e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window); diff --git a/_static/minus.png b/_static/minus.png new file mode 100644 index 0000000000000000000000000000000000000000..da1c5620d10c047525a467a425abe9ff5269cfc2 GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^+#t-s1SHkYJtzcHoCO|{#XvD(5N2eUHAey{$X?>< z>&kweokM_|(Po{+Q=kw>iEBiObAE1aYF-J$w=>iB1I2R$WLpMkF=>bh=@O1TaS?83{1OVknKU}oXkrghqJ&VvY3H^ zTNs2H8D`Cq01C2~c>21s-(chw7$R|bZ|_0D0|q>YSbqDzW^|HYIk%*-&O)*< z>&kweokM`jkU7Va11Q8%;u=xnoS&PUnpeW`?aZ|OK(QcC7sn8Z%gHvy&v=;Q4jejg zV8NnAO`-4Z@2~&zopr02WF_WB>pF literal 0 HcmV?d00001 diff --git a/_static/pygments.css b/_static/pygments.css new file mode 100644 index 0000000000..1a14f2ae1a --- /dev/null +++ b/_static/pygments.css @@ -0,0 +1,62 @@ +.highlight .hll { background-color: #ffffcc } +.highlight { background: #eeffcc; } +.highlight .c { color: #408090; font-style: italic } /* Comment */ +.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .k { color: #007020; font-weight: bold } /* Keyword */ +.highlight .o { color: #666666 } /* Operator */ +.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #007020 } /* Comment.Preproc */ +.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ +.highlight .gd { color: #A00000 } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000 } /* Generic.Inserted */ +.highlight .go { color: #303030 } /* Generic.Output */ +.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #0040D0 } /* Generic.Traceback */ +.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #007020 } /* Keyword.Pseudo */ +.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #902000 } /* Keyword.Type */ +.highlight .m { color: #208050 } /* Literal.Number */ +.highlight .s { color: #4070a0 } /* Literal.String */ +.highlight .na { color: #4070a0 } /* Name.Attribute */ +.highlight .nb { color: #007020 } /* Name.Builtin */ +.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ +.highlight .no { color: #60add5 } /* Name.Constant */ +.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #007020 } /* Name.Exception */ +.highlight .nf { color: #06287e } /* Name.Function */ +.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ +.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ +.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #bb60d5 } /* Name.Variable */ +.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mf { color: #208050 } /* Literal.Number.Float */ +.highlight .mh { color: #208050 } /* Literal.Number.Hex */ +.highlight .mi { color: #208050 } /* Literal.Number.Integer */ +.highlight .mo { color: #208050 } /* Literal.Number.Oct */ +.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ +.highlight .sc { color: #4070a0 } /* Literal.String.Char */ +.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ +.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ +.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ +.highlight .sx { color: #c65d09 } /* Literal.String.Other */ +.highlight .sr { color: #235388 } /* Literal.String.Regex */ +.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ +.highlight .ss { color: #517918 } /* Literal.String.Symbol */ +.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ +.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ +.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ +.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/_static/searchtools.js b/_static/searchtools.js new file mode 100644 index 0000000000..cac3493a9d --- /dev/null +++ b/_static/searchtools.js @@ -0,0 +1,556 @@ +/* + * searchtools.js_t + * ~~~~~~~~~~~~~~~~ + * + * Sphinx JavaScript utilties for the full-text search. + * + * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words, hlwords is the list of normal, unstemmed + * words. the first one is used to find the occurance, the + * latter for highlighting it. + */ + +jQuery.makeSearchSummary = function(text, keywords, hlwords) { + var textLower = text.toLowerCase(); + var start = 0; + $.each(keywords, function() { + var i = textLower.indexOf(this.toLowerCase()); + if (i > -1) + start = i; + }); + start = Math.max(start - 120, 0); + var excerpt = ((start > 0) ? '...' : '') + + $.trim(text.substr(start, 240)) + + ((start + 240 - text.length) ? '...' : ''); + var rv = $('
').text(excerpt); + $.each(hlwords, function() { + rv = rv.highlightText(this, 'highlighted'); + }); + return rv; +} + + +/** + * Porter Stemmer + */ +var Stemmer = function() { + + var step2list = { + ational: 'ate', + tional: 'tion', + enci: 'ence', + anci: 'ance', + izer: 'ize', + bli: 'ble', + alli: 'al', + entli: 'ent', + eli: 'e', + ousli: 'ous', + ization: 'ize', + ation: 'ate', + ator: 'ate', + alism: 'al', + iveness: 'ive', + fulness: 'ful', + ousness: 'ous', + aliti: 'al', + iviti: 'ive', + biliti: 'ble', + logi: 'log' + }; + + var step3list = { + icate: 'ic', + ative: '', + alize: 'al', + iciti: 'ic', + ical: 'ic', + ful: '', + ness: '' + }; + + var c = "[^aeiou]"; // consonant + var v = "[aeiouy]"; // vowel + var C = c + "[^aeiouy]*"; // consonant sequence + var V = v + "[aeiou]*"; // vowel sequence + + var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 + var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 + var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 + var s_v = "^(" + C + ")?" + v; // vowel in stem + + this.stemWord = function (w) { + var stem; + var suffix; + var firstch; + var origword = w; + + if (w.length < 3) + return w; + + var re; + var re2; + var re3; + var re4; + + firstch = w.substr(0,1); + if (firstch == "y") + w = firstch.toUpperCase() + w.substr(1); + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) + w = w.replace(re,"$1$2"); + else if (re2.test(w)) + w = w.replace(re2,"$1$2"); + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) + w = w + "e"; + else if (re3.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + else if (re4.test(w)) + w = w + "e"; + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step2list[suffix]; + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step3list[suffix]; + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) + w = stem; + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) + w = stem; + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) + w = stem; + } + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + if (firstch == "y") + w = firstch.toLowerCase() + w.substr(1); + return w; + } +} + + +/** + * Search Module + */ +var Search = { + + _index : null, + _queued_query : null, + _pulse_status : -1, + + init : function() { + var params = $.getQueryParameters(); + if (params.q) { + var query = params.q[0]; + $('input[name="q"]')[0].value = query; + this.performSearch(query); + } + }, + + loadIndex : function(url) { + $.ajax({type: "GET", url: url, data: null, success: null, + dataType: "script", cache: true}); + }, + + setIndex : function(index) { + var q; + this._index = index; + if ((q = this._queued_query) !== null) { + this._queued_query = null; + Search.query(q); + } + }, + + hasIndex : function() { + return this._index !== null; + }, + + deferQuery : function(query) { + this._queued_query = query; + }, + + stopPulse : function() { + this._pulse_status = 0; + }, + + startPulse : function() { + if (this._pulse_status >= 0) + return; + function pulse() { + Search._pulse_status = (Search._pulse_status + 1) % 4; + var dotString = ''; + for (var i = 0; i < Search._pulse_status; i++) + dotString += '.'; + Search.dots.text(dotString); + if (Search._pulse_status > -1) + window.setTimeout(pulse, 500); + }; + pulse(); + }, + + /** + * perform a search for something + */ + performSearch : function(query) { + // create the required interface elements + this.out = $('#search-results'); + this.title = $('

' + _('Searching') + '

').appendTo(this.out); + this.dots = $('').appendTo(this.title); + this.status = $('

').appendTo(this.out); + this.output = $('