Commit Graph

3652 Commits

Author SHA1 Message Date
rods%netscape.com
4192ff3428 1) Added a new method to nsIWebBrowserPrint iface that enables you to get the current PS being used to print or PP
2) Change the PP toolbar code to use the current PS instead of the global
Bug 127969 r=dcone sr=attinasi a=asa
2002-03-07 12:57:33 +00:00
rods%netscape.com
56c2710b00 When object tags are sub-documents they should be treated as IFrames for printing
Bug 128142
sr=attinasi r=dcone a=asa
2002-03-07 12:44:57 +00:00
roc+%cs.cmu.edu
f1ceb9bb57 Bug 35274. Make event handling in layout respect clipping. r=dbaron,sr=attinasi,a=asa 2002-03-07 07:03:03 +00:00
bryner%netscape.com
d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
ff83e74591 Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
faster.  Bug 129079, r=rjesup@wgate.com, sr=jst, a=asa
2002-03-05 23:17:32 +00:00
smontagu%netscape.com
5fa939f925 Fix for bug 121654, "Browser hangs when viewing a Ja message w/o MIME header with folder charset set to Arabic (IBM-864)". r=mkaply, sr=kin, a=asa 2002-03-05 00:41:35 +00:00
karnaze%netscape.com
cee69f0564 bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov 2002-03-04 15:48:56 +00:00
rods%netscape.com
7719fefba4 1) This adds in a new layout atom for the SequenceFrame
2) Now checks all the SeqFrame's children (PageFrames) instead of just the first one
Bug 71609 r=dcone sr=attinasi a=asa
2002-03-04 12:55:20 +00:00
bryner%netscape.com
3d1b04a30d Bug 128408 - XBL select widgets crash in embedding apps. Fixing the
select binding to load synchronously as it was intended to, and removing
usage of the outlinercols binding to ensure that the OutlinerColFrame is
constructed before the OutlinerBodyFrame.  r=varga, sr=shaver, a=roc.
2002-03-03 23:31:26 +00:00
morse%netscape.com
d8c109186b bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:49:30 +00:00
rbs%maths.uq.edu.au
1ceef9c401 bug 127227 - rowspan and columnspan regressed in MathML mtable - a spill over from the landing of the table border collapsing code in bug 41262, r=karnaze, sr=attinasi, a=shaver 2002-02-27 01:37:13 +00:00
rods%netscape.com
f53bdb3606 Don't call these methods when the PO is not printable.
Bug 127639 r=dcone sr=attinas a=asa
2002-02-26 13:29:48 +00:00
bzbarsky%mit.edu
15ad250cad Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
sr=attinasi, a=shaver
2002-02-25 22:18:26 +00:00
cbiesinger%web.de
559f8fc646 Bug 126303 patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi a=roc+moz
Remove the DOM dependendecies from gfx/src/xprint/
2002-02-23 15:32:03 +00:00
dcone%netscape.com
c4c909190e b=127042 Fix background printing.. print preview image loading. r=pavlov sr=kin a=dbaron 2002-02-22 05:41:27 +00:00
attinasi%netscape.com
10ba0aefaa Fixed big problem trying to change the position property on an absolutely positioned element, was leaving dangling placeholder frame. b=118415, r=kmcclusk, sr=jst a=shaver 2002-02-22 02:17:18 +00:00
rods%netscape.com
d7865275df We were sending Progress notification from the destructor of the PrintData.
I have done the following:
1) Removed unneeded nsresult arg from OnEndPrinting
2) Removed unneeded calls to OnEndPrinting before the deletion of PrintData objs
3) The destructor of PrintData now only calls OnEndPrinting if onStartPrinting  was called first, meaning printing notification was actually started.
Bug 126427 r=dcone sr=attinasi a=roc
2002-02-21 13:23:11 +00:00
pinkerton%netscape.com
ecc86da3a2 fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770 2002-02-20 21:51:25 +00:00
pavlov%netscape.com
40b3a7ef13 bug 125713 sr=brendan 2002-02-20 07:44:35 +00:00
sgehani%netscape.com
4ff1572cca Landing print preview toolbar and UI.
b=111235; r=law; sr=hewitt
2002-02-20 06:19:39 +00:00
rods%netscape.com
57797bf5fc It will no longer layout document with a zero width or height
Bug 114139 r=dcone sr=attinasi
2002-02-20 03:21:25 +00:00
rods%netscape.com
785aacab83 1) Makes sure that when a PrintSettings is created it is initialized from the
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi
2002-02-20 03:18:33 +00:00
pinkerton%netscape.com
07a4e16549 don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736 2002-02-20 02:14:18 +00:00
alecf%netscape.com
66e767c7b8 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
2002-02-19 22:49:12 +00:00
roc+%cs.cmu.edu
59d3d1ebd0 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi 2002-02-19 21:33:26 +00:00
smontagu%netscape.com
37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
karnaze%netscape.com
679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
rods%netscape.com
ae0b7240a9 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
2002-02-19 11:49:27 +00:00
karnaze%netscape.com
9b8fc60e6e bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov 2002-02-18 15:57:19 +00:00
dbaron%fas.harvard.edu
bd8feefd91 Fix invalid optimization that prevented style changes on inline elements that caused a reflow from applying to more than the first line. b=98783 r=attinasi sr=hyatt 2002-02-16 16:31:49 +00:00
rbs%maths.uq.edu.au
46efad1b1f Fix bug 125404 - hang on certain mathml pages. The table code relies on the display propertyto build its frames and things went out of sync when just using MathML tag names without the display associations in mathml.css. r=karnaze, sr=attinasi 2002-02-16 02:48:10 +00:00
dcone%netscape.com
f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
jshin%mailaps.org
fffe4a1fb9 Add CS Styles for Ethiopian/Eritrean Languages (per
info. presented at http://www.ethiopic.org/Collation/OrderedLists.html
by yacob@geez.org).
bug 102252, r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
2002-02-15 09:21:08 +00:00
pavlov%netscape.com
f3e046e4e0 Fixing bug 84654. r=bryner sr=sfraser. image blocking should not block backgrounds if you use it 2002-02-14 23:31:54 +00:00
rods%netscape.com
16d789ac62 1) Enables the PageSeq frame to specify the "gap" of gray space around
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi
2002-02-14 23:18:09 +00:00
attinasi%netscape.com
ab06887193 Prevent crash by checking for null frameManager before deref. in UnsuppressAndInvalidate. r=alexsavulov sr=hyatt b=121822 2002-02-14 00:15:40 +00:00
bernd.mielke%snafu.de
62b1dc6afe avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
bug 125053 r=karnaze,rods sr=attinasi
2002-02-13 20:01:42 +00:00
rods%netscape.com
106d57603e 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
2002-02-13 13:58:41 +00:00
bryner%netscape.com
a911745886 Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet. 2002-02-13 10:47:18 +00:00
karnaze%netscape.com
4785b59f61 Denis Antrushin's patch to check for pseudo parent before adding to list. sr=attinasi, r=karnaze 2002-02-12 15:57:49 +00:00
rods%netscape.com
224588e46f 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
2002-02-12 13:33:39 +00:00
smontagu%netscape.com
6da44488e2 Fix for freeze in JS console. bug 123380. r=mkaply, sr=attinasi 2002-02-08 01:53:59 +00:00
kin%netscape.com
d38cee3cd4 Fix for bug 83650 (textarea control has problems with caret positioning at end)
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).

  - Added new utility method GetOriginToViewOffset().

  - Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
    and nsContainerFrame::GetFrameForPointUsing() to factor in the
    offset from GetOriginToViewOffset() to insure that the point
    used is always transformed into the correct coordinate system.

Files modified:

    mozilla/layout/base/public/nsIFrame.h
    mozilla/layout/html/base/src/nsContainerFrame.cpp
    mozilla/layout/html/base/src/nsFrame.cpp
    mozilla/layout/html/base/src/nsFrame.h
    mozilla/layout/html/base/src/nsPresShell.cpp
    mozilla/layout/xul/base/src/nsBoxFrame.cpp

r=kmcclusk@netscape.com  sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
rods%netscape.com
42c487f008 More streamline approach to discovering if there is at least one printer.
And if the printer name is not set, then it gets the default printer and uses
that. instead.
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
2002-02-06 13:04:47 +00:00
jst%netscape.com
cb926125b8 Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-02-05 05:53:56 +00:00
cathleen%netscape.com
740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
hyatt%netscape.com
4e2817117c Fix Macho and Cocoa horkage because of a missing ifdef. 2002-02-04 10:56:42 +00:00
alecf%netscape.com
96f52c5988 more dependency updates 2002-02-02 21:29:01 +00:00
rods%netscape.com
ab52751787 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00