Commit Graph

339 Commits

Author SHA1 Message Date
Daniel Holbert
72f118ff38 Bug 651567: Remove unused variable 'xHeight' from nsMathMLmunderFrame. r=karlt 2011-04-21 10:08:11 -07:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
d4c414cf18 Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel 2011-04-19 15:07:51 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
a2b5c4bfbb Bug 648197 (1/2): remove the #ifdef ALERT_MISSING_FONTS blocks in nsMathMLChar.cpp. 2011-04-07 14:47:04 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068 Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1 Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Zack Weinberg
5a4a96e54e Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Frédéric Wang
dbcfcfee18 Bug 569124 - Make the math element support the attributes of mstyle. r=karlt 2011-04-09 23:36:31 -04:00
Frédéric Wang
6de199a0ba b=605605 Uninitialised value used in nsMathMLChar r=karlt
--HG--
extra : transplant_source : _G%B6%C6%C6q%C0a%F0f-%CD%AF%FB%FE%F0%BAYc%D5
2011-03-25 16:38:59 +13:00
Frédéric Wang
dde2ac5cad Bug 21479 - Embellished operators - add rules for mstyle, mphantom, mpadded and mrow. r=karlt
--HG--
extra : transplant_source : %CDr%F474%A9%FD%80%D2%FC%AEJ%B6%93%E9%23%ECO%25z
2011-03-25 16:38:59 +13:00
Frédéric Wang
f0df881216 b=534970 updateOperatorDictionary.pl: add private data mirrorable r=karlt npotb
--HG--
extra : transplant_source : %B1%15%00%1A%DA%1A%F33%9B.x%E5%7F%EB%EDf%3F%1E%D7%F7
2011-03-25 16:38:58 +13:00
Frédéric Wang
945add0482 MathML Operator Dictionary: remove obsolete infix entries for coproduct, wedge and vee (bug 534970). r=karlt
--HG--
extra : transplant_source : f%0D%EA%DCP%B4%E0%B4%5B%D3%8DA%DF%D31%0A%8D%12%8A%2C
2011-03-25 16:38:58 +13:00
Frédéric Wang
89fabd7460 MathML Operator Dictionary: fix three conflicts for symmetric or fence (bug 534970). r=karlt
--HG--
extra : transplant_source : %0A%B7XXNy%A7%04G%03%9Db%CC%7D%1C%A0%3D2%DE%BC
2011-03-25 16:38:58 +13:00
Frédéric Wang
499ff10c52 MathML Operator Dictionary: fix conflicts for entries becoming accent (bug 534970). r=karlt
--HG--
extra : transplant_source : %EAn%3B%8A%B7%9Fs%BE%06%0C%EB%F17%7E%D7%CD%7E%8AG%C2
2011-03-25 16:38:58 +13:00
Frédéric Wang
37b6222b1b MathML Operator Dictionary: add new fence, accent and largeop entries (bug 534970). r=karlt
--HG--
extra : transplant_source : %83%23%CB%EB%E9%D1%A7%27%86%87%08%82p%07%08%F9%82%BAz%8C
2011-03-25 16:38:58 +13:00
Frédéric Wang
34f9a428c6 MathML Operator Dictionary: fix space conflicts (bug 534970). r=karlt 2011-03-28 14:52:03 +13:00
Frédéric Wang
6e79c77b4f MathML Operator Dictionary: add new entries which are neither stretchy nor largeop (bug 534970). r=karlt
--HG--
extra : transplant_source : %C61f%073%C9n%96%27%94%27%2A%7D%21%E3%06%3DK%A0%1D
2011-03-25 16:38:58 +13:00
Frédéric Wang
0e054716ae MathML Operator Dictionary: sort entries of the dictionary and remove minsize attributes (bug 534970). r=karlt
--HG--
extra : transplant_source : %97%AB%E6%8A%CA%D0Y%CB%C6%02%F5%3Fo%10%CF%A7%C7%D9r%CA
2011-03-25 16:38:58 +13:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Robert O'Callahan
d886269e1d Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Shawn Wilsher
06f60f7a34 Merge mozilla-central to Places 2010-11-10 09:38:08 -08:00
Frédéric Wang
d9d102c3f7 Use u23AF instead of uE10B for stix extenders (bug 594244) r=karlt a=bsmedberg
--HG--
extra : rebase_source : fa67187d67b23489ceff8185cb61f1c12e17ad5e
2010-11-11 11:34:59 +13:00
Matt Woodrow
47554e7736 Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking 2010-10-11 13:58:20 +13:00
L. David Baron
40d60928c6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
Robert O'Callahan
812e6204ae Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Frédéric Wang
7536b35a76 Bug 414277 - scale stretchy operators when there is no glyph of suitable size. r=karlt a=dbaron
--HG--
extra : rebase_source : 325e318cbb27537229c9c14015133ba9222f4d29
2010-08-20 15:44:07 +12:00
Frédéric Wang
58274b26dd MathML Operator Dictionary: add private data integral (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : d4e1f0e8d80cc1cafa630c89f730d4f30e686766
2010-08-20 15:43:10 +12:00
Frédéric Wang
a001c09834 MathML Operator Dictionary: update some entries whose stretchiness has changed (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : f6a56bd7e60f05d59c5a7571e1e888bb0b1edca1
2010-08-20 15:41:49 +12:00
Frédéric Wang
2b9596c050 add private data integral (bug 534970) a=npotb 2010-11-08 09:34:44 +13:00
Frédéric Wang
e2d2f347d5 Add a perl script to compare MathML operator dictionaries and check validity of our private data (bug 534970) 2010-11-08 09:32:54 +13:00
Ms2ger
6492dfc93a Bug 538965 - part b: compress whitespace in MathML mfenced's open and close attributes; r=karlt a=bsmedberg 2010-11-05 11:57:51 +01:00
Ms2ger
f94a249008 Bug 538965 - part a: make nsMathMLmfencedFrame::CreateFencesAndSeparators return void; r=karlt a=bsmedberg 2010-11-05 11:57:39 +01:00
Frédéric Wang
8c208dd73c Bug 524275 - Make nsStretchDirection available for any operators. r=karlt a=dbaron
--HG--
extra : rebase_source : 0df9e11112d215ce4158574622e1b67faf668b08
2009-11-21 22:11:05 +01:00
Frédéric Wang
874efe569a MathML Operator Dictionary: make operator with a stretchy form use the same direction for all their forms (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : 74c2ded175993d3cdf9a21be586302727e60a613
2010-08-20 15:38:08 +12:00
Frédéric Wang
fd3bcd18af MathML Operator Dictionary: add entries for stretchy fences (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : e70fe8ac89cb77e0c71d7305d2ff4004fe7cf3df
2010-08-20 15:36:06 +12:00
Frédéric Wang
25563d8fe9 MathML Operator Dictionary: add entries for vertical and horizontal arrows (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : 6ace7c7366574544cfe68967c2b562a11d5b820b
2010-08-20 15:33:36 +12:00
Frédéric Wang
a475be6242 MathML Operator Dictionary: remove infix entries for N-ary Union and Intersection (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : d6bbaf616bc013037915769bb9716ee21e33a0df
2010-08-20 15:32:22 +12:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
b7df1787ef Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Michael Ventnor
8139bee929 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Michael Kohler
dab190d2bc Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Boris Zbarsky
37c6532fe1 Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron 2010-06-18 12:23:05 -04:00
Frédéric Wang
3063ebb55e Bug 569195 - Add support for STIX Fonts 1.0. r=karlt
--HG--
rename : layout/mathml/mathfontSTIXSize1.properties => layout/mathml/mathfontSTIXSizeOneSym.properties
extra : rebase_source : 81a64bf6f150e759937ea6869a8786d08ebae686
2010-06-11 10:15:43 +12:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Frederic Wang
5a347b9ad5 Bug 563365 - nsMathMLOperators::LookupOperators retrieves only the first form found. r=karlt 2009-11-21 23:25:55 +01:00
Boris Zbarsky
ecc1fd2ec3 Bug 562700 part 2. Change the restyle-event functions to take Element. r=dbaron 2010-05-14 13:04:51 -04:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Frederic Wang
9460a70cb6 Bug 556767 - (semantics) Improve/Complete implementation of <semantics/>. r=roc 2010-05-12 12:11:59 +02:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Justin Dolske
de107f9d91 Bug 563114 - Remove nsINonBlockingAlertService. r=karlt, r=bsmedberg, sr=roc 2010-05-04 17:41:07 -07:00
Frédéric Wang
a9a2ba1455 Bug 562464 - Remove perl script layout/mathml/mathml-css.pl. r=karlt 2010-05-02 12:48:23 +02:00
timeless@mozdev.org
c7316b0176 Bug 562420 - unused variable border in nsDisplayMathMLCharDebug::Paint, r=karlt 2010-04-28 12:36:00 -07:00
Boris Zbarsky
7773612f1a Bug 562688 part 12. Eliminate eELEMENT usage in the rest of layout except layout/style. r=dbaron 2010-04-30 09:12:06 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Frédéric Wang
756bb4a1ba Bug 407101 - MathML STIX fonts: more variants and composite chars for stretchy accents, r=karlt
--HG--
extra : rebase_source : 030868edf640f7c3e27a982392d1a2772934fe54
2010-04-29 09:32:27 +12:00
Frédéric Wang
429c77a1ff b=557085 Remove directory mozilla/src/layout/mathml/doc r=karlt
--HG--
extra : rebase_source : 1a72bb9263b9d40514ad29e6567f491f35e215b1
2010-04-21 15:43:57 +12:00
Frédéric Wang
a833a67e8b Bug 213932 - add more entries in the MathML Operator Dictionary. r=karlt
--HG--
extra : rebase_source : 4aa186a3bd0b9217ea28f96afef6d4b097f83d8b
2010-04-21 15:41:48 +12:00
Frédéric Wang
9099aa5a17 Bug 534965 - [MathML3] Add support for the madruwb notation. r=karlt
--HG--
extra : rebase_source : c4d0c73e88e0ec8e3fe0d1a04132f25a78836506
2010-04-21 15:38:15 +12:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Ehren Metcalfe
e0ac5d5547 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
0b57ef51cd Use the appropriate color based on visitedness for 'outline-color'. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
7ff92ec1fa Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
68d7839f41 Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
Zack Weinberg
ee4e0f1e56 Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc 2010-03-31 17:43:32 -07:00
Robert O'Callahan
9a2ed61b34 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Frédéric Wang
fa713308c9 b=407101 STIX n-ary ops and angle brackets r=karlt 2009-10-22 13:05:35 +02:00
Saint Wesonga
d70b607a01 Bug 537916 - MathML mfenced: Whitespaces in separators are not ignored. r=roc 2010-03-23 09:27:43 +01:00
Craig Topper
a956b85435 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Frédéric Wang
d6904c21a4 Bug 475518 - MathML layout code should use _moz* attributes instead of -moz-* attributes. r=karlt, sr=bz
--HG--
extra : rebase_source : 34bb7055d4deaad9a0ee55aa40b9bcbdd19153ea
2010-03-10 13:49:33 +01:00
Frédéric Wang
c0920c23f8 Bug 519126 - MathML Operator Dictionary: improve the syntax of mathfont.properties. r=karlt 2009-09-27 22:32:54 +02:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Frédéric Wang
97a269e73c b=536438 Fix creation of keys in GetFontExtensionPref r=karlt 2010-02-18 13:51:33 +13:00
Ehren Metcalfe
7ab9c13516 b=536438 add missing breaks to switch statement r=fred.wang 2010-02-18 13:49:56 +13:00
Karl Tomlinson
1424584cc7 backout 4dc8bdb7af6d due to 355548-2 reftest failure 2010-02-02 20:29:59 +13:00
Frédéric Wang
c0e77d917e b=219873 make math elements display:inline-block so that their height includes their children r=roc 2010-02-02 19:00:06 +13:00
Frédéric Wang
c859c3ec1b Bug 118743 - <mfrac bevelled="true"> doesn't shift baselines. r=karlt 2009-10-07 11:31:45 +02:00
Simon Montagu
d84ebba607 Remove intl/uconv/ucvmath. Bug 483116, r=Masatoshi Kimura <YV03354@nifty.ne.jp> 2009-12-21 00:47:08 -08:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
6ae14f3465 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky
d458769f84 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-10 14:36:05 -08:00
Timothy Nikkel
bba7380ea8 Bug 488771. Stop nsMathMLmactionFrame from inheriting from nsISupports and a bit more cleanup. r=roc
--HG--
extra : rebase_source : 395ac33113c9cf44c1c97efb3b7e6dcf6514eefa
2009-11-03 16:43:39 -06:00
Boris Zbarsky
5215a681c7 Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
Daniel Holbert
ad1651cc8b bug 522779: use nsTArray::Contains() instead of checking nsTArray::IndexOf() against various sentinel values, in three places in layout. r=dbaron 2009-10-16 15:49:30 -07:00