dcone%netscape.com
a415ca783b
Added class definitions for PrintOptions. r=kmmclusky b=36796
2006-02-16 21:31:52 +00:00
mkaply%us.ibm.com
bade75aca3
#64594
...
r=mkaply, sr=blizzard, a=asa for drivers
OS/2 only - do the right thing when cancel is pressed in print dialog
2006-02-16 21:31:51 +00:00
dbaron%fas.harvard.edu
e61637b3c6
Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
2006-02-16 21:31:50 +00:00
mkaply%us.ibm.com
9d29aee5be
Printing regression
2006-02-16 21:31:49 +00:00
dcone%netscape.com
e05985845e
r=karnaze sr=buster. Updated the API for a nsIDeviceContextSpecFactory to pass in a nsIWidget.
2006-02-16 21:31:48 +00:00
mkaply%us.ibm.com
7af97fff99
r=mkaply, a=blizzard
...
General code cleanup and fix for printer trap from Dainis Jonitis
2006-02-16 21:31:47 +00:00
mkaply%us.ibm.com
3421cc7351
#45872
...
r=mkaply, a=brendan
Make nsDeviceContextSpecFactoryO look more like Windows
2006-02-16 21:31:46 +00:00
mkaply%us.ibm.com
6c5eb02f3d
#68343
...
r=mkaply, a=blizzard
OS/2 ONLY - Change OS/2 to use real XPCOM component registration to fix printing
2006-02-16 21:31:45 +00:00
mkaply%us.ibm.com
0b999f107e
#45872
...
r=mkaply, a=brendan
Make nsDeviceContextSpecOS2 look more like Windows
2006-02-16 21:31:44 +00:00
mkaply%us.ibm.com
d7c7c9c035
#45872
...
r=mkaply, a=brendan
Include the right stuff so this header builds regardless of where it is included
2006-02-16 21:31:43 +00:00
mkaply%us.ibm.com
60dea630f1
# 33860
...
r= mkaply@us.ibm.com
OS/2 bringup
2006-02-16 21:31:42 +00:00
mkaply%us.ibm.com
9bd3e9456d
# 25555
...
r= jdunn@netscape.com
OS/2 changes for Mozilla
2006-02-16 21:31:34 +00:00
pp%ludusdesign.com
ea8f9101a9
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2006-02-16 21:31:33 +00:00
vladimir%pobox.com
ae97fda203
b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc
2006-02-15 23:35:53 +00:00
axel%pike.org
6f25515ce2
bug 326149, bustage-fix for static PR_LOGGING builds, r=bsmedberg
2006-02-15 15:45:43 +00:00
Olli.Pettay%helsinki.fi
5965e9404b
Bug 326904, Remove NS_APP_EVENT_FLAG_HANDLED, r+sr=jst
2006-02-14 17:24:00 +00:00
sergei_d%fi.tartu.ee
f1bb5abfdd
[BeOS]Bug 327046. Moving printing to widget. Fixing identation in WidgetFactory
2006-02-14 15:33:50 +00:00
sergei_d%fi.tartu.ee
b3c7998843
[BeOS]Bug 327046. Moving printing to widget. Adding nsPrintdBeOS.h
2006-02-14 15:25:09 +00:00
sergei_d%fi.tartu.ee
a31c184bf5
[BeOS]Bug 327046. Moving printing to widget
2006-02-14 14:01:48 +00:00
pavlov%pavlov.net
ee029039f9
cleaning up thebes PDF and PS surfaces
2006-02-13 22:37:13 +00:00
pavlov%pavlov.net
f270033d47
fixing link problem in cairo builds
2006-02-13 22:36:16 +00:00
mkaply%us.ibm.com
2b770e59b7
OS/2 build bustage as a result of 32649 - once files are moved, this should build
2006-02-13 22:32:23 +00:00
joshmoz%gmail.com
d8dd4a029c
Don't look up key node for menu items that don't have a key attribute. Check for empty string return from GetAttribute. Cocoa widgets only. No bug.
2006-02-13 20:12:36 +00:00
vladimir%pobox.com
ff7bbe0bdf
Really disable native theme on linux with cairo, had the wrong define before
2006-02-13 19:24:16 +00:00
masayuki%d-toybox.com
7c3e48ae80
Bug 296687 TSM (IME) candidate window is displayed at wrong position (too below). patch by Katsuhiro MIHARA <katsuhiromihara@goo.jp> r=josh, sr=sfraser
2006-02-11 16:04:25 +00:00
pavlov%pavlov.net
a95b367c42
fixing non-cairo windows printing bustage
2006-02-11 00:03:51 +00:00
pavlov%pavlov.net
a77d7d2324
fixing build bustage
2006-02-10 23:33:56 +00:00
pavlov%pavlov.net
1548c387ad
fixing mac bustage
2006-02-10 23:26:33 +00:00
pavlov%pavlov.net
f8a6709741
moving printing from gfx to widget part 3. bug 326149. r=vlad
2006-02-10 23:00:23 +00:00
bsmedberg%covad.net
a63363a37c
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2006-02-10 22:50:22 +00:00
pavlov%pavlov.net
42d0afb22b
fixing build bustage
2006-02-10 22:50:21 +00:00
joshmoz%gmail.com
ac99a66523
SetPMPrintSettings releases page format instead of print settings <- fix that. b=290214 r=pinkerton sr=smfr a=brendan
2006-02-10 22:50:20 +00:00
kjh-5727%comcast.net
9cf3b1ba84
Fixing build bustage.
2006-02-10 22:50:19 +00:00
mark%moxienet.com
e28b023518
Bug 316839, build fails in nsDeviceContextMac.cpp with gcc >= 4.0 following bug 213702. Correct for C++ signedness paranoia and fix warnings. r=josh sr=pink/irc
2006-02-10 22:50:18 +00:00
rbs%maths.uq.edu.au
018ecbabe9
Use ATS instead of FM to enumerate fonts so that Mozilla won't miss the Symbol font. Also cleanup obsolete codes. Patch by YAMASHITA Makoto <makotoy@ms.u-tokyo.ac.jp>, b=213702, r=jshin, sr=rbs
2006-02-10 22:50:17 +00:00
kjh-5727%comcast.net
bd49cb52c7
Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc.
2006-02-10 22:50:16 +00:00
mark%moxienet.com
d1d7ff8328
Bug 306370, Print orientation and other Mac page setup things aren't remembered. Update prototypes and initialize print settings from prefs. r=mano sr=smfr
2006-02-10 22:50:15 +00:00
smfr%smfr.org
165bd5ae80
Fix bug 302958: specify a name for the print job on Mac, getting it from the title passed to the BeginDocument() call. r=jhpedemonte, sr=bryner, a=asa
2006-02-10 22:50:14 +00:00
bryner%brianryner.com
50442a83d2
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
2006-02-10 22:50:13 +00:00
timeless%mozdev.org
c96bed8579
Bug 235643 all _CreatePrintSettings leak on failure
...
patch by baafie@planet.nl r=timeless sr=bz a=asa
2006-02-10 22:50:12 +00:00
joshmoz%gmail.com
955784bb37
gcc 4 fixes for Mac OS X. part 1 of the landing. Patch by Mark Mentovai. b=294244 r=josh sr=darin a=dbaron
2006-02-10 22:50:11 +00:00
smfr%smfr.org
789d76a7a4
Fix bug 279510: remove all the pre-Carbon code and TARGET_CARBON #idfefs from gfx. Patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net>, r=pink, sr=me
2006-02-10 22:50:10 +00:00
dbaron%dbaron.org
49233cfe95
Remove mSurface and SetDrawingSurface to fix bustage. mSurface was a write-only void* variable taking inconsistent types.
2006-02-10 22:50:09 +00:00
dbaron%dbaron.org
3df0b35347
Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc
2006-02-10 22:50:08 +00:00
pedemont%us.ibm.com
91c9381119
Bug 195022 - Workaround fix for scaling images with a 1-bit mask. r=sfraser,sr=tor
2006-02-10 22:50:07 +00:00
roc+%cs.cmu.edu
7126aa65bc
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2006-02-10 22:50:06 +00:00
cbiesinger%web.de
040f466651
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
2006-02-10 22:50:05 +00:00
gerv%gerv.net
39dcfa4d62
Bug 236613: change to MPL/LGPL/GPL tri-license.
2006-02-10 22:50:04 +00:00
ccarlen%netscape.com
bc62867304
Adding new files for bug 154883 - using session printing APIs on OSX. r=pinkerton/sr=sfraser/a=asa
2006-02-10 22:50:03 +00:00
tor%cs.brown.edu
0a646a7ca3
Bug 234954 - remove unused nsIDeviceContext::ConvertPixel. r=pavlov sr=bryner
2006-02-10 22:50:02 +00:00
bryner%brianryner.com
7eaa14bc62
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
2006-02-10 22:50:01 +00:00
pinkerton%netscape.com
e1a69e64c1
merge more changes from chimera branch, fixed printing crash and sets dpi to
...
96dpi instead of 84dpi (bug 208920)
2006-02-10 22:50:00 +00:00
rbs%maths.uq.edu.au
f66877102c
Only show the system default font on platforms where applicable, b=206782, r=jshin, sr=blizzard
2006-02-10 22:49:59 +00:00
dwitte%stanford.edu
c9dca7cdbf
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.
2006-02-10 22:49:58 +00:00
bryner%netscape.com
00043b4380
Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
2006-02-10 22:49:57 +00:00
dbaron%dbaron.org
d98c05bd6b
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2006-02-10 22:49:56 +00:00
roc+%cs.cmu.edu
8fed0aeacb
Fix Mac bustage
2006-02-10 22:49:55 +00:00
dougt%netscape.com
e720bcab09
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2006-02-10 22:49:54 +00:00
neil%parkwaycc.co.uk
37a8f0a292
Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron
2006-02-10 22:49:53 +00:00
ccarlen%netscape.com
9ff859f25c
Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
2006-02-10 22:49:52 +00:00
rods%netscape.com
d3742f004f
to fix breakage, using static cast.
2006-02-10 22:49:51 +00:00
rods%netscape.com
c673ed371c
Implement the assign method with an "=" operator
...
Bug 151628 r=ccarlen sr=jst
BUg CVS: ----------------------------------------------------------------------
2006-02-10 22:49:50 +00:00
roc+%cs.cmu.edu
9ca5ce2351
Bug 186233. Clean up unused/useless GFX calls. r+sr=blizzard
2006-02-10 22:49:49 +00:00
dougt%netscape.com
282cc5bf7e
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2006-02-10 22:49:48 +00:00
rbs%maths.uq.edu.au
b30aab0b10
Make CheckFontExistence('Symbol') to tell the truth, b=161048, r=ftang, sr=sfraser
2006-02-10 22:49:47 +00:00
rods%netscape.com
61afd0587f
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
Bug 115136 r=dcone sr=attinasi
2006-02-10 22:49:46 +00:00
dougt%netscape.com
f7131e22f0
fixing macX build bustage
2006-02-10 22:49:45 +00:00
rods%netscape.com
b375f5f061
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
missed these files/changes
Bug 115136 r=dcone sr=attinasi
2006-02-10 22:49:44 +00:00
rods%netscape.com
e1a85fad26
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2006-02-10 22:49:43 +00:00
rods%netscape.com
c148aae526
backing out unwanted changes
2006-02-10 22:49:42 +00:00
rods%netscape.com
78bee5aa7d
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2006-02-10 22:49:41 +00:00
pinkerton%netscape.com
635c02db48
Fix mach-o build bustage. Don't include non-carbon things unless we're
...
actually building for carbon.
2006-02-10 22:49:40 +00:00
rods%netscape.com
b71051d5da
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
2006-02-10 22:49:39 +00:00
rods%netscape.com
6718233a94
ReadPrefs and WritePrefs are no longer in nsIPrintOptions
...
Bug 128142 r=dcone sr=attinasi a=shaver
2006-02-10 22:49:38 +00:00
darin%netscape.com
747d4704ff
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
2006-02-10 22:49:37 +00:00
dcone%netscape.com
fc329365d0
b=90751 Took out changes.. did not work on the Mac OSX/Darwin build.
2006-02-10 22:49:36 +00:00
dcone%netscape.com
8bfa2c6b4c
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.
2006-02-10 22:49:35 +00:00
rods%netscape.com
99310518a1
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
2006-02-10 22:49:34 +00:00
ftang%netscape.com
2b162317b3
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)
2006-02-10 22:49:33 +00:00
seawood%netscape.com
c159dcd87d
Workaround for nsFileSpec lossage.
...
Thanks to Steve Dagley <sdagley@netscape.com> for the patch.
Fixing tinderbox bustage
2006-02-10 22:49:32 +00:00
dcone%netscape.com
f4efd35ee5
b=90751 r=peterl sr=attinasi a=asa This should fix the problem finding the printer settings plugin.
2006-02-10 22:49:31 +00:00
dcone%netscape.com
6dfb12fc4e
b=90751 r=peterl sr=attinasi a=asa adding Mac OSX printer extensions.
2006-02-10 22:49:30 +00:00
dcone%netscape.com
095bf55ef0
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.
2006-02-10 22:49:29 +00:00
dcone%netscape.com
cadd827e44
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
2006-02-10 22:49:28 +00:00
dcone%netscape.com
a568011bc3
119574 r=rods sr=attinasi a=asa. return correct errors from cancel.
2006-02-10 22:49:27 +00:00
alecf%netscape.com
70b0aa8d51
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
2006-02-10 22:49:26 +00:00
ftang%netscape.com
57135da198
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
2006-02-10 22:49:25 +00:00
ftang%netscape.com
c8532d828a
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.
2006-02-10 22:49:24 +00:00
rods%netscape.com
f807d2f41d
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
2006-02-10 22:49:23 +00:00
dcone%netscape.com
aac677d01d
b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work
2006-02-10 22:49:22 +00:00
rods%netscape.com
8be098f38d
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
2006-02-10 22:49:21 +00:00
rods%netscape.com
c19e8c8caf
to fix breakage
2006-02-10 22:49:20 +00:00
sfraser%netscape.com
932dca997a
Fix #include file case, so that Mac builds on UFS volumes work. r=gracie
2006-02-10 22:49:19 +00:00
pinkerton%netscape.com
25cde11955
changes for cocoa product to build and run and coexist in the tree with carbon. r=cls/sr=hyatt, bug# 111230
2006-02-10 22:49:18 +00:00
pinkerton%netscape.com
aa755e9e76
ensure that mPixelsToTwips is always integral. r=dbaron/sr=sfraser/a=asa. bug#120779
2006-02-10 22:49:17 +00:00
sfraser%netscape.com
a9c42e7adf
Fix port/GDevice management issues in Mac code, fixes bugs 113480, 103234, 105946, and 104781. Changes ensure that the current graphics device is set correctly when SetPort is used to change the current graphics port (to window or GWorld). r=pinkerton, rs=brendan
2006-02-10 22:49:16 +00:00
rods%netscape.com
6aae65d2a5
reflow was using the wrong DC to rendering context for PP
...
BUg 117745 r=dcone sr=attinasi
2006-02-10 22:49:15 +00:00
dbaron%fas.harvard.edu
f2541416ca
Remove duplicate initialization of nsDeviceContext reference count by derived class constructor (which is dangerous since it could be incremented during the base class constructor). Various other cleanup, mostly in xlib port. b=111088 r=rbs sr=jag
2006-02-10 22:49:14 +00:00
jaggernaut%netscape.com
a49652dd7d
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2006-02-10 22:49:13 +00:00
jaggernaut%netscape.com
e2c257f727
BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
2006-02-10 22:49:12 +00:00
pchen%netscape.com
577d6b84d3
bug 20943, r=rods, sr=ben, need to use alternate dc for print preview
2006-02-10 22:49:11 +00:00
sfraser%netscape.com
2cab371b9d
Change to convert Widget and Gfx into component DLLs on Mac, bug 94434. r=pchen, sr=beard/darin
2006-02-10 22:49:10 +00:00
seawood%netscape.com
579f5bdd1d
Landing the rest of the mach-o OSX changes.
...
Bug #75653 r=cls sr=waterson
2006-02-10 22:49:09 +00:00
sfraser%netscape.com
b9f9af84ba
Fix for bug 36796 - implement page setup on Mac and Mac OS X. r=sdagley, sr=alecf.
2006-02-10 22:49:08 +00:00
ftang%netscape.com
0a79f5f567
fix bug 95554. r=bstell, sr=sfraser. implement the nsFontEnumeratorMac::HaveFontFor
2006-02-10 22:49:07 +00:00
dbaron%fas.harvard.edu
6f8aecc4ce
Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson
2006-02-10 22:49:06 +00:00
jaggernaut%netscape.com
3f9187b523
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
2006-02-10 22:49:05 +00:00
gerv%gerv.net
fb4e96a55a
License changes, take 2. Bug 98089. mozilla/gfx/.
2006-02-10 22:49:04 +00:00
dbaron%fas.harvard.edu
310aa00da4
Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
2006-02-10 22:49:03 +00:00
yokoyama%netscape.com
81f87ce71e
Bug fix 91250:
...
Adding a return Boolean from nsIFontEnumerator::UpdateFontList()
to identify if the font lang group has changed from
receiving the WM_FONTCHANGE msg.
/r=rbs;/sr=brendan
2006-02-10 22:49:02 +00:00
pavlov%netscape.com
cd775b4869
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2006-02-10 22:49:01 +00:00
jaggernaut%netscape.com
a9d4b30e79
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2006-02-10 22:49:00 +00:00
pinkerton%netscape.com
36c7a92ab7
fix non-carbon build bustage
2006-02-10 22:48:59 +00:00
pinkerton%netscape.com
b0fdf29fea
Get printing working on carbon after it was broken in the landing of print options. fix a memory leak that was leaking the deviceContextSpec on mac. r=sdagley/sr=sfraser. bug# 58254.
2006-02-10 22:48:58 +00:00
pinkerton%netscape.com
9e1cf3f179
be more explicit about includes for gcc. r=saari/sr=hyatt bug# 75653
2006-02-10 22:48:57 +00:00
jaggernaut%netscape.com
a61a40288a
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2006-02-10 22:48:56 +00:00
yokoyama%netscape.com
697b96aede
bug: 69117
...
update the global fontlist.
update nsPresContext's device context font
when we receive WM_FONTCHANGE msg.
/r=rbs, /sr=blizzard, /a=asa
2006-02-10 22:48:55 +00:00
dcone%netscape.com
721dc2514c
b=75893. r=mcclusk sr=attinasi a=chofmann
2006-02-10 22:48:54 +00:00
pinkerton%netscape.com
95a17c6a83
Include the OSX version of nsDeviceContextSpec for carbon. r=saari/sr=hyatt. bug# 75653
2006-02-10 22:48:53 +00:00
pinkerton%netscape.com
714b448639
no need to worry about the title bar when computing which screen the window is on. it's only an approximation, and subtracting out the title bar showed up on profiler runs as about 8%. r=saari/sr=sfraser, bug# 69101.
2006-02-10 22:48:52 +00:00
dcone%netscape.com
cd81c1dc14
Changed BeginDocument API call.. added parameter. r=rods sr=attinasi
2006-02-10 22:48:51 +00:00
dcone%netscape.com
e08c5c6c67
Added a refcount to the nsDeviceContext. sr=attinasi r=kmcclusk
2006-02-10 22:48:50 +00:00
pinkerton%netscape.com
018e438384
carbon changes. r=pink/sdagley/beard. a=sfraser.
2006-02-10 22:48:49 +00:00
dcone%netscape.com
cc783a8565
r=karnaze sr=buster. Updated the API for a nsIDeviceContextSpecFactory to pass in a nsIWidget.
2006-02-10 22:48:48 +00:00
beard%netscape.com
b25ede755d
[not part of build] generalized printing support.
2006-02-10 22:48:47 +00:00
pinkerton%netscape.com
bc0416628c
don't include needless header, fix type error under gcc. r=saari/sr=hyatt. bug#75653
2006-02-10 22:48:46 +00:00
beard%netscape.com
511b3df8a9
[not part of build] Carbon printing support.
2006-02-10 22:48:45 +00:00
ftang%netscape.com
d7717a588c
add HaveFontFor method for nsIFontEnumerator sr=erik
2006-02-10 22:48:44 +00:00
pinkerton%netscape.com
3ac8e2dc75
Fix for leakage of nsScreenWin object in embedding case. r=saari, sr=sfraser. bug# 43590.
2006-02-10 22:48:43 +00:00
pinkerton%netscape.com
53d96cf9d2
changes for Carbon r=pchen/a=sfraser. bug# 42100
2006-02-10 22:48:42 +00:00
pierre%netscape.com
df81870371
fix related to the reconstruction of html.css ( #6625 ), the css system fonts ( #1021 and #3371 ) and a regression on the Mac from #44656 : make the html form controls look better on the Mac. a=buster
2006-02-10 22:48:41 +00:00
rayw%netscape.com
c8ceca0ec8
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2006-02-10 22:48:40 +00:00
warren%netscape.com
73aa8e95a0
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
2006-02-10 22:48:39 +00:00
scc%mozilla.org
8365038e8c
fixing code that relied on implicit string construction
2006-02-10 22:48:38 +00:00
warren%netscape.com
bf7f1f3c47
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
2006-02-10 22:48:37 +00:00
saari%netscape.com
4e4d08e8e9
Fix for nsbeta2+ bug 36470: colors are wrong across multiple monitors of different bit depths on MacOS. r= pinkerton
2006-02-10 22:48:36 +00:00
beard%netscape.com
e235400501
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
2006-02-10 22:48:35 +00:00
warren%netscape.com
7fadafa1a6
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2006-02-10 22:48:34 +00:00
mcafee%netscape.com
4c8e5923a9
Renaming prefs to live in the browser.display namespace: background_color, foreground_color, use_document_fonts, use_document_colors, base_font_scaler, wfe.use_windows>colors, screen_resolution. r=alecf, a=chofmann (31136)
2006-02-10 22:48:33 +00:00
ftang%netscape.com
b8b6f61696
fix 30798, skip font start with "." and "%" for font enumeration since they are private font.
2006-02-10 22:48:32 +00:00
ftang%netscape.com
82a5d9412b
fix 33258. Ignore symbol font so we won't rendert ASCII by using it.
2006-02-10 22:48:31 +00:00
pinkerton%netscape.com
aad15cab9b
Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen.
2006-02-10 22:48:30 +00:00
pierre%netscape.com
4fb187612a
Fix a crash with Test10: a missing SetPort() in FindScreenForSurface().
2006-02-10 22:48:29 +00:00
scc%netscape.com
763189be6e
making string conversions explicit
2006-02-10 22:48:28 +00:00
pierre%netscape.com
51eff68a7a
#3371 . Added support for the Appearance Manager in the css2/css3 system fonts.
2006-02-10 22:48:27 +00:00
pierre%netscape.com
a8aac3b51c
#3371 . Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed.
2006-02-10 22:48:26 +00:00
pinkerton%netscape.com
d8c0a134c9
making dev context use screen manager to get info about the screen. r=sfraser.
2006-02-10 22:48:25 +00:00
dcone%netscape.com
94c6f9eb0e
fixed a multiple definition of nsISupports. r=beard
2006-02-10 22:48:24 +00:00
pavlov%netscape.com
84b20b1e22
changes to let us build on MacOS X
2006-02-10 22:48:23 +00:00
sfraser%netscape.com
2b94a8fd13
Changed to use NS_DECL_ISUPPORTS_INHERITED. r=beard
2006-02-10 22:48:22 +00:00
sspitzer%netscape.com
c9a70c89ce
use NS_WITH_SERVICE to make the code cleaner.
2006-02-10 22:47:30 +00:00
dcone%netscape.com
6fa93317a1
Added the canonical pixels scale calculation. r = rods. b = 24405
2006-02-10 22:47:29 +00:00
pinkerton%netscape.com
61b44692e8
Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable.
2006-02-10 22:47:28 +00:00
pp%ludusdesign.com
a957ee292d
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2006-02-10 22:47:27 +00:00
tor%cs.brown.edu
8f28693968
fix build bustage. r=stuart
2006-02-10 22:05:29 +00:00
dougt%meer.net
0ed7635f79
WINCE only. move hotkey handling to use dispatch window. r/a=dveditz. b=325298
2006-02-10 21:55:02 +00:00
joshmoz%gmail.com
c0595fa436
Add basic window type support in Cocoa widgets, fix major crash. b=325336 r=mark rs=pinkerton
2006-02-10 21:39:30 +00:00
pavlov%pavlov.net
42bbd236e8
fixing build bustage
2006-02-10 21:10:55 +00:00
pavlov%pavlov.net
9037d7d8d3
moving printing from gfx to widget part 2. bug 326149. r=vlad
2006-02-10 20:44:48 +00:00
pavlov%pavlov.net
b356085867
moving printing from gfx to widget part 1. bug 326149. r=vlad
2006-02-10 20:40:54 +00:00
sergei_d%fi.tartu.ee
b766fbc612
[Bug 326687] [BeOS] Misplaced ) in MakeFocus() method, p=sergei_d, r=biesi
2006-02-10 18:54:37 +00:00
vladimir%pobox.com
f5a9c9dd6d
b=326471, use push/pop group for thebes double buffering; temporarily disable linux native theme until fixed, r=stuart
2006-02-09 01:24:30 +00:00
dbaron%dbaron.org
9267ab27e6
Remove old native widget code that we were only keeping around for viewer. b=326417 Fixing bustage.
2006-02-08 20:31:10 +00:00
dbaron%dbaron.org
b953609bf4
Remove old native widget code that we were only keeping around for viewer. b=326417 r+sr=roc
2006-02-08 20:09:19 +00:00
mark%moxienet.com
beb343682a
318283 Hangs when autofill popup menu should shrink [Mac 10.2]. On 10.2, defer window resizes until after an update. r=josh sr=smfr a/1.8=josh
2006-02-08 15:05:00 +00:00
joshmoz%gmail.com
f215fa13a0
Clean up window creation in Cocoa widgets. b=325336 r=mento
2006-02-08 06:09:44 +00:00
joshmoz%gmail.com
68d4de3b44
Fix warnings, remove unnecessary includes, fix indentation. Cocoa widgets only, no bug.
2006-02-07 21:00:46 +00:00
joshmoz%gmail.com
d43e29b99b
Always save window parent, use PRPackedBool. b=325336 r=mento sr=pinkerton
2006-02-07 19:15:42 +00:00
ginn.chen%sun.com
624ceb9851
Bug 324348 firefox window appears initially at small size and then
...
resizes
r+sr=roc
2006-02-07 03:38:01 +00:00
cbiesinger%web.de
9ae975d930
Bug 193372 add missing include r=blizzard sr=bz
2006-02-07 01:15:24 +00:00
timeless%mozdev.org
995fed0c8d
Bug 303432 - nsPrintSettings::GetPrinterName lacks an OOM check
...
patch by b.jacques@planet.nl r=dmose sr=dmose
2006-02-07 01:15:23 +00:00
kjh-5727%comcast.net
d014958f4d
Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc.
2006-02-07 01:15:22 +00:00
cbiesinger%web.de
a01dc47079
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-07 01:15:21 +00:00
kjh-5727%comcast.net
413b7c77d6
Bug 309988 - Default paper size was being set incorrectly. Patch by Christian Persch, chpe@gnome.org. r=kherron, sr=roc.
2006-02-07 01:15:20 +00:00
bsmedberg%covad.net
387cffcb43
Bug 320988 relanding activex bits with a fix for the agressive optimization of inlines, r=darin
2006-02-07 01:15:19 +00:00
timeless%mozdev.org
72b68744ea
Bug 304646 nsPrintOptions::InitPrintSettingsFromPrefs shouldn't do NS_WARNING when prtName.IsEmpty()
...
patch by b.jacques@planet.nl r=timeless sr=dmose
2006-02-07 01:15:18 +00:00
timeless%mozdev.org
3f8d69295b
Bug 306259 Nits in nsPrintOptionsImpl
...
patch by b.jacques@planet.nl r=timeless sr=dmose
2006-02-07 01:15:17 +00:00
timeless%mozdev.org
0368a9f2c0
Bug 303091 JS Exception when changing print scale
...
patch by b.jacques@planet.nl r=timeless sr=shaver a=cbeard
2006-02-07 01:15:16 +00:00
roc+%cs.cmu.edu
8c3b93b684
Fixing build bustage
2006-02-07 01:15:15 +00:00
timeless%mozdev.org
b0023cbf8a
Bug 297277 potential OOM crash/mlk [@ nsPrintOptions::_CreatePrintSettings]
...
patch by b.jacques@planet.nl r=timeless sr=dmose a=bsmedberg
2006-02-07 01:15:14 +00:00
timeless%mozdev.org
23ceb318f2
Bug 235643 all _CreatePrintSettings leak on failure
...
changes code to handle OOM and optimizes code to skip an unnecessary QI
patch by baafie@planet.nl r=timeless sr=bz a=asa
2006-02-07 01:15:13 +00:00
masayuki%d-toybox.com
d23a8a9589
Bug 197271 Japanese printer name is displayed as garbage in about:config r+sr=bzbarsky, a=shaver
2006-02-07 01:15:12 +00:00
ginn.chen%sun.com
ef8eadc532
Bug 270079 Mozilla can not print the URL in the header and footer.
...
patch maker:leon.sha@sun.com r=roc sr=roc
2006-02-07 01:15:11 +00:00
darin%meer.net
b13d5f2be9
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
2006-02-07 01:15:10 +00:00
bzbarsky%mit.edu
c938a7707f
"Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
...
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2006-02-07 01:15:09 +00:00
kjh-5727%comcast.net
5ee2596a03
Bug 257381: Refactor postscript printer list logic & support printing
...
through CUPS. r/sr=roc.
2006-02-07 01:15:08 +00:00
kjh-5727%comcast.net
3c69c266e3
Bug 254331: Cannot print in black & white again, only color. r=bzbarsky, sr=roc
2006-02-07 01:15:07 +00:00
mkaply%us.ibm.com
5a46957d6e
#251754
...
r=pkw, sr=blizzard
If it is available, use CUPS to enumerate Postscript printers
2006-02-07 01:15:06 +00:00
kjh-5727%comcast.net
41abb25613
Bug 226600 - Add a print preview flag to *nix print device context specs.
...
r=blizzard, sr=roc
2006-02-07 01:15:05 +00:00
caillon%redhat.com
c698aa6a85
Kill off nsComObsolete.h
...
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2006-02-07 01:15:04 +00:00
cbiesinger%web.de
e5cf8f70b4
replace EqualsWithConversion by EqualsLiteral where possible
...
bug 248687 r+sr=roc
2006-02-07 01:15:03 +00:00
roc+%cs.cmu.edu
ec1e76b102
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2006-02-07 01:15:02 +00:00
masayuki%d-toybox.com
09e681f4fd
Bug 118563 The new print properties dialog does not save papersize / fix for default setting is broken on Windows with intl printer name r=jshin1987, sr=bzbarsky, a=shaver
2006-02-07 01:15:01 +00:00
timeless%mozdev.org
2cbd799e61
Bug 235643 all _CreatePrintSettings leak on failure
...
patch by baafie@planet.nl r=timeless sr=bz a=asa
2006-02-07 01:15:00 +00:00
bsmedberg%covad.net
125e1cfc6a
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2006-02-07 01:14:59 +00:00
dougt%meer.net
0c12c2ac44
bug 281948. WinCE changes to GFX and Widget. r=ere, sr=darin
2006-02-07 01:14:58 +00:00
jshin%mailaps.org
bbdb960b6c
bug 275080 : cannot print (javascript : window) with a printer with non-Latin1 characters in its name : patch by masayuki (r=jshin, sr=bzbarsky)
2006-02-07 01:14:57 +00:00
tor%cs.brown.edu
26664f6398
Bug 203257 - wrong error if no printers installed (win32).
...
Patch by aaronr@us.ibm.com , r=ere, sr=tor
2006-02-07 01:14:56 +00:00
jshin%mailaps.org
3f17a4786b
bug 167128 : Printers with non-ASCII characters in their names can't be selected (bug 167128) patch by kozawa%mozilla.gr.jp (r=me, sr=mkaply)
2006-02-07 01:14:55 +00:00
cbiesinger%web.de
dede4a9681
bug 235763 Print dialog show list printer descriptions if available
...
patch by Roland Mainz <roland.mainz@nrubsig.org> r+sr=roc
2006-02-07 01:14:54 +00:00
roc+%cs.cmu.edu
e04d8df52e
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2006-02-07 01:14:53 +00:00
jst%mozilla.jstenback.com
bfae161471
Fixing build bustage.
2006-02-07 01:14:52 +00:00
jst%mozilla.jstenback.com
8e4675ead7
Fixing bug 240723. Cleaning up nsIFilePicker a bit, no more nsIDOMWindowInternal, and use our string classes and not raw strings. r=caillon@gmail.com, sr=bzbarsky@mit.edu
2006-02-07 01:14:51 +00:00
gerv%gerv.net
78f75b4829
Bug 236613: change to MPL/LGPL/GPL tri-license.
2006-02-07 01:14:50 +00:00
bryner%brianryner.com
e86fe029e1
Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes.
2006-02-07 01:14:49 +00:00
bryner%brianryner.com
6abc04fa98
Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin.
2006-02-07 01:14:48 +00:00
cbiesinger%web.de
24eade8c01
Bug 223243
...
margins pref no longer works
patch by jblanco@us.ibm.com (Jessica Blanco) r=mkaply sr=dbaron
2006-02-07 01:14:47 +00:00
jst%mozilla.jstenback.com
c7c393dbf0
Fixing bug 223111. Making the page-setup settings shrink-to-fit and scaling persist across Mozilla instances. Patch by jblanco@us.ibm.com, and modiefied by me. r=ben, sr=bienvenu, a=asa.
2006-02-07 01:14:46 +00:00
dbaron%dbaron.org
2d4c05c361
Simplify code to avoid optimization bug. b=233497 r=ajschult sr=roc a=blizzard
2006-02-07 01:14:45 +00:00
kjh-5727%comcast.net
879986142e
Bug 175879. Display ISO paper sizes in mm & remove extraneous 1/4-inch
...
margin from printouts. r=tor, sr=roc
2006-02-07 01:14:44 +00:00
smontagu%smontagu.org
fb13ae4b48
Allow disabling of Postscript printer (xlib patch). Bug 225686, patch by Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=jst.
2006-02-07 01:14:43 +00:00
bzbarsky%mit.edu
9156ce8fcb
Have a way to disable the Postscript/* printers via pref even in builds with
...
the PS module built in. Bug 225686, patch by dvschweiger@web.de (David
Schweiger), r=biesi, sr=bzbarsky
2006-02-07 01:14:42 +00:00
dbaron%dbaron.org
60764c711d
Read and write as UTF-8 so non-ascii characters in prefs are read correctly. b=199898 r=jshin sr=bzbarsky a=chofmann
2006-02-07 01:14:41 +00:00
chanial%noos.fr
42bb30db5d
Bug 194678: Move pageSetup into the toolkit. r=bsmedberg, sr=bryner and a big thanks to Dave Miller for moving the files!
2006-02-07 01:14:40 +00:00
timeless%mozdev.org
6efa005c6c
Bug 213461 Want a way to specify single-sided or double-sided printing
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner
2006-02-07 01:14:39 +00:00
jaggernaut%netscape.com
d31cb34ccc
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2006-02-07 01:14:38 +00:00
dwitte%stanford.edu
a4aced684e
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.
2006-02-07 01:14:37 +00:00
bsmedberg%covad.net
276c243a80
Bug 198515 - patch by Roland.Mainz r=peterl/leon.sha sr=bz
2006-02-07 01:14:36 +00:00
kaie%netscape.com
62b575cfe3
b=203937 an extra "print." is added to printing preference name
...
r=kaie sr=jag a=sspitzer
patch from and checking in for Roland.Mainz
2006-02-07 01:14:35 +00:00
cbiesinger%web.de
49780ae176
191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two
2006-02-07 01:14:34 +00:00
darin%meer.net
a67c55a33a
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
2006-02-07 01:14:33 +00:00
neil%parkwaycc.co.uk
1a8b8706f8
Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron
2006-02-07 01:14:32 +00:00
cls%seawood.org
8c7efb371f
Case matters.
...
Fixing mingw cross-compiling bustage.
2006-02-07 01:14:31 +00:00
bzbarsky%mit.edu
532b3c50f3
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
2006-02-07 01:14:30 +00:00
bzbarsky%mit.edu
e0bb9a0131
Re-enable print preview gui stuff (which was mostly off) on GTK and Xlib
...
ports. Bug 187125, patch by Roland.Mainz@informatik.med.uni-giessen.de (Roland
Mainz), r=smontagu, sr=rbs
2006-02-07 01:14:29 +00:00
jkeiser%netscape.com
6351965021
Replace sscanf with PR_sscanf (bug 197760), patch by Roland.Mainz@informatik.med.uni-giessen.de, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
2006-02-07 01:14:28 +00:00
dbaron%dbaron.org
e0d4d51a20
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2006-02-07 01:14:27 +00:00
bzbarsky%mit.edu
579825cc89
Fix warning. Bug 217089, patch by mbockelkamp@web.de (Matthias Bockelkamp),
...
r=timeless, sr=kin.
2006-02-07 01:14:26 +00:00
smontagu%netscape.com
4d0b84c3d9
Bug 185588: Changed printing preferences are saved corrupted in prefs.js. Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=roc+moz
2006-02-07 01:14:25 +00:00
caillon%returnzero.com
2ecf2fb066
182702: Convert printing code to use nsIPrefBranch and nsIPrefService
...
r=rods sr=roc+moz
2006-02-07 01:14:24 +00:00
rods%netscape.com
f950abb9dc
1) Adds two bools to the PrintSettings and then when the PS gets
...
initialized from Prefs or from the Printer they get set. They get unset when
the printer name changes.
This is all necessary because the Page Setup Dialog calls
initPrintSettingsFromPrinter each time it is shown. So if you have set values
they will get "written" over the next time the dialog is shown.
2) Removes a lot of platform specific initialization from nsPrintOptionsImpl
and it now uses just the the "generic" XP routines and is now consistent with
the other platforms for initializing the PS.
Bug 167894 r=dcone sr=kin a=roc
2006-02-07 01:14:23 +00:00
rods%netscape.com
264f778382
This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
...
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin
2006-02-07 01:14:22 +00:00
rods%netscape.com
1dbc0efb80
Change STF to use an unconstrainad reflow instead of searching for the widest frame
...
Bug 168961 r=dcone sr=kin
2006-02-07 01:14:21 +00:00
pete.zha%sun.com
66bf70a0bc
Print settings on Linux are saved at shutdown but not read at next start
...
bug=166217 r=rods@netscape.com sr=bryner@netscape.com a=asa Roland.Mainz@informatik.med.uni-giessen.de
2006-02-07 01:14:20 +00:00
rods%netscape.com
40e7f27e68
This does two things:
...
1) When the it returns from the Print Dialog it checks to see if the
PD_PRINTTOFILE flags is set then then set the the info into the PrintSettings
2) IF we are printing to a file, but not a file driver, then check to see if
the file name is the special "FILE:" (as per the MS documentation)
Bug 170332 r=dcone sr=alecf
2006-02-07 01:14:19 +00:00
rods%netscape.com
9065fd6beb
we were not setting the values we modified in the DevMode back into the printer driver
...
Bug 169739 r=dcone sr=alecf
2006-02-07 01:14:18 +00:00
dougt%netscape.com
b6dd270036
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2006-02-07 01:14:17 +00:00
rods%netscape.com
447160e78a
Bug 166097 set the appropriate flags so they are read from prefs
...
sr=kin r=dcone
2006-02-07 01:14:16 +00:00
alecf%netscape.com
b8e66a8e07
fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
...
r=dmose, sr=jag, a=asa
2006-02-07 01:14:15 +00:00
seawood%netscape.com
8230991b64
Rename conflicting global symbols to fix debug static build runtime bustage.
...
Bug #162918 r=serge sr=alecf
2006-02-07 01:14:14 +00:00
rods%netscape.com
cf812b38b8
changed all the DEVMODE allocating and freeing to native Windows calls HeapAlloc and HeapFree
...
nsPrintSettingsWin.cpp was creating and copying only the non-platform specific data by using the
"sizeof" of the DEVMODE struct, instead of checking the struct size with dmSize
and the size of the private (device-specific) data with dmDriverExtra. Now it
creates the correct size of memory and copies all the non-private data and private data.
Bug 156318 r=dcone sr=kin,waterson,rpotts a=asa
2006-02-07 01:14:13 +00:00
ccarlen%netscape.com
408f895dac
Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
2006-02-07 01:14:12 +00:00
rods%netscape.com
da6e475247
Needs to be virtual (from sr's comments)
...
Implement the assign method with an "=" operator
Bug 151628 r=ccarlen sr=jst
2006-02-07 01:14:11 +00:00
dougt%netscape.com
28afac71ac
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
2006-02-07 01:14:10 +00:00
alecf%netscape.com
f364613a4e
bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
...
r=dougt, sr=darin
2006-02-07 01:14:09 +00:00
antonio.xu%sun.com
284be28431
replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
...
Bug 158608 r=Henry sr=alecf
2006-02-07 01:14:08 +00:00
henry.jia%sun.com
ed45ba69f8
4th patch for bug 158080
...
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2006-02-07 01:14:07 +00:00
alecf%netscape.com
379e61877b
bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
...
nsISupportsString -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2006-02-07 01:14:06 +00:00
rods%netscape.com
c6ae7f57a2
Implement the assign method with an "=" operator
...
Bug 151628 r=ccarlen sr=jst
BUg CVS: ----------------------------------------------------------------------
2006-02-07 01:14:05 +00:00
rods%netscape.com
ea7a321c99
fixing debug ifdef for myself
2006-02-07 01:14:04 +00:00
rods%netscape.com
fffcc540bf
Add PR_LOGGING for printing
...
Bug 121622 r=dcone sr=kin
2006-02-07 01:14:03 +00:00
rods%netscape.com
a447d1c649
printing properties must be moved to global jar
...
Bug 138026 r=dcone sr=attinasi
2006-02-07 01:14:02 +00:00
dougt%netscape.com
087efba461
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2006-02-07 01:14:01 +00:00
rods%netscape.com
7082cfb188
The problem here is the "edge" prefs are now preficed with the printer name,
...
and the nsPrintOptions know how to convert the printer name, so we need to add
a helper method to nsIPrintOptions.idl so the nsSimplePageSeq can get the properly named value.
Bug 140669 r=dcone sr=attinasi
2006-02-07 01:14:00 +00:00
rods%netscape.com
ae8ed0671e
Fixed the multi-byte strcmp
...
I also removed the failure check after the calls to EnumerateNativePrinters
because even if one fails, it doesn't mean the others will. So it should keep trying.
The rest of the code is extra error checking that is all ifdef'ed out
I renamed one of two methods that had the same name (to reduce confusion) and got rid of it's uneeded return code.
Bug 143241 r=dcone sr=attinasi
2006-02-07 01:13:59 +00:00
rods%netscape.com
dcccb7830a
Changing CID to ContractID and const char* to const char xxx[]
...
As part of Bug 144128
2006-02-07 01:13:58 +00:00
rods%netscape.com
da2e533442
Static build bustage fix
2006-02-07 01:13:57 +00:00
rods%netscape.com
43f98f6c9b
This patch does the following:
...
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
2006-02-07 01:13:56 +00:00
darin%netscape.com
4956293eb2
fixes potential win bustage
2006-02-07 01:13:55 +00:00
rods%netscape.com
d1cc899294
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
missed these files/changes
Bug 115136 r=dcone sr=attinasi
2006-02-07 01:13:54 +00:00
rods%netscape.com
afe7e3196f
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
Bug 115136 r=dcone sr=attinasi
2006-02-07 01:13:53 +00:00
rods%netscape.com
2c6201163d
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2006-02-07 01:13:52 +00:00
rods%netscape.com
79b5af9ff7
backing out unwanted changes
2006-02-07 01:13:51 +00:00
rods%netscape.com
9d30f70a6a
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2006-02-07 01:13:50 +00:00
racham%netscape.com
0e7a7349e0
Fixing bug 140183. Adding an attribute to the PrintSettings which allows silent printing i.e., without a progress window. Patch by Rod Spears. r=samir,bhuvan sr=sspitzer
2006-02-07 01:13:49 +00:00
rods%netscape.com
3264b8c2f5
printing properties must be moved to global jar
...
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman
2006-02-07 01:13:48 +00:00
rods%netscape.com
691d9fc777
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
2006-02-07 01:13:47 +00:00
cbiesinger%web.de
1a380c5823
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
2006-02-07 01:13:46 +00:00
jdunn%netscape.com
40d6e738b0
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
2006-02-07 01:13:45 +00:00
timeless%mac.com
05e3bd74bb
Bug 125078 Implement InitPrintSettingsFromPrinter for GTK+/Xlib
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi
2006-02-07 01:13:44 +00:00
timeless%mac.com
829046030d
Bug 80625 Please implement --disable-postscript
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi
2006-02-07 01:13:43 +00:00
dcone%netscape.com
a6614aea95
b=90751 r=peterl sr=attinasi a=asa Adding printer extensions to OSX
2006-02-07 01:13:42 +00:00
dcone%netscape.com
062144d293
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
2006-02-07 01:13:41 +00:00
rods%netscape.com
7d144675e9
Make the default for ShrinkToFit be PR_TRUE
...
Bug 128008 r=kmcclusk sr=kin a=asa
2006-02-07 01:13:40 +00:00
rods%netscape.com
358796bd16
Minor fix for patch should have been * instead of !*
...
Bug 131852 r=dcone sr=attinasi a=scc
2006-02-07 01:13:39 +00:00
rods%netscape.com
1faf03a559
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
2006-02-07 01:13:38 +00:00
rods%netscape.com
cfa7c28255
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
2006-02-07 01:13:37 +00:00
rods%netscape.com
702f55bf7e
Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
2006-02-07 01:13:36 +00:00
rods%netscape.com
237d6ca34c
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.
2006-02-07 01:13:35 +00:00
rods%netscape.com
72a0a83f30
fix bustage
2006-02-07 01:13:34 +00:00
alecf%netscape.com
7299dbc2f7
one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
...
r=timeless sr=jag
2006-02-07 01:13:33 +00:00
rods%netscape.com
141af8f1bc
1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
...
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
It now has a single GetDevMode method that must be paired with a UnlockDevMode method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi
2006-02-07 01:13:32 +00:00
rods%netscape.com
209100bebe
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
2006-02-07 01:13:31 +00:00
dbragg%netscape.com
d2fa50eaee
Moving platform-specific files to platform-specific jar files. Fixes bug 94242. r=tao, sr=alecf
2006-02-07 01:13:30 +00:00
rods%netscape.com
e408561fc1
This fixes remembering the last printer that was used and it also
...
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone
2006-02-07 01:13:29 +00:00
timeless%mac.com
f33bc9e00d
Bug 120916 PostScript/Xprint module revamp
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless rs=attinasi
2006-02-07 01:13:28 +00:00
timeless%mac.com
3323cd7888
Bug 120916�PostScript/Xprint module revamp
...
by Roland.Mainz@informatik.med.uni-giessen.de
r=rods, r=dcone, rs=attinasi
2006-02-07 01:13:27 +00:00
rods%netscape.com
e66638b248
Makes sure the prefs aren't set if the pref values don't exist
...
Bug 124139 r=rods sr=attinasi
2006-02-07 01:13:26 +00:00
dcone%netscape.com
0f7f264d52
b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work
2006-02-07 01:13:25 +00:00
rods%netscape.com
26f040bd0d
Fix minor issue with scanf
...
Bug 123335 sr=hyatt r=dcone
2006-02-07 01:13:24 +00:00
rods%netscape.com
e063e69185
Added GlobalPrintSettings
...
Bug 120622 r=dcone sr=waterson
2006-02-07 01:13:23 +00:00
rods%netscape.com
9f04c6a802
This was suppose to go in as part of
...
Bug 122530 r=dcone sr=hyatt
2006-02-07 01:13:22 +00:00
rods%netscape.com
0408b8294c
This does the following:
...
1) Removes the EnumeratePrinterExtended from nsIPrintOptions and all impls of it
2) Sets the Windows platform to once again use the native print dialog
3) The nsDeviceContextSpecWin will detect at runtime whether to use the standard PRINTDLG or the new PRINTDLGEX (supported by XP and WIN2k), this new code is only compiled in when the ifdef MOZ_REQUIRE_CURRENT_SDK is defined.
4) It adds an extra Property Sheet to the new dialog for Frameset Printing options
5) Now creates a DEVMODE before the diaog is created, this is used for setting different options in the print dialog before it comes up.
122530 r=dcone sr=hyatt
2006-02-07 01:13:21 +00:00
rods%netscape.com
704e213dc4
1) In DocumentViewer: I did rearrange some of the data members for PrintData
...
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi
2006-02-07 01:13:20 +00:00
rods%netscape.com
fc51f613da
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
2006-02-07 01:13:19 +00:00
dbaron%fas.harvard.edu
1bd297de9f
Clean up QueryInterface implementation. Patch by Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>. r=dbaron sr=sfraser b=111088
2006-02-07 01:13:18 +00:00
rods%netscape.com
bbe8e6873d
Removed "free memory read" and change strcpy to strdup
...
and did some general cleanup and changed how the default printer name was being obtained.
118086 r=dcone sr=waterson
2006-02-07 01:13:17 +00:00
rods%netscape.com
a5329f5c16
The page setup info was not being set into the dev mode when printing ssilently.
...
Bug 119959 r=dcone sr=hyatt
2006-02-07 01:13:16 +00:00
rods%netscape.com
29f9fb76fa
New print dialog doesn't show the right default printer in windows if the printer is a networkprinter
...
Bug 118409 r=dcone sr=self
2006-02-07 01:13:15 +00:00
rods%netscape.com
8d573675e8
Wasn't setting the default correctly.
...
Bug 118409 r=dcone sr=attinasi
2006-02-07 01:13:14 +00:00