1011 Commits

Author SHA1 Message Date
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
mrbkap%gmail.com
64f5c8e34a Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 04:33:41 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
bzbarsky%mit.edu
9c6c9e84c3 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195125 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 00:06:30 +00:00
bzbarsky%mit.edu
673234f805 Remove the layout.reflow.async.duringDocLoad pref -- setting it to false just
makes us buggy.  Bug 334543, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194676 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:08:44 +00:00
bzbarsky%mit.edu
144aa50acf By the time we're processing reflow callbacks, reflow is done. Bug 334518,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:48:12 +00:00
dbaron%dbaron.org
3a99a82178 Add assertions to verify no-reentry invariants in layout. b=310985 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194581 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 05:44:02 +00:00
mrbkap%gmail.com
b8eef2bbb9 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194553 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:16:46 +00:00
masayuki%d-toybox.com
bb38c2225d Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@194136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 16:37:58 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
sharparrow1%yahoo.com
4faf77261e Bug 331415: some printing code cleanup. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
Olli.Pettay%helsinki.fi
872e35b166 Bug 330013, Dragging a link to the tab bar opens in the currently focused tab, not a new tab, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@192237 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 20:12:36 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
roc+%cs.cmu.edu
064fcd0d74 Bug 326011. Retarget mouse events from frame-less views to their ancestors. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191293 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:47:13 +00:00
mats.palmgren%bredband.net
5ff4a6ffdc Adding a few more out-of-memory checks. b=325150 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@189758 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 04:14:48 +00:00
sharparrow1%yahoo.com
6e15d1b177 Bug 321433 - Don't enable selection for printing. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@189285 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 02:52:40 +00:00
roc+%cs.cmu.edu
5d24370005 Bug 324896. Always paint some kind of background when we're asked to paint, for non-translucent windows. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@189039 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 20:38:47 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
masayuki%d-toybox.com
a2f5995359 fix bustage by bug 258006
git-svn-id: svn://10.0.0.236/trunk@188696 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 20:33:20 +00:00
masayuki%d-toybox.com
b94de096af Bug 258006 Mouse-wheel scroll events does not propagate to viewport from fixed pos. elements r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@188690 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 19:55:35 +00:00
roc+%cs.cmu.edu
df8627e29b 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
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cbiesinger%web.de
ed310b9d1d 322725 don't assume that all elements with tagname object implement
nsIObjectLoadingContent
r=bryner sr=bz


git-svn-id: svn://10.0.0.236/trunk@187644 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-15 13:31:10 +00:00
bzbarsky%mit.edu
42fc7c3c0c Fix bug 297801 by making removal and reinsertion of the root element less
magical.  r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@187490 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 17:11:57 +00:00
mark%moxienet.com
c9d755cd19 306959 Crash on trunk startup after running downrev version [@ PresShell::Destroy()]. Get event queue using accessor and check return status. r=bsmedberg sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186920 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-04 18:04:39 +00:00
bzbarsky%mit.edu
4067453492 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


git-svn-id: svn://10.0.0.236/trunk@185730 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 04:53:03 +00:00
cbiesinger%web.de
d01ec451f8 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


git-svn-id: svn://10.0.0.236/trunk@185638 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 11:27:42 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
bzbarsky%mit.edu
44bbb394a0 Don't try to restyle a destroyed frame tree. Bug 315453, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@184288 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 04:07:13 +00:00
bzbarsky%mit.edu
c43ac8f5a3 Make all stylesheet changes do an async style reresolve, not a sync one. Bug
314776, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184211 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 18:01:17 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
cbiesinger%web.de
44a0c164bb Bug 314461 make presshell use the new nsIObjectFrame::StopPlugin function
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183330 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 11:37:25 +00:00
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
bzbarsky%mit.edu
cfd25f13dd Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183015 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 22:32:13 +00:00
bzbarsky%mit.edu
6eeafc1262 Fix restarting of plugins when restoring from bfcache. Bug 313669, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@182943 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 01:32:14 +00:00
bryner%brianryner.com
1cd340798f Stop plugins correctly when storing a page into session history (bug 311791). Patch by bzbarsky, r+sr=me.
git-svn-id: svn://10.0.0.236/trunk@182768 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-22 03:27:22 +00:00
aaronleventhal%moonset.net
0a8e42929a Bug 307172. Focus never returns when a link having focus is hidden. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@180872 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 17:55:12 +00:00
ginn.chen%sun.com
5e70529bc8 Bug 255411 "Use my colors" preference makes popup/hover frames have transparent background
r=bzbarsky sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180852 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 08:08:09 +00:00
dbaron%dbaron.org
43d56f3379 Remove now-unused CantRenderReplacedElement. b=309065 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180773 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 21:54:54 +00:00
roc+%cs.cmu.edu
aeacb4d477 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.
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
26af641d58 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


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
dbaron%dbaron.org
2fc88be4c0 Do not skip PostHandleEvent for synthesized mouse moves. b=20022 Thanks to Neil for finding the problem. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@180354 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 06:04:25 +00:00
roc+%cs.cmu.edu
906863a0f9 Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr.
git-svn-id: svn://10.0.0.236/trunk@179728 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 21:34:50 +00:00
bzbarsky%mit.edu
907298f065 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


git-svn-id: svn://10.0.0.236/trunk@179679 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 03:37:15 +00:00
roc+%cs.cmu.edu
394810d3af Bug 305944. Fix handling of event clipping regression. r+sr=roc, patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@179444 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 23:06:39 +00:00
smfr%smfr.org
c3be847acf 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.
git-svn-id: svn://10.0.0.236/trunk@179200 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 15:19:13 +00:00
neil%parkwaycc.co.uk
1e99a3c217 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
git-svn-id: svn://10.0.0.236/trunk@179192 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 13:41:11 +00:00
bzbarsky%mit.edu
ce902f28ab Removing comment that refers to code that is now gone.
git-svn-id: svn://10.0.0.236/trunk@179183 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 03:37:12 +00:00