| 1 | Copyright (C) 2005 Muness Alrubaie |
|---|
| 2 | Copyright (C) 2006 Alec Thomas <alec@swapoff.org> |
|---|
| 3 | All rights reserved. |
|---|
| 4 | |
|---|
| 5 | Redistribution and use in source and binary forms, with or without |
|---|
| 6 | modification, are permitted provided that the following conditions |
|---|
| 7 | are met: |
|---|
| 8 | |
|---|
| 9 | 1. Redistributions of source code must retain the above copyright |
|---|
| 10 | notice, this list of conditions and the following disclaimer. |
|---|
| 11 | 2. Redistributions in binary form must reproduce the above copyright |
|---|
| 12 | notice, this list of conditions and the following disclaimer in |
|---|
| 13 | the documentation and/or other materials provided with the |
|---|
| 14 | distribution. |
|---|
| 15 | 3. The name of the author may not be used to endorse or promote |
|---|
| 16 | products derived from this software without specific prior |
|---|
| 17 | written permission. |
|---|
| 18 | |
|---|
| 19 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS |
|---|
| 20 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|---|
| 21 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|---|
| 22 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
|---|
| 23 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|---|
| 24 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
|---|
| 25 | GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
|---|
| 26 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
|---|
| 27 | IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
|---|
| 28 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
|---|
| 29 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|---|
| 30 | |
|---|
| 31 | This software now contains voluntary contributions made by many individuals. |
|---|
| 32 | For the exact contribution history, see the revision history and logs, |
|---|
| 33 | available at https://trac-hacks.org/log/tagsplugin/. |
|---|
| 34 | |
|---|
| 35 | ---- |
|---|
| 36 | |
|---|
| 37 | Counter class, see http://code.activestate.com/recipes/576611 |
|---|
| 38 | |
|---|
| 39 | Copyright (c) 2009 Raymond Hettinger |
|---|
| 40 | |
|---|
| 41 | Permission is hereby granted, free of charge, to any person obtaining a copy |
|---|
| 42 | of this software and associated documentation files (the "Software"), to deal |
|---|
| 43 | in the Software without restriction, including without limitation the rights |
|---|
| 44 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|---|
| 45 | copies of the Software, and to permit persons to whom the Software is |
|---|
| 46 | furnished to do so, subject to the following conditions: |
|---|
| 47 | |
|---|
| 48 | The above copyright notice and this permission notice shall be included in |
|---|
| 49 | all copies or substantial portions of the Software. |
|---|
| 50 | |
|---|
| 51 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|---|
| 52 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|---|
| 53 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|---|
| 54 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|---|
| 55 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|---|
| 56 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|---|
| 57 | THE SOFTWARE. |
|---|