Issue 8607 - OOO_STABLE_1_PORTS/X11: psprint printing fixes from X11 Beta
Summary: OOO_STABLE_1_PORTS/X11: psprint printing fixes from X11 Beta
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 1.0.4
Assignee: fa
QA Contact: issues@porting
URL:
Keywords: merge_pending
Depends on: 7453 8012
Blocks: 10137
  Show dependency tree
 
Reported: 2002-10-22 18:34 UTC by fa
Modified: 2004-03-25 07:42 UTC (History)
7 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch for psprint module. cd SRC_ROOT/psprint, patch -p0 < /path/to/patch (20.80 KB, patch)
2002-10-22 18:35 UTC, fa
no flags Details | Diff
cd to $SRC_ROOT/psprint; patch -p0 < /path/to/patch/file This patch should NOT be committed, only for review. (30.98 KB, patch)
2002-12-17 05:06 UTC, fa
no flags Details | Diff
cd to SRC_ROOT/psprint, patch -p0 < /path/to/patchfile Implements printing code from Final Beta, including previous cleanups here (175.24 KB, patch)
2003-01-13 01:14 UTC, fa
no flags Details | Diff
cd $SRC_ROOT/psprint, patch -p0 < /path/to/patchfile same as 010303 patch but without SRX644 updates (31.31 KB, patch)
2003-01-22 02:52 UTC, fa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description fa 2002-10-22 18:34:52 UTC
This patch contains the code that implemented MacOS X printing on our
October X11 Public Beta release.  I don't consider it good enough quality
to commit as it changes a lot of the layout of the code and has large
chunks of Mac OS X only code.

Instead, I'd like comments on the patch from non-MacOS X people (Ed has
already seen this).  I'll incorporate those comments and respin the patch
for actual approval.

Thanks,
Dan
Comment 1 fa 2002-10-22 18:35:44 UTC
Created attachment 3289 [details]
patch for psprint module.  cd SRC_ROOT/psprint, patch -p0 < /path/to/patch
Comment 2 fa 2002-10-22 18:38:56 UTC
Note that this patch doesn't delete the temporary pdf file created
during the printing process, but that will be something that
happens before I submit for final approval.

Dan
Comment 3 philipp.lohmann 2002-10-23 10:16:53 UTC
The patch looks good to me as it does not change the code flow for any
platform besides Mac as far as i can see; i'd like to note some
points, though:

- there are lots of indentation changes where now seem to be tabs; the
last i remember was that for new code there should be 4 spaces per
indent (because this is viewable everywhere without problems).

- i think the large #ifdef MACOSX block in printerjob.cxx in
PrinterJob::EndJob merits its own function which could be called in a
short #ifdef MACOSX block in EndJob
Comment 4 fa 2002-10-31 07:34:52 UTC
Will clean up and resubmit for approval per suggestions.
Comment 5 fa 2002-12-03 22:49:05 UTC
Starting for fixup...
Comment 6 fa 2002-12-17 05:06:24 UTC
Created attachment 4064 [details]
cd to $SRC_ROOT/psprint; patch -p0 < /path/to/patch/file     This patch should NOT be committed, only for review.
Comment 7 fa 2002-12-17 05:08:04 UTC
Hi,

the 121602 patch is a cleanup of the 100902 patch.  Can someone please
look at the patch and give comments?  I'm still not going to submit
this for approval as I need to make sure the # copies code works
(there may be further changes in that department).

Please review and comment, especially on cross-platform correctness.

Thanks,
Dan
Comment 8 fa 2002-12-17 05:12:28 UTC
I must also verify that this code works on 10.1 as I've made fairly
substantial changes to the code flow.

Dan
Comment 9 philipp.lohmann 2002-12-17 10:49:40 UTC
still looks good. Especially the ProcessAndPrint function makes the
code a lot more readable IMHO.
Comment 10 fa 2003-01-13 01:14:21 UTC
Created attachment 4279 [details]
cd to SRC_ROOT/psprint, patch -p0 < /path/to/patchfile   Implements printing code from Final Beta, including previous cleanups here
Comment 11 fa 2003-01-13 01:15:31 UTC
Hi,

Can someone approve "psprint.FINALBETAv1.010303.patch" for commit to OOO_STABLE_1_PORTS?  This patch supercedes previous ones and contains up-to-date printing code for OS X.

Thanks,
Dan
Comment 12 philipp.lohmann 2003-01-13 10:09:54 UTC
As far as i can see the patch moves top level psprint to
STABLE_1_PORTS. That should not be a problem though and fix some
issues on the fly. Approved. 
Comment 13 fa 2003-01-22 02:07:40 UTC
Patch only moves these components to current (SRX644):

source/fontsubset/*
source/fontmanager/*
inc/psprint/inc/fontmanager.hxx
inc/psprint/inc/fontcache.hxx
Comment 14 fa 2003-01-22 02:52:16 UTC
Created attachment 4394 [details]
cd $SRC_ROOT/psprint, patch -p0 < /path/to/patchfile    same as 010303 patch but without SRX644 updates
Comment 15 fa 2003-01-22 02:53:32 UTC
Committed the 012103 patch to OOO_STABLE_1_PORTS.

This patch removes the updates to SRX644 for the fontsubset/fontmanager code, and contains only the printing fixes.

Dan
Comment 16 fa 2003-01-30 00:47:06 UTC
Also moved these directories/sources up to SRX644:

source/fontsubset/*
source/fontmanager/*
inc/psprint/inc/fontmanager.hxx
inc/psprint/inc/fontcache.hxx

Dan
Comment 17 fa 2003-08-04 05:38:14 UTC
Fixed in 103 GM.
Comment 18 Martin Hollmichel 2004-03-25 07:42:38 UTC
close issue.