Граф коммитов

1365 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu abcad1dc39 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 033c0812b5 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 6440f76be7 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 97deb07230 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 cb3f422652 Remove vestiges of <input type="browse">. Bug 242873, r+sr=peterv 2004-05-11 18:16:41 +00:00
jst%mozilla.jstenback.com 99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
rbs%maths.uq.edu.au 00679fd3c6 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 cc6fdc52b2 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 47ce3369a5 Backing out the part of the patch that was incorrectly checked in. 2004-05-05 02:48:53 +00:00
roc+%cs.cmu.edu a6dd695671 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 b39d104f02 No bug. Remove unused code and variables from nsListControlFrame. rs=shaver 2004-05-04 04:30:23 +00:00
bzbarsky%mit.edu 1c4ef3efa1 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 53bcc60239 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 868dd94ecb 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 6a9d89a9fa 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 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu 83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
varga%nixcorp.com 2cd056deb1 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 759d9ab5d3 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 14c6b02ec5 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 17f81274ba Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky 2004-04-13 03:11:05 +00:00
bzbarsky%mit.edu ddb373de3c Fix MSVC.net bustage. Bug 236956, r+sr+a=dbaron 2004-03-12 16:51:26 +00:00
dbaron%dbaron.org 41c16857c2 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 8397ac8d8f 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 e6f646d474 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 ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
roc+%cs.cmu.edu 87b13e8430 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 ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
kairo%kairo.at 5f250d223d 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 225298a99e 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 5f7a8b383e 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 2aff301e81 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 c0de956a63 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 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
sicking%bigfoot.com d5a23a72e6 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 433c389ddf 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 3d12a17e05 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 4f69ec2c2e 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 42adb9f1be 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 ee86ab45fb 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 90431d8022 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 bc74f0b352 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 ef5c330583 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 bda404c023 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 8f4e566b42 Miscellaneous cleanup. r/sr=jst. 2004-01-18 14:53:32 +00:00
peterv%propagandism.org 379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bzbarsky%mit.edu a9bb3673d1 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 2bddef83ba 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 c000ae86e8 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 0286fde9c1 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 e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com dfe3513814 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 352509b071 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 4183787fa9 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 acf7c89bca 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 bb59181099 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 0a84bc497c 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 e8815f78d2 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 91e2869af8 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 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bryner%brianryner.com 605cc06382 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 c9a9ee88ce removing extra semicolon 2003-10-21 19:37:48 +00:00
bzbarsky%mit.edu 46de74faf0 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 7b21e2d4eb 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 3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
dbaron%dbaron.org 5cce92dc2a 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 b74d8438f9 Updating my email address 2003-09-29 06:04:02 +00:00
bmlk%gmx.de 3d7310292f fieldset frames should report overflow area, bug 96506 r/sr=dbaron 2003-09-27 14:53:17 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 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 d0615f9350 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 c49da48965 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 0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bryner%brianryner.com 9d11b3c424 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 ec0c023645 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 009c1b35fc 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 46638c553d 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 5cbc82d1b5 bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa 2003-08-11 11:31:24 +00:00
dbaron%dbaron.org 476143ae1a 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 e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu b0d068ccde 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 95899387f6 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 e6dbb06ce4 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401 2003-07-21 19:51:34 +00:00
jaggernaut%netscape.com 817298ce0b 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 d85698fd40 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 5c5a6660ec 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 b2ba25b6fd 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 b3003f362c 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 9bd83767f7 Fixing build bustage 2003-07-04 13:36:03 +00:00
roc+%cs.cmu.edu 0b15c3893e Ongoing deCOMtamination. r+sr=dbaron 2003-07-04 12:50:32 +00:00
bzbarsky%mit.edu fbca1ac9e1 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 5d55c4535e Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
rbs%maths.uq.edu.au a3601b3e47 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 898a232581 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 e1e798d3f8 Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky 2003-06-19 23:52:58 +00:00
dbaron%dbaron.org 4afcaa0e69 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 b7fa256d74 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 2df173e9c8 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 2751c6b097 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 2e29273c63 Remove unused variables, r+sr=sfraser@netscape.com 2003-06-06 01:11:57 +00:00
kairo%kairo.at 0b93c73eee bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
jkeiser%netscape.com ea020d3190 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 270d3909ca 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 9ee03c08e4 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 f5b886b9cd 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 75ff60c62f 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 ade40a3ae3 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 f4a1c61d8c 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 b6009f1e51 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
bzbarsky%mit.edu 0b85b42edc 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 3a3ec0cbd5 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 abe53e192f 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 3936b4c393 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 0f97378c68 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 697618b07d 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 83e46b1a49 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 0b5cb41238 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 9dfc1961ec 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 f3a28e9f42 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 210e29411b 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 661116311f bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard 2003-02-27 00:05:44 +00:00
roc+%cs.cmu.edu 67a197918a 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 96b5516d32 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 d2a4744e14 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 4b6af0e39f 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 a933850866 Use .get() when calling GetStyleData with a nsRefPtr<nsStyleContext> parameter, fixing nebiros bustage. 2003-02-22 04:27:23 +00:00
bryner%netscape.com e43f5a49fd 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 0757c0a5b1 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 539c56b91f 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 277d4c5fdc fix frame name for nsTextControlFrame (debug-only code). r/sr/a=roc. 2003-01-25 01:47:20 +00:00
kin%netscape.com 1b4b682929 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 6345aa5b6c 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 aa05374d8e Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser 2003-01-10 09:24:30 +00:00
dbaron%dbaron.org 849440045e Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky 2003-01-10 00:30:50 +00:00
dbaron%dbaron.org 57124d8115 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 7f0488eb18 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 872ded6605 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 14c5b6b776 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 a6f4446e42 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 dd17c242ec 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 d7d9298ab3 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 cb84e04c70 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 dc755ed5d9 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 a1d3c960e5 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 2de2d24266 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 34a1e37f7e 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 f1ebcab55a 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 8fa46fbfe6 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 0c54ecf4c2 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 c7726efa2b 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 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
jkeiser%netscape.com 7b5c99d547 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 ab75327f3e 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 1e89d16d17 Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky 2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu c6541482b9 <button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron 2002-11-19 03:39:44 +00:00
dbaron%fas.harvard.edu f6b1702067 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 ed078e5c87 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 b11bfa8941 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 3d0e77ae73 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 722881b278 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 d33d3708fe 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 8beac694e3 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 348a43af99 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 4acee63ab2 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 150568bb2e 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 a3dadf6cfe 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 eeb40eac51 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 83d0e310d3 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 b25d2a38f7 update localeVersion for 1.2b, a=asa 2002-10-16 17:51:38 +00:00
caillon%returnzero.com 5ba9439c07 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 35c5cded43 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com 53ea2dfc93 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 cc93338c09 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 88a7759322 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 7de3925409 Back out bug 167236 due to regressions 171214 and 171465 2002-09-30 10:22:06 +00:00
kyle.yuan%sun.com a20c3b924d 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 f5eae8deb7 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 023bf894f8 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 e8710c1495 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 c49df165a5 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 02c9151814 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 2558b06343 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 757e769851 <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 720bcd0c52 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 68faeb5241 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 fae89c4077 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 70941124cb update localeVersion to 1.2a, a=asa 2002-09-07 01:01:49 +00:00
dougt%netscape.com f2a00efc93 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 6a091661e4 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 049c194348 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 a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
dbaron%fas.harvard.edu a7f0385127 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 d3f12571aa 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 bd00f336c3 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 5cd6207734 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 14956082f7 back out accidental part of last checkin; fixing bustage 2002-08-07 00:37:04 +00:00
mjudge%netscape.com c49686d37b 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 d2f2e31d44 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 5d1c18865d 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 faf019ce38 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
cbiesinger%web.de 069f69ec74 bug 50633 patch by riceman+bmo@mail.rit.edu r=jkeiser sr=kin a=asa
textarea always does a soft wrap, even with wrap="off" or white-space:nowrap or white-space:pre
2002-07-29 20:13:09 +00:00
jkeiser%netscape.com 78b069a372 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa
2002-07-26 20:57:24 +00:00
leaf%mozilla.org cc188fe903 adding new files from nsGfxTextControlFrame2.*; part of renaming in bug 129909 2002-07-26 17:17:00 +00:00
alecf%netscape.com e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
bryner%netscape.com c101b71840 fixing css syntax error (bug 158981). r=jkeiser, sr=bzbarsky, a=asa. 2002-07-25 00:12:04 +00:00
jkeiser%netscape.com dca7f18492 Make select clear when last option is removed from it (bug 154410), r=bzbarsky@mit.edu, sr=dbaron@fas.harvard.edu, a=asa 2002-07-18 00:58:31 +00:00
leaf%mozilla.org 8860985e79 bug 154840, r=cls, sr=brendan, a=jesup update localeVersion strings 2002-07-17 23:51:49 +00:00
cbiesinger%web.de b8aa101e51 bug 146974 r=hwaara sr=tor
js strict warnings
2002-07-03 19:16:45 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
kyle.yuan%sun.com 177ebed004 Bug 149856 [XBLFC] Active Accessibility: support XBL-based HTML button
r=aaronl, sr=jst
2002-06-26 01:53:11 +00:00
timeless%mac.com a527d91fe6 Bug 138019 radio form control images should have flex="1"
r=andreww sr=jst
2002-06-24 07:44:04 +00:00
dbaron%fas.harvard.edu 41a51a0938 Fix accesskey regression for text inputs and textareas. b=148249 r=aaronl sr=jst 2002-06-20 20:44:27 +00:00
kyle.yuan%sun.com 61c5b0b4db Bug 149858 [XBLFC] Active Accessibility: support XBL-based HTML radio
r=aaronl, sr=jst
Add nsIAccessibleProvider in radio.xml, create accessible object for XBL radio button
2002-06-19 02:00:38 +00:00
jkeiser%netscape.com ff4098d11e Make enter fire onChange for non-dropped-down select. bug 150759, r=rods@netscape.com, sr=kin@netscape.com 2002-06-14 06:50:22 +00:00
jkeiser%netscape.com f58b85e424 Make input type=file disabled work properly and look right. bug 92858, r=rods@netscape.com, sr=roc+moz 2002-06-12 07:58:26 +00:00
leaf%mozilla.org 6e6bf977e5 updating locale version string for impending release, bug 149802 2002-06-07 07:45:38 +00:00
jkeiser%netscape.com 4d507d3aff Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 00:44:04 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
rods%netscape.com c2d186a7fa temporary patch to the forms controls to ignore mouse events when in
printpreview until Bug 124990 gets fixed (radio and checkbox doesn't need the fix)
this code will be removed via bug 146399
Bug 129002 r=dcone sr=attinasi
2002-05-23 11:25:58 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu d2188e6086 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
jst%netscape.com 262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
aaronl%netscape.com a4509817d1 Bug 134787. Active Accessibility: support XBL checkbox (first XBL-based HTML form control to be supported). r=jgaunt, sr=jst 2002-05-17 04:03:12 +00:00
jkeiser%netscape.com 79d7d4bffc Make textarea wrap="hard" not wrap text for restore/JS (only submit and edit). bug 74091, r=rods@netscape.com, sr=attinasi@netscape.com 2002-05-16 18:26:05 +00:00
waterson%netscape.com e3554c37cc Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
sicking%bigfoot.com b4fccd9b86 Bug 119317. Drop support for non-namespaced "inherits" xbl-attribute and move over the last uses of the old syntax.
r=Hixie sr=hyatt
2002-05-03 17:51:44 +00:00
locka%iol.ie 08b77d441d Stop image control frame stomping on the event status. This stops context menu events being propogated to their parents and sent twice for input elements with images. bugscape=14131 r=saari@netscape.com sr=jst@netscape.com 2002-05-01 20:15:44 +00:00
dbaron%fas.harvard.edu 2d7fe2e0eb Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson 2002-05-01 00:17:04 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
gerv%gerv.net 0f7ebbdfe9 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa. 2002-04-19 08:07:11 +00:00
rods%netscape.com 249c99976d Selection now works with multiple selects
Bug 64165 r=jkeiser sr=attinasi
2002-04-17 00:09:54 +00:00
dbragg%netscape.com bcc260038d Regular milestone update of localeVersion values to 1.0.0. Bug 126785. r=tao, sr=alecf, a=asa 2002-04-16 22:19:10 +00:00
bryner%netscape.com 2fdd9e39df Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst. 2002-04-16 05:09:35 +00:00
rods%netscape.com e6ba8d44f3 Backed out the one line that causes this to happen
64165 r=jkeiser sr=attinasi
2002-04-15 13:39:00 +00:00
sicking%bigfoot.com f8c2ea5afa Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt
2002-04-13 14:25:38 +00:00
seawood%netscape.com ae7c7f0de5 Error 690: "nsSelectsAreaFrame.cpp", line 149 # Nonempty source files must end with a newline that is not preceded by a backslash.
(Fixing HP-UX tinderbox bustage)
2002-04-11 03:25:58 +00:00
rods%netscape.com 57b403c725 Click on the checkbox to get focus to the right spot and then press <tab> to
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
2002-04-11 00:53:20 +00:00
dbaron%fas.harvard.edu 0c610fadf1 Fix SunWS / OS/2 bustage. 2002-04-06 19:18:35 +00:00
dbaron%fas.harvard.edu 04a3c588f5 Make button controls paint on top of inline element backgrounds. b=107244 r=rods sr=waterson a=asa 2002-04-06 15:31:53 +00:00
rods%netscape.com 5d756d11b6 This backs out the previous patch and just check to see if it is also a
listControlFrame to see if it should set the visibility to false in
nsContainerFrame
Bug 92333 r=dcone sr=attinasi a=asa adt=jaime
2002-04-05 13:27:04 +00:00
jkeiser%netscape.com 8bd94cbcd7 Make listboxes not select the nearest visible option when tabbing out (bug 132431). r=rods@netscape.com, sr=attinasi@netscape.com, a=asa 2002-04-05 04:34:02 +00:00
jkeiser%netscape.com 20de5ef0e8 Make dropdowns paint over the background beneath them (bug 95826). r=jkeiser@netscape.com, sr=attinasi@netscape.com, a=asa 2002-04-05 04:29:05 +00:00
aaronl%netscape.com be88fe4c6a Bug 112978. HTML select options need to generate Accessibility API focus events, so screen readers can track user's movements through options. r=jgaunt, sr=attinasi, a=asa 2002-04-04 23:27:45 +00:00
bryner%netscape.com 9be0e997bb Add a focus border for xbl checkboxes and radio buttons (bug 132885). r=ben, sr=blake, a=brendan. 2002-04-01 07:24:00 +00:00
dbaron%fas.harvard.edu b350a0fd0f Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa 2002-03-31 16:59:00 +00:00
jkeiser%netscape.com e95bf883e6 Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-31 10:14:01 +00:00
bryner%netscape.com a27ce8e06f Removing extra padding on XBL form buttons (bug 125460). r=jrgm, sr=ben, a=brendan. 2002-03-31 02:05:35 +00:00
jkeiser%netscape.com 31e41094ef Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
jkeiser%netscape.com 39fe8af27c Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org) 2002-03-29 05:35:47 +00:00
hewitt%netscape.com d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
dbaron%fas.harvard.edu 3e64376a4b Remove "layout.forms.use_standard_or_quirks" pref and the old quirks-mode form control code that it enabled. (See bug 91602.) b=131452 r=rods sr=attinasi a=asa 2002-03-27 06:13:32 +00:00
rods%netscape.com 27c318e746 Add SetVisibility method to Scroll Views
It now checks the visibility and adjusts the scrollbars accordingly
Bug 92333 r=kmcclusk sr=attinasi a=asa
2002-03-27 02:58:56 +00:00
sicking%bigfoot.com 058a33eded Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +00:00
dbaron%fas.harvard.edu 66238732c8 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:26:36 +00:00
bryner%netscape.com 35bcae8f41 More work on XBL radio button (bug 112715). r=jkeiser, sr=jst, a=asa. 2002-03-22 04:22:19 +00:00
bryner%netscape.com 02cdf487ea Implement HTML radio button in XBL (bug 112715). r=pavlov, sr=ben, a=brendan. 2002-03-21 09:16:17 +00:00
bryner%netscape.com 2863ac5493 - Removing modern theme versions of the XBL form controls
- Moving classic theme versions of the controls into forms.jar, so we don't rely on classic.jar
- Updating xpinstall packages to reflect this

