Commit graph

1078 commits

Author SHA1 Message Date
jag%tty.nl
8921c09184 Expand tab introduced in previous checkin. r=sspitzer 2006-07-25 01:34:31 +00:00
sspitzer%mozilla.org
7d923a632e fix for bug #342439: printing certain urls (google groups and maps) from print preview shows the style/meta tags on paper. thanks to bz for the fix. r/sr=dbaron 2006-07-25 00:29:26 +00:00
uriber%gmail.com
3bef115769 Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc 2006-07-18 07:28:38 +00:00
uriber%gmail.com
e121423cb8 Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00
Olli.Pettay%helsinki.fi
00bb6d99a7 Bug 343457, Adding nsWeakFrame, r+sr=roc 2006-07-12 07:41:11 +00:00
Olli.Pettay%helsinki.fi
ce0745a535 backing out Bug 343457 too see if it caused btek tp regression 2006-07-11 20:18:07 +00:00
Olli.Pettay%helsinki.fi
4451e7f11c Bug 343457, Add nsWeakFrame, r+sr=roc 2006-07-11 13:01:07 +00:00
cvshook%sicking.cc
2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
darin%meer.net
0f94d8ab55 fixes bug 333167 "remove idle timer / timer manager after bug 326273 is fixed" r=pavlov 2006-06-29 00:01:58 +00:00
sharparrow1%yahoo.com
a5b8981f5e Bug 334760: Printing of iframes broken on cocoa and linux. r+sr=roc 2006-06-15 03:19:32 +00:00
bzbarsky%mit.edu
7d1587d182 Make stylesheet service sheets apply dynamically. Bug 335689, r+sr=dbaron 2006-06-08 14:32:20 +00:00
Olli.Pettay%helsinki.fi
cb1f0a0bb9 Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc 2006-05-19 10:26:44 +00:00
Olli.Pettay%helsinki.fi
6f0e67928a Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz 2006-05-15 17:51:35 +00:00
Olli.Pettay%helsinki.fi
6aa56726d9 oops, this part was for other bug 2006-05-15 17:38:33 +00:00
Olli.Pettay%helsinki.fi
671b591a88 Bug 337219, onfocus=window.close() in body of popup causes crash [@ nsXULElement::vftable], r+sr=bz 2006-05-15 17:18:59 +00:00
bzbarsky%mit.edu
41af3aa3be Fix crash bug 336582. ESM changes by me and Martijn Wargers
<martijn.martijn@gmail.com>, r+sr=roc.  Presshell changes by Mats Palmgren
<mats.palmgren@bredband.net>, r+sr=bzbarsky
2006-05-12 03:49:38 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
mrbkap%gmail.com
695809a291 Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc 2006-04-28 04:33:41 +00:00
roc+%cs.cmu.edu
aac1b0d44f Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 02:01:07 +00:00
bzbarsky%mit.edu
7d7cc60668 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst 2006-04-22 00:06:30 +00:00
bzbarsky%mit.edu
77631a27b2 Remove the layout.reflow.async.duringDocLoad pref -- setting it to false just
makes us buggy.  Bug 334543, r+sr=dbaron
2006-04-19 15:08:44 +00:00
bzbarsky%mit.edu
4e074a03a2 By the time we're processing reflow callbacks, reflow is done. Bug 334518,
r+sr=dbaron
2006-04-18 21:48:12 +00:00
dbaron%dbaron.org
637a3c6242 Add assertions to verify no-reentry invariants in layout. b=310985 r+sr=bzbarsky 2006-04-18 05:44:02 +00:00
mrbkap%gmail.com
e27b36efcc Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
masayuki%d-toybox.com
6fb048961a Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc 2006-04-11 16:37:58 +00:00
Olli.Pettay%helsinki.fi
107fe84cd5 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst 2006-04-10 17:04:54 +00:00
dbaron%dbaron.org
5dcd0b1309 One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
sharparrow1%yahoo.com
1e650e3784 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
Olli.Pettay%helsinki.fi
2721d0ccd7 Bug 330013, Dragging a link to the tab bar opens in the currently focused tab, not a new tab, r+sr=bz 2006-03-12 20:12: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
roc+%cs.cmu.edu
9ec9f229b6 Bug 326011. Retarget mouse events from frame-less views to their ancestors. r+sr=dbaron 2006-02-27 02:47:13 +00:00
mats.palmgren%bredband.net
b695caf1ac Adding a few more out-of-memory checks. b=325150 r+sr=dbaron 2006-02-11 04:14:48 +00:00
sharparrow1%yahoo.com
ac6fed3850 Bug 321433 - Don't enable selection for printing. r+sr=roc. 2006-02-07 02:52:40 +00:00
roc+%cs.cmu.edu
1481564ee4 Bug 324896. Always paint some kind of background when we're asked to paint, for non-translucent windows. r+sr=dbaron 2006-02-06 20:38:47 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
masayuki%d-toybox.com
0afc3df791 fix bustage by bug 258006 2006-02-01 20:33:20 +00:00
masayuki%d-toybox.com
3deabd1ae2 Bug 258006 Mouse-wheel scroll events does not propagate to viewport from fixed pos. elements r+sr=roc 2006-02-01 19:55:35 +00:00
roc+%cs.cmu.edu
77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
cbiesinger%web.de
a2ee5eaae5 322725 don't assume that all elements with tagname object implement
nsIObjectLoadingContent
r=bryner sr=bz
2006-01-15 13:31:10 +00:00
bzbarsky%mit.edu
4392a55ac9 Fix bug 297801 by making removal and reinsertion of the root element less
magical.  r=peterv, sr=jst
2006-01-12 17:11:57 +00:00
mark%moxienet.com
7dbad1ac58 306959 Crash on trunk startup after running downrev version [@ PresShell::Destroy()]. Get event queue using accessor and check return status. r=bsmedberg sr=bzbarsky 2006-01-04 18:04:39 +00:00
bzbarsky%mit.edu
878caa3f68 Clear the prescontext property table when we tear down the frame tree so that
we don't try to destroy frames after the arena they come from has been
deallocated.  Bug 317855, r+sr=roc
2005-12-06 04:53:03 +00:00
cbiesinger%web.de
3c23130790 Bug #315841 don't flush frames in order to ensure that plugins are instantiated.
also, don't flush when inside of ObjectURIChanged
r+sr=bz
2005-12-03 11:27:42 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org
1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bzbarsky%mit.edu
d6de8c5bd3 Don't try to restyle a destroyed frame tree. Bug 315453, r+sr=dbaron 2005-11-08 04:07:13 +00:00
bzbarsky%mit.edu
2b7fc1f0c9 Make all stylesheet changes do an async style reresolve, not a sync one. Bug
314776, r+sr=dbaron
2005-11-06 18:01:17 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
cbiesinger%web.de
2a428dab2c Bug 314461 make presshell use the new nsIObjectFrame::StopPlugin function
r+sr=bz
2005-11-01 11:37:25 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
bzbarsky%mit.edu
c826d32b65 Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc 2005-10-25 22:32:13 +00:00
bzbarsky%mit.edu
f44f93ebc5 Fix restarting of plugins when restoring from bfcache. Bug 313669, r+sr=bryner 2005-10-25 01:32:14 +00:00
bryner%brianryner.com
e7e62f956e Stop plugins correctly when storing a page into session history (bug 311791). Patch by bzbarsky, r+sr=me. 2005-10-22 03:27:22 +00:00
aaronleventhal%moonset.net
cb2afa53b3 Bug 307172. Focus never returns when a link having focus is hidden. r+sr=bryner 2005-09-23 17:55:12 +00:00
ginn.chen%sun.com
33c2528c30 Bug 255411 "Use my colors" preference makes popup/hover frames have transparent background
r=bzbarsky sr=dbaron
2005-09-23 08:08:09 +00:00
dbaron%dbaron.org
15e4ba0d80 Remove now-unused CantRenderReplacedElement. b=309065 r+sr=bzbarsky 2005-09-21 21:54:54 +00:00
roc+%cs.cmu.edu
fed343c43a Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
608088a431 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
dbaron%dbaron.org
d790c8e3c3 Do not skip PostHandleEvent for synthesized mouse moves. b=20022 Thanks to Neil for finding the problem. r+sr=roc 2005-09-16 06:04:25 +00:00
roc+%cs.cmu.edu
f246fa2bbd Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
bzbarsky%mit.edu
013a8a9ace Don't condition selection on whether we're in a chrome docshell; explicitly
disable selection for <label> and <description> as needed.  Bug 306262, r=neil,
sr=roc
2005-09-06 03:37:15 +00:00
roc+%cs.cmu.edu
9711031a79 Bug 305944. Fix handling of event clipping regression. r+sr=roc, patch by Eli Friedman 2005-08-31 23:06:39 +00:00
smfr%smfr.org
1469ecb299 Fix bug 208601: DocumentViewerImpl::GetCanGetContents() was incorrectly returning false for text fields, because it was looking at the document's selection, rather than the text field selection. Fix by exposing nsIPresShell::GetSelectionForCopy(), and calling that. This fixes the Services menu in Camino to work in text fields. r/sr=roc. 2005-08-29 15:19:13 +00:00
neil%parkwaycc.co.uk
303c683415 Frame processing needs to happen before bubbling system event group handlers in order to fix bug 300227 and thus properly fix bug 298894 r=jst sr=bz 2005-08-29 13:41:11 +00:00
bzbarsky%mit.edu
ee1ced6838 Removing comment that refers to code that is now gone. 2005-08-29 03:37:12 +00:00
bzbarsky%mit.edu
643e0e6e6f Cache the event queue service in nsContentUtils instead of having every single
presshell caching it.  Bug 305689, r+sr=peterv
2005-08-24 21:01:51 +00:00
bzbarsky%mit.edu
f41b587cae Go back to having UnblockOnload firing onload sync in cases where it's safe.
Attempting to address Tp fallout from bug 294114, r+sr=jst
2005-08-23 23:24:30 +00:00
roc+%cs.cmu.edu
4ac70976f2 Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron 2005-08-23 22:26:10 +00:00
roc+%cs.cmu.edu
6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
7c5cfe2f80 Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
instead.  Bug 294114, r=dbaron, sr=jst
2005-08-23 01:29:02 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
64f28bc51d follow-up to bug 303725, don't try to get a weak reference to a weak reference. r+sr=dbaron. 2005-08-22 19:46:25 +00:00
bryner%brianryner.com
091d8cf9cb Attempting to fix crashes in RetargetEventToParent (bug 303725). Leave a weak container pointer so that events targetted to cached pres shells can be sent up to the parent, and don't crash if this fails. r=aaronl, sr=dbaron. 2005-08-22 01:55:34 +00:00
mats.palmgren%bredband.net
decb76621e Erase caret if needed when content is removed. b=304383 r=mrbkap sr=bzbarsky 2005-08-22 00:25:20 +00:00
roc+%cs.cmu.edu
1928c9208a Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky 2005-08-16 21:35:58 +00:00
jst%mozilla.jstenback.com
e23ea875f3 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
bryner%brianryner.com
b2e4656151 don't leak all of the pres shells. bug 78510, r=jst/brendan 2005-08-11 03:59:04 +00:00
mats.palmgren%bredband.net
b3f31d48d4 Don't use a Frame pointer to remember where we last painted the caret, instead use Content+offset+hint. b=296464 r=mrbkap sr=roc a=cbeard 2005-08-11 03:44:16 +00:00
roc+%cs.cmu.edu
c3ea09b7b0 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
bryner%brianryner.com
d2d90df8ec Fix fastback regression where IsZombieDocument could return false even if we are in a zombie document. Bug 301804, r=aaronl, sr+a=dbaron 2005-08-05 20:01:52 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
timeless%mozdev.org
2d9d76dc6a Bug 300572 FF11a2 Crash in [@ js_SetSlotThreadSafe] with new Shockwave Flash beta 8.0 b434
r=jst sr=jst a=shaver
2005-07-20 12:36:55 +00:00
bryner%brianryner.com
48215bff90 Make sure we unsuppress painting for subframes on fastback. Bug 292890, r+sr=dbaron, a=brendan. 2005-07-19 17:07:40 +00:00
aaronleventhal%moonset.net
3237d883cc Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa 2005-07-15 02:35:19 +00:00
bzbarsky%mit.edu
a78ac93c4a Don't post or process reflow events after the presshell started destroying.
Bug 293651, r+sr=roc
2005-07-07 17:10:40 +00:00
bryner%brianryner.com
d99a80f804 Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan. 2005-07-01 07:12:02 +00:00
bryner%brianryner.com
8d8409682a Fix crash when using fastback to go to pages that use SVG in an <object> tag, and bulletproof a little bit. Bug 299153, r+sr=dbaron, a=bsmedberg 2005-06-30 20:58:33 +00:00
aaronleventhal%moonset.net
d8ef241ada Bug 290352. Fix show/hide events, and anything dependent on those such as DHTML sub sub menus, alerts and progress bars. r=louie.zhao, sr=bz, a=asa 2005-06-10 13:57:27 +00:00
bzbarsky%mit.edu
689b3ce693 Protect against sizeToContent being called on windows with no content a bit.
Bug 293781, r+sr=roc, a=asa
2005-05-13 19:47:38 +00:00
bzbarsky%mit.edu
3bfa5db241 Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan
2005-05-12 20:53:33 +00:00
bryner%brianryner.com
aed69207f0 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
aaronleventhal%moonset.net
abd3646f41 Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa 2005-05-03 03:46:51 +00:00
masayuki%d-toybox.com
ffffc00e94 bug 292263 ATOK's Moji Palette that is like software keyboard doesn't work. r=timeless, sr=neil, a=chofmann 2005-04-29 18:30:23 +00:00
jst%mozilla.jstenback.com
50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
eef5322ee4 Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa 2005-04-14 22:41:52 +00:00
bzbarsky%mit.edu
7f0d146903 Don't copy/paste code to cast to placeholder frames all over the place; use a
utility method instead.  Bug 276954, r+sr=roc, a=brendan
2005-04-14 15:30:35 +00:00
smfr%smfr.org
ae9618de13 Fix bug 289022: every other click in a text field unfocusses it, so you can't type. Fixed by retargeting keyboard events to a parent view, if their target view has no frame. r=roc, sr=dbaron, a=dbaron. 2005-04-13 04:35:13 +00:00
aaronleventhal%moonset.net
5b6084c934 Bug 280154. Cannot arrow past first entry in help sidebar panels. r=Neil, sr=bz, a=asa 2005-04-12 20:25:49 +00:00
kyle.yuan%sun.com
08b41e4793 Bug 268513 overflow:scroll causes memory growth
r/sr=bz, a=asa
2005-04-07 23:50:40 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
roc+%cs.cmu.edu
21c3eddde8 Bug 289090. Get the pagesequenceframe from the frame constructor, don't poke around the frame hierarchy trying to find it. r+sr=bzbarsky 2005-04-05 22:46:56 +00:00
dbaron%dbaron.org
da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
bzbarsky%mit.edu
4fa2d34a01 Fixing AIX build bustage. Thanks to pkw for the patch! 2005-03-29 15:57:53 +00:00
bzbarsky%mit.edu
2f581cbaf2 More bustage fixing. To be precise, check in what should have gone in the
first time, but didn't due to a malformed diff.
2005-03-29 00:22:12 +00:00
bzbarsky%mit.edu
906eb8273c Fix build bustage by moving CantRenderReplacedElementEvent class decl earlier
in the file
2005-03-28 23:56:33 +00:00
bzbarsky%mit.edu
9b4aaa3fb3 Move handling of replaced element events from frame manager to presshell, make
sure we don't allow reflow flushing while we're constructing the new frames.
Bug 286813, r+sr=dbaron
2005-03-28 23:20:54 +00:00
mats.palmgren%bredband.net
4f49d3bf00 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
bzbarsky%mit.edu
88d83f465f Work around print preview bug (unhooking and then rehooking a presshell to a
document).  Bug 286869, r+sr=roc
2005-03-25 04:27:21 +00:00
bmlk%gmx.de
7c229a9e64 - decouple xul iframes from the browser.frames.enabled preference, so that one can open mozilla if that preference is set to false bug 107911
- avoid mutating style inside frame constructor for noframes bug 240129, this fixes crashes like bug 281333 and  bug 266222
- ConstructFrame does not append children if it fails, thats good enough for tables, so don't care about foreign children if they fail, this prevents tables from going into panic mode. bug 283147
- a display: table-caption behaves like a block for other table frames created below. bug 281527
r/sr= bzbarsky
2005-03-03 18:04:38 +00:00
bzbarsky%mit.edu
39ed08fbe1 Make sure to always remove the dummy layout request on presshell destruction
and not to post events after we have revoked them.  Bug 284354, r+sr=roc
2005-03-03 04:46:03 +00:00
bzbarsky%mit.edu
53a395aa19 Remove the dummy layout request off an event, not synchronously, so we don't
fire onload as we're finishing up reflow.  Bug 281157, r+sr=roc
2005-02-28 02:27:09 +00:00
kyle.yuan%sun.com
bd591e6c7e backout the fix for bug 268513 2005-02-28 01:08:32 +00:00
bryner%brianryner.com
a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
79388227de Don't flush out reflows if we have painting suppressed and something else in
our viewmanager tree is painting.  Bug 282764, r+sr=roc
2005-02-25 04:03:13 +00:00
kyle.yuan%sun.com
5710090a2e Bug 268513 overflow:scroll causes memory growth
r=dbaron, sr=jst
2005-02-23 23:00:23 +00:00
peterv%propagandism.org
a3ff930d2d Fix for bug 281654 (XLink's scroll to the parent of the node that they point to). r/sr=bz. 2005-02-20 09:55:02 +00:00
bzbarsky%mit.edu
d062676ab0 Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
presshell args from most frame constructor methods; use the state for the
former and the member for the latter.  Bug 281957, r+sr=roc
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
e812ede3f7 Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc
2005-02-18 06:06:47 +00:00
bzbarsky%mit.edu
d0a24bd117 Fix crash bug 281424. r+sr=roc, a=asa 2005-02-14 20:09:14 +00:00
bzbarsky%mit.edu
e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
aaronleventhal%moonset.net
76ec412a0d Backing out fix for bug 249136 because it caused bug 279285 2005-02-05 17:00:46 +00:00
bzbarsky%mit.edu
336d43d3c4 Fix event point if the view of the current event frame is different from the
view that the event's point is relative to.  Bug 268352, r+sr=roc
2005-02-03 20:09:45 +00:00
bzbarsky%mit.edu
471a666de1 Make sure to not allow reflow flushes to happen in the middle of scroll
position restoration.  Bug 279786, r+sr=roc
2005-01-27 21:18:30 +00:00
bzbarsky%mit.edu
ab21bfff5a Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc
2005-01-27 21:17:08 +00:00
bzbarsky%mit.edu
905bf0a35a Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
aaronleventhal%moonset.net
d4e3820058 Bug 249136. Focus lost when key pressed in newly loading foreground tab. r=bryner, sr=jst 2005-01-17 14:43:41 +00:00
neil%parkwaycc.co.uk
c9cb84e772 Bug 278546 Unchecked null pointer crash in nsPresShell::GetViewToScroll when pressing an arrow key while the sidebar's Tabs menubutton has focus r+sr=bz 2005-01-16 21:25:15 +00:00
mats.palmgren%bredband.net
8a4a940c11 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky 2005-01-03 19:37:54 +00:00
neil%parkwaycc.co.uk
74e2aa375a Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron 2005-01-01 17:26:29 +00:00
bmlk%gmx.de
ca3e9f85c3 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
bmlk%gmx.de
d3197a9276 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
dbaron%dbaron.org
9643fc6c04 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
smontagu%smontagu.org
5bff65e904 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc. 2004-11-29 20:28:46 +00:00
neil%parkwaycc.co.uk
a45fb5a046 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
7028f44696 Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa
2004-11-22 02:59:19 +00:00
aaronleventhal%moonset.net
add2b7a5d7 Bug 258514. Clicked anchor with location hash set to element id gives first child anchor focus rectangle & selection not always updated correctly. r+sr=bryner 2004-11-12 21:58:12 +00:00
neil%parkwaycc.co.uk
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
aaronleventhal%moonset.net
0eaecc5f33 Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner 2004-10-29 13:40:25 +00:00
silver%warwickcompsoc.co.uk
60f70552b3 Bug 253818 - Remove NS_ASSERTION from PresShell::EndLoad.
r+sr=roc
p=cst@andrew.cmu.edu (Chris Thomas)
2004-10-20 16:45:38 +00:00
aaronleventhal%moonset.net
e9feb9853d Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc 2004-10-19 02:24:27 +00:00
dbaron%dbaron.org
2dc1b399ee Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc (Relanding since this doesn't seem to be the cause of the Tp regression.) 2004-10-14 21:51:00 +00:00
dbaron%dbaron.org
124d559e16 Back out 227361 to fix pageload time regression. 2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
c0a432e619 Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc 2004-10-13 22:37:32 +00:00
aaronleventhal%moonset.net
ca0cd1c767 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs 2004-10-13 01:12:14 +00:00
roc+%cs.cmu.edu
cc07de278b Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky 2004-10-11 20:35:51 +00:00
roc+%cs.cmu.edu
6c4ebb2c18 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky 2004-10-09 01:39:21 +00:00
aaronleventhal%moonset.net
54b43dfb52 bug 247323: kbd stops working after visiting oddpost, anything with <iframe src=javascript:1>. r=dbaron, sr=bryner 2004-09-28 18:41:15 +00:00
dbaron%dbaron.org
feb3d9aee8 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc 2004-09-21 04:41:08 +00:00
neil%parkwaycc.co.uk
6a4f37de6b Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
dbaron%dbaron.org
a0bf92722f Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
bzbarsky%mit.edu
7f286e3000 Fix crash due to text inputs flushing pending restyles while we're in text
control frame code.  Bug 257818, r+sr=dbaron
2004-09-13 04:19:58 +00:00
dbaron%dbaron.org
19532676d4 Convert mCurrentEventContent and mCurrentEventContentStack to use nsCOMPtr/nsCOMArray. b=258667 r+sr=jst 2004-09-13 03:22:46 +00:00
roc+%cs.cmu.edu
2a8936b1a7 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00
dbaron%dbaron.org
96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
jst%mozilla.jstenback.com
5aed475ce3 Eliminating dead code. Patch by trev@gtchat.de. r+sr=jst@mozilla.org 2004-09-07 22:34:02 +00:00
roc+%cs.cmu.edu
6255acffd9 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
jst%mozilla.jstenback.com
51fd4d10d8 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com 2004-09-04 19:28:46 +00:00
neil%parkwaycc.co.uk
3d9b16ed8b Bug 257721 nsPresShell::PostAttributeChange needs to construct its nsAttributeChangeRequest (HandlePostedAttributeChanges was already calling the destructor) r+sr=roc 2004-09-02 08:56:30 +00:00
bryner%brianryner.com
dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
aaronleventhal%moonset.net
1f5edcb856 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
bryner%brianryner.com
4c15468e7d Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bryner%brianryner.com
d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
jst%mozilla.jstenback.com
c5771baf3e Fixing bug 198254. Fix crash when closing javascript created window. r+sr=bzbarsky@mit.edu 2004-08-18 22:13:10 +00:00
bzbarsky%mit.edu
94990b951c Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron
2004-08-10 03:24:41 +00:00
mats.palmgren%bredband.net
2ec5e837c2 Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron 2004-08-06 15:55:17 +00:00
neil%parkwaycc.co.uk
a33872e9fe Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bryner%brianryner.com
6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
dbaron%dbaron.org
063f9ff3da Reframe all image box frames on theme change, as a workaround for chrome: URL comparison mess. b=252703 r+sr=bzbarsky 2004-07-27 23:31:08 +00:00
roc+%cs.cmu.edu
b9da24099f Bug 217120. Make the scroll position restoration logic in nsPresShell actually use the right scroll and scrollbox frames. r+sr=dbaron 2004-07-27 18:16:10 +00:00
cbiesinger%web.de
54e0371529 Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
roc+%cs.cmu.edu
72e061457e Bug 217120. Always make an attempt to scroll to history position after restoring scroll position in EndLoad, just in case no reflows happen again. r+sr=dbaron 2004-07-23 21:39:47 +00:00
cbiesinger%web.de
be9764fdfe Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc
2004-07-21 20:18:39 +00:00
dbaron%dbaron.org
1a3c86faf3 Add null-check. b=226791 r+sr=bryner 2004-07-18 21:55:24 +00:00
dbaron%dbaron.org
13779c9cac Restore ReResolveMenusAndTrees code, which is needed for theme switching. b=226791 r+sr=bzbarsky 2004-07-18 01:16:27 +00:00
aaronleventhal%moonset.net
910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
dbaron%dbaron.org
2f85a4a7e0 Null check mViewManager. b=248343 r+sr=roc 2004-06-24 21:56:29 +00:00
dbaron%dbaron.org
60b7e73a8f Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc 2004-06-22 04:32:52 +00:00
cbiesinger%web.de
5d52754e76 bug 227313 patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net> r+sr=roc
remove unused code related to PresShell::ScrollFrameIntoView(nsIFrame*)
2004-06-18 14:54:56 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de
ae7223e9f1 bug 196380
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz
2004-06-05 17:57:00 +00:00
bzbarsky%mit.edu
65c15d6697 When scrolling to form controls on focus, make sure to flush out pending
reflows first.  Bug 245133, r+sr=jst
2004-05-31 20:56:55 +00:00
bzbarsky%mit.edu
a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
bzbarsky%mit.edu
8915435c7a Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
e0fe2b43bd Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bzbarsky%mit.edu
bb573d95f3 Make sure to not finish the reflow command hash till we've cancelled all
commands on shutdown.  Bug 242602, r+sr=dbaron
2004-05-04 21:59:56 +00:00