[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-1832-g6882df8

[email protected] (Robin Watts) Fri, 8 Nov 2019 12:22:05 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
The ghostpdl branch, master has been updated
       via  6882df85d37819d849476cf2b4822a90e64d9b24 (commit)
       via  b7fac758d046c82d65fa69dd2c4bc0f1cf9712bc (commit)
      from  328d27b3cccc89c4ff60529106489a9a635f0f72 (commit)

----------------------------------------------------------------------
commit 6882df85d37819d849476cf2b4822a90e64d9b24
Author: Robin Watts <[email protected]>
Date:   Fri Nov 8 12:08:52 2019 +0000

    Add a couple of FIXMEs to the xps interpreter.

diff --git a/xps/xpsimage.c b/xps/xpsimage.c
index 94a8f5f..e08a068 100644
--- a/xps/xpsimage.c
+++ b/xps/xpsimage.c
@@ -264,6 +264,7 @@ xps_paint_image_brush_imp(xps_context_t *ctx, xps_image_t *image, int alpha)
 
     gsimage.Interpolate = 1;
 
+    /* FIXME: leak enum in case of error */
     penum = gs_image_enum_alloc(ctx->memory, "xps_parse_image_brush (gs_image_enum_alloc)");
     if (!penum)
         return gs_throw(gs_error_VMerror, "gs_enum_allocate failed");
diff --git a/xps/xpstop.c b/xps/xpstop.c
index 49d31c7..a53cc7a 100644
--- a/xps/xpstop.c
+++ b/xps/xpstop.c
@@ -127,6 +127,7 @@ xps_impl_allocate_interp_instance(pl_interp_implementation_t *impl,
         return gs_error_VMerror;
     }
 
+    /* FIXME: check return value */
     gsicc_init_iccmanager(pgs);
     memset(ctx, 0, sizeof(xps_context_t));
 

----------------------------------------------------------------------
commit b7fac758d046c82d65fa69dd2c4bc0f1cf9712bc
Author: Robin Watts <[email protected]>
Date:   Fri Nov 8 12:08:24 2019 +0000

    Remove unused gpdlpsi.mak file.

diff --git a/gpdl/psi/gpdlpsi.mak b/gpdl/psi/gpdlpsi.mak
deleted file mode 100644
index 84bddb1..0000000
--- a/gpdl/psi/gpdlpsi.mak
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright (C) 2001-2019 Artifex Software, Inc.
-# All Rights Reserved.
-#
-# 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.
-#
-# Refer to licensing information at http://www.artifex.com or contact
-# Artifex Software, Inc.,  1305 Grant Avenue - Suite 200, Novato,
-# CA 94945, U.S.A., +1(415)492-9861, for further information.
-#
-
-# makefile for PS Interface (PSI) to Ghostscript PostScript.
-# Users of this makefile must define the following:
-#	PSSRCDIR - the PS interpreter source directory
-#	GLSRCDIR - the GS library source directory
-#	GLGENDIR - the GS library generated file directory
-#	PLSRCDIR - the PCL* support library source directory
-#	PLOBJDIR - the PCL* support library object / executable directory
-#	PSISRCDIR - the source directory
-#	PSIGENDIR - the directory for source files generated during building
-#	PSIOBJDIR - the object / executable directory
-#	PSI_TOP_OBJ - object file to top-level interpreter API
-
-PLOBJ=$(PLOBJDIR)$(D)
-
-PSISRC=$(PSISRCDIR)$(D)
-PSIGEN=$(PSIGENDIR)$(D)
-PSIOBJ=$(PSIOBJDIR)$(D)
-PSIO_=$(O_)$(PSIOBJ)
-
-PSICCC=$(CC_) $(I_)$(PSISRCDIR)$(_I) $(I_)$(PSIGENDIR)$(_I) $(I_)$(PLSRCDIR)$(_I) $(I_)$(PSSRCDIR)$(_I) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLGENDIR)$(_I) $(C_)
-
-# Define the name of this makefile.
-PSI_MAK=$(PSISRC)psi.mak
-
-psi.clean: psi.config-clean psi.clean-not-config-clean
-
-psi.clean-not-config-clean: clean_gs
-	$(RM_) $(PSIOBJ)*.$(OBJ)
-	$(RM_) $(PSIOBJ)devs.tr6
-
-# devices are still created in the current directory.  Until that 
-# is fixed we will have to remove them from both directories.
-psi.config-clean:
-	$(RM_) $(PSIOBJ)*.dev
-	$(RM_) *.dev
-
-################ PS Language Interface ################
-
-# Top-level API
-$(PSI_TOP_OBJ): $(PSISRC)psitop.c $(AK) $(stdio__h)\
- $(string__h) $(gdebug_h) $(gp_h) $(gsdevice_h) $(gserrors_h) $(gsmemory_h)\
- $(gsstate_h) $(gsstruct_h) $(gspaint_h) $(gstypes_h) $(gxalloc_h) $(gxstate_h)\
- $(gsnogc_h) $(pltop_h) $(psitop_h) $(plparse_h) $(gsicc_manage_h)\
- $(PSIGEN)pconf.h $(plfont_h) $(uconfig_h) $(pconfig_h)
-	$(PSICCC) $(PSISRC)psitop.c $(O_)$(PSI_TOP_OBJ)
-
-$(PSIOBJ)psi.dev: $(PSI_MAK) $(ECHOGS_XE) $(PLOBJ)pjl.dev 
-	$(SETMOD) $(PSIOBJ)psi $(PSI_TOP_OBJ)
-	$(ADDMOD) $(PSIOBJ)psi -include $(PLOBJ)pl $(PLOBJ)pjl


Summary of changes:
 gpdl/psi/gpdlpsi.mak | 64 ----------------------------------------------------
 xps/xpsimage.c       |  1 +
 xps/xpstop.c         |  1 +
 3 files changed, 2 insertions(+), 64 deletions(-)
 delete mode 100644 gpdl/psi/gpdlpsi.mak