rods%netscape.com
944a302a29
Need to call EndObservingDocument before destroy of PresShell
...
Bug 152536 r=dcone sr=jst
2002-06-19 22:18:43 +00:00
rods%netscape.com
89bbd44ace
Add PR_LOGGING for printing
...
Bug 121622 r=dcone sr=kin
2002-06-19 21:51:13 +00:00
jkeiser%netscape.com
3a72319ba7
Make form within table or tr not create a cell frame and screw up layout. bug 149282, r=dbaron@fas.harvard.edu, sr=waterson@netscape.com
2002-06-14 06:47:35 +00:00
kin%netscape.com
2cc8934aad
Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
...
mozilla/content/base/public/nsISelectionController.idl
mozilla/content/base/src/nsSelection.cpp
mozilla/editor/composer/src/nsEditorShell.cpp
mozilla/editor/idl/nsIPlaintextEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/nsEditor.h
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
mozilla/editor/ui/dialogs/content/EdTableProps.js
mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
mozilla/layout/base/public/nsIFrameSelection.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
mozilla/mailnews/compose/src/nsMsgCompose.cpp
mozilla/xpfe/browser/resources/content/viewPartialSource.js
- Added aIsSynchronous arg to the ScrollSelectionIntoView()
method of nsISelectionController and nsIFrameSelection.
Updated all callers to pass new arg.
- Modified selection to post a plevent to call which does the
call to ScrollIntoView() in the async ScrollIntoView() case.
- Edits in text widgets now use asynchronous reflow, paint,
and scroll processing full time.
- Removed redundant ScrollSelectionIntoView() calls in the
editor event listeners.
- Editor IME code now forced to flush reflows and paints before
getting caret coordinates.
r=jfrancis@netscape.com sr=waterson@netscape.com
2002-06-13 20:35:12 +00:00
rods%netscape.com
4cad7f9892
Needs to return back the appropriate flags for loading images, naming making them come fromthe cache
...
Bug 150072 r=dcone sr=kin
2002-06-12 18:04:48 +00:00
dbaron%fas.harvard.edu
155b9b60cb
Fix crash exiting print preview in certain cases (pages with frames; embedding apps) by ensuring view manager outlives pres shell. b=148308 r=rods sr=waterson
2002-06-12 03:32:24 +00:00
dbaron%fas.harvard.edu
e5a0855621
Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin
2002-06-12 03:27:48 +00:00
roc+%cs.cmu.edu
3cd559ba29
Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson
2002-06-12 03:22:35 +00:00
smontagu%netscape.com
66051e90f8
Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson
2002-06-11 21:00:20 +00:00
cbiesinger%web.de
15a321ca78
bug 115473 r=pavlov sr=brendan
...
Remove timer priorities
2002-06-11 20:47:04 +00:00
rods%netscape.com
caa5458797
Don't check the range boolean for ending the page
...
Bug 146296 r=dcone sr=waterson a=asa
2002-06-07 14:30:17 +00:00
bryner%netscape.com
9b37497cfa
Fixing loss of focus when opening a URL in a new tab. If we receive a focus event and have not done an initial reflow yet, go ahead and do one so that we can dispatch the event. Otherwise, the focus controller becomes out of sync with the actual native widget focus. Bug 138237, r=dbaron, sr=waterson, a=asa.
2002-06-07 00:53:44 +00:00
alecf%netscape.com
bcf192e308
fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
2002-06-06 20:28:14 +00:00
cbiesinger%web.de
b73ad2b455
bug 148787 patch by hixie r=dbaron sr=roc+moz
...
Clicked links don't go red (prefs style sheet is overriding UA style sheet)
2002-06-04 19:44:53 +00:00
kmcclusk%netscape.com
0a88931ae5
Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
2002-06-04 17:47:54 +00:00
jkeiser%netscape.com
3e2a1902ca
Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
2002-06-04 02:00:34 +00:00
karnaze%netscape.com
cd9868e5d0
bug 1458423 - don't repeat a thead or tbody that is continued. sr=attinasi, r=alexsavulov.
2002-05-31 14:32:38 +00:00
karnaze%netscape.com
1faf4c0592
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
dbaron%fas.harvard.edu
c5d1b20120
Fix FindPrimaryFrameFor regression: when previous sibling is out-of-flow, start search from previous sibling's placeholder. b=145224 sr=waterson r=bzbarsky
2002-05-26 17:07:07 +00:00
dbaron%fas.harvard.edu
e6315d638a
Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson
2002-05-26 17:03:42 +00:00
shanjian%netscape.com
7f5900aa67
#142562 problem with <td align=right or align=center
...
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
dbaron%fas.harvard.edu
8d231a5fae
Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
2002-05-23 23:09:31 +00:00
smontagu%netscape.com
a46e2b6d10
Fix for memory leak. Bug 145153, r=mkaply, sr=waterson
2002-05-23 22:03:19 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
d2188e6086
Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
2002-05-22 00:14:51 +00:00
rods%netscape.com
b9efd96eca
unregisters the focus listener after a new one is installed.
...
Bug 145388 r=dcone sr=jst
2002-05-21 19:37:28 +00:00
jst%netscape.com
262f28f900
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
2002-05-20 22:47:02 +00:00
hewitt%netscape.com
d59cbdff21
126480 - autocomplete popup doesn't appear the first time you type, r=ben, sr=bryner
2002-05-17 21:24:48 +00:00
rods%netscape.com
55cdb88790
Adds a new arg to the PP call. The new arg is not being used, it is
...
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi
2002-05-16 13:51:54 +00:00
dbaron%fas.harvard.edu
d10ff83425
Clean up FindFrameWithContent. No need to search children of special frames too (hang bug 140275). Use special sibling when next-in-flow isn't available, and use the hint even when we have special frames. Convert gotos into additional while loop. Turn useless :after check into assertion. Don't modify aParentFrame and aParentContent for when the hint fails. b=140275 r=attinasi sr=waterson
2002-05-16 13:39:44 +00:00
dbaron%fas.harvard.edu
c268e85567
Attempt to refix bug 118014 crash by removing SetUndisplayedPseudoIn and doing run-time checks that we're not inserting the same node into the undisplayed map twice. b=136704 r=attinasi sr=waterson
2002-05-16 13:30:57 +00:00
dbaron%fas.harvard.edu
b7e8be94dd
Give nsHTMLReflowState an explicit copy-constructor and assignment operator to fix up mCBReflowState and fix regressions from previous patch. b=143706 r=bzbarsky sr=waterson
2002-05-15 19:58:20 +00:00
dougt%netscape.com
c683a217ab
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2002-05-15 18:55:21 +00:00
rods%netscape.com
68b0319c10
Changing CID to ContractID and const char* to const char xxx[]
...
As part of Bug 144128
2002-05-14 14:32:42 +00:00
rods%netscape.com
517bc877a1
Static build bustage fix
2002-05-14 14:15:19 +00:00
dbaron%fas.harvard.edu
0d941d730b
Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson
2002-05-14 12:59:55 +00:00
rods%netscape.com
0c5c90b638
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
2002-05-14 12:05:00 +00:00
waterson%netscape.com
e3554c37cc
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
rods%netscape.com
1d956bc3a5
making a few adjustments to the APIs before the freeze
...
Bug 143248 r=conrad sr=attinasi
2002-05-09 22:02:44 +00:00
bzbarsky%mit.edu
dc80028fdb
make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi
2002-05-09 20:05:25 +00:00
rods%netscape.com
7848ffedc6
Need to call StartPrint to initialize the Seq Frame
...
Bug 143089 r=dcone sr=kin
2002-05-08 20:11:14 +00:00
dbaron%fas.harvard.edu
6a089b4f2a
Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson
2002-05-08 19:27:40 +00:00
rods%netscape.com
464860f81c
OK, really fixing the HP bustage this time.
2002-05-07 15:33:06 +00:00
rods%netscape.com
50dc137d4e
fixed build bustage on HP
2002-05-07 14:07:28 +00:00
rods%netscape.com
51a39e7277
These files are no longer needed.
...
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 14:03:30 +00:00
rods%netscape.com
15a673155f
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
hwaara%chello.se
07056fa136
#109291 , "document.*Color is empty".
...
Fix our DOM color properties to work like on other browsers. For example, when no body bgcolor is explicitely specified, we will return the default bgcolor instead of just returning null. Same thing with text color, visited link color etc.
r=fabian, sr=jst
2002-05-06 21:58:10 +00:00
karnaze%netscape.com
193a8d5ce9
bug 138725 - Reflow placeholder's out of flow frame in DoCleanupFrameReferences. Avoid reframing when an inline is appended to an inline containing a block. sr=waterson, r=alexsavulov
2002-05-06 02:02:35 +00:00
rods%netscape.com
c19ef82a9c
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 14:10:12 +00:00
rods%netscape.com
5f8760cbcd
backing out unwanted changes
2002-05-02 13:24:08 +00:00
rods%netscape.com
b1cb2953ae
Add the new pluggable dialog work, in build, not used
...
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:38:43 +00:00
dbaron%fas.harvard.edu
f78d299f51
Don't double-create :before and :after content by checking |processChildren| in ConstructHTMLFrame and only doing the hacky (and probably incorrect) sibling-:before/:after construction for leaf frames. b=141289 r=attinasi sr=waterson
2002-05-01 00:51:36 +00:00
dbaron%fas.harvard.edu
eb7778a448
Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi
2002-05-01 00:36:50 +00:00
dbaron%fas.harvard.edu
2d7fe2e0eb
Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson
2002-05-01 00:17:04 +00:00
karnaze%netscape.com
311b53c52e
bug 138292 - add a non table related frame to its parent frame's child list when the parent frame is an anonymous table cell frame. sr=waterson, r=alexsavulov.
2002-04-30 21:45:58 +00:00
karnaze%netscape.com
dfbd7c0b89
bug 113235 - avoid reframing when content is inserted inside an inline frame which contains a block. sr=waterson, r=attinasi.
2002-04-30 21:34:15 +00:00
bzbarsky%mit.edu
5ea0083376
Text zoom should reflow the viewport, otherwise fixed-pos elements don't
...
get reflown correctly. Bug 51578, r=dbaron, sr=waterson
2002-04-29 13:46:29 +00:00
racham%netscape.com
486f60f0e0
Fixing bug 140183. Checking ShowProgress dialog attribute and pref as printing is done. Patch by Rod Spears. r=danm,bhuvan sr=sspitzer
2002-04-28 01:43:23 +00:00
kmcclusk%netscape.com
95ef1c8157
Abort paint if destroying the PresShell and check for null PresShell in nsImageLoader. bug 102585. r=waterson sr=attinasi
2002-04-26 20:44:38 +00:00
kin%netscape.com
6b835d7397
Fix for bug 135154 (Cursor not appearing in textarea after tabbing into it)
...
Don't call StopBlinking() if the selection changed notification is
for a selection that is different from the one in mDomSelectionWeak.
r=akkana@netscape.com sr=attinasi@netscape.com
2002-04-26 13:11:47 +00:00
jst%netscape.com
f3bec601cc
Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
2002-04-25 23:04:52 +00:00
peterv%netscape.com
f1d35b4a9d
Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst.
2002-04-25 11:58:08 +00:00
rods%netscape.com
bb4148f2e9
printing properties must be moved to global jar
...
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman
2002-04-24 13:15:13 +00:00
jst%netscape.com
18f1c685f6
Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com
2002-04-24 00:33:56 +00:00
rods%netscape.com
bdb9588496
mOrigDCScale needs to come from the previous PrintData object or it will continue to get smaller
...
Bug 139459 r=dcone sr=attinasi
2002-04-24 00:26:54 +00:00
smontagu%netscape.com
7606504aac
ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi
2002-04-24 00:26:49 +00:00
smontagu%netscape.com
c5331b9f14
Correct handling of zero-width joiners and non-joiners. Bug 110497. r=ftang, sr=attinasi
2002-04-23 23:50:17 +00:00
smontagu%netscape.com
40d6505f73
Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi
2002-04-23 23:29:18 +00:00
rods%netscape.com
ee07c55f61
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
2002-04-23 12:05:43 +00:00
jst%netscape.com
d2298f34f2
Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com
2002-04-22 23:48:14 +00:00
jst%netscape.com
70e9ad0081
Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com
2002-04-22 23:12:18 +00:00
smontagu%netscape.com
a3b1208204
Prevent crash caused by trigger-happy deletion of frames during Bidi resolution. Bug 95228, r=lkemmel@il.ibm.com, sr=waterson
2002-04-22 22:55:19 +00:00
jaggernaut%netscape.com
7e4e14d8c5
Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
2002-04-20 01:48:32 +00:00
jst%netscape.com
c5afc3b674
Fixing typo in a comment...
2002-04-19 23:56:45 +00:00
jst%netscape.com
14dc7f7425
Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
2002-04-19 23:55:45 +00:00
gerv%gerv.net
0f7ebbdfe9
Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa.
2002-04-19 08:07:11 +00:00
karnaze%netscape.com
3c6f09b5b9
bug 136848 - consider a sibling of type col group, col, row group as a valid siblings of a child only if the child is the same type. sr=attinasi, r=kin
2002-04-19 03:11:29 +00:00
joki%netscape.com
bdfd051dfb
Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
...
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
jst%netscape.com
ea45ab47a7
Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com
2002-04-18 19:50:31 +00:00
jst%netscape.com
cd9afd67e1
Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
2002-04-17 04:17:16 +00:00
mjudge%netscape.com
09110a5680
bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest
2002-04-16 23:02:11 +00:00
waterson%netscape.com
1be2855d7e
Bug 137378. Stop ancestor frame notification at a frame that is an NS_FRAME_REFLOW_ROOT. r=karnaze, sr=kin.
2002-04-16 21:19:32 +00:00
bzbarsky%mit.edu
22cfba4a7c
Fix crash on copy of text with embedded nulls. Bug 136278, r=brade, sr=kin.
2002-04-16 19:16:33 +00:00
hwaara%chello.se
34c91fa45e
#137382 , cleanup handling of SVG namespace, and remove old bogus namespace.
...
r=afri (not part of default build)
2002-04-16 18:13:13 +00:00
bryner%netscape.com
2fdd9e39df
Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst.
2002-04-16 05:09:35 +00:00
mjudge%netscape.com
cbca07291c
82151 r=jfrancis sr = kin
2002-04-16 02:42:09 +00:00
dougt%netscape.com
f4cf458eb8
Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com
2002-04-15 22:39:43 +00:00
rods%netscape.com
6cc2d64532
Original check work with passing back NS_OK, it appears something in the front-end
...
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi
2002-04-15 13:30:32 +00:00
rods%netscape.com
7003507aa7
For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
...
Bug 136785 r=dcone sr=attinasi
2002-04-15 13:22:05 +00:00
attinasi%netscape.com
6519a05626
temporary topcrash fix: make sure stale anonymoux content is removed from the undisplayed map when a style sheet is added. b=118014 r=dbaron sr=kin
...
NOTE: bug 136704 has been opened for making the real fix, and reference to this patch has been noted therein.
2002-04-14 15:34:02 +00:00
attinasi%netscape.com
8c88845bfc
Backout some diagnostic code. b=134962 sr=waterson r=dbaron
2002-04-14 15:16:40 +00:00
hwaara%chello.se
92f889abb0
#13702 , just fixing some minor typos in the documentation. r=bzbarsky
2002-04-13 19:47:15 +00:00
pinkerton%netscape.com
bb66767179
fix build bustage
2002-04-12 15:26:05 +00:00
kin%netscape.com
13fdc1980a
Fix for bug 106489 (Text entered in box does not appear)
...
- Moved MoveChildrenTo() and GetRealFrame() to a point in the
file where they could be called from my new utility method
AdjustOutOfFlowFrameParentPtrs().
- Modified MoveChildrenTo() to take an nsFrameConstructorState arg,
so that it can call my new method AdjustOutOfFlowFrameParentPtrs()
so that out-of-flow floater frames are reparented to the correct
containing block when the placeholder is moved under the block
created in ConstructInline().
r=attinasi@netscape.com sr=waterson@netscape.com
2002-04-12 14:41:40 +00:00
dcone%netscape.com
02e7316517
b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
...
have a background.
2002-04-12 14:30:00 +00:00
hyatt%netscape.com
e0734fa45e
Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben
2002-04-12 02:05:12 +00:00
dbaron%fas.harvard.edu
07103ecbea
Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
2002-04-11 03:49:30 +00:00
dbaron%fas.harvard.edu
2ee8b39604
Fix topcrash by clearing the view manager's weak pointer back to the pres shell before the pres shell goes away. b=134664 r=roc+moz sr=jag
2002-04-11 03:24:18 +00:00
waterson%netscape.com
4d89367b86
Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi
2002-04-11 01:13:41 +00:00
rods%netscape.com
56c0612f03
The real fix is to enable the printing of XUL docs, which is what is crashing.
...
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi
2002-04-11 00:45:11 +00:00
rods%netscape.com
1756fd22db
Add a new attr to PrintObject for identifying POs that are to be hidden, not
...
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:33:24 +00:00
karnaze%netscape.com
253add7dbb
bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov.
2002-04-10 21:32:41 +00:00
rods%netscape.com
c477cf19b3
Although the front-end should be disabled and not allow the user to make any
...
changes to PP while the document is printing. This samll fix is back-end
insurance to keep a crash from happening.
Bug 130691 r=kin sr=attinas a=rjesup adt=jaime
2002-04-09 14:17:56 +00:00
dbaron%fas.harvard.edu
8a37911430
Fix topcrash resulting from accidentally making DeletingFrameSubtree not null-safe. b=134508 sr=waterson r=attinasi a=asa
2002-04-09 01:11:25 +00:00
karnaze%netscape.com
ef8486e013
bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin
2002-04-06 22:28:39 +00:00
karnaze%netscape.com
e96121a916
bug 132334 - add nsIFrame::RemovedAsPrimaryFrame which allows the text control frame to access its editor before Destroy (when it is too late). a=asa, adt=jamiejr, sr=attinasi, r=jkeiser
2002-04-06 22:16:12 +00:00
rods%netscape.com
1d4852267d
Clamps ShrinkTOFit to 50%
...
Bug 135013 r=dcone sr=attinasi a=asa adt=jaime
2002-04-06 13:09:15 +00:00
rods%netscape.com
d2b6d22083
Stop it from calling EndPage method when printing selection
...
Bug 135526 r=dcone, sr=kin a=rjesup@wgate.com adt=jaime
2002-04-06 13:02:17 +00:00
hyatt%netscape.com
08d1853958
Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa
2002-04-05 08:05:33 +00:00
timeless%mac.com
a84a7e233f
http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
...
Backing out the fix for bug 52334
approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com
bf7702387e
Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-04-04 22:42:19 +00:00
rbs%maths.uq.edu.au
420e613bd4
Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa
2002-04-04 15:42:45 +00:00
rods%netscape.com
6d6859123b
it is just a matter of turning off a boolean in the right spot. The previous spot was some arbitrary in that method. Now we turn it
...
off a little earlier
Bug 134283 r=dcone sr=attinasi a=asa adt=jaime
2002-04-04 13:04:21 +00:00
jst%netscape.com
020632bdc1
Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
2002-04-04 07:31:16 +00:00
jst%netscape.com
aa9f71957d
Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
2002-04-04 02:09:19 +00:00
blakeross%telocity.com
5e34851046
108099, 75338 - overhaul of main menu and context menus. r=ben sr=hewitt a=asa/brendan
2002-04-03 04:16:28 +00:00
attinasi%netscape.com
16f29f9eff
Attempt to fix topcrash bugs, possibly due to stale cached lookup undisplayed entry (that part by dbaron). Also added some artificial branching to help narrow the problem should crash persist. b=118014 r=attinasi/dbaron, sr=kin a=asa (drivers)
2002-04-02 21:14:43 +00:00
karnaze%netscape.com
9acf51392f
bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd.
2002-04-01 06:46:17 +00:00
karnaze%netscape.com
7bb0f90ec2
bug 130550 - Added nsIFrame::CanPaintBackground, to treat nsTableOuterFrame as transparent. a=asa, sr=attinasi, r=roc+moz
2002-03-31 22:43:40 +00:00
pinkerton%netscape.com
a76c660801
turn on building of native scrollbars from xbl, on for mac classic skin. r=sdagley/sr=beard/a=valeski. bug# 121440
2002-03-31 18:36:55 +00:00
dbaron%fas.harvard.edu
b350a0fd0f
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +00:00
jkeiser%netscape.com
e95bf883e6
Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
31e41094ef
Backing out 108308 due to pageload spike
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
39fe8af27c
Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
2002-03-29 05:35:47 +00:00
hewitt%netscape.com
d38a0937d9
bugs 110156, 110155
...
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa
Also includes fixes by Jan Varga (varga@utcruk.sk ) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
rods%netscape.com
565d88ab19
Reads the "brand name" property and then caches it so it can use it on documents with no title.
...
Bug 133193 r=dcone sr=attinasi a=dbaron
2002-03-27 03:02:42 +00:00
dbaron%fas.harvard.edu
861b60dbb5
Refix bug 116038 without reducing effectiveness of outliner style cache and outliner image cache by using the fix to 121055. Fix leak when clearing outliner image cache. b=130693 r=varga sr=hyatt a=asa
2002-03-27 02:42:59 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
sicking%bigfoot.com
058a33eded
Bug 41983: Make (x)html-elements support namespaced attributes.
...
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +00:00
rods%netscape.com
ca589fdb8d
Generically enables the browser to cache the curent presentation (frames,
...
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa
2002-03-26 11:43:40 +00:00
mscott%netscape.com
86a6d0814b
Backing out the change to nsDocumentviewer in Bug #70030 to see if it effects page load performance
2002-03-26 05:01:49 +00:00
akkana%netscape.com
09db554fe7
70030: Stop animation with webNavigation.stop. Fix courtesy of Jim Song, jim.song@sun.com; r=akkana, sr=jst, a=asa
2002-03-26 01:05:03 +00:00
rods%netscape.com
b3a87921ff
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
2002-03-25 03:19:32 +00:00
dbaron%fas.harvard.edu
66238732c8
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:26:36 +00:00
rods%netscape.com
e3c71475b1
Add event listeners to "prevent" ContextMenu, Key, Mouse and MouseMotion events from being processed.
...
Bug 128449 r=dcone sr=attinasi a=asa
2002-03-23 18:07:51 +00:00
rods%netscape.com
dbb633ac74
The original patch worked fine for regular documents but didn't work for mail
...
because of the ordering of nsIWebProgressListeners. Even tho the doc WAS
finished loading the notification goes to mail first abd then it print and then
check to see if it is busy and it comes back that it is.
So instead I have to use two booleans to monitor if the document was asked to
be destroyed while it was preparing to print. This typically happens when the
user click on a click and it takes a while and then they decide to print. So
while the Print Dialog is up the document gets unloaded and when it returned
back everything is gone.
So when the flow of control returns back from the Print Dialog it checks to see
if it "should" have been destroyed, and if so, it then aborts printing, cleans
and displays a message if the pressed "OK". If they pressed cancel then it
doesn't print the message.
Bug 131174 r=dcone sr=attinasi a=asa
2002-03-23 16:48:58 +00:00
kmcclusk%netscape.com
6ae53f54f8
suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa
2002-03-23 04:33:37 +00:00
dcone%netscape.com
c0b90242cd
118890 r=rods sr=attinasi a=asa. Fixed printing in print preview
2002-03-22 14:49:29 +00:00
bryner%netscape.com
35bcae8f41
More work on XBL radio button (bug 112715). r=jkeiser, sr=jst, a=asa.
2002-03-22 04:22:19 +00:00
rods%netscape.com
a165972d6f
Backing out changes for Bug 131174
2002-03-22 00:42:48 +00:00
dbaron%fas.harvard.edu
f2fe98207b
Fix dynamic style changes to the background of the root element or the BODY element by doing the necessary extra invalidation for backgrounds that are propagated to an ancestor. Restructure ApplyRenderingChangeToTree so it does less work in recursive calls, and remove old hack to invalidate for background changes that happen through attribute changes. b=63863 sr=attinasi r=bzbarsky a=scc
2002-03-21 23:51:17 +00:00
dbaron%fas.harvard.edu
f18dc50973
Fix theme switching crash related to menus by regenerating the style contexts in children of menus (which are hidden from ReResolve) after the rest of the ReResolve so that they don't have ancestor style contexts pointing to the old rule tree. b=121055 r=bzbarsky sr=hyatt a=scc
2002-03-21 23:44:45 +00:00
rods%netscape.com
b4898103a0
This disallows printing or print preview to work if the document is busy.
...
Meaning it might be still loading or unloading.
Bug 131174 r=dcone a=attinasi a=dbaron
2002-03-20 22:50:42 +00:00
darin%netscape.com
9fbd1028d6
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
2002-03-20 22:50:33 +00:00
rods%netscape.com
aa1233cc10
Besides turning on the pref, I needed to move the initialization code for
...
getting the values from the default printer from the DocumentViewer down into
the PrintOptions service. We want it done only the very first time when the PrintSettings is created.
Bug 131852 r=dcone sr=attinasi a=scc
2002-03-20 12:43:13 +00:00
alecf%netscape.com
451df7d6c3
a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
2002-03-19 06:46:56 +00:00
attinasi%netscape.com
8d198eefbd
Be sure to initialize out-param no matter what. b=127360 r=aaronl sr=brendan a=asa (drivers)
2002-03-19 00:32:41 +00:00
karnaze%netscape.com
773d422073
bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
2002-03-17 21:35:08 +00:00
dbaron%fas.harvard.edu
4a2e5d0bed
Remove obsolete NEW_CONTEXT_PARENTAGE_INVARIANT ifdefs, and add a few bits of debugging code. b=120888 sr=attinasi r=bzbarsky a=asa
2002-03-16 15:26:56 +00:00
dbaron%fas.harvard.edu
4ffe012c9f
Fix drawing of rounded borders and backgrounds on large elements by using PRInt32 instead of PRInt16. b=131233 r=dcone sr=attinasi a=asa
2002-03-16 15:25:16 +00:00
rods%netscape.com
10caff52d1
Removing uwanted debug staments to fix bustage.
2002-03-16 14:08:39 +00:00
rods%netscape.com
c42fa2528c
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
2002-03-16 13:08:45 +00:00
rods%netscape.com
9e6a587a72
Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
2002-03-15 14:49:09 +00:00
rods%netscape.com
20d6c55150
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.
2002-03-15 13:55:54 +00:00
badami%netscape.com
4c25fb1738
Animated image prefs don't apply to background images
...
bug 94938 r=pavlov sr=tor a=asa patch=nivedita@netscape.com
2002-03-15 08:29:08 +00:00
dbaron%fas.harvard.edu
4e14f27e66
Attempt to fix topcrash bug 118014 by calling DeletingFrameSubtree in a bunch of places where it should be called to ensure that we don't leave dangling pointers in the undisplayed content map. sr=attinasi r=kin a=brendan
2002-03-13 13:51:20 +00:00
karnaze%netscape.com
303ce25eb2
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
rods%netscape.com
bd9bc62f8e
Change getters of widgets to nsCOMPtrs to get rid of leaks.
...
Bug 129933 r=dcone sr=attinasi a=roc
2002-03-12 14:16:57 +00:00
badami%netscape.com
d279593983
Newlines in links should be stripped when selecting "Copy Link Location"
...
bug 77522 r=harishd sr=jst a=asa patch=tmutreja@netscape.com
2002-03-12 05:29:31 +00:00
attinasi%netscape.com
0a526a4ff1
Support for overflow:hidden on body or html element, in html documents. b=93520 r=alexsavulov,jkeiser, sr=kin, a=asa OBO drivers
2002-03-11 21:47:40 +00:00
rods%netscape.com
b04e03e883
The document viewer was only clamping on values above 100%, the Front-end UI
...
was doing the clamping on 50-100%, I have changed the back-end to do no
clamping and the front will now allow values between 10 and 500%, these seem
reasonable.
Bug 127508 r=sgehani sr=alecf a=asa
2002-03-10 15:23:54 +00:00
aaronl%netscape.com
a3606f1a26
Bug 129628. Crash in nsFrameManager::Destroy. r=dbaron, sr=shaver, a=asa
2002-03-10 06:47:42 +00:00
aaronl%netscape.com
5b96e558ae
Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa
2002-03-10 06:21:48 +00:00
shaver%mozilla.org
146f2a192d
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
kmcclusk%netscape.com
5281f5604a
Render background images when the entire image has been loaded instead of incrementally. <IMG> elements are not affected, they will continue to be incrementally displayed as image data arrives. bug 85771 r=pavlov sr=attinasi a=roc+moz, tor
2002-03-09 00:15:46 +00:00
karnaze%netscape.com
789e7e3040
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
bryner%netscape.com
7fa0f8cb95
Don't crash when the user changes OS themes (bug 129314). This avoids reconstructing the rule tree, which is unnecessary and currently buggy. r=pinkerton, sr=hyatt, a=asa.
2002-03-08 00:53:04 +00:00
dbaron%fas.harvard.edu
e3bc7ee7fd
Fix top theme switching crash by clearing the outliner's style caches from DidSetStyleContext instead of FlushMiscWidgetInfo. b=116038 sr=hyatt r=bzbarsky a=asa
2002-03-07 23:48:26 +00:00
alexsavulov%netscape.com
da4ab3b23c
forgot some comments in the source... damn the tree will burs
2002-03-07 21:18:26 +00:00
alexsavulov%netscape.com
9d2234ac01
fix for bug 121368 - prevents the method nsCSSFrameConstructor::ReframeContainingBlock
...
to execute during a reflow and so destroy the frame tree that's in reflow
sr= attinasi, r= karnaze, a= asa
2002-03-07 20:51:05 +00:00
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
cathleen%netscape.com
8605704b12
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
2002-01-30 02:55:57 +00:00
bryner%netscape.com
ad77812ae5
Bug 122512 - make sure we don't construct inline frames for children of a select (size > 1) widget when using xbl form controls. r=hewitt,sr=hyatt.
2002-01-30 01:38:55 +00:00
timeless%mac.com
327e376f67
Bug 120221 Make |NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE| more specific
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=sfraser
2002-01-29 03:03:56 +00:00
timeless%mac.com
dce5b223ad
Bug 120911 Crash while printing due lousy error checking
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=jag
2002-01-29 02:59:12 +00:00
waterson%netscape.com
5f923accc2
Bug 102860. Relatively positioned frames do not have place-holders. r=dbaron, sr=hyatt
2002-01-29 00:03:31 +00:00
waterson%netscape.com
da48c6c119
Bug 121860. Handle case where block frame is embedded inside a XUL document. r=dbaron, sr=hyatt.
2002-01-29 00:02:25 +00:00
bryner%netscape.com
e64992abe6
Bug 112716 - implement checkbox in XBL. r=jkeiser, sr=jst.
2002-01-28 23:48:16 +00:00
cathleen%netscape.com
486c0d47f9
remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
...
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
pinkerton%netscape.com
cb46d68a19
changes for cocoa product to build and run and coexist in the tree with carbon. r=cls/sr=hyatt, bug# 111230
2002-01-25 22:01:41 +00:00
rods%netscape.com
00a2a4fa4d
Adding new Frame to clip content area of page for Printing and PrintPreview
...
Bug 112698 r=dcone sr=waterson
2002-01-25 14:30:14 +00:00
rbs%maths.uq.edu.au
f8c4f75798
Improvements to <mtable> to fix bug 39411. Here are the additional hooks needed in the frame construction code, (I also left some aliases that I can change later in nsMathMLParts.h), bug 120487, r=karnaze, sr=waterson
2002-01-25 07:14:07 +00:00
rods%netscape.com
5ec396c9cb
Adding new Frame to clip content area of page for Printing and PrintPreview
...
Bug 112698 r=dcone sr=waterson
2002-01-25 03:32:19 +00:00
waterson%netscape.com
be398efa70
Bug 99691. nsBoxToBlockAdaptor shouldn't be creating space managers; instead, fix XUL <label> and <description> elements to create area frames. r=dbaron, sr=hyatt
2002-01-24 22:34:25 +00:00
bzbarsky%mit.edu
ca547b257b
Change users of Length() to IsEmpty() where the code really cares about
...
the latter in content/. Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
hyatt%netscape.com
f66fb7bcab
Fix for 115919, r=dbaron for me, r=hyatt for dbaron, sr=brendan, a=brendan
2002-01-22 05:36:50 +00:00
hyatt%netscape.com
2f697efac8
Fix for 115919, r=dbaron for me, r=hyatt for dbaron, sr=brendan, a=brendan
2002-01-22 05:30:28 +00:00
rods%netscape.com
0bd908943f
PersShell needs to be created via the document->CreateShell, or the document doesn't know about it
...
and this means there would be no Primary PresShell in the document
Bug 114139 r=dcone sr=attinasi a=dbaron
2002-01-17 15:04:54 +00:00
rods%netscape.com
503c37671e
turns on scaling and fixes it
...
Bug 120075 r=dcone sr=attinasi
2002-01-16 03:11:28 +00:00
rods%netscape.com
6639d9eaad
Getting rid of event processor, it is no longer needed and will fix this problem
...
109566 r=kmcclusk sr=waterson
2002-01-16 03:02:35 +00:00
varga%utcru.sk
ff7ad62083
Fixes for:
...
94653 - can't right align text in outliner cell
95730 - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.
- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable
r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes
sr=hyatt,hewitt
2002-01-16 03:01:28 +00:00
dcone%netscape.com
998f5ccf40
Fix print preview. r=rods sr = attinasi bug =117072. Only control backgrounds painting for printing.
2002-01-15 22:37:15 +00:00
attinasi%netscape.com
c4ce5b9e2e
Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894
2002-01-14 22:05:26 +00:00
dbaron%fas.harvard.edu
e6598e05b6
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
2002-01-14 15:00:30 +00:00
pierre%netscape.com
80235c2988
103594 "Clean up colors prefs code in nsPresShell". Remove PREFS_USE_OVERRIDE, insert the pref sheet at the
...
beginning of the User level. r=glazman+fantasai/sr-attinasi
2002-01-14 14:47:21 +00:00
bzbarsky%mit.edu
7ef1d1f644
Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst.
2002-01-13 04:03:52 +00:00
rods%netscape.com
ca41a066b5
This enables platforms to set a pref as to whether they allow print from print preview.
...
Bug 118623 r=roland sr=attinasi
2002-01-12 12:58:46 +00:00
rods%netscape.com
8ce8a77114
Better error failure when certain types of error occur during printing
...
No longer tries to print IFrames or other sub-documents with display:none
Sets title and url into PrintService from PrintSettings
Sets "IsCancelled" on PrintSettings/Service when Print Dialog is cancelled (patr of 118017)
Bug 117894 r=dcone sr=attinasi
2002-01-12 12:31:05 +00:00
cathleen%netscape.com
92d4fbf218
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2002-01-12 03:18:55 +00:00
hewitt%netscape.com
43cda34734
70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt
2002-01-12 01:18:10 +00:00
dbaron%fas.harvard.edu
e47cc4c2bc
Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson
2002-01-11 20:10:46 +00:00