Commit Graph

15643 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
d262adc092 Make sure file control frames always have a space manager. Bug 232017, r+sr=dbaron 2004-02-01 04:07:17 +00:00
bryner%brianryner.com
08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
bzbarsky%mit.edu
fe7960ecb6 Fix XBL extension of XHTML namespaced nodes. Bug 176606, patch by hyatt,
r=jst, sr=bzbarsky
2004-01-31 19:09:47 +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
dbaron%dbaron.org
1d022f0bcd Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r+sr=jst 2004-01-29 01:45:34 +00:00
bsmedberg%covad.net
7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
dbaron%dbaron.org
96079e83a3 Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
bmlk%gmx.de
871c57c63b recover overflow area during incr. reflows in table frames, bug 219220 r/sr=dbaron 2004-01-28 18:44:41 +00:00
hpradhan%hotpop.com
4d399b535b bug 232035 : fix leak and cleanup some stuff in printing code r=dbaron sr=jst 2004-01-28 11:17:14 +00:00
bryner%brianryner.com
5c33b9c229 fixing svg bustage 2004-01-28 01:15:30 +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
dbaron%dbaron.org
b94360f0f4 Clean up ComputeShrinkwrapMargins. b=217369 r+sr=bzbarsky 2004-01-27 06:46:33 +00:00
dbaron%dbaron.org
139e92501a Fix a bunch of errors in incremental computation of maximum width and max-element-size that were causing incremental reflow bugs. b=39683, 217369 r+sr=roc 2004-01-27 05:47:55 +00:00
caillon%returnzero.com
aac9a7c1fe - If the mouse moves while the scrollbar thumb is incrementing toward it (after a click and hold), update the destination point so it doesn't go past the mouse if it moves closer, and chases the mouse if it moves further away (bug 153946).
- Cache the scrollbar prefs so they aren't constantly looked up.
- Minor cleanup.

r+sr=roc
2004-01-27 05:19:57 +00:00
bzbarsky%mit.edu
88734d1060 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
sicking%bigfoot.com
1152b3d656 More bug 195350 work: Make html use new nsAttrAndChildArray class.
r=caillon sr=jst
2004-01-26 19:22:05 +00:00
dbaron%dbaron.org
f6258a1404 Oops. 2004-01-25 06:29:54 +00:00
dbaron%dbaron.org
014fb90c69 Oops. 2004-01-25 06:29:06 +00:00
dbaron%dbaron.org
a064c1efad Adding testcase from bug 228172. Not part of build. 2004-01-25 06:29:05 +00:00
dbaron%dbaron.org
f785bbdd29 Change name of variable so this code makes sense. 2004-01-24 20:21:32 +00:00
dbaron%dbaron.org
7b1e1fbd5c Add new testcases. Not part of build. 2004-01-24 19:41:28 +00:00
hpradhan%hotpop.com
3b99f154bd bug 231233 : nsPrintData.h cleanup r+sr=jst 2004-01-24 07:23:56 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
dbaron%dbaron.org
980b6629b7 Add testcases for bug 185411. 2004-01-23 21:41:52 +00:00
dbaron%dbaron.org
de731a8671 Reduce randomness in indentation and line wrapping. Whitespace changes only. 2004-01-22 21:58:28 +00:00
dbaron%dbaron.org
f3af1a7aef Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +00:00
pinkerton%aol.net
013afa2b28 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
01979b95c7 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
3eef6608c2 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
8823eaed93 Untabify. Not part of build. 2004-01-22 01:54:13 +00:00
dbaron%dbaron.org
cd5b87a264 Use |const|. DEBUG-only. 2004-01-21 23:08:51 +00:00
bryner%brianryner.com
23ecb8ff4e 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
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
dbaron%dbaron.org
0fa1c23cee 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
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
roc+%cs.cmu.edu
0113914771 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
787faefa9e Back out accidentally committed code. Bug 230852, r+sr=roc 2004-01-18 18:20:57 +00:00
peterv%propagandism.org
a75063695e Doh. Fixing bustage. 2004-01-18 15:20:00 +00:00
peterv%propagandism.org
8f4e566b42 Miscellaneous cleanup. r/sr=jst. 2004-01-18 14:53:32 +00:00
peterv%propagandism.org
db653ec4e3 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
4c4b23d5fe 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
379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bmlk%gmx.de
a217311c27 remove unneccesary prescontext arguments bug 230923 r/sr=roc 2004-01-18 10:28:40 +00:00
peterv%propagandism.org
629972988f 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
249be1bc15 Remove unneeded casts and extra shadowing variable. 2004-01-18 07:13:40 +00:00
dbaron%dbaron.org
c5034ca1d8 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
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
caillon%returnzero.com
619d905d92 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
aa4d378d63 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
c63fa8e7ea 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
498627aad7 Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst 2004-01-17 20:04:26 +00:00
tor%cs.brown.edu
6e0bbb9e6a 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
6a1e5b77ff Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron 2004-01-16 03:05:00 +00:00
caillon%returnzero.com
3b526b4352 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
b8ca5986ed 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
61d72a988d Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
bryner%brianryner.com
072b7160a8 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
9e6a8ccd41 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
8c4b7fe415 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
7c0fd2338b 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
d33950dfac 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
8093efd14c 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
15a648ab14 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
6996bca809 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
9c4c615847 Remove NS_FRAME_HAS_LOADED_IMAGES state bit. b=201076 r+sr=bzbarsky 2004-01-13 01:18:51 +00:00
bryner%brianryner.com
360f1ea41b 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
04b733ce1c 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
f2c4812c7e Argh. Forgot to remove a tab. 2004-01-12 23:55:30 +00:00
bzbarsky%mit.edu
34d04cee4a 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
ee28544b20 Bug 83405 gecko build date only occasionally updated
patch by cls r=bryner
2004-01-12 16:31:00 +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
bzbarsky%mit.edu
bc704c519e Fix regression bug 230620. r+sr=dbaron 2004-01-11 22:03:41 +00:00
bryner%brianryner.com
d33dc031f2 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
99665b6c2c 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
cd870d2172 attempting to fix HP-UX/AIX/IRIX bustage (bug 228378) 2004-01-11 00:24:37 +00:00
dbaron%dbaron.org
1bffaa3cce 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
e1d625af68 Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc 2004-01-10 16:18:36 +00:00
roc+%cs.cmu.edu
9348803726 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
1730b82b19 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
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
9d69e4a727 Fix printing crash regression (bug 230516). r=bzbarsky, sr=dbaron 2004-01-09 22:54:09 +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
523cad9f9b Fix warnings about uninitialized 'result' in nsFrameTraversal. r+sr=brendan 2004-01-09 21:45:24 +00:00
mkaply%us.ibm.com
611b4c2759 #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
50881c9ae5 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
3bfe589ac4 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
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
cbiesinger%web.de
e6c5b5084d bug 230343, support CSS2.1 cursor:progress
r+sr=dbaron
2004-01-08 21:27:56 +00:00
bryner%brianryner.com
480c2c6e88 fixing debug bustage 2004-01-08 21:10:33 +00:00
bryner%brianryner.com
16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bzbarsky%mit.edu
c9dd4109c2 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
bde7ac0a33 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
1480a770ab 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
b451bb2ef9 Back out some incorrrect changes I just made. b=230270, 230339 r=bryner 2004-01-07 22:38:09 +00:00
bryner%brianryner.com
e65d2d2fe5 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
8f7979ca79 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
5cd7937058 fix for bug 209679 - remove reflow observer junk - r/sr=dbaron 2004-01-07 17:47:25 +00:00
bsmedberg%covad.net
d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00