~ubuntu-branches/ubuntu/jaunty/ghostscript/jaunty-updates

« back to all changes in this revision

Viewing changes to src/opextern.h

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2009-01-20 16:40:45 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090120164045-lnfhi0n30o5lwhwa
Tags: 8.64.dfsg.1~svn9377-0ubuntu1
* New upstream release (SVN rev 9377)
   o Fixes many bugs concerning PDF rendering, to make the PDF printing
     workflow correctly working.
   o Fixes long-standing bugs in many drivers, like input paper tray and
     duplex options not working for the built-in PCL 4, 5, 5c, 5e, and
     6/XL drivers, PDF input not working for bjc600, bjc800, and cups
     output devices, several options not working and uninitialized
     memory with cups output device.
   o Merged nearly all patches of the Ubuntu and Debian packages upstream.
   o Fixes LP: #317810, LP: #314439, LP: #314018.
* debian/patches/03_libpaper_support.dpatch,
  debian/patches/11_gs-cjk_font_glyph_handling_fix.dpatch,
  debian/patches/12_gs-cjk_vertical_writing_metrics_fix.dpatch,
  debian/patches/13_gs-cjk_cjkps_examples.dpatch,
  debian/patches/20_bbox_segv_fix.dpatch,
  debian/patches/21_brother_7x0_gdi_fix.dpatch,
  debian/patches/22_epsn_margin_workaround.dpatch,
  debian/patches/24_gs_man_fix.dpatch,
  debian/patches/25_toolbin_insecure_tmp_usage_fix.dpatch,
  debian/patches/26_assorted_script_fixes.dpatch,
  debian/patches/29_gs_css_fix.dpatch,
  debian/patches/30_ps2pdf_man_improvement.dpatch,
  debian/patches/31_fix-gc-sigbus.dpatch,
  debian/patches/34_ftbfs-on-hurd-fix.dpatch,
  debian/patches/35_disable_libcairo.dpatch,
  debian/patches/38_pxl-duplex.dpatch,
  debian/patches/39_pxl-resolution.dpatch,
  debian/patches/42_gs-init-ps-delaybind-fix.dpatch,
  debian/patches/45_bjc600-bjc800-pdf-input.dpatch,
  debian/patches/48_cups-output-device-pdf-duplex-uninitialized-memory-fix.dpatch,
  debian/patches/50_lips4-floating-point-exception.dpatch,
  debian/patches/52_cups-device-logging.dpatch,
  debian/patches/55_pcl-input-slot-fix.dpatch,
  debian/patches/57_pxl-input-slot-fix.dpatch,
  debian/patches/60_pxl-cups-driver-pdf.dpatch,
  debian/patches/62_onebitcmyk-pdf.dpatch,
  debian/patches/65_too-big-temp-files-1.dpatch,
  debian/patches/67_too-big-temp-files-2.dpatch,
  debian/patches/70_take-into-account-data-in-stream-buffer-before-refill.dpatch:
  Removed, applied upstream.
* debian/patches/01_docdir_fix_for_debian.dpatch,
  debian/patches/02_gs_man_fix_debian.dpatch,
  debian/patches/01_docdir-fix-for-debian.dpatch,
  debian/patches/02_docdir-fix-for-debian.dpatch: Renamed patches to
  make merging with Debian easier.
* debian/patches/32_improve-handling-of-media-size-changes-from-gv.dpatch, 
  debian/patches/33_bad-params-to-xinitimage-on-large-bitmaps.dpatch:
  regenerated for new source directory structure.
* debian/rules: Corrected paths to remove cidfmap (it is in Resource/Init/
  in GS 8.64) and to install headers (source paths are psi/ and base/ now).
* debian/rules: Remove all fontmaps, as DeFoMa replaces them.
* debian/local/pdftoraster/pdftoraster.c,
  debian/local/pdftoraster/pdftoraster.convs, debian/rules: Removed
  added pdftoraster filter and use the one which comes with Ghostscript.
* debian/ghostscript.links: s/8.63/8.64/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2001-2006 Artifex Software, Inc.
2
 
   All Rights Reserved.
3
 
  
4
 
   This software is provided AS-IS with no warranty, either express or
5
 
   implied.
6
 
 
7
 
   This software is distributed under license and may not be copied, modified
8
 
   or distributed except as expressly authorized under the terms of that
9
 
   license.  Refer to licensing information at http://www.artifex.com/
10
 
   or contact Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134,
11
 
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
 
*/
13
 
 
14
 
/* $Id: opextern.h 8022 2007-06-05 22:23:38Z giles $ */
15
 
/* Externally accessible operator declarations */
16
 
 
17
 
#ifndef opextern_INCLUDED
18
 
#  define opextern_INCLUDED
19
 
 
20
 
/*
21
 
 * Normally, the procedures that implement PostScript operators (named zX
22
 
 * where X is the name of the operator, e.g., zadd) are private to the
23
 
 * file in which they are defined.  There are, however, a surprising
24
 
 * number of these procedures that are used from other files.
25
 
 * This file, opextern.h, declares all z* procedures that are
26
 
 *      - referenced from outside their defining file, and
27
 
 *      - present in *all* configurations of the interpreter.
28
 
 * For z* procedures referenced from outside their file but not present
29
 
 * in all configurations (e.g., Level 2 operators), the file making the
30
 
 * reference must include a local extern.  Not pretty, but c'est la vie.
31
 
 */
32
 
 
33
 
/* Operators exported for the special operator encoding in interp.c. */
34
 
int zadd(i_ctx_t *);
35
 
