Commit Graph

700 Commits

Author SHA1 Message Date
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky@mit.edu
af01a391cf Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
roc+@cs.cmu.edu
a1b6a30f14 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
joshmoz@gmail.com
08e2aa05f5 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
mrbkap@gmail.com
21abec03ec 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
4e6981a95c 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
358bfc2241 Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc 2005-12-12 23:53:06 +00:00
bzbarsky@mit.edu
1b23add672 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
ef13fe0d94 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
c6fcb74336 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
bzbarsky@mit.edu
cc7d996c58 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
neil@parkwaycc.co.uk
b7851999ff 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
timeless@mozdev.org
71ed8bc863 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
81c6aae868 Relanding bug 305705. Patch still by mats, r+sr=me. 2005-11-15 04:03:08 +00:00
bzbarsky@mit.edu
a428866679 Back out bug 305705 to test performance impact. 2005-11-15 02:16:25 +00:00
bzbarsky@mit.edu
92a007359d 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
bzbarsky@mit.edu
a72905839b 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
2a82ee651e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
cvshook@sicking.cc
77710748bc Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
mats.palmgren@bredband.net
0c05137673 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
1b631fbf82 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
peterv@propagandism.org
97ce448ce1 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
58de08aed0 Call 'RemoveMappingsForFrameSubtree()' before destroying 'mPopupFrames'. b=117984 r+sr=bzbarsky 2005-09-20 20:28:02 +00:00
roc+@cs.cmu.edu
5d1b988569 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
93240998ef 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
gavin@gavinsharp.com
3cbd28d739 Bustage fix #1, remnant from another patch 2005-08-16 12:42:34 +00:00
gavin@gavinsharp.com
de6ecd3e6e 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
roc+@cs.cmu.edu
870439e085 Restoring fix for bug 295571 2005-06-22 01:38:49 +00:00
roc+@cs.cmu.edu
e5115d4b00 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
7025e36b33 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
110a60afd0 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
6f0dde9097 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
bd99f1caff 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
aaronleventhal@moonset.net
c5912b84ff Bug 289376. Fix description and value for combo boxes. r=louie.zhao, sr=jst. a=asa 2005-05-05 15:05:34 +00:00
jst@mozilla.jstenback.com
f54c1fc9b1 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
141851a7d3 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
6e66e038f3 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
c3b200f3df 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
mats.palmgren@bredband.net
36dccab283 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
87c87d7b97 Remove code that does not work with outstanding RedisplayText events. b=288821 r+sr=bzbarsky 2005-04-03 19:58:40 +00:00
bmlk@gmx.de
4fef1d22ac 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
47d21cfb19 Avoid recursive frame construction by using an event to call ActuallyDisplayText(). b=283117 r+sr=bzbarsky 2005-03-21 01:58:17 +00:00
jst@mozilla.jstenback.com
f0e42821ce 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
mats.palmgren@bredband.net
930e647c9f Redirect frame insertions during RedisplayText(). b=282607 r+sr=bzbarsky 2005-02-19 23:54:36 +00:00
bzbarsky@mit.edu
0de74a939f 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
smfr@smfr.org
9900fab8c9 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
aaronleventhal@moonset.net
3bae0115c7 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
mats.palmgren@bredband.net
c0a629f20d 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
bryner@brianryner.com
ac990d5d4b Remove nsIPresState (bug 279699). r+sr=roc. 2005-01-27 22:52:53 +00:00
bryner@brianryner.com
c4c10dcf35 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00