Changeset 42
- Timestamp:
- 26.08.2005 10:02:17 (3 years ago)
- Location:
- trunk
- Files:
-
- 8 modified
-
File/Bittorrent/Decode.php (modified) (1 diff)
-
File/Bittorrent/Encode.php (modified) (1 diff)
-
File/Bittorrent/MakeTorrent.php (modified) (1 diff)
-
example.php (modified) (1 diff)
-
infohash.php (modified) (1 diff)
-
package.xml (modified) (5 diffs)
-
scrape.php (modified) (1 diff)
-
torrentinfo.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/File/Bittorrent/Decode.php
r38 r42 2 2 3 3 // +----------------------------------------------------------------------+ 4 // | PHP Version 4|4 // | Decode and Encode data in Bittorrent format | 5 5 // +----------------------------------------------------------------------+ 6 // | Copyright ( c) 1997-2004 The PHP Group|6 // | Copyright (C) 2004-2005 Markus Tacker <m@tacker.org> | 7 7 // +----------------------------------------------------------------------+ 8 // | This source file is subject to version 2.02 of the PHP license, | 9 // | that is bundled with this package in the file LICENSE, and is | 10 // | available at through the world-wide-web at | 11 // | http://www.php.net/license/2_02.txt. | 12 // | If you did not receive a copy of the PHP license and are unable to | 13 // | obtain it through the world-wide-web, please send a note to | 14 // | license@php.net so we can mail you a copy immediately. | 15 // +----------------------------------------------------------------------+ 16 // | Author Markus Tacker <m@tacker.org> | 8 // | This library is free software; you can redistribute it and/or | 9 // | modify it under the terms of the GNU Lesser General Public | 10 // | License as published by the Free Software Foundation; either | 11 // | version 2.1 of the License, or (at your option) any later version. | 12 // | | 13 // | This library is distributed in the hope that it will be useful, | 14 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | Lesser General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU Lesser General Public | 19 // | License along with this library; if not, write to the | 20 // | Free Software Foundation, Inc. | 21 // | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 17 22 // +----------------------------------------------------------------------+ 18 23 -
trunk/File/Bittorrent/Encode.php
r34 r42 2 2 3 3 // +----------------------------------------------------------------------+ 4 // | PHP Version 4|4 // | Decode and Encode data in Bittorrent format | 5 5 // +----------------------------------------------------------------------+ 6 // | Copyright ( c) 1997-2004 The PHP Group|6 // | Copyright (C) 2004-2005 Markus Tacker <m@tacker.org> | 7 7 // +----------------------------------------------------------------------+ 8 // | This source file is subject to version 2.02 of the PHP license, | 9 // | that is bundled with this package in the file LICENSE, and is | 10 // | available at through the world-wide-web at | 11 // | http://www.php.net/license/2_02.txt. | 12 // | If you did not receive a copy of the PHP license and are unable to | 13 // | obtain it through the world-wide-web, please send a note to | 14 // | license@php.net so we can mail you a copy immediately. | 15 // +----------------------------------------------------------------------+ 16 // | Author Markus Tacker <m@tacker.org> | 8 // | This library is free software; you can redistribute it and/or | 9 // | modify it under the terms of the GNU Lesser General Public | 10 // | License as published by the Free Software Foundation; either | 11 // | version 2.1 of the License, or (at your option) any later version. | 12 // | | 13 // | This library is distributed in the hope that it will be useful, | 14 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | Lesser General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU Lesser General Public | 19 // | License along with this library; if not, write to the | 20 // | Free Software Foundation, Inc. | 21 // | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 17 22 // +----------------------------------------------------------------------+ 18 23 -
trunk/File/Bittorrent/MakeTorrent.php
r33 r42 1 1 <?php 2 2 3 // 4 // +------------------------------------------------------------------------+ 5 // | PHP Version 4 | 6 // +------------------------------------------------------------------------+ 7 // | Copyright (c) 1997-2003 The PHP Group | 8 // +------------------------------------------------------------------------+ 9 // | This source file is subject to version 2.02 of the PHP license, | 10 // | that is bundled with this package in the file LICENSE, and is | 11 // | available at through the world-wide-web at | 12 // | http://www.php.net/license/2_02.txt. | 13 // | If you did not receive a copy of the PHP license and are unable to | 14 // | obtain it through the world-wide-web, please send a note to | 15 // | license@php.net so we can mail you a copy immediately. | 16 // +------------------------------------------------------------------------+ 17 // | Authors | 18 // | Justin Jones <j.nagash@gmail.com> | 19 // | Markus Tacker <m@tacker.org> | 20 // +------------------------------------------------------------------------+ 21 // 3 // +----------------------------------------------------------------------+ 4 // | Decode and Encode data in Bittorrent format | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (C) 2004-2005 | 7 // | Justin Jones <j.nagash@gmail.com> | 8 // | Markus Tacker <m@tacker.org> | 9 // +----------------------------------------------------------------------+ 10 // | This library is free software; you can redistribute it and/or | 11 // | modify it under the terms of the GNU Lesser General Public | 12 // | License as published by the Free Software Foundation; either | 13 // | version 2.1 of the License, or (at your option) any later version. | 14 // | | 15 // | This library is distributed in the hope that it will be useful, | 16 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 18 // | Lesser General Public License for more details. | 19 // | | 20 // | You should have received a copy of the GNU Lesser General Public | 21 // | License along with this library; if not, write to the | 22 // | Free Software Foundation, Inc. | 23 // | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 24 // +----------------------------------------------------------------------+ 22 25 23 26 /** -
trunk/example.php
r9 r42 1 1 <?php 2 3 // +----------------------------------------------------------------------+ 4 // | Decode and Encode data in Bittorrent format | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (C) 2004-2005 Markus Tacker <m@tacker.org> | 7 // +----------------------------------------------------------------------+ 8 // | This library is free software; you can redistribute it and/or | 9 // | modify it under the terms of the GNU Lesser General Public | 10 // | License as published by the Free Software Foundation; either | 11 // | version 2.1 of the License, or (at your option) any later version. | 12 // | | 13 // | This library is distributed in the hope that it will be useful, | 14 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | Lesser General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU Lesser General Public | 19 // | License along with this library; if not, write to the | 20 // | Free Software Foundation, Inc. | 21 // | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 22 // +----------------------------------------------------------------------+ 2 23 3 24 /** -
trunk/infohash.php
r36 r42 1 1 <?php 2 3 // +----------------------------------------------------------------------+ 4 // | Decode and Encode data in Bittorrent format | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (C) 2004-2005 Markus Tacker <m@tacker.org> | 7 // +----------------------------------------------------------------------+ 8 // | This library is free software; you can redistribute it and/or | 9 // | modify it under the terms of the GNU Lesser General Public | 10 // | License as published by the Free Software Foundation; either | 11 // | version 2.1 of the License, or (at your option) any later version. | 12 // | | 13 // | This library is distributed in the hope that it will be useful, | 14 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | Lesser General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU Lesser General Public | 19 // | License along with this library; if not, write to the | 20 // | Free Software Foundation, Inc. | 21 // | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 22 // +----------------------------------------------------------------------+ 2 23 3 24 /** -
trunk/package.xml
r39 r42 1 <!-- 2 3 // +----------------------------------------------------------------------+ 4 // | Decode and Encode data in Bittorrent format | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (C) 2004-2005 Markus Tacker <m@tacker.org> | 7 // +----------------------------------------------------------------------+ 8 // | This library is free software; you can redistribute it and/or | 9 // | modify it under the terms of the GNU Lesser General Public | 10 // | License as published by the Free Software Foundation; either | 11 // | version 2.1 of the License, or (at your option) any later version. | 12 // | | 13 // | This library is distributed in the hope that it will be useful, | 14 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | Lesser General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU Lesser General Public | 19 // | License along with this library; if not, write to the | 20 // | Free Software Foundation, Inc. | 21 // | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 22 // +----------------------------------------------------------------------+ 23 24 Pear Package XML Version 1 25 @version: $Id$ 26 @autorh: Markus Tacker <m@tacker.org> 27 @package File_Bittorrent 28 @category File 29 30 --> 1 31 <?xml version="1.0" encoding="ISO-8859-1" ?> 2 32 <package version="1.0"> … … 5 35 <description>This package consists of three classes which handles the encoding and decoding of data in Bittorrent format. 6 36 You can also extract useful informations from .torrent files, create .torrent files and query the torrent's scrape page to get its statistics.</description> 7 <license> PHP License</license>37 <license>LGPL</license> 8 38 <maintainers> 9 39 <maintainer> … … 13 43 <role>lead</role> 14 44 </maintainer> 45 <maintainer> 46 <user>nagash</user> 47 <name>Justin Jones</name> 48 <email>j.nagash@gmail.com</email> 49 <role>developer</role> 50 </maintainer> 15 51 </maintainers> 16 52 <deps> … … 18 54 </deps> 19 55 <release> 20 <version>1.0.0RC 2</version>56 <version>1.0.0RC3</version> 21 57 <state>beta</state> 22 <date> 2005-07-25</date>23 <notes> Added querying of the tracker to decoder. Fixed a bug where only the first level of the path was displayed with File_Bittorrent::decodeFile().</notes>58 <date>TBA</date> 59 <notes>Changed license from PHP to LGPL. A warm welcome to Justin as new developer.</notes> 24 60 <filelist> 25 61 <file role="php">File/Bittorrent/Encode.php</file> … … 100 136 <notes>Added querying of the tracker to decoder. Fixed a bug where only the first level of the path was displayed with File_Bittorrent::decodeFile().</notes> 101 137 </release> 138 <release> 139 <version>1.0.0RC3</version> 140 <state>beta</state> 141 <date>TBA</date> 142 <notes>Changed license from PHP to LGPL. A warm welcome to Justin (handle: nagash) as new developer.</notes> 143 </release> 102 144 </changelog> 103 145 </package> -
trunk/scrape.php
r35 r42 1 1 <?php 2 3 // +----------------------------------------------------------------------+ 4 // | Decode and Encode data in Bittorrent format | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (C) 2004-2005 Markus Tacker <m@tacker.org> | 7 // +----------------------------------------------------------------------+ 8 // | This library is free software; you can redistribute it and/or | 9 // | modify it under the terms of the GNU Lesser General Public | 10 // | License as published by the Free Software Foundation; either | 11 // | version 2.1 of the License, or (at your option) any later version. | 12 // | | 13 // | This library is distributed in the hope that it will be useful, | 14 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | Lesser General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU Lesser General Public | 19 // | License along with this library; if not, write to the | 20 // | Free Software Foundation, Inc. | 21 // | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 22 // +----------------------------------------------------------------------+ 2 23 3 24 /** -
trunk/torrentinfo.php
r9 r42 1 1 <?php 2 3 // +----------------------------------------------------------------------+ 4 // | Decode and Encode data in Bittorrent format | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (C) 2004-2005 Markus Tacker <m@tacker.org> | 7 // +----------------------------------------------------------------------+ 8 // | This library is free software; you can redistribute it and/or | 9 // | modify it under the terms of the GNU Lesser General Public | 10 // | License as published by the Free Software Foundation; either | 11 // | version 2.1 of the License, or (at your option) any later version. | 12 // | | 13 // | This library is distributed in the hope that it will be useful, | 14 // | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | Lesser General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU Lesser General Public | 19 // | License along with this library; if not, write to the | 20 // | Free Software Foundation, Inc. | 21 // | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 22 // +----------------------------------------------------------------------+ 2 23 3 24 /** … … 5 26 * Get Info from a .torrent file 6 27 * 7 * Usage: 28 * Usage: 8 29 * # php torrentinfo.php -t file.torrent 9 30 *