6685 Commits

Author SHA1 Message Date
dbaron%dbaron.org
529e5b5cef Remove mSurface and SetDrawingSurface to fix bustage. mSurface was a write-only void* variable taking inconsistent types.
git-svn-id: svn://10.0.0.236/trunk@189707 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:10 +00:00
dbaron%dbaron.org
3657378eac Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@189706 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:09 +00:00
pedemont%us.ibm.com
86dece7f86 Bug 195022 - Workaround fix for scaling images with a 1-bit mask. r=sfraser,sr=tor
git-svn-id: svn://10.0.0.236/trunk@189705 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:08 +00:00
roc+%cs.cmu.edu
3ee3960523 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@189704 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:07 +00:00
cbiesinger%web.de
fa9da5e4de bug 243966 getPropertyValue truncates values for computed system font value
patch by Karsten Düsterloh <mnyromyr@tprac.de> r=ere,timeless,mkaply,amardare sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@189703 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:06 +00:00
gerv%gerv.net
92267efc44 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@189702 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:05 +00:00
ccarlen%netscape.com
7dbec84924 Adding new files for bug 154883 - using session printing APIs on OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@189701 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:04 +00:00
tor%cs.brown.edu
a93bb0830d Bug 234954 - remove unused nsIDeviceContext::ConvertPixel. r=pavlov sr=bryner
git-svn-id: svn://10.0.0.236/trunk@189700 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:03 +00:00
bryner%brianryner.com
5b1888fed0 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@189699 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:02 +00:00
pinkerton%netscape.com
982521bdf5 merge more changes from chimera branch, fixed printing crash and sets dpi to
96dpi instead of 84dpi (bug 208920)


git-svn-id: svn://10.0.0.236/trunk@189698 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:01 +00:00
rbs%maths.uq.edu.au
c2fabcf392 Only show the system default font on platforms where applicable, b=206782, r=jshin, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@189697 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:50:00 +00:00
dwitte%stanford.edu
e9a6788b2f bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@189696 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:59 +00:00
bryner%netscape.com
b960872ec8 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@189695 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:58 +00:00
dbaron%dbaron.org
07e4bc3569 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@189694 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:57 +00:00
roc+%cs.cmu.edu
f0ff2d1316 Fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@189693 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:56 +00:00
dougt%netscape.com
b81f4faa70 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@189692 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:55 +00:00
neil%parkwaycc.co.uk
091f508408 Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@189691 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:54 +00:00
ccarlen%netscape.com
6424611532 Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@189690 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:53 +00:00
rods%netscape.com
49e15895e4 to fix breakage, using static cast.
git-svn-id: svn://10.0.0.236/trunk@189689 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:52 +00:00
rods%netscape.com
a51e8cf26f Implement the assign method with an "=" operator
Bug 151628 r=ccarlen sr=jst
BUg CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@189688 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:51 +00:00
roc+%cs.cmu.edu
15d3f748b1 Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@189687 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:50 +00:00
dougt%netscape.com
e562bda39f Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@189686 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:49 +00:00
rbs%maths.uq.edu.au
3011f242cc Make CheckFontExistence('Symbol') to tell the truth, b=161048, r=ftang, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@189685 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:48 +00:00
rods%netscape.com
38db0e45ad Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189684 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:47 +00:00
dougt%netscape.com
9eee0779eb fixing macX build bustage
git-svn-id: svn://10.0.0.236/trunk@189683 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:46 +00:00
rods%netscape.com
e16548c5fc Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
missed these files/changes
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189682 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:45 +00:00
rods%netscape.com
52a3a741ec Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189681 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:44 +00:00
rods%netscape.com
bdea9c1419 backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@189680 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:43 +00:00
rods%netscape.com
476d5b4570 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189679 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:42 +00:00
pinkerton%netscape.com
a4986bb9ea Fix mach-o build bustage. Don't include non-carbon things unless we're
actually building for carbon.


git-svn-id: svn://10.0.0.236/trunk@189678 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:41 +00:00
rods%netscape.com
3c12354b8a Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189677 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:40 +00:00
rods%netscape.com
ec715494e5 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@189676 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:39 +00:00
darin%netscape.com
c7cac5bc33 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@189675 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:38 +00:00
dcone%netscape.com
a7b41b029d b=90751 Took out changes.. did not work on the Mac OSX/Darwin build.
git-svn-id: svn://10.0.0.236/trunk@189674 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:37 +00:00
dcone%netscape.com
3e327938f1 b=90751 This is a fix for the Mac V build I broke last night. This fix was give by ccarlen.. sorry for the breakage. Thanks to seawood and Dagley for getting things back online. I have to remember to watch that ports build.
git-svn-id: svn://10.0.0.236/trunk@189673 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:36 +00:00
rods%netscape.com
62d10a28b4 Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189672 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:35 +00:00
ftang%netscape.com
5e5b587b46 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@189671 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:34 +00:00
seawood%netscape.com
974b20ae04 Workaround for nsFileSpec lossage.
Thanks to Steve Dagley <sdagley@netscape.com> for the patch.
Fixing tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@189670 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:33 +00:00
dcone%netscape.com
b02d456328 b=90751 r=peterl sr=attinasi a=asa This should fix the problem finding the printer settings plugin.
git-svn-id: svn://10.0.0.236/trunk@189669 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:32 +00:00
dcone%netscape.com
b39e0e516e b=90751 r=peterl sr=attinasi a=asa adding Mac OSX printer extensions.
git-svn-id: svn://10.0.0.236/trunk@189668 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:31 +00:00
dcone%netscape.com
5690117c0e 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@189667 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:30 +00:00
dcone%netscape.com
dd814fb1b9 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
git-svn-id: svn://10.0.0.236/trunk@189666 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:29 +00:00
dcone%netscape.com
3b5c771d61 119574 r=rods sr=attinasi a=asa. return correct errors from cancel.
git-svn-id: svn://10.0.0.236/trunk@189665 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:28 +00:00
alecf%netscape.com
1caa718a12 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@189664 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:27 +00:00
ftang%netscape.com
186a49e685 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@189663 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:26 +00:00
ftang%netscape.com
6294128826 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@189662 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:25 +00:00
rods%netscape.com
b12e60f65f 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi


git-svn-id: svn://10.0.0.236/trunk@189661 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:24 +00:00
dcone%netscape.com
82efb174b8 b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work
git-svn-id: svn://10.0.0.236/trunk@189660 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:23 +00:00
rods%netscape.com
32bf6e863a Improves error codes for printing and fixes selection printing by making sure the margins are initialized when no prefs are there
Bugs 86378 & 118637 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@189659 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:22 +00:00
rods%netscape.com
5df25fc66e to fix breakage
git-svn-id: svn://10.0.0.236/trunk@189658 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:49:21 +00:00