speedpad-1.0/000077500000000000000000000000001165153245500131465ustar00rootroot00000000000000speedpad-1.0/.gitignore000066400000000000000000000000421165153245500151320ustar00rootroot00000000000000*.py[co] *.swp *.tmp *~ .DS_Store speedpad-1.0/CHANGES000066400000000000000000000017421165153245500141450ustar00rootroot00000000000000********* Changelog ********* This is a brief overview of the changes introduced by each version. For the full changelog refer to the `Git version history `_. speedpad 1.0 ------------ :Date: Oct 25, 2011 - Bugfix: Handle redirected standard input and output - Feature: Use CTRL-Q to quit gracefully, CTRL-C to quit forcefully - Feature: Add -o to append stats dump to file - Feature: Add timer information to stats dump - Docs: Add gnuplot(1) examples and screenshots speedpad 0.9 ------------ :Date: Oct 20, 2011 - Bugfix: Prevent screen corruption when scrolling with PGUP/DOWN - Bugfix: Handle quote input errors gracefully - Docs: Add initial speedpad(1) man page - Docs: Add initial sphinx powered documentation - Feature: Add support for UTF-8 multi-byte user input - Minor: Screen layout changes speedpad 0.8 ------------ :Date: Oct 16, 2011 This is the first public version after reaching a usable state. .. vim: ft=rst speedpad-1.0/HACKING000066400000000000000000000014421165153245500141360ustar00rootroot00000000000000PadBox coordinates: ulx | +--|---------------- PAD ----------------------+ | | | uly--|--+================ BOX ===================+ | ypos--|--| | | ymax--|--| visible pad area | | soy--|--| | | | +========================================+--|--lry | | ||| | +---|-------------------------------------|||--+ | ||| xpos ||lrx |sox xmax speedpad-1.0/INSTALL000066400000000000000000000022031165153245500141740ustar00rootroot00000000000000************ Installation ************ Speedpad is written as a single executable called ``speedpad``. This allows easy distribution and installation. :Package maintainers: Please use "speedpad" for the final package and executable name. This allows users on different platforms to find it easily. Requirements ============ **Speedpad is written in pure Python and has no external dependencies!** * `Python 2.7 `_ or later (no Python 3 support yet) If no other input is provided, speedpad tries to loop on fortunes generated by the famous ``fortune`` program. For the full out of the box experience, you should install fortune, and packagers should make sure their speedpad package recommends it. * `fortune `_ If you want to visualize your typing statistics, consider installing ``gnuplot`` or something similar. Packagers should suggest gnuplot in their speedpad package. * `gnuplot `_ Installation ============ :: $ install -m 755 bin/speedpad /usr/local/bin $ install -m 644 man/speedpad.1 /usr/local/share/man/man1 .. vim: ft=rst speedpad-1.0/KEYBINDS000066400000000000000000000010261165153245500143000ustar00rootroot00000000000000***************** Keybind Reference ***************** :: Key Action ENTER load next quote (if not started) CTRL-X reset counters and position, restart quote (if started) CTRL-D stop current round and show statistics (if started) CTRL-Q quit gracefully and dump stats CTRL-C quit forcefully and do not dump stats You can scroll the quote pager using UP / DOWN / PGUP / PGDOWN / HOME / END. Press space, tab, or any alphanumeric key to start typing. .. vim: ft=rst speedpad-1.0/LICENSE000066400000000000000000001045131165153245500141570ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . speedpad-1.0/README000066400000000000000000000055271165153245500140370ustar00rootroot00000000000000************* Documentation ************* **Speedpad is a small and portable, ncurses powered tool to test, train, and increase typing speed on arbitrary text input** Author: John Feuerstein License: GPLv3 Project URL: http://feurix.org/projects/speedpad/ Mirror URL: http://code.google.com/p/speedpad/ Development URL: http://labs.feurix.org/misc/speedpad/ What is Speedpad? ================= * designed for intermediate to advanced level typists * assumes that you have already learned how to touch type * no lessons, no single words, no synthetic stuff * tab expansion, auto indentation and syntax support to train on code * reference speed robot (defaults to 100 WPM) * supports CPS, CPM, WPM, PPM, and CPH/KPH metrics * shows detailed statistics about speed and typos * helps to find and eliminate frequent typos Installation ============ See ``INSTALL`` or refer to :ref:`install` Command line options ==================== Invoking speedpad with ``-h / --help`` results in: :: $ ./speedpad --help usage: speedpad [options] [--] [FILE [FILE ...]] speedpad [...] -c [--] [CMD [ARG ...]] speedpad is a tool to test, train, and increase typing speed optional arguments: -h, --help show this help message and exit --version show program's version number and exit -c use positional arguments as command line (default: False) -o FILE write stats dump to file (default: ) --wpm speed in words per minute (default: True) --cpm speed in chars per minute (default: False) --cps speed in chars per second (default: False) --speed SPEED reference speed in matching unit (default: 100.0) --wrap WIDTH wrap text at specified width (default: 0) [<0 = disable, 0 = auto, >0 = fixed] --user NAME set custom user name (default: ) --tabsize N set custom tabsize (default: 8) --strict require manual line breaks (default: False) --indent enable auto indentation (default: False) --syntax enable syntax support (default: False) --no-strip keep excessive whitespace in text (default: False) --no-robot disable the reference speed robot (default: False) --no-color disable colors (default: False) --no-stats disable stats dump on stdout (default: False) --code [--no-strip --indent --syntax] examples: speedpad file1 file2 file3 read files grep ^foo words | speedpad read stdin speedpad -c -- fortune -s -n 500 (default) speedpad -c -- fortune 40% startrek 60% linux speedpad /usr/src/linux/README speedpad --code /usr/src/linux/mm/pagewalk.c see speedpad(1) for more options and gnuplot(1) examples .. vim: ft=rst speedpad-1.0/TODO000066400000000000000000000001151165153245500136330ustar00rootroot00000000000000* adaptive speed <0 =0 >0 * multiplayer, networking * terminal beep / flash? speedpad-1.0/bin/000077500000000000000000000000001165153245500137165ustar00rootroot00000000000000speedpad-1.0/bin/speedpad000077500000000000000000001627751165153245500154530ustar00rootroot00000000000000#!/usr/bin/env python # # Copyright (C) 2011 John Feuerstein # # Project URL: http://feurix.org/projects/speedpad/ # Mirror URL: http://code.google.com/p/speedpad/ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Library General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # __author__ = 'John Feuerstein ' __copyright__ = 'Copyright (C) 2011 %s' % __author__ __license__ = 'GNU GPLv3' __version__ = '1.0' import codecs import collections import curses import curses.ascii import datetime import fcntl import itertools import operator import signal import struct import textwrap import time import tty class OutputEncodingMixIn(object): def encode(self, s): if self.output_encoding is not None: return self.output_encoding.encode(s)[0] return s class InputDecodingMixIn(object): def decode(self, s): if self.input_encoding is not None: return self.input_encoding.decode(s)[0] return s class Box(InputDecodingMixIn, OutputEncodingMixIn): BOX_YMIN = 1 BOX_XMIN = 1 def __init__(self, uly, ulx, lry, lrx, color=curses.A_NORMAL, input_encoding=None, output_encoding=None): """Instantiate box window The parameters uly and ulx specify the coordinates of the upper left box corner. The parameters lry and lrx specify the coordinates of the lower right box corner. """ self.input_encoding = input_encoding self.output_encoding = output_encoding self.uly = uly self.ulx = ulx self.lry = lry self.lrx = lrx self.boxlines = lry - uly self.boxcols = lrx - ulx self.color = color if self.boxlines < Box.BOX_YMIN or self.boxcols < Box.BOX_XMIN: raise ValueError("invalid box size") self.box = curses.newwin(self.boxlines, self.boxcols, uly, ulx) self.box.attron(self.color) def reset(self): self.box.erase() self.box.attron(self.color) self.box.move(0, 0) def erase(self): self.box.erase() self.box.attron(self.color) def noutrefresh(self): self.box.noutrefresh() def resize(self, ydiff, xdiff): self.lry = max(self.uly + Box.BOX_YMIN, self.lry + ydiff) self.lrx = max(self.ulx + Box.BOX_XMIN, self.lrx + xdiff) self.boxlines = self.lry - self.uly self.boxcols = self.lrx - self.ulx self.box.resize(self.boxlines, self.boxcols) def move(self, ydiff, xdiff): self.uly += ydiff self.ulx += xdiff self.lry += ydiff self.lrx += xdiff self.box.mvwin(self.uly, self.ulx) class PadBox(Box): PAD_YMIN = 2 PAD_XMIN = 2 def __init__(self, uly, ulx, lry, lrx, padlines=PAD_YMIN, padcols=PAD_XMIN, soy=0, sox=0, boxcolor=curses.A_NORMAL, padcolor=curses.A_NORMAL, input_encoding=None, output_encoding=None): """Instantiate pad box The parameters uly and ulx specify the coordinates of the upper left box corner. The parameters lry and lrx specify the coordinates of the lower right box corner. The parameters padlines and padcols specify the pad size, its visible area is limited by the size of the box window. The parameters soy and sox specify the amount of lines and columns to keep below and behind the cursor while scrolling, respectively. """ super(PadBox, self).__init__(uly, ulx, lry, lrx, color=boxcolor, input_encoding=input_encoding, output_encoding=output_encoding) self.padlines = padlines self.padcols = padcols self.ypos = 0 self.xpos = 0 self.soy = soy self.sox = sox self.ymax = max(0, self.boxlines - soy) self.xmax = max(0, self.boxcols - sox) self.color = padcolor if self.padlines < PadBox.PAD_YMIN or self.padcols < PadBox.PAD_XMIN: raise ValueError("invalid pad size") self.pad = curses.newpad(self.padlines, self.padcols) self.pad.attron(self.color) def reset(self): self.pad.erase() self.pad.attron(self.color) self.ypos = 0 self.xpos = 0 self.pad.move(0, 0) def noutrefresh(self): super(PadBox, self).noutrefresh() self.pad.noutrefresh(self.ypos, self.xpos, self.uly, self.ulx, self.lry - 1, self.lrx - 1) def resize(self, ydiff, xdiff): super(PadBox, self).resize(ydiff, xdiff) self.ymax = max(0, self.boxlines - self.soy) self.xmax = max(0, self.boxcols - self.sox) def scroll(self, ydiff, xdiff): self.ypos = min(self.padlines - self.boxlines, max(0, self.ypos + ydiff)) self.xpos = min(self.padcols - self.boxcols, max(0, self.xpos + xdiff)) def extract(self, ypos, xpos, n=1): oldy, oldx = self.pad.getyx() res = self.pad.instr(ypos, xpos, n) self.pad.move(oldy, oldx) return res def sol(self, ypos, skip=0): oldy, oldx = self.pad.getyx() startpos = 0 for xpos in xrange(skip, self.padcols): if self.pad.inch(ypos, xpos) != curses.ascii.SP: startpos = xpos break self.pad.move(oldy, oldx) return startpos def eol(self, ypos): oldy, oldx = self.pad.getyx() endpos = 0 for xpos in xrange(self.padcols - 1, -1, -1): if self.pad.inch(ypos, xpos) != curses.ascii.SP: endpos = xpos + 1 break self.pad.move(oldy, oldx) return endpos class SpeedBox(Box): BOX_XMIN = 60 def __init__(self, *args, **kwargs): super(SpeedBox, self).__init__(*args, **kwargs) if self.boxcols < SpeedBox.BOX_XMIN: raise ValueError("invalid box size") self.players = [] def load(self, quote): for player in self.players: player.progressbar.end = quote.strlen def update(self, player): player.progressbar.cur = player.pos def register(self, player): player.progressbar = ProgressBar(SpeedBox.BOX_XMIN - 17) self.players.append(player) def resize(self, ydiff, xdiff): for player in self.players: player.progressbar.resize(ydiff, xdiff) super(SpeedBox, self).resize(ydiff, xdiff) def reset(self): for player in self.players: player.progressbar.reset() player.reset() def draw(self, speedunit): ymax = self.boxlines - 1 players = self.players players.sort(key=operator.attrgetter('pos'), reverse=True) players.sort(key=operator.attrgetter('speed'), reverse=True) for ypos, player in enumerate(players): if ypos > ymax: break if len(players) > 1: self.box.addstr(ypos, 0, "#%d" % min(9, (ypos + 1)), curses.A_BOLD) self.box.addstr(ypos, 4, self.encode(player.name[:8].ljust(8))) self.box.addstr(ypos, 13, "%4d %s" % (min(9999, speedunit(player.speed)), speedunit)) player.progressbar.draw(self.box, ypos, 22, color=player.color) self.box.insstr(ypos, self.boxcols - 4, "%3d%%" % (player.progressbar.pos * 100)) class QuoteBox(PadBox): def load(self, quote): for ypos, line in enumerate(quote): self.pad.addstr(ypos, 0, self.encode(line)) def draw_stats(self, quote): for ypos, line in enumerate(quote): self.pad.addstr(ypos, 0, self.encode(line)) for ypos, xpos in quote.stats.typos: self.pad.chgat(ypos, xpos, 1, curses.A_REVERSE) class InputBox(PadBox): def __init__(self, *args, **kwargs): self.tabsize = kwargs.pop('tabsize', 8) super(InputBox, self).__init__(*args, **kwargs) self.pad.keypad(1) self.pad.timeout(0) def decode_chars(self, chars): """Decode multi-byte character into unicode string""" s = ''.join(map(chr, chars)) s = self.decode(s) return s def getch(self): """Get character from user (possibly multi-byte) Return first byte and multi-byte representation. """ ch = self.pad.getch() chars = [ch] if ch < 0: return ch, chars if self.input_encoding.name == 'utf-8': def next(): ch = self.pad.getch() if not 128 <= ch <= 191: raise UnicodeDecodeError( "invalid continuation byte: %r" % ch) return ch if ch <= 127: # 1 byte pass elif 194 <= ch <= 223: # 2 bytes chars.append(next()) elif 224 <= ch <= 239: # 3 bytes chars.append(next()) chars.append(next()) elif 240 <= ch <= 244: # 4 bytes chars.append(next()) chars.append(next()) chars.append(next()) elif 192 <= ch <= 193 or 245 <= ch <= 255: raise UnicodeDecodeError("invalid first byte: %r" % ch) return ch, chars def putch(self, ch): """Add a character and adjust cursor position""" ypos, xpos = self.pad.getyx() if ypos == self.padlines - 1 and xpos == self.padcols - 1: return if ch == curses.ascii.NL: if ypos < self.padlines - 1: self.pad.move(ypos + 1, 0) elif ch in (curses.ascii.BS, curses.ascii.DEL, curses.KEY_BACKSPACE): if xpos > 0: if self.tabsize: trail = xpos % self.tabsize or self.tabsize prevtabstop = xpos - trail rightborder = max(prevtabstop, self.eol(ypos)) self.pad.move(ypos, min(xpos - 1, rightborder)) else: self.pad.move(ypos, min(xpos - 1, self.eol(ypos))) self.pad.delch() elif ypos > 0: self.pad.move(ypos - 1, self.eol(ypos - 1)) else: self.pad.addch(ch) def continue_comment(self, oldypos, oldsol, oldeol, neweol, indent=False): """Calculate and return comment continuation The parameters oldypos, oldsol, and oldeol specify coordinates of the current line (the line we want to continue). The parameter neweol gives us a hint about the maximum length of the new line. """ lead = self.extract(oldypos, oldsol, 2) trail = self.extract(oldypos, max(0, oldeol - 2), 2) if lead == '*/': if oldsol > 0 and neweol > 0: return [curses.ascii.BS] return [] if lead == '/*': if trail == '*/': return [] continuation = [ord(' '), ord('*')] elif lead == '//': continuation = [ord('/'), ord('/')] else: lead = lead[:1] if lead == '*': continuation = [ord('*')] elif lead == '#': continuation = [ord('#')] else: return [] if len(continuation) > neweol: return [] if len(continuation) == neweol: return continuation if not indent: return continuation eoc = oldsol + len(lead) indent = self.sol(oldypos, skip=eoc) if not indent: return continuation spaces = indent - eoc if not spaces: return continuation if len(continuation) + spaces < neweol: spacegen = itertools.repeat(curses.ascii.SP, spaces) continuation.extend(spacegen) return continuation def draw_stats(self, quote, player): good = float(quote.stats.keystrokes_good) typo = float(quote.stats.keystrokes_typo) total = float(quote.stats.keystrokes_total) if not total: return xpos = 0 format = lambda speed: min(10 ** (6 - 1 - 3) - 10 ** -3, speed) self.pad.addstr(0, xpos, "Speed: %6.3f %s" % (format(cps(player.speed)), cps)) format = lambda speed: min(10 ** (13 - 1 - 3) - 10 ** -3, speed) for ypos, unit in enumerate((cpm, wpm, ppm, cph), 1): self.pad.addstr(ypos, xpos, "%13.3f %s" % (format(unit(player.speed)), unit)) xpos += 19 format = lambda keystrokes: min(10 ** 4 - 1, keystrokes) self.pad.addstr(0, xpos, "Keystrokes: %4d (enter)" % format(quote.stats.keystrokes_enter)) format = lambda keystrokes: min(10 ** 16 - 1, keystrokes) self.pad.addstr(1, xpos, "%16d (tab/space)" % format(quote.stats.keystrokes_tab + quote.stats.keystrokes_space)) self.pad.addstr(2, xpos, "%16d (good: %d%%)" % (format(good), round(good / total * 100))) self.pad.addstr(3, xpos, "%16d (typo: %d%%)" % (format(typo), round(typo / total * 100))) self.pad.addstr(4, xpos, "%16d (total)" % format(total)) if typo: xmax = min(SpeedPad.SCR_XMIN + 4, self.boxcols) xpos = xmax - 25 highscore = quote.stats.typo_highscore[:5] self.pad.addstr(0, xpos, "Typo Highscore:") xpos += 5 self.pad.addstr(1, xpos, "[1] [321]") self.pad.addstr(2, xpos, "[2] ||| ") self.pad.addstr(3, xpos, " | typos") self.pad.addstr(4, xpos, " expected") xpos += 11 places = min(80, self.boxcols) - xpos - 6 expand = lambda typos: typos[:places].ljust(places) for ypos, score in enumerate(highscore): expected, typos = score typos = ''.join(typo for typo, count in typos) self.pad.addstr(ypos, xpos, "[%s] [%s]" % (self.encode(expected[:1]), self.encode(expand(typos)))) class InputStats(object): def __init__(self): self.typos = {} self.keystrokes_typo = 0 self.keystrokes_good = 0 self.keystrokes_tab = 0 self.keystrokes_space = 0 self.keystrokes_enter = 0 self.timer = Timer() # Assume we expect good character 'x' and: # - get typo 'y' instead: # typocounts['x']['y'] += 1 # typocounts -> {'x': {'y': 1}} # - get typo 'z' instead: # typocounts['x']['z'] += 1 # typocounts -> {'x': {'y': 1, 'z': 1}} # - get typo 'z' again: # typocounts['x']['z'] += 1 # typocounts -> {'x': {'y': 1, 'z': 2}} self.typocounts = collections.defaultdict( lambda: collections.defaultdict(int)) def reset(self): self.typos = {} self.typocounts.clear() self.keystrokes_typo = 0 self.keystrokes_good = 0 self.keystrokes_tab = 0 self.keystrokes_space = 0 self.keystrokes_enter = 0 self.timer.reset() def addtypo(self, ypos, xpos, count=1): self.typos[ypos, xpos] = True self.keystrokes_typo += count def fixtypo(self, ypos, xpos, count=1): if (ypos, xpos) in self.typos: self.typos[ypos, xpos] = False self.keystrokes_good += count @property def keystrokes_total(self): return self.keystrokes_typo + self.keystrokes_good @property def speed(self): elapsed = float(self.timer.elapsed) if elapsed < 1.0: return Speed(0.0) return Speed(self.keystrokes_good / elapsed) @property def typo_highscore(self): highscore = [] typocounts = self.typocounts.items() # [(c,{z:1}), (z,{x:1,y:2}), (a,{x:1}), (b,{v:2})] # sort increasing by alphabet typocounts.sort(key=operator.itemgetter(0)) # [(a,{x:1}), (b,{v:2}, (c,{z:1}), (z,{x:1,y:2})] # sort decreasing by amount of typos (stable) typosum = lambda i: sum(v for k, v in i[1].iteritems()) typocounts.sort(key=typosum, reverse=True) # [(z,{x:1,y:2}), (b,{v:2}), (a,{x:1}), (c,{z:1})] # sort nested dicts decreasing by value for expected, typos in typocounts: typos = typos.items() # [(x,1), (y,2), (a,1)] # sort increasing by alphabet typos.sort(key=operator.itemgetter(0)) # [(a,1), (x,1), (y,2)] # sort decreasing by amount of typos (stable) typos.sort(key=operator.itemgetter(1), reverse=True) # [(y,2), (a,1), (x,1)] highscore.append((expected, typos)) # [(z,[(y,2),(x,1)]), (b,[(v,2)]), (a,[(x,1)]), (c,[(z,1)])] return highscore class Quote(object): def __init__(self, lines): self.lines = list(lines) if not self.lines: raise ValueError("missing input") self.ymax = len(self.lines) self.xmax = len(max(self.lines, key=len)) self.strlen = sum(len(line) for line in self.lines) self.stats = InputStats() def __iter__(self): return iter(self.lines) def inrange(self, ypos, xpos): return (0 <= ypos < len(self.lines) and 0 <= xpos < len(self.lines[ypos])) def strpos(self, ypos, xpos): if ypos < 0 or xpos < 0: raise IndexError if ypos < len(self.lines): prev = itertools.islice(self.lines, ypos) return sum((len(line) for line in prev), min(len(self.lines[ypos]), xpos)) return self.strlen def istypo(self, ypos, xpos, s, record=False, **kwargs): if not self.inrange(ypos, xpos): return True expect = self.lines[ypos][xpos] if s == expect: if record: self.stats.fixtypo(ypos, xpos, **kwargs) return False if record: self.stats.addtypo(ypos, xpos, **kwargs) self.stats.typocounts[expect][s] += 1 return True def eol(self, ypos): if not 0 <= ypos < len(self.lines): return 0 return len(self.lines[ypos]) def iseol(self, ypos, xpos): return ypos < len(self.lines) and xpos >= len(self.lines[ypos]) def iscomplete(self, ypos, xpos): if ypos == len(self.lines) - 1: return xpos >= len(self.lines[ypos]) return ypos >= len(self.lines) def iscorrect(self): return not any(self.stats.typos.itervalues()) class QuoteGenerator(InputDecodingMixIn): def __init__(self, factory, maxlines, maxcols, wrap=0, width=0, tabsize=8, strip=True, input_encoding=None): self.input_encoding = input_encoding if maxlines < 1 or maxcols < 1: raise ValueError("invalid size") if wrap < 0: width = maxcols elif wrap == 0: width = min(maxcols, width) or maxcols else: width = min(maxcols, wrap) or maxcols self.adaptive = wrap == 0 self.tabsize = tabsize self.strip = strip self.maxlines = maxlines self.maxcols = maxcols self.iterator = factory(maxlines * maxcols) self.wrapper = textwrap.TextWrapper(width=width) def __iter__(self): return self def next(self): raw = self.iterator.next() try: raw = self.decode(raw) except UnicodeDecodeError as e: raise QuoteGeneratorError(e) res = self.clean(raw) try: quote = Quote(res) except ValueError as e: raise QuoteGeneratorError(e) return quote def clean(self, raw): """Take raw string input and return list of clean lines""" end = self.maxlines raw = raw.strip() if self.strip else raw.rstrip() raw = raw.expandtabs(self.tabsize) raw = raw.splitlines() res = [] for line in itertools.islice(raw, end): if self.strip: words = line.split() line = ' '.join(words) else: line = line.rstrip() if line: lines = self.wrapper.wrap(line) lines = itertools.islice(lines, max(0, end - len(res))) res.extend(lines) else: res.append(line) if len(res) == end: break return res def resize(self, ydiff, xdiff): if self.adaptive: width = max(1, self.wrapper.width + xdiff) self.wrapper.width = min(self.maxcols, width) class Timer(object): def __init__(self): self.started = 0 self.stopped = 0 def start(self): if self.started: raise RuntimeError self.started = time.time() def stop(self): if not self.started or self.stopped: raise RuntimeError self.stopped = time.time() def reset(self): self.started = 0 self.stopped = 0 @property def elapsed(self): if not self.started: return 0 if not self.stopped: return time.time() - self.started return self.stopped - self.started class ProgressBar(object): def __init__(self, width): self.width = width self._end = 0 self._cur = 0 self._pos = 0.0 def draw(self, win, ypos, xpos, color=curses.A_NORMAL): if not self.width: return end = self.width pos = int(self.width * self.pos) win.hline(ypos, xpos, curses.ascii.SP, end, color) win.hline(ypos, xpos, curses.ascii.SP, pos, color | curses.A_REVERSE) def resize(self, ydiff, xdiff): self.width = max(0, self.width + xdiff) def reset(self): self._end = 0 self._cur = 0 self._pos = 0.0 @property def pos(self): return self._pos @property def cur(self): return self._cur @cur.setter def cur(self, val): self._cur = max(0, val) if self._end: self._pos = min(1.0, float(self._cur) / float(self._end)) else: self._pos = 0.0 @property def end(self): return self._end @end.setter def end(self, val): self._end = max(0, val) if self._end: self.cur = self.cur else: self.cur = 0 class Player(object): def __init__(self, name, color=curses.A_NORMAL): self.name = name self.color = color self.pos = 0 self.speed = Speed(0.0) def __hash__(self): return hash(self.name) def reset(self): self.pos = 0 self.speed = Speed(0.0) class Robot(Player): def __init__(self, name, speed): super(Robot, self).__init__(name) self.speed = Speed(speed) def reset(self): self.pos = 0 class SpeedPad(InputDecodingMixIn, OutputEncodingMixIn): """Manage all components""" SCR_XMIN = 70 SCR_YMIN = 20 PAD_XMAX = 200 PAD_YMAX = 1000 def __init__(self, factory=lambda maxsize: [], ttyfd=0, strict=False, strip=True, color=True, indent=False, syntax=False, user=None, robot=None, player=None, wrap=0, tabsize=8, speed=0.0, speedunit=None, input_encoding=None, output_encoding=None): self.ttyfd = ttyfd self.input_encoding = input_encoding self.output_encoding = output_encoding if (self.input_encoding is not None and not self.input_encoding.name == 'utf-8' and self.input_encoding.name.startswith('utf')): raise ValueError("unsupported input encoding: %r" % self.input_encoding.name) self.user = user and self.decode(user) self.factory = factory self.indent = indent self.strict = strict self.strip = strip self.syntax = syntax self.wrap = int(wrap) self.quotegen = None self.tabsize = min(20, max(0, int(tabsize))) self.xmax = SpeedPad.SCR_XMIN self.ymax = SpeedPad.SCR_YMIN self.color = color self.menucolor = curses.A_REVERSE self.active = False self.writable = True self.dumbtty = True self.cursor = True self.queue = collections.deque() self.speed = max(0.0, speed) self.speedunit = speedunit or cps self.player = player or Player(self.user or "user") self.robot = robot or self.speed and Robot("robot", self.speed) self.stats = [] def __call__(self, screen): """Start instance by calling it with an initialized screen""" self.screen = screen self.getsize() self.initquotes() self.initscreen() self.initsignals() self.initplayers() self.initcolors() self.sync(force=True) self.loop() def initscreen(self): """Initialize screen, boxes, windows and pads""" curses.raw() self.speedbox = SpeedBox(2, 0, 4 if self.robot else 3, self.xmax, output_encoding=self.output_encoding) self.quotebox = QuoteBox(6 if self.robot else 5, 0, SpeedPad.SCR_YMIN - 7, SpeedPad.SCR_XMIN, SpeedPad.PAD_YMAX, SpeedPad.PAD_XMAX, 2, 10, output_encoding=self.output_encoding) self.inputbox = InputBox(SpeedPad.SCR_YMIN - 6, 0, SpeedPad.SCR_YMIN - 1, SpeedPad.SCR_XMIN, SpeedPad.PAD_YMAX, SpeedPad.PAD_XMAX, 0, 10, tabsize=self.tabsize, input_encoding=self.input_encoding, output_encoding=self.output_encoding) def initsignals(self): """Initialize and register signal handlers""" if hasattr(curses, 'resize_term') and hasattr(signal, 'SIGWINCH'): signal.signal(signal.SIGWINCH, self._sigwinchhandler) self.dumbtty = False def initquotes(self): """Initialize the quote data source""" self.quotegen = QuoteGenerator(self.factory, maxlines=SpeedPad.PAD_YMAX - 1, maxcols=SpeedPad.PAD_XMAX - 1, width=SpeedPad.SCR_XMIN - 1, wrap=self.wrap, tabsize=self.tabsize, strip=self.strip, input_encoding=self.input_encoding) def initplayers(self): """Initialize and register players""" if self.robot: self.speedbox.register(self.robot) if self.player: self.speedbox.register(self.player) def initcolors(self): """Initialize and assign colors""" if not curses.has_colors(): self.color = False return curses.use_default_colors() if not self.color: return curses.init_pair(1, curses.COLOR_WHITE, curses.COLOR_BLUE) curses.init_pair(2, curses.COLOR_WHITE, -1) self.menucolor = curses.color_pair(1) self.player.color = curses.color_pair(2) if self.robot: curses.init_pair(3, curses.COLOR_RED, -1) self.robot.color = curses.color_pair(3) def getsize(self): ymax, xmax = self.screen.getmaxyx() if ymax < SpeedPad.SCR_YMIN or xmax < SpeedPad.SCR_XMIN: raise RuntimeError("screen too small, need %dx%d" % ( SpeedPad.SCR_XMIN, SpeedPad.SCR_YMIN)) return ymax, xmax def _sigwinchhandler(self, signum, frame): size = fcntl.ioctl(self.ttyfd, tty.TIOCGWINSZ, '12345678') size = struct.unpack('4H', size) curses.resize_term(size[0], size[1]) self.sync() def sync(self, force=False): """Sync size with physical screen and resize accordingly""" oldymax = self.ymax oldxmax = self.xmax self.ymax, self.xmax = self.getsize() ydiff = self.ymax - oldymax xdiff = self.xmax - oldxmax if force or ydiff or xdiff: self.resize(ydiff, xdiff) def resize(self, ydiff, xdiff): """Resize and redraw screen components""" self.screen.clear() self.screen.noutrefresh() self.speedbox.resize(0, xdiff) self.quotegen.resize(ydiff, xdiff) self.quotebox.resize(ydiff, xdiff) self.inputbox.resize(0, xdiff) self.inputbox.move(ydiff, 0) if self.writable: ypos, xpos = self.inputbox.pad.getyx() if ydiff < 0: self.quotebox.ypos = max(0, ypos - self.quotebox.ymax) if xdiff < 0: self.quotebox.xpos = max(0, xpos - self.quotebox.xmax) self.inputbox.xpos = max(0, xpos - self.inputbox.xmax) self.draw_header() self.draw_quote_sep() self.draw_input_sep() self.draw_footer() self.speedbox.erase() self.quotebox.erase() self.inputbox.erase() self.update_screen() def update_screen(self, quote=None): """Commit pending changes to physical screen""" if self.dumbtty: self.sync() if quote: seconds = int(quote.stats.timer.elapsed) elapsed = str(datetime.timedelta(seconds=seconds)) self.draw_header(status=elapsed) self.draw_input_sep() self.draw_footer() self.speedbox.draw(self.speedunit) self.screen.noutrefresh() self.speedbox.noutrefresh() self.quotebox.noutrefresh() self.inputbox.noutrefresh() curses.doupdate() def update_player_speed(self, quote): self.player.speed = quote.stats.speed def update_robot_pos(self, quote): if not self.robot or self.robot.pos == quote.strlen: return pos = int(quote.stats.timer.elapsed * self.robot.speed) pos = min(quote.strlen, pos) self.robot.pos = pos self.speedbox.update(self.robot) def draw_header(self, status=None): attr = self.menucolor ypos = 0 self.screen.hline(ypos, 0, curses.ascii.SP, self.xmax, attr) self.screen.addstr(ypos, 0, "speedpad %s" % __version__, attr) if status: status = status[:self.xmax - 30] self.screen.addstr(ypos, self.xmax - len(status), status, attr) def draw_quote_sep(self): attr = self.menucolor ypos = 5 if self.robot else 4 self.screen.hline(ypos, 0, curses.ascii.SP, self.xmax, attr) def draw_input_sep(self): attr = self.menucolor ypos = self.ymax - 7 self.screen.hline(ypos, 0, curses.ascii.SP, self.xmax, attr) if self.active: self.screen.addstr(ypos, self.xmax - 11, "CTRL-D", attr) self.screen.addstr(ypos, self.xmax - 4, "STOP", attr | curses.A_BOLD) else: self.screen.addstr(ypos, self.xmax - 10, "ENTER", attr) self.screen.addstr(ypos, self.xmax - 4, "NEXT", attr | curses.A_BOLD) def draw_footer(self): attr = self.menucolor ypos = self.ymax - 1 self.screen.hline(ypos, 0, curses.ascii.SP, self.xmax, attr) self.screen.addstr(ypos, 0, "CTRL-X", attr) self.screen.addstr(ypos, 0 + 7, "RESET", attr | curses.A_BOLD) self.screen.addstr(ypos, self.xmax - 11, "CTRL-Q", attr) self.screen.insstr(ypos, self.xmax - 4, "QUIT", attr | curses.A_BOLD) def start_pager(self, quote): self.hide_cursor() self.quotebox.reset() self.inputbox.reset() self.update_player_speed(quote) self.update_robot_pos(quote) self.quotebox.draw_stats(quote) self.inputbox.draw_stats(quote, self.player) self.quotebox.noutrefresh() self.inputbox.noutrefresh() curses.doupdate() def stop_pager(self): self.quotebox.reset() self.inputbox.reset() self.quotebox.noutrefresh() self.inputbox.noutrefresh() self.screen.noutrefresh() curses.doupdate() def store_stats(self, quote): self.stats.append({ 'started': quote.stats.timer.started, 'stopped': quote.stats.timer.stopped, 'elapsed': quote.stats.timer.elapsed, 'len': quote.strlen, 'pos': self.player.pos, 'lines': quote.ymax, 'enter': quote.stats.keystrokes_enter, 'tab': quote.stats.keystrokes_tab, 'space': quote.stats.keystrokes_space, 'good': quote.stats.keystrokes_good, 'typo': quote.stats.keystrokes_typo, 'total': quote.stats.keystrokes_total, 'cps': cps(self.player.speed), 'cpm': cpm(self.player.speed), 'wpm': wpm(self.player.speed), 'ppm': ppm(self.player.speed), 'cph': cph(self.player.speed), }) def show_cursor(self): if self.cursor is None or self.cursor: return try: curses.curs_set(1) self.cursor = True except curses.error: self.cursor = None def hide_cursor(self): if self.cursor is None or not self.cursor: return try: curses.curs_set(0) self.cursor = False except curses.error: self.cursor = None def loop(self): """Process quotes and handle user input""" update_interval_screen = 0.1 # seconds update_interval_speed = 0.5 # seconds update_interval_progress = 0.1 # seconds sleep = 0.01 # seconds scan = int(sleep * 1000) # milliseconds update_iterations_screen = int(update_interval_screen / sleep) update_iterations_speed = int(update_interval_speed / sleep) update_iterations_progress = int(update_interval_progress / sleep) self.hide_cursor() self.update_screen() for quote in self.quotegen: # next quote while True: # next round curses.flushinp() self.queue.clear() quote.stats.reset() self.speedbox.reset() self.quotebox.reset() self.inputbox.reset() self.speedbox.load(quote) self.quotebox.load(quote) self.show_cursor() self.update_screen(quote) self.active = False self.writable = True update_iteration_screen = 0 update_iteration_speed = 0 update_iteration_progress = 0 update_screen = False update_speed = False update_progress = False restart = False while True: # next keypress if update_iteration_screen == update_iterations_screen: update_iteration_screen = 0 update_screen = True if update_iteration_speed == update_iterations_speed: update_iteration_speed = 0 update_speed = True if update_iteration_progress == update_iterations_progress: update_iteration_progress = 0 update_progress = True try: ch = self.queue.popleft() chars = [ch] keyboard = False except IndexError: ch, chars = self.inputbox.getch() keyboard = True if ch < 0: if update_speed: update_speed = False self.update_player_speed(quote) if update_progress: update_progress = False self.update_robot_pos(quote) if update_screen: update_screen = False self.update_screen(quote) update_iteration_screen += 1 update_iteration_speed += 1 update_iteration_progress += 1 curses.napms(scan) continue try: self.process(quote, ch, chars, keyboard=keyboard) except QuoteStopSignal: self.active = False self.queue.clear() if self.writable: self.writable = False self.start_pager(quote) self.store_stats(quote) else: self.stop_pager() break except QuoteResetSignal: self.active = False self.queue.clear() if not self.writable: self.stop_pager() restart = True break except QuoteBreakSignal: self.active = False break if update_speed: update_speed = False self.update_player_speed(quote) if update_progress: update_progress = False self.update_robot_pos(quote) self.update_screen(quote) update_screen = False update_iteration_screen = 0 update_iteration_speed += 1 update_iteration_progress += 1 # end keypress if not restart: break # end round self.hide_cursor() self.update_screen() # end quote def process(self, quote, ch, chars, keyboard=True): """Process one multi-byte character""" ypos, xpos = self.inputbox.pad.getyx() # INPUT if self.writable and (len(chars) > 1 or curses.ascii.isprint(ch)): if quote.iscomplete(ypos, xpos): pass # complete with pending typos elif quote.iseol(ypos, xpos): if not self.strict and ch == curses.ascii.SP: self.queue.append(curses.ascii.NL) else: if not self.active: self.active = True quote.stats.timer.start() if keyboard and ch == curses.ascii.SP: quote.stats.keystrokes_space += 1 if quote.istypo(ypos, xpos, self.inputbox.decode_chars(chars), record=True, count=1 if keyboard else 0): self.quotebox.pad.chgat(ypos, xpos, 1, curses.A_REVERSE) else: self.quotebox.pad.chgat(ypos, xpos, 1, curses.A_BOLD) if (quote.iscomplete(ypos, xpos + 1) and quote.iscorrect()): self.queue.append(curses.ascii.EOT) for ch in chars: self.inputbox.putch(ch) elif (self.writable and ch in (curses.ascii.BS, curses.ascii.DEL, curses.KEY_BACKSPACE)): quote.stats.fixtypo(ypos, xpos, count=0) self.inputbox.putch(ch) newy, newx = self.inputbox.pad.getyx() if newy != ypos: self.quotebox.pad.chgat(newy, newx, -1, curses.A_NORMAL) elif newx != xpos: self.quotebox.pad.chgat(ypos, newx, -1, curses.A_NORMAL) elif ch == curses.ascii.TAB and self.writable: if keyboard: quote.stats.keystrokes_tab += 1 if self.tabsize: indent = self.tabsize - xpos % self.tabsize remaining = max(0, quote.eol(ypos) - xpos) if remaining > 0: spaces = min(indent, remaining) spacegen = itertools.repeat(curses.ascii.SP, spaces) self.queue.extend(spacegen) if not self.strict and indent > remaining: self.queue.append(curses.ascii.NL) elif ch == curses.ascii.NL: if not self.active: raise QuoteBreakSignal if (self.writable and quote.iseol(ypos, xpos) and not quote.iscomplete(ypos, xpos)): if keyboard: quote.stats.keystrokes_enter += 1 self.inputbox.putch(ch) newy, newx = self.inputbox.pad.getyx() oldsol = self.inputbox.sol(ypos) oldeol = quote.eol(ypos) neweol = quote.eol(newy) if neweol > 0 and neweol > oldsol and newy > 0 and newx == 0: if self.indent and oldsol > 0: spacegen = itertools.repeat(curses.ascii.SP, oldsol) self.queue.extend(spacegen) if self.syntax and oldeol > oldsol: continuation = self.inputbox.continue_comment( ypos, oldsol, oldeol, neweol, indent=self.indent) self.queue.extend(continuation) # CONTROLS elif ch == curses.ascii.FF: # ^L pass elif ch == curses.ascii.ETX: # ^C raise KeyboardInterrupt elif ch == curses.ascii.DC1: # ^Q raise StopSignal elif ch == curses.ascii.EOT: # ^D if self.active: quote.stats.timer.stop() raise QuoteStopSignal raise QuoteBreakSignal elif ch == curses.ascii.CAN: # ^X raise QuoteResetSignal # SCROLLING elif ch == curses.KEY_HOME or ch == curses.ascii.SOH: self.quotebox.ypos = 0 elif ch == curses.KEY_END or ch == curses.ascii.ENQ: self.quotebox.ypos = max(0, quote.ymax - self.quotebox.boxlines) elif ch == curses.KEY_PPAGE: self.quotebox.scroll(-(self.quotebox.ymax // 2), 0) elif ch == curses.KEY_NPAGE: self.quotebox.scroll(self.quotebox.ymax // 2, 0) elif ch == curses.KEY_UP: self.quotebox.scroll(-1, 0) elif ch == curses.KEY_DOWN: self.quotebox.scroll(1, 0) elif ch == curses.KEY_LEFT: self.quotebox.scroll(0, -1) elif ch == curses.KEY_RIGHT: self.quotebox.scroll(0, 1) if not self.writable: return # AUTO SCROLLING newy, newx = self.inputbox.pad.getyx() ydiff = newy - ypos xdiff = newx - xpos if ydiff: if self.quotebox.ypos or newy >= self.quotebox.ymax: self.quotebox.scroll(ydiff, 0) if self.inputbox.ypos or newy >= self.inputbox.ymax: self.inputbox.scroll(ydiff, 0) if xdiff: if quote.xmax >= self.inputbox.boxcols: if ydiff < 0 or newx >= self.inputbox.boxcols: self.quotebox.xpos = max(0, newx - self.quotebox.xmax) self.inputbox.xpos = max(0, newx - self.inputbox.xmax) elif self.inputbox.xpos or newx >= self.inputbox.xmax: self.quotebox.scroll(0, xdiff) self.inputbox.scroll(0, xdiff) else: self.quotebox.xpos = 0 self.inputbox.xpos = 0 # PLAYER PROGRESS if ydiff or xdiff: self.player.pos = quote.strpos(newy, newx) self.speedbox.update(self.player) class SpeedUnit(object): def __init__(self, attr): self.attr = attr self.attrgetter = operator.attrgetter(attr) def __str__(self): return self.attr.upper() def __call__(self, speed): return self.attrgetter(speed) class Speed(float): @property def cps(self): """Speed in chars per second (internal base unit)""" return self @property def cpm(self): """Speed in chars per minute""" return self.cps * 60.0 @property def wpm(self): """Speed in words per minute""" return self.cps * 60.0 / 5.0 @property def ppm(self): """Speed in pages per minute""" return self.cps * 60.0 / 250.0 @property def cph(self): """Speed in chars per hour (also known as KPH)""" return self.cps * 3600.0 class StopSignal(Exception): pass class QuoteStopSignal(Exception): pass class QuoteBreakSignal(Exception): pass class QuoteResetSignal(Exception): pass class QuoteGeneratorError(Exception): pass class QuoteCommandLineError(Exception): pass class QuoteFileError(Exception): pass class QuotePipeError(Exception): pass class QuoteCommandError(Exception): def __init__(self, cmd, exitcode, stderr=None): self.cmd = cmd self.exitcode = exitcode self.stderr = stderr def __str__(self): err = ("%r returned non-zero exit code %d" % (self.cmd, self.exitcode)) if self.stderr: err = "%s\n\n%s" % (err, self.stderr) return err cps = SpeedUnit('cps') cpm = SpeedUnit('cpm') wpm = SpeedUnit('wpm') ppm = SpeedUnit('ppm') cph = SpeedUnit('cph') def main(*args, **kwargs): import sys if sys.hexversion < 0x020700F0: sys.stderr.write("Require Python 2.7 or later!\n") sys.exit(1) if sys.hexversion >= 0x03000000: sys.stderr.write("Require Python 2!\n") sys.exit(1) import argparse import getpass import locale import os infd = sys.stdin.fileno() outfd = sys.stdout.fileno() errfd = sys.stderr.fileno() locale.setlocale(locale.LC_ALL, '') io_encoding = locale.getpreferredencoding() fs_encoding = sys.getfilesystemencoding() try: # LOGNAME, USER, LNAME, USERNAME, pw_name user = getpass.getuser().lstrip().split(None, 1)[0].lower() except: user = None parser = argparse.ArgumentParser( formatter_class=argparse.RawTextHelpFormatter, usage="%(prog)s [options] [--] [FILE [FILE ...]]\n " " %(prog)s [...] -c [--] [CMD [ARG ...]]", description="%(prog)s is a tool to test, train," " and increase typing speed", epilog=textwrap.dedent( """ examples: %(prog)s file1 file2 file3 read files grep ^foo words | %(prog)s read stdin %(prog)s -c -- fortune -s -n 500 (default) %(prog)s -c -- fortune 40%% startrek 60%% linux %(prog)s /usr/src/linux/README %(prog)s --code /usr/src/linux/mm/pagewalk.c see %(prog)s(1) for more options and gnuplot(1) examples """)) parser.add_argument('--version', action='version', version='%%(prog)s %s' % __version__) parser.add_argument('-c', dest='cmd', action='store_true', help=("use positional arguments as command line" " (default: %(default)s)")) parser.add_argument('-o', dest='outfile', metavar='FILE', help=("append stats dump to file" " (default: )")) group = parser.add_mutually_exclusive_group() group.add_argument('--wpm', action='store_true', default=True, help=("speed in words per minute" " (default: %(default)s)")) group.add_argument('--cpm', action='store_true', help=("speed in chars per minute" " (default: %(default)s)")) group.add_argument('--cps', action='store_true', help=("speed in chars per second" " (default: %(default)s)")) parser.add_argument('--speed', type=float, help=("reference speed in matching unit" " (default: 100.0)")) parser.add_argument('--wrap', type=int, default=0, metavar='WIDTH', help=("wrap text at specified width" " (default: %(default)d)\n" "[<0 = disable, 0 = auto, >0 = fixed]")) parser.add_argument('--user', default=user, metavar='NAME', help=("set custom user name" " (default: %(default)s)")) parser.add_argument('--tabsize', type=int, default=8, metavar='N', help=("set custom tabsize" " (default: %(default)d)")) parser.add_argument('--strict', action='store_true', help=("require manual line breaks" " (default: %(default)s)")) parser.add_argument('--indent', action='store_true', help=("enable auto indentation" " (default: %(default)s)")) parser.add_argument('--syntax', action='store_true', help=("enable syntax support" " (default: %(default)s)")) parser.add_argument('--no-strip', action='store_true', help=("keep excessive whitespace in text" " (default: %(default)s)")) parser.add_argument('--no-robot', action='store_true', help=("disable the reference speed robot" " (default: %(default)s)")) parser.add_argument('--no-color', action='store_true', help=("disable colors" " (default: %(default)s)")) parser.add_argument('--no-stats', action='store_true', help=("disable stats dump on exit" " (default: %(default)s)")) parser.add_argument('--code', action='store_true', help="[--no-strip --indent --syntax]") parser.add_argument('--input-encoding', default=io_encoding, help=argparse.SUPPRESS) parser.add_argument('--output-encoding', default=io_encoding, help=argparse.SUPPRESS) parser.add_argument('--filesystem-encoding', default=fs_encoding, help=argparse.SUPPRESS) parser.add_argument('argv', nargs='*', help=argparse.SUPPRESS) args = parser.parse_args(*args, **kwargs) try: args.input_encoding = codecs.lookup(args.input_encoding) args.output_encoding = codecs.lookup(args.output_encoding) args.filesystem_encoding = codecs.lookup(args.filesystem_encoding) except LookupError as e: parser.error(e) def recode_arg_for_fs(arg): if args.input_encoding != args.filesystem_encoding: arg = args.input_encoding.decode(arg)[0] arg = args.filesystem_encoding.encode(arg)[0] return arg if args.code: args.indent = True args.syntax = True args.no_strip = True speedbase = Speed(1.0) if args.cps: speedunit = cps speed = (args.speed or 8.0) / speedunit(speedbase) elif args.cpm: speedunit = cpm speed = (args.speed or 500.0) / speedunit(speedbase) else: speedunit = wpm speed = (args.speed or 100.0) / speedunit(speedbase) if args.no_robot: speed = 0.0 if args.cmd and not args.argv: parser.error("missing command line") if not args.argv: args.cmd = True args.argv = ['fortune', '-s', '-n', '500'] if os.isatty(infd): ttyfd = infd elif os.isatty(outfd): ttyfd = outfd elif os.isatty(errfd): ttyfd = errfd else: sys.stderr.write("Unable to find tty-like device!\n") sys.exit(1) if ttyfd != infd: # reconnect stdin to tty pipefd = 3 os.dup2(infd, pipefd) os.dup2(ttyfd, infd) def factory(maxsize): try: with os.fdopen(pipefd, 'rb') as pipe: while True: data = pipe.read(maxsize) if not data: break yield data except EnvironmentError as e: raise QuotePipeError(e.strerror) elif args.cmd: def factory(maxsize): import subprocess argv = [recode_arg_for_fs(args.argv[0])] + args.argv[1:] while True: try: process = subprocess.Popen(argv, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) try: stdout, stderr = process.communicate() except: process.kill() process.wait() raise retcode = process.poll() if retcode: raise QuoteCommandError(argv, retcode, stderr) yield stdout except EnvironmentError as e: raise QuoteCommandLineError("%s: %r" % (e.strerror, argv[0])) else: def factory(maxsize): for fn in args.argv: fn = recode_arg_for_fs(fn) try: with open(fn, 'rb') as fh: yield fh.read(maxsize) except EnvironmentError as e: raise QuoteFileError("%s: %r" % (e.strerror, e.filename)) try: instance = SpeedPad(factory, ttyfd=ttyfd, wrap=args.wrap, strict=args.strict, strip=not args.no_strip, indent=args.indent, syntax=args.syntax, tabsize=args.tabsize, color=not args.no_color, user=args.user, speed=speed, speedunit=speedunit, input_encoding=args.input_encoding, output_encoding=args.output_encoding) except ValueError as e: sys.stderr.write('Error: %s\n' % e) sys.exit(1) if os.isatty(outfd): dumpfd = outfd else: # reconnect stdout to tty dumpfd = 4 os.dup2(outfd, dumpfd) os.dup2(ttyfd, outfd) if args.outfile: if dumpfd != outfd: os.close(dumpfd) try: dumpfd = os.open(args.outfile, os.O_CREAT | os.O_WRONLY | os.O_APPEND, 0600) except EnvironmentError as e: sys.stderr.write("Error: %s: %r\n" % (e.strerror, e.filename)) sys.exit(1) if dumpfd == outfd: def dump(): stats = format_stats(instance.stats) if not stats: return sys.stdout.write(stats) sys.stdout.write('\n') else: def dump(): stats = format_stats(instance.stats) if not stats: return with os.fdopen(dumpfd, 'ab') as fh: fh.write(stats) fh.write('\n') exitcode = 0 try: curses.wrapper(instance) except KeyboardInterrupt: sys.exit(0) except StopSignal: pass except (QuoteGeneratorError, QuotePipeError, QuoteFileError, QuoteCommandError, QuoteCommandLineError) as e: sys.stderr.write('Error: %s\n' % e) exitcode = 2 try: dump() except EnvironmentError as e: sys.stderr.write('Error: %s\n' % e.strerror) exitcode = 3 sys.exit(exitcode) def format_stats(stats): """Format stats into lines of machine-readable space separated fields""" lines = ["# started stopped elapsed len pos lines" " enter tab space good typo total" " cps cpm wpm ppm cph"] for stat in stats: line = ( "%(started).3f" " %(stopped).3f" " %(elapsed).3f" " %(len)d" " %(pos)d" " %(lines)d" " %(enter)d" " %(tab)d" " %(space)d" " %(good)d" " %(typo)d" " %(total)d" " %(cps).3f" " %(cpm).3f" " %(wpm).3f" " %(ppm).3f" " %(cph).3f" ) % stat lines.append(line) return '' if len(lines) < 2 else '\n'.join(lines) if __name__ == '__main__': main() # vim: et sw=4 sts=4 ts=4 tw=78 fen fdm=indent fdn=2 fdl=0 speedpad-1.0/doc/000077500000000000000000000000001165153245500137135ustar00rootroot00000000000000speedpad-1.0/doc/Makefile000066400000000000000000000060711165153245500153570ustar00rootroot00000000000000# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest help: @echo "Please use \`make ' where is one of" @echo " html to make standalone HTML files" @echo " dirhtml to make HTML files named index.html in directories" @echo " pickle to make pickle files" @echo " json to make JSON files" @echo " htmlhelp to make HTML files and a HTML help project" @echo " qthelp to make HTML files and a qthelp project" @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" @echo " changes to make an overview of all changed/added/deprecated items" @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" clean: -rm -rf $(BUILDDIR)/* html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." dirhtml: $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." pickle: $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle @echo @echo "Build finished; now you can process the pickle files." json: $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json @echo @echo "Build finished; now you can process the JSON files." htmlhelp: $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp @echo @echo "Build finished; now you can run HTML Help Workshop with the" \ ".hhp project file in $(BUILDDIR)/htmlhelp." qthelp: $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp @echo @echo "Build finished; now you can run "qcollectiongenerator" with the" \ ".qhcp project file in $(BUILDDIR)/qthelp, like this:" @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/speedpad.qhcp" @echo "To view the help file:" @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/speedpad.qhc" latex: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ "run these through (pdf)latex." changes: $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes @echo @echo "The overview file is in $(BUILDDIR)/changes." linkcheck: $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck @echo @echo "Link check complete; look for any errors in the above output " \ "or in $(BUILDDIR)/linkcheck/output.txt." doctest: $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest @echo "Testing of doctests in the sources finished, look at the " \ "results in $(BUILDDIR)/doctest/output.txt." speedpad-1.0/doc/bugs.rst000066400000000000000000000002501165153245500154020ustar00rootroot00000000000000.. _bugs: ******************** Bugs and suggestions ******************** Please add an issue in the `bug tracker `_. speedpad-1.0/doc/build/000077500000000000000000000000001165153245500150125ustar00rootroot00000000000000speedpad-1.0/doc/build/.gitignore000066400000000000000000000000021165153245500167720ustar00rootroot00000000000000* speedpad-1.0/doc/changes.rst000066400000000000000000000000471165153245500160560ustar00rootroot00000000000000.. _changes: .. include:: ../CHANGES speedpad-1.0/doc/conf.py000066400000000000000000000131531165153245500152150ustar00rootroot00000000000000# -*- coding: utf-8 -*- # # Speedpad documentation build configuration file. import sys import time project = u'Speedpad' copyright = u'2010-%s, John Feuerstein' % time.strftime('%Y') # Import hack to get the current script version from the executable from imp import load_source sys.dont_write_bytecode = True load_source('speedpad', '../bin/speedpad') from speedpad import __version__ as version, __version__ as release # -- General configuration ----------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [] # Add any paths that contain templates here, relative to this directory. templates_path = ['templates'] # The suffix of source filenames. source_suffix = '.rst' # The encoding of source files. source_encoding = 'utf-8' # The master toctree document. master_doc = 'contents' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: today = '' # Else, today_fmt is used as the format for a strftime call. today_fmt = '%B %d, %Y' # List of documents that shouldn't be included in the build. #unused_docs = [] # List of directories, relative to source directory, that shouldn't be searched # for source files. exclude_trees = ['build'] # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. #add_function_parentheses = True # If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # -- Options for HTML output --------------------------------------------------- # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. html_theme = 'default' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". html_title = 'Speedpad: test, train, and increase typing speed' # A shorter title for the navigation bar. Default is the same as html_title. html_short_title = 'Speedpad' # The name of an image file (relative to this directory) to place at the top # of the sidebar. #html_logo = None # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. #html_favicon = None # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. html_use_smartypants = True # Custom sidebar templates, maps document names to template names. html_sidebars = { 'index': 'indexsidebar.html', } # Additional templates that should be rendered to pages, maps page names to # template names. html_additional_pages = { 'index': 'indexcontent.html', } # If false, no module index is generated. html_use_modindex = False # If false, no index is generated. html_use_index = False # If true, the index is split into individual pages for each letter. html_split_index = False # If true, links to the reST sources are added to the pages. html_show_sourcelink = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = '' # Output file base name for HTML help builder. htmlhelp_basename = 'Speedpaddoc' # -- Options for LaTeX output -------------------------------------------------- # The paper size ('letter' or 'a4'). latex_paper_size = 'a4' # The font size ('10pt', '11pt' or '12pt'). #latex_font_size = '10pt' # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'speedpad.tex', u'Speedpad documentation', u'John Feuerstein', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of # the title page. #latex_logo = None # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. #latex_use_parts = False # Additional stuff for the LaTeX preamble. #latex_preamble = '' # Documents to append as an appendix to all manuals. #latex_appendices = [] # If false, no module index is generated. #latex_use_modindex = True speedpad-1.0/doc/contents.rst000066400000000000000000000002471165153245500163050ustar00rootroot00000000000000%%%%%%%%%% Speedpad %%%%%%%%%% .. toctree:: index.rst changes.rst readme.rst install.rst screenshots.rst keybinds.rst license.rst bugs.rst speedpad-1.0/doc/images/000077500000000000000000000000001165153245500151605ustar00rootroot00000000000000speedpad-1.0/doc/images/gnuplot-example-typo-over-wpm.png000066400000000000000000000343131165153245500235560ustar00rootroot00000000000000‰PNG  IHDR€€²GDésRGB®Îé pHYs  šœ IDATxÚíÝ}\Í÷ÿ?ðGWRBWs‘Idtäb†²˘5f4ÕÖ4ÃÄÈḾ˜¯LôÙ•>sÑ\ŽÓÁ)l1s‘\Tl:äb?é W£¢óûãØù4D¥Nï‹Çýö¹}nォ·óx=O=Ïëõ>çý¶0 """ó²ä±±00±±00±±±›‘F£éÞ½»››[xxøÕ«Wû Ä œœœœ'NœÈËVpEЉ‰7n\nnnZZšµµuXX˜q¿Z­Öjµ©©©GŽÙ¹sç²eËX0""’ ¡M+oݺU¿~ýÛ·oèܹó”)Szõê 11qΜ9)))¬q\ñ’““Û·ooÜNOO7m·k×.==#""‰0IjjjãÆOŸ>müOKKË‚‚ãvAA••ÕS~–¥$""µQkádسgOXX؆ š5kfÜãààpãÆ WWWyyy5kÖ|æ(ȤÞ ˰ ˰ +„°åþY¡,A¯[·.$$dÓ¦M:t0íôöö>tèqûðáÃÞÞÞ|©EDDÒ ˆpLLLlllRR’——Wñý¡¡¡“'O6îœ}Μ9ÀÓÓsëÖ­Æý'OžìÛ·¯q¿»»ûøñãûöíÛ°aÃgþóUòºÃ<­‡3`""*-ã$øÁƒÓ¦M‹ŠŠ²··7îoÒ¤‰qÃÓÓóÒ¥KÆí¿þúË´¿iÓ¦¦ý›7oNNNnÛ¶m³fÍŸÑ Íÿ?sa&"¢§ÍðŠÿç»ï¾[­Zµ‰'þöÛo¦ý:δѠAã¶›››iÿ™3gLû}||rss.\8tèPÙŽ­´pxñE´n7Þ@ÿþ>*bb°|9Æ?çÿ¥ñ"TV¯¸–a¶ª¸ººfffïÇ*•jþüù“'O®V­šiÿ˜1c.]ºtéÒ¥1cÆ„„„w=úâÅ‹/^=ztPPiFFFaa!KKùÎ¥uøï¿qõ*®^ŵkÐë¡×?ܾq§N!=îîhÛ/¿üðÿEV¯×o“, ˰ […bbbfÍš•——gj?þøã¤I“222¬­­M~çÍ›·`Á‚ÂÂÂ.\¸ÐÖÖÀ½{÷¢¢¢Ö¯_ 000::ºzõêÖ®];}úôììl…B±`Á‚7ÞxCÜ­‡7cxö(爈<\¹ñé§8t?ý„«WñòË Aj*†ˆˆžp©µn¯¾Âùóxýu„„ ];¬\‰û÷«ä±¿ä1,Ã2,ÃJsöÌ%èò(*ÂÏ?ã?ÿN‡Ï>Cx8?FLD$Ç&ÊsÀ¨ª¢ýú+.ÄÁƒ5 #FÀÁOG""6àÒ°NÓ=ŸMt:]@@€“““““S@@€é¢ÞÒ¥ 6mž=ÈÈ@Ó¦˜7·oóIDD¢iÀ¦>÷ᇶiÓæìÙ³gÏžmÕªÕ‡~(ÐQlÚ+VààAètpw‡R‰ë×+õT«ÕòyŽ2,Ã2,ò›Û±cÇ&L˜àèèèèè¨T*;&è±twG\RSqý:<=¡T"/¯’þ)…B!Ÿç(Ã2,Ã2¬$ ëð#‹é hÑ¢ÅØ±c  N:µaÆRþlKKôi8p&`ÄØÚò©FD$Á&*ÕÏ/Z´hÅŠŽŽŽNNN«V­Š}æ@<¸?00Ðô=jµZ«Õ·u:R©4}I©TšN3kµÚâ«(e>ÂË/kGJøè#lÛ…ëÖ}`þÇÀ#ð<À#TèJê2œûûû·oß>** @ttô¡C‡víÚ%Žpqû÷cüxäå!:½{WÈ!³³³5j$“˜ ˰ ˰œ›Û¾}û&Nœh:¼ÿ~QÖ§sg¤¤`útŒ ?þü‡Œ—Ï Ã2,Ã2¬4›·gÀ;wîÞ½ûçŸ`þüù{÷îMIIß Øä￱h.Dp0¦L«+ŸDDœW}ãbzñUõ+V>|ØÃÃÃÃÃãèÑ£+V¬w¡ìí1i22`0ÀÛß}‡¢">}‰ˆ8–ïË*pæ FFV¾þo¾É'"gÀdM›âçŸ1>† C` rrÊôÓ*•J>CŰ ˰ Ë0gÀ•àî]Ì›‡¸8(•9VV¥ù!½^ï*›SÈ Ë° ˰’l=lÀÂpê>û ·ná›oàãÆDDlÀlÀf´q#ÆŽEß¾˜5 µjñ™MD$áÖÃsÀBòþû8u NNhÞj5J.ªF£‘Ϩ0,Ã2,ÃJ°ÀØÙaútì܉åËñúëHOâwéõzù Ã2,Ã2¬4gÏ\‚(ƒ«VaÂbÎ88ðÉJD$¥Öðp«ŠÐP<ˆsçо=öìáq̰ymÚ„‘#ñî»ˆŽæ›³ˆˆ8&sé×§NÁÖ^^øñGòIϰ ˰ Ë0gÀU-%ááxé%,^Œ øô%"â ˜ÌÂÏGÂÛmڠؤ‰ˆˆ3`΀Íbï^„‡£M|ó êÖå󘈈3`2õéÓ8v ^^hÛkÖH<¬œæú ˰ +lÀ¢¤P(`oÙ³‘”„E‹Ð³'.\rXYU–a–ae2{æ´èÝ¿ °`fÏÆÇÂOk""á·6`©HOGX\]±d 6äo‘À[— E);;ûÑ]ÞÞHIAëÖh×Nbg…ŸVV•eX†eX‰b¥øøø'ì­^ÑÑHHÀÔ© ÄÕ«R+«Ê2,Ã2¬$gÏ\‚– {÷0}:–/Çwßá½÷8DDl=lÀÒ•”„!Cб#ââàäÄñ "Tëá´tu'áä„¶my3%""¡J¶øÇ#û;öÖ[o9884hÐà¿ÿý/ f¤R©Jõ}µj!.3g¢L›†ÂB)‡•Ue–aV³gA-Û>2—ÿã?Þ|ó͹sç¾ýöÛ·nÝR*•«W¯®ŒuÑÑëõ®®®eøìl Œ;w°jš7—xXYU–a–a…Ô¶¤Ó€ƒƒƒ}}}GŒQÙ£ –,ÁĉˆŠÂøñ°äÙ"¢ªlÀ‚þ+œœœœ““ãæææââ–——Çb?ÏÓÆ!%ë×£G\¼È!!"ªB‚nÀz½þìÙ³iii™™™cÆŒyæ+‘G÷š¾G­VkµZã¶N§S*•¦/)•JNgÜÖjµÅ¯'.´#Œ=ºœGP(ðûïðóË÷ò:9q¢(ÆaîܹB®EÅaùòåHQÊ#h4iW³ø4´«YüFªÕ,©Ë”“AHy<µjÕºråŠq;''ÇÕÕµô?+m«V­zÞCìßoðô4 `¸vMúaeUY†eX†­º¶U&‚>Ü¥K—7Ö©S@NNNË–-sss+c!^¦®^EDNœÀêÕxåŽÑs¶-é,A2dìØ±W®\¹råJddd@@‹]‘\\ðãP*Ñ£¢£QTÄ!!"2a}¸ø€¡C‡zzzz{{{yyÙØØÄÄİ`•ñ2iiHLDçÎÈÊâxÉ«?¾ªn4cÆŒÜÜÜk×®­\¹ÒÑÑ‘3Šˆˆ¨ÈÃ5lˆäd¡cGï*êVV•eX†eXãµ ©˜'//¨ÕàË"¢Êl=¼ÓªRR`oÎqìǃˆ¨ò°Ó¿Õª…åË1mÞz ±±à¢0™ÿØx¥øà;†ÄDtïŽK—$VV•eX†eX6`z …¢Òÿºu‘˜ˆ>}С¶n•xXYU–a–a…o¢g9tÁÁèÔ ‹ÃÞžãADT!­‡3`z–öíñûï¸}¯¿Ž3g8DD‚ X”²³³Íúï9;cÓ&|ô|}±j•ÄÃʪ² ˰ ËLe_%—Ëøäüú+-B¿~¸vMâaeUY†eX†­ <LeTXˆ9s°|9âãáçÇñ "Y7Ñçh=lÀT.Z-† ÁGaÊXYq<ˆˆ ˜ ˜Ìåüy„„ fM,_Ž:u8DÄ\&<,J*•ªê„»;vïF»vðñV+ñ°²ª,Ã2,Ú§ys,Fz½ÞÕÕU(æÐ!¡woDGÃÖVâaeUY†eX†­ÌÖÃLáæM|ò ŽÇÚµhÙ’ãADlÀÏÄ%hªµjaõjDEá7Ëñ "b–&F#ćŠ;ñí·øøcܽ+ñ°²ª,Ã2,ò“‘^¯è#kÛGŽ ?¯¾ŠÓ§%VV•eX†eØŠÆsÀT96mˆP*1z4ƒˆ$ÛDù&,6`!:wAAhÚß}ޱÇ%hª4سÎÎhß'Np<ˆˆØ€E/""BÔÖ±±˜2½zaÝ:‰‡•Ue–aöùgÏY¶µ°°0n<þxôz½Ï… žþP¹-hüà님T¯Îñ "‰4Q ,A †’2L›6møðá,³¸5k†ƒacƒ¶m¹MD¡½ ëñ—™™™'Ož´³³ã X ð駘1Æq0ˆˆ3`á7nÜÌ™3«sÑòßÔjµXú{ïaï^|ó BCqçŽÄÃʪ² ˰² û<Ý€wíÚ¥×냂‚JÿJäÆýÅŸÚnÝ£Óé”J¥éKJ¥R§Ó·µZmñçÐŽð矊8E³fHIAaáU…bÿÊ•Ï<Â;w„\‹Š=BíÚµ%¢”GP(Ò®fñ#( iW³ø …T«YR—)çìYÈKЭ[·þöÛoýüüJ3Íç´ø|û-fÌÀ7ß ‰‘t.ÄñH’Ç_\<åѲ‹Ò©S0mÛbñbØÛs<ˆH> XÐKІbžÞ}å&;;["I¼¼ðÛoxðíÛ##CâaeUY†eXK6-¦?ÿªºÄÇÇK'ŒƒâãŽnݰu«ÄÃʪ² ˰ôôÆÇkA“P8€ñÁ˜3ÖÖ"’vëá¥(I0:vÄñã8{;âŸ7(I0 I­ZX¿Æ¡cGlÜÈñ "6`•J%åxÆaûvDEaôhJ<¬¬*˰ KÅð°(éõzWWW‰‡¼|ÁÁ°¶¾öŸÿ8{y±² ˰ +±ÖÃLöà¦NŪUX³¾¾"bf&3Ú³~ˆðpL Kž4!"‰´þ9%F#£°÷îá÷ß‘”ää°² ˰ + lÀ¢¤×ëå¶AìÞ.]Сöïge–aV ³g.A“˜¬]‹Q£0>æ`‘¨[0‰Í™3è×mÚ .Ž÷o "ñ¶.A“Ø4mŠýûQP??œ=Ëñ "‘b¥ˆˆY‡upÀºuøätîŒ]»XY†eX†åì™KÐ$b‰‰<“'cÔ(‰«õ°“Èee¡_?´nÍSÂD$®ÖÃ%h9OO<;;´m‹ôtމ°(©Õj†ý[[¨ÕP©Ð­~ü‘•eX†eXQàmÏEI¡P0ì£BCѸ1Df&&O†…+˰ ˰BÆsÀ$-ý…þýQ·.V®DÍš"lëá4I‹›~ùÍ›ÃÇ'Or<ˆH°Ø€E);;›aKdmÿû?LŸŽnݰq#+˰ ˰lÀTaâããöBB ÑàóÏ¡T¢¨ˆ•eX†eX¡á9`’´ ðÞ{ðôÄ÷ßóSÂD$¨Öc)œ FÅwj4šîÝ»ÛÙÙ¹¹¹…‡‡_½z•Ŧ²iØûö¡fM´m‹S§8D$BiÀƒáñ111ãÆËÍÍMKK³¶¶ cÁ¨Ìlm±t)>ÿ]»JìÂÑDÄ\YvîÜÙ«W/‡:uêÌŸ?Ïž=,˜‘J¥bز6 ë×#, óæ±² ˰ +Â:oú”Åô-[¶,Z´h÷îÝåøYéÑëõ®®® [f§N¡o_të†ÿüÖÖ¬,Ã2,ÃV^Û÷ ØäèÑ£cÆŒ‰‹‹{æ@<¸?00Ðô=jµZ«Õ·u:R©4}I©Têt:ã¶V«-~55¡aÓ¦MHQÊ#¤¥¥UØcðòÂÇг'®_à8ܼySÚÕ,~WWWéýn–tWWWiW³ø\]]¥ZÍ’ºŒdgÀ{öì Û°aC‡*éeÉ‹Á€èh|û-6oFÛ¶"â ø Ö­[²iÓ¦§w_¹Ñh4 û<¿1˜0óç£gOlÙÂÊ2,Ã2l•ôÍbbbbcc“’’¼¼¼Xªâôz=Ã>¯À@¼ø">ø—.áÓOYY†eX†5÷ìY ˶¬¤ÕãËë·nÝrpp¨ðu’¯ €×_GL ¬¬8DTÖæ%ú%hÿ=q§Á`(©û•SÆ8pz=ÞzËø¶,""óൠIöªWG|<üüðê«8}šãADlÀT¢ˆˆ†­H˜>cÇâÍ7qð +˰ ˰fÀ›1³s'ÂÂðÕWèߟƒAD•ÚzØ€‰þ-+ #>}0w.žïSöDÄÌLT×®¡_?Ô©ƒ+`gÇñ ¢Êh=<,JÅ/œÆ°ÏÙ‰‰0€¼>ð÷GNǃˆÊ­< 8::zÔ¨Q ,˜2e €Y³fM›6CiN*•Ša«Œ•¾þƒ£S§ ¿{+˰ +£Ù3?,Fz½ÞÕÕ•a«X|<ÆÃæÍèØ‘•eX†•gX^ Zv ˜„bãFŒÁËtÉwkæsÀ÷îÝ›2eJÓ¦Míììš6m:mÚ´üü|–äèý÷±z5ú÷Ƕm "ªôµÿþÍ›7_¿~}óæÍ¿þúë„ 8”æ¤ÑhV(ºuCr2>ýK—²² ˰r û<¬Ëñ3ëׯ?|øð‹/¾ eË–+W®l׮ݢE‹8šf£×ëV@¼½±w/zô@^Æce–aùWº4ʳx]¯^=SpñâÅvíÚ]¾|¹Š“ð0U­³gÑ£† Á¤I "¹4Q3Ÿ 2dHFFƽ{÷222† 2pà@–ä®qcüò Ö¬RÉÁ ¢JiÀÑÑѯ¾új@@€““S@@@§NæÍ›÷ü/"ŒŠï4 &Lprrrvvž8q"'¸$tõëã·ßpø0 Âýû"ªà\½zõÙ³ggeeݽ{7++kæÌ™¶¶¶Ïù8 ÃãýU­VkµÚÔÔÔ#GŽìܹsÙ²e,˜QDDà ”ƒ~þ·ocÐ ²² ˰TâÌSPÓÊGÓ;wîVV" ´΀‰ÄÀÖÛ¶áömâþ}Ž‘°‹Rvv6ÃÊ.lµjøñGÜ»‡  iô`V–aÙ€…K§Ó899999èt:Ì(>>žaåÖÖëÖáÿý?DD ¨ˆ•eX†5AŸ7íܹs·nÝÆ ::zÏž=û÷ï/1 Ï“Lüý7àêŠ~€µ5ǃ¨*›¨T?\£FË—/׬YÀÍ›7ëׯçÎ6`¢‡=ø…ÏL$Ò,è%è·ß~ûË/¿¼qãF^^Þüùóß~ûm›ìí±u+rsñá‡|O‘H º/Z´hÅŠŽŽŽNNN«V­Š}æ+‘G÷š¾G­VkµZã¶N§S*•¦/)•JÓif­V[ü³äB;ÂÛo¿-¥ÍßãwP§Ž×¢YY†•Éžy þ•dIDAT¶··ÏÉÉá9`¢g÷àºu±jω¨ z úå—_ŽŽŽÎËËËËË›7o^Û¶mYl¢Ç_¨bÛ6ää`Ð |ØÃÃÃÃÃãèÑ£+V¬`ÁŒ4 Ã2ì¿zpBΞňÏ:+˰2'è«—^z)11‘Ezœ^¯gX†ý—Úµ±cÞ~ááP«Eq½hV–aeŽ7c ’»wñÞ{¨V 6ÀÖ–ãA$äÖÃkAIˆPXˆ  ‰Ý»HzØ€‰$׃·lAµjèÕ 7or<ˆØ€©"EDD0,Ö¨Z5¬^ oot튜V–aV˜x˜HºfÎD|ÃáÃHIA˖ؼ™•eX†e¦‡ôz=Ã2lårsÖ-øæLŠ®]±o+˰ [±„~ÞôرcQQQûöí«]»ö¬Y³†Zbž&ª EEX³3fÀÓ3g¢}{ Q…´AÏ€ÿøã€€€ÐÐÐ .üöÛoZ­–Å&27KK„„ #|€  TÆl˜ˆ3`a öõõ1bDe¿ !¢R¹«Vá‹/àä¥}ûÂ’§±ˆ3`)΀“““srrÜÜÜ\\\ÂÂÂòòòXl£ˆˆ†eØ*`m!CpêÆÃœ9ðòBLL¹ïlÈÊ2¬Ì ºëõú³gϦ¥¥effŒ3景DaÜhúµZmZÊÖétJ¥Òô%¥R©ÓéŒÛZ­V­V›¾$´#¼òÊ+HQÊ# 0@)Jy„ &ˆ …•qäˆÊݧO£E „†nûüsí®]ez qqqÒ®fñ#ÄÅÅIïw³¤#ÄÅÅIµš%u™rΞ…¼l[»ví3gμð ®\¹âíí››[ëDT~wî`ÍÄÅáêU „  xyqTH&$»ݺukS06W"ªQáá8t ¸{=zÀÇsæ #ƒcC$Öü/¾ÈQ!·ž%Fð ˰ÿÓ°!&M©SX¶ çΡuk¼õâãñ÷߬,à °(éõz†eX†}‚N°x1.^ćbéR¸¹!2§O³² +ÄÙ3— ‰H²²²°~=Ôj4j„?Æûïó“Ä$œÖÃLDRWT„íÛñÝw8xaa>žžªòÖÃ%h"’:KK¼ó~þÂÒ;¢wo$&¢¨ˆcCUùÄäˆQDDÃ2,ÖYãÆˆŽÆùóè×*š7Ç¢E¸y“•eت™=s šˆd*%±±HJ A5 M›rHÈœ­‡3`"’+??lØ€£Gak‹W_EŸ>س‡£BœsLDftçV¬ÀÂ…ptÄøñxÿ}Þ‘8¦'P«Õ ˰ [‘jÔÀ§ŸâÏ?±p!V­Â‹/bút\¿ÎÊ2låa%…BÁ° ˰•ÂÏ[·býz¤¦¢Y3LŸŽŠ¸¬+KO˜=s šˆèÉΞŢEX±ヒI“àåÅ!¡ l="˜ëõzwww VšˆÌªqcÄÆâÄ 8;£S'„…!=£BE xÚ´iÇg©ŠËÎÎfX†eX3iØ‹á̼ôzõBÿþHKceVú 833sÇŽcÆŒa©Š‹gX†eX³rqÁäÉ8w|€  øù!)‰•eØç!ôó¦½{÷ ~æ:;Ï‘™bÕ*Ì‹¦M1y2|}9$òm¢R=¼k×.½^Túx„q`` é{ÔjµV«5nët:¥Riú’R©ÔétÆm­V[üô<À#ðÿ;ÂÞ½êû÷‘™‰à`„‡gÖ©ƒ;8’r8BI]F‚3àÖ­[ûí·~~~¥y•Á0U ­“'ãömDE!8ÖÖ΀E?>qâD—.]L¯2øFh•JŰ ˰Bñæ›øí7Ì™ƒ¯¾B«VX±÷ï³²$îp™^eÈj¬×ë]]]–aVp1{6rr0e BBL³aV–3`6`"¢Ê·?æÎÅñã;¨^CÂ,â\©£@DTñöîÅÌ™¸p“'óÜ0ðãx-hQÒh4 ˰ +t¯¿Ž¤$|ÿ=V¯þÛÃã‰ç†YY9c%}E\ža–aÍÁ×MòÈ‘HJBÓ¦ˆÅÝ»¬,KÐDD擞Žyó Õbôh|öìì8$rn=œ™‹·7V®ÄÖ­Ø¿-Z`ñbäçsTd‹ ˜ˆÈ¼^y[¶`Ó&ìØ—^’â4±KGDDÃ2,Ê;lÛ¶HHÀž=ÈÈÀ‹/B©Äµk¬¬¬ð0QU;{ÿ÷X¿¡¡˜8õêqHäÐz8&"ªj#.))¸rÞÞ˜:W¯rT$ ˜ˆH¼½±f RSqãš6ED.^䨰“°¿yÃ2,ÃJ*l£FˆÅéÓ¨_>> ÅŸ²²lÀ$ …‚a–a¥¶NLŸŽ'P¿>|}1bþøƒ••¾ ‹ˆHØ®_ÇW_áë¯Ñ©”JtêÄ!‘Fëa&"ƒ‚¬]‹/¾€½="#++ŽŠ¨[— E);;›a–aå¶Z5„†"#3fàë¯Ñ¼9bc…y!-YUöy°‹R||<Ã2,ÃÊ1¬¥%pࢣñÃhÕ K–­ ˪²Ï5{æ4‘XiµˆŽÆ‰9ÇÃÙ™C"¢ÖÃ0‘h½ù&vî|xOχkÔ$lÀDD"çéùð£ÃMš kWøûcëVŽ 0U •JŰ ˰ û/Æÿù'zôÀ§Ÿ¢kWlÝŠ¢"VV°xX”ôz½««+Ã2,Ã2ì“`Ý:,Z„[·0z4ÂÂààÀÊ ­õ°I×Ñ£X¼ xï=DF‚רRëá4‘tµm‹¸8œ<‰&MгçÃÓÜ«ƒ °F£éÞ½»››[xxøUÞŸ«ØÈ0,Ã2,ÖV:˜0§N!0“&¡S'¬^]yŸ–Ue%Û€cbbÆ—›››––fmmÆ‚éõz†eX†eز±³ÃÇãÄ |ñàá±c‘™ÉÊVÑœ7½uëVýúõoß¾]bž&"*½7°n¾þ 4Ìëx”§‰ÊáprrrûöíYl"¢ŠQ»6† ÃñãX¹:^z Ðj90f#Ž|ôèÑ1cÆÄÅÅ=ó•È#ŒûMߣV«µÿ<Ãt:R©4}I©Têt:ã¶V«-~OiGàxÉá•Wѹ3ZµÂG¡cÇ_ Ú³y3Gòñ#”ÔeÊÉ x»wïvwwÿý÷ߟþm¢ÈRQ† ư ˰ [ñîß7üü³aÀCíÚ†À@öm†ÂBV¶’ZÐÏ›®[·nìØ±?ýôÓ+¯¼Ry ñDDô/wïbÛ6¨Õ8r#ÐPtïŽçœðI‘d/Ä»cÇ//¯J""z²óç±f ÔjØØ`à@„†¢IŽŠôðãËë·nÝr(á‚jlÀDD•åþ}$&bùrh4èÒ o_¸¸p`$û.èÇWÌÌx9S!+þ–†eX†eØJgm€l܈ 0p 6oF£FèÑj5rså\ÙçÁKQŠ’BNteX†eXqvÆàÁغz=FBJ š5ƒ·7¦OÇ™32¬ìsÍžy3""*¿¿ÿ†Fƒ‘˜ˆ6mп?ÞyÉ¥‰ònHlÀDDU,?Z-¶lAb"jÕB¯^èÕ ]º Z56à'â´(egg3,Ã2,à ‹­-z÷†Z’‚­[ѬââP¯üü0oŽáŸn6`)ˆgX†eX†nØ&M0l֯ǹs;gΠo_x{cüx$%áî]þ— ‰ˆÈLއFƒ;šŠæÍÑ©:wFçÎhÐ@ž­‡ ˜ˆˆÌN§CJ öíCJ .]Bûöðõ…Ÿ|}agÇÌLDD•/+ ûö=ü_v6^y:¡M(P(þ.¾ KvT*Ã2,Ã2¬DÂzz"4qq8yçÏcüxØØ`âV-4oŽ÷ßÇäÉX»ÇŽ¡ @2Ű(éõzWWW†eX†eX‰‡ÍÏÇ©SÈÌÄÉ“ÿ?;¡eK(hÚuë¢AÔ­‹:uªä^\‚–]&"’)SKNOÇùó¸|ý…œ\¿Žºuáæ†zõP¿>ê×G½zpsCݺxá…‡?ëà°±AI6¾wׯãúuäåýkã‘ÿ\¸o¼ÁÌLD${ÈÉÁ¥KÈÉÁ_=lÌ—/ãòe\»öð{nßFa!âöí‡;k׆å?gcïÞ…Á''89ÁÑñÿÿøÆK/¡F 6`96`FÓ³gO†eX†eX†}^7n ¨èávõêe}öó´k¾l#½^ϰ ˰ ˰ ví*›7rLDDdþÖÃ!U6`"""6`*ˆˆ†eX†eX†5ž&""ª‚ÖÃ0Q`ëk.†eX†eX†e&""" 5`ƒÁ0aÂ'''ggç‰'ò/I† ¯„¥V«µZmjj*€þýû{zz†‡‡³fDDÄpåZ±bÅìÙ³7nܸqãÙ³g/_¾œ#""iôGwj×®••e¼¯dnnn³fÍ®_¿^b9} ‰a–a–aÅVÐÃdeeuïÞ=………vvv÷ïßÊ(ðõ™™4ï†äààpãÆ ã 8//¯fÍš•1DDDæ'èsÀÞÞÞ‡2n>|ØÛÛ›#""iô 844tòäÉ^^^&Ož<|øpŒˆˆØ€+]DD„N§óññ1nôÑG,Io`@DDTx)J"""6`"""6`"""b&""b&"""y6༼¼°°0—^xaúôé¦ýÿ&êò<1EIwiûÝËVìU.é‘—i$V’•Õh4Ý»w·³³sss ¿zõª„+[RXIVvûöí¯¿þzõêÕÝÜÜœ““S¦ÊЏ3¦   ##ãäÉ“™™™ßÿ}ñ?X&¢nÀOŒ`ºKã‘#GvîܹlÙ²§ï—dX±W¹¤‡]ÖA^XIV6&&fܸq¹¹¹iiiÖÖÖaaa®lIa%YÙ/¿ü222òòå˧OŸnÒ¤IpppÙ*k-—œœãöåË—ýüüLd–GuêÔiûöíÆííÛ·ûúú>}¿$ÃJ£Ê%¥(å H2¬´+k0nÞ¼Y£F 9Tö‘°’¯ì­[·ìííËTYq7à+W®·srrMäêêjooß²eËØØØû÷ïK¬äµjÕÊÍÍ5n_¹rż¤ý’ +*—²'I²²OiÀ®¬Á`ؼys×®]åPÙGÂJ»²·oßž;wnïÞ½ËTY7àAƒ…„„ääääää[[[ÿê½{÷:äëë)±liiYPP`Ü.((°²²zú~I†•F•KÙ“$YÙ§ï—jeSSS7n|úôi9Tö‘°®¬q9¹N:þùg™*+â|õêÕàà`''§ºuëΙ3§^½zOvv¶H_Tr\úPâ­2gÀOŸ?I¬²»wïvwwÿý÷ßåPÙÇÃJûwöÆÓ¦MëÒ¥K™*+â7a9;;ÿðÃ×®]»|ù²££c·nÝžð3KK[[[‰½s½¤»4Jòî¥ %É*—u$IJ•]·n]HHȦM›:tè ùÊ>1¬´gkÕª5vìØÔÔÔ²UV¼ó .\¿~}Íš5 6œ˜˜ÈÑ&zNƒ£@$ îîîãÇïÛ·oÆ ÿ÷Kna‘žžÞ¢E ééé}úô9sæ …B±yóææÍ›ÈÉÉyõÕWÏ;÷”ýM›6ýé§ŸŒÇ9yòd«V­ø×ƒˆ ˜ˆ 55uÖ¬Y¿þú«³³slll¯^½Œ øîݻիWpïÞ=''§»wï°··7nYZZ>xðà)ûíìì®_¿n:Žÿz=.AI‡OBBBnnîÂ… ‡jÚ¯ÓéL 40M—Ïž=kø‡±Ë>eƒ LÇÉÊÊâh±ÑCAAA………Æ™«iÿ˜1c.]ºtéÒ¥1cÆ„„„w>üã?ÎÌÌ,((8qâÄÀŸ¾?88ØtœÈÈHŽ6Ñs²æIFŸ>}úõë—­P(âããMû»wïîããSXX8pàÀI“&wŽ5ÊÒÒ²_¿~gÏžmÖ¬Ù¬Y³ž¾_¥REFF¶jÕÊÆÆfܸqZ­–Nô‡™Ãy¿>çû=gf\l6›€¦åJ@€ (ÀP€ 0 @`(ÀP€›–Ë絛ܱcÇÝwßíééÙ®]»èè蜜e½Íf[¼xq@@@``à’%Kx;k¸žl6ÛÅuôÅ_œ7oÞÉ“'ÓÓÓ;wîÊrïÞ½SRRèH€º¸©`îâ""­ZµúüóÏí£a???eÙßß¿¸¸ø²O 1Ô{"ÙMÙŠŠŠV¯^=mÚ´Ï>ûLD|||NŸ>,"………-[¶l¤ÖqÂs²…,t YœmˆX?ꘂöõõ]°`ARR’òeDDÄÁƒ•åC‡EDDp P§.À?üpZZÚÙ³gûí·ØØØ{î¹Ç¾>...++++++...::šŽP€ë9ŠWòÕ_ ªß¿é6­ÓCFhÛ¶m?~¼Íf{î¹çBBBÖ¯_o³ÙÆ÷ÑG)lSRR”G&''wéÒÅþG8;;[YV>Röĉö/½¼¼êþ î€MUb¸ pEJJJ"""Ìfs=V®\¹bÅŠÏ?ÿüºë®KMMõöövqq)++óôô‘òòò€€€²²²‹ÿ×ý¥®J SЀ+âããÓ¹sçÍ›7{yy >üܹsÛ¶mëÒ¥‹···ò€ÌÌLûBhh(-FÖŽØØX²…,t 2dÁ‚=ôˆLš4iΜ9ö À"2þüãÇ?~|þüù“&MâöeFÏLA«ˆÅbQ>™,d! ]ãßÿ}Ÿ>}²³³CBBN:zèСž={*lŸþù—^zéìÙ³QQQ/¿ü²‡‡‡0MæT øcëT©™‚À(Àjb2™ÈB²Ð5 £©Y,²…,tsâbßÕâ0(1Œ€p 0`ÔÉ`0…,d¡kÈ¢ \À%†0@€Œ:F²…,t Y(Àhjááád! Yè²h7aà€Ã «‰Ùl& YÈB×…Œ¦–@²…®!‹6p ”FÀ8 p(/—Tºï±±±šé²…8dÑ9ý]>qBn¹E²³Õ˜Åb±k£_ÈBâEƒ%†\WëH—.’ŸÏÉÀXSÐRQÁAp,g)À.¿«¾Òd2 4ÈËË«]»v3fÌÈËË«ñà‹Ÿryîîbµª´·L&“fŽ<²…8d¡;›Ívñ(~õêÕ‹-ÊÍÍýþûïÝÜܦL™Rãñ—|Öe¸¹‰Í&••jì-‹Å¢™#,d!Ytι®×1™^\\ܶmÛ’’¹Ê9÷K<¸E ÉË//ºÐHeK5#àËÚ·o_Ÿ>}ì_†„„x{{wïÞ}Íš5•W;œõô”òrŽ€©£÷ÝwóçÏ_·nò¥ÍfËÍÍÍÏÏß°aÃæÍ›-ZtÙ3”ê² ¤¬LDÆgŒÑhLLLT–333cbbìߊ‰‰ÉÌÌT–«”4[` l-°ýlÁå"×TÛlÎä’ûóÉ'ŸtìØñ믿¾äSÌf³¿¿ÿÕm³KÛ‘#6š9s¦M+ÈBâE®¥Œ:û5à÷Þ{oÁ‚}ôÑ-·Ürɧ;v¬wïÞ'Ož¼Š úîÝåßÿ–nݘ4lÙÒÈôêÕ«Ÿx≽{÷Ö¨¾&LHNN¶Z­iiiS§N­>·pE¼¼”)hÅÍyN"ª/(' .‘ððpûÊ‹‹}||F=iÒ¤ôôôöíÛGEEÅÅÅQ€êâ\¯®ñÒÞ‹gÌ}||DdìØ±?üðCyyù‘#Gâãã===¯î‡y{Ki©{«újG²‡,`ýQm®> vd! qÈ¢súû0‰Ž–{î‘èhºÐÀ%†°&GÀÍÐeöñQi6›Íšé²…8d¡ër\R¢ÆOHHÐL'…,Ä!‹Îéòð+¯È¯¿Ê+¯Ðý€.1Œ€ëÒ²¥sÜH—Ø×WŠŠè{˜|Ebcc5Ó d! qÈ¢sº¼üŲh‘|ñ…ê²X,–àà`mô YÈB²h³ÄP€ëjÔT3FRS9ÿ8ªër Úß_ 9n¤×|ú´wÜd2i¦ÈBâ…¬?-ZHe¥TT¨nÇ-‹f:,d!YtN—×€E¤uk9|XZµâ4p‰a\??•ÎB´A¯8 @ è~˜|yƒA3=@²‡,:§×kÀ&ȨQÅhàø.¼àP:.À\P€›Z` äå©n¯F£fz€,d!Y(Àº¤Æ®™ YˆCÓëMX}$ë×Ëöí€.1Œ€µ7hXMÌf³fz€,d!Y(Àº¬Æœ ™ YˆCÓë5`›M<=¥¸XÜÝ9 Yb×Ýf$¹¹=‡pÕoôÖ­åÔ)ޏiµj%99êÚ娨XÍ4?YÈB²èœ^¯‹ÈäÉ2x°<ü°Š²X,–àà`mô YÈB²h¹Ä0®Kh¨dg«k—µô—‘,d!YtNǸm[9q‚#@nZíÚ©nl2™4Óüd! qÈB¦«†ÅbÑLó“…,Ä!‹Î9ËMX...ÊBõý1™L/¼ðÂ_|0lذçŸ>((HyLLLŒÑhtqq1 +V¬°?ý’[¾tÆÌL4H²²8õ.^ª¿ Ëf³]œaõêÕ‹-ÊÍÍýþûïÝÜܦL™¢¬7‰‰‰IIIß~ûíîÝ»ßzë­úüÈÐP9qB´~8€ð5J·mÛ¶¤¤DDúöí»téÒ¡C‡ŠÈÎ;—/_~àÀúœž„„HJŠ´jÅqÐéø²öíÛ×§Oe9%%žܻwï”””znTm¯D2 š9jÉBâEïlΤ¶ýIJJ KOOW¾tuuµZ­Ê²ÕjmÖ¬YÝÛ¬-uR›6¶ÿþWY^·nÝž={”匌ŒÅ‹Û·°xñ⌌ eyÏž=ëÖ­³kìØ±öe¶ÀØ[` ÚÞBÖQLAúé§S¦LÙ²eË­·Þª¬ñóóËÈÈP^Ê››Ûµkׂ‚‚úÌÌœ)·Ü"œ‹˜‚®á½÷Þ›4iÒ|`¯¾"qðàAeùСCõÜzÇŽrô( é9u^½zõO<±wïÞ[n¹¥úú‡~8...++++++...::ºž?àºëÄlVQoFÍyd! qÈ¢snÎ3Н¾ Œè.\("áááö‡ûøø †ÌÌÌÈÈH1 Ó§O×ɸzS¨YÈB²èœŽ? ID23eà@ùõWŽ@— p]­sîœøøHq±4oÎahÊìªë–ss“6mäØ1µì¯YUW¬ÉBâE‡Y½¹ê½:uRÑtBB‚fž,d!Yô>zÖõ´ˆDGËÝwËÔ© €.1Œ€/3æ‘MN÷øÆ%=ã@nZ7Ü ¿ü¢–ÕLÓ…,Ä!‹ÎéþðéÓÒ¡ƒœ>-¿¿ˆ3³X,Ê;`kYÈB²h¿ÄP€/“±Mùî;iÛ–Ó1@“`WšOn¾YRSi@S¢‹Ü|³¤¥©bOM&“fZ,d!Y(Àº®–l±X4Óêd! qÈ¢s\IL”+dß>Ž@— p]ÈÉ‘›o–¼<Ž$@“`¦ EZ·77ÉΦ%M†,""’œìü»i04Óäd! qÈ¢÷Ñ3SÐ""óæIh¨üõ¯€.1Œ€ëÒ»·šÍfÍ´7YÈB²P€!""-[JD„|ó3ïcBB‚fÚ›,d!YtŽkÀÕ,^,¾¾Ëahàø.ÊÞ½4€pÓžž”—K›6rì˜øøpd7OOéÕK>ÿÜiw0VCÓãd! qȘp5Ï?/¿þ*o¾éœY,Kpp°6ú…,d!Yt>¦ÿѯ¿JŸ>rℸ¹qvh¼Ìôuê$:Èþý´ QQ€/2q¢üûßιk&“I3ÍL²‡,`üÑøñòÁbµ:á®Y,Í43YÈB²è×€/åÎ;eÉ>œãÐÀ%ÆÙFÀ.¿»’õ.Ôð{3mšüóŸX½Œ€k;•¨±þªÎ8êszrú´„…ÉÏ?‹†^`ìôüüdÜ8'|5°Á`ÐL“…,Ä! #`UŽ€ƒƒƒÏœ9Ó¹sçGyä±ÇkÖ¬YŸž¤§Ë€’™)žž%FÀ""6›-777??Æ ›7o^´hÑeè’—ÇgŒÑhLLLT–333c6lÛoWÁ111™™™Ê·F£ýYum!&Æþ-¶ÀØ[` ØBmÕDG#àêŽ=Ú³gÏ‚‚‚†?=IM•äÈiÙ’³<#à?puõððh”Mß|³ôï/ëÖ9OØê§cjG²‡,:§ÊWŸyæ™Ï?ÿüµ×^»é¦›233g̘ñç?ÿyöìÙNšÐ¥Ñn4ËË“¾}eÁ18’@E´ >Œ¡ºÊÊÊW^yåÿø‡ÙlîØ±ãìÙ³çÎ{ÙOkÐ`‘ÌL¹ë.yýuyàD 7nÖOë\‘モ!Cd˹ë.ŽE _!WšïZõê%ï½'ãÇË¡Cý£ šë& YˆC½ïz”îÒÒÒeË–½ÿþû¿ýö[eeeTTÔ¤I“FŒ¡Ó°bçN™>]vírÈtt1Öûë€/ièPyõU:TŽáˆ4Ê8000### @©üþþþeÎú1AM4V¼ù¦¬Z%û÷Kûö[À¸GÀ¼¸V³fÉôérß}Ò8¯r3ši*²…8dѹúàiÓ¦=òÈ#Ê»_eeeÍ;wΜ94e•¸8yà:Tª£4”ððpÍ´YÈB²è}ôÌë€ÅãËw߉É$-Zp€f‹(¯vºl³‰Á ©©²k—x{sŒ%¦^ÜX}"o¼!2y²œ;×P[5›Íši!²…8dѹúàŠŠŠ§žzêúë¯÷òòºþúëŸyæ«ÕJSÖäæ&ï¿/çÎÉøñRYÙ ›LHHÐLó…,Ä!‹ÞGjõ;Ïž=;##ãå—_îܹsFFƼyón¼ñÆ×_]{ó àÌ6Lzô5k8Ú@kE´‰¯>|844Tùòøñã=zôÈËË£_Zq± $ÊsÏq°XáVç4oÞ¼æVÜÜè†Zµl);vÈÝw‹··ð–a©ß5à… N›6-55µ¼¼<555::záÂ…4e]‚ƒe÷nùç?¯q":66V3MB²‡,z=×cì\÷K~íuMŽŸ‚¶ûí7¹óN‰‹“G©ß,Kpp°6Ž<²…8dÑBåuÀê(À"òÝw2x°lÚ$Çsöz.1¼¸iõê%~(S¦ÈçŸÓ gõ)ÀëׯŸ1c†ˆìر£mÛ¶¡¡¡Ÿ|ò My¥ú÷—Í›eôhIJºÚ§šL&Í4YÈB²è\}î^^¾|ùgŸ}&"óæÍûÇ?þQYY¹pᤫ/'ú5p ¼öšŒ%û÷K§NWþ™^cVý’ë àAƒ"#####<}út­uKT”Ìž-£FIQQõÕf •d²…8d¡;ÛÕ½ÞÅÅeÕªUÏ=÷Ü5^wR112`€Œ!öu šÉG²‡,:ç¢î·‘º²±µZ3ž?/cÇŠ»»üë_¢É“ Ðq‰q¥ùœ—««lÚ$?ÿ,Ë—Ó 1n4Sóñ‘?–~ý¤];™6öí ²hgצ$&ʲe²ukll¬fb‘…,Ä!‹Îq X%”?ý©pÓ&ÿ!C´Ñ/‹Ey+²…8dÑg‰¡«ÇÎ2mš|ö™ÜpgŽ öôz */¿,ƒɱc4¨XMLþþ2s¦Œ%%%ªÏb2i§_ÈB²èø0£ë‚Åb‘ØX‰ˆ‡’ÊJÕgÑR¿…8dÑëaVo\V¡ÊJ3F¼½åÿþ7è•–FÀ*Ô¬™üë_’•%Ë–Ñ R`uòò’­[åwdÃ(Àh\ƒáÂmÛÊÎòä“¢ÎÛþEKýBâEg‡Y½q Xå–ûï—­[¥o_ŽfPQ‰a¬rÝ»Ë;ïÈØ±’žNc€ŠP€ÕoÀY±BF’ìl(ÀhxF£ñÒߘ2E¢¢dÈ)(P}-õ YˆCf`]¯õ{O?-C†Èý÷«åM²êÊ¢¥~! qÈ¢õì޸ KCl61$#CvìnpæCÖ–³geôh ’ x“,pæÃ´š˜ÍæË<¢ysyÿ}ÉΖٳUŸEKýBâE»‡Y½Q€Õ$!!áòrw—­[å›odéRÕgÑR¿…8dÑèaVÿÑ3SÐÚtü¸ôë'11òè£åà„%ÆæÓ¦ÐP1™dÀñ÷—¨(Úœ X»nºIöì‘Aƒ¤Y3;–ö§Â5`5‰½º'të&»vÉܹ²k—ê³h©_ÈB²€kÀêb±X‚ƒƒ¯úiûöÉĉ²c‡DFª>‹–ú…,Ä!‹¾K X>þXfΔݻ%"‚³Np†Ã´> .ÿü§Ü¿¤¤Ðà (Àjb2™êÿäûï—×^“û~R}-õ YˆC½â.h5±X,×ôü”¼<>\ví’ë¯Ww-õ YˆC]â°þ/ûö9¼€žK #`ý™9Süüä' ˆ¬KãÇ‹««Ü¿ìÚE ‡à&,51 ¶­±ceÕ*>\~þYõY´Ô/d!YtƒkÀúöñÇòÈ#²m›ôéCc@S–WçÉ ¨¾Òf³-^¼8 00pÉ’%ö.ÄPÇË[oÉÈ‘òõ×44%g)À6›íⓣј˜˜˜””ôí·ßîÞ½û­·ÞªñøK> WgèPyã 5J¢1@wø’6mÚ¿qãF÷–Ñhl”í>ø 2|¸üïªÏ¢¥~! qÈBv””””>¿_›ìÝ»wJµ·Q ñööîÞ½ûš5k*++uÒ[áááµé‘#eûv™0AÞ}WõY´Ô/d!Y(ÀQRRâçç§,ûûû+Ë6›-777??Æ ›7o^´hQÝÛq¹ˆ²~ܸqÕÏÈ•åÌÌ̘˜û·bbb233•åÄÄÄêçnM¼…þýû7â>Üz«$&–<öØÏ>ÚíPQQáÀ–lØ-(ý¢öÊrÿþý5¾¥kÔžB‘––¦Ê”~QcŠÚªIý8×Â5n'óóóËÈÈP>µ*77·k×®5žrôèÑž={^¼¾¶mâ2~ùE† ‘™3eñb®ªligqðàAeùСC—zËWWWô´ÙlnôŸqà rà€¼÷žÌ+9·ßY´Ô/d¡kÈ¢9N]€~øá¸¸¸¬¬¬¬¬¬¸¸¸èèheý„ ’““­VkZZÚÔ©S«Ï-h[BBBSü˜¶måÀ1›eèP)*Rw-õ Yè²hlôì$Ó³¿X~ðúõëEÄ`0¬\¹RyØ–-[âããÓÓÓÛ·oçééÙóºVY)ù‹8 ;vHh(í [bx',ÔÎf“§ž’Í›eûv¹áÚ(Àà&ôþûòØc²v­<ð Ubø05‰uÀOýóŸe×.™7Ož~ZîTÆ1Y´Ô/d¡kÈ¢öâÍXE,‹ò¢,0›eäHéÓGÞxCÜÝÕEKýBº†,ª-1`\±âb™2ENœ-[¤}{Ú˜‚F“hÙR>ø@¦N•ÈHùðCÚ®XML&“ãwbæL1™ä¯•˜˜ky§§È¢¥~! ]C 0ÅbqŠýˆŒ”/¿”o¿•¡CåÄ ugÑR¿…®!‹ªp Ž {÷"IDATõuö¬ÄÅɦM²q£ B{Ðcå&, °Ã|ýµLœ(÷Þ+kÖˆnÞ”®½Ä0ksÛmòÕWrü¸  ‡Ó@Ö ƒÁàŒ»"Û·ËCÉ€ò·¿ÉÙ³*΢¥~Ñ}º†,Î>zf  æäI™=[–·Þ’»î¢=h¿ˆ2 §Ð¦¼ÿ¾<ñ„Œ-K—JEM`4ÑÙ <òˆ|÷üðƒôè!{÷Ò$@V=£Ñ¨ŽíÐA>úHÖ®•9sdÄ1›UœEKý¢³,t Y(Àh0ááájÚÝäÐ!¹ùféÝ[^½ÆÛf©,‹–úE7Yè²89nÂBãKI‘¿üErrdÕ*6Œö@‰¡£ íÝ+ Ї‡¼ø¢ôïO{Ðy‰a ZMÌ—º˜ªƒÉÁƒ2q¢Œ-“'ÿüsú…,Ä!‹žQ€Õ$!!AÝš7—Ç—ôtiÓ&hð`™>]Ž¡_ÈB²ètôÌ4#/OÖ¬‘7ß”ûï—ØX¹é&šоÒR±Z«–‹‹åܹªåÂBQþPŸ?/§O_â‰eeR^^×ɽˆHË–âæ&Íš‰¯¯ˆˆ··¸»‹‹‹øû;a‰¡Ã¡Š‹eíZyå¹óN™7O&šŽRÕŠŠäìÙª²§B¥4ž9#bµJi©TVJQ‘ˆHAˆHQQÕëìEÔ^Y•gU/™ååRVVõ[´¸ð©-J±Tøû‹‹‹ˆˆ««øù]bW==ÅË«Ö ÊNÚ÷çÜ9).¾°W6›Ö§}® vP€)À*W^.ÿ»üýï,?.cÇŠ»;­\æ·æÌ),”’9sFJJ¤°PΜ‘ÒR)*’¢"9s¦jýÙ³RP gÏJIIUA*,”³g¥¸¸ªªµl)Í›WýüÄÕU||¤ysñòOOqwoï cÊ€€?ÔNå‘ö±fõ«<]D<<¤E J XÝbcc—/_®Ù,••òÑG²f¤§Ë¬Y2s¦´nM¿Eûq¬V9}ZŠŠ¤°P ¥¨¨êKûÿ……rúôo))|}åÌ™ªúêæ&-ZH@€x{‹··øøˆŸŸx{K‹âç'-[J‹Uë›7—€€ªIZ¥:úùIóæU•~¡S€¯„Åb Ö~–~×_—÷ß—þýeêT6ÌÉÄzéâ\UM-(‚ÉϯZ¨±\ýËóçÅ×W|}% @üüÄ×·æÿâë[xþ¼ÿu׉··øúþaò–~¡S€ÑÀJKeëVÙ¸QRSeâD™:Uzô UàH§OWN埽ˆÚÿ·/X­ Xµpñ—öå:.m‚L†#efʦMòöÛâë+cÇʘ1Ü2væŒX,b±È©Sb±H^Þ¾Tþå剷÷…©üTsM` VÝ‘ 0X3M&Ó!CtšÅf“¯¿–­[eëViÙRÆŒ‘±cåæ›é²ÔaÏG ŽŒ¬*¨¹¹’—Wµ¬,äæV×óç%8X‚ƒ¥U«ª…à` ’V­$$¤j98ر³¾fÚ+1nõ°X,úÍââ"·ß.·ß./¼ ‡É–-ò§?‰»» "÷Ý'wß-ÞÞô‹¾²””HNNÕ 57Wrr$7·ª¦æä(…v Õ*­[KP](¥]ºÈm·U­T*®ã3]žCÅ’“eçN1™ä›oäÖ[å¾ûä¾û¤gOqå-ÞTÎf“S§$7WNž”“'åÔ)9q¢jÍ©SU ÍšIHˆ´n]UY[µ’Ö­%8XBBªþ1 g.1`hBq±ìÝ+&“ìÚ%Uceå_£½ꯢ¢j´ª [-9q¢j9;»ªÄVÕÔ¶m%$DÚ´‘6mªê«² Ý—–‚Lë@²³å«¯ä‹/䫯ä»ï¤S'¹ývéÓGzõ’=¸ã´Ñ•—_˜V®°*ÙêËU¥Ô>~Uêk«VU !!UoïP€)ÀÎÀ`0¬[·Ž,WáìYIJ’o¾‘ï¿—~Ÿ~’N¤W/‰Œ”^½$<¼AÞëCGý’Ÿá–`¥šV¿OX™>{ö MÊTpp°´n}áþ¦Ö­›lZ‚_²P€)ÀpçÎIzºüø£üðƒüðƒüü³X,Ò±£tî,aaþïÐÁoäö÷`*(¸ð¿}Àj/·ÊëpZµªº%Xùß>„UF´­ZIË–h`L¦ã †ÈYY’‘!GŽÈ/¿HF†deÉÑ£ââ":Hh¨„†J‡Ò®´o/AAU¯ò ’fÍœ7TAœ>m Ã?,(ËJ‰µ/´h!þþâï/”új/®JÅeZÐ^vQ>C¤úþØl¶˜˜£Ñèââb0V¬X¡<¬¶õ`4˜Ó§åØ1ùí7ÉΖß~“ãÇ%;»ê­Žòò$?_Z¶¬zK` øúV½Ý¼ò~ô~~âæ&~~Uïb/raÁÍíÒDûg¹(”Ï“Q>L¦¶ÿ•O})(¨úàe½òÎûþþâç'~~ª/Û«¬½âºñrDÀØY~ñ”5ê¨ÑhLLLLJJ‘1cÆtéÒeÆŒu¬×<£Ñ8sæL²4¥VEDÔúe’6?_òó?üðÞ;ï¼Pÿ åÜ99rD**äÌ™?ÔWåi.f¯Ð åcdjü mÛ^øRy“}iÞ\Z¶üÃJŽ1~eÈ¢N}æ»iÓ¦øøø°°0‰_¾|¹Rhk[¯yááádqÊRDD<¼½¥ú…8dÑçaVÿѳSMÏÖËûùùedd(š‘››Ûµkׂ‚‚:Ö7øüW^¶®ŠS¿aPII‰ŸŸßïã ÿâââº××Ñ@5(ëÇgŒ2­­,gffÆÄÄØ¿“™™©,'&&Fû·Ø[` l-èg µUFÀÚ›Íæë®»Ž,d! ]CFÀ+""âàÁƒÊò¡C‡"~¿#¦¶õš—@²…®!‹FŠ·3€×®]»~ýú­[·ŠÈ˜1cfÍš¥ÜlUÛzÍ€š»9O†ê JƒÁ™™©,OŸ>]yLmë`¬…Ó©Äð±©jK²…®! #`FÀMÍb±(÷~“…,d¡kÈ¢öCÀ%†)h€¬&&“‰,d! ]C 0ššÅb! YÈB×E¸ €J #`€ u2 d! Yè²h×€p@‰a €P€ £NF£‘,d! ]C 0šZxx8YÈBº†,ÚÀMX8 Ä0À(Àjb6›ÉB²Ð5d¡£©%$$…,d¡kÈ¢ \À%†0@€Œ:ÅÆÆ’…,d¡kÈ¢ \V‹ÅL²…®!‹J ”¦ p °š˜L&²…,t Y(Àhj‹…,d! ]Cmà0(1Œ€p 0`ÔÉ`0…,d¡kÈ¢ \À%†0@VÙ©YÈBº†,` Å\XX8eÊ”   §Ÿ~ºúÙSuô"€ÜæÏŸoµZSSS“““ÓÒÒ6lØ`ÿ–­z :N}‡ppppjjj«V­D$''g̘1û÷ï—«¼ëLKwA“…,d¡kÈ¢™,®ÎŸÍ¾œœl_âííݽ{÷5kÖTVVr&P››***..ŽŽ¨ T€ðV”P€  0`@®Íf[¼xq@@@``à’%KÔxËwmŸ½¨¢h—üàÈÚößÉs]2‹ûÈd2 4ÈËË«]»v3fÌÈËËSo¿Ô–Eý²cÇŽ»ï¾ÛÓÓ³]»vÑÑÑ999êí—Ú²¨÷ošÅb騱ã•ìó•f±iÚÚµk###333333###ׯ_¯ºµõ‘ê¢ÕRÛþ«"—\ô˜ªë£Áƒïر£¸¸8''Ç`0 >\½ýR[5öË€>øàƒ‚‚‚¢¢¢gžyfàÀêí—Ú²¨÷oÚìÙ³W¬XQ}ÿ¯±_4^€ï¸ãŽ;v(Ë;vìèׯŸf °ê¢ÕRÛþ«"×`µôQQQ‘···ú¥Fµ÷Kqqq‹-´Ñ/Õ³¨´_RSS»téRVVV}ÿ¯±_4^€}}}sss•åS§Nùûû«±·hÑ¢[·n¯¾úê¹sçT­Æo]mû¯Š\`U÷ÑþóŸ{î¹GýR#‹ªû¥¤¤dåÊ•öѼªû¥F•ö˰aÃÞyç¿þר//À®®®V«UY¶Z­Íš5Si‹?{QuÑj­Úö_¹.y ¯Ò>JJJ KOO×@¿ÔÈ¢Þ~Q®¶jÕê—_~Q{¿\œEý²{÷î[o½õüùó5~ý¯±_«‰ÙlV݈D#`õöÑ'Ÿ|Ò±cǯ¿þZýrqUÿîœ>}ú©§žêß¿¿~_jdQc¿tïÞ}ÿþýÿú_c¿hü.興ˆƒ*ˇŠˆˆP÷=ëÕ>{QíÑjÛµçRQ½÷Þ{“&Múàƒn½õVµ÷Ë%³¨úwÇ××wÁ‚IIIø}©‘EýrøðáþýûÛoÛ¶ß}­ý¢íð›o¾©ö» £¢¢>\QQ‘ššzï½÷Î;W¥Ñjlµí¿*rÕÈ¢Æ>z饗:v옖–v…¿2jÌ¢Æ~™ûìùóç•ï>ûì³?þ¸ŸŸŸˆìÙ³'))éÇLOO_¹råśڵk×§Ÿ~j±X†úè£*+ãããÍfóáÇ“’’öîÝ{Ù¨áã?Þ³gO~~þĉ‡ öᇚL&‹Å2bÄûxå•W>ýôÓ}ûöeddœ={vÙ²et+øÅ 5~[ûôéóÎ;ïØl¶Ÿþ¹}ûö¥¥¥ÊcRRR”$''wéÒ¥ÆsEäĉÊrii©———²Ü¹sç´´4e9%%å’j¬¬¾Íììlû6kû7ÝtÓO?ý¤,Ÿùän<..®C‡ݺuëÕ«W¿~ýš7o~%;pUæÎ;räÈÑ£GûúúNš4i„ ô)tŽkÀ€Z9r„ Õ+Yë¯õóã?>ðÀµMD` è×ùóçF㯿þ:~üø†ÚæüùóOž477/((Ð].((¨T©RÉ×IDD$µ1j!ýÛvèС#Flß¾½iÓ¦º-Õ«W¿}û¶L&ýꫯ>·áîÑŽÆ33c³jffÕÒ‰]ꯕú!è­[·2äÇlß¾}ñFww÷“'Oê.ÇÆÆº»»ó!‰EÒ+àÅ‹/[¶lÿþý®®®o>|xhh¨nchhh@@ïH""lõ,‘%ÿ«x]ª/íïÞ½[½zuÝ߯]»€\.Ÿ7o^ x‰™Y5c³jf–`l3£š~˜™U36«ff ÆæKQ°D­Y³†™›U3³éÄ6Á¿å–(777fflVÍÌ&ÛÔð0‘F WÀDDDÀ,Qjµš™›U3³¤b7nܸøµ÷¿ûî;Ý…„„„ÆëÖ‚ ,¨]»¶Ý„  Š×ˆ«V­jÔ¨Q•*Uš7oóí·ß6mÚÔÒÒ²C‡þù'0IKxx8336«ffIÅöõõýí·ß¤¤¤Lœ8ñîÝ»>ܳgOÝ'ìÛ·/..îìÙ³.\˜7o^ñþúë¯ûöíËÌÌõKˆˆˆ¤O*X7DŸ˜¬ÏÝNDD$(ž–(¥RÉ̌ͪ™™UsK޽½½•••‡‡ÇòåË ïŽqsscfÆfÕÌ̪9€¥E«ÕfdddffnذaÛ¶mS§N-ùóÍþE·}À€?øŠŽŽÖ]NNN.þ§àààäädÝåèèèǦUÜ5899<ÃË^CçÎ%Øäs¯A[âûÃ×ð믿Jà^Í½ÚøöêgM“Ò‘Ö3„Ÿõt²žfvõêÕ–-[fee½ìuUÐØ2Úð?n€¹y•*UŒïNU«ÕÌÌØ¬š™YµrûùùÅÇÇœ?~Ô¨Q[0áááÌÌØ¬š™Yµ1¯ž%rxöYÚûÔíÛ·oŸ;wî… êÖ­;hРÐÐЪU«VÄñ""¢’‡W©G _ ‹ˆˆÈ#†LDDdÀ¥P(˜™±Y53³jc^=ó´4i4™LÆÌŒÍª™™Uëˆá&""2Àˆá!h"""à–(•JÅ̌ͪ™™Us“¾i4fflVÍ̬ڈñ0‘F WÀDDDÀLDDÄLÈårfflVÍ̬ڈñ0‘F WÀDDDÀLDDÄL(•JfflVÍ̬š˜ôÍÍÍ™›U33«6b|‘F WÀDDDÀ,Qjµš™›U33«æ&} gfÆfÕÌ̪Ï`ÄpLDDdÀDDDÀôˆB¡`fÆfÕÌ̪ÏK”F£‘ÉdÌÌØ¬š™Yµ±Ž`"""Œ‚&""2 V M*•ªgÏžÍÏGFÒÓqóæ¹ï%"tÄpÓ?eeáàADG#:÷îÁÓžžhÝžžžvEEHKCr2ΟGBÜ\¸»£E ´l‰-àá5x0°8ÎÖ-ˆŽÆùóèÔ ¾¾ðõ…««Ôcߺ…3gpöìßÿ%$ÀÑžžh×íÚ¡MÎc"’ìˆá³ %J.—ëãÛ\¿ŽE‹Ð²%||pçæÎEz:""0iR)¦¯ž2?ÎÎ]»"0ë×#6wïbϼû.®^EHàæ†#°n.]’PlQvÆfÕÌ\¡Ã›+`STP€;ñí·øã¼÷F·n°0ºgä=x€sçpì~ÿ11xðo¾‰ÎáífÍ`fƈ 8b8€MLZÖ¬R |ø!Þ{––¦rÛSSƒ£Gqð 22àí.]àí îDÄÌ\aŽÅÊ•P©0p >ú&ÝFz:ÂÁƒ8x÷îÁÇ>>èÖ uêpO!"ýŒž–(¥RYn׋=àç‡vípå V¯® é[ž™+Z­Z0«VáÏ?7O˜//ìÚ…fÍàáÉ“±?>4•݃±Y53°D¹¹¹•õ\¼ˆÑ»7Þy—.aÊX[K=³Þ½æå…±c±c22°z5¬¬0u*jÕ°aع99F»{06«ffîžyÚ8]¿Ž9sðã ĤIú}Gá]½Š_Åž=8~:¡O¼÷ìíY •׈á6:EEX½3gÂßAAºä5 99P©ðÓOP©àîŽ>}Ч6d1Dž6Jjµº4_–€Î±e Ƽyzž¾¥Ì,ñª­¬Ð·/ÂÑ–†ÐP\º„NðúëXºii‚í‚îÕÌ̪°D…‡‡¿ÜäçcæLøø`Ô(>ŒfÍÈ,VÕ¯¼‚îÝñõ׸v óç#>ðñÁúõÈÎfÕÆ›U3s®žyÚœ<‰aÃЮ-B­Z|ø¢'ùùP©°y3¢¢àãƒaÃг'*Wf1D&4DyØt°V‹¥K1oV­Bß¾üa0ŒìllÙ‚o¿ERĈh׎­q—Ì\:·AçE¶kµÚ   [[ÛÓ} gM›p짯!Y[ãÃqü8~û VVèß^^X¿÷î±"’úÖjµO£OÝ®T*£££ãââN:µnÝ:ã»c Ås>C¥BóæhÓÇÃÙYŒÌ‚VýâÜÜðÅøë/,_Ž'Р @t4Êû1"«ffVm «gI-Ÿµ–b{ÇŽ§OŸÞ«W/‘‘‘aaa111q|À ‹[L&{æ?¯XY³°z5ú÷&³ U—Å­[øî;(•°°@@† +¯·GdÕÌ̪%>¶Œv׬Y3))IwWedd4mÚ4++ËÈp Ç ‚ŸÆÏ?£Q#wÙÁƒXµ û÷cÀ eK¶Bd$«XSû;à{÷îÕ¬YSwÙÚÚúîÝ»Ï-è ºí (þÝamÝåäääàààâ NNNÖ]ŽŽŽ~üKõ} :4+"â»±c‹§¯x·ÂÔ®ÁÌ,¹Aƒ`ggÄÇÃÑï¼£®[7}Å ÝËM³I^¯A kxÖ4)õ£s yVž'¶×¨Q###Cw9==ÝÚÚº×)q‘‘‘OnÊÎÖvíª0@›—'LfA«®PhwìÐv쨭__»x±öömVÍÌŒ-nÕe1B®€ÝÝÝOž<©»ëîîn|‡54Í?>NMEçÎhÙ?ü€*UÄÈ,hÕÍÂ}ûâèQüð~ÿ `Ú4\½Êª™™U›Üákϯ^½zíÚµ;vìЯ_¿€€ÿŠ8@/. GLžŒÀ@žq16ÉÉX¶ 7âÝw1mZ´`%D" Q£ù;àÇ/”°].—wëÖÍÓÓÓÓÓ³{÷îcÆŒ1æ»÷òeøø@¡àô5NaÙ2$%ÁÅ=z gO8ÀVˆ¸6õ‡'’Xué‚  ŒÏÕøåæâ»ï°hlm1oºve%D\“¾Éår¨ÕèÖ Ÿ|"Êô•Ëå¢V-––øðC\¸€O>Á¤IðòBD«ffVÍ0WÀú•”„®]1}:ž}z›Œ\t4 ääàÓO1x0,,X ‘1`IJIA—.ð÷GP÷o“¦Õâ§Ÿ0g ñŸÿàý÷QÆ¿;$"`àgº}^^ðóƒé½2*=Ó¾} …V‹°0tïÎ>ˆŒ`Äð°Ä<|ˆAƒÐ©“ÒÞ^¸ì¿j c—³îÝqü8>û S¦ÀÛ{˜‡FDÜC¸W3sÅá–˜)Sðð!V¬pss.»ˆ™EŠmf†>}pæ ÆŽí¾iÞ}gΰjffÕ¯žyZB–,Á·ß"&¯¾Ê‡"T’¢"ì܉4lˆ… ùîD"Ž®€%#* _|;9}é~pÍÑ¿?Ξ…|}€ë×Ù ‘`?Ǭ@ΟÇСزë6¨Õján„ˆ™Å®ºZ5áÏ?ak‹–-1{6îßgÕÌ̪9€é…efâÝw1o¼½‹·…‡‡ w;DÌl U[[#, §NḺbÓ&Hõœ ÷jÆ6¾ªË‚ç€ M«EŸ>pvÆâÅ|(Beuì&O€%KСû ’òˆá ØÐ–-Ø?ŸMP9èÐÇŽaâD ˆ!CšÊJˆ$‹Ø Žýû‰W•+³ *¯ä2—/£}{´l‰I“p÷.[!â¦Çܺ…Áƒ±nêÖý÷?*|,…˜/ÝeœUW®ŒI“pö,²²à憥pb˜{5c_Õez´ÌsÀÓ¿?j×ÆÊ•OýGF#“ÉĪZÄÌ&Qõ D­ZX¾Íš±jîÕÌ,‘Ãl «VaíZ;†*Ux,€*ÜÇøúkÌ‹aÃ0s&jÔ`%D1<mgÎ`æLlÝÊéKzba?F|üßG¤¿ÿÆþÈ›Hú8€ ±ñ÷Ç‚hÒ¤„ÏR©TÂÝ23›VÕµjaýzì܉eËй3ΞeÕÜ«™™Ø”,Z;;ŒYògi4án™ˆ™M±ê7ÞÀ`Ètë†äæ²jîÕÌl<¬_ññðñA\ùP„ ,+ ÁÁøå,_޾}Ù‘žG °áÍ71h&Là^KRñóϘ0o¾‰Å‹!à»P‰;bxZtq4~<› éÝ Éм96ndDzì/—.aî\|ÿ=Ì_¨s¹\.ÜM13«€êÕ±d ¢£ñÕWèÔ çϳjîÕ̬Õ3AëCQ:uÂ`êT>!é**Â7ß@¡ÀGá³Ïø ©D:b¸Ö‹uë—‡À@6A’fnŽqãpäöïGçÎ8wŽ•Uà+¨p  ¬[ –ApuÅáÃ1]º`öl°"`1…„Àß­[¿Ô)•Ján¨ˆ™Yõ3—ÂãÇ#>gÏ¢Y3:Ī›™Ë×d,6‘‘øóÏ—ý:777án«ˆ™YuI°s'¶oÇÀèÓ‹¡zuVÍØÌ\^ø$¬ Ö­üüàïχ"$°´4@­ÆÆðð`Då2bÌ_ü{”ŒwÃSlÝŠ{÷0f › ±Õ©ƒ]»0w.Þ}ÁÁÈÏg%De÷¢Xû˜ øøøÄÇÇçææž;w®K—. ,`•OºŸ~ŠeËPªG'jµZ¸[,bfVýÞygÎ + mÚàäIVÍØÌ¬§ü¸… ~ûí·îîîU«VmÞ¼ùÆ-ZÄû¤eËðÆxãÒ}uxx¸p·XÄ̬úåX[cÍ|öÞaaxøU3¶‰W]¥9xmkk{îÜ9'''݇©©©-Z´¸uë–Do¡AΧ¥¡U+üñê×çC2B7n@.GZ6n„«+û “¥ïâ8pàèÑ£óòòGŽ9hÐ Þ ÿ0u*&Làô%£åà€Ý»1m¼½1k Y ‘>VÀùùùaaa›7oNMMurr:tègŸ}VYª¯Zg€ð $&ÂÊŠ{¹+W0r$*WƆ ¨[—}WÀ»®R¥Êœ9s._¾œ››{ùòåY³fUækÆ>îÓO1{v§¯B¡îv‹˜™U—UÆ8x=z ];lÞ̪[¤Ì—/ã»ï0g>ü½{£eKØÛÃÖ¡ukx{ãý÷€ˆäåIel:OJcÿ~ŒÄDTªT–«Ñh42™L¬ªEÌ̪Ë͹s6 ..øúkØÙ±jÆ–hæ;wpࢢ°w/øø I8:¢^=89¡Näæ"+ ·oãömdgãêUüò bcáíwßÅ»ï¢V­ò1¥ùÊœœœ3fìܹóÚµk………ƒ 2dHïÞ½9€ÀË &ÀÏÈä`æL„‡cíZôìÉ>HB<À®]X³qqèܾ¾èÑ¿ÄØÞ»{ö`ï^xzbÑ"¸»f5ª°°ðË/¿tppÐjµçÎ6lØéÓ§9€¡RaÚ4œ9ó‚oúKd„ŽňèÞ òidx))P*ñÍ7hÚø¿ÿ+Óûl>|ˆÕ«1w.>øsæ@&Ó÷9àÝ»w/[¶¬víÚº›6mzáÂÞË0s&fÍ*—é«R©„»õ"ffÕåÏË §O£°­[ãøqVÍØË|ü8úôAË–ÈÊBt4ÂÀe}—k L˜€óçQ¥ š5ÃâÅe¹²ÒŒŠW_}õÎ;Å&%%5lØÃ¿ü‚ðÁåreF¸DÌ̪+DõêP*±x1úõÃŒxð€U3¶^3Ÿ9ƒ÷ÞàkW¨ÕX±Íš•gV,Y‚#Gpð €â=üe•fí<{öì£G®X±ÂÕÕ599Ùßß¿oß¾ãǗ檧CÐZ-ڶŬYê¹p"ÈÈÀ¸qHIÁ÷ßóõ:H.^ÄÌ™8xŸ~Š€XZJyÄ”fêëëÛ§OKKË^½z½ÿþû¦~¯ïÚ…W^áô%ú{{üôàí¯¾‚±ÿÍøÑÞØ±xóM´j…¤$L™¢‡é[Öá-‘?C*~?¥ÇóhµÚàà`¥Riff&—Ë?ÿüsݧ=ñæK%ß}¬€‹ŠÐº5¾ü=zð§€è)®\Áðᰲ† ¨S‡}P9ÿ^»3fÀÏsæ F =/½®€+‚î}–žØ¨T*£££ãââN:µnݺ'>ÿ©_e;v Fò¾r¹\¸Ÿ3³j=i؇íÊÌD›6øé'VÍØå–ùÔ)tè€ï¿GT–.Õóô-ŸÉ÷RîÝ»7eÊ”úõë›››kµÚîÙ³G[žÈÓ¡C‡ˆˆÝ刈//¯§~ÚK]gù{øPÛ¬™öàA-=Wl¬ÖÕU;fŒöΖAe’•¥ ÐÖ®­]¿^[Td¨e1¥YO˜0!##ãĉEEE ÅôéÓ+âÁABBB»vít—Û¶m›PüOöööVVVË—//4ì ÁïÚkkx{ó8ÑóµiƒS§P¹2<=qìû RŠˆ€‡ ˜ˆQ£J÷¶ëB®€mll233‹'^^^ÕªU+â¡„¹¹yAAîrAAA¥J•ÿ×¼¼¼“'Ozyy–|ϺÕýû÷/þ´5kÖìÛ·Ow9)))((¨øŸ‚‚‚’’’t—÷íÛ·fÍšâêß¿¿ö7´;w–éÊž×Àkî~ýõö«¯fN˜ -(`“¼†¿† K–¤úúj4ÐFEé?CyÑ¿ÇS)¾¦^½zýõWñ¼LHHpss«ˆ\£FŒŒ Ýåôôtkkë‰Z­~êv=‚>xPëæVG?¿ãE!bfVmÈØÙÙÚ¡CµÍšiObÕŒýB™wìÐÖ©£ ÒææJ$¶¾A=zìØ±ºW¿ºråÊĉ'L˜P«sww÷“'Oê.ÇÆÆº?zíÍ<‹ÌܼJ•*;€°t)&L¨ˆ£nnnÂM13«6dìš5ñý÷˜4 ¾¾XºTš¤Ä½Z*™ïÞŘ1øì3lÝŠùóQµª1H/ÅÐ~øðáÂ… ]]]---]\\–-[VTNKÀ'ò¬ZµÊÓÓ399999ÙÓÓsíÚµºíƒ :wî\~~~bb¢Ïĉ ³þóOm­ZÚœ>‚¨L.^Ô¶o¯íÚU«V³ zŠ£GµÎÎÚ>ÒÞ¿/µhú>]A·áß ŠŠŠ¦M›fmmmmmT<æ·mÛÖ¢E‹*Uª8;;+ŠÜETà;V;c4ˆÊÁƒÚéÓµvvÚM›XýOA64Tëä¤}ô1Æ4€ù~À¥uý:<LMMmѢŭ[·Lh¯XèhìÞÍŸ¢Š’™‰ñ㑘ˆѪû0¿ÿŽ!CЧæÏâ±WYFŒE)¾æ•W^yòZ,,Lhÿxð `ëVþ¤U [[lÙ‚ÈH¼÷ÆìÙ\ ÿ¯Ö©SñãØ¸]º˜Â-.Í9àO>ùdôèщ‰‰yyy‰‰‰#GŽüä“OLh/Ùµ ŽŽèØ±B¿‰B¡®3³j©ÇîÕ ÇŽá¿ÿE§NHLdÕF;%åJ“&HLĘÈôEéA›•øºR{Zuù‚öñA@úö­ÐØF&gwfV-Fl­_3ðÙg˜<ææ¬Ú¨bïÞ ¹ü¾¿µ9sôyç|ÄðÏ^ÒŸ¢{w\¹“:êN$/bäHTª„o¿…³3û0yy˜:?ÿŒM›Ð©“©sî/gåJÈ圾Dд)ŽŰaèÐ_|þ •Ýÿ‹V­™‰sç¾eTš¼víZuêÔqrr:xð I´•“ƒ­[1z´¾•J¥®3³jÁb›™aÜ89‚ݻѳ'®]cÕ¢Æ^»]»" ›6¡F q«.‹Ò¬äÂÂÂ~ûí7ß|óMaaá'Ÿ|gümmÞ oo8:êá[i4áê13«2¶‹ ŽÁÒ¥hßsçbôèŠ{;XîÕåO÷g¾gÎ`ÿ~xzŠ^u™O–â൥¥evvöÍ›7===322 ¬­­sss%z ËñpëÖX¸ݺˆ¤àâEŒKK(•hЀ}à÷ß1x0¼½±r%ªW7†!ªç¿vqqùåÓÛBæÎIDAT—_RRR:wîlff–””ÔÀvý#Gðð!§/‘„4mŠ#G°};:uÂĉ˜:•*±‰Òý™ïæÍX»}ú°R®€£¢¢FŽiaa±k×.OOO??¿÷ßРAF¾6 mÛbÒ$î4D’ó×_;ùùøæé¿x¡)ºz#Fàþ}lÞldÏ`×÷³ {ôèqýúõ«W¯zzzøá‡$;}ËMF""0b„Þ¾¡\.®$3³j#‰Ý ¢¢0b¼½ñŸÿ ?ŸUK(Í? M¼ù&bbJ˜¾‚V­ï°é<<ùŸ°0\»†Õ«ù@–HÒ²²Œèh¬X·ßf¦Ñ`Ü8üõ6nDóæ1À/¯° â—_Т ˆpäär8;㫯P¯û0Œ_ÅØ±7 þõ1à q¼• uêpú £sgœ< ´m‹µkQTÄJô*7S§büx|÷fÍ2âé[FÀ/à믠çï©T*…ëIÄ̬Úhc[YaáBDEaÃtîŒsçXµžœ8OOܺ…³gѽ»ÑWÍ\‘RSqâÔó·uss®*3³j#ݪŽÅèÑðõÅ´iÈÉaÕ(?!!èß_~‰ P³¦)T]<ü<  9™O¿"[f&BB…¥Kñþûì£üýþ;ÆC«VX¾¶¶&4Dù$¬ ÀÍ›C©¬èwÿ%"}øãŒ‰ºu±x±±>)ײ³1m""ðÕW&ø |VEþ¸dúªÕjáÚ13«6­ØíÛ#>C‡Â×àêUV]VJ%š4.]*ãô´ê²à.ѦMðó3Èw®-3³j“‹mnŽáÃ''´m‹E‹PPÀªK#- }ûâË/±};æÏGµj¦¹W—iõÌCÐÏôàêÖÅñãhØEˆŒÐ…  ÂÙ³˜=C†Àœ ’SX¥3f`ÌÌœ KKS.ƒ‡ +Fd$\]9}‰Œ–‹ ví¦MX¿-[bÏVò|¿ÿŽví°cÀüù&>}¹®°‡'ýú¡W/Œý„ÈøíÝ …•+ãóÏáíÍ>žâÆ !&  o_öÁp…ÉÌÄþýèßßPß_¡P×™ˆ™Y5cÿÍ×'Obòd|ôÞz QQ¬úîÞÅܹðôD“&ˆ¯ é+hÕ\WÀÓիñÛoؼÙP±5L&«j3³jÆ~RQ¶oÇܹ¨V ¡¡š7ÞÙÛ›nÕùùXµ óæáÍ7±hQ…¾°¶ {5ÿ¸ÚéØ3f gO 2EEEعÿùÌÍ‚~ýP©’É5ðý÷˜9Íšý½ü%`}´sñ"ºtÁÕ«&÷#GDO ¡]»°hnÜÀ'Ÿ`äȲÿ±0>æÌ­-ÂÂЩw„ À<ü4ßÁƒ ;}U*•pµ‰˜™U3v‰¿ ÍUÕªáèQ„‡ãàA8;cölh4F[uAÖ­ƒ›Ö¬ÁÒ¥8|XŸÓWнºLû§íSý}ÿ=†7l ?äF™U3ö eîÐÛ·ãèQdf¢ysŒ‰ß7ªªsr°d š4Á¯¿"<ÑÑèÖ»G…¯žyúI‡aÊÄÅñ¡=}VmÙ¥÷ïcÜ8 kkoNB”JlÛ__ÁôÞ’Hß#†¸$þþhÖ S¦pÇ"¢’œ> ¥?þˆ6màç‡>}P½º0áss±};”Jh47ÇCÀg sW;ÀÑqqxí5îXDô|ÙÙØ±[·âÄ ¼óüüг'*W–î܈ÀÖ­8tÝ»cÜ8¼ù&ÌÌx7dóð?8€¦M¥0}år¹p剘™U3vY3[[Ãßûöáòe¼ù&/†£# ÂÆÈÈJìü|ìÞ!CP§–/G§N8s›6á­·¤3}Ý«Ë4¼¹þ4oŽÀ@>!¢RÒh°w/~ýÑÑhØ#®]Ѧ^69>ÑÑˆŽÆáÃhßýúáÿþ¼‹$²æ~Œîøóÿ‹ºu¹WQYâÄ ¨Tˆ‰ÁéÓhÔo¼×_Gûöpv†…EùǬ,œ=‹³gñLjŽFèÒÞÞèÒµkóá–p;{÷bÎ=Ê]ŠˆÊ'&âøq?ޏ8$%¡^=¸ºÂÅÍš¡~}88ÀÑñ%^è#'ýµúïÿpö,îÜAëÖðô„§'Þz NN,žXv¤tüY©TŽ7N¬ªEÌ̪Û0™>DRâã‘€„¤¤ - ii°°@ݺ¨Uëï§qY[ÿïí;ÈÉÁýûÈÎÆíÛÈÉAƒ¨Wõë£^=¸¹¡uk4jĪÀ °gfÍ’H7ÿÏMÌ¿ dÕŒm€Ìpq‹Ë“ï,”´4¤§ãÁƒ¿?,þåþê«°²Bµj°±•Uɇ”YµÛ+à¿EFbÞ<üöŠ‘VÀü3¤G¶o7à»ÿ‘©á`ÏI `µZ-\‹"ffՌͪ™ÙÔ°Ù#oÔjµAAA666¶¶¶!!!ÅËügm/½àî.©? ng13«flVÍÌ|’:üÄÁô5kÖ(•Ê;vèׯ_@@€¿¿ Û_ä:ŸnÌ´n x,€ˆˆJ=¶ŒgwìØqúôé½zõSÂöR¶SPGGÄÇóbˆˆˆjÖ¬™””$“Éddd4mÚ4++«„í¥lG¥Â¼y8|˜{émKúIX÷îÝ«Y³¦î²µµõÝ»wKÞ^BAOÐm0`ð÷óŸ•Jett´n{rrrpppñ—'''ë.GGG+•Êâúûå{ }ô‘Á3¼ì5( ƒg(Å5èbKªÉç^CÇŽ¥¿?p¯æ^m|{õ³¦ WÀ¥zxòð!œœ'µ×lÓh42ÑÞžSÄ̬š±Y53süîîî'OžÔ]Žuww/y{i9‚ $øŠ©"îˆ21ßЛU36«ffƒôKQ><44ÔÕÕ@hhh@@@ÉÛKc÷nôé"""ý’Öß?~€\.ïÖ­›§§§§§g÷îÝÇŒSòöÒØ³½{KðŽQ©TÂíL"ffՌͪ™ÙÔWÀO=†nff¶`Á‚ ¼àö—J•м¹ïF#ÜÎ$bfVÍØ¬š™ ¶ò4é7c˜77n`Ù2•ïˆyÓ~-蟖æñg""â ØxžÜ¸wwܸW^á~@DD\ëKd$||$;}år¹pŠ˜™U36«ff®€õþðäƒðÁ:”àˆˆHÿ+`SÀyypp@r2lm¹‘þ°©‚>x-[rú‘¡˜ê–üóŸpQˆ˜™U36«ffC±€ Òj±grF777áz13«flVÍ̆b’ç€ÿû_øùáÏ?ADDT¾#æ…™ä!h©¾þ3™“À"¼–Z­®W3³jÆfÕÌ̬/))¸z^^.\µ"ffՌͪ™ÙPLïð7ßàÀlÞ ""¢ò1\—$2ï¼Ã†ˆˆ¸ÖãÓ`o¤$ØÙñ¾'""®€õåøq4i"ÄôU(µ+bfVÍØ¬š™¹ÖËÓéÓ¡Õbî\éÇÖh42™L¬ªEÌ̪›U3³¡VÀ&6€_ à­·@DDĬ§vnÝB“&¸yS²ïLDD¦3€Mépt4:weúªT*á 13«flVÍ̆bJxß>ôè!JXF#\Á"ffՌͪ™Ù`«g:ýÚk8pMš€ˆˆ¨|G WÀÏ”˜ˆÊ•9}‰ˆH"LfGE¡{wÞßDDĬ÷,Î `r¹\¸ŽEÌ̪›U3³¡˜Æ9à¼<Ô®«WQ£sQyŽž.IL š7çô%""é0ÌÀDDÄl{÷Â×W¬ÈJ¥R¸šEÌ̪›U33pEJIA»vbEvss®f3³jÆfÕÌl(¦ñ$¬~ý°};ˆˆˆÊ}ÄðIX%ꈈÈûÖ=0ññ.¸Z­ffÆfÕÌ̪9€…uï4l(\ðððpfflVÍ̬ڈ™Ò›1IfƳ>"""ýã&""â¦G 336«ffVmÄxX¢4L&cfÆfÕÌ̪uÄp`Äð4‘pK”J¥bfÆfÕÌ̪9€ #;;{Ĉvvvööö³fÍz|Éÿ8£¼c4 336«ffVmÄ$}~tÔ¨QyyyK—.ðñÇ÷ìÙsÔ¨QxÉcî<LDD5DõIX2™,11±V­ZnÞ¼Ù¯_¿#GŽp‘ `séß¶â ñññÅÛííí­¬¬<<<–/_^XXÈ€ˆˆÄ"éüöÛoOž<9=====}òäÉ÷tï¬hµÚŒŒŒÌÌÌ 6lÛ¶mêÔ©ÏâO=m<`À€âÏQ*•ÑÑѺËÉÉÉÁÁÁÅÿœœœ¬»­T*‹ÿ©â®ÁÏÏÏà^öär¹›|î5èbK|xâZ·n-ýý{5÷jãÛ«Ÿ5MJ¹Â”òáÙÌÌ̉'FFFV®\ùã?^±bEZZÚŸsõêÕ–-[feeUÄñ""¢’xÆyÚÖÖvÓ¦M™™™7nܰ¶¶îÚµëSn€¹y•*U¸‘X$=€‡š’’’½eË–ùóçϘ1C·ÝÏÏ/>>¾  àüùó£FzüØpYuíÚõõ×_wrrZ¿~ýîÝ»]\\tÛ?øàƒ!C†Ô¨Q£wïÞ¯¿þú‚ ŒïŽyüÜ336«ffVm|,¤nôèÑ£Gþ÷öþýû÷ïß߸ï777fflVÍ̬ڈñ͈ˆˆ 0bøZÐDDDÀ,Qjµš™›U33«æ&} gfÆfÕÌ̪Ï`ÄpLDDdÀDDDÀôˆB¡`fÆfÕÌ̪ÏK”F£‘ÉdÌÌØ¬š™Yµ±Ž`"""Œ‚&""2`‰R©TÌÌØ¬š™Y50é›F£afÆfÕÌ̪Ï`ÄpLDDdÀDDDÀôˆ\.gfÆfÕÌ̪Ï`ÄpLDDdÀDDDÀôˆR©dfÆfÕÌ̪9€IßÜÜܘ™±Y53³j#Æ'a`ÄpLDDdÀ¥V«™™±Y53³j`Ò·ððpfflVÍ̬ڈñ0‘F WÀDDDÀLDDÄL( fflVÍ̬ڈñ°Di4™LÆÌŒÍª™™Uëˆá&""2Àˆá!h"""à–(•JÅ̌ͪ™™Us“¾i4fflVÍ̬ڈñ0‘F WÀDDDÀLDDÄLÈårfflVÍ̬ڈñ0‘F WÀDDDÀ,ÝGUÌÌØ¬š™Y50™ÌÎÎÎ1b„½½ý¬Y³Š·kµÚ   [[Ûžâ%""àò4yòä‚‚‚ÄÄÄøøøóçÏoذA·]©TFGGÇÅÅ:u***jݺu¼#‰ˆH,’~†°L&KLL¬U«€›7oöë×ïÈ‘#:vì8}úô^½zˆŒŒ ‹‰‰yæ-óYÐ"ÆfÕÌ̪›UÉ –733‹×]NHHh×®îrÛ¶møHŠˆˆ£•°aÆ 2äæÍ›7oÞX+“Šýüüâãã Ο??jÔ¨Qõ¨Q£¦L™’žžžžžØ»wo!bGDDT«VÍËËK _ ­ZµZ°`Avvvvvö_|Ѻuk!ž¹’’’½eË–ùóçϘ1ƒç€ÿ§¨¨hÚ´iÖÖÖÖÖÖAAAºsf".q]–ݽ{Wâ™·mÛÖ¢E‹Ê•+¿öÚkr¹üÖ­[Âíä¢ìºª«T©âìì¬P(rssEixÆŒ2™ÌÆÆfذaYYY¢,ÜwíÚ%Öž|ñâÅž={Ö¬Y³fÍš½zõº|ù²ô3¯[·ÎÑѱZµjÝ»w‹‹{Ù/çÛ_Š’ˆˆˆ˜ˆˆˆ˜ˆˆˆ8€‰ˆˆ8€‰ˆˆˆ˜ˆˆˆ˜ˆˆˆ8€‰ˆˆ8€‰ˆˆˆ˜ˆˆˆ˜ˆˆˆ˜ˆèE˜™™±"`"""`"""â&""â&¢ gff¶dÉ’×^{ÍÜÜ@~~~`` ƒƒƒƒƒC```~~~ñ§=ñUÅV¯^Ý AKKË:ÄÇÇë¶|ôÑGvvv_~ù%{&â&¢'>|øÄ‰EEEÂÂÂbcccccÏž=ûùçŸ?÷Ë÷îÝ{èÐ!FÓ«W¯?üP·ñóÏ?¿xñâÙ³gccc###Y2Q)"kµZ¶@d¬+à¿þú«~ýúºþùçfÍšˆïÓ§ÏåË—uŸöøïâÍÌÌÒÒÒÜ¿_&“Ý¿@ãÆ÷ìÙS|=ü5BÄLDÿÀEEEŇ”---³²²ªV­ //ÏÆÆ&77·äüÔíO\¥¥%•Aù .¾ìè蘜œ¬»|ùòe'''ÝåªU«ê–¶nܸñÜëtrr*¾ž¤¤$–LÄLD%ñóó›4iRJJJJJʤI“üüütÛÛ´i³p᜜œ+W®Èåòç^ÏàÁƒ'OžœšššššÈb‰8€‰¨$¡¡¡nnnmÛ¶mÛ¶­»»»B¡Ðm_½zudd¤L&ëÒ¥KÏž=Ÿ{= …¢Q£Fžžž=zô`±D¥ÃsÀDDD\q00•Áÿ"ÃöÊç…ÿ¯IEND®B`‚speedpad-1.0/doc/images/gnuplot-example-wpm-over-time.png000066400000000000000000000345551165153245500235310ustar00rootroot00000000000000‰PNG  IHDR€€²GDésRGB®Îé pHYs  šœ IDATxÚíÝyXTußð—QY5¥4—€—B‘Â-×\B­QPÑÌÉ-5-0Ô\ÓÌìu4ͰÍÄ\&E³´Ò‡Å…MTFGÅDF@ÀPÎûÇ "ÌÌ9gæþ\]]ãqï¹g˜/¿s†96‚ €ˆˆˆÌ« + ""â&""â&"""`"""`"""â&""â&"""`"""`"""â&""â&""â6/›Ý¿Q£ÑôèÑÃÎήQ£FcÆŒ¹yó¦a» !!!NNNÎÎÎ3fÌàÇYp ‚ðð]¾|ùôéÓ³²²N:U­Zµ‘#G¶«Õꘘ˜„„„øøølذ$É‹¤–66Í“ŸŸß°a‚>>>³fÍêÛ·/€ýû÷/\¸ðرc|,‰ˆˆ+`ã;|ø°———árrrréåöíÛ'''ó$""™¤äqyš6mš––føc•*UŠŠŠ —‹ŠŠªV­ZömImŒV“þ};räÈÈ‘#·oßîêêjØR«V­[·n) ¹¹¹µk×~b;e_¡Œ]ßO{5c]Gš7Å䟜Eñ!fò§½© O7©ï‚Þ¶m[``àÎ;;tèPºÑÃÃ#66Öp9..ÎÃÃ?‚‘¼Hz¼|ùòðððC‡¹»»ß¿}Ĉ3gÎ4lœ9sæ¸qãø@‘¼Hå]Ь⠩^ÚçççתUËð{ÀT*Õ¢E‹ÊØ PÎ] f¾³<8ÍT,ŠE1‹2g*‹›ŸFLÅ¢‰E±( ¦âGQ‰€XëÖ­c*ù¦bQ,ŠE‰Âòö×r‹@©T2•|S±(Å¢È(x ˜ˆˆH„Ã0‘8€E Óé˜J¾©X‹²Ú¢Z´hQúÙû_ýµáBrrr‹- kÁ%K–4hРnݺ'N,***]#®Y³¦Y³f5jÔhÕªÕ±cÇ6mÚäêêjgg÷ꫯž={–˜Ì'22’©ä›ŠE±(«-êõ×_ÿõ×_\½zuÒ¤Iùùù~ùå—>}ú®pðàÁ„„„3gΤ¥¥-Z´¨ô ÷îÝ{ðàÁìììaÆõë×ï‡~Ðh4z½Þ××÷½÷Þ³Þa X:k¸DDf=dÈA/^\¯^½ˆˆAüýýwïÞmx±MNN6\3))©yóæ¥/Â×®]3\¾}û6€?ÿü³ôvvve¿‚‹ðŸ¹F ß„EDDåRPPàáá¡ÓéÚ´i³hÑ¢O?ýô·ß~kÒ¤IJJн½½Maa¡­­-€;wî899>ü"\ö­jÄp4•K­Zµš5kegg׿ÿ{÷îEGG7oÞÜÞÞÞp­V[zÁÅÅ…qKNXXSÉ7‹bQÖ\TŸ>}>øàƒ   'N,= `êÔ©S§N ä«ýVÏÜm~z½Þp2c¦’c*Å¢¬¹¨S§Nyyy]»v­^½z7nÜpqq‰‹‹kÛ¶­áÅö³Ï>[¶lÙßÿ°bÅŠ5j€» 9€ù£_l%u¯¹ šˆˆHÀ"Ðh4L%ßT,ŠE±(â–+½^ÏTòMÅ¢X‹z$ì{Z<LDD$Âˆá ˜ˆˆHÀDDDÀÖA¥R1•|S±(Å¢É(x ˜ˆˆH„Ã0‘8€‰ˆˆ8€­ƒZ­f*ù¦bQ,ŠE1°\)•J¦’o*Å¢X#ß„EDD$Âˆá ˜ˆˆHÀ"ÐétL%ßT,ŠE±(Fâ–«ÈÈH¦’o*Å¢X#‰0b¸&""0°u c*ù¦bQ,ŠE1’Qð°ôz½B¡ZQLÅ¢X#±(sŽ`"""F wA‰€X†©ä›ŠE±(ÅHÀr¥×ë™J¾©X‹bQŒd<LDD$Âˆá ˜ˆˆHÀDDDÀÖA¥R1•|S±(Å¢É(x ˜ˆˆH„SM:÷Ápá{òÈí¥ù%DDDÒ'•l¢LÖ'n'""’)Z­f*ù¦bQ,ŠE1’UàzõêÙÛÛ·nÝú‹/¾(..–Wx¥RÉTòMÅ¢X‹b$ëÀ‚ deeeggoܸ1**júôée_ßæ!†íþþþ÷ÿlc¸¬ÕjCCCKÿ*44T«Õ.ÇÄÄÜÿSXÅn!55µ’·Pù ßBçÎEÏðð-¸¸¸ˆžá[Ø»w¯è¾ÃÃÇgŸQ|F™4Ãã¦IÅHëÂ{;Yo3»|ùrÛ¶msrržö6‰ˆˆL4¶,vü?w J•5jÈ+³N§c*ù¦bQ,ŠE1’qæ—C:4))©¨¨(55uÔ¨Q÷ï[…ÈÈH¦’o*Å¢X#gõ,‘ݳûÕÞGnß¾}û‚ ÒÒÒž{î¹€€€™3gÚÚÚšbÿQÙëÂ#†Ÿ„EDD$ˆáXaaaL%ßT,ŠE±(F2Îê™» ÍO¯×+ ©ÅT,ŠE1‹2çˆá&""aÄp4‘8€E Ñh˜J¾©X‹bQŒÄ,Wz½ž©ä›ŠE±(ÅHFÁcÀDDD"Œ®€‰ˆˆDÀLDDÄlT*SÉ7‹bQ,Š‘Œ‚Ç€‰ˆˆD1\‰€˜ˆˆˆØ:¨Õj¦’o*Å¢X#qË•R©d*ù¦bQ,ŠE1’QðMXDDD"Œ®€‰ˆˆDP˜ŸN§kÒ¤ SÉ4‹bQ,Ê´ ‹óç‘›‹Ü\ää '¹¹w lííáà;;ØÚÂÁÕ«£iSxx@©„££ìfWÀ"ˆŒŒd*ù¦bQ,ŠEß… ؼãÇ㥗P¯BCqâ²²P«Ú´Á A˜2e§«+>øƒ£G´k‡zõ`k‹_~Á¤Ipq‹ zõÂäɈˆ€LNÛÀcÀDD$’’ìÙƒU«’ooøøà•WЮììžîv—.!%))HHÀO?ÁÛ4’1ÀDDdvXµ ›7£];„„ S'cÞxq1~þ›7cÏ´l‰#0dˆ‰&1ß„EDD2‘—‡É“Ѻ522°g~üÑÈÓ@ÕªèÙ›7ãÒ%¨TˆŽFÓ¦X»[Œq‹ ,,Œ©ä›ŠE±(UqÑÑðð@~>’“ñÍ7ðô4m¤:u0|8öîÅþƒÍ›Ñ¿?þüS:%s´ôz½B¡ZQLÅ¢X#™0•N‡qãpù2ÔjøøˆIO>Áܹ;V #†˜ˆˆLlýz̘1c0{öS¿Áʸ0|8ڵêUF9*ÌcÀDD$Iwïâw°v-bb°h‘ÈÓ€§'âã¡P m[?.n`h4¦’o*Å¢XTyýù'ºuÃ;8zmÛJ¥([[,_Žðpøù‰ûÃÀ"ÐKò—Ä™ŠE±(F2fª#GЮ‚ƒ±e‹Q¾F.jà@bøpßÍcÀDDdl«Vaþ|DF¢woé†,*‚·7T*¼÷ž(#†˜ˆˆŒG‚ï¿Gt4Zµ’zÚӧѳ'ŽGóæÀÀDD²uïÆŒAb"öíCƒòȼt)vîį¿¢ZEÎNÄwAËŒJ¥b*ù¦bQ,ŠE=Z~>^YY8zÔÓ×TEM›''Ì+Âú+`""ª,½ýú¡M¬][±¥¤˜®]ÃË/#* ]»rLDDò‘™‰Þ½áåµZ~Ó@£FÇøñf~G40UÂÅ‹è܃áÿþUd;SPT„øx` §V«™J¾©X‹bQÿ•˜ˆ.]ðÁ˜=[öEùùaÇ` §T*™J¾©X‹bQÿ8p=z`õêÊü­„Š2Û¶™s/4ß„EDDOoûvLœˆíÛÑ¥‹åÜ)WWlÙ//󌮀‰ˆè)©Õ˜6 ‡YÔô…¹÷Bs‹@§Ó1•|S±(eíE}ñ.ÄO?™ùƒ®ÌQÔ›oâ‡8€-Ydd$SÉ7‹bQÖ[TI >üj5Ž…Ù]›£¨öíñ÷ß8uÊ<÷ˆÇ€‰ˆ¨òò0x0lmñí·°··Ø» ,Zd†Ã0=ÉåËèÔ îîØ¹Ó’§/??DE™çŸ’ʶùWy¶ ‚âäääìì:aâD„‡£jU ¿³íÛÃÆ'OZÑá‘sô‘ÛÕjuLLLBBB||ü6lØ ¯Ç7,,Œ©ä›ŠE±(ë*ê§ŸðÆX±cÇZKQšç­XÒ:>ú¸él÷ññ™5kVß¾}ìß¿áÂ…ÇŽ{ÚÛ‘^¯W(Rû~c*Å¢éRÕ®?ÆÎغÞÞVTÔ±c˜<¹œKi9ç.çvppHOO7<YYY®®®9992ÀDDRwê† CçÎXºµk[×}Ï˃‹ òòðÐQQãŽY¾ «  ÀÁÁÁpÙÑÑ1??ÿ‰=À°Ýßß¿ô:†ÝÚ†ËZ­644´ô¯BCCµZ­árLLÌýŸGÊ[à-ðx v ‡üÏÛo£_?Ì›‡uëüßyÇêz¨Svv¿nßþð-þ»Öh¬klÎU5‘õ*)ÁáÃX½ññ˜;#F  ?ñ>¿ý†éÓñÇ&1l\*•Š©ä›ŠE±(yGºróæ¡E „…¡gO¤¥!8øáékíE5oŽôt®€¹&"ªôz79GâÇ‘˜ˆaÃÌc½OP»622P§ŽéFL5–LDdŠŠpò$Žů¿â·ßP»6ºtÁ„ èÛ×ò?ÏÙX‹à àéiº˜ˆHþòóqþS§”„gŸEÛ¶pwG§NF‹pqA%?ÑÊ¿õÖ¢þýÄ'á›°ˆÄ–›‹#Gpèbbpå ”J(•hÙîîhÙÍš¡Zù~PÎËÃÕ«¸v W¯"=. =éé°µ…»;Úµƒ—¼¼ð ¬\®]Ãøé'<GGt튗^BÛ¶hÛÿ~>™Ð¡CX¸‡›nÄp‰$1[·âÐ!œ9ƒУzô@‡å·å—“ƒÔTÄÆþó_n.Ú·G‡èÖ ÞÞ¨Qƒ…´èõز_}­Ý»ãõ×Ñ»7Z´`1ævéºtÁåËÀ5€u:]“&M¤VS™)Rf&¾û_Œ øûã7й3ìíÍ—êÖ-ÄÅá×_ÿ;û_{ ݺ¡CT¯Îg”h‘î݃FƒñÛo<ƒã•WðÌ3,J´HÅŨU 99°µ5шᛰDÉTòMUÁH÷îaûv¼ñÜÜ‹… qí¾ü}úT~ú>]*ôè¹sqì220e ôz¨T¨_ˆŠúç¸2ŸQæ²S­ÆŒhÒË–á­·péV­B—."N_‹úÖ«°ªUáâ‚+WL¸>ä ˜È´òò/¾ÀóÏã½÷0hXïŠz‚K—°w/~üü ˆ7ßDƒ|M(7Ë—cÍ †‰ñ⋬DZ<=±a^~™+`"¹Ñé0m^x'N * ÇŽ!(H¢ÓÀ /`Âh4ÈÈÀ»ïâøq(•èÛß|ƒ‚>˜F–Ÿ ðâ‹ÈÈ@|<ÂÃ9}¥ÈÞÞ¤O~`"8wxùe”” >QQðö–MøZµðÖ[Ø´ 5 ;vàù爽{Q\ÌǶ²Š‹±r%š7Gb"ŽÆ üˆ IàÛ·9€-JXXSÉ7Õ"]º„Ñ£áí¦M‘žŽ+д©\‹²³ƒ¿?¢£‘žŽÎ1>š7ÇgŸáæM>£*(.ÞÞ8x?ý„mÛàæÆ¢$©V-“`^¯W(R+Š©*)=3f &!!?µk[`QiiX½ß|ƒž=1v,zöä3ªüÿ0>øGâÿþýú±(yD9Ý»cäH®€E Áo6¦ªT¤[·ðÑGh× bæék¾¢ÜÜ޳gѶ-‚ƒÑ¥K'-ç3ê¿vìÀË/£fMœ<ùÀôeQ’ŽÄ]ÐDÒU\Œuëà$'cõj¸¸Xþ½®_aa¸x#÷ßÇ+¯`ï^>-'~~øä|÷Ö®…£#+‘`Ë£yü¢©¤Ÿê¿‘bbðòËˆŠ‚FƒˆqG¯EU¯Ž‘#‘šŠ‰1m¼¼°{7îÛÇg~ù/¿Œ^@B:uâ·žü"™ø0°ôz½å¤*)N‡ØXœ< ­™™ÈÏ·ì®ôz=ÒÒ0`ÆÇüù8tmÛZjU!9S§bÆ ´o˜ |ž?­¿ÿÆÇ#(ë×céÒ²?ïÓª‹’x$ÿß„EO)%àÂhµHOÇ¥KP(аá?gæ)(À_¡ õêÁÇ:ÁÇíÛ‹û™>Ætó&æÍÃÖ­ Áĉ–s¿ŒeçN„†¢Y3|ö™~.Çùó „‹ "" Éã»T^kÖà̬Yc¢Ã0•ƒ . ¥¾¾¸p-Zà½÷°s'rs‘‘¸8œ<‰ôôVÀ‚€'àç‡ôt¨TprBçΘ;ii2.¡¨+V eK”” %|Àéûo½…¤$ôí‹^½0rä?ÈÞmØ€N0f ~øÓWöL| ˜ç¦2]¸€U«°kðæ›øî;¼ôR¹¾°iS4mŠ  ÈÍÅñ㈉AÏž¨_C‡bÈ<ÿ¼œzøá„„ÀÍ ¿üww>/ÊòÌ3˜<#F`áB´iƒL›f?¬äåA¥BJ Ÿ$–ƒÇ€-J¥’AªØX Œ`g÷ÏisæÎ-ïô}€£#úôÁÒ¥Ðé°bÒÓÑ®ºtÁÆ(,”zWG¢cGÌ›‡Õ«ñãpw—ÇÃ':''U~>’’pö,Z·–ÎÛ¤MUTl,<=Q»6ŽÚéËg”t#™ø0Kg ÷јJJFèÞ]hÔHX²D¸uË$ÿJQ‘°{·Ð·¯ PÓ§ ééR¬âôi¡¡Iá›o„âb>5*î÷ß…öí…~ý„sç,ó[fÙ2¡n]áÛoùP[š£G…ŽM7b¸¦ûüç?èØS¦ 0/âÃQ§ŽIþ¡êÕáë‹}ûðÇx{£ìÛ‡’Iôpñ"†GèÖ ii B~§T«¯âÄ ¼ù&ºwGh¨EÚA¯‡¯/¾ù¿ÿŽ¡CùPs4wAÓÓÓé0lÞ~cÇ"9£G›é ]‹Xº—/ãí·ñÉ'puÅÒ¥Èέ‡Ó§„víа!Îôieÿ •û•¦ ÆŒAb" áá­[-áN9‚—^BãÆøã¸ºòA¶@<’åQ«ÕJsãT*xyý^\Œôt‹°Ú³³ÃèшÅÞ½ÐëááÄÄ@ÌÔ• àÇÑ© €—._Æ’%pr’ÁÃ'áTˆäèˆðpÄÄ૯о=NœkQEE˜<Ø´ «WÃÖÖÂ;Ù<£Ì°æ¶0J¥R9Š‹±f Ú¶EI NŸ.–Âoµº¹añbœ=‹®]1u*ZµêóÇHI1Ῐ—‡Í›Ñ¾=¦MÈHKÃäÉeŸ²W*ŸäS=6Ò‹/B£J…1mòòdVÔÕ«èÕ §Oãøñ²OG!ßÇNfÏ(Ó©Yýeº›çqX«'0~nÖÂÎwîàñCÄŸ„uÿ;§—,YÒ³gϤ¤¤ÂÂÂÄÄÄnݺ-Y²„Sùét:qþá’¬[Ô¬‰ÔT ~ÿô-Õ»zæôïo¾Af&V®„³3Ö®EóæhÙ*V®Ä·ßâ矑œ ÃGÅÞ»‡ìlhµ8yGŽ * Ó¦¡cG8:bäHœ<‰îÝqþ<öíȘ¾Ò-J¦‘^y'N`ÄôéƒñãMý¼ ¥Ñ U+àäI£O_>£$ÉÞÞ„7^_]ª_¿þÕ«WKÿxåÊ• ð÷€ËoÁ‚"ü«¿ü"´k'tì(œ<)¡Tîêï¿…ãÇ…eË„÷ß„.]¥Rpr¡jUÁÉIhÖLxé%¡kWaà@aî\A£rseüðÉ0ÕSGÊÎ&L4Ö¬þþ[B©‚ƒ…çŸöÇÎBžQFѸ±Pæ©Ìˆ©ÈÚÙÙÙ911Ñåß“¯edd´iÓææÍ›Ü-QZ->úññøì3 ,#mdµNŸÆGáÒ%Ì›‘Ÿ®»va¼ñ–,ƒkä4‘wAßoÈ!£GNII¹sçNJJJppp@@&)ºu }oo´oÔTñ_Έž¨m[üôV¯ÆçŸ£];ˆuVZÃ)%BCñÍ7X·ŽÓ×z™ò­vÀ+W®ôöö0`€““Ó€:vì¸bÅ >LÒ’ŸÏ?‡»;rs‘”„ÐÐJþª"‘YõèØX|ô&NÄk¯á×_Í÷O_¿Ž±cÑ«Þx‰‰èÞ°„p5æÍ›wá… .Ì™3çž—íi„……™ðÖ³³1w.Z´@RŽZ ÄO%Í®,%’eecƒ€¤¤ÀߣGÃË ‘‘(*2aª¿þÂüùhÝÎÎ8{& zu>£¬=’)0Xz½^aŠ…^¿Ž+°~=DXš7—D*iveY‘,¿¨’üø#ÂÃqö,ƇJ…zõŒ™êôi¨Õغ}ûbáB4iÂg¿õþѾ=âã%t øöíÛÓ¦M{á…ªV­ àÇ亶üŒü:„!C T"7qqøê«§¾ÆO%Í®,4’åU¥ ÄáÃØ¿Z-^|þþؼùŸ_<«pª¿þ¦MxõUøú¢~}œ9ƒÈH3O_>£¤Ij+àQ£FþùçÏ>û¬ ‰‰‰Ã‡?uêWÀævã6mBDjÖÄØ± â[EÈ*ää`ï^DGãàAxxÀ×ýûÃã\Ÿevû6âãqü8NœÀ/¿àÕW1v,úõãÇZÑ£ùøüsÒ6Œ˜ þRzzº“““á¾{÷®££cá“άÎ\J£ÑôéÓ§R¯>ÑÑØ±¿ÿŽAƒ0v,^yEüTÒìÊ:"YoQwîàÐ!DGã§Ÿ™‰_„«ë?ÿþynÝBA ‘ŸÇ—$'WiÕ ¯¾ ootë†çžãcÇgTY:wƱc&ÀÕ*ð5µk×ÎËËsú÷\1éééMõ ½ÖAÿôûÍ ;»vaÇ?Ž^½0r$¢¢P³¦È©¤Ù••E²Þ¢lmÑ¿?ú÷€‚œ?sçpþ<~þׯ£J88ÀÞ5k¢vm4oŽ¡C£ÎŸ=šŸQå%µ]ÐsçÎýí·ßV­Zåîî®ÕjÇŒóöÛo?ž+`“¸xÑÑØ½§Náõ×1x0úö…Ž!"2¹=pø°„vA¯\¹rýúõ:®qãÆãÇŸ4i’T?áA®8>?ü€Ý»‘“__ ˆnÝÀ_÷""2§Þ½qð „°‰Æ¤áÂýyA U«Õ666*•êÓO?5\ía_ö]Ù¾x[¶`ËÜ»‡¡C1p <=ùñUDDâèÛ„~ ÉJ?Õú~jµ:&&&!!!>>þÀ6lxàúü*éS©TnÊÉÁêÕèÔ íÚáʬ_sç0oÚµ3Ûô}D*ivÅH,ŠE±(³‘Ú1àÛ·oÏž=ûûï¿¿råJqqq@@@`` ¯¯¯QÖÁ÷çñññ™5kVß¾}ìß¿áÂ…ÇŽ{ÚŸ8¤¾¾qááX¿^^1ð3#‰ˆ¤bà@ŒJYIDATìÞ-¡ðĉ³²²Nœ8QRR ,,lÖ¬Y¦¸ãÉÉÉ^^^†ËíÛ·ONN.ý«zõêÙÛÛ·nÝú‹/¾(..–åãššŠ#к5ªWGr2öì¿?§/‘„Hí³ £££ÃÃÃüû î®®iii¦WPPàðï'K8::æçç. ‚•••½qãÆ¨¨¨éÓ§?qüÃvÿÒëvw.kµÚÐÐÐÒ¿ Õjµ†Ë111jµºô¯*v »>þ¾¾èÒ#;vÄœ9P(Ìœ·À[à-ðx O¾…°á7M*¨Bç'n|éÒ¥Ò'''+•J£œùøþ½K"¿ º¸K—bŠ̘ P­ˆˆH.F¦MþA&í¢ÝÇ70t(î݃Z 7·ÒÍ:®‰ÙOyöDLÅ¢X#±¨ƒ $ôkHwïÞýä“OZ´hagg×¢E‹¹sçñç¤%%á•Wàå…Ÿ¾úˆŒŒ”`^¦bQ,Š‘XÔƒ¤öAãÇOOO_±bE³fÍÒÓÓ§L™âææöå—_rü_?ü• «WÃÏ?ŠÉÕøñX³FZçNLLtqq1ü1##£M›67oÞäþÇœ9Ø´ »vᥗøì%"’±I“ðå—:põêÕ¼¾·È ¨gädüþ;5bDDò&µOš6mÚèÑ£SRRîܹ“’’LÈÍ…¯/²³qèPÙÓ7,,L‚ñ™ŠE±(FbQ­RM¸¼¬ÈÚ¹ìß’Ú۪ʹ º ½{ÃÛË–¡Ê~¬Ñëõ …BjOn¦bQ,Š‘XÔƒfÏÆüùü5$ àÛ·Ñ«||°t)wYŽÅ‹1c†…ŸXÆîÞÅ AhÙŸÎ2ˆˆ,JÍš¦»íŠ àˆˆˆ1cÆØ·o_Æ ]\\~þùg+}lîÝC@œœ°nÊ}Z F#Á»ÂT,ŠE1‹2ç®Èáå… þú믦L™²~ýúâââiÓ¦%$$XÝô-)Á¨Q¸sÛ¶=Õ;åôz½ï S±(ÅH,Êœ¸";¯íììrss333===³²²ŠŠŠ ¥9%Mx øÃqø0Æ¿'-&""‹²kÞ|SB¿ìææ¶gÏž«W¯vîÜÙÆÆ&==ý…^°ºGeËìÞcÇ8}‰ˆ,–ÔvA/Y²$88¸Zµj»ví0þüO>ùĺ’S§ðÁ8zõêñùIDÄ\yVïÞ½¯]»vùòeOOOß}÷]@@€=yyð÷Ç_ÀÕµb7 R©$x·˜ŠE±(FbQæÀü=à§7dœœ°v-4$"²pgÏB©”Ð1`«¶z5.\À￳ ""Ë'µcÀÖ+>sçâ÷ßQ£Ë "â® ~V¹Ý¹ƒÀ@„‡£yóJÞ’Z­–àýc*Å¢‰E=ÈÎŽØìBCÜ2>Ú´1Þn¦T*%x™ŠE±(FbQÀ‹›è¶ù&¬Ç~Ùÿu?s=zàÌ4lÈNˆˆ¨R#†+à'(.þï…wßÅüùœ¾DDd,Àwýú?V¬@­Z0Þ¯ ét: Þ]¦bQ,Š‘X°4\»þ‰E‹^þ“=Qdd¤ï.S±(ÅH,Êœx ø±_†íÛá燀´j…™3ù gÄàï—åÏ?±oΜÁæÍ,ƒˆˆ¸6Ë'mÚ U+üñ6nÄk¯ñ‰BDDÆ]óðc|ú)¶oÇÈ‘¦˜¾aaa¼ÇLÅ¢X#±(®€%ðãIVnÜ€‡‡)"éõz…B!µ¢˜ŠE±(FbQæ\s‰0b¸ šˆˆHÀ"Ðh4L%ßT,ŠE±(Fâ–+½^ÏTòMÅ¢X‹b$£à1`"""F WÀDDD"à&""â¶*ãX‰©‰E±(%S<LDD$Âˆá ˜ˆˆHÀDDDÀÖA­V3•|S±(Å¢‰X®”J%SÉ7‹bQ,Š‘Œ‚oÂ"""aÄpLDD$`èt:¦’o*Å¢X#YÔ¶ù×ýA qrrrvvž1cFé2ÿqÛå"22’©ä›ŠE±(ÅHÆ|’š^ìL_·nZ­Þ±c??¿qãÆ3¦Œíå¹M"""-Y®€é믿^°`AÓ¦M›6mº`Á‚M›6•½ˆˆˆ+`#ü(áààžž®P(dee¹ººæää”±+`""â Ø  —óóóËÞ^FA0l÷÷÷/½ŽZ­Ž‰‰1\Öjµ¡¡¡¥ªÕj —cbbîÿeðŠÝB¿~ý*y •Ïðð-„……‰žáá[˜0a‚è¸Ñ3<| †‡Ï(>£øŒ2i†ÇM®€e³Öëõ†ðL%ÇT,ŠE±(F²ü°‡‡Gll¬ár\\œ‡‡GÙÛåB‚Ï!¦bQ,Š‘X”™U“r¸#FÌœ9ÓÝÝÀÌ™3ÇWöv"""¹Öï߀J¥êÑ£‡§§§§§g¯^½Þyç²·Ë…F£a*ù¦bQ,ŠE1’E­€¹ÝÆÆfÉ’%K–,)çv¹ÐëõL%ßT,ŠE±(F2ÎÊ“'c ""2ÿˆágA‰€˜ˆˆˆØ:¨T*¦’o*Å¢X#‰0b¸&""0°u¸ÿ¾™Jv©X‹bQŒÄ,WJ¥’©ä›ŠE±(ÅHFÁ7a‰0b¸&""°t:SÉ7‹bQ,Š‘8€å*22’©ä›ŠE±(ÅHFÁcÀDDD"Œ®€‰ˆˆDÀLDDÄl˜J¾©X‹bQŒd<,½^¯P(¤VS±(ÅH,Êœ#†˜ˆˆH„Ã]ÐDDD"àF£a*ù¦bQ,ŠE1°\éõz¦’o*Å¢X#‰0b¸&""0°uP©TL%ßT,ŠE±(F2 &""aÄpLDD$`"""`ë V«™J¾©X‹bQŒÄ,WJ¥’©ä›ŠE±(ÅHFÁ7a‰0b¸&""°t:SÉ7‹bQ,Š‘8€å*22’©ä›ŠE±(ÅHFÁcÀDDD"Œ®€‰ˆˆDÀLDDÄl˜J¾©X‹bQŒd<,½^¯P(¤VS±(ÅH,Êœ#†˜ˆˆH„Ã]ÐDDD"àF£a*ù¦bQ,ŠE1’åàÜÜÜ‘#GÖ­[·^½zsæÌ¹É?Ù•®×ë™J¾©X‹bQŒd’>>:jÔ¨;wî¬\¹Àûï¿ß§OŸQ£Fá)÷¹ó0™jˆZê›° EJJJýúõdffúùù=z”˜ˆˆ,`W‘þ}+½””Tº½^½zööö­[·þâ‹/Š‹‹ù$ ""y‘ôîׯßÔ©SoܸqãÆ©S§¶ ‚•••½qãÆ¨¨¨éÓ§?qŠ?ò°±¿¿éuÔjuLLŒá²V« -ý«ÐÐP­Vk¸£V«Kÿªb·Ð¥K—JÞBå3<| *•Jô ßÂСCEÏðÀ-¼üòË¢gxø ŸQ|FñeÒ ›&\aJy÷lvvö¤I“öïßÿÌ3ϼÿþû«V­úóÏ?¸ÎåË—Û¶m›““cŠýDDDe/ð,s´³³ó–-[²³³¯_¿îèèØ½{÷GÜ*UjÔ¨Á'É‹¤pPPÐÕ«Wsss·nݺxñâÙ³g¶:4))©¨¨(55uÔ¨Q÷ï[ ""⮬îÝ»{{{»¸¸|õÕWÑÑÑnnn†ío½õV```:u|}}½½½—,Y"¯Òï?®ÀT²KÅ¢X‹b$£¨&åp£G=zôÃÛñ>–ómlƺ)3ÿsLÎä,ŠÉY”¸7%¿ðý?€ØØØ$%%.'''{yy.·oß>99™»2ˆˆHf >|x```fffffæ°aêU«fØ^¥J•¢¢"Ã墢¢ªU«–q#|ˆ‰ˆH‚c´š”ïÕÊ•+'MšäîîþÌ3ϼÿþû …°½V­Z·nÝ2ü177·víÚeWÃçI¤wA;;;oÙ²%;;ûúõ뎎ŽÝ»w7l÷ððˆ5\Ž‹‹óððàIDDò"épPPÐâÅ‹kÕª¥Ñh/^|ðàAÃö#FÌœ9ÓÝÝÀÌ™3ÇÇ’ˆˆ8€¦{÷îÞÞÞ¹¹¹;vŒŽŽvss3lW©TZ­ÖÓÓÓpùwÞáIDDò‰€EIDDÄLDDÄLDDDÀDDDÀDDDdUØæ_÷o,ã…ÉÉÉÍ›7/ã:Z­Ö×××ÉÉÉÉÉÉ××W«ÕJ!ÕãNÅhžTøZ±"•±]ÄT¦Gvvv53fÌÍ›7E´oß¾®]»ÚÚÚ6jÔ(88833S EèõúÆWì4z$›ÿ%‘g€Ó§O¿þúëµjÕrqqùꫯ¤V”ƒƒƒŠªüë¹Ñ#•ñb.¿üÈOx.ã…ìÝ»w× jÛ¶íÅ‹/^¼Øºuë   )¤zܩ͓ª_+V¤2¶‹˜jùòåÓ§OÏÊÊ:uêTµjÕFŽ)z¤¥K—N™2åúõëiiiÍš56l˜Š2øä“O*üq:¦{FUæyeôTçÎóõõ1bÄ•+Wþøã˜˜Ñ#ÝßÒòåËÇŽ+…¢*ÿznôHe½˜ òô@òW_}uß¾}†ËûöíëØ±cé_õë×ïûï¿/ã:5kÖÌËË3\¾uëVÍš5¥ªnݺ™™™†Ëׯ_ïÔ©“9SUàkÅŠôÄíâ¦!//ÏÞÞ^R‘òóóÍü©Ê°mÛ¶ÀÀÀ;wvèÐA"‘ êÔ©óÁ$$$H!UbbbçÎKß8j¬Il¬gT•*UjÔ¨!…¢Ú´iSºÈà_ù¢/^"o=½žW&RY/æ–± zÍš5žžžZ­Öp–¤ˆˆA²³³J÷<ò:†£ë3gÎ4üÄôñÇWøEÆMxåÊ•œœœï¾ûîùçŸ?{ö¬9S=Õ׊Ét» +“jÙ²e7NMM•N¤áǧ¤¤]¾|yâĉF<l”‡Ï¸» +) 11ñîÝ»)))={öœ4i’Rmذ¡t7f@@@…¹÷±Û»w¯(¯çe¼[Ê(¯çFŒTÆ‹¹üð#ß2^RRòá‡~ê 1RÚ±cÇý¯2¼Ž çÎëÓ§ƒƒƒƒƒCß¾}/\¸ …T6lhÔ¨QÍš5{õê•`殞êkÅ$”ùÛb¥zø§àüü|q#EEEµiÓæ™gžyþùçU*ÕÍ›7¥PTå°‰ŠªQ£FóæÍà%RÔìÙ³ …““ÓðáÃ+ð&,SDêÔ©Ó®]»Dy=Ü×VþõÜè‘Êx1·äÓ¾÷Þ{J¥ròäÉL%ÇT,ŠE±(F²ð¢ËÕ¬Y³ääd¦’i*Å¢X#YvQ–¼&""’,žŒˆˆˆ˜ˆˆˆ˜ˆˆˆ8€‰ˆˆ8€‰ˆˆˆ˜ˆˆˆ˜ˆˆˆ8€‰ˆˆ8€‰ˆˆˆ˜ÈJý¼DÄLDDÄLD\"00™OQQÑ„ êÖ­ûì³Ï~þùç¥ÛÏ;çççW·n]‡·ÞzK¯×—.mllJ×Á%%% ,hÚ´©³³óèÑ£oß¾ÍJ‰8€‰èÉ>ýôÓsçÎ9s&..nÿþý¥ÛÄÈg°4‹QkŽS³Èv6 D¿ÀóȲ¾Î¤‚ ˆ_ y§ 8ÉÇ4M?üé ö¯¿ýñS)ÀY¾NÙëßÿü»úù˜tþþçß½ÿ²ÓÜíS«þ¿k:_·?‹"ˆ—`îöÜ»ÿÒpš¯ÍÅò{½¼ùaÙâ}‘Td§éä^àQ+ãøš5q¼HI'÷ªõ×n†²×éŸÇÓOßoÖÕ‰ÝíÛ¸" pƒ18¥ÿßÝ>7ÐØºHçkä‚k{ ¶toàcp|…™²}n:ñ1xþÉWñ*0}Í^_p5iJŒÁ5ÛŒ#‰cðoVù«À”‹Ø#0ü×ßþ¸óNéÞ7Vݸà±¼S˜ûP,üïÿýBà±þó?þK!p$ñ†àìaøûûûûû{þ¹Í‹¥$Õpwç H¨SŠzóo׉Ì?¼kñœÞɇúíŇ¡nùë9#âàcðÇÇGè?³l¦3OÐ hÕɇúêõ¼î³>r .`îqzj†Øš2_íxHùœ8/¾zu¯Ïß~M¿½¤¹Hâ=z·] .Vl¡•ÜúóENFQByÛÍs§ÕêúÜpXÿê~¿æK¥ù?z/Ë6§ óÿÌýüNÓ+×.Ñcç. ×ÃÖ—r¼Ä%Žôí#ÕÂR Óª·xY¸sQšaÇà”jÀàýüç¼ãÞ¼ðËñ³ªôÓéò5Àåãy×íõמR‰.Ôo¿þÞuíþÙâße åÐ×Å(r§UøâRÿúaïùç¹å0ßÀH p¼H¿êÿ§­G¡¿üC=)vŸ˜½¶Ç5Uü)²eünBd{ŽéçCõ×ay}ÏŒð˘¨Xø—"ˆúAíxD NóËEéÐ[´ÎzydÙh/÷sçPÄ…øQ¬sþÒðõùŠl@M¾ÙoG^Ƽvw0OB÷Ýéü‰°p¹>|·¿~û;¥© ÂC-÷‹‰°p¢ÂK ûëõ+Ÿv/Æ–E^ꚢÓ|ÌÃŒÁ ;Õ&Ÿ§FXªÞBq²")…¶-ö¯¸6X\Ëæ#8›£oa„¥&KLCKó1X„%€1;öùÅÚxß»aé—y¯uº®ƒ)€qW»ïDX2·õñ[5c°KŽÁ»ÝrF„%cð˜ó©I„%€köÛÙ–¦ÎoðH‰P±X¦Çï}^÷ÍÕYå,ÂÀ˜ývâ8•a©áHI*1(PÁø4¾xd¤ôca ଡÎn?Áo»ë®{ï~Y~ÎUY}k›Ã”½Ü¸ŽÜÁjøÑz_²ê’à÷÷÷ÇLïù‡ÚuÝzâŒÀ™Ã°›I4ïÇÏÏhù¤|zOÑàɾ'‹¾iÑ&ßß.Zïû?CŸt ó]/ö»þ*”ÏP:e½U(KY釶Où¼x¿¹^v77‹Ú¢Öí~¾y8ÍÇÔaëa(ÍWf6¿ŠÝfúæ(Ðwò›õíâ“PÛÞý¡]¤¬æ-7= ‡ž¯nuQ(÷o¯ò|P“ç#BåÓªü{—[«+Æ×êRÓ. ÛYçñå–™{q,·Õ•]|›ÿUüOZ]ÜÛ½h¼èvCۇʧUù—•úCû’*(‡ÄÈTMÊ9Þ^z÷¹Ç»ùÕ‰ýX“~›Žg¥¦åo~Ò<"Mî~ãɦu×ãŠNÙ4¿W”¹¥Õ~+lƼø¼—ÕÏúDúž™2úÙ*bXMþè7š÷{¹ÙîTŸ{GÜ"o5Ìh³¢ôù¦óxL9\ºœF|°¼”KÃ{t—ãاûY/Gì]£•sAýÏŠøtƒrp4N}֝޲ŽÔ˜®ÓÌ«G^â˜úó´ˆL½ëïøÇÜ»>«3 yR.¦É=ãâ°@—ÕpnĞ݉Red’VQr#M"ê49®ùƉ×ãé§Ÿ—‚í7Ë­øÉØÊtZEŒ)N?~ÞëCîùJ¯‡é«´xù”s«¥Øú¸ ÚKA¿‘Uo'R¹‘Êš×çVý6¦ÿò‰¶P›ò÷Š2‡#VÃw7#Ï¶Ì 9’:À=œxh„ûOõ¯OêúW=~öÚéχº¡xV„(€tçßö{‰;MæÜ¹ÈâwÔ̜@ÇÕpb¤ Í '¡~픈7éN²y#G:J)ŸÝrÛM'I&ý÷š¡S³[©*˹UD šˆOñãMÿ<¾ßH½ µßúvd* ưHL•yï–òºÃ"ÉÄG¯Üüì`ƒG:ju^jFô&),"çDþ‘x8­¶ï]þe‘y²êm“ö+Ò´_ §ßÞmÚ{@ Òd¯ë­e+ 7 '†[s˜-‰È3»s¸V7)îZ¶Y/Iî0 ‡Â­´jêº Bõ¡U䥻–OrñŸn¸ ®» ‚«áÅH\i$4…ÏtT“~ÛíŒt”{^r#Aíö­•ç+ôxmåqíFªiu\­ê[b䥔'–{ÔÛÊz˜JÈuõQ÷³é¬"€Ê!'÷wÒwº¡ë‘1.ïcš¦ïïïE¼î÷'‹¯æÿ¹÷=ÿdñUÄû¯ÖyÈJ$´Ífú¡ãÊý|ö€JëáóýÉâ«ÝÏC g 1Áøéé·úR|^cÍ~ö*óããc>ôZõð aø˜kp°¯1‡«ùê³Ójøµ‹ô”ßYšÿIä~3ä ÛÉb¤9lx>`„ˉã“c0íWÉÃäE±ìNh¸´ò¹fPÌF“1ÕÀ @ù0ü^á3e¾Þ,"…@¯õbîà‘øµ¯Å•Þ‚G´y^¼^#ñJò†œïûû»øÛ³ru|f†ÊÏ >O9¨Äìv¼¹é—åsZóó’[n­ª_ü¼×ß> _ÚüÛNç1帚´£³ú‡§9èÞðkj¶¹b8w†ájØp×g¢We8ë¤4l¿›)\½­ÿyz´#ýᵇáiöˆS͹ ]iIlð#tåß-H´ó˜[s·°ž4i¿ÚÝ1õíBý!‡ífÓW¿—p• ÷ÎçV?)õ°fûA†±S®f©o÷è÷ˆø<¸ OCþòç–3h8¦ýj&鯜èî«áø“x‰ó¯†Cìæ~sŸÐËÍOäâÏf~z_œlu1jZ<©†ùÜü¼2ý”ãêZoCõ0”N¼Þ®óßê¼_ ï±Þšg&ýúv$?¡úܯ<(ÿšúÖ¼5,·”~0}nœí't1ºQÔ¥f«aÐtšõߘ›”ŒÐî€+*ÂÒ÷–ƒ÷^S\ÍÏÂh‘‘n_eü9ge¯É~[½fëiõÍC Ï4â½áÐGÛ»J|ûIçøw¡Îª‡êÿ3ë':ÂÒÓx³ê?X oLå¦êKSþO~ãùÙÜïf0“”üÔ¼\0ý¸"fvËyým«ÈQ¹Áj²"_åæ¿ âSîËM7ósp„œObלßâHM¹ËÁâˆX‰¿3.h/]Ïoñï¤ÛÖÿÝ~/±þOíšD‚šŠ‚k]é²IÖ·•uŠs•Q¤,Oññ¶:œV˜Ø[5¯YßNu™ Êáø9¹Ò»Ýõް4ß ôïšúßµ¡5Œd•›ÿÜI9ï)åŸXÿ‹;ðVýv«r½Õð]¯hxæN¹W4ZM-ÒKï3rË®» Çño‹Þ韛רË¿ÕiÊͧ;ÓÁ/úP€¶V‘FÎ:®Êþʺ/›<2òÕ%ºÑ³"Û$¾d´ÇÜe´pL¡U×%"ä3ñæÑ°í:+?Wé‡Ï_ ß5BÈ">-ÞàŸu\g•ƒÙtýùí·ßqZÄÓêI¨üsËa´þ­U5”Ï'TÇ×ýõmøE͵ZŸr8«]ŒYþªDp5Ü5ÂR«ÇØ:EžYg5I©ì¸âf "ÉÔoÁc‡‘¯v#·Ÿ÷Þ£¨oñ®*1¢Wîc®•‘Ä Ž=ñ Û&õ?=RP«Qêàz˜µßyù\dÎê·kò™²ý“°šs.) kèµÚ •~‘|Z½í¨l×ÞÓ<³Òï—H˜¬âÏëëU×rˆ„kXŸ;µÇHy¶*ÿ¦ERN9Šæû½ô­ôÈ™òˆ@+_·?ÂÄ5éWþóv×wäÝÅ—8•ï^N¯ÏmG”OúÞ¹¾=ʧ"h;ÒpdÁ.~6Ú‰¨|sµúè‚òïT ƒdãöýƒ~¯ñj¸Id’²©h«È$¹óâÜôãå…[úOlÓó¹NjjY¥,ÿc.Xw¶Ç ù²"•Mí"Û\bÉØ0²VY¤²øKÓ#ƒU¦_иšDŽ*Þoýqµ_î£>¢K<åÝÐ%W¹g“˜íúPòÖE§6ª ›…Êÿ‘‘…_ÔueÖû<ÞàÝé]Ûiò9òªòÈýÀ•m´Èi7†ËŠ{}ÃÿQrΊrbþæÓ£\%¢ÎéÓ‹ôs²ÊÿêÓßןÑÊçQeûUÓP¯5 8c½SD¦~ëøëvC—^ õxDvœÇ¸¸P?s{—|RÚ$”u·î—-ÿÛÿpÿ!ã‘ï“w5œɤSä™ÝÈ<ŧ¶2rKnD¦Ä ”xP‰c"œ*#Uæ?ý¼çFþé½Âk jj©lÊŒ¼Ô°ýö(ÿÝ'c¨'5‘¬Rú“&ç«a;JéšRʳI$®³"§¸üó¬Tþ¤®†{F«8Ä÷¿m~•žÈ¹ùOÿ<ë(šW¤´kòIq=¹PÁÖ×çñÏÑ8½_¿~&+?5é·ÊXnÃIܯ~ìóý¯÷ÿ_Q(çÑ÷÷÷Ç¿©'bÌ<@ý<ØWâå‚×?RÊk~…a¾}Êç)»¥Ój:ÞÜãêš~(×ÿ¡íC;ju/¤ì@²ò™r׿ø¼ä–OV¹E³,ýâòo~¼­òß©¾•MYÖGÑ£|²êsÛòIïgÚÞ+­ï—º¶ÓÛãÍWÃŒñg¥sõ¹Ñ¯üŒ?)~-ÑæW nsîFkw—®Ïñ tjGO†×æÅu©ù“‘§ïfš¹çåBçâ]t‰…v‰iå‰íî–Óî¶ÏsÝuš•ÕŽ ÃÍjä'>W_ñ¤<ùù¬{3uå–;‹W°ÊçÉýÏîÌï '¥¡ËªqqEÁŠš´£û5‡¯Å±mN=æQ61 uI¹O6Fº¶Pþ#Ç•²—ø_µºxJ'Þ•¯ó™Ûõ§<>]s^ÊŽ+’Èâ:UAú›õ¡U¹%¥¹ù_¤ŸÕ êV»ëZÏϺ9ÒªŸi>‹§Ÿ[žmÛiM»p½ ÚOf‚aðjpÅjy˦ô¥mмy˜ØÂ˜íâêíTß÷Óê½e­"ô¾ p•Ÿl澬ÕÛÄrS¸ú­¯Ó뿞¤ßî²ÚÑ1ù?½žœ• d¡ý–\»WžÎÎ ” ãÕT-çZå¦þ ½¨ŸäZþn8=KåK(C?Qm’Ÿ)9Ìfd•ÍÈ-Y„â;]oß0K¼ÜÊ";…m]ÎWq½ÚŒÜ‰Ì“i§þ‰ÓÜHD‘‹ êsåQdEìÙÍçÔ9òÏŽeÔ$Ÿ»Û'î·U{™r"Y•Õ·ÄöNÆê1ã˜t²Ž·&QóÈ3é-§æóÝãÚL!åŽZÛó•~^rÏonþË6«¬e‘‹F"*®i)‘Öúµ»‚v‘[ž¹ÇUÙ^ZõðÅõ-±ßhÞÞï¿vuå™WŠÊšÄußzÓ*ÛWéJ|Wð¥Û]ä]âêO ¥Ã Ã.!\7󹑯† {rV@´³"_ 8&õŽö´Tg½Ô3+ÏFº3 ?Ú]g»¡{‡Ï {¢^ÕÔí«íñ*çkóƒ%³¡ýNzÁÛäM ž¶Çùºáj8+ÒÅîEËÄH#‘LŽ Å‘”Rʡը–ù*kûšÈWó ÂÇœ¯‚¾©2²Vïz[оzlßjh¾ßV‘¦ül½Ë3+bR«Ç¤[õc•çÓC†>_ÎòG_÷(·¬Ž®O:_(×#2̰/O0Ì3«Ü-‹+=ÿñW,©6Ü£ž÷ë–Ü‚qhð¸aXÏ‚‘à`ûoÑÊŠ”21)1ÿÓÀ`ró:¨Ü·íÔÿNqó7—ó—m¥G˜)ˆ•{\¹“²Ò©ŒdU|\S»ˆU‘z•Y(¥]§¤¿›ÉiÔÈTý"¥œ÷®“"õœZõfΘ”rDÅÇÕ5Ln:gí7·ÚäF˜©¬‡‡•gYD¬ÃÚK« yý¯Œ\JmÌÈT #ånß°jê9ÍVù}èýæ"•ËñÍ÷Ÿ·J'ôê®qNne(ˆšc¹z{é}G[QõÎOÍÕ2 ÃÛå†í;D€iاœØW¶ê¶ÞU"~¤yæ¯ç¬óxËéNn}8 _2Ì_r5|ÅY¼È$ÏYEâÂn®†¯ï¶w=·ª~f{áŸWÌôí'nf¦¬BŠ_ǯ:úÖe5œñc̈I»bØ0‰éì>ÙØj¿¹óè‚''k"AõŽ8´[þñrNÔ4í={pž©.²Pnýìqiê‘©ZE(ê1)ñ¼¤G¨ãnÓ+S­ôBPVdÕNO\+ÛçäGŸSµ¹Š_ñÞhåÆ3©÷n_£åG}+)´iš~øÓ?ïSÀY¾ãøûŸ·øäÇŸ~~}þúÇ{³úy½ñ|û”Ïçi®ý󯘦é÷ùïžþ±ðþßÃmú–‹qzrQZy¯¯±v=ân2 p ›— º¤Ü„a€á†Û×ÿŸ‡nç¦Ój$þç_ÿðú_hAœrÕÚ½aƹYû‰ïæ†6›Ì)I½ž±ZÄé÷†­†¸Ï ]¹À} ½?þôsúÃYé#î|œr5Û0 À}–ËýÆò&k_Ã0´YUǗ‰ b÷†KÖ6jÒɺÓt+—ËÞ) §qQ€Ãü¢ùÈðÑßßßÍw‘›ÿÐö¹Ÿg¥?ÿ°2ý”‚íQÎM’í”±#•¯&>N"‡•ða]SJ;J/º;ÕóôCîºýÕÅŽwQã7@ïÖ0ÁÝôCÛç~~Vú)ûíwëSî]Á!§ÕQ–Î)ãñ‰ç7=?W¯çŇð¨"ª/ŸíG´21÷ÅÖ:lx£‘gv‚§7O˜ûÊ´k.ÞFüñ=Thw¹ŸÙn7Ë3t‘gõ«eí®ÕM~•ê®õ6éÈßv¯Æ´½èÚü"gV‚¡×Ÿ¯Ë§2ÍEQ§§?‰éûMü<±dÊö[PßKû”ëKY›µj/‘tF.ºâ>à¦ÒB×üÔ¤“U¯Zu¹Rþ½¯Ó,Žîk„åEý¾Š/¯…ŽtóóÐ"²É,òÜåÝY'±É‘žXVãŸ)WPëËí¬!!åÜœßKT‰GÕÛò—Y¦/"‡m6YcðUª×kF²{Ñ,kZÓéqë)áâÞaù9k ~ÚóVÙ¾¸Ò0\СtºzzÃ*ï'Åÿ¼íÀ¿9לßó’÷ͼÄ|Žvµ UZˆUï¥WÛÚ—0ÄË,ÛNÜÖuzóÖÅñëà§Û÷Îç)?h)˜ÖŒvF‘|®[Ùô!7ö9lul8õ¾b n6w}løøi¥Ù§¹ Íæ²#׼Ќ>ëó)ü΄Vé§ç?ñí ZݰÓÁâ×ÅÄÏìîcâO8ï&›’xúŸ$¶—[¾¾c·|z¼¾#±Öä'+Ÿ)õ§U9ܬ'¼ëq]–³ þÀë;8Ìèw‰#Ïž$F&‰'¾Ø¾É#9‘G®DXº\}Ë}d¦¬>Ój²Å”ð(Öüœ7{£Vq¤ú£Nïô(ê³",ݸ‡¹Øñ†"‡¬?/ˆx“µMVúëoEXºh}KŒxS0ÂOo̯IDATÓÔ+ÿp·ÞnþçñÇ{XîöM¹2¾Üu©mаÆ/Ÿ#g´ßÔo´©ºKÃÖ·«¤V¥}WÊ;¼€M_#7ò¬Ï›O¯B/šîÚ©ƒG«oÏ‹k~§{ü àiÕUóœ×¨®ÑnJçëöõ£áiöËëŽÍ]#n…ÞáœѨà]ЭÊazê%œ‡Oš{ß~T§¯ÇÖŒ‚q¹œ²ÞÞet¿Fõˆ¸5Ô.4…ÐÐì€aø> Cõå*õ³8²“1ÒÝç-Z FüW+Y‰xD…‡ŒL©êÆ` Ã…-笶j$V£ÞÓijjBñoNã¿þ}€÷±ŒÁôð5rŸÿcýéüóÜÇöØ~„þ—Êú:ïe‰®†ÕÜý6¬c›Ï!Æ÷ýíÍî¯jJZu¿¦‘ûkMú½Ã~ÔšÐDè]À C¯ ž<À=o}'¾[#²}e§Äç8DXzN}‹œÙ¡N÷Ó")•Q“CÖ̹mŸ8%<ê²H§2‚Sn¤–î]ßâ›sºI©¾”NO‡«ûT#LQEXR¯†%’tu“—Yævp‘í7¿a‰õ!òãøP‡P6š„^(kÆhç=ò'†‡[v¤o/ÂmëCèá€Ä‘r7òRÛvdšØv×ï¼;S†á{ŽÁSf„¥‚yZÎE×Ä·‰°dÄÃð¸cp«¾OïÆÛ‘ùZD¯…¹û<¢Õu ö ©ñvá1þ ÄoN™axˆ¾ÃÔž¡(cNBíâi‘”àH÷¹(ûdàî6j"8ñ¨1µ8ÂÒ:µÝø˜ #>å¶£»FR¡µ=ï“è2ÅtuÑyÇj8´ ¶šqÞî帋¹¯³(xýÅTôJ¬©C„¥)©fós½Œ ý¼Ÿa©à·v~|ËÊÙû¹[ÚüÏVŸ¿ÿ³,Ö͹–¦Òˆ=4¯¥‰çýÜK­¶WÍ.Ý‹ð‡㹯ï0säÈó>`½òbÁ×a ¾Éç‘)^«>®G„%ãúøN9G¡H;ÓÞMÄíéº$í©æ¼›`¬Á›×CŸ¯ëS«ä»#é¤ì"ñ2àüpÔ–Ó;Ùõ©Iù¼ ÚìV¿V÷DÊ*3)í·ëç¹õÄM.«áýÇbò‰TÓé-óÅ—ãêwš½šÉŽÙíX°ù‚#{¶A]Õ0 × ¶íò †½&»Ö´8`º Lžîl¾éó€i“sm®]DF¶ÐWg c5c°Ç¾à6 ßxOlìV̼ ú¤tÛq+>aLÙ—q”úîr´…‹ZÝ£$žh+ݧtGÖÔÍ\Êk.B_E.ÄíÞº[Ä6‰§ÉOÖñ&^Ð?žÒ“×·Ê×wlÖÆÝ×ËÄ›Ìúó”§.(ëÇz?)]POYÀ˜m9˾OEgù˜¦é‡?ýCA€Õ0<ȯ?XúûŸ÷þ÷?ý¼ø$þÕëÃ×çï§Xlÿóþõ‹O~ÿ—ÿÞü<ôU|ûÍÏß@[§Œ;›ûˆŒ#ïÑaó?wÇ×·_‘á0~éÃg[óãüç_ÿðþÏõ`¹.—øö¡ Ç|ʸS°ü #‘qjñ‡‘ñåä·hýøÓÏï"è=–VÍghtT4¹*{Ô~GY ¿Äõeñ¾ò>¿𺀰¹ ^o—†³nq¯ïºº¡aus4]Œ»ñ{ÃŒì¬qgÐax~[·fÕ_voØ ð4­Æ¡|&N""%rpŽã/ÖÍ)›0ÔJ÷ÈqçøQ,iΛÔÿ{Â’žTúH À-×Äï´ßºîkó¨²Öò‹«¡_X7_/îõ®aøˆÖú+Mw²öGÇ—”{§4¤®‰›/Û Ã\Ïÿ¤…Óuê¶4IEND®B`‚speedpad-1.0/doc/index.rst000066400000000000000000000000271165153245500155530ustar00rootroot00000000000000%%%%%%% Index %%%%%%% speedpad-1.0/doc/install.rst000066400000000000000000000000471165153245500161140ustar00rootroot00000000000000.. _install: .. include:: ../INSTALL speedpad-1.0/doc/keybinds.rst000066400000000000000000000000511165153245500162510ustar00rootroot00000000000000.. _keybinds: .. include:: ../KEYBINDS speedpad-1.0/doc/license.rst000066400000000000000000000003621165153245500160700ustar00rootroot00000000000000.. _license: ********************* License and Copyright ********************* Speedpad, all of it's modules and this documentation is: Copyright © 2010-2011 John Feuerstein. All rights reserved. ------- .. literalinclude:: ../LICENSE speedpad-1.0/doc/readme.rst000066400000000000000000000000451165153245500157010ustar00rootroot00000000000000.. _readme: .. include:: ../README speedpad-1.0/doc/screenshots.rst000066400000000000000000000036601165153245500170120ustar00rootroot00000000000000.. _screenshots: *********** Screenshots *********** .. image:: images/speedpad.png Speedpad dumps stats in machine-readable format. This can be used to visualize your progress using tools like ``gnuplot(1)``. You can append to a single stats file to analyze your progress over multiple sessions, or merge multiple stats dumps using something like ``sort -n stats1 stats2 stats3 > stats``. The stats dump provides the following space-separated fields:: started stopped elapsed len pos lines enter tab space good typo total cps cpm wpm ppm cph Gnuplot examples ================ See ``_ for the full documentation. Feel free to contribute more examples! :-) Speed for all records --------------------- .. image:: images/gnuplot-example-wpm-over-round.png :: gnuplot -p -e "set xlabel 'round'; set ylabel 'speed'; set grid; plot 'stats' using 15 smooth sbezier title 'wpm'" Speed development over time --------------------------- .. image:: images/gnuplot-example-wpm-over-time.png :: gnuplot -p -e "set xdata time; set timefmt '%s'; set format x '%m/%d'; set xlabel 'date'; set ylabel 'speed'; set grid; plot 'stats' using 1:15 smooth sbezier title 'wpm'" Speed in relation to elapsed typing time ---------------------------------------- .. image:: images/gnuplot-example-wpm-over-elapsed-time.png :: gnuplot -p -e "set xlabel 'typing time'; set ylabel 'speed'; set grid; plot 'stats' using 3:15 smooth sbezier title 'wpm'" Typos in relation to speed -------------------------- .. image:: images/gnuplot-example-typo-over-wpm.png :: gnuplot -p -e "set xlabel 'speed'; set ylabel 'typos'; set grid; plot 'stats' using 15:11 smooth sbezier title 'typos'" speedpad-1.0/doc/static/000077500000000000000000000000001165153245500152025ustar00rootroot00000000000000speedpad-1.0/doc/static/default.css000066400000000000000000000111201165153245500173330ustar00rootroot00000000000000/** * Sphinx stylesheet -- default theme * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ @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 #11303D; font-family: sans-serif; font-size: 1em; } div.sphinxsidebar input.donate { margin-top: 10px; margin-bottom: 30px; margin-left: 30px; border: 0px; } /* -- body styles ----------------------------------------------------------- */ a { color: #355f7c; text-decoration: none; } a:hover { text-decoration: underline; } div.body p, div.body dd, div.body li { text-align: justify; line-height: 130%; } 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.body p.primer { line-height: 130%; font-size: 120%; } div.body p.description { text-align: justify; line-height: 130%; max-width: 800px; } div.body hr { border: 0px; height: 10px; } div.body li.features { margin-left: 100px; text-align: justify; line-height: 130%; } div.admonition p.admonition-title + p { display: inline; } 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; } /* -- custom ----------------------------------------------------------- */ a.download { display: table; background: #F0F0F0; padding: 5px; margin-top: 10px; text-decoration: none; } a.download:link { color: #355f7c; text-decoration: none; } a.download:visited { color: #355f7c; text-decoration: none; } a.download:hover { color: #000000; text-decoration: none; } table.docutils { border:0 solid #DDCCEE; border-collapse:collapse; } table.docutils td, table.docutils th { background-color:#EEEEFF; border-left:0 none; padding:2px 5px; } table.field-list td, table.field-list th { border:0 none !important; } table.footnote td, table.footnote th { border:0 none !important; } table.docutils th { background-color:#EEDDEE; border-top:1px solid #CCAACC; } speedpad-1.0/doc/static/disk.png000066400000000000000000000011541165153245500166430ustar00rootroot00000000000000‰PNG  IHDRóÿagAMA¯È7ŠétEXtSoftwareAdobe ImageReadyqÉe<þIDATÁ=‹]UеÏì;C‚’¨`„DD Ve ñ£‚…h‘*BÐ"¥6VV"¢c¡Ø v‚ba•"ÁNÅB´Å Þ™{ö~×j‡o|÷Ãóx÷‘Ž&ÀÞÒ,K“”*ÿìoü¼=]ß»óñË_v<}tëÚuš§.R±±[ËÞÒœ9X´Æñ¶ŸÌs¿þy|åóo~ùäðÆ×ç¼ |uç_’¸ùáªBk6½Y–f7b»–QÚ´ô×^ºüЙƒý<TÅ:Ê:ÖŠ¾Ç¦7U±Ý•u„Ä÷wïÙßìÙžŽý޳£‚Øî ,­6}Ñ4'kÙžF%*Tâ¿NHZ'}&NGÀÛ¯_±é‹¾°Îøï´Œ*UD¤Ê:¦¤t´šH¼ûÙZk–Ʀ/FÅ%8þAëØ#Ñ…J©š¾p‘FQ¡ª$Q‰ª¢5ë:Hé0' РQED‚DK$e]›¤t³Ñ4I¤JDUS*¢œ®!¥³Bxç•KàÖÑOƈ¤ô¥5³ˆHøàöupóê‘9‡Ý‰®Q píÒ«j–¹¥'ɬ4nÿþxöÑÍ9­3’¤Wü¶õø3—Ïj7ŸûÀ…ûËœ¿ÛáoßOò$¹*y€’„”¤HIЉ$HÈ=m¹û?!|n‹m°¢IEND®B`‚speedpad-1.0/doc/static/glider.png000066400000000000000000000005321165153245500171560ustar00rootroot00000000000000‰PNG  IHDR:˜ ½sRGB®Îé pHYs  šœtIMEÙ ;ÞS¡ÊìIDATÓ5Ì1KqÇáÏÿoÈ µ…¶Dà K´Ç¹¸ä hi zÍMm.5¶Í]›D`u kˆeáêq÷û6DÏ x\¼.ù·Zg¾KàŒÌ,:…ê25³Œ¡™åý¸KÍ,÷@e` @^’˜^ƒ³ ’p÷%9âú,+%Áj1ýa,IÏ’”,…Æô/íÊÌ’pî=ÿÜødhfÖ•™}÷€xe>-Íf¸,)O¢æ‚÷~ýP‹Ö^ïcÙÞi ö“6pãÀ`ùD—@ä·Í`hž¡¯*ǯՋ¯£µÛ(<ø 3ä†bnˆIEND®B`‚speedpad-1.0/doc/static/gplv3.png000066400000000000000000000105151165153245500167450ustar00rootroot00000000000000‰PNG  IHDR3¾'×bKGDùC» pHYs  šœtIME×%/¦¢VVÚIDATxÚíy”Tõ•Ç?÷u5ÐaP41C  Æ=‘ÑêªfS1—Dã–Ñ::htFã˜Éˆ‰ar‚£1j\0Ô¸0 ]ÝˆÒ ”MÔF”€‚ÈfÝUïοWô¯_×òjiZ9ÜsúPUï½ßï½ß÷î÷þ¢ª¢/?U‹ôøp"p’÷ï@ 4),¨Ã䑪ëäø_^Z"RºÎ®Îñ€Ø¬Þsá$“}À-ÕGƒ_-2\ൃx-ߎ:}n6‰š´|Þ-°Ha03ªº6†Ç œ.0$t2a¹ =çIPï/èýíöÝJ=Ð7+<甪ïd ªúv­È….¼ë¤P“=˜‘W˜)ð½/øû€¿]€£€¾@³ÀC<V­ËuÀ°ê¦j‘÷zß¿1 õÕ°S¾·#0OáCàŸ€*ËM¾_ÈM@i ðkE½Vðøª*";;øVæ(̾$} \Q}±HótN@É8¨U¾ u–—Ü´X ØÛ~ œj3„' øj‘o')¼ ¸8äµÚ¨uáÅXlÏA½vvaˆUv±uh™ãòy˜8” Œõ~ÞâÀpëþª3Ü×Rï¹vàÀ÷=…Ÿ #ð Pnk¸£¦PÄx\àV`_ ¼Àöôgm±—¨&òœðpLäà|oü×Ã¼Õ ô&05&28 ¨·Ç«9>Ãêí Áj ”ÚÿX`’ ›~ ðG`\¥ê²bNZ+ò àbi#U7‡¨‰^b2EI)¹j?ð"ƒg5@l\êk¬qš¥­ÚM‚u› ´T¸³JuµõS³÷o½ï¼Š Ã,«Æ½ÏÛÚô&…_Ï¿“˜iÃÈÍP5J5å½¼$RÞ úv‚’슪~dâ:‘2þ 4'à>¬ŒP&©·íý{²8¸$€‡ß |ã±>ûÁºVàÙ°W¸"ùe’ˆ3¾|Vß¹™À_jÍûV;zûË~àÝËB/| |­Hט´ï•óVæšuk¬9-ˆÖl„‡NQ¸,)0AÔ¾-õ>_`HÀÅZqžj£õ0Gý“ž¬ºÌéCvàÞ®RÝï  Ç¹ÐÍób%_"Rês ü̽Öú¼¸@OÜ'ðKþ%éòéÜãyþ¥)®)W(Év5"×{Œ7%ª:-ù{ð‡Z‹Sç ‘*z" }LS‘Ž¡š-E#Õ§sUXu7-îû)i¤,)íŸ&?GT×ÅD6{ñu1h­Àu® áÒEM;\¸ ¼'éw7eÆ 4dº˜Èx`Š@­Àm>üÒÓ ‘N´¨R>ð³ØRû¼ú *¿(c&U»<ÉÂL [|ß‹%ý/9pš‚º&K74#ßT¥úZ‘.ž¿³øIிDµ)ð?¦+Cp©åÛd¿Q—I©i ÁŠä±¹"ÝÁAV¡Ä'ù6À®D' øÒÖ®I囵5ÅÆ¹"a_ˆ·ÜVU¾Œ`«1=àjƒA‘˜) ÿg*fR¨‡6¥Pû÷¨º1‘ÙøêóVÝT#r5ð£öPóáÖaª» ¤ÌŽÊ˜|1à:V캿´8K¤[g‹1lüœ©NðM¬J™íÐùµILd"¦O-ëÅ‹rH=wM£ù^‘¶à»À„ˆêºZ‘£Ôäê‹F Åtì̲Ì×a 8ÏëWèëi£OøiXõ­,>ÉÕÀç]`N.àÛñýßíäN'³1 Hx²u„jCÜÊ>{Å—ŸHgfÊÔÕåê씚<þ)ýŸg+í5º'™USxãk øú¸0¬º©Vä0¯Šw 0ZR¬‹ eÒ:5"yþÕ}žãØÛÏXÌÉ'ÇlH>ÄÛ¶}Þev˜”°vŸ…áÝ<œGìpÖ&Ï©´íí‹S‹§Fäj…ÑE ãž(± ‘˜Ès^ÖñàÂ4ë’ÓÌ™’jEz(üXS“ÒJqa+†wóÅÓUÝÚ¨h·À„‘ÀB;¹ÓœC¬­iÀ÷h&0XãÂå¨j;¨û…® ëÉP}ô=ó2„Â÷ý€h:©O ¾)ìj…uõ¾˜zHž’_‘Ž1(01’ŠA%8ãdê 4*\”ìpMµ­{Á¯Ìñü{+UïÏ î'×GTc™J¾Üù0¬ºi¿V0É‚ §V6Ý~¢mÙµB “üú<=Ü4 j‘*¯ÍêÚ¨êrË7GÇÐ^k*UŸÉü(…?KìE¥¶6?S1'õÜʦû ,Û«àk‘û*|½Á·3~µ"! VL>ïÀTa¤˜rèÛóáÑäÏ;Œïˆ=ïgg>&ò…¿–»¡%0øZœJ^Z¦QŸ}v Ï…·jçrV-àù9-d¼ìÓî¶«‡ÀåôÝ·w7}û‹28xƒ€WvÆaTªÚ}Vµ?Gäèkkž¹wÉp‘Ü:kƒø òµ÷Éh¯ÙhžKsÜ ,®Ti-pZö´;‰éŠþ·JÕ²dMO³37ä@4ªúAÐ9Z_âk—.ñÅ¿Õoåúµ"]¬”nÚœh/D› LÍvQLd}2©Tb U žæø!p¬/ßÖ^½‚zã…j2…IëÖˆDÅD$ÍŒçØçïd°÷¸pÈi3DJò½GµÈh…W’‚)>ûLö9ö ÏKW§Ñ>w±¨ê\ßB•¶3è»&v‡“£€¯¹LMïÀæT„UësÖ.öN ˜ÈRL·«ŸvsPYÔ8x~ œÖø4Ï€íÝ<¯;SeD¡>ªZ1Wd°c$odTõU¿3yýžE½x:wPý8ÛÉ3DJzÃd…[½¬àX¯…¼Á÷RŠÛ Ð~RÜž.\üº º§JŽT‹<áõ¿ƒ>žvàá°ê† ÌéÓlúó*ž,ëÂ)Ú¹rVûj²zIà78ðuû˜_èÓ*üÖc8BM²$ý(n²o3½Í…íI¡œ‰Ù@º4]V¬“éˆ)¤Ás§ÂcáüsDõî ÀW‹T4›ð3£ªW|+ð}{ã¸PâÂôä¦6^g©Ù]´µ·{^7õ¡—pá.<U ¬óŽmõ…‡Û—ÀïÕÜK=° ó‚!0/ú h´Àøc“ "ŸK€y˜×™à»%ÍBŒÂ™˜|¸ê§eæœé´¼'mÃìÍ›Pý¢ª×TªÎ ºó¶N¤,&òo];¹‰¨þ®(o}¶‹9õ }6yßOWÓnw ª0Þ[ÐGŒ_ ¼îÀq8&\xËŽ·>ŽÃ®Rã^Z-ò¦Éþ‹ÂèçB¹À<ÛË gÄáñÎpdsà …g»Ã©;ài•.| pn)ÜÚ ƒ»Ãü†9^žÏ6×>'p*…†&xDà»>­ôC ›·ÈiÉÓ ãçˆÜ‚sªº)8b„ifÃ2–U©þ#_pjD†)<Ž)aÏ(…‚Æðm¾·Éñ³¤ä@E¶•xõòܵ ¾ÛËHjo` OÜ ÷ö2žó8…#Nßt6R8¬µcÎTi•°(fJ¸ÿêÀ`ל{lDµ,&²[áf1ÙϽpìOÀîtaøVø}oø/& ,ñrï*ìqàW.¬Q˜èÀÑ^æ>ráJ'š›ˆÇOSõJešúÝùÚ^T'R¶ÇToö´â ÕÅžÇÁ‘’Àû>…¥v¡Î…:}LHÖÓÂô¹À …í½áOÍžòÓÝL#ã7­}Ë«¯ß¨æÝ7¿PóÞ™Ùqã= xs¶Èá@ÈKÜ X¿ÕhŸSÕ0Ý…™½MsÃýb´.!¸X¥°¡É0ì×\X žt ÌJxŒ¨ñø‘bTwºH¥KG9kÑš·-…ãÛøýàû¶a/ícöÛŸà3ÉXøk{LLÚ¼ªp²Â ‡™fÃjll 5fß&#™c®þGàVAÞ¾´;€ËKán ñ ãW QXq¤Ù‰Z+Ð'¬º¸Î…~!cnþX˜€f…SðFÈÜ÷ºRØlåŸÐbŽ*38¥_íÐkEU‹<ïù(=K#ª—SͧTû1‘§€Ë¼ß–cö¬_éK5”{“aÊtŒÌ„mRxJÌþ½sRÔ V/{±ÿù´ìókÀ´=õ@ùHày56ºxØ;v"ð[ÌÞý%®ih…aÂg<‡ïx`p†Ƽ.ÊÓÕlÊøº5ïg* ›æ‹Ñl.®öò S›áÞ\Û´ó¿Fdm•µƒ†EUÏhïy¼^ÈÛ=õ^LÃŒÌ!7_0ø¯ÁÍðñ!Ø[I8S§L!T#2ÐÓjWx~VÀm•ªKôs†âùkÖr”zÄ„%³ªEª¢ª Š1î$çLÞ˜4“b^Ö0¥RuvG=oHþwêæ"ñÉÌM0?&21’çn™—DÊËLÔ3f¸y3öW1éó)øV+Ì©R]ñex¶ÿ@_÷ŽÏÞÑIEND®B`‚speedpad-1.0/doc/static/logo.png000066400000000000000000000503541165153245500166570ustar00rootroot00000000000000‰PNG  IHDRÈ}h=»sRGB®Îé pHYsˆˆÈ¥† IDATxÚì]wXT×¶ßçL/ Sè0ô^¤)½‰` b¹– ÆÞc‰5ÍhLl‰%Vbb0,X°ƒ"Š‚ô6C‡˜~ÞëæÜyh¼jÊ»y—ßççÇ™Ó÷^gïµWù-ÌÈu ×̽¢Q1µ–èõ3‹Ž÷(uCˆ@l A Yö×M*AÿÜìÃß3æÑ›:UZñë&MÚ¡â0õz™@<6U«#j1^þ´Ê5u8„aÒj†! ŽéáCBÓh 7kΓj9†! ÓéÃ4:bx£3¹Mt*®ÒèF 0Æ0ô˽nõ7bÐðŸïHéT¼¯cþî°7cUIÞîŒ*©!älÉ.oìqq¤yÙréTüô])ŽcZ-1¬¿“NyV'¯”ôØ!‚j& '²¸ð 91Ì´¾EyïYÇÀ~ÂÂJY´JÁ\¬7áÓ5Zbv¼XÚ®ºü°uÄ£¼ÒŽ~v<U§C!ް6aÒêD “BÁû«ÿ'`1pwkŽB­cÑq­Ž€Í–.µ “BÁÔZÂ×–[R#¿RØêlÉ1`Sܬ¹Ïš1\Ò®>rµ‘Ï¡5¶©:ºµJ5ñÃMi^içÓšî-• åyCJC4´ªººµlåDŽD¡&ºz´­*G!Ç+uÍ*‚@^¶:„º•:¥Z‡ú&Âÿ+t%µÝJ•aa˜\¡{ZÛ­ÑE]³Ç0Ç•j"Öר¢±§[¡{Z+WkÌÂ3ÆÒÁ£©Cá)¸_ÖÙ£Ò hí25†SqL¦ÐÂf°+ÿÁóN…J'0 uuk¨ŒÅÀ›;Ô†„8L "\¡e3(ÝJ-—E!Ô­ÔöõÊÿà8&äÒZejD !C|.­µKÍfà:u+´lE®ÔÒ1 µvª´êÒ¢¾vëCúЇ>ü—ãï¡_³X,ÿo±\è]OwÏß^°,,,ÌÍÍëêêÍÍÍ^<ˆü]$µ´´¼õÍ<<<Š‹‹™L¦Z­©©©»víêéé[455!„.\xéÒ¥çÏŸwvv2™LØ»ÿÐ>{»ÿÁª©®M}wA—^´hÑž={”J¥F£éß¿ÿÝ»w ©‘‘‘Æ Û¿ÿÚµk=ú¢`™ššr8___„ƒÁ°³³+)) “H$ùùù¯{ƒµk×&$$Œ5êÌ™3ýû÷?tèÝãÇBžžž×¯_çóù£G–J¥¡sçÎ=þ!Äã‚ÿÁêèèü=íèÑ£333;;;ÏŸ?O§Ó7mÚ´zõjÜÒÒÒÎÎÎÂÂbÅŠö’™Q"‘ðùüØØØˆˆˆŽŽŽ¼¼<¾Ñtuu=|ø!”——§Õjmmm===a@BÉåò>ú¨§§'---;;;??ÿûï¿W(}ÊÊügÐñüùs77·û÷ïëtºªªª_~ùE©TR/_¾ÜÔÔt÷îÝÑ£G‹D¢ììlýÓ¬­­««« FSS†a2™ D¤²²òMÇjCCC‘Häää~åÊooï'OžÀ^ccã;w2Œ 6\½zÕËËK­VÿK°ètÄ`üíBÿÏS3túßH°$Irrrvv¶··wTTÔíÛ·Ÿ?Žá8N¡PÔjµ\.×›FoþJKKûä“O`Çñ^°X,rÔy3åà :;;{]Y$uww÷ºæ‰˜h'CÞÞ(j„v $ûëª.™ìbÖ¥¿’þk?2 •JÅ`0 †aXdddxx¸B¡àp8±±±aaa¯¸J¿~ý=z¤ÿËâÅ‹I±{ÝA‚NÏÈÈØºuë³gÏØlvee%B(222//ÉdŽ;ÖÐÐÁ`ܸq£®®®¬¬ !t !‡?¡Q”B¨õáíUTTÄd2GE§Ó[ZZ >Œ‡„„ÄÇÇ×ÖÖ~õÕWYYY½N KNN¶°°Ø²eËÆétzRRR¿~ý6oÞ¼iÓ&¡P8`À‹õF²bÅ ‰DrãÆ 77·®®.øQ£Ñèt:‡®®®ÌÌL+++˜yI»Èþõ¹37®^½êææ¦V«wïÞ- <(“ÉÚÛÛ),‹ ˆ†††5kÖ¤¥¥½¨]»v­³³ÓÇǧ½½ýÉ“'7nÜ011155•ÉdW®\qww¿|ùò›>Š——•J½zõ*9åÍ;·ªªª§§‡ÍfïÛ·ÏÕÕ5''‡Á`€ä%"$üEƒÐ1„ºû¤ãw ::úÚµkr¹<--J¥*Š€€€ªª*ŒÍfƒl™˜˜°Ùìôš¶T*p—ÉdöööÅÅÅFFF¡ÆÆF¡Pˆjmm}£§8Ž[YY•••ÉåròF8Žs¹\°`©T* ôZ-Bh BæB£¨ú¡Î>éø …b±øùó熆†*•ª³³“ÃáªsúЇ>ô¡ÿµÀ†¿ÔàÞ‡>¼5‚ Z¾#° @ˆèkŽ>üQ£U[å=*•iÀ00êkŒ>ü 2 úÒ³úðçȆS0 ­¯!^GqP*•Ä¿”SÄ`0PŸzúÒ¹§`†â~L¾^ Ó½2fÇp¡û·@§ÓÕj5ñ{{Œ †N§U«5/w¾!D¥R4-ÂǵZBˆJ¥j´šoM£ÑÔj ŽcAà8®Õé^}wªÓZ!Äf±V®XÉb³a§\&ÿxÃúˆ¿øç•Õ}rP´Õ!;[[: Û†<ƒWŸàéáþ:×uvvârØ¿µ×ËÓƒAÝ1rÒÄ Ìÿ­½†<ƒþþ~ñq#a³_?/øcBêø Ñ£BA¡ðWºÛt:mô¨xø›oÈSôt¿B.“Ñ~m7K ó€€Ó¦Mí)ccãÎÎ.­VªÑjÝÜÜFŒA¥Rß{ï=ÿºº:KKK[[Ûúúz„½ƒ‡Ãáp8;wîLNNnjjŠ­­­ýá‡|||:;;-ZÔÖÖÖÒÒªÑh•J%ÜãÌ™3<ÏçÏ™3§®®®§G!“ËGŽ™––öìÙ³ÔÔÔÙ³gwtt¼ÿþû·oßþöÛo~üñG8·¡¡1<"âêÕ«°9qâÄØØØ[·nÁæ°aó¯\IHLôððxüøñ²eËkkk]\\F“™™¹oß¾€€€ììì1cÆ”””DE ¼xñ•J ˆ(,,ŒŽŽöðð1bDjjê/¿üòÕW_ñx¼9sæ888ܽ{wÏž=ÑÑÑgÏžõïß¿°°!Äár;;»Œâp8eeeÝÝÝ3fÌ@ýðÃÇŽ{òäÉÙ³gB‡Zºt)y–»»»F£Á0lذa¡äää„„­V»ÿ~„H^`` „Èö!„x<^TT”X,vpp000`2™ÐèÖÖÖ‘‘‘T*6á`ˆa³Ù¶¶¶...p0BÈØØØÄÄ„N§GEEÑétWWWº^¤±±1œE£ÑÜÝÝ) ›ÍŽŒŒ¤ÑhNNN¡¡¡ÖÖÖaaa8Ž»ººÚÙý+oÂÍÍÍÜÜ!daaâóùfffúÏokkËçó) …Ba2™ ˆŽŽŽ¡9s昘˜ „LMMáMBà>‡ç±´´444 Aq¹\xTøŠüýýÍÍÍÍÌÌœB"‘ˆÃá8pà“O>¹víÚ¹sçN:ñÕW_‘ÍbiiÙ'N}èCúЇ>ô¡}ø3×Ke~kØÛÛ#„Äbñ¿=ÒÄÄÄÆÆæ­odmmýн¾¾¾ä¢Hôúß XX¼VVVÑÑѽ~¤Ñh)))äB°Äù—‰ÎÐF£ÑG*˜X,îׯüÍårBžžžŒ?'‘®·¹áÞ½{>>>%%%³fÍ‚å•P(¤Óé"‘ÈÈȈJ¥ …BòQp …T*U,Óh48öböþûï#„¦N ¿ …BퟶP¸ H$ …R©ôÿø,¸„B!Žã"‘þ‰DL&S(R(8W ˆD" ÃŒŒŒà÷©S§Â¹€ÃáÀ¹p0•J:t¨B¡022FFFFFFdhИ1càXfš˜˜ˆD"„“É|>Â>Ÿo'‰x<ž™™È„H$244¤R© FFFæææú3fÌýK‘‚uæÌ™¤¤$>Ÿ÷åóùG ÄÇÇ“‡ …€€CCCGGG6›-P(´²²bÿjú§P(FFF‡ÉdŠD"fllÌb±„B!\yîܹ=<O&“Mœ8!TVVfnn/õ¦Y0olÇh4š‰'zxx,_¾|äÈ‘«W¯>>éééb±xýúõAAAÿøÇ?V­ZBhĈÇÀÀ`øðáóçÏ×jµp£ï¾ûîÔ©SC† ™={6)Á8Žƒ©,""bîܹ‰‰‰¤©–¼)BFèI“&Y[[cæãã3sæL‡3fR8cÆ V?ÿüó]»vM›6 2Ö®]ëââ¢Õjq···Ÿ4iÒ¬Y³€ˆ°}ûv0aü/{4…’‘‘‘ýý÷ßïß¿ð%K–,^¼xÞ¼yú‰a¼‚R©ÜÚÚúüùóæææêêêï¿ÿþÂ… °2¬™LfeeeCCCYYÙH+y[[[[[Ø-‡ F§ÓAŽ92lØ0‹uèÐ!µZýÍ7ß8::>xðà›o¾)--…s¥RiSS“N§#¢±±‘49rdäÈ‘¹¹¹—/_&N•JUSSÃCccccccWWi³Å0Ìßß²6À¸ <¦¦¦†yxxœÛ’%K˜LæO?ý”––Æd2333ËÊÊ ÉÃZZZB¡hll”Ëå“&M’ÉddœJ¥²°°°³³ëèè8sæŒF£»=ztܸq!HØlii!‡d˜ 1 “ËåÞÞÞl6ÛÞÞÌ{}øÃ AƒÖ­[·téRúß'5žÏç§§§ƒÝø¯ŽãFFF`w~À Óé cyyy½8 ü`x ]7$¦L™¢¿ ~žØØXØ$gØ—*æ/ÅðáÃAMJJzq¯··÷KÏÎ+°iÓ&‚ d2™µµu/¢pèƒÉd¾Ts'‘’’òú«PRÉIvÖ¬Y°¬éµ377·µµý«åG$mܸ1**jÛ¶m›6m"w¬Zµ*&&F$-\¸ÐÇÇgïÞ½û÷ïwwwm Žqqq5j…BÙ·oßwß}§R© ÕZ[[I½!4þüµk×/X°ÀÒÒröìÙëׯ‡] , bãÆ666óçÏ733KKKûæ›oüüüFŒA®ì"""FŒš>}ú¦M›LMMávîÜùÁô‚I“&mݺ•tC 0`çΔ ™L¹ä<õÍ7ß „fÍšõᇾÿþû+W®„Årzzú¸qã^*X;vìX¹rå¼yóBCC»»»/^¼aÃ†ÆÆF‡ãøÊ•+.\èíííääÄf³·lÙBfÓh´ Lœ8qݺu+W®\±bƒÁxï½÷ÈµÛøñã7nܸqãFòvAAA@ ´jÕª‘#G~úé§[¶láp8ÉÉÉB¡0!!á»ï¾Ójµ|>!ÔØØ¨?v®X±"66–Ïç/^¼8((hÏž=àßü+kݺu,kéÒ¥UUUäŽO?ýôÊ•+ÝÝÝŸ}öFkhh˜7oô´Z­†cž>}š››«Õj«ªª,X@ž šµ¾b!“Éh4ÚçŸN¡PT*™M,Ù¿úê+N§V«ÛÚÚ>^,'%%yyyéO…qqq _8::úùù~þùçúÓ­­­X,vww÷ññár¹C† ¾Ô7#;ö믿Æq|ôèÑT*ÕËË †@RR’½½½@ À0ŒF£ùúúœåâ⢯Ϻ¹¹q¹\‘Hdcccll žãwß}Wß ÃX``à!CH‰DcÆŒ¡P(ááá ½öïß_ßz”˜˜ˆJLL477766†Ù6"""""®†‚¡Z_¯²¶¶‹Å cÆŒ1áéééîîŽaXLLL@@€ƒƒƒ‹‹ †a LЪt:ÝÔÔÔÊÊ*44!4jÔ(ýÔÄÄ$00ÐÚÚZ¿‘]]]­¬¬h4Žã`ìØ±~~~0Çy{{ÛÛÛ;Çq\=<<ôMb†1&çää4`À€¿B°D"Ñ‹æ–ó:j†a/j½–µ` #7ŒŒôçM}uäÅ ©E%$$è÷Ç«Dê‹ú‚Õ‡? ++«ææf__ßúøøÈåòÄÄÄŽŽŽ•+WZZZÖÖÖŽ5ª§§§¬¬ÌÀÀ€\ë’:ABBBccãºuëÌÍÍ[[[A/†)5((¨¶¶V lÙ²…Á`”––Ž7®ººzáÂ…J¥b¤@ Ëå|>?..®ººfI??¿1cÆTTT$%%¹¹¹AÀ %%%AAA'Nô¡}øCíX#FŒ(--õõõµ±±éèè ²±±ñôôôõõ-..†ã|}}q733suuÕjµ`Ðòðð€›ÀÀÀžžGGG©Tjmm=dÈþýû!‘H¬¬¬RRRüýýÁ'Ó‡ÿs„z2Œ)S¦¼ÿþût:=77—B¡\»vMߥ(pŠŠ" ¤£,¢ÎÎ΃ b0¦¦¦fff7nlkk»uëÖŸ¬Ø‡ÿÄk̘1&ÛÙÙ™ŸŸ_]]M§ÓÍÌÌjjjX,VGGG¥R D¨y{{C$••U]]Þ„X,V~~¾H$²··g±XÍÍÍW¯^522jllÌÉÉÑét}Íý_2ÃØÉÉÉÆÆ†p ꎃ‚‚ :{òäɤ}ÜÖÖvòäÉ666¡¡¡¸ ÃX@@€··7Ør Ølöë¸#ûЇ>ô¡}èCúЇ>¼4 "Y1 {<“×Oí€<Ò×333ýXB8W?ˆôMAæv¾Ñc ^En¹¸äæ•&ïÕç’É•oˆË}ñîoÝ2¯ ÜÖÖä‰J¥’=ñ ¸ºº¾æ¥år9$í¼&¦L™¢_Gnúôé¡Q£F½õ»‘q øÿF}š,$¶bÅ ‹uóæÍæææººº={öp8œ¨¨(Ø»téR>Ÿ¿qãFsss²Îª‰‰ „8ÛÙÙmذ¡²²ÒÛÛ{Ë–-`‰}÷Ýwëêêrss-ZÄb±ZZZœ—,Y2þü³gÏ …ÂwÞygÁ‚žžžt››;þ|>Ÿ_WW×ÔÔ”••¡ªsçÎ522JOO ‰‰‰éèè …«W¯vuu500Ø´i‹ÅjlllmmÕh4_|ñÙ\Z­ö‹/¾¸uëÖ‰' FehhxðàAýö]·nÝ©S§¼½½¿ùæ›üüüÈÈÈÜÜ\ooo Çíìì0 ;yò$F7n\xx¸™™\„F£AÚÖþýû·oß^YYéææ–päÈ‘3fÉBèË/¿,//?v옓“Saaá_|ñÕW_UVV.]ºôþýûõõõ†A2_aa¡X,þðÃ7lØçŠÅâU«Vedd”””„‡‡çääüa#Ìnl6r|e2Ù½{÷4L&£P(|>ÿÈ‘#dp¾F£`Ë%K–èS6vvv^ºô¯j³ÍÍÍ0ÂCFCsss[[[kkëýû÷¡I©B555µµµuuu•——“FT©T 2TXXØÞÞ^^^¾páB2‰H¡PÔÖÖ"„ÚÛÛKKKçÌ™ÓÕÕ¹="‘èã?ÖétPþº»ûŸ óòòºººäryuu52ºoß¾ŸþÃ0*•J§ÓwïÞ}öìYÇ!0??Ê”)ííí<ÐMy<^ww÷óçÏŸ>}Š‚xQggg(? ‰€úúz__ßŽŽŽgÏžA`  ´µµétºââb …’““G§ÓïÝ»Gæ&©Õj†~üøñýû÷q¯­­•Éd¹¹¹ ä-V­ZÕÙÙ©V««ªªAQQQnn.›ÍÞ¸qckkë½{÷är¹F£©®®644|úô©þ¹ ÍÍÍ*•ÊØØX?ßé…BL&“ÅbQ(¸:Ð. …BP¿ô“Àj*‰ô½4,K_W Óép5°‘²Ùl&“ Á0ŒÍfëϹ°ýj¾×¿&…B¡Ñh ’Ìj‚M„Pdd$¹TøžrZh4(LðjžžžëÖ­# ¶<Ô¸  6ŒËåBì5<<|xyy9ÌÈvvvË–-»ÿþúõëÃÂÂètúäÉ“óóóãããóóóÇŒ“ššzçÎíÛ·K$:¾lÙ²«W¯ž:uÊÉÉÉØØøwÞ¹qãÆæÍ›ƒƒƒ¯]»¯º{÷¬åË—0 ''gãÆ!!!+V¬8vìÌÂ>>>K–,¹téÌ•¡¡¡………6lpww =zôåË—7mÚäàà1f̘K—.õïß¿  `ÅŠjµº¶¶]F&;vì022b±XÆÆÆÛ·o¿uëÔ¤åp8Û¶m»råÊÂ… GŽyáÂ…eË– :4<<|ÆŒ@ƒZ»ví°aÃnݺµ}ûö#GŽ@YYY-Z´Çq‡Ù³gçææ.[¶L£ÑøûûÛÛÛ×××/_¾\.—?~ÜÑÑñÉ“'K–,Q«Õ%–/_ÞÑѱ`Á‚˜˜¹\>mÚ´¦¦¦Å‹<¸²²rþüùõõõË–-‹‰‰ÑWrÞLÇ‹/â8ÞÞÞžžžÎb±È¼—={öù0 Q‚b 0kÖ¬)++knnnhhpuuÝ»w/—Ë…ãY,ÖêÕ«»»»wìØr c»¡¡!‡ÃiiiQ}Æ çÏŸ—H$ëׯ'g(??¿|ùå—ÍÍÍ7oÞ,‹"""8Nhh()I...666ÖÖÖ¡¡¡aaa<oÞ¼y/èïܹC¡PLLLæÍ›Gj”, Nþ¸Ž?êèkÄÉÉÉ®®®b±8::ú/$$„Åb…‡‡S©Ô”””AƒÙØØ€ìFFFê÷qNNNBBBddä7ß|Ã`0ÌĮ̀TêóçÏa5Bv0ÌPþþþ±±±„$-}k!¬@áÝüüü¼½½GM~ZÞÞÞ@6l˜ †aŠ}çÎÇq ! Œh4Z}}=•JMNN&ïëääf?HÇŒŒ”Éd†ÁfHHÈСCá3¶±±4hРAƒp ‹ŽŽæñxC† !—/\.7::ÚÖÖ6<<<<<<,,,55ÕÄÄdâĉQQQíííÀìàèèÈd2étzHHˆP(„½</::ÚÔÔzù¬ÎÎN– ]]]œœ"##Éækoo‹Å`Z±bEgggII ›½l0K>}ú”Lìôññ‰ŒŒìׯPæaæêêÊçócbbôEóòåËÏž=óññÉÎÎŽ‹‹³¶¶6lXHHHll¬™™†a—/_ <}útOOOll¬¾¹eþüù™™™0ž1ŒÏ>ûŒ4ÒB[“œ€¡¤¤¤5kÖXYY•””`¦ÓéôÚ»wï2dHSS0ó–••ÅÄÄ 8‚³af\¶lÙ;ï¼Cž¢Ñh€dJ¥’ƒA®®®ååå°©T*øá‡ððpNÇ`0âãã'Nœ8xðବ,r(ºvíZEEAà1JWW×{ï½÷ôéÓ÷Þ{oïÞ½)))?nll¬¯¯' ¡eee@ ZWW§ï¬\³fÍíÛ·ËÊÊ’’’d2Ù{ï½÷èÑ#sss˜ysssõ'ñòòò¼¼¼ªª*•JE„‹‹‹¾|§¥¥åççÛÙÙA›vuu=}úôáÇ@nÒ¶ÿ~ý%Raa!dfß»wïèÑ£®®®8ŽcvèÐ!’^†J¥¦¥¥=zô¨ÿþ666*•ª´´tçÎ………` ›¢µµ•F£ÁXQQÑ»ï¾+—ËàÛ£+ŒÄ%%%G­VCƒÍ|ªeee4­ººº´´´¡¡!**J¥RQ©T°Ÿ 0ðÎÎN‰DÒØØXZZúüùó¶¶¶÷Þ{ÏØØxïÞ½ÐË$¯lþ8::ÂTøûÑ‹aë¯|…¾~ìCúЇ>ô¡}øÿ6›½yófô+ÿ6ù;YäÉÉÉ`YÑ¢áñx 㥖F8kÚ´i/þ>vìØ?õMGŽügéh“7MGëÅm¤o{}¼ÎYƒ "cŠèt:X7|}}_«8|øðþýûƒ‰Xÿ÷køHŽYXäzzzþÛSÞµZ|ýúõÍ›7AÌØuìííoݺµlÙ²–––¹sçÆÄÄdgg“¶ÁI“&={6))éêÕ«J¥Ã0’ ù‹/¾ÀqÜÄÄ$11±¼¼|É’%‘‘‘d]ç;vÜ»wÏÈÈhòäÉ¥¥¥ƒNJJR*• ,8räHJJJ\\D"¬\¹2$$„N§§¦¦‚µ!”“4mÍš5fffõõõ C©TR(www¦T*Á.®*­VkeeõüùóÔÔT° ½mâĉ£G¾~ýzÿþýÇŸššêïïíÚµ5kÖ¸¹¹y{{'&&fggïÚµ«°° r¡ÔÔÔÛ·o9rÄËË‹|/??¿9s怯ÝÊÊjîܹ3gÎüé§ŸÖ¬Ycjj:dÈñãÇgdd¬^½Z lݺÕÝÝýÞ½{[·når¹PIšÇãíܹsÏž=sçÎåóùOž<:tè­[· ...ìŽ&&&ŸþùÁƒËÊÊÄb1•J7ožZ­ž:uêøñãOŸ>½xñbKKË„„ð -X°€ÉdBĘX,nnn¶²²:|ø°££ã;wÞ}÷Ýk×®-\¸°ÿþÉ忌~øá/¿üBnž={ˆΜ9ciiùã?ꛃ‚‚ÀÛ–Ã^üÛ«W¯ÎÌÌlmm]·nFð>€µk×^¼xÑÖÖöÔ©S¶¶¶wîܹqãA …J¥ÖÕÕ­[·®££ƒB¡¡PÃ<¨!°=zôèÔ©Sú#"i¥Ñhëׯ¿Þ矕’¶nÝÊ`0îß¿ßØØ˜——·jÕ*ÇÓÓÓÉh¥ÎÎÎÌÌÌúúz‹O«_©Çq•J¥Õj### $•J³²²êêêà]¸\î¥K—Àµÿí·ßr8œõë×WUU988ܹs‡Íf¯[·Žt‰B¹!ƒ‘••ÕÜÜÜÓÓ­×ÕÕ£Ãï7Rà<O.—Ã;¤¦¦’;²²²®\¹RWW7tèÐêêêQ£F‘t´`)®­­år¹Â¨/[K–,Šß---gΜÃHk¾N§»|ùòˆ#t:ÝãÇá¼q㆙™Y{{{ww7É™——×ÜÜìååLÆ‚æää|ùå—`¤ýé§Ÿ®^½ºdÉx­VëëëûèÑ#FßÃÅ‹çÌ™£V«aü?sæÌüùóÉûöÛo;''§¸¸ØÓÓè¸u:]ccãÏ?ÿãuAºôÜ‹›Ò(^Íeý[…C^2¦|’dQŸtž¸Æp'kŸ¼z%€¼4ï#ÿ@:Ú«QéWu „¾„Fx鹆™šš‚vøo³kp766~,×ÏŽy3‹J¥†……<ØÀÀ ££ÃËËK§ÓUWWC1>¥R) œœfΜyöìYò`.—ÛÝÝ ñà</===33sðàÁP¼ª§§‡ÃḺºá‘«««‘‘AÝÝÝ\.Çq™LÆçó—-[væÌWWW©T*‰/^ tËVVV ÅÎÎN*•<˜Á`´¶¶:;;?{ö,::šÍfÓh4ww÷––ý¸1„™™™Mww·——×óçÏÁÛJ¥R§NzåÊccc[[Ûîîn777©Têçç÷ôéS¸‚‡‡(j†††–––¦¦¦nnnPiÑÖÖ¶¡¡¸*ŒŒŒ´Z-¢Nv¿——›Íž;wnUUUSS“³³3‹Åò÷÷722ª¯¯÷òò¢ÓéVVV ${t]]]@@@uuuHHHIIÉÇ\^^ÞÑÑáïﺓ“SGG8¡¹\.‹ÅR(nnn:ÎÁÁÁÒÒ’Œ°X,kkë~ýú„™™™õëׯ½½ÝÀÀÀÞÞ^£Ñ¸¹¹õôô8;;Ϙ1ãܹs¸`á<ê  255-..–J¥T*• y{{û¡C‡‚ÓÊÍÍ >©AƒÙÚÚæç瓤þàÚswwÏËËóòòÂ0L(~ñÅP¯!4dÈrww§P(¦¦¦àTniiiE£Ñà8ù<¡™3gîܹÓÃÃÖtÓ§OðàB¡€gæñx‰‰‰ááᥥ¥/6^^^ r¹46›]XXXWWWvqq=ztBBÂìÙ³{Åk$&&Òh´aÆ¥§§Ïš5+))‰Íf2$>>&\¥RYRR2jÔ¨k e„ ,«¾¾ |¦¤¤,\¸0444//ÇãM:uΜ9  *Ðjµ:Ïkkk©TjUUUuuõìÙ³7mÚ„ãxEEEmmmcc£@ °¶¶NIIIJJJNNÖg,'?ª’’‰Dòõ×_oÞ¼ÙÅÅeÀ€öööóæÍÛ¶m‡Ãyøð¡³³óðáß={ögŒX8“ÉwryyyMML&;v¬•••‡‡†aíííÉÉÉ8Ž755YXX@*LÒUUU­­­qqqú9¥åå寯ÆN#•JßyçƒqðàAH„&S*•eee‰$99Y£Ñ±J †††¤OM"‘°Ùì'OžÜ¾}»¾¾¾´´  2D €(H¥ÒòòòŠŠ (jEJô5¡/¿üÒÔÔ”ŒzÕJ§Óafkk 5‚rss5þŠýùóç---555'Nœ8vìXYYYSSSMMMYYÌõÀîôäÉwýy™ ˆ»wïÚÚÚ–——·µµQXXøøñcÐë ÅÝ»w7mÚTVV¦¯T€›J¥‚öÆd2 µZ-ÄW–——ß¼yS§ÓÁ¦‡‡|{>›ÍÆ0L¿ž”L&3f Nß³gÏÒ¥K;::***:::JKKoÞ¼©P(t:¸¢_]2ííñŠ ;èW  gÏžM¦ü_qÙØØÌ;÷½;¼õK³HxzzêGÑô¡7–,YòÒß¡bàëG~½4¸´~gÂøo¾þß ¿|ÄÄÄèoB`'†a/-nø÷…ByEô?Tr)´uëV•JµeË–ôôô3gÎ :ÔÂÂâÛo¿6lØ7233‹‹‹8Я_?™LvöìYý«ìÚµ«¼¼<77wܸq=ŠŒŒÜ·o‡ÃÉÊÊúöÛoétúÆíìì !4tèP¨†òÁ0™ÌÂÂB¥R™ïèè¸mÛ6;;»;w§s8œÊÊʶ¶¶ .¸»»k4•J%‰Àè æˆˆˆ¼¼¼¤¤$¹\>|øp—åË—Cñ•eË–n1jÔ(>Ÿ/ ííígΜ¹hÑ¢¢¢"ggçÌÌÌŠŠŠøøøÒÒR—ñãÇOš4)..nذa6l€9wß¾}2™¬¾¾žÏçëWH„®Z²d‰\. üùçŸOž<9mÚ4àÔ¼sçÎŽ;vìØQ[[ëíí‘‘qâÄ ˜øúõë—””4a„Ï>ûŒÇãýüóω‰‰“&MJNNîîîž0aÂáÇϟ?=zôBúwàÀ“¸¸¸Ù³g2¤¹¹ÙÄÄdĈiii111®®Ñh=z¸eË–… B“ŸŸ_]]ðÄê,ÿ$üË@ÚÖÖV]] »»»[[[¡ÖÄ‹æää@lFFFkk+¤¬çBíñ¶¶6(œDd:üðÃ]]]W¯^5j‡ÃÉÈÈ mQAœ]£ÑÜ»w¯³³S¡P·ê¥K—ªªª\]]¡HçÙ³gõט»wïž7oÞæÍ›á!õÍAüôã:®°°0##.ª¤böÙgëׯ/((©dddÔÖÖêtºM›6mܸ1##–§OŸÆqZsêÔ©Ò²RÈ®ƒl3žÃåÔÔÔh46›ÝÓÓãååõ¸ø±P$”4JàyH¨Ô:„ŠcÒê­–@Q)˜FKP)˜ZKPpŒJÁBZx\t†éÇ0Ç4Zþë&f=ËÈ9 !âuÄ …BÁd0{=Ðï‡N«£Pp„0¥J‰c8F%þ>Š ¡#^lFC£þ¾· B© ùÿm×( :ƒñÖ * 11Ú¼«G{ãq[»Lãnñ7eã8zXÞåjÅyPÖ9ØÏ¨BÒ}³¸BÁÜÄ| Gƒ|-ž7tѨxs»B¥Öp5Î{ÖÙÏ,;¿Jè´„Võú·gÒ©ˆÐÚ?zäDH§Õ"„h !B§Uÿ½”â„‚¡ßÿ ZBûZÍÍ S_ÿà¡Qk­);~®w°`‰¸H.W\-èBr°`Q¦ZÒÕØÌ²qZ…˜!ûÇ'c> éÔµMò ÷*÷/ ϸV™u·ò£ñžëæâ¨}€/Çò˺ZºTrMW·Ö€EÅ1„a¨«[ûà B¨Ÿ·¦YA¡`!&rñA›AiíR~—UÊcÓTµ)GG *GQøÖ~L¡:D¿ýï7÷:B½7 BGºßÜ«Óè%{ÿy̯ç¾þ¿7=¾÷íz=äË®öú?¾ÎíàõÿÍaЀ¿ãÕ^§§ô7µ:¯=×ÛŽ›ÿ¼£]¦V©µ=JF«cÓñX_\¡)«“k4º–NŽ!FÛÐ,¯i’5´ÈcýÌ9 ʹ{5¦Fay‹F«}\ÙŠqùÆ&O9õÓ©–––ߘ葑‘Q‹• ƒäwÞ9vô(é+—œüý¡C¾¾¾J¥òÙ³gï¼óΑ#G`%Èçó¿ýî»iS§Þ¹{·²²2))éè¯{ÿéÖÐim¬m”€ñŽ ­½­—Bhmm]QYIy+ÝÂÒÊ2"<âØñã„N‡0¤R(]ÝÝË_ ѳ²²ª®®Ö$>>¾¹·oÓ_»è†V« uvrnjjz…{NGîîíµ55ž^žE…E‘Æd2u„N¥T½Åk²Ø¬Ôñ©_íüŠN£COÅÇÇ÷Ýw`æp8)));wîÄ)Tº ß±_@§Cä«cBÄ?{@§#0 Â0„a˜NG˜››FDD?~¹¸¸@AvoooðrX[[³Ùlkkkkkk¨ÛÛ‹ J?0Ìû†( „„„ôôtWWW 2LRI¡Bóš5k dbbòbÁÈ 6øùùX[[S(###kkk>Ÿ›‰‰‰@,ÛÙÙžX,†„zÇmll,--¡Ò=Išõj$''“DNàœ÷¨™™™³³38ï-ZD£ÑLMM•ÉÕÕŽãNNN"‘ÞˆsæÌØØØC‡>|ØÌ̬©©I©Tj42ÅYß3¸råJ’æõáÇ+W®,..¾~ýú®]»JJJd2IÒ–©Tšššš——wùòeFóbß;99=xð`Ê”)sçε°°ˆ2eJppðäÉ“étºD"‘Éd‘‘‘UUU:ÎßßêÔ©b±xÒ¤I:î‹/¾øþû’‚ã¸~ØoáøñãÆ #_ÍËË ÂÎÖ¯_¿cÇŽ‘#G‚è777«ÕêO?ý¬\"‘x’+åMES¦L  Ñh*•jذaS¦LÑ8joo‡`8ØÛÛ[¡PTWWGDDÌš5+<<\$õôô´µµM™27ºººÚÛÛ¿ÿþ{ ÄÑgî#Æ…ÔÔÔ#Fô#u:Œãããõ#Ì~—T,4h<åÂ… ™™™ ¯°°0NÇb±^$îììÌÉÉyðàÔ5‰ŒŒ¼~ýºÁ’%Küüü<==ƒƒƒÁjñ C‡555ݶmÛéÓ§ƒƒƒzÅœ „Ž=:tèЛ7ož¨(Áéüã?nݺÞE¡PˆÅb06¾$ |“!!!†EDD444ÔÔÔè7oee%ˆÄ«B¡èêêêèè8þ<•Jíîîö÷÷wppQP«Õ¬wàÀH)Ð'¹Ëåà)ojj‚6×'Uìêê2ßÊÊÊ{äÀápzÏl¯Žàû§â8‹Å‚ÿû…B¡è{©õsþq'¹'õ÷óâk>è¸qã~g‘æß\œÿÊìØK™{ê›×r–½òÇãøKC !™ÜŒŠŠz©·›d…$ >_|—vÍomþ!4¤oÃûàããcaaA¡P–/_.‹}}}ÍÍÍÉPÏÀÀ@sss{{û¤¤$fjjJr…„„899YXX,\¸pöìÙ .„Qíÿju=jÔ¨÷ßüøñ¾¾¾¤ØÙÙÂÑ‹¼¢ÐÞÈ%Ïår_“ÿòE,X°€ÅbÑh4˜Ô õýë .d2™ææævvv‘‘‘+V¬-óûï¿G™šš¾jgg§ÿ#†aëÖ­Ó;ˆV²µµÕ§Õx{$†}ôÑGÿËWøZ'Ž9ÒÈÈÈÔÔ4***???..Žó»wïÆÇÇk4š””ˆ‰‹‹‹#Õs6›]ZZZ__ohh¨Óérrr ð:jП„‹/6551 ý)#11ò”&L˜àààýí·ß"„&Ož¼téR2^jçÎãÇ?zô(†¤§§¯X±bÅŠiii eçÎééé2™ì­#Çy<^OOZ­JóŽŽý±ÄÀÀ@¡P444 0€Ãá|üñÇ‘ƒÖë‚t:Â.]º´yóf‚ ô5f:™2¿“g† P¦ßL°êëëwïÞmmm}äÈ`ÀÙ½{7Nçp8L&388x×®],+;;[,ã  SŒ••UKKËÎ;E"ÑÁƒ_ðô§"88øÄ‰\.÷Ç$§¿ëׯ×}æÌ™çÏŸûùù}úé§¡ƒ1wîÜÓ§O#„fÍš%‰îß¿ä3Çïêê"â‡~±Û¸qãï™YÈÉöÑŸ a¯……ÅÉ“'1 ûàƒ222ȃ!Œñ¥ÆøœHVsýatÖÿ³š’L&3<<œN§;::ÚÙÙQ©Ôàà`F£Ñ ¾aPP•Jµ°°011M²i FTT…B°.—Û‹zú/FHHHPP“Éì•K‹\.—* Œ"&&F(B˜N /^ j@¿~ýÜÝÝù|>D=…Âß™idddffF¡Púõëçäädee¥Ÿ=aaaY¡¡¡L&344466Ã0;;;‡×ÚÐS¡µk×Bý¹•F£Á^ggçשNòj–·oöI) ‘H¤R©ÚÚÚš››£¢¢D"‘Z­Öh4 …bàÀT*uÆŒK—.500ˆŠŠ"—srrX,ÖºuëFŽikkËf³_´cý€ˆooo&“9qâÄ‘#Gê+Ú`þ‘Éd7oÞlkkƒ1éÒ¥K­­­R©LDYYYŸ|òIaa!†aÑÑѧ_¿~aaal6[­V;::‚áííž°ÿþl2tèP0×é[¹êëë% D+(ŠÛ·o!‰***€ïêŹrÓÓÓËËËÙl¶~£@ ŽÅgÏžéÛ«ßÑþÆc5h$€ÃáXXXœ;wŽüâGÝÑÑA¥RAÃhjjêéé!?5{{{­V+ >|èíímeeµ|ùò¿†³×°«H$ ðññ)))!“"§M›:Öœ9s¶lÙ2zôè €6˜˜˜˜˜¸téRô¿+ü`öã?0 øT#""rssoß¾­„þ¦ÓôƒÔjõ–-[BBBrrr^:»iÇqhäWDð‘Âþýû!žL[‡!Š Ì™3gîܹ¿§y Ží ì:­­­J¥ÒÔÔT.—K$(ˆ •JwîÜ ¦ü7‚ÉŠœì «’ÄOœ8AĪU«þ¨µýi—`ïÉÊÊb2™sæÌÉËË#G,¥R f˜ìì캺:‡Ÿ~ú !ôË/¿ØÛÛÛÛÛƒÊ,¤uÑÉÉÉÍÍÁ`œ9sF.—777ƒùþ­u,²[JJÊwß}÷êÃôÅ‘ðñ”””lÙ²åªÎUøäÍ®"‰p÷òò ]¾|ùõë×SRRjkkY,¬,V¯^]YY ‡ãøêÕ«IKîÝ»w7oÞÜÙÙ¹uëV`(¤R©ÀŒýWÂÝÝÝÉɉJ¥0àâÅ‹®®®‰‰‰äˆuèÐ!°,…††^¼xÈQ†~ùòåË—/ƒCFŸ”›9sæ\ºt ¸[%‰P( ~Ô·@vvö€ \]]ãâ⢢¢´/ †jNF×ëׯ¿b +„•òù|}í¶¦¦ö>}úT?ßý-`aañâšôÍ]›,V||>ž¬!cgg7vìX ÃÆŽëääJb¯ú9=D"QLLŒþ·ô¡ÑÑѯ.Y¨Aƒ‘Ä»¿Ÿ–ÄoU‡Ô'€ýÏÄï÷\]]333ÉpOOÏÌÌL''§ÔÔT¡Pد_¿+W®y‚?þø#x”“’’–,Y’””ô[TGFŽÙØØHN…`ѵ··ïêê‚bLÐÁ<Çã6£/s8Ž¿ÿþûvvviiiè×J‹ô«"ê+LÞÞÞàó`±XàwM Jkýyå-ÿ"ÁÊÏÏ_´hQ^^læææ.^¼¸¸¸øòåËJ¥òÎ;<4˜ššÎ›7¯¡¡!11±¨¨èÚµkwïÞ…ÌÏÿC8p€Ïç“£w@@€>©ÎôéÓáÃðôôœ>}úôéÓÁ+¬N¼yóæëׯKÇ‹Þú·F/ÒÒg< càÀ ,HHH© [µjÕ~úO¬ÐÐЬ¬,¡PH:¡Ï;ÇãñÌÍÍû÷ïïïïoiiI:5ËÊʶmÛ¦R©öìÙ“™™©Ñh¤RéØo‡‰'ê¼8|ø08¡ËËË=<;;›zHKKËää¤ÉdÚ¿JÍl›!ŠâÀÀ5iÊÏÏOñ(i›m«¥ÙNü+ôz½õõõz½þúõëv»Ýçóùý~*ŠB·[O§J¥2dffŽŽŽÊ²<<}°'/eÙoVVªkªGþ4©5 B/æ^ÔÖ|ßëôûƒŽçÿàð½®®Šêê½{÷=üžÛ=88¸¹ ©Ó=r´§§Çb±øý~£É‡9·u¶° °åÚÊËÊ?éù¤¶¦öù_ž'‰²²²?~öÁ@L$ívûââ¢ÁQ]]322âr¹ú>ï3 î*÷èØh]]ݽßÝ;rôHoo¯ó]çøøSŽãßÐOeYÖãñ<z¢ÕhÖAÔØØØýq·Ùd²æä ~ð£Âá°ÇÓØÛûió‡Í_~i4šJ]¥ýö£ÿ*è%™Ð0 ”eÂ2›œæo#È2 ‚¤ˆ‚BB&PÞBèhhkmižœ_?¯cøp,Tç4~1²šTSó}¬,Gžcâ]æ˜4 å9Þù(¯d²Íêþñ—žŠÜq_H§VfùÙÀ«wr3 †—"1ÆëÙüÀ¯Zž­/5>›_?¯c|4®Ú—ñùÓPމ›^ü{ T0Q†¢„Û~ì˜ð­J2ó…²MêÂlýzL4êT¹Íô|”)¿ôê• Ö:-Ss‘Ê’]3 чcþDR{Z‰Ä`:Þd”ƒSQÂ3~á¯/7ô<óði(oWlSÏøŒ‰$a ã÷ìºç~a=&@Ž´FÖ?ûÉ»+kñÉÙ°³À’¾ÀÚÐÔòµS•—~ý5¢iMÆ„A€A€SÀöcsËqBˆLÈîL•§Üœ¿›“ñf®$D|¶Ùñ«ß<Åô -,Gc¿¼;ö‹ïCšW0!È2pûÌiüïµöf @A^Åü¼ÕXM`B0¹»8O¹ÙjTÑOOS&!@Á"LÅØ IeRABB1T47”/G¥¸@q >þsTÃ)yzGžî‰wmn%ˆQ§Š‰deMfR)_M®Ù ÁÕDíìÐ+±åpaï°?)göZLâòF‹2¥¯ˆÞ/³¼ ‹ `€’2|4å9E©=£8W÷ÕÔÚÜJBˆK&gÔ«C"à٠ðÃ6ƒ–ûý£ùúƒ¶GÏVìÖ ½†[ø&–©ç¿žY…Jýn Ð±)® B€$€’…”+Ó²69Ù2&TÂFÁ Q  ˜–¡´Øtx›ª7Q& ¦²¥;‹ÿ&mÞ&D,c¢R ‹$™@X“V²iM4ÒHã-Âßß'OÆû[YIEND®B`‚speedpad-1.0/doc/templates/000077500000000000000000000000001165153245500157115ustar00rootroot00000000000000speedpad-1.0/doc/templates/indexcontent.html000066400000000000000000000102711165153245500213020ustar00rootroot00000000000000{% extends "defindex.html" %} {% block body %}

