188 Commits

Author SHA1 Message Date
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
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
mats.palmgren%bredband.net
4635bcbf08 Add width for letter-spacing when calculating desired width of text input controls. b=252783 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160481 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-07 22:04:27 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
rbs%maths.uq.edu.au
a41b8a61ef Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159562 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 01:05:44 +00:00
roc+%cs.cmu.edu
8721fb6de7 Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159520 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 00:02:43 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
bryner%brianryner.com
2a1c8d3594 deCOMtaminate nsBoxLayoutState. Bug 247766, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@158283 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 02:55:04 +00:00
bryner%brianryner.com
c69233d235 oops, this wasn't supposed to go on the trunk. backing out.
git-svn-id: svn://10.0.0.236/trunk@158278 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:41:30 +00:00
bryner%brianryner.com
ea5334a7ce bringing branch changes forward
git-svn-id: svn://10.0.0.236/trunk@158277 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:35:56 +00:00
bryner%brianryner.com
c52276bdfd Make XUL box debug code be #ifdef DEBUG_LAYOUT. r+sr=roc, bug 103844.
git-svn-id: svn://10.0.0.236/trunk@158188 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-19 09:07:47 +00:00
bzbarsky%mit.edu
61611d381f Instead of setting inline style for every text input's anonymous div, have a
rule in forms.css to set the style.  Bug 243588, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@156425 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-15 05:09:37 +00:00
rbs%maths.uq.edu.au
58f6833e11 Fix the inconsistent behavior of the caret on text controls when their readonly attribute is changed, b=235294, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156014 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 22:48:51 +00:00
bzbarsky%mit.edu
2627a4e419 Don't clear undo/redo buffers when JS changes the value. Bug 158071, patch by
Martijn Wargers <m.wargers@hccnet.nl>, r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155848 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 22:14:49 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
rbs%maths.uq.edu.au
bfe77ca6d3 Add the much requested support for find in <textarea> and text <input> elements. Also fix a long-standing problem with the mutually-exclusion: selecting something in a text field doesn't clear an earlier selection outside. b=58305, r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@154934 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 19:45:46 +00:00
bzbarsky%mit.edu
c2c4cce304 Make sure to apply our styles to our anonymous content no matter what the
page's style language is.  Bug 234761, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@154840 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 02:05:52 +00:00
roc+%cs.cmu.edu
80b27683f0 Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154764 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:11:05 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
bzbarsky%mit.edu
8a5b5bbe43 Don't lie about our scrollable view, and don't claim to have one if we're not
scrollable.  Bug 209807, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@152983 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 23:04:51 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
26c9ab7b2b Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@152623 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 00:38:12 +00:00
bryner%brianryner.com
5b5cd321a4 Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152182 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:17:21 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00