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
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
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
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
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
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
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
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
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
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
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
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
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
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
jst%mozilla.jstenback.com
ebed1ee784
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
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
dad862ec1c
Make text control state restoration work right even in subframes loaded from a
...
different website. Bug 287446, r+sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172725 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 03:31:29 +00:00
roc+%cs.cmu.edu
242a80aa53
Bug 289179. Fix regression by having nsTextControlFrame find its scrollable view again. r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171822 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 20:50:58 +00:00
bmlk%gmx.de
e6648c930b
fix for build warnings (shadow & strange null pointer treatment) bug 287102 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171160 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 18:41:39 +00:00
bryner%brianryner.com
0e2b73e3fb
Fix autocomplete in message compose by making oninput start off enabled, and just disabling it within SetValue. Bug 282645, r= (and lots of ideas from) neil, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@170069 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 01:19:19 +00:00
bryner%brianryner.com
15e54a9461
Don't dispatch oninput events when the value of an input is changed programatically. This prevents unwanted opening of the autocomplete popup when a username is prefilled. Bug 272002, r+sr=bzbarsky, a=caillon.
...
git-svn-id: svn://10.0.0.236/trunk@169224 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-15 23:14:42 +00:00
mats.palmgren%bredband.net
a0cf4a2fbd
If text is scrolled out-of-view to the left and there is room for it to be visible then scroll it in to view. b=268352 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168816 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 21:56:07 +00:00
dbaron%dbaron.org
16f4991e84
Put the null-check *before* the crash it's supposed to prevent (which timeless saw, somehow).
...
git-svn-id: svn://10.0.0.236/trunk@168616 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 07:35:20 +00:00
bryner%brianryner.com
3437ee229a
Remove nsIPresState (bug 279699). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@168423 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 22:52:53 +00:00
cvshook%sicking.cc
12f074b44e
Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@168269 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:02:58 +00:00
mats.palmgren%bredband.net
9c18d9f96a
Add NS_FRAME_INDEPENDENT_SELECTION to ListControlFrame (and children) and skip such frames (TextControlFrame also) in GetContentAndOffsetsFromPoint() when the point is only "near" (not inside) the frame. b=268497 r=bzbarsky sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167833 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 18:44:01 +00:00
bryner%brianryner.com
2474296ae5
Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
neil%parkwaycc.co.uk
b6cfbdda85
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
bzbarsky%mit.edu
ff3b945ef7
Disable undo for password inputs to prevent replay attacks. Bug 271154,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@166270 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-05 18:26:13 +00:00
neil%parkwaycc.co.uk
df2668e776
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
timeless%mozdev.org
d046585f1b
Bug 106386 Correct misspellings in source code
...
patch by ajvincent@gmail.com r=dbradley rs=brendan
git-svn-id: svn://10.0.0.236/trunk@165193 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-10 07:27:11 +00:00
darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
aaronleventhal%moonset.net
2ed5e7dde3
Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@163639 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 01:12:14 +00:00
dbaron%dbaron.org
900fefc4a5
Use |this| instead of getting the frame from the reflow state, since the frame from the reflow state is wrong when we're in a XUL textbox. b=263806 Patch from Hideo Saito <saito@densan.co.jp>. r=bernd sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@163606 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 17:58:28 +00:00
smontagu%smontagu.org
6649ff6b3d
Bug 167001: Anything below the baseline goes out of input field. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@163502 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 18:30:28 +00:00
bzbarsky%mit.edu
cf92574533
Followup to bug 260922 -- don't crash on frame teardown if the thing that got a
...
text control frame is neither an input nor a textarea. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@163139 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-02 16:14:56 +00:00
jst%mozilla.jstenback.com
a3cb07e21e
Fixing bug 257523. Prevent Copy & Paste with generated DOM events. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=dveditz@cruzio.com
...
git-svn-id: svn://10.0.0.236/trunk@163023 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 16:29:54 +00:00
bryner%brianryner.com
6bab9e3329
Add support for native keybindings for input and textarea for gtk2. This allows us to respect the GTK keybinding preferences. Bug 257405, r=blizzard, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161878 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 21:21:48 +00:00
roc+%cs.cmu.edu
25c92b6a90
Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
...
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
d078282226
Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
09307f3c9f
Back out text input changes from bug 72747.
...
git-svn-id: svn://10.0.0.236/trunk@161742 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
76aef2c246
Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161732 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:22:15 +00:00
bryner%brianryner.com
ffa6c10070
Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
...
git-svn-id: svn://10.0.0.236/trunk@161569 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 05:16:00 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
565357f6d2
Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
ed6372cf2f
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00