{{ docstitle|e }}

GPLv3 License

Welcome! This is {% block description %}the documentation for {{ project|e }} version {{ release|e }}{% if last_updated %}, last updated {{ last_updated|e }}{% endif %}{% endblock %}.

What is Speedpad?

Speedpad is a small and portable, ncurses powered tool to test, train, and increase typing speed on arbitrary text input:

  • designed for intermediate to advanced level typists
  • assumes that you have already learned how to touch type
  • no lessons, no single words, no synthetic stuff
  • tab expansion, auto indentation and syntax support to train on code
  • reference speed robot (defaults to 100 WPM)
  • supports CPS, CPM, WPM, PPM, and CPH/KPH metrics
  • shows detailed statistics about speed and typos
  • helps to find and eliminate frequent typos

Speedpad requires Python 2.7 or later.
We also recommend to install fortune. (not required)

Download Download Speedpad v{{ version }} [speedpad-{{ version }}.tar.gz]


{% block tables %}

Documentation:

Meta information:

{% endblock %}

Examples¶

Here are some command line examples and ideas how to use speedpad:

speedpad file1 file2 file3                        read files
grep ^foo words | speedpad                        read stdin
speedpad -c -- fortune -s -n 500                  (default)
speedpad -c -- fortune 40% startrek 60% linux
speedpad /usr/src/linux/README
speedpad --code /usr/src/linux/mm/pagewalk.c

