Changeset 211
- Timestamp:
- 06/16/05 15:50:14 (19 years ago)
- Location:
- pkpgcounter/trunk
- Files:
-
- 18 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/bin/pkpgcounter
r202 r211 4 4 # pkpgcounter : a generic Page Description Language parser 5 5 # 6 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>6 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 7 7 # This program is free software; you can redistribute it and/or modify 8 8 # it under the terms of the GNU General Public License as published by … … 23 23 # 24 24 25 import sys 26 from pdlanalyzer.version import __version__ 25 27 from pdlanalyzer import analyzer 26 28 27 29 if __name__ == "__main__" : 28 analyzer.main() 30 if (len(sys.argv) >= 2) and (sys.argv[1] in ("-h", "--help")) : 31 print "usage : pkpgcounter file1 [ file2 ... fileN [ <anotherfile ] ]" 32 elif (len(sys.argv) >= 2) and (sys.argv[1] in ("-v", "--version") : 33 print __version__ 34 else : 35 analyzer.main() 29 36 -
pkpgcounter/trunk/BUGS
r187 r211 3 3 pkpgcounter : a generic Page Description Language parser 4 4 5 (c) 200 5 Jerome Alet <alet@librelogiciel.com>5 (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 6 6 This program is free software; you can redistribute it and/or modify 7 7 it under the terms of the GNU General Public License as published by … … 16 16 You should have received a copy of the GNU General Public License 17 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 19 20 20 ============================================================================= -
pkpgcounter/trunk/clean.sh
r197 r211 16 16 # You should have received a copy of the GNU General Public License 17 17 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 19 # 20 20 # $Id$ -
pkpgcounter/trunk/COPYING
r187 r211 1 2 1 GNU GENERAL PUBLIC LICENSE 2 Version 2, June 1991 3 3 4 4 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5 59 Temple Place, Suite 330 6 Boston, MA 02111-1307, USA. 5 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 7 6 Everyone is permitted to copy and distribute verbatim copies 8 7 of this license document, but changing it is not allowed. 9 8 10 9 Preamble 11 10 12 11 The licenses for most software are designed to take away your … … 57 56 The precise terms and conditions for copying, distribution and 58 57 modification follow. 59 60 58 59 GNU GENERAL PUBLIC LICENSE 61 60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 62 61 … … 112 111 does not normally print such an announcement, your work based on 113 112 the Program is not required to print an announcement.) 114 113 115 114 These requirements apply to the modified work as a whole. If 116 115 identifiable sections of that work are not derived from the Program, … … 170 169 distribution of the source code, even though third parties are not 171 170 compelled to copy the source along with the object code. 172 171 173 172 4. You may not copy, modify, sublicense, or distribute the Program 174 173 except as expressly provided under this License. Any attempt … … 227 226 This section is intended to make thoroughly clear what is believed to 228 227 be a consequence of the rest of this License. 229 228 230 229 8. If the distribution and/or use of the Program is restricted in 231 230 certain countries either by patents or by copyrighted interfaces, the … … 257 256 of promoting the sharing and reuse of software generally. 258 257 259 258 NO WARRANTY 260 259 261 260 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY … … 279 278 POSSIBILITY OF SUCH DAMAGES. 280 279 281 282 283 Appendix:How to Apply These Terms to Your New Programs280 END OF TERMS AND CONDITIONS 281 282 How to Apply These Terms to Your New Programs 284 283 285 284 If you develop a new program, and you want it to be of the greatest … … 293 292 294 293 <one line to give the program's name and a brief idea of what it does.> 295 Copyright (C) 19yy<name of author>294 Copyright (C) <year> <name of author> 296 295 297 296 This program is free software; you can redistribute it and/or modify … … 307 306 You should have received a copy of the GNU General Public License 308 307 along with this program; if not, write to the Free Software 309 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 308 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 309 310 310 311 311 Also add information on how to contact you by electronic and paper mail. … … 314 314 when it starts in an interactive mode: 315 315 316 Gnomovision version 69, Copyright (C) 19yyname of author316 Gnomovision version 69, Copyright (C) year name of author 317 317 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 318 318 This is free software, and you are welcome to redistribute it -
pkpgcounter/trunk/CREDITS
r187 r211 3 3 pkpgcounter : a generic Page Description Language parser 4 4 5 (c) 200 5 Jerome Alet <alet@librelogiciel.com>5 (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 6 6 This program is free software; you can redistribute it and/or modify 7 7 it under the terms of the GNU General Public License as published by … … 16 16 You should have received a copy of the GNU General Public License 17 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 19 20 20 ============================================================ -
pkpgcounter/trunk/NEWS
r187 r211 3 3 pkpgcounter : a generic Page Description Language parser 4 4 5 (c) 200 5 Jerome Alet <alet@librelogiciel.com>5 (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 6 6 This program is free software; you can redistribute it and/or modify 7 7 it under the terms of the GNU General Public License as published by … … 16 16 You should have received a copy of the GNU General Public License 17 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 19 20 20 ============================================================================= … … 22 22 pkpgcounter News : 23 23 24 * 1.50 : 25 26 - Major code changes to modularize. The pkpgcounter command line tool 27 is now just an almost empty skeleton, which uses the pdlanalyzer 28 library. 29 30 - Several improvements to the parsing code. 31 24 32 * 1.00 : 25 33 -
pkpgcounter/trunk/pdlanalyzer/analyzer.py
r209 r211 2 2 # pkpgcounter : a generic Page Description Language parser 3 3 # 4 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>4 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 5 5 # This program is free software; you can redistribute it and/or modify 6 6 # it under the terms of the GNU General Public License as published by … … 15 15 # You should have received a copy of the GNU General Public License 16 16 # along with this program; if not, write to the Free Software 17 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 18 # 19 19 # $Id$ -
pkpgcounter/trunk/pdlanalyzer/escp2.py
r200 r211 4 4 # pkpgcounter : a generic Page Description Language parser 5 5 # 6 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>6 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 7 7 # This program is free software; you can redistribute it and/or modify 8 8 # it under the terms of the GNU General Public License as published by … … 17 17 # You should have received a copy of the GNU General Public License 18 18 # along with this program; if not, write to the Free Software 19 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 20 # 21 21 # $Id$ -
pkpgcounter/trunk/pdlanalyzer/__init__.py
r190 r211 2 2 # pkpgcounter : a generic Page Description Language parser 3 3 # 4 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>4 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 5 5 # This program is free software; you can redistribute it and/or modify 6 6 # it under the terms of the GNU General Public License as published by … … 15 15 # You should have received a copy of the GNU General Public License 16 16 # along with this program; if not, write to the Free Software 17 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 18 # 19 19 # $Id$ -
pkpgcounter/trunk/pdlanalyzer/pcl345.py
r210 r211 4 4 # pkpgcounter : a generic Page Description Language parser 5 5 # 6 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>6 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 7 7 # This program is free software; you can redistribute it and/or modify 8 8 # it under the terms of the GNU General Public License as published by … … 17 17 # You should have received a copy of the GNU General Public License 18 18 # along with this program; if not, write to the Free Software 19 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 20 # 21 21 # $Id$ -
pkpgcounter/trunk/pdlanalyzer/pclxl.py
r207 r211 4 4 # pkpgcounter : a generic Page Description Language parser 5 5 # 6 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>6 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 7 7 # This program is free software; you can redistribute it and/or modify 8 8 # it under the terms of the GNU General Public License as published by … … 17 17 # You should have received a copy of the GNU General Public License 18 18 # along with this program; if not, write to the Free Software 19 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 20 # 21 21 # $Id$ -
pkpgcounter/trunk/pdlanalyzer/pdf.py
r208 r211 4 4 # pkpgcounter : a generic Page Description Language parser 5 5 # 6 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>6 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 7 7 # This program is free software; you can redistribute it and/or modify 8 8 # it under the terms of the GNU General Public License as published by … … 17 17 # You should have received a copy of the GNU General Public License 18 18 # along with this program; if not, write to the Free Software 19 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 20 # 21 21 # $Id$ -
pkpgcounter/trunk/pdlanalyzer/pdlparser.py
r200 r211 2 2 # pkpgcounter : a generic Page Description Language parser 3 3 # 4 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>4 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 5 5 # This program is free software; you can redistribute it and/or modify 6 6 # it under the terms of the GNU General Public License as published by … … 15 15 # You should have received a copy of the GNU General Public License 16 16 # along with this program; if not, write to the Free Software 17 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 18 # 19 19 # $Id$ -
pkpgcounter/trunk/pdlanalyzer/postscript.py
r208 r211 4 4 # pkpgcounter : a generic Page Description Language parser 5 5 # 6 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>6 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 7 7 # This program is free software; you can redistribute it and/or modify 8 8 # it under the terms of the GNU General Public License as published by … … 17 17 # You should have received a copy of the GNU General Public License 18 18 # along with this program; if not, write to the Free Software 19 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 20 # 21 21 # $Id$ -
pkpgcounter/trunk/pdlanalyzer/version.py
r190 r211 2 2 # pkpgcounter : a generic Page Description Language parser 3 3 # 4 # (c) 2003, 2004,2005 Jerome Alet <alet@librelogiciel.com>4 # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 5 5 # This program is free software; you can redistribute it and/or modify 6 6 # it under the terms of the GNU General Public License as published by … … 15 15 # You should have received a copy of the GNU General Public License 16 16 # along with this program; if not, write to the Free Software 17 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 18 # 19 19 # $Id$ 20 20 # 21 21 22 __version__ = "1. 10"22 __version__ = "1.50" 23 23 24 24 __doc__ = """pkpgcounter : a generic Page Description Languages parser.""" -
pkpgcounter/trunk/README
r204 r211 3 3 pkpgcounter : a generic Page Description Language parser 4 4 5 (c) 200 5 Jerome Alet <alet@librelogiciel.com>5 (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 6 6 This program is free software; you can redistribute it and/or modify 7 7 it under the terms of the GNU General Public License as published by … … 16 16 You should have received a copy of the GNU General Public License 17 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 19 20 20 ============================================================================= -
pkpgcounter/trunk/setup.py
r199 r211 17 17 # You should have received a copy of the GNU General Public License 18 18 # along with this program; if not, write to the Free Software 19 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 20 # 21 21 # $Id$ -
pkpgcounter/trunk/tests/README
r197 r211 16 16 You should have received a copy of the GNU General Public License 17 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307, USA.18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 19 20 20 ====================================================================