[jbig2-cvs] rev 259 - trunk

giles at ghostscript.com giles at ghostscript.com
Wed Oct 1 11:35:05 PDT 2003


Author: giles
Date: 2003-06-13 15:42:55 -0700 (Fri, 13 Jun 2003)
New Revision: 259

Added:
   trunk/LICENSE
Modified:
   trunk/config_win32.h
   trunk/jbig2.c
   trunk/jbig2.h
   trunk/jbig2_arith.c
   trunk/jbig2_arith.h
   trunk/jbig2_arith_iaid.c
   trunk/jbig2_arith_iaid.h
   trunk/jbig2_arith_int.c
   trunk/jbig2_arith_int.h
   trunk/jbig2_generic.c
   trunk/jbig2_generic.h
   trunk/jbig2_huffman.c
   trunk/jbig2_huffman.h
   trunk/jbig2_hufftab.h
   trunk/jbig2_image.c
   trunk/jbig2_image.h
   trunk/jbig2_image_pbm.c
   trunk/jbig2_image_png.c
   trunk/jbig2_metadata.c
   trunk/jbig2_metadata.h
   trunk/jbig2_mmr.c
   trunk/jbig2_mmr.h
   trunk/jbig2_page.c
   trunk/jbig2_priv.h
   trunk/jbig2_segment.c
   trunk/jbig2_symbol_dict.c
   trunk/jbig2_symbol_dict.h
   trunk/jbig2_text.c
   trunk/jbig2dec.c
   trunk/memcmp.c
   trunk/os_types.h
   trunk/pbm2png.c
Log:
Update the license headers to use the same legal redirect as Ghostscript 
does. The individual files point to the file LICENSE which contains the 
real license (a pointer to the GPL in COPYING). This simplifies 
remarking for commercial distribution.

Also some minor additional debug prints in the symbol lookup code.


Added: trunk/LICENSE
===================================================================
--- trunk/LICENSE	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/LICENSE	2003-06-13 22:42:55 UTC (rev 259)
@@ -0,0 +1,18 @@
+  The files in this directory (folder) and any subdirectories 
+  (sub-folders) thereof are part of jbig2dec, with the exception
+  of certain source files included to support portability which are
+  marked otherwise in their copyright headers.
+
+  jbig2dec is free software; you can redistribute it and/or
+  modify it under the terms of version 2 of the GNU General Public
+  License as published by the Free Software Foundation.
+
+  This software 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 in the file named COPYING. If not, write 
+  to the Free Software Foundation, Inc., 59 Temple Place Suite 330,
+  Boston, MA 02111-1307, USA.

Modified: trunk/config_win32.h
===================================================================
--- trunk/config_win32.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/config_win32.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -1,3 +1,21 @@
+/*
+    jbig2dec
+
+    Copyright (c) 2002-2003 artofcode LLC.
+
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
+
+    $Id: $
+*/
+
 /* configuration header file for compiling under Microsoft Windows */
 
 /* update package version here */

Modified: trunk/jbig2.c
===================================================================
--- trunk/jbig2.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,18 @@
     
     Copyright (c) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is provided AS-IS with no warranty,
+    either express or implied.
+   
+    This software is distributed under license and may not 
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+   
+    For information on commercial licensing, go to 
+    http://www.artifex.com/licensing/ or contact 
+    Artifex Software, Inc.,  101 Lucas Valley Road #110, 
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
         
     $Id: jbig2.c,v 1.18 2003/02/03 20:04:11 giles Exp $
 */

Modified: trunk/jbig2.h
===================================================================
--- trunk/jbig2.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
         
     $Id: jbig2.h,v 1.17 2003/03/05 14:29:35 giles Exp $
 */

Modified: trunk/jbig2_arith.c
===================================================================
--- trunk/jbig2_arith.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_arith.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,18 @@
     
     Copyright (c) 2001 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is provided AS-IS with no warranty,
+    either express or implied.
+                                                                                
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_arith.c,v 1.13 2002/08/14 10:25:59 giles Exp $
 */

Modified: trunk/jbig2_arith.h
===================================================================
--- trunk/jbig2_arith.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_arith.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2001 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_arith.h,v 1.4 2002/02/16 07:25:36 raph Exp $
 */

