PK:C#cricket-v0.2.3/searchindex.jsSearch.setIndex({objects:{},terms:{all:[1,2],code:[2,3],abil:[0,3,4],follow:[0,2],depend:2,program:1,under:1,tcl8:1,mechan:0,failur:1,veri:[0,1],exact:1,relev:0,button:4,list:0,adjust:1,overlaid:3,pleas:2,discover:0,helicopt:[0,1],port:3,even:0,index:1,access:1,"public":4,version:[1,2],"new":3,method:0,thin:0,widget:0,full:0,gener:[0,1,4],modif:3,ubuntu:[1,4],path:1,search:[1,3],modul:[0,1,2,4],apt:1,put:1,instal:[1,2,4],txt:2,select:4,from:[1,4],advantag:0,would:0,commun:3,coverag:[3,4],websit:1,call:0,recommend:2,until:1,more:0,examin:0,cach:4,graphic:1,work:1,cumbersom:1,histori:[1,4],can:1,executor:[0,3,4],quickstart:1,stream:0,sudo:1,indic:1,want:[0,1,2],juli:[1,4],end:3,write:[0,1],subdirectori:0,instead:2,updat:4,clone:2,reflect:1,mai:1,github:2,django:[0,1,4],caus:4,callback:0,environ:[0,1,2],incorpor:4,help:[1,4],becaus:2,keyboard:3,style:[0,1,4],fix:4,selenium:3,window:1,pytest:[0,3],main:0,might:[0,1],them:2,duvet:4,python:[1,2,3],dai:1,initi:4,now:2,choic:0,name:[0,1],each:3,gui:[0,1,3],hard:[0,1],continu:3,realli:0,expect:0,event:0,variabl:1,content:1,correct:4,argv:0,standard:[0,2,3],base:[1,3],releas:[1,4],org:1,requirements_dev_python2:2,omit:1,thing:3,isn:1,onto:0,think:0,first:0,onc:0,number:0,hook:0,differ:0,script:1,system:[0,1],necessarili:0,store:3,consol:1,namespac:0,tool:[0,1],appropri:[0,1],target:0,whenev:1,provid:[0,1,3],project:[1,3,4],mkvirtualenv:2,seri:0,pre:1,"function":0,runner:1,idlelib:1,ani:1,packag:1,have:[1,2,3],tabl:1,need:[0,1],built:0,pybe:[1,2,4],also:1,take:0,which:0,unittest2:[1,2,4],envrion:2,normal:1,track:3,most:1,virut:2,prestigi:1,pyc:4,why:[0,1],later:1,request:2,pipe:0,part:[1,2],dot:0,hack:2,identifi:1,discoveri:[1,4],find:1,onli:[0,2],layout:[0,1],just:[0,1],menu:4,activ:1,should:0,local:1,hit:1,contribut:[1,2,3],get:1,watch:1,report:4,requir:[0,1,2],bat:1,patch:3,stuff:0,integr:[3,4],contain:0,septemb:[1,4],view:0,set:[1,2],dump:1,startup:4,roadmap:[1,3],result:[1,3],fail:1,best:0,concern:0,pattern:1,someth:1,label:0,state:4,between:3,experi:2,approach:1,accord:0,august:[1,4],kei:0,come:1,addit:2,both:0,last:1,howev:0,improv:[3,4],com:2,simpli:0,point:0,overview:[0,1],unittest:[0,1,2],pop:1,littl:1,suppli:0,assum:2,pycon:4,backend:[0,1,3],beewar:1,beer:1,tkreadonli:3,packg:1,understand:0,present:1,"case":2,look:1,histor:3,defin:0,"while":1,error:4,fun:2,virtualenvwrapp:2,helper:2,stdout:0,readi:2,"__main__":0,itself:0,tcl_librari:1,develop:[1,2],make:1,same:0,handl:4,complex:0,subunit:3,complet:1,http:1,screenshot:3,effect:1,rais:4,user:0,task:0,machineri:0,entri:0,well:[0,2],command:[0,2],thi:[0,1],model:0,usual:1,protocol:3,execut:[0,1,4],less:0,dose:1,tcl:1,sky:0,shortcut:3,add:3,other:1,els:1,pipedtestrunn:0,testr:3,format:1,game:1,background:3,python2:1,like:[1,3],manual:4,collect:[3,4],either:0,output:[0,1],page:1,some:[0,1],sprint:4,librari:[1,2],virtualenv:1,nose:3,watchabl:1,core:0,run:[0,1,2,4],stage:0,actual:3,slightli:0,idl:1,produc:0,own:[1,2,4],pythonpath:4,within:2,automat:1,wrap:0,your:[1,2],git:2,log:2,wai:2,support:[0,1,4],submit:2,custom:0,avail:0,start:[0,1,2,4],interfac:[0,3],includ:[0,3,4],lot:3,suit:[0,1,2,4],fork:2,cricket:[0,1,2,3],form:0,python27:1,line:[0,1],pull:2,requirements_dev:2,consist:0,possibl:3,displai:3,limit:[0,1],problem:[1,2,4],featur:3,creat:0,dure:4,balmer:1,file:[0,3],pip:[1,2],when:4,detail:[0,1],virtual:[1,2],valid:0,test:[0,1,2,3,4],you:[0,1,2,3],architectur:[0,1],stat:3,june:[1,4],peak:1,relaunch:4,directori:[0,1],mask:4,time:0},objtypes:{},titles:["Writing a Cricket backend","Cricket","Contributing to Cricket","Cricket Roadmap","Release History"],objnames:{},filenames:["internals/backends","index","internals/contributing","internals/roadmap","releases"]})PK:C[/3/3cricket-v0.2.3/releases.html Release History — Cricket 0.2.3 documentation

Release History

0.2.3 - September 26, 2013

  • Added ability to generate coverage
  • Integration with Duvet

0.2.2 - September 17, 2013

  • Corrected a problem with starting unittest2 projects.
  • Corrected a error raised when unittest2 was manually installed in PYTHONPATH.

0.2.1 - September 14, 2013

  • Fixed selection of test modules in unittest2-style suite discovery.
  • Added ability to run Django’s own test suite.

0.2.0 - August 31, 2013

  • Relaunch as a PyBee project.
  • Added test and help menus.

0.1.3 - July 29, 2013

  • Corrected problem with Django test executor, masked by pyc caching.
  • Improved collection of errors raised during test startup.

0.1.2 - July 26, 2013

  • Improved handling of button state during test execution.

0.1.1 - July 9, 2013

Release incorporating updates from the PyCon AU 2013 sprints, including:

  • Unittest2 support
  • Improved handling of errors raised during test execution
  • Improved reporting of errors caused on Ubuntu

0.1.0 - June 21, 2013

Initial public release, at PyCon AU 2013

PK:CLnT##cricket-v0.2.3/search.html Search — Cricket 0.2.3 documentation

Search

Please activate JavaScript to enable the search functionality.

From here you can search these documents. Enter your search words into the box below and click "search". Note that the search function will automatically search for all of the words. Pages containing fewer words won't appear in the result list.

Project Versions

This Page

PK:Cn0dcricket-v0.2.3/.buildinfo# 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: 7fcb9b164c947c1a6bbe0a20994d85ae tags: fbb0d17656682115ca4d033fb2f83ba1 PK:Ci3Z"Z"cricket-v0.2.3/genindex.html Index — Cricket 0.2.3 documentation

Index

Project Versions

This Page

PK:Ccricket-v0.2.3/objects.inv# Sphinx inventory version 2 # Project: Cricket # Version: 0.2 # The remainder of this file is compressed using zlib. xOKIP(.IILJQ5T(ͅJe(+槔*xShBu@&%g*AC$r1PK:Csq@@cricket-v0.2.3/index.html Cricket — Cricket 0.2.3 documentation

Cricket

Cricket is part of the BeeWare suite. The project website is http://pybee.org/cricket.

Cricket a graphical tool that helps you run your test suites.

Normal unittest test runners dump all output to the console, and provide very little detail while the suite is running. As a result:

  • You can’t start looking at failures until the test suite has completed running,
  • It isn’t a very accessible format for identifying patterns in test failures,
  • It can be hard (or cumbersome) to re-run any tests that have failed.

Why the name cricket? Test Cricket is the most prestigious version of the game of cricket. Games last for up to 5 days... just like running some test suites. The usual approach for making cricket watchable is a generous dose of beer; in programming, Balmer Peak limits come into effect, so something else is required...

Quickstart

At present, Cricket has support for:

  • Pre-Django 1.6 project test suites,
  • Django 1.6+ project test suites using unittest2-style discovery, and
  • unittest project test suites.

In your Django project, install cricket, and then run it:

$ pip install cricket
$ cricket-django

cricket-django will also work in Django’s own tests directory – i.e., you can use cricket-django to run Django’s own test suite (for Django 1.6 or later).

In a unittest project, install cricket, and then run it:

$ pip install cricket
$ cricket-unittest

This will pop up a GUI window. Hit “Run all”, and watch your test suite execute.

Problems under Ubuntu

Ubuntu’s packaging of Python omits the idlelib library from it’s base packge. If you’re using Python 2.7 on Ubuntu 13.04, you can install idlelib by running:

$ sudo apt-get install idle-python2.7

For other versions of Python and Ubuntu, you’ll need to adjust this as appropriate.

Problems under Windows

If you’re running Cricket in a virtualenv, you’ll need to set an environment variable so that Cricket can find the TCL graphics library:

$ set TCL_LIBRARY=c:\Python27\tcl\tcl8.5

You’ll need to adjust the exact path to reflect your local Python install. You may find it helpful to put this line in the activate.bat script for your virtual environment so that it is automatically set whenever the virtualenv is activated.

Contents:

Indices and tables

Project Versions

Table Of Contents

Next topic

Contributing to Cricket

This Page

PK:CA^**%cricket-v0.2.3/internals/roadmap.html Cricket Roadmap — Cricket 0.2.3 documentation

Cricket Roadmap

Cricket is a new project - we have lots of things that we’d like to do. If you’d like to contribute, providing a patch for one of these features:

  • Use a standard protocol (e.g., subunit) for communicating between the executor and the GUI
  • Port to Python 3
  • Add a pytest backend
  • Add a nose backend
  • Add a selenium backend, including possibly adding the ability to collect and store screenshots at the end of each test
  • Improve GUI interface, including:
    • keyboard shortcuts
    • search
  • Integrate with coverage, and use tkreadonly to display coverage stats overlaid on actual code
  • Add historical tracking of test results
  • Integrate with testr
  • Add continuous background testing based on file modifications

Project Versions

Previous topic

Writing a Cricket backend

Next topic

Release History

This Page

PK:Cv:7:7&cricket-v0.2.3/internals/backends.html Writing a Cricket backend — Cricket 0.2.3 documentation

Writing a Cricket backend

Why you might want to do this

A number of test execution environments are not necessarily supported. This includes pytest, GUI test tools, or even custom stuff. The sky is the limit. Or, you might just want to understand the architecture.

Helicopter Overview of the Architecture

The main directory consists of events, executor, model, pipes, view and widgets. The once which are the concern of the GUI are events, view and widgets. The onces which concern the backend are model, executor and pipes. The one which you need to really understand is pipes, but that’s not the best starting point.

The best starting point is either the unittest or django subdirectory. The GUI is first built by the relevant backend, and the backend provides standard callbacks for the GUI.

Layout of a Backend System

A Cricket backend should contain the following 4 files:

  • __main__.py - The entry point for the user.
  • discoverer.py - Generates the list of available tests
  • executor.py - Wraps execution of test functions
  • model.py - Defines the method for executing the discoverer and executor

Requirements of a backend

Both the Django and the unittest backend take advantage of the unittest module to create and execute test suites. The core file pipes.PipedTestRunner will run unittest-style tests and provide the appropriately well-formed output expected by the GUI. However, it is a valid choice for the executor to produce output of the same for onto stdout itself. The only hard requirement is that the executor function stream onto stdout a series of well-formed outputs. To understand the full detail, examine pipes.py.

The Django and the unittest mechanisms for executing tests are different. The Django backend is a thin hook into the Django test execution machinery. The unittest backend is a slightly less thin hook into the unittest modele. The key requirements of the executor backend are:

  1. The ability to stream well-formed output to stdout
  2. The ability to limit/target test execution according to supplied labels

At the time of writing, sys.argv[1:] will be the list of dotted-namespaced names of tests which should be run. More complex command-line calls are simply not supported at this stage. A very useful task would be to do some more thinking on this interface.

Project Versions

Table Of Contents

Previous topic

Contributing to Cricket

Next topic

Cricket Roadmap

This Page

PK:CmQ0Q0*cricket-v0.2.3/internals/contributing.html Contributing to Cricket — Cricket 0.2.3 documentation

Contributing to Cricket

If you experience problems with cricket, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

Setting up your development environment

The recommended way of setting up your development envrionment for cricket is to install a virtual environment, install the required dependencies and start coding. Assuming that you are using virtualenvwrapper, you only have to run:

$ git clone git@github.com:pybee/cricket.git
$ cd cricket
$ mkvirtualenv cricket

Cricket uses unittest (or unittest2 for Python < 2.7) for its own test suite as well as additional helper modules for testing. To install all the requirements for cricket, you have to run the following commands within your virutal envrionment:

$ pip install -e .
$ pip install -r requirements_dev.txt

In case you are running a python version < 2.7 please use the requirements_dev_python2.7.txt instead because unittest2 is not part of the standard library for these version.

Now you are ready to start hacking! Have fun!

Project Versions

Table Of Contents

Previous topic

Cricket

Next topic

Writing a Cricket backend

This Page

