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

1411 Коммитов

Автор SHA1 Сообщение Дата
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