Modified: trunk/jbig2_arith_iaid.c
===================================================================
--- trunk/jbig2_arith_iaid.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_arith_iaid.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -1,3 +1,24 @@
+/*
+    jbig2dec
+
+    Copyright (c) 2001 artofcode LLC.
+
+    This software is provided AS-IS with no warranty,
+    either express or implied.
+                                                                                
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
+
+    $Id: $
+*/
+
 /* Annex A.3 */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/jbig2_arith_iaid.h
===================================================================
--- trunk/jbig2_arith_iaid.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_arith_iaid.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -1,3 +1,21 @@
+/*
+    jbig2dec
+
+    Copyright (c) 2001 artofcode LLC.
+
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
+
+    $Id: $
+*/
+
 typedef struct _Jbig2ArithIaidCtx Jbig2ArithIaidCtx;
 
 Jbig2ArithIaidCtx *

Modified: trunk/jbig2_arith_int.c
===================================================================
--- trunk/jbig2_arith_int.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_arith_int.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -1,3 +1,24 @@
+/*
+    jbig2dec
+                                                                                
+    Copyright (c) 2001 artofcode LLC.
+                                                                                
+    This software is provided AS-IS with no warranty,
+    either express or implied.
+                                                                                
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
+                                                                                
+    $Id: jbig2_arith.c,v 1.13 2002/08/14 10:25:59 giles Exp $
+*/
+
 /* Annex A */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/jbig2_arith_int.h
===================================================================
--- trunk/jbig2_arith_int.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_arith_int.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -1,3 +1,21 @@
+/*
+    jbig2dec
+
+    Copyright (c) 2001 artofcode LLC.
+
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
+
+    $Id: $
+*/
+
 typedef struct _Jbig2ArithIntCtx Jbig2ArithIntCtx;
 
 Jbig2ArithIntCtx *

Modified: trunk/jbig2_generic.c
===================================================================
--- trunk/jbig2_generic.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_generic.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,11 +3,19 @@
     
     Copyright (c) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
-        
+    This software is provided AS-IS with no warranty,
+    either express or implied.
+                                                                                
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
+                                                                                
     $Id: jbig2_generic.c,v 1.13 2002/07/20 17:23:15 giles Exp $
 */
 

Modified: trunk/jbig2_generic.h
===================================================================
--- trunk/jbig2_generic.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_generic.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
         
     $Id: jbig2_generic.h,v 1.7 2002/07/04 13:34:29 giles Exp $
 */

Modified: trunk/jbig2_huffman.c
===================================================================
--- trunk/jbig2_huffman.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_huffman.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2001 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
     
     $Id: jbig2_huffman.c,v 1.11 2002/07/20 17:23:15 giles Exp $
 */

Modified: trunk/jbig2_huffman.h
===================================================================
--- trunk/jbig2_huffman.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_huffman.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2001 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_huffman.h,v 1.4 2002/06/15 16:02:53 giles Exp $
 */

Modified: trunk/jbig2_hufftab.h
===================================================================
--- trunk/jbig2_hufftab.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_hufftab.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2001 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
     
     $Id: jbig2_hufftab.h,v 1.3 2002/06/15 16:02:54 giles Exp $
 */

Modified: trunk/jbig2_image.c
===================================================================
--- trunk/jbig2_image.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_image.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2001-2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_image.c,v 1.21 2003/02/07 05:06:46 raph Exp $
 */

Modified: trunk/jbig2_image.h
===================================================================
--- trunk/jbig2_image.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_image.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2001-2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_image.h,v 1.5 2002/06/18 13:40:29 giles Exp $
 */

Modified: trunk/jbig2_image_pbm.c
===================================================================
--- trunk/jbig2_image_pbm.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_image_pbm.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_image_pbm.c,v 1.12 2002/08/15 14:54:45 giles Exp $
 */

Modified: trunk/jbig2_image_png.c
===================================================================
--- trunk/jbig2_image_png.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_image_png.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_image_png.c,v 1.9 2002/08/07 12:50:33 giles Exp $
 */

Modified: trunk/jbig2_metadata.c
===================================================================
--- trunk/jbig2_metadata.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_metadata.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2003 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_metadata.c,v 1.2 2003/03/05 03:32:41 giles Exp $
 */

Modified: trunk/jbig2_metadata.h
===================================================================
--- trunk/jbig2_metadata.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_metadata.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2003 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_metadata.h,v 1.2 2003/03/05 03:32:41 giles Exp $
 */

Modified: trunk/jbig2_mmr.c
===================================================================
--- trunk/jbig2_mmr.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_mmr.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (C) 2001-2003 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+    
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_mmr.c,v 1.12 2003/02/05 15:27:42 giles Exp $
 */

