summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2016-03-09 10:09:11 -0800
committerNikolaus Rath <Nikolaus@rath.org>2016-03-09 10:09:11 -0800
commit347f05d4ab3ac1d7ce1db9599278f6533477acf5 (patch)
tree9f62d5769996d0cfa574fbcff6df20425cc2e531 /doc
parent8f568f6678cf1520b608cd587513399e026b881f (diff)
Import s3ql_2.5.orig.tar.bz2
Diffstat (limited to 'doc')
-rw-r--r--doc/html/.buildinfo4
-rw-r--r--doc/html/_sources/adm.txt2
-rw-r--r--doc/html/_sources/backends.txt91
-rw-r--r--doc/html/_sources/fsck.txt2
-rw-r--r--doc/html/_sources/installation.txt115
-rw-r--r--doc/html/_sources/issues.txt17
-rw-r--r--doc/html/_sources/man/adm.txt2
-rw-r--r--doc/html/_sources/man/cp.txt2
-rw-r--r--doc/html/_sources/man/ctrl.txt2
-rw-r--r--doc/html/_sources/man/expire_backups.txt2
-rw-r--r--doc/html/_sources/man/fsck.txt2
-rw-r--r--doc/html/_sources/man/lock.txt2
-rw-r--r--doc/html/_sources/man/mkfs.txt2
-rw-r--r--doc/html/_sources/man/mount.txt2
-rw-r--r--doc/html/_sources/man/pcp.txt2
-rw-r--r--doc/html/_sources/man/rm.txt2
-rw-r--r--doc/html/_sources/man/stat.txt2
-rw-r--r--doc/html/_sources/man/umount.txt2
-rw-r--r--doc/html/_sources/mkfs.txt2
-rw-r--r--doc/html/_sources/mount.txt4
-rw-r--r--doc/html/_sources/umount.txt2
-rw-r--r--doc/html/_static/basic.css2
-rw-r--r--doc/html/_static/doctools.js16
-rw-r--r--doc/html/_static/jquery.js9408
-rw-r--r--doc/html/_static/pygments.css80
-rw-r--r--doc/html/_static/searchtools.js358
-rw-r--r--doc/html/_static/underscore.js838
-rw-r--r--doc/html/_static/websupport.js2
-rw-r--r--doc/html/about.html18
-rw-r--r--doc/html/adm.html38
-rw-r--r--doc/html/authinfo.html18
-rw-r--r--doc/html/backends.html97
-rw-r--r--doc/html/contrib.html18
-rw-r--r--doc/html/durability.html18
-rw-r--r--doc/html/fsck.html36
-rw-r--r--doc/html/impl_details.html18
-rw-r--r--doc/html/index.html21
-rw-r--r--doc/html/installation.html121
-rw-r--r--doc/html/issues.html35
-rw-r--r--doc/html/man/adm.html36
-rw-r--r--doc/html/man/cp.html16
-rw-r--r--doc/html/man/ctrl.html16
-rw-r--r--doc/html/man/expire_backups.html16
-rw-r--r--doc/html/man/fsck.html34
-rw-r--r--doc/html/man/index.html16
-rw-r--r--doc/html/man/lock.html16
-rw-r--r--doc/html/man/mkfs.html30
-rw-r--r--doc/html/man/mount.html40
-rw-r--r--doc/html/man/pcp.html16
-rw-r--r--doc/html/man/rm.html16
-rw-r--r--doc/html/man/stat.html16
-rw-r--r--doc/html/man/umount.html16
-rw-r--r--doc/html/mkfs.html32
-rw-r--r--doc/html/mount.html44
-rw-r--r--doc/html/objects.invbin574 -> 578 bytes
-rw-r--r--doc/html/resources.html18
-rw-r--r--doc/html/search.html20
-rw-r--r--doc/html/searchindex.js2
-rw-r--r--doc/html/special.html18
-rw-r--r--doc/html/tips.html18
-rw-r--r--doc/html/umount.html18
-rw-r--r--doc/latex/Makefile4
-rw-r--r--doc/latex/manual.aux617
-rw-r--r--doc/latex/manual.log241
-rw-r--r--doc/latex/manual.out129
-rw-r--r--doc/latex/manual.tex603
-rw-r--r--doc/latex/manual.toc263
-rw-r--r--doc/latex/sphinx.sty94
-rw-r--r--doc/latex/sphinxhowto.cls14
-rw-r--r--doc/latex/sphinxmanual.cls16
-rw-r--r--doc/man/fsck.s3ql.128
-rw-r--r--doc/man/mkfs.s3ql.124
-rw-r--r--doc/man/mount.s3ql.134
-rw-r--r--doc/man/s3qladm.130
-rw-r--r--doc/man/s3qlcp.111
-rw-r--r--doc/man/s3qlctrl.119
-rw-r--r--doc/man/s3qllock.111
-rw-r--r--doc/man/s3qlrm.111
-rw-r--r--doc/man/s3qlstat.111
-rw-r--r--doc/man/umount.s3ql.111
-rw-r--r--doc/manual.pdfbin227074 -> 239002 bytes
81 files changed, 2115 insertions, 11915 deletions
diff --git a/doc/html/.buildinfo b/doc/html/.buildinfo
index ac0c680..55e3505 100644
--- a/doc/html/.buildinfo
+++ b/doc/html/.buildinfo
@@ -1,4 +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: b7714bedf2d2c6dd85b1b6e7496b7622
-tags: fbb0d17656682115ca4d033fb2f83ba1
+config: e559d385840c24b75993b0e5b1699c50
+tags: a205e9ed8462ae86fdd2f73488852ba9
diff --git a/doc/html/_sources/adm.txt b/doc/html/_sources/adm.txt
index 306ce7b..811eb0d 100644
--- a/doc/html/_sources/adm.txt
+++ b/doc/html/_sources/adm.txt
@@ -18,7 +18,7 @@ where :var:`action` may be either of :program:`passphrase`,
The :program:`s3qladm` accepts the following general options, no
matter what specific action is being invoked:
-.. pipeinclude:: ../bin/s3qladm --help
+.. pipeinclude:: python ../bin/s3qladm --help
:start-after: show this help message and exit
diff --git a/doc/html/_sources/backends.txt b/doc/html/_sources/backends.txt
index 562385f..f6e33d5 100644
--- a/doc/html/_sources/backends.txt
+++ b/doc/html/_sources/backends.txt
@@ -57,7 +57,7 @@ that will hold the S3QL file system, e.g. using the `AWS Management
Console <https://console.aws.amazon.com/s3/home>`_. For best
performance, it is recommend to create the bucket in the
geographically closest storage region, but not the US Standard region
-(see below).
+(see :ref:`durability` for the reason).
The storage URL for accessing S3 buckets in S3QL has the form ::
@@ -105,38 +105,47 @@ OpenStack_ is an open-source cloud server application suite. Swift_ is
the cloud storage module of OpenStack. Swift/OpenStack storage is
offered by many different companies.
-The storage URL for the OpenStack backend has the form ::
-
+There are two different storage URL for the OpenStack backend that
+make use of different authentication APIs. For legacy (v1)
+authentication, the storage URL is ::
+
swift://<hostname>[:<port>]/<container>[/<prefix>]
-Note that the storage container must already exist. Most OpenStack
-providers offer a web frontend that you can use to create storage
-containers. *prefix* can be an arbitrary prefix that will be prepended
-to all object names used by S3QL. This allows you to store several
-S3QL file systems in the same container.
+for keystore (v2) authentication, the storage URL is ::
+
+ swiftks://<hostname>[:<port>]/<region>:<container>[/<prefix>]
+
+Note that when using keystore authentication, you can (and have to)
+specify the storage region of the container as well.
-The OpenStack backend always uses HTTPS connections. Note, however,
-that at this point S3QL does not verify the server certificate (cf.
-`issue 267 <http://code.google.com/p/s3ql/issues/detail?id=267>`_).
+In both cases, *hostname* name should be the name of the
+authentication server. The storage container must already exist (most
+OpenStack providers offer either a web frontend or a command line tool
+for creating containers). *prefix* can be an arbitrary prefix that
+will be prepended to all object names used by S3QL, which can be used
+to store multiple S3QL file systems in the same container.
+
+When using legacy authentication, the backend login and password
+correspond to the OpenStack username and API Access Key. When using
+keystore authentication, the backend password is your regular
+OpenStack password and the backend login combines you OpenStack
+username and tenant name in the form `<tenant>:<user>`. If no tenant
+is required, the OpenStack username alone may be used as backend
+login.
.. _OpenStack: http://www.openstack.org/
.. _Swift: http://openstack.org/projects/storage/
-RackSpace CloudFiles
+Rackspace CloudFiles
====================
Rackspace_ CloudFiles uses OpenStack_ internally, so it is possible to
just use the OpenStack/Swift backend (see above) with
-``auth.api.rackspacecloud.com`` as the host name and your rackspace
-API key as the backend passphrase. However, in this case you are
-restricted to using containers in the default storage region.
-
-To access containers in other storage regions, there is a special
-``rackspace`` backend that uses a storage URL of the form ::
+``auth.api.rackspacecloud.com`` as the host name. For convenince,
+there is also a special ``rackspace`` backend that uses a storage URL
+of the form ::
-The storage URL for the OpenStack backend has the form ::
-
rackspace://<region>/<container>[/<prefix>]
The storage container must already exist in the selected
@@ -144,39 +153,25 @@ region. *prefix* can be an arbitrary prefix that will be prepended to
all object names used by S3QL and can be used to store several S3QL
file systems in the same container.
-The OpenStack backend always uses HTTPS connections. Note, however,
-that at this point S3QL does not verify the server certificate (cf.
-`issue 267 <http://code.google.com/p/s3ql/issues/detail?id=267>`_).
-
You can create a storage container for S3QL using the `Cloud Control
Panel <https://mycloud.rackspace.com/>`_ (click on *Files* in the
topmost menu bar).
-.. WARNING::
- As of January 2012, RackSpace does not give any information about
- data consistency or data durability on their web page. However,
- RackSpace support agents (especially in the live chat) often claim
- very high guarantees. Any such statement is wrong. As of 01/2012,
- RackSpace CloudFiles does *not* give *any* durability or
+.. NOTE::
+
+ As of January 2012, Rackspace does not give any durability or
consistency guarantees (see :ref:`durability` for why this is
- important). Why this fact is only acknowledged RackSpace's
- technical engineers, and/or not communicated to their sales agents
- is not known.
-
-You should note that opinions about RackSpace differ widely among S3QL
-users and developers. On one hand, people praise RackSpace for their
-backing of the (open source) OpenStack project. On the other hand,
-their heavily advertised "fanatical support" is in practice often not
-only `less than helpful
-<http://code.google.com/p/s3ql/issues/detail?id=243#c5>`_, but their
-support agents also seem to be `downright incompetent
-<http://code.google.com/p/s3ql/issues/detail?id=243#c11>`_. However,
-there are reports that the support quality increases dramatically once
-you are a customer and use the "Live Chat" link when you are logged
-into the control panel.
+ important). However, Rackspace support agents seem prone to claim
+ very high guarantees. Unless explicitly backed by their terms of
+ service, any such statement should thus be viewed with
+ suspicion. S3QL developers have also `repeatedly experienced
+ <http://www.rath.org/Tales%20from%20the%20Rackspace%20Support>`_
+ similar issues with the credibility and competence of the Rackspace
+ support.
-.. _RackSpace: http://www.rackspace.com/
+
+.. _Rackspace: http://www.rackspace.com/
S3 compatible
@@ -199,7 +194,7 @@ Local
S3QL is also able to store its data on the local file system. This can
be used to backup data on external media, or to access external
services that S3QL can not talk to directly (e.g., it is possible to
-store data over SSH by first mounting the remote system using `sshfs`_
+store data over SSH by first mounting the remote system using sshfs_
and then using the local backend to store the data in the sshfs
mountpoint).
@@ -215,3 +210,5 @@ file (see :ref:`authinfo`) is read, i.e. if you are in the
corresponding section in the authentication file must match the
storage url `local:///home/john/s3ql`.
+
+.. _sshfs: http://fuse.sourceforge.net/sshfs.html
diff --git a/doc/html/_sources/fsck.txt b/doc/html/_sources/fsck.txt
index 24ee2ed..126810f 100644
--- a/doc/html/_sources/fsck.txt
+++ b/doc/html/_sources/fsck.txt
@@ -12,5 +12,5 @@ or if you suspect that there might be errors, you should run the
This command accepts the following options:
-.. pipeinclude:: ../bin/fsck.s3ql --help
+.. pipeinclude:: python ../bin/fsck.s3ql --help
:start-after: show this help message and exit
diff --git a/doc/html/_sources/installation.txt b/doc/html/_sources/installation.txt
index bd0eb35..535c0ef 100644
--- a/doc/html/_sources/installation.txt
+++ b/doc/html/_sources/installation.txt
@@ -33,12 +33,16 @@ that is not the case.
so under Linux you should actually use *2.6.26 or newer whenever
possible*.
-* `Python <http://www.python.org/>`_ 2.7.0 or newer (but not Python
- 3.x). Make sure to also install the development headers.
+* `Python <http://www.python.org/>`_ 3.3.0 or newer. Make sure to also
+ install the development headers.
-* The `PyCrypto++ Python Module
- <http://pypi.python.org/pypi/pycryptopp>`_. To check if this module
- is installed, try to execute `python -c 'import pycryptopp'`.
+* The `setuptools/distribute Python Module
+ <https://pypi.python.org/pypi/distribute>`_. To check if this
+ module is installed, try to execute `python -c 'import setuptools'`.
+
+* The `PyCrypto Python Module
+ <https://www.dlitz.net/software/pycrypto/>`_. To check if this
+ module is installed, try to execute `python -c 'import Crypto'`.
* `SQLite <http://www.sqlite.org/>`_ version 3.7.0 or newer. SQLite
has to be installed as a *shared library* with development headers.
@@ -46,21 +50,15 @@ that is not the case.
* The `APSW Python Module <http://code.google.com/p/apsw/>`_. To check
which (if any) version of APWS is installed, run the command ::
- python -c 'import apsw; print apsw.apswversion()'
+ python -c 'import apsw; print(apsw.apswversion())'
The printed version number should be at least 3.7.0.
-* The `PyLibLZMA Python module
- <http://pypi.python.org/pypi/pyliblzma>`_. To check if this module
- is installed, execute `python -c 'import lzma; print
- lzma.__version__'`. This should print a version number. You need at
- least version 0.5.3.
-
* The `Python LLFUSE module
<http://code.google.com/p/python-llfuse/>`_. To check if this module
- is installed, execute `python -c 'import llfuse; print
- llfuse.__version__'`. This should print a version number. You need at
- least version 0.37.
+ is installed, execute `python -c 'import llfuse;
+ print(llfuse.__version__)'`. This should print a version number. You
+ need at least version 0.39.
.. _inst-s3ql:
@@ -71,8 +69,8 @@ To install S3QL itself, proceed as follows:
1. Download S3QL from http://code.google.com/p/s3ql/downloads/list
2. Unpack it into a folder of your choice
-3. Run `python setup.py build` to build S3QL.
-4. Run `python setup.py test` to run a self-test. If this fails, ask
+3. Run `python3 setup.py build_ext --inplace` to build S3QL.
+4. Run `python3 runtests.py tests` to run a self-test. If this fails, ask
for help on the `mailing list
<http://groups.google.com/group/s3ql>`_ or report a bug in the
`issue tracker <http://code.google.com/p/s3ql/issues/list>`_.
@@ -82,9 +80,9 @@ Now you have three options:
* You can run the S3QL commands from the `bin/` directory.
* You can install S3QL system-wide for all users. To do that, you
- have to run `sudo python setup.py install`.
+ have to run `sudo python3 setup.py install`.
-* You can install S3QL into `~/.local` by executing `python
+* You can install S3QL into `~/.local` by executing `python3
setup.py install --user`. In this case you should make sure that
`~/.local/bin` is in your `$PATH` environment variable.
@@ -93,16 +91,77 @@ Development Version
===================
If you have checked out the unstable development version from the
-Mercurial repository, a bit more effort is required. You need to also
-have Cython_ (0.16 or newer) and Sphinx_ (1.1 or newer) installed, and
-the necessary commands are::
-
- python setup.py build_cython
- python setup.py build_ext --inplace
- python setup.py build_sphinx
- python setup.py test
- python setup.py install
+Mercurial repository, a bit more effort is required. You'll also need:
+
+* Version 0.17 or newer of the Cython_ compiler.
+
+* Version 1.1 or newer of the Sphinx_ document processor.
+
+* The `py.test`_ testing tool, version 2.3.3 or newer.
+
+With these additional dependencies installed, S3QL can be build and
+tested with ::
+
+ python3 setup.py build_cython
+ python3 setup.py build_ext --inplace
+ py.test tests/
+
+Note that when building from the Mercurial repository, building and
+testing is done with several additional checks. This may cause
+compilation and/or tests to fail even though there are no problems
+with functionality. For example, when building from the Mercurial
+repository, any use of functions that are scheduled for deprecation in
+future Python version will cause tests to fail. If you would rather
+just check for functionality, you can delete the :file:`MANIFEST.in`
+file. In that case, the build system will behave as it does for a
+regular release.
+
+The HTML and PDF documentation can be generated with ::
+ python3 setup.py build_sphinx
+
+and S3QL can be installed as usual with ::
+
+ python3 setup.py install [--user]
+
+
+Running tests requiring remote servers
+======================================
+
+By default, the `runtest.py` (or `py.test`) script skips all tests
+that require connection to a remote storage backend. If you would like
+to run these tests too (which is always a good idea), you have to
+create additional entries in your `~/.s3ql/authinfo2` file that tell
+S3QL what server and credentials to use for these tests. These entries
+have the following form::
+
+ [<BACKEND>-test]
+ backend-login: <user>
+ backend-password: <password>
+ test-fs: <storage-url>
+
+Here *<BACKEND>* specifies the backend that you want to test
+(e.g. *s3*, *s3c*, *gs*, or *swift*), *<user>* and *<password>* are
+the backend authentication credentials, and *<storage-url>* specifies
+the full storage URL that will be used for testing. **Any existing
+S3QL file system in this storage URL will be destroyed during
+testing**.
+
+For example, to run tests that need connection to a Google Storage
+server, you would add something like ::
+
+ [gs-test]
+ backend-login: GOOGIGWLONT238MD7HZ4
+ backend-password: rmEbstjscoeunt1249oes1298gauidbs3hl
+ test-fs: gs://joes-gs-bucket/s3ql_tests/
+
+On the next run of `runtest.py` (or `py.test` when using the
+development version), the additional tests will be run. If the tests
+are still skipped, you can get more information about why tests are
+being skipped by passing the :cmdopt:`-rs` argument to
+`runtest.py`/`py.test`.
+
.. _Cython: http://www.cython.org/
.. _Sphinx: http://sphinx.pocoo.org/
+.. _py.test: http://pytest.org/
diff --git a/doc/html/_sources/issues.txt b/doc/html/_sources/issues.txt
index 1bc31d8..fb2f6e9 100644
--- a/doc/html/_sources/issues.txt
+++ b/doc/html/_sources/issues.txt
@@ -4,15 +4,24 @@
Known Issues
============
+* S3QL de-duplicates data blocks based solely only on SHA256
+ checksums, without doing a byte-by-byte comparison of the blocks.
+ Since it is possible for two data blocks to have the same checksum
+ despite having different contents, this can lead to problems. If two
+ such blocks are stored in an S3QL file system, the data in one block
+ will be lost and replaced by the data in the other block. However,
+ the chances of this occuring for any two blocks are about 1 in 10^77
+ (2^256). For a file system that holds a total of 10^34 blocks, the
+ chances of a collision increase to about 1 in 10^9. Storing more
+ than 10^34 blocks (or about 10^25 TB with an (extremely small) block
+ size of 4 kB) is therefore not recommended. Being exceptionally
+ unlucky may also be a disadvantage.
+
* S3QL does not support Access Control Lists (ACLs). This is due to
a bug in the FUSE library and will therefore hopefully be fixed
at some point. See `issue 385 <http://code.google.com/p/s3ql/issues/detail?id=385>`_
for more details.
-* S3QL 1.x does not verify TLS/SSL server certificates and is thus
- vulnerable to man-in-the-middle attacks (S3QL versions after 2.0
- do not have this problem but require Python 3.3 or newer).
-
* S3QL is rather slow when an application tries to write data in
unreasonably small chunks. If a 1 MiB file is copied in chunks of 1
KB, this will take more than 10 times as long as when it's copied
diff --git a/doc/html/_sources/man/adm.txt b/doc/html/_sources/man/adm.txt
index 2c11783..f87fc7c 100644
--- a/doc/html/_sources/man/adm.txt
+++ b/doc/html/_sources/man/adm.txt
@@ -31,7 +31,7 @@ Options
The |command| command accepts the following options.
-.. pipeinclude:: ../../bin/s3qladm --help
+.. pipeinclude:: python ../../bin/s3qladm --help
:start-after: show this help message and exit
Actions
diff --git a/doc/html/_sources/man/cp.txt b/doc/html/_sources/man/cp.txt
index a397fe9..18bd523 100644
--- a/doc/html/_sources/man/cp.txt
+++ b/doc/html/_sources/man/cp.txt
@@ -83,7 +83,7 @@ Options
The |command| command accepts the following options:
-.. pipeinclude:: ../../bin/s3qlcp --help
+.. pipeinclude:: python ../../bin/s3qlcp --help
:start-after: show this help message and exit
diff --git a/doc/html/_sources/man/ctrl.txt b/doc/html/_sources/man/ctrl.txt
index 0acc8f0..89150c6 100644
--- a/doc/html/_sources/man/ctrl.txt
+++ b/doc/html/_sources/man/ctrl.txt
@@ -64,7 +64,7 @@ Options
The |command| command also accepts the following options, no matter
what specific action is being invoked:
-.. pipeinclude:: ../../bin/s3qlctrl --help
+.. pipeinclude:: python ../../bin/s3qlctrl --help
:start-after: show this help message and exit
diff --git a/doc/html/_sources/man/expire_backups.txt b/doc/html/_sources/man/expire_backups.txt
index 6b2f538..e41b20b 100644
--- a/doc/html/_sources/man/expire_backups.txt
+++ b/doc/html/_sources/man/expire_backups.txt
@@ -87,7 +87,7 @@ Options
The |command| command accepts the following options:
-.. pipeinclude:: ../../contrib/expire_backups.py --help
+.. pipeinclude:: python ../../contrib/expire_backups.py --help
:start-after: show this help message and exit
Exit Status
diff --git a/doc/html/_sources/man/fsck.txt b/doc/html/_sources/man/fsck.txt
index 7538210..2267b0d 100644
--- a/doc/html/_sources/man/fsck.txt
+++ b/doc/html/_sources/man/fsck.txt
@@ -27,7 +27,7 @@ Options
The |command| command accepts the following options.
-.. pipeinclude:: ../../bin/fsck.s3ql --help --log none
+.. pipeinclude:: python ../../bin/fsck.s3ql --help --log none
:start-after: show this help message and exit
.. include:: ../include/postman.rst
diff --git a/doc/html/_sources/man/lock.txt b/doc/html/_sources/man/lock.txt
index 19c3e3a..dcdc257 100644
--- a/doc/html/_sources/man/lock.txt
+++ b/doc/html/_sources/man/lock.txt
@@ -73,7 +73,7 @@ Options
The |command| command accepts the following options:
-.. pipeinclude:: ../../bin/s3qllock --help
+.. pipeinclude:: python ../../bin/s3qllock --help
:start-after: show this help message and exit
diff --git a/doc/html/_sources/man/mkfs.txt b/doc/html/_sources/man/mkfs.txt
index 1cf2ca8..3544df2 100644
--- a/doc/html/_sources/man/mkfs.txt
+++ b/doc/html/_sources/man/mkfs.txt
@@ -32,7 +32,7 @@ Options
The |command| command accepts the following options.
-.. pipeinclude:: ../../bin/mkfs.s3ql --help
+.. pipeinclude:: python ../../bin/mkfs.s3ql --help
:start-after: show this help message and exit
diff --git a/doc/html/_sources/man/mount.txt b/doc/html/_sources/man/mount.txt
index 94e90ec..c8ba6b8 100644
--- a/doc/html/_sources/man/mount.txt
+++ b/doc/html/_sources/man/mount.txt
@@ -29,7 +29,7 @@ Options
The |command| command accepts the following options.
-.. pipeinclude:: ../../bin/mount.s3ql --help --log none
+.. pipeinclude:: python ../../bin/mount.s3ql --help --log none
:start-after: show this help message and exit
diff --git a/doc/html/_sources/man/pcp.txt b/doc/html/_sources/man/pcp.txt
index c7b3bef..cb466ad 100644
--- a/doc/html/_sources/man/pcp.txt
+++ b/doc/html/_sources/man/pcp.txt
@@ -31,7 +31,7 @@ Options
The |command| command accepts the following options:
-.. pipeinclude:: ../../contrib/pcp.py --help
+.. pipeinclude:: python ../../contrib/pcp.py --help
:start-after: show this help message and exit
Exit Status
diff --git a/doc/html/_sources/man/rm.txt b/doc/html/_sources/man/rm.txt
index dda1eda..f1b39b2 100644
--- a/doc/html/_sources/man/rm.txt
+++ b/doc/html/_sources/man/rm.txt
@@ -38,7 +38,7 @@ Options
The |command| command accepts the following options:
-.. pipeinclude:: ../../bin/s3qlrm --help
+.. pipeinclude:: python ../../bin/s3qlrm --help
:start-after: show this help message and exit
.. include:: ../include/postman.rst
diff --git a/doc/html/_sources/man/stat.txt b/doc/html/_sources/man/stat.txt
index 7578e19..d73b191 100644
--- a/doc/html/_sources/man/stat.txt
+++ b/doc/html/_sources/man/stat.txt
@@ -32,7 +32,7 @@ Options
The |command| command accepts the following options:
-.. pipeinclude:: ../../bin/s3qlstat --help
+.. pipeinclude:: python ../../bin/s3qlstat --help
:start-after: show this help message and exit
.. include:: ../include/postman.rst
diff --git a/doc/html/_sources/man/umount.txt b/doc/html/_sources/man/umount.txt
index e1ef7f0..d0e2d54 100644
--- a/doc/html/_sources/man/umount.txt
+++ b/doc/html/_sources/man/umount.txt
@@ -36,7 +36,7 @@ Options
The |command| command accepts the following options.
-.. pipeinclude:: ../../bin/umount.s3ql --help
+.. pipeinclude:: python ../../bin/umount.s3ql --help
:start-after: show this help message and exit
.. include:: ../include/postman.rst
diff --git a/doc/html/_sources/mkfs.txt b/doc/html/_sources/mkfs.txt
index 9c846b1..f0b9db4 100644
--- a/doc/html/_sources/mkfs.txt
+++ b/doc/html/_sources/mkfs.txt
@@ -18,7 +18,7 @@ following syntax::
This command accepts the following options:
-.. pipeinclude:: ../bin/mkfs.s3ql --help
+.. pipeinclude:: python ../bin/mkfs.s3ql --help
:start-after: show this help message and exit
Unless you have specified the `--plain` option, `mkfs.s3ql` will ask
diff --git a/doc/html/_sources/mount.txt b/doc/html/_sources/mount.txt
index af87953..77391fb 100644
--- a/doc/html/_sources/mount.txt
+++ b/doc/html/_sources/mount.txt
@@ -19,7 +19,7 @@ the following syntax::
This command accepts the following options:
-.. pipeinclude:: ../bin/mount.s3ql --help
+.. pipeinclude:: python ../bin/mount.s3ql --help
:start-after: show this help message and exit
@@ -74,7 +74,7 @@ number of file descriptors per process to about a thousand.
If you specify a value for `--max-cache-entries`, you should therefore
make sure to also configure your system to increase the maximum number
-of open file handles. This can be done temporarily with the `umask -n`
+of open file handles. This can be done temporarily with the `ulimit -n`
command. The method to permanently change this limit system-wide
depends on your distribution.
diff --git a/doc/html/_sources/umount.txt b/doc/html/_sources/umount.txt
index 4dfcc9a..91260dc 100644
--- a/doc/html/_sources/umount.txt
+++ b/doc/html/_sources/umount.txt
@@ -21,7 +21,7 @@ system.
The :command:`umount.s3ql` command accepts the following options:
-.. pipeinclude:: ../bin/umount.s3ql --help
+.. pipeinclude:: python ../bin/umount.s3ql --help
:start-after: show this help message and exit
If, for some reason, the `umount.sql` command does not work, the file
diff --git a/doc/html/_static/basic.css b/doc/html/_static/basic.css
index 43e8baf..a04c8e1 100644
--- a/doc/html/_static/basic.css
+++ b/doc/html/_static/basic.css
@@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
- * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
diff --git a/doc/html/_static/doctools.js b/doc/html/_static/doctools.js
index d4619fd..8614442 100644
--- a/doc/html/_static/doctools.js
+++ b/doc/html/_static/doctools.js
@@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for all documentation.
*
- * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@@ -32,7 +32,7 @@ if (!window.console || !console.firebug) {
*/
jQuery.urldecode = function(x) {
return decodeURIComponent(x).replace(/\+/g, ' ');
-}
+};
/**
* small helper function to urlencode strings
@@ -62,18 +62,6 @@ jQuery.getQueryParameters = function(s) {
};
/**
- * small function to check if an array contains
- * a given item.
- */
-jQuery.contains = function(arr, item) {
- for (var i = 0; i < arr.length; i++) {
- if (arr[i] == item)
- return true;
- }
- return false;
-};
-
-/**
* highlight a given string on a jquery object by wrapping it in
* span elements with the given class name.
*/
diff --git a/doc/html/_static/jquery.js b/doc/html/_static/jquery.js
index 96d660c..198b3ff 100644
--- a/doc/html/_static/jquery.js
+++ b/doc/html/_static/jquery.js
@@ -1,9404 +1,4 @@
-/*!
- * jQuery JavaScript Library v1.7.2
- * http://jquery.com/
- *
- * Copyright 2011, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Thu Nov 15 18:28:24 BRST 2012
- */
-(function( window, undefined ) {
-
-// Use the correct document accordingly with window argument (sandbox)
-var document = window.document,
- navigator = window.navigator,
- location = window.location;
-var jQuery = (function() {
-
-// Define a local copy of jQuery
-var jQuery = function( selector, context ) {
- // The jQuery object is actually just the init constructor 'enhanced'
- return new jQuery.fn.init( selector, context, rootjQuery );
- },
-
- // Map over jQuery in case of overwrite
- _jQuery = window.jQuery,
-
- // Map over the $ in case of overwrite
- _$ = window.$,
-
- // A central reference to the root jQuery(document)
- rootjQuery,
-
- // A simple way to check for HTML strings or ID strings
- // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
- quickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
-
- // Check if a string has a non-whitespace character in it
- rnotwhite = /\S/,
-
- // Used for trimming whitespace
- trimLeft = /^\s+/,
- trimRight = /\s+$/,
-
- // Match a standalone tag
- rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
-
- // JSON RegExp
- rvalidchars = /^[\],:{}\s]*$/,
- rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
- rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
- rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
-
- // Useragent RegExp
- rwebkit = /(webkit)[ \/]([\w.]+)/,
- ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/,
- rmsie = /(msie) ([\w.]+)/,
- rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/,
-
- // Matches dashed string for camelizing
- rdashAlpha = /-([a-z]|[0-9])/ig,
- rmsPrefix = /^-ms-/,
-
- // Used by jQuery.camelCase as callback to replace()
- fcamelCase = function( all, letter ) {
- return ( letter + "" ).toUpperCase();
- },
-
- // Keep a UserAgent string for use with jQuery.browser
- userAgent = navigator.userAgent,
-
- // For matching the engine and version of the browser
- browserMatch,
-
- // The deferred used on DOM ready
- readyList,
-
- // The ready event handler
- DOMContentLoaded,
-
- // Save a reference to some core methods
- toString = Object.prototype.toString,
- hasOwn = Object.prototype.hasOwnProperty,
- push = Array.prototype.push,
- slice = Array.prototype.slice,
- trim = String.prototype.trim,
- indexOf = Array.prototype.indexOf,
-
- // [[Class]] -> type pairs
- class2type = {};
-
-jQuery.fn = jQuery.prototype = {
- constructor: jQuery,
- init: function( selector, context, rootjQuery ) {
- var match, elem, ret, doc;
-
- // Handle $(""), $(null), or $(undefined)
- if ( !selector ) {
- return this;
- }
-
- // Handle $(DOMElement)
- if ( selector.nodeType ) {
- this.context = this[0] = selector;
- this.length = 1;
- return this;
- }
-
- // The body element only exists once, optimize finding it
- if ( selector === "body" && !context && document.body ) {
- this.context = document;
- this[0] = document.body;
- this.selector = selector;
- this.length = 1;
- return this;
- }
-
- // Handle HTML strings
- if ( typeof selector === "string" ) {
- // Are we dealing with HTML string or an ID?
- if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
- // Assume that strings that start and end with <> are HTML and skip the regex check
- match = [ null, selector, null ];
-
- } else {
- match = quickExpr.exec( selector );
- }
-
- // Verify a match, and that no context was specified for #id
- if ( match && (match[1] || !context) ) {
-
- // HANDLE: $(html) -> $(array)
- if ( match[1] ) {
- context = context instanceof jQuery ? context[0] : context;
- doc = ( context ? context.ownerDocument || context : document );
-
- // If a single string is passed in and it's a single tag
- // just do a createElement and skip the rest
- ret = rsingleTag.exec( selector );
-
- if ( ret ) {
- if ( jQuery.isPlainObject( context ) ) {
- selector = [ document.createElement( ret[1] ) ];
- jQuery.fn.attr.call( selector, context, true );
-
- } else {
- selector = [ doc.createElement( ret[1] ) ];
- }
-
- } else {
- ret = jQuery.buildFragment( [ match[1] ], [ doc ] );
- selector = ( ret.cacheable ? jQuery.clone(ret.fragment) : ret.fragment ).childNodes;
- }
-
- return jQuery.merge( this, selector );
-
- // HANDLE: $("#id")
- } else {
- elem = document.getElementById( match[2] );
-
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- if ( elem && elem.parentNode ) {
- // Handle the case where IE and Opera return items
- // by name instead of ID
- if ( elem.id !== match[2] ) {
- return rootjQuery.find( selector );
- }
-
- // Otherwise, we inject the element directly into the jQuery object
- this.length = 1;
- this[0] = elem;
- }
-
- this.context = document;
- this.selector = selector;
- return this;
- }
-
- // HANDLE: $(expr, $(...))
- } else if ( !context || context.jquery ) {
- return ( context || rootjQuery ).find( selector );
-
- // HANDLE: $(expr, context)
- // (which is just equivalent to: $(context).find(expr)
- } else {
- return this.constructor( context ).find( selector );
- }
-
- // HANDLE: $(function)
- // Shortcut for document ready
- } else if ( jQuery.isFunction( selector ) ) {
- return rootjQuery.ready( selector );
- }
-
- if ( selector.selector !== undefined ) {
- this.selector = selector.selector;
- this.context = selector.context;
- }
-
- return jQuery.makeArray( selector, this );
- },
-
- // Start with an empty selector
- selector: "",
-
- // The current version of jQuery being used
- jquery: "1.7.2",
-
- // The default length of a jQuery object is 0
- length: 0,
-
- // The number of elements contained in the matched element set
- size: function() {
- return this.length;
- },
-
- toArray: function() {
- return slice.call( this, 0 );
- },
-
- // Get the Nth element in the matched element set OR
- // Get the whole matched element set as a clean array
- get: function( num ) {
- return num == null ?
-
- // Return a 'clean' array
- this.toArray() :
-
- // Return just the object
- ( num < 0 ? this[ this.length + num ] : this[ num ] );
- },
-
- // Take an array of elements and push it onto the stack
- // (returning the new matched element set)
- pushStack: function( elems, name, selector ) {
- // Build a new jQuery matched element set
- var ret = this.constructor();
-
- if ( jQuery.isArray( elems ) ) {
- push.apply( ret, elems );
-
- } else {
- jQuery.merge( ret, elems );
- }
-
- // Add the old object onto the stack (as a reference)
- ret.prevObject = this;
-
- ret.context = this.context;
-
- if ( name === "find" ) {
- ret.selector = this.selector + ( this.selector ? " " : "" ) + selector;
- } else if ( name ) {
- ret.selector = this.selector + "." + name + "(" + selector + ")";
- }
-
- // Return the newly-formed element set
- return ret;
- },
-
- // Execute a callback for every element in the matched set.
- // (You can seed the arguments with an array of args, but this is
- // only used internally.)
- each: function( callback, args ) {
- return jQuery.each( this, callback, args );
- },
-
- ready: function( fn ) {
- // Attach the listeners
- jQuery.bindReady();
-
- // Add the callback
- readyList.add( fn );
-
- return this;
- },
-
- eq: function( i ) {
- i = +i;
- return i === -1 ?
- this.slice( i ) :
- this.slice( i, i + 1 );
- },
-
- first: function() {
- return this.eq( 0 );
- },
-
- last: function() {
- return this.eq( -1 );
- },
-
- slice: function() {
- return this.pushStack( slice.apply( this, arguments ),
- "slice", slice.call(arguments).join(",") );
- },
-
- map: function( callback ) {
- return this.pushStack( jQuery.map(this, function( elem, i ) {
- return callback.call( elem, i, elem );
- }));
- },
-
- end: function() {
- return this.prevObject || this.constructor(null);
- },
-
- // For internal use only.
- // Behaves like an Array's method, not like a jQuery method.
- push: push,
- sort: [].sort,
- splice: [].splice
-};
-
-// Give the init function the jQuery prototype for later instantiation
-jQuery.fn.init.prototype = jQuery.fn;
-
-jQuery.extend = jQuery.fn.extend = function() {
- var options, name, src, copy, copyIsArray, clone,
- target = arguments[0] || {},
- i = 1,
- length = arguments.length,
- deep = false;
-
- // Handle a deep copy situation
- if ( typeof target === "boolean" ) {
- deep = target;
- target = arguments[1] || {};
- // skip the boolean and the target
- i = 2;
- }
-
- // Handle case when target is a string or something (possible in deep copy)
- if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
- target = {};
- }
-
- // extend jQuery itself if only one argument is passed
- if ( length === i ) {
- target = this;
- --i;
- }
-
- for ( ; i < length; i++ ) {
- // Only deal with non-null/undefined values
- if ( (options = arguments[ i ]) != null ) {
- // Extend the base object
- for ( name in options ) {
- src = target[ name ];
- copy = options[ name ];
-
- // Prevent never-ending loop
- if ( target === copy ) {
- continue;
- }
-
- // Recurse if we're merging plain objects or arrays
- if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
- if ( copyIsArray ) {
- copyIsArray = false;
- clone = src && jQuery.isArray(src) ? src : [];
-
- } else {
- clone = src && jQuery.isPlainObject(src) ? src : {};
- }
-
- // Never move original objects, clone them
- target[ name ] = jQuery.extend( deep, clone, copy );
-
- // Don't bring in undefined values
- } else if ( copy !== undefined ) {
- target[ name ] = copy;
- }
- }
- }
- }
-
- // Return the modified object
- return target;
-};
-
-jQuery.extend({
- noConflict: function( deep ) {
- if ( window.$ === jQuery ) {
- window.$ = _$;
- }
-
- if ( deep && window.jQuery === jQuery ) {
- window.jQuery = _jQuery;
- }
-
- return jQuery;
- },
-
- // Is the DOM ready to be used? Set to true once it occurs.
- isReady: false,
-
- // A counter to track how many items to wait for before
- // the ready event fires. See #6781
- readyWait: 1,
-
- // Hold (or release) the ready event
- holdReady: function( hold ) {
- if ( hold ) {
- jQuery.readyWait++;
- } else {
- jQuery.ready( true );
- }
- },
-
- // Handle when the DOM is ready
- ready: function( wait ) {
- // Either a released hold or an DOMready/load event and not yet ready
- if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) {
- // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
- if ( !document.body ) {
- return setTimeout( jQuery.ready, 1 );
- }
-
- // Remember that the DOM is ready
- jQuery.isReady = true;
-
- // If a normal DOM Ready event fired, decrement, and wait if need be
- if ( wait !== true && --jQuery.readyWait > 0 ) {
- return;
- }
-
- // If there are functions bound, to execute
- readyList.fireWith( document, [ jQuery ] );
-
- // Trigger any bound ready events
- if ( jQuery.fn.trigger ) {
- jQuery( document ).trigger( "ready" ).off( "ready" );
- }
- }
- },
-
- bindReady: function() {
- if ( readyList ) {
- return;
- }
-
- readyList = jQuery.Callbacks( "once memory" );
-
- // Catch cases where $(document).ready() is called after the
- // browser event has already occurred.
- if ( document.readyState === "complete" ) {
- // Handle it asynchronously to allow scripts the opportunity to delay ready
- return setTimeout( jQuery.ready, 1 );
- }
-
- // Mozilla, Opera and webkit nightlies currently support this event
- if ( document.addEventListener ) {
- // Use the handy event callback
- document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );
-
- // A fallback to window.onload, that will always work
- window.addEventListener( "load", jQuery.ready, false );
-
- // If IE event model is used
- } else if ( document.attachEvent ) {
- // ensure firing before onload,
- // maybe late but safe also for iframes
- document.attachEvent( "onreadystatechange", DOMContentLoaded );
-
- // A fallback to window.onload, that will always work
- window.attachEvent( "onload", jQuery.ready );
-
- // If IE and not a frame
- // continually check to see if the document is ready
- var toplevel = false;
-
- try {
- toplevel = window.frameElement == null;
- } catch(e) {}
-
- if ( document.documentElement.doScroll && toplevel ) {
- doScrollCheck();
- }
- }
- },
-
- // See test/unit/core.js for details concerning isFunction.
- // Since version 1.3, DOM methods and functions like alert
- // aren't supported. They return false on IE (#2968).
- isFunction: function( obj ) {
- return jQuery.type(obj) === "function";
- },
-
- isArray: Array.isArray || function( obj ) {
- return jQuery.type(obj) === "array";
- },
-
- isWindow: function( obj ) {
- return obj != null && obj == obj.window;
- },
-
- isNumeric: function( obj ) {
- return !isNaN( parseFloat(obj) ) && isFinite( obj );
- },
-
- type: function( obj ) {
- return obj == null ?
- String( obj ) :
- class2type[ toString.call(obj) ] || "object";
- },
-
- isPlainObject: function( obj ) {
- // Must be an Object.
- // Because of IE, we also have to check the presence of the constructor property.
- // Make sure that DOM nodes and window objects don't pass through, as well
- if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
- return false;
- }
-
- try {
- // Not own constructor property must be Object
- if ( obj.constructor &&
- !hasOwn.call(obj, "constructor") &&
- !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
- return false;
- }
- } catch ( e ) {
- // IE8,9 Will throw exceptions on certain host objects #9897
- return false;
- }
-
- // Own properties are enumerated firstly, so to speed up,
- // if last one is own, then all properties are own.
-
- var key;
- for ( key in obj ) {}
-
- return key === undefined || hasOwn.call( obj, key );
- },
-
- isEmptyObject: function( obj ) {
- for ( var name in obj ) {
- return false;
- }
- return true;
- },
-
- error: function( msg ) {
- throw new Error( msg );
- },
-
- parseJSON: function( data ) {
- if ( typeof data !== "string" || !data ) {
- return null;
- }
-
- // Make sure leading/trailing whitespace is removed (IE can't handle it)
- data = jQuery.trim( data );
-
- // Attempt to parse using the native JSON parser first
- if ( window.JSON && window.JSON.parse ) {
- return window.JSON.parse( data );
- }
-
- // Make sure the incoming data is actual JSON
- // Logic borrowed from http://json.org/json2.js
- if ( rvalidchars.test( data.replace( rvalidescape, "@" )
- .replace( rvalidtokens, "]" )
- .replace( rvalidbraces, "")) ) {
-
- return ( new Function( "return " + data ) )();
-
- }
- jQuery.error( "Invalid JSON: " + data );
- },
-
- // Cross-browser xml parsing
- parseXML: function( data ) {
- if ( typeof data !== "string" || !data ) {
- return null;
- }
- var xml, tmp;
- try {
- if ( window.DOMParser ) { // Standard
- tmp = new DOMParser();
- xml = tmp.parseFromString( data , "text/xml" );
- } else { // IE
- xml = new ActiveXObject( "Microsoft.XMLDOM" );
- xml.async = "false";
- xml.loadXML( data );
- }
- } catch( e ) {
- xml = undefined;
- }
- if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
- jQuery.error( "Invalid XML: " + data );
- }
- return xml;
- },
-
- noop: function() {},
-
- // Evaluates a script in a global context
- // Workarounds based on findings by Jim Driscoll
- // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
- globalEval: function( data ) {
- if ( data && rnotwhite.test( data ) ) {
- // We use execScript on Internet Explorer
- // We use an anonymous function so that context is window
- // rather than jQuery in Firefox
- ( window.execScript || function( data ) {
- window[ "eval" ].call( window, data );
- } )( data );
- }
- },
-
- // Convert dashed to camelCase; used by the css and data modules
- // Microsoft forgot to hump their vendor prefix (#9572)
- camelCase: function( string ) {
- return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
- },
-
- nodeName: function( elem, name ) {
- return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase();
- },
-
- // args is for internal usage only
- each: function( object, callback, args ) {
- var name, i = 0,
- length = object.length,
- isObj = length === undefined || jQuery.isFunction( object );
-
- if ( args ) {
- if ( isObj ) {
- for ( name in object ) {
- if ( callback.apply( object[ name ], args ) === false ) {
- break;
- }
- }
- } else {
- for ( ; i < length; ) {
- if ( callback.apply( object[ i++ ], args ) === false ) {
- break;
- }
- }
- }
-
- // A special, fast, case for the most common use of each
- } else {
- if ( isObj ) {
- for ( name in object ) {
- if ( callback.call( object[ name ], name, object[ name ] ) === false ) {
- break;
- }
- }
- } else {
- for ( ; i < length; ) {
- if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) {
- break;
- }
- }
- }
- }
-
- return object;
- },
-
- // Use native String.trim function wherever possible
- trim: trim ?
- function( text ) {
- return text == null ?
- "" :
- trim.call( text );
- } :
-
- // Otherwise use our own trimming functionality
- function( text ) {
- return text == null ?
- "" :
- text.toString().replace( trimLeft, "" ).replace( trimRight, "" );
- },
-
- // results is for internal usage only
- makeArray: function( array, results ) {
- var ret = results || [];
-
- if ( array != null ) {
- // The window, strings (and functions) also have 'length'
- // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930
- var type = jQuery.type( array );
-
- if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) {
- push.call( ret, array );
- } else {
- jQuery.merge( ret, array );
- }
- }
-
- return ret;
- },
-
- inArray: function( elem, array, i ) {
- var len;
-
- if ( array ) {
- if ( indexOf ) {
- return indexOf.call( array, elem, i );
- }
-
- len = array.length;
- i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;
-
- for ( ; i < len; i++ ) {
- // Skip accessing in sparse arrays
- if ( i in array && array[ i ] === elem ) {
- return i;
- }
- }
- }
-
- return -1;
- },
-
- merge: function( first, second ) {
- var i = first.length,
- j = 0;
-
- if ( typeof second.length === "number" ) {
- for ( var l = second.length; j < l; j++ ) {
- first[ i++ ] = second[ j ];
- }
-
- } else {
- while ( second[j] !== undefined ) {
- first[ i++ ] = second[ j++ ];
- }
- }
-
- first.length = i;
-
- return first;
- },
-
- grep: function( elems, callback, inv ) {
- var ret = [], retVal;
- inv = !!inv;
-
- // Go through the array, only saving the items
- // that pass the validator function
- for ( var i = 0, length = elems.length; i < length; i++ ) {
- retVal = !!callback( elems[ i ], i );
- if ( inv !== retVal ) {
- ret.push( elems[ i ] );
- }
- }
-
- return ret;
- },
-
- // arg is for internal usage only
- map: function( elems, callback, arg ) {
- var value, key, ret = [],
- i = 0,
- length = elems.length,
- // jquery objects are treated as arrays
- isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ;
-
- // Go through the array, translating each of the items to their
- if ( isArray ) {
- for ( ; i < length; i++ ) {
- value = callback( elems[ i ], i, arg );
-
- if ( value != null ) {
- ret[ ret.length ] = value;
- }
- }
-
- // Go through every key on the object,
- } else {
- for ( key in elems ) {
- value = callback( elems[ key ], key, arg );
-
- if ( value != null ) {
- ret[ ret.length ] = value;
- }
- }
- }
-
- // Flatten any nested arrays
- return ret.concat.apply( [], ret );
- },
-
- // A global GUID counter for objects
- guid: 1,
-
- // Bind a function to a context, optionally partially applying any
- // arguments.
- proxy: function( fn, context ) {
- if ( typeof context === "string" ) {
- var tmp = fn[ context ];
- context = fn;
- fn = tmp;
- }
-
- // Quick check to determine if target is callable, in the spec
- // this throws a TypeError, but we will just return undefined.
- if ( !jQuery.isFunction( fn ) ) {
- return undefined;
- }
-
- // Simulated bind
- var args = slice.call( arguments, 2 ),
- proxy = function() {
- return fn.apply( context, args.concat( slice.call( arguments ) ) );
- };
-
- // Set the guid of unique handler to the same of original handler, so it can be removed
- proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++;
-
- return proxy;
- },
-
- // Mutifunctional method to get and set values to a collection
- // The value/s can optionally be executed if it's a function
- access: function( elems, fn, key, value, chainable, emptyGet, pass ) {
- var exec,
- bulk = key == null,
- i = 0,
- length = elems.length;
-
- // Sets many values
- if ( key && typeof key === "object" ) {
- for ( i in key ) {
- jQuery.access( elems, fn, i, key[i], 1, emptyGet, value );
- }
- chainable = 1;
-
- // Sets one value
- } else if ( value !== undefined ) {
- // Optionally, function values get executed if exec is true
- exec = pass === undefined && jQuery.isFunction( value );
-
- if ( bulk ) {
- // Bulk operations only iterate when executing function values
- if ( exec ) {
- exec = fn;
- fn = function( elem, key, value ) {
- return exec.call( jQuery( elem ), value );
- };
-
- // Otherwise they run against the entire set
- } else {
- fn.call( elems, value );
- fn = null;
- }
- }
-
- if ( fn ) {
- for (; i < length; i++ ) {
- fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass );
- }
- }
-
- chainable = 1;
- }
-
- return chainable ?
- elems :
-
- // Gets
- bulk ?
- fn.call( elems ) :
- length ? fn( elems[0], key ) : emptyGet;
- },
-
- now: function() {
- return ( new Date() ).getTime();
- },
-
- // Use of jQuery.browser is frowned upon.
- // More details: http://docs.jquery.com/Utilities/jQuery.browser
- uaMatch: function( ua ) {
- ua = ua.toLowerCase();
-
- var match = rwebkit.exec( ua ) ||
- ropera.exec( ua ) ||
- rmsie.exec( ua ) ||
- ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) ||
- [];
-
- return { browser: match[1] || "", version: match[2] || "0" };
- },
-
- sub: function() {
- function jQuerySub( selector, context ) {
- return new jQuerySub.fn.init( selector, context );
- }
- jQuery.extend( true, jQuerySub, this );
- jQuerySub.superclass = this;
- jQuerySub.fn = jQuerySub.prototype = this();
- jQuerySub.fn.constructor = jQuerySub;
- jQuerySub.sub = this.sub;
- jQuerySub.fn.init = function init( selector, context ) {
- if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) {
- context = jQuerySub( context );
- }
-
- return jQuery.fn.init.call( this, selector, context, rootjQuerySub );
- };
- jQuerySub.fn.init.prototype = jQuerySub.fn;
- var rootjQuerySub = jQuerySub(document);
- return jQuerySub;
- },
-
- browser: {}
-});
-
-// Populate the class2type map
-jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) {
- class2type[ "[object " + name + "]" ] = name.toLowerCase();
-});
-
-browserMatch = jQuery.uaMatch( userAgent );
-if ( browserMatch.browser ) {
- jQuery.browser[ browserMatch.browser ] = true;
- jQuery.browser.version = browserMatch.version;
-}
-
-// Deprecated, use jQuery.browser.webkit instead
-if ( jQuery.browser.webkit ) {
- jQuery.browser.safari = true;
-}
-
-// IE doesn't match non-breaking spaces with \s
-if ( rnotwhite.test( "\xA0" ) ) {
- trimLeft = /^[\s\xA0]+/;
- trimRight = /[\s\xA0]+$/;
-}
-
-// All jQuery objects should point back to these
-rootjQuery = jQuery(document);
-
-// Cleanup functions for the document ready method
-if ( document.addEventListener ) {
- DOMContentLoaded = function() {
- document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
- jQuery.ready();
- };
-
-} else if ( document.attachEvent ) {
- DOMContentLoaded = function() {
- // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
- if ( document.readyState === "complete" ) {
- document.detachEvent( "onreadystatechange", DOMContentLoaded );
- jQuery.ready();
- }
- };
-}
-
-// The DOM ready check for Internet Explorer
-function doScrollCheck() {
- if ( jQuery.isReady ) {
- return;
- }
-
- try {
- // If IE is used, use the trick by Diego Perini
- // http://javascript.nwbox.com/IEContentLoaded/
- document.documentElement.doScroll("left");
- } catch(e) {
- setTimeout( doScrollCheck, 1 );
- return;
- }
-
- // and execute any waiting functions
- jQuery.ready();
-}
-
-return jQuery;
-
-})();
-
-
-// String to Object flags format cache
-var flagsCache = {};
-
-// Convert String-formatted flags into Object-formatted ones and store in cache
-function createFlags( flags ) {
- var object = flagsCache[ flags ] = {},
- i, length;
- flags = flags.split( /\s+/ );
- for ( i = 0, length = flags.length; i < length; i++ ) {
- object[ flags[i] ] = true;
- }
- return object;
-}
-
-/*
- * Create a callback list using the following parameters:
- *
- * flags: an optional list of space-separated flags that will change how
- * the callback list behaves
- *
- * By default a callback list will act like an event callback list and can be
- * "fired" multiple times.
- *
- * Possible flags:
- *
- * once: will ensure the callback list can only be fired once (like a Deferred)
- *
- * memory: will keep track of previous values and will call any callback added
- * after the list has been fired right away with the latest "memorized"
- * values (like a Deferred)
- *
- * unique: will ensure a callback can only be added once (no duplicate in the list)
- *
- * stopOnFalse: interrupt callings when a callback returns false
- *
- */
-jQuery.Callbacks = function( flags ) {
-
- // Convert flags from String-formatted to Object-formatted
- // (we check in cache first)
- flags = flags ? ( flagsCache[ flags ] || createFlags( flags ) ) : {};
-
- var // Actual callback list
- list = [],
- // Stack of fire calls for repeatable lists
- stack = [],
- // Last fire value (for non-forgettable lists)
- memory,
- // Flag to know if list was already fired
- fired,
- // Flag to know if list is currently firing
- firing,
- // First callback to fire (used internally by add and fireWith)
- firingStart,
- // End of the loop when firing
- firingLength,
- // Index of currently firing callback (modified by remove if needed)
- firingIndex,
- // Add one or several callbacks to the list
- add = function( args ) {
- var i,
- length,
- elem,
- type,
- actual;
- for ( i = 0, length = args.length; i < length; i++ ) {
- elem = args[ i ];
- type = jQuery.type( elem );
- if ( type === "array" ) {
- // Inspect recursively
- add( elem );
- } else if ( type === "function" ) {
- // Add if not in unique mode and callback is not in
- if ( !flags.unique || !self.has( elem ) ) {
- list.push( elem );
- }
- }
- }
- },
- // Fire callbacks
- fire = function( context, args ) {
- args = args || [];
- memory = !flags.memory || [ context, args ];
- fired = true;
- firing = true;
- firingIndex = firingStart || 0;
- firingStart = 0;
- firingLength = list.length;
- for ( ; list && firingIndex < firingLength; firingIndex++ ) {
- if ( list[ firingIndex ].apply( context, args ) === false && flags.stopOnFalse ) {
- memory = true; // Mark as halted
- break;
- }
- }
- firing = false;
- if ( list ) {
- if ( !flags.once ) {
- if ( stack && stack.length ) {
- memory = stack.shift();
- self.fireWith( memory[ 0 ], memory[ 1 ] );
- }
- } else if ( memory === true ) {
- self.disable();
- } else {
- list = [];
- }
- }
- },
- // Actual Callbacks object
- self = {
- // Add a callback or a collection of callbacks to the list
- add: function() {
- if ( list ) {
- var length = list.length;
- add( arguments );
- // Do we need to add the callbacks to the
- // current firing batch?
- if ( firing ) {
- firingLength = list.length;
- // With memory, if we're not firing then
- // we should call right away, unless previous
- // firing was halted (stopOnFalse)
- } else if ( memory && memory !== true ) {
- firingStart = length;
- fire( memory[ 0 ], memory[ 1 ] );
- }
- }
- return this;
- },
- // Remove a callback from the list
- remove: function() {
- if ( list ) {
- var args = arguments,
- argIndex = 0,
- argLength = args.length;
- for ( ; argIndex < argLength ; argIndex++ ) {
- for ( var i = 0; i < list.length; i++ ) {
- if ( args[ argIndex ] === list[ i ] ) {
- // Handle firingIndex and firingLength
- if ( firing ) {
- if ( i <= firingLength ) {
- firingLength--;
- if ( i <= firingIndex ) {
- firingIndex--;
- }
- }
- }
- // Remove the element
- list.splice( i--, 1 );
- // If we have some unicity property then
- // we only need to do this once
- if ( flags.unique ) {
- break;
- }
- }
- }
- }
- }
- return this;
- },
- // Control if a given callback is in the list
- has: function( fn ) {
- if ( list ) {
- var i = 0,
- length = list.length;
- for ( ; i < length; i++ ) {
- if ( fn === list[ i ] ) {
- return true;
- }
- }
- }
- return false;
- },
- // Remove all callbacks from the list
- empty: function() {
- list = [];
- return this;
- },
- // Have the list do nothing anymore
- disable: function() {
- list = stack = memory = undefined;
- return this;
- },
- // Is it disabled?
- disabled: function() {
- return !list;
- },
- // Lock the list in its current state
- lock: function() {
- stack = undefined;
- if ( !memory || memory === true ) {
- self.disable();
- }
- return this;
- },
- // Is it locked?
- locked: function() {
- return !stack;
- },
- // Call all callbacks with the given context and arguments
- fireWith: function( context, args ) {
- if ( stack ) {
- if ( firing ) {
- if ( !flags.once ) {
- stack.push( [ context, args ] );
- }
- } else if ( !( flags.once && memory ) ) {
- fire( context, args );
- }
- }
- return this;
- },
- // Call all the callbacks with the given arguments
- fire: function() {
- self.fireWith( this, arguments );
- return this;
- },
- // To know if the callbacks have already been called at least once
- fired: function() {
- return !!fired;
- }
- };
-
- return self;
-};
-
-
-
-
-var // Static reference to slice
- sliceDeferred = [].slice;
-
-jQuery.extend({
-
- Deferred: function( func ) {
- var doneList = jQuery.Callbacks( "once memory" ),
- failList = jQuery.Callbacks( "once memory" ),
- progressList = jQuery.Callbacks( "memory" ),
- state = "pending",
- lists = {
- resolve: doneList,
- reject: failList,
- notify: progressList
- },
- promise = {
- done: doneList.add,
- fail: failList.add,
- progress: progressList.add,
-
- state: function() {
- return state;
- },
-
- // Deprecated
- isResolved: doneList.fired,
- isRejected: failList.fired,
-
- then: function( doneCallbacks, failCallbacks, progressCallbacks ) {
- deferred.done( doneCallbacks ).fail( failCallbacks ).progress( progressCallbacks );
- return this;
- },
- always: function() {
- deferred.done.apply( deferred, arguments ).fail.apply( deferred, arguments );
- return this;
- },
- pipe: function( fnDone, fnFail, fnProgress ) {
- return jQuery.Deferred(function( newDefer ) {
- jQuery.each( {
- done: [ fnDone, "resolve" ],
- fail: [ fnFail, "reject" ],
- progress: [ fnProgress, "notify" ]
- }, function( handler, data ) {
- var fn = data[ 0 ],
- action = data[ 1 ],
- returned;
- if ( jQuery.isFunction( fn ) ) {
- deferred[ handler ](function() {
- returned = fn.apply( this, arguments );
- if ( returned && jQuery.isFunction( returned.promise ) ) {
- returned.promise().then( newDefer.resolve, newDefer.reject, newDefer.notify );
- } else {
- newDefer[ action + "With" ]( this === deferred ? newDefer : this, [ returned ] );
- }
- });
- } else {
- deferred[ handler ]( newDefer[ action ] );
- }
- });
- }).promise();
- },
- // Get a promise for this deferred
- // If obj is provided, the promise aspect is added to the object
- promise: function( obj ) {
- if ( obj == null ) {
- obj = promise;
- } else {
- for ( var key in promise ) {
- obj[ key ] = promise[ key ];
- }
- }
- return obj;
- }
- },
- deferred = promise.promise({}),
- key;
-
- for ( key in lists ) {
- deferred[ key ] = lists[ key ].fire;
- deferred[ key + "With" ] = lists[ key ].fireWith;
- }
-
- // Handle state
- deferred.done( function() {
- state = "resolved";
- }, failList.disable, progressList.lock ).fail( function() {
- state = "rejected";
- }, doneList.disable, progressList.lock );
-
- // Call given func if any
- if ( func ) {
- func.call( deferred, deferred );
- }
-
- // All done!
- return deferred;
- },
-
- // Deferred helper
- when: function( firstParam ) {
- var args = sliceDeferred.call( arguments, 0 ),
- i = 0,
- length = args.length,
- pValues = new Array( length ),
- count = length,
- pCount = length,
- deferred = length <= 1 && firstParam && jQuery.isFunction( firstParam.promise ) ?
- firstParam :
- jQuery.Deferred(),
- promise = deferred.promise();
- function resolveFunc( i ) {
- return function( value ) {
- args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
- if ( !( --count ) ) {
- deferred.resolveWith( deferred, args );
- }
- };
- }
- function progressFunc( i ) {
- return function( value ) {
- pValues[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
- deferred.notifyWith( promise, pValues );
- };
- }
- if ( length > 1 ) {
- for ( ; i < length; i++ ) {
- if ( args[ i ] && args[ i ].promise && jQuery.isFunction( args[ i ].promise ) ) {
- args[ i ].promise().then( resolveFunc(i), deferred.reject, progressFunc(i) );
- } else {
- --count;
- }
- }
- if ( !count ) {
- deferred.resolveWith( deferred, args );
- }
- } else if ( deferred !== firstParam ) {
- deferred.resolveWith( deferred, length ? [ firstParam ] : [] );
- }
- return promise;
- }
-});
-
-
-
-
-jQuery.support = (function() {
-
- var support,
- all,
- a,
- select,
- opt,
- input,
- fragment,
- tds,
- events,
- eventName,
- i,
- isSupported,
- div = document.createElement( "div" ),
- documentElement = document.documentElement;
-
- // Preliminary tests
- div.setAttribute("className", "t");
- div.innerHTML = " <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
-
- all = div.getElementsByTagName( "*" );
- a = div.getElementsByTagName( "a" )[ 0 ];
-
- // Can't get basic test support
- if ( !all || !all.length || !a ) {
- return {};
- }
-
- // First batch of supports tests
- select = document.createElement( "select" );
- opt = select.appendChild( document.createElement("option") );
- input = div.getElementsByTagName( "input" )[ 0 ];
-
- support = {
- // IE strips leading whitespace when .innerHTML is used
- leadingWhitespace: ( div.firstChild.nodeType === 3 ),
-
- // Make sure that tbody elements aren't automatically inserted
- // IE will insert them into empty tables
- tbody: !div.getElementsByTagName("tbody").length,
-
- // Make sure that link elements get serialized correctly by innerHTML
- // This requires a wrapper element in IE
- htmlSerialize: !!div.getElementsByTagName("link").length,
-
- // Get the style information from getAttribute
- // (IE uses .cssText instead)
- style: /top/.test( a.getAttribute("style") ),
-
- // Make sure that URLs aren't manipulated
- // (IE normalizes it by default)
- hrefNormalized: ( a.getAttribute("href") === "/a" ),
-
- // Make sure that element opacity exists
- // (IE uses filter instead)
- // Use a regex to work around a WebKit issue. See #5145
- opacity: /^0.55/.test( a.style.opacity ),
-
- // Verify style float existence
- // (IE uses styleFloat instead of cssFloat)
- cssFloat: !!a.style.cssFloat,
-
- // Make sure that if no value is specified for a checkbox
- // that it defaults to "on".
- // (WebKit defaults to "" instead)
- checkOn: ( input.value === "on" ),
-
- // Make sure that a selected-by-default option has a working selected property.
- // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
- optSelected: opt.selected,
-
- // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
- getSetAttribute: div.className !== "t",
-
- // Tests for enctype support on a form(#6743)
- enctype: !!document.createElement("form").enctype,
-
- // Makes sure cloning an html5 element does not cause problems
- // Where outerHTML is undefined, this still works
- html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>",
-
- // Will be defined later
- submitBubbles: true,
- changeBubbles: true,
- focusinBubbles: false,
- deleteExpando: true,
- noCloneEvent: true,
- inlineBlockNeedsLayout: false,
- shrinkWrapBlocks: false,
- reliableMarginRight: true,
- pixelMargin: true
- };
-
- // jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead
- jQuery.boxModel = support.boxModel = (document.compatMode === "CSS1Compat");
-
- // Make sure checked status is properly cloned
- input.checked = true;
- support.noCloneChecked = input.cloneNode( true ).checked;
-
- // Make sure that the options inside disabled selects aren't marked as disabled
- // (WebKit marks them as disabled)
- select.disabled = true;
- support.optDisabled = !opt.disabled;
-
- // Test to see if it's possible to delete an expando from an element
- // Fails in Internet Explorer
- try {
- delete div.test;
- } catch( e ) {
- support.deleteExpando = false;
- }
-
- if ( !div.addEventListener && div.attachEvent && div.fireEvent ) {
- div.attachEvent( "onclick", function() {
- // Cloning a node shouldn't copy over any
- // bound event handlers (IE does this)
- support.noCloneEvent = false;
- });
- div.cloneNode( true ).fireEvent( "onclick" );
- }
-
- // Check if a radio maintains its value
- // after being appended to the DOM
- input = document.createElement("input");
- input.value = "t";
- input.setAttribute("type", "radio");
- support.radioValue = input.value === "t";
-
- input.setAttribute("checked", "checked");
-
- // #11217 - WebKit loses check when the name is after the checked attribute
- input.setAttribute( "name", "t" );
-
- div.appendChild( input );
- fragment = document.createDocumentFragment();
- fragment.appendChild( div.lastChild );
-
- // WebKit doesn't clone checked state correctly in fragments
- support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;
-
- // Check if a disconnected checkbox will retain its checked
- // value of true after appended to the DOM (IE6/7)
- support.appendChecked = input.checked;
-
- fragment.removeChild( input );
- fragment.appendChild( div );
-
- // Technique from Juriy Zaytsev
- // http://perfectionkills.com/detecting-event-support-without-browser-sniffing/
- // We only care about the case where non-standard event systems
- // are used, namely in IE. Short-circuiting here helps us to
- // avoid an eval call (in setAttribute) which can cause CSP
- // to go haywire. See: https://developer.mozilla.org/en/Security/CSP
- if ( div.attachEvent ) {
- for ( i in {
- submit: 1,
- change: 1,
- focusin: 1
- }) {
- eventName = "on" + i;
- isSupported = ( eventName in div );
- if ( !isSupported ) {
- div.setAttribute( eventName, "return;" );
- isSupported = ( typeof div[ eventName ] === "function" );
- }
- support[ i + "Bubbles" ] = isSupported;
- }
- }
-
- fragment.removeChild( div );
-
- // Null elements to avoid leaks in IE
- fragment = select = opt = div = input = null;
-
- // Run tests that need a body at doc ready
- jQuery(function() {
- var container, outer, inner, table, td, offsetSupport,
- marginDiv, conMarginTop, style, html, positionTopLeftWidthHeight,
- paddingMarginBorderVisibility, paddingMarginBorder,
- body = document.getElementsByTagName("body")[0];
-
- if ( !body ) {
- // Return for frameset docs that don't have a body
- return;
- }
-
- conMarginTop = 1;
- paddingMarginBorder = "padding:0;margin:0;border:";
- positionTopLeftWidthHeight = "position:absolute;top:0;left:0;width:1px;height:1px;";
- paddingMarginBorderVisibility = paddingMarginBorder + "0;visibility:hidden;";
- style = "style='" + positionTopLeftWidthHeight + paddingMarginBorder + "5px solid #000;";
- html = "<div " + style + "display:block;'><div style='" + paddingMarginBorder + "0;display:block;overflow:hidden;'></div></div>" +
- "<table " + style + "' cellpadding='0' cellspacing='0'>" +
- "<tr><td></td></tr></table>";
-
- container = document.createElement("div");
- container.style.cssText = paddingMarginBorderVisibility + "width:0;height:0;position:static;top:0;margin-top:" + conMarginTop + "px";
- body.insertBefore( container, body.firstChild );
-
- // Construct the test element
- div = document.createElement("div");
- container.appendChild( div );
-
- // Check if table cells still have offsetWidth/Height when they are set
- // to display:none and there are still other visible table cells in a
- // table row; if so, offsetWidth/Height are not reliable for use when
- // determining if an element has been hidden directly using
- // display:none (it is still safe to use offsets if a parent element is
- // hidden; don safety goggles and see bug #4512 for more information).
- // (only IE 8 fails this test)
- div.innerHTML = "<table><tr><td style='" + paddingMarginBorder + "0;display:none'></td><td>t</td></tr></table>";
- tds = div.getElementsByTagName( "td" );
- isSupported = ( tds[ 0 ].offsetHeight === 0 );
-
- tds[ 0 ].style.display = "";
- tds[ 1 ].style.display = "none";
-
- // Check if empty table cells still have offsetWidth/Height
- // (IE <= 8 fail this test)
- support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 );
-
- // Check if div with explicit width and no margin-right incorrectly
- // gets computed margin-right based on width of container. For more
- // info see bug #3333
- // Fails in WebKit before Feb 2011 nightlies
- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
- if ( window.getComputedStyle ) {
- div.innerHTML = "";
- marginDiv = document.createElement( "div" );
- marginDiv.style.width = "0";
- marginDiv.style.marginRight = "0";
- div.style.width = "2px";
- div.appendChild( marginDiv );
- support.reliableMarginRight =
- ( parseInt( ( window.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0;
- }
-
- if ( typeof div.style.zoom !== "undefined" ) {
- // Check if natively block-level elements act like inline-block
- // elements when setting their display to 'inline' and giving
- // them layout
- // (IE < 8 does this)
- div.innerHTML = "";
- div.style.width = div.style.padding = "1px";
- div.style.border = 0;
- div.style.overflow = "hidden";
- div.style.display = "inline";
- div.style.zoom = 1;
- support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );
-
- // Check if elements with layout shrink-wrap their children
- // (IE 6 does this)
- div.style.display = "block";
- div.style.overflow = "visible";
- div.innerHTML = "<div style='width:5px;'></div>";
- support.shrinkWrapBlocks = ( div.offsetWidth !== 3 );
- }
-
- div.style.cssText = positionTopLeftWidthHeight + paddingMarginBorderVisibility;
- div.innerHTML = html;
-
- outer = div.firstChild;
- inner = outer.firstChild;
- td = outer.nextSibling.firstChild.firstChild;
-
- offsetSupport = {
- doesNotAddBorder: ( inner.offsetTop !== 5 ),
- doesAddBorderForTableAndCells: ( td.offsetTop === 5 )
- };
-
- inner.style.position = "fixed";
- inner.style.top = "20px";
-
- // safari subtracts parent border width here which is 5px
- offsetSupport.fixedPosition = ( inner.offsetTop === 20 || inner.offsetTop === 15 );
- inner.style.position = inner.style.top = "";
-
- outer.style.overflow = "hidden";
- outer.style.position = "relative";
-
- offsetSupport.subtractsBorderForOverflowNotVisible = ( inner.offsetTop === -5 );
- offsetSupport.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== conMarginTop );
-
- if ( window.getComputedStyle ) {
- div.style.marginTop = "1%";
- support.pixelMargin = ( window.getComputedStyle( div, null ) || { marginTop: 0 } ).marginTop !== "1%";
- }
-
- if ( typeof container.style.zoom !== "undefined" ) {
- container.style.zoom = 1;
- }
-
- body.removeChild( container );
- marginDiv = div = container = null;
-
- jQuery.extend( support, offsetSupport );
- });
-
- return support;
-})();
-
-
-
-
-var rbrace = /^(?:\{.*\}|\[.*\])$/,
- rmultiDash = /([A-Z])/g;
-
-jQuery.extend({
- cache: {},
-
- // Please use with caution
- uuid: 0,
-
- // Unique for each copy of jQuery on the page
- // Non-digits removed to match rinlinejQuery
- expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ),
-
- // The following elements throw uncatchable exceptions if you
- // attempt to add expando properties to them.
- noData: {
- "embed": true,
- // Ban all objects except for Flash (which handle expandos)
- "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
- "applet": true
- },
-
- hasData: function( elem ) {
- elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];
- return !!elem && !isEmptyDataObject( elem );
- },
-
- data: function( elem, name, data, pvt /* Internal Use Only */ ) {
- if ( !jQuery.acceptData( elem ) ) {
- return;
- }
-
- var privateCache, thisCache, ret,
- internalKey = jQuery.expando,
- getByName = typeof name === "string",
-
- // We have to handle DOM nodes and JS objects differently because IE6-7
- // can't GC object references properly across the DOM-JS boundary
- isNode = elem.nodeType,
-
- // Only DOM nodes need the global jQuery cache; JS object data is
- // attached directly to the object so GC can occur automatically
- cache = isNode ? jQuery.cache : elem,
-
- // Only defining an ID for JS objects if its cache already exists allows
- // the code to shortcut on the same path as a DOM node with no cache
- id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey,
- isEvents = name === "events";
-
- // Avoid doing any more work than we need to when trying to get data on an
- // object that has no data at all
- if ( (!id || !cache[id] || (!isEvents && !pvt && !cache[id].data)) && getByName && data === undefined ) {
- return;
- }
-
- if ( !id ) {
- // Only DOM nodes need a new unique ID for each element since their data
- // ends up in the global cache
- if ( isNode ) {
- elem[ internalKey ] = id = ++jQuery.uuid;
- } else {
- id = internalKey;
- }
- }
-
- if ( !cache[ id ] ) {
- cache[ id ] = {};
-
- // Avoids exposing jQuery metadata on plain JS objects when the object
- // is serialized using JSON.stringify
- if ( !isNode ) {
- cache[ id ].toJSON = jQuery.noop;
- }
- }
-
- // An object can be passed to jQuery.data instead of a key/value pair; this gets
- // shallow copied over onto the existing cache
- if ( typeof name === "object" || typeof name === "function" ) {
- if ( pvt ) {
- cache[ id ] = jQuery.extend( cache[ id ], name );
- } else {
- cache[ id ].data = jQuery.extend( cache[ id ].data, name );
- }
- }
-
- privateCache = thisCache = cache[ id ];
-
- // jQuery data() is stored in a separate object inside the object's internal data
- // cache in order to avoid key collisions between internal data and user-defined
- // data.
- if ( !pvt ) {
- if ( !thisCache.data ) {
- thisCache.data = {};
- }
-
- thisCache = thisCache.data;
- }
-
- if ( data !== undefined ) {
- thisCache[ jQuery.camelCase( name ) ] = data;
- }
-
- // Users should not attempt to inspect the internal events object using jQuery.data,
- // it is undocumented and subject to change. But does anyone listen? No.
- if ( isEvents && !thisCache[ name ] ) {
- return privateCache.events;
- }
-
- // Check for both converted-to-camel and non-converted data property names
- // If a data property was specified
- if ( getByName ) {
-
- // First Try to find as-is property data
- ret = thisCache[ name ];
-
- // Test for null|undefined property data
- if ( ret == null ) {
-
- // Try to find the camelCased property
- ret = thisCache[ jQuery.camelCase( name ) ];
- }
- } else {
- ret = thisCache;
- }
-
- return ret;
- },
-
- removeData: function( elem, name, pvt /* Internal Use Only */ ) {
- if ( !jQuery.acceptData( elem ) ) {
- return;
- }
-
- var thisCache, i, l,
-
- // Reference to internal data cache key
- internalKey = jQuery.expando,
-
- isNode = elem.nodeType,
-
- // See jQuery.data for more information
- cache = isNode ? jQuery.cache : elem,
-
- // See jQuery.data for more information
- id = isNode ? elem[ internalKey ] : internalKey;
-
- // If there is already no cache entry for this object, there is no
- // purpose in continuing
- if ( !cache[ id ] ) {
- return;
- }
-
- if ( name ) {
-
- thisCache = pvt ? cache[ id ] : cache[ id ].data;
-
- if ( thisCache ) {
-
- // Support array or space separated string names for data keys
- if ( !jQuery.isArray( name ) ) {
-
- // try the string as a key before any manipulation
- if ( name in thisCache ) {
- name = [ name ];
- } else {
-
- // split the camel cased version by spaces unless a key with the spaces exists
- name = jQuery.camelCase( name );
- if ( name in thisCache ) {
- name = [ name ];
- } else {
- name = name.split( " " );
- }
- }
- }
-
- for ( i = 0, l = name.length; i < l; i++ ) {
- delete thisCache[ name[i] ];
- }
-
- // If there is no data left in the cache, we want to continue
- // and let the cache object itself get destroyed
- if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) {
- return;
- }
- }
- }
-
- // See jQuery.data for more information
- if ( !pvt ) {
- delete cache[ id ].data;
-
- // Don't destroy the parent cache unless the internal data object
- // had been the only thing left in it
- if ( !isEmptyDataObject(cache[ id ]) ) {
- return;
- }
- }
-
- // Browsers that fail expando deletion also refuse to delete expandos on
- // the window, but it will allow it on all other JS objects; other browsers
- // don't care
- // Ensure that `cache` is not a window object #10080
- if ( jQuery.support.deleteExpando || !cache.setInterval ) {
- delete cache[ id ];
- } else {
- cache[ id ] = null;
- }
-
- // We destroyed the cache and need to eliminate the expando on the node to avoid
- // false lookups in the cache for entries that no longer exist
- if ( isNode ) {
- // IE does not allow us to delete expando properties from nodes,
- // nor does it have a removeAttribute function on Document nodes;
- // we must handle all of these cases
- if ( jQuery.support.deleteExpando ) {
- delete elem[ internalKey ];
- } else if ( elem.removeAttribute ) {
- elem.removeAttribute( internalKey );
- } else {
- elem[ internalKey ] = null;
- }
- }
- },
-
- // For internal use only.
- _data: function( elem, name, data ) {
- return jQuery.data( elem, name, data, true );
- },
-
- // A method for determining if a DOM node can handle the data expando
- acceptData: function( elem ) {
- if ( elem.nodeName ) {
- var match = jQuery.noData[ elem.nodeName.toLowerCase() ];
-
- if ( match ) {
- return !(match === true || elem.getAttribute("classid") !== match);
- }
- }
-
- return true;
- }
-});
-
-jQuery.fn.extend({
- data: function( key, value ) {
- var parts, part, attr, name, l,
- elem = this[0],
- i = 0,
- data = null;
-
- // Gets all values
- if ( key === undefined ) {
- if ( this.length ) {
- data = jQuery.data( elem );
-
- if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) {
- attr = elem.attributes;
- for ( l = attr.length; i < l; i++ ) {
- name = attr[i].name;
-
- if ( name.indexOf( "data-" ) === 0 ) {
- name = jQuery.camelCase( name.substring(5) );
-
- dataAttr( elem, name, data[ name ] );
- }
- }
- jQuery._data( elem, "parsedAttrs", true );
- }
- }
-
- return data;
- }
-
- // Sets multiple values
- if ( typeof key === "object" ) {
- return this.each(function() {
- jQuery.data( this, key );
- });
- }
-
- parts = key.split( ".", 2 );
- parts[1] = parts[1] ? "." + parts[1] : "";
- part = parts[1] + "!";
-
- return jQuery.access( this, function( value ) {
-
- if ( value === undefined ) {
- data = this.triggerHandler( "getData" + part, [ parts[0] ] );
-
- // Try to fetch any internally stored data first
- if ( data === undefined && elem ) {
- data = jQuery.data( elem, key );
- data = dataAttr( elem, key, data );
- }
-
- return data === undefined && parts[1] ?
- this.data( parts[0] ) :
- data;
- }
-
- parts[1] = value;
- this.each(function() {
- var self = jQuery( this );
-
- self.triggerHandler( "setData" + part, parts );
- jQuery.data( this, key, value );
- self.triggerHandler( "changeData" + part, parts );
- });
- }, null, value, arguments.length > 1, null, false );
- },
-
- removeData: function( key ) {
- return this.each(function() {
- jQuery.removeData( this, key );
- });
- }
-});
-
-function dataAttr( elem, key, data ) {
- // If nothing was found internally, try to fetch any
- // data from the HTML5 data-* attribute
- if ( data === undefined && elem.nodeType === 1 ) {
-
- var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
-
- data = elem.getAttribute( name );
-
- if ( typeof data === "string" ) {
- try {
- data = data === "true" ? true :
- data === "false" ? false :
- data === "null" ? null :
- jQuery.isNumeric( data ) ? +data :
- rbrace.test( data ) ? jQuery.parseJSON( data ) :
- data;
- } catch( e ) {}
-
- // Make sure we set the data so it isn't changed later
- jQuery.data( elem, key, data );
-
- } else {
- data = undefined;
- }
- }
-
- return data;
-}
-
-// checks a cache object for emptiness
-function isEmptyDataObject( obj ) {
- for ( var name in obj ) {
-
- // if the public data object is empty, the private is still empty
- if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {
- continue;
- }
- if ( name !== "toJSON" ) {
- return false;
- }
- }
-
- return true;
-}
-
-
-
-
-function handleQueueMarkDefer( elem, type, src ) {
- var deferDataKey = type + "defer",
- queueDataKey = type + "queue",
- markDataKey = type + "mark",
- defer = jQuery._data( elem, deferDataKey );
- if ( defer &&
- ( src === "queue" || !jQuery._data(elem, queueDataKey) ) &&
- ( src === "mark" || !jQuery._data(elem, markDataKey) ) ) {
- // Give room for hard-coded callbacks to fire first
- // and eventually mark/queue something else on the element
- setTimeout( function() {
- if ( !jQuery._data( elem, queueDataKey ) &&
- !jQuery._data( elem, markDataKey ) ) {
- jQuery.removeData( elem, deferDataKey, true );
- defer.fire();
- }
- }, 0 );
- }
-}
-
-jQuery.extend({
-
- _mark: function( elem, type ) {
- if ( elem ) {
- type = ( type || "fx" ) + "mark";
- jQuery._data( elem, type, (jQuery._data( elem, type ) || 0) + 1 );
- }
- },
-
- _unmark: function( force, elem, type ) {
- if ( force !== true ) {
- type = elem;
- elem = force;
- force = false;
- }
- if ( elem ) {
- type = type || "fx";
- var key = type + "mark",
- count = force ? 0 : ( (jQuery._data( elem, key ) || 1) - 1 );
- if ( count ) {
- jQuery._data( elem, key, count );
- } else {
- jQuery.removeData( elem, key, true );
- handleQueueMarkDefer( elem, type, "mark" );
- }
- }
- },
-
- queue: function( elem, type, data ) {
- var q;
- if ( elem ) {
- type = ( type || "fx" ) + "queue";
- q = jQuery._data( elem, type );
-
- // Speed up dequeue by getting out quickly if this is just a lookup
- if ( data ) {
- if ( !q || jQuery.isArray(data) ) {
- q = jQuery._data( elem, type, jQuery.makeArray(data) );
- } else {
- q.push( data );
- }
- }
- return q || [];
- }
- },
-
- dequeue: function( elem, type ) {
- type = type || "fx";
-
- var queue = jQuery.queue( elem, type ),
- fn = queue.shift(),
- hooks = {};
-
- // If the fx queue is dequeued, always remove the progress sentinel
- if ( fn === "inprogress" ) {
- fn = queue.shift();
- }
-
- if ( fn ) {
- // Add a progress sentinel to prevent the fx queue from being
- // automatically dequeued
- if ( type === "fx" ) {
- queue.unshift( "inprogress" );
- }
-
- jQuery._data( elem, type + ".run", hooks );
- fn.call( elem, function() {
- jQuery.dequeue( elem, type );
- }, hooks );
- }
-
- if ( !queue.length ) {
- jQuery.removeData( elem, type + "queue " + type + ".run", true );
- handleQueueMarkDefer( elem, type, "queue" );
- }
- }
-});
-
-jQuery.fn.extend({
- queue: function( type, data ) {
- var setter = 2;
-
- if ( typeof type !== "string" ) {
- data = type;
- type = "fx";
- setter--;
- }
-
- if ( arguments.length < setter ) {
- return jQuery.queue( this[0], type );
- }
-
- return data === undefined ?
- this :
- this.each(function() {
- var queue = jQuery.queue( this, type, data );
-
- if ( type === "fx" && queue[0] !== "inprogress" ) {
- jQuery.dequeue( this, type );
- }
- });
- },
- dequeue: function( type ) {
- return this.each(function() {
- jQuery.dequeue( this, type );
- });
- },
- // Based off of the plugin by Clint Helfers, with permission.
- // http://blindsignals.com/index.php/2009/07/jquery-delay/
- delay: function( time, type ) {
- time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
- type = type || "fx";
-
- return this.queue( type, function( next, hooks ) {
- var timeout = setTimeout( next, time );
- hooks.stop = function() {
- clearTimeout( timeout );
- };
- });
- },
- clearQueue: function( type ) {
- return this.queue( type || "fx", [] );
- },
- // Get a promise resolved when queues of a certain type
- // are emptied (fx is the type by default)
- promise: function( type, object ) {
- if ( typeof type !== "string" ) {
- object = type;
- type = undefined;
- }
- type = type || "fx";
- var defer = jQuery.Deferred(),
- elements = this,
- i = elements.length,
- count = 1,
- deferDataKey = type + "defer",
- queueDataKey = type + "queue",
- markDataKey = type + "mark",
- tmp;
- function resolve() {
- if ( !( --count ) ) {
- defer.resolveWith( elements, [ elements ] );
- }
- }
- while( i-- ) {
- if (( tmp = jQuery.data( elements[ i ], deferDataKey, undefined, true ) ||
- ( jQuery.data( elements[ i ], queueDataKey, undefined, true ) ||
- jQuery.data( elements[ i ], markDataKey, undefined, true ) ) &&
- jQuery.data( elements[ i ], deferDataKey, jQuery.Callbacks( "once memory" ), true ) )) {
- count++;
- tmp.add( resolve );
- }
- }
- resolve();
- return defer.promise( object );
- }
-});
-
-
-
-
-var rclass = /[\n\t\r]/g,
- rspace = /\s+/,
- rreturn = /\r/g,
- rtype = /^(?:button|input)$/i,
- rfocusable = /^(?:button|input|object|select|textarea)$/i,
- rclickable = /^a(?:rea)?$/i,
- rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
- getSetAttribute = jQuery.support.getSetAttribute,
- nodeHook, boolHook, fixSpecified;
-
-jQuery.fn.extend({
- attr: function( name, value ) {
- return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 );
- },
-
- removeAttr: function( name ) {
- return this.each(function() {
- jQuery.removeAttr( this, name );
- });
- },
-
- prop: function( name, value ) {
- return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 );
- },
-
- removeProp: function( name ) {
- name = jQuery.propFix[ name ] || name;
- return this.each(function() {
- // try/catch handles cases where IE balks (such as removing a property on window)
- try {
- this[ name ] = undefined;
- delete this[ name ];
- } catch( e ) {}
- });
- },
-
- addClass: function( value ) {
- var classNames, i, l, elem,
- setClass, c, cl;
-
- if ( jQuery.isFunction( value ) ) {
- return this.each(function( j ) {
- jQuery( this ).addClass( value.call(this, j, this.className) );
- });
- }
-
- if ( value && typeof value === "string" ) {
- classNames = value.split( rspace );
-
- for ( i = 0, l = this.length; i < l; i++ ) {
- elem = this[ i ];
-
- if ( elem.nodeType === 1 ) {
- if ( !elem.className && classNames.length === 1 ) {
- elem.className = value;
-
- } else {
- setClass = " " + elem.className + " ";
-
- for ( c = 0, cl = classNames.length; c < cl; c++ ) {
- if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) {
- setClass += classNames[ c ] + " ";
- }
- }
- elem.className = jQuery.trim( setClass );
- }
- }
- }
- }
-
- return this;
- },
-
- removeClass: function( value ) {
- var classNames, i, l, elem, className, c, cl;
-
- if ( jQuery.isFunction( value ) ) {
- return this.each(function( j ) {
- jQuery( this ).removeClass( value.call(this, j, this.className) );
- });
- }
-
- if ( (value && typeof value === "string") || value === undefined ) {
- classNames = ( value || "" ).split( rspace );
-
- for ( i = 0, l = this.length; i < l; i++ ) {
- elem = this[ i ];
-
- if ( elem.nodeType === 1 && elem.className ) {
- if ( value ) {
- className = (" " + elem.className + " ").replace( rclass, " " );
- for ( c = 0, cl = classNames.length; c < cl; c++ ) {
- className = className.replace(" " + classNames[ c ] + " ", " ");
- }
- elem.className = jQuery.trim( className );
-
- } else {
- elem.className = "";
- }
- }
- }
- }
-
- return this;
- },
-
- toggleClass: function( value, stateVal ) {
- var type = typeof value,
- isBool = typeof stateVal === "boolean";
-
- if ( jQuery.isFunction( value ) ) {
- return this.each(function( i ) {
- jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );
- });
- }
-
- return this.each(function() {
- if ( type === "string" ) {
- // toggle individual class names
- var className,
- i = 0,
- self = jQuery( this ),
- state = stateVal,
- classNames = value.split( rspace );
-
- while ( (className = classNames[ i++ ]) ) {
- // check each className given, space seperated list
- state = isBool ? state : !self.hasClass( className );
- self[ state ? "addClass" : "removeClass" ]( className );
- }
-
- } else if ( type === "undefined" || type === "boolean" ) {
- if ( this.className ) {
- // store className if set
- jQuery._data( this, "__className__", this.className );
- }
-
- // toggle whole className
- this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || "";
- }
- });
- },
-
- hasClass: function( selector ) {
- var className = " " + selector + " ",
- i = 0,
- l = this.length;
- for ( ; i < l; i++ ) {
- if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) {
- return true;
- }
- }
-
- return false;
- },
-
- val: function( value ) {
- var hooks, ret, isFunction,
- elem = this[0];
-
- if ( !arguments.length ) {
- if ( elem ) {
- hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];
-
- if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {
- return ret;
- }
-
- ret = elem.value;
-
- return typeof ret === "string" ?
- // handle most common string cases
- ret.replace(rreturn, "") :
- // handle cases where value is null/undef or number
- ret == null ? "" : ret;
- }
-
- return;
- }
-
- isFunction = jQuery.isFunction( value );
-
- return this.each(function( i ) {
- var self = jQuery(this), val;
-
- if ( this.nodeType !== 1 ) {
- return;
- }
-
- if ( isFunction ) {
- val = value.call( this, i, self.val() );
- } else {
- val = value;
- }
-
- // Treat null/undefined as ""; convert numbers to string
- if ( val == null ) {
- val = "";
- } else if ( typeof val === "number" ) {
- val += "";
- } else if ( jQuery.isArray( val ) ) {
- val = jQuery.map(val, function ( value ) {
- return value == null ? "" : value + "";
- });
- }
-
- hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
-
- // If set returns undefined, fall back to normal setting
- if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
- this.value = val;
- }
- });
- }
-});
-
-jQuery.extend({
- valHooks: {
- option: {
- get: function( elem ) {
- // attributes.value is undefined in Blackberry 4.7 but
- // uses .value. See #6932
- var val = elem.attributes.value;
- return !val || val.specified ? elem.value : elem.text;
- }
- },
- select: {
- get: function( elem ) {
- var value, i, max, option,
- index = elem.selectedIndex,
- values = [],
- options = elem.options,
- one = elem.type === "select-one";
-
- // Nothing was selected
- if ( index < 0 ) {
- return null;
- }
-
- // Loop through all the selected options
- i = one ? index : 0;
- max = one ? index + 1 : options.length;
- for ( ; i < max; i++ ) {
- option = options[ i ];
-
- // Don't return options that are disabled or in a disabled optgroup
- if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) &&
- (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) {
-
- // Get the specific value for the option
- value = jQuery( option ).val();
-
- // We don't need an array for one selects
- if ( one ) {
- return value;
- }
-
- // Multi-Selects return an array
- values.push( value );
- }
- }
-
- // Fixes Bug #2551 -- select.val() broken in IE after form.reset()
- if ( one && !values.length && options.length ) {
- return jQuery( options[ index ] ).val();
- }
-
- return values;
- },
-
- set: function( elem, value ) {
- var values = jQuery.makeArray( value );
-
- jQuery(elem).find("option").each(function() {
- this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0;
- });
-
- if ( !values.length ) {
- elem.selectedIndex = -1;
- }
- return values;
- }
- }
- },
-
- attrFn: {
- val: true,
- css: true,
- html: true,
- text: true,
- data: true,
- width: true,
- height: true,
- offset: true
- },
-
- attr: function( elem, name, value, pass ) {
- var ret, hooks, notxml,
- nType = elem.nodeType;
-
- // don't get/set attributes on text, comment and attribute nodes
- if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
- return;
- }
-
- if ( pass && name in jQuery.attrFn ) {
- return jQuery( elem )[ name ]( value );
- }
-
- // Fallback to prop when attributes are not supported
- if ( typeof elem.getAttribute === "undefined" ) {
- return jQuery.prop( elem, name, value );
- }
-
- notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
-
- // All attributes are lowercase
- // Grab necessary hook if one is defined
- if ( notxml ) {
- name = name.toLowerCase();
- hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook );
- }
-
- if ( value !== undefined ) {
-
- if ( value === null ) {
- jQuery.removeAttr( elem, name );
- return;
-
- } else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) {
- return ret;
-
- } else {
- elem.setAttribute( name, "" + value );
- return value;
- }
-
- } else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) {
- return ret;
-
- } else {
-
- ret = elem.getAttribute( name );
-
- // Non-existent attributes return null, we normalize to undefined
- return ret === null ?
- undefined :
- ret;
- }
- },
-
- removeAttr: function( elem, value ) {
- var propName, attrNames, name, l, isBool,
- i = 0;
-
- if ( value && elem.nodeType === 1 ) {
- attrNames = value.toLowerCase().split( rspace );
- l = attrNames.length;
-
- for ( ; i < l; i++ ) {
- name = attrNames[ i ];
-
- if ( name ) {
- propName = jQuery.propFix[ name ] || name;
- isBool = rboolean.test( name );
-
- // See #9699 for explanation of this approach (setting first, then removal)
- // Do not do this for boolean attributes (see #10870)
- if ( !isBool ) {
- jQuery.attr( elem, name, "" );
- }
- elem.removeAttribute( getSetAttribute ? name : propName );
-
- // Set corresponding property to false for boolean attributes
- if ( isBool && propName in elem ) {
- elem[ propName ] = false;
- }
- }
- }
- }
- },
-
- attrHooks: {
- type: {
- set: function( elem, value ) {
- // We can't allow the type property to be changed (since it causes problems in IE)
- if ( rtype.test( elem.nodeName ) && elem.parentNode ) {
- jQuery.error( "type property can't be changed" );
- } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) {
- // Setting the type on a radio button after the value resets the value in IE6-9
- // Reset value to it's default in case type is set after value
- // This is for element creation
- var val = elem.value;
- elem.setAttribute( "type", value );
- if ( val ) {
- elem.value = val;
- }
- return value;
- }
- }
- },
- // Use the value property for back compat
- // Use the nodeHook for button elements in IE6/7 (#1954)
- value: {
- get: function( elem, name ) {
- if ( nodeHook && jQuery.nodeName( elem, "button" ) ) {
- return nodeHook.get( elem, name );
- }
- return name in elem ?
- elem.value :
- null;
- },
- set: function( elem, value, name ) {
- if ( nodeHook && jQuery.nodeName( elem, "button" ) ) {
- return nodeHook.set( elem, value, name );
- }
- // Does not return so that setAttribute is also used
- elem.value = value;
- }
- }
- },
-
- propFix: {
- tabindex: "tabIndex",
- readonly: "readOnly",
- "for": "htmlFor",
- "class": "className",
- maxlength: "maxLength",
- cellspacing: "cellSpacing",
- cellpadding: "cellPadding",
- rowspan: "rowSpan",
- colspan: "colSpan",
- usemap: "useMap",
- frameborder: "frameBorder",
- contenteditable: "contentEditable"
- },
-
- prop: function( elem, name, value ) {
- var ret, hooks, notxml,
- nType = elem.nodeType;
-
- // don't get/set properties on text, comment and attribute nodes
- if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
- return;
- }
-
- notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
-
- if ( notxml ) {
- // Fix name and attach hooks
- name = jQuery.propFix[ name ] || name;
- hooks = jQuery.propHooks[ name ];
- }
-
- if ( value !== undefined ) {
- if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {
- return ret;
-
- } else {
- return ( elem[ name ] = value );
- }
-
- } else {
- if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) {
- return ret;
-
- } else {
- return elem[ name ];
- }
- }
- },
-
- propHooks: {
- tabIndex: {
- get: function( elem ) {
- // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
- // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
- var attributeNode = elem.getAttributeNode("tabindex");
-
- return attributeNode && attributeNode.specified ?
- parseInt( attributeNode.value, 10 ) :
- rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?
- 0 :
- undefined;
- }
- }
- }
-});
-
-// Add the tabIndex propHook to attrHooks for back-compat (different case is intentional)
-jQuery.attrHooks.tabindex = jQuery.propHooks.tabIndex;
-
-// Hook for boolean attributes
-boolHook = {
- get: function( elem, name ) {
- // Align boolean attributes with corresponding properties
- // Fall back to attribute presence where some booleans are not supported
- var attrNode,
- property = jQuery.prop( elem, name );
- return property === true || typeof property !== "boolean" && ( attrNode = elem.getAttributeNode(name) ) && attrNode.nodeValue !== false ?
- name.toLowerCase() :
- undefined;
- },
- set: function( elem, value, name ) {
- var propName;
- if ( value === false ) {
- // Remove boolean attributes when set to false
- jQuery.removeAttr( elem, name );
- } else {
- // value is true since we know at this point it's type boolean and not false
- // Set boolean attributes to the same name and set the DOM property
- propName = jQuery.propFix[ name ] || name;
- if ( propName in elem ) {
- // Only set the IDL specifically if it already exists on the element
- elem[ propName ] = true;
- }
-
- elem.setAttribute( name, name.toLowerCase() );
- }
- return name;
- }
-};
-
-// IE6/7 do not support getting/setting some attributes with get/setAttribute
-if ( !getSetAttribute ) {
-
- fixSpecified = {
- name: true,
- id: true,
- coords: true
- };
-
- // Use this for any attribute in IE6/7
- // This fixes almost every IE6/7 issue
- nodeHook = jQuery.valHooks.button = {
- get: function( elem, name ) {
- var ret;
- ret = elem.getAttributeNode( name );
- return ret && ( fixSpecified[ name ] ? ret.nodeValue !== "" : ret.specified ) ?
- ret.nodeValue :
- undefined;
- },
- set: function( elem, value, name ) {
- // Set the existing or create a new attribute node
- var ret = elem.getAttributeNode( name );
- if ( !ret ) {
- ret = document.createAttribute( name );
- elem.setAttributeNode( ret );
- }
- return ( ret.nodeValue = value + "" );
- }
- };
-
- // Apply the nodeHook to tabindex
- jQuery.attrHooks.tabindex.set = nodeHook.set;
-
- // Set width and height to auto instead of 0 on empty string( Bug #8150 )
- // This is for removals
- jQuery.each([ "width", "height" ], function( i, name ) {
- jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], {
- set: function( elem, value ) {
- if ( value === "" ) {
- elem.setAttribute( name, "auto" );
- return value;
- }
- }
- });
- });
-
- // Set contenteditable to false on removals(#10429)
- // Setting to empty string throws an error as an invalid value
- jQuery.attrHooks.contenteditable = {
- get: nodeHook.get,
- set: function( elem, value, name ) {
- if ( value === "" ) {
- value = "false";
- }
- nodeHook.set( elem, value, name );
- }
- };
-}
-
-
-// Some attributes require a special call on IE
-if ( !jQuery.support.hrefNormalized ) {
- jQuery.each([ "href", "src", "width", "height" ], function( i, name ) {
- jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], {
- get: function( elem ) {
- var ret = elem.getAttribute( name, 2 );
- return ret === null ? undefined : ret;
- }
- });
- });
-}
-
-if ( !jQuery.support.style ) {
- jQuery.attrHooks.style = {
- get: function( elem ) {
- // Return undefined in the case of empty string
- // Normalize to lowercase since IE uppercases css property names
- return elem.style.cssText.toLowerCase() || undefined;
- },
- set: function( elem, value ) {
- return ( elem.style.cssText = "" + value );
- }
- };
-}
-
-// Safari mis-reports the default selected property of an option
-// Accessing the parent's selectedIndex property fixes it
-if ( !jQuery.support.optSelected ) {
- jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, {
- get: function( elem ) {
- var parent = elem.parentNode;
-
- if ( parent ) {
- parent.selectedIndex;
-
- // Make sure that it also works with optgroups, see #5701
- if ( parent.parentNode ) {
- parent.parentNode.selectedIndex;
- }
- }
- return null;
- }
- });
-}
-
-// IE6/7 call enctype encoding
-if ( !jQuery.support.enctype ) {
- jQuery.propFix.enctype = "encoding";
-}
-
-// Radios and checkboxes getter/setter
-if ( !jQuery.support.checkOn ) {
- jQuery.each([ "radio", "checkbox" ], function() {
- jQuery.valHooks[ this ] = {
- get: function( elem ) {
- // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified
- return elem.getAttribute("value") === null ? "on" : elem.value;
- }
- };
- });
-}
-jQuery.each([ "radio", "checkbox" ], function() {
- jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], {
- set: function( elem, value ) {
- if ( jQuery.isArray( value ) ) {
- return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
- }
- }
- });
-});
-
-
-
-
-var rformElems = /^(?:textarea|input|select)$/i,
- rtypenamespace = /^([^\.]*)?(?:\.(.+))?$/,
- rhoverHack = /(?:^|\s)hover(\.\S+)?\b/,
- rkeyEvent = /^key/,
- rmouseEvent = /^(?:mouse|contextmenu)|click/,
- rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
- rquickIs = /^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,
- quickParse = function( selector ) {
- var quick = rquickIs.exec( selector );
- if ( quick ) {
- // 0 1 2 3
- // [ _, tag, id, class ]
- quick[1] = ( quick[1] || "" ).toLowerCase();
- quick[3] = quick[3] && new RegExp( "(?:^|\\s)" + quick[3] + "(?:\\s|$)" );
- }
- return quick;
- },
- quickIs = function( elem, m ) {
- var attrs = elem.attributes || {};
- return (
- (!m[1] || elem.nodeName.toLowerCase() === m[1]) &&
- (!m[2] || (attrs.id || {}).value === m[2]) &&
- (!m[3] || m[3].test( (attrs[ "class" ] || {}).value ))
- );
- },
- hoverHack = function( events ) {
- return jQuery.event.special.hover ? events : events.replace( rhoverHack, "mouseenter$1 mouseleave$1" );
- };
-
-/*
- * Helper functions for managing events -- not part of the public interface.
- * Props to Dean Edwards' addEvent library for many of the ideas.
- */
-jQuery.event = {
-
- add: function( elem, types, handler, data, selector ) {
-
- var elemData, eventHandle, events,
- t, tns, type, namespaces, handleObj,
- handleObjIn, quick, handlers, special;
-
- // Don't attach events to noData or text/comment nodes (allow plain objects tho)
- if ( elem.nodeType === 3 || elem.nodeType === 8 || !types || !handler || !(elemData = jQuery._data( elem )) ) {
- return;
- }
-
- // Caller can pass in an object of custom data in lieu of the handler
- if ( handler.handler ) {
- handleObjIn = handler;
- handler = handleObjIn.handler;
- selector = handleObjIn.selector;
- }
-
- // Make sure that the handler has a unique ID, used to find/remove it later
- if ( !handler.guid ) {
- handler.guid = jQuery.guid++;
- }
-
- // Init the element's event structure and main handler, if this is the first
- events = elemData.events;
- if ( !events ) {
- elemData.events = events = {};
- }
- eventHandle = elemData.handle;
- if ( !eventHandle ) {
- elemData.handle = eventHandle = function( e ) {
- // Discard the second event of a jQuery.event.trigger() and
- // when an event is called after a page has unloaded
- return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ?
- jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
- undefined;
- };
- // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
- eventHandle.elem = elem;
- }
-
- // Handle multiple events separated by a space
- // jQuery(...).bind("mouseover mouseout", fn);
- types = jQuery.trim( hoverHack(types) ).split( " " );
- for ( t = 0; t < types.length; t++ ) {
-
- tns = rtypenamespace.exec( types[t] ) || [];
- type = tns[1];
- namespaces = ( tns[2] || "" ).split( "." ).sort();
-
- // If event changes its type, use the special event handlers for the changed type
- special = jQuery.event.special[ type ] || {};
-
- // If selector defined, determine special event api type, otherwise given type
- type = ( selector ? special.delegateType : special.bindType ) || type;
-
- // Update special based on newly reset type
- special = jQuery.event.special[ type ] || {};
-
- // handleObj is passed to all event handlers
- handleObj = jQuery.extend({
- type: type,
- origType: tns[1],
- data: data,
- handler: handler,
- guid: handler.guid,
- selector: selector,
- quick: selector && quickParse( selector ),
- namespace: namespaces.join(".")
- }, handleObjIn );
-
- // Init the event handler queue if we're the first
- handlers = events[ type ];
- if ( !handlers ) {
- handlers = events[ type ] = [];
- handlers.delegateCount = 0;
-
- // Only use addEventListener/attachEvent if the special events handler returns false
- if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
- // Bind the global event handler to the element
- if ( elem.addEventListener ) {
- elem.addEventListener( type, eventHandle, false );
-
- } else if ( elem.attachEvent ) {
- elem.attachEvent( "on" + type, eventHandle );
- }
- }
- }
-
- if ( special.add ) {
- special.add.call( elem, handleObj );
-
- if ( !handleObj.handler.guid ) {
- handleObj.handler.guid = handler.guid;
- }
- }
-
- // Add to the element's handler list, delegates in front
- if ( selector ) {
- handlers.splice( handlers.delegateCount++, 0, handleObj );
- } else {
- handlers.push( handleObj );
- }
-
- // Keep track of which events have ever been used, for event optimization
- jQuery.event.global[ type ] = true;
- }
-
- // Nullify elem to prevent memory leaks in IE
- elem = null;
- },
-
- global: {},
-
- // Detach an event or set of events from an element
- remove: function( elem, types, handler, selector, mappedTypes ) {
-
- var elemData = jQuery.hasData( elem ) && jQuery._data( elem ),
- t, tns, type, origType, namespaces, origCount,
- j, events, special, handle, eventType, handleObj;
-
- if ( !elemData || !(events = elemData.events) ) {
- return;
- }
-
- // Once for each type.namespace in types; type may be omitted
- types = jQuery.trim( hoverHack( types || "" ) ).split(" ");
- for ( t = 0; t < types.length; t++ ) {
- tns = rtypenamespace.exec( types[t] ) || [];
- type = origType = tns[1];
- namespaces = tns[2];
-
- // Unbind all events (on this namespace, if provided) for the element
- if ( !type ) {
- for ( type in events ) {
- jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
- }
- continue;
- }
-
- special = jQuery.event.special[ type ] || {};
- type = ( selector? special.delegateType : special.bindType ) || type;
- eventType = events[ type ] || [];
- origCount = eventType.length;
- namespaces = namespaces ? new RegExp("(^|\\.)" + namespaces.split(".").sort().join("\\.(?:.*\\.)?") + "(\\.|$)") : null;
-
- // Remove matching events
- for ( j = 0; j < eventType.length; j++ ) {
- handleObj = eventType[ j ];
-
- if ( ( mappedTypes || origType === handleObj.origType ) &&
- ( !handler || handler.guid === handleObj.guid ) &&
- ( !namespaces || namespaces.test( handleObj.namespace ) ) &&
- ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
- eventType.splice( j--, 1 );
-
- if ( handleObj.selector ) {
- eventType.delegateCount--;
- }
- if ( special.remove ) {
- special.remove.call( elem, handleObj );
- }
- }
- }
-
- // Remove generic event handler if we removed something and no more handlers exist
- // (avoids potential for endless recursion during removal of special event handlers)
- if ( eventType.length === 0 && origCount !== eventType.length ) {
- if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) {
- jQuery.removeEvent( elem, type, elemData.handle );
- }
-
- delete events[ type ];
- }
- }
-
- // Remove the expando if it's no longer used
- if ( jQuery.isEmptyObject( events ) ) {
- handle = elemData.handle;
- if ( handle ) {
- handle.elem = null;
- }
-
- // removeData also checks for emptiness and clears the expando if empty
- // so use it instead of delete
- jQuery.removeData( elem, [ "events", "handle" ], true );
- }
- },
-
- // Events that are safe to short-circuit if no handlers are attached.
- // Native DOM events should not be added, they may have inline handlers.
- customEvent: {
- "getData": true,
- "setData": true,
- "changeData": true
- },
-
- trigger: function( event, data, elem, onlyHandlers ) {
- // Don't do events on text and comment nodes
- if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) {
- return;
- }
-
- // Event object or event type
- var type = event.type || event,
- namespaces = [],
- cache, exclusive, i, cur, old, ontype, special, handle, eventPath, bubbleType;
-
- // focus/blur morphs to focusin/out; ensure we're not firing them right now
- if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {
- return;
- }
-
- if ( type.indexOf( "!" ) >= 0 ) {
- // Exclusive events trigger only for the exact event (no namespaces)
- type = type.slice(0, -1);
- exclusive = true;
- }
-
- if ( type.indexOf( "." ) >= 0 ) {
- // Namespaced trigger; create a regexp to match event type in handle()
- namespaces = type.split(".");
- type = namespaces.shift();
- namespaces.sort();
- }
-
- if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) {
- // No jQuery handlers for this event type, and it can't have inline handlers
- return;
- }
-
- // Caller can pass in an Event, Object, or just an event type string
- event = typeof event === "object" ?
- // jQuery.Event object
- event[ jQuery.expando ] ? event :
- // Object literal
- new jQuery.Event( type, event ) :
- // Just the event type (string)
- new jQuery.Event( type );
-
- event.type = type;
- event.isTrigger = true;
- event.exclusive = exclusive;
- event.namespace = namespaces.join( "." );
- event.namespace_re = event.namespace? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.)?") + "(\\.|$)") : null;
- ontype = type.indexOf( ":" ) < 0 ? "on" + type : "";
-
- // Handle a global trigger
- if ( !elem ) {
-
- // TODO: Stop taunting the data cache; remove global events and always attach to document
- cache = jQuery.cache;
- for ( i in cache ) {
- if ( cache[ i ].events && cache[ i ].events[ type ] ) {
- jQuery.event.trigger( event, data, cache[ i ].handle.elem, true );
- }
- }
- return;
- }
-
- // Clean up the event in case it is being reused
- event.result = undefined;
- if ( !event.target ) {
- event.target = elem;
- }
-
- // Clone any incoming data and prepend the event, creating the handler arg list
- data = data != null ? jQuery.makeArray( data ) : [];
- data.unshift( event );
-
- // Allow special events to draw outside the lines
- special = jQuery.event.special[ type ] || {};
- if ( special.trigger && special.trigger.apply( elem, data ) === false ) {
- return;
- }
-
- // Determine event propagation path in advance, per W3C events spec (#9951)
- // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
- eventPath = [[ elem, special.bindType || type ]];
- if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
-
- bubbleType = special.delegateType || type;
- cur = rfocusMorph.test( bubbleType + type ) ? elem : elem.parentNode;
- old = null;
- for ( ; cur; cur = cur.parentNode ) {
- eventPath.push([ cur, bubbleType ]);
- old = cur;
- }
-
- // Only add window if we got to document (e.g., not plain obj or detached DOM)
- if ( old && old === elem.ownerDocument ) {
- eventPath.push([ old.defaultView || old.parentWindow || window, bubbleType ]);
- }
- }
-
- // Fire handlers on the event path
- for ( i = 0; i < eventPath.length && !event.isPropagationStopped(); i++ ) {
-
- cur = eventPath[i][0];
- event.type = eventPath[i][1];
-
- handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" );
- if ( handle ) {
- handle.apply( cur, data );
- }
- // Note that this is a bare JS function and not a jQuery handler
- handle = ontype && cur[ ontype ];
- if ( handle && jQuery.acceptData( cur ) && handle.apply( cur, data ) === false ) {
- event.preventDefault();
- }
- }
- event.type = type;
-
- // If nobody prevented the default action, do it now
- if ( !onlyHandlers && !event.isDefaultPrevented() ) {
-
- if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) &&
- !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) {
-
- // Call a native DOM method on the target with the same name name as the event.
- // Can't use an .isFunction() check here because IE6/7 fails that test.
- // Don't do default actions on window, that's where global variables be (#6170)
- // IE<9 dies on focus/blur to hidden element (#1486)
- if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) {
-
- // Don't re-trigger an onFOO event when we call its FOO() method
- old = elem[ ontype ];
-
- if ( old ) {
- elem[ ontype ] = null;
- }
-
- // Prevent re-triggering of the same event, since we already bubbled it above
- jQuery.event.triggered = type;
- elem[ type ]();
- jQuery.event.triggered = undefined;
-
- if ( old ) {
- elem[ ontype ] = old;
- }
- }
- }
- }
-
- return event.result;
- },
-
- dispatch: function( event ) {
-
- // Make a writable jQuery.Event from the native event object
- event = jQuery.event.fix( event || window.event );
-
- var handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []),
- delegateCount = handlers.delegateCount,
- args = [].slice.call( arguments, 0 ),
- run_all = !event.exclusive && !event.namespace,
- special = jQuery.event.special[ event.type ] || {},
- handlerQueue = [],
- i, j, cur, jqcur, ret, selMatch, matched, matches, handleObj, sel, related;
-
- // Use the fix-ed jQuery.Event rather than the (read-only) native event
- args[0] = event;
- event.delegateTarget = this;
-
- // Call the preDispatch hook for the mapped type, and let it bail if desired
- if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
- return;
- }
-
- // Determine handlers that should run if there are delegated events
- // Avoid non-left-click bubbling in Firefox (#3861)
- if ( delegateCount && !(event.button && event.type === "click") ) {
-
- // Pregenerate a single jQuery object for reuse with .is()
- jqcur = jQuery(this);
- jqcur.context = this.ownerDocument || this;
-
- for ( cur = event.target; cur != this; cur = cur.parentNode || this ) {
-
- // Don't process events on disabled elements (#6911, #8165)
- if ( cur.disabled !== true ) {
- selMatch = {};
- matches = [];
- jqcur[0] = cur;
- for ( i = 0; i < delegateCount; i++ ) {
- handleObj = handlers[ i ];
- sel = handleObj.selector;
-
- if ( selMatch[ sel ] === undefined ) {
- selMatch[ sel ] = (
- handleObj.quick ? quickIs( cur, handleObj.quick ) : jqcur.is( sel )
- );
- }
- if ( selMatch[ sel ] ) {
- matches.push( handleObj );
- }
- }
- if ( matches.length ) {
- handlerQueue.push({ elem: cur, matches: matches });
- }
- }
- }
- }
-
- // Add the remaining (directly-bound) handlers
- if ( handlers.length > delegateCount ) {
- handlerQueue.push({ elem: this, matches: handlers.slice( delegateCount ) });
- }
-
- // Run delegates first; they may want to stop propagation beneath us
- for ( i = 0; i < handlerQueue.length && !event.isPropagationStopped(); i++ ) {
- matched = handlerQueue[ i ];
- event.currentTarget = matched.elem;
-
- for ( j = 0; j < matched.matches.length && !event.isImmediatePropagationStopped(); j++ ) {
- handleObj = matched.matches[ j ];
-
- // Triggered event must either 1) be non-exclusive and have no namespace, or
- // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
- if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) {
-
- event.data = handleObj.data;
- event.handleObj = handleObj;
-
- ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )
- .apply( matched.elem, args );
-
- if ( ret !== undefined ) {
- event.result = ret;
- if ( ret === false ) {
- event.preventDefault();
- event.stopPropagation();
- }
- }
- }
- }
- }
-
- // Call the postDispatch hook for the mapped type
- if ( special.postDispatch ) {
- special.postDispatch.call( this, event );
- }
-
- return event.result;
- },
-
- // Includes some event props shared by KeyEvent and MouseEvent
- // *** attrChange attrName relatedNode srcElement are not normalized, non-W3C, deprecated, will be removed in 1.8 ***
- props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
-
- fixHooks: {},
-
- keyHooks: {
- props: "char charCode key keyCode".split(" "),
- filter: function( event, original ) {
-
- // Add which for key events
- if ( event.which == null ) {
- event.which = original.charCode != null ? original.charCode : original.keyCode;
- }
-
- return event;
- }
- },
-
- mouseHooks: {
- props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function( event, original ) {
- var eventDoc, doc, body,
- button = original.button,
- fromElement = original.fromElement;
-
- // Calculate pageX/Y if missing and clientX/Y available
- if ( event.pageX == null && original.clientX != null ) {
- eventDoc = event.target.ownerDocument || document;
- doc = eventDoc.documentElement;
- body = eventDoc.body;
-
- event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
- event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );
- }
-
- // Add relatedTarget, if necessary
- if ( !event.relatedTarget && fromElement ) {
- event.relatedTarget = fromElement === event.target ? original.toElement : fromElement;
- }
-
- // Add which for click: 1 === left; 2 === middle; 3 === right
- // Note: button is not normalized, so don't use it
- if ( !event.which && button !== undefined ) {
- event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
- }
-
- return event;
- }
- },
-
- fix: function( event ) {
- if ( event[ jQuery.expando ] ) {
- return event;
- }
-
- // Create a writable copy of the event object and normalize some properties
- var i, prop,
- originalEvent = event,
- fixHook = jQuery.event.fixHooks[ event.type ] || {},
- copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;
-
- event = jQuery.Event( originalEvent );
-
- for ( i = copy.length; i; ) {
- prop = copy[ --i ];
- event[ prop ] = originalEvent[ prop ];
- }
-
- // Fix target property, if necessary (#1925, IE 6/7/8 & Safari2)
- if ( !event.target ) {
- event.target = originalEvent.srcElement || document;
- }
-
- // Target should not be a text node (#504, Safari)
- if ( event.target.nodeType === 3 ) {
- event.target = event.target.parentNode;
- }
-
- // For mouse/key events; add metaKey if it's not there (#3368, IE6/7/8)
- if ( event.metaKey === undefined ) {
- event.metaKey = event.ctrlKey;
- }
-
- return fixHook.filter? fixHook.filter( event, originalEvent ) : event;
- },
-
- special: {
- ready: {
- // Make sure the ready event is setup
- setup: jQuery.bindReady
- },
-
- load: {
- // Prevent triggered image.load events from bubbling to window.load
- noBubble: true
- },
-
- focus: {
- delegateType: "focusin"
- },
- blur: {
- delegateType: "focusout"
- },
-
- beforeunload: {
- setup: function( data, namespaces, eventHandle ) {
- // We only want to do this special case on windows
- if ( jQuery.isWindow( this ) ) {
- this.onbeforeunload = eventHandle;
- }
- },
-
- teardown: function( namespaces, eventHandle ) {
- if ( this.onbeforeunload === eventHandle ) {
- this.onbeforeunload = null;
- }
- }
- }
- },
-
- simulate: function( type, elem, event, bubble ) {
- // Piggyback on a donor event to simulate a different one.
- // Fake originalEvent to avoid donor's stopPropagation, but if the
- // simulated event prevents default then we do the same on the donor.
- var e = jQuery.extend(
- new jQuery.Event(),
- event,
- { type: type,
- isSimulated: true,
- originalEvent: {}
- }
- );
- if ( bubble ) {
- jQuery.event.trigger( e, null, elem );
- } else {
- jQuery.event.dispatch.call( elem, e );
- }
- if ( e.isDefaultPrevented() ) {
- event.preventDefault();
- }
- }
-};
-
-// Some plugins are using, but it's undocumented/deprecated and will be removed.
-// The 1.7 special event interface should provide all the hooks needed now.
-jQuery.event.handle = jQuery.event.dispatch;
-
-jQuery.removeEvent = document.removeEventListener ?
- function( elem, type, handle ) {
- if ( elem.removeEventListener ) {
- elem.removeEventListener( type, handle, false );
- }
- } :
- function( elem, type, handle ) {
- if ( elem.detachEvent ) {
- elem.detachEvent( "on" + type, handle );
- }
- };
-
-jQuery.Event = function( src, props ) {
- // Allow instantiation without the 'new' keyword
- if ( !(this instanceof jQuery.Event) ) {
- return new jQuery.Event( src, props );
- }
-
- // Event object
- if ( src && src.type ) {
- this.originalEvent = src;
- this.type = src.type;
-
- // Events bubbling up the document may have been marked as prevented
- // by a handler lower down the tree; reflect the correct value.
- this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||
- src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
-
- // Event type
- } else {
- this.type = src;
- }
-
- // Put explicitly provided properties onto the event object
- if ( props ) {
- jQuery.extend( this, props );
- }
-
- // Create a timestamp if incoming event doesn't have one
- this.timeStamp = src && src.timeStamp || jQuery.now();
-
- // Mark it as fixed
- this[ jQuery.expando ] = true;
-};
-
-function returnFalse() {
- return false;
-}
-function returnTrue() {
- return true;
-}
-
-// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
-jQuery.Event.prototype = {
- preventDefault: function() {
- this.isDefaultPrevented = returnTrue;
-
- var e = this.originalEvent;
- if ( !e ) {
- return;
- }
-
- // if preventDefault exists run it on the original event
- if ( e.preventDefault ) {
- e.preventDefault();
-
- // otherwise set the returnValue property of the original event to false (IE)
- } else {
- e.returnValue = false;
- }
- },
- stopPropagation: function() {
- this.isPropagationStopped = returnTrue;
-
- var e = this.originalEvent;
- if ( !e ) {
- return;
- }
- // if stopPropagation exists run it on the original event
- if ( e.stopPropagation ) {
- e.stopPropagation();
- }
- // otherwise set the cancelBubble property of the original event to true (IE)
- e.cancelBubble = true;
- },
- stopImmediatePropagation: function() {
- this.isImmediatePropagationStopped = returnTrue;
- this.stopPropagation();
- },
- isDefaultPrevented: returnFalse,
- isPropagationStopped: returnFalse,
- isImmediatePropagationStopped: returnFalse
-};
-
-// Create mouseenter/leave events using mouseover/out and event-time checks
-jQuery.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
-}, function( orig, fix ) {
- jQuery.event.special[ orig ] = {
- delegateType: fix,
- bindType: fix,
-
- handle: function( event ) {
- var target = this,
- related = event.relatedTarget,
- handleObj = event.handleObj,
- selector = handleObj.selector,
- ret;
-
- // For mousenter/leave call the handler if related is outside the target.
- // NB: No relatedTarget if the mouse left/entered the browser window
- if ( !related || (related !== target && !jQuery.contains( target, related )) ) {
- event.type = handleObj.origType;
- ret = handleObj.handler.apply( this, arguments );
- event.type = fix;
- }
- return ret;
- }
- };
-});
-
-// IE submit delegation
-if ( !jQuery.support.submitBubbles ) {
-
- jQuery.event.special.submit = {
- setup: function() {
- // Only need this for delegated form submit events
- if ( jQuery.nodeName( this, "form" ) ) {
- return false;
- }
-
- // Lazy-add a submit handler when a descendant form may potentially be submitted
- jQuery.event.add( this, "click._submit keypress._submit", function( e ) {
- // Node name check avoids a VML-related crash in IE (#9807)
- var elem = e.target,
- form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined;
- if ( form && !form._submit_attached ) {
- jQuery.event.add( form, "submit._submit", function( event ) {
- event._submit_bubble = true;
- });
- form._submit_attached = true;
- }
- });
- // return undefined since we don't need an event listener
- },
-
- postDispatch: function( event ) {
- // If form was submitted by the user, bubble the event up the tree
- if ( event._submit_bubble ) {
- delete event._submit_bubble;
- if ( this.parentNode && !event.isTrigger ) {
- jQuery.event.simulate( "submit", this.parentNode, event, true );
- }
- }
- },
-
- teardown: function() {
- // Only need this for delegated form submit events
- if ( jQuery.nodeName( this, "form" ) ) {
- return false;
- }
-
- // Remove delegated handlers; cleanData eventually reaps submit handlers attached above
- jQuery.event.remove( this, "._submit" );
- }
- };
-}
-
-// IE change delegation and checkbox/radio fix
-if ( !jQuery.support.changeBubbles ) {
-
- jQuery.event.special.change = {
-
- setup: function() {
-
- if ( rformElems.test( this.nodeName ) ) {
- // IE doesn't fire change on a check/radio until blur; trigger it on click
- // after a propertychange. Eat the blur-change in special.change.handle.
- // This still fires onchange a second time for check/radio after blur.
- if ( this.type === "checkbox" || this.type === "radio" ) {
- jQuery.event.add( this, "propertychange._change", function( event ) {
- if ( event.originalEvent.propertyName === "checked" ) {
- this._just_changed = true;
- }
- });
- jQuery.event.add( this, "click._change", function( event ) {
- if ( this._just_changed && !event.isTrigger ) {
- this._just_changed = false;
- jQuery.event.simulate( "change", this, event, true );
- }
- });
- }
- return false;
- }
- // Delegated event; lazy-add a change handler on descendant inputs
- jQuery.event.add( this, "beforeactivate._change", function( e ) {
- var elem = e.target;
-
- if ( rformElems.test( elem.nodeName ) && !elem._change_attached ) {
- jQuery.event.add( elem, "change._change", function( event ) {
- if ( this.parentNode && !event.isSimulated && !event.isTrigger ) {
- jQuery.event.simulate( "change", this.parentNode, event, true );
- }
- });
- elem._change_attached = true;
- }
- });
- },
-
- handle: function( event ) {
- var elem = event.target;
-
- // Swallow native change events from checkbox/radio, we already triggered them above
- if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) {
- return event.handleObj.handler.apply( this, arguments );
- }
- },
-
- teardown: function() {
- jQuery.event.remove( this, "._change" );
-
- return rformElems.test( this.nodeName );
- }
- };
-}
-
-// Create "bubbling" focus and blur events
-if ( !jQuery.support.focusinBubbles ) {
- jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
-
- // Attach a single capturing handler while someone wants focusin/focusout
- var attaches = 0,
- handler = function( event ) {
- jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );
- };
-
- jQuery.event.special[ fix ] = {
- setup: function() {
- if ( attaches++ === 0 ) {
- document.addEventListener( orig, handler, true );
- }
- },
- teardown: function() {
- if ( --attaches === 0 ) {
- document.removeEventListener( orig, handler, true );
- }
- }
- };
- });
-}
-
-jQuery.fn.extend({
-
- on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
- var origFn, type;
-
- // Types can be a map of types/handlers
- if ( typeof types === "object" ) {
- // ( types-Object, selector, data )
- if ( typeof selector !== "string" ) { // && selector != null
- // ( types-Object, data )
- data = data || selector;
- selector = undefined;
- }
- for ( type in types ) {
- this.on( type, selector, data, types[ type ], one );
- }
- return this;
- }
-
- if ( data == null && fn == null ) {
- // ( types, fn )
- fn = selector;
- data = selector = undefined;
- } else if ( fn == null ) {
- if ( typeof selector === "string" ) {
- // ( types, selector, fn )
- fn = data;
- data = undefined;
- } else {
- // ( types, data, fn )
- fn = data;
- data = selector;
- selector = undefined;
- }
- }
- if ( fn === false ) {
- fn = returnFalse;
- } else if ( !fn ) {
- return this;
- }
-
- if ( one === 1 ) {
- origFn = fn;
- fn = function( event ) {
- // Can use an empty set, since event contains the info
- jQuery().off( event );
- return origFn.apply( this, arguments );
- };
- // Use same guid so caller can remove using origFn
- fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
- }
- return this.each( function() {
- jQuery.event.add( this, types, fn, data, selector );
- });
- },
- one: function( types, selector, data, fn ) {
- return this.on( types, selector, data, fn, 1 );
- },
- off: function( types, selector, fn ) {
- if ( types && types.preventDefault && types.handleObj ) {
- // ( event ) dispatched jQuery.Event
- var handleObj = types.handleObj;
- jQuery( types.delegateTarget ).off(
- handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
- handleObj.selector,
- handleObj.handler
- );
- return this;
- }
- if ( typeof types === "object" ) {
- // ( types-object [, selector] )
- for ( var type in types ) {
- this.off( type, selector, types[ type ] );
- }
- return this;
- }
- if ( selector === false || typeof selector === "function" ) {
- // ( types [, fn] )
- fn = selector;
- selector = undefined;
- }
- if ( fn === false ) {
- fn = returnFalse;
- }
- return this.each(function() {
- jQuery.event.remove( this, types, fn, selector );
- });
- },
-
- bind: function( types, data, fn ) {
- return this.on( types, null, data, fn );
- },
- unbind: function( types, fn ) {
- return this.off( types, null, fn );
- },
-
- live: function( types, data, fn ) {
- jQuery( this.context ).on( types, this.selector, data, fn );
- return this;
- },
- die: function( types, fn ) {
- jQuery( this.context ).off( types, this.selector || "**", fn );
- return this;
- },
-
- delegate: function( selector, types, data, fn ) {
- return this.on( types, selector, data, fn );
- },
- undelegate: function( selector, types, fn ) {
- // ( namespace ) or ( selector, types [, fn] )
- return arguments.length == 1? this.off( selector, "**" ) : this.off( types, selector, fn );
- },
-
- trigger: function( type, data ) {
- return this.each(function() {
- jQuery.event.trigger( type, data, this );
- });
- },
- triggerHandler: function( type, data ) {
- if ( this[0] ) {
- return jQuery.event.trigger( type, data, this[0], true );
- }
- },
-
- toggle: function( fn ) {
- // Save reference to arguments for access in closure
- var args = arguments,
- guid = fn.guid || jQuery.guid++,
- i = 0,
- toggler = function( event ) {
- // Figure out which function to execute
- var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i;
- jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 );
-
- // Make sure that clicks stop
- event.preventDefault();
-
- // and execute the function
- return args[ lastToggle ].apply( this, arguments ) || false;
- };
-
- // link all the functions, so any of them can unbind this click handler
- toggler.guid = guid;
- while ( i < args.length ) {
- args[ i++ ].guid = guid;
- }
-
- return this.click( toggler );
- },
-
- hover: function( fnOver, fnOut ) {
- return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
- }
-});
-
-jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " +
- "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
- "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) {
-
- // Handle event binding
- jQuery.fn[ name ] = function( data, fn ) {
- if ( fn == null ) {
- fn = data;
- data = null;
- }
-
- return arguments.length > 0 ?
- this.on( name, null, data, fn ) :
- this.trigger( name );
- };
-
- if ( jQuery.attrFn ) {
- jQuery.attrFn[ name ] = true;
- }
-
- if ( rkeyEvent.test( name ) ) {
- jQuery.event.fixHooks[ name ] = jQuery.event.keyHooks;
- }
-
- if ( rmouseEvent.test( name ) ) {
- jQuery.event.fixHooks[ name ] = jQuery.event.mouseHooks;
- }
-});
-
-
-
-/*!
- * Sizzle CSS Selector Engine
- * Copyright 2011, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- * More information: http://sizzlejs.com/
- */
-(function(){
-
-var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
- expando = "sizcache" + (Math.random() + '').replace('.', ''),
- done = 0,
- toString = Object.prototype.toString,
- hasDuplicate = false,
- baseHasDuplicate = true,
- rBackslash = /\\/g,
- rReturn = /\r\n/g,
- rNonWord = /\W/;
-
-// Here we check if the JavaScript engine is using some sort of
-// optimization where it does not always call our comparision
-// function. If that is the case, discard the hasDuplicate value.
-// Thus far that includes Google Chrome.
-[0, 0].sort(function() {
- baseHasDuplicate = false;
- return 0;
-});
-
-var Sizzle = function( selector, context, results, seed ) {
- results = results || [];
- context = context || document;
-
- var origContext = context;
-
- if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
- return [];
- }
-
- if ( !selector || typeof selector !== "string" ) {
- return results;
- }
-
- var m, set, checkSet, extra, ret, cur, pop, i,
- prune = true,
- contextXML = Sizzle.isXML( context ),
- parts = [],
- soFar = selector;
-
- // Reset the position of the chunker regexp (start from head)
- do {
- chunker.exec( "" );
- m = chunker.exec( soFar );
-
- if ( m ) {
- soFar = m[3];
-
- parts.push( m[1] );
-
- if ( m[2] ) {
- extra = m[3];
- break;
- }
- }
- } while ( m );
-
- if ( parts.length > 1 && origPOS.exec( selector ) ) {
-
- if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
- set = posProcess( parts[0] + parts[1], context, seed );
-
- } else {
- set = Expr.relative[ parts[0] ] ?
- [ context ] :
- Sizzle( parts.shift(), context );
-
- while ( parts.length ) {
- selector = parts.shift();
-
- if ( Expr.relative[ selector ] ) {
- selector += parts.shift();
- }
-
- set = posProcess( selector, set, seed );
- }
- }
-
- } else {
- // Take a shortcut and set the context if the root selector is an ID
- // (but not if it'll be faster if the inner selector is an ID)
- if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
- Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
-
- ret = Sizzle.find( parts.shift(), context, contextXML );
- context = ret.expr ?
- Sizzle.filter( ret.expr, ret.set )[0] :
- ret.set[0];
- }
-
- if ( context ) {
- ret = seed ?
- { expr: parts.pop(), set: makeArray(seed) } :
- Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
-
- set = ret.expr ?
- Sizzle.filter( ret.expr, ret.set ) :
- ret.set;
-
- if ( parts.length > 0 ) {
- checkSet = makeArray( set );
-
- } else {
- prune = false;
- }
-
- while ( parts.length ) {
- cur = parts.pop();
- pop = cur;
-
- if ( !Expr.relative[ cur ] ) {
- cur = "";
- } else {
- pop = parts.pop();
- }
-
- if ( pop == null ) {
- pop = context;
- }
-
- Expr.relative[ cur ]( checkSet, pop, contextXML );
- }
-
- } else {
- checkSet = parts = [];
- }
- }
-
- if ( !checkSet ) {
- checkSet = set;
- }
-
- if ( !checkSet ) {
- Sizzle.error( cur || selector );
- }
-
- if ( toString.call(checkSet) === "[object Array]" ) {
- if ( !prune ) {
- results.push.apply( results, checkSet );
-
- } else if ( context && context.nodeType === 1 ) {
- for ( i = 0; checkSet[i] != null; i++ ) {
- if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) {
- results.push( set[i] );
- }
- }
-
- } else {
- for ( i = 0; checkSet[i] != null; i++ ) {
- if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
- results.push( set[i] );
- }
- }
- }
-
- } else {
- makeArray( checkSet, results );
- }
-
- if ( extra ) {
- Sizzle( extra, origContext, results, seed );
- Sizzle.uniqueSort( results );
- }
-
- return results;
-};
-
-Sizzle.uniqueSort = function( results ) {
- if ( sortOrder ) {
- hasDuplicate = baseHasDuplicate;
- results.sort( sortOrder );
-
- if ( hasDuplicate ) {
- for ( var i = 1; i < results.length; i++ ) {
- if ( results[i] === results[ i - 1 ] ) {
- results.splice( i--, 1 );
- }
- }
- }
- }
-
- return results;
-};
-
-Sizzle.matches = function( expr, set ) {
- return Sizzle( expr, null, null, set );
-};
-
-Sizzle.matchesSelector = function( node, expr ) {
- return Sizzle( expr, null, null, [node] ).length > 0;
-};
-
-Sizzle.find = function( expr, context, isXML ) {
- var set, i, len, match, type, left;
-
- if ( !expr ) {
- return [];
- }
-
- for ( i = 0, len = Expr.order.length; i < len; i++ ) {
- type = Expr.order[i];
-
- if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
- left = match[1];
- match.splice( 1, 1 );
-
- if ( left.substr( left.length - 1 ) !== "\\" ) {
- match[1] = (match[1] || "").replace( rBackslash, "" );
- set = Expr.find[ type ]( match, context, isXML );
-
- if ( set != null ) {
- expr = expr.replace( Expr.match[ type ], "" );
- break;
- }
- }
- }
- }
-
- if ( !set ) {
- set = typeof context.getElementsByTagName !== "undefined" ?
- context.getElementsByTagName( "*" ) :
- [];
- }
-
- return { set: set, expr: expr };
-};
-
-Sizzle.filter = function( expr, set, inplace, not ) {
- var match, anyFound,
- type, found, item, filter, left,
- i, pass,
- old = expr,
- result = [],
- curLoop = set,
- isXMLFilter = set && set[0] && Sizzle.isXML( set[0] );
-
- while ( expr && set.length ) {
- for ( type in Expr.filter ) {
- if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {
- filter = Expr.filter[ type ];
- left = match[1];
-
- anyFound = false;
-
- match.splice(1,1);
-
- if ( left.substr( left.length - 1 ) === "\\" ) {
- continue;
- }
-
- if ( curLoop === result ) {
- result = [];
- }
-
- if ( Expr.preFilter[ type ] ) {
- match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
-
- if ( !match ) {
- anyFound = found = true;
-
- } else if ( match === true ) {
- continue;
- }
- }
-
- if ( match ) {
- for ( i = 0; (item = curLoop[i]) != null; i++ ) {
- if ( item ) {
- found = filter( item, match, i, curLoop );
- pass = not ^ found;
-
- if ( inplace && found != null ) {
- if ( pass ) {
- anyFound = true;
-
- } else {
- curLoop[i] = false;
- }
-
- } else if ( pass ) {
- result.push( item );
- anyFound = true;
- }
- }
- }
- }
-
- if ( found !== undefined ) {
- if ( !inplace ) {
- curLoop = result;
- }
-
- expr = expr.replace( Expr.match[ type ], "" );
-
- if ( !anyFound ) {
- return [];
- }
-
- break;
- }
- }
- }
-
- // Improper expression
- if ( expr === old ) {
- if ( anyFound == null ) {
- Sizzle.error( expr );
-
- } else {
- break;
- }
- }
-
- old = expr;
- }
-
- return curLoop;
-};
-
-Sizzle.error = function( msg ) {
- throw new Error( "Syntax error, unrecognized expression: " + msg );
-};
-
-/**
- * Utility function for retreiving the text value of an array of DOM nodes
- * @param {Array|Element} elem
- */
-var getText = Sizzle.getText = function( elem ) {
- var i, node,
- nodeType = elem.nodeType,
- ret = "";
-
- if ( nodeType ) {
- if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
- // Use textContent || innerText for elements
- if ( typeof elem.textContent === 'string' ) {
- return elem.textContent;
- } else if ( typeof elem.innerText === 'string' ) {
- // Replace IE's carriage returns
- return elem.innerText.replace( rReturn, '' );
- } else {
- // Traverse it's children
- for ( elem = elem.firstChild; elem; elem = elem.nextSibling) {
- ret += getText( elem );
- }
- }
- } else if ( nodeType === 3 || nodeType === 4 ) {
- return elem.nodeValue;
- }
- } else {
-
- // If no nodeType, this is expected to be an array
- for ( i = 0; (node = elem[i]); i++ ) {
- // Do not traverse comment nodes
- if ( node.nodeType !== 8 ) {
- ret += getText( node );
- }
- }
- }
- return ret;
-};
-
-var Expr = Sizzle.selectors = {
- order: [ "ID", "NAME", "TAG" ],
-
- match: {
- ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
- CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
- NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
- ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
- TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,
- CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,
- POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
- PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
- },
-
- leftMatch: {},
-
- attrMap: {
- "class": "className",
- "for": "htmlFor"
- },
-
- attrHandle: {
- href: function( elem ) {
- return elem.getAttribute( "href" );
- },
- type: function( elem ) {
- return elem.getAttribute( "type" );
- }
- },
-
- relative: {
- "+": function(checkSet, part){
- var isPartStr = typeof part === "string",
- isTag = isPartStr && !rNonWord.test( part ),
- isPartStrNotTag = isPartStr && !isTag;
-
- if ( isTag ) {
- part = part.toLowerCase();
- }
-
- for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
- if ( (elem = checkSet[i]) ) {
- while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
-
- checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
- elem || false :
- elem === part;
- }
- }
-
- if ( isPartStrNotTag ) {
- Sizzle.filter( part, checkSet, true );
- }
- },
-
- ">": function( checkSet, part ) {
- var elem,
- isPartStr = typeof part === "string",
- i = 0,
- l = checkSet.length;
-
- if ( isPartStr && !rNonWord.test( part ) ) {
- part = part.toLowerCase();
-
- for ( ; i < l; i++ ) {
- elem = checkSet[i];
-
- if ( elem ) {
- var parent = elem.parentNode;
- checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false;
- }
- }
-
- } else {
- for ( ; i < l; i++ ) {
- elem = checkSet[i];
-
- if ( elem ) {
- checkSet[i] = isPartStr ?
- elem.parentNode :
- elem.parentNode === part;
- }
- }
-
- if ( isPartStr ) {
- Sizzle.filter( part, checkSet, true );
- }
- }
- },
-
- "": function(checkSet, part, isXML){
- var nodeCheck,
- doneName = done++,
- checkFn = dirCheck;
-
- if ( typeof part === "string" && !rNonWord.test( part ) ) {
- part = part.toLowerCase();
- nodeCheck = part;
- checkFn = dirNodeCheck;
- }
-
- checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML );
- },
-
- "~": function( checkSet, part, isXML ) {
- var nodeCheck,
- doneName = done++,
- checkFn = dirCheck;
-
- if ( typeof part === "string" && !rNonWord.test( part ) ) {
- part = part.toLowerCase();
- nodeCheck = part;
- checkFn = dirNodeCheck;
- }
-
- checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML );
- }
- },
-
- find: {
- ID: function( match, context, isXML ) {
- if ( typeof context.getElementById !== "undefined" && !isXML ) {
- var m = context.getElementById(match[1]);
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- return m && m.parentNode ? [m] : [];
- }
- },
-
- NAME: function( match, context ) {
- if ( typeof context.getElementsByName !== "undefined" ) {
- var ret = [],
- results = context.getElementsByName( match[1] );
-
- for ( var i = 0, l = results.length; i < l; i++ ) {
- if ( results[i].getAttribute("name") === match[1] ) {
- ret.push( results[i] );
- }
- }
-
- return ret.length === 0 ? null : ret;
- }
- },
-
- TAG: function( match, context ) {
- if ( typeof context.getElementsByTagName !== "undefined" ) {
- return context.getElementsByTagName( match[1] );
- }
- }
- },
- preFilter: {
- CLASS: function( match, curLoop, inplace, result, not, isXML ) {
- match = " " + match[1].replace( rBackslash, "" ) + " ";
-
- if ( isXML ) {
- return match;
- }
-
- for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
- if ( elem ) {
- if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n\r]/g, " ").indexOf(match) >= 0) ) {
- if ( !inplace ) {
- result.push( elem );
- }
-
- } else if ( inplace ) {
- curLoop[i] = false;
- }
- }
- }
-
- return false;
- },
-
- ID: function( match ) {
- return match[1].replace( rBackslash, "" );
- },
-
- TAG: function( match, curLoop ) {
- return match[1].replace( rBackslash, "" ).toLowerCase();
- },
-
- CHILD: function( match ) {
- if ( match[1] === "nth" ) {
- if ( !match[2] ) {
- Sizzle.error( match[0] );
- }
-
- match[2] = match[2].replace(/^\+|\s*/g, '');
-
- // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
- var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(
- match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" ||
- !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
-
- // calculate the numbers (first)n+(last) including if they are negative
- match[2] = (test[1] + (test[2] || 1)) - 0;
- match[3] = test[3] - 0;
- }
- else if ( match[2] ) {
- Sizzle.error( match[0] );
- }
-
- // TODO: Move to normal caching system
- match[0] = done++;
-
- return match;
- },
-
- ATTR: function( match, curLoop, inplace, result, not, isXML ) {
- var name = match[1] = match[1].replace( rBackslash, "" );
-
- if ( !isXML && Expr.attrMap[name] ) {
- match[1] = Expr.attrMap[name];
- }
-
- // Handle if an un-quoted value was used
- match[4] = ( match[4] || match[5] || "" ).replace( rBackslash, "" );
-
- if ( match[2] === "~=" ) {
- match[4] = " " + match[4] + " ";
- }
-
- return match;
- },
-
- PSEUDO: function( match, curLoop, inplace, result, not ) {
- if ( match[1] === "not" ) {
- // If we're dealing with a complex expression, or a simple one
- if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
- match[3] = Sizzle(match[3], null, null, curLoop);
-
- } else {
- var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
-
- if ( !inplace ) {
- result.push.apply( result, ret );
- }
-
- return false;
- }
-
- } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
- return true;
- }
-
- return match;
- },
-
- POS: function( match ) {
- match.unshift( true );
-
- return match;
- }
- },
-
- filters: {
- enabled: function( elem ) {
- return elem.disabled === false && elem.type !== "hidden";
- },
-
- disabled: function( elem ) {
- return elem.disabled === true;
- },
-
- checked: function( elem ) {
- return elem.checked === true;
- },
-
- selected: function( elem ) {
- // Accessing this property makes selected-by-default
- // options in Safari work properly
- if ( elem.parentNode ) {
- elem.parentNode.selectedIndex;
- }
-
- return elem.selected === true;
- },
-
- parent: function( elem ) {
- return !!elem.firstChild;
- },
-
- empty: function( elem ) {
- return !elem.firstChild;
- },
-
- has: function( elem, i, match ) {
- return !!Sizzle( match[3], elem ).length;
- },
-
- header: function( elem ) {
- return (/h\d/i).test( elem.nodeName );
- },
-
- text: function( elem ) {
- var attr = elem.getAttribute( "type" ), type = elem.type;
- // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
- // use getAttribute instead to test this case
- return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null );
- },
-
- radio: function( elem ) {
- return elem.nodeName.toLowerCase() === "input" && "radio" === elem.type;
- },
-
- checkbox: function( elem ) {
- return elem.nodeName.toLowerCase() === "input" && "checkbox" === elem.type;
- },
-
- file: function( elem ) {
- return elem.nodeName.toLowerCase() === "input" && "file" === elem.type;
- },
-
- password: function( elem ) {
- return elem.nodeName.toLowerCase() === "input" && "password" === elem.type;
- },
-
- submit: function( elem ) {
- var name = elem.nodeName.toLowerCase();
- return (name === "input" || name === "button") && "submit" === elem.type;
- },
-
- image: function( elem ) {
- return elem.nodeName.toLowerCase() === "input" && "image" === elem.type;
- },
-
- reset: function( elem ) {
- var name = elem.nodeName.toLowerCase();
- return (name === "input" || name === "button") && "reset" === elem.type;
- },
-
- button: function( elem ) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && "button" === elem.type || name === "button";
- },
-
- input: function( elem ) {
- return (/input|select|textarea|button/i).test( elem.nodeName );
- },
-
- focus: function( elem ) {
- return elem === elem.ownerDocument.activeElement;
- }
- },
- setFilters: {
- first: function( elem, i ) {
- return i === 0;
- },
-
- last: function( elem, i, match, array ) {
- return i === array.length - 1;
- },
-
- even: function( elem, i ) {
- return i % 2 === 0;
- },
-
- odd: function( elem, i ) {
- return i % 2 === 1;
- },
-
- lt: function( elem, i, match ) {
- return i < match[3] - 0;
- },
-
- gt: function( elem, i, match ) {
- return i > match[3] - 0;
- },
-
- nth: function( elem, i, match ) {
- return match[3] - 0 === i;
- },
-
- eq: function( elem, i, match ) {
- return match[3] - 0 === i;
- }
- },
- filter: {
- PSEUDO: function( elem, match, i, array ) {
- var name = match[1],
- filter = Expr.filters[ name ];
-
- if ( filter ) {
- return filter( elem, i, match, array );
-
- } else if ( name === "contains" ) {
- return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0;
-
- } else if ( name === "not" ) {
- var not = match[3];
-
- for ( var j = 0, l = not.length; j < l; j++ ) {
- if ( not[j] === elem ) {
- return false;
- }
- }
-
- return true;
-
- } else {
- Sizzle.error( name );
- }
- },
-
- CHILD: function( elem, match ) {
- var first, last,
- doneName, parent, cache,
- count, diff,
- type = match[1],
- node = elem;
-
- switch ( type ) {
- case "only":
- case "first":
- while ( (node = node.previousSibling) ) {
- if ( node.nodeType === 1 ) {
- return false;
- }
- }
-
- if ( type === "first" ) {
- return true;
- }
-
- node = elem;
-
- /* falls through */
- case "last":
- while ( (node = node.nextSibling) ) {
- if ( node.nodeType === 1 ) {
- return false;
- }
- }
-
- return true;
-
- case "nth":
- first = match[2];
- last = match[3];
-
- if ( first === 1 && last === 0 ) {
- return true;
- }
-
- doneName = match[0];
- parent = elem.parentNode;
-
- if ( parent && (parent[ expando ] !== doneName || !elem.nodeIndex) ) {
- count = 0;
-
- for ( node = parent.firstChild; node; node = node.nextSibling ) {
- if ( node.nodeType === 1 ) {
- node.nodeIndex = ++count;
- }
- }
-
- parent[ expando ] = doneName;
- }
-
- diff = elem.nodeIndex - last;
-
- if ( first === 0 ) {
- return diff === 0;
-
- } else {
- return ( diff % first === 0 && diff / first >= 0 );
- }
- }
- },
-
- ID: function( elem, match ) {
- return elem.nodeType === 1 && elem.getAttribute("id") === match;
- },
-
- TAG: function( elem, match ) {
- return (match === "*" && elem.nodeType === 1) || !!elem.nodeName && elem.nodeName.toLowerCase() === match;
- },
-
- CLASS: function( elem, match ) {
- return (" " + (elem.className || elem.getAttribute("class")) + " ")
- .indexOf( match ) > -1;
- },
-
- ATTR: function( elem, match ) {
- var name = match[1],
- result = Sizzle.attr ?
- Sizzle.attr( elem, name ) :
- Expr.attrHandle[ name ] ?
- Expr.attrHandle[ name ]( elem ) :
- elem[ name ] != null ?
- elem[ name ] :
- elem.getAttribute( name ),
- value = result + "",
- type = match[2],
- check = match[4];
-
- return result == null ?
- type === "!=" :
- !type && Sizzle.attr ?
- result != null :
- type === "=" ?
- value === check :
- type === "*=" ?
- value.indexOf(check) >= 0 :
- type === "~=" ?
- (" " + value + " ").indexOf(check) >= 0 :
- !check ?
- value && result !== false :
- type === "!=" ?
- value !== check :
- type === "^=" ?
- value.indexOf(check) === 0 :
- type === "$=" ?
- value.substr(value.length - check.length) === check :
- type === "|=" ?
- value === check || value.substr(0, check.length + 1) === check + "-" :
- false;
- },
-
- POS: function( elem, match, i, array ) {
- var name = match[2],
- filter = Expr.setFilters[ name ];
-
- if ( filter ) {
- return filter( elem, i, match, array );
- }
- }
- }
-};
-
-var origPOS = Expr.match.POS,
- fescape = function(all, num){
- return "\\" + (num - 0 + 1);
- };
-
-for ( var type in Expr.match ) {
- Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) );
- Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) );
-}
-// Expose origPOS
-// "global" as in regardless of relation to brackets/parens
-Expr.match.globalPOS = origPOS;
-
-var makeArray = function( array, results ) {
- array = Array.prototype.slice.call( array, 0 );
-
- if ( results ) {
- results.push.apply( results, array );
- return results;
- }
-
- return array;
-};
-
-// Perform a simple check to determine if the browser is capable of
-// converting a NodeList to an array using builtin methods.
-// Also verifies that the returned array holds DOM nodes
-// (which is not the case in the Blackberry browser)
-try {
- Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;
-
-// Provide a fallback method if it does not work
-} catch( e ) {
- makeArray = function( array, results ) {
- var i = 0,
- ret = results || [];
-
- if ( toString.call(array) === "[object Array]" ) {
- Array.prototype.push.apply( ret, array );
-
- } else {
- if ( typeof array.length === "number" ) {
- for ( var l = array.length; i < l; i++ ) {
- ret.push( array[i] );
- }
-
- } else {
- for ( ; array[i]; i++ ) {
- ret.push( array[i] );
- }
- }
- }
-
- return ret;
- };
-}
-
-var sortOrder, siblingCheck;
-
-if ( document.documentElement.compareDocumentPosition ) {
- sortOrder = function( a, b ) {
- if ( a === b ) {
- hasDuplicate = true;
- return 0;
- }
-
- if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) {
- return a.compareDocumentPosition ? -1 : 1;
- }
-
- return a.compareDocumentPosition(b) & 4 ? -1 : 1;
- };
-
-} else {
- sortOrder = function( a, b ) {
- // The nodes are identical, we can exit early
- if ( a === b ) {
- hasDuplicate = true;
- return 0;
-
- // Fallback to using sourceIndex (in IE) if it's available on both nodes
- } else if ( a.sourceIndex && b.sourceIndex ) {
- return a.sourceIndex - b.sourceIndex;
- }
-
- var al, bl,
- ap = [],
- bp = [],
- aup = a.parentNode,
- bup = b.parentNode,
- cur = aup;
-
- // If the nodes are siblings (or identical) we can do a quick check
- if ( aup === bup ) {
- return siblingCheck( a, b );
-
- // If no parents were found then the nodes are disconnected
- } else if ( !aup ) {
- return -1;
-
- } else if ( !bup ) {
- return 1;
- }
-
- // Otherwise they're somewhere else in the tree so we need
- // to build up a full list of the parentNodes for comparison
- while ( cur ) {
- ap.unshift( cur );
- cur = cur.parentNode;
- }
-
- cur = bup;
-
- while ( cur ) {
- bp.unshift( cur );
- cur = cur.parentNode;
- }
-
- al = ap.length;
- bl = bp.length;
-
- // Start walking down the tree looking for a discrepancy
- for ( var i = 0; i < al && i < bl; i++ ) {
- if ( ap[i] !== bp[i] ) {
- return siblingCheck( ap[i], bp[i] );
- }
- }
-
- // We ended someplace up the tree so do a sibling check
- return i === al ?
- siblingCheck( a, bp[i], -1 ) :
- siblingCheck( ap[i], b, 1 );
- };
-
- siblingCheck = function( a, b, ret ) {
- if ( a === b ) {
- return ret;
- }
-
- var cur = a.nextSibling;
-
- while ( cur ) {
- if ( cur === b ) {
- return -1;
- }
-
- cur = cur.nextSibling;
- }
-
- return 1;
- };
-}
-
-// Check to see if the browser returns elements by name when
-// querying by getElementById (and provide a workaround)
-(function(){
- // We're going to inject a fake input element with a specified name
- var form = document.createElement("div"),
- id = "script" + (new Date()).getTime(),
- root = document.documentElement;
-
- form.innerHTML = "<a name='" + id + "'/>";
-
- // Inject it into the root element, check its status, and remove it quickly
- root.insertBefore( form, root.firstChild );
-
- // The workaround has to do additional checks after a getElementById
- // Which slows things down for other browsers (hence the branching)
- if ( document.getElementById( id ) ) {
- Expr.find.ID = function( match, context, isXML ) {
- if ( typeof context.getElementById !== "undefined" && !isXML ) {
- var m = context.getElementById(match[1]);
-
- return m ?
- m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ?
- [m] :
- undefined :
- [];
- }
- };
-
- Expr.filter.ID = function( elem, match ) {
- var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
-
- return elem.nodeType === 1 && node && node.nodeValue === match;
- };
- }
-
- root.removeChild( form );
-
- // release memory in IE
- root = form = null;
-})();
-
-(function(){
- // Check to see if the browser returns only elements
- // when doing getElementsByTagName("*")
-
- // Create a fake element
- var div = document.createElement("div");
- div.appendChild( document.createComment("") );
-
- // Make sure no comments are found
- if ( div.getElementsByTagName("*").length > 0 ) {
- Expr.find.TAG = function( match, context ) {
- var results = context.getElementsByTagName( match[1] );
-
- // Filter out possible comments
- if ( match[1] === "*" ) {
- var tmp = [];
-
- for ( var i = 0; results[i]; i++ ) {
- if ( results[i].nodeType === 1 ) {
- tmp.push( results[i] );
- }
- }
-
- results = tmp;
- }
-
- return results;
- };
- }
-
- // Check to see if an attribute returns normalized href attributes
- div.innerHTML = "<a href='#'></a>";
-
- if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
- div.firstChild.getAttribute("href") !== "#" ) {
-
- Expr.attrHandle.href = function( elem ) {
- return elem.getAttribute( "href", 2 );
- };
- }
-
- // release memory in IE
- div = null;
-})();
-
-if ( document.querySelectorAll ) {
- (function(){
- var oldSizzle = Sizzle,
- div = document.createElement("div"),
- id = "__sizzle__";
-
- div.innerHTML = "<p class='TEST'></p>";
-
- // Safari can't handle uppercase or unicode characters when
- // in quirks mode.
- if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
- return;
- }
-
- Sizzle = function( query, context, extra, seed ) {
- context = context || document;
-
- // Only use querySelectorAll on non-XML documents
- // (ID selectors don't work in non-HTML documents)
- if ( !seed && !Sizzle.isXML(context) ) {
- // See if we find a selector to speed up
- var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query );
-
- if ( match && (context.nodeType === 1 || context.nodeType === 9) ) {
- // Speed-up: Sizzle("TAG")
- if ( match[1] ) {
- return makeArray( context.getElementsByTagName( query ), extra );
-
- // Speed-up: Sizzle(".CLASS")
- } else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) {
- return makeArray( context.getElementsByClassName( match[2] ), extra );
- }
- }
-
- if ( context.nodeType === 9 ) {
- // Speed-up: Sizzle("body")
- // The body element only exists once, optimize finding it
- if ( query === "body" && context.body ) {
- return makeArray( [ context.body ], extra );
-
- // Speed-up: Sizzle("#ID")
- } else if ( match && match[3] ) {
- var elem = context.getElementById( match[3] );
-
- // Check parentNode to catch when Blackberry 4.6 returns
- // nodes that are no longer in the document #6963
- if ( elem && elem.parentNode ) {
- // Handle the case where IE and Opera return items
- // by name instead of ID
- if ( elem.id === match[3] ) {
- return makeArray( [ elem ], extra );
- }
-
- } else {
- return makeArray( [], extra );
- }
- }
-
- try {
- return makeArray( context.querySelectorAll(query), extra );
- } catch(qsaError) {}
-
- // qSA works strangely on Element-rooted queries
- // We can work around this by specifying an extra ID on the root
- // and working up from there (Thanks to Andrew Dupont for the technique)
- // IE 8 doesn't work on object elements
- } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
- var oldContext = context,
- old = context.getAttribute( "id" ),
- nid = old || id,
- hasParent = context.parentNode,
- relativeHierarchySelector = /^\s*[+~]/.test( query );
-
- if ( !old ) {
- context.setAttribute( "id", nid );
- } else {
- nid = nid.replace( /'/g, "\\$&" );
- }
- if ( relativeHierarchySelector && hasParent ) {
- context = context.parentNode;
- }
-
- try {
- if ( !relativeHierarchySelector || hasParent ) {
- return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
- }
-
- } catch(pseudoError) {
- } finally {
- if ( !old ) {
- oldContext.removeAttribute( "id" );
- }
- }
- }
- }
-
- return oldSizzle(query, context, extra, seed);
- };
-
- for ( var prop in oldSizzle ) {
- Sizzle[ prop ] = oldSizzle[ prop ];
- }
-
- // release memory in IE
- div = null;
- })();
-}
-
-(function(){
- var html = document.documentElement,
- matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector;
-
- if ( matches ) {
- // Check to see if it's possible to do matchesSelector
- // on a disconnected node (IE 9 fails this)
- var disconnectedMatch = !matches.call( document.createElement( "div" ), "div" ),
- pseudoWorks = false;
-
- try {
- // This should fail with an exception
- // Gecko does not error, returns false instead
- matches.call( document.documentElement, "[test!='']:sizzle" );
-
- } catch( pseudoError ) {
- pseudoWorks = true;
- }
-
- Sizzle.matchesSelector = function( node, expr ) {
- // Make sure that attribute selectors are quoted
- expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
-
- if ( !Sizzle.isXML( node ) ) {
- try {
- if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) {
- var ret = matches.call( node, expr );
-
- // IE 9's matchesSelector returns false on disconnected nodes
- if ( ret || !disconnectedMatch ||
- // As well, disconnected nodes are said to be in a document
- // fragment in IE 9, so check for that
- node.document && node.document.nodeType !== 11 ) {
- return ret;
- }
- }
- } catch(e) {}
- }
-
- return Sizzle(expr, null, null, [node]).length > 0;
- };
- }
-})();
-
-(function(){
- var div = document.createElement("div");
-
- div.innerHTML = "<div class='test e'></div><div class='test'></div>";
-
- // Opera can't find a second classname (in 9.6)
- // Also, make sure that getElementsByClassName actually exists
- if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) {
- return;
- }
-
- // Safari caches class attributes, doesn't catch changes (in 3.2)
- div.lastChild.className = "e";
-
- if ( div.getElementsByClassName("e").length === 1 ) {
- return;
- }
-
- Expr.order.splice(1, 0, "CLASS");
- Expr.find.CLASS = function( match, context, isXML ) {
- if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
- return context.getElementsByClassName(match[1]);
- }
- };
-
- // release memory in IE
- div = null;
-})();
-
-function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
-
- if ( elem ) {
- var match = false;
-
- elem = elem[dir];
-
- while ( elem ) {
- if ( elem[ expando ] === doneName ) {
- match = checkSet[elem.sizset];
- break;
- }
-
- if ( elem.nodeType === 1 && !isXML ){
- elem[ expando ] = doneName;
- elem.sizset = i;
- }
-
- if ( elem.nodeName.toLowerCase() === cur ) {
- match = elem;
- break;
- }
-
- elem = elem[dir];
- }
-
- checkSet[i] = match;
- }
- }
-}
-
-function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
-
- if ( elem ) {
- var match = false;
-
- elem = elem[dir];
-
- while ( elem ) {
- if ( elem[ expando ] === doneName ) {
- match = checkSet[elem.sizset];
- break;
- }
-
- if ( elem.nodeType === 1 ) {
- if ( !isXML ) {
- elem[ expando ] = doneName;
- elem.sizset = i;
- }
-
- if ( typeof cur !== "string" ) {
- if ( elem === cur ) {
- match = true;
- break;
- }
-
- } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {
- match = elem;
- break;
- }
- }
-
- elem = elem[dir];
- }
-
- checkSet[i] = match;
- }
- }
-}
-
-if ( document.documentElement.contains ) {
- Sizzle.contains = function( a, b ) {
- return a !== b && (a.contains ? a.contains(b) : true);
- };
-
-} else if ( document.documentElement.compareDocumentPosition ) {
- Sizzle.contains = function( a, b ) {
- return !!(a.compareDocumentPosition(b) & 16);
- };
-
-} else {
- Sizzle.contains = function() {
- return false;
- };
-}
-
-Sizzle.isXML = function( elem ) {
- // documentElement is verified for cases where it doesn't yet exist
- // (such as loading iframes in IE - #4833)
- var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
-
- return documentElement ? documentElement.nodeName !== "HTML" : false;
-};
-
-var posProcess = function( selector, context, seed ) {
- var match,
- tmpSet = [],
- later = "",
- root = context.nodeType ? [context] : context;
-
- // Position selectors must be done after the filter
- // And so must :not(positional) so we move all PSEUDOs to the end
- while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
- later += match[0];
- selector = selector.replace( Expr.match.PSEUDO, "" );
- }
-
- selector = Expr.relative[selector] ? selector + "*" : selector;
-
- for ( var i = 0, l = root.length; i < l; i++ ) {
- Sizzle( selector, root[i], tmpSet, seed );
- }
-
- return Sizzle.filter( later, tmpSet );
-};
-
-// EXPOSE
-// Override sizzle attribute retrieval
-Sizzle.attr = jQuery.attr;
-Sizzle.selectors.attrMap = {};
-jQuery.find = Sizzle;
-jQuery.expr = Sizzle.selectors;
-jQuery.expr[":"] = jQuery.expr.filters;
-jQuery.unique = Sizzle.uniqueSort;
-jQuery.text = Sizzle.getText;
-jQuery.isXMLDoc = Sizzle.isXML;
-jQuery.contains = Sizzle.contains;
-
-
-})();
-
-
-var runtil = /Until$/,
- rparentsprev = /^(?:parents|prevUntil|prevAll)/,
- // Note: This RegExp should be improved, or likely pulled from Sizzle
- rmultiselector = /,/,
- isSimple = /^.[^:#\[\.,]*$/,
- slice = Array.prototype.slice,
- POS = jQuery.expr.match.globalPOS,
- // methods guaranteed to produce a unique set when starting from a unique set
- guaranteedUnique = {
- children: true,
- contents: true,
- next: true,
- prev: true
- };
-
-jQuery.fn.extend({
- find: function( selector ) {
- var self = this,
- i, l;
-
- if ( typeof selector !== "string" ) {
- return jQuery( selector ).filter(function() {
- for ( i = 0, l = self.length; i < l; i++ ) {
- if ( jQuery.contains( self[ i ], this ) ) {
- return true;
- }
- }
- });
- }
-
- var ret = this.pushStack( "", "find", selector ),
- length, n, r;
-
- for ( i = 0, l = this.length; i < l; i++ ) {
- length = ret.length;
- jQuery.find( selector, this[i], ret );
-
- if ( i > 0 ) {
- // Make sure that the results are unique
- for ( n = length; n < ret.length; n++ ) {
- for ( r = 0; r < length; r++ ) {
- if ( ret[r] === ret[n] ) {
- ret.splice(n--, 1);
- break;
- }
- }
- }
- }
- }
-
- return ret;
- },
-
- has: function( target ) {
- var targets = jQuery( target );
- return this.filter(function() {
- for ( var i = 0, l = targets.length; i < l; i++ ) {
- if ( jQuery.contains( this, targets[i] ) ) {
- return true;
- }
- }
- });
- },
-
- not: function( selector ) {
- return this.pushStack( winnow(this, selector, false), "not", selector);
- },
-
- filter: function( selector ) {
- return this.pushStack( winnow(this, selector, true), "filter", selector );
- },
-
- is: function( selector ) {
- return !!selector && (
- typeof selector === "string" ?
- // If this is a positional selector, check membership in the returned set
- // so $("p:first").is("p:last") won't return true for a doc with two "p".
- POS.test( selector ) ?
- jQuery( selector, this.context ).index( this[0] ) >= 0 :
- jQuery.filter( selector, this ).length > 0 :
- this.filter( selector ).length > 0 );
- },
-
- closest: function( selectors, context ) {
- var ret = [], i, l, cur = this[0];
-
- // Array (deprecated as of jQuery 1.7)
- if ( jQuery.isArray( selectors ) ) {
- var level = 1;
-
- while ( cur && cur.ownerDocument && cur !== context ) {
- for ( i = 0; i < selectors.length; i++ ) {
-
- if ( jQuery( cur ).is( selectors[ i ] ) ) {
- ret.push({ selector: selectors[ i ], elem: cur, level: level });
- }
- }
-
- cur = cur.parentNode;
- level++;
- }
-
- return ret;
- }
-
- // String
- var pos = POS.test( selectors ) || typeof selectors !== "string" ?
- jQuery( selectors, context || this.context ) :
- 0;
-
- for ( i = 0, l = this.length; i < l; i++ ) {
- cur = this[i];
-
- while ( cur ) {
- if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) {
- ret.push( cur );
- break;
-
- } else {
- cur = cur.parentNode;
- if ( !cur || !cur.ownerDocument || cur === context || cur.nodeType === 11 ) {
- break;
- }
- }
- }
- }
-
- ret = ret.length > 1 ? jQuery.unique( ret ) : ret;
-
- return this.pushStack( ret, "closest", selectors );
- },
-
- // Determine the position of an element within
- // the matched set of elements
- index: function( elem ) {
-
- // No argument, return index in parent
- if ( !elem ) {
- return ( this[0] && this[0].parentNode ) ? this.prevAll().length : -1;
- }
-
- // index in selector
- if ( typeof elem === "string" ) {
- return jQuery.inArray( this[0], jQuery( elem ) );
- }
-
- // Locate the position of the desired element
- return jQuery.inArray(
- // If it receives a jQuery object, the first element is used
- elem.jquery ? elem[0] : elem, this );
- },
-
- add: function( selector, context ) {
- var set = typeof selector === "string" ?
- jQuery( selector, context ) :
- jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ),
- all = jQuery.merge( this.get(), set );
-
- return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ?
- all :
- jQuery.unique( all ) );
- },
-
- andSelf: function() {
- return this.add( this.prevObject );
- }
-});
-
-// A painfully simple check to see if an element is disconnected
-// from a document (should be improved, where feasible).
-function isDisconnected( node ) {
- return !node || !node.parentNode || node.parentNode.nodeType === 11;
-}
-
-jQuery.each({
- parent: function( elem ) {
- var parent = elem.parentNode;
- return parent && parent.nodeType !== 11 ? parent : null;
- },
- parents: function( elem ) {
- return jQuery.dir( elem, "parentNode" );
- },
- parentsUntil: function( elem, i, until ) {
- return jQuery.dir( elem, "parentNode", until );
- },
- next: function( elem ) {
- return jQuery.nth( elem, 2, "nextSibling" );
- },
- prev: function( elem ) {
- return jQuery.nth( elem, 2, "previousSibling" );
- },
- nextAll: function( elem ) {
- return jQuery.dir( elem, "nextSibling" );
- },
- prevAll: function( elem ) {
- return jQuery.dir( elem, "previousSibling" );
- },
- nextUntil: function( elem, i, until ) {
- return jQuery.dir( elem, "nextSibling", until );
- },
- prevUntil: function( elem, i, until ) {
- return jQuery.dir( elem, "previousSibling", until );
- },
- siblings: function( elem ) {
- return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );
- },
- children: function( elem ) {
- return jQuery.sibling( elem.firstChild );
- },
- contents: function( elem ) {
- return jQuery.nodeName( elem, "iframe" ) ?
- elem.contentDocument || elem.contentWindow.document :
- jQuery.makeArray( elem.childNodes );
- }
-}, function( name, fn ) {
- jQuery.fn[ name ] = function( until, selector ) {
- var ret = jQuery.map( this, fn, until );
-
- if ( !runtil.test( name ) ) {
- selector = until;
- }
-
- if ( selector && typeof selector === "string" ) {
- ret = jQuery.filter( selector, ret );
- }
-
- ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret;
-
- if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) {
- ret = ret.reverse();
- }
-
- return this.pushStack( ret, name, slice.call( arguments ).join(",") );
- };
-});
-
-jQuery.extend({
- filter: function( expr, elems, not ) {
- if ( not ) {
- expr = ":not(" + expr + ")";
- }
-
- return elems.length === 1 ?
- jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] :
- jQuery.find.matches(expr, elems);
- },
-
- dir: function( elem, dir, until ) {
- var matched = [],
- cur = elem[ dir ];
-
- while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {
- if ( cur.nodeType === 1 ) {
- matched.push( cur );
- }
- cur = cur[dir];
- }
- return matched;
- },
-
- nth: function( cur, result, dir, elem ) {
- result = result || 1;
- var num = 0;
-
- for ( ; cur; cur = cur[dir] ) {
- if ( cur.nodeType === 1 && ++num === result ) {
- break;
- }
- }
-
- return cur;
- },
-
- sibling: function( n, elem ) {
- var r = [];
-
- for ( ; n; n = n.nextSibling ) {
- if ( n.nodeType === 1 && n !== elem ) {
- r.push( n );
- }
- }
-
- return r;
- }
-});
-
-// Implement the identical functionality for filter and not
-function winnow( elements, qualifier, keep ) {
-
- // Can't pass null or undefined to indexOf in Firefox 4
- // Set to 0 to skip string check
- qualifier = qualifier || 0;
-
- if ( jQuery.isFunction( qualifier ) ) {
- return jQuery.grep(elements, function( elem, i ) {
- var retVal = !!qualifier.call( elem, i, elem );
- return retVal === keep;
- });
-
- } else if ( qualifier.nodeType ) {
- return jQuery.grep(elements, function( elem, i ) {
- return ( elem === qualifier ) === keep;
- });
-
- } else if ( typeof qualifier === "string" ) {
- var filtered = jQuery.grep(elements, function( elem ) {
- return elem.nodeType === 1;
- });
-
- if ( isSimple.test( qualifier ) ) {
- return jQuery.filter(qualifier, filtered, !keep);
- } else {
- qualifier = jQuery.filter( qualifier, filtered );
- }
- }
-
- return jQuery.grep(elements, function( elem, i ) {
- return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep;
- });
-}
-
-
-
-
-function createSafeFragment( document ) {
- var list = nodeNames.split( "|" ),
- safeFrag = document.createDocumentFragment();
-
- if ( safeFrag.createElement ) {
- while ( list.length ) {
- safeFrag.createElement(
- list.pop()
- );
- }
- }
- return safeFrag;
-}
-
-var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
- "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
- rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
- rleadingWhitespace = /^\s+/,
- rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
- rtagName = /<([\w:]+)/,
- rtbody = /<tbody/i,
- rhtml = /<|&#?\w+;/,
- rnoInnerhtml = /<(?:script|style)/i,
- rnocache = /<(?:script|object|embed|option|style)/i,
- rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
- // checked="checked" or checked
- rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
- rscriptType = /\/(java|ecma)script/i,
- rcleanScript = /^\s*<!(?:\[CDATA\[|\-\-)/,
- wrapMap = {
- option: [ 1, "<select multiple='multiple'>", "</select>" ],
- legend: [ 1, "<fieldset>", "</fieldset>" ],
- thead: [ 1, "<table>", "</table>" ],
- tr: [ 2, "<table><tbody>", "</tbody></table>" ],
- td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
- col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
- area: [ 1, "<map>", "</map>" ],
- _default: [ 0, "", "" ]
- },
- safeFragment = createSafeFragment( document );
-
-wrapMap.optgroup = wrapMap.option;
-wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
-wrapMap.th = wrapMap.td;
-
-// IE can't serialize <link> and <script> tags normally
-if ( !jQuery.support.htmlSerialize ) {
- wrapMap._default = [ 1, "div<div>", "</div>" ];
-}
-
-jQuery.fn.extend({
- text: function( value ) {
- return jQuery.access( this, function( value ) {
- return value === undefined ?
- jQuery.text( this ) :
- this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) );
- }, null, value, arguments.length );
- },
-
- wrapAll: function( html ) {
- if ( jQuery.isFunction( html ) ) {
- return this.each(function(i) {
- jQuery(this).wrapAll( html.call(this, i) );
- });
- }
-
- if ( this[0] ) {
- // The elements to wrap the target around
- var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true);
-
- if ( this[0].parentNode ) {
- wrap.insertBefore( this[0] );
- }
-
- wrap.map(function() {
- var elem = this;
-
- while ( elem.firstChild && elem.firstChild.nodeType === 1 ) {
- elem = elem.firstChild;
- }
-
- return elem;
- }).append( this );
- }
-
- return this;
- },
-
- wrapInner: function( html ) {
- if ( jQuery.isFunction( html ) ) {
- return this.each(function(i) {
- jQuery(this).wrapInner( html.call(this, i) );
- });
- }
-
- return this.each(function() {
- var self = jQuery( this ),
- contents = self.contents();
-
- if ( contents.length ) {
- contents.wrapAll( html );
-
- } else {
- self.append( html );
- }
- });
- },
-
- wrap: function( html ) {
- var isFunction = jQuery.isFunction( html );
-
- return this.each(function(i) {
- jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );
- });
- },
-
- unwrap: function() {
- return this.parent().each(function() {
- if ( !jQuery.nodeName( this, "body" ) ) {
- jQuery( this ).replaceWith( this.childNodes );
- }
- }).end();
- },
-
- append: function() {
- return this.domManip(arguments, true, function( elem ) {
- if ( this.nodeType === 1 ) {
- this.appendChild( elem );
- }
- });
- },
-
- prepend: function() {
- return this.domManip(arguments, true, function( elem ) {
- if ( this.nodeType === 1 ) {
- this.insertBefore( elem, this.firstChild );
- }
- });
- },
-
- before: function() {
- if ( this[0] && this[0].parentNode ) {
- return this.domManip(arguments, false, function( elem ) {
- this.parentNode.insertBefore( elem, this );
- });
- } else if ( arguments.length ) {
- var set = jQuery.clean( arguments );
- set.push.apply( set, this.toArray() );
- return this.pushStack( set, "before", arguments );
- }
- },
-
- after: function() {
- if ( this[0] && this[0].parentNode ) {
- return this.domManip(arguments, false, function( elem ) {
- this.parentNode.insertBefore( elem, this.nextSibling );
- });
- } else if ( arguments.length ) {
- var set = this.pushStack( this, "after", arguments );
- set.push.apply( set, jQuery.clean(arguments) );
- return set;
- }
- },
-
- // keepData is for internal use only--do not document
- remove: function( selector, keepData ) {
- for ( var i = 0, elem; (elem = this[i]) != null; i++ ) {
- if ( !selector || jQuery.filter( selector, [ elem ] ).length ) {
- if ( !keepData && elem.nodeType === 1 ) {
- jQuery.cleanData( elem.getElementsByTagName("*") );
- jQuery.cleanData( [ elem ] );
- }
-
- if ( elem.parentNode ) {
- elem.parentNode.removeChild( elem );
- }
- }
- }
-
- return this;
- },
-
- empty: function() {
- for ( var i = 0, elem; (elem = this[i]) != null; i++ ) {
- // Remove element nodes and prevent memory leaks
- if ( elem.nodeType === 1 ) {
- jQuery.cleanData( elem.getElementsByTagName("*") );
- }
-
- // Remove any remaining nodes
- while ( elem.firstChild ) {
- elem.removeChild( elem.firstChild );
- }
- }
-
- return this;
- },
-
- clone: function( dataAndEvents, deepDataAndEvents ) {
- dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
- deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
-
- return this.map( function () {
- return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
- });
- },
-
- html: function( value ) {
- return jQuery.access( this, function( value ) {
- var elem = this[0] || {},
- i = 0,
- l = this.length;
-
- if ( value === undefined ) {
- return elem.nodeType === 1 ?
- elem.innerHTML.replace( rinlinejQuery, "" ) :
- null;
- }
-
-
- if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
- ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
- !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) {
-
- value = value.replace( rxhtmlTag, "<$1></$2>" );
-
- try {
- for (; i < l; i++ ) {
- // Remove element nodes and prevent memory leaks
- elem = this[i] || {};
- if ( elem.nodeType === 1 ) {
- jQuery.cleanData( elem.getElementsByTagName( "*" ) );
- elem.innerHTML = value;
- }
- }
-
- elem = 0;
-
- // If using innerHTML throws an exception, use the fallback method
- } catch(e) {}
- }
-
- if ( elem ) {
- this.empty().append( value );
- }
- }, null, value, arguments.length );
- },
-
- replaceWith: function( value ) {
- if ( this[0] && this[0].parentNode ) {
- // Make sure that the elements are removed from the DOM before they are inserted
- // this can help fix replacing a parent with child elements
- if ( jQuery.isFunction( value ) ) {
- return this.each(function(i) {
- var self = jQuery(this), old = self.html();
- self.replaceWith( value.call( this, i, old ) );
- });
- }
-
- if ( typeof value !== "string" ) {
- value = jQuery( value ).detach();
- }
-
- return this.each(function() {
- var next = this.nextSibling,
- parent = this.parentNode;
-
- jQuery( this ).remove();
-
- if ( next ) {
- jQuery(next).before( value );
- } else {
- jQuery(parent).append( value );
- }
- });
- } else {
- return this.length ?
- this.pushStack( jQuery(jQuery.isFunction(value) ? value() : value), "replaceWith", value ) :
- this;
- }
- },
-
- detach: function( selector ) {
- return this.remove( selector, true );
- },
-
- domManip: function( args, table, callback ) {
- var results, first, fragment, parent,
- value = args[0],
- scripts = [];
-
- // We can't cloneNode fragments that contain checked, in WebKit
- if ( !jQuery.support.checkClone && arguments.length === 3 && typeof value === "string" && rchecked.test( value ) ) {
- return this.each(function() {
- jQuery(this).domManip( args, table, callback, true );
- });
- }
-
- if ( jQuery.isFunction(value) ) {
- return this.each(function(i) {
- var self = jQuery(this);
- args[0] = value.call(this, i, table ? self.html() : undefined);
- self.domManip( args, table, callback );
- });
- }
-
- if ( this[0] ) {
- parent = value && value.parentNode;
-
- // If we're in a fragment, just use that instead of building a new one
- if ( jQuery.support.parentNode && parent && parent.nodeType === 11 && parent.childNodes.length === this.length ) {
- results = { fragment: parent };
-
- } else {
- results = jQuery.buildFragment( args, this, scripts );
- }
-
- fragment = results.fragment;
-
- if ( fragment.childNodes.length === 1 ) {
- first = fragment = fragment.firstChild;
- } else {
- first = fragment.firstChild;
- }
-
- if ( first ) {
- table = table && jQuery.nodeName( first, "tr" );
-
- for ( var i = 0, l = this.length, lastIndex = l - 1; i < l; i++ ) {
- callback.call(
- table ?
- root(this[i], first) :
- this[i],
- // Make sure that we do not leak memory by inadvertently discarding
- // the original fragment (which might have attached data) instead of
- // using it; in addition, use the original fragment object for the last
- // item instead of first because it can end up being emptied incorrectly
- // in certain situations (Bug #8070).
- // Fragments from the fragment cache must always be cloned and never used
- // in place.
- results.cacheable || ( l > 1 && i < lastIndex ) ?
- jQuery.clone( fragment, true, true ) :
- fragment
- );
- }
- }
-
- if ( scripts.length ) {
- jQuery.each( scripts, function( i, elem ) {
- if ( elem.src ) {
- jQuery.ajax({
- type: "GET",
- global: false,
- url: elem.src,
- async: false,
- dataType: "script"
- });
- } else {
- jQuery.globalEval( ( elem.text || elem.textContent || elem.innerHTML || "" ).replace( rcleanScript, "/*$0*/" ) );
- }
-
- if ( elem.parentNode ) {
- elem.parentNode.removeChild( elem );
- }
- });
- }
- }
-
- return this;
- }
-});
-
-function root( elem, cur ) {
- return jQuery.nodeName(elem, "table") ?
- (elem.getElementsByTagName("tbody")[0] ||
- elem.appendChild(elem.ownerDocument.createElement("tbody"))) :
- elem;
-}
-
-function cloneCopyEvent( src, dest ) {
-
- if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {
- return;
- }
-
- var type, i, l,
- oldData = jQuery._data( src ),
- curData = jQuery._data( dest, oldData ),
- events = oldData.events;
-
- if ( events ) {
- delete curData.handle;
- curData.events = {};
-
- for ( type in events ) {
- for ( i = 0, l = events[ type ].length; i < l; i++ ) {
- jQuery.event.add( dest, type, events[ type ][ i ] );
- }
- }
- }
-
- // make the cloned public data object a copy from the original
- if ( curData.data ) {
- curData.data = jQuery.extend( {}, curData.data );
- }
-}
-
-function cloneFixAttributes( src, dest ) {
- var nodeName;
-
- // We do not need to do anything for non-Elements
- if ( dest.nodeType !== 1 ) {
- return;
- }
-
- // clearAttributes removes the attributes, which we don't want,
- // but also removes the attachEvent events, which we *do* want
- if ( dest.clearAttributes ) {
- dest.clearAttributes();
- }
-
- // mergeAttributes, in contrast, only merges back on the
- // original attributes, not the events
- if ( dest.mergeAttributes ) {
- dest.mergeAttributes( src );
- }
-
- nodeName = dest.nodeName.toLowerCase();
-
- // IE6-8 fail to clone children inside object elements that use
- // the proprietary classid attribute value (rather than the type
- // attribute) to identify the type of content to display
- if ( nodeName === "object" ) {
- dest.outerHTML = src.outerHTML;
-
- } else if ( nodeName === "input" && (src.type === "checkbox" || src.type === "radio") ) {
- // IE6-8 fails to persist the checked state of a cloned checkbox
- // or radio button. Worse, IE6-7 fail to give the cloned element
- // a checked appearance if the defaultChecked value isn't also set
- if ( src.checked ) {
- dest.defaultChecked = dest.checked = src.checked;
- }
-
- // IE6-7 get confused and end up setting the value of a cloned
- // checkbox/radio button to an empty string instead of "on"
- if ( dest.value !== src.value ) {
- dest.value = src.value;
- }
-
- // IE6-8 fails to return the selected option to the default selected
- // state when cloning options
- } else if ( nodeName === "option" ) {
- dest.selected = src.defaultSelected;
-
- // IE6-8 fails to set the defaultValue to the correct value when
- // cloning other types of input fields
- } else if ( nodeName === "input" || nodeName === "textarea" ) {
- dest.defaultValue = src.defaultValue;
-
- // IE blanks contents when cloning scripts
- } else if ( nodeName === "script" && dest.text !== src.text ) {
- dest.text = src.text;
- }
-
- // Event data gets referenced instead of copied if the expando
- // gets copied too
- dest.removeAttribute( jQuery.expando );
-
- // Clear flags for bubbling special change/submit events, they must
- // be reattached when the newly cloned events are first activated
- dest.removeAttribute( "_submit_attached" );
- dest.removeAttribute( "_change_attached" );
-}
-
-jQuery.buildFragment = function( args, nodes, scripts ) {
- var fragment, cacheable, cacheresults, doc,
- first = args[ 0 ];
-
- // nodes may contain either an explicit document object,
- // a jQuery collection or context object.
- // If nodes[0] contains a valid object to assign to doc
- if ( nodes && nodes[0] ) {
- doc = nodes[0].ownerDocument || nodes[0];
- }
-
- // Ensure that an attr object doesn't incorrectly stand in as a document object
- // Chrome and Firefox seem to allow this to occur and will throw exception
- // Fixes #8950
- if ( !doc.createDocumentFragment ) {
- doc = document;
- }
-
- // Only cache "small" (1/2 KB) HTML strings that are associated with the main document
- // Cloning options loses the selected state, so don't cache them
- // IE 6 doesn't like it when you put <object> or <embed> elements in a fragment
- // Also, WebKit does not clone 'checked' attributes on cloneNode, so don't cache
- // Lastly, IE6,7,8 will not correctly reuse cached fragments that were created from unknown elems #10501
- if ( args.length === 1 && typeof first === "string" && first.length < 512 && doc === document &&
- first.charAt(0) === "<" && !rnocache.test( first ) &&
- (jQuery.support.checkClone || !rchecked.test( first )) &&
- (jQuery.support.html5Clone || !rnoshimcache.test( first )) ) {
-
- cacheable = true;
-
- cacheresults = jQuery.fragments[ first ];
- if ( cacheresults && cacheresults !== 1 ) {
- fragment = cacheresults;
- }
- }
-
- if ( !fragment ) {
- fragment = doc.createDocumentFragment();
- jQuery.clean( args, doc, fragment, scripts );
- }
-
- if ( cacheable ) {
- jQuery.fragments[ first ] = cacheresults ? fragment : 1;
- }
-
- return { fragment: fragment, cacheable: cacheable };
-};
-
-jQuery.fragments = {};
-
-jQuery.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
-}, function( name, original ) {
- jQuery.fn[ name ] = function( selector ) {
- var ret = [],
- insert = jQuery( selector ),
- parent = this.length === 1 && this[0].parentNode;
-
- if ( parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1 ) {
- insert[ original ]( this[0] );
- return this;
-
- } else {
- for ( var i = 0, l = insert.length; i < l; i++ ) {
- var elems = ( i > 0 ? this.clone(true) : this ).get();
- jQuery( insert[i] )[ original ]( elems );
- ret = ret.concat( elems );
- }
-
- return this.pushStack( ret, name, insert.selector );
- }
- };
-});
-
-function getAll( elem ) {
- if ( typeof elem.getElementsByTagName !== "undefined" ) {
- return elem.getElementsByTagName( "*" );
-
- } else if ( typeof elem.querySelectorAll !== "undefined" ) {
- return elem.querySelectorAll( "*" );
-
- } else {
- return [];
- }
-}
-
-// Used in clean, fixes the defaultChecked property
-function fixDefaultChecked( elem ) {
- if ( elem.type === "checkbox" || elem.type === "radio" ) {
- elem.defaultChecked = elem.checked;
- }
-}
-// Finds all inputs and passes them to fixDefaultChecked
-function findInputs( elem ) {
- var nodeName = ( elem.nodeName || "" ).toLowerCase();
- if ( nodeName === "input" ) {
- fixDefaultChecked( elem );
- // Skip scripts, get other children
- } else if ( nodeName !== "script" && typeof elem.getElementsByTagName !== "undefined" ) {
- jQuery.grep( elem.getElementsByTagName("input"), fixDefaultChecked );
- }
-}
-
-// Derived From: http://www.iecss.com/shimprove/javascript/shimprove.1-0-1.js
-function shimCloneNode( elem ) {
- var div = document.createElement( "div" );
- safeFragment.appendChild( div );
-
- div.innerHTML = elem.outerHTML;
- return div.firstChild;
-}
-
-jQuery.extend({
- clone: function( elem, dataAndEvents, deepDataAndEvents ) {
- var srcElements,
- destElements,
- i,
- // IE<=8 does not properly clone detached, unknown element nodes
- clone = jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ?
- elem.cloneNode( true ) :
- shimCloneNode( elem );
-
- if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) &&
- (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) {
- // IE copies events bound via attachEvent when using cloneNode.
- // Calling detachEvent on the clone will also remove the events
- // from the original. In order to get around this, we use some
- // proprietary methods to clear the events. Thanks to MooTools
- // guys for this hotness.
-
- cloneFixAttributes( elem, clone );
-
- // Using Sizzle here is crazy slow, so we use getElementsByTagName instead
- srcElements = getAll( elem );
- destElements = getAll( clone );
-
- // Weird iteration because IE will replace the length property
- // with an element if you are cloning the body and one of the
- // elements on the page has a name or id of "length"
- for ( i = 0; srcElements[i]; ++i ) {
- // Ensure that the destination node is not null; Fixes #9587
- if ( destElements[i] ) {
- cloneFixAttributes( srcElements[i], destElements[i] );
- }
- }
- }
-
- // Copy the events from the original to the clone
- if ( dataAndEvents ) {
- cloneCopyEvent( elem, clone );
-
- if ( deepDataAndEvents ) {
- srcElements = getAll( elem );
- destElements = getAll( clone );
-
- for ( i = 0; srcElements[i]; ++i ) {
- cloneCopyEvent( srcElements[i], destElements[i] );
- }
- }
- }
-
- srcElements = destElements = null;
-
- // Return the cloned set
- return clone;
- },
-
- clean: function( elems, context, fragment, scripts ) {
- var checkScriptType, script, j,
- ret = [];
-
- context = context || document;
-
- // !context.createElement fails in IE with an error but returns typeof 'object'
- if ( typeof context.createElement === "undefined" ) {
- context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
- }
-
- for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
- if ( typeof elem === "number" ) {
- elem += "";
- }
-
- if ( !elem ) {
- continue;
- }
-
- // Convert html string into DOM nodes
- if ( typeof elem === "string" ) {
- if ( !rhtml.test( elem ) ) {
- elem = context.createTextNode( elem );
- } else {
- // Fix "XHTML"-style tags in all browsers
- elem = elem.replace(rxhtmlTag, "<$1></$2>");
-
- // Trim whitespace, otherwise indexOf won't work as expected
- var tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(),
- wrap = wrapMap[ tag ] || wrapMap._default,
- depth = wrap[0],
- div = context.createElement("div"),
- safeChildNodes = safeFragment.childNodes,
- remove;
-
- // Append wrapper element to unknown element safe doc fragment
- if ( context === document ) {
- // Use the fragment we've already created for this document
- safeFragment.appendChild( div );
- } else {
- // Use a fragment created with the owner document
- createSafeFragment( context ).appendChild( div );
- }
-
- // Go to html and back, then peel off extra wrappers
- div.innerHTML = wrap[1] + elem + wrap[2];
-
- // Move to the right depth
- while ( depth-- ) {
- div = div.lastChild;
- }
-
- // Remove IE's autoinserted <tbody> from table fragments
- if ( !jQuery.support.tbody ) {
-
- // String was a <table>, *may* have spurious <tbody>
- var hasBody = rtbody.test(elem),
- tbody = tag === "table" && !hasBody ?
- div.firstChild && div.firstChild.childNodes :
-
- // String was a bare <thead> or <tfoot>
- wrap[1] === "<table>" && !hasBody ?
- div.childNodes :
- [];
-
- for ( j = tbody.length - 1; j >= 0 ; --j ) {
- if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) {
- tbody[ j ].parentNode.removeChild( tbody[ j ] );
- }
- }
- }
-
- // IE completely kills leading whitespace when innerHTML is used
- if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {
- div.insertBefore( context.createTextNode( rleadingWhitespace.exec(elem)[0] ), div.firstChild );
- }
-
- elem = div.childNodes;
-
- // Clear elements from DocumentFragment (safeFragment or otherwise)
- // to avoid hoarding elements. Fixes #11356
- if ( div ) {
- div.parentNode.removeChild( div );
-
- // Guard against -1 index exceptions in FF3.6
- if ( safeChildNodes.length > 0 ) {
- remove = safeChildNodes[ safeChildNodes.length - 1 ];
-
- if ( remove && remove.parentNode ) {
- remove.parentNode.removeChild( remove );
- }
- }
- }
- }
- }
-
- // Resets defaultChecked for any radios and checkboxes
- // about to be appended to the DOM in IE 6/7 (#8060)
- var len;
- if ( !jQuery.support.appendChecked ) {
- if ( elem[0] && typeof (len = elem.length) === "number" ) {
- for ( j = 0; j < len; j++ ) {
- findInputs( elem[j] );
- }
- } else {
- findInputs( elem );
- }
- }
-
- if ( elem.nodeType ) {
- ret.push( elem );
- } else {
- ret = jQuery.merge( ret, elem );
- }
- }
-
- if ( fragment ) {
- checkScriptType = function( elem ) {
- return !elem.type || rscriptType.test( elem.type );
- };
- for ( i = 0; ret[i]; i++ ) {
- script = ret[i];
- if ( scripts && jQuery.nodeName( script, "script" ) && (!script.type || rscriptType.test( script.type )) ) {
- scripts.push( script.parentNode ? script.parentNode.removeChild( script ) : script );
-
- } else {
- if ( script.nodeType === 1 ) {
- var jsTags = jQuery.grep( script.getElementsByTagName( "script" ), checkScriptType );
-
- ret.splice.apply( ret, [i + 1, 0].concat( jsTags ) );
- }
- fragment.appendChild( script );
- }
- }
- }
-
- return ret;
- },
-
- cleanData: function( elems ) {
- var data, id,
- cache = jQuery.cache,
- special = jQuery.event.special,
- deleteExpando = jQuery.support.deleteExpando;
-
- for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
- if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
- continue;
- }
-
- id = elem[ jQuery.expando ];
-
- if ( id ) {
- data = cache[ id ];
-
- if ( data && data.events ) {
- for ( var type in data.events ) {
- if ( special[ type ] ) {
- jQuery.event.remove( elem, type );
-
- // This is a shortcut to avoid jQuery.event.remove's overhead
- } else {
- jQuery.removeEvent( elem, type, data.handle );
- }
- }
-
- // Null the DOM reference to avoid IE6/7/8 leak (#7054)
- if ( data.handle ) {
- data.handle.elem = null;
- }
- }
-
- if ( deleteExpando ) {
- delete elem[ jQuery.expando ];
-
- } else if ( elem.removeAttribute ) {
- elem.removeAttribute( jQuery.expando );
- }
-
- delete cache[ id ];
- }
- }
- }
-});
-
-
-
-
-var ralpha = /alpha\([^)]*\)/i,
- ropacity = /opacity=([^)]*)/,
- // fixed for IE9, see #8346
- rupper = /([A-Z]|^ms)/g,
- rnum = /^[\-+]?(?:\d*\.)?\d+$/i,
- rnumnonpx = /^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,
- rrelNum = /^([\-+])=([\-+.\de]+)/,
- rmargin = /^margin/,
-
- cssShow = { position: "absolute", visibility: "hidden", display: "block" },
-
- // order is important!
- cssExpand = [ "Top", "Right", "Bottom", "Left" ],
-
- curCSS,
-
- getComputedStyle,
- currentStyle;
-
-jQuery.fn.css = function( name, value ) {
- return jQuery.access( this, function( elem, name, value ) {
- return value !== undefined ?
- jQuery.style( elem, name, value ) :
- jQuery.css( elem, name );
- }, name, value, arguments.length > 1 );
-};
-
-jQuery.extend({
- // Add in style property hooks for overriding the default
- // behavior of getting and setting a style property
- cssHooks: {
- opacity: {
- get: function( elem, computed ) {
- if ( computed ) {
- // We should always get a number back from opacity
- var ret = curCSS( elem, "opacity" );
- return ret === "" ? "1" : ret;
-
- } else {
- return elem.style.opacity;
- }
- }
- }
- },
-
- // Exclude the following css properties to add px
- cssNumber: {
- "fillOpacity": true,
- "fontWeight": true,
- "lineHeight": true,
- "opacity": true,
- "orphans": true,
- "widows": true,
- "zIndex": true,
- "zoom": true
- },
-
- // Add in properties whose names you wish to fix before
- // setting or getting the value
- cssProps: {
- // normalize float css property
- "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat"
- },
-
- // Get and set the style property on a DOM Node
- style: function( elem, name, value, extra ) {
- // Don't set styles on text and comment nodes
- if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
- return;
- }
-
- // Make sure that we're working with the right name
- var ret, type, origName = jQuery.camelCase( name ),
- style = elem.style, hooks = jQuery.cssHooks[ origName ];
-
- name = jQuery.cssProps[ origName ] || origName;
-
- // Check if we're setting a value
- if ( value !== undefined ) {
- type = typeof value;
-
- // convert relative number strings (+= or -=) to relative numbers. #7345
- if ( type === "string" && (ret = rrelNum.exec( value )) ) {
- value = ( +( ret[1] + 1) * +ret[2] ) + parseFloat( jQuery.css( elem, name ) );
- // Fixes bug #9237
- type = "number";
- }
-
- // Make sure that NaN and null values aren't set. See: #7116
- if ( value == null || type === "number" && isNaN( value ) ) {
- return;
- }
-
- // If a number was passed in, add 'px' to the (except for certain CSS properties)
- if ( type === "number" && !jQuery.cssNumber[ origName ] ) {
- value += "px";
- }
-
- // If a hook was provided, use that value, otherwise just set the specified value
- if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value )) !== undefined ) {
- // Wrapped to prevent IE from throwing errors when 'invalid' values are provided
- // Fixes bug #5509
- try {
- style[ name ] = value;
- } catch(e) {}
- }
-
- } else {
- // If a hook was provided get the non-computed value from there
- if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {
- return ret;
- }
-
- // Otherwise just get the value from the style object
- return style[ name ];
- }
- },
-
- css: function( elem, name, extra ) {
- var ret, hooks;
-
- // Make sure that we're working with the right name
- name = jQuery.camelCase( name );
- hooks = jQuery.cssHooks[ name ];
- name = jQuery.cssProps[ name ] || name;
-
- // cssFloat needs a special treatment
- if ( name === "cssFloat" ) {
- name = "float";
- }
-
- // If a hook was provided get the computed value from there
- if ( hooks && "get" in hooks && (ret = hooks.get( elem, true, extra )) !== undefined ) {
- return ret;
-
- // Otherwise, if a way to get the computed value exists, use that
- } else if ( curCSS ) {
- return curCSS( elem, name );
- }
- },
-
- // A method for quickly swapping in/out CSS properties to get correct calculations
- swap: function( elem, options, callback ) {
- var old = {},
- ret, name;
-
- // Remember the old values, and insert the new ones
- for ( name in options ) {
- old[ name ] = elem.style[ name ];
- elem.style[ name ] = options[ name ];
- }
-
- ret = callback.call( elem );
-
- // Revert the old values
- for ( name in options ) {
- elem.style[ name ] = old[ name ];
- }
-
- return ret;
- }
-});
-
-// DEPRECATED in 1.3, Use jQuery.css() instead
-jQuery.curCSS = jQuery.css;
-
-if ( document.defaultView && document.defaultView.getComputedStyle ) {
- getComputedStyle = function( elem, name ) {
- var ret, defaultView, computedStyle, width,
- style = elem.style;
-
- name = name.replace( rupper, "-$1" ).toLowerCase();
-
- if ( (defaultView = elem.ownerDocument.defaultView) &&
- (computedStyle = defaultView.getComputedStyle( elem, null )) ) {
-
- ret = computedStyle.getPropertyValue( name );
- if ( ret === "" && !jQuery.contains( elem.ownerDocument.documentElement, elem ) ) {
- ret = jQuery.style( elem, name );
- }
- }
-
- // A tribute to the "awesome hack by Dean Edwards"
- // WebKit uses "computed value (percentage if specified)" instead of "used value" for margins
- // which is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
- if ( !jQuery.support.pixelMargin && computedStyle && rmargin.test( name ) && rnumnonpx.test( ret ) ) {
- width = style.width;
- style.width = ret;
- ret = computedStyle.width;
- style.width = width;
- }
-
- return ret;
- };
-}
-
-if ( document.documentElement.currentStyle ) {
- currentStyle = function( elem, name ) {
- var left, rsLeft, uncomputed,
- ret = elem.currentStyle && elem.currentStyle[ name ],
- style = elem.style;
-
- // Avoid setting ret to empty string here
- // so we don't default to auto
- if ( ret == null && style && (uncomputed = style[ name ]) ) {
- ret = uncomputed;
- }
-
- // From the awesome hack by Dean Edwards
- // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
-
- // If we're not dealing with a regular pixel number
- // but a number that has a weird ending, we need to convert it to pixels
- if ( rnumnonpx.test( ret ) ) {
-
- // Remember the original values
- left = style.left;
- rsLeft = elem.runtimeStyle && elem.runtimeStyle.left;
-
- // Put in the new values to get a computed value out
- if ( rsLeft ) {
- elem.runtimeStyle.left = elem.currentStyle.left;
- }
- style.left = name === "fontSize" ? "1em" : ret;
- ret = style.pixelLeft + "px";
-
- // Revert the changed values
- style.left = left;
- if ( rsLeft ) {
- elem.runtimeStyle.left = rsLeft;
- }
- }
-
- return ret === "" ? "auto" : ret;
- };
-}
-
-curCSS = getComputedStyle || currentStyle;
-
-function getWidthOrHeight( elem, name, extra ) {
-
- // Start with offset property
- var val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
- i = name === "width" ? 1 : 0,
- len = 4;
-
- if ( val > 0 ) {
- if ( extra !== "border" ) {
- for ( ; i < len; i += 2 ) {
- if ( !extra ) {
- val -= parseFloat( jQuery.css( elem, "padding" + cssExpand[ i ] ) ) || 0;
- }
- if ( extra === "margin" ) {
- val += parseFloat( jQuery.css( elem, extra + cssExpand[ i ] ) ) || 0;
- } else {
- val -= parseFloat( jQuery.css( elem, "border" + cssExpand[ i ] + "Width" ) ) || 0;
- }
- }
- }
-
- return val + "px";
- }
-
- // Fall back to computed then uncomputed css if necessary
- val = curCSS( elem, name );
- if ( val < 0 || val == null ) {
- val = elem.style[ name ];
- }
-
- // Computed unit is not pixels. Stop here and return.
- if ( rnumnonpx.test(val) ) {
- return val;
- }
-
- // Normalize "", auto, and prepare for extra
- val = parseFloat( val ) || 0;
-
- // Add padding, border, margin
- if ( extra ) {
- for ( ; i < len; i += 2 ) {
- val += parseFloat( jQuery.css( elem, "padding" + cssExpand[ i ] ) ) || 0;
- if ( extra !== "padding" ) {
- val += parseFloat( jQuery.css( elem, "border" + cssExpand[ i ] + "Width" ) ) || 0;
- }
- if ( extra === "margin" ) {
- val += parseFloat( jQuery.css( elem, extra + cssExpand[ i ]) ) || 0;
- }
- }
- }
-
- return val + "px";
-}
-
-jQuery.each([ "height", "width" ], function( i, name ) {
- jQuery.cssHooks[ name ] = {
- get: function( elem, computed, extra ) {
- if ( computed ) {
- if ( elem.offsetWidth !== 0 ) {
- return getWidthOrHeight( elem, name, extra );
- } else {
- return jQuery.swap( elem, cssShow, function() {
- return getWidthOrHeight( elem, name, extra );
- });
- }
- }
- },
-
- set: function( elem, value ) {
- return rnum.test( value ) ?
- value + "px" :
- value;
- }
- };
-});
-
-if ( !jQuery.support.opacity ) {
- jQuery.cssHooks.opacity = {
- get: function( elem, computed ) {
- // IE uses filters for opacity
- return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
- ( parseFloat( RegExp.$1 ) / 100 ) + "" :
- computed ? "1" : "";
- },
-
- set: function( elem, value ) {
- var style = elem.style,
- currentStyle = elem.currentStyle,
- opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "",
- filter = currentStyle && currentStyle.filter || style.filter || "";
-
- // IE has trouble with opacity if it does not have layout
- // Force it by setting the zoom level
- style.zoom = 1;
-
- // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652
- if ( value >= 1 && jQuery.trim( filter.replace( ralpha, "" ) ) === "" ) {
-
- // Setting style.filter to null, "" & " " still leave "filter:" in the cssText
- // if "filter:" is present at all, clearType is disabled, we want to avoid this
- // style.removeAttribute is IE Only, but so apparently is this code path...
- style.removeAttribute( "filter" );
-
- // if there there is no filter style applied in a css rule, we are done
- if ( currentStyle && !currentStyle.filter ) {
- return;
- }
- }
-
- // otherwise, set new filter values
- style.filter = ralpha.test( filter ) ?
- filter.replace( ralpha, opacity ) :
- filter + " " + opacity;
- }
- };
-}
-
-jQuery(function() {
- // This hook cannot be added until DOM ready because the support test
- // for it is not run until after DOM ready
- if ( !jQuery.support.reliableMarginRight ) {
- jQuery.cssHooks.marginRight = {
- get: function( elem, computed ) {
- // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
- // Work around by temporarily setting element display to inline-block
- return jQuery.swap( elem, { "display": "inline-block" }, function() {
- if ( computed ) {
- return curCSS( elem, "margin-right" );
- } else {
- return elem.style.marginRight;
- }
- });
- }
- };
- }
-});
-
-if ( jQuery.expr && jQuery.expr.filters ) {
- jQuery.expr.filters.hidden = function( elem ) {
- var width = elem.offsetWidth,
- height = elem.offsetHeight;
-
- return ( width === 0 && height === 0 ) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none");
- };
-
- jQuery.expr.filters.visible = function( elem ) {
- return !jQuery.expr.filters.hidden( elem );
- };
-}
-
-// These hooks are used by animate to expand properties
-jQuery.each({
- margin: "",
- padding: "",
- border: "Width"
-}, function( prefix, suffix ) {
-
- jQuery.cssHooks[ prefix + suffix ] = {
- expand: function( value ) {
- var i,
-
- // assumes a single number if not a string
- parts = typeof value === "string" ? value.split(" ") : [ value ],
- expanded = {};
-
- for ( i = 0; i < 4; i++ ) {
- expanded[ prefix + cssExpand[ i ] + suffix ] =
- parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
- }
-
- return expanded;
- }
- };
-});
-
-
-
-
-var r20 = /%20/g,
- rbracket = /\[\]$/,
- rCRLF = /\r?\n/g,
- rhash = /#.*$/,
- rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL
- rinput = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
- // #7653, #8125, #8152: local protocol detection
- rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,
- rnoContent = /^(?:GET|HEAD)$/,
- rprotocol = /^\/\//,
- rquery = /\?/,
- rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
- rselectTextarea = /^(?:select|textarea)/i,
- rspacesAjax = /\s+/,
- rts = /([?&])_=[^&]*/,
- rurl = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,
-
- // Keep a copy of the old load method
- _load = jQuery.fn.load,
-
- /* Prefilters
- * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
- * 2) These are called:
- * - BEFORE asking for a transport
- * - AFTER param serialization (s.data is a string if s.processData is true)
- * 3) key is the dataType
- * 4) the catchall symbol "*" can be used
- * 5) execution will start with transport dataType and THEN continue down to "*" if needed
- */
- prefilters = {},
-
- /* Transports bindings
- * 1) key is the dataType
- * 2) the catchall symbol "*" can be used
- * 3) selection will start with transport dataType and THEN go to "*" if needed
- */
- transports = {},
-
- // Document location
- ajaxLocation,
-
- // Document location segments
- ajaxLocParts,
-
- // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
- allTypes = ["*/"] + ["*"];
-
-// #8138, IE may throw an exception when accessing
-// a field from window.location if document.domain has been set
-try {
- ajaxLocation = location.href;
-} catch( e ) {
- // Use the href attribute of an A element
- // since IE will modify it given document.location
- ajaxLocation = document.createElement( "a" );
- ajaxLocation.href = "";
- ajaxLocation = ajaxLocation.href;
-}
-
-// Segment location into parts
-ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];
-
-// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
-function addToPrefiltersOrTransports( structure ) {
-
- // dataTypeExpression is optional and defaults to "*"
- return function( dataTypeExpression, func ) {
-
- if ( typeof dataTypeExpression !== "string" ) {
- func = dataTypeExpression;
- dataTypeExpression = "*";
- }
-
- if ( jQuery.isFunction( func ) ) {
- var dataTypes = dataTypeExpression.toLowerCase().split( rspacesAjax ),
- i = 0,
- length = dataTypes.length,
- dataType,
- list,
- placeBefore;
-
- // For each dataType in the dataTypeExpression
- for ( ; i < length; i++ ) {
- dataType = dataTypes[ i ];
- // We control if we're asked to add before
- // any existing element
- placeBefore = /^\+/.test( dataType );
- if ( placeBefore ) {
- dataType = dataType.substr( 1 ) || "*";
- }
- list = structure[ dataType ] = structure[ dataType ] || [];
- // then we add to the structure accordingly
- list[ placeBefore ? "unshift" : "push" ]( func );
- }
- }
- };
-}
-
-// Base inspection function for prefilters and transports
-function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR,
- dataType /* internal */, inspected /* internal */ ) {
-
- dataType = dataType || options.dataTypes[ 0 ];
- inspected = inspected || {};
-
- inspected[ dataType ] = true;
-
- var list = structure[ dataType ],
- i = 0,
- length = list ? list.length : 0,
- executeOnly = ( structure === prefilters ),
- selection;
-
- for ( ; i < length && ( executeOnly || !selection ); i++ ) {
- selection = list[ i ]( options, originalOptions, jqXHR );
- // If we got redirected to another dataType
- // we try there if executing only and not done already
- if ( typeof selection === "string" ) {
- if ( !executeOnly || inspected[ selection ] ) {
- selection = undefined;
- } else {
- options.dataTypes.unshift( selection );
- selection = inspectPrefiltersOrTransports(
- structure, options, originalOptions, jqXHR, selection, inspected );
- }
- }
- }
- // If we're only executing or nothing was selected
- // we try the catchall dataType if not done already
- if ( ( executeOnly || !selection ) && !inspected[ "*" ] ) {
- selection = inspectPrefiltersOrTransports(
- structure, options, originalOptions, jqXHR, "*", inspected );
- }
- // unnecessary when only executing (prefilters)
- // but it'll be ignored by the caller in that case
- return selection;
-}
-
-// A special extend for ajax options
-// that takes "flat" options (not to be deep extended)
-// Fixes #9887
-function ajaxExtend( target, src ) {
- var key, deep,
- flatOptions = jQuery.ajaxSettings.flatOptions || {};
- for ( key in src ) {
- if ( src[ key ] !== undefined ) {
- ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
- }
- }
- if ( deep ) {
- jQuery.extend( true, target, deep );
- }
-}
-
-jQuery.fn.extend({
- load: function( url, params, callback ) {
- if ( typeof url !== "string" && _load ) {
- return _load.apply( this, arguments );
-
- // Don't do a request if no elements are being requested
- } else if ( !this.length ) {
- return this;
- }
-
- var off = url.indexOf( " " );
- if ( off >= 0 ) {
- var selector = url.slice( off, url.length );
- url = url.slice( 0, off );
- }
-
- // Default to a GET request
- var type = "GET";
-
- // If the second parameter was provided
- if ( params ) {
- // If it's a function
- if ( jQuery.isFunction( params ) ) {
- // We assume that it's the callback
- callback = params;
- params = undefined;
-
- // Otherwise, build a param string
- } else if ( typeof params === "object" ) {
- params = jQuery.param( params, jQuery.ajaxSettings.traditional );
- type = "POST";
- }
- }
-
- var self = this;
-
- // Request the remote document
- jQuery.ajax({
- url: url,
- type: type,
- dataType: "html",
- data: params,
- // Complete callback (responseText is used internally)
- complete: function( jqXHR, status, responseText ) {
- // Store the response as specified by the jqXHR object
- responseText = jqXHR.responseText;
- // If successful, inject the HTML into all the matched elements
- if ( jqXHR.isResolved() ) {
- // #4825: Get the actual response in case
- // a dataFilter is present in ajaxSettings
- jqXHR.done(function( r ) {
- responseText = r;
- });
- // See if a selector was specified
- self.html( selector ?
- // Create a dummy div to hold the results
- jQuery("<div>")
- // inject the contents of the document in, removing the scripts
- // to avoid any 'Permission Denied' errors in IE
- .append(responseText.replace(rscript, ""))
-
- // Locate the specified elements
- .find(selector) :
-
- // If not, just inject the full result
- responseText );
- }
-
- if ( callback ) {
- self.each( callback, [ responseText, status, jqXHR ] );
- }
- }
- });
-
- return this;
- },
-
- serialize: function() {
- return jQuery.param( this.serializeArray() );
- },
-
- serializeArray: function() {
- return this.map(function(){
- return this.elements ? jQuery.makeArray( this.elements ) : this;
- })
- .filter(function(){
- return this.name && !this.disabled &&
- ( this.checked || rselectTextarea.test( this.nodeName ) ||
- rinput.test( this.type ) );
- })
- .map(function( i, elem ){
- var val = jQuery( this ).val();
-
- return val == null ?
- null :
- jQuery.isArray( val ) ?
- jQuery.map( val, function( val, i ){
- return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
- }) :
- { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
- }).get();
- }
-});
-
-// Attach a bunch of functions for handling common AJAX events
-jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split( " " ), function( i, o ){
- jQuery.fn[ o ] = function( f ){
- return this.on( o, f );
- };
-});
-
-jQuery.each( [ "get", "post" ], function( i, method ) {
- jQuery[ method ] = function( url, data, callback, type ) {
- // shift arguments if data argument was omitted
- if ( jQuery.isFunction( data ) ) {
- type = type || callback;
- callback = data;
- data = undefined;
- }
-
- return jQuery.ajax({
- type: method,
- url: url,
- data: data,
- success: callback,
- dataType: type
- });
- };
-});
-
-jQuery.extend({
-
- getScript: function( url, callback ) {
- return jQuery.get( url, undefined, callback, "script" );
- },
-
- getJSON: function( url, data, callback ) {
- return jQuery.get( url, data, callback, "json" );
- },
-
- // Creates a full fledged settings object into target
- // with both ajaxSettings and settings fields.
- // If target is omitted, writes into ajaxSettings.
- ajaxSetup: function( target, settings ) {
- if ( settings ) {
- // Building a settings object
- ajaxExtend( target, jQuery.ajaxSettings );
- } else {
- // Extending ajaxSettings
- settings = target;
- target = jQuery.ajaxSettings;
- }
- ajaxExtend( target, settings );
- return target;
- },
-
- ajaxSettings: {
- url: ajaxLocation,
- isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
- global: true,
- type: "GET",
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- processData: true,
- async: true,
- /*
- timeout: 0,
- data: null,
- dataType: null,
- username: null,
- password: null,
- cache: null,
- traditional: false,
- headers: {},
- */
-
- accepts: {
- xml: "application/xml, text/xml",
- html: "text/html",
- text: "text/plain",
- json: "application/json, text/javascript",
- "*": allTypes
- },
-
- contents: {
- xml: /xml/,
- html: /html/,
- json: /json/
- },
-
- responseFields: {
- xml: "responseXML",
- text: "responseText"
- },
-
- // List of data converters
- // 1) key format is "source_type destination_type" (a single space in-between)
- // 2) the catchall symbol "*" can be used for source_type
- converters: {
-
- // Convert anything to text
- "* text": window.String,
-
- // Text to html (true = no transformation)
- "text html": true,
-
- // Evaluate text as a json expression
- "text json": jQuery.parseJSON,
-
- // Parse text as xml
- "text xml": jQuery.parseXML
- },
-
- // For options that shouldn't be deep extended:
- // you can add your own custom options here if
- // and when you create one that shouldn't be
- // deep extended (see ajaxExtend)
- flatOptions: {
- context: true,
- url: true
- }
- },
-
- ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
- ajaxTransport: addToPrefiltersOrTransports( transports ),
-
- // Main method
- ajax: function( url, options ) {
-
- // If url is an object, simulate pre-1.5 signature
- if ( typeof url === "object" ) {
- options = url;
- url = undefined;
- }
-
- // Force options to be an object
- options = options || {};
-
- var // Create the final options object
- s = jQuery.ajaxSetup( {}, options ),
- // Callbacks context
- callbackContext = s.context || s,
- // Context for global events
- // It's the callbackContext if one was provided in the options
- // and if it's a DOM node or a jQuery collection
- globalEventContext = callbackContext !== s &&
- ( callbackContext.nodeType || callbackContext instanceof jQuery ) ?
- jQuery( callbackContext ) : jQuery.event,
- // Deferreds
- deferred = jQuery.Deferred(),
- completeDeferred = jQuery.Callbacks( "once memory" ),
- // Status-dependent callbacks
- statusCode = s.statusCode || {},
- // ifModified key
- ifModifiedKey,
- // Headers (they are sent all at once)
- requestHeaders = {},
- requestHeadersNames = {},
- // Response headers
- responseHeadersString,
- responseHeaders,
- // transport
- transport,
- // timeout handle
- timeoutTimer,
- // Cross-domain detection vars
- parts,
- // The jqXHR state
- state = 0,
- // To know if global events are to be dispatched
- fireGlobals,
- // Loop variable
- i,
- // Fake xhr
- jqXHR = {
-
- readyState: 0,
-
- // Caches the header
- setRequestHeader: function( name, value ) {
- if ( !state ) {
- var lname = name.toLowerCase();
- name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;
- requestHeaders[ name ] = value;
- }
- return this;
- },
-
- // Raw string
- getAllResponseHeaders: function() {
- return state === 2 ? responseHeadersString : null;
- },
-
- // Builds headers hashtable if needed
- getResponseHeader: function( key ) {
- var match;
- if ( state === 2 ) {
- if ( !responseHeaders ) {
- responseHeaders = {};
- while( ( match = rheaders.exec( responseHeadersString ) ) ) {
- responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];
- }
- }
- match = responseHeaders[ key.toLowerCase() ];
- }
- return match === undefined ? null : match;
- },
-
- // Overrides response content-type header
- overrideMimeType: function( type ) {
- if ( !state ) {
- s.mimeType = type;
- }
- return this;
- },
-
- // Cancel the request
- abort: function( statusText ) {
- statusText = statusText || "abort";
- if ( transport ) {
- transport.abort( statusText );
- }
- done( 0, statusText );
- return this;
- }
- };
-
- // Callback for when everything is done
- // It is defined here because jslint complains if it is declared
- // at the end of the function (which would be more logical and readable)
- function done( status, nativeStatusText, responses, headers ) {
-
- // Called once
- if ( state === 2 ) {
- return;
- }
-
- // State is "done" now
- state = 2;
-
- // Clear timeout if it exists
- if ( timeoutTimer ) {
- clearTimeout( timeoutTimer );
- }
-
- // Dereference transport for early garbage collection
- // (no matter how long the jqXHR object will be used)
- transport = undefined;
-
- // Cache response headers
- responseHeadersString = headers || "";
-
- // Set readyState
- jqXHR.readyState = status > 0 ? 4 : 0;
-
- var isSuccess,
- success,
- error,
- statusText = nativeStatusText,
- response = responses ? ajaxHandleResponses( s, jqXHR, responses ) : undefined,
- lastModified,
- etag;
-
- // If successful, handle type chaining
- if ( status >= 200 && status < 300 || status === 304 ) {
-
- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
- if ( s.ifModified ) {
-
- if ( ( lastModified = jqXHR.getResponseHeader( "Last-Modified" ) ) ) {
- jQuery.lastModified[ ifModifiedKey ] = lastModified;
- }
- if ( ( etag = jqXHR.getResponseHeader( "Etag" ) ) ) {
- jQuery.etag[ ifModifiedKey ] = etag;
- }
- }
-
- // If not modified
- if ( status === 304 ) {
-
- statusText = "notmodified";
- isSuccess = true;
-
- // If we have data
- } else {
-
- try {
- success = ajaxConvert( s, response );
- statusText = "success";
- isSuccess = true;
- } catch(e) {
- // We have a parsererror
- statusText = "parsererror";
- error = e;
- }
- }
- } else {
- // We extract error from statusText
- // then normalize statusText and status for non-aborts
- error = statusText;
- if ( !statusText || status ) {
- statusText = "error";
- if ( status < 0 ) {
- status = 0;
- }
- }
- }
-
- // Set data for the fake xhr object
- jqXHR.status = status;
- jqXHR.statusText = "" + ( nativeStatusText || statusText );
-
- // Success/Error
- if ( isSuccess ) {
- deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
- } else {
- deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
- }
-
- // Status-dependent callbacks
- jqXHR.statusCode( statusCode );
- statusCode = undefined;
-
- if ( fireGlobals ) {
- globalEventContext.trigger( "ajax" + ( isSuccess ? "Success" : "Error" ),
- [ jqXHR, s, isSuccess ? success : error ] );
- }
-
- // Complete
- completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
-
- if ( fireGlobals ) {
- globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
- // Handle the global AJAX counter
- if ( !( --jQuery.active ) ) {
- jQuery.event.trigger( "ajaxStop" );
- }
- }
- }
-
- // Attach deferreds
- deferred.promise( jqXHR );
- jqXHR.success = jqXHR.done;
- jqXHR.error = jqXHR.fail;
- jqXHR.complete = completeDeferred.add;
-
- // Status-dependent callbacks
- jqXHR.statusCode = function( map ) {
- if ( map ) {
- var tmp;
- if ( state < 2 ) {
- for ( tmp in map ) {
- statusCode[ tmp ] = [ statusCode[tmp], map[tmp] ];
- }
- } else {
- tmp = map[ jqXHR.status ];
- jqXHR.then( tmp, tmp );
- }
- }
- return this;
- };
-
- // Remove hash character (#7531: and string promotion)
- // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
- // We also use the url parameter if available
- s.url = ( ( url || s.url ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" );
-
- // Extract dataTypes list
- s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().split( rspacesAjax );
-
- // Determine if a cross-domain request is in order
- if ( s.crossDomain == null ) {
- parts = rurl.exec( s.url.toLowerCase() );
- s.crossDomain = !!( parts &&
- ( parts[ 1 ] != ajaxLocParts[ 1 ] || parts[ 2 ] != ajaxLocParts[ 2 ] ||
- ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) !=
- ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? 80 : 443 ) ) )
- );
- }
-
- // Convert data if not already a string
- if ( s.data && s.processData && typeof s.data !== "string" ) {
- s.data = jQuery.param( s.data, s.traditional );
- }
-
- // Apply prefilters
- inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
-
- // If request was aborted inside a prefilter, stop there
- if ( state === 2 ) {
- return false;
- }
-
- // We can fire global events as of now if asked to
- fireGlobals = s.global;
-
- // Uppercase the type
- s.type = s.type.toUpperCase();
-
- // Determine if request has content
- s.hasContent = !rnoContent.test( s.type );
-
- // Watch for a new set of requests
- if ( fireGlobals && jQuery.active++ === 0 ) {
- jQuery.event.trigger( "ajaxStart" );
- }
-
- // More options handling for requests with no content
- if ( !s.hasContent ) {
-
- // If data is available, append data to url
- if ( s.data ) {
- s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.data;
- // #9682: remove data so that it's not used in an eventual retry
- delete s.data;
- }
-
- // Get ifModifiedKey before adding the anti-cache parameter
- ifModifiedKey = s.url;
-
- // Add anti-cache in url if needed
- if ( s.cache === false ) {
-
- var ts = jQuery.now(),
- // try replacing _= if it is there
- ret = s.url.replace( rts, "$1_=" + ts );
-
- // if nothing was replaced, add timestamp to the end
- s.url = ret + ( ( ret === s.url ) ? ( rquery.test( s.url ) ? "&" : "?" ) + "_=" + ts : "" );
- }
- }
-
- // Set the correct header, if data is being sent
- if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
- jqXHR.setRequestHeader( "Content-Type", s.contentType );
- }
-
- // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
- if ( s.ifModified ) {
- ifModifiedKey = ifModifiedKey || s.url;
- if ( jQuery.lastModified[ ifModifiedKey ] ) {
- jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ ifModifiedKey ] );
- }
- if ( jQuery.etag[ ifModifiedKey ] ) {
- jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ ifModifiedKey ] );
- }
- }
-
- // Set the Accepts header for the server, depending on the dataType
- jqXHR.setRequestHeader(
- "Accept",
- s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?
- s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
- s.accepts[ "*" ]
- );
-
- // Check for headers option
- for ( i in s.headers ) {
- jqXHR.setRequestHeader( i, s.headers[ i ] );
- }
-
- // Allow custom headers/mimetypes and early abort
- if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {
- // Abort if not done already
- jqXHR.abort();
- return false;
-
- }
-
- // Install callbacks on deferreds
- for ( i in { success: 1, error: 1, complete: 1 } ) {
- jqXHR[ i ]( s[ i ] );
- }
-
- // Get transport
- transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
-
- // If no transport, we auto-abort
- if ( !transport ) {
- done( -1, "No Transport" );
- } else {
- jqXHR.readyState = 1;
- // Send global event
- if ( fireGlobals ) {
- globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
- }
- // Timeout
- if ( s.async && s.timeout > 0 ) {
- timeoutTimer = setTimeout( function(){
- jqXHR.abort( "timeout" );
- }, s.timeout );
- }
-
- try {
- state = 1;
- transport.send( requestHeaders, done );
- } catch (e) {
- // Propagate exception as error if not done
- if ( state < 2 ) {
- done( -1, e );
- // Simply rethrow otherwise
- } else {
- throw e;
- }
- }
- }
-
- return jqXHR;
- },
-
- // Serialize an array of form elements or a set of
- // key/values into a query string
- param: function( a, traditional ) {
- var s = [],
- add = function( key, value ) {
- // If value is a function, invoke it and return its value
- value = jQuery.isFunction( value ) ? value() : value;
- s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
- };
-
- // Set traditional to true for jQuery <= 1.3.2 behavior.
- if ( traditional === undefined ) {
- traditional = jQuery.ajaxSettings.traditional;
- }
-
- // If an array was passed in, assume that it is an array of form elements.
- if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
- // Serialize the form elements
- jQuery.each( a, function() {
- add( this.name, this.value );
- });
-
- } else {
- // If traditional, encode the "old" way (the way 1.3.2 or older
- // did it), otherwise encode params recursively.
- for ( var prefix in a ) {
- buildParams( prefix, a[ prefix ], traditional, add );
- }
- }
-
- // Return the resulting serialization
- return s.join( "&" ).replace( r20, "+" );
- }
-});
-
-function buildParams( prefix, obj, traditional, add ) {
- if ( jQuery.isArray( obj ) ) {
- // Serialize array item.
- jQuery.each( obj, function( i, v ) {
- if ( traditional || rbracket.test( prefix ) ) {
- // Treat each array item as a scalar.
- add( prefix, v );
-
- } else {
- // If array item is non-scalar (array or object), encode its
- // numeric index to resolve deserialization ambiguity issues.
- // Note that rack (as of 1.0.0) can't currently deserialize
- // nested arrays properly, and attempting to do so may cause
- // a server error. Possible fixes are to modify rack's
- // deserialization algorithm or to provide an option or flag
- // to force array serialization to be shallow.
- buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add );
- }
- });
-
- } else if ( !traditional && jQuery.type( obj ) === "object" ) {
- // Serialize object item.
- for ( var name in obj ) {
- buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
- }
-
- } else {
- // Serialize scalar item.
- add( prefix, obj );
- }
-}
-
-// This is still on the jQuery object... for now
-// Want to move this to jQuery.ajax some day
-jQuery.extend({
-
- // Counter for holding the number of active queries
- active: 0,
-
- // Last-Modified header cache for next request
- lastModified: {},
- etag: {}
-
-});
-
-/* Handles responses to an ajax request:
- * - sets all responseXXX fields accordingly
- * - finds the right dataType (mediates between content-type and expected dataType)
- * - returns the corresponding response
- */
-function ajaxHandleResponses( s, jqXHR, responses ) {
-
- var contents = s.contents,
- dataTypes = s.dataTypes,
- responseFields = s.responseFields,
- ct,
- type,
- finalDataType,
- firstDataType;
-
- // Fill responseXXX fields
- for ( type in responseFields ) {
- if ( type in responses ) {
- jqXHR[ responseFields[type] ] = responses[ type ];
- }
- }
-
- // Remove auto dataType and get content-type in the process
- while( dataTypes[ 0 ] === "*" ) {
- dataTypes.shift();
- if ( ct === undefined ) {
- ct = s.mimeType || jqXHR.getResponseHeader( "content-type" );
- }
- }
-
- // Check if we're dealing with a known content-type
- if ( ct ) {
- for ( type in contents ) {
- if ( contents[ type ] && contents[ type ].test( ct ) ) {
- dataTypes.unshift( type );
- break;
- }
- }
- }
-
- // Check to see if we have a response for the expected dataType
- if ( dataTypes[ 0 ] in responses ) {
- finalDataType = dataTypes[ 0 ];
- } else {
- // Try convertible dataTypes
- for ( type in responses ) {
- if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) {
- finalDataType = type;
- break;
- }
- if ( !firstDataType ) {
- firstDataType = type;
- }
- }
- // Or just use first one
- finalDataType = finalDataType || firstDataType;
- }
-
- // If we found a dataType
- // We add the dataType to the list if needed
- // and return the corresponding response
- if ( finalDataType ) {
- if ( finalDataType !== dataTypes[ 0 ] ) {
- dataTypes.unshift( finalDataType );
- }
- return responses[ finalDataType ];
- }
-}
-
-// Chain conversions given the request and the original response
-function ajaxConvert( s, response ) {
-
- // Apply the dataFilter if provided
- if ( s.dataFilter ) {
- response = s.dataFilter( response, s.dataType );
- }
-
- var dataTypes = s.dataTypes,
- converters = {},
- i,
- key,
- length = dataTypes.length,
- tmp,
- // Current and previous dataTypes
- current = dataTypes[ 0 ],
- prev,
- // Conversion expression
- conversion,
- // Conversion function
- conv,
- // Conversion functions (transitive conversion)
- conv1,
- conv2;
-
- // For each dataType in the chain
- for ( i = 1; i < length; i++ ) {
-
- // Create converters map
- // with lowercased keys
- if ( i === 1 ) {
- for ( key in s.converters ) {
- if ( typeof key === "string" ) {
- converters[ key.toLowerCase() ] = s.converters[ key ];
- }
- }
- }
-
- // Get the dataTypes
- prev = current;
- current = dataTypes[ i ];
-
- // If current is auto dataType, update it to prev
- if ( current === "*" ) {
- current = prev;
- // If no auto and dataTypes are actually different
- } else if ( prev !== "*" && prev !== current ) {
-
- // Get the converter
- conversion = prev + " " + current;
- conv = converters[ conversion ] || converters[ "* " + current ];
-
- // If there is no direct converter, search transitively
- if ( !conv ) {
- conv2 = undefined;
- for ( conv1 in converters ) {
- tmp = conv1.split( " " );
- if ( tmp[ 0 ] === prev || tmp[ 0 ] === "*" ) {
- conv2 = converters[ tmp[1] + " " + current ];
- if ( conv2 ) {
- conv1 = converters[ conv1 ];
- if ( conv1 === true ) {
- conv = conv2;
- } else if ( conv2 === true ) {
- conv = conv1;
- }
- break;
- }
- }
- }
- }
- // If we found no converter, dispatch an error
- if ( !( conv || conv2 ) ) {
- jQuery.error( "No conversion from " + conversion.replace(" "," to ") );
- }
- // If found converter is not an equivalence
- if ( conv !== true ) {
- // Convert with 1 or 2 converters accordingly
- response = conv ? conv( response ) : conv2( conv1(response) );
- }
- }
- }
- return response;
-}
-
-
-
-
-var jsc = jQuery.now(),
- jsre = /(\=)\?(&|$)|\?\?/i;
-
-// Default jsonp settings
-jQuery.ajaxSetup({
- jsonp: "callback",
- jsonpCallback: function() {
- return jQuery.expando + "_" + ( jsc++ );
- }
-});
-
-// Detect, normalize options and install callbacks for jsonp requests
-jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
-
- var inspectData = ( typeof s.data === "string" ) && /^application\/x\-www\-form\-urlencoded/.test( s.contentType );
-
- if ( s.dataTypes[ 0 ] === "jsonp" ||
- s.jsonp !== false && ( jsre.test( s.url ) ||
- inspectData && jsre.test( s.data ) ) ) {
-
- var responseContainer,
- jsonpCallback = s.jsonpCallback =
- jQuery.isFunction( s.jsonpCallback ) ? s.jsonpCallback() : s.jsonpCallback,
- previous = window[ jsonpCallback ],
- url = s.url,
- data = s.data,
- replace = "$1" + jsonpCallback + "$2";
-
- if ( s.jsonp !== false ) {
- url = url.replace( jsre, replace );
- if ( s.url === url ) {
- if ( inspectData ) {
- data = data.replace( jsre, replace );
- }
- if ( s.data === data ) {
- // Add callback manually
- url += (/\?/.test( url ) ? "&" : "?") + s.jsonp + "=" + jsonpCallback;
- }
- }
- }
-
- s.url = url;
- s.data = data;
-
- // Install callback
- window[ jsonpCallback ] = function( response ) {
- responseContainer = [ response ];
- };
-
- // Clean-up function
- jqXHR.always(function() {
- // Set callback back to previous value
- window[ jsonpCallback ] = previous;
- // Call if it was a function and we have a response
- if ( responseContainer && jQuery.isFunction( previous ) ) {
- window[ jsonpCallback ]( responseContainer[ 0 ] );
- }
- });
-
- // Use data converter to retrieve json after script execution
- s.converters["script json"] = function() {
- if ( !responseContainer ) {
- jQuery.error( jsonpCallback + " was not called" );
- }
- return responseContainer[ 0 ];
- };
-
- // force json dataType
- s.dataTypes[ 0 ] = "json";
-
- // Delegate to script
- return "script";
- }
-});
-
-
-
-
-// Install script dataType
-jQuery.ajaxSetup({
- accepts: {
- script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
- },
- contents: {
- script: /javascript|ecmascript/
- },
- converters: {
- "text script": function( text ) {
- jQuery.globalEval( text );
- return text;
- }
- }
-});
-
-// Handle cache's special case and global
-jQuery.ajaxPrefilter( "script", function( s ) {
- if ( s.cache === undefined ) {
- s.cache = false;
- }
- if ( s.crossDomain ) {
- s.type = "GET";
- s.global = false;
- }
-});
-
-// Bind script tag hack transport
-jQuery.ajaxTransport( "script", function(s) {
-
- // This transport only deals with cross domain requests
- if ( s.crossDomain ) {
-
- var script,
- head = document.head || document.getElementsByTagName( "head" )[0] || document.documentElement;
-
- return {
-
- send: function( _, callback ) {
-
- script = document.createElement( "script" );
-
- script.async = "async";
-
- if ( s.scriptCharset ) {
- script.charset = s.scriptCharset;
- }
-
- script.src = s.url;
-
- // Attach handlers for all browsers
- script.onload = script.onreadystatechange = function( _, isAbort ) {
-
- if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) {
-
- // Handle memory leak in IE
- script.onload = script.onreadystatechange = null;
-
- // Remove the script
- if ( head && script.parentNode ) {
- head.removeChild( script );
- }
-
- // Dereference the script
- script = undefined;
-
- // Callback if not abort
- if ( !isAbort ) {
- callback( 200, "success" );
- }
- }
- };
- // Use insertBefore instead of appendChild to circumvent an IE6 bug.
- // This arises when a base node is used (#2709 and #4378).
- head.insertBefore( script, head.firstChild );
- },
-
- abort: function() {
- if ( script ) {
- script.onload( 0, 1 );
- }
- }
- };
- }
-});
-
-
-
-
-var // #5280: Internet Explorer will keep connections alive if we don't abort on unload
- xhrOnUnloadAbort = window.ActiveXObject ? function() {
- // Abort all pending requests
- for ( var key in xhrCallbacks ) {
- xhrCallbacks[ key ]( 0, 1 );
- }
- } : false,
- xhrId = 0,
- xhrCallbacks;
-
-// Functions to create xhrs
-function createStandardXHR() {
- try {
- return new window.XMLHttpRequest();
- } catch( e ) {}
-}
-
-function createActiveXHR() {
- try {
- return new window.ActiveXObject( "Microsoft.XMLHTTP" );
- } catch( e ) {}
-}
-
-// Create the request object
-// (This is still attached to ajaxSettings for backward compatibility)
-jQuery.ajaxSettings.xhr = window.ActiveXObject ?
- /* Microsoft failed to properly
- * implement the XMLHttpRequest in IE7 (can't request local files),
- * so we use the ActiveXObject when it is available
- * Additionally XMLHttpRequest can be disabled in IE7/IE8 so
- * we need a fallback.
- */
- function() {
- return !this.isLocal && createStandardXHR() || createActiveXHR();
- } :
- // For all other browsers, use the standard XMLHttpRequest object
- createStandardXHR;
-
-// Determine support properties
-(function( xhr ) {
- jQuery.extend( jQuery.support, {
- ajax: !!xhr,
- cors: !!xhr && ( "withCredentials" in xhr )
- });
-})( jQuery.ajaxSettings.xhr() );
-
-// Create transport if the browser can provide an xhr
-if ( jQuery.support.ajax ) {
-
- jQuery.ajaxTransport(function( s ) {
- // Cross domain only allowed if supported through XMLHttpRequest
- if ( !s.crossDomain || jQuery.support.cors ) {
-
- var callback;
-
- return {
- send: function( headers, complete ) {
-
- // Get a new xhr
- var xhr = s.xhr(),
- handle,
- i;
-
- // Open the socket
- // Passing null username, generates a login popup on Opera (#2865)
- if ( s.username ) {
- xhr.open( s.type, s.url, s.async, s.username, s.password );
- } else {
- xhr.open( s.type, s.url, s.async );
- }
-
- // Apply custom fields if provided
- if ( s.xhrFields ) {
- for ( i in s.xhrFields ) {
- xhr[ i ] = s.xhrFields[ i ];
- }
- }
-
- // Override mime type if needed
- if ( s.mimeType && xhr.overrideMimeType ) {
- xhr.overrideMimeType( s.mimeType );
- }
-
- // X-Requested-With header
- // For cross-domain requests, seeing as conditions for a preflight are
- // akin to a jigsaw puzzle, we simply never set it to be sure.
- // (it can always be set on a per-request basis or even using ajaxSetup)
- // For same-domain requests, won't change header if already provided.
- if ( !s.crossDomain && !headers["X-Requested-With"] ) {
- headers[ "X-Requested-With" ] = "XMLHttpRequest";
- }
-
- // Need an extra try/catch for cross domain requests in Firefox 3
- try {
- for ( i in headers ) {
- xhr.setRequestHeader( i, headers[ i ] );
- }
- } catch( _ ) {}
-
- // Do send the request
- // This may raise an exception which is actually
- // handled in jQuery.ajax (so no try/catch here)
- xhr.send( ( s.hasContent && s.data ) || null );
-
- // Listener
- callback = function( _, isAbort ) {
-
- var status,
- statusText,
- responseHeaders,
- responses,
- xml;
-
- // Firefox throws exceptions when accessing properties
- // of an xhr when a network error occured
- // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
- try {
-
- // Was never called and is aborted or complete
- if ( callback && ( isAbort || xhr.readyState === 4 ) ) {
-
- // Only called once
- callback = undefined;
-
- // Do not keep as active anymore
- if ( handle ) {
- xhr.onreadystatechange = jQuery.noop;
- if ( xhrOnUnloadAbort ) {
- delete xhrCallbacks[ handle ];
- }
- }
-
- // If it's an abort
- if ( isAbort ) {
- // Abort it manually if needed
- if ( xhr.readyState !== 4 ) {
- xhr.abort();
- }
- } else {
- status = xhr.status;
- responseHeaders = xhr.getAllResponseHeaders();
- responses = {};
- xml = xhr.responseXML;
-
- // Construct response list
- if ( xml && xml.documentElement /* #4958 */ ) {
- responses.xml = xml;
- }
-
- // When requesting binary data, IE6-9 will throw an exception
- // on any attempt to access responseText (#11426)
- try {
- responses.text = xhr.responseText;
- } catch( _ ) {
- }
-
- // Firefox throws an exception when accessing
- // statusText for faulty cross-domain requests
- try {
- statusText = xhr.statusText;
- } catch( e ) {
- // We normalize with Webkit giving an empty statusText
- statusText = "";
- }
-
- // Filter status for non standard behaviors
-
- // If the request is local and we have data: assume a success
- // (success with no data won't get notified, that's the best we
- // can do given current implementations)
- if ( !status && s.isLocal && !s.crossDomain ) {
- status = responses.text ? 200 : 404;
- // IE - #1450: sometimes returns 1223 when it should be 204
- } else if ( status === 1223 ) {
- status = 204;
- }
- }
- }
- } catch( firefoxAccessException ) {
- if ( !isAbort ) {
- complete( -1, firefoxAccessException );
- }
- }
-
- // Call complete if needed
- if ( responses ) {
- complete( status, statusText, responses, responseHeaders );
- }
- };
-
- // if we're in sync mode or it's in cache
- // and has been retrieved directly (IE6 & IE7)
- // we need to manually fire the callback
- if ( !s.async || xhr.readyState === 4 ) {
- callback();
- } else {
- handle = ++xhrId;
- if ( xhrOnUnloadAbort ) {
- // Create the active xhrs callbacks list if needed
- // and attach the unload handler
- if ( !xhrCallbacks ) {
- xhrCallbacks = {};
- jQuery( window ).unload( xhrOnUnloadAbort );
- }
- // Add to list of active xhrs callbacks
- xhrCallbacks[ handle ] = callback;
- }
- xhr.onreadystatechange = callback;
- }
- },
-
- abort: function() {
- if ( callback ) {
- callback(0,1);
- }
- }
- };
- }
- });
-}
-
-
-
-
-var elemdisplay = {},
- iframe, iframeDoc,
- rfxtypes = /^(?:toggle|show|hide)$/,
- rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,
- timerId,
- fxAttrs = [
- // height animations
- [ "height", "marginTop", "marginBottom", "paddingTop", "paddingBottom" ],
- // width animations
- [ "width", "marginLeft", "marginRight", "paddingLeft", "paddingRight" ],
- // opacity animations
- [ "opacity" ]
- ],
- fxNow;
-
-jQuery.fn.extend({
- show: function( speed, easing, callback ) {
- var elem, display;
-
- if ( speed || speed === 0 ) {
- return this.animate( genFx("show", 3), speed, easing, callback );
-
- } else {
- for ( var i = 0, j = this.length; i < j; i++ ) {
- elem = this[ i ];
-
- if ( elem.style ) {
- display = elem.style.display;
-
- // Reset the inline display of this element to learn if it is
- // being hidden by cascaded rules or not
- if ( !jQuery._data(elem, "olddisplay") && display === "none" ) {
- display = elem.style.display = "";
- }
-
- // Set elements which have been overridden with display: none
- // in a stylesheet to whatever the default browser style is
- // for such an element
- if ( (display === "" && jQuery.css(elem, "display") === "none") ||
- !jQuery.contains( elem.ownerDocument.documentElement, elem ) ) {
- jQuery._data( elem, "olddisplay", defaultDisplay(elem.nodeName) );
- }
- }
- }
-
- // Set the display of most of the elements in a second loop
- // to avoid the constant reflow
- for ( i = 0; i < j; i++ ) {
- elem = this[ i ];
-
- if ( elem.style ) {
- display = elem.style.display;
-
- if ( display === "" || display === "none" ) {
- elem.style.display = jQuery._data( elem, "olddisplay" ) || "";
- }
- }
- }
-
- return this;
- }
- },
-
- hide: function( speed, easing, callback ) {
- if ( speed || speed === 0 ) {
- return this.animate( genFx("hide", 3), speed, easing, callback);
-
- } else {
- var elem, display,
- i = 0,
- j = this.length;
-
- for ( ; i < j; i++ ) {
- elem = this[i];
- if ( elem.style ) {
- display = jQuery.css( elem, "display" );
-
- if ( display !== "none" && !jQuery._data( elem, "olddisplay" ) ) {
- jQuery._data( elem, "olddisplay", display );
- }
- }
- }
-
- // Set the display of the elements in a second loop
- // to avoid the constant reflow
- for ( i = 0; i < j; i++ ) {
- if ( this[i].style ) {
- this[i].style.display = "none";
- }
- }
-
- return this;
- }
- },
-
- // Save the old toggle function
- _toggle: jQuery.fn.toggle,
-
- toggle: function( fn, fn2, callback ) {
- var bool = typeof fn === "boolean";
-
- if ( jQuery.isFunction(fn) && jQuery.isFunction(fn2) ) {
- this._toggle.apply( this, arguments );
-
- } else if ( fn == null || bool ) {
- this.each(function() {
- var state = bool ? fn : jQuery(this).is(":hidden");
- jQuery(this)[ state ? "show" : "hide" ]();
- });
-
- } else {
- this.animate(genFx("toggle", 3), fn, fn2, callback);
- }
-
- return this;
- },
-
- fadeTo: function( speed, to, easing, callback ) {
- return this.filter(":hidden").css("opacity", 0).show().end()
- .animate({opacity: to}, speed, easing, callback);
- },
-
- animate: function( prop, speed, easing, callback ) {
- var optall = jQuery.speed( speed, easing, callback );
-
- if ( jQuery.isEmptyObject( prop ) ) {
- return this.each( optall.complete, [ false ] );
- }
-
- // Do not change referenced properties as per-property easing will be lost
- prop = jQuery.extend( {}, prop );
-
- function doAnimation() {
- // XXX 'this' does not always have a nodeName when running the
- // test suite
-
- if ( optall.queue === false ) {
- jQuery._mark( this );
- }
-
- var opt = jQuery.extend( {}, optall ),
- isElement = this.nodeType === 1,
- hidden = isElement && jQuery(this).is(":hidden"),
- name, val, p, e, hooks, replace,
- parts, start, end, unit,
- method;
-
- // will store per property easing and be used to determine when an animation is complete
- opt.animatedProperties = {};
-
- // first pass over propertys to expand / normalize
- for ( p in prop ) {
- name = jQuery.camelCase( p );
- if ( p !== name ) {
- prop[ name ] = prop[ p ];
- delete prop[ p ];
- }
-
- if ( ( hooks = jQuery.cssHooks[ name ] ) && "expand" in hooks ) {
- replace = hooks.expand( prop[ name ] );
- delete prop[ name ];
-
- // not quite $.extend, this wont overwrite keys already present.
- // also - reusing 'p' from above because we have the correct "name"
- for ( p in replace ) {
- if ( ! ( p in prop ) ) {
- prop[ p ] = replace[ p ];
- }
- }
- }
- }
-
- for ( name in prop ) {
- val = prop[ name ];
- // easing resolution: per property > opt.specialEasing > opt.easing > 'swing' (default)
- if ( jQuery.isArray( val ) ) {
- opt.animatedProperties[ name ] = val[ 1 ];
- val = prop[ name ] = val[ 0 ];
- } else {
- opt.animatedProperties[ name ] = opt.specialEasing && opt.specialEasing[ name ] || opt.easing || 'swing';
- }
-
- if ( val === "hide" && hidden || val === "show" && !hidden ) {
- return opt.complete.call( this );
- }
-
- if ( isElement && ( name === "height" || name === "width" ) ) {
- // Make sure that nothing sneaks out
- // Record all 3 overflow attributes because IE does not
- // change the overflow attribute when overflowX and
- // overflowY are set to the same value
- opt.overflow = [ this.style.overflow, this.style.overflowX, this.style.overflowY ];
-
- // Set display property to inline-block for height/width
- // animations on inline elements that are having width/height animated
- if ( jQuery.css( this, "display" ) === "inline" &&
- jQuery.css( this, "float" ) === "none" ) {
-
- // inline-level elements accept inline-block;
- // block-level elements need to be inline with layout
- if ( !jQuery.support.inlineBlockNeedsLayout || defaultDisplay( this.nodeName ) === "inline" ) {
- this.style.display = "inline-block";
-
- } else {
- this.style.zoom = 1;
- }
- }
- }
- }
-
- if ( opt.overflow != null ) {
- this.style.overflow = "hidden";
- }
-
- for ( p in prop ) {
- e = new jQuery.fx( this, opt, p );
- val = prop[ p ];
-
- if ( rfxtypes.test( val ) ) {
-
- // Tracks whether to show or hide based on private
- // data attached to the element
- method = jQuery._data( this, "toggle" + p ) || ( val === "toggle" ? hidden ? "show" : "hide" : 0 );
- if ( method ) {
- jQuery._data( this, "toggle" + p, method === "show" ? "hide" : "show" );
- e[ method ]();
- } else {
- e[ val ]();
- }
-
- } else {
- parts = rfxnum.exec( val );
- start = e.cur();
-
- if ( parts ) {
- end = parseFloat( parts[2] );
- unit = parts[3] || ( jQuery.cssNumber[ p ] ? "" : "px" );
-
- // We need to compute starting value
- if ( unit !== "px" ) {
- jQuery.style( this, p, (end || 1) + unit);
- start = ( (end || 1) / e.cur() ) * start;
- jQuery.style( this, p, start + unit);
- }
-
- // If a +=/-= token was provided, we're doing a relative animation
- if ( parts[1] ) {
- end = ( (parts[ 1 ] === "-=" ? -1 : 1) * end ) + start;
- }
-
- e.custom( start, end, unit );
-
- } else {
- e.custom( start, val, "" );
- }
- }
- }
-
- // For JS strict compliance
- return true;
- }
-
- return optall.queue === false ?
- this.each( doAnimation ) :
- this.queue( optall.queue, doAnimation );
- },
-
- stop: function( type, clearQueue, gotoEnd ) {
- if ( typeof type !== "string" ) {
- gotoEnd = clearQueue;
- clearQueue = type;
- type = undefined;
- }
- if ( clearQueue && type !== false ) {
- this.queue( type || "fx", [] );
- }
-
- return this.each(function() {
- var index,
- hadTimers = false,
- timers = jQuery.timers,
- data = jQuery._data( this );
-
- // clear marker counters if we know they won't be
- if ( !gotoEnd ) {
- jQuery._unmark( true, this );
- }
-
- function stopQueue( elem, data, index ) {
- var hooks = data[ index ];
- jQuery.removeData( elem, index, true );
- hooks.stop( gotoEnd );
- }
-
- if ( type == null ) {
- for ( index in data ) {
- if ( data[ index ] && data[ index ].stop && index.indexOf(".run") === index.length - 4 ) {
- stopQueue( this, data, index );
- }
- }
- } else if ( data[ index = type + ".run" ] && data[ index ].stop ){
- stopQueue( this, data, index );
- }
-
- for ( index = timers.length; index--; ) {
- if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
- if ( gotoEnd ) {
-
- // force the next step to be the last
- timers[ index ]( true );
- } else {
- timers[ index ].saveState();
- }
- hadTimers = true;
- timers.splice( index, 1 );
- }
- }
-
- // start the next in the queue if the last step wasn't forced
- // timers currently will call their complete callbacks, which will dequeue
- // but only if they were gotoEnd
- if ( !( gotoEnd && hadTimers ) ) {
- jQuery.dequeue( this, type );
- }
- });
- }
-
-});
-
-// Animations created synchronously will run synchronously
-function createFxNow() {
- setTimeout( clearFxNow, 0 );
- return ( fxNow = jQuery.now() );
-}
-
-function clearFxNow() {
- fxNow = undefined;
-}
-
-// Generate parameters to create a standard animation
-function genFx( type, num ) {
- var obj = {};
-
- jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice( 0, num )), function() {
- obj[ this ] = type;
- });
-
- return obj;
-}
-
-// Generate shortcuts for custom animations
-jQuery.each({
- slideDown: genFx( "show", 1 ),
- slideUp: genFx( "hide", 1 ),
- slideToggle: genFx( "toggle", 1 ),
- fadeIn: { opacity: "show" },
- fadeOut: { opacity: "hide" },
- fadeToggle: { opacity: "toggle" }
-}, function( name, props ) {
- jQuery.fn[ name ] = function( speed, easing, callback ) {
- return this.animate( props, speed, easing, callback );
- };
-});
-
-jQuery.extend({
- speed: function( speed, easing, fn ) {
- var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
- complete: fn || !fn && easing ||
- jQuery.isFunction( speed ) && speed,
- duration: speed,
- easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
- };
-
- opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
- opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
-
- // normalize opt.queue - true/undefined/null -> "fx"
- if ( opt.queue == null || opt.queue === true ) {
- opt.queue = "fx";
- }
-
- // Queueing
- opt.old = opt.complete;
-
- opt.complete = function( noUnmark ) {
- if ( jQuery.isFunction( opt.old ) ) {
- opt.old.call( this );
- }
-
- if ( opt.queue ) {
- jQuery.dequeue( this, opt.queue );
- } else if ( noUnmark !== false ) {
- jQuery._unmark( this );
- }
- };
-
- return opt;
- },
-
- easing: {
- linear: function( p ) {
- return p;
- },
- swing: function( p ) {
- return ( -Math.cos( p*Math.PI ) / 2 ) + 0.5;
- }
- },
-
- timers: [],
-
- fx: function( elem, options, prop ) {
- this.options = options;
- this.elem = elem;
- this.prop = prop;
-
- options.orig = options.orig || {};
- }
-
-});
-
-jQuery.fx.prototype = {
- // Simple function for setting a style value
- update: function() {
- if ( this.options.step ) {
- this.options.step.call( this.elem, this.now, this );
- }
-
- ( jQuery.fx.step[ this.prop ] || jQuery.fx.step._default )( this );
- },
-
- // Get the current size
- cur: function() {
- if ( this.elem[ this.prop ] != null && (!this.elem.style || this.elem.style[ this.prop ] == null) ) {
- return this.elem[ this.prop ];
- }
-
- var parsed,
- r = jQuery.css( this.elem, this.prop );
- // Empty strings, null, undefined and "auto" are converted to 0,
- // complex values such as "rotate(1rad)" are returned as is,
- // simple values such as "10px" are parsed to Float.
- return isNaN( parsed = parseFloat( r ) ) ? !r || r === "auto" ? 0 : r : parsed;
- },
-
- // Start an animation from one number to another
- custom: function( from, to, unit ) {
- var self = this,
- fx = jQuery.fx;
-
- this.startTime = fxNow || createFxNow();
- this.end = to;
- this.now = this.start = from;
- this.pos = this.state = 0;
- this.unit = unit || this.unit || ( jQuery.cssNumber[ this.prop ] ? "" : "px" );
-
- function t( gotoEnd ) {
- return self.step( gotoEnd );
- }
-
- t.queue = this.options.queue;
- t.elem = this.elem;
- t.saveState = function() {
- if ( jQuery._data( self.elem, "fxshow" + self.prop ) === undefined ) {
- if ( self.options.hide ) {
- jQuery._data( self.elem, "fxshow" + self.prop, self.start );
- } else if ( self.options.show ) {
- jQuery._data( self.elem, "fxshow" + self.prop, self.end );
- }
- }
- };
-
- if ( t() && jQuery.timers.push(t) && !timerId ) {
- timerId = setInterval( fx.tick, fx.interval );
- }
- },
-
- // Simple 'show' function
- show: function() {
- var dataShow = jQuery._data( this.elem, "fxshow" + this.prop );
-
- // Remember where we started, so that we can go back to it later
- this.options.orig[ this.prop ] = dataShow || jQuery.style( this.elem, this.prop );
- this.options.show = true;
-
- // Begin the animation
- // Make sure that we start at a small width/height to avoid any flash of content
- if ( dataShow !== undefined ) {
- // This show is picking up where a previous hide or show left off
- this.custom( this.cur(), dataShow );
- } else {
- this.custom( this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur() );
- }
-
- // Start by showing the element
- jQuery( this.elem ).show();
- },
-
- // Simple 'hide' function
- hide: function() {
- // Remember where we started, so that we can go back to it later
- this.options.orig[ this.prop ] = jQuery._data( this.elem, "fxshow" + this.prop ) || jQuery.style( this.elem, this.prop );
- this.options.hide = true;
-
- // Begin the animation
- this.custom( this.cur(), 0 );
- },
-
- // Each step of an animation
- step: function( gotoEnd ) {
- var p, n, complete,
- t = fxNow || createFxNow(),
- done = true,
- elem = this.elem,
- options = this.options;
-
- if ( gotoEnd || t >= options.duration + this.startTime ) {
- this.now = this.end;
- this.pos = this.state = 1;
- this.update();
-
- options.animatedProperties[ this.prop ] = true;
-
- for ( p in options.animatedProperties ) {
- if ( options.animatedProperties[ p ] !== true ) {
- done = false;
- }
- }
-
- if ( done ) {
- // Reset the overflow
- if ( options.overflow != null && !jQuery.support.shrinkWrapBlocks ) {
-
- jQuery.each( [ "", "X", "Y" ], function( index, value ) {
- elem.style[ "overflow" + value ] = options.overflow[ index ];
- });
- }
-
- // Hide the element if the "hide" operation was done
- if ( options.hide ) {
- jQuery( elem ).hide();
- }
-
- // Reset the properties, if the item has been hidden or shown
- if ( options.hide || options.show ) {
- for ( p in options.animatedProperties ) {
- jQuery.style( elem, p, options.orig[ p ] );
- jQuery.removeData( elem, "fxshow" + p, true );
- // Toggle data is no longer needed
- jQuery.removeData( elem, "toggle" + p, true );
- }
- }
-
- // Execute the complete function
- // in the event that the complete function throws an exception
- // we must ensure it won't be called twice. #5684
-
- complete = options.complete;
- if ( complete ) {
-
- options.complete = false;
- complete.call( elem );
- }
- }
-
- return false;
-
- } else {
- // classical easing cannot be used with an Infinity duration
- if ( options.duration == Infinity ) {
- this.now = t;
- } else {
- n = t - this.startTime;
- this.state = n / options.duration;
-
- // Perform the easing function, defaults to swing
- this.pos = jQuery.easing[ options.animatedProperties[this.prop] ]( this.state, n, 0, 1, options.duration );
- this.now = this.start + ( (this.end - this.start) * this.pos );
- }
- // Perform the next step of the animation
- this.update();
- }
-
- return true;
- }
-};
-
-jQuery.extend( jQuery.fx, {
- tick: function() {
- var timer,
- timers = jQuery.timers,
- i = 0;
-
- for ( ; i < timers.length; i++ ) {
- timer = timers[ i ];
- // Checks the timer has not already been removed
- if ( !timer() && timers[ i ] === timer ) {
- timers.splice( i--, 1 );
- }
- }
-
- if ( !timers.length ) {
- jQuery.fx.stop();
- }
- },
-
- interval: 13,
-
- stop: function() {
- clearInterval( timerId );
- timerId = null;
- },
-
- speeds: {
- slow: 600,
- fast: 200,
- // Default speed
- _default: 400
- },
-
- step: {
- opacity: function( fx ) {
- jQuery.style( fx.elem, "opacity", fx.now );
- },
-
- _default: function( fx ) {
- if ( fx.elem.style && fx.elem.style[ fx.prop ] != null ) {
- fx.elem.style[ fx.prop ] = fx.now + fx.unit;
- } else {
- fx.elem[ fx.prop ] = fx.now;
- }
- }
- }
-});
-
-// Ensure props that can't be negative don't go there on undershoot easing
-jQuery.each( fxAttrs.concat.apply( [], fxAttrs ), function( i, prop ) {
- // exclude marginTop, marginLeft, marginBottom and marginRight from this list
- if ( prop.indexOf( "margin" ) ) {
- jQuery.fx.step[ prop ] = function( fx ) {
- jQuery.style( fx.elem, prop, Math.max(0, fx.now) + fx.unit );
- };
- }
-});
-
-if ( jQuery.expr && jQuery.expr.filters ) {
- jQuery.expr.filters.animated = function( elem ) {
- return jQuery.grep(jQuery.timers, function( fn ) {
- return elem === fn.elem;
- }).length;
- };
-}
-
-// Try to restore the default display value of an element
-function defaultDisplay( nodeName ) {
-
- if ( !elemdisplay[ nodeName ] ) {
-
- var body = document.body,
- elem = jQuery( "<" + nodeName + ">" ).appendTo( body ),
- display = elem.css( "display" );
- elem.remove();
-
- // If the simple way fails,
- // get element's real default display by attaching it to a temp iframe
- if ( display === "none" || display === "" ) {
- // No iframe to use yet, so create it
- if ( !iframe ) {
- iframe = document.createElement( "iframe" );
- iframe.frameBorder = iframe.width = iframe.height = 0;
- }
-
- body.appendChild( iframe );
-
- // Create a cacheable copy of the iframe document on first call.
- // IE and Opera will allow us to reuse the iframeDoc without re-writing the fake HTML
- // document to it; WebKit & Firefox won't allow reusing the iframe document.
- if ( !iframeDoc || !iframe.createElement ) {
- iframeDoc = ( iframe.contentWindow || iframe.contentDocument ).document;
- iframeDoc.write( ( jQuery.support.boxModel ? "<!doctype html>" : "" ) + "<html><body>" );
- iframeDoc.close();
- }
-
- elem = iframeDoc.createElement( nodeName );
-
- iframeDoc.body.appendChild( elem );
-
- display = jQuery.css( elem, "display" );
- body.removeChild( iframe );
- }
-
- // Store the correct default display
- elemdisplay[ nodeName ] = display;
- }
-
- return elemdisplay[ nodeName ];
-}
-
-
-
-
-var getOffset,
- rtable = /^t(?:able|d|h)$/i,
- rroot = /^(?:body|html)$/i;
-
-if ( "getBoundingClientRect" in document.documentElement ) {
- getOffset = function( elem, doc, docElem, box ) {
- try {
- box = elem.getBoundingClientRect();
- } catch(e) {}
-
- // Make sure we're not dealing with a disconnected DOM node
- if ( !box || !jQuery.contains( docElem, elem ) ) {
- return box ? { top: box.top, left: box.left } : { top: 0, left: 0 };
- }
-
- var body = doc.body,
- win = getWindow( doc ),
- clientTop = docElem.clientTop || body.clientTop || 0,
- clientLeft = docElem.clientLeft || body.clientLeft || 0,
- scrollTop = win.pageYOffset || jQuery.support.boxModel && docElem.scrollTop || body.scrollTop,
- scrollLeft = win.pageXOffset || jQuery.support.boxModel && docElem.scrollLeft || body.scrollLeft,
- top = box.top + scrollTop - clientTop,
- left = box.left + scrollLeft - clientLeft;
-
- return { top: top, left: left };
- };
-
-} else {
- getOffset = function( elem, doc, docElem ) {
- var computedStyle,
- offsetParent = elem.offsetParent,
- prevOffsetParent = elem,
- body = doc.body,
- defaultView = doc.defaultView,
- prevComputedStyle = defaultView ? defaultView.getComputedStyle( elem, null ) : elem.currentStyle,
- top = elem.offsetTop,
- left = elem.offsetLeft;
-
- while ( (elem = elem.parentNode) && elem !== body && elem !== docElem ) {
- if ( jQuery.support.fixedPosition && prevComputedStyle.position === "fixed" ) {
- break;
- }
-
- computedStyle = defaultView ? defaultView.getComputedStyle(elem, null) : elem.currentStyle;
- top -= elem.scrollTop;
- left -= elem.scrollLeft;
-
- if ( elem === offsetParent ) {
- top += elem.offsetTop;
- left += elem.offsetLeft;
-
- if ( jQuery.support.doesNotAddBorder && !(jQuery.support.doesAddBorderForTableAndCells && rtable.test(elem.nodeName)) ) {
- top += parseFloat( computedStyle.borderTopWidth ) || 0;
- left += parseFloat( computedStyle.borderLeftWidth ) || 0;
- }
-
- prevOffsetParent = offsetParent;
- offsetParent = elem.offsetParent;
- }
-
- if ( jQuery.support.subtractsBorderForOverflowNotVisible && computedStyle.overflow !== "visible" ) {
- top += parseFloat( computedStyle.borderTopWidth ) || 0;
- left += parseFloat( computedStyle.borderLeftWidth ) || 0;
- }
-
- prevComputedStyle = computedStyle;
- }
-
- if ( prevComputedStyle.position === "relative" || prevComputedStyle.position === "static" ) {
- top += body.offsetTop;
- left += body.offsetLeft;
- }
-
- if ( jQuery.support.fixedPosition && prevComputedStyle.position === "fixed" ) {
- top += Math.max( docElem.scrollTop, body.scrollTop );
- left += Math.max( docElem.scrollLeft, body.scrollLeft );
- }
-
- return { top: top, left: left };
- };
-}
-
-jQuery.fn.offset = function( options ) {
- if ( arguments.length ) {
- return options === undefined ?
- this :
- this.each(function( i ) {
- jQuery.offset.setOffset( this, options, i );
- });
- }
-
- var elem = this[0],
- doc = elem && elem.ownerDocument;
-
- if ( !doc ) {
- return null;
- }
-
- if ( elem === doc.body ) {
- return jQuery.offset.bodyOffset( elem );
- }
-
- return getOffset( elem, doc, doc.documentElement );
-};
-
-jQuery.offset = {
-
- bodyOffset: function( body ) {
- var top = body.offsetTop,
- left = body.offsetLeft;
-
- if ( jQuery.support.doesNotIncludeMarginInBodyOffset ) {
- top += parseFloat( jQuery.css(body, "marginTop") ) || 0;
- left += parseFloat( jQuery.css(body, "marginLeft") ) || 0;
- }
-
- return { top: top, left: left };
- },
-
- setOffset: function( elem, options, i ) {
- var position = jQuery.css( elem, "position" );
-
- // set position first, in-case top/left are set even on static elem
- if ( position === "static" ) {
- elem.style.position = "relative";
- }
-
- var curElem = jQuery( elem ),
- curOffset = curElem.offset(),
- curCSSTop = jQuery.css( elem, "top" ),
- curCSSLeft = jQuery.css( elem, "left" ),
- calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1,
- props = {}, curPosition = {}, curTop, curLeft;
-
- // need to be able to calculate position if either top or left is auto and position is either absolute or fixed
- if ( calculatePosition ) {
- curPosition = curElem.position();
- curTop = curPosition.top;
- curLeft = curPosition.left;
- } else {
- curTop = parseFloat( curCSSTop ) || 0;
- curLeft = parseFloat( curCSSLeft ) || 0;
- }
-
- if ( jQuery.isFunction( options ) ) {
- options = options.call( elem, i, curOffset );
- }
-
- if ( options.top != null ) {
- props.top = ( options.top - curOffset.top ) + curTop;
- }
- if ( options.left != null ) {
- props.left = ( options.left - curOffset.left ) + curLeft;
- }
-
- if ( "using" in options ) {
- options.using.call( elem, props );
- } else {
- curElem.css( props );
- }
- }
-};
-
-
-jQuery.fn.extend({
-
- position: function() {
- if ( !this[0] ) {
- return null;
- }
-
- var elem = this[0],
-
- // Get *real* offsetParent
- offsetParent = this.offsetParent(),
-
- // Get correct offsets
- offset = this.offset(),
- parentOffset = rroot.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset();
-
- // Subtract element margins
- // note: when an element has margin: auto the offsetLeft and marginLeft
- // are the same in Safari causing offset.left to incorrectly be 0
- offset.top -= parseFloat( jQuery.css(elem, "marginTop") ) || 0;
- offset.left -= parseFloat( jQuery.css(elem, "marginLeft") ) || 0;
-
- // Add offsetParent borders
- parentOffset.top += parseFloat( jQuery.css(offsetParent[0], "borderTopWidth") ) || 0;
- parentOffset.left += parseFloat( jQuery.css(offsetParent[0], "borderLeftWidth") ) || 0;
-
- // Subtract the two offsets
- return {
- top: offset.top - parentOffset.top,
- left: offset.left - parentOffset.left
- };
- },
-
- offsetParent: function() {
- return this.map(function() {
- var offsetParent = this.offsetParent || document.body;
- while ( offsetParent && (!rroot.test(offsetParent.nodeName) && jQuery.css(offsetParent, "position") === "static") ) {
- offsetParent = offsetParent.offsetParent;
- }
- return offsetParent;
- });
- }
-});
-
-
-// Create scrollLeft and scrollTop methods
-jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) {
- var top = /Y/.test( prop );
-
- jQuery.fn[ method ] = function( val ) {
- return jQuery.access( this, function( elem, method, val ) {
- var win = getWindow( elem );
-
- if ( val === undefined ) {
- return win ? (prop in win) ? win[ prop ] :
- jQuery.support.boxModel && win.document.documentElement[ method ] ||
- win.document.body[ method ] :
- elem[ method ];
- }
-
- if ( win ) {
- win.scrollTo(
- !top ? val : jQuery( win ).scrollLeft(),
- top ? val : jQuery( win ).scrollTop()
- );
-
- } else {
- elem[ method ] = val;
- }
- }, method, val, arguments.length, null );
- };
-});
-
-function getWindow( elem ) {
- return jQuery.isWindow( elem ) ?
- elem :
- elem.nodeType === 9 ?
- elem.defaultView || elem.parentWindow :
- false;
-}
-
-
-
-
-// Create width, height, innerHeight, innerWidth, outerHeight and outerWidth methods
-jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
- var clientProp = "client" + name,
- scrollProp = "scroll" + name,
- offsetProp = "offset" + name;
-
- // innerHeight and innerWidth
- jQuery.fn[ "inner" + name ] = function() {
- var elem = this[0];
- return elem ?
- elem.style ?
- parseFloat( jQuery.css( elem, type, "padding" ) ) :
- this[ type ]() :
- null;
- };
-
- // outerHeight and outerWidth
- jQuery.fn[ "outer" + name ] = function( margin ) {
- var elem = this[0];
- return elem ?
- elem.style ?
- parseFloat( jQuery.css( elem, type, margin ? "margin" : "border" ) ) :
- this[ type ]() :
- null;
- };
-
- jQuery.fn[ type ] = function( value ) {
- return jQuery.access( this, function( elem, type, value ) {
- var doc, docElemProp, orig, ret;
-
- if ( jQuery.isWindow( elem ) ) {
- // 3rd condition allows Nokia support, as it supports the docElem prop but not CSS1Compat
- doc = elem.document;
- docElemProp = doc.documentElement[ clientProp ];
- return jQuery.support.boxModel && docElemProp ||
- doc.body && doc.body[ clientProp ] || docElemProp;
- }
-
- // Get document width or height
- if ( elem.nodeType === 9 ) {
- // Either scroll[Width/Height] or offset[Width/Height], whichever is greater
- doc = elem.documentElement;
-
- // when a window > document, IE6 reports a offset[Width/Height] > client[Width/Height]
- // so we can't use max, as it'll choose the incorrect offset[Width/Height]
- // instead we use the correct client[Width/Height]
- // support:IE6
- if ( doc[ clientProp ] >= doc[ scrollProp ] ) {
- return doc[ clientProp ];
- }
-
- return Math.max(
- elem.body[ scrollProp ], doc[ scrollProp ],
- elem.body[ offsetProp ], doc[ offsetProp ]
- );
- }
-
- // Get width or height on the element
- if ( value === undefined ) {
- orig = jQuery.css( elem, type );
- ret = parseFloat( orig );
- return jQuery.isNumeric( ret ) ? ret : orig;
- }
-
- // Set the width or height on the element
- jQuery( elem ).css( type, value );
- }, type, value, arguments.length, null );
- };
-});
-
-
-
-
-// Expose jQuery to the global object
-window.jQuery = window.$ = jQuery;
-
-// Expose jQuery as an AMD module, but only for AMD loaders that
-// understand the issues with loading multiple versions of jQuery
-// in a page that all might call define(). The loader will indicate
-// they have special allowances for multiple jQuery versions by
-// specifying define.amd.jQuery = true. Register as a named module,
-// since jQuery can be concatenated with other files that may use define,
-// but not use a proper concatenation script that understands anonymous
-// AMD modules. A named AMD is safest and most robust way to register.
-// Lowercase jquery is used because AMD module names are derived from
-// file names, and jQuery is normally delivered in a lowercase file name.
-// Do this after creating the global so that if an AMD module wants to call
-// noConflict to hide this version of jQuery, it will work.
-if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
- define( "jquery", [], function () { return jQuery; } );
-}
-
-
-
-})( window );
+/*! jQuery v1.7.1 jquery.com | jquery.org/license */
+(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+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(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
+f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
+{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file
diff --git a/doc/html/_static/pygments.css b/doc/html/_static/pygments.css
index c30fc0b..a633c27 100644
--- a/doc/html/_static/pygments.css
+++ b/doc/html/_static/pygments.css
@@ -1,62 +1,62 @@
.highlight .hll { background-color: #ffffcc }
.highlight { background: #ffffff; }
-.highlight .c { color: #808080 } /* Comment */
-.highlight .err { color: #F00000; background-color: #F0A0A0 } /* Error */
-.highlight .k { color: #008000; font-weight: bold } /* Keyword */
-.highlight .o { color: #303030 } /* Operator */
-.highlight .cm { color: #808080 } /* Comment.Multiline */
-.highlight .cp { color: #507090 } /* Comment.Preproc */
-.highlight .c1 { color: #808080 } /* Comment.Single */
+.highlight .c { color: #888888 } /* Comment */
+.highlight .err { color: #FF0000; background-color: #FFAAAA } /* Error */
+.highlight .k { color: #008800; font-weight: bold } /* Keyword */
+.highlight .o { color: #333333 } /* Operator */
+.highlight .cm { color: #888888 } /* Comment.Multiline */
+.highlight .cp { color: #557799 } /* Comment.Preproc */
+.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold } /* 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: #808080 } /* Generic.Output */
+.highlight .go { color: #888888 } /* 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: #008000; font-weight: bold } /* Keyword.Constant */
-.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
-.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
-.highlight .kp { color: #003080; font-weight: bold } /* Keyword.Pseudo */
-.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
-.highlight .kt { color: #303090; font-weight: bold } /* Keyword.Type */
-.highlight .m { color: #6000E0; font-weight: bold } /* Literal.Number */
+.highlight .gt { color: #0044DD } /* Generic.Traceback */
+.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
+.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
+.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
+.highlight .kp { color: #003388; font-weight: bold } /* Keyword.Pseudo */
+.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
+.highlight .kt { color: #333399; font-weight: bold } /* Keyword.Type */
+.highlight .m { color: #6600EE; font-weight: bold } /* Literal.Number */
.highlight .s { background-color: #fff0f0 } /* Literal.String */
-.highlight .na { color: #0000C0 } /* Name.Attribute */
+.highlight .na { color: #0000CC } /* Name.Attribute */
.highlight .nb { color: #007020 } /* Name.Builtin */
-.highlight .nc { color: #B00060; font-weight: bold } /* Name.Class */
-.highlight .no { color: #003060; font-weight: bold } /* Name.Constant */
-.highlight .nd { color: #505050; font-weight: bold } /* Name.Decorator */
-.highlight .ni { color: #800000; font-weight: bold } /* Name.Entity */
-.highlight .ne { color: #F00000; font-weight: bold } /* Name.Exception */
-.highlight .nf { color: #0060B0; font-weight: bold } /* Name.Function */
-.highlight .nl { color: #907000; font-weight: bold } /* Name.Label */
+.highlight .nc { color: #BB0066; font-weight: bold } /* Name.Class */
+.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
+.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
+.highlight .ni { color: #880000; font-weight: bold } /* Name.Entity */
+.highlight .ne { color: #FF0000; font-weight: bold } /* Name.Exception */
+.highlight .nf { color: #0066BB; font-weight: bold } /* Name.Function */
+.highlight .nl { color: #997700; font-weight: bold } /* Name.Label */
.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
-.highlight .nt { color: #007000 } /* Name.Tag */
-.highlight .nv { color: #906030 } /* Name.Variable */
+.highlight .nt { color: #007700 } /* Name.Tag */
+.highlight .nv { color: #996633 } /* Name.Variable */
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
-.highlight .mf { color: #6000E0; font-weight: bold } /* Literal.Number.Float */
-.highlight .mh { color: #005080; font-weight: bold } /* Literal.Number.Hex */
-.highlight .mi { color: #0000D0; font-weight: bold } /* Literal.Number.Integer */
-.highlight .mo { color: #4000E0; font-weight: bold } /* Literal.Number.Oct */
+.highlight .mf { color: #6600EE; font-weight: bold } /* Literal.Number.Float */
+.highlight .mh { color: #005588; font-weight: bold } /* Literal.Number.Hex */
+.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
+.highlight .mo { color: #4400EE; font-weight: bold } /* Literal.Number.Oct */
.highlight .sb { background-color: #fff0f0 } /* Literal.String.Backtick */
-.highlight .sc { color: #0040D0 } /* Literal.String.Char */
-.highlight .sd { color: #D04020 } /* Literal.String.Doc */
+.highlight .sc { color: #0044DD } /* Literal.String.Char */
+.highlight .sd { color: #DD4422 } /* Literal.String.Doc */
.highlight .s2 { background-color: #fff0f0 } /* Literal.String.Double */
-.highlight .se { color: #606060; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
+.highlight .se { color: #666666; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
-.highlight .si { background-color: #e0e0e0 } /* Literal.String.Interpol */
-.highlight .sx { color: #D02000; background-color: #fff0f0 } /* Literal.String.Other */
+.highlight .si { background-color: #eeeeee } /* Literal.String.Interpol */
+.highlight .sx { color: #DD2200; background-color: #fff0f0 } /* Literal.String.Other */
.highlight .sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { background-color: #fff0f0 } /* Literal.String.Single */
-.highlight .ss { color: #A06000 } /* Literal.String.Symbol */
+.highlight .ss { color: #AA6600 } /* Literal.String.Symbol */
.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
-.highlight .vc { color: #306090 } /* Name.Variable.Class */
-.highlight .vg { color: #d07000; font-weight: bold } /* Name.Variable.Global */
-.highlight .vi { color: #3030B0 } /* Name.Variable.Instance */
-.highlight .il { color: #0000D0; font-weight: bold } /* Literal.Number.Integer.Long */ \ No newline at end of file
+.highlight .vc { color: #336699 } /* Name.Variable.Class */
+.highlight .vg { color: #dd7700; font-weight: bold } /* Name.Variable.Global */
+.highlight .vi { color: #3333BB } /* Name.Variable.Instance */
+.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ \ No newline at end of file
diff --git a/doc/html/_static/searchtools.js b/doc/html/_static/searchtools.js
index 663be4c..56676b2 100644
--- a/doc/html/_static/searchtools.js
+++ b/doc/html/_static/searchtools.js
@@ -4,38 +4,11 @@
*
* Sphinx JavaScript utilties for the full-text search.
*
- * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2013 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 = $('<div class="context"></div>').text(excerpt);
- $.each(hlwords, function() {
- rv = rv.highlightText(this, 'highlighted');
- });
- return rv;
-}
-
/**
* Porter Stemmer
@@ -220,6 +193,38 @@ var Stemmer = function() {
}
+
+/**
+ * Simple result scoring code.
+ */
+var Scorer = {
+ // Implement the following function to further tweak the score for each result
+ // The function takes a result array [filename, title, anchor, descr, score]
+ // and returns the new score.
+ /*
+ score: function(result) {
+ return result[4];
+ },
+ */
+
+ // query matches the full name of an object
+ objNameMatch: 11,
+ // or matches in the last dotted part of the object name
+ objPartialMatch: 6,
+ // Additive scores depending on the priority of the object
+ objPrio: {0: 15, // used to be importantResults
+ 1: 5, // used to be objectResults
+ 2: -5}, // used to be unimportantResults
+ // Used when the priority is not in the mapping.
+ objPrioDefault: 0,
+
+ // query found in title
+ title: 15,
+ // query found in terms
+ term: 5
+};
+
+
/**
* Search Module
*/
@@ -239,8 +244,13 @@ var Search = {
},
loadIndex : function(url) {
- $.ajax({type: "GET", url: url, data: null, success: null,
- dataType: "script", cache: true});
+ $.ajax({type: "GET", url: url, data: null,
+ dataType: "script", cache: true,
+ complete: function(jqxhr, textstatus) {
+ if (textstatus != "success") {
+ document.getElementById("searchindexloader").src = url;
+ }
+ }});
},
setIndex : function(index) {
@@ -268,19 +278,20 @@ var Search = {
if (this._pulse_status >= 0)
return;
function pulse() {
+ var i;
Search._pulse_status = (Search._pulse_status + 1) % 4;
var dotString = '';
- for (var i = 0; i < Search._pulse_status; i++)
+ for (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
+ * perform a search for something (or wait until index is loaded)
*/
performSearch : function(query) {
// create the required interface elements
@@ -300,41 +311,46 @@ var Search = {
this.deferQuery(query);
},
+ /**
+ * execute search (requires search index to be loaded)
+ */
query : function(query) {
- var stopwords = ["and","then","into","it","as","are","in","if","for","no","there","their","was","is","be","to","that","but","they","not","such","with","by","a","on","these","of","will","this","near","the","or","at"];
+ var i;
+ var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"];
- // Stem the searchterms and add them to the correct list
+ // stem the searchterms and add them to the correct list
var stemmer = new Stemmer();
var searchterms = [];
var excluded = [];
var hlterms = [];
var tmp = query.split(/\s+/);
var objectterms = [];
- for (var i = 0; i < tmp.length; i++) {
- if (tmp[i] != "") {
+ for (i = 0; i < tmp.length; i++) {
+ if (tmp[i] !== "") {
objectterms.push(tmp[i].toLowerCase());
}
if ($u.indexOf(stopwords, tmp[i]) != -1 || tmp[i].match(/^\d+$/) ||
- tmp[i] == "") {
+ tmp[i] === "") {
// skip this "word"
continue;
}
// stem the word
var word = stemmer.stemWord(tmp[i]).toLowerCase();
+ var toAppend;
// select the correct list
if (word[0] == '-') {
- var toAppend = excluded;
+ toAppend = excluded;
word = word.substr(1);
}
else {
- var toAppend = searchterms;
+ toAppend = searchterms;
hlterms.push(tmp[i].toLowerCase());
}
// only add if not already in the list
- if (!$.contains(toAppend, word))
+ if (!$u.contains(toAppend, word))
toAppend.push(word);
- };
+ }
var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" "));
// console.debug('SEARCH: searching for:');
@@ -342,89 +358,51 @@ var Search = {
// console.info('excluded: ', excluded);
// prepare search
- var filenames = this._index.filenames;
- var titles = this._index.titles;
var terms = this._index.terms;
- var fileMap = {};
- var files = null;
- // different result priorities
- var importantResults = [];
- var objectResults = [];
- var regularResults = [];
- var unimportantResults = [];
+ var titleterms = this._index.titleterms;
+
+ // array of [filename, title, anchor, descr, score]
+ var results = [];
$('#search-progress').empty();
// lookup as object
- for (var i = 0; i < objectterms.length; i++) {
- var others = [].concat(objectterms.slice(0,i),
- objectterms.slice(i+1, objectterms.length))
- var results = this.performObjectSearch(objectterms[i], others);
- // Assume first word is most likely to be the object,
- // other words more likely to be in description.
- // Therefore put matches for earlier words first.
- // (Results are eventually used in reverse order).
- objectResults = results[0].concat(objectResults);
- importantResults = results[1].concat(importantResults);
- unimportantResults = results[2].concat(unimportantResults);
+ for (i = 0; i < objectterms.length; i++) {
+ var others = [].concat(objectterms.slice(0, i),
+ objectterms.slice(i+1, objectterms.length));
+ results = results.concat(this.performObjectSearch(objectterms[i], others));
}
- // perform the search on the required terms
- for (var i = 0; i < searchterms.length; i++) {
- var word = searchterms[i];
- // no match but word was a required one
- if ((files = terms[word]) == null)
- break;
- if (files.length == undefined) {
- files = [files];
- }
- // create the mapping
- for (var j = 0; j < files.length; j++) {
- var file = files[j];
- if (file in fileMap)
- fileMap[file].push(word);
- else
- fileMap[file] = [word];
- }
- }
-
- // now check if the files don't contain excluded terms
- for (var file in fileMap) {
- var valid = true;
-
- // check if all requirements are matched
- if (fileMap[file].length != searchterms.length)
- continue;
-
- // ensure that none of the excluded terms is in the
- // search result.
- for (var i = 0; i < excluded.length; i++) {
- if (terms[excluded[i]] == file ||
- $.contains(terms[excluded[i]] || [], file)) {
- valid = false;
- break;
- }
- }
+ // lookup as search terms in fulltext
+ results = results.concat(this.performTermsSearch(searchterms, excluded, terms, Scorer.term))
+ .concat(this.performTermsSearch(searchterms, excluded, titleterms, Scorer.title));
- // if we have still a valid result we can add it
- // to the result list
- if (valid)
- regularResults.push([filenames[file], titles[file], '', null]);
+ // let the scorer override scores with a custom scoring function
+ if (Scorer.score) {
+ for (i = 0; i < results.length; i++)
+ results[i][4] = Scorer.score(results[i]);
}
- // delete unused variables in order to not waste
- // memory until list is retrieved completely
- delete filenames, titles, terms;
-
- // now sort the regular results descending by title
- regularResults.sort(function(a, b) {
- var left = a[1].toLowerCase();
- var right = b[1].toLowerCase();
- return (left > right) ? -1 : ((left < right) ? 1 : 0);
+ // now sort the results by score (in opposite order of appearance, since the
+ // display function below uses pop() to retrieve items) and then
+ // alphabetically
+ results.sort(function(a, b) {
+ var left = a[4];
+ var right = b[4];
+ if (left > right) {
+ return 1;
+ } else if (left < right) {
+ return -1;
+ } else {
+ // same score: sort alphabetically
+ left = a[1].toLowerCase();
+ right = b[1].toLowerCase();
+ return (left > right) ? -1 : ((left < right) ? 1 : 0);
+ }
});
- // combine all results
- var results = unimportantResults.concat(regularResults)
- .concat(objectResults).concat(importantResults);
+ // for debugging
+ //Search.lastresults = results.slice(); // a copy
+ //console.info('search results:', Search.lastresults);
// print the results
var resultCount = results.length;
@@ -433,7 +411,7 @@ var Search = {
if (results.length) {
var item = results.pop();
var listItem = $('<li style="display:none"></li>');
- if (DOCUMENTATION_OPTIONS.FILE_SUFFIX == '') {
+ if (DOCUMENTATION_OPTIONS.FILE_SUFFIX === '') {
// dirhtml builder
var dirname = item[0] + '/';
if (dirname.match(/\/index\/$/)) {
@@ -457,16 +435,18 @@ var Search = {
displayNextItem();
});
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
- $.get(DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' +
- item[0] + '.txt', function(data) {
- if (data != '') {
- listItem.append($.makeSearchSummary(data, searchterms, hlterms));
- Search.output.append(listItem);
- }
- listItem.slideDown(5, function() {
- displayNextItem();
- });
- }, "text");
+ $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[0] + '.txt',
+ dataType: "text",
+ complete: function(jqxhr, textstatus) {
+ var data = jqxhr.responseText;
+ if (data !== '') {
+ listItem.append(Search.makeSearchSummary(data, searchterms, hlterms));
+ }
+ Search.output.append(listItem);
+ listItem.slideDown(5, function() {
+ displayNextItem();
+ });
+ }});
} else {
// no source available, just display title
Search.output.append(listItem);
@@ -489,20 +469,32 @@ var Search = {
displayNextItem();
},
+ /**
+ * search for object names
+ */
performObjectSearch : function(object, otherterms) {
var filenames = this._index.filenames;
var objects = this._index.objects;
var objnames = this._index.objnames;
var titles = this._index.titles;
- var importantResults = [];
- var objectResults = [];
- var unimportantResults = [];
+ var i;
+ var results = [];
for (var prefix in objects) {
for (var name in objects[prefix]) {
var fullname = (prefix ? prefix + '.' : '') + name;
if (fullname.toLowerCase().indexOf(object) > -1) {
+ var score = 0;
+ var parts = fullname.split('.');
+ // check for different match types: exact matches of full name or
+ // "last name" (i.e. last dotted part)
+ if (fullname == object || parts[parts.length - 1] == object) {
+ score += Scorer.objNameMatch;
+ // matches in last name
+ } else if (parts[parts.length - 1].indexOf(object) > -1) {
+ score += Scorer.objPartialMatch;
+ }
var match = objects[prefix][name];
var objname = objnames[match[1]][2];
var title = titles[match[0]];
@@ -512,7 +504,7 @@ var Search = {
var haystack = (prefix + ' ' + name + ' ' +
objname + ' ' + title).toLowerCase();
var allfound = true;
- for (var i = 0; i < otherterms.length; i++) {
+ for (i = 0; i < otherterms.length; i++) {
if (haystack.indexOf(otherterms[i]) == -1) {
allfound = false;
break;
@@ -523,37 +515,107 @@ var Search = {
}
}
var descr = objname + _(', in ') + title;
- anchor = match[3];
- if (anchor == '')
+
+ var anchor = match[3];
+ if (anchor === '')
anchor = fullname;
else if (anchor == '-')
anchor = objnames[match[1]][1] + '-' + fullname;
- result = [filenames[match[0]], fullname, '#'+anchor, descr];
- switch (match[2]) {
- case 1: objectResults.push(result); break;
- case 0: importantResults.push(result); break;
- case 2: unimportantResults.push(result); break;
+ // add custom score for some objects according to scorer
+ if (Scorer.objPrio.hasOwnProperty(match[2])) {
+ score += Scorer.objPrio[match[2]];
+ } else {
+ score += Scorer.objPrioDefault;
}
+ results.push([filenames[match[0]], fullname, '#'+anchor, descr, score]);
}
}
}
- // sort results descending
- objectResults.sort(function(a, b) {
- return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
- });
+ return results;
+ },
- importantResults.sort(function(a, b) {
- return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
- });
+ /**
+ * search for full-text terms in the index
+ */
+ performTermsSearch : function(searchterms, excluded, terms, score) {
+ var filenames = this._index.filenames;
+ var titles = this._index.titles;
- unimportantResults.sort(function(a, b) {
- return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
- });
+ var i, j, file, files;
+ var fileMap = {};
+ var results = [];
+
+ // perform the search on the required terms
+ for (i = 0; i < searchterms.length; i++) {
+ var word = searchterms[i];
+ // no match but word was a required one
+ if (!(files = terms[word]))
+ break;
+ if (files.length === undefined) {
+ files = [files];
+ }
+ // create the mapping
+ for (j = 0; j < files.length; j++) {
+ file = files[j];
+ if (file in fileMap)
+ fileMap[file].push(word);
+ else
+ fileMap[file] = [word];
+ }
+ }
+
+ // now check if the files don't contain excluded terms
+ for (file in fileMap) {
+ var valid = true;
+
+ // check if all requirements are matched
+ if (fileMap[file].length != searchterms.length)
+ continue;
+
+ // ensure that none of the excluded terms is in the search result
+ for (i = 0; i < excluded.length; i++) {
+ if (terms[excluded[i]] == file ||
+ $u.contains(terms[excluded[i]] || [], file)) {
+ valid = false;
+ break;
+ }
+ }
+
+ // if we have still a valid result we can add it to the result list
+ if (valid) {
+ results.push([filenames[file], titles[file], '', null, score]);
+ }
+ }
+ return results;
+ },
- return [importantResults, objectResults, unimportantResults]
+ /**
+ * 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.
+ */
+ 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 = $('<div class="context"></div>').text(excerpt);
+ $.each(hlwords, function() {
+ rv = rv.highlightText(this, 'highlighted');
+ });
+ return rv;
}
-}
+};
$(document).ready(function() {
Search.init();
diff --git a/doc/html/_static/underscore.js b/doc/html/_static/underscore.js
index eaba008..5b55f32 100644
--- a/doc/html/_static/underscore.js
+++ b/doc/html/_static/underscore.js
@@ -1,807 +1,31 @@
-// Underscore.js 1.1.6
-// (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
-// Underscore is freely distributable under the MIT license.
-// Portions of Underscore are inspired or borrowed from Prototype,
-// Oliver Steele's Functional, and John Resig's Micro-Templating.
-// For all details and documentation:
-// http://documentcloud.github.com/underscore
-
-(function() {
-
- // Baseline setup
- // --------------
-
- // Establish the root object, `window` in the browser, or `global` on the server.
- var root = this;
-
- // Save the previous value of the `_` variable.
- var previousUnderscore = root._;
-
- // Establish the object that gets returned to break out of a loop iteration.
- var breaker = {};
-
- // Save bytes in the minified (but not gzipped) version:
- var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype;
-
- // Create quick reference variables for speed access to core prototypes.
- var slice = ArrayProto.slice,
- unshift = ArrayProto.unshift,
- toString = ObjProto.toString,
- hasOwnProperty = ObjProto.hasOwnProperty;
-
- // All **ECMAScript 5** native function implementations that we hope to use
- // are declared here.
- var
- nativeForEach = ArrayProto.forEach,
- nativeMap = ArrayProto.map,
- nativeReduce = ArrayProto.reduce,
- nativeReduceRight = ArrayProto.reduceRight,
- nativeFilter = ArrayProto.filter,
- nativeEvery = ArrayProto.every,
- nativeSome = ArrayProto.some,
- nativeIndexOf = ArrayProto.indexOf,
- nativeLastIndexOf = ArrayProto.lastIndexOf,
- nativeIsArray = Array.isArray,
- nativeKeys = Object.keys,
- nativeBind = FuncProto.bind;
-
- // Create a safe reference to the Underscore object for use below.
- var _ = function(obj) { return new wrapper(obj); };
-
- // Export the Underscore object for **CommonJS**, with backwards-compatibility
- // for the old `require()` API. If we're not in CommonJS, add `_` to the
- // global object.
- if (typeof module !== 'undefined' && module.exports) {
- module.exports = _;
- _._ = _;
- } else {
- root._ = _;
- }
-
- // Current version.
- _.VERSION = '1.1.6';
-
- // Collection Functions
- // --------------------
-
- // The cornerstone, an `each` implementation, aka `forEach`.
- // Handles objects implementing `forEach`, arrays, and raw objects.
- // Delegates to **ECMAScript 5**'s native `forEach` if available.
- var each = _.each = _.forEach = function(obj, iterator, context) {
- if (obj == null) return;
- if (nativeForEach && obj.forEach === nativeForEach) {
- obj.forEach(iterator, context);
- } else if (_.isNumber(obj.length)) {
- for (var i = 0, l = obj.length; i < l; i++) {
- if (iterator.call(context, obj[i], i, obj) === breaker) return;
- }
- } else {
- for (var key in obj) {
- if (hasOwnProperty.call(obj, key)) {
- if (iterator.call(context, obj[key], key, obj) === breaker) return;
- }
- }
- }
- };
-
- // Return the results of applying the iterator to each element.
- // Delegates to **ECMAScript 5**'s native `map` if available.
- _.map = function(obj, iterator, context) {
- var results = [];
- if (obj == null) return results;
- if (nativeMap && obj.map === nativeMap) return obj.map(iterator, context);
- each(obj, function(value, index, list) {
- results[results.length] = iterator.call(context, value, index, list);
- });
- return results;
- };
-
- // **Reduce** builds up a single result from a list of values, aka `inject`,
- // or `foldl`. Delegates to **ECMAScript 5**'s native `reduce` if available.
- _.reduce = _.foldl = _.inject = function(obj, iterator, memo, context) {
- var initial = memo !== void 0;
- if (obj == null) obj = [];
- if (nativeReduce && obj.reduce === nativeReduce) {
- if (context) iterator = _.bind(iterator, context);
- return initial ? obj.reduce(iterator, memo) : obj.reduce(iterator);
- }
- each(obj, function(value, index, list) {
- if (!initial && index === 0) {
- memo = value;
- initial = true;
- } else {
- memo = iterator.call(context, memo, value, index, list);
- }
- });
- if (!initial) throw new TypeError("Reduce of empty array with no initial value");
- return memo;
- };
-
- // The right-associative version of reduce, also known as `foldr`.
- // Delegates to **ECMAScript 5**'s native `reduceRight` if available.
- _.reduceRight = _.foldr = function(obj, iterator, memo, context) {
- if (obj == null) obj = [];
- if (nativeReduceRight && obj.reduceRight === nativeReduceRight) {
- if (context) iterator = _.bind(iterator, context);
- return memo !== void 0 ? obj.reduceRight(iterator, memo) : obj.reduceRight(iterator);
- }
- var reversed = (_.isArray(obj) ? obj.slice() : _.toArray(obj)).reverse();
- return _.reduce(reversed, iterator, memo, context);
- };
-
- // Return the first value which passes a truth test. Aliased as `detect`.
- _.find = _.detect = function(obj, iterator, context) {
- var result;
- any(obj, function(value, index, list) {
- if (iterator.call(context, value, index, list)) {
- result = value;
- return true;
- }
- });
- return result;
- };
-
- // Return all the elements that pass a truth test.
- // Delegates to **ECMAScript 5**'s native `filter` if available.
- // Aliased as `select`.
- _.filter = _.select = function(obj, iterator, context) {
- var results = [];
- if (obj == null) return results;
- if (nativeFilter && obj.filter === nativeFilter) return obj.filter(iterator, context);
- each(obj, function(value, index, list) {
- if (iterator.call(context, value, index, list)) results[results.length] = value;
- });
- return results;
- };
-
- // Return all the elements for which a truth test fails.
- _.reject = function(obj, iterator, context) {
- var results = [];
- if (obj == null) return results;
- each(obj, function(value, index, list) {
- if (!iterator.call(context, value, index, list)) results[results.length] = value;
- });
- return results;
- };
-
- // Determine whether all of the elements match a truth test.
- // Delegates to **ECMAScript 5**'s native `every` if available.
- // Aliased as `all`.
- _.every = _.all = function(obj, iterator, context) {
- var result = true;
- if (obj == null) return result;
- if (nativeEvery && obj.every === nativeEvery) return obj.every(iterator, context);
- each(obj, function(value, index, list) {
- if (!(result = result && iterator.call(context, value, index, list))) return breaker;
- });
- return result;
- };
-
- // Determine if at least one element in the object matches a truth test.
- // Delegates to **ECMAScript 5**'s native `some` if available.
- // Aliased as `any`.
- var any = _.some = _.any = function(obj, iterator, context) {
- iterator || (iterator = _.identity);
- var result = false;
- if (obj == null) return result;
- if (nativeSome && obj.some === nativeSome) return obj.some(iterator, context);
- each(obj, function(value, index, list) {
- if (result = iterator.call(context, value, index, list)) return breaker;
- });
- return result;
- };
-
- // Determine if a given value is included in the array or object using `===`.
- // Aliased as `contains`.
- _.include = _.contains = function(obj, target) {
- var found = false;
- if (obj == null) return found;
- if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1;
- any(obj, function(value) {
- if (found = value === target) return true;
- });
- return found;
- };
-
- // Invoke a method (with arguments) on every item in a collection.
- _.invoke = function(obj, method) {
- var args = slice.call(arguments, 2);
- return _.map(obj, function(value) {
- return (method.call ? method || value : value[method]).apply(value, args);
- });
- };
-
- // Convenience version of a common use case of `map`: fetching a property.
- _.pluck = function(obj, key) {
- return _.map(obj, function(value){ return value[key]; });
- };
-
- // Return the maximum element or (element-based computation).
- _.max = function(obj, iterator, context) {
- if (!iterator && _.isArray(obj)) return Math.max.apply(Math, obj);
- var result = {computed : -Infinity};
- each(obj, function(value, index, list) {
- var computed = iterator ? iterator.call(context, value, index, list) : value;
- computed >= result.computed && (result = {value : value, computed : computed});
- });
- return result.value;
- };
-
- // Return the minimum element (or element-based computation).
- _.min = function(obj, iterator, context) {
- if (!iterator && _.isArray(obj)) return Math.min.apply(Math, obj);
- var result = {computed : Infinity};
- each(obj, function(value, index, list) {
- var computed = iterator ? iterator.call(context, value, index, list) : value;
- computed < result.computed && (result = {value : value, computed : computed});
- });
- return result.value;
- };
-
- // Sort the object's values by a criterion produced by an iterator.
- _.sortBy = function(obj, iterator, context) {
- return _.pluck(_.map(obj, function(value, index, list) {
- return {
- value : value,
- criteria : iterator.call(context, value, index, list)
- };
- }).sort(function(left, right) {
- var a = left.criteria, b = right.criteria;
- return a < b ? -1 : a > b ? 1 : 0;
- }), 'value');
- };
-
- // Use a comparator function to figure out at what index an object should
- // be inserted so as to maintain order. Uses binary search.
- _.sortedIndex = function(array, obj, iterator) {
- iterator || (iterator = _.identity);
- var low = 0, high = array.length;
- while (low < high) {
- var mid = (low + high) >> 1;
- iterator(array[mid]) < iterator(obj) ? low = mid + 1 : high = mid;
- }
- return low;
- };
-
- // Safely convert anything iterable into a real, live array.
- _.toArray = function(iterable) {
- if (!iterable) return [];
- if (iterable.toArray) return iterable.toArray();
- if (_.isArray(iterable)) return iterable;
- if (_.isArguments(iterable)) return slice.call(iterable);
- return _.values(iterable);
- };
-
- // Return the number of elements in an object.
- _.size = function(obj) {
- return _.toArray(obj).length;
- };
-
- // Array Functions
- // ---------------
-
- // Get the first element of an array. Passing **n** will return the first N
- // values in the array. Aliased as `head`. The **guard** check allows it to work
- // with `_.map`.
- _.first = _.head = function(array, n, guard) {
- return (n != null) && !guard ? slice.call(array, 0, n) : array[0];
- };
-
- // Returns everything but the first entry of the array. Aliased as `tail`.
- // Especially useful on the arguments object. Passing an **index** will return
- // the rest of the values in the array from that index onward. The **guard**
- // check allows it to work with `_.map`.
- _.rest = _.tail = function(array, index, guard) {
- return slice.call(array, (index == null) || guard ? 1 : index);
- };
-
- // Get the last element of an array.
- _.last = function(array) {
- return array[array.length - 1];
- };
-
- // Trim out all falsy values from an array.
- _.compact = function(array) {
- return _.filter(array, function(value){ return !!value; });
- };
-
- // Return a completely flattened version of an array.
- _.flatten = function(array) {
- return _.reduce(array, function(memo, value) {
- if (_.isArray(value)) return memo.concat(_.flatten(value));
- memo[memo.length] = value;
- return memo;
- }, []);
- };
-
- // Return a version of the array that does not contain the specified value(s).
- _.without = function(array) {
- var values = slice.call(arguments, 1);
- return _.filter(array, function(value){ return !_.include(values, value); });
- };
-
- // Produce a duplicate-free version of the array. If the array has already
- // been sorted, you have the option of using a faster algorithm.
- // Aliased as `unique`.
- _.uniq = _.unique = function(array, isSorted) {
- return _.reduce(array, function(memo, el, i) {
- if (0 == i || (isSorted === true ? _.last(memo) != el : !_.include(memo, el))) memo[memo.length] = el;
- return memo;
- }, []);
- };
-
- // Produce an array that contains every item shared between all the
- // passed-in arrays.
- _.intersect = function(array) {
- var rest = slice.call(arguments, 1);
- return _.filter(_.uniq(array), function(item) {
- return _.every(rest, function(other) {
- return _.indexOf(other, item) >= 0;
- });
- });
- };
-
- // Zip together multiple lists into a single array -- elements that share
- // an index go together.
- _.zip = function() {
- var args = slice.call(arguments);
- var length = _.max(_.pluck(args, 'length'));
- var results = new Array(length);
- for (var i = 0; i < length; i++) results[i] = _.pluck(args, "" + i);
- return results;
- };
-
- // If the browser doesn't supply us with indexOf (I'm looking at you, **MSIE**),
- // we need this function. Return the position of the first occurrence of an
- // item in an array, or -1 if the item is not included in the array.
- // Delegates to **ECMAScript 5**'s native `indexOf` if available.
- // If the array is large and already in sort order, pass `true`
- // for **isSorted** to use binary search.
- _.indexOf = function(array, item, isSorted) {
- if (array == null) return -1;
- var i, l;
- if (isSorted) {
- i = _.sortedIndex(array, item);
- return array[i] === item ? i : -1;
- }
- if (nativeIndexOf && array.indexOf === nativeIndexOf) return array.indexOf(item);
- for (i = 0, l = array.length; i < l; i++) if (array[i] === item) return i;
- return -1;
- };
-
-
- // Delegates to **ECMAScript 5**'s native `lastIndexOf` if available.
- _.lastIndexOf = function(array, item) {
- if (array == null) return -1;
- if (nativeLastIndexOf && array.lastIndexOf === nativeLastIndexOf) return array.lastIndexOf(item);
- var i = array.length;
- while (i--) if (array[i] === item) return i;
- return -1;
- };
-
- // Generate an integer Array containing an arithmetic progression. A port of
- // the native Python `range()` function. See
- // [the Python documentation](http://docs.python.org/library/functions.html#range).
- _.range = function(start, stop, step) {
- if (arguments.length <= 1) {
- stop = start || 0;
- start = 0;
- }
- step = arguments[2] || 1;
-
- var len = Math.max(Math.ceil((stop - start) / step), 0);
- var idx = 0;
- var range = new Array(len);
-
- while(idx < len) {
- range[idx++] = start;
- start += step;
- }
-
- return range;
- };
-
- // Function (ahem) Functions
- // ------------------
-
- // Create a function bound to a given object (assigning `this`, and arguments,
- // optionally). Binding with arguments is also known as `curry`.
- // Delegates to **ECMAScript 5**'s native `Function.bind` if available.
- // We check for `func.bind` first, to fail fast when `func` is undefined.
- _.bind = function(func, obj) {
- if (func.bind === nativeBind && nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));
- var args = slice.call(arguments, 2);
- return function() {
- return func.apply(obj, args.concat(slice.call(arguments)));
- };
- };
-
- // Bind all of an object's methods to that object. Useful for ensuring that
- // all callbacks defined on an object belong to it.
- _.bindAll = function(obj) {
- var funcs = slice.call(arguments, 1);
- if (funcs.length == 0) funcs = _.functions(obj);
- each(funcs, function(f) { obj[f] = _.bind(obj[f], obj); });
- return obj;
- };
-
- // Memoize an expensive function by storing its results.
- _.memoize = function(func, hasher) {
- var memo = {};
- hasher || (hasher = _.identity);
- return function() {
- var key = hasher.apply(this, arguments);
- return hasOwnProperty.call(memo, key) ? memo[key] : (memo[key] = func.apply(this, arguments));
- };
- };
-
- // Delays a function for the given number of milliseconds, and then calls
- // it with the arguments supplied.
- _.delay = function(func, wait) {
- var args = slice.call(arguments, 2);
- return setTimeout(function(){ return func.apply(func, args); }, wait);
- };
-
- // Defers a function, scheduling it to run after the current call stack has
- // cleared.
- _.defer = function(func) {
- return _.delay.apply(_, [func, 1].concat(slice.call(arguments, 1)));
- };
-
- // Internal function used to implement `_.throttle` and `_.debounce`.
- var limit = function(func, wait, debounce) {
- var timeout;
- return function() {
- var context = this, args = arguments;
- var throttler = function() {
- timeout = null;
- func.apply(context, args);
- };
- if (debounce) clearTimeout(timeout);
- if (debounce || !timeout) timeout = setTimeout(throttler, wait);
- };
- };
-
- // Returns a function, that, when invoked, will only be triggered at most once
- // during a given window of time.
- _.throttle = function(func, wait) {
- return limit(func, wait, false);
- };
-
- // Returns a function, that, as long as it continues to be invoked, will not
- // be triggered. The function will be called after it stops being called for
- // N milliseconds.
- _.debounce = function(func, wait) {
- return limit(func, wait, true);
- };
-
- // Returns a function that will be executed at most one time, no matter how
- // often you call it. Useful for lazy initialization.
- _.once = function(func) {
- var ran = false, memo;
- return function() {
- if (ran) return memo;
- ran = true;
- return memo = func.apply(this, arguments);
- };
- };
-
- // Returns the first function passed as an argument to the second,
- // allowing you to adjust arguments, run code before and after, and
- // conditionally execute the original function.
- _.wrap = function(func, wrapper) {
- return function() {
- var args = [func].concat(slice.call(arguments));
- return wrapper.apply(this, args);
- };
- };
-
- // Returns a function that is the composition of a list of functions, each
- // consuming the return value of the function that follows.
- _.compose = function() {
- var funcs = slice.call(arguments);
- return function() {
- var args = slice.call(arguments);
- for (var i=funcs.length-1; i >= 0; i--) {
- args = [funcs[i].apply(this, args)];
- }
- return args[0];
- };
- };
-
- // Returns a function that will only be executed after being called N times.
- _.after = function(times, func) {
- return function() {
- if (--times < 1) { return func.apply(this, arguments); }
- };
- };
-
-
- // Object Functions
- // ----------------
-
- // Retrieve the names of an object's properties.
- // Delegates to **ECMAScript 5**'s native `Object.keys`
- _.keys = nativeKeys || function(obj) {
- if (obj !== Object(obj)) throw new TypeError('Invalid object');
- var keys = [];
- for (var key in obj) if (hasOwnProperty.call(obj, key)) keys[keys.length] = key;
- return keys;
- };
-
- // Retrieve the values of an object's properties.
- _.values = function(obj) {
- return _.map(obj, _.identity);
- };
-
- // Return a sorted list of the function names available on the object.
- // Aliased as `methods`
- _.functions = _.methods = function(obj) {
- return _.filter(_.keys(obj), function(key){ return _.isFunction(obj[key]); }).sort();
- };
-
- // Extend a given object with all the properties in passed-in object(s).
- _.extend = function(obj) {
- each(slice.call(arguments, 1), function(source) {
- for (var prop in source) {
- if (source[prop] !== void 0) obj[prop] = source[prop];
- }
- });
- return obj;
- };
-
- // Fill in a given object with default properties.
- _.defaults = function(obj) {
- each(slice.call(arguments, 1), function(source) {
- for (var prop in source) {
- if (obj[prop] == null) obj[prop] = source[prop];
- }
- });
- return obj;
- };
-
- // Create a (shallow-cloned) duplicate of an object.
- _.clone = function(obj) {
- return _.isArray(obj) ? obj.slice() : _.extend({}, obj);
- };
-
- // Invokes interceptor with the obj, and then returns obj.
- // The primary purpose of this method is to "tap into" a method chain, in
- // order to perform operations on intermediate results within the chain.
- _.tap = function(obj, interceptor) {
- interceptor(obj);
- return obj;
- };
-
- // Perform a deep comparison to check if two objects are equal.
- _.isEqual = function(a, b) {
- // Check object identity.
- if (a === b) return true;
- // Different types?
- var atype = typeof(a), btype = typeof(b);
- if (atype != btype) return false;
- // Basic equality test (watch out for coercions).
- if (a == b) return true;
- // One is falsy and the other truthy.
- if ((!a && b) || (a && !b)) return false;
- // Unwrap any wrapped objects.
- if (a._chain) a = a._wrapped;
- if (b._chain) b = b._wrapped;
- // One of them implements an isEqual()?
- if (a.isEqual) return a.isEqual(b);
- // Check dates' integer values.
- if (_.isDate(a) && _.isDate(b)) return a.getTime() === b.getTime();
- // Both are NaN?
- if (_.isNaN(a) && _.isNaN(b)) return false;
- // Compare regular expressions.
- if (_.isRegExp(a) && _.isRegExp(b))
- return a.source === b.source &&
- a.global === b.global &&
- a.ignoreCase === b.ignoreCase &&
- a.multiline === b.multiline;
- // If a is not an object by this point, we can't handle it.
- if (atype !== 'object') return false;
- // Check for different array lengths before comparing contents.
- if (a.length && (a.length !== b.length)) return false;
- // Nothing else worked, deep compare the contents.
- var aKeys = _.keys(a), bKeys = _.keys(b);
- // Different object sizes?
- if (aKeys.length != bKeys.length) return false;
- // Recursive comparison of contents.
- for (var key in a) if (!(key in b) || !_.isEqual(a[key], b[key])) return false;
- return true;
- };
-
- // Is a given array or object empty?
- _.isEmpty = function(obj) {
- if (_.isArray(obj) || _.isString(obj)) return obj.length === 0;
- for (var key in obj) if (hasOwnProperty.call(obj, key)) return false;
- return true;
- };
-
- // Is a given value a DOM element?
- _.isElement = function(obj) {
- return !!(obj && obj.nodeType == 1);
- };
-
- // Is a given value an array?
- // Delegates to ECMA5's native Array.isArray
- _.isArray = nativeIsArray || function(obj) {
- return toString.call(obj) === '[object Array]';
- };
-
- // Is a given variable an arguments object?
- _.isArguments = function(obj) {
- return !!(obj && hasOwnProperty.call(obj, 'callee'));
- };
-
- // Is a given value a function?
- _.isFunction = function(obj) {
- return !!(obj && obj.constructor && obj.call && obj.apply);
- };
-
- // Is a given value a string?
- _.isString = function(obj) {
- return !!(obj === '' || (obj && obj.charCodeAt && obj.substr));
- };
-
- // Is a given value a number?
- _.isNumber = function(obj) {
- return !!(obj === 0 || (obj && obj.toExponential && obj.toFixed));
- };
-
- // Is the given value `NaN`? `NaN` happens to be the only value in JavaScript
- // that does not equal itself.
- _.isNaN = function(obj) {
- return obj !== obj;
- };
-
- // Is a given value a boolean?
- _.isBoolean = function(obj) {
- return obj === true || obj === false;
- };
-
- // Is a given value a date?
- _.isDate = function(obj) {
- return !!(obj && obj.getTimezoneOffset && obj.setUTCFullYear);
- };
-
- // Is the given value a regular expression?
- _.isRegExp = function(obj) {
- return !!(obj && obj.test && obj.exec && (obj.ignoreCase || obj.ignoreCase === false));
- };
-
- // Is a given value equal to null?
- _.isNull = function(obj) {
- return obj === null;
- };
-
- // Is a given variable undefined?
- _.isUndefined = function(obj) {
- return obj === void 0;
- };
-
- // Utility Functions
- // -----------------
-
- // Run Underscore.js in *noConflict* mode, returning the `_` variable to its
- // previous owner. Returns a reference to the Underscore object.
- _.noConflict = function() {
- root._ = previousUnderscore;
- return this;
- };
-
- // Keep the identity function around for default iterators.
- _.identity = function(value) {
- return value;
- };
-
- // Run a function **n** times.
- _.times = function (n, iterator, context) {
- for (var i = 0; i < n; i++) iterator.call(context, i);
- };
-
- // Add your own custom functions to the Underscore object, ensuring that
- // they're correctly added to the OOP wrapper as well.
- _.mixin = function(obj) {
- each(_.functions(obj), function(name){
- addToWrapper(name, _[name] = obj[name]);
- });
- };
-
- // Generate a unique integer id (unique within the entire client session).
- // Useful for temporary DOM ids.
- var idCounter = 0;
- _.uniqueId = function(prefix) {
- var id = idCounter++;
- return prefix ? prefix + id : id;
- };
-
- // By default, Underscore uses ERB-style template delimiters, change the
- // following template settings to use alternative delimiters.
- _.templateSettings = {
- evaluate : /<%([\s\S]+?)%>/g,
- interpolate : /<%=([\s\S]+?)%>/g
- };
-
- // JavaScript micro-templating, similar to John Resig's implementation.
- // Underscore templating handles arbitrary delimiters, preserves whitespace,
- // and correctly escapes quotes within interpolated code.
- _.template = function(str, data) {
- var c = _.templateSettings;
- var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' +
- 'with(obj||{}){__p.push(\'' +
- str.replace(/\\/g, '\\\\')
- .replace(/'/g, "\\'")
- .replace(c.interpolate, function(match, code) {
- return "'," + code.replace(/\\'/g, "'") + ",'";
- })
- .replace(c.evaluate || null, function(match, code) {
- return "');" + code.replace(/\\'/g, "'")
- .replace(/[\r\n\t]/g, ' ') + "__p.push('";
- })
- .replace(/\r/g, '\\r')
- .replace(/\n/g, '\\n')
- .replace(/\t/g, '\\t')
- + "');}return __p.join('');";
- var func = new Function('obj', tmpl);
- return data ? func(data) : func;
- };
-
- // The OOP Wrapper
- // ---------------
-
- // If Underscore is called as a function, it returns a wrapped object that
- // can be used OO-style. This wrapper holds altered versions of all the
- // underscore functions. Wrapped objects may be chained.
- var wrapper = function(obj) { this._wrapped = obj; };
-
- // Expose `wrapper.prototype` as `_.prototype`
- _.prototype = wrapper.prototype;
-
- // Helper function to continue chaining intermediate results.
- var result = function(obj, chain) {
- return chain ? _(obj).chain() : obj;
- };
-
- // A method to easily add functions to the OOP wrapper.
- var addToWrapper = function(name, func) {
- wrapper.prototype[name] = function() {
- var args = slice.call(arguments);
- unshift.call(args, this._wrapped);
- return result(func.apply(_, args), this._chain);
- };
- };
-
- // Add all of the Underscore functions to the wrapper object.
- _.mixin(_);
-
- // Add all mutator Array functions to the wrapper.
- each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) {
- var method = ArrayProto[name];
- wrapper.prototype[name] = function() {
- method.apply(this._wrapped, arguments);
- return result(this._wrapped, this._chain);
- };
- });
-
- // Add all accessor Array functions to the wrapper.
- each(['concat', 'join', 'slice'], function(name) {
- var method = ArrayProto[name];
- wrapper.prototype[name] = function() {
- return result(method.apply(this._wrapped, arguments), this._chain);
- };
- });
-
- // Start chaining a wrapped Underscore object.
- wrapper.prototype.chain = function() {
- this._chain = true;
- return this;
- };
-
- // Extracts the result from a wrapped and chained object.
- wrapper.prototype.value = function() {
- return this._wrapped;
- };
-
-})();
+// Underscore.js 1.3.1
+// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
+// Underscore is freely distributable under the MIT license.
+// Portions of Underscore are inspired or borrowed from Prototype,
+// Oliver Steele's Functional, and John Resig's Micro-Templating.
+// For all details and documentation:
+// http://documentcloud.github.com/underscore
+(function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case "[object String]":return a==String(c);case "[object Number]":return a!=+a?c!=+c:a==0?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source==
+c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if(typeof a!="object"||typeof c!="object")return false;for(var f=d.length;f--;)if(d[f]==a)return true;d.push(a);var f=0,g=true;if(e=="[object Array]"){if(f=a.length,g=f==c.length)for(;f--;)if(!(g=f in a==f in c&&q(a[f],c[f],d)))break}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return false;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&q(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c,
+h)&&!f--)break;g=!f}}d.pop();return g}var r=this,G=r._,n={},k=Array.prototype,o=Object.prototype,i=k.slice,H=k.unshift,l=o.toString,I=o.hasOwnProperty,w=k.forEach,x=k.map,y=k.reduce,z=k.reduceRight,A=k.filter,B=k.every,C=k.some,p=k.indexOf,D=k.lastIndexOf,o=Array.isArray,J=Object.keys,s=Function.prototype.bind,b=function(a){return new m(a)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports)exports=module.exports=b;exports._=b}else r._=b;b.VERSION="1.3.1";var j=b.each=
+b.forEach=function(a,c,d){if(a!=null)if(w&&a.forEach===w)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e<f;e++){if(e in a&&c.call(d,a[e],e,a)===n)break}else for(e in a)if(b.has(a,e)&&c.call(d,a[e],e,a)===n)break};b.map=b.collect=function(a,c,b){var e=[];if(a==null)return e;if(x&&a.map===x)return a.map(c,b);j(a,function(a,g,h){e[e.length]=c.call(b,a,g,h)});if(a.length===+a.length)e.length=a.length;return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var f=arguments.length>2;a==
+null&&(a=[]);if(y&&a.reduce===y)return e&&(c=b.bind(c,e)),f?a.reduce(c,d):a.reduce(c);j(a,function(a,b,i){f?d=c.call(e,d,a,b,i):(d=a,f=true)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(z&&a.reduceRight===z)return e&&(c=b.bind(c,e)),f?a.reduceRight(c,d):a.reduceRight(c);var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect=
+function(a,c,b){var e;E(a,function(a,g,h){if(c.call(b,a,g,h))return e=a,true});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(A&&a.filter===A)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(B&&a.every===B)return a.every(c,b);j(a,function(a,g,h){if(!(e=
+e&&c.call(b,a,g,h)))return n});return e};var E=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(C&&a.some===C)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return n});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;return p&&a.indexOf===p?a.indexOf(c)!=-1:b=E(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck=
+function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b<e.computed&&(e={value:a,computed:b})});
+return e.value};b.shuffle=function(a){var b=[],d;j(a,function(a,f){f==0?b[0]=a:(d=Math.floor(Math.random()*(f+1)),b[f]=b[d],b[d]=a)});return b};b.sortBy=function(a,c,d){return b.pluck(b.map(a,function(a,b,g){return{value:a,criteria:c.call(d,a,b,g)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a,
+c,d){d||(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){return!a?[]:a.toArray?a.toArray():b.isArray(a)?i.call(a):b.isArguments(a)?i.call(a):b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=b.head=function(a,b,d){return b!=null&&!d?i.call(a,0,b):a[0]};b.initial=function(a,b,d){return i.call(a,0,a.length-(b==null||d?1:b))};b.last=function(a,b,d){return b!=null&&!d?i.call(a,Math.max(a.length-b,0)):a[a.length-1]};b.rest=
+b.tail=function(a,b,d){return i.call(a,b==null||d?1:b)};b.compact=function(a){return b.filter(a,function(a){return!!a})};b.flatten=function(a,c){return b.reduce(a,function(a,e){if(b.isArray(e))return a.concat(c?e:b.flatten(e));a[a.length]=e;return a},[])};b.without=function(a){return b.difference(a,i.call(arguments,1))};b.uniq=b.unique=function(a,c,d){var d=d?b.map(a,d):a,e=[];b.reduce(d,function(d,g,h){if(0==h||(c===true?b.last(d)!=g:!b.include(d,g)))d[d.length]=g,e[e.length]=a[h];return d},[]);
+return e};b.union=function(){return b.uniq(b.flatten(arguments,true))};b.intersection=b.intersect=function(a){var c=i.call(arguments,1);return b.filter(b.uniq(a),function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1));return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c,
+d){if(a==null)return-1;var e;if(d)return d=b.sortedIndex(a,c),a[d]===c?d:-1;if(p&&a.indexOf===p)return a.indexOf(c);for(d=0,e=a.length;d<e;d++)if(d in a&&a[d]===c)return d;return-1};b.lastIndexOf=function(a,b){if(a==null)return-1;if(D&&a.lastIndexOf===D)return a.lastIndexOf(b);for(var d=a.length;d--;)if(d in a&&a[d]===b)return d;return-1};b.range=function(a,b,d){arguments.length<=1&&(b=a||0,a=0);for(var d=arguments[2]||1,e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g};
+var F=function(){};b.bind=function(a,c){var d,e;if(a.bind===s&&s)return s.apply(a,i.call(arguments,1));if(!b.isFunction(a))throw new TypeError;e=i.call(arguments,2);return d=function(){if(!(this instanceof d))return a.apply(c,e.concat(i.call(arguments)));F.prototype=a.prototype;var b=new F,g=a.apply(b,e.concat(i.call(arguments)));return Object(g)===g?g:b}};b.bindAll=function(a){var c=i.call(arguments,1);c.length==0&&(c=b.functions(a));j(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a,
+c){var d={};c||(c=b.identity);return function(){var e=c.apply(this,arguments);return b.has(d,e)?d[e]:d[e]=a.apply(this,arguments)}};b.delay=function(a,b){var d=i.call(arguments,2);return setTimeout(function(){return a.apply(a,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(i.call(arguments,1)))};b.throttle=function(a,c){var d,e,f,g,h,i=b.debounce(function(){h=g=false},c);return function(){d=this;e=arguments;var b;f||(f=setTimeout(function(){f=null;h&&a.apply(d,e);i()},c));g?h=true:
+a.apply(d,e);i();g=true}};b.debounce=function(a,b){var d;return function(){var e=this,f=arguments;clearTimeout(d);d=setTimeout(function(){d=null;a.apply(e,f)},b)}};b.once=function(a){var b=false,d;return function(){if(b)return d;b=true;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(i.call(arguments,0));return b.apply(this,d)}};b.compose=function(){var a=arguments;return function(){for(var b=arguments,d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}};
+b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=J||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.defaults=function(a){j(i.call(arguments,
+1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return q(a,b,[])};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=o||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)};
+b.isArguments=function(a){return l.call(a)=="[object Arguments]"};if(!b.isArguments(arguments))b.isArguments=function(a){return!(!a||!b.has(a,"callee"))};b.isFunction=function(a){return l.call(a)=="[object Function]"};b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"};
+b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,b){return I.call(a,b)};b.noConflict=function(){r._=G;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.escape=function(a){return(""+a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")};b.mixin=function(a){j(b.functions(a),
+function(c){K(c,b[c]=a[c])})};var L=0;b.uniqueId=function(a){var b=L++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/.^/,u=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.escape||t,function(a,b){return"',_.escape("+
+u(b)+"),'"}).replace(d.interpolate||t,function(a,b){return"',"+u(b)+",'"}).replace(d.evaluate||t,function(a,b){return"');"+u(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",e=new Function("obj","_",d);return c?e(c,b):function(a){return e.call(this,a,b)}};b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var v=function(a,c){return c?b(a).chain():a},K=function(a,c){m.prototype[a]=
+function(){var a=i.call(arguments);H.call(a,this._wrapped);return v(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return v(d,this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return v(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain=
+true;return this};m.prototype.value=function(){return this._wrapped}}).call(this);
diff --git a/doc/html/_static/websupport.js b/doc/html/_static/websupport.js
index e9bd1b8..19fcda5 100644
--- a/doc/html/_static/websupport.js
+++ b/doc/html/_static/websupport.js
@@ -4,7 +4,7 @@
*
* sphinx.websupport utilties for all documentation.
*
- * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
diff --git a/doc/html/about.html b/doc/html/about.html
index b466fed..7d599b8 100644
--- a/doc/html/about.html
+++ b/doc/html/about.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>About S3QL &mdash; S3QL 1.16 documentation</title>
+ <title>About S3QL &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="#" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Installation" href="installation.html" />
<link rel="prev" title="S3QL User’s Guide" href="index.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="index.html" title="S3QL User’s Guide"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -187,12 +185,12 @@ will, although being inconvenient, not endanger any stored data.</p>
<li class="right" >
<a href="index.html" title="S3QL User’s Guide"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/adm.html b/doc/html/adm.html
index 635badd..13111a1 100644
--- a/doc/html/adm.html
+++ b/doc/html/adm.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Managing File Systems &mdash; S3QL 1.16 documentation</title>
+ <title>Managing File Systems &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Mounting" href="mount.html" />
<link rel="prev" title="File System Creation" href="mkfs.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="mkfs.html" title="File System Creation"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -115,8 +113,8 @@ matter what specific action is being invoked:</p>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--debug <var>&lt;module&gt;</var></span></kbd></td>
</tr>
-<tr><td>&nbsp;</td><td>activate debugging output from &lt;module&gt;. Use <tt class="docutils literal"><span class="pre">all</span></tt> to get
-debug messages from all modules. This option can be
+<tr><td>&nbsp;</td><td>activate debugging output from &lt;module&gt;. Use <tt class="docutils literal"><span class="pre">all</span></tt> to
+get debug messages from all modules. This option can be
specified multiple times.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--quiet</span></kbd></td>
@@ -126,18 +124,22 @@ specified multiple times.</td></tr>
<td>Write logging info into this file. File will be rotated
when it reaches 1 MiB, and at most 5 old log files will
be kept. Specify <tt class="docutils literal"><span class="pre">none</span></tt> to disable logging. Default:
-<tt class="docutils literal"><span class="pre">none</span></tt></td></tr>
+<tt class="docutils literal"><span class="pre">None</span></tt></td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--authfile <var>&lt;path&gt;</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Read authentication credentials from this file (default:
<tt class="docutils literal"><span class="pre">~/.s3ql/authinfo2)</span></tt></td></tr>
<tr><td class="option-group">
-<kbd><span class="option">--ssl</span></kbd></td>
-<td>Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.</td></tr>
+<kbd><span class="option">--no-ssl</span></kbd></td>
+<td>Do not use secure (ssl) connections when connecting to
+remote servers.</td></tr>
+<tr><td class="option-group" colspan="2">
+<kbd><span class="option">--ssl-ca-path <var>path</var></span></kbd></td>
+</tr>
+<tr><td>&nbsp;</td><td>File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system&#8217;s OpenSSL library are used.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--cachedir <var>&lt;path&gt;</var></span></kbd></td>
</tr>
@@ -218,12 +220,12 @@ for help on the mailing list first (see <a class="reference internal" href="reso
<li class="right" >
<a href="mkfs.html" title="File System Creation"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/authinfo.html b/doc/html/authinfo.html
index 4ddc10c..277883a 100644
--- a/doc/html/authinfo.html
+++ b/doc/html/authinfo.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Storing Authentication Information &mdash; S3QL 1.16 documentation</title>
+ <title>Storing Authentication Information &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Contributed Programs" href="contrib.html" />
<link rel="prev" title="Checking for Errors" href="fsck.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="fsck.html" title="Checking for Errors"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -165,12 +163,12 @@ module</a>.</p>
<li class="right" >
<a href="fsck.html" title="Checking for Errors"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/backends.html b/doc/html/backends.html
index 9366a22..b230d21 100644
--- a/doc/html/backends.html
+++ b/doc/html/backends.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Storage Backends &mdash; S3QL 1.16 documentation</title>
+ <title>Storage Backends &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Important Rules to Avoid Losing Data" href="durability.html" />
<link rel="prev" title="Installation" href="installation.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="installation.html" title="Installation"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -53,7 +51,7 @@
<li class="toctree-l2"><a class="reference internal" href="#google-storage">Google Storage</a></li>
<li class="toctree-l2"><a class="reference internal" href="#amazon-s3">Amazon S3</a></li>
<li class="toctree-l2"><a class="reference internal" href="#openstack-swift">OpenStack/Swift</a></li>
-<li class="toctree-l2"><a class="reference internal" href="#rackspace-cloudfiles">RackSpace CloudFiles</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#rackspace-cloudfiles">Rackspace CloudFiles</a></li>
<li class="toctree-l2"><a class="reference internal" href="#s3-compatible">S3 compatible</a></li>
<li class="toctree-l2"><a class="reference internal" href="#local">Local</a></li>
</ul>
@@ -141,7 +139,7 @@ that will hold the S3QL file system, e.g. using the <a class="reference external
Console</a>. For best
performance, it is recommend to create the bucket in the
geographically closest storage region, but not the US Standard region
-(see below).</p>
+(see <a class="reference internal" href="durability.html#durability"><em>Important Rules to Avoid Losing Data</em></a> for the reason).</p>
<p>The storage URL for accessing S3 buckets in S3QL has the form</p>
<div class="highlight-commandline"><div class="highlight"><pre><span class="l">s3://</span><span class="nv">&lt;bucketname&gt;</span><span class="l">/</span><span class="nv">&lt;prefix&gt;</span><span class="l"></span>
</pre></div>
@@ -179,29 +177,39 @@ objects may cause subsequent data loss later in time (see
<p><a class="reference external" href="http://www.openstack.org/">OpenStack</a> is an open-source cloud server application suite. <a class="reference external" href="http://openstack.org/projects/storage/">Swift</a> is
the cloud storage module of OpenStack. Swift/OpenStack storage is
offered by many different companies.</p>
-<p>The storage URL for the OpenStack backend has the form</p>
+<p>There are two different storage URL for the OpenStack backend that
+make use of different authentication APIs. For legacy (v1)
+authentication, the storage URL is</p>
<div class="highlight-commandline"><div class="highlight"><pre><span class="l">swift://</span><span class="nv">&lt;hostname&gt;</span><span class="ge">[:&lt;port&gt;]</span><span class="l">/</span><span class="nv">&lt;container&gt;</span><span class="ge">[/&lt;prefix&gt;]</span><span class="l"></span>
</pre></div>
</div>
-<p>Note that the storage container must already exist. Most OpenStack
-providers offer a web frontend that you can use to create storage
-containers. <em>prefix</em> can be an arbitrary prefix that will be prepended
-to all object names used by S3QL. This allows you to store several
-S3QL file systems in the same container.</p>
-<p>The OpenStack backend always uses HTTPS connections. Note, however,
-that at this point S3QL does not verify the server certificate (cf.
-<a class="reference external" href="http://code.google.com/p/s3ql/issues/detail?id=267">issue 267</a>).</p>
+<p>for keystore (v2) authentication, the storage URL is</p>
+<div class="highlight-commandline"><div class="highlight"><pre><span class="l">swiftks://</span><span class="nv">&lt;hostname&gt;</span><span class="ge">[:&lt;port&gt;]</span><span class="l">/</span><span class="nv">&lt;region&gt;</span><span class="l">:</span><span class="nv">&lt;container&gt;</span><span class="ge">[/&lt;prefix&gt;]</span><span class="l"></span>
+</pre></div>
+</div>
+<p>Note that when using keystore authentication, you can (and have to)
+specify the storage region of the container as well.</p>
+<p>In both cases, <em>hostname</em> name should be the name of the
+authentication server. The storage container must already exist (most
+OpenStack providers offer either a web frontend or a command line tool
+for creating containers). <em>prefix</em> can be an arbitrary prefix that
+will be prepended to all object names used by S3QL, which can be used
+to store multiple S3QL file systems in the same container.</p>
+<p>When using legacy authentication, the backend login and password
+correspond to the OpenStack username and API Access Key. When using
+keystore authentication, the backend password is your regular
+OpenStack password and the backend login combines you OpenStack
+username and tenant name in the form <tt class="docutils literal"><span class="pre">&lt;tenant&gt;:&lt;user&gt;</span></tt>. If no tenant
+is required, the OpenStack username alone may be used as backend
+login.</p>
</div>
<div class="section" id="rackspace-cloudfiles">
-<h2>RackSpace CloudFiles<a class="headerlink" href="#rackspace-cloudfiles" title="Permalink to this headline">¶</a></h2>
+<h2>Rackspace CloudFiles<a class="headerlink" href="#rackspace-cloudfiles" title="Permalink to this headline">¶</a></h2>
<p><a class="reference external" href="http://www.rackspace.com/">Rackspace</a> CloudFiles uses <a class="reference external" href="http://www.openstack.org/">OpenStack</a> internally, so it is possible to
just use the OpenStack/Swift backend (see above) with
-<tt class="docutils literal"><span class="pre">auth.api.rackspacecloud.com</span></tt> as the host name and your rackspace
-API key as the backend passphrase. However, in this case you are
-restricted to using containers in the default storage region.</p>
-<p>To access containers in other storage regions, there is a special
-<tt class="docutils literal"><span class="pre">rackspace</span></tt> backend that uses a storage URL of the form</p>
-<p>The storage URL for the OpenStack backend has the form</p>
+<tt class="docutils literal"><span class="pre">auth.api.rackspacecloud.com</span></tt> as the host name. For convenince,
+there is also a special <tt class="docutils literal"><span class="pre">rackspace</span></tt> backend that uses a storage URL
+of the form</p>
<div class="highlight-commandline"><div class="highlight"><pre><span class="l">rackspace://</span><span class="nv">&lt;region&gt;</span><span class="l">/</span><span class="nv">&lt;container&gt;</span><span class="ge">[/&lt;prefix&gt;]</span><span class="l"></span>
</pre></div>
</div>
@@ -209,33 +217,20 @@ restricted to using containers in the default storage region.</p>
region. <em>prefix</em> can be an arbitrary prefix that will be prepended to
all object names used by S3QL and can be used to store several S3QL
file systems in the same container.</p>
-<p>The OpenStack backend always uses HTTPS connections. Note, however,
-that at this point S3QL does not verify the server certificate (cf.
-<a class="reference external" href="http://code.google.com/p/s3ql/issues/detail?id=267">issue 267</a>).</p>
<p>You can create a storage container for S3QL using the <a class="reference external" href="https://mycloud.rackspace.com/">Cloud Control
Panel</a> (click on <em>Files</em> in the
topmost menu bar).</p>
-<div class="admonition warning">
-<p class="first admonition-title">Warning</p>
-<p class="last">As of January 2012, RackSpace does not give any information about
-data consistency or data durability on their web page. However,
-RackSpace support agents (especially in the live chat) often claim
-very high guarantees. Any such statement is wrong. As of 01/2012,
-RackSpace CloudFiles does <em>not</em> give <em>any</em> durability or
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">As of January 2012, Rackspace does not give any durability or
consistency guarantees (see <a class="reference internal" href="durability.html#durability"><em>Important Rules to Avoid Losing Data</em></a> for why this is
-important). Why this fact is only acknowledged RackSpace&#8217;s
-technical engineers, and/or not communicated to their sales agents
-is not known.</p>
+important). However, Rackspace support agents seem prone to claim
+very high guarantees. Unless explicitly backed by their terms of
+service, any such statement should thus be viewed with
+suspicion. S3QL developers have also <a class="reference external" href="http://www.rath.org/Tales%20from%20the%20Rackspace%20Support">repeatedly experienced</a>
+similar issues with the credibility and competence of the Rackspace
+support.</p>
</div>
-<p>You should note that opinions about RackSpace differ widely among S3QL
-users and developers. On one hand, people praise RackSpace for their
-backing of the (open source) OpenStack project. On the other hand,
-their heavily advertised &#8220;fanatical support&#8221; is in practice often not
-only <a class="reference external" href="http://code.google.com/p/s3ql/issues/detail?id=243#c5">less than helpful</a>, but their
-support agents also seem to be <a class="reference external" href="http://code.google.com/p/s3ql/issues/detail?id=243#c11">downright incompetent</a>. However,
-there are reports that the support quality increases dramatically once
-you are a customer and use the &#8220;Live Chat&#8221; link when you are logged
-into the control panel.</p>
</div>
<div class="section" id="s3-compatible">
<h2>S3 compatible<a class="headerlink" href="#s3-compatible" title="Permalink to this headline">¶</a></h2>
@@ -254,7 +249,7 @@ the same bucket.</p>
<p>S3QL is also able to store its data on the local file system. This can
be used to backup data on external media, or to access external
services that S3QL can not talk to directly (e.g., it is possible to
-store data over SSH by first mounting the remote system using <a href="#id5"><span class="problematic" id="id6">`sshfs`_</span></a>
+store data over SSH by first mounting the remote system using <a class="reference external" href="http://fuse.sourceforge.net/sshfs.html">sshfs</a>
and then using the local backend to store the data in the sshfs
mountpoint).</p>
<p>The storage URL for local storage is</p>
@@ -286,12 +281,12 @@ storage url <tt class="docutils literal"><span class="pre">local:///home/john/s3
<li class="right" >
<a href="installation.html" title="Installation"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/contrib.html b/doc/html/contrib.html
index 1b963d3..47eb379 100644
--- a/doc/html/contrib.html
+++ b/doc/html/contrib.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Contributed Programs &mdash; S3QL 1.16 documentation</title>
+ <title>Contributed Programs &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Tips &amp; Tricks" href="tips.html" />
<link rel="prev" title="Storing Authentication Information" href="authinfo.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="authinfo.html" title="Storing Authentication Information"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -231,12 +229,12 @@ start, and properly unmounts it when the system is shut down.</p>
<li class="right" >
<a href="authinfo.html" title="Storing Authentication Information"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/durability.html b/doc/html/durability.html
index ac77a82..419fc62 100644
--- a/doc/html/durability.html
+++ b/doc/html/durability.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Important Rules to Avoid Losing Data &mdash; S3QL 1.16 documentation</title>
+ <title>Important Rules to Avoid Losing Data &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="File System Creation" href="mkfs.html" />
<link rel="prev" title="Storage Backends" href="backends.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="backends.html" title="Storage Backends"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -343,12 +341,12 @@ over long periods of time.</p>
<li class="right" >
<a href="backends.html" title="Storage Backends"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/fsck.html b/doc/html/fsck.html
index f8c109b..0a0ff31 100644
--- a/doc/html/fsck.html
+++ b/doc/html/fsck.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Checking for Errors &mdash; S3QL 1.16 documentation</title>
+ <title>Checking for Errors &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Storing Authentication Information" href="authinfo.html" />
<link rel="prev" title="Unmounting" href="umount.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="umount.html" title="Unmounting"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -120,18 +118,22 @@ be kept. Specify <tt class="docutils literal"><span class="pre">none</span></tt>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--debug <var>&lt;module&gt;</var></span></kbd></td>
</tr>
-<tr><td>&nbsp;</td><td>activate debugging output from &lt;module&gt;. Use <tt class="docutils literal"><span class="pre">all</span></tt> to get
-debug messages from all modules. This option can be
+<tr><td>&nbsp;</td><td>activate debugging output from &lt;module&gt;. Use <tt class="docutils literal"><span class="pre">all</span></tt> to
+get debug messages from all modules. This option can be
specified multiple times.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--quiet</span></kbd></td>
<td>be really quiet</td></tr>
<tr><td class="option-group">
-<kbd><span class="option">--ssl</span></kbd></td>
-<td>Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.</td></tr>
+<kbd><span class="option">--no-ssl</span></kbd></td>
+<td>Do not use secure (ssl) connections when connecting to
+remote servers.</td></tr>
+<tr><td class="option-group" colspan="2">
+<kbd><span class="option">--ssl-ca-path <var>path</var></span></kbd></td>
+</tr>
+<tr><td>&nbsp;</td><td>File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system&#8217;s OpenSSL library are used.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--version</span></kbd></td>
<td>just print program version and exit</td></tr>
@@ -161,12 +163,12 @@ option is not set.</td></tr>
<li class="right" >
<a href="umount.html" title="Unmounting"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/impl_details.html b/doc/html/impl_details.html
index e05de13..79d584e 100644
--- a/doc/html/impl_details.html
+++ b/doc/html/impl_details.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Implementation Details &mdash; S3QL 1.16 documentation</title>
+ <title>Implementation Details &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="prev" title="Further Resources / Getting Help" href="resources.html" />
</head>
<body>
@@ -36,7 +34,7 @@
<li class="right" style="margin-right: 10px">
<a href="resources.html" title="Further Resources / Getting Help"
accesskey="P">previous</a></li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -216,12 +214,12 @@ new S3 object.</p>
<li class="right" style="margin-right: 10px">
<a href="resources.html" title="Further Resources / Getting Help"
>previous</a></li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/index.html b/doc/html/index.html
index fed6b31..fb85714 100644
--- a/doc/html/index.html
+++ b/doc/html/index.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>S3QL User’s Guide &mdash; S3QL 1.16 documentation</title>
+ <title>S3QL User’s Guide &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="#" />
+ <link rel="top" title="S3QL 2.5 documentation" href="#" />
<link rel="next" title="About S3QL" href="about.html" />
</head>
<body>
@@ -36,7 +34,7 @@
<li class="right" style="margin-right: 10px">
<a href="about.html" title="About S3QL"
accesskey="N">next</a></li>
- <li><a href="#">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="#">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -97,13 +95,14 @@
<li class="toctree-l2"><a class="reference internal" href="installation.html#dependencies">Dependencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="installation.html#installing-s3ql">Installing S3QL</a></li>
<li class="toctree-l2"><a class="reference internal" href="installation.html#development-version">Development Version</a></li>
+<li class="toctree-l2"><a class="reference internal" href="installation.html#running-tests-requiring-remote-servers">Running tests requiring remote servers</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="backends.html">Storage Backends</a><ul>
<li class="toctree-l2"><a class="reference internal" href="backends.html#google-storage">Google Storage</a></li>
<li class="toctree-l2"><a class="reference internal" href="backends.html#amazon-s3">Amazon S3</a></li>
<li class="toctree-l2"><a class="reference internal" href="backends.html#openstack-swift">OpenStack/Swift</a></li>
-<li class="toctree-l2"><a class="reference internal" href="backends.html#rackspace-cloudfiles">RackSpace CloudFiles</a></li>
+<li class="toctree-l2"><a class="reference internal" href="backends.html#rackspace-cloudfiles">Rackspace CloudFiles</a></li>
<li class="toctree-l2"><a class="reference internal" href="backends.html#s3-compatible">S3 compatible</a></li>
<li class="toctree-l2"><a class="reference internal" href="backends.html#local">Local</a></li>
</ul>
@@ -197,12 +196,12 @@
<li class="right" style="margin-right: 10px">
<a href="about.html" title="About S3QL"
>next</a></li>
- <li><a href="#">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="#">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/installation.html b/doc/html/installation.html
index b2deac3..867af98 100644
--- a/doc/html/installation.html
+++ b/doc/html/installation.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Installation &mdash; S3QL 1.16 documentation</title>
+ <title>Installation &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Storage Backends" href="backends.html" />
<link rel="prev" title="About S3QL" href="about.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="about.html" title="About S3QL"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -52,6 +50,7 @@
<li class="toctree-l2"><a class="reference internal" href="#dependencies">Dependencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="#installing-s3ql">Installing S3QL</a></li>
<li class="toctree-l2"><a class="reference internal" href="#development-version">Development Version</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#running-tests-requiring-remote-servers">Running tests requiring remote servers</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="backends.html">Storage Backends</a></li>
@@ -117,31 +116,29 @@ kernel 2.6.26 you will get significantly better write performance,
so under Linux you should actually use <em>2.6.26 or newer whenever
possible</em>.</p>
</li>
-<li><p class="first"><a class="reference external" href="http://www.python.org/">Python</a> 2.7.0 or newer (but not Python
-3.x). Make sure to also install the development headers.</p>
+<li><p class="first"><a class="reference external" href="http://www.python.org/">Python</a> 3.3.0 or newer. Make sure to also
+install the development headers.</p>
</li>
-<li><p class="first">The <a class="reference external" href="http://pypi.python.org/pypi/pycryptopp">PyCrypto++ Python Module</a>. To check if this module
-is installed, try to execute <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-c</span> <span class="pre">'import</span> <span class="pre">pycryptopp'</span></tt>.</p>
+<li><p class="first">The <a class="reference external" href="https://pypi.python.org/pypi/distribute">setuptools/distribute Python Module</a>. To check if this
+module is installed, try to execute <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-c</span> <span class="pre">'import</span> <span class="pre">setuptools'</span></tt>.</p>
+</li>
+<li><p class="first">The <a class="reference external" href="https://www.dlitz.net/software/pycrypto/">PyCrypto Python Module</a>. To check if this
+module is installed, try to execute <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-c</span> <span class="pre">'import</span> <span class="pre">Crypto'</span></tt>.</p>
</li>
<li><p class="first"><a class="reference external" href="http://www.sqlite.org/">SQLite</a> version 3.7.0 or newer. SQLite
has to be installed as a <em>shared library</em> with development headers.</p>
</li>
<li><p class="first">The <a class="reference external" href="http://code.google.com/p/apsw/">APSW Python Module</a>. To check
which (if any) version of APWS is installed, run the command</p>
-<div class="highlight-commandline"><div class="highlight"><pre><span class="l">python -c &#39;import apsw; print apsw.apswversion()&#39;</span>
+<div class="highlight-commandline"><div class="highlight"><pre><span class="l">python -c &#39;import apsw; print(apsw.apswversion())&#39;</span>
</pre></div>
</div>
<p>The printed version number should be at least 3.7.0.</p>
</li>
-<li><p class="first">The <a class="reference external" href="http://pypi.python.org/pypi/pyliblzma">PyLibLZMA Python module</a>. To check if this module
-is installed, execute <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-c</span> <span class="pre">'import</span> <span class="pre">lzma;</span> <span class="pre">print</span>
-<span class="pre">lzma.__version__'</span></tt>. This should print a version number. You need at
-least version 0.5.3.</p>
-</li>
<li><p class="first">The <a class="reference external" href="http://code.google.com/p/python-llfuse/">Python LLFUSE module</a>. To check if this module
-is installed, execute <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-c</span> <span class="pre">'import</span> <span class="pre">llfuse;</span> <span class="pre">print</span>
-<span class="pre">llfuse.__version__'</span></tt>. This should print a version number. You need at
-least version 0.37.</p>
+is installed, execute <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-c</span> <span class="pre">'import</span> <span class="pre">llfuse;</span>
+<span class="pre">print(llfuse.__version__)'</span></tt>. This should print a version number. You
+need at least version 0.39.</p>
</li>
</ul>
</div>
@@ -151,8 +148,8 @@ least version 0.37.</p>
<ol class="arabic simple">
<li>Download S3QL from <a class="reference external" href="http://code.google.com/p/s3ql/downloads/list">http://code.google.com/p/s3ql/downloads/list</a></li>
<li>Unpack it into a folder of your choice</li>
-<li>Run <tt class="docutils literal"><span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">build</span></tt> to build S3QL.</li>
-<li>Run <tt class="docutils literal"><span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">test</span></tt> to run a self-test. If this fails, ask
+<li>Run <tt class="docutils literal"><span class="pre">python3</span> <span class="pre">setup.py</span> <span class="pre">build_ext</span> <span class="pre">--inplace</span></tt> to build S3QL.</li>
+<li>Run <tt class="docutils literal"><span class="pre">python3</span> <span class="pre">runtests.py</span> <span class="pre">tests</span></tt> to run a self-test. If this fails, ask
for help on the <a class="reference external" href="http://groups.google.com/group/s3ql">mailing list</a> or report a bug in the
<a class="reference external" href="http://code.google.com/p/s3ql/issues/list">issue tracker</a>.</li>
</ol>
@@ -160,8 +157,8 @@ for help on the <a class="reference external" href="http://groups.google.com/gro
<ul class="simple">
<li>You can run the S3QL commands from the <tt class="docutils literal"><span class="pre">bin/</span></tt> directory.</li>
<li>You can install S3QL system-wide for all users. To do that, you
-have to run <tt class="docutils literal"><span class="pre">sudo</span> <span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">install</span></tt>.</li>
-<li>You can install S3QL into <tt class="docutils literal"><span class="pre">~/.local</span></tt> by executing <tt class="docutils literal"><span class="pre">python</span>
+have to run <tt class="docutils literal"><span class="pre">sudo</span> <span class="pre">python3</span> <span class="pre">setup.py</span> <span class="pre">install</span></tt>.</li>
+<li>You can install S3QL into <tt class="docutils literal"><span class="pre">~/.local</span></tt> by executing <tt class="docutils literal"><span class="pre">python3</span>
<span class="pre">setup.py</span> <span class="pre">install</span> <span class="pre">--user</span></tt>. In this case you should make sure that
<tt class="docutils literal"><span class="pre">~/.local/bin</span></tt> is in your <tt class="docutils literal"><span class="pre">$PATH</span></tt> environment variable.</li>
</ul>
@@ -169,16 +166,70 @@ have to run <tt class="docutils literal"><span class="pre">sudo</span> <span cla
<div class="section" id="development-version">
<h2>Development Version<a class="headerlink" href="#development-version" title="Permalink to this headline">¶</a></h2>
<p>If you have checked out the unstable development version from the
-Mercurial repository, a bit more effort is required. You need to also
-have <a class="reference external" href="http://www.cython.org/">Cython</a> (0.16 or newer) and <a class="reference external" href="http://sphinx.pocoo.org/">Sphinx</a> (1.1 or newer) installed, and
-the necessary commands are:</p>
-<div class="highlight-commandline"><div class="highlight"><pre><span class="l">python setup.py build_cython</span>
-<span class="l">python setup.py build_ext --inplace</span>
-<span class="l">python setup.py build_sphinx</span>
-<span class="l">python setup.py test</span>
-<span class="l">python setup.py install</span>
+Mercurial repository, a bit more effort is required. You&#8217;ll also need:</p>
+<ul class="simple">
+<li>Version 0.17 or newer of the <a class="reference external" href="http://www.cython.org/">Cython</a> compiler.</li>
+<li>Version 1.1 or newer of the <a class="reference external" href="http://sphinx.pocoo.org/">Sphinx</a> document processor.</li>
+<li>The <a class="reference external" href="http://pytest.org/">py.test</a> testing tool, version 2.3.3 or newer.</li>
+</ul>
+<p>With these additional dependencies installed, S3QL can be build and
+tested with</p>
+<div class="highlight-commandline"><div class="highlight"><pre><span class="l">python3 setup.py build_cython</span>
+<span class="l">python3 setup.py build_ext --inplace</span>
+<span class="l">py.test tests/</span>
+</pre></div>
+</div>
+<p>Note that when building from the Mercurial repository, building and
+testing is done with several additional checks. This may cause
+compilation and/or tests to fail even though there are no problems
+with functionality. For example, when building from the Mercurial
+repository, any use of functions that are scheduled for deprecation in
+future Python version will cause tests to fail. If you would rather
+just check for functionality, you can delete the <tt class="file docutils literal"><span class="pre">MANIFEST.in</span></tt>
+file. In that case, the build system will behave as it does for a
+regular release.</p>
+<p>The HTML and PDF documentation can be generated with</p>
+<div class="highlight-commandline"><div class="highlight"><pre><span class="l">python3 setup.py build_sphinx</span>
+</pre></div>
+</div>
+<p>and S3QL can be installed as usual with</p>
+<div class="highlight-commandline"><div class="highlight"><pre><span class="l">python3 setup.py install </span><span class="ge">[--user]</span><span class="l"></span>
+</pre></div>
+</div>
+</div>
+<div class="section" id="running-tests-requiring-remote-servers">
+<h2>Running tests requiring remote servers<a class="headerlink" href="#running-tests-requiring-remote-servers" title="Permalink to this headline">¶</a></h2>
+<p>By default, the <tt class="docutils literal"><span class="pre">runtest.py</span></tt> (or <tt class="docutils literal"><span class="pre">py.test</span></tt>) script skips all tests
+that require connection to a remote storage backend. If you would like
+to run these tests too (which is always a good idea), you have to
+create additional entries in your <tt class="docutils literal"><span class="pre">~/.s3ql/authinfo2</span></tt> file that tell
+S3QL what server and credentials to use for these tests. These entries
+have the following form:</p>
+<div class="highlight-commandline"><div class="highlight"><pre><span class="ge">[&lt;BACKEND&gt;-test]</span><span class="l"></span>
+<span class="l">backend-login: </span><span class="nv">&lt;user&gt;</span><span class="l"></span>
+<span class="l">backend-password: </span><span class="nv">&lt;password&gt;</span><span class="l"></span>
+<span class="l">test-fs: </span><span class="nv">&lt;storage-url&gt;</span><span class="l"></span>
+</pre></div>
+</div>
+<p>Here <em>&lt;BACKEND&gt;</em> specifies the backend that you want to test
+(e.g. <em>s3</em>, <em>s3c</em>, <em>gs</em>, or <em>swift</em>), <em>&lt;user&gt;</em> and <em>&lt;password&gt;</em> are
+the backend authentication credentials, and <em>&lt;storage-url&gt;</em> specifies
+the full storage URL that will be used for testing. <strong>Any existing
+S3QL file system in this storage URL will be destroyed during
+testing</strong>.</p>
+<p>For example, to run tests that need connection to a Google Storage
+server, you would add something like</p>
+<div class="highlight-commandline"><div class="highlight"><pre><span class="ge">[gs-test]</span><span class="l"></span>
+<span class="l">backend-login: GOOGIGWLONT238MD7HZ4</span>
+<span class="l">backend-password: rmEbstjscoeunt1249oes1298gauidbs3hl</span>
+<span class="l">test-fs: gs://joes-gs-bucket/s3ql_tests/</span>
</pre></div>
</div>
+<p>On the next run of <tt class="docutils literal"><span class="pre">runtest.py</span></tt> (or <tt class="docutils literal"><span class="pre">py.test</span></tt> when using the
+development version), the additional tests will be run. If the tests
+are still skipped, you can get more information about why tests are
+being skipped by passing the <tt class="cmdopt docutils literal"><span class="pre">-rs</span></tt> argument to
+<tt class="docutils literal"><span class="pre">runtest.py</span></tt>/<tt class="docutils literal"><span class="pre">py.test</span></tt>.</p>
</div>
</div>
@@ -197,12 +248,12 @@ the necessary commands are:</p>
<li class="right" >
<a href="about.html" title="About S3QL"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/issues.html b/doc/html/issues.html
index e1bb108..d9c1612 100644
--- a/doc/html/issues.html
+++ b/doc/html/issues.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Known Issues &mdash; S3QL 1.16 documentation</title>
+ <title>Known Issues &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Manpages" href="man/index.html" />
<link rel="prev" title="Tips &amp; Tricks" href="tips.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="tips.html" title="Tips &amp; Tricks"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -91,15 +89,24 @@
<div class="section" id="known-issues">
<h1>Known Issues<a class="headerlink" href="#known-issues" title="Permalink to this headline">¶</a></h1>
<ul>
+<li><p class="first">S3QL de-duplicates data blocks based solely only on SHA256
+checksums, without doing a byte-by-byte comparison of the blocks.
+Since it is possible for two data blocks to have the same checksum
+despite having different contents, this can lead to problems. If two
+such blocks are stored in an S3QL file system, the data in one block
+will be lost and replaced by the data in the other block. However,
+the chances of this occuring for any two blocks are about 1 in 10^77
+(2^256). For a file system that holds a total of 10^34 blocks, the
+chances of a collision increase to about 1 in 10^9. Storing more
+than 10^34 blocks (or about 10^25 TB with an (extremely small) block
+size of 4 kB) is therefore not recommended. Being exceptionally
+unlucky may also be a disadvantage.</p>
+</li>
<li><p class="first">S3QL does not support Access Control Lists (ACLs). This is due to
a bug in the FUSE library and will therefore hopefully be fixed
at some point. See <a class="reference external" href="http://code.google.com/p/s3ql/issues/detail?id=385">issue 385</a>
for more details.</p>
</li>
-<li><p class="first">S3QL 1.x does not verify TLS/SSL server certificates and is thus
-vulnerable to man-in-the-middle attacks (S3QL versions after 2.0
-do not have this problem but require Python 3.3 or newer).</p>
-</li>
<li><p class="first">S3QL is rather slow when an application tries to write data in
unreasonably small chunks. If a 1 MiB file is copied in chunks of 1
KB, this will take more than 10 times as long as when it&#8217;s copied
@@ -177,12 +184,12 @@ entity expansion attacks</a>.</p>
<li class="right" >
<a href="tips.html" title="Tips &amp; Tricks"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/adm.html b/doc/html/man/adm.html
index 979acf3..0eb50f3 100644
--- a/doc/html/man/adm.html
+++ b/doc/html/man/adm.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The s3qladm command &mdash; S3QL 1.16 documentation</title>
+ <title>The s3qladm command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The mount.s3ql command" href="mount.html" />
<link rel="prev" title="The mkfs.s3ql command" href="mkfs.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="mkfs.html" title="The mkfs.s3ql command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -133,8 +131,8 @@ Guide should be consulted for a description of the available backends.</p>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--debug <var>&lt;module&gt;</var></span></kbd></td>
</tr>
-<tr><td>&nbsp;</td><td>activate debugging output from &lt;module&gt;. Use <tt class="docutils literal"><span class="pre">all</span></tt> to get
-debug messages from all modules. This option can be
+<tr><td>&nbsp;</td><td>activate debugging output from &lt;module&gt;. Use <tt class="docutils literal"><span class="pre">all</span></tt> to
+get debug messages from all modules. This option can be
specified multiple times.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--quiet</span></kbd></td>
@@ -144,18 +142,22 @@ specified multiple times.</td></tr>
<td>Write logging info into this file. File will be rotated
when it reaches 1 MiB, and at most 5 old log files will
be kept. Specify <tt class="docutils literal"><span class="pre">none</span></tt> to disable logging. Default:
-<tt class="docutils literal"><span class="pre">none</span></tt></td></tr>
+<tt class="docutils literal"><span class="pre">None</span></tt></td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--authfile <var>&lt;path&gt;</var></span></kbd></td>
</tr>
<tr><td>&nbsp;</td><td>Read authentication credentials from this file (default:
<tt class="docutils literal"><span class="pre">~/.s3ql/authinfo2)</span></tt></td></tr>
<tr><td class="option-group">
-<kbd><span class="option">--ssl</span></kbd></td>
-<td>Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.</td></tr>
+<kbd><span class="option">--no-ssl</span></kbd></td>
+<td>Do not use secure (ssl) connections when connecting to
+remote servers.</td></tr>
+<tr><td class="option-group" colspan="2">
+<kbd><span class="option">--ssl-ca-path <var>path</var></span></kbd></td>
+</tr>
+<tr><td>&nbsp;</td><td>File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system&#8217;s OpenSSL library are used.</td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--cachedir <var>&lt;path&gt;</var></span></kbd></td>
</tr>
@@ -212,13 +214,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="mkfs.html" title="The mkfs.s3ql command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/cp.html b/doc/html/man/cp.html
index 31514d4..15df6bf 100644
--- a/doc/html/man/cp.html
+++ b/doc/html/man/cp.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The s3qlcp command &mdash; S3QL 1.16 documentation</title>
+ <title>The s3qlcp command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The s3qlrm command" href="rm.html" />
<link rel="prev" title="The s3qlctrl command" href="ctrl.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="ctrl.html" title="The s3qlctrl command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -212,13 +210,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="ctrl.html" title="The s3qlctrl command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/ctrl.html b/doc/html/man/ctrl.html
index af7b486..8f48295 100644
--- a/doc/html/man/ctrl.html
+++ b/doc/html/man/ctrl.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The s3qlctrl command &mdash; S3QL 1.16 documentation</title>
+ <title>The s3qlctrl command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The s3qlcp command" href="cp.html" />
<link rel="prev" title="The s3qlstat command" href="stat.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="stat.html" title="The s3qlstat command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -203,13 +201,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="stat.html" title="The s3qlstat command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/expire_backups.html b/doc/html/man/expire_backups.html
index ad7e4f1..103737d 100644
--- a/doc/html/man/expire_backups.html
+++ b/doc/html/man/expire_backups.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The expire_backups command &mdash; S3QL 1.16 documentation</title>
+ <title>The expire_backups command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="Further Resources / Getting Help" href="../resources.html" />
<link rel="prev" title="The pcp command" href="pcp.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="pcp.html" title="The pcp command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -233,13 +231,13 @@ error occured.</p>
<li class="right" >
<a href="pcp.html" title="The pcp command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/fsck.html b/doc/html/man/fsck.html
index 6ac4279..1654203 100644
--- a/doc/html/man/fsck.html
+++ b/doc/html/man/fsck.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The fsck.s3ql command &mdash; S3QL 1.16 documentation</title>
+ <title>The fsck.s3ql command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The pcp command" href="pcp.html" />
<link rel="prev" title="The umount.s3ql command" href="umount.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="umount.html" title="The umount.s3ql command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -146,18 +144,22 @@ be kept. Specify <tt class="docutils literal"><span class="pre">none</span></tt>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--debug <var>&lt;module&gt;</var></span></kbd></td>
</tr>
-<tr><td>&nbsp;</td><td>activate debugging output from &lt;module&gt;. Use <tt class="docutils literal"><span class="pre">all</span></tt> to get
-debug messages from all modules. This option can be
+<tr><td>&nbsp;</td><td>activate debugging output from &lt;module&gt;. Use <tt class="docutils literal"><span class="pre">all</span></tt> to
+get debug messages from all modules. This option can be
specified multiple times.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--quiet</span></kbd></td>
<td>be really quiet</td></tr>
<tr><td class="option-group">
-<kbd><span class="option">--ssl</span></kbd></td>
-<td>Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.</td></tr>
+<kbd><span class="option">--no-ssl</span></kbd></td>
+<td>Do not use secure (ssl) connections when connecting to
+remote servers.</td></tr>
+<tr><td class="option-group" colspan="2">
+<kbd><span class="option">--ssl-ca-path <var>path</var></span></kbd></td>
+</tr>
+<tr><td>&nbsp;</td><td>File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system&#8217;s OpenSSL library are used.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--version</span></kbd></td>
<td>just print program version and exit</td></tr>
@@ -200,13 +202,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="umount.html" title="The umount.s3ql command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/index.html b/doc/html/man/index.html
index 8292886..c10c066 100644
--- a/doc/html/man/index.html
+++ b/doc/html/man/index.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Manpages &mdash; S3QL 1.16 documentation</title>
+ <title>Manpages &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="next" title="The mkfs.s3ql command" href="mkfs.html" />
<link rel="prev" title="Known Issues" href="../issues.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="../issues.html" title="Known Issues"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -140,12 +138,12 @@ here in the User&#8217;s Guide.</p>
<li class="right" >
<a href="../issues.html" title="Known Issues"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/lock.html b/doc/html/man/lock.html
index 746cac6..33061cc 100644
--- a/doc/html/man/lock.html
+++ b/doc/html/man/lock.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The s3qllock command &mdash; S3QL 1.16 documentation</title>
+ <title>The s3qllock command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The umount.s3ql command" href="umount.html" />
<link rel="prev" title="The s3qlrm command" href="rm.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="rm.html" title="The s3qlrm command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -203,13 +201,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="rm.html" title="The s3qlrm command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/mkfs.html b/doc/html/man/mkfs.html
index 7d0cf98..d6102f2 100644
--- a/doc/html/man/mkfs.html
+++ b/doc/html/man/mkfs.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The mkfs.s3ql command &mdash; S3QL 1.16 documentation</title>
+ <title>The mkfs.s3ql command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The s3qladm command" href="adm.html" />
<link rel="prev" title="Manpages" href="index.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="index.html" title="Manpages"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -151,11 +149,15 @@ be specified multiple times.</td></tr>
<kbd><span class="option">--quiet</span></kbd></td>
<td>be really quiet</td></tr>
<tr><td class="option-group">
-<kbd><span class="option">--ssl</span></kbd></td>
-<td>Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.</td></tr>
+<kbd><span class="option">--no-ssl</span></kbd></td>
+<td>Do not use secure (ssl) connections when connecting to
+remote servers.</td></tr>
+<tr><td class="option-group" colspan="2">
+<kbd><span class="option">--ssl-ca-path <var>path</var></span></kbd></td>
+</tr>
+<tr><td>&nbsp;</td><td>File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system&#8217;s OpenSSL library are used.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--version</span></kbd></td>
<td>just print program version and exit</td></tr>
@@ -207,13 +209,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="index.html" title="Manpages"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/mount.html b/doc/html/man/mount.html
index eafe43c..64bc2fb 100644
--- a/doc/html/man/mount.html
+++ b/doc/html/man/mount.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The mount.s3ql command &mdash; S3QL 1.16 documentation</title>
+ <title>The mount.s3ql command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The s3qlstat command" href="stat.html" />
<link rel="prev" title="The s3qladm command" href="adm.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="adm.html" title="The s3qladm command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -153,11 +151,15 @@ be specified multiple times.</td></tr>
<kbd><span class="option">--quiet</span></kbd></td>
<td>be really quiet</td></tr>
<tr><td class="option-group">
-<kbd><span class="option">--ssl</span></kbd></td>
-<td>Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.</td></tr>
+<kbd><span class="option">--no-ssl</span></kbd></td>
+<td>Do not use secure (ssl) connections when connecting to
+remote servers.</td></tr>
+<tr><td class="option-group" colspan="2">
+<kbd><span class="option">--ssl-ca-path <var>path</var></span></kbd></td>
+</tr>
+<tr><td>&nbsp;</td><td>File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system&#8217;s OpenSSL library are used.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--version</span></kbd></td>
<td>just print program version and exit</td></tr>
@@ -207,11 +209,13 @@ is up.</td></tr>
<td>Create profiling information. If you don&#8217;t understand
this, then you don&#8217;t need it.</td></tr>
<tr><td class="option-group" colspan="2">
-<kbd><span class="option">--compress <var>&lt;name&gt;</var></span></kbd></td>
+<kbd><span class="option">--compress <var>&lt;algorithm-lvl&gt;</var></span></kbd></td>
</tr>
-<tr><td>&nbsp;</td><td>Compression algorithm to use when storing new data.
-Allowed values: <tt class="docutils literal"><span class="pre">lzma</span></tt>, <tt class="docutils literal"><span class="pre">bzip2</span></tt>, <tt class="docutils literal"><span class="pre">zlib</span></tt>, none.
-(default: <tt class="docutils literal"><span class="pre">lzma</span></tt>)</td></tr>
+<tr><td>&nbsp;</td><td>Compression algorithm and compression level to use
+when storing new data. <em>algorithm</em> may be any of
+<tt class="docutils literal"><span class="pre">lzma</span></tt>, <tt class="docutils literal"><span class="pre">bzip2</span></tt>, <tt class="docutils literal"><span class="pre">zlib</span></tt>, or none. <em>lvl</em> may be any
+integer from 0 (fastest) to 9 (slowest). Default:
+<tt class="docutils literal"><span class="pre">lzma-6</span></tt></td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--metadata-upload-interval <var>&lt;seconds&gt;</var></span></kbd></td>
</tr>
@@ -258,13 +262,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="adm.html" title="The s3qladm command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/pcp.html b/doc/html/man/pcp.html
index 84ac977..4c6547c 100644
--- a/doc/html/man/pcp.html
+++ b/doc/html/man/pcp.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The pcp command &mdash; S3QL 1.16 documentation</title>
+ <title>The pcp command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The expire_backups command" href="expire_backups.html" />
<link rel="prev" title="The fsck.s3ql command" href="fsck.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="fsck.html" title="The fsck.s3ql command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -176,13 +174,13 @@ error occured.</p>
<li class="right" >
<a href="fsck.html" title="The fsck.s3ql command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/rm.html b/doc/html/man/rm.html
index bb06bd5..f7f593a 100644
--- a/doc/html/man/rm.html
+++ b/doc/html/man/rm.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The s3qlrm command &mdash; S3QL 1.16 documentation</title>
+ <title>The s3qlrm command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The s3qllock command" href="lock.html" />
<link rel="prev" title="The s3qlcp command" href="cp.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="cp.html" title="The s3qlcp command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -176,13 +174,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="cp.html" title="The s3qlcp command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/stat.html b/doc/html/man/stat.html
index 0ed5856..4b66dcc 100644
--- a/doc/html/man/stat.html
+++ b/doc/html/man/stat.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The s3qlstat command &mdash; S3QL 1.16 documentation</title>
+ <title>The s3qlstat command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The s3qlctrl command" href="ctrl.html" />
<link rel="prev" title="The mount.s3ql command" href="mount.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="mount.html" title="The mount.s3ql command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -171,13 +169,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="mount.html" title="The mount.s3ql command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/man/umount.html b/doc/html/man/umount.html
index 16a4a50..0b91a9e 100644
--- a/doc/html/man/umount.html
+++ b/doc/html/man/umount.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,7 +6,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The umount.s3ql command &mdash; S3QL 1.16 documentation</title>
+ <title>The umount.s3ql command &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="../_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -16,7 +14,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '1.16',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="author" title="About these documents" href="../about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="../index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="../index.html" />
<link rel="up" title="Manpages" href="index.html" />
<link rel="next" title="The fsck.s3ql command" href="fsck.html" />
<link rel="prev" title="The s3qllock command" href="lock.html" />
@@ -41,7 +39,7 @@
<li class="right" >
<a href="lock.html" title="The s3qllock command"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">Manpages</a> &raquo;</li>
</ul>
</div>
@@ -181,13 +179,13 @@ system, common locations are <tt class="file docutils literal"><span class="pre"
<li class="right" >
<a href="lock.html" title="The s3qllock command"
>previous</a> |</li>
- <li><a href="../index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="../index.html">S3QL 2.5 documentation</a> &raquo;</li>
<li><a href="index.html" >Manpages</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/mkfs.html b/doc/html/mkfs.html
index 07a141c..9ba0732 100644
--- a/doc/html/mkfs.html
+++ b/doc/html/mkfs.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>File System Creation &mdash; S3QL 1.16 documentation</title>
+ <title>File System Creation &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Managing File Systems" href="adm.html" />
<link rel="prev" title="Important Rules to Avoid Losing Data" href="durability.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="durability.html" title="Important Rules to Avoid Losing Data"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -127,11 +125,15 @@ be specified multiple times.</td></tr>
<kbd><span class="option">--quiet</span></kbd></td>
<td>be really quiet</td></tr>
<tr><td class="option-group">
-<kbd><span class="option">--ssl</span></kbd></td>
-<td>Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.</td></tr>
+<kbd><span class="option">--no-ssl</span></kbd></td>
+<td>Do not use secure (ssl) connections when connecting to
+remote servers.</td></tr>
+<tr><td class="option-group" colspan="2">
+<kbd><span class="option">--ssl-ca-path <var>path</var></span></kbd></td>
+</tr>
+<tr><td>&nbsp;</td><td>File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system&#8217;s OpenSSL library are used.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--version</span></kbd></td>
<td>just print program version and exit</td></tr>
@@ -174,12 +176,12 @@ option to prevent accidental creation of an encrypted file system.</p>
<li class="right" >
<a href="durability.html" title="Important Rules to Avoid Losing Data"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/mount.html b/doc/html/mount.html
index 97f42dc..8667c1c 100644
--- a/doc/html/mount.html
+++ b/doc/html/mount.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Mounting &mdash; S3QL 1.16 documentation</title>
+ <title>Mounting &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Advanced S3QL Features" href="special.html" />
<link rel="prev" title="Managing File Systems" href="adm.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="adm.html" title="Managing File Systems"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -138,11 +136,15 @@ be specified multiple times.</td></tr>
<kbd><span class="option">--quiet</span></kbd></td>
<td>be really quiet</td></tr>
<tr><td class="option-group">
-<kbd><span class="option">--ssl</span></kbd></td>
-<td>Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.</td></tr>
+<kbd><span class="option">--no-ssl</span></kbd></td>
+<td>Do not use secure (ssl) connections when connecting to
+remote servers.</td></tr>
+<tr><td class="option-group" colspan="2">
+<kbd><span class="option">--ssl-ca-path <var>path</var></span></kbd></td>
+</tr>
+<tr><td>&nbsp;</td><td>File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system&#8217;s OpenSSL library are used.</td></tr>
<tr><td class="option-group">
<kbd><span class="option">--version</span></kbd></td>
<td>just print program version and exit</td></tr>
@@ -192,11 +194,13 @@ is up.</td></tr>
<td>Create profiling information. If you don&#8217;t understand
this, then you don&#8217;t need it.</td></tr>
<tr><td class="option-group" colspan="2">
-<kbd><span class="option">--compress <var>&lt;name&gt;</var></span></kbd></td>
+<kbd><span class="option">--compress <var>&lt;algorithm-lvl&gt;</var></span></kbd></td>
</tr>
-<tr><td>&nbsp;</td><td>Compression algorithm to use when storing new data.
-Allowed values: <tt class="docutils literal"><span class="pre">lzma</span></tt>, <tt class="docutils literal"><span class="pre">bzip2</span></tt>, <tt class="docutils literal"><span class="pre">zlib</span></tt>, none.
-(default: <tt class="docutils literal"><span class="pre">lzma</span></tt>)</td></tr>
+<tr><td>&nbsp;</td><td>Compression algorithm and compression level to use
+when storing new data. <em>algorithm</em> may be any of
+<tt class="docutils literal"><span class="pre">lzma</span></tt>, <tt class="docutils literal"><span class="pre">bzip2</span></tt>, <tt class="docutils literal"><span class="pre">zlib</span></tt>, or none. <em>lvl</em> may be any
+integer from 0 (fastest) to 9 (slowest). Default:
+<tt class="docutils literal"><span class="pre">lzma-6</span></tt></td></tr>
<tr><td class="option-group" colspan="2">
<kbd><span class="option">--metadata-upload-interval <var>&lt;seconds&gt;</var></span></kbd></td>
</tr>
@@ -254,7 +258,7 @@ file descriptor, and Linux distributions usually limit the total
number of file descriptors per process to about a thousand.</p>
<p>If you specify a value for <tt class="docutils literal"><span class="pre">--max-cache-entries</span></tt>, you should therefore
make sure to also configure your system to increase the maximum number
-of open file handles. This can be done temporarily with the <tt class="docutils literal"><span class="pre">umask</span> <span class="pre">-n</span></tt>
+of open file handles. This can be done temporarily with the <tt class="docutils literal"><span class="pre">ulimit</span> <span class="pre">-n</span></tt>
command. The method to permanently change this limit system-wide
depends on your distribution.</p>
</div>
@@ -395,12 +399,12 @@ mounted.</li>
<li class="right" >
<a href="adm.html" title="Managing File Systems"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/objects.inv b/doc/html/objects.inv
index c261ff0..b99e351 100644
--- a/doc/html/objects.inv
+++ b/doc/html/objects.inv
Binary files differ
diff --git a/doc/html/resources.html b/doc/html/resources.html
index 173a468..b4b49d8 100644
--- a/doc/html/resources.html
+++ b/doc/html/resources.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Further Resources / Getting Help &mdash; S3QL 1.16 documentation</title>
+ <title>Further Resources / Getting Help &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Implementation Details" href="impl_details.html" />
<link rel="prev" title="The expire_backups command" href="man/expire_backups.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="man/expire_backups.html" title="The expire_backups command"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -117,12 +115,12 @@ can subscribe by sending a mail to
<li class="right" >
<a href="man/expire_backups.html" title="The expire_backups command"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/search.html b/doc/html/search.html
index bf9773f..86a57d2 100644
--- a/doc/html/search.html
+++ b/doc/html/search.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Search &mdash; S3QL 1.16 documentation</title>
+ <title>Search &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -27,10 +25,12 @@
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/searchtools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<script type="text/javascript">
jQuery(function() { Search.loadIndex("searchindex.js"); });
</script>
+
+ <script type="text/javascript" id="searchindexloader"></script>
</head>
@@ -38,7 +38,7 @@
<div class="related">
<h3>Navigation</h3>
<ul>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -105,12 +105,12 @@
<div class="related">
<h3>Navigation</h3>
<ul>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/searchindex.js b/doc/html/searchindex.js
index a5a6577..7f0d47a 100644
--- a/doc/html/searchindex.js
+++ b/doc/html/searchindex.js
@@ -1 +1 @@
-Search.setIndex({objects:{},terms:{suffici:1,all:[0,1,2,3,5,7,8,11,13,14,15,16,18,20,21,22,23,24,25,26,27,28,29],concept:22,partial:1,queri:1,consum:1,mnt:[5,15,29],weren:17,month:[5,27],secondli:1,prefix:[12,13],stumbl:14,notquitesecret:12,skip:[],follow:[0,1,2,3,4,5,6,7,8,10,11,12,14,15,16,17,18,20,21,24,25,26,27,28,29],disk:[15,23,1],relatim:14,locat:[8,18,0,1,11,25,10,3,28,6,21,7],millisecond:22,cython:24,decid:15,middl:14,depend:[8,9,24,1,25,27,13,3,5,15,21,29],system:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,19,20,21,22,23,24,25,26,27,28,29],ulimit:[29,21],unpack:24,umask:29,send:[29,22,17],realli:[8,18,0,21,11,25,10,26,20,27,2,3,4,28,6,15,16,29,14],init:[29,14],program:[0,2,3,4,5,6,7,8,9,10,11,14,16,18,20,21,24,25,26,27,28,29],those:[13,22],runlevel:29,sens:15,slowest:[],sha256:[23,22],worth:14,introduc:[18,7],duplic:[18,9,23,1,13,5,22,7],sourc:[18,23,24,1,13,4,5,7],everi:[18,0,1,27,12,13,5,15,22,7],rel:[13,4],fals:[29,21],subcommand:16,none:[8,21,1,29,20,3,16],util:[15,20],worst:[0,7],failur:1,veri:[23,1,2,13,22,14],untouch:1,rmebstjscoeunt1249oes1298gauidbs3hl:[],tri:[16,22,14],build_cython:24,administr:[0,7],level:[28,7],did:23,who:[11,29,21,22,26],list:[9,23,24,1,17,27,28,13,14,5,16,7],geograph:[13,1],"try":[24,1,27,12,13,5],solid:23,stderr:29,small:[15,22,14],prepar:28,dir:[18,29],pleas:[23,17],malici:[0,7,14],smaller:[15,23,14,1],slower:[18,29,7],ifac:29,ten:13,mount:[18,9,0,21,19,1,11,29,10,26,28,13,7,3,5,6,15,16,22,14],messageid:22,compens:1,sync:4,sign:13,consequ:1,hors:[0,7],video:29,pass:[4,1],download:[16,24,22,3],further:[9,16,17],myusernam:29,click:13,append:22,rath:29,compat:[9,13],what:[5,27,16,28,1],http_proxi:13,sub:[22,14],entir:[23,0,10,7,22],descriptor:[29,21],section:[12,13,22,1],abl:[0,1,11,26,13,7,17],calcul:22,current:[1,27,5,16,22,14],delet:[9,0,1,10,27,3,5,16,7],version:[0,1,2,3,4,6,14,8,9,10,11,16,18,20,21,22,23,24,25,26,27,28,29],suspect:20,consecut:13,"new":[8,0,21,1,25,29,27,28,5,16,22,7],net:29,ever:1,method:[29,24],contrast:[0,7,1],metadata:[9,21,29,3,28,15,16,22,7],xml:14,elimin:1,full:[8,18,0,1,11,25,10,28,23,3,5,6,21,29,7],hash:22,whose:13,uplink:5,gener:[0,24,1,27,14,5,16,22,7],never:1,here:[28,13,19],umount:[9,19,11,29,26,14],satisfi:24,explicitli:14,modif:14,address:14,path:[8,21,24,25,20,2,13,3,16,29],becom:[1,27,12,13,5,15,22],modifi:[18,23,22,7],sinc:[1,29,27,5,22,14],interpret:29,wait:[1,11,29,26,15,22,14],invis:22,convert:13,ctr:22,checksum:[23,22],larger:1,step:5,precis:22,prior:1,amount:[28,15,13,23],behav:[],pick:1,action:[28,16,7,3],opinion:13,implement:[9,22,1],magnitud:[18,7],chanc:1,unreason:14,control:[13,7,14],configur:[9,29,7],retriev:[1,29,4,15,21,22],although:[23,10,7,14],readabl:23,modul:[8,21,24,25,20,2,12,13,3,28,16,29],furthermor:[12,23],apw:24,filenam:15,unix:[23,15,22,14],api:13,exit:[8,18,0,21,11,25,10,26,20,27,2,3,4,28,6,16,29],visibl:1,marker:22,instal:[8,9,0,21,19,24,18,11,25,10,28,3,5,6,16],total:[29,7],establish:1,cloud:13,rackspacecloud:13,from:[8,18,0,21,24,1,25,23,20,27,2,12,13,29,3,4,5,15,16,22,7],describ:[13,1],would:[5,18,12,27,7],apswvers:24,"float":22,two:[18,23,1,16,22,7],next:[],implic:22,viru:[0,7],live:13,call:[18,0,1,29,10,27,28,5,6,15,21,7],usr:[8,18,0,11,25,10,28,3,5,6,21],save:[27,15,23,1],taken:[18,23,21,29,7],tape:[0,7],bill:12,tell:[5,27,29],more:[23,24,1,14,4,28,22,7],sort:[5,27],wrapper:[5,4],desir:28,said:1,st_nlink:14,python:[29,12,24,22,14],peopl:13,under:[13,24],benchmark:[5,9,29],deflat:23,notic:[15,1],noleaf:14,warn:[28,16,10,13,7],accept:[8,18,0,21,1,11,25,10,26,20,27,2,12,3,4,28,6,16,29],loss:[13,1],known:[9,23,13,14],actual:[24,1,13,15,16,22],compani:13,hold:13,effort:24,cach:[8,9,23,21,25,29,20,2,14,3,28,16,22,7],must:[18,1,13,3,16,7],manpag:[9,19],account:[21,13,29,22],freeli:29,nonc:22,hour:1,restor:[18,9,15,16,7],dest:18,setup:24,work:[23,24,1,26,27,2,5,15,22,14],uniqu:[12,13],dev:22,conceptu:23,remain:[29,22,1],wors:1,obvious:29,can:[0,1,2,3,5,6,7,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],learn:1,root:[18,0,11,29,10,26,28,6,21,7],fetch:[18,22,7],overrid:1,claim:[13,1],sqlite:[24,22],prompt:[8,20],tar:15,give:[5,16,15,13,27],process:[1,11,29,26,4,5,15,21,14],lock:[0,7],sudo:24,share:[8,18,0,24,11,25,10,28,3,5,6,21,22],agent:13,high:[23,1,29,13,4,21],critic:23,minimum:[15,23],want:[11,29,26,27,5,15,17],disadvantag:[18,7],onlin:[0,13,23,7],acl:14,occur:[8,18,0,1,11,25,10,27,3,4,28,6,21],alwai:[8,18,21,1,25,29,20,27,2,13,7,3,5,16,22,14],cours:1,end:[29,16,22,1],secur:[],rather:[1,27,14,5,15,7],anoth:1,ordinari:[18,11,26,7,1],write:[8,9,23,21,24,1,18,29,20,13,7,3,5,15,16,22,14],how:[5,27,15,22,1],disappear:2,env:29,instead:[18,1,11,26,12,14,22,7],simpl:[5,27,7],updat:[5,23,22,14,1],map:22,faq:17,resourc:[9,16,17],job:[5,29],max:[2,25,21,29],earlier:[14,1],pyliblzma:24,reflect:22,befor:[18,23,1,11,29,26,13,14,22,7],wrong:[16,13,3],denial:14,endang:23,date:[5,27],llfuse:24,redund:[5,27,23,13,1],data:[8,9,23,21,1,18,11,25,29,26,20,2,13,7,3,5,28,15,16,22,14],grow:[23,29],averag:[13,1],man:[19,14],circumst:1,"short":[0,7],attempt:[8,29,14,1],practic:[15,13],third:15,read:[8,18,23,21,1,25,29,20,2,12,13,3,15,16,22,7],neitheristhi:12,author:[29,14],credenti:[8,21,25,20,2,12,3,16,29],correspond:13,element:29,caus:[13,1],inform:[9,1,29,27,12,13,28,21,22,7],maintain:29,combin:[15,13],freebsd:[23,24],enter:[2,25,22],exclus:15,volum:29,algorithm:[9,23,29,5,21,22],order:[18,12,7,1],talk:13,ssh:[9,15,13],frontend:13,rotat:[8,16,29,20,3,21],over:[18,23,1,25,29,2,13,15,21,22,7],move:[23,16],becaus:[18,23,1,29,5,22,7],fifo:22,report:[23,13,24,17,1],appar:13,still:[18,23,1,11,29,26,22,7],dynam:23,paramet:12,concaten:22,chosen:1,fix:[0,1,27,14,5,7],inadvert:[18,7],better:[29,4,24,1],window:[9,1],suspicion:[],requir:[8,23,24,1,29,20,27,28,5,21,22,14],mail:[23,16,24,17],main:[10,7],might:[18,0,17,10,20,14,28,6,22,7],documents_januari:[18,7],them:[18,1,11,26,16,22,7],good:[0,27,14,5,15,7],"return":[8,18,0,1,11,25,10,26,27,3,4,28,6,21,14],thei:[18,0,19,23,27,5,15,22,7],proce:24,auto:[29,21],safe:[18,15,7,1],fuse4bsd:24,dai:[5,2,27],initi:2,disabl:[8,16,29,20,3,21],dat:[5,27],instanc:15,promis:1,therebi:1,verifi:[13,14],interrupt:16,aka:22,now:[5,27,0,24,7],nor:[0,7],choic:[24,1],term:[5,27],eventu:[9,22,1],somewher:[8,18,0,11,25,10,3,28,6,21,7],name:[18,25,29,27,2,12,13,5,15,21,22,7],anyth:1,even:[8,0,21,1,11,25,26,20,2,13,3,16,29,7],crypto:22,authent:[8,9,21,25,20,2,12,13,3,16,29],easili:[22,14],februari:[18,7],mode:[29,21,22,1],timeout:29,each:[29,27,12,5,21,22],debug:[8,18,0,21,11,25,10,26,20,27,2,3,4,28,6,16,29],found:[12,15],beneath:7,higher:1,spend:15,mean:[23,14,1],compil:29,recommend:[5,29,13,14],inplac:24,themselv:12,s3ql:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],mkfifo:29,chunk:14,hard:[15,23,1],"24h":[29,21],procedur:[18,22,7],upload:[23,1,11,29,26,28,14,5,15,21,22,7],runtest:[],ensur:[5,27,15,23,1],meta:[28,15,7],expect:[29,13,1],year:[5,27,23,13,1],s3_copi:[5,9],happen:[0,7,1],special:[18,13,22,7],out:[23,13,24,14,1],variabl:[13,24],shown:13,network:[18,23,1,29,15,22,7],space:[18,23,7,14],miss:[27,1],newli:[2,1],log_fifo:29,content:[18,23,1,29,0,22,7],suitabl:[23,24],rational:0,internet:[23,29],print:[8,18,0,21,24,11,25,10,26,20,27,2,3,4,28,6,16,29],eth0:29,bla:29,correct:[5,27],common:[8,18,0,11,25,10,3,28,6,21,7],foreground:[29,21],shut:[5,11,29,26,14],after:[18,0,1,23,2,13,14,15,16,7],insid:18,advanc:[9,7],migrat:5,manipul:23,situat:[15,1],given:[22,14],free:[23,13],standard:[23,1,29,27,13,5,22],inod:22,reason:[10,1,29,26,20,27,13,14,5,15,7],base:29,theori:1,releas:23,org:[29,22],cloudfil:[9,13,1],likelihood:1,afterward:[15,22],bash:15,care:[18,23,7,14],sigkil:29,convent:14,thread:[5,29,21],badli:[16,3],guarante:[5,27,13,1],could:[18,7],ask:[24,1,25,2,13,16,14],openssl:[],refus:[5,27],keep:[5,27,0,7,1],recov:[0,7],thing:[16,3],length:1,rais:[29,21],place:29,perman:[9,0,1,29,15,7],principl:29,confus:14,neglect:1,first:[23,24,1,29,12,13,15,16,22,14],oper:[8,18,0,21,1,11,25,10,27,29,23,3,4,28,6,16,22],softwar:29,rang:[5,27],fs3:12,directli:[13,22],prevent:[2,0,25,7,1],carri:23,onc:[0,11,29,23,26,13,15,21,22,7],independ:[23,21,29],qualiti:13,number:[23,24,1,29,27,14,4,5,15,21,22,7],capac:23,restrict:[28,21,13,29],mai:[18,0,21,24,1,29,17,23,26,28,13,7,3,5,15,16,14],instruct:24,alreadi:[18,24,13,14,22,7],done:[29,22,1],messag:[8,16,25,29,20,2,3,21,22],indistinguish:23,agre:22,open:[11,29,13,26],build_ext:24,s3c:13,size:[23,25,29,2,14,28,15,21,22,7],idea:[5,27,0,7,14],mercuri:24,differ:[18,23,24,1,29,28,13,3,5,15,16,7],"long":[5,27,15,14,1],workaround:15,script:[5,15,29,14],profil:[29,21],unknown:23,interact:3,s3qllock:[9,0,19,10,5,15,7],sometim:16,least:[24,1,29,27,5,21,22],parallel:[5,15,21,29,4],checkpoint:1,attack:[0,7,14],necessarili:1,master:22,physic:[5,18,0,16,7],statement:13,s3qlrm:[9,0,19,10,27,5,7],termin:[11,12,26,14],lost:[13,1],john:13,"final":[22,7],store:[8,9,23,21,1,25,29,20,27,2,12,13,3,5,15,16,22],prone:[],creation:[2,25,9],googigwlont238md7hz4:[],consol:13,option:[0,1,2,3,4,5,6,7,8,10,11,14,15,16,18,20,21,24,25,26,27,28,29],especi:[15,13,23],shelf:[0,7],tool:13,copi:[18,9,23,1,14,4,5,15,16,22,7],setuptool:[],inaccess:1,specifi:[8,21,25,29,20,27,2,12,13,3,5,28,16,22,14],"var":13,part:[23,29,27,4,5,22],pars:12,too:[],consult:[8,25,21,3],exactli:[5,18,27,7],peculiar:[13,1],wide:[29,13,24],target:[8,18,21,29,20,3,15,16,7],whenev:[29,12,24,15],provid:[23,24,1,29,13,22,14],remov:[18,9,0,29,10,27,28,7,5,6,22,14],eleg:23,tree:[18,9,0,10,4,5,23,22,7],zero:[15,1],structur:[23,16],charact:22,project:13,matter:[28,15,16],temporarili:29,friend:15,posit:22,design:[0,23,7,1],minut:[5,27],pre:29,unencrypt:[2,25],sai:[18,7,1],comput:[23,1,29,27,5,22],januari:[18,13,7],explicit:15,mind:1,ani:[8,18,0,24,1,25,23,27,2,13,17,5,22,7],apsw:24,"13th":23,packag:[5,24],amazonwebservic:22,have:[0,1,2,4,5,7,11,12,13,14,15,16,17,18,21,22,23,24,25,26,27,29],close:[11,26],need:[18,21,24,1,29,27,13,5,16,22,7],seem:[15,13],turn:[5,27,29,14],https_proxi:13,nikolau:29,lie:18,engin:13,bz2:22,equival:[5,27],irrepar:16,destroi:[0,7],moreov:7,mib:[8,16,29,20,3,21,14],atim:14,accuraci:[5,27],note:[18,9,23,1,11,29,26,27,2,13,7,4,5,15,16,14],also:[0,1,3,4,5,6,7,8,10,11,12,13,15,18,19,21,22,23,24,25,26,27,28,29],exampl:[23,1,27,12,14,5,15,22,7],take:[18,23,1,14,3,28,15,16,22,7],which:[18,10,24,1,23,27,12,14,5,22,7],environ:[13,24],flushcach:[28,7],singl:[15,21,29,1],swordfish:12,mktemp:29,begin:[12,22],sure:[21,24,29,13,15,16,22,14],unless:[2,0,25,7],allow:[8,18,0,21,25,10,20,27,2,13,29,3,4,5,6,15,16,28,7],normal:[12,21,29],usernam:12,previou:[5,16],reach:[8,16,29,20,3,21,22],discov:1,most:[8,18,21,1,29,20,27,12,13,7,3,5,16,22,14],beta:23,regular:[],rigor:[5,27],choos:1,homepag:[8,18,0,11,25,10,3,28,6,21],"class":[8,18,0,11,25,10,27,28,3,4,5,6,21],three:[29,13,24],tradit:1,simplic:23,don:[29,21],inconveni:23,url:[8,21,25,20,2,12,13,3,16,29],doc:[8,18,0,11,25,10,28,3,5,6,21,22],clear:[18,16,7],later:[18,0,13,7,14],cover:15,drive:[0,7],destruct:[0,7],doe:[23,1,29,26,13,22,14],declar:23,snapshot:[18,9,23,28,7],runtim:[9,7],determin:[5,29,22,1],occasion:13,left:[14,1],boundari:[5,27],fact:13,affect:[18,29,7,14,1],theoret:15,show:27,carefulli:1,random:22,syntax:[29,20,2,28,16,7],connect:[8,23,21,25,29,20,2,13,3,15,16,22],earli:14,session:22,permiss:[5,23,21,29],bucketnam:13,newest:[15,3],topmost:13,find:[0,29,7,14,1],help:[9,24,17,28,13,14,3,5,16,7],redirect:29,absolut:[5,27,13],onli:[0,1,2,3,4,5,6,7,8,10,11,13,14,15,16,18,20,21,22,23,24,25,26,27,28,29],slow:14,ratio:29,just:[8,18,0,21,1,11,25,10,26,20,27,2,13,3,4,28,6,15,16,29,7],menu:13,explain:1,fstab:[29,14],activ:[8,18,0,21,11,25,10,26,20,27,2,12,13,3,4,28,6,16,29,7],enough:[15,21,29,1],than:[10,1,25,29,27,2,13,7,5,15,22,14],latenc:[15,23,4],suppos:1,factor:[5,13,1],folder:[18,24,7],local:[8,9,0,24,1,18,11,25,10,13,29,23,3,28,6,15,21,22],defin:[5,27,12,29],overwritten:22,demonstr:5,contribut:[5,9],variou:[28,16,3],get:[8,9,0,21,24,25,29,20,27,2,17,3,5,28,16,22,7],googlegroup:17,nasti:[0,7],stop:29,autom:[5,23],regularli:[18,7],ssl:[8,21,25,20,2,3,16,29,14],amazon:[9,23,1,2,13,5,22,14],cannot:[5,27,22,1],fastest:[],increas:[1,29,13,15,21,22],reconstruct:[5,27],neither:[0,7,1],restart:[29,14],reveal:23,bar:13,enabl:[29,21],held:22,upper:1,dramat:[15,13],intrins:15,myfsdata:15,remot:[8,23,21,25,20,2,13,3,15,16,29],bad:[2,15],statist:[6,7,9],contain:[24,1,29,27,13,5,22],where:[28,16,3,1],view:19,wiki:[24,22,17],kernel:24,set:[8,21,25,20,2,3,5,15,16,29],credibl:[],noth:[0,7],startup:29,packet:22,see:[8,18,0,21,1,11,25,10,27,28,13,29,7,3,4,5,6,15,16,22,14],num:[29,21],result:14,s3qlcp:[5,9,18,19,7],respons:1,corrupt:1,led:12,optimum:15,whatsoev:[0,23,7],best:[15,13,24,29],concern:1,infinit:[23,1],awar:1,statu:[8,9,0,1,18,11,25,10,27,23,3,4,28,6,21,14],detect:[23,13,1],extend:23,correctli:[14,20],hopefulli:14,databas:[23,22],review:1,exist:[18,0,1,25,10,27,2,13,5,22,7],wikipedia:22,label:[2,25],favor:23,state:[5,27,23,14],smallest:1,between:[5,27,29,21,1],"import":[5,9,13,24,1],awai:1,entiti:14,across:23,attribut:23,multipl:[8,16,25,20,2,3,21,29],kei:[23,13,22],inconsist:14,cycl:[5,27],lazi:[11,26],hardlink:[18,23,7],joe:[5,12],recent:[29,27,5,16,22,14],expire_backup:[5,9,19,27],solv:15,advertis:13,come:[5,15,23,1],local0:29,addit:[18,10,1,29,23,3,28,16,22,7],both:[18,23,22,7,1],protect:[0,23,7],accident:[2,0,25,7],last:12,irregular:[5,27],extens:23,someth:[18,7],region:[5,13,1],equal:29,against:[23,0,7,14,22],configpars:12,etc:[18,29,7,14],cachedir:[8,21,1,25,20,2,3,16,29],exec:29,pdf:[],login:[12,13],com:[8,18,0,24,11,25,10,27,13,3,4,28,6,15,21,22,17],pcp:[5,9,15,19,4],compromis:15,among:13,simpli:[0,7,1],technic:[13,1],figur:1,schedul:[],inspir:[18,7],period:[0,22,7,1],insist:15,header:[12,24],written:[23,21,29,26,1],littl:[29,24,1],shutdown:29,exclud:[0,7],respect:[13,1],trust:[],assum:29,damag:[5,27,16,1],code:[8,18,0,24,11,25,10,27,23,3,4,28,6,21],quit:24,worthless:[0,7],strong:[8,18,0,11,25,10,27,3,4,28,6,21],second:[1,29,27,12,5,15,21,22],swift:[9,13],rackspac:[9,13,1],devic:[29,22],due:[13,14],been:[0,1,11,29,23,26,20,27,13,7,5,15,16,22,14],unnot:13,compon:23,secret:13,trigger:7,valu:[12,21,29,14],interest:[22,7],subscrib:17,monthli:[18,7],futur:[18,0,1,10,14,28,6,7],immedi:[10,1,11,29,26,22,7],hesit:1,strategi:[5,27],dry:27,detach:[11,26],day_hour:[5,27],legaci:13,infect:[0,7],upstart:[5,29,21],great:[0,7],argument:[28,16,3],transact:23,understand:[29,21],s3qlctrl:[28,9,15,19,7],els:16,tradition:[0,7],s3qlstat:[6,19,7,9],logger:29,present:1,real:1,"case":[18,0,24,1,23,27,12,13,5,15,16,22,7],replic:[5,18,23,7,1],trojan:[0,7],ident:[18,23,22,7,1],look:[15,1],gnu:14,webpag:13,plain:[2,25],servic:[23,13,14,1],zlib:[29,21],batch:[8,29,20],trick:[9,15],documents_februari:[18,7],invok:[28,16],abov:[5,27,13,1],error:[8,9,0,1,18,11,25,10,20,27,23,3,4,28,6,21,14],build_sphinx:24,invoc:[5,27,1],ahax:4,howev:[18,0,1,29,23,27,13,14,5,15,22,7],expir:29,propag:22,file:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20,21,22,23,25,26,27,28,29],advantag:[5,27,0,7],stdout:29,almost:15,mtime:14,therefor:[5,29,13,14,1],destin:[18,15,7,4],archiv:[23,13],conf:[5,9],synopsi:[8,18,0,11,25,10,27,3,4,28,6,21],rid:[0,7],dedic:[29,14],sever:[23,24,1,29,13,4,5,15,21,22],tamper:[5,27],unmount:[9,1,11,29,26,20,3,5,15,16,22,14],develop:[9,23,13,24,22],minim:23,perform:[9,23,24,1,29,2,13,3,4,5,15,16,28,14],media:13,make:[18,0,21,24,29,23,27,13,14,5,15,16,22,7],same:[18,1,29,27,13,5,15,16,22,7],"while":[23,24,1,29,0,26,28,22,7],port:13,handl:[18,9,23,1,29,27,14,5,15,22,7],html:22,unexpectedli:14,split:[23,22],promin:14,pai:13,document:[8,18,0,11,25,10,3,28,6,21,7],infer:[5,27],complet:[18,1,29,27,28,5,21,7],week:[5,27],prais:13,raid:1,hostnam:13,closest:13,imagin:[5,27,0,7],optim:[29,21],expans:14,caches:[28,29,21,7],upon:14,effect:[18,23,7,1],hand:13,fuse:[29,14],temporari:1,auth:13,mani:[5,27,23,13,1],extern:[0,13,7],kib:[25,2,28,21,29,14],typic:[18,2,7,1],techniqu:1,lower:1,appropri:29,kept:[8,21,1,29,20,3,16],scenario:1,older:16,firstli:1,entri:[12,21,29],thu:[14,1],page:[13,19,1],well:[0,21,1,29,10,27,12,5,16,7],blindli:14,without:[8,18,0,1,23,20,14,15,16,7],command:[0,2,3,4,5,6,7,8,9,10,11,12,14,16,18,19,20,21,24,25,26,27,28,29],expens:1,thi:[0,1,2,3,4,5,6,7,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29],filesystem:[25,29,20,2,15,21,22],gzip:23,fail:[24,14,1],self:24,revis:[16,3],usual:[29,22],load:29,identifi:13,execut:[5,16,24,7,14],less:13,conform:23,when:[8,0,21,1,25,23,20,27,2,12,13,29,7,3,4,5,15,16,22,14],rest:[15,22,1],detail:[9,1,13,5,15,22,14],front:22,bandwidth:[5,23],kill:29,heavili:13,touch:[18,7],openstack:[9,23,13],storage_url:29,roughli:29,speed:[5,29],yet:[22,14,1],pycryptopp:24,web:[13,1],downright:13,s3qladm:[9,16,19,3,1],easi:15,hint:[28,16,3],mark:[8,20,1],point:[23,1,11,29,13,21,22,14],had:[5,18,27,7],except:[12,1],param:16,thousand:[29,13],add:[0,7],spread:[2,25,1],bigger:[2,25],versa:[18,7],appli:[12,15,1],input:[8,20],vulner:14,subsequ:[5,27,13],match:[13,1],build:24,bin:[15,24,29],applic:[12,13,22,14],transpar:23,preserv:[5,23],big:[15,14],traffic:13,know:[5,18,27,7,1],background:[11,22,26],amp:15,bit:[23,24,22],password:[2,12,13,25],recurs:[5,9,10,7],you:[18,0,21,24,1,11,25,17,10,26,20,27,2,13,7,5,15,16,29,14],python3:[],ctime:14,insert:22,daemon:[29,21],like:[18,0,1,29,23,14,4,21,22,7],specif:[0,24,13,14,28,16,7],deprec:[],should:[8,18,0,21,24,1,11,25,10,26,20,13,7,3,28,6,15,16,29,14],outag:1,arbitrari:[15,13],manual:[11,24,26,17],resolv:[17,1],integ:[],manifest:[],necessari:[16,24,22],either:[1,14,3,28,16,7],leav:14,output:[8,18,0,21,11,25,10,26,20,27,2,3,4,28,6,16,29],manag:[9,13,16],yyyi:[5,27],encount:[17,14],www:22,right:[15,1],old:[8,0,21,1,29,20,27,3,5,16,7],often:[2,15,13,1],ll23bi:12,acknowledg:13,interv:[5,27,15,21,29],linux:[23,24,29],some:[0,1,3,4,5,6,14,8,10,11,13,18,20,21,22,23,24,25,26,27,28,29],back:[0,13,7],intern:[13,22,1],"export":[29,21],unchang:22,flush:[29,7],home:[5,15,13],server:[8,21,25,20,2,13,3,15,16,29,14],fanat:13,librari:[24,22,14],distribut:[5,29,24,1],rsync:[18,0,14,4,5,15,7],guid:[8,9,19,25,3,21],confirm:[10,7],avoid:[5,9,13,27,1],though:1,definit:[5,27],achiev:[18,23,1,29,5,7],protocol:13,buffer:14,tracker:[23,24,17],larg:[18,15,7,14],select:13,slash:13,unstabl:24,backend:[8,9,21,1,18,11,25,29,26,20,2,12,13,7,3,28,15,16,22,14],refer:[19,1],core:[5,1],object:[1,25,29,2,13,21,22],run:[0,21,24,1,29,23,20,27,28,14,3,5,16,7],power:5,certif:[13,14],compress:[9,23,29,5,21,22,7],intellig:[5,27,23],lose:[9,13,1],usag:[5,18,27,7],symlink:23,solut:5,broken:1,host:13,nutshel:[9,1],obei:1,repositori:24,fulli:1,bi23ll:12,immut:[9,0,10,5,23,15,7],fsck:[8,9,19,1,29,20,13,16],"__version__":24,panel:13,sshf:[15,13],src:[18,7],about:[9,23,1,29,13,6,15,22,7],obj:[2,25],socket:22,processor:[],commun:13,http:[8,18,0,24,11,25,10,27,13,3,4,28,6,21,22],storebackup:[18,7],unfortun:[15,13,14,1],degre:1,her:[0,7],issu:[18,9,0,24,29,17,10,23,2,13,7,28,6,14],commit:[22,14],backup:[18,9,0,1,29,23,27,13,3,5,15,16,7],other:[18,0,24,1,29,10,23,13,17,28,6,21,22,7],block:[23,1,11,29,26,14,28,22,7],repair:8,client:14,own:14,effici:14,within:[12,7],encod:29,bound:1,automat:[8,9,21,1,25,29,20,2,13,3,5,16,22],upgrad:[9,16,3],down:[5,11,29,26,14],nevertheless:[5,1],ahv:15,authinfo2:[8,16,25,20,2,3,21,29],contrib:[5,15,29],chang:[18,9,0,1,29,23,14,3,28,16,22,7],insuffici:14,storag:[8,9,0,21,1,18,11,25,23,20,2,12,13,29,7,3,5,16,22,14],your:[8,18,0,19,24,1,11,25,10,27,28,13,7,3,5,6,15,21,29,14],durabl:[9,13,1],per:29,jspa:22,mkf:[2,25,19,22,9],fast:[9,23,29,22,7],fusermount:[11,26,14],log:[8,21,29,20,12,13,3,28,16,7],wai:[23,1,29,0,14,15,7],few:[5,24,1],transfer:[5,15,23],support:[18,23,1,29,13,14,7],question:17,s3_backup:[5,9],overwrit:[2,25],custom:13,avail:[8,0,21,25,29,27,14,3,5,16,22,7],start:[24,29,12,4,5,15],reli:[14,1],quiet:[8,18,0,21,11,25,10,26,20,27,2,3,4,28,6,16,29],low:[23,13],lot:15,suit:13,forward:1,succeed:[8,18,0,11,25,10,27,3,4,28,6,21],individu:[29,21,22,4],"function":[16,22],properli:5,repeatedli:[],form:[5,27,13,1],offer:[18,13,7,1],forc:[8,2,25,20],s3ql_test:[],regard:[18,7],includ:[23,19,1,13,24,22,14],continu:26,sigstop:[29,21],satur:29,measur:[5,1],newer:[24,14,1],renam:23,line:[28,23],mitig:1,bug:[23,24,17,14],faster:[10,7],info:[8,16,29,20,3,28,21],utc:22,made:[18,0,1,23,15,22,7],cif:29,consist:[9,12,13,22,1],possibl:[0,24,1,29,23,13,15,16,7],"default":[8,21,25,20,27,2,13,3,4,5,16,29],speak:[29,1],access:[23,21,1,29,12,13,16,22,14],bucket:[5,2,12,13],maximum:[1,25,29,2,5,21,22],until:[11,29,7,14,26],asynchron:23,authfil:[8,21,25,20,2,12,3,16,29],below:[13,7,1],limit:[18,0,29,10,28,14,5,6,21,7],s3ql_upstart:[5,9],lvl:[],problem:[8,18,0,1,17,23,27,2,7,5,15,22,14],similar:29,significantli:[5,24,1],passphras:[9,12,13,3,16,22],featur:[18,9,0,1,23,13,7],creat:[18,0,21,1,25,10,27,2,13,29,5,23,16,22,7],request:1,dure:[21,16,29],parser:14,stabl:23,doesn:1,sale:13,strongli:[5,27],decreas:4,chat:13,mountpoint:[29,26,13,28,6,15,21,22,7],ship:[27,29,4],improv:[5,9,15,4],dd_hh:[5,27],link:[13,22],probabl:[23,1,27,5,15,16,7],otherwis:[29,21,22],again:[0,26,22,7,1],bzip2:[23,21,29],rsync_arg:15,encrypt:[8,9,23,21,25,29,20,2,12,3,16,22],googl:[8,9,0,24,1,18,11,25,10,27,13,23,3,4,28,6,21,14],user:[0,1,3,6,7,8,9,10,11,13,15,18,19,20,21,22,23,24,25,26,28,29],tip:[9,15],elementtre:14,prepend:13,fs1:12,fs2:12,valid:7,compet:[],creep:23,test:[23,24],presum:1,shrink:23,lzma:[29,23,21,24,22],incompet:13,clean:[8,22,20],why:13,time:[8,0,21,1,25,23,20,27,2,13,29,7,3,5,15,16,22,14],much:4,rise:1,track:[5,27],consid:[12,17,1],sql:26,decrypt:12,enhanc:5,stai:[29,21],reduc:[5,13,1],outdat:1,experienc:[],receiv:1,sphinx:24,longer:[23,0,26,27,14,5,16,7],pycrypto:24,vice:[18,7],directori:[0,1,2,3,4,5,7,8,10,11,13,14,15,16,18,20,21,22,23,24,25,27,29],reliabl:[13,1],cryptopp:22,descript:[8,18,0,11,25,10,27,3,4,28,6,15,21,29],rule:[9,15,13,1],hmac:[23,22],itself:[24,1],gracefulli:[5,27],potenti:1,check:[8,9,24,1,29,20,16,22,14],far:[15,1],invari:22,togeth:13},objtypes:{},titles:["The <strong class=\"program\">s3qllock</strong> command","Important Rules to Avoid Losing Data","File System Creation","The <strong class=\"program\">s3qladm</strong> command","The <strong class=\"program\">pcp</strong> command","Contributed Programs","The <strong class=\"program\">s3qlstat</strong> command","Advanced S3QL Features","The <strong class=\"program\">fsck.s3ql</strong> command","S3QL User&#8217;s Guide","The <strong class=\"program\">s3qlrm</strong> command","The <strong class=\"program\">umount.s3ql</strong> command","Storing Authentication Information","Storage Backends","Known Issues","Tips &amp; Tricks","Managing File Systems","Further Resources / Getting Help","The <strong class=\"program\">s3qlcp</strong> command","Manpages","Checking for Errors","The <strong class=\"program\">mount.s3ql</strong> command","Implementation Details","About S3QL","Installation","The <strong class=\"program\">mkfs.s3ql</strong> command","Unmounting","The <strong class=\"program\">expire_backups</strong> command","The <strong class=\"program\">s3qlctrl</strong> command","Mounting"],objnames:{},filenames:["man/lock","durability","mkfs","man/adm","man/pcp","contrib","man/stat","special","man/fsck","index","man/rm","man/umount","authinfo","backends","issues","tips","adm","resources","man/cp","man/index","fsck","man/mount","impl_details","about","installation","man/mkfs","umount","man/expire_backups","man/ctrl","mount"]}) \ No newline at end of file
+Search.setIndex({objnames:{},titleterms:{contribut:22,tip:23,guid:24,command:[17,4,3,19,7,25,5,9,27,11,29,12],authent:14,number:16,also:[17,4,3,19,7,25,5,9,27,11,29,12],issu:8,restor:26,cach:[21,16],duplic:21,s3_backup:22,s3qllock:3,chang:26,reduc:18,eventu:21,algorithm:16,server:15,compat:18,detail:21,nutshel:0,maximum:16,note:16,help:20,s3qlstat:12,s3ql_upstart:22,compress:16,program:[17,25,4,3,19,7,22,5,9,27,11,29,12],expir:16,trick:23,error:1,remov:2,immut:2,remot:15,s3qlcp:25,system:[26,28,23],encrypt:21,check:1,rackspac:18,perman:23,umount:27,option:[17,4,3,19,7,25,5,9,27,11,29,12],handl:21,instal:15,fast:2,resourc:20,rational:3,statist:2,lose:0,exit:[17,4,3,19,7,25,5,9,27,11,29,12],cloudfil:18,avoid:0,tree:2,user:24,develop:[15,13],known:8,openstack:18,descript:[17,4,3,19,7,25,5,9,27,11,29,12],unmount:10,ssh:23,statu:[17,4,3,12,19,7,25,5,9,27,11,29,13],configur:2,write:2,googl:18,test:15,s3ql:[15,2,17,7,24,27,29,13],local:18,hardlink:[2,25],window:0,amp:23,storag:[21,18],passphras:26,flush:16,file:[26,28,23],backup:[26,23],automat:16,"class":[17,4,3,19,7,25,5,9,27,11,29,12],swift:18,metadata:[26,21],store:14,advanc:2,benchmark:22,manag:26,manpag:6,inform:14,data:[0,21],s3qlrm:9,get:[20,2],backend:[18,23],version:15,runtim:2,copi:[2,23],durabl:0,fsck:17,snapshot:[2,25],mkf:7,action:4,implement:21,further:20,pcp:[5,22],about:[13,16],strong:[17,4,3,19,7,25,5,9,27,11,29,12],amazon:18,depend:15,expire_backup:[11,22],see:[17,4,3,19,7,25,5,9,27,11,29,12],rule:0,conf:22,requir:15,list:0,s3qlctrl:19,improv:23,"import":0,synopsi:[17,4,3,19,7,25,5,9,27,11,29,12],mount:[29,16,23],creation:28,consist:[0,21],entri:16,s3qladm:4,s3_copi:22,perform:23,run:15,featur:[2,13],upgrad:26,recurs:2,delet:26,redund:18},objects:{},terms:{sub:[21,8],filesystem:[1,16,21,23,28,29,7],alwai:[0,15,16,21,22,8,25,11,2],sqlite:[21,15],relatim:8,proce:15,total:[16,2,8],recov:[2,3],regular:[15,18],front:21,upload:[0,16,19,21,22,23,8,10,27,29,13,2],almost:23,you:[0,16,1,2,23,25,18,3,22,20,15,7,9,26,10,28,11,29,27,8],hint:[26,4,19],kib:[16,19,7,28,29,8],against:[13,3,21,2,8],usernam:[18,14],method:[15,16],directori:[4,11,8,17,18,21,5,0,1,2,3,7,9,13,15,16,22,23,25,26,27,28,29],drive:[2,3],veri:[0,8,18,21,28,13],s3qlstat:[],remain:[0,21,16],assum:16,obei:0,map:21,num:[29,16],max:[28,29,7,16],encrypt:[],recommend:[22,18,8,16],sudo:15,core:[0,22],doesn:0,man:6,decreas:5,properli:22,s3qlcp:[],retriev:[0,16,21,23,5,29],stdout:16,decid:23,reconstruct:[11,22],dry:11,exclud:[2,3],affect:[0,16,25,2,8],openssl:[1,16,17,4,7,26,28,29],fail:[0,15,8],time:[0,16,1,2,17,18,3,4,23,21,22,7,26,28,11,29,13,8],runtim:[],strategi:[11,22],rule:[],actual:[0,15,18,21,23,26],"__version__":15,googl:[],suspect:1,reliabl:[0,18],extern:[18,2,3],therebi:0,fuse4bsd:15,split:[21,13],sha256:[21,8,13],correct:[11,22],increas:[0,8,21,23,29,16],storage_url:16,too:15,subscrib:20,respect:[0,18],most:[0,16,1,2,17,25,18,4,21,14,22,26,11,29,8],significantli:[0,15,22],apswvers:15,alon:18,bin:[15,16,23],worth:8,satisfi:15,loss:[0,18],malici:[3,2,8],maintain:16,neither:[0,2,3],rotat:[1,16,17,4,26,29],outdat:0,convent:8,prone:18,setuptool:15,label:[28,7],nasti:[2,3],turn:[11,8,22,16],messag:[1,16,17,4,21,7,26,28,29],same:[0,16,18,21,22,23,8,25,26,11,2],sometim:26,multipl:[1,16,17,18,4,7,26,28,29],reason:[0,16,1,2,18,22,23,9,10,11,8],output:[1,16,17,25,4,3,5,12,19,7,9,26,10,28,11,29,27],checkpoint:0,destruct:[2,3],further:[],overrid:0,normal:[29,16,14],rsync:[2,3,22,23,25,5,8],invari:21,regularli:[2,25],trust:[1,16,17,4,7,26,28,29],variou:[26,4,19],per:16,protocol:18,shelf:[2,3],day_hour:[11,22],sync:5,end:[0,26,21,16],creation:[],vulner:8,wikipedia:21,structur:[26,13],fals:[29,16],exactli:[11,25,2,22],talk:18,test:[],env:16,obj:[28,7],object:[0,16,18,21,7,28,29],order:[0,25,2,14],messageid:21,rid:[2,3],disabl:[1,16,17,4,26,29],inspir:[2,25],simplic:13,number:[],python:[21,15,14,8,16],least:[0,15,16,21,22,11,29],linux:[15,13,16],awai:0,also:[],optimum:23,cach:[],awar:0,inadvert:[2,25],chang:[],prevent:[0,28,2,7,3],collis:8,eventu:[],chanc:[0,8],upper:0,comput:[0,16,21,22,11,13],addit:[0,15,2,4,19,21,25,26,9,13,16],likelihood:0,interact:4,unknown:13,internet:[13,16],chunk:8,differ:[0,15,2,18,4,19,22,23,25,26,16,13,8],larg:[23,25,2,8],singl:[0,29,16,23],foreground:[29,16],invis:21,inconveni:13,integ:[29,16],unix:[23,21,8,13],present:0,tracker:[20,15,13],comparison:8,good:[15,2,3,22,23,11,8],led:14,program:[],complet:[0,2,19,22,25,11,29,16],servic:[0,18,8,13],trick:[],state:[11,8,22,13],limit:[16,3,19,22,8,25,9,12,29,2],prompt:[1,17],concaten:21,system:[],wiki:[20,21,15],perman:[],enter:[28,21,7],instal:[],itself:[0,15],behav:15,statist:[],immedi:[0,16,21,9,10,27,2],zero:[0,23],resolv:[0,20],"var":18,weren:20,view:[6,18],avoid:[],propag:21,year:[0,11,18,13,22],valu:[14,8,16],recent:[8,21,22,26,11,16],name:[14,23,18,21,22,7,25,28,11,2],disk:[0,13,23],irregular:[11,22],unstabl:15,print:[15,1,16,17,25,4,3,5,12,19,7,9,26,10,28,11,29,27],intrins:23,abl:[0,2,18,3,20,10,27],topmost:18,common:[2,17,3,4,7,25,9,27,19,29,12],unlucki:8,devic:[21,16],startup:16,blindli:8,due:[18,8],interrupt:26,smaller:[0,23,8,13],infinit:[0,13],accident:[28,2,7,3],prefix:[18,14],even:[0,15,1,2,17,18,3,10,27],suffici:0,advantag:[11,2,22,3],migrat:22,cryptopp:21,regard:[2,25],insid:25,llfuse:15,option:[],apw:15,api:18,"long":[0,23,11,8,22],faster:[9,2],trojan:[2,3],instead:[0,14,21,8,25,10,27,2],s3qlrm:[],gener:[0,15,2,3,21,22,26,11,8],peculiar:[0,18],extens:13,easili:[21,8],host:18,absolut:[11,18,22],lzma:[21,29,13,16],line:[18,13,19],slowest:[29,16],experienc:18,link:21,ship:[5,11,16],swordfish:14,load:16,request:0,best:[15,18,16,23],inod:21,bandwidth:[22,13],processor:15,renam:13,hard:[0,13,23],futur:[0,15,2,3,19,25,9,12,8],marker:21,safe:[0,25,2,23],mitig:0,prior:0,leav:8,appropri:16,afterward:[21,23],parser:8,power:22,unexpectedli:8,sql:10,scenario:0,http:[15,17,4,3,21,19,7,25,5,9,27,11,29,12],subsequ:[11,18,22],exception:8,neitheristhi:14,elimin:0,utc:21,solut:22,forc:[28,1,7,17],authent:[],imagin:[11,2,22,3],tri:[26,21,8],second:[0,16,21,22,23,11,29,14],locat:[0,2,17,3,4,7,25,9,27,19,29,12],rather:[0,15,2,22,23,11,8],local:[],valid:2,"try":[0,15,14,18,22,11],bill:14,insist:23,server:[],irrepar:26,pick:0,tradit:0,reveal:13,command:[],said:0,freeli:16,easi:23,three:[15,18,16],noth:[2,3],principl:16,correctli:[1,8],question:20,pre:16,much:5,left:[0,8],suitabl:[15,13],disadvantag:[25,2,8],compromis:23,higher:0,kill:16,convert:18,what:[0,15,19,22,26,11],wrong:[26,4],thing:[26,4],build_sphinx:15,entir:[9,13,21,2,3],offer:[0,18,2,25],symlink:13,releas:[15,13],fs3:14,fs2:14,fs1:14,resourc:[],stai:[29,16],out:[0,15,18,8,13],repair:17,effici:8,pass:[0,5,15],someth:[15,2,25],pleas:[20,13],packet:21,redirect:16,ani:[0,16,2,17,25,18,3,20,21,15,7,22,28,11,29,13,8],sigkil:16,denial:8,user:[],"return":[0,8,17,25,3,4,19,7,9,5,10,27,11,29,12],log_fifo:16,param:26,bla:16,distribut:[0,15,16,22],howev:[0,16,2,18,3,21,22,23,25,11,13,8],give:[26,11,18,23,22],just:[4,10,11,17,18,5,12,0,1,2,3,7,9,27,15,16,19,23,25,26,28,29],claim:[0,18],caus:[0,15,18],critic:13,pdf:15,bar:18,cours:0,boundari:[11,22],gracefulli:[11,22],repeatedli:18,refer:[0,6],expens:0,amount:[23,18,13,19],speak:[0,16],fuse:[8,16],bad:[28,23],defin:[11,16,22,14],old:[0,1,2,17,3,4,22,26,11,29,16],exec:16,file:[],small:[21,8,23],across:13,smallest:0,automat:[],faq:20,than:[0,16,2,23,21,22,7,9,28,11,8],wors:0,far:[0,23],address:8,lot:23,low:[18,13],accuraci:[11,22],attack:[3,2,8],preserv:[22,13],taken:[29,16,25,2,13],declar:13,closest:18,practic:23,slower:[25,2,16],zlib:[29,16],self:15,log:[2,1,14,17,18,4,19,26,29,16],worst:[2,3],calcul:21,authfil:[1,16,17,4,7,26,28,29,14],spread:[0,28,7],skip:15,action:[],begin:[21,14],explain:0,provid:[0,15,16,18,21,13,8],paramet:14,have:[11,8,18,20,21,5,0,2,3,7,10,13,14,15,16,22,23,25,26,27,28,29],measur:[0,22],myusernam:16,transpar:13,fstab:[8,16],therefor:[0,22,18,8,16],strongli:[11,22],onlin:[13,18,2,3],thousand:[18,16],"import":[],exclus:23,login:[15,18,14],infer:[11,22],from:[0,5,15,1,2,17,25,18,3,4,23,21,14,7,22,26,28,11,29,13,16],size:[16,23,19,21,7,8,28,29,13,2],seem:[18,23],bz2:21,contrib:[22,16,23],theoret:23,xml:8,http_proxi:18,maximum:[],found:[14,23],combin:[18,23],consol:18,except:[0,14],specifi:[15,1,8,17,18,4,19,21,14,7,22,26,28,11,29,16],close:[10,27],interest:[21,2],concept:21,ask:[0,15,8,18,7,26,28],latenc:[5,13,23],carri:13,contrast:[0,2,3],exampl:[0,15,2,21,14,23,22,11,13,8],acl:8,rmebstjscoeunt1249oes1298gauidbs3hl:15,network:[0,16,21,23,25,13,2],support:[0,16,18,8,25,13,2],did:13,select:18,upon:8,enabl:[29,16],rsync_arg:23,individu:[5,21,29,16],anoth:0,mkfifo:16,need:[0,15,2,18,21,22,25,26,11,29,16],shutdown:16,stumbl:8,millisecond:21,protect:[13,2,3],both:[0,2,18,21,25,13],html:[21,15],"float":21,great:[2,3],lower:0,error:[],creat:[0,15,2,18,3,21,22,7,25,26,9,28,11,29,13,16],apsw:15,remot:[],first:[0,15,16,18,21,14,23,26,13,8],local0:16,click:18,broken:0,wait:[0,8,21,23,10,27,16],uniqu:[18,14],usag:[11,25,2,22],necessarili:0,overwritten:21,sign:18,made:[0,2,3,21,23,25,13],expans:8,posit:21,updat:[0,21,22,8,13],equal:16,rais:[29,16],client:8,grow:[13,16],exit:[],packag:[15,22],tree:[],below:[0,18,2],etc:[16,25,2,8],step:22,fulli:0,runlevel:16,roughli:16,build_ext:15,make:[16,2,25,18,3,21,15,23,22,26,11,29,13,8],satur:16,"byte":8,effect:[0,25,2,13],ssl:[1,16,17,4,7,26,28,29],contain:[0,15,1,16,17,18,4,21,22,7,26,28,11,29],indistinguish:13,neglect:0,frontend:18,myfsdata:23,hold:[18,8],two:[0,2,18,21,25,26,13,8],degre:0,decrypt:14,prepar:19,hash:21,gnu:8,correspond:18,backup:[],temporarili:16,shown:18,well:[0,2,18,3,14,22,26,9,11,29,16],trigger:2,code:[15,17,4,3,12,19,7,25,5,9,27,11,29,13],"class":[],unless:[28,18,2,7,3],store:[],librari:[15,1,8,17,4,21,7,26,28,29,16],expect:[0,18,16],webpag:18,storag:[],want:[15,16,20,22,23,10,27,11],next:15,allow:[16,18,3,19,5,22,23,25,26,9,12,11,29,2],mountpoint:[2,18,19,21,23,10,12,29,16],confus:8,panel:18,longer:[2,3,22,26,10,11,13,8],period:[0,21,2,3],remov:[],usual:[21,15,16],part:[16,21,22,5,11,13],document:[15,2,17,3,4,7,25,9,27,19,29,12],few:[0,15,22],modifi:[21,25,2,13],warn:[9,2,19],invok:[26,19],enough:[0,29,16,23],implement:[],start:[15,16,22,23,5,14],newest:[4,23],interpret:16,header:[15,14],month:[11,22],softwar:16,redund:[],googigwlont238md7hz4:15,happen:[0,2,3],learn:0,auto:[29,16],tape:[2,3],auth:18,back:[18,2,3],manifest:15,tool:[15,18],secur:[1,16,17,4,7,26,28,29],rise:0,video:16,newli:[0,28],perform:[],those:[21,18],fusermount:[10,27,8],choos:0,freebsd:[15,13],mode:[0,21,29,16],last:14,larger:0,beneath:2,tradition:[2,3],nonc:21,mark:[0,1,17],none:[0,1,16,17,4,26,29],space:[13,25,2,8],dev:21,media:18,touch:[2,25],vice:[2,25],unreason:8,solv:23,handl:[],bigger:[28,7],chosen:0,unmount:[],big:[8,23],s3qllock:[],sole:8,cover:23,configpars:14,algorithm:[],statement:18,when:[0,5,16,1,2,17,29,18,3,4,23,21,15,7,22,26,28,11,14,13,8],net:16,"new":[0,2,17,3,19,21,22,7,26,11,29,16],"export":[29,16],probabl:[0,2,22,23,26,11,13],design:[0,13,2,3],after:[0,2,18,3,23,25,26,28,13],achiev:[0,16,22,25,13,2],effort:15,factor:[0,22,18],firstli:0,fetch:[21,2,25],form:[0,11,18,22,15],eleg:13,februari:[2,25],becaus:[0,16,21,22,25,13,2],compress:[],move:[26,13],compil:[15,1,16,17,4,7,26,28,29],manipul:13,rang:[11,22],uplink:22,sigstop:[29,16],otherwis:[21,29,16],immut:[],socket:21,sure:[15,8,18,21,23,26,29,16],buffer:8,check:[],slow:8,background:[10,21,27],checksum:[21,8,13],termin:[10,27,8,14],reflect:21,extend:13,choic:[0,15],element:16,must:[0,2,18,4,25,26],attempt:[0,17,8,16],level:[19,29,2,16],over:[0,16,23,18,21,7,25,28,29,13,2],activ:[1,2,17,25,18,3,4,19,5,12,14,7,9,26,10,28,11,29,27,16],folder:[15,2,25],promis:0,moreov:2,conform:13,bit:[21,15,13],forward:0,hour:0,promin:8,show:11,sens:23,look:[0,23],everi:[0,14,18,3,21,22,23,25,11,2],transact:13,similar:[18,16],fix:[0,2,3,22,11,8],oper:[0,16,17,29,4,3,5,21,19,7,25,26,9,27,11,12,13],jspa:21,password:[28,15,18,7,14],failur:0,between:[0,11,29,16,22],asynchron:13,how:[0,21,11,23,22],becom:[0,14,18,21,22,23,11],open:[10,27,18,16],succeed:[17,4,3,19,7,25,5,9,27,11,29,12],kept:[0,1,16,17,4,26,29],crypto:[21,15],snapshot:[],quit:15,never:0,mai:[0,15,2,25,18,3,4,20,19,23,22,26,10,16,29,13,8],variabl:[15,18],potenti:0,documents_februari:[2,25],environ:[15,18],still:[0,15,16,21,25,10,27,13,2],swiftk:18,determin:[0,21,22,16],abov:[0,11,18,22],miss:[0,11],averag:[0,18],copi:[],setup:15,januari:[18,2,25],process:[0,8,22,23,5,10,27,29,16],set:[22,29,16,23],special:[21,18,2,25],org:[21,16],meta:[23,2,19],whenev:[23,15,16,14],free:[18,13],desir:19,sort:[11,22],insuffici:8,see:[],appar:18,agre:21,minut:[11,22],high:[0,16,18,5,29,13],alreadi:[15,2,18,21,25,8],presum:0,"final":[21,2],detach:[10,27],"13th":13,stop:16,consult:[17,29,4,7],queri:0,mnt:[22,16,23],add:[15,2,3],debug:[1,16,17,25,4,3,5,12,19,7,9,26,10,28,11,29,27],each:[16,21,22,11,29,14],raid:0,your:[0,11,2,17,16,25,18,3,4,19,23,15,7,22,9,27,6,29,12,8],procedur:[21,2,25],dai:[28,11,22],tip:[],right:[0,23],amazonwebservic:21,which:[0,15,2,25,18,21,14,22,9,11,13,8],ulimit:[29,16],full:[0,15,2,17,3,4,12,22,7,25,9,27,19,29,13,16],commit:[21,8],why:[15,18],clear:[26,2,25],save:[0,11,13,23],arbitrari:[18,23],guarante:[0,11,18,22],minim:13,aka:21,databas:[21,13],who:[10,21,29,16,27],permiss:[22,29,13,16],manual:[10,27,15,20],advanc:[],beta:13,fifo:21,damag:[0,26,11,22],depend:[],clean:[21,1,17],ctime:8,had:[11,25,2,22],entiti:8,flushcach:[2,19],path:[15,1,16,17,18,4,7,26,28,29],compet:18,help:[],although:[9,13,2,8],inaccess:0,describ:[0,18],info:[1,16,17,4,19,26,29],john:18,problem:[0,15,2,17,3,20,21,22,23,25,28,11,13,8],administr:[2,3],modul:[15,1,16,17,18,4,19,7,26,28,29,14],eth0:16,lock:[2,3],input:[1,17],gzip:13,hopefulli:8,typic:[0,28,2,25],els:26,sshf:[18,23],init:[8,16],kernel:15,earli:8,under:[15,18],conveninc:18,notic:[0,23],concern:0,random:21,receiv:0,matter:[26,23,19],destroi:[15,2,3],lose:[],dure:[26,15,29,16],mib:[1,16,17,4,26,29,8],execut:[26,15,2,22,8],occur:[0,8,17,3,4,19,7,25,5,9,27,11,29,12],follow:[4,10,11,8,17,20,5,12,0,1,2,3,7,9,27,14,15,16,19,22,23,25,26,28,29],speed:[22,16],daemon:[29,16],like:[0,15,16,3,21,8,25,5,29,13,2],term:[11,18,22],earlier:[0,8],review:0,build:15,might:[1,2,3,19,20,21,25,9,12,8],standard:[0,16,18,21,22,11,13],suppos:0,detail:[],confirm:[9,2],bzip2:[29,13,16],known:[],nor:[2,3],solid:13,replic:[0,22,25,2,13],archiv:[18,13],worthless:[2,3],can:[4,10,11,8,6,17,18,20,21,12,0,1,2,3,7,9,13,14,15,16,19,22,23,25,26,28,29],transfer:[22,13,23],modif:8,bound:0,"function":[26,21,15],inplac:15,descriptor:[29,16],master:21,account:[29,21,18,16],port:18,endang:13,logger:16,"while":[0,15,16,3,19,21,10,13,2],explicit:23,storebackup:[2,25],data:[],lead:8,target:[1,16,17,4,23,25,26,29,2],date:[11,22],keep:[0,11,2,22,3],duplic:[],url:[15,1,16,17,18,4,7,26,28,29,14],durabl:[],fastest:[29,16],ever:0,now:[15,11,2,22,3],match:[0,18],mkf:[],equival:[11,22],idea:[15,2,3,22,11,8],sai:[0,2,25],disappear:28,favor:13,caches:[19,29,2,16],furthermor:[13,14],optim:[29,16],block:[0,16,19,21,8,10,27,13,2],documents_januari:[2,25],s3qlctrl:[],despit:8,report:[0,20,15,13],though:[0,15],wai:[0,16,3,23,8,13,2],continu:10,elementtre:8,quiet:[1,16,17,25,4,3,5,12,19,7,9,26,10,28,11,29,27],where:[0,26,4,19],rath:16,interv:[23,11,29,16,22],anyth:0,"case":[0,15,2,18,3,21,22,23,25,26,11,13,14],intern:[0,21,18],know:[0,11,25,2,22],autom:[22,13],ident:[0,21,25,2,13],recurs:[],older:26,onli:[0,16,2,29,25,18,3,22,19,21,15,23,9,5,10,27,11,12,13,8],cif:16,authinfo2:[15,1,16,17,4,7,26,28,29],detect:[0,18,13],figur:0,geograph:[0,18],definit:[11,22],ten:18,charact:21,nevertheless:[0,22],dest:25,occasion:18,umount:[],shrink:13,overwrit:[28,7],homepag:[17,4,19,12,7,25,9,3,29,27],themselv:14,mani:[0,11,18,13,22],some:[4,10,11,17,18,21,5,12,0,1,8,3,7,9,13,15,16,19,22,25,27,29],monthli:[2,25],src:[2,25],note:[],mtime:8,her:[2,3],replac:8,simpl:[11,2,22],encount:[20,8],carefulli:0,subcommand:26,googlegroup:20,unchang:21,hmac:[21,13],independ:[29,13,16],amazon:[],somewher:[2,17,3,4,7,25,9,27,19,29,12],noleaf:8,discov:0,pycrypto:15,home:[22,18,23],exist:[0,15,2,18,3,21,22,7,25,9,28,11],consum:0,repositori:15,togeth:18,hesit:0,circumst:0,point:[0,16,21,27,29,13,8],s3ql_test:15,tamper:[11,22],track:[11,22],directli:[21,18],length:0,dd_hh:[11,22],includ:[0,15,8,18,21,6,13],keystor:18,version:[],bug:[20,15,8,13],viru:[2,3],attribut:13,cython:15,wide:[15,16],tell:[11,16,22,15],initi:28,plain:[28,7],dedic:[8,16],instanc:23,ssh:[],encod:16,dynam:13,content:[0,16,3,21,8,25,13,2],given:[21,8],real:0,whose:18,argument:[26,15,4,19],call:[0,16,3,19,22,23,25,9,12,11,29,2],hardlink:[],credenti:[15,1,16,17,4,7,26,28,29,14],should:[0,15,1,2,17,25,18,3,4,23,19,7,9,26,10,27,16,29,12,8],precis:21,realli:[5,1,8,17,25,3,4,23,12,19,7,9,26,10,28,11,29,27,16],applic:[21,18,8,14],badli:[26,4],root:[16,25,3,19,9,10,27,29,12,2],understand:[29,16],st_nlink:8,often:[0,28,23],friend:23,result:8,doe:[0,15,16,18,21,10,13,8],techniqu:0,"default":[15,1,16,17,4,5,22,7,26,28,11,29],minimum:[13,23],ctr:21,doc:[17,29,4,19,21,22,7,25,9,3,12,27],creep:13,don:[29,16],littl:[0,15,16],ratio:16,manpag:[],whatsoev:[13,2,3],down:[10,27,22,8,16],upstart:[22,29,16],get:[],prepend:18,untouch:0,dat:[11,22],within:[2,14],capac:13,yyyi:[11,22],secret:18,magnitud:[2,25],fsck:[],kei:[21,18,13],more:[0,15,2,19,21,5,13,8],them:[0,2,21,25,26,10,27],rel:[5,18],simpli:[0,2,3],thei:[11,2,3,21,22,23,25,6,13],schedul:15,invoc:[0,11,22],mercuri:15,all:[4,11,8,17,18,21,0,1,2,3,7,10,13,15,16,19,22,23,25,26,27,28,29],compon:13,visibl:0,ahv:23,tenant:18,bucketnam:18,session:21,ll23bi:14,versa:[2,25],web:[0,18],menu:18,runtest:15,legaci:18,held:21,outag:0,python3:15,unfortun:[0,18,8,23],entri:[],s3qladm:[],shut:[10,27,22,8,16],insert:21,been:[0,16,1,2,18,3,21,22,23,26,10,27,11,13,8],instruct:15,backend:[],stderr:16,secondli:0,current:[0,8,21,22,26,11],unencrypt:[28,7],better:[0,5,15,16],ahax:5,hostnam:18,corrupt:0,issu:[],build_cython:15,hors:[2,3],restrict:[29,16,19],syntax:[1,2,19,26,28,16],onc:[16,18,3,21,23,10,27,29,13,2],could:[2,25],avail:[16,2,17,3,4,21,22,7,26,11,29,8],suit:18,find:[0,3,16,2,8],consecut:18,openstack:[],third:23,sinc:[0,8,21,22,11,16],would:[15,14,22,25,11,2],work:[0,15,8,21,22,23,10,28,11,13],inconsist:8,place:16,befor:[0,16,18,21,8,25,10,27,13,2],technic:0,restart:[8,16],again:[0,10,21,2,3],necessari:[26,21],rest:[0,21,23],accept:[0,1,16,17,25,4,3,5,12,19,7,9,26,10,28,11,29,27,14],ifac:16,newer:[0,15],region:[0,22,18],wrapper:[5,22],script:[23,15,8,22,16],send:[20,21,16],take:[0,2,4,19,21,23,25,26,13,8],section:[0,21,18,14],com:[15,17,18,4,3,20,21,19,7,25,5,9,27,11,29,12,23],introduc:[2,25],lie:25,credibl:18,usr:[17,4,19,12,22,7,25,9,3,29,27],read:[0,1,2,17,18,4,23,21,14,7,25,26,28,29,13,16],sourc:[0,15,2,18,22,25,5,13],filenam:23,intellig:[11,13,22],appli:[0,14,23],profil:[29,16],https_proxi:18,lazi:[10,27],list:[],nikolau:16,either:[0,2,18,4,19,26,8],infect:[2,3],extrem:8,"short":[2,3],until:[10,27,16,2,8],obvious:16,fast:[],access:[0,16,18,21,8,26,29,13,14],specif:[15,2,18,3,19,26,8],especi:[13,23],without:[0,1,2,17,3,23,25,26,13,8],bucket:[28,15,18,14,22],compens:0,possibl:[0,15,2,18,3,23,26,16,13,8],append:21,compani:18,revis:[26,4],deflat:13,lvl:[29,16],mind:0,certif:[1,16,17,4,7,26,28,29],atim:8,written:[0,10,29,13,16],tar:23,configur:[],s3c:[15,18],yet:[0,21,8],control:[18,2,8],refus:[11,22],mktemp:16,author:[8,16],write:[],page:[0,6],run:[],cloud:18,suspicion:18,own:8,workaround:23,temporari:0,readabl:13,joe:[15,14,22],situat:[0,23],job:[22,16],parallel:[5,22,29,16,23],consid:[0,20,14],enhanc:22,done:[0,21,15,16],thread:[22,29,16],cycl:[11,22],ensur:[0,23,11,13,22],base:[8,16],stabl:13,pars:14,cannot:[0,21,11,22],reli:[0,8],share:[15,17,4,3,21,22,7,25,9,27,19,29,12],lost:[0,18,8],bi23ll:14,care:[13,25,2,8],bash:23,www:21,mean:[0,8,13],timeout:16,rackspacecloud:18,"24h":[29,16],util:[1,23],explicitli:[18,8],here:[19,6,18,15],respons:0,sphinx:15,slash:18,requir:[],come:[0,22,13,23],other:[0,15,2,3,19,20,21,25,9,12,16,29,13,8],thi:[4,10,11,8,17,18,20,21,5,12,0,1,2,3,7,9,13,14,15,16,19,22,23,25,26,28,29],consequ:0,rigor:[11,22],later:[3,25,18,2,8],agent:18,notquitesecret:14,identifi:18,previou:[26,22],demonstr:22,batch:[1,16,17],ordinari:[0,10,27,2,25],unpack:15,cachedir:[0,1,16,17,4,7,26,28,29],improv:[],connect:[15,1,16,17,4,21,7,26,28,29,13,23],partial:0,thu:[0,18],implic:21,deprec:15,dir:[16,25],pai:18,download:[26,21,15,4],dramat:23,unnot:18,mount:[],theori:0,physic:[26,22,25,2,3],volum:16,consist:[],establish:0,spend:23,traffic:18,conceptu:13,reach:[1,16,17,4,21,26,29],destin:[5,25,2,23],sever:[0,15,16,18,21,22,23,5,29,13],main:[9,2],mail:[26,20,15,13],week:[11,22]},titles:["Important Rules to Avoid Losing Data","Checking for Errors","Advanced S3QL Features","The <strong class=\"program\">s3qllock</strong> command","The <strong class=\"program\">s3qladm</strong> command","The <strong class=\"program\">pcp</strong> command","Manpages","The <strong class=\"program\">mkfs.s3ql</strong> command","Known Issues","The <strong class=\"program\">s3qlrm</strong> command","Unmounting","The <strong class=\"program\">expire_backups</strong> command","The <strong class=\"program\">s3qlstat</strong> command","About S3QL","Storing Authentication Information","Installation","Mounting","The <strong class=\"program\">fsck.s3ql</strong> command","Storage Backends","The <strong class=\"program\">s3qlctrl</strong> command","Further Resources / Getting Help","Implementation Details","Contributed Programs","Tips &amp; Tricks","S3QL User&#8217;s Guide","The <strong class=\"program\">s3qlcp</strong> command","Managing File Systems","The <strong class=\"program\">umount.s3ql</strong> command","File System Creation","The <strong class=\"program\">mount.s3ql</strong> command"],filenames:["durability","fsck","special","man/lock","man/adm","man/pcp","man/index","man/mkfs","issues","man/rm","umount","man/expire_backups","man/stat","about","authinfo","installation","mount","man/fsck","backends","man/ctrl","resources","impl_details","contrib","tips","index","man/cp","adm","man/umount","mkfs","man/mount"],envversion:43,objtypes:{}}) \ No newline at end of file
diff --git a/doc/html/special.html b/doc/html/special.html
index 508f639..bc7ac2c 100644
--- a/doc/html/special.html
+++ b/doc/html/special.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Advanced S3QL Features &mdash; S3QL 1.16 documentation</title>
+ <title>Advanced S3QL Features &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Unmounting" href="umount.html" />
<link rel="prev" title="Mounting" href="mount.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="mount.html" title="Mounting"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -268,12 +266,12 @@ been flushed.</td>
<li class="right" >
<a href="mount.html" title="Mounting"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/tips.html b/doc/html/tips.html
index 42572fb..f9570de 100644
--- a/doc/html/tips.html
+++ b/doc/html/tips.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Tips &amp; Tricks &mdash; S3QL 1.16 documentation</title>
+ <title>Tips &amp; Tricks &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Known Issues" href="issues.html" />
<link rel="prev" title="Contributed Programs" href="contrib.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="contrib.html" title="Contributed Programs"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -192,12 +190,12 @@ details.</p>
<li class="right" >
<a href="contrib.html" title="Contributed Programs"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/html/umount.html b/doc/html/umount.html
index 9347e64..8de7c4a 100644
--- a/doc/html/umount.html
+++ b/doc/html/umount.html
@@ -1,5 +1,3 @@
-
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -8,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Unmounting &mdash; S3QL 1.16 documentation</title>
+ <title>Unmounting &mdash; S3QL 2.5 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '',
- VERSION: '1.16',
+ URL_ROOT: './',
+ VERSION: '2.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -26,7 +24,7 @@
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="author" title="About these documents" href="about.html" />
- <link rel="top" title="S3QL 1.16 documentation" href="index.html" />
+ <link rel="top" title="S3QL 2.5 documentation" href="index.html" />
<link rel="next" title="Checking for Errors" href="fsck.html" />
<link rel="prev" title="Advanced S3QL Features" href="special.html" />
</head>
@@ -40,7 +38,7 @@
<li class="right" >
<a href="special.html" title="Advanced S3QL Features"
accesskey="P">previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="sphinxsidebar">
@@ -147,12 +145,12 @@ upload data in the background for a while longer.</p>
<li class="right" >
<a href="special.html" title="Advanced S3QL Features"
>previous</a> |</li>
- <li><a href="index.html">S3QL 1.16 documentation</a> &raquo;</li>
+ <li><a href="index.html">S3QL 2.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
- &copy; Copyright 2008-2011, Nikolaus Rath.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+ &copy; Copyright 2008-2013, Nikolaus Rath.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2b1.
</div>
</body>
</html> \ No newline at end of file
diff --git a/doc/latex/Makefile b/doc/latex/Makefile
index 76e7c3e..6b87ad8 100644
--- a/doc/latex/Makefile
+++ b/doc/latex/Makefile
@@ -16,11 +16,11 @@ all-ps: all-dvi
for f in *.dvi; do dvips $$f; done
all-pdf-ja:
- for f in *.pdf *.png *.gif *.jpg *.jpeg; do ebb $$f; done
+ for f in *.pdf *.png *.gif *.jpg *.jpeg; do extractbb $$f; done
for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
- for f in *.idx; do mendex -U -f -d "`basename $$f .idx`.dic" -s python.ist $$f; done
+ -for f in *.idx; do mendex -U -f -d "`basename $$f .idx`.dic" -s python.ist $$f; done
for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
for f in *.tex; do platex -kanji=utf8 $(LATEXOPTS) $$f; done
for f in *.dvi; do dvipdfmx $$f; done
diff --git a/doc/latex/manual.aux b/doc/latex/manual.aux
index c61e819..1542365 100644
--- a/doc/latex/manual.aux
+++ b/doc/latex/manual.aux
@@ -23,8 +23,8 @@
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{about:about-s3ql}{{1}{1}{About S3QL\relax }{chapter.1}{}}
-\newlabel{about::doc}{{1}{1}{About S3QL\relax }{chapter.1}{}}
\newlabel{about:s3ql-user-s-guide}{{1}{1}{About S3QL\relax }{chapter.1}{}}
+\newlabel{about::doc}{{1}{1}{About S3QL\relax }{chapter.1}{}}
\@writefile{toc}{\contentsline {section}{\numberline {1.1}Features}{1}{section.1.1}}
\newlabel{about:features}{{1.1}{1}{Features\relax }{section.1.1}{}}
\@writefile{toc}{\contentsline {section}{\numberline {1.2}Development Status}{2}{section.1.2}}
@@ -41,339 +41,342 @@
\newlabel{installation:installing-s3ql}{{2.2}{3}{Installing S3QL\relax }{section.2.2}{}}
\@writefile{toc}{\contentsline {section}{\numberline {2.3}Development Version}{4}{section.2.3}}
\newlabel{installation:development-version}{{2.3}{4}{Development Version\relax }{section.2.3}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {3}Storage Backends}{5}{chapter.3}}
+\@writefile{toc}{\contentsline {section}{\numberline {2.4}Running tests requiring remote servers}{4}{section.2.4}}
+\newlabel{installation:running-tests-requiring-remote-servers}{{2.4}{4}{Running tests requiring remote servers\relax }{section.2.4}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {3}Storage Backends}{7}{chapter.3}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{backends::doc}{{3}{5}{Storage Backends\relax }{chapter.3}{}}
-\newlabel{backends:id1}{{3}{5}{Storage Backends\relax }{chapter.3}{}}
-\newlabel{backends:sphinx}{{3}{5}{Storage Backends\relax }{chapter.3}{}}
-\newlabel{backends:storage-backends}{{3}{5}{Storage Backends\relax }{chapter.3}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {3.1}Google Storage}{5}{section.3.1}}
-\newlabel{backends:google-storage}{{3.1}{5}{Google Storage\relax }{section.3.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {3.2}Amazon S3}{5}{section.3.2}}
-\newlabel{backends:amazon-s3}{{3.2}{5}{Amazon S3\relax }{section.3.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Reduced Redundancy Storage (RRS)}{6}{subsection.3.2.1}}
-\newlabel{backends:reduced-redundancy-storage-rrs}{{3.2.1}{6}{Reduced Redundancy Storage (RRS)\relax }{subsection.3.2.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {3.3}OpenStack/Swift}{6}{section.3.3}}
-\newlabel{backends:openstack-swift}{{3.3}{6}{OpenStack/Swift\relax }{section.3.3}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {3.4}RackSpace CloudFiles}{6}{section.3.4}}
-\newlabel{backends:rackspace-cloudfiles}{{3.4}{6}{RackSpace CloudFiles\relax }{section.3.4}{}}
-\newlabel{backends:swift}{{3.4}{6}{RackSpace CloudFiles\relax }{section.3.4}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {3.5}S3 compatible}{7}{section.3.5}}
-\newlabel{backends:s3-compatible}{{3.5}{7}{S3 compatible\relax }{section.3.5}{}}
-\newlabel{backends:rackspace}{{3.5}{7}{S3 compatible\relax }{section.3.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {3.6}Local}{7}{section.3.6}}
-\newlabel{backends:local}{{3.6}{7}{Local\relax }{section.3.6}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {4}Important Rules to Avoid Losing Data}{9}{chapter.4}}
+\newlabel{backends:storage-backends}{{3}{7}{Storage Backends\relax }{chapter.3}{}}
+\newlabel{backends:py-test}{{3}{7}{Storage Backends\relax }{chapter.3}{}}
+\newlabel{backends:id1}{{3}{7}{Storage Backends\relax }{chapter.3}{}}
+\newlabel{backends::doc}{{3}{7}{Storage Backends\relax }{chapter.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {3.1}Google Storage}{7}{section.3.1}}
+\newlabel{backends:google-storage}{{3.1}{7}{Google Storage\relax }{section.3.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {3.2}Amazon S3}{7}{section.3.2}}
+\newlabel{backends:amazon-s3}{{3.2}{7}{Amazon S3\relax }{section.3.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Reduced Redundancy Storage (RRS)}{8}{subsection.3.2.1}}
+\newlabel{backends:reduced-redundancy-storage-rrs}{{3.2.1}{8}{Reduced Redundancy Storage (RRS)\relax }{subsection.3.2.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {3.3}OpenStack/Swift}{8}{section.3.3}}
+\newlabel{backends:openstack-swift}{{3.3}{8}{OpenStack/Swift\relax }{section.3.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {3.4}Rackspace CloudFiles}{8}{section.3.4}}
+\newlabel{backends:swift}{{3.4}{8}{Rackspace CloudFiles\relax }{section.3.4}{}}
+\newlabel{backends:rackspace-cloudfiles}{{3.4}{8}{Rackspace CloudFiles\relax }{section.3.4}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {3.5}S3 compatible}{9}{section.3.5}}
+\newlabel{backends:rackspace}{{3.5}{9}{S3 compatible\relax }{section.3.5}{}}
+\newlabel{backends:s3-compatible}{{3.5}{9}{S3 compatible\relax }{section.3.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {3.6}Local}{9}{section.3.6}}
+\newlabel{backends:local}{{3.6}{9}{Local\relax }{section.3.6}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {4}Important Rules to Avoid Losing Data}{11}{chapter.4}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{durability:important-rules-to-avoid-losing-data}{{4}{9}{Important Rules to Avoid Losing Data\relax }{chapter.4}{}}
-\newlabel{durability::doc}{{4}{9}{Important Rules to Avoid Losing Data\relax }{chapter.4}{}}
-\newlabel{durability:durability}{{4}{9}{Important Rules to Avoid Losing Data\relax }{chapter.4}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {4.1}Rules in a Nutshell}{9}{section.4.1}}
-\newlabel{durability:rules-in-a-nutshell}{{4.1}{9}{Rules in a Nutshell\relax }{section.4.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {4.2}Consistency Window List}{10}{section.4.2}}
-\newlabel{durability:consistency-window-list}{{4.2}{10}{Consistency Window List\relax }{section.4.2}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {4.3}Data Consistency}{10}{section.4.3}}
-\newlabel{durability:data-consistency}{{4.3}{10}{Data Consistency\relax }{section.4.3}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {4.4}Data Durability}{11}{section.4.4}}
-\newlabel{durability:backend-reliability}{{4.4}{11}{Data Durability\relax }{section.4.4}{}}
-\newlabel{durability:data-durability}{{4.4}{11}{Data Durability\relax }{section.4.4}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {5}File System Creation}{13}{chapter.5}}
+\newlabel{durability:durability}{{4}{11}{Important Rules to Avoid Losing Data\relax }{chapter.4}{}}
+\newlabel{durability:important-rules-to-avoid-losing-data}{{4}{11}{Important Rules to Avoid Losing Data\relax }{chapter.4}{}}
+\newlabel{durability:sshfs}{{4}{11}{Important Rules to Avoid Losing Data\relax }{chapter.4}{}}
+\newlabel{durability::doc}{{4}{11}{Important Rules to Avoid Losing Data\relax }{chapter.4}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {4.1}Rules in a Nutshell}{11}{section.4.1}}
+\newlabel{durability:rules-in-a-nutshell}{{4.1}{11}{Rules in a Nutshell\relax }{section.4.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {4.2}Consistency Window List}{12}{section.4.2}}
+\newlabel{durability:consistency-window-list}{{4.2}{12}{Consistency Window List\relax }{section.4.2}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {4.3}Data Consistency}{12}{section.4.3}}
+\newlabel{durability:data-consistency}{{4.3}{12}{Data Consistency\relax }{section.4.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {4.4}Data Durability}{13}{section.4.4}}
+\newlabel{durability:data-durability}{{4.4}{13}{Data Durability\relax }{section.4.4}{}}
+\newlabel{durability:backend-reliability}{{4.4}{13}{Data Durability\relax }{section.4.4}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {5}File System Creation}{15}{chapter.5}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{mkfs::doc}{{5}{13}{File System Creation\relax }{chapter.5}{}}
-\newlabel{mkfs:file-system-creation}{{5}{13}{File System Creation\relax }{chapter.5}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {6}Managing File Systems}{15}{chapter.6}}
+\newlabel{mkfs:file-system-creation}{{5}{15}{File System Creation\relax }{chapter.5}{}}
+\newlabel{mkfs::doc}{{5}{15}{File System Creation\relax }{chapter.5}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {6}Managing File Systems}{17}{chapter.6}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{adm:managing-file-systems}{{6}{15}{Managing File Systems\relax }{chapter.6}{}}
-\newlabel{adm::doc}{{6}{15}{Managing File Systems\relax }{chapter.6}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {6.1}Changing the Passphrase}{15}{section.6.1}}
-\newlabel{adm:changing-the-passphrase}{{6.1}{15}{Changing the Passphrase\relax }{section.6.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {6.2}Upgrading the file system}{16}{section.6.2}}
-\newlabel{adm:upgrading-the-file-system}{{6.2}{16}{Upgrading the file system\relax }{section.6.2}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {6.3}Deleting a file system}{16}{section.6.3}}
-\newlabel{adm:deleting-a-file-system}{{6.3}{16}{Deleting a file system\relax }{section.6.3}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {6.4}Restoring Metadata Backups}{16}{section.6.4}}
-\newlabel{adm:restoring-metadata-backups}{{6.4}{16}{Restoring Metadata Backups\relax }{section.6.4}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {7}Mounting}{17}{chapter.7}}
+\newlabel{adm:managing-file-systems}{{6}{17}{Managing File Systems\relax }{chapter.6}{}}
+\newlabel{adm::doc}{{6}{17}{Managing File Systems\relax }{chapter.6}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {6.1}Changing the Passphrase}{17}{section.6.1}}
+\newlabel{adm:changing-the-passphrase}{{6.1}{17}{Changing the Passphrase\relax }{section.6.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {6.2}Upgrading the file system}{18}{section.6.2}}
+\newlabel{adm:upgrading-the-file-system}{{6.2}{18}{Upgrading the file system\relax }{section.6.2}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {6.3}Deleting a file system}{18}{section.6.3}}
+\newlabel{adm:deleting-a-file-system}{{6.3}{18}{Deleting a file system\relax }{section.6.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {6.4}Restoring Metadata Backups}{18}{section.6.4}}
+\newlabel{adm:restoring-metadata-backups}{{6.4}{18}{Restoring Metadata Backups\relax }{section.6.4}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {7}Mounting}{19}{chapter.7}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{mount:mounting}{{7}{17}{Mounting\relax }{chapter.7}{}}
-\newlabel{mount::doc}{{7}{17}{Mounting\relax }{chapter.7}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {7.1}Compression Algorithms}{18}{section.7.1}}
-\newlabel{mount:compression-algorithms}{{7.1}{18}{Compression Algorithms\relax }{section.7.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {7.2}Notes about Caching}{18}{section.7.2}}
-\newlabel{mount:notes-about-caching}{{7.2}{18}{Notes about Caching\relax }{section.7.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Maximum Number of Cache Entries}{19}{subsection.7.2.1}}
-\newlabel{mount:maximum-number-of-cache-entries}{{7.2.1}{19}{Maximum Number of Cache Entries\relax }{subsection.7.2.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Cache Flushing and Expiration}{19}{subsection.7.2.2}}
-\newlabel{mount:cache-flushing-and-expiration}{{7.2.2}{19}{Cache Flushing and Expiration\relax }{subsection.7.2.2}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {7.3}Automatic Mounting}{19}{section.7.3}}
-\newlabel{mount:automatic-mounting}{{7.3}{19}{Automatic Mounting\relax }{section.7.3}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {8}Advanced S3QL Features}{21}{chapter.8}}
+\newlabel{mount:mounting}{{7}{19}{Mounting\relax }{chapter.7}{}}
+\newlabel{mount::doc}{{7}{19}{Mounting\relax }{chapter.7}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {7.1}Compression Algorithms}{20}{section.7.1}}
+\newlabel{mount:compression-algorithms}{{7.1}{20}{Compression Algorithms\relax }{section.7.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {7.2}Notes about Caching}{20}{section.7.2}}
+\newlabel{mount:notes-about-caching}{{7.2}{20}{Notes about Caching\relax }{section.7.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Maximum Number of Cache Entries}{21}{subsection.7.2.1}}
+\newlabel{mount:maximum-number-of-cache-entries}{{7.2.1}{21}{Maximum Number of Cache Entries\relax }{subsection.7.2.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Cache Flushing and Expiration}{21}{subsection.7.2.2}}
+\newlabel{mount:cache-flushing-and-expiration}{{7.2.2}{21}{Cache Flushing and Expiration\relax }{subsection.7.2.2}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {7.3}Automatic Mounting}{21}{section.7.3}}
+\newlabel{mount:automatic-mounting}{{7.3}{21}{Automatic Mounting\relax }{section.7.3}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {8}Advanced S3QL Features}{23}{chapter.8}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{special:advanced-s3ql-features}{{8}{21}{Advanced S3QL Features\relax }{chapter.8}{}}
-\newlabel{special::doc}{{8}{21}{Advanced S3QL Features\relax }{chapter.8}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {8.1}Snapshotting and Copy-on-Write}{21}{section.8.1}}
-\newlabel{special:snapshotting-and-copy-on-write}{{8.1}{21}{Snapshotting and Copy-on-Write\relax }{section.8.1}{}}
-\newlabel{special:s3qlcp}{{8.1}{21}{Snapshotting and Copy-on-Write\relax }{section.8.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.1}Snapshotting vs Hardlinking}{21}{subsection.8.1.1}}
-\newlabel{special:snapshotting-vs-hardlinking}{{8.1.1}{21}{Snapshotting vs Hardlinking\relax }{subsection.8.1.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {8.2}Getting Statistics}{22}{section.8.2}}
-\newlabel{special:s3qlstat}{{8.2}{22}{Getting Statistics\relax }{section.8.2}{}}
-\newlabel{special:getting-statistics}{{8.2}{22}{Getting Statistics\relax }{section.8.2}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {8.3}Immutable Trees}{22}{section.8.3}}
-\newlabel{special:immutable-trees}{{8.3}{22}{Immutable Trees\relax }{section.8.3}{}}
-\newlabel{special:s3qllock}{{8.3}{22}{Immutable Trees\relax }{section.8.3}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {8.4}Fast Recursive Removal}{23}{section.8.4}}
-\newlabel{special:s3qlrm}{{8.4}{23}{Fast Recursive Removal\relax }{section.8.4}{}}
-\newlabel{special:fast-recursive-removal}{{8.4}{23}{Fast Recursive Removal\relax }{section.8.4}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {8.5}Runtime Configuration}{23}{section.8.5}}
-\newlabel{special:runtime-configuration}{{8.5}{23}{Runtime Configuration\relax }{section.8.5}{}}
-\newlabel{special:s3qlctrl}{{8.5}{23}{Runtime Configuration\relax }{section.8.5}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {9}Unmounting}{25}{chapter.9}}
+\newlabel{special:advanced-s3ql-features}{{8}{23}{Advanced S3QL Features\relax }{chapter.8}{}}
+\newlabel{special::doc}{{8}{23}{Advanced S3QL Features\relax }{chapter.8}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {8.1}Snapshotting and Copy-on-Write}{23}{section.8.1}}
+\newlabel{special:snapshotting-and-copy-on-write}{{8.1}{23}{Snapshotting and Copy-on-Write\relax }{section.8.1}{}}
+\newlabel{special:s3qlcp}{{8.1}{23}{Snapshotting and Copy-on-Write\relax }{section.8.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.1}Snapshotting vs Hardlinking}{23}{subsection.8.1.1}}
+\newlabel{special:snapshotting-vs-hardlinking}{{8.1.1}{23}{Snapshotting vs Hardlinking\relax }{subsection.8.1.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {8.2}Getting Statistics}{24}{section.8.2}}
+\newlabel{special:s3qlstat}{{8.2}{24}{Getting Statistics\relax }{section.8.2}{}}
+\newlabel{special:getting-statistics}{{8.2}{24}{Getting Statistics\relax }{section.8.2}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {8.3}Immutable Trees}{24}{section.8.3}}
+\newlabel{special:immutable-trees}{{8.3}{24}{Immutable Trees\relax }{section.8.3}{}}
+\newlabel{special:s3qllock}{{8.3}{24}{Immutable Trees\relax }{section.8.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {8.4}Fast Recursive Removal}{24}{section.8.4}}
+\newlabel{special:fast-recursive-removal}{{8.4}{24}{Fast Recursive Removal\relax }{section.8.4}{}}
+\newlabel{special:s3qlrm}{{8.4}{24}{Fast Recursive Removal\relax }{section.8.4}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {8.5}Runtime Configuration}{25}{section.8.5}}
+\newlabel{special:s3qlctrl}{{8.5}{25}{Runtime Configuration\relax }{section.8.5}{}}
+\newlabel{special:runtime-configuration}{{8.5}{25}{Runtime Configuration\relax }{section.8.5}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {9}Unmounting}{27}{chapter.9}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{umount::doc}{{9}{25}{Unmounting\relax }{chapter.9}{}}
-\newlabel{umount:unmounting}{{9}{25}{Unmounting\relax }{chapter.9}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {10}Checking for Errors}{27}{chapter.10}}
+\newlabel{umount:unmounting}{{9}{27}{Unmounting\relax }{chapter.9}{}}
+\newlabel{umount::doc}{{9}{27}{Unmounting\relax }{chapter.9}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {10}Checking for Errors}{29}{chapter.10}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{fsck:checking-for-errors}{{10}{27}{Checking for Errors\relax }{chapter.10}{}}
-\newlabel{fsck::doc}{{10}{27}{Checking for Errors\relax }{chapter.10}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {11}Storing Authentication Information}{29}{chapter.11}}
+\newlabel{fsck:checking-for-errors}{{10}{29}{Checking for Errors\relax }{chapter.10}{}}
+\newlabel{fsck::doc}{{10}{29}{Checking for Errors\relax }{chapter.10}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {11}Storing Authentication Information}{31}{chapter.11}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{authinfo:storing-authentication-information}{{11}{29}{Storing Authentication Information\relax }{chapter.11}{}}
-\newlabel{authinfo:authinfo}{{11}{29}{Storing Authentication Information\relax }{chapter.11}{}}
-\newlabel{authinfo::doc}{{11}{29}{Storing Authentication Information\relax }{chapter.11}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {12}Contributed Programs}{31}{chapter.12}}
+\newlabel{authinfo:storing-authentication-information}{{11}{31}{Storing Authentication Information\relax }{chapter.11}{}}
+\newlabel{authinfo:authinfo}{{11}{31}{Storing Authentication Information\relax }{chapter.11}{}}
+\newlabel{authinfo::doc}{{11}{31}{Storing Authentication Information\relax }{chapter.11}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {12}Contributed Programs}{33}{chapter.12}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{contrib:contributed-programs}{{12}{31}{Contributed Programs\relax }{chapter.12}{}}
-\newlabel{contrib::doc}{{12}{31}{Contributed Programs\relax }{chapter.12}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {12.1}benchmark.py}{31}{section.12.1}}
-\newlabel{contrib:benchmark-py}{{12.1}{31}{benchmark.py\relax }{section.12.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {12.2}s3\_copy.py}{31}{section.12.2}}
-\newlabel{contrib:s3-copy-py}{{12.2}{31}{s3\_copy.py\relax }{section.12.2}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {12.3}pcp.py}{31}{section.12.3}}
-\newlabel{contrib:pcp-py}{{12.3}{31}{pcp.py\relax }{section.12.3}{}}
-\newlabel{contrib:pcp}{{12.3}{31}{pcp.py\relax }{section.12.3}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {12.4}s3\_backup.sh}{31}{section.12.4}}
-\newlabel{contrib:s3-backup-sh}{{12.4}{31}{s3\_backup.sh\relax }{section.12.4}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {12.5}expire\_backups.py}{32}{section.12.5}}
-\newlabel{contrib:expire-backups-py}{{12.5}{32}{expire\_backups.py\relax }{section.12.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {12.6}s3ql\_upstart.conf}{33}{section.12.6}}
-\newlabel{contrib:s3ql-upstart-conf}{{12.6}{33}{s3ql\_upstart.conf\relax }{section.12.6}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {13}Tips \& Tricks}{35}{chapter.13}}
+\newlabel{contrib:contributed-programs}{{12}{33}{Contributed Programs\relax }{chapter.12}{}}
+\newlabel{contrib::doc}{{12}{33}{Contributed Programs\relax }{chapter.12}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {12.1}benchmark.py}{33}{section.12.1}}
+\newlabel{contrib:benchmark-py}{{12.1}{33}{benchmark.py\relax }{section.12.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {12.2}s3\_copy.py}{33}{section.12.2}}
+\newlabel{contrib:s3-copy-py}{{12.2}{33}{s3\_copy.py\relax }{section.12.2}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {12.3}pcp.py}{33}{section.12.3}}
+\newlabel{contrib:pcp}{{12.3}{33}{pcp.py\relax }{section.12.3}{}}
+\newlabel{contrib:pcp-py}{{12.3}{33}{pcp.py\relax }{section.12.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {12.4}s3\_backup.sh}{33}{section.12.4}}
+\newlabel{contrib:s3-backup-sh}{{12.4}{33}{s3\_backup.sh\relax }{section.12.4}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {12.5}expire\_backups.py}{34}{section.12.5}}
+\newlabel{contrib:expire-backups-py}{{12.5}{34}{expire\_backups.py\relax }{section.12.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {12.6}s3ql\_upstart.conf}{35}{section.12.6}}
+\newlabel{contrib:s3ql-upstart-conf}{{12.6}{35}{s3ql\_upstart.conf\relax }{section.12.6}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {13}Tips \& Tricks}{37}{chapter.13}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{tips:tips-tricks}{{13}{35}{Tips \& Tricks\relax }{chapter.13}{}}
-\newlabel{tips::doc}{{13}{35}{Tips \& Tricks\relax }{chapter.13}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {13.1}SSH Backend}{35}{section.13.1}}
-\newlabel{tips:ssh-tipp}{{13.1}{35}{SSH Backend\relax }{section.13.1}{}}
-\newlabel{tips:ssh-backend}{{13.1}{35}{SSH Backend\relax }{section.13.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {13.2}Permanently mounted backup file system}{35}{section.13.2}}
-\newlabel{tips:permanently-mounted-backup-file-system}{{13.2}{35}{Permanently mounted backup file system\relax }{section.13.2}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {13.3}Improving copy performance}{35}{section.13.3}}
-\newlabel{tips:copy-performance}{{13.3}{35}{Improving copy performance\relax }{section.13.3}{}}
-\newlabel{tips:improving-copy-performance}{{13.3}{35}{Improving copy performance\relax }{section.13.3}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {14}Known Issues}{37}{chapter.14}}
+\newlabel{tips:tips-tricks}{{13}{37}{Tips \& Tricks\relax }{chapter.13}{}}
+\newlabel{tips::doc}{{13}{37}{Tips \& Tricks\relax }{chapter.13}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {13.1}SSH Backend}{37}{section.13.1}}
+\newlabel{tips:ssh-tipp}{{13.1}{37}{SSH Backend\relax }{section.13.1}{}}
+\newlabel{tips:ssh-backend}{{13.1}{37}{SSH Backend\relax }{section.13.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {13.2}Permanently mounted backup file system}{37}{section.13.2}}
+\newlabel{tips:permanently-mounted-backup-file-system}{{13.2}{37}{Permanently mounted backup file system\relax }{section.13.2}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {13.3}Improving copy performance}{37}{section.13.3}}
+\newlabel{tips:copy-performance}{{13.3}{37}{Improving copy performance\relax }{section.13.3}{}}
+\newlabel{tips:improving-copy-performance}{{13.3}{37}{Improving copy performance\relax }{section.13.3}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {14}Known Issues}{39}{chapter.14}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{issues:known-issues}{{14}{37}{Known Issues\relax }{chapter.14}{}}
-\newlabel{issues::doc}{{14}{37}{Known Issues\relax }{chapter.14}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {15}Manpages}{39}{chapter.15}}
+\newlabel{issues:known-issues}{{14}{39}{Known Issues\relax }{chapter.14}{}}
+\newlabel{issues::doc}{{14}{39}{Known Issues\relax }{chapter.14}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {15}Manpages}{41}{chapter.15}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{man/index:manpages}{{15}{39}{Manpages\relax }{chapter.15}{}}
-\newlabel{man/index::doc}{{15}{39}{Manpages\relax }{chapter.15}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.1}The \textbf {mkfs.s3ql} command}{39}{section.15.1}}
-\newlabel{man/mkfs:the-mkfs-s3ql-command}{{15.1}{39}{The \textbf {mkfs.s3ql} command\relax }{section.15.1}{}}
-\newlabel{man/mkfs::doc}{{15.1}{39}{The \textbf {mkfs.s3ql} command\relax }{section.15.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.1}Synopsis}{39}{subsection.15.1.1}}
-\newlabel{man/mkfs:synopsis}{{15.1.1}{39}{Synopsis\relax }{subsection.15.1.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.2}Description}{39}{subsection.15.1.2}}
-\newlabel{man/mkfs:description}{{15.1.2}{39}{Description\relax }{subsection.15.1.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.3}Options}{39}{subsection.15.1.3}}
-\newlabel{man/mkfs:options}{{15.1.3}{39}{Options\relax }{subsection.15.1.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.4}Exit Status}{40}{subsection.15.1.4}}
-\newlabel{man/mkfs:exit-status}{{15.1.4}{40}{Exit Status\relax }{subsection.15.1.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.5}See Also}{40}{subsection.15.1.5}}
-\newlabel{man/mkfs:see-also}{{15.1.5}{40}{See Also\relax }{subsection.15.1.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.2}The \textbf {s3qladm} command}{40}{section.15.2}}
-\newlabel{man/adm::doc}{{15.2}{40}{The \textbf {s3qladm} command\relax }{section.15.2}{}}
-\newlabel{man/adm:the-s3qladm-command}{{15.2}{40}{The \textbf {s3qladm} command\relax }{section.15.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.1}Synopsis}{40}{subsection.15.2.1}}
-\newlabel{man/adm:synopsis}{{15.2.1}{40}{Synopsis\relax }{subsection.15.2.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.2}Description}{40}{subsection.15.2.2}}
-\newlabel{man/adm:description}{{15.2.2}{40}{Description\relax }{subsection.15.2.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.3}Options}{40}{subsection.15.2.3}}
-\newlabel{man/adm:options}{{15.2.3}{40}{Options\relax }{subsection.15.2.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.4}Actions}{41}{subsection.15.2.4}}
-\newlabel{man/adm:actions}{{15.2.4}{41}{Actions\relax }{subsection.15.2.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.5}Exit Status}{41}{subsection.15.2.5}}
-\newlabel{man/adm:exit-status}{{15.2.5}{41}{Exit Status\relax }{subsection.15.2.5}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.6}See Also}{41}{subsection.15.2.6}}
-\newlabel{man/adm:see-also}{{15.2.6}{41}{See Also\relax }{subsection.15.2.6}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.3}The \textbf {mount.s3ql} command}{41}{section.15.3}}
-\newlabel{man/mount::doc}{{15.3}{41}{The \textbf {mount.s3ql} command\relax }{section.15.3}{}}
-\newlabel{man/mount:the-mount-s3ql-command}{{15.3}{41}{The \textbf {mount.s3ql} command\relax }{section.15.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.1}Synopsis}{41}{subsection.15.3.1}}
-\newlabel{man/mount:synopsis}{{15.3.1}{41}{Synopsis\relax }{subsection.15.3.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.2}Description}{41}{subsection.15.3.2}}
-\newlabel{man/mount:description}{{15.3.2}{41}{Description\relax }{subsection.15.3.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.3}Options}{41}{subsection.15.3.3}}
-\newlabel{man/mount:options}{{15.3.3}{41}{Options\relax }{subsection.15.3.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.4}Exit Status}{42}{subsection.15.3.4}}
-\newlabel{man/mount:exit-status}{{15.3.4}{42}{Exit Status\relax }{subsection.15.3.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.5}See Also}{43}{subsection.15.3.5}}
-\newlabel{man/mount:see-also}{{15.3.5}{43}{See Also\relax }{subsection.15.3.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.4}The \textbf {s3qlstat} command}{43}{section.15.4}}
-\newlabel{man/stat:the-s3qlstat-command}{{15.4}{43}{The \textbf {s3qlstat} command\relax }{section.15.4}{}}
-\newlabel{man/stat::doc}{{15.4}{43}{The \textbf {s3qlstat} command\relax }{section.15.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.1}Synopsis}{43}{subsection.15.4.1}}
-\newlabel{man/stat:synopsis}{{15.4.1}{43}{Synopsis\relax }{subsection.15.4.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.2}Description}{43}{subsection.15.4.2}}
-\newlabel{man/stat:description}{{15.4.2}{43}{Description\relax }{subsection.15.4.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.3}Options}{43}{subsection.15.4.3}}
-\newlabel{man/stat:options}{{15.4.3}{43}{Options\relax }{subsection.15.4.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.4}Exit Status}{43}{subsection.15.4.4}}
-\newlabel{man/stat:exit-status}{{15.4.4}{43}{Exit Status\relax }{subsection.15.4.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.5}See Also}{43}{subsection.15.4.5}}
-\newlabel{man/stat:see-also}{{15.4.5}{43}{See Also\relax }{subsection.15.4.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.5}The \textbf {s3qlctrl} command}{43}{section.15.5}}
-\newlabel{man/ctrl:the-s3qlctrl-command}{{15.5}{43}{The \textbf {s3qlctrl} command\relax }{section.15.5}{}}
-\newlabel{man/ctrl::doc}{{15.5}{43}{The \textbf {s3qlctrl} command\relax }{section.15.5}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.1}Synopsis}{43}{subsection.15.5.1}}
-\newlabel{man/ctrl:synopsis}{{15.5.1}{43}{Synopsis\relax }{subsection.15.5.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.2}Description}{44}{subsection.15.5.2}}
-\newlabel{man/ctrl:description}{{15.5.2}{44}{Description\relax }{subsection.15.5.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.3}Options}{44}{subsection.15.5.3}}
-\newlabel{man/ctrl:options}{{15.5.3}{44}{Options\relax }{subsection.15.5.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.4}Exit Status}{44}{subsection.15.5.4}}
-\newlabel{man/ctrl:exit-status}{{15.5.4}{44}{Exit Status\relax }{subsection.15.5.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.5}See Also}{44}{subsection.15.5.5}}
-\newlabel{man/ctrl:see-also}{{15.5.5}{44}{See Also\relax }{subsection.15.5.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.6}The \textbf {s3qlcp} command}{45}{section.15.6}}
-\newlabel{man/cp:the-s3qlcp-command}{{15.6}{45}{The \textbf {s3qlcp} command\relax }{section.15.6}{}}
-\newlabel{man/cp::doc}{{15.6}{45}{The \textbf {s3qlcp} command\relax }{section.15.6}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.1}Synopsis}{45}{subsection.15.6.1}}
-\newlabel{man/cp:synopsis}{{15.6.1}{45}{Synopsis\relax }{subsection.15.6.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.2}Description}{45}{subsection.15.6.2}}
-\newlabel{man/cp:description}{{15.6.2}{45}{Description\relax }{subsection.15.6.2}{}}
-\@writefile{toc}{\contentsline {subsubsection}{Snapshotting vs Hardlinking}{45}{subsubsection*.3}}
-\newlabel{man/cp:snapshotting-vs-hardlinking}{{15.6.2}{45}{Snapshotting vs Hardlinking\relax }{subsubsection*.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.3}Options}{45}{subsection.15.6.3}}
-\newlabel{man/cp:options}{{15.6.3}{45}{Options\relax }{subsection.15.6.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.4}Exit Status}{46}{subsection.15.6.4}}
-\newlabel{man/cp:exit-status}{{15.6.4}{46}{Exit Status\relax }{subsection.15.6.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.5}See Also}{46}{subsection.15.6.5}}
-\newlabel{man/cp:see-also}{{15.6.5}{46}{See Also\relax }{subsection.15.6.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.7}The \textbf {s3qlrm} command}{46}{section.15.7}}
-\newlabel{man/rm::doc}{{15.7}{46}{The \textbf {s3qlrm} command\relax }{section.15.7}{}}
-\newlabel{man/rm:the-s3qlrm-command}{{15.7}{46}{The \textbf {s3qlrm} command\relax }{section.15.7}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.1}Synopsis}{46}{subsection.15.7.1}}
-\newlabel{man/rm:synopsis}{{15.7.1}{46}{Synopsis\relax }{subsection.15.7.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.2}Description}{46}{subsection.15.7.2}}
-\newlabel{man/rm:description}{{15.7.2}{46}{Description\relax }{subsection.15.7.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.3}Options}{46}{subsection.15.7.3}}
-\newlabel{man/rm:options}{{15.7.3}{46}{Options\relax }{subsection.15.7.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.4}Exit Status}{46}{subsection.15.7.4}}
-\newlabel{man/rm:exit-status}{{15.7.4}{46}{Exit Status\relax }{subsection.15.7.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.5}See Also}{46}{subsection.15.7.5}}
-\newlabel{man/rm:see-also}{{15.7.5}{46}{See Also\relax }{subsection.15.7.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.8}The \textbf {s3qllock} command}{47}{section.15.8}}
-\newlabel{man/lock:the-s3qllock-command}{{15.8}{47}{The \textbf {s3qllock} command\relax }{section.15.8}{}}
-\newlabel{man/lock::doc}{{15.8}{47}{The \textbf {s3qllock} command\relax }{section.15.8}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.1}Synopsis}{47}{subsection.15.8.1}}
-\newlabel{man/lock:synopsis}{{15.8.1}{47}{Synopsis\relax }{subsection.15.8.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.2}Description}{47}{subsection.15.8.2}}
-\newlabel{man/lock:description}{{15.8.2}{47}{Description\relax }{subsection.15.8.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.3}Rationale}{47}{subsection.15.8.3}}
-\newlabel{man/lock:rationale}{{15.8.3}{47}{Rationale\relax }{subsection.15.8.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.4}Options}{47}{subsection.15.8.4}}
-\newlabel{man/lock:options}{{15.8.4}{47}{Options\relax }{subsection.15.8.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.5}Exit Status}{47}{subsection.15.8.5}}
-\newlabel{man/lock:exit-status}{{15.8.5}{47}{Exit Status\relax }{subsection.15.8.5}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.6}See Also}{48}{subsection.15.8.6}}
-\newlabel{man/lock:see-also}{{15.8.6}{48}{See Also\relax }{subsection.15.8.6}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.9}The \textbf {umount.s3ql} command}{48}{section.15.9}}
-\newlabel{man/umount::doc}{{15.9}{48}{The \textbf {umount.s3ql} command\relax }{section.15.9}{}}
-\newlabel{man/umount:the-umount-s3ql-command}{{15.9}{48}{The \textbf {umount.s3ql} command\relax }{section.15.9}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.1}Synopsis}{48}{subsection.15.9.1}}
-\newlabel{man/umount:synopsis}{{15.9.1}{48}{Synopsis\relax }{subsection.15.9.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.2}Description}{48}{subsection.15.9.2}}
-\newlabel{man/umount:description}{{15.9.2}{48}{Description\relax }{subsection.15.9.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.3}Options}{48}{subsection.15.9.3}}
-\newlabel{man/umount:options}{{15.9.3}{48}{Options\relax }{subsection.15.9.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.4}Exit Status}{48}{subsection.15.9.4}}
-\newlabel{man/umount:exit-status}{{15.9.4}{48}{Exit Status\relax }{subsection.15.9.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.5}See Also}{48}{subsection.15.9.5}}
-\newlabel{man/umount:see-also}{{15.9.5}{48}{See Also\relax }{subsection.15.9.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.10}The \textbf {fsck.s3ql} command}{49}{section.15.10}}
-\newlabel{man/fsck::doc}{{15.10}{49}{The \textbf {fsck.s3ql} command\relax }{section.15.10}{}}
-\newlabel{man/fsck:the-fsck-s3ql-command}{{15.10}{49}{The \textbf {fsck.s3ql} command\relax }{section.15.10}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.1}Synopsis}{49}{subsection.15.10.1}}
-\newlabel{man/fsck:synopsis}{{15.10.1}{49}{Synopsis\relax }{subsection.15.10.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.2}Description}{49}{subsection.15.10.2}}
-\newlabel{man/fsck:description}{{15.10.2}{49}{Description\relax }{subsection.15.10.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.3}Options}{49}{subsection.15.10.3}}
-\newlabel{man/fsck:options}{{15.10.3}{49}{Options\relax }{subsection.15.10.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.4}Exit Status}{49}{subsection.15.10.4}}
-\newlabel{man/fsck:exit-status}{{15.10.4}{49}{Exit Status\relax }{subsection.15.10.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.5}See Also}{49}{subsection.15.10.5}}
-\newlabel{man/fsck:see-also}{{15.10.5}{49}{See Also\relax }{subsection.15.10.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.11}The \textbf {pcp} command}{50}{section.15.11}}
-\newlabel{man/pcp:the-pcp-command}{{15.11}{50}{The \textbf {pcp} command\relax }{section.15.11}{}}
-\newlabel{man/pcp::doc}{{15.11}{50}{The \textbf {pcp} command\relax }{section.15.11}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.1}Synopsis}{50}{subsection.15.11.1}}
-\newlabel{man/pcp:synopsis}{{15.11.1}{50}{Synopsis\relax }{subsection.15.11.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.2}Description}{50}{subsection.15.11.2}}
-\newlabel{man/pcp:description}{{15.11.2}{50}{Description\relax }{subsection.15.11.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.3}Options}{50}{subsection.15.11.3}}
-\newlabel{man/pcp:options}{{15.11.3}{50}{Options\relax }{subsection.15.11.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.4}Exit Status}{50}{subsection.15.11.4}}
-\newlabel{man/pcp:exit-status}{{15.11.4}{50}{Exit Status\relax }{subsection.15.11.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.5}See Also}{50}{subsection.15.11.5}}
-\newlabel{man/pcp:see-also}{{15.11.5}{50}{See Also\relax }{subsection.15.11.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {15.12}The \textbf {expire\_backups} command}{50}{section.15.12}}
-\newlabel{man/expire_backups::doc}{{15.12}{50}{The \textbf {expire\_backups} command\relax }{section.15.12}{}}
-\newlabel{man/expire_backups:the-expire-backups-command}{{15.12}{50}{The \textbf {expire\_backups} command\relax }{section.15.12}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.1}Synopsis}{50}{subsection.15.12.1}}
-\newlabel{man/expire_backups:synopsis}{{15.12.1}{50}{Synopsis\relax }{subsection.15.12.1}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.2}Description}{50}{subsection.15.12.2}}
-\newlabel{man/expire_backups:description}{{15.12.2}{50}{Description\relax }{subsection.15.12.2}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.3}Options}{51}{subsection.15.12.3}}
-\newlabel{man/expire_backups:options}{{15.12.3}{51}{Options\relax }{subsection.15.12.3}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.4}Exit Status}{52}{subsection.15.12.4}}
-\newlabel{man/expire_backups:exit-status}{{15.12.4}{52}{Exit Status\relax }{subsection.15.12.4}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.5}See Also}{52}{subsection.15.12.5}}
-\newlabel{man/expire_backups:see-also}{{15.12.5}{52}{See Also\relax }{subsection.15.12.5}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {16}Further Resources / Getting Help}{53}{chapter.16}}
+\newlabel{man/index:manpages}{{15}{41}{Manpages\relax }{chapter.15}{}}
+\newlabel{man/index::doc}{{15}{41}{Manpages\relax }{chapter.15}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.1}The \textbf {mkfs.s3ql} command}{41}{section.15.1}}
+\newlabel{man/mkfs:the-mkfs-s3ql-command}{{15.1}{41}{The \textbf {mkfs.s3ql} command\relax }{section.15.1}{}}
+\newlabel{man/mkfs::doc}{{15.1}{41}{The \textbf {mkfs.s3ql} command\relax }{section.15.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.1}Synopsis}{41}{subsection.15.1.1}}
+\newlabel{man/mkfs:synopsis}{{15.1.1}{41}{Synopsis\relax }{subsection.15.1.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.2}Description}{41}{subsection.15.1.2}}
+\newlabel{man/mkfs:description}{{15.1.2}{41}{Description\relax }{subsection.15.1.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.3}Options}{41}{subsection.15.1.3}}
+\newlabel{man/mkfs:options}{{15.1.3}{41}{Options\relax }{subsection.15.1.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.4}Exit Status}{42}{subsection.15.1.4}}
+\newlabel{man/mkfs:exit-status}{{15.1.4}{42}{Exit Status\relax }{subsection.15.1.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.1.5}See Also}{42}{subsection.15.1.5}}
+\newlabel{man/mkfs:see-also}{{15.1.5}{42}{See Also\relax }{subsection.15.1.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.2}The \textbf {s3qladm} command}{42}{section.15.2}}
+\newlabel{man/adm:the-s3qladm-command}{{15.2}{42}{The \textbf {s3qladm} command\relax }{section.15.2}{}}
+\newlabel{man/adm::doc}{{15.2}{42}{The \textbf {s3qladm} command\relax }{section.15.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.1}Synopsis}{42}{subsection.15.2.1}}
+\newlabel{man/adm:synopsis}{{15.2.1}{42}{Synopsis\relax }{subsection.15.2.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.2}Description}{42}{subsection.15.2.2}}
+\newlabel{man/adm:description}{{15.2.2}{42}{Description\relax }{subsection.15.2.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.3}Options}{42}{subsection.15.2.3}}
+\newlabel{man/adm:options}{{15.2.3}{42}{Options\relax }{subsection.15.2.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.4}Actions}{43}{subsection.15.2.4}}
+\newlabel{man/adm:actions}{{15.2.4}{43}{Actions\relax }{subsection.15.2.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.5}Exit Status}{43}{subsection.15.2.5}}
+\newlabel{man/adm:exit-status}{{15.2.5}{43}{Exit Status\relax }{subsection.15.2.5}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.6}See Also}{43}{subsection.15.2.6}}
+\newlabel{man/adm:see-also}{{15.2.6}{43}{See Also\relax }{subsection.15.2.6}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.3}The \textbf {mount.s3ql} command}{43}{section.15.3}}
+\newlabel{man/mount:the-mount-s3ql-command}{{15.3}{43}{The \textbf {mount.s3ql} command\relax }{section.15.3}{}}
+\newlabel{man/mount::doc}{{15.3}{43}{The \textbf {mount.s3ql} command\relax }{section.15.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.1}Synopsis}{43}{subsection.15.3.1}}
+\newlabel{man/mount:synopsis}{{15.3.1}{43}{Synopsis\relax }{subsection.15.3.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.2}Description}{43}{subsection.15.3.2}}
+\newlabel{man/mount:description}{{15.3.2}{43}{Description\relax }{subsection.15.3.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.3}Options}{44}{subsection.15.3.3}}
+\newlabel{man/mount:options}{{15.3.3}{44}{Options\relax }{subsection.15.3.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.4}Exit Status}{45}{subsection.15.3.4}}
+\newlabel{man/mount:exit-status}{{15.3.4}{45}{Exit Status\relax }{subsection.15.3.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.5}See Also}{45}{subsection.15.3.5}}
+\newlabel{man/mount:see-also}{{15.3.5}{45}{See Also\relax }{subsection.15.3.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.4}The \textbf {s3qlstat} command}{45}{section.15.4}}
+\newlabel{man/stat:the-s3qlstat-command}{{15.4}{45}{The \textbf {s3qlstat} command\relax }{section.15.4}{}}
+\newlabel{man/stat::doc}{{15.4}{45}{The \textbf {s3qlstat} command\relax }{section.15.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.1}Synopsis}{45}{subsection.15.4.1}}
+\newlabel{man/stat:synopsis}{{15.4.1}{45}{Synopsis\relax }{subsection.15.4.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.2}Description}{45}{subsection.15.4.2}}
+\newlabel{man/stat:description}{{15.4.2}{45}{Description\relax }{subsection.15.4.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.3}Options}{45}{subsection.15.4.3}}
+\newlabel{man/stat:options}{{15.4.3}{45}{Options\relax }{subsection.15.4.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.4}Exit Status}{45}{subsection.15.4.4}}
+\newlabel{man/stat:exit-status}{{15.4.4}{45}{Exit Status\relax }{subsection.15.4.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.5}See Also}{46}{subsection.15.4.5}}
+\newlabel{man/stat:see-also}{{15.4.5}{46}{See Also\relax }{subsection.15.4.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.5}The \textbf {s3qlctrl} command}{46}{section.15.5}}
+\newlabel{man/ctrl:the-s3qlctrl-command}{{15.5}{46}{The \textbf {s3qlctrl} command\relax }{section.15.5}{}}
+\newlabel{man/ctrl::doc}{{15.5}{46}{The \textbf {s3qlctrl} command\relax }{section.15.5}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.1}Synopsis}{46}{subsection.15.5.1}}
+\newlabel{man/ctrl:synopsis}{{15.5.1}{46}{Synopsis\relax }{subsection.15.5.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.2}Description}{46}{subsection.15.5.2}}
+\newlabel{man/ctrl:description}{{15.5.2}{46}{Description\relax }{subsection.15.5.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.3}Options}{46}{subsection.15.5.3}}
+\newlabel{man/ctrl:options}{{15.5.3}{46}{Options\relax }{subsection.15.5.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.4}Exit Status}{47}{subsection.15.5.4}}
+\newlabel{man/ctrl:exit-status}{{15.5.4}{47}{Exit Status\relax }{subsection.15.5.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.5.5}See Also}{47}{subsection.15.5.5}}
+\newlabel{man/ctrl:see-also}{{15.5.5}{47}{See Also\relax }{subsection.15.5.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.6}The \textbf {s3qlcp} command}{47}{section.15.6}}
+\newlabel{man/cp:the-s3qlcp-command}{{15.6}{47}{The \textbf {s3qlcp} command\relax }{section.15.6}{}}
+\newlabel{man/cp::doc}{{15.6}{47}{The \textbf {s3qlcp} command\relax }{section.15.6}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.1}Synopsis}{47}{subsection.15.6.1}}
+\newlabel{man/cp:synopsis}{{15.6.1}{47}{Synopsis\relax }{subsection.15.6.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.2}Description}{47}{subsection.15.6.2}}
+\newlabel{man/cp:description}{{15.6.2}{47}{Description\relax }{subsection.15.6.2}{}}
+\@writefile{toc}{\contentsline {subsubsection}{Snapshotting vs Hardlinking}{47}{subsubsection*.3}}
+\newlabel{man/cp:snapshotting-vs-hardlinking}{{15.6.2}{47}{Snapshotting vs Hardlinking\relax }{subsubsection*.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.3}Options}{48}{subsection.15.6.3}}
+\newlabel{man/cp:options}{{15.6.3}{48}{Options\relax }{subsection.15.6.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.4}Exit Status}{48}{subsection.15.6.4}}
+\newlabel{man/cp:exit-status}{{15.6.4}{48}{Exit Status\relax }{subsection.15.6.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.6.5}See Also}{48}{subsection.15.6.5}}
+\newlabel{man/cp:see-also}{{15.6.5}{48}{See Also\relax }{subsection.15.6.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.7}The \textbf {s3qlrm} command}{48}{section.15.7}}
+\newlabel{man/rm:the-s3qlrm-command}{{15.7}{48}{The \textbf {s3qlrm} command\relax }{section.15.7}{}}
+\newlabel{man/rm::doc}{{15.7}{48}{The \textbf {s3qlrm} command\relax }{section.15.7}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.1}Synopsis}{48}{subsection.15.7.1}}
+\newlabel{man/rm:synopsis}{{15.7.1}{48}{Synopsis\relax }{subsection.15.7.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.2}Description}{48}{subsection.15.7.2}}
+\newlabel{man/rm:description}{{15.7.2}{48}{Description\relax }{subsection.15.7.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.3}Options}{48}{subsection.15.7.3}}
+\newlabel{man/rm:options}{{15.7.3}{48}{Options\relax }{subsection.15.7.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.4}Exit Status}{49}{subsection.15.7.4}}
+\newlabel{man/rm:exit-status}{{15.7.4}{49}{Exit Status\relax }{subsection.15.7.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.7.5}See Also}{49}{subsection.15.7.5}}
+\newlabel{man/rm:see-also}{{15.7.5}{49}{See Also\relax }{subsection.15.7.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.8}The \textbf {s3qllock} command}{49}{section.15.8}}
+\newlabel{man/lock:the-s3qllock-command}{{15.8}{49}{The \textbf {s3qllock} command\relax }{section.15.8}{}}
+\newlabel{man/lock::doc}{{15.8}{49}{The \textbf {s3qllock} command\relax }{section.15.8}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.1}Synopsis}{49}{subsection.15.8.1}}
+\newlabel{man/lock:synopsis}{{15.8.1}{49}{Synopsis\relax }{subsection.15.8.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.2}Description}{49}{subsection.15.8.2}}
+\newlabel{man/lock:description}{{15.8.2}{49}{Description\relax }{subsection.15.8.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.3}Rationale}{49}{subsection.15.8.3}}
+\newlabel{man/lock:rationale}{{15.8.3}{49}{Rationale\relax }{subsection.15.8.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.4}Options}{50}{subsection.15.8.4}}
+\newlabel{man/lock:options}{{15.8.4}{50}{Options\relax }{subsection.15.8.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.5}Exit Status}{50}{subsection.15.8.5}}
+\newlabel{man/lock:exit-status}{{15.8.5}{50}{Exit Status\relax }{subsection.15.8.5}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.8.6}See Also}{50}{subsection.15.8.6}}
+\newlabel{man/lock:see-also}{{15.8.6}{50}{See Also\relax }{subsection.15.8.6}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.9}The \textbf {umount.s3ql} command}{50}{section.15.9}}
+\newlabel{man/umount:the-umount-s3ql-command}{{15.9}{50}{The \textbf {umount.s3ql} command\relax }{section.15.9}{}}
+\newlabel{man/umount::doc}{{15.9}{50}{The \textbf {umount.s3ql} command\relax }{section.15.9}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.1}Synopsis}{50}{subsection.15.9.1}}
+\newlabel{man/umount:synopsis}{{15.9.1}{50}{Synopsis\relax }{subsection.15.9.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.2}Description}{50}{subsection.15.9.2}}
+\newlabel{man/umount:description}{{15.9.2}{50}{Description\relax }{subsection.15.9.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.3}Options}{50}{subsection.15.9.3}}
+\newlabel{man/umount:options}{{15.9.3}{50}{Options\relax }{subsection.15.9.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.4}Exit Status}{51}{subsection.15.9.4}}
+\newlabel{man/umount:exit-status}{{15.9.4}{51}{Exit Status\relax }{subsection.15.9.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.9.5}See Also}{51}{subsection.15.9.5}}
+\newlabel{man/umount:see-also}{{15.9.5}{51}{See Also\relax }{subsection.15.9.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.10}The \textbf {fsck.s3ql} command}{51}{section.15.10}}
+\newlabel{man/fsck:the-fsck-s3ql-command}{{15.10}{51}{The \textbf {fsck.s3ql} command\relax }{section.15.10}{}}
+\newlabel{man/fsck::doc}{{15.10}{51}{The \textbf {fsck.s3ql} command\relax }{section.15.10}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.1}Synopsis}{51}{subsection.15.10.1}}
+\newlabel{man/fsck:synopsis}{{15.10.1}{51}{Synopsis\relax }{subsection.15.10.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.2}Description}{51}{subsection.15.10.2}}
+\newlabel{man/fsck:description}{{15.10.2}{51}{Description\relax }{subsection.15.10.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.3}Options}{51}{subsection.15.10.3}}
+\newlabel{man/fsck:options}{{15.10.3}{51}{Options\relax }{subsection.15.10.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.4}Exit Status}{52}{subsection.15.10.4}}
+\newlabel{man/fsck:exit-status}{{15.10.4}{52}{Exit Status\relax }{subsection.15.10.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.10.5}See Also}{52}{subsection.15.10.5}}
+\newlabel{man/fsck:see-also}{{15.10.5}{52}{See Also\relax }{subsection.15.10.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.11}The \textbf {pcp} command}{52}{section.15.11}}
+\newlabel{man/pcp:the-pcp-command}{{15.11}{52}{The \textbf {pcp} command\relax }{section.15.11}{}}
+\newlabel{man/pcp::doc}{{15.11}{52}{The \textbf {pcp} command\relax }{section.15.11}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.1}Synopsis}{52}{subsection.15.11.1}}
+\newlabel{man/pcp:synopsis}{{15.11.1}{52}{Synopsis\relax }{subsection.15.11.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.2}Description}{52}{subsection.15.11.2}}
+\newlabel{man/pcp:description}{{15.11.2}{52}{Description\relax }{subsection.15.11.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.3}Options}{52}{subsection.15.11.3}}
+\newlabel{man/pcp:options}{{15.11.3}{52}{Options\relax }{subsection.15.11.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.4}Exit Status}{52}{subsection.15.11.4}}
+\newlabel{man/pcp:exit-status}{{15.11.4}{52}{Exit Status\relax }{subsection.15.11.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.11.5}See Also}{52}{subsection.15.11.5}}
+\newlabel{man/pcp:see-also}{{15.11.5}{52}{See Also\relax }{subsection.15.11.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15.12}The \textbf {expire\_backups} command}{53}{section.15.12}}
+\newlabel{man/expire_backups:the-expire-backups-command}{{15.12}{53}{The \textbf {expire\_backups} command\relax }{section.15.12}{}}
+\newlabel{man/expire_backups::doc}{{15.12}{53}{The \textbf {expire\_backups} command\relax }{section.15.12}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.1}Synopsis}{53}{subsection.15.12.1}}
+\newlabel{man/expire_backups:synopsis}{{15.12.1}{53}{Synopsis\relax }{subsection.15.12.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.2}Description}{53}{subsection.15.12.2}}
+\newlabel{man/expire_backups:description}{{15.12.2}{53}{Description\relax }{subsection.15.12.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.3}Options}{53}{subsection.15.12.3}}
+\newlabel{man/expire_backups:options}{{15.12.3}{53}{Options\relax }{subsection.15.12.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.4}Exit Status}{54}{subsection.15.12.4}}
+\newlabel{man/expire_backups:exit-status}{{15.12.4}{54}{Exit Status\relax }{subsection.15.12.4}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.12.5}See Also}{54}{subsection.15.12.5}}
+\newlabel{man/expire_backups:see-also}{{15.12.5}{54}{See Also\relax }{subsection.15.12.5}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {16}Further Resources / Getting Help}{55}{chapter.16}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{resources::doc}{{16}{53}{Further Resources / Getting Help\relax }{chapter.16}{}}
-\newlabel{resources:further-resources-getting-help}{{16}{53}{Further Resources / Getting Help\relax }{chapter.16}{}}
-\newlabel{resources:resources}{{16}{53}{Further Resources / Getting Help\relax }{chapter.16}{}}
-\@writefile{toc}{\contentsline {chapter}{\numberline {17}Implementation Details}{55}{chapter.17}}
+\newlabel{resources:resources}{{16}{55}{Further Resources / Getting Help\relax }{chapter.16}{}}
+\newlabel{resources:further-resources-getting-help}{{16}{55}{Further Resources / Getting Help\relax }{chapter.16}{}}
+\newlabel{resources::doc}{{16}{55}{Further Resources / Getting Help\relax }{chapter.16}{}}
+\@writefile{toc}{\contentsline {chapter}{\numberline {17}Implementation Details}{57}{chapter.17}}
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{impl_details:implementation-details}{{17}{55}{Implementation Details\relax }{chapter.17}{}}
-\newlabel{impl_details::doc}{{17}{55}{Implementation Details\relax }{chapter.17}{}}
-\newlabel{impl_details:impl-details}{{17}{55}{Implementation Details\relax }{chapter.17}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {17.1}Metadata Storage}{55}{section.17.1}}
-\newlabel{impl_details:metadata-storage}{{17.1}{55}{Metadata Storage\relax }{section.17.1}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {17.2}Data Storage}{55}{section.17.2}}
-\newlabel{impl_details:data-storage}{{17.2}{55}{Data Storage\relax }{section.17.2}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {17.3}Data De-Duplication}{55}{section.17.3}}
-\newlabel{impl_details:data-de-duplication}{{17.3}{55}{Data De-Duplication\relax }{section.17.3}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {17.4}Caching}{56}{section.17.4}}
-\newlabel{impl_details:caching}{{17.4}{56}{Caching\relax }{section.17.4}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {17.5}Eventual Consistency Handling}{56}{section.17.5}}
-\newlabel{impl_details:eventual-consistency-handling}{{17.5}{56}{Eventual Consistency Handling\relax }{section.17.5}{}}
-\@writefile{toc}{\contentsline {section}{\numberline {17.6}Encryption}{56}{section.17.6}}
-\newlabel{impl_details:encryption}{{17.6}{56}{Encryption\relax }{section.17.6}{}}
+\newlabel{impl_details:impl-details}{{17}{57}{Implementation Details\relax }{chapter.17}{}}
+\newlabel{impl_details:implementation-details}{{17}{57}{Implementation Details\relax }{chapter.17}{}}
+\newlabel{impl_details::doc}{{17}{57}{Implementation Details\relax }{chapter.17}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {17.1}Metadata Storage}{57}{section.17.1}}
+\newlabel{impl_details:metadata-storage}{{17.1}{57}{Metadata Storage\relax }{section.17.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {17.2}Data Storage}{57}{section.17.2}}
+\newlabel{impl_details:data-storage}{{17.2}{57}{Data Storage\relax }{section.17.2}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {17.3}Data De-Duplication}{57}{section.17.3}}
+\newlabel{impl_details:data-de-duplication}{{17.3}{57}{Data De-Duplication\relax }{section.17.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {17.4}Caching}{58}{section.17.4}}
+\newlabel{impl_details:caching}{{17.4}{58}{Caching\relax }{section.17.4}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {17.5}Eventual Consistency Handling}{58}{section.17.5}}
+\newlabel{impl_details:eventual-consistency-handling}{{17.5}{58}{Eventual Consistency Handling\relax }{section.17.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {17.6}Encryption}{58}{section.17.6}}
+\newlabel{impl_details:encryption}{{17.6}{58}{Encryption\relax }{section.17.6}{}}
diff --git a/doc/latex/manual.log b/doc/latex/manual.log
index 1522868..6d7f4ce 100644
--- a/doc/latex/manual.log
+++ b/doc/latex/manual.log
@@ -1,4 +1,4 @@
-This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) (format=pdflatex 2013.1.12) 12 JUL 2013 20:51
+This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) (format=pdflatex 2013.1.12) 19 OCT 2013 14:26
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
@@ -240,12 +240,14 @@ Now handling font encoding U ...
defining Unicode char U+2423 (decimal 9251)
))
defining Unicode char U+00A0 (decimal 160)
-(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
+(/usr/share/texlive/texmf-dist/tex/latex/cmap/cmap.sty
+Package: cmap 2008/03/06 v1.0h CMap support: searchable PDF
+) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
-)) (/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
+)<<t1.cmap>>) (/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2008/07/08 v3.8m The Babel package
(/usr/share/texlive/texmf-dist/tex/generic/babel/english.ldf
Language: english 2005/03/30 v3.3o English support from the babel system
@@ -291,7 +293,17 @@ Package: longtable 2004/02/01 v4.11 Multi-page Table package (DPC)
\LT@p@ftn=\toks16
) (./sphinx.sty
Package: sphinx 2010/01/15 LaTeX package (Sphinx markup)
-(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
+(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
+\fancy@headwidth=\skip54
+\f@ncyO@elh=\skip55
+\f@ncyO@erh=\skip56
+\f@ncyO@olh=\skip57
+\f@ncyO@orh=\skip58
+\f@ncyO@elf=\skip59
+\f@ncyO@erf=\skip60
+\f@ncyO@olf=\skip61
+\f@ncyO@orf=\skip62
+) (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
Package textcomp Info: Sub-encoding information:
(textcomp) 5 = only ISO-Adobe without \textcurrency
@@ -443,16 +455,6 @@ Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 337.
Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 338.
Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 339.
Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 340.
-) (/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
-\fancy@headwidth=\skip54
-\f@ncyO@elh=\skip55
-\f@ncyO@erh=\skip56
-\f@ncyO@olh=\skip57
-\f@ncyO@orh=\skip58
-\f@ncyO@elf=\skip59
-\f@ncyO@erf=\skip60
-\f@ncyO@olf=\skip61
-\f@ncyO@orf=\skip62
) (/usr/share/texlive/texmf-dist/tex/latex/fancybox/fancybox.sty
Package: fancybox 2010/05/15 1.4
Style option: `fancybox' v1.4 <2010/05/15> (tvz)
@@ -739,28 +741,28 @@ Writing index file manual.idx
(./manual.aux)
\openout1 = `manual.aux'.
-LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 113.
-LaTeX Font Info: ... okay on input line 113.
-LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 113.
-LaTeX Font Info: ... okay on input line 113.
-LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 113.
-LaTeX Font Info: ... okay on input line 113.
-LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 113.
-LaTeX Font Info: ... okay on input line 113.
-LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 113.
-LaTeX Font Info: ... okay on input line 113.
-LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 113.
-LaTeX Font Info: ... okay on input line 113.
-LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 113.
-LaTeX Font Info: Try loading font information for TS1+cmr on input line 113.
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 117.
+LaTeX Font Info: ... okay on input line 117.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 117.
+LaTeX Font Info: ... okay on input line 117.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 117.
+LaTeX Font Info: ... okay on input line 117.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 117.
+LaTeX Font Info: ... okay on input line 117.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 117.
+LaTeX Font Info: ... okay on input line 117.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 117.
+LaTeX Font Info: ... okay on input line 117.
+LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 117.
+LaTeX Font Info: Try loading font information for TS1+cmr on input line 117.
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
)
-LaTeX Font Info: ... okay on input line 113.
-LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 113.
-LaTeX Font Info: ... okay on input line 113.
-LaTeX Font Info: Try loading font information for T1+ptm on input line 113.
+LaTeX Font Info: ... okay on input line 117.
+LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 117.
+LaTeX Font Info: ... okay on input line 117.
+LaTeX Font Info: Try loading font information for T1+ptm on input line 117.
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd
File: t1ptm.fd 2001/06/04 font definitions for T1/ptm.
) (/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
@@ -790,7 +792,7 @@ File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
\AtBeginShipoutBox=\box41
-Package hyperref Info: Link coloring ON on input line 113.
+Package hyperref Info: Link coloring ON on input line 117.
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
@@ -798,33 +800,33 @@ Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
)
\c@section@level=\count130
)
-LaTeX Info: Redefining \ref on input line 113.
-LaTeX Info: Redefining \pageref on input line 113.
-LaTeX Info: Redefining \nameref on input line 113.
+LaTeX Info: Redefining \ref on input line 117.
+LaTeX Info: Redefining \pageref on input line 117.
+LaTeX Info: Redefining \nameref on input line 117.
(./manual.out) (./manual.out)
\@outlinefile=\write6
\openout6 = `manual.out'.
-Underfull \hbox (badness 10000) in paragraph at lines 116--116
+Underfull \hbox (badness 10000) in paragraph at lines 120--120
[]
-LaTeX Font Info: Try loading font information for T1+phv on input line 116.
+LaTeX Font Info: Try loading font information for T1+phv on input line 120.
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd
File: t1phv.fd 2001/06/04 scalable font definitions for T1/phv.
)
LaTeX Font Info: Font shape `T1/phv/bx/n' in size <24.88> not available
-(Font) Font shape `T1/phv/b/n' tried instead on input line 116.
+(Font) Font shape `T1/phv/b/n' tried instead on input line 120.
LaTeX Font Info: Font shape `T1/phv/m/it' in size <17.28> not available
-(Font) Font shape `T1/phv/m/sl' tried instead on input line 116.
+(Font) Font shape `T1/phv/m/sl' tried instead on input line 120.
LaTeX Font Info: Font shape `T1/phv/bx/it' in size <17.28> not available
-(Font) Font shape `T1/phv/b/it' tried instead on input line 116.
+(Font) Font shape `T1/phv/b/it' tried instead on input line 120.
LaTeX Font Info: Font shape `T1/phv/b/it' in size <17.28> not available
-(Font) Font shape `T1/phv/b/sl' tried instead on input line 116.
+(Font) Font shape `T1/phv/b/sl' tried instead on input line 120.
LaTeX Font Info: Font shape `T1/phv/bx/n' in size <17.28> not available
-(Font) Font shape `T1/phv/b/n' tried instead on input line 116.
-[1
+(Font) Font shape `T1/phv/b/n' tried instead on input line 120.
+<<ot1.cmap>><<oml.cmap>><<oms.cmap>><<omx.cmap>> [1
{/home/nikratio/.texmf-var/fonts/map/pdftex/updmap/pdftex.map
@@ -1057,12 +1059,12 @@ p/pdftex.map): ambiguous entry for `/zero': font file present but not included,
LaTeX Font Info: Font shape `T1/ptm/bx/n' in size <10> not available
(Font) Font shape `T1/ptm/b/n' tried instead on input line 2.
LaTeX Font Info: Font shape `T1/phv/bx/n' in size <10> not available
-(Font) Font shape `T1/phv/b/n' tried instead on input line 40.
+(Font) Font shape `T1/phv/b/n' tried instead on input line 41.
pdfTeX warning (ext4): destination with the same identifier (name{page.i}) has
been already used, duplicate ignored
<to be read again>
\relax
-l.40 ....5}Runtime Configuration}{23}{section.8.5}
+l.41 ....5}Runtime Configuration}{25}{section.8.5}
[1
])
@@ -1073,12 +1075,16 @@ pdfTeX warning (ext4): destination with the same identifier (name{page.ii}) has
been already used, duplicate ignored
<to be read again>
\relax
-l.116 \tableofcontents
+l.120 \tableofcontents
[2]
Chapter 1.
LaTeX Font Info: Font shape `T1/phv/bx/n' in size <14.4> not available
-(Font) Font shape `T1/phv/b/n' tried instead on input line 121.
-LaTeX Font Info: Try loading font information for TS1+ptm on input line 143.
+(Font) Font shape `T1/phv/b/n' tried instead on input line 125.
+LaTeX Font Info: Font shape `T1/ptm/bx/n' in size <14.4> not available
+(Font) Font shape `T1/ptm/b/n' tried instead on input line 125.
+LaTeX Font Info: Font shape `T1/ptm/bx/n' in size <24.88> not available
+(Font) Font shape `T1/ptm/b/n' tried instead on input line 125.
+LaTeX Font Info: Try loading font information for TS1+ptm on input line 147.
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1ptm.fd
File: ts1ptm.fd 2001/06/04 font definitions for TS1/ptm.
@@ -1087,184 +1093,179 @@ File: ts1ptm.fd 2001/06/04 font definitions for TS1/ptm.
] [2]
Chapter 2.
-LaTeX Font Info: Try loading font information for T1+pcr on input line 249.
+LaTeX Font Info: Try loading font information for T1+pcr on input line 253.
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd
File: t1pcr.fd 2001/06/04 font definitions for T1/pcr.
) [3
-] [4]
-Chapter 3.
-[5
-
]
-LaTeX Font Info: Font shape `T1/phv/bx/n' in size <12> not available
-(Font) Font shape `T1/phv/b/n' tried instead on input line 405.
LaTeX Font Info: Font shape `T1/pcr/m/it' in size <9> not available
-(Font) Font shape `T1/pcr/m/sl' tried instead on input line 440.
+(Font) Font shape `T1/pcr/m/sl' tried instead on input line 363.
+[4] [5] [6
-Underfull \hbox (badness 10000) in paragraph at lines 494--495
-
- []
-
-[6] [7] [8
+]
+Chapter 3.
+LaTeX Font Info: Font shape `T1/phv/bx/n' in size <12> not available
+(Font) Font shape `T1/phv/b/n' tried instead on input line 479.
+[7] [8] [9] [10
]
Chapter 4.
-[9] [10] [11] [12]
+[11] [12] [13] [14]
Chapter 5.
-Underfull \hbox (badness 10000) in paragraph at lines 856--858
+Underfull \hbox (badness 10000) in paragraph at lines 926--928
[]\T1/ptm/m/n/10 Read au-then-ti-ca-tion cre-den-tials from this file (de-fault
:
[]
-[13
+[15
-] [14
+] [16
]
Chapter 6.
-Underfull \hbox (badness 10000) in paragraph at lines 921--923
+Underfull \hbox (badness 10000) in paragraph at lines 993--995
[]\T1/ptm/m/n/10 Read au-then-ti-ca-tion cre-den-tials from this file (de-fault
:
[]
-[15]
-Underfull \hbox (badness 10000) in paragraph at lines 1000--1001
+[17]
+Underfull \hbox (badness 10000) in paragraph at lines 1071--1075
[]
-[16]
+[18]
Chapter 7.
-Underfull \hbox (badness 10000) in paragraph at lines 1030--1032
+Underfull \hbox (badness 10000) in paragraph at lines 1104--1106
[]\T1/ptm/m/n/10 Read au-then-ti-ca-tion cre-den-tials from this file (de-fault
:
[]
-[17
+[19
-] [18] [19] [20]
+] [20] [21] [22]
Chapter 8.
-[21
+[23
-] [22] [23] [24
+] [24] [25] [26
]
Chapter 9.
-[25] [26
+[27] [28
]
Chapter 10.
-Underfull \hbox (badness 10000) in paragraph at lines 1495--1497
+Underfull \hbox (badness 10000) in paragraph at lines 1573--1575
[]\T1/ptm/m/n/10 Read au-then-ti-ca-tion cre-den-tials from this file (de-fault
:
[]
-[27] [28
+[29] [30
]
Chapter 11.
-[29] [30]
-Chapter 12.
-[31
+[31] [32
]
-Underfull \hbox (badness 10000) in paragraph at lines 1706--1711
+Chapter 12.
+[33]
+Underfull \hbox (badness 10000) in paragraph at lines 1786--1791
[]\T1/ptm/b/n/10 expire_backups \T1/ptm/m/n/10 us-age is sim-ple. It re-quires
back-ups to have names of the forms
[]
-[32] [33] [34
+[34] [35] [36
]
Chapter 13.
-[35] [36]
+[37] [38]
Chapter 14.
-[37
+[39
-] [38]
+] [40]
Chapter 15.
-Underfull \hbox (badness 10000) in paragraph at lines 1973--1975
+Underfull \hbox (badness 10000) in paragraph at lines 2062--2064
[]\T1/ptm/m/n/10 Read au-then-ti-ca-tion cre-den-tials from this file (de-fault
:
[]
-[39
+[41
]
-Underfull \hbox (badness 10000) in paragraph at lines 2057--2059
+Underfull \hbox (badness 10000) in paragraph at lines 2148--2150
[]\T1/ptm/m/n/10 Read au-then-ti-ca-tion cre-den-tials from this file (de-fault
:
[]
-[40] [41]
-Underfull \hbox (badness 10000) in paragraph at lines 2141--2143
+[42] [43]
+Underfull \hbox (badness 10000) in paragraph at lines 2234--2236
[]\T1/ptm/m/n/10 Read au-then-ti-ca-tion cre-den-tials from this file (de-fault
:
[]
-[42] [43] [44] [45] [46] [47] [48]
-Underfull \hbox (badness 10000) in paragraph at lines 2706--2708
+[44] [45] [46] [47] [48] [49] [50]
+Underfull \hbox (badness 10000) in paragraph at lines 2803--2805
[]\T1/ptm/m/n/10 Read au-then-ti-ca-tion cre-den-tials from this file (de-fault
:
[]
-[49] [50]
-Underfull \hbox (badness 10000) in paragraph at lines 2854--2859
+[51] [52]
+Underfull \hbox (badness 10000) in paragraph at lines 2953--2958
[]\T1/ptm/b/n/10 expire_backups \T1/ptm/m/n/10 us-age is sim-ple. It re-quires
back-ups to have names of the forms
[]
-[51] [52]
+[53] [54]
Chapter 16.
-[53
+[55
-] [54
+] [56
]
Chapter 17.
-[55]
-Underfull \hbox (badness 10000) in paragraph at lines 3023--3028
+[57]
+Underfull \hbox (badness 10000) in paragraph at lines 3122--3127
\T1/ptm/m/n/10 S3QL has to take into ac-count that changes in ob-jects do not p
rop-a-gate im-me-di-ately in all
[]
-Underfull \hbox (badness 10000) in paragraph at lines 3023--3028
+Underfull \hbox (badness 10000) in paragraph at lines 3122--3127
\T1/ptm/m/n/10 back-ends. For ex-am-ple, when an Ama-zon S3 ob-ject is up-loade
d and im-me-di-ately down-loaded
[]
-Underfull \hbox (badness 10000) in paragraph at lines 3023--3028
+Underfull \hbox (badness 10000) in paragraph at lines 3122--3127
\T1/ptm/m/n/10 again, the down-loaded data might not yet re-flect the changes d
one in the up-load (see also
[]
No file manual.ind.
-Package atveryend Info: Empty hook `BeforeClearDocument' on input line 3077.
-[56]
-Package atveryend Info: Empty hook `AfterLastShipout' on input line 3077.
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line 3176.
+[58]
+Package atveryend Info: Empty hook `AfterLastShipout' on input line 3176.
(./manual.aux)
-Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 3077.
-Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 3077.
+Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 3176.
+Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 3176.
Package rerunfilecheck Info: File `manual.out' has not changed.
-(rerunfilecheck) Checksum: 7A6F1FD0F711DAD93CCB1C3AE0E2E389;4506.
-Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 3077.
+(rerunfilecheck) Checksum: BD3AC68B2FC01E42D6F47A4791A50203;4591.
+Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 3176.
)
Here is how much of TeX's memory you used:
- 9259 strings out of 495007
- 128803 string characters out of 3179690
- 230495 words of memory out of 3000000
- 12048 multiletter control sequences out of 15000+200000
- 58515 words of font info for 65 fonts, out of 3000000 for 9000
+ 9349 strings out of 495007
+ 130161 string characters out of 3179690
+ 231017 words of memory out of 3000000
+ 12074 multiletter control sequences out of 15000+200000
+ 61907 words of font info for 67 fonts, out of 3000000 for 9000
15 hyphenation exceptions out of 8191
- 38i,12n,51p,248b,490s stack positions out of 5000i,500n,10000p,200000b,50000s
+ 38i,12n,51p,258b,490s stack positions out of 5000i,500n,10000p,200000b,50000s
{/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr/share/texliv
e/texmf-dist/fonts/type1/urw/courier/ucrr8a.pfb></usr/share/texlive/texmf-dist/
fonts/type1/urw/courier/ucrro8a.pfb></usr/share/texlive/texmf-dist/fonts/type1/
@@ -1272,10 +1273,10 @@ urw/helvetic/uhvb8a.pfb></usr/share/texlive/texmf-dist/fonts/type1/urw/helvetic
/uhvbo8a.pfb></usr/share/texlive/texmf-dist/fonts/type1/urw/times/utmb8a.pfb></
usr/share/texlive/texmf-dist/fonts/type1/urw/times/utmr8a.pfb></usr/share/texli
ve/texmf-dist/fonts/type1/urw/times/utmri8a.pfb>
-Output written on manual.pdf (60 pages, 227074 bytes).
+Output written on manual.pdf (62 pages, 239002 bytes).
PDF statistics:
- 909 PDF objects out of 1000 (max. 8388607)
- 831 compressed objects within 9 object streams
- 231 named destinations out of 1000 (max. 500000)
- 569 words of extra memory for PDF output out of 10000 (max. 10000000)
+ 928 PDF objects out of 1000 (max. 8388607)
+ 843 compressed objects within 9 object streams
+ 234 named destinations out of 1000 (max. 500000)
+ 597 words of extra memory for PDF output out of 10000 (max. 10000000)
diff --git a/doc/latex/manual.out b/doc/latex/manual.out
index 5fd1228..59ecc20 100644
--- a/doc/latex/manual.out
+++ b/doc/latex/manual.out
@@ -5,67 +5,68 @@
\BOOKMARK [1][-]{section.2.1}{Dependencies}{chapter.2}% 5
\BOOKMARK [1][-]{section.2.2}{Installing S3QL}{chapter.2}% 6
\BOOKMARK [1][-]{section.2.3}{Development Version}{chapter.2}% 7
-\BOOKMARK [0][-]{chapter.3}{Storage Backends}{}% 8
-\BOOKMARK [1][-]{section.3.1}{Google Storage}{chapter.3}% 9
-\BOOKMARK [1][-]{section.3.2}{Amazon S3}{chapter.3}% 10
-\BOOKMARK [1][-]{section.3.3}{OpenStack/Swift}{chapter.3}% 11
-\BOOKMARK [1][-]{section.3.4}{RackSpace CloudFiles}{chapter.3}% 12
-\BOOKMARK [1][-]{section.3.5}{S3 compatible}{chapter.3}% 13
-\BOOKMARK [1][-]{section.3.6}{Local}{chapter.3}% 14
-\BOOKMARK [0][-]{chapter.4}{Important Rules to Avoid Losing Data}{}% 15
-\BOOKMARK [1][-]{section.4.1}{Rules in a Nutshell}{chapter.4}% 16
-\BOOKMARK [1][-]{section.4.2}{Consistency Window List}{chapter.4}% 17
-\BOOKMARK [1][-]{section.4.3}{Data Consistency}{chapter.4}% 18
-\BOOKMARK [1][-]{section.4.4}{Data Durability}{chapter.4}% 19
-\BOOKMARK [0][-]{chapter.5}{File System Creation}{}% 20
-\BOOKMARK [0][-]{chapter.6}{Managing File Systems}{}% 21
-\BOOKMARK [1][-]{section.6.1}{Changing the Passphrase}{chapter.6}% 22
-\BOOKMARK [1][-]{section.6.2}{Upgrading the file system}{chapter.6}% 23
-\BOOKMARK [1][-]{section.6.3}{Deleting a file system}{chapter.6}% 24
-\BOOKMARK [1][-]{section.6.4}{Restoring Metadata Backups}{chapter.6}% 25
-\BOOKMARK [0][-]{chapter.7}{Mounting}{}% 26
-\BOOKMARK [1][-]{section.7.1}{Compression Algorithms}{chapter.7}% 27
-\BOOKMARK [1][-]{section.7.2}{Notes about Caching}{chapter.7}% 28
-\BOOKMARK [1][-]{section.7.3}{Automatic Mounting}{chapter.7}% 29
-\BOOKMARK [0][-]{chapter.8}{Advanced S3QL Features}{}% 30
-\BOOKMARK [1][-]{section.8.1}{Snapshotting and Copy-on-Write}{chapter.8}% 31
-\BOOKMARK [1][-]{section.8.2}{Getting Statistics}{chapter.8}% 32
-\BOOKMARK [1][-]{section.8.3}{Immutable Trees}{chapter.8}% 33
-\BOOKMARK [1][-]{section.8.4}{Fast Recursive Removal}{chapter.8}% 34
-\BOOKMARK [1][-]{section.8.5}{Runtime Configuration}{chapter.8}% 35
-\BOOKMARK [0][-]{chapter.9}{Unmounting}{}% 36
-\BOOKMARK [0][-]{chapter.10}{Checking for Errors}{}% 37
-\BOOKMARK [0][-]{chapter.11}{Storing Authentication Information}{}% 38
-\BOOKMARK [0][-]{chapter.12}{Contributed Programs}{}% 39
-\BOOKMARK [1][-]{section.12.1}{benchmark.py}{chapter.12}% 40
-\BOOKMARK [1][-]{section.12.2}{s3\137copy.py}{chapter.12}% 41
-\BOOKMARK [1][-]{section.12.3}{pcp.py}{chapter.12}% 42
-\BOOKMARK [1][-]{section.12.4}{s3\137backup.sh}{chapter.12}% 43
-\BOOKMARK [1][-]{section.12.5}{expire\137backups.py}{chapter.12}% 44
-\BOOKMARK [1][-]{section.12.6}{s3ql\137upstart.conf}{chapter.12}% 45
-\BOOKMARK [0][-]{chapter.13}{Tips \046 Tricks}{}% 46
-\BOOKMARK [1][-]{section.13.1}{SSH Backend}{chapter.13}% 47
-\BOOKMARK [1][-]{section.13.2}{Permanently mounted backup file system}{chapter.13}% 48
-\BOOKMARK [1][-]{section.13.3}{Improving copy performance}{chapter.13}% 49
-\BOOKMARK [0][-]{chapter.14}{Known Issues}{}% 50
-\BOOKMARK [0][-]{chapter.15}{Manpages}{}% 51
-\BOOKMARK [1][-]{section.15.1}{The mkfs.s3ql command}{chapter.15}% 52
-\BOOKMARK [1][-]{section.15.2}{The s3qladm command}{chapter.15}% 53
-\BOOKMARK [1][-]{section.15.3}{The mount.s3ql command}{chapter.15}% 54
-\BOOKMARK [1][-]{section.15.4}{The s3qlstat command}{chapter.15}% 55
-\BOOKMARK [1][-]{section.15.5}{The s3qlctrl command}{chapter.15}% 56
-\BOOKMARK [1][-]{section.15.6}{The s3qlcp command}{chapter.15}% 57
-\BOOKMARK [1][-]{section.15.7}{The s3qlrm command}{chapter.15}% 58
-\BOOKMARK [1][-]{section.15.8}{The s3qllock command}{chapter.15}% 59
-\BOOKMARK [1][-]{section.15.9}{The umount.s3ql command}{chapter.15}% 60
-\BOOKMARK [1][-]{section.15.10}{The fsck.s3ql command}{chapter.15}% 61
-\BOOKMARK [1][-]{section.15.11}{The pcp command}{chapter.15}% 62
-\BOOKMARK [1][-]{section.15.12}{The expire\137backups command}{chapter.15}% 63
-\BOOKMARK [0][-]{chapter.16}{Further Resources / Getting Help}{}% 64
-\BOOKMARK [0][-]{chapter.17}{Implementation Details}{}% 65
-\BOOKMARK [1][-]{section.17.1}{Metadata Storage}{chapter.17}% 66
-\BOOKMARK [1][-]{section.17.2}{Data Storage}{chapter.17}% 67
-\BOOKMARK [1][-]{section.17.3}{Data De-Duplication}{chapter.17}% 68
-\BOOKMARK [1][-]{section.17.4}{Caching}{chapter.17}% 69
-\BOOKMARK [1][-]{section.17.5}{Eventual Consistency Handling}{chapter.17}% 70
-\BOOKMARK [1][-]{section.17.6}{Encryption}{chapter.17}% 71
+\BOOKMARK [1][-]{section.2.4}{Running tests requiring remote servers}{chapter.2}% 8
+\BOOKMARK [0][-]{chapter.3}{Storage Backends}{}% 9
+\BOOKMARK [1][-]{section.3.1}{Google Storage}{chapter.3}% 10
+\BOOKMARK [1][-]{section.3.2}{Amazon S3}{chapter.3}% 11
+\BOOKMARK [1][-]{section.3.3}{OpenStack/Swift}{chapter.3}% 12
+\BOOKMARK [1][-]{section.3.4}{Rackspace CloudFiles}{chapter.3}% 13
+\BOOKMARK [1][-]{section.3.5}{S3 compatible}{chapter.3}% 14
+\BOOKMARK [1][-]{section.3.6}{Local}{chapter.3}% 15
+\BOOKMARK [0][-]{chapter.4}{Important Rules to Avoid Losing Data}{}% 16
+\BOOKMARK [1][-]{section.4.1}{Rules in a Nutshell}{chapter.4}% 17
+\BOOKMARK [1][-]{section.4.2}{Consistency Window List}{chapter.4}% 18
+\BOOKMARK [1][-]{section.4.3}{Data Consistency}{chapter.4}% 19
+\BOOKMARK [1][-]{section.4.4}{Data Durability}{chapter.4}% 20
+\BOOKMARK [0][-]{chapter.5}{File System Creation}{}% 21
+\BOOKMARK [0][-]{chapter.6}{Managing File Systems}{}% 22
+\BOOKMARK [1][-]{section.6.1}{Changing the Passphrase}{chapter.6}% 23
+\BOOKMARK [1][-]{section.6.2}{Upgrading the file system}{chapter.6}% 24
+\BOOKMARK [1][-]{section.6.3}{Deleting a file system}{chapter.6}% 25
+\BOOKMARK [1][-]{section.6.4}{Restoring Metadata Backups}{chapter.6}% 26
+\BOOKMARK [0][-]{chapter.7}{Mounting}{}% 27
+\BOOKMARK [1][-]{section.7.1}{Compression Algorithms}{chapter.7}% 28
+\BOOKMARK [1][-]{section.7.2}{Notes about Caching}{chapter.7}% 29
+\BOOKMARK [1][-]{section.7.3}{Automatic Mounting}{chapter.7}% 30
+\BOOKMARK [0][-]{chapter.8}{Advanced S3QL Features}{}% 31
+\BOOKMARK [1][-]{section.8.1}{Snapshotting and Copy-on-Write}{chapter.8}% 32
+\BOOKMARK [1][-]{section.8.2}{Getting Statistics}{chapter.8}% 33
+\BOOKMARK [1][-]{section.8.3}{Immutable Trees}{chapter.8}% 34
+\BOOKMARK [1][-]{section.8.4}{Fast Recursive Removal}{chapter.8}% 35
+\BOOKMARK [1][-]{section.8.5}{Runtime Configuration}{chapter.8}% 36
+\BOOKMARK [0][-]{chapter.9}{Unmounting}{}% 37
+\BOOKMARK [0][-]{chapter.10}{Checking for Errors}{}% 38
+\BOOKMARK [0][-]{chapter.11}{Storing Authentication Information}{}% 39
+\BOOKMARK [0][-]{chapter.12}{Contributed Programs}{}% 40
+\BOOKMARK [1][-]{section.12.1}{benchmark.py}{chapter.12}% 41
+\BOOKMARK [1][-]{section.12.2}{s3\137copy.py}{chapter.12}% 42
+\BOOKMARK [1][-]{section.12.3}{pcp.py}{chapter.12}% 43
+\BOOKMARK [1][-]{section.12.4}{s3\137backup.sh}{chapter.12}% 44
+\BOOKMARK [1][-]{section.12.5}{expire\137backups.py}{chapter.12}% 45
+\BOOKMARK [1][-]{section.12.6}{s3ql\137upstart.conf}{chapter.12}% 46
+\BOOKMARK [0][-]{chapter.13}{Tips \046 Tricks}{}% 47
+\BOOKMARK [1][-]{section.13.1}{SSH Backend}{chapter.13}% 48
+\BOOKMARK [1][-]{section.13.2}{Permanently mounted backup file system}{chapter.13}% 49
+\BOOKMARK [1][-]{section.13.3}{Improving copy performance}{chapter.13}% 50
+\BOOKMARK [0][-]{chapter.14}{Known Issues}{}% 51
+\BOOKMARK [0][-]{chapter.15}{Manpages}{}% 52
+\BOOKMARK [1][-]{section.15.1}{The mkfs.s3ql command}{chapter.15}% 53
+\BOOKMARK [1][-]{section.15.2}{The s3qladm command}{chapter.15}% 54
+\BOOKMARK [1][-]{section.15.3}{The mount.s3ql command}{chapter.15}% 55
+\BOOKMARK [1][-]{section.15.4}{The s3qlstat command}{chapter.15}% 56
+\BOOKMARK [1][-]{section.15.5}{The s3qlctrl command}{chapter.15}% 57
+\BOOKMARK [1][-]{section.15.6}{The s3qlcp command}{chapter.15}% 58
+\BOOKMARK [1][-]{section.15.7}{The s3qlrm command}{chapter.15}% 59
+\BOOKMARK [1][-]{section.15.8}{The s3qllock command}{chapter.15}% 60
+\BOOKMARK [1][-]{section.15.9}{The umount.s3ql command}{chapter.15}% 61
+\BOOKMARK [1][-]{section.15.10}{The fsck.s3ql command}{chapter.15}% 62
+\BOOKMARK [1][-]{section.15.11}{The pcp command}{chapter.15}% 63
+\BOOKMARK [1][-]{section.15.12}{The expire\137backups command}{chapter.15}% 64
+\BOOKMARK [0][-]{chapter.16}{Further Resources / Getting Help}{}% 65
+\BOOKMARK [0][-]{chapter.17}{Implementation Details}{}% 66
+\BOOKMARK [1][-]{section.17.1}{Metadata Storage}{chapter.17}% 67
+\BOOKMARK [1][-]{section.17.2}{Data Storage}{chapter.17}% 68
+\BOOKMARK [1][-]{section.17.3}{Data De-Duplication}{chapter.17}% 69
+\BOOKMARK [1][-]{section.17.4}{Caching}{chapter.17}% 70
+\BOOKMARK [1][-]{section.17.5}{Eventual Consistency Handling}{chapter.17}% 71
+\BOOKMARK [1][-]{section.17.6}{Encryption}{chapter.17}% 72
diff --git a/doc/latex/manual.tex b/doc/latex/manual.tex
index bc792d3..bc05afc 100644
--- a/doc/latex/manual.tex
+++ b/doc/latex/manual.tex
@@ -3,6 +3,7 @@
\documentclass[letterpaper,10pt,english]{sphinxmanual}
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{00A0}{\nobreakspace}
+\usepackage{cmap}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{times}
@@ -13,8 +14,8 @@
\title{S3QL Documentation}
-\date{July 12, 2013}
-\release{1.16}
+\date{October 19, 2013}
+\release{2.5}
\author{Nikolaus Rath}
\newcommand{\sphinxlogo}{}
\renewcommand{\releasename}{Release}
@@ -31,66 +32,66 @@
\PYG@it{\PYG@bf{\PYG@ff{#1}}}}}}}
\def\PYG#1#2{\PYG@reset\PYG@toks#1+\relax+\PYG@do{#2}}
-\expandafter\def\csname PYG@tok@gd\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@gu\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}}
-\expandafter\def\csname PYG@tok@gt\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.25,0.82}{##1}}}
-\expandafter\def\csname PYG@tok@gs\endcsname{\let\PYG@bf=\textbf}
-\expandafter\def\csname PYG@tok@gr\endcsname{\def\PYG@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@cm\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.50,0.50,0.50}{##1}}}
-\expandafter\def\csname PYG@tok@vg\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.82,0.44,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@m\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.38,0.00,0.88}{##1}}}
-\expandafter\def\csname PYG@tok@mh\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.31,0.50}{##1}}}
-\expandafter\def\csname PYG@tok@cs\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.80,0.00,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@c1\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.53,0.53,0.53}{##1}}}
+\expandafter\def\csname PYG@tok@bp\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}}
+\expandafter\def\csname PYG@tok@no\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.20,0.40}{##1}}}
+\expandafter\def\csname PYG@tok@vc\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.20,0.40,0.60}{##1}}}
+\expandafter\def\csname PYG@tok@err\endcsname{\def\PYG@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.67,0.67}{\strut ##1}}}
\expandafter\def\csname PYG@tok@ge\endcsname{\let\PYG@it=\textit}
-\expandafter\def\csname PYG@tok@vc\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.19,0.38,0.56}{##1}}}
-\expandafter\def\csname PYG@tok@il\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.82}{##1}}}
-\expandafter\def\csname PYG@tok@go\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.50,0.50,0.50}{##1}}}
-\expandafter\def\csname PYG@tok@cp\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.31,0.44,0.56}{##1}}}
-\expandafter\def\csname PYG@tok@gi\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.63,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@gh\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
-\expandafter\def\csname PYG@tok@ni\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.50,0.00,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@nl\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.56,0.44,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@nn\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.05,0.52,0.71}{##1}}}
-\expandafter\def\csname PYG@tok@no\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.19,0.38}{##1}}}
-\expandafter\def\csname PYG@tok@na\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.75}{##1}}}
-\expandafter\def\csname PYG@tok@nb\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}}
-\expandafter\def\csname PYG@tok@nc\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.69,0.00,0.38}{##1}}}
-\expandafter\def\csname PYG@tok@nd\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.31,0.31,0.31}{##1}}}
-\expandafter\def\csname PYG@tok@ne\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.94,0.00,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@nf\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.38,0.69}{##1}}}
-\expandafter\def\csname PYG@tok@si\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{0.88,0.88,0.88}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@s2\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@vi\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.19,0.19,0.69}{##1}}}
-\expandafter\def\csname PYG@tok@nt\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@nv\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.56,0.38,0.19}{##1}}}
-\expandafter\def\csname PYG@tok@s1\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@gp\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.78,0.36,0.04}{##1}}}
+\expandafter\def\csname PYG@tok@nv\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.60,0.40,0.20}{##1}}}
+\expandafter\def\csname PYG@tok@sb\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
+\expandafter\def\csname PYG@tok@nt\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.47,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@sd\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.87,0.27,0.13}{##1}}}
+\expandafter\def\csname PYG@tok@se\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
+\expandafter\def\csname PYG@tok@mo\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.27,0.00,0.93}{##1}}}
\expandafter\def\csname PYG@tok@sh\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@ow\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@sx\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.82,0.13,0.00}{##1}}\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@bp\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}}
-\expandafter\def\csname PYG@tok@c1\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.50,0.50,0.50}{##1}}}
-\expandafter\def\csname PYG@tok@kc\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@c\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.50,0.50,0.50}{##1}}}
-\expandafter\def\csname PYG@tok@mf\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.38,0.00,0.88}{##1}}}
-\expandafter\def\csname PYG@tok@err\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.94,0.00,0.00}{##1}}\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{0.94,0.63,0.63}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@kd\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@ss\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.63,0.38,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@si\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{0.93,0.93,0.93}{\strut ##1}}}
+\expandafter\def\csname PYG@tok@ne\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@cm\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.53,0.53,0.53}{##1}}}
+\expandafter\def\csname PYG@tok@nf\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.40,0.73}{##1}}}
\expandafter\def\csname PYG@tok@sr\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.00}{##1}}\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,1.00}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@mo\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.25,0.00,0.88}{##1}}}
-\expandafter\def\csname PYG@tok@mi\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.82}{##1}}}
-\expandafter\def\csname PYG@tok@kn\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@o\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.19,0.19,0.19}{##1}}}
-\expandafter\def\csname PYG@tok@kr\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@ss\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.67,0.40,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@nc\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.73,0.00,0.40}{##1}}}
+\expandafter\def\csname PYG@tok@nb\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}}
+\expandafter\def\csname PYG@tok@na\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.80}{##1}}}
+\expandafter\def\csname PYG@tok@sx\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.87,0.13,0.00}{##1}}\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
+\expandafter\def\csname PYG@tok@nn\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.05,0.52,0.71}{##1}}}
+\expandafter\def\csname PYG@tok@nl\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.60,0.47,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@ni\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.53,0.00,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@cp\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.33,0.47,0.60}{##1}}}
\expandafter\def\csname PYG@tok@s\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@kp\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.19,0.50}{##1}}}
+\expandafter\def\csname PYG@tok@cs\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.80,0.00,0.00}{##1}}}
\expandafter\def\csname PYG@tok@w\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.73,0.73}{##1}}}
-\expandafter\def\csname PYG@tok@kt\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.19,0.19,0.56}{##1}}}
-\expandafter\def\csname PYG@tok@sc\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.25,0.82}{##1}}}
-\expandafter\def\csname PYG@tok@sb\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@k\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
-\expandafter\def\csname PYG@tok@se\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.38,0.38,0.38}{##1}}\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
-\expandafter\def\csname PYG@tok@sd\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.82,0.25,0.13}{##1}}}
+\expandafter\def\csname PYG@tok@gt\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.27,0.87}{##1}}}
+\expandafter\def\csname PYG@tok@gu\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}}
+\expandafter\def\csname PYG@tok@gp\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.78,0.36,0.04}{##1}}}
+\expandafter\def\csname PYG@tok@gr\endcsname{\def\PYG@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@gs\endcsname{\let\PYG@bf=\textbf}
+\expandafter\def\csname PYG@tok@c\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.53,0.53,0.53}{##1}}}
+\expandafter\def\csname PYG@tok@sc\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.27,0.87}{##1}}}
+\expandafter\def\csname PYG@tok@gh\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
+\expandafter\def\csname PYG@tok@gi\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.63,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@gd\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@k\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.53,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@o\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.20,0.20,0.20}{##1}}}
+\expandafter\def\csname PYG@tok@m\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.40,0.00,0.93}{##1}}}
+\expandafter\def\csname PYG@tok@ow\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@kn\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.53,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@vi\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.20,0.20,0.73}{##1}}}
+\expandafter\def\csname PYG@tok@vg\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.87,0.47,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@mf\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.40,0.00,0.93}{##1}}}
+\expandafter\def\csname PYG@tok@kc\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.53,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@kd\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.53,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@s1\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
+\expandafter\def\csname PYG@tok@s2\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}}
+\expandafter\def\csname PYG@tok@go\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.53,0.53,0.53}{##1}}}
+\expandafter\def\csname PYG@tok@kr\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.53,0.00}{##1}}}
+\expandafter\def\csname PYG@tok@mh\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.33,0.53}{##1}}}
+\expandafter\def\csname PYG@tok@mi\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.87}{##1}}}
+\expandafter\def\csname PYG@tok@kp\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.20,0.53}{##1}}}
+\expandafter\def\csname PYG@tok@nd\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.33,0.33,0.33}{##1}}}
+\expandafter\def\csname PYG@tok@kt\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.20,0.20,0.60}{##1}}}
+\expandafter\def\csname PYG@tok@il\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.87}{##1}}}
\def\PYGZbs{\char`\\}
\def\PYGZus{\char`\_}
@@ -103,6 +104,9 @@
\def\PYGZsh{\char`\#}
\def\PYGZpc{\char`\%}
\def\PYGZdl{\char`\$}
+\def\PYGZhy{\char`\-}
+\def\PYGZsq{\char`\'}
+\def\PYGZdq{\char`\"}
\def\PYGZti{\char`\~}
% for compatibility with earlier versions
\def\PYGZat{@}
@@ -119,7 +123,7 @@
\chapter{About S3QL}
-\label{about:about-s3ql}\label{about::doc}\label{about:s3ql-user-s-guide}
+\label{about:about-s3ql}\label{about:s3ql-user-s-guide}\label{about::doc}
S3QL is a file system that stores all its data online using storage
services like \href{http://code.google.com/apis/storage/}{Google Storage}, \href{http://aws.amazon.com/s3AmazonS3}{Amazon S3} or \href{http://openstack.org/projects/storage/}{OpenStack}. S3QL effectively provides
a hard disk of dynamic, infinite capacity that can be accessed from
@@ -241,12 +245,16 @@ so under Linux you should actually use \emph{2.6.26 or newer whenever
possible}.
\item {}
-\href{http://www.python.org/}{Python} 2.7.0 or newer (but not Python
-3.x). Make sure to also install the development headers.
+\href{http://www.python.org/}{Python} 3.3.0 or newer. Make sure to also
+install the development headers.
+
+\item {}
+The \href{https://pypi.python.org/pypi/distribute}{setuptools/distribute Python Module}. To check if this
+module is installed, try to execute \code{python -c 'import setuptools'}.
\item {}
-The \href{http://pypi.python.org/pypi/pycryptopp}{PyCrypto++ Python Module}. To check if this module
-is installed, try to execute \code{python -c 'import pycryptopp'}.
+The \href{https://www.dlitz.net/software/pycrypto/}{PyCrypto Python Module}. To check if this
+module is installed, try to execute \code{python -c 'import Crypto'}.
\item {}
\href{http://www.sqlite.org/}{SQLite} version 3.7.0 or newer. SQLite
@@ -257,22 +265,16 @@ The \href{http://code.google.com/p/apsw/}{APSW Python Module}. To check
which (if any) version of APWS is installed, run the command
\begin{Verbatim}[commandchars=\\\{\}]
-\PYG{l}{python -c 'import apsw; print apsw.apswversion()'}
+\PYG{l}{python \PYGZhy{}c \PYGZsq{}import apsw; print(apsw.apswversion())\PYGZsq{}}
\end{Verbatim}
The printed version number should be at least 3.7.0.
\item {}
-The \href{http://pypi.python.org/pypi/pyliblzma}{PyLibLZMA Python module}. To check if this module
-is installed, execute \code{python -c 'import lzma; print
-lzma.\_\_version\_\_'}. This should print a version number. You need at
-least version 0.5.3.
-
-\item {}
The \href{http://code.google.com/p/python-llfuse/}{Python LLFUSE module}. To check if this module
-is installed, execute \code{python -c 'import llfuse; print
-llfuse.\_\_version\_\_'}. This should print a version number. You need at
-least version 0.37.
+is installed, execute \code{python -c 'import llfuse;
+print(llfuse.\_\_version\_\_)'}. This should print a version number. You
+need at least version 0.39.
\end{itemize}
@@ -288,10 +290,10 @@ Download S3QL from \href{http://code.google.com/p/s3ql/downloads/list}{http://co
Unpack it into a folder of your choice
\item {}
-Run \code{python setup.py build} to build S3QL.
+Run \code{python3 setup.py build\_ext -{-}inplace} to build S3QL.
\item {}
-Run \code{python setup.py test} to run a self-test. If this fails, ask
+Run \code{python3 runtests.py tests} to run a self-test. If this fails, ask
for help on the \href{http://groups.google.com/group/s3ql}{mailing list} or report a bug in the
\href{http://code.google.com/p/s3ql/issues/list}{issue tracker}.
@@ -304,10 +306,10 @@ You can run the S3QL commands from the \code{bin/} directory.
\item {}
You can install S3QL system-wide for all users. To do that, you
-have to run \code{sudo python setup.py install}.
+have to run \code{sudo python3 setup.py install}.
\item {}
-You can install S3QL into \code{\textasciitilde{}/.local} by executing \code{python
+You can install S3QL into \code{\textasciitilde{}/.local} by executing \code{python3
setup.py install -{-}user}. In this case you should make sure that
\code{\textasciitilde{}/.local/bin} is in your \code{\$PATH} environment variable.
@@ -317,21 +319,93 @@ setup.py install -{-}user}. In this case you should make sure that
\section{Development Version}
\label{installation:development-version}
If you have checked out the unstable development version from the
-Mercurial repository, a bit more effort is required. You need to also
-have \href{http://www.cython.org/}{Cython} (0.16 or newer) and \href{http://sphinx.pocoo.org/}{Sphinx} (1.1 or newer) installed, and
-the necessary commands are:
+Mercurial repository, a bit more effort is required. You'll also need:
+\begin{itemize}
+\item {}
+Version 0.17 or newer of the \href{http://www.cython.org/}{Cython} compiler.
+
+\item {}
+Version 1.1 or newer of the \href{http://sphinx.pocoo.org/}{Sphinx} document processor.
+
+\item {}
+The \href{http://pytest.org/}{py.test} testing tool, version 2.3.3 or newer.
+
+\end{itemize}
+
+With these additional dependencies installed, S3QL can be build and
+tested with
+
+\begin{Verbatim}[commandchars=\\\{\}]
+\PYG{l}{python3 setup.py build\PYGZus{}cython}
+\PYG{l}{python3 setup.py build\PYGZus{}ext \PYGZhy{}\PYGZhy{}inplace}
+\PYG{l}{py.test tests/}
+\end{Verbatim}
+
+Note that when building from the Mercurial repository, building and
+testing is done with several additional checks. This may cause
+compilation and/or tests to fail even though there are no problems
+with functionality. For example, when building from the Mercurial
+repository, any use of functions that are scheduled for deprecation in
+future Python version will cause tests to fail. If you would rather
+just check for functionality, you can delete the \code{MANIFEST.in}
+file. In that case, the build system will behave as it does for a
+regular release.
+
+The HTML and PDF documentation can be generated with
+
+\begin{Verbatim}[commandchars=\\\{\}]
+\PYG{l}{python3 setup.py build\PYGZus{}sphinx}
+\end{Verbatim}
+
+and S3QL can be installed as usual with
+
+\begin{Verbatim}[commandchars=\\\{\}]
+\PYG{l}{python3 setup.py install }\PYG{g+ge}{[\PYGZhy{}\PYGZhy{}user]}
+\end{Verbatim}
+
+
+\section{Running tests requiring remote servers}
+\label{installation:running-tests-requiring-remote-servers}
+By default, the \code{runtest.py} (or \code{py.test}) script skips all tests
+that require connection to a remote storage backend. If you would like
+to run these tests too (which is always a good idea), you have to
+create additional entries in your \code{\textasciitilde{}/.s3ql/authinfo2} file that tell
+S3QL what server and credentials to use for these tests. These entries
+have the following form:
+
+\begin{Verbatim}[commandchars=\\\{\}]
+\PYG{g+ge}{[\PYGZlt{}BACKEND\PYGZgt{}\PYGZhy{}test]}
+\PYG{l}{backend\PYGZhy{}login: }\PYG{n+nv}{\PYGZlt{}user\PYGZgt{}}
+\PYG{l}{backend\PYGZhy{}password: }\PYG{n+nv}{\PYGZlt{}password\PYGZgt{}}
+\PYG{l}{test\PYGZhy{}fs: }\PYG{n+nv}{\PYGZlt{}storage\PYGZhy{}url\PYGZgt{}}
+\end{Verbatim}
+
+Here \emph{\textless{}BACKEND\textgreater{}} specifies the backend that you want to test
+(e.g. \emph{s3}, \emph{s3c}, \emph{gs}, or \emph{swift}), \emph{\textless{}user\textgreater{}} and \emph{\textless{}password\textgreater{}} are
+the backend authentication credentials, and \emph{\textless{}storage-url\textgreater{}} specifies
+the full storage URL that will be used for testing. \textbf{Any existing
+S3QL file system in this storage URL will be destroyed during
+testing}.
+
+For example, to run tests that need connection to a Google Storage
+server, you would add something like
\begin{Verbatim}[commandchars=\\\{\}]
-\PYG{l}{python setup.py build\PYGZus{}cython}
-\PYG{l}{python setup.py build\PYGZus{}ext --inplace}
-\PYG{l}{python setup.py build\PYGZus{}sphinx}
-\PYG{l}{python setup.py test}
-\PYG{l}{python setup.py install}
+\PYG{g+ge}{[gs\PYGZhy{}test]}
+\PYG{l}{backend\PYGZhy{}login: GOOGIGWLONT238MD7HZ4}
+\PYG{l}{backend\PYGZhy{}password: rmEbstjscoeunt1249oes1298gauidbs3hl}
+\PYG{l}{test\PYGZhy{}fs: gs://joes\PYGZhy{}gs\PYGZhy{}bucket/s3ql\PYGZus{}tests/}
\end{Verbatim}
+On the next run of \code{runtest.py} (or \code{py.test} when using the
+development version), the additional tests will be run. If the tests
+are still skipped, you can get more information about why tests are
+being skipped by passing the \code{-rs} argument to
+\code{runtest.py}/\code{py.test}.
+
\chapter{Storage Backends}
-\label{backends::doc}\label{backends:id1}\label{backends:sphinx}\label{backends:storage-backends}
+\label{backends:storage-backends}\label{backends:py-test}\label{backends:id1}\label{backends::doc}
S3QL supports different \emph{backends} to store data at different service
providers and using different protocols. A \emph{storage url} specifies a
backend together with some backend-specific information and uniquely
@@ -383,7 +457,7 @@ that will hold the S3QL file system, e.g. using the \href{https://console.aws.am
Console}. For best
performance, it is recommend to create the bucket in the
geographically closest storage region, but not the US Standard region
-(see below).
+(see {\hyperref[durability:durability]{\emph{Important Rules to Avoid Losing Data}}} for the reason).
The storage URL for accessing S3 buckets in S3QL has the form
@@ -434,35 +508,46 @@ objects may cause subsequent data loss later in time (see
the cloud storage module of OpenStack. Swift/OpenStack storage is
offered by many different companies.
-The storage URL for the OpenStack backend has the form
+There are two different storage URL for the OpenStack backend that
+make use of different authentication APIs. For legacy (v1)
+authentication, the storage URL is
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{l}{swift://}\PYG{n+nv}{\PYGZlt{}hostname\PYGZgt{}}\PYG{g+ge}{[:\PYGZlt{}port\PYGZgt{}]}\PYG{l}{/}\PYG{n+nv}{\PYGZlt{}container\PYGZgt{}}\PYG{g+ge}{[/\PYGZlt{}prefix\PYGZgt{}]}
\end{Verbatim}
-Note that the storage container must already exist. Most OpenStack
-providers offer a web frontend that you can use to create storage
-containers. \emph{prefix} can be an arbitrary prefix that will be prepended
-to all object names used by S3QL. This allows you to store several
-S3QL file systems in the same container.
+for keystore (v2) authentication, the storage URL is
-The OpenStack backend always uses HTTPS connections. Note, however,
-that at this point S3QL does not verify the server certificate (cf.
-\href{http://code.google.com/p/s3ql/issues/detail?id=267}{issue 267}).
+\begin{Verbatim}[commandchars=\\\{\}]
+\PYG{l}{swiftks://}\PYG{n+nv}{\PYGZlt{}hostname\PYGZgt{}}\PYG{g+ge}{[:\PYGZlt{}port\PYGZgt{}]}\PYG{l}{/}\PYG{n+nv}{\PYGZlt{}region\PYGZgt{}}\PYG{l}{:}\PYG{n+nv}{\PYGZlt{}container\PYGZgt{}}\PYG{g+ge}{[/\PYGZlt{}prefix\PYGZgt{}]}
+\end{Verbatim}
+Note that when using keystore authentication, you can (and have to)
+specify the storage region of the container as well.
-\section{RackSpace CloudFiles}
-\label{backends:rackspace-cloudfiles}\label{backends:swift}
-\href{http://www.rackspace.com/}{Rackspace} CloudFiles uses \href{http://www.openstack.org/}{OpenStack} internally, so it is possible to
-just use the OpenStack/Swift backend (see above) with
-\code{auth.api.rackspacecloud.com} as the host name and your rackspace
-API key as the backend passphrase. However, in this case you are
-restricted to using containers in the default storage region.
+In both cases, \emph{hostname} name should be the name of the
+authentication server. The storage container must already exist (most
+OpenStack providers offer either a web frontend or a command line tool
+for creating containers). \emph{prefix} can be an arbitrary prefix that
+will be prepended to all object names used by S3QL, which can be used
+to store multiple S3QL file systems in the same container.
-To access containers in other storage regions, there is a special
-\code{rackspace} backend that uses a storage URL of the form
+When using legacy authentication, the backend login and password
+correspond to the OpenStack username and API Access Key. When using
+keystore authentication, the backend password is your regular
+OpenStack password and the backend login combines you OpenStack
+username and tenant name in the form \code{\textless{}tenant\textgreater{}:\textless{}user\textgreater{}}. If no tenant
+is required, the OpenStack username alone may be used as backend
+login.
-The storage URL for the OpenStack backend has the form
+
+\section{Rackspace CloudFiles}
+\label{backends:swift}\label{backends:rackspace-cloudfiles}
+\href{http://www.rackspace.com/}{Rackspace} CloudFiles uses \href{http://www.openstack.org/}{OpenStack} internally, so it is possible to
+just use the OpenStack/Swift backend (see above) with
+\code{auth.api.rackspacecloud.com} as the host name. For convenince,
+there is also a special \code{rackspace} backend that uses a storage URL
+of the form
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{l}{rackspace://}\PYG{n+nv}{\PYGZlt{}region\PYGZgt{}}\PYG{l}{/}\PYG{n+nv}{\PYGZlt{}container\PYGZgt{}}\PYG{g+ge}{[/\PYGZlt{}prefix\PYGZgt{}]}
@@ -473,39 +558,24 @@ region. \emph{prefix} can be an arbitrary prefix that will be prepended to
all object names used by S3QL and can be used to store several S3QL
file systems in the same container.
-The OpenStack backend always uses HTTPS connections. Note, however,
-that at this point S3QL does not verify the server certificate (cf.
-\href{http://code.google.com/p/s3ql/issues/detail?id=267}{issue 267}).
-
You can create a storage container for S3QL using the \href{https://mycloud.rackspace.com/}{Cloud Control
Panel} (click on \emph{Files} in the
topmost menu bar).
-\begin{notice}{warning}{Warning:}
-As of January 2012, RackSpace does not give any information about
-data consistency or data durability on their web page. However,
-RackSpace support agents (especially in the live chat) often claim
-very high guarantees. Any such statement is wrong. As of 01/2012,
-RackSpace CloudFiles does \emph{not} give \emph{any} durability or
+\begin{notice}{note}{Note:}
+As of January 2012, Rackspace does not give any durability or
consistency guarantees (see {\hyperref[durability:durability]{\emph{Important Rules to Avoid Losing Data}}} for why this is
-important). Why this fact is only acknowledged RackSpace's
-technical engineers, and/or not communicated to their sales agents
-is not known.
+important). However, Rackspace support agents seem prone to claim
+very high guarantees. Unless explicitly backed by their terms of
+service, any such statement should thus be viewed with
+suspicion. S3QL developers have also \href{http://www.rath.org/Tales\%20from\%20the\%20Rackspace\%20Support}{repeatedly experienced}
+similar issues with the credibility and competence of the Rackspace
+support.
\end{notice}
-You should note that opinions about RackSpace differ widely among S3QL
-users and developers. On one hand, people praise RackSpace for their
-backing of the (open source) OpenStack project. On the other hand,
-their heavily advertised ``fanatical support'' is in practice often not
-only \href{http://code.google.com/p/s3ql/issues/detail?id=243\#c5}{less than helpful}, but their
-support agents also seem to be \href{http://code.google.com/p/s3ql/issues/detail?id=243\#c11}{downright incompetent}. However,
-there are reports that the support quality increases dramatically once
-you are a customer and use the ``Live Chat'' link when you are logged
-into the control panel.
-
\section{S3 compatible}
-\label{backends:s3-compatible}\label{backends:rackspace}
+\label{backends:rackspace}\label{backends:s3-compatible}
The S3 compatible backend allows S3QL to access any storage service
that uses the same protocol as Amazon S3. The storage URL has the form
@@ -524,7 +594,7 @@ the same bucket.
S3QL is also able to store its data on the local file system. This can
be used to backup data on external media, or to access external
services that S3QL can not talk to directly (e.g., it is possible to
-store data over SSH by first mounting the remote system using {\color{red}\bfseries{}{}`sshfs{}`\_}
+store data over SSH by first mounting the remote system using \href{http://fuse.sourceforge.net/sshfs.html}{sshfs}
and then using the local backend to store the data in the sshfs
mountpoint).
@@ -544,7 +614,7 @@ storage url \code{local:///home/john/s3ql}.
\chapter{Important Rules to Avoid Losing Data}
-\label{durability:important-rules-to-avoid-losing-data}\label{durability::doc}\label{durability:durability}
+\label{durability:durability}\label{durability:important-rules-to-avoid-losing-data}\label{durability:sshfs}\label{durability::doc}
Most S3QL backends store data in distributed storage systems. These
systems differ from a traditional, local hard disk in several
important ways. In order to avoid losing data, this section should be
@@ -621,9 +691,9 @@ your storage provider.
\begin{tabulary}{\linewidth}{|L|L|}
\hline
-\textbf{
+\textbf{\relax
Storage Provider
-} & \textbf{
+} & \textbf{\relax
Consistency
}\\\hline
@@ -740,7 +810,7 @@ rise up to hours (\href{http://forums.aws.amazon.com/message.jspa?messageID=3847
\section{Data Durability}
-\label{durability:backend-reliability}\label{durability:data-durability}
+\label{durability:data-durability}\label{durability:backend-reliability}
The durability of a storage service a measure of the average
probability of a storage object to become corrupted over time. The
lower the chance of data loss, the higher the durability. Storage
@@ -832,7 +902,7 @@ over long periods of time.
\chapter{File System Creation}
-\label{mkfs::doc}\label{mkfs:file-system-creation}
+\label{mkfs:file-system-creation}\label{mkfs::doc}
A S3QL file system is created with the \code{mkfs.s3ql} command. It has the
following syntax:
@@ -861,11 +931,13 @@ get debug messages from all modules. This option can
be specified multiple times.
\item [-{-}quiet]
be really quiet
-\item [-{-}ssl]
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+\item [-{-}no-ssl]
+Do not use secure (ssl) connections when connecting to
+remote servers.
+\item [-{-}ssl-ca-path path]
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system's OpenSSL library are used.
\item [-{-}version]
just print program version and exit
\item [-L \textless{}name\textgreater{}]
@@ -896,7 +968,7 @@ file systems. The file system \emph{must not be mounted} when using
The syntax is
\begin{Verbatim}[commandchars=\\\{\}]
-\PYG{l}{s3qladm }\PYG{g+ge}{[options]}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}action\PYGZgt{}}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}storage-url\PYGZgt{}}
+\PYG{l}{s3qladm }\PYG{g+ge}{[options]}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}action\PYGZgt{}}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}storage\PYGZhy{}url\PYGZgt{}}
\end{Verbatim}
where \code{action} may be either of \textbf{passphrase},
@@ -907,8 +979,8 @@ matter what specific action is being invoked:
\begin{quote}
\begin{optionlist}{3cm}
\item [-{-}debug \textless{}module\textgreater{}]
-activate debugging output from \textless{}module\textgreater{}. Use \code{all} to get
-debug messages from all modules. This option can be
+activate debugging output from \textless{}module\textgreater{}. Use \code{all} to
+get debug messages from all modules. This option can be
specified multiple times.
\item [-{-}quiet]
be really quiet
@@ -916,15 +988,17 @@ be really quiet
Write logging info into this file. File will be rotated
when it reaches 1 MiB, and at most 5 old log files will
be kept. Specify \code{none} to disable logging. Default:
-\code{none}
+\code{None}
\item [-{-}authfile \textless{}path\textgreater{}]
Read authentication credentials from this file (default:
\code{\textasciitilde{}/.s3ql/authinfo2)}
-\item [-{-}ssl]
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+\item [-{-}no-ssl]
+Do not use secure (ssl) connections when connecting to
+remote servers.
+\item [-{-}ssl-ca-path path]
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system's OpenSSL library are used.
\item [-{-}cachedir \textless{}path\textgreater{}]
Store cached data in this directory (default: \code{\textasciitilde{}/.s3ql)}
\item [-{-}version]
@@ -985,7 +1059,7 @@ created backup copies.
The command
\begin{Verbatim}[commandchars=\\\{\}]
-\PYG{l}{s3qladm download-metadata }\PYG{n+nv}{\PYGZlt{}storage url\PYGZgt{}}
+\PYG{l}{s3qladm download\PYGZhy{}metadata }\PYG{n+nv}{\PYGZlt{}storage url\PYGZgt{}}
\end{Verbatim}
will give you a list of the available metadata backups and allow you
@@ -1035,11 +1109,13 @@ get debug messages from all modules. This option can
be specified multiple times.
\item [-{-}quiet]
be really quiet
-\item [-{-}ssl]
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+\item [-{-}no-ssl]
+Do not use secure (ssl) connections when connecting to
+remote servers.
+\item [-{-}ssl-ca-path path]
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system's OpenSSL library are used.
\item [-{-}version]
just print program version and exit
\item [-{-}cachesize \textless{}size\textgreater{}]
@@ -1077,10 +1153,12 @@ is up.
\item [-{-}profile]
Create profiling information. If you don't understand
this, then you don't need it.
-\item [-{-}compress \textless{}name\textgreater{}]
-Compression algorithm to use when storing new data.
-Allowed values: \code{lzma}, \code{bzip2}, \code{zlib}, none.
-(default: \code{lzma})
+\item [-{-}compress \textless{}algorithm-lvl\textgreater{}]
+Compression algorithm and compression level to use
+when storing new data. \emph{algorithm} may be any of
+\code{lzma}, \code{bzip2}, \code{zlib}, or none. \emph{lvl} may be any
+integer from 0 (fastest) to 9 (slowest). Default:
+\code{lzma-6}
\item [-{-}metadata-upload-interval \textless{}seconds\textgreater{}]
Interval in seconds between complete metadata uploads.
Set to 0 to disable. Default: 24h.
@@ -1143,7 +1221,7 @@ number of file descriptors per process to about a thousand.
If you specify a value for \code{-{-}max-cache-entries}, you should therefore
make sure to also configure your system to increase the maximum number
-of open file handles. This can be done temporarily with the \code{umask -n}
+of open file handles. This can be done temporarily with the \code{ulimit -n}
command. The method to permanently change this limit system-wide
depends on your distribution.
@@ -1169,46 +1247,46 @@ If your system is using upstart, an appropriate job can be defined
as follows (and should be placed in \code{/etc/init/}):
\begin{Verbatim}[commandchars=\\\{\},numbers=left,firstnumber=1,stepnumber=1]
-\PYG{l}{description "S3QL Backup File System"}
-\PYG{l}{author "Nikolaus Rath }\PYG{n+nv}{\PYGZlt{}Nikolaus@rath.org\PYGZgt{}}\PYG{l}{"}
+\PYG{l}{description \PYGZdq{}S3QL Backup File System\PYGZdq{}}
+\PYG{l}{author \PYGZdq{}Nikolaus Rath }\PYG{n+nv}{\PYGZlt{}Nikolaus@rath.org\PYGZgt{}}\PYG{l}{\PYGZdq{}}
\PYG{l}{\PYGZsh{} This assumes that eth0 provides your internet connection}
-\PYG{l}{start on (filesystem and net-device-up IFACE=eth0)}
+\PYG{l}{start on (filesystem and net\PYGZhy{}device\PYGZhy{}up IFACE=eth0)}
-\PYG{l}{\PYGZsh{} We can't use "stop on runlevel }\PYG{g+ge}{[016]}\PYG{l}{" because from that point on we}
+\PYG{l}{\PYGZsh{} We can\PYGZsq{}t use \PYGZdq{}stop on runlevel }\PYG{g+ge}{[016]}\PYG{l}{\PYGZdq{} because from that point on we}
\PYG{l}{\PYGZsh{} have only 10 seconds until the system shuts down completely.}
\PYG{l}{stop on starting rc RUNLEVEL=}\PYG{g+ge}{[016]}
\PYG{l}{\PYGZsh{} Time to wait before sending SIGKILL to the daemon and}
-\PYG{l}{\PYGZsh{} pre-stop script}
+\PYG{l}{\PYGZsh{} pre\PYGZhy{}stop script}
\PYG{l}{kill timeout 300}
-\PYG{l}{env STORAGE\PYGZus{}URL="s3://my-backup-bla"}
-\PYG{l}{env MOUNTPOINT="/mnt/backup"}
+\PYG{l}{env STORAGE\PYGZus{}URL=\PYGZdq{}s3://my\PYGZhy{}backup\PYGZhy{}bla\PYGZdq{}}
+\PYG{l}{env MOUNTPOINT=\PYGZdq{}/mnt/backup\PYGZdq{}}
-\PYG{l}{env USER="myusername"}
-\PYG{l}{env AUTHFILE="/path/to/authinfo2"}
+\PYG{l}{env USER=\PYGZdq{}myusername\PYGZdq{}}
+\PYG{l}{env AUTHFILE=\PYGZdq{}/path/to/authinfo2\PYGZdq{}}
\PYG{l}{expect stop}
\PYG{l}{script}
\PYG{l}{ \PYGZsh{} Redirect stdout and stderr into the system log}
-\PYG{l}{ DIR=\PYGZdl{}(mktemp -d)}
-\PYG{l}{ mkfifo "\PYGZdl{}DIR/LOG\PYGZus{}FIFO"}
-\PYG{l}{ logger -t s3ql -p local0.info }\PYG{n+nv}{\PYGZlt{} "\PYGZdl{}DIR/LOG\PYGZus{}FIFO" \PYGZam{}}
-\PYG{n+nv}{ exec \PYGZgt{}}\PYG{l}{ "\PYGZdl{}DIR/LOG\PYGZus{}FIFO"}
+\PYG{l}{ DIR=\PYGZdl{}(mktemp \PYGZhy{}d)}
+\PYG{l}{ mkfifo \PYGZdq{}\PYGZdl{}DIR/LOG\PYGZus{}FIFO\PYGZdq{}}
+\PYG{l}{ logger \PYGZhy{}t s3ql \PYGZhy{}p local0.info }\PYG{n+nv}{\PYGZlt{} \PYGZdq{}\PYGZdl{}DIR/LOG\PYGZus{}FIFO\PYGZdq{} \PYGZam{}}
+\PYG{n+nv}{ exec \PYGZgt{}}\PYG{l}{ \PYGZdq{}\PYGZdl{}DIR/LOG\PYGZus{}FIFO\PYGZdq{}}
\PYG{l}{ exec 2\PYGZgt{}\PYGZam{}1}
-\PYG{l}{ rm -rf "\PYGZdl{}DIR"}
+\PYG{l}{ rm \PYGZhy{}rf \PYGZdq{}\PYGZdl{}DIR\PYGZdq{}}
\PYG{l}{ \PYGZsh{} Check and mount file system}
-\PYG{l}{ su -s /bin/sh -c 'exec "\PYGZdl{}0" "\PYGZdl{}@"' "\PYGZdl{}USER" -- \PYGZbs{}}
-\PYG{l}{ fsck.s3ql --batch --authfile "\PYGZdl{}AUTHFILE" "\PYGZdl{}STORAGE\PYGZus{}URL"}
-\PYG{l}{ exec su -s /bin/sh -c 'exec "\PYGZdl{}0" "\PYGZdl{}@"' "\PYGZdl{}USER" -- \PYGZbs{}}
-\PYG{l}{ mount.s3ql --upstart --authfile "\PYGZdl{}AUTHFILE" "\PYGZdl{}STORAGE\PYGZus{}URL" "\PYGZdl{}MOUNTPOINT"}
+\PYG{l}{ su \PYGZhy{}s /bin/sh \PYGZhy{}c \PYGZsq{}exec \PYGZdq{}\PYGZdl{}0\PYGZdq{} \PYGZdq{}\PYGZdl{}@\PYGZdq{}\PYGZsq{} \PYGZdq{}\PYGZdl{}USER\PYGZdq{} \PYGZhy{}\PYGZhy{} \PYGZbs{}}
+\PYG{l}{ fsck.s3ql \PYGZhy{}\PYGZhy{}batch \PYGZhy{}\PYGZhy{}authfile \PYGZdq{}\PYGZdl{}AUTHFILE\PYGZdq{} \PYGZdq{}\PYGZdl{}STORAGE\PYGZus{}URL\PYGZdq{}}
+\PYG{l}{ exec su \PYGZhy{}s /bin/sh \PYGZhy{}c \PYGZsq{}exec \PYGZdq{}\PYGZdl{}0\PYGZdq{} \PYGZdq{}\PYGZdl{}@\PYGZdq{}\PYGZsq{} \PYGZdq{}\PYGZdl{}USER\PYGZdq{} \PYGZhy{}\PYGZhy{} \PYGZbs{}}
+\PYG{l}{ mount.s3ql \PYGZhy{}\PYGZhy{}upstart \PYGZhy{}\PYGZhy{}authfile \PYGZdq{}\PYGZdl{}AUTHFILE\PYGZdq{} \PYGZdq{}\PYGZdl{}STORAGE\PYGZus{}URL\PYGZdq{} \PYGZdq{}\PYGZdl{}MOUNTPOINT\PYGZdq{}}
\PYG{l}{end script}
-\PYG{l}{pre-stop script}
-\PYG{l}{ su -s /bin/sh -c 'exec "\PYGZdl{}0" "\PYGZdl{}@"' "\PYGZdl{}USER" -- umount.s3ql "\PYGZdl{}MOUNTPOINT"}
+\PYG{l}{pre\PYGZhy{}stop script}
+\PYG{l}{ su \PYGZhy{}s /bin/sh \PYGZhy{}c \PYGZsq{}exec \PYGZdq{}\PYGZdl{}0\PYGZdq{} \PYGZdq{}\PYGZdl{}@\PYGZdq{}\PYGZsq{} \PYGZdq{}\PYGZdl{}USER\PYGZdq{} \PYGZhy{}\PYGZhy{} umount.s3ql \PYGZdq{}\PYGZdl{}MOUNTPOINT\PYGZdq{}}
\PYG{l}{end script}
\end{Verbatim}
@@ -1349,7 +1427,7 @@ For example, to make the directory tree beneath the directory
\code{2010-04-21} immutable, execute
\begin{Verbatim}[commandchars=\\\{\}]
-\PYG{l}{s3qllock 2010-04-21}
+\PYG{l}{s3qllock 2010\PYGZhy{}04\PYGZhy{}21}
\end{Verbatim}
Immutability is a feature designed for backups. Traditionally, backups
@@ -1384,7 +1462,7 @@ changed after they have been made immutable.
\section{Fast Recursive Removal}
-\label{special:s3qlrm}\label{special:fast-recursive-removal}
+\label{special:fast-recursive-removal}\label{special:s3qlrm}
The \code{s3qlrm} command can be used to recursively delete files and
directories on an S3QL file system. Although \code{s3qlrm} is faster than
using e.g. \code{rm -r}, the main reason for its existence is that it
@@ -1400,7 +1478,7 @@ be removed entirely and immediately.
\section{Runtime Configuration}
-\label{special:runtime-configuration}\label{special:s3qlctrl}
+\label{special:s3qlctrl}\label{special:runtime-configuration}
The \code{s3qlctrl} can be used to control a mounted S3QL file system. Its
syntax is
@@ -1431,7 +1509,7 @@ Trigger a metadata upload.
\chapter{Unmounting}
-\label{umount::doc}\label{umount:unmounting}
+\label{umount:unmounting}\label{umount::doc}
To unmount an S3QL file system, use the command:
\begin{Verbatim}[commandchars=\\\{\}]
@@ -1495,16 +1573,18 @@ Store cached data in this directory (default: \code{\textasciitilde{}/.s3ql)}
Read authentication credentials from this file (default:
\code{\textasciitilde{}/.s3ql/authinfo2)}
\item [-{-}debug \textless{}module\textgreater{}]
-activate debugging output from \textless{}module\textgreater{}. Use \code{all} to get
-debug messages from all modules. This option can be
+activate debugging output from \textless{}module\textgreater{}. Use \code{all} to
+get debug messages from all modules. This option can be
specified multiple times.
\item [-{-}quiet]
be really quiet
-\item [-{-}ssl]
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+\item [-{-}no-ssl]
+Do not use secure (ssl) connections when connecting to
+remote servers.
+\item [-{-}ssl-ca-path path]
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system's OpenSSL library are used.
\item [-{-}version]
just print program version and exit
\item [-{-}batch]
@@ -1551,23 +1631,23 @@ For example, consider the following authentication file:
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+ge}{[s3]}
-\PYG{l}{storage-url: s3://}
-\PYG{l}{backend-login: joe}
-\PYG{l}{backend-password: notquitesecret}
+\PYG{l}{storage\PYGZhy{}url: s3://}
+\PYG{l}{backend\PYGZhy{}login: joe}
+\PYG{l}{backend\PYGZhy{}password: notquitesecret}
\PYG{g+ge}{[fs1]}
-\PYG{l}{storage-url: s3://joes-first-bucket}
-\PYG{l}{fs-passphrase: neitheristhis}
+\PYG{l}{storage\PYGZhy{}url: s3://joes\PYGZhy{}first\PYGZhy{}bucket}
+\PYG{l}{fs\PYGZhy{}passphrase: neitheristhis}
\PYG{g+ge}{[fs2]}
-\PYG{l}{storage-url: s3://joes-second-bucket}
-\PYG{l}{fs-passphrase: swordfish}
+\PYG{l}{storage\PYGZhy{}url: s3://joes\PYGZhy{}second\PYGZhy{}bucket}
+\PYG{l}{fs\PYGZhy{}passphrase: swordfish}
\PYG{g+ge}{[fs3]}
-\PYG{l}{storage-url: s3://joes-second-bucket/with-prefix}
-\PYG{l}{backend-login: bill}
-\PYG{l}{backend-password: bi23ll}
-\PYG{l}{fs-passphrase: ll23bi}
+\PYG{l}{storage\PYGZhy{}url: s3://joes\PYGZhy{}second\PYGZhy{}bucket/with\PYGZhy{}prefix}
+\PYG{l}{backend\PYGZhy{}login: bill}
+\PYG{l}{backend\PYGZhy{}password: bi23ll}
+\PYG{l}{fs\PYGZhy{}passphrase: ll23bi}
\end{Verbatim}
With this authentication file, S3QL would try to log in as ``joe''
@@ -1607,7 +1687,7 @@ migrate buckets to a different storage region or storage class
\section{pcp.py}
-\label{contrib:pcp-py}\label{contrib:pcp}
+\label{contrib:pcp}\label{contrib:pcp-py}
\code{pcp.py} is a wrapper program that starts several rsync processes to
copy directory trees in parallel. This is important because
transferring files in parallel significantly enhances performance when
@@ -1619,7 +1699,7 @@ To recursively copy the directory \code{/mnt/home-backup} into
you would execute
\begin{Verbatim}[commandchars=\\\{\}]
-\PYG{l}{pcp.py -a --processes=8 /mnt/home-backup/ /home/joe}
+\PYG{l}{pcp.py \PYGZhy{}a \PYGZhy{}\PYGZhy{}processes=8 /mnt/home\PYGZhy{}backup/ /home/joe}
\end{Verbatim}
@@ -1823,11 +1903,11 @@ ensures that every instance looks into all directories.
\begin{Verbatim}[commandchars=\\\{\}]
\PYG{c}{\PYGZsh{}!/bin/bash}
-\PYG{l}{RSYNC\PYGZus{}ARGS="-aHv /mnt/s3ql/ /home/restore/"}
+\PYG{l}{RSYNC\PYGZus{}ARGS=\PYGZdq{}\PYGZhy{}aHv /mnt/s3ql/ /home/restore/\PYGZdq{}}
-\PYG{l}{rsync -f "+ */" -f "-! }\PYG{g+ge}{[a-f]}\PYG{l}{*" \PYGZdl{}RSYNC\PYGZus{}ARGS \PYGZam{}}
-\PYG{l}{rsync -f "+ */" -f "-! }\PYG{g+ge}{[g-l]}\PYG{l}{*" \PYGZdl{}RSYNC\PYGZus{}ARGS \PYGZam{}}
-\PYG{l}{rsync -f "+ */" -f "- }\PYG{g+ge}{[a-l]}\PYG{l}{*" \PYGZdl{}RSYNC\PYGZus{}ARGS \PYGZam{}}
+\PYG{l}{rsync \PYGZhy{}f \PYGZdq{}+ */\PYGZdq{} \PYGZhy{}f \PYGZdq{}\PYGZhy{}! }\PYG{g+ge}{[a\PYGZhy{}f]}\PYG{l}{*\PYGZdq{} \PYGZdl{}RSYNC\PYGZus{}ARGS \PYGZam{}}
+\PYG{l}{rsync \PYGZhy{}f \PYGZdq{}+ */\PYGZdq{} \PYGZhy{}f \PYGZdq{}\PYGZhy{}! }\PYG{g+ge}{[g\PYGZhy{}l]}\PYG{l}{*\PYGZdq{} \PYGZdl{}RSYNC\PYGZus{}ARGS \PYGZam{}}
+\PYG{l}{rsync \PYGZhy{}f \PYGZdq{}+ */\PYGZdq{} \PYGZhy{}f \PYGZdq{}\PYGZhy{} }\PYG{g+ge}{[a\PYGZhy{}l]}\PYG{l}{*\PYGZdq{} \PYGZdl{}RSYNC\PYGZus{}ARGS \PYGZam{}}
\PYG{l}{wait}
\end{Verbatim}
@@ -1846,17 +1926,26 @@ details.
\chapter{Known Issues}
\label{issues:known-issues}\label{issues::doc}\begin{itemize}
\item {}
+S3QL de-duplicates data blocks based solely only on SHA256
+checksums, without doing a byte-by-byte comparison of the blocks.
+Since it is possible for two data blocks to have the same checksum
+despite having different contents, this can lead to problems. If two
+such blocks are stored in an S3QL file system, the data in one block
+will be lost and replaced by the data in the other block. However,
+the chances of this occuring for any two blocks are about 1 in 10\textasciicircum{}77
+(2\textasciicircum{}256). For a file system that holds a total of 10\textasciicircum{}34 blocks, the
+chances of a collision increase to about 1 in 10\textasciicircum{}9. Storing more
+than 10\textasciicircum{}34 blocks (or about 10\textasciicircum{}25 TB with an (extremely small) block
+size of 4 kB) is therefore not recommended. Being exceptionally
+unlucky may also be a disadvantage.
+
+\item {}
S3QL does not support Access Control Lists (ACLs). This is due to
a bug in the FUSE library and will therefore hopefully be fixed
at some point. See \href{http://code.google.com/p/s3ql/issues/detail?id=385}{issue 385}
for more details.
\item {}
-S3QL 1.x does not verify TLS/SSL server certificates and is thus
-vulnerable to man-in-the-middle attacks (S3QL versions after 2.0
-do not have this problem but require Python 3.3 or newer).
-
-\item {}
S3QL is rather slow when an application tries to write data in
unreasonably small chunks. If a 1 MiB file is copied in chunks of 1
KB, this will take more than 10 times as long as when it's copied
@@ -1978,11 +2067,13 @@ get debug messages from all modules. This option can
be specified multiple times.
\item [-{-}quiet]
be really quiet
-\item [-{-}ssl]
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+\item [-{-}no-ssl]
+Do not use secure (ssl) connections when connecting to
+remote servers.
+\item [-{-}ssl-ca-path path]
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system's OpenSSL library are used.
\item [-{-}version]
just print program version and exit
\item [-L \textless{}name\textgreater{}]
@@ -2015,7 +2106,7 @@ system, common locations are \code{/usr/share/doc/s3ql} or
\section{The \textbf{s3qladm} command}
-\label{man/adm::doc}\label{man/adm:the-s3qladm-command}
+\label{man/adm:the-s3qladm-command}\label{man/adm::doc}
\subsection{Synopsis}
\label{man/adm:synopsis}
@@ -2043,8 +2134,8 @@ The \textbf{s3qladm} command accepts the following options.
\begin{quote}
\begin{optionlist}{3cm}
\item [-{-}debug \textless{}module\textgreater{}]
-activate debugging output from \textless{}module\textgreater{}. Use \code{all} to get
-debug messages from all modules. This option can be
+activate debugging output from \textless{}module\textgreater{}. Use \code{all} to
+get debug messages from all modules. This option can be
specified multiple times.
\item [-{-}quiet]
be really quiet
@@ -2052,15 +2143,17 @@ be really quiet
Write logging info into this file. File will be rotated
when it reaches 1 MiB, and at most 5 old log files will
be kept. Specify \code{none} to disable logging. Default:
-\code{none}
+\code{None}
\item [-{-}authfile \textless{}path\textgreater{}]
Read authentication credentials from this file (default:
\code{\textasciitilde{}/.s3ql/authinfo2)}
-\item [-{-}ssl]
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+\item [-{-}no-ssl]
+Do not use secure (ssl) connections when connecting to
+remote servers.
+\item [-{-}ssl-ca-path path]
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system's OpenSSL library are used.
\item [-{-}cachedir \textless{}path\textgreater{}]
Store cached data in this directory (default: \code{\textasciitilde{}/.s3ql)}
\item [-{-}version]
@@ -2107,7 +2200,7 @@ system, common locations are \code{/usr/share/doc/s3ql} or
\section{The \textbf{mount.s3ql} command}
-\label{man/mount::doc}\label{man/mount:the-mount-s3ql-command}
+\label{man/mount:the-mount-s3ql-command}\label{man/mount::doc}
\subsection{Synopsis}
\label{man/mount:synopsis}
@@ -2146,11 +2239,13 @@ get debug messages from all modules. This option can
be specified multiple times.
\item [-{-}quiet]
be really quiet
-\item [-{-}ssl]
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+\item [-{-}no-ssl]
+Do not use secure (ssl) connections when connecting to
+remote servers.
+\item [-{-}ssl-ca-path path]
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system's OpenSSL library are used.
\item [-{-}version]
just print program version and exit
\item [-{-}cachesize \textless{}size\textgreater{}]
@@ -2188,10 +2283,12 @@ is up.
\item [-{-}profile]
Create profiling information. If you don't understand
this, then you don't need it.
-\item [-{-}compress \textless{}name\textgreater{}]
-Compression algorithm to use when storing new data.
-Allowed values: \code{lzma}, \code{bzip2}, \code{zlib}, none.
-(default: \code{lzma})
+\item [-{-}compress \textless{}algorithm-lvl\textgreater{}]
+Compression algorithm and compression level to use
+when storing new data. \emph{algorithm} may be any of
+\code{lzma}, \code{bzip2}, \code{zlib}, or none. \emph{lvl} may be any
+integer from 0 (fastest) to 9 (slowest). Default:
+\code{lzma-6}
\item [-{-}metadata-upload-interval \textless{}seconds\textgreater{}]
Interval in seconds between complete metadata uploads.
Set to 0 to disable. Default: 24h.
@@ -2310,7 +2407,7 @@ additional argument that specifies the new cache size in KiB, so the
complete command line is:
\begin{Verbatim}[commandchars=\\\{\}]
-\PYG{l}{s3qlctrl }\PYG{g+ge}{[options]}\PYG{l}{ cachesize }\PYG{n+nv}{\PYGZlt{}mountpoint\PYGZgt{}}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}new-cache-size\PYGZgt{}}
+\PYG{l}{s3qlctrl }\PYG{g+ge}{[options]}\PYG{l}{ cachesize }\PYG{n+nv}{\PYGZlt{}mountpoint\PYGZgt{}}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}new\PYGZhy{}cache\PYGZhy{}size\PYGZgt{}}
\end{Verbatim}
\item[{log}] \leavevmode
@@ -2369,7 +2466,7 @@ system, common locations are \code{/usr/share/doc/s3ql} or
\subsection{Synopsis}
\label{man/cp:synopsis}
\begin{Verbatim}[commandchars=\\\{\}]
-\PYG{l}{s3qlcp }\PYG{g+ge}{[options]}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}source-dir\PYGZgt{}}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}dest-dir\PYGZgt{}}
+\PYG{l}{s3qlcp }\PYG{g+ge}{[options]}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}source\PYGZhy{}dir\PYGZgt{}}\PYG{l}{ }\PYG{n+nv}{\PYGZlt{}dest\PYGZhy{}dir\PYGZgt{}}
\end{Verbatim}
@@ -2468,7 +2565,7 @@ system, common locations are \code{/usr/share/doc/s3ql} or
\section{The \textbf{s3qlrm} command}
-\label{man/rm::doc}\label{man/rm:the-s3qlrm-command}
+\label{man/rm:the-s3qlrm-command}\label{man/rm::doc}
\subsection{Synopsis}
\label{man/rm:synopsis}
@@ -2612,7 +2709,7 @@ system, common locations are \code{/usr/share/doc/s3ql} or
\section{The \textbf{umount.s3ql} command}
-\label{man/umount::doc}\label{man/umount:the-umount-s3ql-command}
+\label{man/umount:the-umount-s3ql-command}\label{man/umount::doc}
\subsection{Synopsis}
\label{man/umount:synopsis}
@@ -2672,7 +2769,7 @@ system, common locations are \code{/usr/share/doc/s3ql} or
\section{The \textbf{fsck.s3ql} command}
-\label{man/fsck::doc}\label{man/fsck:the-fsck-s3ql-command}
+\label{man/fsck:the-fsck-s3ql-command}\label{man/fsck::doc}
\subsection{Synopsis}
\label{man/fsck:synopsis}
@@ -2706,16 +2803,18 @@ Store cached data in this directory (default: \code{\textasciitilde{}/.s3ql)}
Read authentication credentials from this file (default:
\code{\textasciitilde{}/.s3ql/authinfo2)}
\item [-{-}debug \textless{}module\textgreater{}]
-activate debugging output from \textless{}module\textgreater{}. Use \code{all} to get
-debug messages from all modules. This option can be
+activate debugging output from \textless{}module\textgreater{}. Use \code{all} to
+get debug messages from all modules. This option can be
specified multiple times.
\item [-{-}quiet]
be really quiet
-\item [-{-}ssl]
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+\item [-{-}no-ssl]
+Do not use secure (ssl) connections when connecting to
+remote servers.
+\item [-{-}ssl-ca-path path]
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system's OpenSSL library are used.
\item [-{-}version]
just print program version and exit
\item [-{-}batch]
@@ -2794,7 +2893,7 @@ error occured.
\section{The \textbf{expire\_backups} command}
-\label{man/expire_backups::doc}\label{man/expire_backups:the-expire-backups-command}
+\label{man/expire_backups:the-expire-backups-command}\label{man/expire_backups::doc}
\subsection{Synopsis}
\label{man/expire_backups:synopsis}
@@ -2917,7 +3016,7 @@ error occured.
\chapter{Further Resources / Getting Help}
-\label{resources::doc}\label{resources:further-resources-getting-help}\label{resources:resources}
+\label{resources:resources}\label{resources:further-resources-getting-help}\label{resources::doc}
If you have questions or problems with S3QL that you weren't able to
resolve with this manual, you might want to consider the following other resources:
\begin{itemize}
@@ -2938,7 +3037,7 @@ Please report any bugs you may encounter in the \href{http://code.google.com/p/s
\chapter{Implementation Details}
-\label{impl_details:implementation-details}\label{impl_details::doc}\label{impl_details:impl-details}
+\label{impl_details:impl-details}\label{impl_details:implementation-details}\label{impl_details::doc}
This section provides some background information on how S3QL works
internally. Reading this section is not necessary to use S3QL.
diff --git a/doc/latex/manual.toc b/doc/latex/manual.toc
index 5cbfc28..e6f652e 100644
--- a/doc/latex/manual.toc
+++ b/doc/latex/manual.toc
@@ -6,134 +6,135 @@
\contentsline {section}{\numberline {2.1}Dependencies}{3}{section.2.1}
\contentsline {section}{\numberline {2.2}Installing S3QL}{3}{section.2.2}
\contentsline {section}{\numberline {2.3}Development Version}{4}{section.2.3}
-\contentsline {chapter}{\numberline {3}Storage Backends}{5}{chapter.3}
-\contentsline {section}{\numberline {3.1}Google Storage}{5}{section.3.1}
-\contentsline {section}{\numberline {3.2}Amazon S3}{5}{section.3.2}
-\contentsline {subsection}{\numberline {3.2.1}Reduced Redundancy Storage (RRS)}{6}{subsection.3.2.1}
-\contentsline {section}{\numberline {3.3}OpenStack/Swift}{6}{section.3.3}
-\contentsline {section}{\numberline {3.4}RackSpace CloudFiles}{6}{section.3.4}
-\contentsline {section}{\numberline {3.5}S3 compatible}{7}{section.3.5}
-\contentsline {section}{\numberline {3.6}Local}{7}{section.3.6}
-\contentsline {chapter}{\numberline {4}Important Rules to Avoid Losing Data}{9}{chapter.4}
-\contentsline {section}{\numberline {4.1}Rules in a Nutshell}{9}{section.4.1}
-\contentsline {section}{\numberline {4.2}Consistency Window List}{10}{section.4.2}
-\contentsline {section}{\numberline {4.3}Data Consistency}{10}{section.4.3}
-\contentsline {section}{\numberline {4.4}Data Durability}{11}{section.4.4}
-\contentsline {chapter}{\numberline {5}File System Creation}{13}{chapter.5}
-\contentsline {chapter}{\numberline {6}Managing File Systems}{15}{chapter.6}
-\contentsline {section}{\numberline {6.1}Changing the Passphrase}{15}{section.6.1}
-\contentsline {section}{\numberline {6.2}Upgrading the file system}{16}{section.6.2}
-\contentsline {section}{\numberline {6.3}Deleting a file system}{16}{section.6.3}
-\contentsline {section}{\numberline {6.4}Restoring Metadata Backups}{16}{section.6.4}
-\contentsline {chapter}{\numberline {7}Mounting}{17}{chapter.7}
-\contentsline {section}{\numberline {7.1}Compression Algorithms}{18}{section.7.1}
-\contentsline {section}{\numberline {7.2}Notes about Caching}{18}{section.7.2}
-\contentsline {subsection}{\numberline {7.2.1}Maximum Number of Cache Entries}{19}{subsection.7.2.1}
-\contentsline {subsection}{\numberline {7.2.2}Cache Flushing and Expiration}{19}{subsection.7.2.2}
-\contentsline {section}{\numberline {7.3}Automatic Mounting}{19}{section.7.3}
-\contentsline {chapter}{\numberline {8}Advanced S3QL Features}{21}{chapter.8}
-\contentsline {section}{\numberline {8.1}Snapshotting and Copy-on-Write}{21}{section.8.1}
-\contentsline {subsection}{\numberline {8.1.1}Snapshotting vs Hardlinking}{21}{subsection.8.1.1}
-\contentsline {section}{\numberline {8.2}Getting Statistics}{22}{section.8.2}
-\contentsline {section}{\numberline {8.3}Immutable Trees}{22}{section.8.3}
-\contentsline {section}{\numberline {8.4}Fast Recursive Removal}{23}{section.8.4}
-\contentsline {section}{\numberline {8.5}Runtime Configuration}{23}{section.8.5}
-\contentsline {chapter}{\numberline {9}Unmounting}{25}{chapter.9}
-\contentsline {chapter}{\numberline {10}Checking for Errors}{27}{chapter.10}
-\contentsline {chapter}{\numberline {11}Storing Authentication Information}{29}{chapter.11}
-\contentsline {chapter}{\numberline {12}Contributed Programs}{31}{chapter.12}
-\contentsline {section}{\numberline {12.1}benchmark.py}{31}{section.12.1}
-\contentsline {section}{\numberline {12.2}s3\_copy.py}{31}{section.12.2}
-\contentsline {section}{\numberline {12.3}pcp.py}{31}{section.12.3}
-\contentsline {section}{\numberline {12.4}s3\_backup.sh}{31}{section.12.4}
-\contentsline {section}{\numberline {12.5}expire\_backups.py}{32}{section.12.5}
-\contentsline {section}{\numberline {12.6}s3ql\_upstart.conf}{33}{section.12.6}
-\contentsline {chapter}{\numberline {13}Tips \& Tricks}{35}{chapter.13}
-\contentsline {section}{\numberline {13.1}SSH Backend}{35}{section.13.1}
-\contentsline {section}{\numberline {13.2}Permanently mounted backup file system}{35}{section.13.2}
-\contentsline {section}{\numberline {13.3}Improving copy performance}{35}{section.13.3}
-\contentsline {chapter}{\numberline {14}Known Issues}{37}{chapter.14}
-\contentsline {chapter}{\numberline {15}Manpages}{39}{chapter.15}
-\contentsline {section}{\numberline {15.1}The \textbf {mkfs.s3ql} command}{39}{section.15.1}
-\contentsline {subsection}{\numberline {15.1.1}Synopsis}{39}{subsection.15.1.1}
-\contentsline {subsection}{\numberline {15.1.2}Description}{39}{subsection.15.1.2}
-\contentsline {subsection}{\numberline {15.1.3}Options}{39}{subsection.15.1.3}
-\contentsline {subsection}{\numberline {15.1.4}Exit Status}{40}{subsection.15.1.4}
-\contentsline {subsection}{\numberline {15.1.5}See Also}{40}{subsection.15.1.5}
-\contentsline {section}{\numberline {15.2}The \textbf {s3qladm} command}{40}{section.15.2}
-\contentsline {subsection}{\numberline {15.2.1}Synopsis}{40}{subsection.15.2.1}
-\contentsline {subsection}{\numberline {15.2.2}Description}{40}{subsection.15.2.2}
-\contentsline {subsection}{\numberline {15.2.3}Options}{40}{subsection.15.2.3}
-\contentsline {subsection}{\numberline {15.2.4}Actions}{41}{subsection.15.2.4}
-\contentsline {subsection}{\numberline {15.2.5}Exit Status}{41}{subsection.15.2.5}
-\contentsline {subsection}{\numberline {15.2.6}See Also}{41}{subsection.15.2.6}
-\contentsline {section}{\numberline {15.3}The \textbf {mount.s3ql} command}{41}{section.15.3}
-\contentsline {subsection}{\numberline {15.3.1}Synopsis}{41}{subsection.15.3.1}
-\contentsline {subsection}{\numberline {15.3.2}Description}{41}{subsection.15.3.2}
-\contentsline {subsection}{\numberline {15.3.3}Options}{41}{subsection.15.3.3}
-\contentsline {subsection}{\numberline {15.3.4}Exit Status}{42}{subsection.15.3.4}
-\contentsline {subsection}{\numberline {15.3.5}See Also}{43}{subsection.15.3.5}
-\contentsline {section}{\numberline {15.4}The \textbf {s3qlstat} command}{43}{section.15.4}
-\contentsline {subsection}{\numberline {15.4.1}Synopsis}{43}{subsection.15.4.1}
-\contentsline {subsection}{\numberline {15.4.2}Description}{43}{subsection.15.4.2}
-\contentsline {subsection}{\numberline {15.4.3}Options}{43}{subsection.15.4.3}
-\contentsline {subsection}{\numberline {15.4.4}Exit Status}{43}{subsection.15.4.4}
-\contentsline {subsection}{\numberline {15.4.5}See Also}{43}{subsection.15.4.5}
-\contentsline {section}{\numberline {15.5}The \textbf {s3qlctrl} command}{43}{section.15.5}
-\contentsline {subsection}{\numberline {15.5.1}Synopsis}{43}{subsection.15.5.1}
-\contentsline {subsection}{\numberline {15.5.2}Description}{44}{subsection.15.5.2}
-\contentsline {subsection}{\numberline {15.5.3}Options}{44}{subsection.15.5.3}
-\contentsline {subsection}{\numberline {15.5.4}Exit Status}{44}{subsection.15.5.4}
-\contentsline {subsection}{\numberline {15.5.5}See Also}{44}{subsection.15.5.5}
-\contentsline {section}{\numberline {15.6}The \textbf {s3qlcp} command}{45}{section.15.6}
-\contentsline {subsection}{\numberline {15.6.1}Synopsis}{45}{subsection.15.6.1}
-\contentsline {subsection}{\numberline {15.6.2}Description}{45}{subsection.15.6.2}
-\contentsline {subsubsection}{Snapshotting vs Hardlinking}{45}{subsubsection*.3}
-\contentsline {subsection}{\numberline {15.6.3}Options}{45}{subsection.15.6.3}
-\contentsline {subsection}{\numberline {15.6.4}Exit Status}{46}{subsection.15.6.4}
-\contentsline {subsection}{\numberline {15.6.5}See Also}{46}{subsection.15.6.5}
-\contentsline {section}{\numberline {15.7}The \textbf {s3qlrm} command}{46}{section.15.7}
-\contentsline {subsection}{\numberline {15.7.1}Synopsis}{46}{subsection.15.7.1}
-\contentsline {subsection}{\numberline {15.7.2}Description}{46}{subsection.15.7.2}
-\contentsline {subsection}{\numberline {15.7.3}Options}{46}{subsection.15.7.3}
-\contentsline {subsection}{\numberline {15.7.4}Exit Status}{46}{subsection.15.7.4}
-\contentsline {subsection}{\numberline {15.7.5}See Also}{46}{subsection.15.7.5}
-\contentsline {section}{\numberline {15.8}The \textbf {s3qllock} command}{47}{section.15.8}
-\contentsline {subsection}{\numberline {15.8.1}Synopsis}{47}{subsection.15.8.1}
-\contentsline {subsection}{\numberline {15.8.2}Description}{47}{subsection.15.8.2}
-\contentsline {subsection}{\numberline {15.8.3}Rationale}{47}{subsection.15.8.3}
-\contentsline {subsection}{\numberline {15.8.4}Options}{47}{subsection.15.8.4}
-\contentsline {subsection}{\numberline {15.8.5}Exit Status}{47}{subsection.15.8.5}
-\contentsline {subsection}{\numberline {15.8.6}See Also}{48}{subsection.15.8.6}
-\contentsline {section}{\numberline {15.9}The \textbf {umount.s3ql} command}{48}{section.15.9}
-\contentsline {subsection}{\numberline {15.9.1}Synopsis}{48}{subsection.15.9.1}
-\contentsline {subsection}{\numberline {15.9.2}Description}{48}{subsection.15.9.2}
-\contentsline {subsection}{\numberline {15.9.3}Options}{48}{subsection.15.9.3}
-\contentsline {subsection}{\numberline {15.9.4}Exit Status}{48}{subsection.15.9.4}
-\contentsline {subsection}{\numberline {15.9.5}See Also}{48}{subsection.15.9.5}
-\contentsline {section}{\numberline {15.10}The \textbf {fsck.s3ql} command}{49}{section.15.10}
-\contentsline {subsection}{\numberline {15.10.1}Synopsis}{49}{subsection.15.10.1}
-\contentsline {subsection}{\numberline {15.10.2}Description}{49}{subsection.15.10.2}
-\contentsline {subsection}{\numberline {15.10.3}Options}{49}{subsection.15.10.3}
-\contentsline {subsection}{\numberline {15.10.4}Exit Status}{49}{subsection.15.10.4}
-\contentsline {subsection}{\numberline {15.10.5}See Also}{49}{subsection.15.10.5}
-\contentsline {section}{\numberline {15.11}The \textbf {pcp} command}{50}{section.15.11}
-\contentsline {subsection}{\numberline {15.11.1}Synopsis}{50}{subsection.15.11.1}
-\contentsline {subsection}{\numberline {15.11.2}Description}{50}{subsection.15.11.2}
-\contentsline {subsection}{\numberline {15.11.3}Options}{50}{subsection.15.11.3}
-\contentsline {subsection}{\numberline {15.11.4}Exit Status}{50}{subsection.15.11.4}
-\contentsline {subsection}{\numberline {15.11.5}See Also}{50}{subsection.15.11.5}
-\contentsline {section}{\numberline {15.12}The \textbf {expire\_backups} command}{50}{section.15.12}
-\contentsline {subsection}{\numberline {15.12.1}Synopsis}{50}{subsection.15.12.1}
-\contentsline {subsection}{\numberline {15.12.2}Description}{50}{subsection.15.12.2}
-\contentsline {subsection}{\numberline {15.12.3}Options}{51}{subsection.15.12.3}
-\contentsline {subsection}{\numberline {15.12.4}Exit Status}{52}{subsection.15.12.4}
-\contentsline {subsection}{\numberline {15.12.5}See Also}{52}{subsection.15.12.5}
-\contentsline {chapter}{\numberline {16}Further Resources / Getting Help}{53}{chapter.16}
-\contentsline {chapter}{\numberline {17}Implementation Details}{55}{chapter.17}
-\contentsline {section}{\numberline {17.1}Metadata Storage}{55}{section.17.1}
-\contentsline {section}{\numberline {17.2}Data Storage}{55}{section.17.2}
-\contentsline {section}{\numberline {17.3}Data De-Duplication}{55}{section.17.3}
-\contentsline {section}{\numberline {17.4}Caching}{56}{section.17.4}
-\contentsline {section}{\numberline {17.5}Eventual Consistency Handling}{56}{section.17.5}
-\contentsline {section}{\numberline {17.6}Encryption}{56}{section.17.6}
+\contentsline {section}{\numberline {2.4}Running tests requiring remote servers}{4}{section.2.4}
+\contentsline {chapter}{\numberline {3}Storage Backends}{7}{chapter.3}
+\contentsline {section}{\numberline {3.1}Google Storage}{7}{section.3.1}
+\contentsline {section}{\numberline {3.2}Amazon S3}{7}{section.3.2}
+\contentsline {subsection}{\numberline {3.2.1}Reduced Redundancy Storage (RRS)}{8}{subsection.3.2.1}
+\contentsline {section}{\numberline {3.3}OpenStack/Swift}{8}{section.3.3}
+\contentsline {section}{\numberline {3.4}Rackspace CloudFiles}{8}{section.3.4}
+\contentsline {section}{\numberline {3.5}S3 compatible}{9}{section.3.5}
+\contentsline {section}{\numberline {3.6}Local}{9}{section.3.6}
+\contentsline {chapter}{\numberline {4}Important Rules to Avoid Losing Data}{11}{chapter.4}
+\contentsline {section}{\numberline {4.1}Rules in a Nutshell}{11}{section.4.1}
+\contentsline {section}{\numberline {4.2}Consistency Window List}{12}{section.4.2}
+\contentsline {section}{\numberline {4.3}Data Consistency}{12}{section.4.3}
+\contentsline {section}{\numberline {4.4}Data Durability}{13}{section.4.4}
+\contentsline {chapter}{\numberline {5}File System Creation}{15}{chapter.5}
+\contentsline {chapter}{\numberline {6}Managing File Systems}{17}{chapter.6}
+\contentsline {section}{\numberline {6.1}Changing the Passphrase}{17}{section.6.1}
+\contentsline {section}{\numberline {6.2}Upgrading the file system}{18}{section.6.2}
+\contentsline {section}{\numberline {6.3}Deleting a file system}{18}{section.6.3}
+\contentsline {section}{\numberline {6.4}Restoring Metadata Backups}{18}{section.6.4}
+\contentsline {chapter}{\numberline {7}Mounting}{19}{chapter.7}
+\contentsline {section}{\numberline {7.1}Compression Algorithms}{20}{section.7.1}
+\contentsline {section}{\numberline {7.2}Notes about Caching}{20}{section.7.2}
+\contentsline {subsection}{\numberline {7.2.1}Maximum Number of Cache Entries}{21}{subsection.7.2.1}
+\contentsline {subsection}{\numberline {7.2.2}Cache Flushing and Expiration}{21}{subsection.7.2.2}
+\contentsline {section}{\numberline {7.3}Automatic Mounting}{21}{section.7.3}
+\contentsline {chapter}{\numberline {8}Advanced S3QL Features}{23}{chapter.8}
+\contentsline {section}{\numberline {8.1}Snapshotting and Copy-on-Write}{23}{section.8.1}
+\contentsline {subsection}{\numberline {8.1.1}Snapshotting vs Hardlinking}{23}{subsection.8.1.1}
+\contentsline {section}{\numberline {8.2}Getting Statistics}{24}{section.8.2}
+\contentsline {section}{\numberline {8.3}Immutable Trees}{24}{section.8.3}
+\contentsline {section}{\numberline {8.4}Fast Recursive Removal}{24}{section.8.4}
+\contentsline {section}{\numberline {8.5}Runtime Configuration}{25}{section.8.5}
+\contentsline {chapter}{\numberline {9}Unmounting}{27}{chapter.9}
+\contentsline {chapter}{\numberline {10}Checking for Errors}{29}{chapter.10}
+\contentsline {chapter}{\numberline {11}Storing Authentication Information}{31}{chapter.11}
+\contentsline {chapter}{\numberline {12}Contributed Programs}{33}{chapter.12}
+\contentsline {section}{\numberline {12.1}benchmark.py}{33}{section.12.1}
+\contentsline {section}{\numberline {12.2}s3\_copy.py}{33}{section.12.2}
+\contentsline {section}{\numberline {12.3}pcp.py}{33}{section.12.3}
+\contentsline {section}{\numberline {12.4}s3\_backup.sh}{33}{section.12.4}
+\contentsline {section}{\numberline {12.5}expire\_backups.py}{34}{section.12.5}
+\contentsline {section}{\numberline {12.6}s3ql\_upstart.conf}{35}{section.12.6}
+\contentsline {chapter}{\numberline {13}Tips \& Tricks}{37}{chapter.13}
+\contentsline {section}{\numberline {13.1}SSH Backend}{37}{section.13.1}
+\contentsline {section}{\numberline {13.2}Permanently mounted backup file system}{37}{section.13.2}
+\contentsline {section}{\numberline {13.3}Improving copy performance}{37}{section.13.3}
+\contentsline {chapter}{\numberline {14}Known Issues}{39}{chapter.14}
+\contentsline {chapter}{\numberline {15}Manpages}{41}{chapter.15}
+\contentsline {section}{\numberline {15.1}The \textbf {mkfs.s3ql} command}{41}{section.15.1}
+\contentsline {subsection}{\numberline {15.1.1}Synopsis}{41}{subsection.15.1.1}
+\contentsline {subsection}{\numberline {15.1.2}Description}{41}{subsection.15.1.2}
+\contentsline {subsection}{\numberline {15.1.3}Options}{41}{subsection.15.1.3}
+\contentsline {subsection}{\numberline {15.1.4}Exit Status}{42}{subsection.15.1.4}
+\contentsline {subsection}{\numberline {15.1.5}See Also}{42}{subsection.15.1.5}
+\contentsline {section}{\numberline {15.2}The \textbf {s3qladm} command}{42}{section.15.2}
+\contentsline {subsection}{\numberline {15.2.1}Synopsis}{42}{subsection.15.2.1}
+\contentsline {subsection}{\numberline {15.2.2}Description}{42}{subsection.15.2.2}
+\contentsline {subsection}{\numberline {15.2.3}Options}{42}{subsection.15.2.3}
+\contentsline {subsection}{\numberline {15.2.4}Actions}{43}{subsection.15.2.4}
+\contentsline {subsection}{\numberline {15.2.5}Exit Status}{43}{subsection.15.2.5}
+\contentsline {subsection}{\numberline {15.2.6}See Also}{43}{subsection.15.2.6}
+\contentsline {section}{\numberline {15.3}The \textbf {mount.s3ql} command}{43}{section.15.3}
+\contentsline {subsection}{\numberline {15.3.1}Synopsis}{43}{subsection.15.3.1}
+\contentsline {subsection}{\numberline {15.3.2}Description}{43}{subsection.15.3.2}
+\contentsline {subsection}{\numberline {15.3.3}Options}{44}{subsection.15.3.3}
+\contentsline {subsection}{\numberline {15.3.4}Exit Status}{45}{subsection.15.3.4}
+\contentsline {subsection}{\numberline {15.3.5}See Also}{45}{subsection.15.3.5}
+\contentsline {section}{\numberline {15.4}The \textbf {s3qlstat} command}{45}{section.15.4}
+\contentsline {subsection}{\numberline {15.4.1}Synopsis}{45}{subsection.15.4.1}
+\contentsline {subsection}{\numberline {15.4.2}Description}{45}{subsection.15.4.2}
+\contentsline {subsection}{\numberline {15.4.3}Options}{45}{subsection.15.4.3}
+\contentsline {subsection}{\numberline {15.4.4}Exit Status}{45}{subsection.15.4.4}
+\contentsline {subsection}{\numberline {15.4.5}See Also}{46}{subsection.15.4.5}
+\contentsline {section}{\numberline {15.5}The \textbf {s3qlctrl} command}{46}{section.15.5}
+\contentsline {subsection}{\numberline {15.5.1}Synopsis}{46}{subsection.15.5.1}
+\contentsline {subsection}{\numberline {15.5.2}Description}{46}{subsection.15.5.2}
+\contentsline {subsection}{\numberline {15.5.3}Options}{46}{subsection.15.5.3}
+\contentsline {subsection}{\numberline {15.5.4}Exit Status}{47}{subsection.15.5.4}
+\contentsline {subsection}{\numberline {15.5.5}See Also}{47}{subsection.15.5.5}
+\contentsline {section}{\numberline {15.6}The \textbf {s3qlcp} command}{47}{section.15.6}
+\contentsline {subsection}{\numberline {15.6.1}Synopsis}{47}{subsection.15.6.1}
+\contentsline {subsection}{\numberline {15.6.2}Description}{47}{subsection.15.6.2}
+\contentsline {subsubsection}{Snapshotting vs Hardlinking}{47}{subsubsection*.3}
+\contentsline {subsection}{\numberline {15.6.3}Options}{48}{subsection.15.6.3}
+\contentsline {subsection}{\numberline {15.6.4}Exit Status}{48}{subsection.15.6.4}
+\contentsline {subsection}{\numberline {15.6.5}See Also}{48}{subsection.15.6.5}
+\contentsline {section}{\numberline {15.7}The \textbf {s3qlrm} command}{48}{section.15.7}
+\contentsline {subsection}{\numberline {15.7.1}Synopsis}{48}{subsection.15.7.1}
+\contentsline {subsection}{\numberline {15.7.2}Description}{48}{subsection.15.7.2}
+\contentsline {subsection}{\numberline {15.7.3}Options}{48}{subsection.15.7.3}
+\contentsline {subsection}{\numberline {15.7.4}Exit Status}{49}{subsection.15.7.4}
+\contentsline {subsection}{\numberline {15.7.5}See Also}{49}{subsection.15.7.5}
+\contentsline {section}{\numberline {15.8}The \textbf {s3qllock} command}{49}{section.15.8}
+\contentsline {subsection}{\numberline {15.8.1}Synopsis}{49}{subsection.15.8.1}
+\contentsline {subsection}{\numberline {15.8.2}Description}{49}{subsection.15.8.2}
+\contentsline {subsection}{\numberline {15.8.3}Rationale}{49}{subsection.15.8.3}
+\contentsline {subsection}{\numberline {15.8.4}Options}{50}{subsection.15.8.4}
+\contentsline {subsection}{\numberline {15.8.5}Exit Status}{50}{subsection.15.8.5}
+\contentsline {subsection}{\numberline {15.8.6}See Also}{50}{subsection.15.8.6}
+\contentsline {section}{\numberline {15.9}The \textbf {umount.s3ql} command}{50}{section.15.9}
+\contentsline {subsection}{\numberline {15.9.1}Synopsis}{50}{subsection.15.9.1}
+\contentsline {subsection}{\numberline {15.9.2}Description}{50}{subsection.15.9.2}
+\contentsline {subsection}{\numberline {15.9.3}Options}{50}{subsection.15.9.3}
+\contentsline {subsection}{\numberline {15.9.4}Exit Status}{51}{subsection.15.9.4}
+\contentsline {subsection}{\numberline {15.9.5}See Also}{51}{subsection.15.9.5}
+\contentsline {section}{\numberline {15.10}The \textbf {fsck.s3ql} command}{51}{section.15.10}
+\contentsline {subsection}{\numberline {15.10.1}Synopsis}{51}{subsection.15.10.1}
+\contentsline {subsection}{\numberline {15.10.2}Description}{51}{subsection.15.10.2}
+\contentsline {subsection}{\numberline {15.10.3}Options}{51}{subsection.15.10.3}
+\contentsline {subsection}{\numberline {15.10.4}Exit Status}{52}{subsection.15.10.4}
+\contentsline {subsection}{\numberline {15.10.5}See Also}{52}{subsection.15.10.5}
+\contentsline {section}{\numberline {15.11}The \textbf {pcp} command}{52}{section.15.11}
+\contentsline {subsection}{\numberline {15.11.1}Synopsis}{52}{subsection.15.11.1}
+\contentsline {subsection}{\numberline {15.11.2}Description}{52}{subsection.15.11.2}
+\contentsline {subsection}{\numberline {15.11.3}Options}{52}{subsection.15.11.3}
+\contentsline {subsection}{\numberline {15.11.4}Exit Status}{52}{subsection.15.11.4}
+\contentsline {subsection}{\numberline {15.11.5}See Also}{52}{subsection.15.11.5}
+\contentsline {section}{\numberline {15.12}The \textbf {expire\_backups} command}{53}{section.15.12}
+\contentsline {subsection}{\numberline {15.12.1}Synopsis}{53}{subsection.15.12.1}
+\contentsline {subsection}{\numberline {15.12.2}Description}{53}{subsection.15.12.2}
+\contentsline {subsection}{\numberline {15.12.3}Options}{53}{subsection.15.12.3}
+\contentsline {subsection}{\numberline {15.12.4}Exit Status}{54}{subsection.15.12.4}
+\contentsline {subsection}{\numberline {15.12.5}See Also}{54}{subsection.15.12.5}
+\contentsline {chapter}{\numberline {16}Further Resources / Getting Help}{55}{chapter.16}
+\contentsline {chapter}{\numberline {17}Implementation Details}{57}{chapter.17}
+\contentsline {section}{\numberline {17.1}Metadata Storage}{57}{section.17.1}
+\contentsline {section}{\numberline {17.2}Data Storage}{57}{section.17.2}
+\contentsline {section}{\numberline {17.3}Data De-Duplication}{57}{section.17.3}
+\contentsline {section}{\numberline {17.4}Caching}{58}{section.17.4}
+\contentsline {section}{\numberline {17.5}Eventual Consistency Handling}{58}{section.17.5}
+\contentsline {section}{\numberline {17.6}Encryption}{58}{section.17.6}
diff --git a/doc/latex/sphinx.sty b/doc/latex/sphinx.sty
index 08adec9..9b083cc 100644
--- a/doc/latex/sphinx.sty
+++ b/doc/latex/sphinx.sty
@@ -8,8 +8,9 @@
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{sphinx}[2010/01/15 LaTeX package (Sphinx markup)]
+\@ifclassloaded{memoir}{}{\RequirePackage{fancyhdr}}
+
\RequirePackage{textcomp}
-\RequirePackage{fancyhdr}
\RequirePackage{fancybox}
\RequirePackage{titlesec}
\RequirePackage{tabulary}
@@ -45,6 +46,13 @@
%\renewcommand{\paperwidth}{8.5in} % typical squarish manual
%\renewcommand{\paperwidth}{7in} % O'Reilly ``Programmming Python''
+% use pdfoutput for pTeX and dvipdfmx
+\ifx\kanjiskip\undefined\else
+ \ifx\Gin@driver{dvipdfmx.def}\undefined\else
+ \newcount\pdfoutput\pdfoutput=0
+ \fi
+\fi
+
% For graphicx, check if we are compiling under latex or pdflatex.
\ifx\pdftexversion\undefined
\usepackage{graphicx}
@@ -94,8 +102,7 @@
\sloppy
\hbadness = 5000 % don't print trivial gripes
-\pagestyle{empty} % start this way; change for
-\pagenumbering{roman} % ToC & chapters
+\pagestyle{empty} % start this way
% Use this to set the font family for headers and other decor:
\newcommand{\py@HeaderFamily}{\sffamily\bfseries}
@@ -111,6 +118,10 @@
\fancyhead[LE,RO]{{\py@HeaderFamily \@title, \py@release}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
+ % define chaptermark with \@chappos when \@chappos is available for Japanese
+ \ifx\@chappos\undefined\else
+ \def\chaptermark##1{\markboth{\@chapapp\space\thechapter\space\@chappos\space ##1}{}}
+ \fi
}
% Update the plain style so we get the page number & footer line,
% but not a chapter or section title. This is to keep the first
@@ -125,7 +136,7 @@
% Some custom font markup commands.
%
-\newcommand{\strong}[1]{{\bf #1}}
+\newcommand{\strong}[1]{{\textbf{#1}}}
\newcommand{\code}[1]{\texttt{#1}}
\newcommand{\bfcode}[1]{\code{\bfseries#1}}
\newcommand{\email}[1]{\textsf{#1}}
@@ -243,7 +254,7 @@
\addtolength{\py@noticelength}{-2\fboxsep}
\addtolength{\py@noticelength}{-2\fboxrule}
%\setlength{\shadowsize}{3pt}
- \Sbox
+ \noindent\Sbox
\minipage{\py@noticelength}
}
\newcommand{\py@endheavybox}{
@@ -254,12 +265,12 @@
\newcommand{\py@lightbox}{{%
\setlength\parskip{0pt}\par
- \rule[0ex]{\linewidth}{0.5pt}%
- \par\vspace{-0.5ex}%
+ \noindent\rule[0ex]{\linewidth}{0.5pt}%
+ \par\noindent\vspace{-0.5ex}%
}}
\newcommand{\py@endlightbox}{{%
\setlength{\parskip}{0pt}%
- \par\rule[0.5ex]{\linewidth}{0.5pt}%
+ \par\noindent\rule[0.5ex]{\linewidth}{0.5pt}%
\par\vspace{-0.5ex}%
}}
@@ -321,7 +332,7 @@
\@ifundefined{ChTitleVar}{}{
\ChNameVar{\raggedleft\normalsize\py@HeaderFamily}
\ChNumVar{\raggedleft \bfseries\Large\py@HeaderFamily}
- \ChTitleVar{\raggedleft \rm\Huge\py@HeaderFamily}
+ \ChTitleVar{\raggedleft \textrm{\Huge\py@HeaderFamily}}
% This creates chapter heads without the leading \vspace*{}:
\def\@makechapterhead#1{%
{\parindent \z@ \raggedright \normalfont
@@ -401,23 +412,20 @@
\fi%
}
-
-% Fix the index environment to add an entry to the Table of
-% Contents; this is much nicer than just having to jump to the end of the book
-% and flip around, especially with multiple indexes.
-%
-% A similiar fix must be done to the bibliography environment, although
-% dependant on document class. In particular, the '\addcontentsline' command
-% should use 'chapter' for a report and 'section' for an article.
-% See sphinxmanual.cls and sphinxhowto.cls for specific fixes.
-%
-\let\py@OldTheindex=\theindex
-\renewcommand{\theindex}{
- \cleardoublepage
- \phantomsection
- \py@OldTheindex
- \addcontentsline{toc}{chapter}{\indexname}
-}
+% to make pdf with correct encoded bookmarks in Japanese
+% this should precede the hyperref package
+\ifx\kanjiskip\undefined\else
+ \usepackage{atbegshi}
+ \ifx\ucs\undefined
+ \ifnum 42146=\euc"A4A2
+ \AtBeginShipoutFirst{\special{pdf:tounicode EUC-UCS2}}
+ \else
+ \AtBeginShipoutFirst{\special{pdf:tounicode 90ms-RKSJ-UCS2}}
+ \fi
+ \else
+ \AtBeginShipoutFirst{\special{pdf:tounicode UTF8-UCS2}}
+ \fi
+\fi
% Include hyperref last.
\RequirePackage[colorlinks,breaklinks,
@@ -476,3 +484,37 @@
\@gobble
}
\def\FN@sf@gobble@twobracket[#1]#2{}
+
+% adjust the margins for footer,
+% this works with the jsclasses only (Japanese standard document classes)
+\ifx\@jsc@uplatextrue\undefined\else
+ \hypersetup{setpagesize=false}
+ \setlength\footskip{2\baselineskip}
+ \addtolength{\textheight}{-2\baselineskip}
+\fi
+
+% fix the double index and bibliography on the table of contents
+% in jsclasses (Japanese standard document classes)
+\ifx\@jsc@uplatextrue\undefined\else
+ \renewcommand{\theindex}{
+ \cleardoublepage
+ \phantomsection
+ \py@OldTheindex
+ }
+ \renewcommand{\thebibliography}[1]{
+ \cleardoublepage
+ \phantomsection
+ \py@OldThebibliography{1}
+ }
+\fi
+
+% do not use \@chappos in Appendix in pTeX
+\ifx\kanjiskip\undefined\else
+ \renewcommand{\appendix}{\par
+ \setcounter{chapter}{0}
+ \setcounter{section}{0}
+ \gdef\@chapapp{\appendixname}
+ \gdef\@chappos{}
+ \gdef\thechapter{\@Alph\c@chapter}
+ }
+\fi
diff --git a/doc/latex/sphinxhowto.cls b/doc/latex/sphinxhowto.cls
index f4e3d2f..26e63a7 100644
--- a/doc/latex/sphinxhowto.cls
+++ b/doc/latex/sphinxhowto.cls
@@ -1,5 +1,5 @@
%
-% sphinxhowto.cls for Sphinx (http://sphinx.pocoo.org/)
+% sphinxhowto.cls for Sphinx (http://sphinx-doc.org/)
%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
@@ -90,3 +90,15 @@
\py@OldThebibliography{1}
\addcontentsline{toc}{section}{\bibname}
}
+
+% Same for the indices.
+% The memoir class already does this, so we don't duplicate it in that case.
+%
+\@ifclassloaded{memoir}{}{
+ \let\py@OldTheindex=\theindex
+ \renewcommand{\theindex}{
+ \phantomsection
+ \py@OldTheindex
+ \addcontentsline{toc}{section}{\indexname}
+ }
+}
diff --git a/doc/latex/sphinxmanual.cls b/doc/latex/sphinxmanual.cls
index 57fad1a..26df488 100644
--- a/doc/latex/sphinxmanual.cls
+++ b/doc/latex/sphinxmanual.cls
@@ -1,5 +1,5 @@
%
-% sphinxmanual.cls for Sphinx (http://sphinx.pocoo.org/)
+% sphinxmanual.cls for Sphinx (http://sphinx-doc.org/)
%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
@@ -114,6 +114,7 @@
\pagenumbering{arabic}%
\@ifundefined{fancyhf}{}{\pagestyle{normal}}%
}
+\pagenumbering{roman}
% This is needed to get the width of the section # area wide enough in the
% library reference. Doing it here keeps it the same for all the manuals.
@@ -131,3 +132,16 @@
\py@OldThebibliography{1}
\addcontentsline{toc}{chapter}{\bibname}
}
+
+% Same for the indices.
+% The memoir class already does this, so we don't duplicate it in that case.
+%
+\@ifclassloaded{memoir}{}{
+ \let\py@OldTheindex=\theindex
+ \renewcommand{\theindex}{
+ \cleardoublepage
+ \phantomsection
+ \py@OldTheindex
+ \addcontentsline{toc}{chapter}{\indexname}
+ }
+}
diff --git a/doc/man/fsck.s3ql.1 b/doc/man/fsck.s3ql.1
index 9302698..98a5ac4 100644
--- a/doc/man/fsck.s3ql.1
+++ b/doc/man/fsck.s3ql.1
@@ -1,4 +1,4 @@
-.TH "FSCK.S3QL" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "FSCK.S3QL" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
fsck.s3ql \- Check an S3QL file system for errors
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
fsck.s3ql [options] <storage url>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
@@ -69,18 +73,21 @@ Read authentication credentials from this file (default:
\fB~/.s3ql/authinfo2)\fP
.TP
.BI \-\-debug \ <module>
-activate debugging output from <module>. Use \fBall\fP to get
-debug messages from all modules. This option can be
+activate debugging output from <module>. Use \fBall\fP to
+get debug messages from all modules. This option can be
specified multiple times.
.TP
.B \-\-quiet
be really quiet
.TP
-.B \-\-ssl
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+.B \-\-no\-ssl
+Do not use secure (ssl) connections when connecting to
+remote servers.
+.TP
+.BI \-\-ssl\-ca\-path \ path
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system\(aqs OpenSSL library are used.
.TP
.B \-\-version
just print program version and exit
@@ -105,7 +112,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/mkfs.s3ql.1 b/doc/man/mkfs.s3ql.1
index f8a7e19..4c8debb 100644
--- a/doc/man/mkfs.s3ql.1
+++ b/doc/man/mkfs.s3ql.1
@@ -1,4 +1,4 @@
-.TH "MKFS.S3QL" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "MKFS.S3QL" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
mkfs.s3ql \- Create an S3QL file system
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
mkfs.s3ql [options] <storage url>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
@@ -75,11 +79,14 @@ be specified multiple times.
.B \-\-quiet
be really quiet
.TP
-.B \-\-ssl
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+.B \-\-no\-ssl
+Do not use secure (ssl) connections when connecting to
+remote servers.
+.TP
+.BI \-\-ssl\-ca\-path \ path
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system\(aqs OpenSSL library are used.
.TP
.B \-\-version
just print program version and exit
@@ -112,7 +119,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/mount.s3ql.1 b/doc/man/mount.s3ql.1
index 82b1ddd..7cb159f 100644
--- a/doc/man/mount.s3ql.1
+++ b/doc/man/mount.s3ql.1
@@ -1,4 +1,4 @@
-.TH "MOUNT.S3QL" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "MOUNT.S3QL" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
mount.s3ql \- Mount an S3QL file system
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
mount.s3ql [options] <storage url> <mount point>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
@@ -76,11 +80,14 @@ be specified multiple times.
.B \-\-quiet
be really quiet
.TP
-.B \-\-ssl
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+.B \-\-no\-ssl
+Do not use secure (ssl) connections when connecting to
+remote servers.
+.TP
+.BI \-\-ssl\-ca\-path \ path
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system\(aqs OpenSSL library are used.
.TP
.B \-\-version
just print program version and exit
@@ -128,10 +135,12 @@ is up.
Create profiling information. If you don\(aqt understand
this, then you don\(aqt need it.
.TP
-.BI \-\-compress \ <name>
-Compression algorithm to use when storing new data.
-Allowed values: \fBlzma\fP, \fBbzip2\fP, \fBzlib\fP, none.
-(default: \fBlzma\fP)
+.BI \-\-compress \ <algorithm\-lvl>
+Compression algorithm and compression level to use
+when storing new data. \fIalgorithm\fP may be any of
+\fBlzma\fP, \fBbzip2\fP, \fBzlib\fP, or none. \fIlvl\fP may be any
+integer from 0 (fastest) to 9 (slowest). Default:
+\fBlzma\-6\fP
.TP
.BI \-\-metadata\-upload\-interval \ <seconds>
Interval in seconds between complete metadata uploads.
@@ -159,7 +168,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/s3qladm.1 b/doc/man/s3qladm.1
index 89395e4..e86808c 100644
--- a/doc/man/s3qladm.1
+++ b/doc/man/s3qladm.1
@@ -1,4 +1,4 @@
-.TH "S3QLADM" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "S3QLADM" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
s3qladm \- Manage S3QL file systems
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
s3qladm [options] <action> <storage url>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.sp
where \fBaction\fP may be either of \fBpassphrase\fP,
\fBupgrade\fP, \fBdelete\fP or \fBdownload\-metadata\fP.
@@ -60,8 +64,8 @@ The \fBs3qladm\fP command accepts the following options.
.INDENT 0.0
.TP
.BI \-\-debug \ <module>
-activate debugging output from <module>. Use \fBall\fP to get
-debug messages from all modules. This option can be
+activate debugging output from <module>. Use \fBall\fP to
+get debug messages from all modules. This option can be
specified multiple times.
.TP
.B \-\-quiet
@@ -71,17 +75,20 @@ be really quiet
Write logging info into this file. File will be rotated
when it reaches 1 MiB, and at most 5 old log files will
be kept. Specify \fBnone\fP to disable logging. Default:
-\fBnone\fP
+\fBNone\fP
.TP
.BI \-\-authfile \ <path>
Read authentication credentials from this file (default:
\fB~/.s3ql/authinfo2)\fP
.TP
-.B \-\-ssl
-Always use SSL connections when connecting to remote
-servers. For backends that allow only encrypted
-connections, S3QL uses SSL automatically, even if this
-option is not set.
+.B \-\-no\-ssl
+Do not use secure (ssl) connections when connecting to
+remote servers.
+.TP
+.BI \-\-ssl\-ca\-path \ path
+File or directory or containing the trusted CA
+certificates. If not specified, the defaults compiled
+into the system\(aqs OpenSSL library are used.
.TP
.BI \-\-cachedir \ <path>
Store cached data in this directory (default: \fB~/.s3ql)\fP
@@ -123,7 +130,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/s3qlcp.1 b/doc/man/s3qlcp.1
index 7527522..0d31d5d 100644
--- a/doc/man/s3qlcp.1
+++ b/doc/man/s3qlcp.1
@@ -1,4 +1,4 @@
-.TH "S3QLCP" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "S3QLCP" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
s3qlcp \- Copy-on-write replication on S3QL file systems
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
s3qlcp [options] <source\-dir> <dest\-dir>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
@@ -127,7 +131,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/s3qlctrl.1 b/doc/man/s3qlctrl.1
index e4c2a6b..bd9c95a 100644
--- a/doc/man/s3qlctrl.1
+++ b/doc/man/s3qlctrl.1
@@ -1,4 +1,4 @@
-.TH "S3QLCTRL" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "S3QLCTRL" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
s3qlctrl \- Control a mounted S3QL file system
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
s3qlctrl [options] <action> <mountpoint> ...
.ft P
.fi
+.UNINDENT
+.UNINDENT
.sp
where \fBaction\fP may be either of \fBflushcache\fP,
\fBupload\-meta\fP, \fBcachesize\fP or
@@ -69,22 +73,30 @@ block while a snapshot of the metadata is prepared for upload.
Changes the cache size of the file system. This action requires an
additional argument that specifies the new cache size in KiB, so the
complete command line is:
+.INDENT 7.0
+.INDENT 3.5
.sp
.nf
.ft C
s3qlctrl [options] cachesize <mountpoint> <new\-cache\-size>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.TP
.B log
Change the amount of information that is logged into
\fB~/.s3ql/mount.log\fP file. The complete syntax is:
+.INDENT 7.0
+.INDENT 3.5
.sp
.nf
.ft C
s3qlctrl [options] log <mountpoint> <level> [<module> [<module> ...]]
.ft P
.fi
+.UNINDENT
+.UNINDENT
.sp
here \fBlevel\fP is the desired new log level and may be either of
\fIdebug\fP, \fIinfo\fP or \fIwarn\fP. One or more \fBmodule\fP may only be
@@ -125,7 +137,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/s3qllock.1 b/doc/man/s3qllock.1
index 81d5e16..c9d560d 100644
--- a/doc/man/s3qllock.1
+++ b/doc/man/s3qllock.1
@@ -1,4 +1,4 @@
-.TH "S3QLLOCK" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "S3QLLOCK" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
s3qllock \- Make trees on an S3QL file system immutable
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
s3qllock [options] <directory>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
@@ -114,7 +118,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/s3qlrm.1 b/doc/man/s3qlrm.1
index c2c9b7d..81bd5e0 100644
--- a/doc/man/s3qlrm.1
+++ b/doc/man/s3qlrm.1
@@ -1,4 +1,4 @@
-.TH "S3QLRM" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "S3QLRM" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
s3qlrm \- Fast tree removal on S3QL file systems
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
s3qlrm [options] <directory>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
@@ -86,7 +90,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/s3qlstat.1 b/doc/man/s3qlstat.1
index bc77358..bd5c682 100644
--- a/doc/man/s3qlstat.1
+++ b/doc/man/s3qlstat.1
@@ -1,4 +1,4 @@
-.TH "S3QLSTAT" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "S3QLSTAT" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
s3qlstat \- Gather S3QL file system statistics
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
s3qlstat [options] <mountpoint>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
@@ -80,7 +84,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/man/umount.s3ql.1 b/doc/man/umount.s3ql.1
index 3e66b02..d5e199d 100644
--- a/doc/man/umount.s3ql.1
+++ b/doc/man/umount.s3ql.1
@@ -1,4 +1,4 @@
-.TH "UMOUNT.S3QL" "1" "July 12, 2013" "1.16" "S3QL"
+.TH "UMOUNT.S3QL" "1" "October 19, 2013" "2.5" "S3QL"
.SH NAME
umount.s3ql \- Unmount an S3QL file system
.
@@ -28,15 +28,19 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructeredText.
+.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
+.INDENT 0.0
+.INDENT 3.5
.sp
.nf
.ft C
umount.s3ql [options] <mount point>
.ft P
.fi
+.UNINDENT
+.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
@@ -90,7 +94,6 @@ The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP.
.SH COPYRIGHT
-2008-2011, Nikolaus Rath
+2008-2013, Nikolaus Rath
.\" Generated by docutils manpage writer.
-.\"
.
diff --git a/doc/manual.pdf b/doc/manual.pdf
index 76769f3..c2e2903 100644
--- a/doc/manual.pdf
+++ b/doc/manual.pdf
Binary files differ