int zdef(i_ctx_t *);
36
 
int zdup(i_ctx_t *);
37
 
int zexch(i_ctx_t *);
38
 
int zif(i_ctx_t *);
39
 
int zifelse(i_ctx_t *);
40
 
int zindex(i_ctx_t *);
41
 
int zpop(i_ctx_t *);
42
 
int zrepeat(i_ctx_t *);
43
 
int zroll(i_ctx_t *);
44
 
int zsub(i_ctx_t *);
45
 
/* Internal entry points for the interpreter. */
46
 
int zop_add(ref *);
47
 
int zop_def(i_ctx_t *);
48
 
int zop_sub(ref *);
49
 
 
50
 
/* Operators exported for server loop implementations. */
51
 
int zflush(i_ctx_t *);
52
 
int zflushpage(i_ctx_t *);
53
 
int zsave(i_ctx_t *);
54
 
int zrestore(i_ctx_t *);
55
 
 
56
 
/* Operators exported for save/restore. */
57
 
int zgsave(i_ctx_t *);
58
 
int zgrestore(i_ctx_t *);
59
 
 
60
 
/* Operators exported for Level 2 pagedevice facilities. */
61
 
int zcopy_gstate(i_ctx_t *);
62
 
int zcurrentgstate(i_ctx_t *);
63
 
int zgrestoreall(i_ctx_t *);
64
 
int zgstate(i_ctx_t *);
65
 
int zreadonly(i_ctx_t *);
66
 
int zsetdevice(i_ctx_t *);
67
 
int zsetgstate(i_ctx_t *);
68
 
 
69
 
/* Operators exported for Level 2 "wrappers". */
70
 
int zcopy(i_ctx_t *);
71
 
int zimage(i_ctx_t *);
72
 
int zimagemask(i_ctx_t *);
73
 
int zwhere(i_ctx_t *);
74
 
 
75
 
/* Operators exported for specific-VM operators. */
76
 
int zarray(i_ctx_t *);
77
 
int zdict(i_ctx_t *);
78
 
int zpackedarray(i_ctx_t *);
79
 
int zstring(i_ctx_t *);
80
 
int zfile(i_ctx_t *);
81
 
int zlibfile(i_ctx_t *);
82
 
int zSFD(i_ctx_t *);
83
 
 
84
 
/* Operators exported for user path decoding. */
85
 
/* Note that only operators defined in all configurations are declared here. */
86
 
int zclosepath(i_ctx_t *);
87
 
int zcurveto(i_ctx_t *);
88
 
int zlineto(i_ctx_t *);
89
 
int zmoveto(i_ctx_t *);
90
 
int zrcurveto(i_ctx_t *);
91
 
int zrlineto(i_ctx_t *);
92
 
int zrmoveto(i_ctx_t *);
93
 
 
94
 
/* Operators exported for the FunctionType 4 interpreter. */
95
 
/* zarith.c: */
96
 
int zabs(i_ctx_t *);
97
 
int zceiling(i_ctx_t *);
98
 
int zdiv(i_ctx_t *);
99
 
int zfloor(i_ctx_t *);
100
 
int zidiv(i_ctx_t *);
101
 
int zmod(i_ctx_t *);
102
 
int zmul(i_ctx_t *);
103
 
int zneg(i_ctx_t *);
104
 
int zround(i_ctx_t *);
105
 
int ztruncate(i_ctx_t *);
106
 
/* zmath.c: */
107
 
int zatan(i_ctx_t *);
108
 
int zcos(i_ctx_t *);
109
 
int zexp(i_ctx_t *);
110
 
int zln(i_ctx_t *);
111
 
int zlog(i_ctx_t *);
112
 
int zsin(i_ctx_t *);
113
 
int zsqrt(i_ctx_t *);
114
 
/* zrelbit.c: */
115
 
int zand(i_ctx_t *);
116
 
int zbitshift(i_ctx_t *);
117
 
int zeq(i_ctx_t *);
118
 
int zge(i_ctx_t *);
119
 
int zgt(i_ctx_t *);
120
 
int zle(i_ctx_t *);
121
 
int zlt(i_ctx_t *);
122
 
int zne(i_ctx_t *);
123
 
int znot(i_ctx_t *);
124
 
int zor(i_ctx_t *);
125
 
int zxor(i_ctx_t *);
126
 
/* ztype.c: */
127
 
int zcvi(i_ctx_t *);
128
 
int zcvr(i_ctx_t *);
129
 
 
130
 
/* Operators exported for CIE cache loading. */
131
 
int zcvx(i_ctx_t *);
132
 
int zexec(i_ctx_t *);           /* also for .runexec and .errorexec */
133
 
int zfor(i_ctx_t *);
134
 
 
135
 
/* Odds and ends */
136
 
int zbegin(i_ctx_t *);
137
 
int zcleartomark(i_ctx_t *);
138
 
int zclosefile(i_ctx_t *);      /* for runexec_cleanup */
139
 
int zcopy_dict(i_ctx_t *);      /* for zcopy */
140
 
int zend(i_ctx_t *);
141
 
int zfor_samples(i_ctx_t *); /* for function sampling */
142
 
int zsetfont(i_ctx_t *);        /* for cshow_continue */
143
 
 
144
 
/* Operators exported for special customer needs. */
145
 
int zcurrentdevice(i_ctx_t *);
146
 
int ztoken(i_ctx_t *);
147
 
int ztokenexec(i_ctx_t *);
148
 
int zwrite(i_ctx_t *);
149
 
 
150
 
#endif /* opextern_INCLUDED */