bzbarsky%mit.edu
b733dd59da
Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
...
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
bryner%brianryner.com
f4033c2db4
Fix crashes when dynamically removing input type=file elements by not calling GetValue() during Destroy() since that re-adds the frame to the primary frame map. Bug 203041, 238906, patch originally by mats.palmgren@bredband.net, updated by me, r+sr=bzbarsky.
2004-05-22 01:17:00 +00:00
bzbarsky%mit.edu
b99b4c4d2d
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
2004-05-15 05:09:37 +00:00
jst%mozilla.jstenback.com
7133578356
Fixing regression bug 243345. Make nsITextContent::SetText() work with non-null terminated strings, and fix silly mistake in nsComboboxControlFrame::GetIndexOfDisplayArea(). Patch partly by bzbarsky@mit.edu, and partly by myself. r+sr=bzbarsky@mit.edu and jst@mozilla.jstenback.com
2004-05-13 01:12:10 +00:00
bzbarsky%mit.edu
e25e453311
Remove vestiges of <input type="browse">. Bug 242873, r+sr=peterv
2004-05-11 18:16:41 +00:00
jst%mozilla.jstenback.com
d247d3f525
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
2004-05-07 20:55:17 +00:00
rbs%maths.uq.edu.au
b33b06bec8
Fix the inconsistent behavior of the caret on text controls when their readonly attribute is changed, b=235294, r+sr=bzbarsky
2004-05-05 22:48:51 +00:00
roc+%cs.cmu.edu
61e1f40eb4
Bug 232540. List controls should not scroll an item into view if it is only outside the list in the horizontal direction.
2004-05-05 02:49:57 +00:00
roc+%cs.cmu.edu
19e32df81d
Backing out the part of the patch that was incorrectly checked in.
2004-05-05 02:48:53 +00:00
roc+%cs.cmu.edu
3074e7edc0
Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
cf2990d46c
No bug. Remove unused code and variables from nsListControlFrame. rs=shaver
2004-05-04 04:30:23 +00:00
bzbarsky%mit.edu
ab8ff1f170
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
2004-05-02 22:14:49 +00:00
kyle.yuan%sun.com
6d4c813d6a
Bug 220187 TABINDEX property ignored for input type=file
...
r=aaronleventhal, sr=jst
Two children of <input type=file> should have same tabindex with their parent.
Patch by neo.liu@sun.com
2004-04-28 09:29:10 +00:00
tor%cs.brown.edu
44fbbcc21b
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
jst%mozilla.jstenback.com
34a10f2f1c
Fixing bug 240723. Cleaning up nsIFilePicker a bit, no more nsIDOMWindowInternal, and use our string classes and not raw strings. r=caillon@gmail.com, sr=bzbarsky@mit.edu
2004-04-21 23:38:22 +00:00
gerv%gerv.net
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
bd2796f514
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
varga%nixcorp.com
5026248834
Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner
2004-04-17 05:53:38 +00:00
rbs%maths.uq.edu.au
f0c2514be7
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
2004-04-15 19:45:46 +00:00
bzbarsky%mit.edu
e69acab219
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
2004-04-14 02:05:52 +00:00
roc+%cs.cmu.edu
bc07b888e1
Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
2004-04-13 03:11:05 +00:00
bzbarsky%mit.edu
9083c871de
Fix MSVC.net bustage. Bug 236956, r+sr+a=dbaron
2004-03-12 16:51:26 +00:00
dbaron%dbaron.org
f92415768a
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
0651f4e7ae
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
roc+%cs.cmu.edu
0784ae856d
Bug 236438. Make nsImageControlFrame translate its event point properly even if it has no view
2004-03-06 04:48:15 +00:00
bryner%brianryner.com
6252896efc
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
roc+%cs.cmu.edu
1ed57cf47b
Bug 53966. Remove unnecessary view creation from nsImageControlFrame, and remove unused fields and functions from nsImageControlFrame/nsHTMLButtonControlFrame. r+sr=bzbarsky
2004-02-28 15:01:38 +00:00
bryner%brianryner.com
d6b0d386ee
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
kairo%kairo.at
97c9024a5a
bug 234014 - Use the XUL preprocessor for build-time inserting of skinVersion strings, r=bsmedberg, sr=peterv
2004-02-27 11:54:28 +00:00
bryner%brianryner.com
745944525d
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
bryner%brianryner.com
41c3b9355c
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu
2c6adef40a
Don't lie about our scrollable view, and don't claim to have one if we're not
...
scrollable. Bug 209807, r+sr=roc
2004-02-19 23:04:51 +00:00
bzbarsky%mit.edu
b25824387b
Fire onchange event when a file is selected from the filepicker. Bug 67873,
...
r+sr=peterv
2004-02-19 22:13:47 +00:00
bryner%brianryner.com
b26298f7c2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
7055ef1c83
Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
...
r=caillon sr=jst
2004-02-11 00:38:12 +00:00
bryner%brianryner.com
d4f13c3ba7
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
2004-02-05 01:57:10 +00:00
kairo%kairo.at
9ec4b6c21a
bug 232011 - Use the XUL preprocessor for build-time inserting of localeVersion strings, this removes contents*.rdf.in files and resurrects the contents*.rdf files, using preprocessor.pl via the jar.mn definitions
2004-02-04 14:24:38 +00:00
bryner%brianryner.com
05a0e4f624
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.
2004-02-02 22:17:21 +00:00
bryner%brianryner.com
f67839e02e
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
roc+%cs.cmu.edu
a2c6a75e31
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
2004-01-30 03:20:41 +00:00
jst%mozilla.jstenback.com
1804c4910c
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
fd6fed0d82
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
bryner%brianryner.com
290494e26b
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
bzbarsky%mit.edu
70f5b77075
Make button baselines take into account the vertical centering we do. Bug
...
231574, r+sr=dbaron
2004-01-20 23:57:40 +00:00
peterv%propagandism.org
53f2f735a9
Miscellaneous cleanup. r/sr=jst.
2004-01-18 14:53:32 +00:00
peterv%propagandism.org
b73f7d8861
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
bzbarsky%mit.edu
b6bd7eb183
Don't crash if the file input's frame is destroyed while the filepicker is up.
...
Bug 230998, r+sr=dbaron
2004-01-18 04:35:54 +00:00
bryner%brianryner.com
a135ce4d60
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.
2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
4ab234b8be
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
39c612d480
Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron.
2004-01-09 22:18:26 +00:00
roc+%cs.cmu.edu
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
5aeafaa8a6
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
7264501b7b
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
dbaron%dbaron.org
f9a8c0c54a
Account for 1 twip width of BR when computing the size of textareas. b=228752 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=brendan
2003-12-18 06:06:00 +00:00
jst%mozilla.jstenback.com
6380d7fd12
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
bzbarsky%mit.edu
a579ee29b7
Make sure to properly delegate all framelist updates to our anonymous div. Bug
...
226016/98239, r+sr=dbaron
2003-11-18 02:12:24 +00:00
bzbarsky%mit.edu
f03da78f6e
Don't clear previous selection when range is extended using shift-ctrl-click.
...
Bug 112281, r+sr=roc
2003-11-15 04:23:53 +00:00
bzbarsky%mit.edu
6840e86e82
Don't do our "enlarge the control a bit to make it look better for small sizes"
...
thing for fixed-width fonts -- it's unnecessary and just makes it look like
"size" is broken. Bug 103293, r+sr=rbs
2003-11-10 23:42:43 +00:00
bzbarsky%mit.edu
29d7e0cdb6
Follow-up fix for crash bug 118685. Patch by mats.palmgren@bredband.net (Mats
...
Palmgren), r+sr=bzbarsky
2003-11-08 23:53:49 +00:00
uid502
f60aa658cf
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
2003-11-01 22:34:59 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
a0e219b348
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
18f5747325
removing extra semicolon
2003-10-21 19:37:48 +00:00
bzbarsky%mit.edu
329318dabf
Make sure to include the border and padding in the frame size even in the
...
"0 width" case. Bug 222990, r+sr=roc
2003-10-21 16:27:48 +00:00
kairo%kairo.at
07e3c65080
bug 154927 - automate localeVersion updates based on milestone.txt - we'll now create all those files during compile time from .in files, r=leaf, sr=bz
2003-10-18 17:54:07 +00:00
dbaron%dbaron.org
fb5dcec631
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
19a12727ec
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
bryner%brianryner.com
cd60efa8ac
Updating my email address
2003-09-29 06:04:02 +00:00
bmlk%gmx.de
9c4de18f39
fieldset frames should report overflow area, bug 96506 r/sr=dbaron
2003-09-27 14:53:17 +00:00
jst%mozilla.jstenback.com
8aa7b563d2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
uid502
c02b615f54
Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron
2003-09-19 15:20:00 +00:00
dbaron%dbaron.org
b57afa4a19
Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
2003-09-16 22:09:18 +00:00
bsmedberg%covad.net
3c7f6e517d
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
86ad399c4f
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 22:37:27 +00:00
roc+%cs.cmu.edu
5217fe6d78
Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply
2003-09-02 15:21:13 +00:00
darin%meer.net
fa506c95e5
fixes bug 175896 "crash when selecting data overflowing vertically in a textarea having the overflow = hidden property [@ nsSelection::GetFrameForNodeOffset ]" r+sr+a=dbaron
2003-08-20 20:15:34 +00:00
roc+%cs.cmu.edu
a295b3bcab
Bug 207637. Don't fire onchange for MouseUp events where we didn't see a mousedown. r+sr=dbaron,a=asa
2003-08-12 16:00:20 +00:00
kairo%kairo.at
b6208f06a9
bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa
2003-08-11 11:31:24 +00:00
dbaron%dbaron.org
e72ca78c99
Remove workaround for timer bug, since the timer bug is fixed and the workaround now causes a crash. b=215250 r+sr=brendan a=asa
2003-08-07 00:00:13 +00:00
bzbarsky%mit.edu
1c89273d3a
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu
ec0e304f16
Bump skinVersion up to 1.5, since older skins are likely to get broken by the
...
change to no longer support single-':' pseudo-elements. Bug 211657, r+sr=dbaron
2003-07-25 23:03:39 +00:00
jaggernaut%netscape.com
f1efc20ae6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
brade%netscape.com
5e9420f33f
patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
2003-07-21 19:51:34 +00:00
jaggernaut%netscape.com
bf82a649b9
Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
92b921aca3
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
aaronl%netscape.com
207518b7ea
Bug 211846. alt+down not working consistently for dropdowns. Also fixes bug 110801 and bug 205942, dropdown from alt+down not showing in the right place. r=jkieser, sr=bz
2003-07-09 06:36:33 +00:00
bzbarsky%mit.edu
fd6654ba6d
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
fccc1e29ba
Move to the double-'::' notation for -moz-tree-* pseudo-elements in SeaMonkey.
...
Bug 211657, r+sr=dbaron
2003-07-07 21:22:24 +00:00
roc+%cs.cmu.edu
2004af63d2
Fixing build bustage
2003-07-04 13:36:03 +00:00
roc+%cs.cmu.edu
fa7a397567
Ongoing deCOMtamination. r+sr=dbaron
2003-07-04 12:50:32 +00:00
bzbarsky%mit.edu
fd1110b7a8
Rmove declarations of functions that are no longer implemented. This should
...
have been checked in as part of bug 167236. At this point, it's just dead code
removal.
2003-07-02 06:40:09 +00:00
roc+%cs.cmu.edu
c335a13e1b
Ongoing deCOMtamination. r+sr=dbaron
2003-06-30 10:46:59 +00:00
rbs%maths.uq.edu.au
677dc71376
Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky
2003-06-25 01:14:25 +00:00
jst%netscape.com
e7966722ca
Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
2003-06-24 01:46:50 +00:00
dbaron%dbaron.org
adce84c7af
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
42b06cc4f5
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
alecf%flett.org
5614718dd3
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
ba75de772b
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
alecf%flett.org
ccf01a2786
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
jkeiser%netscape.com
9bcccb0b04
Remove unused variables, r+sr=sfraser@netscape.com
2003-06-06 01:11:57 +00:00
kairo%kairo.at
108ef75354
bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard
2003-06-04 11:11:19 +00:00
jkeiser%netscape.com
78680b73d4
Remove the no-forward-declared-nsCOMPtr hack (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org
2003-06-03 03:56:14 +00:00
dwitte%stanford.edu
149f719c00
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
jkeiser%netscape.com
224548949c
Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa
2003-05-22 20:56:35 +00:00
roc+%cs.cmu.edu
2654a045b4
Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
2003-05-22 01:46:13 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu
3e302783b6
Bug 204531. Remove bogus RTL listbox reflow hack. Fix border computation for desired size of combobox dropdowns.
2003-05-15 01:42:53 +00:00
roc+%cs.cmu.edu
d42a02eb59
Bug 201797. Do an extra reflow of the scrollframe if we adjusted the width or height after reflowing it the first time. Also, don't include border/padding when calculating the visible width in the unconstrained case
2003-05-04 19:00:21 +00:00
kairo%kairo.at
0978e17a8a
bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard
2003-04-17 18:43:57 +00:00
bzbarsky%mit.edu
c39801f13f
Fix crash when composer and comboboxes interact. The real fix is in
...
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +00:00
bryner%netscape.com
4d3b825ffa
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
sfraser%netscape.com
d61e2195a4
Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
...
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
roc+%cs.cmu.edu
f2dc5c2442
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
kyle.yuan%sun.com
f425528f69
Bug 198542 missing #ifndef/#endif directives in nsITextControlFrame.h
...
r=jkeiser, sr=henry.jia
2003-04-02 08:34:33 +00:00
timeless%mozdev.org
965ba28bb1
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bzbarsky%mit.edu
5a829e126a
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
jst%netscape.com
67c60923e6
Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com
2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
e5056bee26
Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com
2003-03-14 06:18:20 +00:00
bryner%netscape.com
7ce4b290a0
Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu
f295b9b118
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
2003-03-12 03:22:11 +00:00
kairo%kairo.at
11348f5311
bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard
2003-02-27 00:05:44 +00:00
roc+%cs.cmu.edu
77e5c960ef
Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
49dfc64596
Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
2003-02-23 02:22:14 +00:00
kyle.yuan%sun.com
1304e15248
Bug 188199 incremental search in <select> fails if item starts with repeats of a letter
...
r=jkeiser, sr=henry.jia
2003-02-23 01:19:17 +00:00
bzbarsky%mit.edu
87e58454c4
Make shrink-wrap reflow for buttons correctly reflow the kids a second time at
...
the constrained shrink-wrap width. Bug 26650 and dependencies, patch by
arunan_bala@hotmail.com (Arunan Bala), r=jkeiser, sr=bzbarsky
2003-02-22 19:48:29 +00:00
bryner%netscape.com
0c4cd42391
Use .get() when calling GetStyleData with a nsRefPtr<nsStyleContext> parameter, fixing nebiros bustage.
2003-02-22 04:27:23 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
5576244447
Make sure all caller have to pass in the "ignore 'print backgrounds'
...
preference" boolean. Make block/inline _not_ ignore that pref. Bug 191574,
r+sr=dbaron, a=asa
2003-02-01 23:54:32 +00:00
kin%netscape.com
ce1417c97e
Fix for bug 190382 (selectionEnd off by one when user selects text via CMD/CTRL-A)
...
- Prevent DOMPointToOffset() from counting a br as a newline, if it is the last child of the anonymous div.
- Fixed 3 compiler warnings in DOMPointToOffset().
r=jkeiser@netscape.com sr=sfraser@netscape.com a=asa@mozilla.org
2003-01-27 15:25:38 +00:00
bryner%netscape.com
9230bafb17
fix frame name for nsTextControlFrame (debug-only code). r/sr/a=roc.
2003-01-25 01:47:20 +00:00
kin%netscape.com
2d5b1438eb
Fix for bug 188440 (textfields clobber selection when they should not.)
...
mozilla/layout/html/forms/src/nsTextControlFrame.cpp
mozilla/layout/html/forms/src/nsTextControlFrame.h
Revert back to using a private method (SelectAllContents()) which implements a select all of the text widget contents by manually creating a range and adding it to the selection. This avoids triggering the autocomplete selection listener, which listens for a selection reason of SELECTALL_REASON. This change should be undone once the autocomplete listener is modified to distinguish between a programatic select all and one generated by a user gesture.
r=brade sr=sfraser@netscape.com
2003-01-21 15:17:32 +00:00
dbaron%dbaron.org
84d94ab16a
Make the area frame containing the options of a select always have NS_BLOCK_SPACE_MGR so that outside floats don't mess up the inside of a select. b=48237 r+sr=bzbarsky
2003-01-19 20:02:38 +00:00
neil%parkwaycc.co.uk
6c2f0af4aa
Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser
2003-01-10 09:24:30 +00:00
dbaron%dbaron.org
8254c89ed8
Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky
2003-01-10 00:30:50 +00:00
dbaron%dbaron.org
a5fcfea19e
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
bryner%netscape.com
26d5c6ff25
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
kin%netscape.com
9ffe4fead1
Fix for bug #88049 : Support .selectionStart & friends for textareas
...
Patch by petejc@optonline.net and kin@netscape.com
mozilla/content/html/content/src/nsHTMLInputElement.cpp
mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
mozilla/layout/html/forms/src/nsTextControlFrame.cpp
mozilla/layout/html/forms/src/nsTextControlFrame.h
Re-implemented selectionStart, selectionEnd, setSelectionRange() and various
utility methods in nsTextControlFrame to support multi-line text widgets.
r=jkeiser@netscape.com sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org
1419b5fd03
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:19:10 +00:00
kairo%kairo.at
a7555a91fe
change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard
2003-01-03 19:57:47 +00:00
jkeiser%netscape.com
86b726b9b0
Make input type=file work with display: none (bug 152844), r=sicking@bigfoot.com, sr=jst@netscape.com
2002-12-20 05:40:37 +00:00
jkeiser%netscape.com
714a7d8f7b
Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com
2002-12-20 05:32:27 +00:00
jkeiser%netscape.com
6c504f96e1
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
2002-12-18 23:38:09 +00:00
nhotta%netscape.com
4b5796a347
Adding a new interface to retrieve phonetic of input text,
...
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
jkeiser%netscape.com
96710d95e4
Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com
2002-12-17 00:56:01 +00:00
jkeiser%netscape.com
43f6825740
Crasher on changing input type with JS (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
2002-12-16 23:49:16 +00:00
dbaron%fas.harvard.edu
2c8a506a47
Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
2002-12-11 04:00:18 +00:00
kyle.yuan%sun.com
eca18a3c06
Bug 159947 no way to multiselect using keyboard in list box
...
r=akkana, sr=bryner
Use charCode instead of keyCode to check whether a key typing is SPACE
2002-12-11 03:24:27 +00:00
jkeiser%netscape.com
928715aac0
Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock.
2002-12-09 06:15:33 +00:00
jkeiser%netscape.com
58e0c572a2
fix behavior (and crasher) when changing type during event handler (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
2002-12-09 05:56:58 +00:00
karnaze%netscape.com
155780adb3
bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.
2002-12-03 16:02:42 +00:00
peterv%netscape.com
23b10864c8
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
jkeiser%netscape.com
d42ae22cd1
Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com
2002-11-20 23:19:45 +00:00
bzbarsky%mit.edu
4d094c04fc
Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu
402668cf1c
Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky
2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu
656772f1ec
<button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron
2002-11-19 03:39:44 +00:00
dbaron%fas.harvard.edu
b2f992acb9
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
bdc9d8929a
Fix regression in rendering buttons that people manually size to less
...
than desired size. Bug 180085, r=jkeiser, sr=roc+moz
2002-11-16 19:32:49 +00:00
bzbarsky%mit.edu
394be78734
Fix regression bug 179896; need to use the cached ascent in this case
...
too. r=jkeiser, sr=roc+moz
2002-11-13 22:34:09 +00:00
bzbarsky%mit.edu
8eba2cda2b
Not sure why this didn't get properly checked in with the rest... Bug
...
167236, r=jkeiser, sr=roc+moz, moa=rods
2002-11-13 07:50:34 +00:00
cmanske%netscape.com
ca1d8bc561
Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser
2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
20bae565b3
Align text inputs, buttons, comboboxes to baseline with respect to the
...
text around them (bug 167236). Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364). Fix nonuniform heights
of form controls (bug 70251). Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00
bryner%netscape.com
7b5407b246
Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
2002-11-09 00:25:25 +00:00
alecf%netscape.com
0e8921e8a7
prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
...
sr=peterv/jst, r=bzbarsky
2002-11-07 21:23:09 +00:00
kyle.yuan%sun.com
8ef3978344
Bug 177965 Wrong option selected in select field when pressing first key
...
r=jkeiser, sr=bzbarsky
Use a static member function ComboboxFocusSet() to clear the gLastKeyTime, and have gLastKeyTime be a static member
2002-11-07 10:25:03 +00:00
kairo%kairo.at
0978ac7de5
Bug 175853, Update localeVersion strings for 1.2 final - and do it correctly, r=jbetak, sr=bzbarsky, a=blizzard
2002-10-30 12:41:38 +00:00
kyle.yuan%sun.com
4b771bf3be
Bug 119696 Many keyboard shortcuts don't work when focus is on a <select> (listbox or drop-down)
...
r=jkeiser, sr=bzbarsky, a=roc+moz
Thanks for Simford.Dong@sun.com's fix
2002-10-30 01:05:43 +00:00
aaronl%netscape.com
1ca819e5c7
Bug 175827. Accessibility APIs: XUL and HTML comboboxes - when pulled down, should have initial MSAA focus event on first focused option. r=kyle, sr=alecf, a=dbaron
2002-10-25 02:53:45 +00:00
kin%netscape.com
5c4bcd6ef5
Temporarily disable attachment 87307 (Async reflow, painting, and scrolling for text widgets) which landed as part of bug 141900. Will re-enable it after bugs 158782, 151882, and 165130 are addressed.
...
The patch simply prevents the eEditorUseAsyncUpdatesMask bit from being set on the editor.
r=brade@netscape.com sr=sfraser@netscape.com a=brendan@mozilla.org
2002-10-16 19:02:05 +00:00
leaf%mozilla.org
aeba91a83f
update localeVersion for 1.2b, a=asa
2002-10-16 17:51:38 +00:00
caillon%returnzero.com
7871a3af0d
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
jkeiser%netscape.com
9f10a98502
Backing out bug 107291 due to OS/2 having a crappy compiler.
2002-10-08 09:30:40 +00:00
jkeiser%netscape.com
c854cc03a3
Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu
2002-10-08 06:19:10 +00:00
rods%netscape.com
e50e50bca1
no longer cache the scrollbar width that is used to also calculate the btn width.
...
Bug 167032 r=jkeiser sr=alecf
2002-10-01 14:24:15 +00:00
roc+%cs.cmu.edu
3681ee88af
Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
fd1a1dc6b6
Back out bug 167236 due to regressions 171214 and 171465
2002-09-30 10:22:06 +00:00
kyle.yuan%sun.com
cf801d0295
Bug 161449 Non-ASCII shortcuts for select elements in html forms
...
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
jkeiser%netscape.com
816123f03b
Align input type=text/radio/checkbox/button so that text is on baseline (bzbarsky's patch, bug 167236), r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
2002-09-27 00:04:22 +00:00
jkeiser%netscape.com
076e155265
Make input type=text width bigger (Rick.Ju@sun.com's patch, bug 92980), r=jkeiser@netscape.com, sr=kin@netscape.com
2002-09-23 19:43:48 +00:00
hyatt%netscape.com
369f0ad4fd
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
2002-09-21 01:03:38 +00:00
kyle.yuan%sun.com
b2732c66ef
Bug 150590 should be able to type words into <select> - incremental search for item
...
r=jkeiser, sr=bryner
Support incremental typing navigation for <select>
2002-09-20 02:12:12 +00:00
jkeiser%netscape.com
7fb6b65f5c
Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), r=rods@netscape.com, sr=kin@netscape.com
2002-09-16 06:23:52 +00:00
andreww%netscape.com
306632bf26
bugzilla bug 164174 r=suresh, sr=hewitt. Updating skin version number due to new backwards incompatibilites.
2002-09-12 23:39:25 +00:00
bzbarsky%mit.edu
3112a74372
<input type="button" value=""> should not list default text. Bug
...
166913, r=jkeiser, sr=jst
2002-09-11 02:30:52 +00:00
bzbarsky%mit.edu
d878e367a6
Fix offset-calculation logic so <select size="1"> works in scrolled
...
divs. Bug 115253, r=jkeiser, sr=roc
2002-09-11 01:44:36 +00:00
dougt%netscape.com
c5e8f896cd
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
dougt%netscape.com
d94b37c68a
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 05:38:16 +00:00
leaf%mozilla.org
b1bdbfd3cd
update localeVersion to 1.2a, a=asa
2002-09-07 01:01:49 +00:00
dougt%netscape.com
c1b9f8114d
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
2002-09-03 23:36:13 +00:00
mjudge%netscape.com
2e3c886ca3
23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
2002-08-30 01:32:11 +00:00
seawood%netscape.com
dacf2553e1
Not all c++ compilers support true. Use PR_TRUE instead.
...
Fixing OS/2 tinderbox bustage.
2002-08-27 07:34:41 +00:00
mjudge%netscape.com
50c6f53d6c
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
2002-08-26 20:55:30 +00:00
dbaron%fas.harvard.edu
232e591f4c
Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
2002-08-16 11:52:20 +00:00
bzbarsky%mit.edu
1c6fd001fa
Fieldset should look at its computed width even when there is no
...
legend. Bug 162502, r=jkeiser, sr=dbaron
2002-08-14 02:28:23 +00:00
bzbarsky%mit.edu
93743d7733
Fix crash when clicking empty space in <select>. Bug 161499, r=jkeiser, sr=jst
2002-08-08 22:27:57 +00:00
jkeiser%netscape.com
3443c5c434
Make form controls in fieldsets work (bug 121127), r=rods@netscape.com, sr=bzbarsky@mit.edu
2002-08-08 20:38:40 +00:00
bzbarsky%mit.edu
1c175100b5
back out accidental part of last checkin; fixing bustage
2002-08-07 00:37:04 +00:00
mjudge%netscape.com
7024b7e81d
141888 sr=kin r=brade patch to fix too agressive caret disabling from readonly textareas/input areas.
2002-08-07 00:01:11 +00:00
bzbarsky%mit.edu
8e0f646cc1
comment-only add-on to bug 161243 (which is what that previous checkin was)
2002-08-06 23:53:36 +00:00
bzbarsky%mit.edu
57a9907708
clean up some form control stuff (use common helpers and superclasses
...
for shared functionality where possible). r=jkeiser, sr=jst
2002-08-06 23:50:08 +00:00
jkeiser%netscape.com
f83d576068
Get rid of dirt and sludge from the select interface, and add comments (bug 159242), r=rods@netscape.com, sr=jst@netscape.com
2002-08-06 04:59:15 +00:00