dbaron%dbaron.org
8cfdd67955
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
...
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +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
cvshook%sicking.cc
b044116c80
Bug 325426: Only use baseURI to resolve relative uris. r=bz sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@191956 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 05:01:16 +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
fd660c7b14
Putting nsIComboboxControlFrame.h back in preparation to revert checkin for bug 326944.
...
git-svn-id: svn://10.0.0.236/trunk@191295 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 03:20:30 +00:00
roc+%cs.cmu.edu
0649c81787
Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@191292 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:45:20 +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
timeless%mozdev.org
faf573a28d
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +00:00
sharparrow1%yahoo.com
3904cf2e39
Trivial; attempt to fix linux bustage
...
git-svn-id: svn://10.0.0.236/trunk@190642 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 01:27:11 +00:00
sharparrow1%yahoo.com
c7989ee277
Bug 327868: nsIFrameSelection cleanup. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@190633 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 00:49:04 +00:00
roc+%cs.cmu.edu
cff4b925f9
Bug 326827. Don't allow mouse events to target button contents. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@190549 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-19 20:14:11 +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
sharparrow1%yahoo.com
8cbbdf2e94
Bug 326883 - Cleanup unused methods. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@190174 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 00:30:29 +00:00
bzbarsky%mit.edu
d8d9e12130
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
git-svn-id: svn://10.0.0.236/trunk@189846 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 19:42:08 +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
bzbarsky%mit.edu
992aec0bc9
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
git-svn-id: svn://10.0.0.236/trunk@189459 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 03:50:53 +00:00
dbaron%dbaron.org
82488c236b
Remove old native widget code that we were only keeping around for viewer. b=326417 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@189428 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 20:09:19 +00:00
bzbarsky%mit.edu
fae3f2c95b
Add comment as promised; still bug 326019.
...
git-svn-id: svn://10.0.0.236/trunk@189053 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 22:27:58 +00:00
bzbarsky%mit.edu
9c52465218
Fix bug 326019. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@189049 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 22:08:10 +00:00
bzbarsky%mit.edu
35162da718
Make sure to always produce our value. Bug 324377, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@188866 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 18:45:01 +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
5a30621889
Bug 324852. Clean up missing uses of NS_DISPLAY_DECL_NAME for a tiny space saving with frame display lists
...
git-svn-id: svn://10.0.0.236/trunk@188281 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 22:58:22 +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
roc+%cs.cmu.edu
78bd9e4760
Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@188019 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 23:20:56 +00:00
cvshook%sicking.cc
ceaf7bdebc
Bug 323910: Merge atom lists in gklayout
...
r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
bmlk%gmx.de
563a72aa7b
Avoid reframing inside button frames and move the frame creation entirely into the frame constructor, bug 51767, r=mats sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@187535 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 07:58:12 +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
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