Changeset 211

Show
Ignore:
Timestamp:
06/16/05 15:50:14 (19 years ago)
Author:
jerome
Message:

License changes because of the new snail mail address of the Free
Software Foundation.
Added -h|--help and -v|--version command line options handling.
v1.50 is now out.

Location:
pkpgcounter/trunk
Files:
18 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/bin/pkpgcounter

    r202 r211  
    44# pkpgcounter : a generic Page Description Language parser 
    55# 
    6 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     6# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    77# This program is free software; you can redistribute it and/or modify 
    88# it under the terms of the GNU General Public License as published by 
     
    2323# 
    2424 
     25import sys 
     26from pdlanalyzer.version import __version__ 
    2527from pdlanalyzer import analyzer 
    2628 
    2729if __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() 
    2936 
  • pkpgcounter/trunk/BUGS

    r187 r211  
    33pkpgcounter : a generic Page Description Language parser 
    44 
    5 (c) 2005 Jerome Alet <alet@librelogiciel.com> 
     5(c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    66This program is free software; you can redistribute it and/or modify 
    77it under the terms of the GNU General Public License as published by 
     
    1616You should have received a copy of the GNU General Public License 
    1717along with this program; if not, write to the Free Software 
    18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     18Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1919 
    2020============================================================================= 
  • pkpgcounter/trunk/clean.sh

    r197 r211  
    1616# You should have received a copy of the GNU General Public License 
    1717# along with this program; if not, write to the Free Software 
    18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     18# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1919# 
    2020# $Id$ 
  • pkpgcounter/trunk/COPYING

    r187 r211  
    1                     GNU GENERAL PUBLIC LICENSE 
    2                        Version 2, June 1991 
     1                    GNU GENERAL PUBLIC LICENSE 
     2                       Version 2, June 1991 
    33 
    44 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 
    76 Everyone is permitted to copy and distribute verbatim copies 
    87 of this license document, but changing it is not allowed. 
    98 
    10                             Preamble 
     9                            Preamble 
    1110 
    1211  The licenses for most software are designed to take away your 
     
    5756  The precise terms and conditions for copying, distribution and 
    5857modification follow. 
    59  
    60                     GNU GENERAL PUBLIC LICENSE 
     58  
     59                    GNU GENERAL PUBLIC LICENSE 
    6160   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 
    6261 
     
    112111    does not normally print such an announcement, your work based on 
    113112    the Program is not required to print an announcement.) 
    114  
     113  
    115114These requirements apply to the modified work as a whole.  If 
    116115identifiable sections of that work are not derived from the Program, 
     
    170169distribution of the source code, even though third parties are not 
    171170compelled to copy the source along with the object code. 
    172  
     171  
    173172  4. You may not copy, modify, sublicense, or distribute the Program 
    174173except as expressly provided under this License.  Any attempt 
     
    227226This section is intended to make thoroughly clear what is believed to 
    228227be a consequence of the rest of this License. 
    229  
     228  
    230229  8. If the distribution and/or use of the Program is restricted in 
    231230certain countries either by patents or by copyrighted interfaces, the 
     
    257256of promoting the sharing and reuse of software generally. 
    258257 
    259                             NO WARRANTY 
     258                            NO WARRANTY 
    260259 
    261260  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 
     
    279278POSSIBILITY OF SUCH DAMAGES. 
    280279 
    281                      END OF TERMS AND CONDITIONS 
    282  
    283         Appendix: How to Apply These Terms to Your New Programs 
     280                     END OF TERMS AND CONDITIONS 
     281  
     282            How to Apply These Terms to Your New Programs 
    284283 
    285284  If you develop a new program, and you want it to be of the greatest 
     
    293292 
    294293    <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> 
    296295 
    297296    This program is free software; you can redistribute it and/or modify 
     
    307306    You should have received a copy of the GNU General Public License 
    308307    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 
    310310 
    311311Also add information on how to contact you by electronic and paper mail. 
     
    314314when it starts in an interactive mode: 
    315315 
    316     Gnomovision version 69, Copyright (C) 19yy name of author 
     316    Gnomovision version 69, Copyright (C) year name of author 
    317317    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 
    318318    This is free software, and you are welcome to redistribute it 
  • pkpgcounter/trunk/CREDITS

    r187 r211  
    33pkpgcounter : a generic Page Description Language parser 
    44 
    5 (c) 2005 Jerome Alet <alet@librelogiciel.com> 
     5(c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    66This program is free software; you can redistribute it and/or modify 
    77it under the terms of the GNU General Public License as published by 
     
    1616You should have received a copy of the GNU General Public License 
    1717along with this program; if not, write to the Free Software 
    18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     18Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1919 
    2020============================================================ 
  • pkpgcounter/trunk/NEWS

    r187 r211  
    33pkpgcounter : a generic Page Description Language parser 
    44 
    5 (c) 2005 Jerome Alet <alet@librelogiciel.com> 
     5(c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    66This program is free software; you can redistribute it and/or modify 
    77it under the terms of the GNU General Public License as published by 
     
    1616You should have received a copy of the GNU General Public License 
    1717along with this program; if not, write to the Free Software 
    18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     18Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1919 
    2020============================================================================= 
     
    2222pkpgcounter News : 
    2323    
     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       
    2432  * 1.00 : 
    2533 
  • pkpgcounter/trunk/pdlanalyzer/analyzer.py

    r209 r211  
    22# pkpgcounter : a generic Page Description Language parser 
    33# 
    4 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     4# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    55# This program is free software; you can redistribute it and/or modify 
    66# it under the terms of the GNU General Public License as published by 
     
    1515# You should have received a copy of the GNU General Public License 
    1616# along with this program; if not, write to the Free Software 
    17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     17# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1818# 
    1919# $Id$ 
  • pkpgcounter/trunk/pdlanalyzer/escp2.py

    r200 r211  
    44# pkpgcounter : a generic Page Description Language parser 
    55# 
    6 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     6# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    77# This program is free software; you can redistribute it and/or modify 
    88# it under the terms of the GNU General Public License as published by 
     
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    2020# 
    2121# $Id$ 
  • pkpgcounter/trunk/pdlanalyzer/__init__.py

    r190 r211  
    22# pkpgcounter : a generic Page Description Language parser 
    33# 
    4 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     4# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    55# This program is free software; you can redistribute it and/or modify 
    66# it under the terms of the GNU General Public License as published by 
     
    1515# You should have received a copy of the GNU General Public License 
    1616# along with this program; if not, write to the Free Software 
    17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     17# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1818# 
    1919# $Id$ 
  • pkpgcounter/trunk/pdlanalyzer/pcl345.py

    r210 r211  
    44# pkpgcounter : a generic Page Description Language parser 
    55# 
    6 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     6# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    77# This program is free software; you can redistribute it and/or modify 
    88# it under the terms of the GNU General Public License as published by 
     
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    2020# 
    2121# $Id$ 
  • pkpgcounter/trunk/pdlanalyzer/pclxl.py

    r207 r211  
    44# pkpgcounter : a generic Page Description Language parser 
    55# 
    6 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     6# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    77# This program is free software; you can redistribute it and/or modify 
    88# it under the terms of the GNU General Public License as published by 
     
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    2020# 
    2121# $Id$ 
  • pkpgcounter/trunk/pdlanalyzer/pdf.py

    r208 r211  
    44# pkpgcounter : a generic Page Description Language parser 
    55# 
    6 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     6# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    77# This program is free software; you can redistribute it and/or modify 
    88# it under the terms of the GNU General Public License as published by 
     
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    2020# 
    2121# $Id$ 
  • pkpgcounter/trunk/pdlanalyzer/pdlparser.py

    r200 r211  
    22# pkpgcounter : a generic Page Description Language parser 
    33# 
    4 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     4# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    55# This program is free software; you can redistribute it and/or modify 
    66# it under the terms of the GNU General Public License as published by 
     
    1515# You should have received a copy of the GNU General Public License 
    1616# along with this program; if not, write to the Free Software 
    17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     17# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1818# 
    1919# $Id$ 
  • pkpgcounter/trunk/pdlanalyzer/postscript.py

    r208 r211  
    44# pkpgcounter : a generic Page Description Language parser 
    55# 
    6 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     6# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    77# This program is free software; you can redistribute it and/or modify 
    88# it under the terms of the GNU General Public License as published by 
     
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    2020# 
    2121# $Id$ 
  • pkpgcounter/trunk/pdlanalyzer/version.py

    r190 r211  
    22# pkpgcounter : a generic Page Description Language parser 
    33# 
    4 # (c) 2003,2004,2005 Jerome Alet <alet@librelogiciel.com> 
     4# (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    55# This program is free software; you can redistribute it and/or modify 
    66# it under the terms of the GNU General Public License as published by 
     
    1515# You should have received a copy of the GNU General Public License 
    1616# along with this program; if not, write to the Free Software 
    17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     17# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1818# 
    1919# $Id$ 
    2020# 
    2121 
    22 __version__ = "1.10" 
     22__version__ = "1.50" 
    2323 
    2424__doc__ = """pkpgcounter : a generic Page Description Languages parser.""" 
  • pkpgcounter/trunk/README

    r204 r211  
    33pkpgcounter : a generic Page Description Language parser 
    44 
    5 (c) 2005 Jerome Alet <alet@librelogiciel.com> 
     5(c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> 
    66This program is free software; you can redistribute it and/or modify 
    77it under the terms of the GNU General Public License as published by 
     
    1616You should have received a copy of the GNU General Public License 
    1717along with this program; if not, write to the Free Software 
    18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     18Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1919 
    2020============================================================================= 
  • pkpgcounter/trunk/setup.py

    r199 r211  
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    2020# 
    2121# $Id$ 
  • pkpgcounter/trunk/tests/README

    r197 r211  
    1616You should have received a copy of the GNU General Public License 
    1717along with this program; if not, write to the Free Software 
    18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
     18Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    1919 
    2020====================================================================