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

1707 Коммитов

Автор SHA1 Сообщение Дата
mats.palmgren%bredband.net 360e69b64a Protect against frame destruction during event handling and document when that can occur. b=378670 r+sr=bzbarsky 2007-05-17 11:12:31 +00:00
Olli.Pettay%helsinki.fi 6721d4f009 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi 8e287d3582 backout Bug 363089 2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi 670f53f666 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu c7a6b387d2 Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu defebb99c4 Fixing build bustage 2007-05-05 06:37:05 +00:00
bzbarsky%mit.edu 86f8732e12 Don't cut off the right-hand side of empty comboboxes. Bug 364510, r+sr=dbaron 2007-05-05 06:20:10 +00:00
bzbarsky%mit.edu 8f5c7263d5 Make computed style handle "normal" for line-height by computing an actual
numeric height.  Bug 371041, r+sr=dbaron
2007-05-05 05:30:10 +00:00
dbaron%dbaron.org 847bd485ed Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu b1e55b927c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu 0c8a06d0ff Make assertion reflect reality better. Bug 357044, r+sr=roc 2007-04-26 01:17:05 +00:00
benjamin%smedbergs.us 3fb4912f5d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 14:22:04 +00:00
sharparrow1%yahoo.com b00fed5d90 Bug 378129: Consistently pass the right frame to InvalidateInternal. r+sr=roc. 2007-04-20 23:51:13 +00:00
bzbarsky%mit.edu d9f302946b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 21:11:47 +00:00
joshmoz%gmail.com 7e2d9903fc remove app-specific code from tier-9 code. add a pref to handle native popup windows on Mac OS X instead. b=323062 r=smorgan sr=bsmedberg 2007-03-30 19:51:52 +00:00
Olli.Pettay%helsinki.fi caa7e9b8e7 375196, r+sr=roc 2007-03-26 05:38:22 +00:00
dbaron%dbaron.org 260b595874 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc 2007-03-20 00:58:20 +00:00
bugzilla%standard8.demon.co.uk d675071766 Bug 373240 Uppercase the VK_* bits for consistency with the rest of the codebase (Dv1, layout) p=Serge Gautherie <sgautherie.bz@free.fr>,r/sr=dbaron 2007-03-19 20:00:12 +00:00
Olli.Pettay%helsinki.fi 7d17706351 Bug 373586 , r+sr=roc 2007-03-19 10:23:29 +00:00
Olli.Pettay%helsinki.fi baa57a0277 Backout bug 373586 2007-03-19 08:13:01 +00:00
Olli.Pettay%helsinki.fi 5ded4359e5 Bug 373586 , r+sr=roc 2007-03-19 06:30:41 +00:00
sharparrow1%yahoo.com 7adefecdb0 Bug 373381: Rendering of radios/checkboxes with auto width has regressed. r+sr=roc. 2007-03-14 02:47:05 +00:00
bzbarsky%mit.edu 1e2f4f8aae Make the display frame resize correctly when the <select>'s width changes. Bug
370422, r+sr=dbaron
2007-02-28 03:04:38 +00:00
dbaron%dbaron.org b985c7a438 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc 2007-02-24 18:33:33 +00:00
mats.palmgren%bredband.net 1b386f6a96 Make nsFileControlFrame, nsIsIndexFrame and nsLegendFrame QI to kBlockFrameCID. b=370933 r+sr=bzbarsky 2007-02-24 04:42:53 +00:00
sharparrow1%yahoo.com 199d4d164d Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc. 2007-02-24 00:23:42 +00:00
bzbarsky%mit.edu 072e700041 deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
GetVAlign(), GetHAlign().  Remove GetInset().  Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
2007-02-22 18:05:14 +00:00
asqueella%gmail.com adbef41e83 fix 370967 - crash when focusing the input of an <isindex> and then reloading the document
(move the (mInputContent)->RemoveEventListenerByIID call from the destructor to Destroy() so that it actually gets called.)
r+sr=roc
2007-02-20 20:25:14 +00:00
bzbarsky%mit.edu fe88b5e467 Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
NS_BLOCK_SPACE_MGR bits as necessary.  Bug 354600, r+sr=roc
2007-02-18 23:53:25 +00:00
asqueella%gmail.com 3be3ebf36a bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
asqueella%gmail.com 2213149a5d bug 370371 - remove nsIImageControlFrame, have the frame set the last clicked point as a property on its mContent instead.
r+sr=roc
2007-02-18 16:49:54 +00:00
martijn.martijn%gmail.com f773d3a047 Bug 336147 � Changing innerHTML for input type=button causes miss-rendering, patch by Ryan Jones, r+sr=roc 2007-02-17 14:14:08 +00:00
joshmoz%gmail.com 32d7a05759 extend nsITheme to support native focus drawing. b=370549 r=dbaron sr=roc 2007-02-16 01:53:43 +00:00
sharparrow1%yahoo.com 7a228adbff Bug 370303: Cleanup in layout/forms. r+sr=roc. 2007-02-15 10:58:31 +00:00
smontagu%smontagu.org c518c1c5de Remove obsolete state bit NS_BLOCK_SHRINK_WRAP. Bug 369243, r=bz, sr=dbaron 2007-02-15 05:07:57 +00:00
joshmoz%gmail.com 9c0e68d2fc cleanup. r+sr=dbaron 2007-02-14 21:00:15 +00:00
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
bryner%brianryner.com f5f96d132a Don't dispatch oninput events when the value of an input is changed programatically. This prevents unwanted opening of the autocomplete popup when a username is prefilled. Bug 272002, r+sr=bzbarsky, a=caillon. 2005-02-15 23:14:42 +00:00
bzbarsky%mit.edu 726f0d35da 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
bryner%brianryner.com 30d64853e0 Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst. 2005-02-07 23:53:47 +00:00
aaronleventhal%moonset.net 2405f82c91 Bug 280871. Fix various problems with how we expose HTML and XUL combo boxes via accessibility APIs 2005-02-07 23:11:30 +00:00
bzbarsky%mit.edu b626abc29c Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
mats.palmgren%bredband.net 4474d25063 Make assignments to DOM 'selectedIndex' change the focused index for lists/comboboxes. b=279868 r+sr=bzbarsky 2005-02-04 22:56:13 +00:00
mats.palmgren%bredband.net 0093e7e682 If text is scrolled out-of-view to the left and there is room for it to be visible then scroll it in to view. b=268352 r+sr=bzbarsky 2005-02-04 21:56:07 +00:00
bzbarsky%mit.edu a4a73b6eac Make fieldsets return false for CanPaintBackground, since they don't paint it
over their whole rect.  Bug 277313, r+sr=roc
2005-02-02 00:32:11 +00:00
dbaron%dbaron.org 0e86a9d03e Put the null-check *before* the crash it's supposed to prevent (which timeless saw, somehow). 2005-02-01 07:35:20 +00:00
bryner%brianryner.com 5b8aeed3b1 Remove nsIPresState (bug 279699). r+sr=roc. 2005-01-27 22:52:53 +00:00
mats.palmgren%bredband.net c3b6c9c334 Make Fieldset reparent its children correctly and trigger a reflow when needed. Fix a couple of sizing/invalidation problems in Reflow(). b=276104 r=bzbarsky sr=dbaron 2005-01-25 00:06:38 +00:00
cvshook%sicking.cc 163b6ef1cc Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst
2005-01-25 00:02:58 +00:00
aaronleventhal%moonset.net b1e4b5aac8 Attempt to fix Neil's bustage 2005-01-19 03:34:38 +00:00
neil%parkwaycc.co.uk 51faac852b Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
mats.palmgren%bredband.net fed71d1962 Add NS_FRAME_INDEPENDENT_SELECTION to ListControlFrame (and children) and skip such frames (TextControlFrame also) in GetContentAndOffsetsFromPoint() when the point is only "near" (not inside) the frame. b=268497 r=bzbarsky sr=dbaron 2005-01-16 18:44:01 +00:00
bryner%brianryner.com 5e2d6d2947 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
mats.palmgren%bredband.net 2c06b92330 Propagate NS_FRAME_HAS_CHILD_WITH_VIEW to the area frame. b=276236 r=bzbarsky sr=dbaron 2005-01-03 07:27:11 +00:00
bmlk%gmx.de e4402cbb7f remove forgotten prescontext bug 276719 p=bugmail@q1n.org r/sr=dbaron 2005-01-02 15:46:53 +00:00
mats.palmgren%bredband.net a9c3918a21 Swap the order between the legend and area frames in a fieldset to fix selection and tabbing problems. b=236071 r+sr=bzbarsky 2005-01-02 14:30:24 +00:00
neil%parkwaycc.co.uk 416f37d27d Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron 2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk c2ea7ec445 Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
cbiesinger%web.de e42c2d976d 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
2004-12-30 21:56:11 +00:00
bmlk%gmx.de 917905359e remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
bmlk%gmx.de ef4604f958 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
dbaron%dbaron.org 1cc6b3262a Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv 2004-12-19 21:45:51 +00:00
dbaron%dbaron.org 48a696beb8 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
robin.lu%sun.com 3aa8b0b9fa back out patch for bug 262236 on request 2004-12-16 06:40:04 +00:00
bsmedberg%covad.net 81a0de68d5 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
robin.lu%sun.com b80941eab1 fix bug 262236 can't select incontinuous list items. patched by nian.liu@sun.com r=aaron sr=neil 2004-12-13 07:34:54 +00:00
dbaron%dbaron.org 178b5e327a Bug 272151: reorganize files within layout, r+sr=roc: add new Makefiles. 2004-12-07 18:09:28 +00:00
bzbarsky%mit.edu 5ba288dcc4 Disable undo for password inputs to prevent replay attacks. Bug 271154,
r+sr=dbaron
2004-12-05 18:26:13 +00:00
aaronleventhal%moonset.net 3f39d3f81d Bug 269212. CSS select:focus outline too large on combobox, extending past the right side. Make sure to FinishAndStoreOverflow() even if returning early from nsComboboxFrame::Reflow(). r+sr=roc 2004-12-01 16:17:44 +00:00
neil%parkwaycc.co.uk d13fb54f7e 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
aaronleventhal%moonset.net 7504e97ddf Bug 250269. Outlines not getting painted on buttons, radios, checkboxes, tables and table cells. r+sr=roc 2004-11-11 15:07:22 +00:00
timeless%mozdev.org ea2f3df3b9 Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
darin%meer.net f94aa8151e fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
bzbarsky%mit.edu 683944da62 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
darin%meer.net 96c79cea45 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu 584347c0ad Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers.  Bug 264914, r+sr=roc
2004-10-30 21:43:49 +00:00
bmlk%gmx.de 20aad1878f prevent lookup of frame state bits of nonexisting child frames bug 266225 r/sr=bzbarsky 2004-10-27 16:11:08 +00:00
bzbarsky%mit.edu 4ac3752524 Always give <isindex> a space manager. Bug 265371, r+sr=roc 2004-10-27 01:36:35 +00:00
cbiesinger%web.de a620a414ef whoops. fixing bustage. 2004-10-14 19:05:31 +00:00
cbiesinger%web.de 1de9caa417 no bug - remove unused header includes, and remove an unused local variable.
r+sr=bz
2004-10-14 18:48:42 +00:00
bmlk%gmx.de 4f3a341ec2 decouple the maxWidth form the desiredSize.width, debug code removal, bug 237159 r/sr=dbaron 2004-10-14 17:37:54 +00:00
aaronleventhal%moonset.net 24eabf40af 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
dbaron%dbaron.org 7150424d2e Use |this| instead of getting the frame from the reflow state, since the frame from the reflow state is wrong when we're in a XUL textbox. b=263806 Patch from Hideo Saito <saito@densan.co.jp>. r=bernd sr=dbaron 2004-10-12 17:58:28 +00:00
smontagu%smontagu.org 1fcd4a6f26 Bug 167001: Anything below the baseline goes out of input field. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=dbaron 2004-10-10 18:30:28 +00:00
bzbarsky%mit.edu 0e5e7500e9 Followup to bug 260922 -- don't crash on frame teardown if the thing that got a
text control frame is neither an input nor a textarea.  r+sr=jst
2004-10-02 16:14:56 +00:00
bzbarsky%mit.edu 083f0768b6 Don't crash if someone pretends to be a form control (via XBL) without implementing
nsIFormControl.  Bug 260922, r+sr=jst
2004-09-30 19:15:59 +00:00
jst%mozilla.jstenback.com 92d2b13a4f Fixing bug 257523. Prevent Copy & Paste with generated DOM events. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=dveditz@cruzio.com 2004-09-30 16:29:54 +00:00
roc+%cs.cmu.edu 57e7e78a04 Bug 62384. Invalidate cached height when it's not equal to the current height. r+sr=roc, patch by Hideo Saito. 2004-09-29 01:44:29 +00:00
neil%parkwaycc.co.uk 1c346b8beb 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
bmlk%gmx.de d55596f402 fix MEW computation regression introduced by my previous checkin bug 257955 r/sr=roc 2004-09-20 12:40:20 +00:00
roc+%cs.cmu.edu cdaf90f7e4 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
aaronleventhal%moonset.net 6e3446f4df Bug 255569. HTML combo box drop downs should not be in tab order. r=neil, sr=bryner 2004-09-08 19:32:29 +00:00
bryner%brianryner.com d342e8f7b4 Add support for native keybindings for input and textarea for gtk2. This allows us to respect the GTK keybinding preferences. Bug 257405, r=blizzard, sr=roc. 2004-09-07 21:21:48 +00:00
roc+%cs.cmu.edu da54d83f54 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron%dbaron.org 2e93a67964 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org 4db1f75805 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org 462cb0cabd Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:22:15 +00:00
bryner%brianryner.com 6893d6442d Update the displayed text when closing a combobox with the keyboard causes a new option to be selected. Bug 257572, r=mkaply, sr=jst. 2004-09-02 21:10:40 +00:00
aaronleventhal%moonset.net ee255c951a Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
bryner%brianryner.com f7a0694a86 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bmlk%gmx.de 1134a9f349 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc 2004-08-31 18:50:40 +00:00