Граф коммитов

7371 Коммитов

Автор SHA1 Сообщение Дата
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