Commit Graph

2193 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c31f83b236 Invalidate the right things when a stack's kids resize, or if they move _and_ margins change. Bug 331880, r+sr+branch181=roc 2006-04-27 23:53:30 +00:00
roc+%cs.cmu.edu
6bef416316 Fixing Mac bustage. 2006-04-26 02:12:10 +00:00
roc+%cs.cmu.edu
73edb2a9c1 Bug 310668. Don't retain frame pointers in nsTreeBodyFrame. sr=bz 2006-04-26 01:47:58 +00:00
leon.sha%sun.com
0960e6fd1d 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
sharparrow1%yahoo.com
67d4723e36 Bug 334416: Misc view usage cleanups. r+sr=roc. 2006-04-18 06:05:24 +00:00
gavin%gavinsharp.com
5aaa52afd8 Fix vc6 bustage 2006-04-18 02:28:00 +00:00
bzbarsky%mit.edu
bba9f84e11 Update our attr cache if our styles change. Bug 311557, r+sr=roc 2006-04-17 23:58:17 +00:00
mrbkap%gmail.com
e65511e9c6 [BeOS]Bug 322051, restructuring nsWindow code, patch by thesuckiestemail@yahoo.se r=sergei_d 2006-04-11 20:44:17 +00:00
roc+%cs.cmu.edu
a7f03736a9 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
04b8c33eda 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
1208137d2a Fix bug 326529. Patch by Mats Palmgren <mats.palmgren@bredband.net>, r+sr=bzbarsky 2006-04-03 03:55:11 +00:00
sharparrow1%yahoo.com
dc0d45c95e Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Tr�mon, r+sr=roc. 2006-04-01 01:19:28 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
timeless%mozdev.org
416e615b8e Bug 325795 Crash in [@ nsTreeContentView::GetCell] if tree.view.getCellValue(null,null);
r=roc sr=roc
2006-03-27 18:51:05 +00:00
roc+%cs.cmu.edu
0a10a79f62 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
roc+%cs.cmu.edu
1a94b0ebf3 Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky 2006-03-26 20:59:03 +00:00
Olli.Pettay%helsinki.fi
ee372ff167 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
gavin%gavinsharp.com
c6298579ce Bug 330456: evil XUL with <menubar> within <toolbarbutton> makes browser crash [@ nsMenuFrame::DoLayout], patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky 2006-03-24 23:58:39 +00:00
neil%parkwaycc.co.uk
5dd62addc7 Code cleanup b=325132 r=bz sr=bryner 2006-03-24 21:05:11 +00:00
timeless%mozdev.org
f87710e057 Bug 326959 menupopup.enableRollup(true) causes crash [@ nsPopupSetFrame::Destroy]
patch by asqueella@gmail.com r=neil sr=roc
2006-03-23 22:08:37 +00:00
benjamin%smedbergs.us
35508b15c6 Followup from table-driven QI (bug 313309) - since nsIBox is nsIFrame, this QI is superfluous, r=bz 2006-03-21 18:43:41 +00:00
ginn.chen%sun.com
7b6775a4c7 Bug 319532 [gnome]There is no feedback when use keyboard to navigate
disabled menuitem in Mozilla menu
r+sr=roc
2006-03-17 03:55:10 +00:00
pavlov%pavlov.net
131e8794e2 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
557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
martijn.martijn%gmail.com
dc6918ee00 Bug 246712 - Right click This Frame, but then quickly View Page Source causes crash, r+sr=bzbarsky 2006-03-14 22:48:09 +00:00
roc+%cs.cmu.edu
6fd863f2dd 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
timeless%mozdev.org
555364ff43 Bug 140218 Crash [@nsTreeBodyFrame::SetView] dereferencing box the QI result of a null mTreeBoxObject
r=bz sr=neil
2006-03-10 18:14:29 +00:00
roc+%cs.cmu.edu
c2801ebbd7 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
roc+%cs.cmu.edu
bc1c96dea6 Add trivial DEBUG-only GetFrameName. r+sr=tor 2006-03-09 18:43:23 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
950c61cf37 Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst
2006-03-07 03:20:39 +00:00
bzbarsky%mit.edu
cd432fd941 Fix bug 328839 by holding a safe weak ref to mPresShell. r=neil, sr=jst 2006-03-06 01:46:46 +00:00
enndeakin%sympatico.ca
80f0e89dec Bug 327943, remove grippy frame, r=neil,sr=roc 2006-03-02 21:42:29 +00:00
roc+%cs.cmu.edu
1fac9c6d76 Backing out changes for bug 326944, really this time\! 2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
b7126ee8e0 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell 2006-02-27 02:33:26 +00:00
bzbarsky%mit.edu
6afaf70b6c Fix bug 327776 -- properties need to have names. r+sr+branch181=bryner 2006-02-21 01:18:36 +00:00
bzbarsky%mit.edu
d3d2cad182 Fix bug 326998 -- not every box has a box parent. r+sr+branch181=roc 2006-02-21 00:40:54 +00:00
bzbarsky%mit.edu
768721d24c More bogus XUL assumptions about what is or is not a box... Bug 325132,
r=neil, sr=bryner
2006-02-20 19:01:22 +00:00
roc+%cs.cmu.edu
6b01fa9794 Bug 306990. Simplify adjustment of cell right edges to avoid the scrollbar in all cases. r=jan.varga, sr=dbaron 2006-02-13 21:27:14 +00:00
enndeakin%sympatico.ca
9f07364543 *** empty log message *** 2006-02-13 15:49:56 +00:00
bzbarsky%mit.edu
8792a10a40 Fix bug 326834 -- more care needed with listboxes. r+sr=roc 2006-02-12 21:37:45 +00:00
benjamin%smedbergs.us
8b72bb0f97 Bug 325229 part 1 - standalone glue registers exit routine which is called after module unload; also fixes bug 317481 - C API for nsTraceRefcnt; also fixes bug 318622 - Make nsTraceRefcntImpl::SetActivityIsLegal work properly and turn it on; design review by dbaron, r=darin 2006-02-10 15:00:36 +00:00
masayuki%d-toybox.com
d3d4bca8d6 Bug 324159 The accesskey label is doubled if the label ends (X). patch by jag (Peter Annema) <jag@tty.nl> r=me+jag, sr=neil+mconnor+bzbarsky 2006-02-10 13:23:50 +00:00
neil%parkwaycc.co.uk
07a77a4a40 Remove over-optimization that is occasionally incorrect b=325251 r+sr+br=bz 2006-02-09 21:32:48 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
jst%mozilla.jstenback.com
e1a7d2ce41 Fixing build bustage. 2006-01-30 23:42:55 +00:00
bzbarsky%mit.edu
a8ab56ce86 Make the listbox box object deal better with the frame being destroyed and
change the tree box object the same way.  Bug 282105, bug 325045, bug 322513.
r=neil, sr=ben
2006-01-30 21:29:10 +00:00
bryner%brianryner.com
d510542406 Attempting to fix build bustage. 2006-01-30 20:49:02 +00:00
bryner%brianryner.com
75ff2c3fad Fixing VC6 bustage (bug 324988). 2006-01-30 19:35:57 +00:00
bryner%brianryner.com
891ef69634 Fixing VC6 bustage (bug 324988). 2006-01-30 19:34:51 +00:00
bryner%brianryner.com
a2cf9a0416 Fix crashing if the document loadgroup is cancelled while there are pending tree image loads (bug 324988) r+sr=bzbarsky 2006-01-30 18:57:38 +00:00
bzbarsky%mit.edu
f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
neil%parkwaycc.co.uk
8adacd68e7 Bug 100729 Sync <command> checkbox attribute with <menuitem>s in a context menu as well as in a menu bar and clean up the synchronizing code r+sr=bz 2006-01-28 21:31:31 +00:00
roc+%cs.cmu.edu
a78d2d2a90 Bug 324866. Leave cellRect in frame coordinates until after we've checked OffsetForHorzScroll. r+sr=dbaron 2006-01-27 01:56:11 +00:00
roc+%cs.cmu.edu
fa09c4074a 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
77bca74243 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
bryner%brianryner.com
ecc0706743 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
masayuki%d-toybox.com
02febe8bcc Bug 324159 The accesskey label is doubled if the label ends (X) part.1 r+sr=bzbarsky 2006-01-21 05:04:28 +00:00
cvshook%sicking.cc
15c2397445 Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
roc+%cs.cmu.edu
710ba40206 Bug 323230. Add FindAttrValueIn as an efficient way to look up an attribute value in a table of atoms. r=sicking,sr=bzbarsky 2006-01-18 04:09:33 +00:00
bzbarsky%mit.edu
f591e00439 Don't use a frame as an nsITimerCallback (those have to be refcounted). Bug
241733, patch by jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky
2006-01-12 16:40:47 +00:00
bzbarsky%mit.edu
b650f5263d Add more AttrValueIs() uses. Bug 322936, r+sr=roc 2006-01-10 20:00:39 +00:00
bzbarsky%mit.edu
4e6d82a1f6 No need to try to mark ourselves or our kids dirty if we've not seen an initial
reflow.  Bug 322786, r+sr=roc
2006-01-09 04:01:09 +00:00
mark%moxienet.com
bbd7b4e052 298502 Bookmark toolbar and autocomplete drop-down menus are empty and cause app hang (Mac 10.2). Reflow frame when reactivating a menu, avoiding bogus widget resizes. r=roc sr=roc 2006-01-09 01:37:01 +00:00
mrbkap%gmail.com
949e0433c4 bug 319434: Add an interface to allow C++ callers to get the popup and tooltip
nodes so that when the only JS code on the stack is content code, the C++ code
still does the right thing. r=jst sr=bzbarsky
2006-01-06 20:49:19 +00:00
neil%parkwaycc.co.uk
cf027d9ea1 Supplementary patch to fix bug 147670 nested tooltiptext regression r+sr=jst 2006-01-04 13:45:40 +00:00
bryner%brianryner.com
6f17959796 Fix for autocomplete widget crashes and misbehavior. This reverts the original fix for bug 192577 since that makes it difficult to reliably determine whether the autocomplete popup is open. Bug 192577 is re-fixed by adding a property to nsIPopupBoxObject to allow the "rollup event" behavior to be specified by an XBL binding. We then set this to "consume" for the urlbar dropdown, so that clicking on the button a second time only dismisses the popup, and skips dispatching the event. Additionally, this change makes us only have a singleton AutoCompleteController for all inputs (this was already the case for HTML inputs, but not XUL inputs). Bug 306067, r+sr=roc. 2005-12-31 23:34:46 +00:00
roc+%cs.cmu.edu
ef94202941 fixing bustage 2005-12-19 02:44:40 +00:00
roc+%cs.cmu.edu
3d90832d5f Bug 311457. nsMenuPopupFrame needs to create its widget in nsMenuPopupFrame::CreateWidgetForView, and only create the widget if it hasn't already been created. r+sr=dbaron 2005-12-19 01:10:27 +00:00
roc+%cs.cmu.edu
18647b7ec2 Bug 320337. Remove mFrameConstructor member from nsListBoxBodyFrame. patch by Vidar Harr, r+sr=roc 2005-12-16 02:56:36 +00:00
dbaron%dbaron.org
1215c21b52 I'm tired of confusing Text and TextBox. DEBUG-only. 2005-12-15 22:26:18 +00:00
roc+%cs.cmu.edu
10d78ffbbe Bug 307419. Remove mPresContext from XUL frames. patch by Vidar Harr, r+sr=roc 2005-12-15 03:30:17 +00:00
dbaron%dbaron.org
bb22750d4c Remove misspelled comment that is no longer true. 2005-12-14 23:46:34 +00:00
vladimir%pobox.com
1bfea76630 removing old files 2005-12-09 19:55:12 +00:00
ginn.chen%sun.com
f164e052fc Bug 284555 Menu text color remains -moz-menuhovertext when popup a dialog
r=aaronleventhal sr=roc
2005-12-07 05:50:16 +00:00
jst%mozilla.jstenback.com
8f1863159b 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
dbaron%dbaron.org
bcc8cf3d4b Typo. 2005-11-22 23:39:41 +00:00
dbaron%dbaron.org
ce9357ccd5 Correct comment to reflect reality. b=317480 2005-11-22 23:38:28 +00:00
dbaron%dbaron.org
6a21a28fbe Allow grid groups to contain other grid groups, to fix mail compose window and other <listbox> bustage. b=317480 2005-11-22 23:35:57 +00:00
dbaron%dbaron.org
92b3855fca Make GetParentGridPart restrict what it returns to the appropriate type. b=306911 r+sr=bzbarsky 2005-11-22 18:14:17 +00:00
dbaron%dbaron.org
f074905cfd Add commments to grid code, plus a small bit of code cleanup. b=306911 r+sr=bzbarsky 2005-11-22 05:52:34 +00:00
timeless%mozdev.org
1c34e68034 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
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
roc+%cs.cmu.edu
ff22ad9ece nsScrollBoxFrame.h is not used anymore, remove it. Not part of the build 2005-11-14 19:48:57 +00:00
bsmedberg%covad.net
78f6d0683d 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
bmlk%gmx.de
ac3f79fa07 More robust handling of the overflow property, bug 315210 r/sr=roc 2005-11-11 05:30:31 +00:00
bzbarsky%mit.edu
d2a0bba83a Fix more grid crashes. Bug 314502, r+sr=dbaron 2005-11-09 02:19:18 +00:00
bzbarsky%mit.edu
ce046353d7 Make grids less crash-happy. Bug 307809, r+sr=dbaron 2005-11-09 02:15:12 +00:00
hwaara%gmail.com
9d82e45dd4 bug 314350, implement GetScrolledSize in nsScrollBoxObject
r/sr=bzbarsky
2005-11-06 15:10:09 +00:00
roc+%cs.cmu.edu
520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
neil%parkwaycc.co.uk
0eb7427fc2 Get default tooltip text more reliably b=147670 r=timeless sr=jst 2005-11-02 23:53:56 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
680ffaad50 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
d0ad850b4e Fix bug 313173 and bug 312784 -- make sure to rebuild stuff as needed. r=neil, sr=roc 2005-10-21 17:29:06 +00:00
bzbarsky%mit.edu
3c06eb9daf Fix bug 311710, r=neil, sr=roc 2005-10-14 21:26:38 +00:00
roc+%cs.cmu.edu
e69dd56e71 Bug 311659. Don't hold frame references persistently in splitters. r+sr=bzbarsky 2005-10-11 18:59:58 +00:00
bzbarsky%mit.edu
57c1459ccd Make sure to not have our columns extending under the right-hand scrollbar.
Bug 306990, patch by Nate Nielsen <nielsen@memberwebs.com>, r=jan, r+sr=roc
2005-10-06 18:18:12 +00:00
Jan.Varga%gmail.com
061690eb61 Fix for bug 291531. Crash [@ nsTreeBodyFrame::PrefillPropertyArray] treecols:hover {display:none} with evil xul testcase
r=neil sr=bzbarsky
2005-10-06 09:14:34 +00:00