smontagu%smontagu.org
a2b9c77fed
Remove obsolete state bit NS_BLOCK_SHRINK_WRAP. Bug 369243, r=bz, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@220168 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 05:07:57 +00:00
sharparrow1%yahoo.com
948ceb9772
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@219988 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:31:59 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
78ccec5f86
Remove some no longer needed code. Bug 368273, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@219168 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 05:52:27 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
bzbarsky%mit.edu
271b9a66d3
Fix the width computations for the dropdown to actually account for the border
...
and padding. Bug 365837, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218208 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 17:59:41 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
78cfdd7ca8
Remove the consumers of GetScrollBarDimensions so that we can work on removing
...
the API too. Bug 364301, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217200 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 15:08:34 +00:00
dbaron%dbaron.org
1ca9f3f372
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.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
ee561228eb
Back out bug 354600 to fix regressions.
...
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
77b17ef48c
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
git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +00:00
masayuki%d-toybox.com
f9d0bdd858
Bug 359496 focus outline on combobox <select>s is always drawn in black r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@214721 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 17:28:39 +00:00
bzbarsky%mit.edu
da39432a29
Fix combobox outlines. Bug 328340, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@214649 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 00:22:31 +00:00
mats.palmgren%bredband.net
b8a8f64bb5
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
...
git-svn-id: svn://10.0.0.236/trunk@212915 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-30 05:07:49 +00:00
uriber%gmail.com
82db7c90c5
When the control is RTL, align the drop-down with the right edge of the control. bug=203353 r=smontagu sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@207268 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-13 19:34:58 +00:00
Olli.Pettay%helsinki.fi
f45fdfb0d8
Bug 231830, crash on style.display = 'none' for select element when event onchange occurs [@ nsStyleContext::GetRuleNode ][@ nsIFrame::Invalidate ], r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@207128 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-11 12:09:30 +00:00
cvshook%sicking.cc
222232fd6a
Fix error in last checkin for bug 344050.
...
git-svn-id: svn://10.0.0.236/trunk@203083 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 08:55:36 +00:00
cvshook%sicking.cc
365266c686
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
mats.palmgren%bredband.net
14e56648c0
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)
...
git-svn-id: svn://10.0.0.236/trunk@201677 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 10:43:51 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e
Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
roc+%cs.cmu.edu
02b50c231a
Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
roc+%cs.cmu.edu
140fbb3377
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
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
a7aad6eda2
Fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@192336 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 21:02:42 +00:00
roc+%cs.cmu.edu
c469d694c3
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
...
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
4d3c9e6883
Bug 329465. Don't hold a strong ref to the event queue service from nsComboboxControlFrame. r+sr=roc, patch by Marc Liddell.
...
git-svn-id: svn://10.0.0.236/trunk@192093 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 19:24:54 +00:00
roc+%cs.cmu.edu
38a9722e9f
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60
Bug 234455, Centralize event dispatch r=jst, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
roc+%cs.cmu.edu
ca3c2481dc
Bug 328898. deCOMtaminate signatures on nsIListControlFrame.h. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@191451 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 01:00:29 +00:00
roc+%cs.cmu.edu
f6b0317991
Backing out changes for bug 326944, really this time\!
...
git-svn-id: svn://10.0.0.236/trunk@191297 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
5486ff00e1
Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@191291 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:33:26 +00:00
sharparrow1%yahoo.com
1cf59a7435
Bug 326843 DeCOMtaminate some of nsComboboxControlFrame. Patch by marcldl+mozbugs@gmail.com. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@190470 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-18 01:52:03 +00:00
bzbarsky%mit.edu
1b13fa7226
More usage of already_AddRefed. Fix leaks too. Bug 325378, r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@189480 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 16:23:32 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
fb8579f413
Fix leak bug 324969 -- make sure to call virtual destructors.
...
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu
df8627e29b
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
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
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
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
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
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
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