3093 Commits

Author SHA1 Message Date
sfraser%netscape.com
2db23ca1c5 Fix Mach-O static build. Bug 127186. r=cls, sr=scc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@117567 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 03:15:58 +00:00
kmcclusk%netscape.com
4a0692bed1 Fixed code which prevented the rendering of large animated background gifs. Return after the the call to PatBltTile only if PatBltTile returns PR_TRUE otherwise fall through to the slow tiling code. bug 133096 r=dcone sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117488 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 14:21:31 +00:00
cbiesinger%web.de
31344dd0c1 bug 132563 ("Print job options dialog should use paper name instead of paper size to set/get the selected paper size"), r=rods, sr=attinasi, a=asa
patch by Roland.Mainz@informatik.med.uni-giessen.de


git-svn-id: svn://10.0.0.236/trunk@117432 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 23:57:40 +00:00
cbiesinger%web.de
21eac36823 bug 131417, r=bz, sr=scc, a=asa, patch by Roland.Mainz@informatik.med.uni-giessen.de
Memory leak in SetUpFontCharSetInfo()


git-svn-id: svn://10.0.0.236/trunk@117430 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 23:44:53 +00:00
rods%netscape.com
bcded00274 This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using them yet.
Bug 132827 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117406 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 13:21:23 +00:00
rods%netscape.com
887f4838db This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using them yet.
Bug 132827 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117405 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 11:55:27 +00:00
rods%netscape.com
44825d8753 This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using them yet.
Bug 132827 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117404 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 11:49:55 +00:00
dbaron%fas.harvard.edu
58badaae12 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117340 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:35:01 +00:00
rods%netscape.com
31e57bdbd6 The original patch worked fine for regular documents but didn't work for mail
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded  and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117317 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 16:48:58 +00:00
bzbarsky%mit.edu
671610ed66 Fix memory leak. Bug 131417, patch by Peter A Jonsson
<pj@ludd.luth.se>, r=bzbarsky,pavlov, sr=blizzard,jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@117208 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 19:47:27 +00:00
mkaply%us.ibm.com
b991768478 #119182
r=mkaply, sr=blizzard, a=asa
OS/2 only - Constrain rectangles when drawing so legacy (16-bit) drivers work


git-svn-id: svn://10.0.0.236/trunk@117206 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 19:34:28 +00:00
dcone%netscape.com
a06accd681 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview. Last checking contained another fix I was working on.. so I pulled that out.
git-svn-id: svn://10.0.0.236/trunk@117182 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:18:38 +00:00
dcone%netscape.com
d24bc6a44f 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
git-svn-id: svn://10.0.0.236/trunk@117179 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 14:49:29 +00:00
rods%netscape.com
4cb6b26267 Backing out changes for Bug 131174
git-svn-id: svn://10.0.0.236/trunk@117134 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 00:42:48 +00:00
bstell%ix.netcom.com
c395e0444d bug 130661 TrueType code does not distinguish regular/bold/italic
r=yokoyama@netscape.com, sr=rbs@maths.uq.edu.au, a=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@117114 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:44:10 +00:00
ftang%netscape.com
9c3f64a9cd fix bug smoketest blocker 132370 and hopefully nsbeta1+ 122875 too.
check M9.0 FontManager and don't call them if they are not available
r=brade@netscape.com sr=sfraser a=kin (as sheirff for blocker)


git-svn-id: svn://10.0.0.236/trunk@117085 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 20:55:12 +00:00
dcone%netscape.com
06e6c3a4ee b=131888 r=dcone sr=attinasi a=asa Clean up crash on OS9 print dialog.
git-svn-id: svn://10.0.0.236/trunk@117060 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 14:58:41 +00:00
rods%netscape.com
5df914a052 Make the default for ShrinkToFit be PR_TRUE
Bug 128008 r=kmcclusk sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@117041 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 08:57:17 +00:00
mkaply%us.ibm.com
7338a8c46d #1131461
r=cls, a=asa
Remove unused gfx/src/os2/res directory


git-svn-id: svn://10.0.0.236/trunk@117005 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:59:08 +00:00
rods%netscape.com
ea7e576f56 This disallows printing or print preview to work if the document is busy.
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@117003 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:42 +00:00
rods%netscape.com
7cd2f9a546 Minor fix for patch should have been * instead of !*
Bug 131852 r=dcone sr=attinasi a=scc


git-svn-id: svn://10.0.0.236/trunk@116987 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 20:43:42 +00:00
dcone%netscape.com
5d43e8ce6d b=130027 r=karnaze sr=attinasi a=scc. fix PatBlt to be used only in optimized cases.
git-svn-id: svn://10.0.0.236/trunk@116974 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 14:53:57 +00:00
rods%netscape.com
29613d1e34 Besides turning on the pref, I needed to move the initialization code for
getting the values from the default printer from the DocumentViewer down into
the PrintOptions service. We want it done only the very first time when the PrintSettings is created.
Bug 131852 r=dcone sr=attinasi a=scc


git-svn-id: svn://10.0.0.236/trunk@116971 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 12:43:13 +00:00
bzbarsky%mit.edu
4e1ac18432 Fix crash on closing page setup. Bug 132004,
r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi, a=scc


