Fred Jendrzejewski
b79ad6fa55
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
L. David Baron
57a8e776d8
Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc
2009-01-04 19:39:54 -05:00
L. David Baron
23d4f4d4b2
Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
...
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
Zack Weinberg
4c0c6a9460
Bug 462763 - more MathML crashers. r+sr=roc
2008-12-11 14:08:35 -05:00
L. David Baron
c95d61afc0
Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
Phil Ringnalda
bbe7e1d08a
Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg
2008-11-03 19:46:28 -08:00
Benjamin Smedberg
b1918bb2c3
Bug 462381 - Build layout directories in parallel r=ted sr=roc
2008-10-31 09:07:15 -07:00
Zack Weinberg
2f1c365c3d
Bug 416907 - Crash [@ nsHTMLFramesetFrame::Reflow] with frameset in mroot; r+sr=roc
2008-10-30 18:10:19 +01:00
Jesse Ruderman
6a8f907cca
Add crashtest for bug 443089
2008-09-25 14:57:35 -07:00
Zack Weinberg
a64209d05b
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc
2008-09-25 17:53:27 +02:00
Zack Weinberg
7687ccc76b
Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
2008-09-24 06:07:22 +02:00
Frédéric WANG
894d1d2475
b=454085 Add text-indent:0 in mtable to prevent unexpected spaces r+sr=roc
2008-09-16 10:35:28 +12:00
Zack Weinberg
0f68a207ca
Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron
2008-09-12 08:35:53 -07:00
Zack Weinberg
c9153c98a8
Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad
2008-08-06 12:33:18 +02:00
Karl Tomlinson
59302b51ac
non-spacing marks in munder are off center or too long. b=428863 r+sr=roc
2008-07-21 19:32:46 +12:00
Bernd
8346cb9495
limit mathml row- and colspans as we do for html bug 443089 r/sr=bzbarsky
2008-07-16 17:02:18 +02:00
Robert O'Callahan
7e15def36c
Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout
2008-07-14 10:41:18 +12:00
Michael Ventnor
7e868a56e1
Implement text-shadow rendering (bug 10713). r+sr=roc. Relanding with fixes to make tests pass on Mac
2008-06-13 10:02:32 +12:00
Robert O'Callahan
6382ad7c40
Backing out text-shadow due to Mac issues
2008-06-12 17:32:31 +12:00
Michael Ventnor
480a40574d
Implement text-shadow rendering.
2008-06-12 14:34:40 +12:00
jruderman@hmc.edu
124627becd
Add crashtest
2008-04-22 21:31:40 -07:00
jruderman@hmc.edu
133ff9cb7f
Adding crashtest.
2008-04-22 21:25:47 -07:00
karlt+@karlt.net
bd2e0ff50c
clip parts of stretchy chars more carefully b=427666 (also fixes b=349907) r+sr=roc a1.9=damons
2008-04-22 20:13:09 -07:00
karlt+@karlt.net
9d594ffd95
PaintHorizontally: correct dy calculation when bm.ascent is -ve. b=242861 r+sr=roc a1.9=beltzner
2008-04-17 20:27:09 -07:00
karlt+@karlt.net
c0113e4cfb
use text-rendering:optimizeLegibility so that non-spacing marks render. b=427659, r+sr=roc, a1.9=dsicore
2008-04-08 22:30:08 -07:00
timeless@mozdev.org
2901e3ff19
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-04-07 23:18:35 -07:00
karlt+@karlt.net
8e0f78b813
Add mathfontSymbol.properties for SymbolMT on MS Windows. Prefer DejaVu to Cambria Math for better stretchy fences. b=425367 r=pavlov
2008-04-04 20:38:25 -07:00
karlt+@karlt.net
8148702754
Back out b=425367 change to see if that fixes reftest failures for bugs/414123.xhtml and mathml/mi-mathvariant-1.xhtml.
2008-04-02 16:51:09 -07:00
karlt+@karlt.net
a61a79ef31
Restore font-family order to that before b=425367 change to see if that fixes reftest failures for bugs/414123.xhtml and mathml/mi-mathvariant-1.xhtml.
2008-04-02 15:32:23 -07:00
karlt+@karlt.net
9e8a95a7f8
Add mathfontSymbol.properties for SymbolMT on MS Windows b=425367 r=pavlov
2008-04-02 14:06:17 -07:00
karlt+@karlt.net
ff916b3fa4
Correction to mroot width calculation. b=363240 r+sr=roc
2008-03-27 15:47:08 -07:00
dbaron@dbaron.org
f31447da64
Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
2008-03-19 15:05:04 -07:00
timeless@mozdev.org
f33eb4a3b4
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
karlt+@karlt.net
ada80919ce
Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc
2008-03-17 22:57:35 -07:00
karlt+@karlt.net
6c6cd3ed3e
Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc
2008-03-17 22:26:05 -07:00
karlt+@karlt.net
11f89ddd6a
Add GetIntrinsicWidth for <msqrt>. b=363240, r+sr=roc
2008-03-17 22:06:23 -07:00
karlt+@karlt.net
e4c30bc0d5
Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc
2008-03-17 21:52:48 -07:00
karlt+@karlt.net
7647ac9bdc
Only change the style of default mathvariant <mi> elements to italic when there is a corresponding italic Mathematical Alphanumeric Symbol. Accept non-BMP characters in nsMathMLOperator::LookupInvariantChar. Update the mathvariant entries in mathfont.properties from PUA characters to their Plane 1 Unicode assignments (remainder of bug 289938). b=413115, r+sr=roc.
2008-03-15 19:10:47 -07:00
karlt+@karlt.net
5deea10aba
GetIntrinsicWidth for mroot, mfenced, and mfrac. b=363240, r+sr=roc
2008-03-13 22:02:49 -07:00
karlt+@karlt.net
2071d69173
nsMathMLChar::GetMaxWidth and stretchy <mo> GetIntrinsicWidth implementations. Rename MAXSIZE_IS_EXPLICIT to MAXSIZE_IS_ABSOLUTE. Avoid unsigned/signed warnings with 1<<31. b=363240, r+sr=roc
2008-03-13 21:05:43 -07:00
karlt+@karlt.net
b64fb6eb32
Remove some unused nsGlyphTable methods. b=363240, r+sr=roc
2008-03-12 21:50:44 -07:00
jruderman@hmc.edu
728e86591d
Add crashtest
2008-03-08 22:32:28 -08:00
karlt+@karlt.net
423c6ce2f9
Don't try to Place() invisible operators. b=420420 r+sr=roc a=beltzner
2008-03-06 22:37:23 -08:00
karlt+@karlt.net
4260e2c912
Bug 416549 - MathML does not render properly with text-align:justify. Patch by Frédéric WANG <fwsmail35@aol.com>, r=karlt, sr=roc
2008-03-06 19:47:11 -08:00
karlt+@karlt.net
88cb41a133
Backing out previous revision (b=416549) due to a reftest hang on qm-centos5-01
2008-03-06 16:19:00 -08:00
karlt+@karlt.net
6e07d7b64d
Backing out previous revision (b=420420) due to reftest hang on qm-centos5-01
2008-03-06 16:14:56 -08:00
karlt+@karlt.net
dd94eb4942
Don't try to Place() invisible operators. b=420420 r+sr=roc a=beltzner
2008-03-06 14:21:07 -08:00
karlt+@karlt.net
ce3034771d
Bug 416549 - MathML does not render properly with text-align:justify. Patch by Frédéric WANG <fwsmail35@aol.com>, r=karlt, sr=roc
2008-03-06 13:59:03 -08:00
karlt+@karlt.net
9cfde0fffe
Include lspace and rspace in GetIntrinsicWidth. b=363240 r+sr=roc
2008-02-27 02:47:43 -08:00
karlt+@karlt.net
2651ea9c59
Get*Width for nsMathMLContainerFrame base class. b=363240 r+sr=roc
2008-02-27 02:45:36 -08:00
karlt+@karlt.net
aab5b28c72
don't use frame origin offsets to store ascents. b=363240, r+sr=roc
2008-02-25 20:19:36 -08:00
jag@tty.nl
057bc17743
Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
755c29fa09
Bug 412237, reenable test
2008-02-06 20:10:27 -08:00
roc+@cs.cmu.edu
2150988883
Bug 412237. Don't parse negative sizes for the MathML fontsize attribute. Make sure we do continue to parse '-0px', since that's not actually negative. r+sr=dbaron
2008-02-06 20:09:03 -08:00
jruderman@hmc.edu
37d64ecea6
Add a crashtest
2008-02-03 21:16:01 -08:00
jruderman@hmc.edu
b274984841
Add crashtest
2008-02-03 21:13:22 -08:00
jruderman@hmc.edu
775a06b4d6
Adding crashtest
2008-02-03 21:11:01 -08:00
jruderman@hmc.edu
b813d371c6
Add a crashtest
2008-02-03 21:06:38 -08:00
karlt+@karlt.net
c7256bae88
let mathvariant="normal" inherit the document fonts b=413115 r+sr=roc a=schrep
2008-01-29 20:05:37 -08:00
roc+@cs.cmu.edu
413a8bf8ac
Backing out bug 412237 due to regression test failure
2008-01-29 16:40:59 -08:00
roc+@cs.cmu.edu
b2bfc801ee
Test for bug 412237
2008-01-29 15:36:56 -08:00
roc+@cs.cmu.edu
ad3c5faee1
Bug 412237. Don't parse negative fontsize attributes in MathML elements. r+sr=dbaron
2008-01-29 15:35:26 -08:00
bmlk@gmx.de
0ad0c3bff1
adding a crashtest
2008-01-27 00:14:25 -08:00
mats.palmgren@bredband.net
d431de32cf
Always post a restyle request if SetTextStyle() indicates it's needed. b=414123 r+sr+a=roc
2008-01-26 18:49:47 -08:00
bmlk@gmx.de
3cf41bc240
apply rowspans and colspans only to mtd bug 413063 r/sr=bzarsky a=mtschrep
2008-01-26 08:32:16 -08:00
jruderman@hmc.edu
2ae5a71678
Add crashtests
2008-01-23 17:19:33 -08:00
jruderman@hmc.edu
0a73114a44
Add a crashtest
2008-01-20 16:14:29 -08:00
karlt+@karlt.net
89744d21cb
apply scriptlevel increment to denominator as well as numerator b=412897, r+sr+a=roc
2008-01-17 20:41:54 -08:00
jruderman@hmc.edu
efddd7c74b
Add a crashtest
2008-01-17 16:43:25 -08:00
reed@reedloden.com
faeccd9485
Bug 400475 - ""ASSERTION: dangling frame without a content node" changing any attribute on <math:mstyle>" [p=vladimir.sukhoy@gmail.com (Vlad Sukhoy) r+sr=roc a1.9=schrep]
2008-01-15 21:07:09 -08:00
roc+@cs.cmu.edu
9e76f6fb05
fix bustage
2008-01-14 17:28:42 -08:00
roc+@cs.cmu.edu
5ae25b76e9
Crashtest for bug 405271.
2008-01-14 17:15:35 -08:00
roc+@cs.cmu.edu
ac38a2a240
Bug 405271. MathML should not reflow children with a constrained height; that triggers pagination which is definitely not what we want. r+sr=bzbarsky
2008-01-14 17:13:21 -08:00
karlt+@karlt.net
a168dbd48c
Bug 412033 - non-stretchy-or-centred operators don't paint on scrolling. Don't change the size of child frames. r+sr=roc, a=schrep
2008-01-13 18:10:29 -08:00
karlt+@karlt.net
4f6919ef17
Include ZWSP in short arrow entities to distinguish from stretchy normal arrows. b=289938, rs=pavlov.
2008-01-10 19:08:57 -08:00
karlt+@karlt.net
45376d51a0
Update entities in line with MathML 2.0 xhtml-math11-f.dtd,v 1.16 2003/11/04, with code point updates from http://www.unicode.org/reports/tr25/tr25-9.html b=289938, rs=pavlov.
2008-01-10 02:34:35 -08:00
jruderman@hmc.edu
22e63552db
Add crashtest
2008-01-09 12:08:01 -08:00
roc+@cs.cmu.edu
bc08ac141a
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-09 01:38:28 -08:00
karlt+@karlt.net
a72f4073a4
Bug 348577 - Implement MathML <mtable> with display:inline-table (mtable has incorrect baseline). Patch by Bill Gianopoulos <wgianopoulos@yahoo.com>, r=rbs, sr=bzbarsky.
2008-01-08 18:14:35 -08:00
roc+@cs.cmu.edu
09582c48ae
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-08 14:36:46 -08:00
jruderman@hmc.edu
b393a4facd
Add crashtest
2008-01-06 15:31:14 -08:00
jruderman@hmc.edu
aa94824da0
Add crashtest
2008-01-05 22:25:06 -08:00
jruderman@hmc.edu
6f37e7a350
Add a crashtest
2008-01-05 22:18:30 -08:00
jruderman@hmc.edu
75780e2e02
Add crashtests
2008-01-05 21:02:47 -08:00
jruderman@hmc.edu
abd2939d35
Add crashtest for WFM assertion bug
2008-01-04 20:59:08 -08:00
karlt+@karlt.net
604fec8a96
FinishReflowChild() with the final position for <msqrt> and <mpadded> b=410132, r+sr+a=roc
2008-01-02 20:33:21 -08:00
karlt+@karlt.net
f6f3e91ac0
Make nsBoundingMetrics::operator+= handle empty bounds. b=410132, r+sr+a=roc
2008-01-02 20:32:12 -08:00
karlt+@karlt.net
a2c376b687
Calculate maximum height of a character built from parts when measuring. b=403559, r+sr+a=roc
2008-01-02 20:21:36 -08:00
reed@reedloden.com
1d602b3c42
Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc]
2008-01-01 02:11:02 -08:00
karlt+@karlt.net
0aca66d4fa
Bug 410284 - failure to paint sometimes with missing glyphs for parts of stretchy characters. r+sr=roc a=pavlov
2007-12-31 17:23:13 -08:00
karlt+@karlt.net
84998d0c64
Set overflow area for nsMathMLContainerFrames. b=161155, r+sr=roc
2007-12-28 15:04:19 -08:00
karlt+@karlt.net
7c689c0e12
Provide correct GetBounds() for nsDisplayMathMLCharForeground. Bug 161155 - Integrals appear clipped sometimes. r+sr=roc
2007-12-28 14:16:07 -08:00
jruderman@hmc.edu
b06345c738
Move setTimeout to onload to make sure it doesn't fire too early.
2007-12-19 17:29:26 -08:00
vladimir@pobox.com
1f7f3e59ed
b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
2007-12-18 15:01:15 -08:00
jruderman@hmc.edu
1c8c244913
Really add crashtest
2007-12-17 17:35:08 -08:00
jruderman@hmc.edu
096ebb2c19
Add a crashtest
2007-12-17 17:34:53 -08:00