Commit Graph

720 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
8d81bda849 Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192789 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:00:28 +00:00
ginn.chen%sun.com
87db4659ef Bug 319532 [gnome]There is no feedback when use keyboard to navigate
disabled menuitem in Mozilla menu
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@192516 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 03:55:10 +00:00
kjh-5727%comcast.net
5717b87190 Back out patch from bug 324072 to fix bug bug 326363 and avoid unnecessary API changes.
git-svn-id: svn://10.0.0.236/trunk@191779 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 16:37:13 +00:00
pavlov%pavlov.net
9335a760d0 moving printing from gfx to widget part 1. bug 326149. r=vlad
git-svn-id: svn://10.0.0.236/trunk@189573 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 20:40:54 +00:00
timeless%mozdev.org
8cb5e26208 Bug 303432 - nsPrintSettings::GetPrinterName lacks an OOM check
patch by b.jacques@planet.nl r=dmose sr=dmose


git-svn-id: svn://10.0.0.236/trunk@189268 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:23 +00:00
kjh-5727%comcast.net
ee7cad3229 Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@189267 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:22 +00:00
cbiesinger%web.de
488fa0a223 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@189266 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:21 +00:00
bsmedberg%covad.net
db293b4bd7 Bug 320988 relanding activex bits with a fix for the agressive optimization of inlines, r=darin
git-svn-id: svn://10.0.0.236/trunk@189264 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:19 +00:00
timeless%mozdev.org
6efc515878 Bug 304646 nsPrintOptions::InitPrintSettingsFromPrefs shouldn't do NS_WARNING when prtName.IsEmpty()
patch by b.jacques@planet.nl r=timeless sr=dmose


git-svn-id: svn://10.0.0.236/trunk@189263 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:18 +00:00
timeless%mozdev.org
1019244322 Bug 306259 Nits in nsPrintOptionsImpl
patch by b.jacques@planet.nl r=timeless sr=dmose


git-svn-id: svn://10.0.0.236/trunk@189262 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:17 +00:00
timeless%mozdev.org
07579e65b0 Bug 303091 JS Exception when changing print scale
patch by b.jacques@planet.nl r=timeless sr=shaver a=cbeard


git-svn-id: svn://10.0.0.236/trunk@189261 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:16 +00:00
roc+%cs.cmu.edu
f469daa636 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@189260 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:15 +00:00
timeless%mozdev.org
00a316cac2 Bug 297277 potential OOM crash/mlk [@ nsPrintOptions::_CreatePrintSettings]
patch by b.jacques@planet.nl r=timeless sr=dmose a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@189259 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:14 +00:00
timeless%mozdev.org
c68950e013 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


git-svn-id: svn://10.0.0.236/trunk@189258 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:13 +00:00
masayuki%d-toybox.com
3faacdc2ca Bug 197271 Japanese printer name is displayed as garbage in about:config r+sr=bzbarsky, a=shaver
git-svn-id: svn://10.0.0.236/trunk@189257 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:12 +00:00
ginn.chen%sun.com
65d0672585 Bug 270079 Mozilla can not print the URL in the header and footer.
patch maker:leon.sha@sun.com r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@189256 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:11 +00:00
darin%meer.net
08ea327522 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@189255 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:10 +00:00
bzbarsky%mit.edu
623b46deaf "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@189254 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:09 +00:00
caillon%redhat.com
f8970414b8 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@189249 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:04 +00:00
cbiesinger%web.de
c4a76cc2e2 replace EqualsWithConversion by EqualsLiteral where possible
bug 248687 r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@189248 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:03 +00:00
roc+%cs.cmu.edu
a20fd80788 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@189247 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:15:02 +00:00
gerv%gerv.net
708a45030a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@189235 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:50 +00:00
bryner%brianryner.com
2e6e6ebfb2 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes.
git-svn-id: svn://10.0.0.236/trunk@189234 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:49 +00:00
bryner%brianryner.com
f815856394 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.
git-svn-id: svn://10.0.0.236/trunk@189233 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:48 +00:00
cbiesinger%web.de
7ff614eb37 Bug 223243
margins pref no longer works
patch by jblanco@us.ibm.com (Jessica Blanco) r=mkaply sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@189232 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:47 +00:00
jst%mozilla.jstenback.com
a6a9a5ef6e 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.
git-svn-id: svn://10.0.0.236/trunk@189231 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:46 +00:00
dbaron%dbaron.org
29534eea70 Read and write as UTF-8 so non-ascii characters in prefs are read correctly. b=199898 r=jshin sr=bzbarsky a=chofmann
git-svn-id: svn://10.0.0.236/trunk@189226 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:41 +00:00
chanial%noos.fr
1f1d0864a1 Bug 194678: Move pageSetup into the toolkit. r=bsmedberg, sr=bryner and a big thanks to Dave Miller for moving the files!
git-svn-id: svn://10.0.0.236/trunk@189225 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:40 +00:00
timeless%mozdev.org
d8eb1bb7ad 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