git-svn-id: svn://10.0.0.236/trunk@116931 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 01:20:15 +00:00
bzbarsky%mit.edu
e992d8e4b7 Make sure to parse in the C locale. Bug 131831, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=biesi,
sr=scc, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116930 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 01:13:17 +00:00
mkaply%us.ibm.com
c91a3ffcf9 better fix for OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@116875 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 20:17:44 +00:00
mkaply%us.ibm.com
6e75e5f9cd Hey, this isn't going to work, but we can't be anymore busted, can we?
git-svn-id: svn://10.0.0.236/trunk@116862 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 15:33:46 +00:00
jaggernaut%netscape.com
14eba63cec Attempt to fix OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@116854 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 11:36:06 +00:00
alecf%netscape.com
9e783f114b Fix for bug 107575, files which didn't land the first time (I was working off the wrong patch file) r=dougt, sr=jag, a=scc
git-svn-id: svn://10.0.0.236/trunk@116844 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 07:26:32 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
rods%netscape.com
12d4a64e95 Oops, not this one.
git-svn-id: svn://10.0.0.236/trunk@116715 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:20:48 +00:00
rods%netscape.com
80f21d9b16 Usingg nsIPrintSettings now
Bug 128142 r=dcone sr=attinasi a=shaver


git-svn-id: svn://10.0.0.236/trunk@116714 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:19:47 +00:00
rods%netscape.com
fd4d2132df 1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver


git-svn-id: svn://10.0.0.236/trunk@116711 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 13:08:45 +00:00
rods%netscape.com
97ec5d7240 ReadPrefs and WritePrefs are no longer in nsIPrintOptions
Bug 128142 r=dcone sr=attinasi a=shaver


git-svn-id: svn://10.0.0.236/trunk@116710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 11:26:47 +00:00
dcone%netscape.com
ca223691c1 119574 r=rods sr=attinasi a=asa. return correct errors from cancel.
git-svn-id: svn://10.0.0.236/trunk@116683 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 02:39:53 +00:00
leaf%mozilla.org
2cd30aba06 Bug 130923 ('Xprint refuses to print with the message "Inter nal error"'),
r=db48x, sr=attinasi, a=asa, code from gisburn


git-svn-id: svn://10.0.0.236/trunk@116682 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 02:33:52 +00:00
ftang%netscape.com
f4d40c1ae2 fix 130443 . r=nhotta sr=sfraser a=asa
cast the hash value to FMFontFamily instead of fondid (short) on carbon and get the correct script code from it by using the right api


git-svn-id: svn://10.0.0.236/trunk@116648 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 15:44:26 +00:00
ftang%netscape.com
b1421a820e fix 129188 . r=nhotta sr=sfraser a=asa
1. convert the font name correctly to unicode for theme font
2. for korean, chinese system, use roman theme font instead because the locale one are too ugly.


git-svn-id: svn://10.0.0.236/trunk@116646 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 15:41:05 +00:00
rods%netscape.com
40889d01ed Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
git-svn-id: svn://10.0.0.236/trunk@116643 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 14:49:09 +00:00
rods%netscape.com
58cfbb8ad2 1) Removes most all the unneeded data from nsPrintOptions service. All data
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
   object. The items not saved are those used during the printing process and
   it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
   If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
   Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
   set of prefs. Then if a printer name is available in the PS then it tries
   to initialize itself from the printer specific prefs. This enables to define
   "back stop" prefs for picking up first. Then the printer specific prefs
   can override those settings.
   For example, we may define in prefs that the default paper size 8.5x11,
   then if if the "save PS prefs" is turned on, for a given printer it might
   save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
   or written.


git-svn-id: svn://10.0.0.236/trunk@116641 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 13:55:54 +00:00
timeless%mac.com
967ea4fdc1 Bug 126799 [ps] Print preview spews errors to terminal window
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods rs=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@116592 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 23:12:31 +00:00
rjesup%wgate.com
2861ac2150 Bug 127455: Crash on 64-bit CPU's in DrawToImage due to unsigned underflow.
r=blizzard, sr=tor, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@116582 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 22:15:00 +00:00
arougthopher%lizardland.net
bcfa2f3128 Fix for Bug#124543
BeOS MathML implementation


r-rbs (rbs@maths.uq.edu.au)
a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116448 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 01:02:25 +00:00
timeless%mac.com
8368e2ad30 Bug 80562 Xprint does not support any other visuals than Xprt's default one...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=db48x sr=attinasi a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116441 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:52:34 +00:00
ftang%netscape.com
bd045a901e fix bug125298. hide bidi control format code
r=nhotta sr=sfraser a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116437 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:36:59 +00:00
jdunn%netscape.com
879b2bc6e4 fixing --disable-xprint bustage (i.e. AIX)
strcasecmp is defined in strings.h which is NOT included if
XPRINT is enabled.  So to simply matters, switching calls
to PL_strcasecmp.

Submitted by pkw@austin.ibm.com
# 125078
sr=shaver@mozilla.org
a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@116145 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 12:40:20 +00:00
dcone%netscape.com
b441e5fbc7 b=117376, b=128282 r=kmcclusk,sr=attinasi,a=asa. Fixed Alpha blend tiling and some speed issues
with PatBlt and windows NT.


git-svn-id: svn://10.0.0.236/trunk@116102 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:41:14 +00:00
mkaply%us.ibm.com
8b99827d26 #129119
r=smontagu, sr=blizzard, a=asa
Os/2 only - use a constant scale for printing based on 96dpi


git-svn-id: svn://10.0.0.236/trunk@116037 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 06:17:15 +00:00
rjesup%wgate.com
44621b8969 Bug 128939: sync xlib animation with gtk improvements from 125025 and
others.  Fixes a crasher due to animation size changing.  64-bit clean.
r=gisburn, sr=tor, a=asa


git-svn-id: svn://10.0.0.236/trunk@115975 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:05:23 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00