joshmoz%gmail.com
1c4d7d8dbb
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
...
git-svn-id: svn://10.0.0.236/trunk@187343 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 19:09:20 +00:00
cvshook%sicking.cc
d3d2e97d3b
Bug 321294: Remove unused ReplaceFrame codepaths.
...
r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@187266 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 22:58:37 +00:00
bzbarsky%mit.edu
6c370bdcdf
Make sure to return in the error condition, not just pop the JSContext stack
...
and continue. Bug 321494, r=sicking, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@187107 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 23:32:21 +00:00
dbaron%dbaron.org
5feaef5f29
Give the extra reflow state a correct parent so it doesn't confuse the auto-offset code. b=317502 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@186352 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-21 03:31:47 +00:00
mrbkap%gmail.com
597f4dbb78
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
...
git-svn-id: svn://10.0.0.236/trunk@186305 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 02:06:14 +00:00
roc+%cs.cmu.edu
1c090ad037
Bug 320337. Remove mFrameConstructor member from nsListBoxBodyFrame. patch by Vidar Harr, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@186149 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 02:56:36 +00:00
roc+%cs.cmu.edu
6c53a55208
Fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@185980 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 00:57:56 +00:00
roc+%cs.cmu.edu
74858f37ce
Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@185977 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu
2512824da5
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
git-svn-id: svn://10.0.0.236/trunk@185924 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 20:45:58 +00:00
bzbarsky%mit.edu
6a36664955
Fix crash bug 282707. Patch by Mats Palmgren <mats.palmgren@bredband.net>, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185809 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 19:01:20 +00:00
bzbarsky%mit.edu
510247e8b6
Remove no longer needed event hack. Bug 146399, patch by Vidar Haarr
...
<vhaarr+bmo@gmail.com>, r=dbaron, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@185782 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 01:44:30 +00:00
roc+%cs.cmu.edu
66e8f6e1aa
Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman
...
git-svn-id: svn://10.0.0.236/trunk@185773 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 23:08:39 +00:00
bzbarsky%mit.edu
0c494d3744
Don't store the "normal" frame state for the root scrollframe, for now. Bug
...
318709, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185743 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 23:56:17 +00:00
brettw%gmail.com
6f8da34eb9
Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185706 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 18:07:33 +00:00
neil%parkwaycc.co.uk
ee9ce4336b
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
...
git-svn-id: svn://10.0.0.236/trunk@185568 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 12:02:44 +00:00
jst%mozilla.jstenback.com
895df6e6ca
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
bzbarsky%mit.edu
0804a24fa6
Treat inline and block buttons more uniformly. Bug 304004, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@185169 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 23:39:48 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bzbarsky%mit.edu
c448e0b84c
Relanding bug 305705. Patch still by mats, r+sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@184634 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-15 04:03:08 +00:00
bzbarsky%mit.edu
2d5a8594d0
Back out bug 305705 to test performance impact.
...
git-svn-id: svn://10.0.0.236/trunk@184630 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-15 02:16:25 +00:00
bzbarsky%mit.edu
a647d82467
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
git-svn-id: svn://10.0.0.236/trunk@184598 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:51:17 +00:00
bsmedberg%covad.net
0217e2f9a9
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
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
d490f00b7b
Remove the dummy frame stuff from selects. Replace it with smarter focus rect
...
painting and sizing for empty selects. Bug 314879, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@184162 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
35affbc82e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@183357 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:40:54 +00:00
cvshook%sicking.cc
b26f9f52fb
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
roc+%cs.cmu.edu
2b50a04fc6
Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 21:46:39 +00:00
bzbarsky%mit.edu
ebec986940
Fix bug 313498 -- no need for aPresContext in GetOptionsContainer. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@182852 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-23 22:11:27 +00:00
mats.palmgren%bredband.net
57d905a9da
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
...
git-svn-id: svn://10.0.0.236/trunk@182769 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-22 03:47:00 +00:00
bzbarsky%mit.edu
148c9f90bb
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
git-svn-id: svn://10.0.0.236/trunk@182658 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 23:19:22 +00:00
bzbarsky%mit.edu
8ff3bd2db3
Fix bug 309467. r=jst, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@182569 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 02:10:31 +00:00
dbaron%dbaron.org
1f59103dc8
Indentation fixes needed after s/nsIPresContext/nsPresContext/. Whitespace changes only.
...
git-svn-id: svn://10.0.0.236/trunk@182299 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 04:08:04 +00:00
roc+%cs.cmu.edu
967cecfd9b
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
...
git-svn-id: svn://10.0.0.236/trunk@181339 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 22:01:54 +00:00
peterv%propagandism.org
86ac4d2e8f
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
mats.palmgren%bredband.net
99b957d891
Call 'RemoveMappingsForFrameSubtree()' before destroying 'mPopupFrames'. b=117984 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@180672 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 20:28:02 +00:00
roc+%cs.cmu.edu
aeacb4d477
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
c3d2c5e7a2
Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
...
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179800 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:49:21 +00:00
aaronleventhal%moonset.net
246dcdf544
Bug 306437. Onchange events fired twice for option selection via mouseclick. r=dbaron, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@179630 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 18:20:56 +00:00
bzbarsky%mit.edu
00bdd69268
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
git-svn-id: svn://10.0.0.236/trunk@179325 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 18:13:48 +00:00
roc+%cs.cmu.edu
5525e0f045
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
...
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
f8a877926f
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.
...
git-svn-id: svn://10.0.0.236/trunk@178617 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 18:34:21 +00:00
bzbarsky%mit.edu
9104cb9303
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
git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:52:48 +00:00
gavin%gavinsharp.com
10fb8add5d
Bustage fix #1 , remnant from another patch
...
git-svn-id: svn://10.0.0.236/trunk@177835 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 12:42:34 +00:00
gavin%gavinsharp.com
c08a5451cc
Bug 301313 : Remove mPresContext in /layout/forms/, patch by Andreas Lange <mozilla@lange.cx>, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@177834 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 12:20:58 +00:00
timeless%mozdev.org
3f10fd35d8
Bug 302356 Crash when drag-scrolling combobox [@ nsIFrame::HasView][@ nsIFrame::GetOffsetTo]
...
r=roc sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177290 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 14:35:45 +00:00
masayuki%d-toybox.com
2cab5abe8f
Bug 302959 If the a element in the legend element got focus, the ancestor table width is broken r+sr=dbaron, a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@176977 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:58:55 +00:00
bzbarsky%mit.edu
1e551c09f1
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
git-svn-id: svn://10.0.0.236/trunk@176770 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 16:23:22 +00:00
roc+%cs.cmu.edu
5bae01caf2
Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176582 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:23:53 +00:00
mats.palmgren%bredband.net
1e9e7aa193
Consider height of <OPTGROUP> labels when calculating visible height. b=300474 r+sr=bzbarsky a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@176490 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-24 01:02:15 +00:00