Граф коммитов

1571 Коммитов

Автор SHA1 Сообщение Дата
sharparrow1%yahoo.com 28f5411e95 Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:31:59 +00:00
sharparrow1%yahoo.com c78720aa24 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
Olli.Pettay%helsinki.fi 7bea6078a1 Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc 2007-01-31 16:02:42 +00:00
bzbarsky%mit.edu fea47b91b7 Remove some no longer needed code. Bug 368273, r+sr=dbaron 2007-01-30 05:52:27 +00:00
cvshook%sicking.cc 0c24c4a4c3 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu 32ea7d9340 Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org 47f4966b12 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc 2007-01-23 04:06:56 +00:00
bzbarsky%mit.edu cfe5a5a02b Remove some redundant (but not quite identical, hence asserting) logic. Bug
367587, r+sr=roc
2007-01-22 04:29:35 +00:00
bzbarsky%mit.edu 1556078e33 Don't do XUL collapsing stuff with HTML text inputs or HTML scrollframes. Bug
335628, r+sr=roc
2007-01-22 04:27:31 +00:00
bzbarsky%mit.edu c969f96078 Fix painting of focus outline for empty <select>s. Bug 362995, r+sr=roc 2007-01-17 23:17:30 +00:00
bzbarsky%mit.edu 6c80101d7b Fix the width computations for the dropdown to actually account for the border
and padding.  Bug 365837, r+sr=dbaron
2007-01-11 17:59:41 +00:00
bzbarsky%mit.edu 63074ebebb Notify correctly about legend frames being added -- need to mark all our
ancestors as having a dirty child, not just the immediate ancestor.  Bug
366537, r+sr=dbaron
2007-01-11 17:56:25 +00:00
bzbarsky%mit.edu dd57a299d6 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <anlan@lange.cx>, r+sr=roc
2007-01-08 02:57:59 +00:00
mats.palmgren%bredband.net 6798eb7996 OnChange is sometimes triggered for scripted changes. b=265047 r+sr=jst 2007-01-05 16:31:07 +00:00
jwatt%jwatt.org 688f763168 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc 2007-01-04 10:53:59 +00:00
timeless%mozdev.org abc256e3da Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org 45306477d3 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc 2006-12-20 01:23:45 +00:00
bzbarsky%mit.edu f3d10bd8a4 Remove the consumers of GetScrollBarDimensions so that we can work on removing
the API too.  Bug 364301, r+sr=roc
2006-12-19 15:08:34 +00:00
dbaron%dbaron.org 992a8cce12 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
uriber%gmail.com ed5255dc74 Use the containing block's direction (LTR/RTL) instead of this frame's direction when deciding on default alignment of the frame. bug=328181 r+sr=dbaron 2006-12-13 16:16:25 +00:00
roc+%cs.cmu.edu 25abf52118 Bug 344894. Process mContentFrame before mLegendFrame in nsFieldSetFrame::BuildDisplayList, because mContentFrame might have out-of-flow frames whose placeholders are in mLegendFrame and we always need to visit out-of-flow frames before their placeholders while building display lists. r+sr=dbaron 2006-12-10 21:53:53 +00:00
dbaron%dbaron.org 116da6be23 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net 9b5290ecf8 Make sure text input onchange handler is called before onblur. b=357684 r=Olli.Pettay sr=bzbarsky 2006-11-28 13:08:23 +00:00
bzbarsky%mit.edu 6b598dd7e3 Back out bug 354600 to fix regressions. 2006-11-19 20:23:56 +00:00
Olli.Pettay%helsinki.fi f9da27583e Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply 2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu 3aafd6506e Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc
2006-11-16 17:51:53 +00:00
bzbarsky%mit.edu f503d9857f Additional tweak to the patch for bug 355931 -- fix QI too. 2006-11-13 22:20:39 +00:00
bzbarsky%mit.edu 5f0b5e57ef Don't use frames to implement interfaces, dammit. Just don't! Bug 355931, r+sr=roc 2006-11-13 22:05:25 +00:00
masayuki%d-toybox.com 253587511a Bug 359496 focus outline on combobox <select>s is always drawn in black r+sr=dbaron 2006-11-04 17:28:39 +00:00
bzbarsky%mit.edu 37c08655db Fix combobox outlines. Bug 328340, r+sr=dbaron 2006-11-03 00:22:31 +00:00
bzbarsky%mit.edu 8e26e8602c When setting the textfield value via the filepicker, tell it that it's not
focused so that onchange will fire as it should.  Bug 355362, r+sr=jst
2006-10-15 15:39:35 +00:00
Olli.Pettay%helsinki.fi b97821c34f Bug 328907, Remove selectHas(No)Groups events, r+sr=sicking 2006-10-03 20:16:51 +00:00
mats.palmgren%bredband.net 60a88738bd Make sure we fire onchange also after selectedIndex was set to -1 through DOM. Thanks to Pablo Greco for helping fix this. b=317078 r+sr=roc 2006-09-30 05:07:49 +00:00
bzbarsky%mit.edu c3ff848eca Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc 2006-09-19 04:26:20 +00:00
bzbarsky%mit.edu 9fe49d2f46 Remove the business about not knowing our collapsed state at first. We do know
it, and we're collapsed.  Bug 352394, r=mats, sr=roc
2006-09-14 00:54:44 +00:00
sayrer%gmail.com c249dc7837 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
timeless%mozdev.org 1846fd9c62 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
uriber%gmail.com b39a27ddb6 When the control is RTL, align the drop-down with the right edge of the control. bug=203353 r=smontagu sr=bzbarsky 2006-08-13 19:34:58 +00:00
Olli.Pettay%helsinki.fi 20f02ccd8c Bug 231830, crash on style.display = 'none' for select element when event onchange occurs [@ nsStyleContext::GetRuleNode ][@ nsIFrame::Invalidate ], r+sr=bz 2006-08-11 12:09:30 +00:00
smontagu%smontagu.org 6c7ee15db2 Remove unnecessary hack for right-to-left file inputs. Bug 346726, r=uriber, sr=roc 2006-08-07 06:31:55 +00:00
bzbarsky%mit.edu fb91d2b203 Don't convert non-breaking spaces to spaces in text controls. Bug 218277,
patch by jst and jpl24 <jlurz24@gmail.com>, r=bryner, sr=dbaron
2006-08-07 03:27:49 +00:00
pkasting%google.com 48d836c35d Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking
2006-07-29 00:04:40 +00:00
Olli.Pettay%helsinki.fi 599fed1d7e Bug 345600, Crash [@ nsTextInputListener::UpdateTextInputCommands] using onselect and removing textarea, r+sr=roc 2006-07-26 07:58:18 +00:00
aaronleventhal%moonset.net 8cf5c3b9a2 Bug 241015. Remote XUL is not accessible. Patch by Alexander Surkov. r=aaronlev. Chrome r='s by neil and mano 2006-07-24 16:12:08 +00:00
mats.palmgren%bredband.net efceaa5ea8 Ignore mLegendFrame as previous sibling since it does not live in the content area frame. b=345249 r+sr=bzbarsky 2006-07-20 04:54:51 +00:00
cvshook%sicking.cc bf74205dd9 Fix error in last checkin for bug 344050. 2006-07-19 08:55:36 +00:00
cvshook%sicking.cc c7936e48f6 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
uriber%gmail.com 725062f912 Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc 2006-07-18 07:28:38 +00:00
sharparrow1%yahoo.com f7f13f3d6f Bug 344471: cleanups for checkbox and radio frames. r+sr=roc. 2006-07-13 05:05:54 +00:00
mats.palmgren%bredband.net 3c7c571960 Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part) 2006-07-06 10:43:51 +00:00
jst%mozilla.jstenback.com 82e5cf9fb2 Fixing bug 313337. Make input control onchange events only fire when the change is made by the user, not by script. r=bzbarsky@mit.edu, sr=bugmail@sicking.cc 2006-07-05 22:15:01 +00:00
mats.palmgren%bredband.net 8936a2975f Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky 2006-06-29 02:32:36 +00:00
roc+%cs.cmu.edu cdab87bb53 Fixing bustage 2006-06-08 03:22:44 +00:00
roc+%cs.cmu.edu e8ab4f3d1b Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky 2006-06-08 01:11:43 +00:00
timeless%mozdev.org 9391198a55 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
Olli.Pettay%helsinki.fi 198b2c0d8a 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 1c7c15de85 Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz 2006-05-15 19:35:12 +00:00
timeless%mozdev.org e93c3c8e69 Bug 336975 Function: nsIsIndexFrame::GetEncoder does not dereference "encoder" after assigning to *encoder
r=bz sr=bz
2006-05-11 13:23:55 +00:00
darin%meer.net 7d3e7d7acd 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 36f352636c Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
aaronleventhal%moonset.net 26291d4711 Bug 336162. Don't fire DOM events from layout. r+sr=bz 2006-05-03 17:02:37 +00:00
mrbkap%gmail.com 2c19fd92cf Only call GetCharCode for KeyPress events to avoid triggering a warning in nsDOMKeyEvent.cpp. bug 309316, r+sr=dbaron 2006-04-29 00:39:03 +00:00
roc+%cs.cmu.edu d4d6564919 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 d1cb1a6431 Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron 2006-04-25 19:56:45 +00:00
cvshook%sicking.cc a727022ef6 Bug 334977. Separate mFileName from mValue. r/sr=bz 2006-04-25 09:18:42 +00:00
leon.sha%sun.com 574701a2f1 Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
bzbarsky%mit.edu d57fab34ea Handle our single focused option being removed. Bug 325321, r=roc, sr=dbaron 2006-04-20 02:37:31 +00:00
roc+%cs.cmu.edu 59f7449a78 Bug 333817. Give listbox focus display item correct bounds. r+sr=bzbarsky 2006-04-18 02:41:42 +00:00
roc+%cs.cmu.edu 64bd04b75c Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
dbaron%dbaron.org ac49c790c1 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu a29e9fc444 Make sure to not use a localized label if the value is explicitly set to the
empty string.  Bug 330469, r+sr=sicking
2006-04-04 22:34:10 +00:00
roc+%cs.cmu.edu dba51376ea 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 2006-03-26 21:30:36 +00:00
Olli.Pettay%helsinki.fi 04cfde2d6f Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
cvshook%sicking.cc 433c662394 Relanding patches that (hopefully) don't affect Tdhtml 2006-03-24 00:09:50 +00:00
cvshook%sicking.cc 6cc41878a9 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364. 2006-03-23 08:21:21 +00:00
bzbarsky%mit.edu c50f975dda Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron 2006-03-16 01:30:38 +00:00
dbaron%dbaron.org 1eb1c55661 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 2006-03-15 16:55:19 +00:00
pavlov%pavlov.net f33ad65b06 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu f4d2e578db Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu a318a1ebb6 Fixing bustage 2006-03-14 21:02:42 +00:00
roc+%cs.cmu.edu b6cb8cbd08 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 2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu 118721c5f7 Bug 329465. Don't hold a strong ref to the event queue service from nsComboboxControlFrame. r+sr=roc, patch by Marc Liddell. 2006-03-09 19:24:54 +00:00
roc+%cs.cmu.edu d0abdc1385 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
cvshook%sicking.cc 9e3c81007f Bug 325426: Only use baseURI to resolve relative uris. r=bz sr=jst 2006-03-08 05:01:16 +00:00
Olli.Pettay%helsinki.fi c0e37e327a Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
roc+%cs.cmu.edu 4c57b8ad12 Bug 328898. deCOMtaminate signatures on nsIListControlFrame.h. Patch by Marc Liddell, r+sr=roc 2006-03-01 01:00:29 +00:00
roc+%cs.cmu.edu 83f6e177f0 Backing out changes for bug 326944, really this time\! 2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu fd3e29f002 Putting nsIComboboxControlFrame.h back in preparation to revert checkin for bug 326944. 2006-02-27 03:20:30 +00:00
roc+%cs.cmu.edu 9db21fe867 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell 2006-02-27 02:45:20 +00:00
roc+%cs.cmu.edu 7a891e1dd1 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell 2006-02-27 02:33:26 +00:00
timeless%mozdev.org 6a510cc56b Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
sharparrow1%yahoo.com d45fd0ffab Trivial; attempt to fix linux bustage 2006-02-21 01:27:11 +00:00
sharparrow1%yahoo.com acef3d3622 Bug 327868: nsIFrameSelection cleanup. r+sr=roc 2006-02-21 00:49:04 +00:00
roc+%cs.cmu.edu 04606c6413 Bug 326827. Don't allow mouse events to target button contents. r+sr=dbaron 2006-02-19 20:14:11 +00:00
sharparrow1%yahoo.com 00eb969667 Bug 326843 DeCOMtaminate some of nsComboboxControlFrame. Patch by marcldl+mozbugs@gmail.com. r+sr=roc. 2006-02-18 01:52:03 +00:00
sharparrow1%yahoo.com 13dec86a62 Bug 326883 - Cleanup unused methods. r+sr=roc 2006-02-16 00:30:29 +00:00
bzbarsky%mit.edu e1d7da4b8b 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
2006-02-13 19:42:08 +00:00
bzbarsky%mit.edu 723e09d74c More usage of already_AddRefed. Fix leaks too. Bug 325378, r=sicking, sr=jst 2006-02-09 16:23:32 +00:00
bzbarsky%mit.edu f886e188c9 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
2006-02-09 03:50:53 +00:00
dbaron%dbaron.org b953609bf4 Remove old native widget code that we were only keeping around for viewer. b=326417 r+sr=roc 2006-02-08 20:09:19 +00:00
bzbarsky%mit.edu 0bb2933e0e Add comment as promised; still bug 326019. 2006-02-06 22:27:58 +00:00
bzbarsky%mit.edu a6b118ee12 Fix bug 326019. r+sr=roc 2006-02-06 22:08:10 +00:00
bzbarsky%mit.edu 47b56aded9 Make sure to always produce our value. Bug 324377, r+sr=roc 2006-02-03 18:45:01 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu 23ba870fb6 Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu 54a1b44623 Bug 324852. Clean up missing uses of NS_DISPLAY_DECL_NAME for a tiny space saving with frame display lists 2006-01-26 22:58:22 +00:00
roc+%cs.cmu.edu 5451e97878 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
roc+%cs.cmu.edu 0f45c37baf Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron 2006-01-22 23:20:56 +00:00
cvshook%sicking.cc 7d9189938d Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
bmlk%gmx.de 4541761c29 Avoid reframing inside button frames and move the frame creation entirely into the frame constructor, bug 51767, r=mats sr=roc 2006-01-13 07:58:12 +00:00
joshmoz%gmail.com b5586d065f Enable popup windows in Cocoa widgets. This puts 2 app-specific ifdefs in tier 9 code, but we plan to take care of those soon. We can use a pref so that the same binary can serve the needs of Camino and other Cocoa widget consumers. b=316076 r=mento sr=pinkerton 2006-01-11 19:09:20 +00:00
cvshook%sicking.cc 0f489187a0 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +00:00
bzbarsky%mit.edu 8661204354 Make sure to return in the error condition, not just pop the JSContext stack
and continue.  Bug 321494, r=sicking, sr=brendan
2006-01-06 23:32:21 +00:00
dbaron%dbaron.org d6cb02a3c5 Give the extra reflow state a correct parent so it doesn't confuse the auto-offset code. b=317502 r+sr=roc 2005-12-21 03:31:47 +00:00
mrbkap%gmail.com 8f7adc738f bug 315752: Crashes and assertions happening in DoDeletingFrameSubtree when <select>s are in the air. The fix is to make DoCleanupFrameReferences clean up additional child lists. Patch by bzbarsky. r=roc/mats/mrbkap sr=roc 2005-12-20 02:06:14 +00:00
roc+%cs.cmu.edu 818e8f7d8f Bug 320337. Remove mFrameConstructor member from nsListBoxBodyFrame. patch by Vidar Harr, r+sr=roc 2005-12-16 02:56:36 +00:00
roc+%cs.cmu.edu 21e8f8f7bf Fixing bustage 2005-12-13 00:57:56 +00:00
roc+%cs.cmu.edu ae7c6937c0 Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc 2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu e9e80071d7 Remove the mGoodToGo goop. Its main effect seems to be to cause crashes when
HTML <select>s are used in XUL.  Bug 319796, r+sr=roc
2005-12-11 20:45:58 +00:00
bzbarsky%mit.edu c687786159 Fix crash bug 282707. Patch by Mats Palmgren <mats.palmgren@bredband.net>, r+sr=bzbarsky 2005-12-08 19:01:20 +00:00
bzbarsky%mit.edu 63ebcc227e Remove no longer needed event hack. Bug 146399, patch by Vidar Haarr
<vhaarr+bmo@gmail.com>, r=dbaron, sr=rbs
2005-12-08 01:44:30 +00:00
roc+%cs.cmu.edu cdc6395d43 Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
bzbarsky%mit.edu b4b5adfb40 Don't store the "normal" frame state for the root scrollframe, for now. Bug
318709, r+sr=roc
2005-12-06 23:56:17 +00:00
brettw%gmail.com 97c9c6513a Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky 2005-12-05 18:07:33 +00:00
neil%parkwaycc.co.uk 480f8e01d3 Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst 2005-12-02 12:02:44 +00:00
jst%mozilla.jstenback.com 7a5af690c6 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
bzbarsky%mit.edu 91c39e17ee Treat inline and block buttons more uniformly. Bug 304004, r+sr=dbaron 2005-11-22 23:39:48 +00:00
timeless%mozdev.org b20620f6ab 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
bzbarsky%mit.edu 51b9851ef9 Relanding bug 305705. Patch still by mats, r+sr=me. 2005-11-15 04:03:08 +00:00
bzbarsky%mit.edu 8b8aea99d7 Back out bug 305705 to test performance impact. 2005-11-15 02:16:25 +00:00
bzbarsky%mit.edu 7a4d3d58f6 Make sure to do a constrained reflow after having done an unconstrained one.
Bug 305705, patch by Mats Palmgren <mats.palmgren@bredband.net>, r+sr=bzbarsky
2005-11-14 21:51:17 +00:00
bsmedberg%covad.net dff1dea638 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu d777663fe3 Remove the dummy frame stuff from selects. Replace it with smarter focus rect
painting and sizing for empty selects.  Bug 314879, r+sr=dbaron
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu c4070dec03 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu 2e1fe576cc Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
cvshook%sicking.cc 9c1b72f7f8 Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
roc+%cs.cmu.edu c0905bd67d Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc 2005-10-26 21:46:39 +00:00
bzbarsky%mit.edu eb81fa6f19 Fix bug 313498 -- no need for aPresContext in GetOptionsContainer. r+sr=roc. 2005-10-23 22:11:27 +00:00
mats.palmgren%bredband.net 9fa392bb47 Don't compare the displayed value against the "selected index" in dropped down mode since that is actually the "hovered index". b=313260 r+sr=bzbarsky 2005-10-22 03:47:00 +00:00
bzbarsky%mit.edu 83f4ce4445 Start out with our display textnode in the right state so we don't require
two-pass reflow (which printing can't handle) to display comboboxes right. Bug
311380, r+sr=roc
2005-10-20 23:19:22 +00:00
bzbarsky%mit.edu 270f250639 Fix bug 309467. r=jst, sr=neil 2005-10-20 02:10:31 +00:00
dbaron%dbaron.org 6eeb36fbe9 Indentation fixes needed after s/nsIPresContext/nsPresContext/. Whitespace changes only. 2005-10-15 04:08:04 +00:00
roc+%cs.cmu.edu 69d1e6fc62 Bug 258875. Make a file upload control's textbox be read-only and take it out of the tab order. Clicking on the textbox will open the filepicker. r+sr=dbaron 2005-09-30 22:01:54 +00:00
peterv%propagandism.org bc66f35d62 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
mats.palmgren%bredband.net 60eeaebff8 Call 'RemoveMappingsForFrameSubtree()' before destroying 'mPopupFrames'. b=117984 r+sr=bzbarsky 2005-09-20 20:28:02 +00:00
roc+%cs.cmu.edu b1e6622e4e 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 cfe8503483 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
aaronleventhal%moonset.net c2e8b2b1ab Bug 306437. Onchange events fired twice for option selection via mouseclick. r=dbaron, sr=neil 2005-09-04 18:20:56 +00:00
bzbarsky%mit.edu 8f8d6d15e9 Make sure kepress handlers are not affected by Caps Lock state. Bug 295228,
patch by Dainis Jonitis <Dainis_Jonitis@swh-t.lv>, r=neil, sr=bzbarsky
2005-08-30 18:13:48 +00:00
roc+%cs.cmu.edu 31124c236b 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 692c9e00f2 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 4ca6fcf9b4 In the XUL autocomplete widget, make user-initiated autocomplete dispatch an oninput event, just as if the user had typed the text. Also fixing a bug where it was not possible to create an oninput event from script. Bug 287996, r=mconnor sr=jst. 2005-08-22 18:34:21 +00:00
bzbarsky%mit.edu 9b94f5f8c3 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
gavin%gavinsharp.com 8fd3968dfb Bustage fix #1, remnant from another patch 2005-08-16 12:42:34 +00:00
gavin%gavinsharp.com 0b638620e3 Bug 301313 : Remove mPresContext in /layout/forms/, patch by Andreas Lange <mozilla@lange.cx>, r+sr=roc 2005-08-16 12:20:58 +00:00
timeless%mozdev.org 0f1d90592e Bug 302356 Crash when drag-scrolling combobox [@ nsIFrame::HasView][@ nsIFrame::GetOffsetTo]
r=roc sr=roc a=bsmedberg
2005-08-07 14:35:45 +00:00
masayuki%d-toybox.com 5a4f69b58c Bug 302959 If the a element in the legend element got focus, the ancestor table width is broken r+sr=dbaron, a=benjamin 2005-08-02 14:58:55 +00:00
bzbarsky%mit.edu 961ac52c7b Fix leaks on any page with a <select> by using already_AddRefed instead of a
raw addrefed return so that callers can't screw up as easily.  Bug 300833,
r+sr=roc, a=bsmedberg
2005-07-28 16:23:22 +00:00
roc+%cs.cmu.edu 9651c56b94 Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg 2005-07-25 23:23:53 +00:00
mats.palmgren%bredband.net 57b3c45839 Consider height of <OPTGROUP> labels when calculating visible height. b=300474 r+sr=bzbarsky a=benjamin 2005-07-24 01:02:15 +00:00
aaronleventhal%moonset.net 1396cbae99 Bug 290354. Support multiple selection. r=timeless, sr=bryner, a=asa 2005-07-14 14:20:21 +00:00
roc+%cs.cmu.edu e7fe85d510 Bug 291443. Capture the mouse if the user clicks on an item in a showed drop-down list. r+sr=bzbarsky,a=asa 2005-07-10 23:46:56 +00:00
cvshook%sicking.cc 0e9ae70de9 Bug 296764: Move html keybindings to chrome to make sure they work even with js turned off
r=bsmedberg sr=jst a=bsmedberg
2005-06-29 22:41:59 +00:00
roc+%cs.cmu.edu 7c2d474fa9 Restoring fix for bug 295571 2005-06-22 01:38:49 +00:00
roc+%cs.cmu.edu c73317a666 Backing out fix for bug 295571 to see if that caused Tp hurt 2005-06-21 23:22:33 +00:00
roc+%cs.cmu.edu a9a3a68f28 Bug 295571. Make sure we resize the combobox dropdown's view and widget if we reflow the combobox while its dropdown is showing. r+sr=dbaron,a=chofmann 2005-06-21 04:04:12 +00:00
mats.palmgren%bredband.net 5e77d4ed06 Stop trying to observe content changes for the selected option, instead rely on getting a combobox reflow if it changed. b=297389 r+sr=roc a=asa 2005-06-21 00:00:14 +00:00
mats.palmgren%bredband.net 0ecbb26a36 Adjust current index of combobox when options are added or removed. b=286170 r+sr=bzbarsky a=asa 2005-06-20 23:26:35 +00:00
roc+%cs.cmu.edu ff9911cea1 Bug 290428. Don't change listbox selection when the cursor is over the listbox border and we're not capturing the mouse. r+sr=bzbarsky,a=asa 2005-06-17 02:44:31 +00:00
roc+%cs.cmu.edu bc940b42a3 Bug 292656. 'Fully unconstrained' reflows should only depend on the width being unconstrained, since the dropdown layout doesn't depend on the computed height. r+sr=dbaron,a=asa 2005-06-17 02:42:29 +00:00
roc+%cs.cmu.edu b9fd13b1e0 Bug 296803. Don't start list item selection prematurely when the combobox pops up above the select control. r+sr=me, patch by Jan Darmochwal, a=asa 2005-06-14 22:15:53 +00:00
bzbarsky%mit.edu 1ec3a59a97 Make fieldsets always be containing blocks. Bug 296722, r+sr=dbaron,
a=asa
2005-06-12 20:33:35 +00:00
roc+%cs.cmu.edu cee1401380 Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver 2005-06-02 09:00:48 +00:00
aaronleventhal%moonset.net ef752f8ca9 Bug 289376. Fix description and value for combo boxes. r=louie.zhao, sr=jst. a=asa 2005-05-05 15:05:34 +00:00
bzbarsky%mit.edu 0597971698 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
jst%mozilla.jstenback.com c4b8dd4f16 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 af00f217f9 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
bzbarsky%mit.edu f19721ed4a Make file input frames correctly store their value in the content node even if
the whole presentation is coming down.  Bug 287120, r=sicking, sr=jst, a=brendan
2005-04-28 17:11:22 +00:00
bzbarsky%mit.edu 6760efec13 Make text control state restoration work right even in subframes loaded from a
different website.  Bug 287446, r+sr=jst, a=chofmann
2005-04-26 03:31:29 +00:00
roc+%cs.cmu.edu db10a0b5d2 Bug 291443. Listboxes should always direct mouse capture to their scrolled frame, to ensure that events reach the DOM event listener. r+sr=bzbarsky,a=chofmann 2005-04-26 03:14:38 +00:00
bzbarsky%mit.edu f911f30fc9 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu 559ddeb319 Flush out content model construction before messing with the DOM, since we plan
to insert frames into our display frame and putting options in there is a bad
idea.  Bug 289730, r+sr=roc, a=asa
2005-04-12 15:31:03 +00:00
roc+%cs.cmu.edu f01be9603d Bug 289179. Fix regression by having nsTextControlFrame find its scrollable view again. r+sr+a=dbaron 2005-04-06 20:50:58 +00:00
ginn.chen%sun.com 8eb0a2c4cc Bug 260399 disabled textarea/input should use DEFAULT pointer
r+sr=bzbarsky
2005-04-04 10:35:50 +00:00
mats.palmgren%bredband.net 306df79b00 Revoke outstanding events before posting a new RedisplayTextEvent to avoid potential out-of-order events which could mean displaying the wrong text. b=288821 r+sr=bzbarsky 2005-04-03 22:16:07 +00:00
mats.palmgren%bredband.net 45c2f6f0ad Remove code that does not work with outstanding RedisplayText events. b=288821 r+sr=bzbarsky 2005-04-03 19:58:40 +00:00
roc+%cs.cmu.edu 5407685688 Bug 287592. Make buttons return the correct overflow area from reflow. r+sr=dbaron 2005-03-31 02:19:48 +00:00
roc+%cs.cmu.edu 6fad3a4fec Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky 2005-03-28 21:08:22 +00:00
mats.palmgren%bredband.net 78343a58c1 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
aaronleventhal%moonset.net c8fe7fb465 Bug 287390. Problems with accessibility of image, submit, reset and file control buttons. r=pkwarren, sr=jst 2005-03-27 03:03:11 +00:00
bmlk%gmx.de cff1ac8a0e fix for build warnings (shadow & strange null pointer treatment) bug 287102 r/sr=dbaron 2005-03-24 18:41:39 +00:00
mats.palmgren%bredband.net 54800c011d Avoid recursive frame construction by using an event to call ActuallyDisplayText(). b=283117 r+sr=bzbarsky 2005-03-21 01:58:17 +00:00
ginn.chen%sun.com 94f0a440cd Bug 262236 Can't select listitems which are not next to.
patch=neo.liu at sun.com, r=aaronleventhal sr=neil
2005-03-08 03:05:03 +00:00
roc+%cs.cmu.edu 57e2a66ece Bug 267037. Buttons should delegate child frames to the wrapped block, and tell the style system that legends are always blocks. Fixes a couple of crashes. r+sr=bzbarsky 2005-03-07 19:08:26 +00:00
jst%mozilla.jstenback.com cef561a155 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com 2005-03-04 02:01:54 +00:00
bryner%brianryner.com d65c99498f Fix autocomplete in message compose by making oninput start off enabled, and just disabling it within SetValue. Bug 282645, r= (and lots of ideas from) neil, sr=bzbarsky. 2005-03-02 01:19:19 +00:00
mats.palmgren%bredband.net 2f6c08d48c Redirect frame insertions during RedisplayText(). b=282607 r+sr=bzbarsky 2005-02-19 23:54:36 +00:00
bzbarsky%mit.edu e22c7d9fac 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 14d540f68f Setting selectedIndex should clear all "previous value" state so that onchange
won't fire unless the user actually changes the value from the one set by
setting selectedIndex.  r=mats, sr=roc, a=roc
2005-02-17 04:29:37 +00:00
smfr%smfr.org 994776bdf7 Fix bug 281732: event handling in camino's native popup got broken when screen-relative coordinates in Cocoa widget were fixed (bug 281470), which caused the nsComboboxControlFrame/nsListControlFrame code to start doing mouse capture, and showing the XUL popup. So add a static method, ToolkitHasNativePopup(), and query that (rather than #ifdeffing). r/sr=roc, a=dbaron. 2005-02-16 05:13:16 +00:00