PK:CD00+cricket-v0.2.3/.doctrees/environment.pickle(csphinx.environment BuildEnvironment qoq}q(Udlfilesqcsphinx.util FilenameUniqDict q)qc__builtin__ set q]RqbUappq NU _warnfuncq NUtitlesq }q (Uinternals/backendsq cdocutils.nodes title q)q}q(U rawsourceqUU attributesq}q(Udupnamesq]Uclassesq]Ubackrefsq]Uidsq]Unamesq]uUchildrenq]qcdocutils.nodes Text qXWriting a Cricket backendqq}q(hXWriting a Cricket backendqUparentq hubaUtagnameq!Utitleq"ubUindexq#h)q$}q%(hUh}q&(h]h]h]h]h]uh]q'hXCricketq(q)}q*(hXCricketq+h h$ubah!h"ubUinternals/contributingq,h)q-}q.(hUh}q/(h]h]h]h]h]uh]q0hXContributing to Cricketq1q2}q3(hXContributing to Cricketq4h h-ubah!h"ubUreleasesq5h)q6}q7(hUh}q8(h]h]h]h]h]uh]q9hXRelease Historyq:q;}q<(hXRelease Historyq=h h6ubah!h"ubUinternals/roadmapq>h)q?}q@(hUh}qA(h]h]h]h]h]uh]qBhXCricket RoadmapqCqD}qE(hXCricket RoadmapqFh h?ubah!h"ubuU domaindataqG}qH(UstdqI}qJ(UversionqKKU anonlabelsqL}qM(UmodindexqNU py-modindexUUgenindexqOhOUUsearchqPUsearchUuUlabelsqQ}qR(hNU py-modindexUcsphinx.locale _TranslationProxy qScsphinx.locale mygettext qTU Module IndexqUqVhThUqWbhOhOUhShTUIndexqXqYhThXqZbhPhPUhShTU Search Pageq[q\hTh[q]buU progoptionsq^}q_Uobjectsq`}qauUc}qb(h`}qchKKuUpyqd}qe(h`}qfUmodulesqg}qhhKKuUjsqi}qj(h`}qkhKKuUrstql}qm(h`}qnhKKuUcppqo}qp(h`}qqhKKuuU glob_toctreesqrh]qsh#aRqtU reread_alwaysquh]RqvU doctreedirqwUJ/var/build/user_builds/cricket/checkouts/v0.2.3/docs/_build/html/.doctreesqxUversioning_conditionqyU citationsqz}hKK)Usrcdirq{U4/var/build/user_builds/cricket/checkouts/v0.2.3/docsq|Uconfigq}csphinx.config Config q~)q}q(U html_contextq}q(U badge_revsysUdisplay_githubU using_themeU READTHEDOCSU conf_py_pathU/docs/U github_repoUcricketqUcurrent_versionUv0.2.3qUslughUnameqXCricketqUversions]q(UlatestU /en/latest/qhU /en/v0.2.3/qUv0.1U /en/v0.1/qeUPRODUCTION_DOMAINUreadthedocs.orgU github_userUpybeeUanalytics_codeU UA-2943925-6Ugithub_versionhU MEDIA_URLU//media.readthedocs.org/uUpygments_styleqUsphinxqUhtmlhelp_basenameqU CricketdocU html_themeqUdefaultqU master_docqUindexqU source_suffixqU.rstUtexinfo_documentsq]q(UindexqUCricketqXCricket DocumentationqXRussell Keith-MageeqhU/A graphical tool to assist running test suites.U MiscellaneoustqaU copyrightqX2013, Russell Keith-MageeUexclude_patternsq]qU_buildqahKU0.2U man_pagesq]q(hhh]qhaKtqaU html_styleqUrtd.cssUhtml_theme_optionsq}Utemplates_pathq]q(UA/home/docs/checkouts/readthedocs.org/readthedocs/templates/sphinxqU _templatesqeUlatex_documentsq]q(hU Cricket.texhhUmanualtqaUhtml_static_pathq]q(U_staticqUI/home/docs/checkouts/readthedocs.org/readthedocs/templates/sphinx/_staticqeUlatex_elementsq}U overridesq}UprojectqhU extensionsq]UreleaseqU0.2.3qUsetupqNubUmetadataq}q(h }h#}h,}h5}h>}uUversionchangesq}Utoc_num_entriesq}q(h Kh#Kh,Kh5K h>KuUimagesqh)qh]RqbUnumbered_toctreesqh]RqU found_docsqh]q(h h#h,h>h5eRqU longtitlesq}q(h hh#h$h,h-h5h6h>h?uU dependenciesq}Utoctree_includesq}qh#]q(h,h h>h5esU temp_dataq}Utocsq}q(h cdocutils.nodes bullet_list q)q}q(hUh}q(h]h]h]h]h]uh]qcdocutils.nodes list_item q)q}q(hUh}q(h]h]h]h]h]uh hh]q(csphinx.addnodes compact_paragraph q)q}q(hUh}q(h]h]h]h]h]uh hh]qcdocutils.nodes reference q)q}q(hUh}q(U anchornameUUrefurih h]h]h]h]h]Uinternaluh hh]qhXWriting a Cricket backendqq}q(hhh hubah!U referencequbah!Ucompact_paragraphqubh)q}q(hUh}q(h]h]h]h]h]uh hh]q(h)q}q(hUh}q(h]h]h]h]h]uh hh]qh)q}q(hUh}q(h]h]h]h]h]uh hh]qh)q}q(hUh}q(U anchornameU#why-you-might-want-to-do-thisUrefurih h]h]h]h]h]Uinternaluh hh]qhXWhy you might want to do thisqq}q(hXWhy you might want to do thisqh hubah!hubah!hubah!U list_itemqubh)q}q(hUh}q(h]h]h]h]h]uh hh]qh)q}q(hUh}r(h]h]h]h]h]uh hh]rh)r}r(hUh}r(U anchornameU(#helicopter-overview-of-the-architectureUrefurih h]h]h]h]h]Uinternaluh hh]rhX'Helicopter Overview of the Architecturerr}r(hX'Helicopter Overview of the Architecturer h jubah!hubah!hubah!hubh)r }r (hUh}r (h]h]h]h]h]uh hh]r h)r}r(hUh}r(h]h]h]h]h]uh j h]rh)r}r(hUh}r(U anchornameU#layout-of-a-backend-systemUrefurih h]h]h]h]h]Uinternaluh jh]rhXLayout of a Backend Systemrr}r(hXLayout of a Backend Systemrh jubah!hubah!hubah!hubh)r}r(hUh}r(h]h]h]h]h]uh hh]rh)r}r(hUh}r (h]h]h]h]h]uh jh]r!h)r"}r#(hUh}r$(U anchornameU#requirements-of-a-backendUrefurih h]h]h]h]h]Uinternaluh jh]r%hXRequirements of a backendr&r'}r((hXRequirements of a backendr)h j"ubah!hubah!hubah!hubeh!U bullet_listr*ubeh!hubah!j*ubh#h)r+}r,(hUh}r-(h]h]h]h]h]uh]r.(h)r/}r0(hUh}r1(h]h]h]h]h]uh j+h]r2(h)r3}r4(hUh}r5(h]h]h]h]h]uh j/h]r6h)r7}r8(hUh}r9(U anchornameUUrefurih#h]h]h]h]h]Uinternaluh j3h]r:hXCricketr;r<}r=(hh+h j7ubah!hubah!hubh)r>}r?(hUh}r@(h]h]h]h]h]uh j/h]rAh)rB}rC(hUh}rD(h]h]h]h]h]uh j>h]rE(h)rF}rG(hUh}rH(h]h]h]h]h]uh jBh]rIh)rJ}rK(hUh}rL(U anchornameU #quickstartUrefurih#h]h]h]h]h]Uinternaluh jFh]rMhX QuickstartrNrO}rP(hX Quickstarth jJubah!hubah!hubh)rQ}rR(hUh}rS(h]h]h]h]h]uh jBh]rT(h)rU}rV(hUh}rW(h]h]h]h]h]uh jQh]rXh)rY}rZ(hUh}r[(h]h]h]h]h]uh jUh]r\h)r]}r^(hUh}r_(U anchornameU#problems-under-ubuntuUrefurih#h]h]h]h]h]Uinternaluh jYh]r`hXProblems under Ubunturarb}rc(hXProblems under Ubuntuh j]ubah!hubah!hubah!hubh)rd}re(hUh}rf(h]h]h]h]h]uh jQh]rg(h)rh}ri(hUh}rj(h]h]h]h]h]uh jdh]rkh)rl}rm(hUh}rn(U anchornameU#problems-under-windowsUrefurih#h]h]h]h]h]Uinternaluh jhh]rohXProblems under Windowsrprq}rr(hXProblems under Windowsh jlubah!hubah!hubh)rs}rt(hUh}ru(h]h]h]h]h]uh jdh]rvcsphinx.addnodes toctree rw)rx}ry(hUh}rz(UnumberedKUparenth#U titlesonlyUglobh]h]h]h]h]Uentries]r{(Nh,r|Nh r}Nh>r~Nh5reUhiddenU includefiles]r(h,h h>h5eUmaxdepthKuh jsh]h!Utoctreerubah!j*ubeh!hubeh!j*ubeh!hubah!j*ubeh!hubh)r}r(hUh}r(h]h]h]h]h]uh j+h]rh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(U anchornameU#indices-and-tablesUrefurih#h]h]h]h]h]Uinternaluh jh]rhXIndices and tablesrr}r(hXIndices and tablesh jubah!hubah!hubah!hubeh!j*ubh,h)r}r(hUh}r(h]h]h]h]h]uh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]r(h)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(U anchornameUUrefurih,h]h]h]h]h]Uinternaluh jh]rhXContributing to Cricketrr}r(hh4h jubah!hubah!hubh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(U anchornameU(#setting-up-your-development-environmentUrefurih,h]h]h]h]h]Uinternaluh jh]rhX'Setting up your development environmentrr}r(hX'Setting up your development environmentrh jubah!hubah!hubah!hubah!j*ubeh!hubah!j*ubh5h)r}r(hUh}r(h]h]h]h]h]uh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]r(h)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(U anchornameUUrefurih5h]h]h]h]h]Uinternaluh jh]rhXRelease Historyrr}r(hh=h jubah!hubah!hubh)r}r(hUh}r(h]h]h]h]h]uh jh]r(h)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(U anchornameU#september-26-2013Urefurih5h]h]h]h]h]Uinternaluh jh]rhX0.2.3 - September 26, 2013rr}r(hX0.2.3 - September 26, 2013rh jubah!hubah!hubah!hubh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(U anchornameU#september-17-2013Urefurih5h]h]h]h]h]Uinternaluh jh]rhX0.2.2 - September 17, 2013rr}r(hX0.2.2 - September 17, 2013rh jubah!hubah!hubah!hubh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(U anchornameU#september-14-2013Urefurih5h]h]h]h]h]Uinternaluh jh]rhX0.2.1 - September 14, 2013rr}r(hX0.2.1 - September 14, 2013rh jubah!hubah!hubah!hubh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r (U anchornameU#august-31-2013Urefurih5h]h]h]h]h]Uinternaluh jh]r hX0.2.0 - August 31, 2013r r }r (hX0.2.0 - August 31, 2013rh jubah!hubah!hubah!hubh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(h]h]h]h]h]uh jh]rh)r}r(hUh}r(U anchornameU #july-29-2013Urefurih5h]h]h]h]h]Uinternaluh jh]rhX0.1.3 - July 29, 2013rr}r(hX0.1.3 - July 29, 2013rh jubah!hubah!hubah!hubh)r}r (hUh}r!(h]h]h]h]h]uh jh]r"h)r#}r$(hUh}r%(h]h]h]h]h]uh jh]r&h)r'}r((hUh}r)(U anchornameU #july-26-2013Urefurih5h]h]h]h]h]Uinternaluh j#h]r*hX0.1.2 - July 26, 2013r+r,}r-(hX0.1.2 - July 26, 2013r.h j'ubah!hubah!hubah!hubh)r/}r0(hUh}r1(h]h]h]h]h]uh jh]r2h)r3}r4(hUh}r5(h]h]h]h]h]uh j/h]r6h)r7}r8(hUh}r9(U anchornameU #july-9-2013Urefurih5h]h]h]h]h]Uinternaluh j3h]r:hX0.1.1 - July 9, 2013r;r<}r=(hX0.1.1 - July 9, 2013r>h j7ubah!hubah!hubah!hubh)r?}r@(hUh}rA(h]h]h]h]h]uh jh]rBh)rC}rD(hUh}rE(h]h]h]h]h]uh j?h]rFh)rG}rH(hUh}rI(U anchornameU #june-21-2013Urefurih5h]h]h]h]h]Uinternaluh jCh]rJhX0.1.0 - June 21, 2013rKrL}rM(hX0.1.0 - June 21, 2013rNh jGubah!hubah!hubah!hubeh!j*ubeh!hubah!j*ubh>h)rO}rP(hUh}rQ(h]h]h]h]h]uh]rRh)rS}rT(hUh}rU(h]h]h]h]h]uh jOh]rVh)rW}rX(hUh}rY(h]h]h]h]h]uh jSh]rZh)r[}r\(hUh}r](U anchornameUUrefurih>h]h]h]h]h]Uinternaluh jWh]r^hXCricket Roadmapr_r`}ra(hhFh j[ubah!hubah!hubah!hubah!j*ubuU indexentriesrb}rc(h ]h#]h,]h5]h>]uUall_docsrd}re(h GAԐ@h#GAԐ̦h,GAԐ΋h5GAԐGh>GAԐ[uUsettingsrf}rg(Ucloak_email_addressesrhUtrim_footnote_reference_spaceriU halt_levelrjKUsectsubtitle_xformrkUembed_stylesheetrlU pep_base_urlrmUhttp://www.python.org/dev/peps/rnUdoctitle_xformroUwarning_streamrpcsphinx.util.nodes WarningStream rq)rr}rs(U_rertcre _compile ruU+\((DEBUG|INFO|WARNING|ERROR|SEVERE)/[0-4]\)rvKRrwUwarnfuncrxNubUenvryhU rfc_base_urlrzUhttp://tools.ietf.org/html/r{Ugettext_compactr|Uinput_encodingr}U utf-8-sigr~uUfiles_to_rebuildr}r(h h]rh#aRrh,h]rh#aRrh5h]rh#aRrh>h]rh#aRruUtoc_secnumbersr}U_nitpick_ignorerh]Rrub.PK:CΊFF&cricket-v0.2.3/.doctrees/index.doctreecdocutils.nodes document q)q}q(U nametypesq}q(XcricketqNX quickstartqNXproblems under ubuntuqNXproblems under windowsq NXhttp://pybee.org/cricketq KXindices and tablesq NX beeware suiteq KX balmer peakq KX test cricketqKuUsubstitution_defsq}qUparse_messagesq]qUcurrent_sourceqNU decorationqNUautofootnote_startqKUnameidsq}q(hUcricketqhU quickstartqhUproblems-under-ubuntuqh Uproblems-under-windowsqh Uhttp-pybee-org-cricketqh Uindices-and-tablesqh U beeware-suiteqh U balmer-peakqhU test-cricketq uUchildrenq!]q"(cdocutils.nodes section q#)q$}q%(U rawsourceq&UUparentq'hUsourceq(cdocutils.nodes reprunicode q)X>/var/build/user_builds/cricket/checkouts/v0.2.3/docs/index.rstq*q+}q,bUtagnameq-Usectionq.U attributesq/}q0(Udupnamesq1]Uclassesq2]Ubackrefsq3]Uidsq4]q5haUnamesq6]q7hauUlineq8KUdocumentq9hh!]q:(cdocutils.nodes title q;)q<}q=(h&XCricketq>h'h$h(h+h-Utitleq?h/}q@(h1]h2]h3]h4]h6]uh8Kh9hh!]qAcdocutils.nodes Text qBXCricketqCqD}qE(h&h>h'hhBX&$ pip install cricket $ cricket-djangor?r@}rA(h&Uh'j8ubaubhF)rB}rC(h&X``cricket-django`` will also work in Django's own tests directory -- i.e., you can use ``cricket-django`` to run Django's own test suite (for Django 1.6 or later).h'hh(h+h-hJh/}rD(h1]h2]h3]h4]h6]uh8K*h9hh!]rE(h)rF}rG(h&X``cricket-django``h/}rH(h1]h2]h3]h4]h6]uh'jBh!]rIhBXcricket-djangorJrK}rL(h&Uh'jFubah-hubhBXE will also work in Django's own tests directory -- i.e., you can use rMrN}rO(h&XE will also work in Django's own tests directory -- i.e., you can use h'jBubh)rP}rQ(h&X``cricket-django``h/}rR(h1]h2]h3]h4]h6]uh'jBh!]rShBXcricket-djangorTrU}rV(h&Uh'jPubah-hubhBX: to run Django's own test suite (for Django 1.6 or later).rWrX}rY(h&X: to run Django's own test suite (for Django 1.6 or later).h'jBubeubhF)rZ}r[(h&X9In a unittest project, install cricket, and then run it::r\h'hh(h+h-hJh/}r](h1]h2]h3]h4]h6]uh8K.h9hh!]r^hBX8In a unittest project, install cricket, and then run it:r_r`}ra(h&X8In a unittest project, install cricket, and then run it:h'jZubaubj7)rb}rc(h&X($ pip install cricket $ cricket-unittesth'hh(h+h-j:h/}rd(j<j=h4]h3]h1]h2]h6]uh8K0h9hh!]rehBX($ pip install cricket $ cricket-unittestrfrg}rh(h&Uh'jbubaubhF)ri}rj(h&XPThis will pop up a GUI window. Hit "Run all", and watch your test suite execute.rkh'hh(h+h-hJh/}rl(h1]h2]h3]h4]h6]uh8K3h9hh!]rmhBXPThis will pop up a GUI window. Hit "Run all", and watch your test suite execute.rnro}rp(h&jkh'jiubaubh#)rq}rr(h&Uh'hh(h+h-h.h/}rs(h1]h2]h3]h4]rthah6]ruhauh8K7h9hh!]rv(h;)rw}rx(h&XProblems under Ubunturyh'jqh(h+h-h?h/}rz(h1]h2]h3]h4]h6]uh8K7h9hh!]r{hBXProblems under Ubuntur|r}}r~(h&jyh'jwubaubhF)r}r(h&XUbuntu's packaging of Python omits the ``idlelib`` library from it's base packge. If you're using Python 2.7 on Ubuntu 13.04, you can install ``idlelib`` by running::h'jqh(h+h-hJh/}r(h1]h2]h3]h4]h6]uh8K9h9hh!]r(hBX'Ubuntu's packaging of Python omits the rr}r(h&X'Ubuntu's packaging of Python omits the h'jubh)r}r(h&X ``idlelib``h/}r(h1]h2]h3]h4]h6]uh'jh!]rhBXidlelibrr}r(h&Uh'jubah-hubhBX\ library from it's base packge. If you're using Python 2.7 on Ubuntu 13.04, you can install rr}r(h&X\ library from it's base packge. If you're using Python 2.7 on Ubuntu 13.04, you can install h'jubh)r}r(h&X ``idlelib``h/}r(h1]h2]h3]h4]h6]uh'jh!]rhBXidlelibrr}r(h&Uh'jubah-hubhBX by running:rr}r(h&X by running:h'jubeubj7)r}r(h&X%$ sudo apt-get install idle-python2.7h'jqh(h+h-j:h/}r(j<j=h4]h3]h1]h2]h6]uh8K=h9hh!]rhBX%$ sudo apt-get install idle-python2.7rr}r(h&Uh'jubaubhF)r}r(h&XSFor other versions of Python and Ubuntu, you'll need to adjust this as appropriate.rh'jqh(h+h-hJh/}r(h1]h2]h3]h4]h6]uh8K?h9hh!]rhBXSFor other versions of Python and Ubuntu, you'll need to adjust this as appropriate.rr}r(h&jh'jubaubeubh#)r}r(h&Uh'hh(h+h-h.h/}r(h1]h2]h3]h4]rhah6]rh auh8KCh9hh!]r(h;)r}r(h&XProblems under Windowsrh'jh(h+h-h?h/}r(h1]h2]h3]h4]h6]uh8KCh9hh!]rhBXProblems under Windowsrr}r(h&jh'jubaubhF)r}r(h&XIf you're running Cricket in a virtualenv, you'll need to set an environment variable so that Cricket can find the TCL graphics library::h'jh(h+h-hJh/}r(h1]h2]h3]h4]h6]uh8KEh9hh!]rhBXIf you're running Cricket in a virtualenv, you'll need to set an environment variable so that Cricket can find the TCL graphics library:rr}r(h&XIf you're running Cricket in a virtualenv, you'll need to set an environment variable so that Cricket can find the TCL graphics library:h'jubaubj7)r}r(h&X($ set TCL_LIBRARY=c:\Python27\tcl\tcl8.5h'jh(h+h-j:h/}r(j<j=h4]h3]h1]h2]h6]uh8KHh9hh!]rhBX($ set TCL_LIBRARY=c:\Python27\tcl\tcl8.5rr}r(h&Uh'jubaubhF)r}r(h&XYou'll need to adjust the exact path to reflect your local Python install. You may find it helpful to put this line in the ``activate.bat`` script for your virtual environment so that it is automatically set whenever the virtualenv is activated.h'jh(h+h-hJh/}r(h1]h2]h3]h4]h6]uh8KJh9hh!]r(hBX{You'll need to adjust the exact path to reflect your local Python install. You may find it helpful to put this line in the rr}r(h&X{You'll need to adjust the exact path to reflect your local Python install. You may find it helpful to put this line in the h'jubh)r}r(h&X``activate.bat``h/}r(h1]h2]h3]h4]h6]uh'jh!]rhBX activate.batrr}r(h&Uh'jubah-hubhBXj script for your virtual environment so that it is automatically set whenever the virtualenv is activated.rr}r(h&Xj script for your virtual environment so that it is automatically set whenever the virtualenv is activated.h'jubeubhF)r}r(h&X Contents:rh'jh(h+h-hJh/}r(h1]h2]h3]h4]h6]uh8KOh9hh!]rhBX Contents:rr}r(h&jh'jubaubcdocutils.nodes compound r)r}r(h&Uh'jh(h+h-Ucompoundrh/}r(h1]h2]rUtoctree-wrapperrah3]h4]h6]uh8Nh9hh!]rcsphinx.addnodes toctree r)r}r(h&Uh'jh(h+h-Utoctreerh/}r(UnumberedrKh'UindexrU titlesonlyrUglobrh4]h3]h1]h2]h6]Uentriesr]r(NUinternals/contributingrrNUinternals/backendsrrNUinternals/roadmaprrNUreleasesrreUhiddenrU includefilesr]r(jjjjeUmaxdepthrKuh8KQh!]ubaubeubeubeubh#)r}r(h&Uh'hh(h+h-h.h/}r(h1]h2]h3]h4]rhah6]rh auh8K[h9hh!]r(h;)r}r(h&XIndices and tablesrh'jh(h+h-h?h/}r(h1]h2]h3]h4]h6]uh8K[h9hh!]rhBXIndices and tablesrr }r (h&jh'jubaubh)r }r (h&Uh'jh(h+h-hh/}r (hX*h4]h3]h1]h2]h6]uh8K]h9hh!]r(h)r}r(h&X:ref:`genindex`rh'j h(h+h-hh/}r(h1]h2]h3]h4]h6]uh8Nh9hh!]rhF)r}r(h&jh'jh(h+h-hJh/}r(h1]h2]h3]h4]h6]uh8K]h!]rcsphinx.addnodes pending_xref r)r}r(h&jh'jh(h+h-U pending_xrefrh/}r(UreftypeXrefUrefwarnrU reftargetrXgenindexU refdomainXstdrh4]h3]U refexplicith1]h2]h6]Urefdocr juh8K]h!]r!cdocutils.nodes emphasis r")r#}r$(h&jh/}r%(h1]h2]r&(Uxrefr'jXstd-refr(eh3]h4]h6]uh'jh!]r)hBXgenindexr*r+}r,(h&Uh'j#ubah-Uemphasisr-ubaubaubaubh)r.}r/(h&X:ref:`modindex`r0h'j h(h+h-hh/}r1(h1]h2]h3]h4]h6]uh8Nh9hh!]r2hF)r3}r4(h&j0h'j.h(h+h-hJh/}r5(h1]h2]h3]h4]h6]uh8K^h!]r6j)r7}r8(h&j0h'j3h(h+h-jh/}r9(UreftypeXrefjjXmodindexU refdomainXstdr:h4]h3]U refexplicith1]h2]h6]j juh8K^h!]r;j")r<}r=(h&j0h/}r>(h1]h2]r?(j'j:Xstd-refr@eh3]h4]h6]uh'j7h!]rAhBXmodindexrBrC}rD(h&Uh'j<ubah-j-ubaubaubaubh)rE}rF(h&X :ref:`search`rGh'j h(h+h-hh/}rH(h1]h2]h3]h4]h6]uh8Nh9hh!]rIhF)rJ}rK(h&jGh'jEh(h+h-hJh/}rL(h1]h2]h3]h4]h6]uh8K_h!]rMj)rN}rO(h&jGh'jJh(h+h-jh/}rP(UreftypeXrefjjXsearchU refdomainXstdrQh4]h3]U refexplicith1]h2]h6]j juh8K_h!]rRj")rS}rT(h&jGh/}rU(h1]h2]rV(j'jQXstd-refrWeh3]h4]h6]uh'jNh!]rXhBXsearchrYrZ}r[(h&Uh'jSubah-j-ubaubaubaubeubeubeh&UU transformerr\NU footnote_refsr]}r^Urefnamesr_}r`(X beeware suite]rahQaX balmer peak]rbhaX test cricket]rchahb]rdh_auUsymbol_footnotesre]rfUautofootnote_refsrg]rhUsymbol_footnote_refsri]rjU citationsrk]rlh9hU current_linermNUtransform_messagesrn]roUreporterrpNUid_startrqKU autofootnotesrr]rsU citation_refsrt}ruUindirect_targetsrv]rwUsettingsrx(cdocutils.frontend Values ryorz}r{(Ufootnote_backlinksr|KUrecord_dependenciesr}NU rfc_base_urlr~Uhttp://tools.ietf.org/html/rU tracebackrKUpep_referencesrNUstrip_commentsrNU toc_backlinksrUentryrU language_coderUenrU datestamprNU report_levelrKU _destinationrNU halt_levelrKU strip_classesrNh?NUerror_encoding_error_handlerrUbackslashreplacerUdebugrNUembed_stylesheetrUoutput_encoding_error_handlerrUstrictrU sectnum_xformrKUdump_transformsrNU docinfo_xformrKUwarning_streamrNUpep_file_url_templaterUpep-%04drUexit_status_levelrKUconfigrNUstrict_visitorrNUcloak_email_addressesrUtrim_footnote_reference_spacerUenvrNUdump_pseudo_xmlrNUexpose_internalsrNUsectsubtitle_xformrU source_linkrNUrfc_referencesrNUoutput_encodingrUutf-8rU source_urlrNUinput_encodingrU utf-8-sigrU_disable_configrNU id_prefixrUU tab_widthrKUerror_encodingrUUTF-8rU_sourcerU>/var/build/user_builds/cricket/checkouts/v0.2.3/docs/index.rstrUgettext_compactrU generatorrNUdump_internalsrNU pep_base_urlrUhttp://www.python.org/dev/peps/rUinput_encoding_error_handlerrjUauto_id_prefixrUidrUdoctitle_xformrUstrip_elements_with_classesrNU _config_filesr]Ufile_insertion_enabledrKU raw_enabledrKU dump_settingsrNubUsymbol_footnote_startrKUidsr}r(hhhh$hhhjhhh hhhhjhjquUsubstitution_namesr}rh-h9h/}r(h1]h4]h3]Usourceh+h2]h6]uU footnotesr]rUrefidsr}rub.PK:C\+\+)cricket-v0.2.3/.doctrees/releases.doctreecdocutils.nodes document q)q}q(U nametypesq}q(X0.1.2 - july 26, 2013qNX0.2.0 - august 31, 2013qNX0.2.3 - september 26, 2013qNXrelease historyq NX0.2.2 - september 17, 2013q NX0.2.1 - september 14, 2013q NX0.1.0 - june 21, 2013q NX0.1.1 - july 9, 2013q NX0.1.3 - july 29, 2013qNuUsubstitution_defsq}qUparse_messagesq]qUcurrent_sourceqNU decorationqNUautofootnote_startqKUnameidsq}q(hU july-26-2013qhUaugust-31-2013qhUseptember-26-2013qh Urelease-historyqh Useptember-17-2013qh Useptember-14-2013qh U june-21-2013qh U july-9-2013qhU july-29-2013q uUchildrenq!]q"cdocutils.nodes section q#)q$}q%(U rawsourceq&UUparentq'hUsourceq(cdocutils.nodes reprunicode q)XA/var/build/user_builds/cricket/checkouts/v0.2.3/docs/releases.rstq*q+}q,bUtagnameq-Usectionq.U attributesq/}q0(Udupnamesq1]Uclassesq2]Ubackrefsq3]Uidsq4]q5haUnamesq6]q7h auUlineq8KUdocumentq9hh!]q:(cdocutils.nodes title q;)q<}q=(h&XRelease Historyq>h'h$h(h+h-Utitleq?h/}q@(h1]h2]h3]h4]h6]uh8Kh9hh!]qAcdocutils.nodes Text qBXRelease HistoryqCqD}qE(h&h>h'h(h1]h2]h3]h4]h6]uh8K)h9hh!]r?hBX0.1.2 - July 26, 2013r@rA}rB(h&j=h'j;ubaubhT)rC}rD(h&Uh'j5h(Nh-hWh/}rE(h1]h2]h3]h4]h6]uh8Nh9hh!]rFhZ)rG}rH(h&Uh/}rI(h^X*h4]h3]h1]h2]h6]uh'jCh!]rJh`)rK}rL(h&X9Improved handling of button state during test execution. h/}rM(h1]h2]h3]h4]h6]uh'jGh!]rNhe)rO}rP(h&X8Improved handling of button state during test execution.rQh'jKh(h+h-hih/}rR(h1]h2]h3]h4]h6]uh8K+h!]rShBX8Improved handling of button state during test execution.rTrU}rV(h&jQh'jOubaubah-houbah-h|ubaubeubh#)rW}rX(h&Uh'h$h(h+h-h.h/}rY(h1]h2]h3]h4]rZhah6]r[h auh8K.h9hh!]r\(h;)r]}r^(h&X0.1.1 - July 9, 2013r_h'jWh(h+h-h?h/}r`(h1]h2]h3]h4]h6]uh8K.h9hh!]rahBX0.1.1 - July 9, 2013rbrc}rd(h&j_h'j]ubaubhe)re}rf(h&XHRelease incorporating updates from the PyCon AU 2013 sprints, including:rgh'jWh(h+h-hih/}rh(h1]h2]h3]h4]h6]uh8K0h9hh!]rihBXHRelease incorporating updates from the PyCon AU 2013 sprints, including:rjrk}rl(h&jgh'jeubaubhT)rm}rn(h&Uh'jWh(Nh-hWh/}ro(h1]h2]h3]h4]h6]uh8Nh9hh!]rphZ)rq}rr(h&Uh/}rs(h^X*h4]h3]h1]h2]h6]uh'jmh!]rt(h`)ru}rv(h&XUnittest2 support h/}rw(h1]h2]h3]h4]h6]uh'jqh!]rxhe)ry}rz(h&XUnittest2 supportr{h'juh(h+h-hih/}r|(h1]h2]h3]h4]h6]uh8K2h!]r}hBXUnittest2 supportr~r}r(h&j{h'jyubaubah-houbh`)r}r(h&X9Improved handling of errors raised during test execution h/}r(h1]h2]h3]h4]h6]uh'jqh!]rhe)r}r(h&X8Improved handling of errors raised during test executionrh'jh(h+h-hih/}r(h1]h2]h3]h4]h6]uh8K4h!]rhBX8Improved handling of errors raised during test executionrr}r(h&jh'jubaubah-houbh`)r}r(h&X.Improved reporting of errors caused on Ubuntu h/}r(h1]h2]h3]h4]h6]uh'jqh!]rhe)r}r(h&X-Improved reporting of errors caused on Ubunturh'jh(h+h-hih/}r(h1]h2]h3]h4]h6]uh8K6h!]rhBX-Improved reporting of errors caused on Ubunturr}r(h&jh'jubaubah-houbeh-h|ubaubeubh#)r}r(h&Uh'h$h(h+h-h.h/}r(h1]h2]h3]h4]rhah6]rh auh8K9h9hh!]r(h;)r}r(h&X0.1.0 - June 21, 2013rh'jh(h+h-h?h/}r(h1]h2]h3]h4]h6]uh8K9h9hh!]rhBX0.1.0 - June 21, 2013rr}r(h&jh'jubaubhe)r}r(h&X(Initial public release, at PyCon AU 2013rh'jh(h+h-hih/}r(h1]h2]h3]h4]h6]uh8K;h9hh!]rhBX(Initial public release, at PyCon AU 2013rr}r(h&jh'jubaubeubeubah&UU transformerrNU footnote_refsr}rUrefnamesr}rUsymbol_footnotesr]rUautofootnote_refsr]rUsymbol_footnote_refsr]rU citationsr]rh9hU current_linerNUtransform_messagesr]rUreporterrNUid_startrKU autofootnotesr]rU citation_refsr}rUindirect_targetsr]rUsettingsr(cdocutils.frontend Values ror}r(Ufootnote_backlinksrKUrecord_dependenciesrNU rfc_base_urlrUhttp://tools.ietf.org/html/rU tracebackrKUpep_referencesrNUstrip_commentsrNU toc_backlinksrUentryrU language_coderUenrU datestamprNU report_levelrKU _destinationrNU halt_levelrKU strip_classesrNh?NUerror_encoding_error_handlerrUbackslashreplacerUdebugrNUembed_stylesheetrUoutput_encoding_error_handlerrUstrictrU sectnum_xformrKUdump_transformsrNU docinfo_xformrKUwarning_streamrNUpep_file_url_templaterUpep-%04drUexit_status_levelrKUconfigrNUstrict_visitorrNUcloak_email_addressesrUtrim_footnote_reference_spacerUenvrNUdump_pseudo_xmlrNUexpose_internalsrNUsectsubtitle_xformrU source_linkrNUrfc_referencesrNUoutput_encodingrUutf-8rU source_urlrNUinput_encodingrU utf-8-sigrU_disable_configrNU id_prefixrUU tab_widthrKUerror_encodingrUUTF-8rU_sourcerUA/var/build/user_builds/cricket/checkouts/v0.2.3/docs/releases.rstrUgettext_compactrU generatorrNUdump_internalsrNU pep_base_urlrUhttp://www.python.org/dev/peps/rUinput_encoding_error_handlerrjUauto_id_prefixrUidrUdoctitle_xformrUstrip_elements_with_classesrNU _config_filesr]Ufile_insertion_enabledr KU raw_enabledr KU dump_settingsr NubUsymbol_footnote_startr KUidsr }r(hj5hh$hhFhhhjhh}hjWhhh juUsubstitution_namesr}rh-h9h/}r(h1]h4]h3]Usourceh+h2]h6]uU footnotesr]rUrefidsr}rub.PK:CGѻ""7cricket-v0.2.3/.doctrees/internals/contributing.doctreecdocutils.nodes document q)q}q(U nametypesq}q(X fork the codeqKXlog them on githubqKX'setting up your development environmentqNXsubmit a pull requestq KXcontributing to cricketq NuUsubstitution_defsq }q Uparse_messagesq ]qUcurrent_sourceqNU decorationqNUautofootnote_startqKUnameidsq}q(hU fork-the-codeqhUlog-them-on-githubqhU'setting-up-your-development-environmentqh Usubmit-a-pull-requestqh Ucontributing-to-cricketquUchildrenq]qcdocutils.nodes section q)q}q(U rawsourceqUUparentqhUsourceq cdocutils.nodes reprunicode q!XO/var/build/user_builds/cricket/checkouts/v0.2.3/docs/internals/contributing.rstq"q#}q$bUtagnameq%Usectionq&U attributesq'}q((Udupnamesq)]Uclassesq*]Ubackrefsq+]Uidsq,]q-haUnamesq.]q/h auUlineq0KUdocumentq1hh]q2(cdocutils.nodes title q3)q4}q5(hXContributing to Cricketq6hhh h#h%Utitleq7h'}q8(h)]h*]h+]h,]h.]uh0Kh1hh]q9cdocutils.nodes Text q:XContributing to Cricketq;q<}q=(hh6hh4ubaubcdocutils.nodes paragraph q>)q?}q@(hXIf you experience problems with cricket, `log them on GitHub`_. If you want to contribute code, please `fork the code`_ and `submit a pull request`_.qAhhh h#h%U paragraphqBh'}qC(h)]h*]h+]h,]h.]uh0Kh1hh]qD(h:X)If you experience problems with cricket, qEqF}qG(hX)If you experience problems with cricket, hh?ubcdocutils.nodes reference qH)qI}qJ(hX`log them on GitHub`_UresolvedqKKhh?h%U referenceqLh'}qM(UnameXlog them on GitHubUrefuriqNX'https://github.com/pybee/cricket/issuesqOh,]h+]h)]h*]h.]uh]qPh:Xlog them on GitHubqQqR}qS(hUhhIubaubh:X). If you want to contribute code, please qTqU}qV(hX). If you want to contribute code, please hh?ubhH)qW}qX(hX`fork the code`_hKKhh?h%hLh'}qY(UnameX fork the codehNX https://github.com/pybee/cricketqZh,]h+]h)]h*]h.]uh]q[h:X fork the codeq\q]}q^(hUhhWubaubh:X and q_q`}qa(hX and hh?ubhH)qb}qc(hX`submit a pull request`_hKKhh?h%hLh'}qd(UnameXsubmit a pull requesthNX&https://github.com/pybee/cricket/pullsqeh,]h+]h)]h*]h.]uh]qfh:Xsubmit a pull requestqgqh}qi(hUhhbubaubh:X.qj}qk(hX.hh?ubeubcdocutils.nodes target ql)qm}qn(hX?.. _log them on Github: https://github.com/pybee/cricket/issuesU referencedqoKhhh h#h%Utargetqph'}qq(hNhOh,]qrhah+]h)]h*]h.]qshauh0Kh1hh]ubhl)qt}qu(hX3.. _fork the code: https://github.com/pybee/crickethoKhhh h#h%hph'}qv(hNhZh,]qwhah+]h)]h*]h.]qxhauh0Kh1hh]ubhl)qy}qz(hXA.. _submit a pull request: https://github.com/pybee/cricket/pullshoKhhh h#h%hph'}q{(hNheh,]q|hah+]h)]h*]h.]q}h auh0K h1hh]ubh)q~}q(hUhhh h#h%h&h'}q(h)]h*]h+]h,]qhah.]qhauh0K h1hh]q(h3)q}q(hX'Setting up your development environmentqhh~h h#h%h7h'}q(h)]h*]h+]h,]h.]uh0K h1hh]qh:X'Setting up your development environmentqq}q(hhhhubaubh>)q}q(hXThe recommended way of setting up your development envrionment for ``cricket`` is to install a virtual environment, install the required dependencies and start coding. Assuming that you are using ``virtualenvwrapper``, you only have to run::hh~h h#h%hBh'}q(h)]h*]h+]h,]h.]uh0Kh1hh]q(h:XCThe recommended way of setting up your development envrionment for qq}q(hXCThe recommended way of setting up your development envrionment for hhubcdocutils.nodes literal q)q}q(hX ``cricket``h'}q(h)]h*]h+]h,]h.]uhhh]qh:Xcricketqq}q(hUhhubah%Uliteralqubh:Xv is to install a virtual environment, install the required dependencies and start coding. Assuming that you are using qq}q(hXv is to install a virtual environment, install the required dependencies and start coding. Assuming that you are using hhubh)q}q(hX``virtualenvwrapper``h'}q(h)]h*]h+]h,]h.]uhhh]qh:Xvirtualenvwrapperqq}q(hUhhubah%hubh:X, you only have to run:qq}q(hX, you only have to run:hhubeubcdocutils.nodes literal_block q)q}q(hXP$ git clone git@github.com:pybee/cricket.git $ cd cricket $ mkvirtualenv crickethh~h h#h%U literal_blockqh'}q(U xml:spaceqUpreserveqh,]h+]h)]h*]h.]uh0Kh1hh]qh:XP$ git clone git@github.com:pybee/cricket.git $ cd cricket $ mkvirtualenv cricketqq}q(hUhhubaubh>)q}q(hXCricket uses ``unittest`` (or ``unittest2`` for Python < 2.7) for its own test suite as well as additional helper modules for testing. To install all the requirements for cricket, you have to run the following commands within your virutal envrionment::hh~h h#h%hBh'}q(h)]h*]h+]h,]h.]uh0Kh1hh]q(h:X Cricket uses qq}q(hX Cricket uses hhubh)q}q(hX ``unittest``h'}q(h)]h*]h+]h,]h.]uhhh]qh:Xunittestqq}q(hUhhubah%hubh:X (or q…q}q(hX (or hhubh)q}q(hX ``unittest2``h'}q(h)]h*]h+]h,]h.]uhhh]qh:X unittest2qɅq}q(hUhhubah%hubh:X for Python < 2.7) for its own test suite as well as additional helper modules for testing. To install all the requirements for cricket, you have to run the following commands within your virutal envrionment:q̅q}q(hX for Python < 2.7) for its own test suite as well as additional helper modules for testing. To install all the requirements for cricket, you have to run the following commands within your virutal envrionment:hhubeubh)q}q(hX8$ pip install -e . $ pip install -r requirements_dev.txthh~h h#h%hh'}q(hhh,]h+]h)]h*]h.]uh0Kh1hh]qh:X8$ pip install -e . $ pip install -r requirements_dev.txtqӅq}q(hUhhubaubh>)q}q(hXIn case you are running a python version ``< 2.7`` please use the ``requirements_dev_python2.7.txt`` instead because ``unittest2`` is not part of the standard library for these version.hh~h h#h%hBh'}q(h)]h*]h+]h,]h.]uh0K h1hh]q(h:X)In case you are running a python version qڅq}q(hX)In case you are running a python version hhubh)q}q(hX ``< 2.7``h'}q(h)]h*]h+]h,]h.]uhhh]qh:X< 2.7qᅁq}q(hUhhubah%hubh:X please use the q䅁q}q(hX please use the hhubh)q}q(hX"``requirements_dev_python2.7.txt``h'}q(h)]h*]h+]h,]h.]uhhh]qh:Xrequirements_dev_python2.7.txtq녁q}q(hUhhubah%hubh:X instead because qq}q(hX instead because hhubh)q}q(hX ``unittest2``h'}q(h)]h*]h+]h,]h.]uhhh]qh:X unittest2qq}q(hUhhubah%hubh:X7 is not part of the standard library for these version.qq}q(hX7 is not part of the standard library for these version.hhubeubh>)q}q(hX-Now you are ready to start hacking! Have fun!qhh~h h#h%hBh'}q(h)]h*]h+]h,]h.]uh0K$h1hh]qh:X-Now you are ready to start hacking! Have fun!rr}r(hhhhubaubeubeubahUU transformerrNU footnote_refsr}rUrefnamesr}r(X fork the code]rhWaXlog them on github]r hIaXsubmit a pull request]r hbauUsymbol_footnotesr ]r Uautofootnote_refsr ]rUsymbol_footnote_refsr]rU citationsr]rh1hU current_linerNUtransform_messagesr]rUreporterrNUid_startrKU autofootnotesr]rU citation_refsr}rUindirect_targetsr]rUsettingsr(cdocutils.frontend Values ror }r!(Ufootnote_backlinksr"KUrecord_dependenciesr#NU rfc_base_urlr$Uhttp://tools.ietf.org/html/r%U tracebackr&KUpep_referencesr'NUstrip_commentsr(NU toc_backlinksr)Uentryr*U language_coder+Uenr,U datestampr-NU report_levelr.KU _destinationr/NU halt_levelr0KU strip_classesr1Nh7NUerror_encoding_error_handlerr2Ubackslashreplacer3Udebugr4NUembed_stylesheetr5Uoutput_encoding_error_handlerr6Ustrictr7U sectnum_xformr8KUdump_transformsr9NU docinfo_xformr:KUwarning_streamr;NUpep_file_url_templater<Upep-%04dr=Uexit_status_levelr>KUconfigr?NUstrict_visitorr@NUcloak_email_addressesrAUtrim_footnote_reference_spacerBUenvrCNUdump_pseudo_xmlrDNUexpose_internalsrENUsectsubtitle_xformrFU source_linkrGNUrfc_referencesrHNUoutput_encodingrIUutf-8rJU source_urlrKNUinput_encodingrLU utf-8-sigrMU_disable_configrNNU id_prefixrOUU tab_widthrPKUerror_encodingrQUUTF-8rRU_sourcerSUO/var/build/user_builds/cricket/checkouts/v0.2.3/docs/internals/contributing.rstrTUgettext_compactrUU generatorrVNUdump_internalsrWNU pep_base_urlrXUhttp://www.python.org/dev/peps/rYUinput_encoding_error_handlerrZj7Uauto_id_prefixr[Uidr\Udoctitle_xformr]Ustrip_elements_with_classesr^NU _config_filesr_]Ufile_insertion_enabledr`KU raw_enabledraKU dump_settingsrbNubUsymbol_footnote_startrcKUidsrd}re(hhmhhhh~hhthhyuUsubstitution_namesrf}rgh%h1h'}rh(h)]h,]h+]Usourceh#h*]h.]uU footnotesri]rjUrefidsrk}rlub.PK:C1,,3cricket-v0.2.3/.doctrees/internals/backends.doctreecdocutils.nodes document q)q}q(U nametypesq}q(Xrequirements of a backendqNXlayout of a backend systemqNXwhy you might want to do thisqNX'helicopter overview of the architectureq NXwriting a cricket backendq NuUsubstitution_defsq }q Uparse_messagesq ]qUcurrent_sourceqNU decorationqNUautofootnote_startqKUnameidsq}q(hUrequirements-of-a-backendqhUlayout-of-a-backend-systemqhUwhy-you-might-want-to-do-thisqh U'helicopter-overview-of-the-architectureqh Uwriting-a-cricket-backendquUchildrenq]qcdocutils.nodes section q)q}q(U rawsourceqUUparentqhUsourceq cdocutils.nodes reprunicode q!XK/var/build/user_builds/cricket/checkouts/v0.2.3/docs/internals/backends.rstq"q#}q$bUtagnameq%Usectionq&U attributesq'}q((Udupnamesq)]Uclassesq*]Ubackrefsq+]Uidsq,]q-haUnamesq.]q/h auUlineq0KUdocumentq1hh]q2(cdocutils.nodes title q3)q4}q5(hXWriting a Cricket backendq6hhh h#h%Utitleq7h'}q8(h)]h*]h+]h,]h.]uh0Kh1hh]q9cdocutils.nodes Text q:XWriting a Cricket backendq;q<}q=(hh6hh4ubaubh)q>}q?(hUhhh h#h%h&h'}q@(h)]h*]h+]h,]qAhah.]qBhauh0Kh1hh]qC(h3)qD}qE(hXWhy you might want to do thisqFhh>h h#h%h7h'}qG(h)]h*]h+]h,]h.]uh0Kh1hh]qHh:XWhy you might want to do thisqIqJ}qK(hhFhhDubaubcdocutils.nodes paragraph qL)qM}qN(hXA number of test execution environments are not necessarily supported. This includes pytest, GUI test tools, or even custom stuff. The sky is the limit. Or, you might just want to understand the architecture.qOhh>h h#h%U paragraphqPh'}qQ(h)]h*]h+]h,]h.]uh0Kh1hh]qRh:XA number of test execution environments are not necessarily supported. This includes pytest, GUI test tools, or even custom stuff. The sky is the limit. Or, you might just want to understand the architecture.qSqT}qU(hhOhhMubaubeubh)qV}qW(hUhhh h#h%h&h'}qX(h)]h*]h+]h,]qYhah.]qZh auh0K h1hh]q[(h3)q\}q](hX'Helicopter Overview of the Architectureq^hhVh h#h%h7h'}q_(h)]h*]h+]h,]h.]uh0K h1hh]q`h:X'Helicopter Overview of the Architectureqaqb}qc(hh^hh\ubaubhL)qd}qe(hX9The main directory consists of events, executor, model, pipes, view and widgets. The once which are the concern of the GUI are events, view and widgets. The onces which concern the backend are model, executor and pipes. The one which you need to really understand is pipes, but that's not the best starting point.qfhhVh h#h%hPh'}qg(h)]h*]h+]h,]h.]uh0Kh1hh]qhh:X9The main directory consists of events, executor, model, pipes, view and widgets. The once which are the concern of the GUI are events, view and widgets. The onces which concern the backend are model, executor and pipes. The one which you need to really understand is pipes, but that's not the best starting point.qiqj}qk(hhfhhdubaubhL)ql}qm(hXThe best starting point is either the unittest or django subdirectory. The GUI is first built by the relevant backend, and the backend provides standard callbacks for the GUI.qnhhVh h#h%hPh'}qo(h)]h*]h+]h,]h.]uh0Kh1hh]qph:XThe best starting point is either the unittest or django subdirectory. The GUI is first built by the relevant backend, and the backend provides standard callbacks for the GUI.qqqr}qs(hhnhhlubaubeubh)qt}qu(hUhhh h#h%h&h'}qv(h)]h*]h+]h,]qwhah.]qxhauh0Kh1hh]qy(h3)qz}q{(hXLayout of a Backend Systemq|hhth h#h%h7h'}q}(h)]h*]h+]h,]h.]uh0Kh1hh]q~h:XLayout of a Backend Systemqq}q(hh|hhzubaubhL)q}q(hX7A Cricket backend should contain the following 4 files:qhhth h#h%hPh'}q(h)]h*]h+]h,]h.]uh0Kh1hh]qh:X7A Cricket backend should contain the following 4 files:qq}q(hhhhubaubcdocutils.nodes block_quote q)q}q(hUhhth Nh%U block_quoteqh'}q(h)]h*]h+]h,]h.]uh0Nh1hh]qcdocutils.nodes bullet_list q)q}q(hUh'}q(UbulletqX*h,]h+]h)]h*]h.]uhhh]q(cdocutils.nodes list_item q)q}q(hX0``__main__.py`` - The entry point for the user. h'}q(h)]h*]h+]h,]h.]uhhh]qhL)q}q(hX/``__main__.py`` - The entry point for the user.hhh h#h%hPh'}q(h)]h*]h+]h,]h.]uh0Kh]q(cdocutils.nodes literal q)q}q(hX``__main__.py``h'}q(h)]h*]h+]h,]h.]uhhh]qh:X __main__.pyqq}q(hUhhubah%Uliteralqubh:X - The entry point for the user.qq}q(hX - The entry point for the user.hhubeubah%U list_itemqubh)q}q(hX:``discoverer.py`` - Generates the list of available tests h'}q(h)]h*]h+]h,]h.]uhhh]qhL)q}q(hX9``discoverer.py`` - Generates the list of available testshhh h#h%hPh'}q(h)]h*]h+]h,]h.]uh0Kh]q(h)q}q(hX``discoverer.py``h'}q(h)]h*]h+]h,]h.]uhhh]qh:X discoverer.pyqq}q(hUhhubah%hubh:X( - Generates the list of available testsqq}q(hX( - Generates the list of available testshhubeubah%hubh)q}q(hX4``executor.py`` - Wraps execution of test functions h'}q(h)]h*]h+]h,]h.]uhhh]qhL)q}q(hX3``executor.py`` - Wraps execution of test functionshhh h#h%hPh'}q(h)]h*]h+]h,]h.]uh0K!h]q(h)q}q(hX``executor.py``h'}q(h)]h*]h+]h,]h.]uhhh]qh:X executor.pyqʅq}q(hUhhubah%hubh:X$ - Wraps execution of test functionsqͅq}q(hX$ - Wraps execution of test functionshhubeubah%hubh)q}q(hXL``model.py`` - Defines the method for executing the discoverer and executor h'}q(h)]h*]h+]h,]h.]uhhh]qhL)q}q(hXK``model.py`` - Defines the method for executing the discoverer and executorhhh h#h%hPh'}q(h)]h*]h+]h,]h.]uh0K#h]q(h)q}q(hX ``model.py``h'}q(h)]h*]h+]h,]h.]uhhh]qh:Xmodel.pyq܅q}q(hUhhubah%hubh:X? - Defines the method for executing the discoverer and executorq߅q}q(hX? - Defines the method for executing the discoverer and executorhhubeubah%hubeh%U bullet_listqubaubeubh)q}q(hUhhh h#h%h&h'}q(h)]h*]h+]h,]qhah.]qhauh0K&h1hh]q(h3)q}q(hXRequirements of a backendqhhh h#h%h7h'}q(h)]h*]h+]h,]h.]uh0K&h1hh]qh:XRequirements of a backendqq}q(hhhhubaubhL)q}q(hXBoth the Django and the unittest backend take advantage of the unittest module to create and execute test suites. The core file pipes.PipedTestRunner will run unittest-style tests and provide the appropriately well-formed output expected by the GUI. However, it is a valid choice for the executor to produce output of the same for onto stdout itself. The only hard requirement is that the executor function stream onto stdout a series of well-formed outputs. To understand the full detail, examine pipes.py.qhhh h#h%hPh'}q(h)]h*]h+]h,]h.]uh0K(h1hh]qh:XBoth the Django and the unittest backend take advantage of the unittest module to create and execute test suites. The core file pipes.PipedTestRunner will run unittest-style tests and provide the appropriately well-formed output expected by the GUI. However, it is a valid choice for the executor to produce output of the same for onto stdout itself. The only hard requirement is that the executor function stream onto stdout a series of well-formed outputs. To understand the full detail, examine pipes.py.qq}q(hhhhubaubhL)q}q(hXThe Django and the unittest mechanisms for executing tests are different. The Django backend is a thin hook into the Django test execution machinery. The unittest backend is a slightly less thin hook into the unittest modele. The key requirements of the executor backend are:qhhh h#h%hPh'}q(h)]h*]h+]h,]h.]uh0K0h1hh]qh:XThe Django and the unittest mechanisms for executing tests are different. The Django backend is a thin hook into the Django test execution machinery. The unittest backend is a slightly less thin hook into the unittest modele. The key requirements of the executor backend are:qq}r(hhhhubaubh)r}r(hUhhh Nh%hh'}r(h)]h*]h+]h,]h.]uh0Nh1hh]rcdocutils.nodes enumerated_list r)r}r(hUh'}r(Usuffixr U.h,]h+]h)]Uprefixr Uh*]h.]Uenumtyper Uarabicr uhjh]r (h)r}r(hX2The ability to stream well-formed output to stdoutrh'}r(h)]h*]h+]h,]h.]uhjh]rhL)r}r(hjhjh h#h%hPh'}r(h)]h*]h+]h,]h.]uh0K5h]rh:X2The ability to stream well-formed output to stdoutrr}r(hjhjubaubah%hubh)r}r(hXHThe ability to limit/target test execution according to supplied labels h'}r(h)]h*]h+]h,]h.]uhjh]rhL)r}r(hXGThe ability to limit/target test execution according to supplied labelsr hjh h#h%hPh'}r!(h)]h*]h+]h,]h.]uh0K6h]r"h:XGThe ability to limit/target test execution according to supplied labelsr#r$}r%(hj hjubaubah%hubeh%Uenumerated_listr&ubaubhL)r'}r((hXAt the time of writing, sys.argv[1:] will be the list of dotted-namespaced names of tests which should be run. More complex command-line calls are simply not supported at this stage. A very useful task would be to do some more thinking on this interface.r)hhh h#h%hPh'}r*(h)]h*]h+]h,]h.]uh0K8h1hh]r+h:XAt the time of writing, sys.argv[1:] will be the list of dotted-namespaced names of tests which should be run. More complex command-line calls are simply not supported at this stage. A very useful task would be to do some more thinking on this interface.r,r-}r.(hj)hj'ubaubeubeubahUU transformerr/NU footnote_refsr0}r1Urefnamesr2}r3Usymbol_footnotesr4]r5Uautofootnote_refsr6]r7Usymbol_footnote_refsr8]r9U citationsr:]r;h1hU current_liner<NUtransform_messagesr=]r>Ureporterr?NUid_startr@KU autofootnotesrA]rBU citation_refsrC}rDUindirect_targetsrE]rFUsettingsrG(cdocutils.frontend Values rHorI}rJ(Ufootnote_backlinksrKKUrecord_dependenciesrLNU rfc_base_urlrMUhttp://tools.ietf.org/html/rNU tracebackrOKUpep_referencesrPNUstrip_commentsrQNU toc_backlinksrRUentryrSU language_coderTUenrUU datestamprVNU report_levelrWKU _destinationrXNU halt_levelrYKU strip_classesrZNh7NUerror_encoding_error_handlerr[Ubackslashreplacer\Udebugr]NUembed_stylesheetr^Uoutput_encoding_error_handlerr_Ustrictr`U sectnum_xformraKUdump_transformsrbNU docinfo_xformrcKUwarning_streamrdNUpep_file_url_templatereUpep-%04drfUexit_status_levelrgKUconfigrhNUstrict_visitorriNUcloak_email_addressesrjUtrim_footnote_reference_spacerkUenvrlNUdump_pseudo_xmlrmNUexpose_internalsrnNUsectsubtitle_xformroU source_linkrpNUrfc_referencesrqNUoutput_encodingrrUutf-8rsU source_urlrtNUinput_encodingruU utf-8-sigrvU_disable_configrwNU id_prefixrxUU tab_widthryKUerror_encodingrzUUTF-8r{U_sourcer|UK/var/build/user_builds/cricket/checkouts/v0.2.3/docs/internals/backends.rstr}Ugettext_compactr~U generatorrNUdump_internalsrNU pep_base_urlrUhttp://www.python.org/dev/peps/rUinput_encoding_error_handlerrj`Uauto_id_prefixrUidrUdoctitle_xformrUstrip_elements_with_classesrNU _config_filesr]Ufile_insertion_enabledrKU raw_enabledrKU dump_settingsrNubUsymbol_footnote_startrKUidsr}r(hhhh>hhthhVhhuUsubstitution_namesr}rh%h1h'}r(h)]h,]h+]Usourceh#h*]h.]uU footnotesr]rUrefidsr}rub.PK:C>Am||2cricket-v0.2.3/.doctrees/internals/roadmap.doctreecdocutils.nodes document q)q}q(U nametypesq}qXcricket roadmapqNsUsubstitution_defsq}qUparse_messagesq ]q Ucurrent_sourceq NU decorationq NUautofootnote_startq KUnameidsq}qhUcricket-roadmapqsUchildrenq]qcdocutils.nodes section q)q}q(U rawsourceqUUparentqhUsourceqcdocutils.nodes reprunicode qXJ/var/build/user_builds/cricket/checkouts/v0.2.3/docs/internals/roadmap.rstqq}qbUtagnameqUsectionqU attributesq}q (Udupnamesq!]Uclassesq"]Ubackrefsq#]Uidsq$]q%haUnamesq&]q'hauUlineq(KUdocumentq)hh]q*(cdocutils.nodes title q+)q,}q-(hXCricket Roadmapq.hhhhhUtitleq/h}q0(h!]h"]h#]h$]h&]uh(Kh)hh]q1cdocutils.nodes Text q2XCricket Roadmapq3q4}q5(hh.hh,ubaubcdocutils.nodes paragraph q6)q7}q8(hXCricket is a new project - we have lots of things that we'd like to do. If you'd like to contribute, providing a patch for one of these features:q9hhhhhU paragraphq:h}q;(h!]h"]h#]h$]h&]uh(Kh)hh]q}q?(hh9hh7ubaubcdocutils.nodes block_quote q@)qA}qB(hUhhhNhU block_quoteqCh}qD(h!]h"]h#]h$]h&]uh(Nh)hh]qEcdocutils.nodes bullet_list qF)qG}qH(hUh}qI(UbulletqJX*h$]h#]h!]h"]h&]uhhAh]qK(cdocutils.nodes list_item qL)qM}qN(hX[Use a standard protocol (e.g., subunit) for communicating between the executor and the GUI h}qO(h!]h"]h#]h$]h&]uhhGh]qPh6)qQ}qR(hXZUse a standard protocol (e.g., subunit) for communicating between the executor and the GUIqShhMhhhh:h}qT(h!]h"]h#]h$]h&]uh(Kh]qUh2XZUse a standard protocol (e.g., subunit) for communicating between the executor and the GUIqVqW}qX(hhShhQubaubahU list_itemqYubhL)qZ}q[(hXPort to Python 3 h}q\(h!]h"]h#]h$]h&]uhhGh]q]h6)q^}q_(hXPort to Python 3q`hhZhhhh:h}qa(h!]h"]h#]h$]h&]uh(K h]qbh2XPort to Python 3qcqd}qe(hh`hh^ubaubahhYubhL)qf}qg(hXAdd a pytest backend h}qh(h!]h"]h#]h$]h&]uhhGh]qih6)qj}qk(hXAdd a pytest backendqlhhfhhhh:h}qm(h!]h"]h#]h$]h&]uh(K h]qnh2XAdd a pytest backendqoqp}qq(hhlhhjubaubahhYubhL)qr}qs(hXAdd a nose backend h}qt(h!]h"]h#]h$]h&]uhhGh]quh6)qv}qw(hXAdd a nose backendqxhhrhhhh:h}qy(h!]h"]h#]h$]h&]uh(Kh]qzh2XAdd a nose backendq{q|}q}(hhxhhvubaubahhYubhL)q~}q(hXwAdd a selenium backend, including possibly adding the ability to collect and store screenshots at the end of each test h}q(h!]h"]h#]h$]h&]uhhGh]qh6)q}q(hXvAdd a selenium backend, including possibly adding the ability to collect and store screenshots at the end of each testqhh~hhhh:h}q(h!]h"]h#]h$]h&]uh(Kh]qh2XvAdd a selenium backend, including possibly adding the ability to collect and store screenshots at the end of each testqq}q(hhhhubaubahhYubhL)q}q(hXBImprove GUI interface, including: - keyboard shortcuts - search h}q(h!]h"]h#]h$]h&]uhhGh]q(h6)q}q(hX!Improve GUI interface, including:qhhhhhh:h}q(h!]h"]h#]h$]h&]uh(Kh]qh2X!Improve GUI interface, including:qq}q(hhhhubaubhF)q}q(hUh}q(hJX-h$]h#]h!]h"]h&]uhhh]q(hL)q}q(hXkeyboard shortcuts h}q(h!]h"]h#]h$]h&]uhhh]qh6)q}q(hXkeyboard shortcutsqhhhhhh:h}q(h!]h"]h#]h$]h&]uh(Kh]qh2Xkeyboard shortcutsqq}q(hhhhubaubahhYubhL)q}q(hXsearch h}q(h!]h"]h#]h$]h&]uhhh]qh6)q}q(hXsearchqhhhhhh:h}q(h!]h"]h#]h$]h&]uh(Kh]qh2Xsearchqq}q(hhhhubaubahhYubehU bullet_listqubehhYubhL)q}q(hX^Integrate with coverage, and use tkreadonly to display coverage stats overlaid on actual code h}q(h!]h"]h#]h$]h&]uhhGh]qh6)q}q(hX]Integrate with coverage, and use tkreadonly to display coverage stats overlaid on actual codeqhhhhhh:h}q(h!]h"]h#]h$]h&]uh(Kh]qh2X]Integrate with coverage, and use tkreadonly to display coverage stats overlaid on actual codeqq}q(hhhhubaubahhYubhL)q}q(hX(Add historical tracking of test results h}q(h!]h"]h#]h$]h&]uhhGh]qh6)q}q(hX'Add historical tracking of test resultsqhhhhhh:h}q(h!]h"]h#]h$]h&]uh(Kh]qh2X'Add historical tracking of test resultsqȅq}q(hhhhubaubahhYubhL)q}q(hXIntegrate with testr h}q(h!]h"]h#]h$]h&]uhhGh]qh6)q}q(hXIntegrate with testrqhhhhhh:h}q(h!]h"]h#]h$]h&]uh(Kh]qh2XIntegrate with testrqԅq}q(hhhhubaubahhYubhL)q}q(hX=Add continuous background testing based on file modificationsqh}q(h!]h"]h#]h$]h&]uhhGh]qh6)q}q(hhhhhhhh:h}q(h!]h"]h#]h$]h&]uh(K h]qh2X=Add continuous background testing based on file modificationsqq}q(hhhhubaubahhYubehhubaubeubahUU transformerqNU footnote_refsq}qUrefnamesq}qUsymbol_footnotesq]qUautofootnote_refsq]qUsymbol_footnote_refsq]qU citationsq]qh)hU current_lineqNUtransform_messagesq]qUreporterqNUid_startqKU autofootnotesq]qU citation_refsq}qUindirect_targetsq]qUsettingsq(cdocutils.frontend Values qoq}q(Ufootnote_backlinksqKUrecord_dependenciesrNU rfc_base_urlrUhttp://tools.ietf.org/html/rU tracebackrKUpep_referencesrNUstrip_commentsrNU toc_backlinksrUentryrU language_coderUenr U datestampr NU report_levelr KU _destinationr NU halt_levelr KU strip_classesrNh/NUerror_encoding_error_handlerrUbackslashreplacerUdebugrNUembed_stylesheetrUoutput_encoding_error_handlerrUstrictrU sectnum_xformrKUdump_transformsrNU docinfo_xformrKUwarning_streamrNUpep_file_url_templaterUpep-%04drUexit_status_levelrKUconfigrNUstrict_visitorrNUcloak_email_addressesrUtrim_footnote_reference_spacerUenvr NUdump_pseudo_xmlr!NUexpose_internalsr"NUsectsubtitle_xformr#U source_linkr$NUrfc_referencesr%NUoutput_encodingr&Uutf-8r'U source_urlr(NUinput_encodingr)U utf-8-sigr*U_disable_configr+NU id_prefixr,UU tab_widthr-KUerror_encodingr.UUTF-8r/U_sourcer0UJ/var/build/user_builds/cricket/checkouts/v0.2.3/docs/internals/roadmap.rstr1Ugettext_compactr2U generatorr3NUdump_internalsr4NU pep_base_urlr5Uhttp://www.python.org/dev/peps/r6Uinput_encoding_error_handlerr7jUauto_id_prefixr8Uidr9Udoctitle_xformr:Ustrip_elements_with_classesr;NU _config_filesr<]Ufile_insertion_enabledr=KU raw_enabledr>KU dump_settingsr?NubUsymbol_footnote_startr@KUidsrA}rBhhsUsubstitution_namesrC}rDhh)h}rE(h!]h$]h#]Usourcehh"]h&]uU footnotesrF]rGUrefidsrH}rIub.PKCacricket-v0.2.3/_static/plus.pngPNG  IHDR &q pHYs  tIME 1l9tEXtComment̖RIDATcz(BpipPc |IENDB`PK:Ckl\\#cricket-v0.2.3/_static/pygments.css.highlight .hll { background-color: #ffffcc } .highlight { background: #eeffcc; } .highlight .c { color: #408090; font-style: italic } /* Comment */ .highlight .err { border: 1px solid #FF0000 } /* Error */ .highlight .k { color: #007020; font-weight: bold } /* Keyword */ .highlight .o { color: #666666 } /* Operator */ .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ .highlight .cp { color: #007020 } /* Comment.Preproc */ .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #A00000 } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #FF0000 } /* Generic.Error */ .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ .highlight .gi { color: #00A000 } /* Generic.Inserted */ .highlight .go { color: #333333 } /* 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: #0044DD } /* Generic.Traceback */ .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #007020 } /* Keyword.Pseudo */ .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #902000 } /* Keyword.Type */ .highlight .m { color: #208050 } /* Literal.Number */ .highlight .s { color: #4070a0 } /* Literal.String */ .highlight .na { color: #4070a0 } /* Name.Attribute */ .highlight .nb { color: #007020 } /* Name.Builtin */ .highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ .highlight .no { color: #60add5 } /* Name.Constant */ .highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ .highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ .highlight .ne { color: #007020 } /* Name.Exception */ .highlight .nf { color: #06287e } /* Name.Function */ .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ .highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #bb60d5 } /* Name.Variable */ .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mf { color: #208050 } /* Literal.Number.Float */ .highlight .mh { color: #208050 } /* Literal.Number.Hex */ .highlight .mi { color: #208050 } /* Literal.Number.Integer */ .highlight .mo { color: #208050 } /* Literal.Number.Oct */ .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ .highlight .sc { color: #4070a0 } /* Literal.String.Char */ .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ .highlight .s2 { color: #4070a0 } /* Literal.String.Double */ .highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ .highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ .highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ .highlight .sx { color: #c65d09 } /* Literal.String.Other */ .highlight .sr { color: #235388 } /* Literal.String.Regex */ .highlight .s1 { color: #4070a0 } /* Literal.String.Single */ .highlight .ss { color: #517918 } /* Literal.String.Symbol */ .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ .highlight .il { color: #208050 } /* Literal.Number.Integer.Long */PKCDUkkcricket-v0.2.3/_static/up.pngPNG  IHDRasRGBbKGDC pHYs B(xtIME!.<̓EIDAT8͓NABP\EG{%<|xc  cr6@t;b$;3&)h1!﫳Hzz@=)p 3۵e2/ߴ ( %^ND^ }3H1DoǪISFұ?, G`{v^X[b]&HC3{:sO& ?,[eL#IENDB`PK:C"0"cricket-v0.2.3/_static/default.css/* * default.css_t * ~~~~~~~~~~~~~ * * Sphinx stylesheet -- default theme. * * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @import url("basic.css"); /* -- page layout ----------------------------------------------------------- */ body { font-family: sans-serif; font-size: 100%; background-color: #11303d; color: #000; margin: 0; padding: 0; } div.document { background-color: #1c4e63; } div.documentwrapper { float: left; width: 100%; } div.bodywrapper { margin: 0 0 0 230px; } div.body { background-color: #ffffff; color: #000000; padding: 0 20px 30px 20px; } div.footer { color: #ffffff; width: 100%; padding: 9px 0 9px 0; text-align: center; font-size: 75%; } div.footer a { color: #ffffff; text-decoration: underline; } div.related { background-color: #133f52; line-height: 30px; color: #ffffff; } div.related a { color: #ffffff; } div.sphinxsidebar { } div.sphinxsidebar h3 { font-family: 'Trebuchet MS', sans-serif; color: #ffffff; font-size: 1.4em; font-weight: normal; margin: 0; padding: 0; } div.sphinxsidebar h3 a { color: #ffffff; } div.sphinxsidebar h4 { font-family: 'Trebuchet MS', sans-serif; color: #ffffff; font-size: 1.3em; font-weight: normal; margin: 5px 0 0 0; padding: 0; } div.sphinxsidebar p { color: #ffffff; } div.sphinxsidebar p.topless { margin: 5px 10px 10px 10px; } div.sphinxsidebar ul { margin: 10px; padding: 0; color: #ffffff; } div.sphinxsidebar a { color: #98dbcc; } div.sphinxsidebar input { border: 1px solid #98dbcc; font-family: sans-serif; font-size: 1em; } /* -- hyperlink styles ------------------------------------------------------ */ a { color: #355f7c; text-decoration: none; } a:visited { color: #355f7c; text-decoration: none; } a:hover { text-decoration: underline; } /* -- body styles ----------------------------------------------------------- */ div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 { font-family: 'Trebuchet MS', sans-serif; background-color: #f2f2f2; font-weight: normal; color: #20435c; border-bottom: 1px solid #ccc; margin: 20px -20px 10px -20px; padding: 3px 0 3px 10px; } div.body h1 { margin-top: 0; font-size: 200%; } div.body h2 { font-size: 160%; } div.body h3 { font-size: 140%; } div.body h4 { font-size: 120%; } div.body h5 { font-size: 110%; } div.body h6 { font-size: 100%; } a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; } a.headerlink:hover { background-color: #c60f0f; color: white; } div.body p, div.body dd, div.body li { text-align: justify; line-height: 130%; } div.admonition p.admonition-title + p { display: inline; } div.admonition p { margin-bottom: 5px; } div.admonition pre { margin-bottom: 5px; } div.admonition ul, div.admonition ol { margin-bottom: 5px; } div.note { background-color: #eee; border: 1px solid #ccc; } div.seealso { background-color: #ffc; border: 1px solid #ff6; } div.topic { background-color: #eee; } div.warning { background-color: #ffe4e4; border: 1px solid #f66; } p.admonition-title { display: inline; } p.admonition-title:after { content: ":"; } pre { padding: 5px; background-color: #eeffcc; color: #333333; line-height: 120%; border: 1px solid #ac9; border-left: none; border-right: none; } tt { background-color: #ecf0f3; padding: 0 1px 0 1px; font-size: 0.95em; } th { background-color: #ede; } .warning tt { background: #efc2c2; } .note tt { background: #d6d6d6; } .viewcode-back { font-family: sans-serif; } div.viewcode-block:target { background-color: #f4debf; border-top: 1px solid #ac9; border-bottom: 1px solid #ac9; }PK0C\ζk=k=cricket-v0.2.3/_static/rtd.css/* * rtd.css * ~~~~~~~~~~~~~~~ * * Sphinx stylesheet -- sphinxdoc theme. Originally created by * Armin Ronacher for Werkzeug. * * Customized for ReadTheDocs by Eric Pierce & Eric Holscher * * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ /* RTD colors * light blue: #e8ecef * medium blue: #8ca1af * dark blue: #465158 * dark grey: #444444 * * white hover: #d1d9df; * medium blue hover: #697983; * green highlight: #8ecc4c * light blue (project bar): #e8ecef */ @import url("basic.css"); /* PAGE LAYOUT -------------------------------------------------------------- */ body { font: 100%/1.5 "ff-meta-web-pro-1","ff-meta-web-pro-2",Arial,"Helvetica Neue",sans-serif; text-align: center; color: black; background-color: #465158; padding: 0; margin: 0; } div.document { text-align: left; background-color: #e8ecef; } div.bodywrapper { background-color: #ffffff; border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; margin: 0 0 0 16em; } div.body { margin: 0; padding: 0.5em 1.3em; min-width: 20em; } div.related { font-size: 1em; background-color: #465158; } div.documentwrapper { float: left; width: 100%; background-color: #e8ecef; } /* HEADINGS --------------------------------------------------------------- */ h1 { margin: 0; padding: 0.7em 0 0.3em 0; font-size: 1.5em; line-height: 1.15; color: #111; clear: both; } h2 { margin: 2em 0 0.2em 0; font-size: 1.35em; padding: 0; color: #465158; } h3 { margin: 1em 0 -0.3em 0; font-size: 1.2em; color: #6c818f; } div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a { color: black; } h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor { display: none; margin: 0 0 0 0.3em; padding: 0 0.2em 0 0.2em; color: #aaa !important; } h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor { display: inline; } h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover, h5 a.anchor:hover, h6 a.anchor:hover { color: #777; background-color: #eee; } /* LINKS ------------------------------------------------------------------ */ /* Normal links get a pseudo-underline */ a { color: #444; text-decoration: none; border-bottom: 1px solid #ccc; } /* Links in sidebar, TOC, index trees and tables have no underline */ .sphinxsidebar a, .toctree-wrapper a, .indextable a, #indices-and-tables a { color: #444; text-decoration: none; border-bottom: none; } /* Most links get an underline-effect when hovered */ a:hover, div.toctree-wrapper a:hover, .indextable a:hover, #indices-and-tables a:hover { color: #111; text-decoration: none; border-bottom: 1px solid #111; } /* Footer links */ div.footer a { color: #86989B; text-decoration: none; border: none; } div.footer a:hover { color: #a6b8bb; text-decoration: underline; border: none; } /* Permalink anchor (subtle grey with a red hover) */ div.body a.headerlink { color: #ccc; font-size: 1em; margin-left: 6px; padding: 0 4px 0 4px; text-decoration: none; border: none; } div.body a.headerlink:hover { color: #c60f0f; border: none; } /* NAVIGATION BAR --------------------------------------------------------- */ div.related ul { height: 2.5em; } div.related ul li { margin: 0; padding: 0.65em 0; float: left; display: block; color: white; /* For the >> separators */ font-size: 0.8em; } div.related ul li.right { float: right; margin-right: 5px; color: transparent; /* Hide the | separators */ } /* "Breadcrumb" links in nav bar */ div.related ul li a { order: none; background-color: inherit; font-weight: bold; margin: 6px 0 6px 4px; line-height: 1.75em; color: #ffffff; padding: 0.4em 0.8em; border: none; border-radius: 3px; } /* previous / next / modules / index links look more like buttons */ div.related ul li.right a { margin: 0.375em 0; background-color: #697983; text-shadow: 0 1px rgba(0, 0, 0, 0.5); border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; } /* All navbar links light up as buttons when hovered */ div.related ul li a:hover { background-color: #8ca1af; color: #ffffff; text-decoration: none; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; } /* Take extra precautions for tt within links */ a tt, div.related ul li a tt { background: inherit !important; color: inherit !important; } /* SIDEBAR ---------------------------------------------------------------- */ div.sphinxsidebarwrapper { padding: 0; } div.sphinxsidebar { margin: 0; margin-left: -100%; float: left; top: 3em; left: 0; padding: 0 1em; width: 14em; font-size: 1em; text-align: left; background-color: #e8ecef; } div.sphinxsidebar img { max-width: 12em; } div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p.logo { margin: 1.2em 0 0.3em 0; font-size: 1em; padding: 0; color: #222222; font-family: "ff-meta-web-pro-1", "ff-meta-web-pro-2", "Arial", "Helvetica Neue", sans-serif; } div.sphinxsidebar h3 a { color: #444444; } div.sphinxsidebar ul, div.sphinxsidebar p { margin-top: 0; padding-left: 0; line-height: 130%; background-color: #e8ecef; } /* No bullets for nested lists, but a little extra indentation */ div.sphinxsidebar ul ul { list-style-type: none; margin-left: 1.5em; padding: 0; } /* A little top/bottom padding to prevent adjacent links' borders * from overlapping each other */ div.sphinxsidebar ul li { padding: 1px 0; } /* A little left-padding to make these align with the ULs */ div.sphinxsidebar p.topless { padding-left: 0 0 0 1em; } /* Make these into hidden one-liners */ div.sphinxsidebar ul li, div.sphinxsidebar p.topless { white-space: nowrap; overflow: hidden; } /* ...which become visible when hovered */ div.sphinxsidebar ul li:hover, div.sphinxsidebar p.topless:hover { overflow: visible; } /* Search text box and "Go" button */ #searchbox { margin-top: 2em; margin-bottom: 1em; background: #ddd; padding: 0.5em; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; } #searchbox h3 { margin-top: 0; } /* Make search box and button abut and have a border */ input, div.sphinxsidebar input { border: 1px solid #999; float: left; } /* Search textbox */ input[type="text"] { margin: 0; padding: 0 3px; height: 20px; width: 144px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-topleft: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; } /* Search button */ input[type="submit"] { margin: 0 0 0 -1px; /* -1px prevents a double-border with textbox */ height: 22px; color: #444; background-color: #e8ecef; padding: 1px 4px; font-weight: bold; border-top-right-radius: 3px; border-bottom-right-radius: 3px; -moz-border-radius-topright: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; } input[type="submit"]:hover { color: #ffffff; background-color: #8ecc4c; } div.sphinxsidebar p.searchtip { clear: both; padding: 0.5em 0 0 0; background: #ddd; color: #666; font-size: 0.9em; } /* Sidebar links are unusual */ div.sphinxsidebar li a, div.sphinxsidebar p a { background: #e8ecef; /* In case links overlap main content */ border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border: 1px solid transparent; /* To prevent things jumping around on hover */ padding: 0 5px 0 5px; } div.sphinxsidebar li a:hover, div.sphinxsidebar p a:hover { color: #111; text-decoration: none; border: 1px solid #888; } div.sphinxsidebar p.logo a { border: 0; } /* Tweak any link appearing in a heading */ div.sphinxsidebar h3 a { } /* OTHER STUFF ------------------------------------------------------------ */ cite, code, tt { font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.95em; letter-spacing: 0.01em; } tt { background-color: #f2f2f2; color: #444; } tt.descname, tt.descclassname, tt.xref { border: 0; } hr { border: 1px solid #abc; margin: 2em; } pre, #_fontwidthtest { font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; margin: 1em 2em; font-size: 0.95em; letter-spacing: 0.015em; line-height: 120%; padding: 0.5em; border: 1px solid #ccc; background-color: #eee; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; } pre a { color: inherit; text-decoration: underline; } td.linenos pre { margin: 1em 0em; } td.code pre { margin: 1em 0em; } div.quotebar { background-color: #f8f8f8; max-width: 250px; float: right; padding: 2px 7px; border: 1px solid #ccc; } div.topic { background-color: #f8f8f8; } table { border-collapse: collapse; margin: 0 -0.5em 0 -0.5em; } table td, table th { padding: 0.2em 0.5em 0.2em 0.5em; } /* ADMONITIONS AND WARNINGS ------------------------------------------------- */ /* Shared by admonitions, warnings and sidebars */ div.admonition, div.warning, div.sidebar { font-size: 0.9em; margin: 2em; padding: 0; /* border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; */ } div.admonition p, div.warning p, div.sidebar p { margin: 0.5em 1em 0.5em 1em; padding: 0; } div.admonition pre, div.warning pre, div.sidebar pre { margin: 0.4em 1em 0.4em 1em; } div.admonition p.admonition-title, div.warning p.admonition-title, div.sidebar p.sidebar-title { margin: 0; padding: 0.1em 0 0.1em 0.5em; color: white; font-weight: bold; font-size: 1.1em; text-shadow: 0 1px rgba(0, 0, 0, 0.5); } div.admonition ul, div.admonition ol, div.warning ul, div.warning ol, div.sidebar ul, div.sidebar ol { margin: 0.1em 0.5em 0.5em 3em; padding: 0; } /* Admonitions and sidebars only */ div.admonition, div.sidebar { border: 1px solid #609060; background-color: #e9ffe9; } div.admonition p.admonition-title, div.sidebar p.sidebar-title { background-color: #70A070; border-bottom: 1px solid #609060; } /* Warnings only */ div.warning { border: 1px solid #900000; background-color: #ffe9e9; } div.warning p.admonition-title { background-color: #b04040; border-bottom: 1px solid #900000; } /* Sidebars only */ div.sidebar { max-width: 30%; } div.versioninfo { margin: 1em 0 0 0; border: 1px solid #ccc; background-color: #DDEAF0; padding: 8px; line-height: 1.3em; font-size: 0.9em; } .viewcode-back { font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif; } div.viewcode-block:target { background-color: #f4debf; border-top: 1px solid #ac9; border-bottom: 1px solid #ac9; } dl { margin: 1em 0 2.5em 0; } dl dt { font-style: italic; } dl dd { color: rgb(68, 68, 68); font-size: 0.95em; } /* Highlight target when you click an internal link */ dt:target { background: #ffe080; } /* Don't highlight whole divs */ div.highlight { background: transparent; } /* But do highlight spans (so search results can be highlighted) */ span.highlight { background: #ffe080; } div.footer { background-color: #465158; color: #eeeeee; padding: 0 2em 2em 2em; clear: both; font-size: 0.8em; text-align: center; } p { margin: 0.8em 0 0.5em 0; } .section p img.math { margin: 0; } .section p img { margin: 1em 2em; } /* MOBILE LAYOUT -------------------------------------------------------------- */ @media screen and (max-width: 600px) { h1, h2, h3, h4, h5 { position: relative; } ul { padding-left: 1.25em; } div.bodywrapper a.headerlink, #indices-and-tables h1 a { color: #e6e6e6; font-size: 80%; float: right; line-height: 1.8; position: absolute; right: -0.7em; visibility: inherit; } div.bodywrapper h1 a.headerlink, #indices-and-tables h1 a { line-height: 1.5; } pre { font-size: 0.7em; overflow: auto; word-wrap: break-word; white-space: pre-wrap; } div.related ul { height: 2.5em; padding: 0; text-align: left; } div.related ul li { clear: both; color: #465158; padding: 0.2em 0; } div.related ul li:last-child { border-bottom: 1px dotted #8ca1af; padding-bottom: 0.4em; margin-bottom: 1em; width: 100%; } div.related ul li a { color: #465158; padding-right: 0; } div.related ul li a:hover { background: inherit; color: inherit; } div.related ul li.right { clear: none; padding: 0.65em 0; margin-bottom: 0.5em; } div.related ul li.right a { color: #fff; padding-right: 0.8em; } div.related ul li.right a:hover { background-color: #8ca1af; } div.body { clear: both; min-width: 0; word-wrap: break-word; } div.bodywrapper { margin: 0 0 0 0; } div.sphinxsidebar { float: none; margin: 0; width: auto; } div.sphinxsidebar input[type="text"] { height: 2em; line-height: 2em; width: 70%; } div.sphinxsidebar input[type="submit"] { height: 2em; margin-left: 0.5em; width: 20%; } div.sphinxsidebar p.searchtip { background: inherit; margin-bottom: 1em; } div.sphinxsidebar ul li, div.sphinxsidebar p.topless { white-space: normal; } .bodywrapper img { display: block; margin-left: auto; margin-right: auto; max-width: 100%; } div.documentwrapper { float: none; } div.admonition, div.warning, pre, blockquote { margin-left: 0em; margin-right: 0em; } .body p img { margin: 0; } #searchbox { background: transparent; } .related:not(:first-child) li { display: none; } .related:not(:first-child) li.right { display: block; } div.footer { padding: 1em; } .rtd_doc_footer .rtd-badge { float: none; margin: 1em auto; position: static; } .rtd_doc_footer .rtd-badge.revsys-inline { margin-right: auto; margin-bottom: 2em; } table.indextable { display: block; width: auto; } .indextable tr { display: block; } .indextable td { display: block; padding: 0; width: auto !important; } .indextable td dt { margin: 1em 0; } ul.search { margin-left: 0.25em; } ul.search li div.context { font-size: 90%; line-height: 1.1; margin-bottom: 1; margin-left: 0; } } PKC2,~~!~!$cricket-v0.2.3/_static/underscore.js// Underscore.js 0.5.5 // (c) 2009 Jeremy Ashkenas, DocumentCloud Inc. // Underscore is freely distributable under the terms of the MIT license. // Portions of Underscore are inspired by or borrowed from Prototype.js, // Oliver Steele's Functional, and John Resig's Micro-Templating. // For all details and documentation: // http://documentcloud.github.com/underscore/ (function(){var j=this,n=j._,i=function(a){this._wrapped=a},m=typeof StopIteration!=="undefined"?StopIteration:"__break__",b=j._=function(a){return new i(a)};if(typeof exports!=="undefined")exports._=b;var k=Array.prototype.slice,o=Array.prototype.unshift,p=Object.prototype.toString,q=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;b.VERSION="0.5.5";b.each=function(a,c,d){try{if(a.forEach)a.forEach(c,d);else if(b.isArray(a)||b.isArguments(a))for(var e=0,f=a.length;e=e.computed&&(e={value:f,computed:g})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);var e={computed:Infinity};b.each(a,function(f,g,h){g=c?c.call(d,f,g,h):f;gf?1:0}),"value")};b.sortedIndex=function(a,c,d){d=d||b.identity;for(var e=0,f=a.length;e>1;d(a[g])=0})})};b.zip=function(){for(var a=b.toArray(arguments),c=b.max(b.pluck(a,"length")),d=new Array(c),e=0;e0?f-c:c-f)>=0)return e;e[g++]=f}};b.bind=function(a,c){var d=b.rest(arguments,2);return function(){return a.apply(c||j,d.concat(b.toArray(arguments)))}};b.bindAll=function(a){var c=b.rest(arguments);if(c.length==0)c=b.functions(a);b.each(c,function(d){a[d]=b.bind(a[d],a)}); return a};b.delay=function(a,c){var d=b.rest(arguments,2);return setTimeout(function(){return a.apply(a,d)},c)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(b.rest(arguments)))};b.wrap=function(a,c){return function(){var d=[a].concat(b.toArray(arguments));return c.apply(c,d)}};b.compose=function(){var a=b.toArray(arguments);return function(){for(var c=b.toArray(arguments),d=a.length-1;d>=0;d--)c=[a[d].apply(this,c)];return c[0]}};b.keys=function(a){if(b.isArray(a))return b.range(0,a.length); var c=[];for(var d in a)q.call(a,d)&&c.push(d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=function(a){return b.select(b.keys(a),function(c){return b.isFunction(a[c])}).sort()};b.extend=function(a,c){for(var d in c)a[d]=c[d];return a};b.clone=function(a){if(b.isArray(a))return a.slice(0);return b.extend({},a)};b.tap=function(a,c){c(a);return a};b.isEqual=function(a,c){if(a===c)return true;var d=typeof a;if(d!=typeof c)return false;if(a==c)return true;if(!a&&c||a&&!c)return false; if(a.isEqual)return a.isEqual(c);if(b.isDate(a)&&b.isDate(c))return a.getTime()===c.getTime();if(b.isNaN(a)&&b.isNaN(c))return true;if(b.isRegExp(a)&&b.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.ignoreCase===c.ignoreCase&&a.multiline===c.multiline;if(d!=="object")return false;if(a.length&&a.length!==c.length)return false;d=b.keys(a);var e=b.keys(c);if(d.length!=e.length)return false;for(var f in a)if(!b.isEqual(a[f],c[f]))return false;return true};b.isEmpty=function(a){return b.keys(a).length== 0};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=function(a){return!!(a&&a.concat&&a.unshift)};b.isArguments=function(a){return a&&b.isNumber(a.length)&&!b.isArray(a)&&!r.call(a,"length")};b.isFunction=function(a){return!!(a&&a.constructor&&a.call&&a.apply)};b.isString=function(a){return!!(a===""||a&&a.charCodeAt&&a.substr)};b.isNumber=function(a){return p.call(a)==="[object Number]"};b.isDate=function(a){return!!(a&&a.getTimezoneOffset&&a.setUTCFullYear)};b.isRegExp=function(a){return!!(a&& a.test&&a.exec&&(a.ignoreCase||a.ignoreCase===false))};b.isNaN=function(a){return b.isNumber(a)&&isNaN(a)};b.isNull=function(a){return a===null};b.isUndefined=function(a){return typeof a=="undefined"};b.noConflict=function(){j._=n;return this};b.identity=function(a){return a};b.breakLoop=function(){throw m;};var s=0;b.uniqueId=function(a){var c=s++;return a?a+c:c};b.template=function(a,c){a=new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g, " ").replace(/'(?=[^%]*%>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g,"',$1,'").split("<%").join("');").split("%>").join("p.push('")+"');}return p.join('');");return c?a(c):a};b.forEach=b.each;b.foldl=b.inject=b.reduce;b.foldr=b.reduceRight;b.filter=b.select;b.every=b.all;b.some=b.any;b.head=b.first;b.tail=b.rest;b.methods=b.functions;var l=function(a,c){return c?b(a).chain():a};b.each(b.functions(b),function(a){var c=b[a];i.prototype[a]=function(){var d=b.toArray(arguments); o.call(d,this._wrapped);return l(c.apply(b,d),this._chain)}});b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){c.apply(this._wrapped,arguments);return l(this._wrapped,this._chain)}});b.each(["concat","join","slice"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){return l(c.apply(this._wrapped,arguments),this._chain)}});i.prototype.chain=function(){this._chain=true;return this};i.prototype.value=function(){return this._wrapped}})(); PKC<>&cricket-v0.2.3/_static/ajax-loader.gifGIF89aU|NU|l!Created with ajaxload.info! ! NETSCAPE2.0,30Ikc:Nf E1º.`q-[9ݦ9 JkH! ,4N!  DqBQT`1 `LE[|ua C%$*! ,62#+AȐ̔V/cNIBap ̳ƨ+Y2d! ,3b%+2V_ ! 1DaFbR]=08,Ȥr9L! ,2r'+JdL &v`\bThYB)@<&,ȤR! ,3 9tڞ0!.BW1  sa50 m)J! ,2 ٜU]qp`a4AF0` @1Α! ,20IeBԜ) q10ʰPaVڥ ub[;PKCPu u "cricket-v0.2.3/_static/comment.pngPNG  IHDRa OiCCPPhotoshop ICC profilexڝSgTS=BKKoR RB&*! J!QEEȠQ, !{kּ> H3Q5 B.@ $pd!s#~<<+"x M0B\t8K@zB@F&S`cbP-`'{[! eDh;VEX0fK9-0IWfH  0Q){`##xFW<+*x<$9E[-qWW.(I+6aa@.y24x6_-"bbϫp@t~,/;m%h^ uf@Wp~<5j>{-]cK'Xto(hw?G%fIq^D$.Tʳ?D*A, `6B$BB dr`)B(Ͱ*`/@4Qhp.U=pa( Aa!ڈbX#!H$ ɈQ"K5H1RT UH=r9\F;2G1Q= C7F dt1r=6Ыhڏ>C03l0.B8, c˱" VcϱwE 6wB aAHXLXNH $4 7 Q'"K&b21XH,#/{C7$C2'ITFnR#,4H#dk9, +ȅ3![ b@qS(RjJ4e2AURݨT5ZBRQ4u9̓IKhhitݕNWGw Ljg(gwLӋT071oUX**| J&*/Tު UUT^S}FU3S ԖUPSSg;goT?~YYLOCQ_ cx,!k u5&|v*=9C3J3WRf?qtN (~))4L1e\kXHQG6EYAJ'\'GgSSݧ M=:.kDwn^Loy}/TmG X $ <5qo</QC]@Caaᄑ.ȽJtq]zۯ6iܟ4)Y3sCQ? 0k߬~OCOg#/c/Wװwa>>r><72Y_7ȷOo_C#dz%gA[z|!?:eAAA!h쐭!ΑiP~aa~ 'W?pX15wCsDDDޛg1O9-J5*>.j<74?.fYXXIlK9.*6nl {/]py.,:@LN8A*%w% yg"/6шC\*NH*Mz쑼5y$3,幄'L Lݛ:v m2=:1qB!Mggfvˬen/kY- BTZ(*geWf͉9+̳ې7ᒶKW-X潬j9(xoʿܔĹdff-[n ڴ VE/(ۻCɾUUMfeI?m]Nmq#׹=TR+Gw- 6 U#pDy  :v{vg/jBFS[b[O>zG499?rCd&ˮ/~јѡ򗓿m|x31^VwwO| (hSЧc3-bKGD pHYs  tIME 1;VIDAT8ukU?sg4h`G1 RQܸp%Bn"bЍXJ .4V iZ##T;m!4bP~7r>ιbwc;m;oӍAΆ ζZ^/|s{;yR=9(rtVoG1w#_ө{*E&!(LVuoᲵ‘D PG4 :&~*ݳreu: S-,U^E&JY[P!RB ŖޞʖR@_ȐdBfNvHf"2T]R j'B1ddAak/DIJD D2H&L`&L $Ex,6|~_\P $MH`I=@Z||ttvgcЕWTZ'3rje"ܵx9W> mb|byfFRx{w%DZC$wdցHmWnta(M<~;9]C/_;Տ#}o`zSڷ_>:;x컓?yݩ|}~wam-/7=0S5RP"*֯ IENDB`PKChkkcricket-v0.2.3/_static/down.pngPNG  IHDRasRGBbKGDC pHYs B(xtIME"U{IDAT8ҡNCAJ, ++@4>/U^,~T&3M^^^PM6ٹs*RJa)eG*W<"F Fg78G>q OIp:sAj5GنyD^+yU:p_%G@D|aOs(yM,"msx:.b@D|`Vٟ۲иeKſ/G!IENDB`PKC+0cricket-v0.2.3/_static/file.pngPNG  IHDRabKGD pHYs  tIME  )TIDAT8˭J@Ir('[ "&xYZ X0!i|_@tD] #xjv YNaEi(əy@D&`6PZk$)5%"z.NA#Aba`Vs_3c,2mj [klvy|!Iմy;v "߮a?A7`c^nk?Bg}TЙD# "RD1yER*6MJ3K_Ut8F~IENDB`PKC[{gtt%cricket-v0.2.3/_static/up-pressed.pngPNG  IHDRasRGBbKGDC pHYs B(xtIME ,ZeIDAT8͓jA*WKk-,By@- و/`cXYh!6jf GrOlXvvfk2!p!GOOԲ &zf 6|M~%`]* ΛM]K ZĆ1Er%ȶcm1`= 0 && !jQuery(node.parentNode).hasClass(className)) { var span = document.createElement("span"); span.className = className; span.appendChild(document.createTextNode(val.substr(pos, text.length))); node.parentNode.insertBefore(span, node.parentNode.insertBefore( document.createTextNode(val.substr(pos + text.length)), node.nextSibling)); node.nodeValue = val.substr(0, pos); } } else if (!jQuery(node).is("button, select, textarea")) { jQuery.each(node.childNodes, function() { highlight(this); }); } } return this.each(function() { highlight(this); }); }; /** * Small JavaScript module for the documentation. */ var Documentation = { init : function() { this.fixFirefoxAnchorBug(); this.highlightSearchWords(); this.initIndexTable(); }, /** * i18n support */ TRANSLATIONS : {}, PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, LOCALE : 'unknown', // gettext and ngettext don't access this so that the functions // can safely bound to a different name (_ = Documentation.gettext) gettext : function(string) { var translated = Documentation.TRANSLATIONS[string]; if (typeof translated == 'undefined') return string; return (typeof translated == 'string') ? translated : translated[0]; }, ngettext : function(singular, plural, n) { var translated = Documentation.TRANSLATIONS[singular]; if (typeof translated == 'undefined') return (n == 1) ? singular : plural; return translated[Documentation.PLURALEXPR(n)]; }, addTranslations : function(catalog) { for (var key in catalog.messages) this.TRANSLATIONS[key] = catalog.messages[key]; this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); this.LOCALE = catalog.locale; }, /** * add context elements like header anchor links */ addContextElements : function() { $('div[id] > :header:first').each(function() { $('\u00B6'). attr('href', '#' + this.id). attr('title', _('Permalink to this headline')). appendTo(this); }); $('dt[id]').each(function() { $('\u00B6'). attr('href', '#' + this.id). attr('title', _('Permalink to this definition')). appendTo(this); }); }, /** * workaround a firefox stupidity */ fixFirefoxAnchorBug : function() { if (document.location.hash && $.browser.mozilla) window.setTimeout(function() { document.location.href += ''; }, 10); }, /** * highlight the search words provided in the url in the text */ highlightSearchWords : function() { var params = $.getQueryParameters(); var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; if (terms.length) { var body = $('div.body'); window.setTimeout(function() { $.each(terms, function() { body.highlightText(this.toLowerCase(), 'highlighted'); }); }, 10); $('') .appendTo($('#searchbox')); } }, /** * init the domain index toggle buttons */ initIndexTable : function() { var togglers = $('img.toggler').click(function() { var src = $(this).attr('src'); var idnum = $(this).attr('id').substr(7); $('tr.cg-' + idnum).toggle(); if (src.substr(-9) == 'minus.png') $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); else $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); }).css('display', ''); if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { togglers.click(); } }, /** * helper function to hide the search marks again */ hideSearchWords : function() { $('#searchbox .highlight-link').fadeOut(300); $('span.highlighted').removeClass('highlighted'); }, /** * make the url absolute */ makeURL : function(relativeURL) { return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; }, /** * get the current relative url */ getCurrentURL : function() { var path = document.location.pathname; var parts = path.split(/\//); $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { if (this == '..') parts.pop(); }); var url = parts.join('/'); return path.substring(url.lastIndexOf('/') + 1, path.length - 1); } }; // quick alias for translations _ = Documentation.gettext; $(document).ready(function() { Documentation.init(); }); PKCl8!cricket-v0.2.3/_static/sidebar.js/* * sidebar.js * ~~~~~~~~~~ * * This script makes the Sphinx sidebar collapsible. * * .sphinxsidebar contains .sphinxsidebarwrapper. This script adds * in .sphixsidebar, after .sphinxsidebarwrapper, the #sidebarbutton * used to collapse and expand the sidebar. * * When the sidebar is collapsed the .sphinxsidebarwrapper is hidden * and the width of the sidebar and the margin-left of the document * are decreased. When the sidebar is expanded the opposite happens. * This script saves a per-browser/per-session cookie used to * remember the position of the sidebar among the pages. * Once the browser is closed the cookie is deleted and the position * reset to the default (expanded). * * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ $(function() { // global elements used by the functions. // the 'sidebarbutton' element is defined as global after its // creation, in the add_sidebar_button function var bodywrapper = $('.bodywrapper'); var sidebar = $('.sphinxsidebar'); var sidebarwrapper = $('.sphinxsidebarwrapper'); // for some reason, the document has no sidebar; do not run into errors if (!sidebar.length) return; // original margin-left of the bodywrapper and width of the sidebar // with the sidebar expanded var bw_margin_expanded = bodywrapper.css('margin-left'); var ssb_width_expanded = sidebar.width(); // margin-left of the bodywrapper and width of the sidebar // with the sidebar collapsed var bw_margin_collapsed = '.8em'; var ssb_width_collapsed = '.8em'; // colors used by the current theme var dark_color = $('.related').css('background-color'); var light_color = $('.document').css('background-color'); function sidebar_is_collapsed() { return sidebarwrapper.is(':not(:visible)'); } function toggle_sidebar() { if (sidebar_is_collapsed()) expand_sidebar(); else collapse_sidebar(); } function collapse_sidebar() { sidebarwrapper.hide(); sidebar.css('width', ssb_width_collapsed); bodywrapper.css('margin-left', bw_margin_collapsed); sidebarbutton.css({ 'margin-left': '0', 'height': bodywrapper.height() }); sidebarbutton.find('span').text('»'); sidebarbutton.attr('title', _('Expand sidebar')); document.cookie = 'sidebar=collapsed'; } function expand_sidebar() { bodywrapper.css('margin-left', bw_margin_expanded); sidebar.css('width', ssb_width_expanded); sidebarwrapper.show(); sidebarbutton.css({ 'margin-left': ssb_width_expanded-12, 'height': bodywrapper.height() }); sidebarbutton.find('span').text('«'); sidebarbutton.attr('title', _('Collapse sidebar')); document.cookie = 'sidebar=expanded'; } function add_sidebar_button() { sidebarwrapper.css({ 'float': 'left', 'margin-right': '0', 'width': ssb_width_expanded - 28 }); // create the button sidebar.append( '
«
' ); var sidebarbutton = $('#sidebarbutton'); light_color = sidebarbutton.css('background-color'); // find the height of the viewport to center the '<<' in the page var viewport_height; if (window.innerHeight) viewport_height = window.innerHeight; else viewport_height = $(window).height(); sidebarbutton.find('span').css({ 'display': 'block', 'margin-top': (viewport_height - sidebar.position().top - 20) / 2 }); sidebarbutton.click(toggle_sidebar); sidebarbutton.attr('title', _('Collapse sidebar')); sidebarbutton.css({ 'color': '#FFFFFF', 'border-left': '1px solid ' + dark_color, 'font-size': '1.2em', 'cursor': 'pointer', 'height': bodywrapper.height(), 'padding-top': '1px', 'margin-left': ssb_width_expanded - 12 }); sidebarbutton.hover( function () { $(this).css('background-color', dark_color); }, function () { $(this).css('background-color', light_color); } ); } function set_position_from_cookie() { if (!document.cookie) return; var items = document.cookie.split(';'); for(var k=0; k>>%cricket-v0.2.3/_static/searchtools.js/* * searchtools.js_t * ~~~~~~~~~~~~~~~~ * * Sphinx JavaScript utilties for the full-text search. * * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ /** * helper function to return a node containing the * search summary for a given text. keywords is a list * of stemmed words, hlwords is the list of normal, unstemmed * words. the first one is used to find the occurance, the * latter for highlighting it. */ jQuery.makeSearchSummary = function(text, keywords, hlwords) { var textLower = text.toLowerCase(); var start = 0; $.each(keywords, function() { var i = textLower.indexOf(this.toLowerCase()); if (i > -1) start = i; }); start = Math.max(start - 120, 0); var excerpt = ((start > 0) ? '...' : '') + $.trim(text.substr(start, 240)) + ((start + 240 - text.length) ? '...' : ''); var rv = $('
').text(excerpt); $.each(hlwords, function() { rv = rv.highlightText(this, 'highlighted'); }); return rv; } /** * Porter Stemmer */ var Stemmer = function() { var step2list = { ational: 'ate', tional: 'tion', enci: 'ence', anci: 'ance', izer: 'ize', bli: 'ble', alli: 'al', entli: 'ent', eli: 'e', ousli: 'ous', ization: 'ize', ation: 'ate', ator: 'ate', alism: 'al', iveness: 'ive', fulness: 'ful', ousness: 'ous', aliti: 'al', iviti: 'ive', biliti: 'ble', logi: 'log' }; var step3list = { icate: 'ic', ative: '', alize: 'al', iciti: 'ic', ical: 'ic', ful: '', ness: '' }; var c = "[^aeiou]"; // consonant var v = "[aeiouy]"; // vowel var C = c + "[^aeiouy]*"; // consonant sequence var V = v + "[aeiou]*"; // vowel sequence var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 var s_v = "^(" + C + ")?" + v; // vowel in stem this.stemWord = function (w) { var stem; var suffix; var firstch; var origword = w; if (w.length < 3) return w; var re; var re2; var re3; var re4; firstch = w.substr(0,1); if (firstch == "y") w = firstch.toUpperCase() + w.substr(1); // Step 1a re = /^(.+?)(ss|i)es$/; re2 = /^(.+?)([^s])s$/; if (re.test(w)) w = w.replace(re,"$1$2"); else if (re2.test(w)) w = w.replace(re2,"$1$2"); // Step 1b re = /^(.+?)eed$/; re2 = /^(.+?)(ed|ing)$/; if (re.test(w)) { var fp = re.exec(w); re = new RegExp(mgr0); if (re.test(fp[1])) { re = /.$/; w = w.replace(re,""); } } else if (re2.test(w)) { var fp = re2.exec(w); stem = fp[1]; re2 = new RegExp(s_v); if (re2.test(stem)) { w = stem; re2 = /(at|bl|iz)$/; re3 = new RegExp("([^aeiouylsz])\\1$"); re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); if (re2.test(w)) w = w + "e"; else if (re3.test(w)) { re = /.$/; w = w.replace(re,""); } else if (re4.test(w)) w = w + "e"; } } // Step 1c re = /^(.+?)y$/; if (re.test(w)) { var fp = re.exec(w); stem = fp[1]; re = new RegExp(s_v); if (re.test(stem)) w = stem + "i"; } // Step 2 re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; if (re.test(w)) { var fp = re.exec(w); stem = fp[1]; suffix = fp[2]; re = new RegExp(mgr0); if (re.test(stem)) w = stem + step2list[suffix]; } // Step 3 re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; if (re.test(w)) { var fp = re.exec(w); stem = fp[1]; suffix = fp[2]; re = new RegExp(mgr0); if (re.test(stem)) w = stem + step3list[suffix]; } // Step 4 re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; re2 = /^(.+?)(s|t)(ion)$/; if (re.test(w)) { var fp = re.exec(w); stem = fp[1]; re = new RegExp(mgr1); if (re.test(stem)) w = stem; } else if (re2.test(w)) { var fp = re2.exec(w); stem = fp[1] + fp[2]; re2 = new RegExp(mgr1); if (re2.test(stem)) w = stem; } // Step 5 re = /^(.+?)e$/; if (re.test(w)) { var fp = re.exec(w); stem = fp[1]; re = new RegExp(mgr1); re2 = new RegExp(meq1); re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) w = stem; } re = /ll$/; re2 = new RegExp(mgr1); if (re.test(w) && re2.test(w)) { re = /.$/; w = w.replace(re,""); } // and turn initial Y back to y if (firstch == "y") w = firstch.toLowerCase() + w.substr(1); return w; } } /** * Search Module */ var Search = { _index : null, _queued_query : null, _pulse_status : -1, init : function() { var params = $.getQueryParameters(); if (params.q) { var query = params.q[0]; $('input[name="q"]')[0].value = query; this.performSearch(query); } }, loadIndex : function(url) { $.ajax({type: "GET", url: url, data: null, success: null, dataType: "script", cache: true}); }, setIndex : function(index) { var q; this._index = index; if ((q = this._queued_query) !== null) { this._queued_query = null; Search.query(q); } }, hasIndex : function() { return this._index !== null; }, deferQuery : function(query) { this._queued_query = query; }, stopPulse : function() { this._pulse_status = 0; }, startPulse : function() { if (this._pulse_status >= 0) return; function pulse() { Search._pulse_status = (Search._pulse_status + 1) % 4; var dotString = ''; for (var i = 0; i < Search._pulse_status; i++) dotString += '.'; Search.dots.text(dotString); if (Search._pulse_status > -1) window.setTimeout(pulse, 500); }; pulse(); }, /** * perform a search for something */ performSearch : function(query) { // create the required interface elements this.out = $('#search-results'); this.title = $('

' + _('Searching') + '

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

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