Age | Commit message (Collapse) | Author | Files | Lines |
|
PSSRC files are now in 'gs/psi'.
GLSRC files are now in 'gs/base'.
This is to facilitate build modularization and merging in the ghostpdl
tree.
NOTE: msvc32.mak is now in psi, not src.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9048 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
files to Resource/Init. This obviates the need for geninit when COMPILE_INITS=1.
A followup change will enhance mkromfs to allow it to 'strip' comments and white
space from PostScript input files somewhat reducing the compressed storage needed
for the files in Resource/Init. All files mentioned in int.mak with 'ADDMOD ...
-ps ...' are included as well as those that would have been included via gs_init.ps
%% Replace lines.
Builds tested on Windows and Cygwin for the various executables (gs, pcl6, pspcl6
and gxps).
The default LIBPATH and GenericResourceDir are adjusted accordingly.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8954 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
minor cleanup to gs.mak 'clean' target and redundant dependency in ugcclib.mak.
MSVC build problem noted by customer #531.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8596 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8479 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
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.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8478 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Details:
This was added so a particular application could rewrite the product name,
version, etc. after loading the library. We're not aware of anyone still
using the feature, and if so they can just change the source, which is
more appropriate in any case.
Also, remove USE_ASM from the msvc project file.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8471 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
the ps interpreter's so building just the library is possible.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8457 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
We only support the current version 6 library, and it seems
unlikely to revise in the the near future. We also include
our own copy of the source now, so it is less important to
support a variety of third party library versions.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8357 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
We no longer support building older versions of the libpng source,
and now include our own version, so there is no reason to maintain
this.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8356 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
the top level makefiles.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8354 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Can be used to link to the system expat with SHARE_EXPAT=1,
but compiling the source doesn't work on linux in this revision
because of missing configuration defines.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8350 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
of default devices, in order of priority. These are passed through to
the C code, and searched for in gs_getdefaultdevice().
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8339 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Also, use the GS_INIT define instead of hard-coding gs_init.ps
as the root of the postscript library code.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8257 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS:
This was added as part of the x11 device modularization patch, which
doesn't appear to add any generation of _temp_* files. The Desqview
makefile does, and wctail.mak makes such files in the GLOBJ path,
but cleaning these shouldn't be part of this target regardless.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8031 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
"gs-esp-gpl-merger")
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8026 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
to Artifex Software, Inc.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8022 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
the compile lines in devs.mak. This the the correct fix for the issue
addressed in revisions 7970 and 7971.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7994 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7971 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
"gs-esp-gpl-merger")
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7970 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7919 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS:
This patch allows to compile Ghostscript in a way that the X11 screen
display output devices can be seperated into a dynamically linkable
library, so that these devices can be put in a separate binary package
in Linux distributions. This way the distributions can be installed
with GhostScript and without the X libraries, which is important for
headless print servers.
This feature is only available for Unix with GCC (selected by the
Makefile).
Ghostscript will be compiled without built-in X11 support and with an
extra X11.so file containing the X11 support. One can install
Ghostscript with or without X11.so then, it will always work. It
detects the presence of X11.so automatically and makes the X11 output
devises available if X11.so is present (see "gs -h").
Small disadvantage: With modularized X11 support the "x11" device will
not stay the default one. "bbox" will be the default then. Use "gs
-sDEVICE=x11 ..." then.
This patch is used since mid 2001 in ESP Ghostscript and has never
caused any problems or bugs related to the modularization.
EXPECTED DIFFERENCES:
None (in the non-interactive automated regression tests)
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7910 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6651 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
is compressed and can include fonts as well as lib init files, Resource
directories and other. The (%rom%) path is inserted as the first path on
the LIBPATH list when COMPILE_INITS=1. The default GenricResourceDir is
set to %rom%Resource/ unless the command line sets -sGenericReourceDir.
Bug 687485.
DETAILS:
See gsiorom.* and mkromfs.c for details of the %rom% structure. The inital
implementation creates a string buffer for the entire file (block by block)
decompression is not yet implemented (a new stream type).
The %rom% IODevice is not PostScript specific so it could be used by non
PS interpreters (GhostPCL) but the creation of gsromfs.c by mkromfs needs
to be performed elsewhere (hint in src/lib.mak).
NOTES:
Tested on unix and Windows. Mac, OS/2 and VMS will need attention as will
non-MSVC tool chains. Since this replaces the old COMPILE_INIT method
don't use COMPILE_INTIS=1 on those platforms unless you are working on
fixing problems or just feel lucky.
The insertion of the %rom% device as the first path in the LIBPATH list
will make changing initfiles during debug more cumbersome, but using
COMPILE_INITS=1 is really not intended for debugging or development anyway.
EXPECTED DIFFERENCES:
None. (we don't build with COMPILE_INITS).
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6600 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
and jpeg2k implementations back into gs.mak.
DETAILS:
Although it makes more sense to define these in the makefile for each
library, they are also needed for building the calling code in the
graphics library and interpreter. This causes a circular dependency
with tools such as nmake which perform variable resolution in a
single-pass.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6527 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
JBIG2 decoder integration.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6518 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
jbig2 and jpeg2k implementations can coexist. Also, add jasper to the
OS/2 and OpenVMS builds, and update the OpenVMS makefiles now that the
third-party libraries are included with the source release.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6514 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
generic JPX.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6513 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
Bug 687059 "Re-building a ready gswin32.exe".
The old rule
$(ld_tr) : $(gconfig_h)
wrongly established a dependence opposite to the file modification order.
Diagnosed with inserting "echo xxxxxxxxxxx" after the rule above.
Made the order of targets to be same as the order of
file modifications when they are created with genconf.exe and echogs.exe .
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5598 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
DETAILS :
This is a preparation for fixing the bug
Bug 687059 "Re-building a ready gswin32.exe".
The file lib.tr was created for old linkers,
which can't handle objs and libs in a single list file.
This change affects FAPI, which only uses a list of libs,
and only on Windows and OS/2 platforms.
We did not test Borland and Watcom compilers,
but unlikely FAPI is compiled with them.
EXPECTED DIFFERENCES :
None.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5596 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
proper compilation of the jasper jpeg2k library. Set this variable
correctly in the autoconf build.
DETAILS:
The jasper library natively supports building under both autoconf+cc and
MSVC, but expects a preprocessor define to be set to distinguish the
two. While we do carefully construct a special JAS_CC for compiling the
jasper source into Ghostscript, as with all the other 3rd party
libraries, there is only a facility to set special CFLAGS globally.
This change adds a new top-level makefile variable for passing
platform-specific CFLAGS into gs.mak for addition to that global
set.
Also, set JASPERCFLAGS=-DJAS_CONFIGURE in Makefile.in so that the jasper
sourcr expects the autoconf generated configuration header when
compiling as part of Ghostscript.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5545 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Without this the revision number isn't correctly updated in an incremental
build. Closes bug 687733.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5406 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
needed to support the JPXDecode filter in PDF 1.5. Currently only
enabled in the autoconf build, but porting the changes to other top-level
makefiles should now work.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@4961 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Variables like
GS_LIB_DEFAULT which were previously tacked onto the end of gconfig.h have been moved to the new
header. This change is necessary to pass the default path for the persistent cache from the
makefile.
DETAILS:
The persistent cache is implemented in the gp layer, but previously it was illegal to access
gconfig.h from code inside the graphics library, it the sense that the build would fail. This is
because of the crazy way operator definitions are collected in dev files before they are
consolidated in gconfig.h.
We don't want to use gconfigv.h because that header is platform-specific is generated by different
code on every platform. Therefore, while this isn't a real fix for gconfig.h circular inclusion
issue, a new header is reasonably motivated.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@4615 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
only the *nix
platform and does not include any eviction logic. Also currently the cache directory and
empty 'gs_cache' index file must be created manually.
DETAILS:
Two new calls have been added to the gp layer: gp_cache_insert() and gp_cache_query(). These
take a byte buffer as a key under which another buffer can be stored or recalled. In addition to
the key, buffers are filed by 'type' which provides a separate namespace for each kind of
data. These types should be one of the GP_CACHE_TYPE_* defines in gp.h.
The query call takes a callback for allocating the buffer to be filled. Thus, all memory
management for the key and value buffers is handled by the client and the query returns
the data (if any) within a single call.
A pair of postscript test operators, .pcacheinsert and .pcachequery are provided in zmisc.c,
however they are disabled by default to prevent access to the cache by malicious postscript
programs. They operate only with the 'test' type, so a denial-of-service attack is the only
real risk; however we anticipate all access will be from C code. Compile with the DEBUG_CACHE
preprocessor symbol to enable these.
Improvements and implementations for other platforms are to follow.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@4576 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
-fomit-frame-pointer (or equivalent) on a few (two) files where it's unequivocably safe. This
strikes us as premature optimization.
It was also causing problems with the profile build under gcc because of a quoting problems with
the argument list the makefile passes to itself through this define. Closes bug 687182.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@4440 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
to find the jbig2dec headers when compiling with local source.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3832 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
is only good for v0.2.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3828 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
every target obsoleting some of the files generated earlier and causing
recompilation. Replace the multi-target rule with a single-target rule and
make the target a prerequisite of the remaining targets; use empty command to
disable default build rules. Bug #685341.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3751 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
William Bader.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3370 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
are no longer general no-ops but are the responsibility of the
platform-specific makefiles. The autoconf build now removes its
generated files from the top-level directory when requested.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3215 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
building ghostscript with it, but the remaining dead code causes
confusion for some users. Inspired by Sourceforge bug #618048.
Removes references to the no longer supported ansi2knr.c.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3139 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
release 5.20.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3137 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2925 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
add only the object files, not the .dev and interpreter files.
Fixes SourceForge bug # 538311 - files missing from library archive.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2788 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
devices present on some Adobe printers. This version is NOT multiple
instance safe, but is useful for embedded printers or for server systems
with a single Ghostscript instance. Documentation is in Language.htm.
Addresses SourceForge bug #493344 for Artifex customer #411.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2318 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
RCSfile and Revision pair.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2241 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
Artifex Software's commercial release). References file LICENSE.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2234 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
distribution. Also includes autoconf patch by Ralph Giles.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2074 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2014 a1074d23-0009-0410-80fe-cf8c14f379e6
|
|
that ansi2knr no longer exists.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@1953 a1074d23-0009-0410-80fe-cf8c14f379e6
|