Commit Graph

1999 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
a038faa054 Remove some synch flushes in listbox that caused reflow from inside frame
construction.  Bug 280754, r=dbaron. sr=neil
2005-02-05 03:32:17 +00:00
bzbarsky%mit.edu
85173da3a1 Only resize to (0,0) when we know we have no new image. Bug 270517, r+sr=dbaron 2005-02-04 17:39:43 +00:00
bryner%brianryner.com
d94c0df713 Remove nsIPresState (bug 279699). r+sr=roc. 2005-01-27 22:52:53 +00:00
bzbarsky%mit.edu
ab21bfff5a Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc
2005-01-27 21:17:08 +00:00
neil%parkwaycc.co.uk
6195ab4672 Make orphaned grid parts less likely to crash b=275896 r+sr=bz 2005-01-26 21:22:10 +00:00
vladimir%pobox.com
c6e2ea87cf b=279306, update canvas API to reflect latest standard spec; r=stuart,sr=shaver 2005-01-26 02:08:35 +00:00
bzbarsky%mit.edu
7b6c30b18b This wasn't supposed to go in either. 2005-01-25 19:05:41 +00:00
bzbarsky%mit.edu
9c77d70b55 This part wasn't supposed to go in. 2005-01-25 19:03:52 +00:00
bzbarsky%mit.edu
06dd9cce3d Fix build bustage 2005-01-25 18:18:34 +00:00
neil%parkwaycc.co.uk
b1affa3bcf Bug 271945 Crash when a popup's parent isn't a menu or popup set r+sr=bz 2005-01-25 17:50:00 +00:00
dbaron%dbaron.org
95df4cb990 Re-remove files that were checked into after being cvs removed to restore things to a consistent state. (These files were in Attic but not in the cvs 'dead' state, so they appeared when checking out by date.) 2005-01-19 22:48:57 +00:00
varga%nixcorp.com
a7c1766801 Fix for bug 274808. Crash when dragging onto a tree [@ nsXULTreeBuilder::GetTemplateActionCellFor ]
r=varga sr=bryner patch by Neil Deakin <enndeakin@sympatico.ca>
2005-01-19 22:06:23 +00:00
aaronleventhal%moonset.net
84910111ef Bug 167145. When PreventDefault() called for onkeydown event, do the same for onkeypress that follows. r=bryner, sr=neil 2005-01-19 02:38:59 +00:00
bzbarsky%mit.edu
72172ccbd5 When direction is not normal (bottom to top, especially), we don't properly
account for resizing of child boxes if it happens during Layout().  Bug 126620,
r+sr=dbaron
2005-01-15 19:35:19 +00:00
bzbarsky%mit.edu
cbe2e05d5d Make scrollbox report the correct maximum width. Bug 276286, patch by bernd,
r+sr=bzbarsky, a=asa
2005-01-09 21:23:43 +00:00
neil%parkwaycc.co.uk
0cad062d52 Fix deleting active menuitem from crashing b=250276 p=vlad r=ben sr=shaver a=asa 2005-01-07 23:59:12 +00:00
bzbarsky%mit.edu
99df5c71c0 Make people that want empty strings use EmptyC?String(). Bug 232691, patch by
Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky
2005-01-04 19:31:31 +00:00
neil%parkwaycc.co.uk
74e2aa375a Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron 2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk
3d7261604c Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
cbiesinger%web.de
b71e2a3790 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
2004-12-30 21:56:11 +00:00
bmlk%gmx.de
ca3e9f85c3 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
bmlk%gmx.de
d3197a9276 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
dbaron%dbaron.org
9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
danm-moz%comcast.net
367df133c4 single window mode aviary branch merge. bug 172962, 265962 r=bzbarsky,jst 2004-12-07 16:09:25 +00:00
roc+%cs.cmu.edu
4aabdbcc0b Bug 266890. Remove nsScrollPortFrame since it's the only subclass of nsScrollBoxFrame, just merge everything up to nsScrollBoxFrame. r+sr=bryner 2004-12-07 03:42:00 +00:00
dbaron%dbaron.org
21f82eae38 Remove unneeded include. b=272151 2004-12-07 02:57:37 +00:00
dbaron%dbaron.org
9a95dcefd4 Remove unneeded include. b=272151 2004-12-07 02:56:10 +00:00
gerv%gerv.net
670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
neil%parkwaycc.co.uk
a45fb5a046 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
9e94a3b521 Add methods to get screen coordinates of frames and views. Bug 268576,
r+sr=roc
2004-11-23 17:26:19 +00:00
neil%parkwaycc.co.uk
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
neil%parkwaycc.co.uk
07d61a2f74 Fix crash caused by destroying active popup menu b=266822 r+sr=roc 2004-11-04 14:11:06 +00:00
pkw%us.ibm.com
419d22bc83 Bug 267498 - Dialogs cutting off content
Patch contributed by Stephen Walker <sdwalker@myrealbox.com>
r/sr=roc@ocallahan.org
2004-11-03 23:31:17 +00:00
roc+%cs.cmu.edu
fcbe64e4d0 relanding fix for bug 265165 because it wasn't the source of Tp/Tdhtml regression 2004-11-03 12:20:13 +00:00
roc+%cs.cmu.edu
7582b05b06 Backing out fix for bug 265165 to see if it's the source of Tp/Tdhtml regression 2004-11-03 06:11:34 +00:00
roc+%cs.cmu.edu
82d2fed87b Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner 2004-11-03 02:52:16 +00:00
roc+%cs.cmu.edu
e3a829ac3e Bug 265165. For XUL elements, min-size should trump max-size not the other way around, according to CSS. But make it possible to set min-size to zero by setting it to 0% --- ugly hack until we get a better box-model spec. r+sr=bzbarsky 2004-11-03 02:32:00 +00:00
bugzilla%arlen.demon.co.uk
e88339585d Bug 162081 Wrong letter is underlined as accesskey / mnemonic when widget direction is RTL
p=mozilla-bugzilla@future.shiny.co.il r/sr=bzbarsky
2004-10-29 12:28:19 +00:00
varga%nixcorp.com
974fad2657 Bumping IIDs for bug 221619.
r=timeless sr=darin
2004-10-29 06:29:49 +00:00
timeless%mozdev.org
5e730ee0bc Bug 265336 GetService klookandfeel instead of CreateInstance
r=biesi sr=dmose
2004-10-28 07:25:57 +00:00
varga%nixcorp.com
b88f4a6f88 Updating my email address. 2004-10-22 18:33:55 +00:00
cbiesinger%web.de
3c13a82aef no bug - remove unused header includes, and remove an unused local variable.
r+sr=bz
2004-10-14 18:48:42 +00:00
jst%mozilla.jstenback.com
bc60433e87 Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu 2004-10-13 23:16:58 +00:00
bzbarsky%mit.edu
204153db3a Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.
2004-10-11 16:29:42 +00:00
bryner%brianryner.com
66d76ae942 Fix RelayoutChildAtOrdinal problems (correctly handle the case where the child is at the end of its ordinal group and isn't moving, and handle the case where the first child is moving somewhere else). Bug 262310, r=darin, sr=roc. 2004-10-01 00:22:07 +00:00
bryner%brianryner.com
4115a0c3b3 Don't try to destroy child frames twice. Bug 262244, r+sr=roc. 2004-09-30 23:16:06 +00:00
bzbarsky%mit.edu
0c2720f14b Columns should invalidate the tree when their width changes, not just when
attributes that affect width change.  Bug 257237, r=varga, sr=roc
2004-09-30 22:41:23 +00:00
bryner%brianryner.com
aed8386f51 Fix nsBoxFrame::RelayoutChildAtOrdinal to not clobber the first child in the list. Remove no-op nsIFrame::SetNextBox(). Thanks to darin for help with the patch, and r+sr=roc. Bug 262054. 2004-09-30 00:18:49 +00:00
bryner%brianryner.com
0e838f274d Fix various crashes by not trying to set the parent before we've initialized the frame. Bug 262054, r+sr=roc. 2004-09-29 18:43:28 +00:00
bryner%brianryner.com
dc62f4d4e5 Attempt to fix perf regression from bug 258513 by fixing users of obsolete nsIBoxToBlockAdaptor interface. Also, removing this interface like I intended to do. r=dbaron. 2004-09-29 00:28:13 +00:00
bryner%brianryner.com
f67d250152 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc. 2004-09-28 18:37:50 +00:00
aaronleventhal%moonset.net
a99b741621 Bug 166004. Need to fire accessible focus event on new menuitem when using left arrow to leave submenu and go back into parent menu. r=kyle, sr=bryner 2004-09-21 20:45:12 +00:00
aaronleventhal%moonset.net
ec9d7c97c6 Bug 260563. Put space before parenthesized appended accesskey, it looks nicer (trivial patch). r=dbaron, sr=pkwarren 2004-09-21 19:28:14 +00:00
neil%parkwaycc.co.uk
6a4f37de6b Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
aaronleventhal%moonset.net
78f76ffeb3 Bug 68841. Underline xul:radio and xul:checkbox accesskeys. r=mconnor, sr=neil 2004-09-20 11:29:07 +00:00
dbaron%dbaron.org
261b59579b Remove unconditional MarkDirty in nsBoxFrame::AttributeChanged. This is likely to cause some regressions, since it removes code that may have covered up inadequate handling of certain specific attribute changes. b=253364 r=bryner sr=roc 2004-09-17 18:36:30 +00:00
dbaron%dbaron.org
a0bf92722f Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc 2004-09-15 19:16:43 +00:00
roc+%cs.cmu.edu
44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
dbaron%dbaron.org
02e5799687 The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc 2004-09-13 05:39:27 +00:00
roc+%cs.cmu.edu
2a8936b1a7 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00
bzbarsky%mit.edu
26e0feee63 Fix crash in nsScrollBoxObject::::EnsureElementIsVisible. Bug 257607, patch by
Justin <justin@openaether.org>, r+sr=bzbarsky.
2004-09-12 04:15:44 +00:00
smontagu%smontagu.org
a5a6cadc55 Bug 140577: Radio buttons and check boxes aligned to the left when UI aligned to the right, r+sr=roc. 2004-09-06 20:18:23 +00:00
bryner%brianryner.com
5e7349dd5d Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc. 2004-09-06 03:59:31 +00:00
roc+%cs.cmu.edu
6255acffd9 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron%dbaron.org
3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
c7058a9684 Land bug 72747 in pieces: convert users of nsIScrollableFrame::GetScrollPreference to using GetScrollbarStyles. b=72747 r+sr=roc 2004-09-03 00:43:46 +00:00
jst%mozilla.jstenback.com
dea7a573d7 Fixing bug 257431. Make the tabbrowser code only listen to events initiated by the user. r=trev@gtchat.de, sr=bzbarsky@mit.edu 2004-09-02 15:25:39 +00:00
bryner%brianryner.com
dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
bmlk%gmx.de
7884179497 frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc 2004-08-31 18:50:40 +00:00
neil%parkwaycc.co.uk
bc4e34d054 Bug 254061 Fix scrollbars in popups inside scrolled frames r+sr=roc 2004-08-28 11:41:02 +00:00
roc+%cs.cmu.edu
3aa85b6fa6 Bug 255584. Relanding nsBoxToBlockAdaptor change that avoids adding area above and to the left of the frame origin to the scrollable area ... because we can't scroll there anyway. r+sr=dbaron 2004-08-28 02:05:28 +00:00
bmlk%gmx.de
59e5b7d012 xul frames should compute MEW only when they are really requested to do so, bug 256006 r/sr=dbaron 2004-08-27 16:51:05 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
gerv%gerv.net
ba2432c07e Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
kjh-5727%comcast.net
55dab83c6b Bug 256436 - Backing out the patch from bug 255584 due to a regression.
Requested by roc.
2004-08-22 20:24:16 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
roc+%cs.cmu.edu
1bd2f329e8 Bug 255584. Don't include areas above and to the left of the origin when we're trying to figure out the scrollable width and height --- we can't scroll to them! r+sr=dbaron 2004-08-21 03:04:26 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bryner%brianryner.com
645c255390 Fix double handling of arrow keys in menus on gtk2 (bug 219706). This prevents the OS default action from occuring if we've handled the event. We may want to stop the signal at the gtk level as well, but this fix should be reasonable safe. r=mkaply, sr=dbaron. 2004-08-19 18:36:42 +00:00
neil%parkwaycc.co.uk
bd8c0f4716 Bustage fix for bug 235966 p=trev@gtchat.de r=me 2004-08-19 09:11:15 +00:00
timeless%mozdev.org
cfeb9e7caf Bug 235966 nsMenuBarListener.cpp opens the menu on Ctrl+Alt+T
patch by trev@gtchat.de r=varga sr=bryner
2004-08-19 08:04:11 +00:00
vladimir%pobox.com
cfcb233cb8 Initial landing of cairo-related stuff, nothing built by default, all code is in ifdefs. r=bryner,a=brendan 2004-08-14 01:01:16 +00:00
bryner%brianryner.com
0fa9344f94 Fix for reflow problem in XUL dialogs (bug 255270, smoketest blocker). Patch by bzbarsky, r=neil, sr=dbaron. (I'm conservatively just removing the hack in nsHlperAppDlg by restoring it to its previous state). 2004-08-13 18:25:33 +00:00
bzbarsky%mit.edu
94990b951c Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org
94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
neil%parkwaycc.co.uk
c92d2393e1 Bug 253798 General or menu access keys should not affect xul menulists r+sr=roc 2004-08-09 22:22:02 +00:00
bzbarsky%mit.edu
91a0c731f4 nsImageBoxFrame and nsTreeBodyFrame should use nsContentUtils::LoadImage (and
CanLoadImage).  Bug 253627, r+sr=dbaron
2004-08-04 19:48:55 +00:00
cbiesinger%web.de
9b72dd5b6f Bug 254278 remove some *WithConversion in layout/content
r+sr=bz
2004-08-04 17:33:30 +00:00
dbaron%dbaron.org
e7216e4d86 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
bryner%brianryner.com
6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
1236bd859f Back out 236889 due to 253755. 2004-07-31 07:42:12 +00:00