[gs-cvs] rev 8478 - in trunk/gs: doc src toolbin
giles at ghostscript.com
giles at ghostscript.com
Mon Jan 7 12:58:39 PST 2008
Author: giles
Date: 2008-01-07 12:58:36 -0800 (Mon, 07 Jan 2008)
New Revision: 8478
Modified:
trunk/gs/doc/Use.htm
trunk/gs/src/Makefile.in
trunk/gs/src/gs.mak
trunk/gs/src/inameidx.h
trunk/gs/src/int.mak
trunk/gs/src/macos-mcp.mak
trunk/gs/src/macosx.mak
trunk/gs/src/openvms.mak
trunk/gs/src/openvms.mmk
trunk/gs/src/os2.mak
trunk/gs/src/unix-end.mak
trunk/gs/src/unix-gcc.mak
trunk/gs/src/wctail.mak
trunk/gs/src/winlib.mak
trunk/gs/toolbin/msvcxml.bat
Log:
Remove EXTEND_NAMES from the top level makefiles.
There is a fallback to the default value of 0 in inameidx.h so there
is no change in the default behaviour. The extended name table can
still be activated by defining EXTEND_NAMES on the compiler command
line or changing the source directly.
Modified: trunk/gs/doc/Use.htm
===================================================================
--- trunk/gs/doc/Use.htm 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/doc/Use.htm 2008-01-07 20:58:36 UTC (rev 8478)
@@ -2910,8 +2910,8 @@
<td>
<td>Allocate space for <b><em>n</em></b>K names, rather than the
default (normally 64K). <b><em>n</em></b> may be greater than
- 64 only if <b><tt>EXTEND_NAMES</tt></b> was defined when the
- interpreter was compiled .
+ 64 only if <b><tt>EXTEND_NAMES</tt></b> was defined (in
+ inameidx.h) when the interpreter was compiled .
<tr> <td valign=top><b><tt>-Z</tt></b><em>xxx</em><br><b><tt>-Z-</tt></b><em>xxx</em>
<td>
<td>
Modified: trunk/gs/src/Makefile.in
===================================================================
--- trunk/gs/src/Makefile.in 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/Makefile.in 2008-01-07 20:58:36 UTC (rev 8478)
@@ -401,11 +401,6 @@
# unix-dll.mak when building a shared object.
DISPLAY_DEV=$(DD)bbox.dev
-# Define the name table capacity size of 2^(16+n).
-# Setting this to a non-zero value will slow down the interpreter.
-
-EXTEND_NAMES=0
-
# Choose the device(s) to include. See devs.mak for details,
# devs.mak and contrib.mak for the list of available devices.
Modified: trunk/gs/src/gs.mak
===================================================================
--- trunk/gs/src/gs.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/gs.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -151,10 +151,6 @@
# based stdio in ziodevs.c.
# Callouts use procedure based streams and return back to
# to gs_main_interpret() in imain.c whenever stdio is needed.
-# EXTEND_NAMES - a value N between 0 and 6, indicating that the name
-# table should have a capacity of 2^(16+N) names. This normally
-# should be set to 0 (or left undefined), since non-zero values
-# result in a larger fixed space overhead and slightly slower code.
#
# It is very unlikely that anyone would want to edit the remaining
# symbols, but we describe them here for completeness:
Modified: trunk/gs/src/inameidx.h
===================================================================
--- trunk/gs/src/inameidx.h 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/inameidx.h 2008-01-07 20:58:36 UTC (rev 8478)
@@ -17,8 +17,6 @@
#ifndef inameidx_INCLUDED
# define inameidx_INCLUDED
-#include "gconfigv.h" /* defines EXTEND_NAMES */
-
/*
* The name table machinery has two slightly different configurations:
* a faster one that limits the total number of names to 64K and allows
Modified: trunk/gs/src/int.mak
===================================================================
--- trunk/gs/src/int.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/int.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -57,7 +57,7 @@
igcstr_h=$(PSSRC)igcstr.h
inames_h=$(PSSRC)inames.h
iname_h=$(PSSRC)iname.h $(inames_h)
-inameidx_h=$(PSSRC)inameidx.h $(gconfigv_h)
+inameidx_h=$(PSSRC)inameidx.h
inamestr_h=$(PSSRC)inamestr.h $(inameidx_h)
ipacked_h=$(PSSRC)ipacked.h
iref_h=$(PSSRC)iref.h
Modified: trunk/gs/src/macos-mcp.mak
===================================================================
--- trunk/gs/src/macos-mcp.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/macos-mcp.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -201,11 +201,6 @@
STDIO_IMPLEMENTATION=c
-# Define the name table capacity size of 2^(16+n).
-# Setting this to a non-zero value will slow down the interpreter.
-
-EXTEND_NAMES=0
-
# Choose the device(s) to include. See devs.mak for details,
# devs.mak and contrib.mak for the list of available devices.
Modified: trunk/gs/src/macosx.mak
===================================================================
--- trunk/gs/src/macosx.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/macosx.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -353,11 +353,6 @@
# unix-dll.mak when building a shared object.
DISPLAY_DEV=
-# Define the name table capacity size of 2^(16+n).
-# Setting this to a non-zero value will slow down the interpreter.
-
-EXTEND_NAMES=0
-
# Choose the device(s) to include. See devs.mak for details,
# devs.mak and contrib.mak for the list of available devices.
Modified: trunk/gs/src/openvms.mak
===================================================================
--- trunk/gs/src/openvms.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/openvms.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -289,10 +289,6 @@
STDIO_IMPLEMENTATION=c
-# Define the name table capacity size of 2^(16+n).
-
-EXTEND_NAMES=0
-
# Define the platform name.
PLATFORM=openvms_
@@ -547,4 +543,4 @@
$(EXP)$(ECHOGS_XE) -w $(gconfig__h) -x 23 define "HAVE_SYS_TIME_H"
$(gconfigv_h) : $(TOP_MAKEFILES) $(ECHOGS_XE)
- $(EXP)$(ECHOGS_XE) -a $(gconfigv_h) -x 23 define "EXTEND_NAMES" 0$(EXTEND_NAMES)
+ $(EXP)$(ECHOGS_XE) -w $(gconfigv_h) -x 2f2a20 This fine intentionally left blank -x 202a2f
Modified: trunk/gs/src/openvms.mmk
===================================================================
--- trunk/gs/src/openvms.mmk 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/openvms.mmk 2008-01-07 20:58:36 UTC (rev 8478)
@@ -306,10 +306,6 @@
STDIO_IMPLEMENTATION=c
-# Define the name table capacity size of 2^(16+n).
-
-EXTEND_NAMES=0
-
# Define the platform name.
PLATFORM=openvms_
@@ -555,4 +551,4 @@
$(EXP)$(ECHOGS_XE) -w $(gconfig__h) -x 23 define "HAVE_SYS_TIME_H"
$(gconfigv_h) : $(TOP_MAKEFILES) $(ECHOGS_XE)
- $(EXP)$(ECHOGS_XE) -a $(gconfigv_h) -x 23 define "EXTEND_NAMES" 0$(EXTEND_NAMES)
+ $(EXP)$(ECHOGS_XE) -w $(gconfigv_h) -x 2f2a20 This file intentionally left blank. -x 202a2f
Modified: trunk/gs/src/os2.mak
===================================================================
--- trunk/gs/src/os2.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/os2.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -590,7 +590,7 @@
$(ECHOGS_XE) -w $(gconfig__h) /* This file deliberately left blank. */
$(gconfigv_h): $(PSSRCDIR)\os2.mak $(TOP_MAKEFILES) $(ECHOGS_XE)
- $(ECHOGS_XE) -a $(gconfigv_h) -x 23 define EXTEND_NAMES 0$(EXTEND_NAMES)
+ $(ECHOGS_XE) -w $(gconfigv_h) /* This file deliberatedly left blank. */
# ----------------------------- Main program ------------------------------ #
Modified: trunk/gs/src/unix-end.mak
===================================================================
--- trunk/gs/src/unix-end.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/unix-end.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -64,7 +64,7 @@
# The rule for gconfigv.h is here because it is shared between Unix and
# DV/X environments.
$(gconfigv_h): $(GLSRC)unix-end.mak $(TOP_MAKEFILES) $(ECHOGS_XE)
- $(ECHOGS_XE) -a $(gconfigv_h) -x 23 define EXTEND_NAMES 0$(EXTEND_NAMES)
+ $(ECHOGS_XE) -w $(gconfigv_h) -x 2f2a20 This file intentionally left blank. -x 202a2f
# Emacs tags maintenance.
Modified: trunk/gs/src/unix-gcc.mak
===================================================================
--- trunk/gs/src/unix-gcc.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/unix-gcc.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -349,11 +349,6 @@
# unix-dll.mak when building a shared object.
DISPLAY_DEV=
-# Define the name table capacity size of 2^(16+n).
-# Setting this to a non-zero value will slow down the interpreter.
-
-EXTEND_NAMES=0
-
# Choose the device(s) to include. See devs.mak for details,
# devs.mak and contrib.mak for the list of available devices.
Modified: trunk/gs/src/wctail.mak
===================================================================
--- trunk/gs/src/wctail.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/wctail.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -85,4 +85,4 @@
echo /* This file deliberately left blank. */ >$(gconfig__h)
$(gconfigv_h): $(WCTAIL_MAK) $(TOP_MAKEFILES) $(ECHOGS_XE)
- $(ECHOGS_XE) -a $(gconfigv_h) -x 23 define EXTEND_NAMES 0$(EXTEND_NAMES)
+ $(ECHOGS_XE) -w $(gconfigv_h) -x 2f2a20 This space intentionally left blank. -x 202a2f
Modified: trunk/gs/src/winlib.mak
===================================================================
--- trunk/gs/src/winlib.mak 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/src/winlib.mak 2008-01-07 20:58:36 UTC (rev 8478)
@@ -130,7 +130,7 @@
$(ECHOGS_XE) -w $(gconfig__h) -x 2f2a20 This file deliberately left blank. -x 2a2f
$(gconfigv_h): $(TOP_MAKEFILES) $(ECHOGS_XE)
- $(ECHOGS_XE) -a $(gconfigv_h) -x 23 define EXTEND_NAMES 0$(EXTEND_NAMES)
+ $(ECHOGS_XE) -w $(gconfigv_h) -x 2f2a20 This space intentionally left blank. -x 202a2f
# -------------------------------- Library -------------------------------- #
Modified: trunk/gs/toolbin/msvcxml.bat
===================================================================
--- trunk/gs/toolbin/msvcxml.bat 2008-01-07 18:43:02 UTC (rev 8477)
+++ trunk/gs/toolbin/msvcxml.bat 2008-01-07 20:58:36 UTC (rev 8478)
@@ -86,7 +86,7 @@
echo ^>
echo ^<Tool
echo Name="VCPreBuildEventTool"
-echo CommandLine="$(OutDir)\echogs -wb $(IntDir)\gswin.ico -n -X -r $(SolutionDir)src\gswin.icx
$(OutDir)\echogs -w $(IntDir)\gconfig_.h -x 2f2a20 This file deliberately left blank. -x 2a2f
$(OutDir)\echogs -a $(IntDir)\gconfigv.h -x 23 define USE_FPU -x 2028 -q $(FPU_TYPE)-0 -x 29
$(OutDir)\echogs -a $(IntDir)\gconfigv.h -x 23 define EXTEND_NAMES 0$(EXTEND_NAMES)
$(OutDir)\echogs -w $(IntDir)\jconfig.h -+R $(SolutionDir)src\stdpn.h -+R $(SolutionDir)src\stdpre.h -+R $(SolutionDir)src\gsjconf.h
copy $(SolutionDir)src\gsjmorec.h $(IntDir)\jmorecfg.h
copy $(SolutionDir)jpeg\jmorecfg.h $(IntDir)\jmcorig.h
copy $(SolutionDir)jpeg\jpeglib.h $(IntDir)\jpeglib_.h
copy $(SolutionDir)src\gscdef.c $(IntDir)\gscdefs.c
"
+echo CommandLine="$(OutDir)\echogs -wb $(IntDir)\gswin.ico -n -X -r $(SolutionDir)src\gswin.icx
$(OutDir)\echogs -w $(IntDir)\gconfig_.h -x 2f2a20 This file deliberately left blank. -x 2a2f
$(OutDir)\echogs -w $(IntDir)\gconfigv.h -x 2f2a20 This space intentionally left blank. -x 2a2f
$(OutDir)\echogs -w $(IntDir)\jconfig.h -+R $(SolutionDir)src\stdpn.h -+R $(SolutionDir)src\stdpre.h -+R $(SolutionDir)src\gsjconf.h
copy $(SolutionDir)src\gsjmorec.h $(IntDir)\jmorecfg.h
copy $(SolutionDir)jpeg\jmorecfg.h $(IntDir)\jmcorig.h
copy $(SolutionDir)jpeg\jpeglib.h $(IntDir)\jpeglib_.h
copy $(SolutionDir)src\gscdef.c $(IntDir)\gscdefs.c
"
echo /^>
echo ^<Tool Name="VCCLCompilerTool"
echo Optimization="0"
@@ -1140,8 +1140,6 @@
echo ^<UserMacro Name="GS_LIB_DEFAULT" Value="$(GSROOTDIR)/lib;$(GSROOTDIR)/Resource/Font;$(AROOTDIR)/fonts" /^>
echo ^<UserMacro Name="GS_REVISION" Value="$(GS_VERSION)" /^>
echo ^<UserMacro Name="SEARCH_HERE_FIRST" Value="1" /^>
-echo ^<UserMacro Name="FPU_TYPE" Value="387" /^>
-REM echo ^<UserMacro Name="EXTEND_NAMES" Value="0" /^>
echo ^</VisualStudioPropertySheet^>
goto end
More information about the gs-cvs
mailing list