Commit Graph

870 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
917b5e275a Bug 29856. Support SetWindowClass in GTK2, checking in additional files 2006-04-09 23:14:25 +00:00
bzbarsky%mit.edu
ed97753ea2 Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc 2006-03-22 18:00:28 +00:00
ginn.chen%sun.com
7b6775a4c7 Bug 319532 [gnome]There is no feedback when use keyboard to navigate
disabled menuitem in Mozilla menu
r+sr=roc
2006-03-17 03:55:10 +00:00
joshmoz%gmail.com
b77c27f1df more cleanup for bug 329337. bump iid, fix memory leak, check event creation return. b=329337 r=biesi 2006-03-15 16:52:31 +00:00
joshmoz%gmail.com
53f734d57b Send DOMMenuItemActive when mouse enters menu item rects. This fixes Places on Mac OS X. Cocoa impl coming up. b=329337 r=mento sr=ben 2006-03-14 23:58:57 +00:00
Olli.Pettay%helsinki.fi
37054f078a Bug 329512, Remove NS_XUL_CLICK r+sr=bz 2006-03-13 20:57:36 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
kjh-5727%comcast.net
25b3c8b15a Back out patch from bug 324072 to fix bug bug 326363 and avoid unnecessary API changes. 2006-03-04 16:37:13 +00:00
leon.sha%sun.com
9f08dafcae Bug 328824 Something duplicate in the MACRO "NS_IS_MOUSE_EVENT".
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-03-02 08:41:08 +00:00
vladimir%pobox.com
707e0dc2f7 b=326738, move thebes doublebuffering/transparent window handling into widget, sr=roc 2006-02-15 23:35:53 +00:00
Olli.Pettay%helsinki.fi
97841b1891 Bug 326904, Remove NS_APP_EVENT_FLAG_HANDLED, r+sr=jst 2006-02-14 17:24:00 +00:00
pavlov%pavlov.net
a80b85f74a moving printing from gfx to widget part 3. bug 326149. r=vlad 2006-02-10 23:00:23 +00:00
bsmedberg%covad.net
d24e882781 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
smfr%smfr.org
8feac4bb55 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
gerv%gerv.net
f75c71e4cf Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-02-10 22:50:04 +00:00
rods%netscape.com
9b1b135ef4 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
rods%netscape.com
2621ae7095 backing out unwanted changes 2006-02-10 22:49:42 +00:00
rods%netscape.com
cd8e03cc5e 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
rods%netscape.com
cacb21c7e2 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
gerv%gerv.net
7b6a0c1898 License changes, take 2. Bug 98089. mozilla/gfx/. 2006-02-10 22:49:04 +00:00
beard%netscape.com
99488696eb [not part of build] generalized printing support. 2006-02-10 22:48:47 +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
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
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
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
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
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
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
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
gerv%gerv.net
74aa59de53 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-02-07 01:14:50 +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
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
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
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
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
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
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
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
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
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
dcone%netscape.com
38e9014d03 118890 r=rods sr=attinasi a=asa. Fixed printing in print preview 2006-02-07 01:13:41 +00:00
rods%netscape.com
09a54b8bce 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
8a151e04be 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