Bug 130236, r=ben, sr=hyatt, a=brendan.
2002-03-19 21:47:46 +00:00
bryner%netscape.com 71870e3113 Disable -moz-appearance on the remaining widgets, since we're not going to do native OS form control theming for 1.0. Bug 130236, r=kerz, sr=ben, a=brendan. 2002-03-18 09:01:02 +00:00
bryner%netscape.com 24af4a0620 Use a scrollbar, not auto-scroll arrows, for <select size=1>. Bug 129805, r=blake, sr=ben, a=brendan. 2002-03-18 07:07:45 +00:00
bryner%netscape.com 21df11ab85 Hardcode sizetopopup=always behavior for HTML select widgets, that way we don't pollute the HTML DOM with our attribute. Also, factoring out the sizetopopup check into a helper method. Bug 128947, r=jkeiser, sr=brendan, a=dbaron. 2002-03-17 23:41:22 +00:00
attinasi%netscape.com edae7e78f2 Catch the case where the content node for the Input has not been created yet, prevent crash. b=123914 r=jkeiser, sr=roc+moz, a=asa (OBO drivers) 2002-03-15 00:40:07 +00:00
andreww%netscape.com d2bc38bc28 bugzilla 129140 r=hwaara, sr=hewitt, a=asa - updating skinversion to 1.0 2002-03-14 21:20:51 +00:00
jkeiser%netscape.com b912cb1c68 Fix select focus crasher (bug 125906), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa 2002-03-14 00:56:56 +00:00
bryner%netscape.com db8461403c Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan. 2002-03-13 10:12:33 +00:00
hyatt%netscape.com e507d3e39b Fix 129787. Select popups should inherit the background color from the select. XBL Form Controls. r=bryner, sr=ben, a=brendan 2002-03-12 09:44:11 +00:00
hyatt%netscape.com 3547613ab5 Fix the font of XBL select widgets to be sans serif (using the list system font). r=bryner, sr=ben, a=brendan, bug 129788 2002-03-12 09:31:54 +00:00
hyatt%netscape.com e37540f912 Fix for bugs 129786 and 129803, correcting the min width on XBL form control buttons and rewriting the button CSS to disable moz-appearance and correct the padding and active and focus states. r=bryner, sr=ben, a=brendan 2002-03-12 09:19:34 +00:00
hyatt%netscape.com 68de96c4f8 Fix for 129789, XBL form control selects need to leave space for scrollbars. r=bryner, sr=ben, a=brendan 2002-03-12 08:45:52 +00:00
hyatt%netscape.com f6a8704b50 Fix for 129792, XBL form control selects had wrong display type (block XUL box instead of inline XUL box), r=bryner, sr=shaver, a=brendan 2002-03-12 08:24:58 +00:00
mkaply%us.ibm.com 9c58ca40c8 #100186
r=jkeiser, sr=attinasi, a=asa
On OS/2 and Windows, handle F4 to roll up and down dropdowns
2002-03-08 15:49:30 +00:00
jkeiser%netscape.com 0ffd29f281 Move radio buttons to content (bug 108308). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-07 20:53:40 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bryner%netscape.com 43c343c801 Bug 128749 - fix shortcut keys when a select/outliner has focus. r=pinkerton, sr=blake, a=asa. 2002-03-04 23:36:38 +00:00
alecf%netscape.com cd8f07f3e8 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
bryner%netscape.com 3d1b04a30d Bug 128408 - XBL select widgets crash in embedding apps. Fixing the
select binding to load synchronously as it was intended to, and removing
usage of the outlinercols binding to ensure that the OutlinerColFrame is
constructed before the OutlinerBodyFrame.  r=varga, sr=shaver, a=roc.
2002-03-03 23:31:26 +00:00
bryner%netscape.com dd61e9be9f Meant to check this in as part of bug 127189. Make the XBL select widget use sizetopopup="always". Not yet turned on. 2002-03-03 07:48:38 +00:00
rods%netscape.com 77ba62c980 Fix up layout for RTL after areaframe jumbles frames.
Bug 118509 r=dcone sr=attinasi a=shaver
2002-02-27 13:03:00 +00:00
jkeiser%netscape.com f929b21bf6 Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com 2002-02-20 05:59:46 +00:00
dbragg%netscape.com c7478fbb13 Updating the localeVersion to 0.9.9. Fixes bug 126240. r=tao, sr=dveditz 2002-02-20 03:18:10 +00:00
alecf%netscape.com 66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
roc+%cs.cmu.edu 59d3d1ebd0 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi 2002-02-19 21:33:26 +00:00
aaronl%netscape.com 80103664b1 Fixing bustage. --disable-accessibility is broken 2002-02-16 03:23:18 +00:00
aaronl%netscape.com 26f23e3c82 Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt 2002-02-16 01:35:09 +00:00
aaronl%netscape.com 37d3cec004 Active Accessibility: support HTML tags <fieldset> and <legend>. r=jgaunt, sr=hewitt 2002-02-16 01:34:42 +00:00
bryner%netscape.com e28d9642d4 bug 122036 - make space and ctrl+space work as expected. Not turned on yet. 2002-02-14 09:29:00 +00:00
bryner%netscape.com a911745886 Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet. 2002-02-13 10:47:18 +00:00
rods%netscape.com ae9f009f3d Override if the computed size is zero
Bug 121461 r=dcone sr=attinasi
2002-02-12 15:24:37 +00:00
rods%netscape.com f7967cae61 Clip was being incorrectly set set as Replace instead of Intersect
Bug 84138 r=kmcclusk sr=attinasi
2002-02-12 13:35:59 +00:00
bryner%netscape.com 94aaf03246 Bug 124298 - moving form submit/reset event firing into the content node. r=jkeiser, sr=attinasi 2002-02-08 23:50:51 +00:00
jkeiser%netscape.com 2cceb551a9 bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com 2002-02-08 18:35:48 +00:00
bryner%netscape.com 5f77a1e0b1 Adding missing licenses. 2002-02-08 07:56:08 +00:00
bryner%netscape.com 6479838872 New files for XBL-ified HTML button widget. Not part of the build. 2002-02-08 07:38:56 +00:00
bryner%netscape.com 28cc5dcc3c Updates to XBL checkbox widget. Hopefully this will fix some of the problems with native theme drawing. Not turned on yet. 2002-02-06 08:24:26 +00:00
bryner%netscape.com a9340ba386 Fixing bug 122034 (tabbing not working from xbl selects). Not turned on yet. 2002-02-05 02:14:50 +00:00
bryner%netscape.com 6d912572c7 adding -moz-appearance for xbl listboxes. not turned on yet. 2002-02-02 02:23:17 +00:00
bryner%netscape.com 6f3d473c82 Adding classic skin css for xbl checkboxes. Also fixing up borders on comboboxes. Not turned on yet. 2002-02-02 01:42:25 +00:00
bryner%netscape.com cb0b3df123 Adding classic skin css for xbl select widget. Not turned on yet. 2002-02-01 23:59:26 +00:00