1561 Commits

Author SHA1 Message Date
aaronleventhal%moonset.net
e80adb2cf6 Bug 336162. Don't fire DOM events from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@195907 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 17:02:37 +00:00
mrbkap%gmail.com
e747e9d893 Only call GetCharCode for KeyPress events to avoid triggering a warning in nsDOMKeyEvent.cpp. bug 309316, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195703 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-29 00:39:03 +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
c65fc9a4e7 Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195380 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 19:56:45 +00:00
cvshook%sicking.cc
ea199784e9 Bug 334977. Separate mFileName from mValue. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@195344 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 09:18:42 +00:00
leon.sha%sun.com
ca47f5992a Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
bzbarsky%mit.edu
d726de015e Handle our single focused option being removed. Bug 325321, r=roc, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194749 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 02:37:31 +00:00
roc+%cs.cmu.edu
39ccd9172a Bug 333817. Give listbox focus display item correct bounds. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194578 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 02:41:42 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
8e865ab1f1 Make sure to not use a localized label if the value is explicitly set to the
empty string.  Bug 330469, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@193566 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 22:34:10 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
Olli.Pettay%helsinki.fi
ed6f59a4d7 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst
git-svn-id: svn://10.0.0.236/trunk@192998 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 22:03:49 +00:00
cvshook%sicking.cc
825f8563f9 Relanding patches that (hopefully) don't affect Tdhtml
git-svn-id: svn://10.0.0.236/trunk@192885 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 00:09:50 +00:00
cvshook%sicking.cc
e2c22d1f10 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +00:00
bzbarsky%mit.edu
0332048377 Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@192462 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 01:30:38 +00:00
dbaron%dbaron.org
8cfdd67955 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
a7aad6eda2 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@192336 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 21:02:42 +00:00
roc+%cs.cmu.edu
c469d694c3 Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
4d3c9e6883 Bug 329465. Don't hold a strong ref to the event queue service from nsComboboxControlFrame. r+sr=roc, patch by Marc Liddell.
git-svn-id: svn://10.0.0.236/trunk@192093 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 19:24:54 +00:00
roc+%cs.cmu.edu
38a9722e9f Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
cvshook%sicking.cc
b044116c80 Bug 325426: Only use baseURI to resolve relative uris. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@191956 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 05:01:16 +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
ca3c2481dc Bug 328898. deCOMtaminate signatures on nsIListControlFrame.h. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191451 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 01:00:29 +00:00
roc+%cs.cmu.edu
f6b0317991 Backing out changes for bug 326944, really this time\!
git-svn-id: svn://10.0.0.236/trunk@191297 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
fd660c7b14 Putting nsIComboboxControlFrame.h back in preparation to revert checkin for bug 326944.
git-svn-id: svn://10.0.0.236/trunk@191295 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 03:20:30 +00:00
roc+%cs.cmu.edu
0649c81787 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@191292 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:45:20 +00:00
roc+%cs.cmu.edu
5486ff00e1 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@191291 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:33:26 +00:00
timeless%mozdev.org
faf573a28d Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +00:00
sharparrow1%yahoo.com
3904cf2e39 Trivial; attempt to fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@190642 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 01:27:11 +00:00
sharparrow1%yahoo.com
c7989ee277 Bug 327868: nsIFrameSelection cleanup. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@190633 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 00:49:04 +00:00
roc+%cs.cmu.edu
cff4b925f9 Bug 326827. Don't allow mouse events to target button contents. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190549 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-19 20:14:11 +00:00
sharparrow1%yahoo.com
1cf59a7435 Bug 326843 DeCOMtaminate some of nsComboboxControlFrame. Patch by marcldl+mozbugs@gmail.com. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@190470 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-18 01:52:03 +00:00
sharparrow1%yahoo.com
8cbbdf2e94 Bug 326883 - Cleanup unused methods. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@190174 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 00:30:29 +00:00
bzbarsky%mit.edu
d8d9e12130 Use GetValue() instead of GetAttr(nsGkAtoms::value) for getting the button
value.  And make the value determination consistent for initial and
value-changed.  Bug 326250, r=sicking, sr=roc


git-svn-id: svn://10.0.0.236/trunk@189846 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 19:42:08 +00:00
bzbarsky%mit.edu
1b13fa7226 More usage of already_AddRefed. Fix leaks too. Bug 325378, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@189480 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 16:23:32 +00:00
bzbarsky%mit.edu
992aec0bc9 Make it possible to enable spell-check for text inputs too (not just
textareas).  Make the pref controlling the whole thing live.  Bug 151040, patch
by Julian Pellico <jpellico@yahoo.com>, r=bzbarsky, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@189459 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 03:50:53 +00:00
dbaron%dbaron.org
82488c236b Remove old native widget code that we were only keeping around for viewer. b=326417 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@189428 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 20:09:19 +00:00
bzbarsky%mit.edu
fae3f2c95b Add comment as promised; still bug 326019.
git-svn-id: svn://10.0.0.236/trunk@189053 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 22:27:58 +00:00
bzbarsky%mit.edu
9c52465218 Fix bug 326019. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@189049 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 22:08:10 +00:00
bzbarsky%mit.edu
35162da718 Make sure to always produce our value. Bug 324377, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@188866 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 18:45:01 +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
bzbarsky%mit.edu
fb8579f413 Fix leak bug 324969 -- make sure to call virtual destructors.
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu
5a30621889 Bug 324852. Clean up missing uses of NS_DISPLAY_DECL_NAME for a tiny space saving with frame display lists
git-svn-id: svn://10.0.0.236/trunk@188281 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 22:58:22 +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
roc+%cs.cmu.edu
78bd9e4760 Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188019 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 23:20:56 +00:00
cvshook%sicking.cc
ceaf7bdebc Bug 323910: Merge atom lists in gklayout
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
bmlk%gmx.de
563a72aa7b Avoid reframing inside button frames and move the frame creation entirely into the frame constructor, bug 51767, r=mats sr=roc
git-svn-id: svn://10.0.0.236/trunk@187535 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 07:58:12 +00:00