git-svn-id: svn://10.0.0.236/trunk@189224 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:39 +00:00
jaggernaut%netscape.com
1a2defc828 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@189223 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:38 +00:00
dwitte%stanford.edu
72e87fded7 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

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

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


git-svn-id: svn://10.0.0.236/trunk@189222 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:37 +00:00
kaie%netscape.com
d0fdf8c5ed 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


git-svn-id: svn://10.0.0.236/trunk@189220 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:35 +00:00
cbiesinger%web.de
e3ea8f44bd 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
git-svn-id: svn://10.0.0.236/trunk@189219 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:34 +00:00
jkeiser%netscape.com
4450736a86 Replace sscanf with PR_sscanf (bug 197760), patch by Roland.Mainz@informatik.med.uni-giessen.de, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@189213 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:28 +00:00
dbaron%dbaron.org
d69a5bfc26 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@189212 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:27 +00:00
smontagu%netscape.com
7a7e3bd478 Bug 185588: Changed printing preferences are saved corrupted in prefs.js. Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@189210 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:25 +00:00
caillon%returnzero.com
3013543718 182702: Convert printing code to use nsIPrefBranch and nsIPrefService
r=rods sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@189209 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:24 +00:00
rods%netscape.com
5b5b8d3f0a 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


git-svn-id: svn://10.0.0.236/trunk@189208 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:23 +00:00
rods%netscape.com
551ced67ed 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


git-svn-id: svn://10.0.0.236/trunk@189207 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:22 +00:00
rods%netscape.com
4406c88631 Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@189206 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:21 +00:00
pete.zha%sun.com
0fa2a245f8 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


git-svn-id: svn://10.0.0.236/trunk@189205 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:20 +00:00
dougt%netscape.com
d211d7e09d 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@189202 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:17 +00:00
alecf%netscape.com
786b08963f 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


git-svn-id: svn://10.0.0.236/trunk@189200 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:15 +00:00
ccarlen%netscape.com
5d4ec7bf86 Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@189197 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:12 +00:00
rods%netscape.com
7e0229254e Needs to be virtual (from sr's comments)
Implement the assign method with an "=" operator
Bug 151628 r=ccarlen sr=jst


git-svn-id: svn://10.0.0.236/trunk@189196 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:11 +00:00
dougt%netscape.com
ff00e039ba Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@189195 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:10 +00:00
alecf%netscape.com
aa5508ec72 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@189194 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:09 +00:00
antonio.xu%sun.com
bcd8fceba6 replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
Bug 158608 r=Henry sr=alecf


git-svn-id: svn://10.0.0.236/trunk@189193 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:08 +00:00
henry.jia%sun.com
7de86c3680 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


git-svn-id: svn://10.0.0.236/trunk@189192 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:07 +00:00
alecf%netscape.com
9432ba6005 bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@189191 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 01:14:06 +00:00