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

« back to all changes in this revision

Viewing changes to psi/main.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: main.h 9043 2008-08-28 22:48:19Z giles $ */
 
15
/* Backward-compatible interface to gsmain.c */
 
16
 
 
17
#ifndef main_INCLUDED
 
18
#  define main_INCLUDED
 
19
 
 
20
#include "iapi.h"
 
21
#include "imain.h"
 
22
#include "iminst.h"
 
23
 
 
24
/*
 
25
 * This file adds to imain.h some backward-compatible procedures and
 
26
 * data elements that assume there is only a single instance of
 
27
 * the interpreter.
 
28
 */
 
29
 
 
30
/* conditional out the entire file */
 
31
#if 0 
 
32
 
 
33
 
 
34
/* ================ Data elements ================ */
 
35
 
 
36
/* Clients should never access these directly. */
 
37
 
 
38
#define gs_user_errors (gs_main_instance_default()->user_errors)
 
39
#define gs_lib_path (gs_main_instance_default()->lib_path)
 
40
/* gs_lib_paths removed in release 3.65 */
 
41
/* gs_lib_env_path removed in release 3.65 */
 
42
 
 
43
/* ================ Exported procedures from gsmain.c ================ */
 
44
 
 
45
/* ---------------- Initialization ---------------- */
 
46
 
 
47
#define gs_init0(in, out, err, mlp)\
 
48
  gs_main_init0(gs_main_instance_default(), in, out, err, mlp)
 
49
 
 
50
#define gs_init1()\
 
51
  gs_main_init1(gs_main_instance_default())
 
52
 
 
53
#define gs_init2()\
 
54
  gs_main_init2(gs_main_instance_default())
 
55
 
 
56
#define gs_add_lib_path(path)\
 
57
  gs_main_add_lib_path(gs_main_instance_default(), path)
 
58
 
 
59
#define gs_set_lib_paths()\
 
60
  gs_main_set_lib_paths(gs_main_instance_default())
 
61
 
 
62
#define gs_lib_open(fname, pfile)\
 
63
  gs_main_lib_open(gs_main_instance_default(), fname, pfile)
 
64
 
 
65
/* ---------------- Execution ---------------- */
 
66
 
 
67
#define gs_run_file(fn, ue, pec, peo)\
 
68
  gs_main_run_file(gs_main_instance_default(), fn, ue, pec, peo)
 
69
 
 
70
#define gs_run_string(str, ue, pec, peo)\
 
71
  gs_main_run_string(gs_main_instance_default(), str, ue, pec, peo)
 
72
 
 
73
#define gs_run_string_with_length(str, len, ue, pec, peo)\
 
74
  gs_main_run_string_with_length(gs_main_instance_default(),\
 
75
                                 str, len, ue, pec, peo)
 
76
 
 
77
#define gs_run_file_open(fn, pfref)\
 
78
  gs_main_run_file_open(gs_main_instance_default(), fn, pfref)
 
79
 
 
80
#define gs_run_string_begin(ue, pec, peo)\
 
81
  gs_main_run_string_begin(gs_main_instance_default(), ue, pec, peo)
 
82
 
 
83
#define gs_run_string_continue(str, len, ue, pec, peo)\
 
84
  gs_main_run_string_continue(gs_main_instance_default(),\
 
85
                              str, len, ue, pec, peo)
 
86
 
 
87
#define gs_run_string_end(ue, pec, peo)\
 
88
  gs_main_run_string_end(gs_main_instance_default(), ue, pec, peo)
 
89
 
 
90
/* ---------------- Debugging ---------------- */
 
91
 
 
92
/*
 
93
 * We should have the following definition:
 
94
 
 
95
#define gs_debug_dump_stack(code, peo)\
 
96
  gs_main_dump_stack(gs_main_instance_default(), code, peo)
 
97
 
 
98
 * but we make it a procedure instead so it can be called from debuggers.
 
99
 */
 
100
void gs_debug_dump_stack(int code, ref * perror_object);
 
101
 
 
102
/* ---------------- Termination ---------------- */
 
103
 
 
104
 
 
105
#endif /* full file conditional */
 
106
 
 
107
#endif /* main_INCLUDED */