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

694 Коммитов

Автор SHA1 Сообщение Дата
rbs%maths.uq.edu.au 8ded00e282 MathML: stretchy attribute not working in some situations, b=320303, r+sr=roc 2006-09-08 07:32:45 +00:00
rbs%maths.uq.edu.au be1c63d3ec fix bustage on balsa 2006-09-07 09:01:18 +00:00
rbs%maths.uq.edu.au de61177a24 Consolidation of some mtable/matrix related attributes that affect the style, and make them responsive to dynamic changes via JavaScript, b=179619, r+sr=roc 2006-09-07 03:45:45 +00:00
rbs%maths.uq.edu.au cf5252eb5e MathML <mtable>s sometimes have incorrect scriptlevel, b=328141, r+sr=roc 2006-08-29 17:21:36 +00:00
rbs%maths.uq.edu.au 927e70a9f9 js changes to MathML are not drawn, b=337700, r+sr=bzbarsky 2006-08-16 05:28:26 +00:00
rbs%maths.uq.edu.au 14a3ec20d9 fix typo that caused the CSS declaration to be ignored -- comments in CSS must be delimited with /* */ and not // 2006-08-15 13:17:54 +00:00
rbs%maths.uq.edu.au 660c88bd29 Frames not destroyed with <mmultiscripts> and <mtd>, b=348492, r+sr=bzbarsky 2006-08-15 04:49:43 +00:00
rbs%maths.uq.edu.au 21ece0d080 Frames from dynamic MathML table children are not made with the right creator, b=348153, r+sr=bzbarsky 2006-08-14 07:44:13 +00:00
rbs%maths.uq.edu.au a188cdedf1 {inc} MathML matrices break when the content sink is incremental, b=344281, r+sr=bzbarsky 2006-08-14 07:27:42 +00:00
rbs%maths.uq.edu.au afc24d0ecd 'Pseudo' frames from <mtd> and <mtr>outside <mtable> were not added to the flow, and thus were not destroyed at tear down, b=347355, r+sr=bzbarsky 2006-08-12 07:46:29 +00:00
jruderman%hmc.edu ba04dbfb86 Bug 347507, ignore negative rowspan and columnspan in MathML. r=rbs, sr=roc. 2006-08-08 08:44:03 +00:00
rbs%maths.uq.edu.au ba4a4dcd33 Fix bug 347348 - Removing text node from <mo> causes 'ASSERTION: null arg' and has no visual effect, r+sr=roc 2006-08-07 23:50:24 +00:00
rbs%maths.uq.edu.au d9404d9efe Fix bug 347495 - Invalid-markup message doesn't disappear when MathML gets valid again, r+sr=roc 2006-08-07 23:46:26 +00:00
rbs%maths.uq.edu.au 4639dd578c Fix assertion - bug 347495 - was due to an attempt to paint children in case of invalid markup, r+sr=roc 2006-08-07 23:42:32 +00:00
rbs%maths.uq.edu.au 215703c584 Be sure to return the reflow status as complete in the case of invalid markup to avoid a hang due to the frame being reflowed over and over again. Patch by steve.swanson@mackichan.com, b=323737, r+sr=rbs 2006-08-03 23:58:42 +00:00
rbs%maths.uq.edu.au 3fe7da72d5 Backout earlier patch for bug 327737 due to regression 2006-08-03 23:27:55 +00:00
cvshook%sicking.cc 3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
rbs%maths.uq.edu.au de01a001d1 Be sure to return the reflow status as complete in the case of invalid markup to avoid a hang due to the frame being reflowed over and over again. Patch by steve.swanson@mackichan.com, b=323737, r+sr=rbs 2006-07-18 07:49:02 +00:00
rbs%maths.uq.edu.au 29540d3b17 Bustage bug 342533 - crash loading any MathML page due to string-fu change in bug 341954 2006-07-18 06:20:42 +00:00
roc+%cs.cmu.edu 1621ac24bd Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
roc+%cs.cmu.edu dffcabfea0 Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs 2006-06-09 03:29:32 +00:00
cvshook%sicking.cc d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
rbs%maths.uq.edu.au 1877e44608 Extra patch to quiet an assertion, b=323733, r+sr=roc 2006-04-30 20:34:46 +00:00
rbs%maths.uq.edu.au 77f1707d23 Fix assertion by not setting the overflow bit. Besides, it was used in a way that is not relevant anymore to the new paint display list. (Also init a return variable in maction while passing.) b=323733, r+sr=roc 2006-04-27 19:20:42 +00:00
roc+%cs.cmu.edu aac1b0d44f Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 02:01:07 +00:00
leon.sha%sun.com 0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
roc+%cs.cmu.edu a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
roc+%cs.cmu.edu 0a10a79f62 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
pavlov%pavlov.net 131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu 557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu 6fd863f2dd Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc 2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu c2801ebbd7 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
pavlov%pavlov.net 57f7478019 backing out 205001 as it broke Windows printing. r=dbaron 2006-02-21 22:56:02 +00:00
sharparrow1%yahoo.com eb67fd0b3d Bug 327868: nsIFrameSelection cleanup. r+sr=roc 2006-02-21 00:49:04 +00:00
masayuki%d-toybox.com cd55c4a0c7 Bug 205001 the print scale is ignored at using CSS absolute length unit r=dbaron, sr=roc 2006-02-20 09:38:54 +00:00
mark%moxienet.com d5ab1daee3 325964 MathML missing font dialog contains extra space. Patch by Smokey Ardisson <alqahira@mindspring.com>. r=me sr=rbs 2006-02-06 02:48:52 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
mark%moxienet.com 0ea84eb413 190307 Add MathML support to Camino, adding a non-blocking alert service to handle MathML's missing-font dialog. Patch by Makoto Yamashita <makotoy@ms.u-tokyo.ac.jp>, fixed up for CaminoStatic by me. r=smfr sr=pink 2006-02-02 02:07:45 +00:00
bzbarsky%mit.edu f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu 77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
cvshook%sicking.cc 366cc1d0ed Bug 317544: Disable floating inside mathml. r=bz sr=dbaron 2006-01-25 21:40:31 +00:00
cvshook%sicking.cc be551afd02 Bug 310436: Implement IsFrameOfType and use that to disable non-svg frames from being children of svg frames. r=bz sr=dbaron 2006-01-25 21:16:12 +00:00
bryner%brianryner.com ecc0706743 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
rbs%maths.uq.edu.au d5f170a987 Make sure to also set the max-element-width in <maction> when the child list is empty, b=323742, r+sr=roc 2006-01-21 02:53:10 +00:00
rbs%maths.uq.edu.au 03a32f07c9 <mspace> is a leaf frame. Don't create bogus child frames inside <mspace> having invalid markup with child content. b=323741, r+sr=roc 2006-01-21 02:46:19 +00:00
rbs%maths.uq.edu.au 26ab2d16ca don't attempt to stretch a frame flagged as having invalid markup, b=323738, r+sr=roc 2006-01-21 02:31:02 +00:00
cvshook%sicking.cc 15c2397445 Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
cvshook%sicking.cc 7db01c8d27 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +00:00
rbs%maths.uq.edu.au 047447c9a0 Fix crash due to outdated pointers when the DOM is modified, b=317546, r+sr=dbaron 2006-01-10 20:38:46 +00:00
rbs%maths.uq.edu.au 4630f44fb5 Re-sync some cached values of <maction> when its child list is changed dynamically, b=322656, r+sr=bz 2006-01-09 00:36:46 +00:00
rbs%maths.uq.edu.au 782d9b827b Fix StirDOM/MathML crash bug 309120, r+sr=dbaron 2006-01-04 07:29:09 +00:00
cvshook%sicking.cc e475a2eada Backing out patch that was accidentally checked in with bug 284950. 2005-12-29 04:58:30 +00:00
cvshook%sicking.cc 79b8f5fc24 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
timeless%mozdev.org 1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bsmedberg%covad.net 78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu 28cfb5adfc Bug 313817. DeCOMtaminate SVG and MathML NS_New*Frame functions. r+sr=roc, patch by Marc Liddell. 2005-11-11 02:36:29 +00:00
rbs%maths.uq.edu.au 67daa6f91f Don't permit floating or absolute positioning inside MathML, b=307826, r+sr=bz 2005-11-05 04:23:13 +00:00
roc+%cs.cmu.edu 520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
rbs%maths.uq.edu.au ac038dddd0 Oops, typo, should have replicated the local definition of &DoubleVerticalBar; in each file 2005-11-01 04:27:01 +00:00
rbs%maths.uq.edu.au 639e48b912 Configure &Vert; (a.k.a. &Verbar; \u2016) to stretch like &DoubleVerticalBar; (\u2225), b=314459, r+sr=roc 2005-11-01 03:26:37 +00:00
cvshook%sicking.cc 64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
rbs%maths.uq.edu.au b8cfd776c2 crash evil mathml testcase with display:block, r+sr=bz, b=286122 2005-10-26 23:21:09 +00:00
rbs%maths.uq.edu.au 10d9b28fce Fix holes in stretchy MathML characters when their glue is tiny, b=311046, r+sr=roc 2005-10-20 00:28:47 +00:00
rbs%maths.uq.edu.au b1ce792280 Bug 191847,297464, allow negative widths in <mspace> for uses like overstriking, r+sr=roc 2005-10-19 00:57:17 +00:00
roc+%cs.cmu.edu fed343c43a Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
rbs%maths.uq.edu.au 2f303ef684 Fix the inter-space for the fraction line and other special cases, b=308045, r+sr=roc 2005-09-16 00:39:27 +00:00
timeless%mozdev.org c113ece289 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin
2005-09-15 23:17:17 +00:00
rbs%maths.uq.edu.au 298b3d2b9d Fully update the state even on invalid markups to avoid crashing, b=307839, r+sr=bz 2005-09-12 05:51:18 +00:00
bzbarsky%mit.edu cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
rbs%maths.uq.edu.au b495f2aa64 Inter-spacing improvements between MathML frames, b=306543, r+sr=roc 2005-09-06 23:47:01 +00:00
rbs%maths.uq.edu.au 818e201900 Prevent gaps in stretchy characters, b=307157, r+sr=roc 2005-09-06 23:18:27 +00:00
rbs%maths.uq.edu.au efddd4e6f8 Don't allow a vertical stretchy character to shrink, r+sr=roc, b=306004 2005-09-06 23:14:12 +00:00
rbs%maths.uq.edu.au d46f7d5577 Stop using the 'font' shorthand because it doesn't play nice with the scriptlevel, r+sr=bz, b=114365 2005-09-06 03:51:30 +00:00
rbs%maths.uq.edu.au 3554a3756a Paint the numerator and denominator early so that their background doesn't overwrite the fraction line, b=303486, r+sr=roc, a=asa 2005-08-08 03:20:59 +00:00
rbs%maths.uq.edu.au cd36853037 Map some attributes to style, b=302722, r+sr=roc, a=bsmedberg 2005-08-02 23:25:22 +00:00
bzbarsky%mit.edu 129cf8db37 Fix mathml attribute sheet creation to correctly insert the @namespace rule.
Bug 289677, r+sr=rbs, a=shaver
2005-05-16 17:01:21 +00:00
bmlk%gmx.de c54e33ae04 fix PreFast warnings in layout/mathml bug 288023 r=rbs sr=roc 2005-03-30 07:34:20 +00:00
timeless%mozdev.org 32ef4676f7 Bug 288013 remove &mathml; from mathml.dtd because it hurts interoperability
patch by bug@annevankesteren.nl r=rbs sr=bz
2005-03-29 17:12:17 +00:00
mats.palmgren%bredband.net 4f49d3bf00 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
rbs%maths.uq.edu.au 8e648b7b21 Fix crash on dead pointers by rebuilding the embellished hierarchy when an embellished child is changed, b=284001, r+sr=bz 2005-03-14 05:30:49 +00:00
bzbarsky%mit.edu 916d258d10 Fix delete calls to match the new calls (use delete[]). Bug 282700, patch by
David Gardiner <david.gardiner@unisa.edu.au>, r+sr=rbs
2005-02-25 03:26:06 +00:00
bzbarsky%mit.edu e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu 5fa60511fe Remove prescontext args for a bunch of MathML methods. Also includes the
MathML part of the patch for bug 244581.  Patch by Vidar Braut Haarr
<bugmail@q1n.org>, r=rbs, sr=bzbarsky
2005-02-07 01:57:50 +00:00
bzbarsky%mit.edu 2e62979ba1 Getting the selector text should properly escape and quote attribute value
strings.  Bug 142648, patch by Daniel Kraft <domob@daniel-kraft.net>, r=dbaron,
sr=bzbarsky.
2005-01-30 18:01:57 +00:00
kjh-5727%comcast.net c9e0e90d54 Make nsIFontMetrics::GetFont() non-virtual. Bug 230605, r=bryner, sr=bzbarsky. 2005-01-22 16:00:07 +00:00
bzbarsky%mit.edu 1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +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
cbiesinger%web.de c654114bb6 fixing mathml bustage from bug 270708 2004-12-31 03:00:21 +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
rbs%maths.uq.edu.au fe00b25319 Check the visibilty before painting the fraction line and the radical bar, b=275823, r+sr=roc 2004-12-30 22:49:23 +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
gerv%gerv.net 670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +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
dbaron%dbaron.org 96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
bryner%brianryner.com d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +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
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
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 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org 2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
cbiesinger%web.de 54e0371529 Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
gerv%gerv.net 6b54b1cbc5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 19:30:11 +00:00
aaronleventhal%moonset.net 910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net 692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +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
roc+%cs.cmu.edu d1170ac0a9 Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron 2004-04-30 13:23:43 +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
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
rbs%maths.uq.edu.au 11d094c977 paint the background of MathML frames like inline frames do, b=235835, r+sr=roc 2004-03-08 04:14:07 +00:00
rbs%maths.uq.edu.au e5c2cd1a83 fix a non initialized variable that was causing some MathML pages to hang, b=236326,122554, r+sr=roc 2004-03-04 23:07:45 +00:00
darin%meer.net c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +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
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
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
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
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
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
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
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 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
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
bsmedberg%covad.net 274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +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
bsmedberg%covad.net 807f91c6a7 Bug 228922 - in GRE installer builds MathML operators don't stretch properly. (Fallout from bug 179834). r+sr=rbs 2003-12-19 18:50:34 +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
peter%propagandism.org f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
rbs%maths.uq.edu.au 621378faa2 Re-sync some weak style pointers when the primary one is changed, patch by steve.swanson@mackichan.com, r+sr=rbs 2003-10-07 08:27:40 +00:00
rbs%maths.uq.edu.au f9e0e5e142 Some explanatory comments 2003-10-07 08:22:21 +00:00
bzbarsky%mit.edu 641223fdd9 Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
jst%mozilla.jstenback.com 1e7af0b25f Fixing issue raised in bug 215981. 2003-09-27 06:24:54 +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
rbs%maths.uq.edu.au af62ff6220 Left-over from bug 219928, add unicode-bidi:embed as well, per smontagu 2003-09-22 21:01:03 +00:00
rbs%maths.uq.edu.au c281765244 Add direction:ltr to mathml.css so that bidi processing has no side-effects, b=219928, r+sr=bz 2003-09-22 20:52:26 +00:00
rbs%maths.uq.edu.au 2403f46a2d Ongoing sync:ing of some default metadata based on the feedback of users on various platforms (b=21392,120198) 2003-09-16 01:16:49 +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
rbs%maths.uq.edu.au 408bf58f3f Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron 2003-08-05 02:07:14 +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
caillon%returnzero.com 7495519180 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
jshin%mailaps.org 59d134d2f9 bug 212125 : factor out loading |nsIPersistentProperties|' from a URI/URIspec and add helper
functions to nsNetUtil.h  (r=rbs, sr=darin)
2003-07-11 21:31:54 +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
roc+%cs.cmu.edu 87d53ca294 Ongoing deCOMtamination. r+sr=dbaron 2003-07-08 11:00:00 +00:00
dbaron%dbaron.org 06bb24f863 Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky 2003-06-24 05:40:37 +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 39d390d27f Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky 2003-06-14 23:50:54 +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
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
rbs%maths.uq.edu.au e3e5519e4f Enlist more invariant characters, patch by steve.swanson@mackichan.com, b=206696, r+sr=rbs 2003-05-27 07:17:03 +00:00
bzbarsky%mit.edu 8b80364217 Make some static data const in layout. Bug 204073, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:52:33 +00:00
timeless%mozdev.org 4b8c1bbb54 Bug 206163 unused variable `nsresult rv' in nsMathMLmactionFrame::GetSelectedFrame()
r=rbs sr=rbs
2003-05-23 22:21:31 +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
rbs%maths.uq.edu.au 350502ab16 Reset some CSS properties not relevant to MathML <mtable>, b=206704, r+sr=bz, a=asa 2003-05-22 19:39:38 +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
rbs%maths.uq.edu.au 6e66b5ebb8 mismatch in the mathfont association of the solidus symbol '/', spotted by Geoff Leach <gl@cs.rmit.edu.au> in bug 128153, r+sr=rbs, a=sspitzer 2003-05-10 03:40:36 +00:00
rbs%maths.uq.edu.au ca039d0ff3 Still wrestling with bug 118600, turn static class into pointer and s/./->/g accordingly 2003-04-23 01:08:40 +00:00
rbs%maths.uq.edu.au 21c618c8ea Extra consolidation for bug 118600, r+sr=roc+moz 2003-04-22 16:40:56 +00:00
rbs%maths.uq.edu.au 1bbb3daf7f Parameterize the handling of base fonts (i.e., fonts used for certain characters at their base/non-stretchy size). Use that to set base fonts for sqrt (which used to be hard-coded), and fix the &le; problem by setting the safer Symbol font as its base font. Also while here, emulate \mathstrut in sqrt for extra beautification. b=118600, r+sr=roc+moz 2003-04-22 03:32:06 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
seawood%netscape.com 4957953e70 Obsoleting xp_str.h:
* Move XP_IS_ macros into nsCRT.h & rename them to NS_IS_
* Make local XP_IS_ macros use the nsCRT ones
* Remove NOT_NULL defines
Bug #199920 r=alecf sr=bryner
2003-04-01 19:38:12 +00:00
alecf%netscape.com 8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
alecf%netscape.com b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
sfraser%netscape.com 36bb639d8d Remove dependency on nsInlineFrame::kInlineFrameCID. r/sr=alecf. Bug 74803 2003-02-26 01:17:37 +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
dbaron%dbaron.org ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +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
rbs%maths.uq.edu.au be2365be95 Make MathML handle the <semantics> tag implicitly (take 2), b=154931, r=dbaron, sr=roc, a=asa 2003-02-11 23:15:01 +00:00
rbs%maths.uq.edu.au 5cb2aaf353 fix bad string usage, b=191529, r+sr+a=dbaron 2003-02-04 01:08:36 +00:00
rbs%maths.uq.edu.au eba1c08907 Rework the positioning functions of <mover>, <munder>, <munderover> to improve their behavior w.r.t italic and non-italics fonts. Also use some fuzzy arithmetic to mitigate roundoff errors that could cause accents to collide with their base, b=135940, r=bzbarsky, sr=roc+moz 2003-01-22 07:42:20 +00:00
rbs%maths.uq.edu.au 29b26717cc Make the caret appear properly on invisible MathML operators, b=188146, r+sr=roc+moz 2003-01-16 05:10:03 +00:00
rbs%maths.uq.edu.au 386a0a2809 fix incorrect position of certain accents, b=188467, r+sr=bzbarsky 2003-01-11 03:04:30 +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
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
rbs%maths.uq.edu.au de2b601b8f fix assertions when manipulating the MathML attribute style sheet, b=188103, r+sr=bzbarsky 2003-01-07 23:19:56 +00:00
bzbarsky%mit.edu 8c8465ff11 ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).
2003-01-05 05:05:17 +00:00
dbaron%fas.harvard.edu 28018a8db9 Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc 2002-12-23 22:05:47 +00:00
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +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
caillon%returnzero.com c23cadbaf8 181420, Use nsIPrefBranch instead of nsIPref.
r=rbs sr=bzbarsky
2002-11-22 11:29:31 +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 92d1146ffc Fix ReplaceChild() on positioned inlines to delegate to
nsAbsoluteContainingBlock.h.  Bug 176915, r=dbaron, sr=rbs
2002-11-12 03:30:13 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu 279ffda515 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00