Commit Graph

7436 Commits

Author SHA1 Message Date
rods%netscape.com
293bb5ede8 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
9bf0d7eab9 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2006-02-10 22:49:37 +00:00
dcone%netscape.com
c96b86047a 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
0cc42a3bf4 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
2ff5538241 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
ef31f70cbd 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
bf124b7915 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
cf5c4bd46f 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
aa79f2df2f b=90751 r=peterl sr=attinasi a=asa adding Mac OSX printer extensions. 2006-02-10 22:49:30 +00:00
dcone%netscape.com
6f95ae3fbb 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
44eef2aeed 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2006-02-10 22:49:28 +00:00
dcone%netscape.com
08e5e40527 119574 r=rods sr=attinasi a=asa. return correct errors from cancel. 2006-02-10 22:49:27 +00:00
alecf%netscape.com
5d992573ba 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
ddee4cff5a 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
370d6cc937 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
16cf7928c8 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
7566ecdbdc b=118889 r=rods sr=sfraser Fixed app. so printSettings dialogs will work 2006-02-10 22:49:22 +00:00
rods%netscape.com
2e7ccabc8a 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
40832cd250 to fix breakage 2006-02-10 22:49:20 +00:00
sfraser%netscape.com
a29944d382 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
07922d5cff 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
c19e800391 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
901889f200 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
173fd2cf67 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
697895ba74 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
f41e9115b6 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2006-02-10 22:49:13 +00:00
jaggernaut%netscape.com
67c777fbdc 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
38a8b06f21 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
074ac3b52d 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
75381ccd6e 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
1642cb6d05 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
aad503fa13 fix bug 95554. r=bstell, sr=sfraser. implement the nsFontEnumeratorMac::HaveFontFor 2006-02-10 22:49:07 +00:00
dbaron%fas.harvard.edu
2c0e9f6746 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
9e09e39fe8 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
7b6a0c1898 License changes, take 2. Bug 98089. mozilla/gfx/. 2006-02-10 22:49:04 +00:00
dbaron%fas.harvard.edu
0d19728887 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
b2109ee2a0 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
38f7cdfc7d fixing bug 78690. removing old imagelib. r=jst sr=waterson 2006-02-10 22:49:01 +00:00
jaggernaut%netscape.com
f43ef5e824 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2006-02-10 22:49:00 +00:00
pinkerton%netscape.com
fca46c0bb6 fix non-carbon build bustage 2006-02-10 22:48:59 +00:00
pinkerton%netscape.com
0a4c88ce4d 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
739e987c07 be more explicit about includes for gcc. r=saari/sr=hyatt bug# 75653 2006-02-10 22:48:57 +00:00
jaggernaut%netscape.com
4a23b087ab 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
35a0db3d27 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
afc5a37224 b=75893. r=mcclusk sr=attinasi a=chofmann 2006-02-10 22:48:54 +00:00
pinkerton%netscape.com
22f98e79f2 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
3268d00ed1 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
2c236135ed Changed BeginDocument API call.. added parameter. r=rods sr=attinasi 2006-02-10 22:48:51 +00:00
dcone%netscape.com
09727fa814 Added a refcount to the nsDeviceContext. sr=attinasi r=kmcclusk 2006-02-10 22:48:50 +00:00
pinkerton%netscape.com
42ef8e3c60 carbon changes. r=pink/sdagley/beard. a=sfraser. 2006-02-10 22:48:49 +00:00
dcone%netscape.com
61a0fbb7d9 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
99488696eb [not part of build] generalized printing support. 2006-02-10 22:48:47 +00:00
pinkerton%netscape.com
9fb53ad607 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
e1fc5bcb38 [not part of build] Carbon printing support. 2006-02-10 22:48:45 +00:00
ftang%netscape.com
f7778bb84a add HaveFontFor method for nsIFontEnumerator sr=erik 2006-02-10 22:48:44 +00:00
pinkerton%netscape.com
75ffe05e63 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
0a6ff9c033 changes for Carbon r=pchen/a=sfraser. bug# 42100 2006-02-10 22:48:42 +00:00
pierre%netscape.com
edfbf87df3 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
3c8fbb6a45 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
e7158801d4 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
6dd592c505 fixing code that relied on implicit string construction 2006-02-10 22:48:38 +00:00
warren%netscape.com
226c85cac8 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
31c03e7243 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
d5f099c6cc bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2006-02-10 22:48:35 +00:00
warren%netscape.com
81f29a1f07 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2006-02-10 22:48:34 +00:00
mcafee%netscape.com
d69d902084 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
4a59569aed 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
65a937a375 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
47113f6086 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
5596e5e774 Fix a crash with Test10: a missing SetPort() in FindScreenForSurface(). 2006-02-10 22:48:29 +00:00
scc%netscape.com
f5462e874c making string conversions explicit 2006-02-10 22:48:28 +00:00
pierre%netscape.com
5d843216ea #3371. Added support for the Appearance Manager in the css2/css3 system fonts. 2006-02-10 22:48:27 +00:00
pierre%netscape.com
59037d558b #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
7539625b27 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
aaa2c30d7c fixed a multiple definition of nsISupports. r=beard 2006-02-10 22:48:24 +00:00
pavlov%netscape.com
1d151f86d2 changes to let us build on MacOS X 2006-02-10 22:48:23 +00:00
sfraser%netscape.com
7bfa2d574a Changed to use NS_DECL_ISUPPORTS_INHERITED. r=beard 2006-02-10 22:48:22 +00:00
sspitzer%netscape.com
7ed4345e5f use NS_WITH_SERVICE to make the code cleaner. 2006-02-10 22:47:30 +00:00
dcone%netscape.com
73ca4f8ce5 Added the canonical pixels scale calculation. r = rods. b = 24405 2006-02-10 22:47:29 +00:00
pinkerton%netscape.com
8b3073307f 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
5383a61733 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
d78b3b1af5 fix build bustage. r=stuart 2006-02-10 22:05:29 +00:00
dougt%meer.net
6d068a01b6 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
dec2d1132a 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
72a14faf99 fixing build bustage 2006-02-10 21:10:55 +00:00
pavlov%pavlov.net
7211d869d3 moving printing from gfx to widget part 2. bug 326149. r=vlad 2006-02-10 20:44:48 +00:00
pavlov%pavlov.net
6a80da6c47 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
5f37e27cd2 [Bug 326687] [BeOS] Misplaced ) in MakeFocus() method, p=sergei_d, r=biesi 2006-02-10 18:54:37 +00:00
vladimir%pobox.com
567bc2281b 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
e1ed79a390 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
00eb53b26a 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
1ab0fd7205 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
fa8f6f3926 Clean up window creation in Cocoa widgets. b=325336 r=mento 2006-02-08 06:09:44 +00:00
joshmoz%gmail.com
b96ada8fdf Fix warnings, remove unnecessary includes, fix indentation. Cocoa widgets only, no bug. 2006-02-07 21:00:46 +00:00
joshmoz%gmail.com
ccb6ae9da8 Always save window parent, use PRPackedBool. b=325336 r=mento sr=pinkerton 2006-02-07 19:15:42 +00:00
ginn.chen%sun.com
4af64c9b73 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
8357c0845a Bug 193372 add missing include r=blizzard sr=bz 2006-02-07 01:15:24 +00:00
timeless%mozdev.org
cc66211822 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
d51e75e35f 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
b244b46bfc 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
f9f3334a8f 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
7d56f1391b 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
4440dc6e69 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
a4d6015ca1 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
998c1f3b6e 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
9c247bd7cb Fixing build bustage 2006-02-07 01:15:15 +00:00
timeless%mozdev.org
8ec4c47576 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
a5e5a57c04 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
9e6ed109b1 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
787b835dd4 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
a9c3258c6c eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2006-02-07 01:15:10 +00:00
bzbarsky%mit.edu
05475f0105 "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
b8f65ebb36 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
37a2d640af 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
9420c7b7be #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
1908d7770a 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
b35c78bb93 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
0be1cebd69 replace EqualsWithConversion by EqualsLiteral where possible
bug 248687 r+sr=roc
2006-02-07 01:15:03 +00:00
roc+%cs.cmu.edu
385c01f60a Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2006-02-07 01:15:02 +00:00
masayuki%d-toybox.com
78706501b9 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
486cb79e17 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
588fc552c8 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
ca8f555b33 bug 281948. WinCE changes to GFX and Widget. r=ere, sr=darin 2006-02-07 01:14:58 +00:00
jshin%mailaps.org
e422b4539f 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
491e68f470 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
66c4095185 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
a3393d8b9b 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
67c419f59c Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2006-02-07 01:14:53 +00:00
jst%mozilla.jstenback.com
df1bdd9b4d Fixing build bustage. 2006-02-07 01:14:52 +00:00
jst%mozilla.jstenback.com
1a998804fc 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
74aa59de53 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-02-07 01:14:50 +00:00
bryner%brianryner.com
0cf69abf16 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
b1dc5451e9 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
e53b8457ae 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
f0b208edf2 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
a1e64427b9 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
d238a3e16a 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
4fd253c039 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
662cc28a30 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
85299ba6f3 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
706d58204e 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
af1c561c50 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
05f4bd4bef 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
48e0b48cb3 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
60b9ae2e7c Bug 198515 - patch by Roland.Mainz r=peterl/leon.sha sr=bz 2006-02-07 01:14:36 +00:00
kaie%netscape.com
c158b112ef 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
069bebd4b0 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
50d4a6c520 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
fe46872259 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
ec182a1066 Case matters.
Fixing mingw cross-compiling bustage.
2006-02-07 01:14:31 +00:00
bzbarsky%mit.edu
aad43124eb 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
ce8b332e55 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
129dc6f644 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
ebbf046bb5 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
773480c0b4 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
2f9c6f801d 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
e9ebf486b2 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
20cf6f658e 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
860418f135 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
1e77cd39e1 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
f33c25c604 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
7af88833ff 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
1556293328 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
f69645581e 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
4c3716aec3 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
cd45f9cb2f 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
149d36a4ac 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
66fd269cf2 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
781a7e0d63 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
18b367b406 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
66022f3f87 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
e180a96ce2 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
16782d1391 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
de1acfba2f 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
9bea1c074c 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
e5d68d6df9 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
89d1ef9ac9 fixing debug ifdef for myself 2006-02-07 01:14:04 +00:00
rods%netscape.com
471e693683 Add PR_LOGGING for printing
Bug 121622 r=dcone sr=kin
2006-02-07 01:14:03 +00:00
rods%netscape.com
716d261b10 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
d0e2552881 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
d689758e0c 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
7921394599 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
31ecbdac5a 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
6b33fc1194 Static build bustage fix 2006-02-07 01:13:57 +00:00
rods%netscape.com
49b89fa2d6 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
7e7f29031b fixes potential win bustage 2006-02-07 01:13:55 +00:00
rods%netscape.com
da22444c40 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
e850780853 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
a347a8e030 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
473f2bde0d backing out unwanted changes 2006-02-07 01:13:51 +00:00
rods%netscape.com
6322913ff7 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
c89d4b728f 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
7099749e70 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
edce17736a 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
4f7d5b0f18 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
f4f7d04da5 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
730236c715 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
314f07116a 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
90ebc2425a b=90751 r=peterl sr=attinasi a=asa Adding printer extensions to OSX 2006-02-07 01:13:42 +00:00
dcone%netscape.com
38e9014d03 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2006-02-07 01:13:41 +00:00