Modified: trunk/jbig2_mmr.h
===================================================================
--- trunk/jbig2_mmr.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_mmr.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -1,3 +1,21 @@
+/*
+    jbig2dec
+
+    Copyright (c) 2001 artofcode LLC.
+
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
+
+    $Id: $
+*/
+
 int
 jbig2_decode_generic_mmr(Jbig2Ctx *ctx,
 			 Jbig2Segment *segment,

Modified: trunk/jbig2_page.c
===================================================================
--- trunk/jbig2_page.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_page.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2001-2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_page.c,v 1.15 2002/08/15 14:54:45 giles Exp $
 */
@@ -247,4 +252,4 @@
     jbig2_error(ctx, JBIG2_SEVERITY_WARNING, -1,
         "jbig2_release_page called on unknown page");
     return 1;
-}
\ No newline at end of file
+}

Modified: trunk/jbig2_priv.h
===================================================================
--- trunk/jbig2_priv.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_priv.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
         
     $Id: jbig2_priv.h,v 1.16 2002/08/05 22:47:53 giles Exp $
     

Modified: trunk/jbig2_segment.c
===================================================================
--- trunk/jbig2_segment.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_segment.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2002-2003 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_segment.c,v 1.23 2003/03/10 14:44:01 giles Exp $
 */

Modified: trunk/jbig2_symbol_dict.c
===================================================================
--- trunk/jbig2_symbol_dict.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_symbol_dict.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (C) 2001-2003 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_symbol_dict.c,v 1.20 2003/03/05 12:25:54 giles Exp $
     
@@ -153,7 +158,7 @@
             {
 	      /* todo: mem cleanup */
               code = jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
-                "Invalid SYMWIDTH value");
+                "Invalid SYMWIDTH value (%d) at symbol %d", SYMWIDTH, NSYMSDECODED+1);
               return NULL;
             }
 #ifdef DEBUG
@@ -300,10 +305,10 @@
 				  segment->data_length - offset,
 				  GB_stats);
 #ifdef DUMP_SYMDICT
-  jbig2_dump_symbol_dict(segment->result);
+  if (segment->result) jbig2_dump_symbol_dict(segment->result);
 #endif
 
-  return 0;
+  return (segment->result != NULL) ? 0 : -1;
 
   /* todo: retain or free GB_stats */
   

Modified: trunk/jbig2_symbol_dict.h
===================================================================
--- trunk/jbig2_symbol_dict.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_symbol_dict.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (C) 2001-2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_symbol_dict.h,v 1.4 2002/06/22 21:20:38 giles Exp $
 

Modified: trunk/jbig2_text.c
===================================================================
--- trunk/jbig2_text.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2_text.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (C) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2_text.c,v 1.22 2003/03/05 14:29:35 giles Exp $
 */

Modified: trunk/jbig2dec.c
===================================================================
--- trunk/jbig2dec.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/jbig2dec.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (C) 2001-2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: jbig2dec.c,v 1.41 2002/08/15 14:54:45 giles Exp $
 */

Modified: trunk/memcmp.c
===================================================================
--- trunk/memcmp.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/memcmp.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (C) 2001-2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: memcmp.c,v 1.1 2002/08/05 17:10:44 giles Exp $
 */

Modified: trunk/os_types.h
===================================================================
--- trunk/os_types.h	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/os_types.h	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (c) 2003 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
         
     $Id: os_types.h,v 1.1 2002/07/20 17:23:15 giles Exp $
 */

Modified: trunk/pbm2png.c
===================================================================
--- trunk/pbm2png.c	2003-05-20 12:03:43 UTC (rev 258)
+++ trunk/pbm2png.c	2003-06-13 22:42:55 UTC (rev 259)
@@ -3,10 +3,15 @@
     
     Copyright (C) 2002 artofcode LLC.
     
-    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 2 of the License, or
-    (at your option) any later version.
+    This software is distributed under license and may not
+    be copied, modified or distributed except as expressly
+    authorized under the terms of the license contained in
+    the file LICENSE in this distribution.
+                                                                                
+    For information on commercial licensing, go to
+    http://www.artifex.com/licensing/ or contact
+    Artifex Software, Inc.,  101 Lucas Valley Road #110,
+    San Rafael, CA  94903, U.S.A., +1(415)492-9861.
 
     $Id: pbm2png.c,v 1.3 2002/07/08 14:54:02 giles Exp $
 */



More information about the jbig2-cvs mailing list