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

15617 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org e9b273e221 Reduce randomness in indentation and line wrapping. Whitespace changes only. 2004-01-22 21:58:28 +00:00
dbaron%dbaron.org b3ce2d47b0 Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +00:00
pinkerton%aol.net 7e206939ee fix up margins and min sizes so small buttons don't look so bad (bug 228499, notpart of seamonkey build) 2004-01-22 21:04:34 +00:00
neil%parkwaycc.co.uk fe9b1bc6f0 Commenting on change in bug 219908 patch is in original bug 217089 p=gautheri@noos.fr r=bryner sr=jag 2004-01-22 16:14:35 +00:00
cbiesinger%web.de b63dcc236e Bug 231372
GetCombinedArea could be faster/better
make it return an nsRect as return value instead of out parameter.
r=dbaron sr=bzbarsky
2004-01-22 15:06:25 +00:00
dbaron%dbaron.org e73ddc3bbd Untabify. Not part of build. 2004-01-22 01:54:13 +00:00
dbaron%dbaron.org dc0006a0b3 Use |const|. DEBUG-only. 2004-01-21 23:08:51 +00:00
bryner%brianryner.com 93f6dc27e6 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +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
dbaron%dbaron.org b7b681aeb3 Process queued-up events after all types of reflow so we don't leak things referenced by the queues. b=231278 r=bzbarsky sr=roc 2004-01-21 04:15:00 +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
roc+%cs.cmu.edu 2e6244f1d5 Bug 229052. Treat pre-formatted newlines like BRs, preserving the break type in nsBlockFrame::ReflowInlineFrame. r+sr=dbaron 2004-01-18 19:35:19 +00:00
bzbarsky%mit.edu ae458f9668 Back out accidentally committed code. Bug 230852, r+sr=roc 2004-01-18 18:20:57 +00:00
peterv%propagandism.org 56cd85f402 Doh. Fixing bustage. 2004-01-18 15:20:00 +00:00
peterv%propagandism.org 53f2f735a9 Miscellaneous cleanup. r/sr=jst. 2004-01-18 14:53:32 +00:00
peterv%propagandism.org 172440f1a9 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
cbiesinger%web.de 00f1d09b7d Bug 176637 Custom link colors not rendered correctly
patch by durbacher@gmx.de (Andreas Kunz) r=dbaron sr=bz
2004-01-18 14:44:43 +00:00
peterv%propagandism.org b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bmlk%gmx.de 3f5d4f5f86 remove unneccesary prescontext arguments bug 230923 r/sr=roc 2004-01-18 10:28:40 +00:00
peterv%propagandism.org 512c8d9a90 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 10:22:22 +00:00
dbaron%dbaron.org b1081d3fc5 Remove unneeded casts and extra shadowing variable. 2004-01-18 07:13:40 +00:00
dbaron%dbaron.org 38f954b2d2 Fix elements with max-width overlapping floats due to initial incorrect position by reflow state. b=52916 Patch by Chris Waterson. r=dbaron sr=bzbarsky 2004-01-18 06:06:13 +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
caillon%returnzero.com 652f6388a7 Bug 230976.
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
2004-01-18 02:42:27 +00:00
dbaron%dbaron.org 739ce46d2f Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky 2004-01-18 01:12:58 +00:00
dbaron%dbaron.org d22503bb59 Refactor code that calls ComputeStyleChangeFor and handles the result. b=231027 r+sr=bzbarsky 2004-01-17 22:43:14 +00:00
bzbarsky%mit.edu 774747e4a0 Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst 2004-01-17 20:04:26 +00:00
tor%cs.brown.edu 40912d05d5 Bug 113561 - handle tiling of images where the frame is smaller
than the container.  r=pavlov, sr=bryner
2004-01-16 23:28:51 +00:00
bzbarsky%mit.edu 302784ff96 Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron 2004-01-16 03:05:00 +00:00
caillon%returnzero.com a3db938038 Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron 2004-01-15 22:06:39 +00:00
dbaron%dbaron.org b7fcfdfbcc Remove bogus assertion (decl should be null for elt.style, if there's no style attribute). r+sr=bzbarsky 2004-01-15 21:00:35 +00:00
dbaron%dbaron.org 95c1a4e503 Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
bryner%brianryner.com 8b90ab243e Consolidate SetEnabled and SetDisabled; make sure both of them clear the rule cascade on the rule processors. Bug 230651, r+sr=bzbarsky. 2004-01-15 03:26:56 +00:00
dbaron%dbaron.org b46ca5eba2 Add support for -moz-image-region to getComputedStyle. b=220717 r=bzbarsky sr=ben 2004-01-15 02:25:08 +00:00
dbaron%dbaron.org fc75487666 Fix copy constructor so -moz-image-region inherits correctly. b=220717 r=bzbarsky sr=ben 2004-01-15 02:24:17 +00:00
dbaron%dbaron.org 5adbb6a8c9 Implement CSS3 indirect adjacent sibling combinator (~). Roughly identical patches independently written by Daniel Glazman <daniel@glazman.org>, Bradley Baetz <bbaetz@acm.org>, and me. r+sr=dbaron b=135141 2004-01-14 20:12:03 +00:00
dbaron%dbaron.org f0a3a7da49 Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +00:00
bzbarsky%mit.edu 75c2b9acde Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu ccd7a90165 Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00
bryner%brianryner.com 6c1dc8beab Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky. 2004-01-13 02:19:28 +00:00
dbaron%dbaron.org c6a9d7f43d Remove NS_FRAME_HAS_LOADED_IMAGES state bit. b=201076 r+sr=bzbarsky 2004-01-13 01:18:51 +00:00
bryner%brianryner.com 7e8d28b6d7 fix content area not redrawing when resizing the window on Mac. bug 222300, r+sr=dbaron. 2004-01-13 00:27:45 +00:00
bzbarsky%mit.edu 0e655ce02d Don't allow pseudos that are supposed to be functions to pass through as ident
tokens.  Bug 230704, r+sr=dbaron
2004-01-12 23:56:18 +00:00
bzbarsky%mit.edu 03caa61528 Argh. Forgot to remove a tab. 2004-01-12 23:55:30 +00:00
bzbarsky%mit.edu c047e8b5fe Don't apply document rules to anonymous content inside the marquee. Bug
159747, r+sr=dbaron
2004-01-12 23:44:51 +00:00
timeless%mozdev.org 447bfb8206 Bug 83405 gecko build date only occasionally updated
patch by cls r=bryner
2004-01-12 16:31:00 +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
bzbarsky%mit.edu d83869e0ab Fix regression bug 230620. r+sr=dbaron 2004-01-11 22:03:41 +00:00
bryner%brianryner.com 378b0bba29 Revert nsAutoPtr usage here at least until we better understand the bloat. Bug 64116, sr=bzbarsky. 2004-01-11 09:34:07 +00:00
dbaron%dbaron.org 1a8048a611 Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky 2004-01-11 04:29:09 +00:00
bryner%brianryner.com d9d8ab7259 attempting to fix HP-UX/AIX/IRIX bustage (bug 228378) 2004-01-11 00:24:37 +00:00
dbaron%dbaron.org ab99d0eabc Ignore incremental reflows targeted inside a reflow root if the reflow root's parent has not yet been reflowed. (This could probably be made more general, but it's enough to fix the bug in question.) b=228156 r=roc sr=bzbarsky 2004-01-10 19:12:23 +00:00
roc+%cs.cmu.edu 6bf24a63ff Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc 2004-01-10 16:18:36 +00:00
roc+%cs.cmu.edu 4ce233447a Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
bzbarsky%mit.edu 4f04752672 Don't use HTML rules to parse (redundantly) media strings in CSS @import
rules.  Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +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 632559f54a Fix printing crash regression (bug 230516). r=bzbarsky, sr=dbaron 2004-01-09 22:54:09 +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 19b72aba25 Fix warnings about uninitialized 'result' in nsFrameTraversal. r+sr=brendan 2004-01-09 21:45:24 +00:00
mkaply%us.ibm.com d57166766b #66834
r=mkaply, sr=blizzard (platform specific), a=mkaply
Lost OS/2 only #ifdef change from pedemonte to make us like Windows
2004-01-09 19:34:54 +00:00
roc+%cs.cmu.edu e42362f233 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:28:06 +00:00
roc+%cs.cmu.edu c70c9c9de3 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +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
cbiesinger%web.de 45487502ad bug 230343, support CSS2.1 cursor:progress
r+sr=dbaron
2004-01-08 21:27:56 +00:00
bryner%brianryner.com 80973ebd8f fixing debug bustage 2004-01-08 21:10:33 +00:00
bryner%brianryner.com 83f9b1e537 Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bzbarsky%mit.edu d37d9a3e5f Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
bzbarsky%mit.edu ae77eda410 Make sure to not compute negative widths for blocks. Bug 230249, r+sr=dbaron 2004-01-08 03:38:25 +00:00
dbaron%dbaron.org 07c8d2aef6 Fix backwards captions on print error dialogs (printing vs. print preview). b=230342 Patch from Isaac Hwak Han <isaachh@mailc.net>. r+sr=dbaron 2004-01-08 01:24:09 +00:00
dbaron%dbaron.org cf89e72259 Back out some incorrrect changes I just made. b=230270, 230339 r=bryner 2004-01-07 22:38:09 +00:00
bryner%brianryner.com 9c81944cb6 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
dbaron%dbaron.org 86711e63ce Fix leaks of mCurrentEventContent. A few other little pieces of cleanup. b=230270 r+sr=bryner 2004-01-07 22:18:37 +00:00
alecf%flett.org 4d9ff98fcf fix for bug 209679 - remove reflow observer junk - r/sr=dbaron 2004-01-07 17:47:25 +00:00
bsmedberg%covad.net 1f4ab81acd Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net f0bfff2628 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
caillon%returnzero.com d76a4d1dd0 Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bzbarsky%mit.edu 51ae8865ab Make AdjustComputedWidth/Height take a boolean that tells it whether to account
for box-sizing; sometimes we don't want to.  Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
bzbarsky%mit.edu ddf144b152 Fix restoration of horizontal scroll state. Bug 226534, r+sr=roc 2004-01-05 23:56:00 +00:00
bzbarsky%mit.edu b6e15b0ec7 Calculate the relative offsets after we've done whatever corrections we need to
do to the CB height (eg in quirks mode).  Bug 226954, r+sr=dbaron
2004-01-05 23:48:57 +00:00
bmlk%gmx.de 52ad6f35f0 dont paint border collapse borders if the damage area is not covered by the borders, bug 225266 r/sr=dbaron 2004-01-02 08:26:36 +00:00
technutz%netscape.net e64c2ac5b8 Bug 229814. CSS error in layout/doc/obsolete/layout.css. Patch by Bob Clary <bc@bclary.com>. r/sr=dbaron 2004-01-01 17:15:18 +00:00
timeless%mozdev.org 7dfde6c1de Bug 229730 change NS_IF_ADDREF to NS_ADDREF in nsNativeScrollbarFrame::FindScrollbar
r=dbaron sr=dbaron
2003-12-31 04:16:23 +00:00
dbaron%dbaron.org b63b8ca336 Fix two case-sensitivity issues with attribute selectors. b=229172 Patch from Gilles Durys <mozbug@durys.net>. r+sr=dbaron 2003-12-30 17:58:17 +00:00
dbaron%dbaron.org ef2caf0a83 Remove no-longer-needed hook for inspector. b=224164 2003-12-29 19:17:22 +00:00
dbaron%dbaron.org fae5e6db4e Fix overuse of inlining in nsCSSValue. r=bryner b=224165 2003-12-29 19:07:53 +00:00
bmlk%gmx.de a67274c8bb prescontext removal part 2 bug 229631 r/sr=roc 2003-12-29 16:58:20 +00:00
dbaron%dbaron.org 8e545ec02a Add a correct comment. 2003-12-29 16:39:50 +00:00
bmlk%gmx.de e000c01cb8 function name change to be more compliant with naming conventions, bug 229620 r/sr=brendan 2003-12-29 07:32:32 +00:00
bmlk%gmx.de 118de5f62e reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc 2003-12-28 17:02:40 +00:00
bmlk%gmx.de d94088dcd1 adding layout regression tests not part of the build 2003-12-26 10:30:40 +00:00
bryner%brianryner.com 73561d1e28 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bryner%brianryner.com 5aeafaa8a6 deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
timeless%mozdev.org a86f67b21d Bug 226141 DRefTool analysis for tree files
r=varga sr=roc
2003-12-24 18:06:20 +00:00
bmlk%gmx.de 6903c32481 make code more readable bug 226619, patch by mats.palmgreen@bredband.net r=bzbarsky sr= dbaron 2003-12-23 08:49:48 +00:00
bmlk%gmx.de 26666873e5 tables can be used as rectangular items without content, bug 227123 r/sr=bzbarsky 2003-12-23 07:22:16 +00:00
scott%scott-macgregor.org f54f5d2d3b Bug #229112 --> Unable to bring up a compose window in debug builds
r/sr=bryner
2003-12-21 21:42:55 +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
timeless%mozdev.org 8c72bf5b08 Bug 224723 NS_ASSERTION(boxObject, "no box object!"); timer fired after tree was destroyed
r=varga sr=dbaron
2003-12-21 04:27:50 +00:00
timeless%mozdev.org 5f05bf96d3 Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
r=roc sr=roc
2003-12-21 04:04:09 +00:00
timeless%mozdev.org 57d9d7b390 Bug 226232 DRefTool analysis for xul files
r=roc sr=roc
2003-12-21 04:04:05 +00:00