Development¶

Getting the Speedpad source code using Git:

$ git clone git://labs.feurix.org/feurix/misc/speedpad.git

See also: Git Webinterface, Source Browser

{% endblock %} speedpad-1.0/doc/templates/indexsidebar.html000066400000000000000000000031211165153245500212350ustar00rootroot00000000000000

Documentation

Examples

Resources

Downloads

Contact us

Support us

speedpad-1.0/doc/templates/layout.html000066400000000000000000000017251165153245500201210ustar00rootroot00000000000000{% extends "!layout.html" %} {% block rootrellink %}
  • Feurix Free Open Source Projects{{ reldelim1 }}
  • {{ shorttitle }}{{ reldelim1 }}
  • {% endblock %} {% block extrahead %} {{ super() }} {% endblock %} {% block sidebarlogo %} Speedpad Project {% endblock %} {% block footer %} {% endblock %} speedpad-1.0/man/000077500000000000000000000000001165153245500137215ustar00rootroot00000000000000speedpad-1.0/man/speedpad.1000066400000000000000000000100221165153245500155630ustar00rootroot00000000000000.TH SPEEDPAD 1 "20 Oct 2011" .SH NAME speedpad \- ncurses tool to test, train, and increase typing speed .SH SYNOPSIS \fBspeedpad\fP [\fIOPTIONS\fP] [\fR\-\-\fP] [\fIFILE\fP [\fIFILE\fP .\|.\|.]] .br \fBspeedpad\fP [.\|.\|.] \-c [\fR\-\-\fP] [\fICMD\fP [\fIARG\fP .\|.\|.]] .SH DESCRIPTION speedpad is an interactive ncurses tool to test, train, and increase typing speed on arbitrary text input: .IP "o" 4 designed for intermediate to advanced level typists .IP "o" 4 assumes that you have already learned how to touch type .IP "o" 4 no lessons, no single words, no synthetic stuff .IP "o" 4 tab expansion, auto indentation and syntax support to train on code .IP "o" 4 reference speed robot (defaults to 100 WPM) .IP "o" 4 supports CPS, CPM, WPM, PPM, and CPH/KPH metrics .IP "o" 4 shows detailed statistics about speed and typos .IP "o" 4 helps to find and eliminate frequent typos .SH OPTIONS .TP \fB\-\-version\fP show version number and exit .TP \fB\-h, \-\-help\fP show help message and exit .TP \fB\-c\fP use positional arguments as command line (default: False) .TP \fB\-o\fP \fIFILE\fP write stats dump to file (default: ) .TP \fB\-\-wpm\fP speed in words per minute (default: True) .TP \fB\-\-cpm\fP speed in chars per minute (default: False) .TP \fB\-\-cps\fP speed in chars per second (default: False) .TP \fB\-\-speed \fISPEED\fP reference speed in matching unit (default: 100.0) .TP \fB\-\-wrap \fIWIDTH\fP wrap text at specified width (default: 0) .br [<0 = disable, 0 = auto, >0 = fixed] .TP \fB\-\-user \fINAME\fP set custom user name (default: ) .TP \fB\-\-tabsize \fIN\fP set custom tabsize (default: 8) .TP \fB\-\-strict\fP require manual line breaks (default: False) .TP \fB\-\-indent\fP enable auto indentation (default: False) .TP \fB\-\-syntax\fP enable syntax support (default: False) .TP \fB\-\-no\-strip\fP keep excessive whitespace in text (default: False) .TP \fB\-\-no\-robot\fP disable the reference speed robot (default: False) .TP \fB\-\-no\-color\fP disable colors (default: False) .TP \fB\-\-no\-stats\fP disable stats dump on stdout (default: False) .TP \fB\-\-code\fP equals \fB\-\-no\-strip \-\-indent \-\-syntax\fP .PP The following options should be used carefully: .TP \fB\-\-input\-encoding\fP \fIencoding\fP .TP \fB\-\-output\-encoding\fP \fIencoding\fP .TP \fB\-\-filesystem\-encoding\fP \fIencoding\fP .PP For a full list of supported encodings, see: .br http://docs.python.org/library/codecs.html#standard\-encodings .SH KEYBINDS .TP \fBENTER\fP load next quote (if not started) .TP \fBCTRL\-X\fP reset counters and position, restart quote (if started) .TP \fBCTRL\-D\fP stop current round and show statistics (if started) .TP \fBCTRL\-Q\fP quit gracefully and dump stats .TP \fBCTRL\-C\fP quit forcefully and do not dump stats .PP \fBUP\fP/\fBDOWN\fP/\fBLEFT\fP/\fBRIGHT\fP .PP \fBPGUP\fP/\fBPGDOWN\fP/\fBHOME\fP/\fBEND\fP .PP Press \fIspace\fP, \fItab\fP, or any \fIalphanumeric\fP key to start typing. .SH EXAMPLES speedpad file1 file2 file3 .br grep ^foo words | speedpad .br speedpad \-c \-\- fortune \-s \-n 500 .br speedpad \-c \-\- fortune 40% startrek 60% linux .br speedpad /usr/src/linux/README .br speedpad \-\-code /usr/src/linux/mm/pagewalk.c .TP write stats to file: speedpad > \fIstats\fP .br speedpad >> \fIstats\fP (append) .br speedpad \-o \fIstats\fP (append) .TP show speed for all records: gnuplot \-p \-e "plot '\fIstats\fP' using 15 smooth sbezier title 'wpm'" .TP show speed development over time: gnuplot \-p \-e "set xdata time; set timefmt '%s'; plot '\fIstats\fP' using 1:15 smooth sbezier title 'wpm'" .TP show speed in relation to elapsed typing time: gnuplot \-p \-e "plot '\fIstats\fP' using 3:15 smooth sbezier title 'wpm'" .TP show typos in relation to speed: gnuplot \-p \-e "plot '\fIstats\fP' using 15:11 smooth sbezier title 'typos'" .SH SEE ALSO .BR fortune (6) .BR gnuplot (1) .BR gtypist (1) .BR typespeed (1) .PP http://feurix.org/projects/speedpad/ .SH AUTHOR speedpad and this man page was written by John Feuerstein. speedpad-1.0/test/000077500000000000000000000000001165153245500141255ustar00rootroot00000000000000speedpad-1.0/test/run.sh000077500000000000000000000001201165153245500152610ustar00rootroot00000000000000#!/bin/sh export PYTHONDONTWRITEBYTECODE=1 exec python "$@" -- test_speedpad.py speedpad-1.0/test/test_speedpad.py000066400000000000000000001630761165153245500173400ustar00rootroot00000000000000# Copyright (C) 2011 John Feuerstein # # This file is part of the speedpad project. # # speedpad is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # speedpad is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Library General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. import curses import curses.ascii import imp import sys import unittest imp.load_source('speedpad', '../bin/speedpad') import speedpad stdscr = None def start_curses(): global stdscr if stdscr: return stdscr = curses.initscr() curses.savetty() curses.noecho() curses.cbreak() stdscr.keypad(1) curses.start_color() def stop_curses(): global stdscr if not stdscr: return curses.resetty() curses.endwin() ######################################################################### class TestCase(unittest.TestCase): pass class CursesTestCase(unittest.TestCase): pass class CursesTestResult(unittest.TextTestResult): def _setupStdout(self): start_curses() super(CursesTestResult, self)._setupStdout() def _restoreStdout(self): stop_curses() super(CursesTestResult, self)._restoreStdout() class TestRunner(unittest.TextTestRunner): def run(self, *args, **kwargs): self.stream.writeln("\nRunning normal tests...\n") return super(TestRunner, self).run(*args, **kwargs) class CursesTestRunner(unittest.TextTestRunner): resultclass = CursesTestResult def run(self, *args, **kwargs): self.stream.writeln("\nRunning curses tests...\n") return super(CursesTestRunner, self).run(*args, **kwargs) class CursesTestLoader(unittest.TestLoader): def loadTestsFromModule(self, module, **kwargs): tests = [] for name in dir(module): obj = getattr(module, name) if (isinstance(obj, type) and issubclass(obj, CursesTestCase)): tests.append(self.loadTestsFromTestCase(obj)) return self.suiteClass(tests) class TestLoader(unittest.TestLoader): def loadTestsFromModule(self, module, **kwargs): tests = [] for name in dir(module): obj = getattr(module, name) if (isinstance(obj, type) and issubclass(obj, TestCase) and not issubclass(obj, CursesTestCase)): tests.append(self.loadTestsFromTestCase(obj)) return self.suiteClass(tests) ######################################################################### class TestSpeedUnits(TestCase): @classmethod def setUpClass(cls): cls.one = speedpad.Speed(1.0) cls.two = speedpad.Speed(2.0) def test_cps(self): self.assertEqual(speedpad.cps(self.one), 1.0) self.assertEqual(speedpad.cps(self.two), 2.0) self.assertEqual(str(speedpad.cps), 'CPS') def test_cpm(self): self.assertEqual(speedpad.cpm(self.one), 60.0) self.assertEqual(speedpad.cpm(self.two), 120.0) self.assertEqual(str(speedpad.cpm), 'CPM') def test_wpm(self): self.assertEqual(speedpad.wpm(self.one), 60.0 / 5.0) self.assertEqual(speedpad.wpm(self.two), 120.0 / 5.0) self.assertEqual(str(speedpad.wpm), 'WPM') def test_ppm(self): self.assertEqual(speedpad.ppm(self.one), 60.0 / 250.0) self.assertEqual(speedpad.ppm(self.two), 120.0 / 250.0) self.assertEqual(str(speedpad.ppm), 'PPM') def test_cph(self): self.assertEqual(speedpad.cph(self.one), 3600.0) self.assertEqual(speedpad.cph(self.two), 7200.0) self.assertEqual(str(speedpad.cph), 'CPH') class TestQuote(TestCase): def test_inrange(self): quote = speedpad.Quote([ "foo bar", "foo bar", ]) self.assertTrue(quote.inrange(0, 0)) self.assertTrue(quote.inrange(1, 0)) self.assertTrue(quote.inrange(0, 1)) self.assertTrue(quote.inrange(1, 6)) self.assertFalse(quote.inrange(-1, -1)) self.assertFalse(quote.inrange(2, 0)) self.assertFalse(quote.inrange(1, 7)) def test_strpos(self): quote = speedpad.Quote([ "foo bar", "xxx xxx", "qux bux", ]) self.assertEqual(quote.strpos(0, 0), 0) self.assertEqual(quote.strpos(1, 0), 7) self.assertEqual(quote.strpos(0, 1), 1) self.assertEqual(quote.strpos(2, 5), 7 + 7 + 5) self.assertRaises(IndexError, quote.strpos, -1, -1) self.assertEqual(quote.strpos(9, 9), quote.strlen) def test_istypo(self): quote = speedpad.Quote([ "foo bar", "xxx xxx", "qux bux", ]) self.assertTrue(quote.istypo(-1, -1, 'x', record=False)) self.assertTrue(quote.istypo(0, 0, 'x', record=False)) self.assertTrue(quote.istypo(9, 9, 'x', record=False)) self.assertFalse(quote.istypo(0, 0, 'f', record=False)) self.assertFalse(quote.istypo(1, 3, ' ', record=False)) self.assertFalse(quote.stats.typos) # recording self.assertTrue(quote.istypo(-1, -1, 'x', record=True)) self.assertTrue(quote.istypo(9, 9, 'x', record=True)) self.assertFalse(quote.stats.typos) ypos, xpos = 0, 0 self.assertTrue(quote.istypo(ypos, xpos, 'x', record=True)) self.assertIn((ypos, xpos), quote.stats.typos) self.assertTrue(quote.stats.typos[ypos, xpos]) self.assertFalse(quote.istypo(ypos, xpos, 'f', record=True)) self.assertIn((ypos, xpos), quote.stats.typos) self.assertFalse(quote.stats.typos[ypos, xpos]) ypos, xpos = 2, 6 self.assertTrue(quote.istypo(ypos, xpos, 'z', record=True)) self.assertIn((ypos, xpos), quote.stats.typos) self.assertTrue(quote.stats.typos[ypos, xpos]) self.assertFalse(quote.istypo(ypos, xpos, 'x', record=True)) self.assertIn((ypos, xpos), quote.stats.typos) self.assertFalse(quote.stats.typos[ypos, xpos]) def test_eol(self): quote = speedpad.Quote([ "foo bar", "", "xxx xx", ]) self.assertEqual(quote.eol(-1), 0) self.assertEqual(quote.eol(0), 7) self.assertEqual(quote.eol(1), 0) self.assertEqual(quote.eol(2), 6) self.assertEqual(quote.eol(3), 0) def test_iseol(self): quote = speedpad.Quote([ "foo bar", "", "xxx xx", ]) self.assertTrue(quote.iseol(0, 7)) self.assertTrue(quote.iseol(1, 1)) self.assertTrue(quote.iseol(1, 0)) self.assertTrue(quote.iseol(2, 20)) self.assertFalse(quote.iseol(-1, -1)) self.assertFalse(quote.iseol(0, 0)) self.assertFalse(quote.iseol(2, 5)) self.assertFalse(quote.iseol(3, 0)) def test_iscomplete(self): quote = speedpad.Quote(["foo bar"]) self.assertFalse(quote.iscomplete(-1, -1)) self.assertFalse(quote.iscomplete(0, 0)) self.assertFalse(quote.iscomplete(0, 6)) self.assertTrue(quote.iscomplete(0, 7)) self.assertTrue(quote.iscomplete(0, 9)) self.assertTrue(quote.iscomplete(1, 0)) self.assertTrue(quote.iscomplete(1, 9)) def test_iscorrect(self): quote = speedpad.Quote(["foo bar"]) self.assertTrue(quote.iscorrect()) quote.istypo(0, 0, 'x', record=True) self.assertFalse(quote.iscorrect()) quote.istypo(0, 0, 'f', record=True) self.assertTrue(quote.iscorrect()) quote.istypo(0, 4, 'x', record=True) self.assertFalse(quote.iscorrect()) quote.istypo(0, 4, 'b', record=True) self.assertTrue(quote.iscorrect()) def test_typo_highscore(self): quote = speedpad.Quote([ "foobar", ]) quote.stats.typocounts['f']['a'] += 1 quote.stats.typocounts['o']['b'] += 1 quote.stats.typocounts['o']['c'] += 1 quote.stats.typocounts['b']['d'] += 1 quote.stats.typocounts['a']['e'] += 1 quote.stats.typocounts['r']['f'] += 1 self.assertEqual([ ('o', [('b', 1), ('c', 1)]), ('a', [('e', 1)]), ('b', [('d', 1)]), ('f', [('a', 1)]), ('r', [('f', 1)]), ], quote.stats.typo_highscore) quote.stats.typocounts['f']['b'] += 2 self.assertEqual([ ('f', [('b', 2), ('a', 1)]), ('o', [('b', 1), ('c', 1)]), ('a', [('e', 1)]), ('b', [('d', 1)]), ('r', [('f', 1)]), ], quote.stats.typo_highscore) quote.stats.typocounts['b']['c'] += 1 quote.stats.typocounts['o']['b'] += 2 self.assertEqual([ ('o', [('b', 3), ('c', 1)]), ('f', [('b', 2), ('a', 1)]), ('b', [('c', 1), ('d', 1)]), ('a', [('e', 1)]), ('r', [('f', 1)]), ], quote.stats.typo_highscore) quote.stats.typocounts['r']['f'] += 4 self.assertEqual([ ('r', [('f', 5)]), ('o', [('b', 3), ('c', 1)]), ('f', [('b', 2), ('a', 1)]), ('b', [('c', 1), ('d', 1)]), ('a', [('e', 1)]), ], quote.stats.typo_highscore) quote.stats.typocounts['f']['a'] += 2 self.assertEqual([ ('f', [('a', 3), ('b', 2)]), ('r', [('f', 5)]), ('o', [('b', 3), ('c', 1)]), ('b', [('c', 1), ('d', 1)]), ('a', [('e', 1)]), ], quote.stats.typo_highscore) class TestQuoteGenerator(TestCase): def setUp(self): self.raw = "abcdefghijklmnopqrstuvwxyz" def factory(self, maxsize): while True: yield self.raw[:maxsize] def test_iterator(self): quotegen = speedpad.QuoteGenerator(self.factory, 2, 10) quote = quotegen.iterator.next() self.assertEqual(quote, self.raw[:20]) def test_iteration(self): quotegen = speedpad.QuoteGenerator(self.factory, 2, 10) quote = quotegen.next() self.assertTrue(isinstance(quote, speedpad.Quote)) self.assertEqual(quote.strlen, 20) self.assertEqual(quote.lines, [self.raw[:10], self.raw[10:20]]) def test_clean(self): quotegen = speedpad.QuoteGenerator(self.factory, 2, 10) quote = quotegen.iterator.next() # input too long quotegen.wrapper.width = 20 clean = quotegen.clean(quote) self.assertEqual(clean, [self.raw[:20]]) # line too long quotegen.wrapper.width = 10 clean = quotegen.clean(quote) self.assertEqual(clean, [self.raw[:10], self.raw[10:20]]) # too many lines quotegen.wrapper.width = 5 clean = quotegen.clean(quote) self.assertEqual(clean, [self.raw[:5], self.raw[5:10]]) # strip quotegen = speedpad.QuoteGenerator(self.factory, 1, 50, strip=True) self.raw = " foo barbaz qux " expect = [ "foo barbaz qux" ] quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertEqual(clean, expect) quotegen = speedpad.QuoteGenerator(self.factory, 1, 50, strip=False) self.raw = " foo barbaz qux " expect = [ " foo barbaz qux" ] quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertEqual(clean, expect) # tab expansion quotegen = speedpad.QuoteGenerator(self.factory, 1, 50, strip=False, tabsize=8) self.raw = " foo\tbarbaz qux " expect = [ " foo barbaz qux" ] quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertEqual(clean, expect) quotegen = speedpad.QuoteGenerator(self.factory, 1, 50, strip=False, tabsize=5) self.raw = " foo\tbarbaz qux " expect = [ " foo barbaz qux" ] quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertEqual(clean, expect) # wrap quotegen = speedpad.QuoteGenerator(self.factory, 10, 50, strip=False, tabsize=4, wrap=10) self.raw = ( " foo\tbarbaz qux \n" "abcdefghijklmnopqrstuvwxyz\n" "\n" "xxx\tyyy zzz\n" "\n" " abc " ) expect = [ " foo", "barbaz", "qux", "abcdefghij", "klmnopqrst", "uvwxyz", "", "xxx yyy", "zzz", "", ] quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertEqual(clean, expect) # same with wrap past last column quotegen = speedpad.QuoteGenerator(self.factory, 10, 10, strip=False, tabsize=4, wrap=20) quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertEqual(clean, expect) # same with auto wrap quotegen = speedpad.QuoteGenerator(self.factory, 10, 10, strip=False, tabsize=4, wrap=0) quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertEqual(clean, expect) # same with auto wrap and default width quotegen = speedpad.QuoteGenerator(self.factory, 10, 50, strip=False, tabsize=4, wrap=0, width=10) quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertEqual(clean, expect) def test_resize(self): self.raw = ( " foo\tbarbaz qux \n" "abcdefghijklmnopqrstuvwxyz\n" "\n" "xxx\tyyy zzz\n" "\n" " abc " ) expect = [ " foo", "barbaz", "qux", "abcdefghij", "klmnopqrst", "uvwxyz", "", "xxx yyy", "zzz", "", ] quotegen = speedpad.QuoteGenerator(self.factory, 10, 50, strip=False, tabsize=4, wrap=0) quote = quotegen.iterator.next() clean = quotegen.clean(quote) self.assertNotEqual(clean, expect) quotegen.resize(0, -40) clean = quotegen.clean(quote) self.assertEqual(clean, expect) class TestInputStats(TestCase): def test_addtypo(self): stats = speedpad.InputStats() self.assertFalse(stats.typos) stats.addtypo(0, 0, count=0) self.assertIn((0, 0), stats.typos) self.assertTrue(stats.typos[0, 0]) self.assertEqual(stats.keystrokes_good, 0) self.assertEqual(stats.keystrokes_typo, 0) stats.addtypo(0, 0, count=1) self.assertIn((0, 0), stats.typos) self.assertTrue(stats.typos[0, 0]) self.assertEqual(stats.keystrokes_good, 0) self.assertEqual(stats.keystrokes_typo, 1) def test_fixtypo(self): stats = speedpad.InputStats() self.assertFalse(stats.typos) stats.addtypo(0, 0, count=0) stats.fixtypo(0, 0, count=0) self.assertIn((0, 0), stats.typos) self.assertFalse(stats.typos[0, 0]) self.assertEqual(stats.keystrokes_good, 0) self.assertEqual(stats.keystrokes_typo, 0) stats.fixtypo(0, 0, count=1) self.assertIn((0, 0), stats.typos) self.assertFalse(stats.typos[0, 0]) self.assertEqual(stats.keystrokes_good, 1) self.assertEqual(stats.keystrokes_typo, 0) def test_speed(self): stats = speedpad.InputStats() stats.keystrokes_good = 100.0 stats.timer.started = 100.0 stats.timer.stopped = 100.9 self.assertEqual(stats.speed, 0.0) stats.timer.stopped = 101.0 self.assertEqual(stats.speed, 100.0) stats.timer.stopped = 150 self.assertEqual(stats.speed, 2.0) stats.timer.stopped = 200 self.assertEqual(stats.speed, 1.0) stats.timer.stopped = 300 self.assertEqual(stats.speed, 0.5) def test_counters(self): stats = speedpad.InputStats() self.assertFalse(stats.typos) self.assertFalse(stats.typocounts) self.assertEqual(stats.keystrokes_typo, 0) self.assertEqual(stats.keystrokes_good, 0) self.assertEqual(stats.keystrokes_tab, 0) self.assertEqual(stats.keystrokes_space, 0) self.assertEqual(stats.keystrokes_enter, 0) stats.addtypo(0, 0, count=1) self.assertIn((0, 0), stats.typos) self.assertTrue(stats.typos[0, 0]) self.assertEqual(stats.keystrokes_good, 0) self.assertEqual(stats.keystrokes_typo, 1) stats.fixtypo(0, 0, count=1) self.assertIn((0, 0), stats.typos) self.assertFalse(stats.typos[0, 0]) self.assertEqual(stats.keystrokes_good, 1) self.assertEqual(stats.keystrokes_typo, 1) # auto increment is tested in TestSpeedPad.test_process def test_reset(self): stats = speedpad.InputStats() stats.addtypo(0, 0, count=1) stats.fixtypo(0, 0, count=1) stats.keystrokes_tab = 1 stats.keystrokes_space = 2 stats.keystrokes_enter = 3 stats.typocounts['x']['y'] += 1 stats.reset() self.assertFalse(stats.typos) self.assertFalse(stats.typocounts) self.assertEqual(stats.keystrokes_typo, 0) self.assertEqual(stats.keystrokes_good, 0) self.assertEqual(stats.keystrokes_tab, 0) self.assertEqual(stats.keystrokes_space, 0) self.assertEqual(stats.keystrokes_enter, 0) class TestTimer(TestCase): def test_start(self): timer = speedpad.Timer() self.assertEqual(timer.started, 0) timer.start() self.assertGreater(timer.started, 0) self.assertRaises(RuntimeError, timer.start) def test_stop(self): timer = speedpad.Timer() self.assertEqual(timer.stopped, 0) self.assertRaises(RuntimeError, timer.stop) timer.start() timer.stop() self.assertGreater(timer.stopped, 0) self.assertRaises(RuntimeError, timer.stop) def test_elapsed(self): timer = speedpad.Timer() self.assertEqual(timer.elapsed, 0) timer.started = 100.0 self.assertGreater(timer.elapsed, 0) timer.stopped = 100.0 self.assertEqual(timer.elapsed, 0) timer.stopped = 105.5 self.assertEqual(timer.elapsed, 5.5) timer.stopped = 0 timer.stop() self.assertGreater(timer.elapsed, 0) def test_reset(self): timer = speedpad.Timer() timer.start() timer.stop() timer.reset() self.assertEqual(timer.started, 0) self.assertEqual(timer.stopped, 0) self.assertEqual(timer.elapsed, 0) class TestProgressBar(CursesTestCase): @classmethod def setUpClass(cls): # set up 1 line x 50 col box (assumes termsize is large enough) cls.box = speedpad.Box(0, 0, 1, 50) def setUp(self): self.box.reset() self.bar = speedpad.ProgressBar(10) def tearDown(self): self.box.reset() def test_pos(self): self.assertEqual(self.bar.end, 0) self.assertEqual(self.bar.cur, 0) self.assertEqual(self.bar.pos, 0) self.bar.cur = 500 self.assertEqual(self.bar.end, 0) self.assertEqual(self.bar.cur, 500) self.assertEqual(self.bar.pos, 0) self.bar.end = 1000 self.assertEqual(self.bar.end, 1000) self.assertEqual(self.bar.cur, 500) self.assertEqual(self.bar.pos, 0.5) self.bar.cur = 1500 self.assertEqual(self.bar.end, 1000) self.assertEqual(self.bar.cur, 1500) self.assertEqual(self.bar.pos, 1.0) self.bar.cur = -1 self.assertEqual(self.bar.end, 1000) self.assertEqual(self.bar.cur, 0) self.assertEqual(self.bar.pos, 0) self.bar.cur = 800 self.assertEqual(self.bar.end, 1000) self.assertEqual(self.bar.cur, 800) self.assertEqual(self.bar.pos, 0.8) self.bar.end = -1 self.assertEqual(self.bar.end, 0) self.assertEqual(self.bar.cur, 0) self.assertEqual(self.bar.pos, 0) def test_reset(self): self.bar.end = 456 self.bar.cur = 123 self.bar.reset() self.assertEqual(self.bar.pos, 0) self.assertEqual(self.bar.cur, 0) self.assertEqual(self.bar.end, 0) def test_resize(self): self.assertEqual(self.bar.width, 10) self.bar.resize(0, -20) self.assertEqual(self.bar.width, 0) self.bar.resize(0, 15) self.assertEqual(self.bar.width, 15) def test_draw(self): win = self.box.box self.bar.end = 1000 self.bar.cur = 750 self.bar.draw(win, 0, 0) def eol(ypos): endpos = 0 for xpos in xrange(50 - 1, -1, -1): if win.inch(ypos, xpos) != curses.ascii.SP: endpos = xpos + 1 break return endpos self.assertEqual(eol(0), 7) self.box.reset() self.bar.width = 0 self.bar.draw(win, 0, 0) self.assertEqual(eol(0), 0) self.box.reset() self.bar.width = 20 self.bar.cur = 500 self.bar.draw(win, 0, 0) self.assertEqual(eol(0), 10) self.box.reset() self.bar.cur = 1000 self.bar.draw(win, 0, 0) self.assertEqual(eol(0), 20) class TestInputBox(CursesTestCase): @classmethod def setUpClass(cls): # set up 10 line x 50 col box (assumes termsize is large enough) cls.box = speedpad.InputBox(1, 1, 10, 50, 10, 50, 0, 0) def setUp(self): self.box.reset() def tearDown(self): self.box.reset() def test_putch(self): ex = ord('x') # simple putch self.box.reset() self.box.putch(ex) ch = self.box.pad.inch(0, 0) self.assertEqual(ch, ex) # fill box self.box.reset() for pos in xrange(10 * 50): self.box.putch(ex) # lower right pos should stay empty for ypos in xrange(10): for xpos in xrange(50): ch = self.box.pad.inch(ypos, xpos) if ypos == 9 and xpos == 49: self.assertEqual(ch, curses.ascii.SP) else: self.assertEqual(ch, ex) # newline self.box.reset() self.box.putch(curses.ascii.NL) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (1, 0)) # newline on last line does nothing self.box.reset() self.box.pad.move(9, 0) self.box.putch(curses.ascii.NL) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (9, 0)) # backspace on upper left does nothing self.box.reset() self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 0)) # backspace after character self.box.reset() self.box.putch(ex) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 0)) ch = self.box.pad.inch(ypos, xpos) self.assertEqual(ch, curses.ascii.SP) # backspace after sol wraps around self.box.reset() self.box.putch(ex) self.box.putch(curses.ascii.NL) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 1)) # backspace strips back to last tabstop self.box.reset() # tabsize = 8 (default) 13 16 19 # | | | for ch in str2ord("0123456789012 x"): self.box.putch(ch) # | | | |<-- should stop before (16) # 0 7 12 15 ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 19)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 18)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 16)) self.box.putch(curses.ascii.SP) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 17)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 16)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 13)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 12)) # backspace strips back to last tabstop self.box.reset() self.box.tabsize = 4 # tabsize = 4 4 8 12 16 # | | | | for ch in str2ord("0123456 x"): self.box.putch(ch) # tabstops: | | | | ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 19)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 18)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 16)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 12)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 8)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 7)) self.box.putch(curses.ascii.BS) self.box.putch(curses.ascii.BS) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 4)) # backspace strips back to last character self.box.reset() self.box.tabsize = 0 for ch in str2ord("0123456 x"): self.box.putch(ch) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 19)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 18)) self.box.putch(curses.ascii.BS) ypos, xpos = self.box.pad.getyx() self.assertEqual((ypos, xpos), (0, 7)) def test_sol(self): ex = ord('x') # empty line self.box.reset() sol = self.box.sol(0) self.assertEqual(sol, 0) # no leading space self.box.reset() self.box.putch(ex) sol = self.box.sol(0) self.assertEqual(sol, 0) # leading space self.box.reset() self.box.putch(curses.ascii.SP) self.box.putch(ex) sol = self.box.sol(0) self.assertEqual(sol, 1) # skip and no leading space self.box.reset() self.box.putch(ex) self.box.putch(ex) sol = self.box.sol(0, skip=1) self.assertEqual(sol, 1) # skip and leading space self.box.reset() self.box.putch(curses.ascii.SP) self.box.putch(ex) self.box.putch(curses.ascii.SP) self.box.putch(ex) sol = self.box.sol(0, skip=2) self.assertEqual(sol, 3) def test_eol(self): ex = ord('x') # empty line self.box.reset() eol = self.box.eol(0) self.assertEqual(eol, 0) # no trailing space self.box.reset() self.box.putch(ex) self.box.putch(ex) eol = self.box.eol(0) self.assertEqual(eol, 2) # trailing space self.box.reset() self.box.putch(ex) self.box.putch(curses.ascii.SP) eol = self.box.eol(0) self.assertEqual(eol, 1) # at eol self.box.reset() for xpos in xrange(50): self.box.putch(ex) eol = self.box.eol(0) self.assertEqual(eol, 50) def test_continue_comment(self): s = "#" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("#")) s = "# " self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s) - 1, len(s)) self.assertEqual(continuation, str2ord("#")) s = "#x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("#")) # drop indent per default s = "# x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("#")) # keep indent if enabled s = "# x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s), indent=True) self.assertEqual(continuation, str2ord("# ")) s = "# x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s), indent=True) self.assertEqual(continuation, str2ord("# ")) # not enough space for indentation s = "# x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s) - 1, indent=True) self.assertEqual(continuation, str2ord("#")) # not enough space s = "# x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), 0) self.assertFalse(continuation) s = "//" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("//")) s = "// " self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s) - 1, len(s)) self.assertEqual(continuation, str2ord("//")) s = "//x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("//")) # drop indent per default s = "// x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("//")) # keep indent if enabled s = "// x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s), indent=True) self.assertEqual(continuation, str2ord("// ")) s = "// x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s), indent=True) self.assertEqual(continuation, str2ord("// ")) # not enough space for indentation s = "// x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s) - 1, indent=True) self.assertEqual(continuation, str2ord("//")) # not enough space s = "// x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), 0) self.assertFalse(continuation) s = "/*" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord(" *")) s = "/* " self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s) - 1, len(s)) self.assertEqual(continuation, str2ord(" *")) s = "/*x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord(" *")) # drop indent per default s = "/* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord(" *")) # keep indent if enabled s = "/* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s), indent=True) self.assertEqual(continuation, str2ord(" * ")) s = "/* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s), indent=True) self.assertEqual(continuation, str2ord(" * ")) # not enough space for indentation s = "/* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s) - 1, indent=True) self.assertEqual(continuation, str2ord(" *")) # not enough space s = "/* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), 0) self.assertFalse(continuation) s = "*" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("*")) s = "* " self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s) - 1, len(s)) self.assertEqual(continuation, str2ord("*")) s = "*x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("*")) # drop indent per default s = "* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertEqual(continuation, str2ord("*")) # keep indent if enabled s = "* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s), indent=True) self.assertEqual(continuation, str2ord("* ")) s = "* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s), indent=True) self.assertEqual(continuation, str2ord("* ")) # not enough space for indentation s = "* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s) - 1, indent=True) self.assertEqual(continuation, str2ord("*")) # not enough space s = "* x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), 0) self.assertFalse(continuation) s = "/* foo bar */" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertFalse(continuation) s = "/*x foo bar x*/" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertFalse(continuation) s = "x/* foo bar */x" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertFalse(continuation) # end of c comment at start of line s = "*/" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 0, len(s), len(s)) self.assertFalse(continuation) # end of c comment not at start of line s = " */" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 1, len(s), len(s)) self.assertTrue(continuation) self.assertEqual(continuation, [curses.ascii.BS]) # end of c comment not at start of line with empty next line s = " */" self.box.reset() self.putstr(s) continuation = self.box.continue_comment(0, 1, len(s), 0) self.assertFalse(continuation) def putstr(self, s): # make sure we include the box.putch logic for ch in str2ord(s): self.box.putch(ch) class TestSpeedPad(CursesTestCase): @classmethod def setUpClass(cls): cls.instance = speedpad.SpeedPad( player=speedpad.Player("test"), robot=speedpad.Robot("test", 0)) cls.instance.initscreen() #cls.instance.speedbox = speedpad.SpeedBox(1, 1, 5, 50) #cls.instance.quotebox = speedpad.QuoteBox(5, 1, 10, 50, 5, 50, 0, 0) #cls.instance.inputbox = speedpad.InputBox(10, 1, 15, 50, 5, 50, 0, 0) cls.instance.initplayers() def setUp(self): self.instance.quotebox.reset() self.instance.inputbox.reset() self.quote = speedpad.Quote(["foo bar"]) def tearDown(self): self.instance.quotebox.reset() self.instance.inputbox.reset() def test_update_player_speed(self): self.assertEqual(self.quote.stats.speed, 0) self.assertEqual(self.instance.player.speed, 0) self.quote.stats.timer.started = 100 self.quote.stats.timer.stopped = 200 self.quote.stats.keystrokes_good = 1000 self.instance.update_player_speed(self.quote) self.assertEqual(self.instance.player.speed, 10.0) def test_update_robot_pos(self): self.quote.stats.timer.started = 100 self.quote.stats.timer.stopped = 105 self.instance.robot.pos = 0 self.instance.robot.speed = 1.0 self.instance.update_robot_pos(self.quote) self.assertEqual(self.instance.robot.pos, 5) def test_process(self): def process(ch, **kwargs): self.instance.process(self.quote, ch, [ch], **kwargs) def reset(quotelines): curses.flushinp() self.instance.queue.clear() self.quote = speedpad.Quote(quotelines) self.instance.speedbox.reset() self.instance.quotebox.reset() self.instance.inputbox.reset() self.instance.speedbox.load(self.quote) self.instance.quotebox.load(self.quote) self.instance.active = False self.instance.writable = True reset(["1"]) self.assertFalse(self.instance.active) process(ord(' ')) self.assertTrue(self.instance.active) self.assertEqual(self.instance.player.pos, 1) self.assertTrue(self.quote.stats.timer.started) self.assertTrue(self.quote.stats.typos) self.assertIn((0, 0), self.quote.stats.typos) self.assertTrue(self.quote.stats.typos[0, 0]) self.assertTrue(self.quote.stats.typocounts) self.assertIn('1', self.quote.stats.typocounts) self.assertIn(' ', self.quote.stats.typocounts['1']) self.assertEqual(self.quote.stats.typocounts['1'][' '], 1) self.assertEqual(self.quote.stats.keystrokes_typo, 1) self.assertEqual(self.quote.stats.keystrokes_good, 0) self.assertEqual(self.quote.stats.keystrokes_tab, 0) self.assertEqual(self.quote.stats.keystrokes_space, 1) self.assertEqual(self.quote.stats.keystrokes_enter, 0) process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 0) self.assertTrue(self.quote.stats.typos) self.assertEqual(self.quote.stats.keystrokes_typo, 1) self.assertEqual(self.quote.stats.keystrokes_good, 0) process(ord('1')) self.assertEqual(self.instance.player.pos, 1) self.assertTrue(self.quote.stats.typos) self.assertIn((0, 0), self.quote.stats.typos) self.assertFalse(self.quote.stats.typos[0, 0]) self.assertEqual(self.quote.stats.keystrokes_typo, 1) self.assertEqual(self.quote.stats.keystrokes_good, 1) self.assertTrue(self.instance.active) reset(["12"]) self.assertFalse(self.instance.active) process(ord('1')) self.assertEqual(self.instance.player.pos, 1) self.assertFalse(self.quote.stats.typos) self.assertFalse(self.quote.stats.typocounts) self.assertEqual(self.quote.stats.keystrokes_typo, 0) self.assertEqual(self.quote.stats.keystrokes_good, 1) process(ord('2')) self.assertEqual(self.instance.player.pos, 2) self.assertFalse(self.quote.stats.typos) self.assertFalse(self.quote.stats.typocounts) self.assertEqual(self.quote.stats.keystrokes_typo, 0) self.assertEqual(self.quote.stats.keystrokes_good, 2) self.assertTrue(self.quote.iscomplete(0, 2)) self.assertTrue(self.quote.iscorrect()) self.assertTrue(self.instance.active) # auto eof after completion self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), [curses.ascii.EOT]) self.assertRaises(speedpad.QuoteStopSignal, process, curses.ascii.EOT) self.instance.active = False self.instance.writable = False self.assertTrue(self.quote.stats.timer.stopped) # no increment after completion process(curses.ascii.SP) process(curses.ascii.TAB) self.instance.active = True process(curses.ascii.NL) self.assertEqual(self.quote.stats.keystrokes_tab, 0) self.assertEqual(self.quote.stats.keystrokes_space, 0) self.assertEqual(self.quote.stats.keystrokes_enter, 0) self.instance.active = False self.assertRaises(speedpad.QuoteBreakSignal, process, curses.ascii.NL) reset(["foo bar", "baz"]) for c in "foo": process(ord(c)) self.assertEqual(self.instance.player.pos, 3) # tab expansion self.instance.tabsize = 2 process(curses.ascii.TAB) self.assertEqual(self.quote.stats.keystrokes_tab, 1) self.assertEqual(self.quote.stats.keystrokes_space, 0) self.assertEqual(self.quote.stats.keystrokes_enter, 0) self.assertEqual(self.instance.player.pos, 3) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord(" ")) self.instance.queue.clear() self.instance.tabsize = 8 process(curses.ascii.TAB) self.assertEqual(self.quote.stats.keystrokes_tab, 2) self.assertEqual(self.instance.player.pos, 3) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord(" ")) for sp in range(5): process(curses.ascii.SP, keyboard=False) self.assertEqual(self.instance.player.pos, 8) # backspace deletes trailing space process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 3) for sp in range(5): process(curses.ascii.SP, keyboard=False) self.assertEqual(self.instance.player.pos, 8) self.instance.queue.clear() for c in "bar": process(ord(c)) self.assertEqual(self.instance.player.pos, 11) # manual newline on eol if strict self.instance.strict = True process(curses.ascii.SP) self.assertEqual(self.quote.stats.keystrokes_space, 0) self.assertEqual(self.instance.player.pos, 11) self.assertFalse(self.instance.queue) process(curses.ascii.TAB) self.assertEqual(self.instance.player.pos, 11) self.assertFalse(self.instance.queue) self.assertFalse(self.instance.queue) process(ord('x')) self.assertEqual(self.instance.player.pos, 11) self.assertFalse(self.instance.queue) # auto newline on eol self.instance.strict = False process(curses.ascii.SP) self.assertEqual(self.quote.stats.keystrokes_space, 0) self.assertEqual(self.instance.player.pos, 11) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), [curses.ascii.NL]) self.instance.queue.clear() process(curses.ascii.TAB) self.assertEqual(self.instance.player.pos, 11) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), [curses.ascii.NL]) self.instance.queue.clear() # next line process(curses.ascii.NL) self.assertEqual(self.quote.stats.keystrokes_enter, 1) self.assertEqual(self.instance.player.pos, 11) process(curses.ascii.SP) process(curses.ascii.SP) self.assertEqual(self.quote.stats.keystrokes_space, 2) process(curses.ascii.BS) # negative wrap around after backspace on first column process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 11) process(curses.ascii.NL) self.assertEqual(self.quote.stats.keystrokes_enter, 2) self.assertEqual(self.instance.player.pos, 11) for c in "bax": process(ord(c)) self.assertEqual(self.instance.player.pos, 14) self.assertTrue(self.quote.stats.typos) self.assertIn((1, 2), self.quote.stats.typos) self.assertTrue(self.quote.stats.typos[1, 2]) self.assertTrue(self.quote.stats.typocounts) self.assertIn('b', self.quote.stats.typocounts) self.assertIn('a', self.quote.stats.typocounts) self.assertIn('z', self.quote.stats.typocounts) self.assertIn(' ', self.quote.stats.typocounts['b']) self.assertIn(' ', self.quote.stats.typocounts['a']) self.assertIn('x', self.quote.stats.typocounts['z']) self.assertEqual(self.quote.stats.typocounts['b'][' '], 1) self.assertEqual(self.quote.stats.typocounts['a'][' '], 1) self.assertEqual(self.quote.stats.typocounts['z']['x'], 1) self.assertEqual(self.quote.stats.keystrokes_typo, 3) self.assertEqual(self.quote.stats.keystrokes_good, 8) # no-ops after completion, only backspace process(ord('x')) self.assertEqual(self.instance.player.pos, 14) process(curses.ascii.SP) self.assertEqual(self.instance.player.pos, 14) self.assertFalse(self.instance.queue) self.assertFalse(self.quote.stats.timer.stopped) self.assertFalse(self.quote.iscorrect()) # delete over error process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 13) self.assertTrue(self.quote.stats.typos) self.assertIn((1, 2), self.quote.stats.typos) self.assertTrue(self.quote.stats.typos[1, 2]) self.assertEqual(self.quote.stats.keystrokes_typo, 3) self.assertEqual(self.quote.stats.keystrokes_good, 8) # put x instead of z again process(ord('x')) self.assertEqual(self.instance.player.pos, 14) self.assertEqual(self.quote.stats.keystrokes_typo, 4) self.assertIn('x', self.quote.stats.typocounts['z']) self.assertEqual(self.quote.stats.typocounts['z']['x'], 2) process(curses.ascii.BS) # correct error process(ord('z')) self.assertEqual(self.instance.player.pos, 14) self.assertTrue(self.quote.stats.typos) self.assertIn((1, 2), self.quote.stats.typos) self.assertFalse(self.quote.stats.typos[1, 2]) self.assertEqual(self.quote.stats.keystrokes_typo, 4) self.assertEqual(self.quote.stats.keystrokes_good, 9) self.assertTrue(self.quote.iscomplete(1, 3)) self.assertTrue(self.quote.iscorrect()) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), [curses.ascii.EOT]) # auto indent reset([" x", " y"]) for c in " x": process(ord(c)) self.assertEqual(self.instance.player.pos, 3) self.instance.indent = False process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 3) self.assertFalse(self.instance.queue) process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 3) self.instance.indent = True process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 3) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord(" ")) # no auto indent if next line too short reset([" x", " y"]) for c in " x": process(ord(c)) self.assertEqual(self.instance.player.pos, 3) self.instance.indent = True process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 3) self.assertFalse(self.instance.queue) # comment continuation reset(["#", "#"]) process(ord('#')) self.assertEqual(self.instance.player.pos, 1) self.instance.syntax = False process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 1) self.assertFalse(self.instance.queue) process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 1) self.instance.syntax = True process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 1) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), [ord('#')]) # comment continuation with leading space reset([" #", " #"]) for c in " #": process(ord(c)) self.assertEqual(self.instance.player.pos, 3) self.instance.indent = False self.instance.syntax = False process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 3) self.assertFalse(self.instance.queue) process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 3) self.instance.indent = False self.instance.syntax = True process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 3) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord("#")) self.instance.queue.clear() process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 3) self.instance.indent = True self.instance.syntax = True process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 3) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord(" #")) # comment continuation with leading space and indent reset([" # x", " # x"]) for c in " # x": process(ord(c)) self.assertEqual(self.instance.player.pos, 8) self.instance.indent = False self.instance.syntax = True process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 8) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord("#")) self.instance.queue.clear() process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 8) self.instance.indent = True self.instance.syntax = True process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 8) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord(" # ")) for c in self.instance.queue: process(c, keyboard=False) self.assertEqual(self.instance.player.pos, 15) # c-comment continuation without leading space def process_c_comment_until_end_of_comment(lines): reset(lines) self.instance.active = True self.instance.indent = True self.instance.syntax = True for c in "/**": process(ord(c)) self.assertEqual(self.instance.player.pos, 3) process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 3) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord(" *")) for c in self.instance.queue: process(c, keyboard=False) self.instance.queue.clear() self.assertEqual(self.instance.player.pos, 5) for c in " foo": process(ord(c)) self.assertEqual(self.instance.player.pos, 9) process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 9) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord(" * ")) for c in self.instance.queue: process(c, keyboard=False) self.assertEqual(self.instance.player.pos, 12) self.instance.queue.clear() for c in "bar": process(ord(c)) self.assertEqual(self.instance.player.pos, 15) process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 15) self.assertTrue(self.instance.queue) self.assertEqual(list(self.instance.queue), str2ord(" * ")) for c in self.instance.queue: process(c, keyboard=False) self.assertEqual(self.instance.player.pos, 18) self.instance.queue.clear() process(curses.ascii.BS) self.assertEqual(self.instance.player.pos, 17) process(ord('/')) self.assertEqual(self.instance.player.pos, 18) self.assertFalse(self.instance.queue) process_c_comment_until_end_of_comment([ "/**", " * foo", " * bar", " */", # <- processing stops here " x"]) # <- next line eol > indent process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 18) self.assertTrue(self.instance.queue) # (space comes from auto-indentation, # backspace from comment continuation) self.assertEqual(list(self.instance.queue), [curses.ascii.SP, curses.ascii.BS]) process_c_comment_until_end_of_comment([ "/**", " * foo", " * bar", " */", # <- processing stops here "x"]) # <- next line eol <= indent process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 18) self.assertFalse(self.instance.queue) # (space comes from auto-indentation, # backspace from comment continuation) process_c_comment_until_end_of_comment([ "/**", " * foo", " * bar", " */", # <- processing stops here ""]) # <- next line eol == 0 process(curses.ascii.NL) self.assertEqual(self.instance.player.pos, 18) self.assertFalse(self.instance.queue) # restart if active reset(["foo bar"]) self.instance.active = True self.instance.writable = True self.assertRaises(speedpad.QuoteResetSignal, process, curses.ascii.CAN) # restart if inactive reset(["foo bar"]) self.instance.active = False self.instance.writable = True self.assertRaises(speedpad.QuoteResetSignal, process, curses.ascii.CAN) # restart if pager reset(["foo bar"]) self.instance.active = False self.instance.writable = False self.assertRaises(speedpad.QuoteResetSignal, process, curses.ascii.CAN) # stop if active reset(["foo bar"]) process(ord('x')) # set flags and start timer self.assertRaises(speedpad.QuoteStopSignal, process, curses.ascii.EOT) # next if inactive reset(["foo bar"]) self.instance.active = False self.instance.writable = True self.assertRaises(speedpad.QuoteBreakSignal, process, curses.ascii.EOT) # next if pager reset(["foo bar"]) self.instance.active = False self.instance.writable = False self.assertRaises(speedpad.QuoteBreakSignal, process, curses.ascii.EOT) # quit gracefully reset(["foo bar"]) self.assertRaises(speedpad.StopSignal, process, curses.ascii.DC1) # quit forcefully reset(["foo bar"]) self.assertRaises(KeyboardInterrupt, process, curses.ascii.ETX) def str2ord(s): return map(ord, s) def run_tests(**kwargs): module = __import__(__name__) results = [] for loader, runner in ( (TestLoader, TestRunner), (CursesTestLoader, CursesTestRunner), ): suite = loader().loadTestsFromModule(module) result = runner(**kwargs).run(suite) results.append(result) return results if __name__ == '__main__': results = run_tests(verbosity=2) sys.exit(not all(result.wasSuccessful() for result in results)) # vim: et sw=4 sts=4 ts=4 tw=78 fen fdm=indent fdn=2 fdl=0