Commit Graph

867 Commits

Author SHA1 Message Date
Zack Weinberg
8648dcc368 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
92fcae3d0b 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
1c5c997eb5 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
3c866720cc Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Zack Weinberg
ef90e52c10 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
5731d401c8 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
b6b73ad75a Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
9f143f420f Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
642f35826e Bug 648197 (1/2): remove the #ifdef ALERT_MISSING_FONTS blocks in nsMathMLChar.cpp. 2011-04-07 14:47:04 -07:00
Zack Weinberg
1628ea1551 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
86131020a5 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
f8eccd9ec7 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
ab24450ef1 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
4e540ce52f 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
c510bc3046 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
ebb2f0c7ec 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
d5dde90b81 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
e14021d292 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
9024614d36 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
bccb667cb7 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
961e833ae7 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
2f90d7af7e 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
8dd5a60ed6 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
ea6150c5dc 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
70abd7dd65 MathML Operator Dictionary: fix space conflicts (bug 534970). r=karlt 2011-03-28 14:52:03 +13:00
Frédéric Wang
f8381ad954 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
e91c34ca20 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
678b9c7c11 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
f38f22f331 Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Shawn Wilsher
f1db0ae444 Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Shawn Wilsher
deaabcb2a2 Merge mozilla-central to Places 2010-11-10 09:38:08 -08:00
Frédéric Wang
3202a9a3a8 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
8a60164429 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
5a012f3090 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
7be62af7f1 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
33a0aec926 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
2534d3f9fc 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
edb8d38e0c 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
10be8e68cb 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
91de9e2cdb add private data integral (bug 534970) a=npotb 2010-11-08 09:34:44 +13:00
Frédéric Wang
06ce11a8ea 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
7fdca7f763 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
7b04f77d8b 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
b40094b647 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
7d5f56c2e5 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
691ce60937 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
a9ee9244b5 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
24af5d319f 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
3133bff6c6 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
c0a3a641e0 Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00