Robert O'Callahan
f51c1e6524
Bug 889219. Part 1: Clean up nsPrintEngine string usage for document titles/URLs. r=mats
...
--HG--
extra : rebase_source : 17a67d9956e9df9e19c86ea70ac3045e636c49ae
2013-07-24 23:48:37 +12:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Ryan VanderMeulen
26a69bd344
Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
...
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl
79f83908c9
Bug 869314 - Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc
2013-05-21 08:27:14 -04:00
Trevor Saunders
7da524d402
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
John Daggett
18ea34f1e4
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
1bc3a7f29b
Merge backout.
2013-05-19 20:26:58 +02:00
Ms2ger
c80e8cd5c6
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
46d5a31f16
Bug 549861. Trim out kerning from gfxFontStyle. r=jkew
2013-05-13 18:45:38 +09:00
John Daggett
935216a597
Bug 549861. Implement support for @font-feature-values rule. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
c580f1c701
Bug 549861. Implement gfx support for font-variant-alternates. r=jkew
2013-05-13 18:45:37 +09:00
John Daggett
353ac539b0
Bug 549861. Implement rendering support for simple font-variant properties. r=jkew
2013-05-13 18:45:36 +09:00
John Daggett
db71566608
Bug 549861. Add constants needed to support font-variant subproperties. r=dbaron
2013-05-13 18:45:36 +09:00
Ed Morley
4138b6a41f
Backed out changeset 4290ee7475c1 (bug 864441) for compilation failures on a CLOSED TREE
2013-06-21 18:07:45 +01:00
Benoit Girard
9aaf661794
Bug 864441 - Add APZC tests. r=kats
2013-06-20 13:53:39 -04:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Masatoshi Kimura
7c989863ee
Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert
2013-04-07 13:45:34 +09:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
c2a9341a2e
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Ms2ger
c4380f4933
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Jonathan Watt
0fbd87a19c
Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc
2013-03-16 05:40:15 +00:00
Boris Zbarsky
0b1c19a3ba
Bug 848745 part 2. Add a scriptable API for converting RGB triples to CSS color names. r=dbaron,miker
2013-03-14 15:43:00 -04:00
Gregory Szorc
7bb3ee056b
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Daniel Holbert
1859a93138
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Gregory Szorc
21460a71f3
Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger
2013-02-25 12:47:21 -08:00
Jonathan Kew
4a6209493f
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
Boris Zbarsky
880e764352
Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik
2013-02-13 10:11:53 -05:00
Steven Michaud
c37fea244f
Bug 684622 - Print scaling and shrink to fit page width does not work from page 2. r=matspal
2013-02-08 19:14:30 -06:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Masatoshi Kimura
0e056cc892
Bug 829388 - Remove unused functions and macros from nsCoord.h. r=roc
2013-01-11 20:37:52 +09:00
Masatoshi Kimura
b5e27745c8
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Benoit Jacob
456912483a
Bug 817774 - Let nsIntRect not have a nsIntRect static data member, as that kills GDB printing it - r=dholbert
2012-12-17 16:59:53 -05:00
Ed Morley
ede888aa41
Backout 97061a550935 (bug 817774) for build bustage on a CLOSED TREE
2012-12-17 22:22:08 +00:00
Benoit Jacob
1e42bb0138
Bug 817774 - Let nsIntRect not have a nsIntRect static data member, as that kills GDB printing it - r=dholbert
2012-12-17 16:59:53 -05:00
Benoit Girard
73bb5b674b
Bug 809448 - Make ns(Int)Region ToString const. r=bas
...
--HG--
extra : rebase_source : 3d0916bf70c0fd0681ebb192b8757c44917f6ff5
2012-11-08 14:23:43 -05:00
Robert O'Callahan
12b00cd718
Bug 804062. Move device-pixels-per-CSS-pixel preference logic into nsIWidget::GetDefaultScale. r=jfkthame
...
The only behavior change caused by this patch should be that nsDeviceContexts with no widget
(mainly printing, I think), default to a devpixel-per-CSS-pixel ratio of 1.0, ignoring
any prefs set.
2012-10-31 11:31:35 +11:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Ehsan Akhgari
ad6f47387e
Backout changeset d587ce3af2f3 (bug 791428) because of performance regressions
2012-10-23 16:01:45 -04:00
Anthony Jones
05bd6f276c
Bug 791428 - Limit pixel sizes so that they can't exceed app unit limits. r=roc
2012-10-22 22:22:27 -04:00
Isaac Aggrey
cbb17fe7b2
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00
Robert O'Callahan
6bbe1c00e4
Bug 776505. Assert that nsDeviceContext is created on the main thread only. r=mats
...
--HG--
extra : rebase_source : fcda449b3bf25c9827c2fa2f000c20460819ce53
2012-10-17 17:51:58 +13:00
Jonathan Kew
e18b10e5fb
bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc
2012-09-29 12:35:19 +01:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Robert O'Callahan
23745705c8
Bug 777194. Part 3: Add ToString() method to regions for easier logging/debugging. r=jrmuizel
2012-08-17 11:39:00 +12:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Karl Tomlinson
2a3fd384a0
b=780059 tidy up API for FindVisualAndDepth r=mattwoodrow
...
--HG--
extra : rebase_source : c6022bd51aad41b7439531e7c3db1725aabda5e7
2012-08-20 16:20:37 +12:00
Ms2ger
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Karl Tomlinson
9c7714f910
b=778031 remove unnecessary ScopedXErrorHandler::GetError interface r=cjones
...
--HG--
extra : transplant_source : %FE%EC%0A%24%1B%8A%B3%D2%94%F6%2B%23%E3%A9R%8Df%90%FF%17
2012-07-31 14:54:21 +12:00
Karl Tomlinson
efce7d7c15
b=778031 add FinishX to XSync less frequently and use it r=cjones
...
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
David Zbarsky
1ab8257975
Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-31 10:28:20 -07:00
Mark Finkle
70a01196ec
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
12752872fe
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Ed Morley
be8bf4beae
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
2008ff368b
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
Matt Brubeck
2e41f92cb5
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
dfd3e3d5ba
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Matt Woodrow
2865678172
Bug 741682 - Add ScaleToInsidePixels and ScaleToNearestPixels to nsRegion. r=roc
2012-07-23 15:00:36 +12:00
Martin Stransky
ddc356125d
Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt
2012-06-27 20:15:32 -04:00
David Zbarsky
08a87d5cc9
Bug 765989 - Add fail on warnings to some gfx directories r=benwa
2012-06-19 21:12:30 -07:00
Brad Lassey
899154819f
bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread, follow up to fix windows builders r=bustage
2012-06-19 17:11:38 -07:00
Brad Lassey
116e769f51
bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread r=joe
2012-06-19 17:05:28 -04:00
Jonathan Watt
70c1310055
Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr.
2012-06-19 16:28:04 +01:00
Ehsan Akhgari
ff75c88d87
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (gfx parts); r=joedrew
2012-06-13 00:14:28 -04:00
Ed Morley
283e84e0e8
Backout a55eea2c294d (bug 627699) for bustage
2012-06-13 16:07:22 +01:00
Martin Stransky
23eecf1d40
Bug 627699 - Port GTK2 to GTK3, gfx patch; r=vlad
2012-06-13 10:47:54 -04:00
Yoan TEBOUL
72e9bc2b32
Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc
2012-05-16 12:24:55 +02:00
Oleg Romashin
1a4829fdba
Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa
2012-05-24 18:36:18 -07:00
Ryan VanderMeulen
ca9c200ae3
Backout 5baac057fc1a (bug 757933) due to red.
2012-05-26 10:03:20 -04:00
Oleg Romashin
cff8a9f636
Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa
2012-05-26 09:33:53 -04:00
Takanori MATSUURA
4e1026d682
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mats Palmgren
c6512a9065
Bug 749935 - Make all nsRect Union methods saturating. If width/height overflows nscoord_MAX then clamp the x/y to nscoord_MIN / 2 and try again. r=roc
2012-05-14 22:11:39 +02:00
Mats Palmgren
cdd7c645a3
Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz
2012-05-09 21:53:15 +02:00
Kyle Huey
5fdc27fddf
Bug 718539: Followup to fix MSVC warnings. r=me
2012-05-04 12:45:03 -07:00
Matt Woodrow
f2641ecaa8
Bug 746421 - Make nsTextBoxFrames overflow area include the LOOSE_INK_EXTENTS of the text. r=jfkthame
2012-04-27 12:24:54 +12:00
John Daggett
69edaef745
Bug 718539. Trim out old featureSettings string code. r=jkew
2012-04-26 15:27:08 +09:00
John Daggett
f3be29b833
Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron
2012-04-26 15:25:29 +09:00
John Daggett
c99d68e3fd
Bug 718539. Move gfxFontFeature to a separate header. r=jkew
2012-04-26 15:22:24 +09:00
Nathan Froyd
2025eae150
Bug 746279 - pack nsFont more carefully; r=jdaggett
2012-04-17 15:22:18 -04:00
Ms2ger
2503fec036
Bug 745291 - Remove superfluous ; in X11Util.h. r=dteller, a=blassey
2012-04-19 18:53:30 -04:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
258acebbf4
Bug 745291 - Remove superfluous ';' in X11Util.h; r=Yoric
2012-04-14 15:09:54 +02:00
David Rajchenbach-Teller
457f40baba
Bug 728171 - Use Scoped.h throughout the code. r=cjones
2012-04-12 12:21:24 +02:00
Richard Newman
a89cec83c5
Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage
2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
5a08b70435
Bug 728171 - Use Scoped.h throughout the code. r=cjones
2012-04-11 18:59:10 +02:00
Oleg Romashin
e8955b072d
Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt
2012-03-22 16:24:40 -07:00
Jonathan Watt
931f6fc216
Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas.
2012-03-02 08:28:59 +00:00
Daniel Holbert
296e85bd0c
Bug 731393: Update type of temporary copy of nsDeviceContext::mAppUnitsPerDevPixel (which is now unsigned), to fix build warning. r=joe
...
--HG--
extra : rebase_source : c6bfe18c121bac203b2371c9ef35dee1edebf70c
2012-02-29 23:05:43 +01:00
Jonathan Kew
74bc2f7c62
bug 731187 - nsFontMetrics needs to handle possible failure of AutoTextRun to create the run. r=choller,roc
2012-02-28 21:34:45 +00:00
Benoit Jacob
48c5b9a871
Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
...
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Zack Weinberg
58cb765cfa
Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc
2012-02-20 15:19:48 -08:00
Edwin Flores
e20fcb14ba
Bug 719288 - Fill and stroke SVG text with one Draw call r=roc
2012-02-04 13:11:09 +00:00
Edwin Flores
0855766ec9
Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc
2012-01-26 13:11:18 +01:00
Mats Palmgren
9294488b2f
Bug 665597 - Use saturating calculations when adding the margin to the scrollable overflow rect. part=4/5 r=roc
2012-01-17 00:38:10 +01:00
Robert O'Callahan
4635d15f3d
Bug 665597. Add nsRect::SaturatingUnion(Rect)(Edges). r=mats
2012-01-03 11:55:30 +13:00
Karl Tomlinson
5d027f5e32
b=682625 move XVisualIDToInfo to X11Util r=cjones
...
--HG--
extra : transplant_source : %BA%AF%7F%B2%B3%12%F2%CBl%FAy%5C%F25lI%23%EC%92%28
2012-01-10 23:54:38 +13:00
Jonathan Kew
dab5dd6132
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Bas Schouten
e528b0bb4f
Bug 711063 - Part 6: Adjust nsRenderingContext to be compatible with Azure wrapper. r=joedrew
2012-01-05 08:17:52 +01:00
Jeff Muizelaar
dfce004451
Bug 715232. Add some more MOZ_FINAL. r=joe
...
--HG--
extra : rebase_source : 1d4bf4c624dbbfd77b3a80f88478a87fa5df9506
2012-01-03 13:38:10 -05:00
Matt Brubeck
7d451f6bac
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Edwin Flores
a9f4f6c3c4
Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc
2011-12-18 21:53:03 +13:00
Ms2ger
f5e3aeffd1
Bug 709519 - Remove unused 1-argument nsRenderingContext::DrawEllipse; r=joe a=ehsan
2011-12-13 09:49:31 +11:00
Ms2ger
88df3c4062
Bug 709518 - Remove unused 4-argument nsRenderingContext::InvertRect; r=jrmuizel a=edmorley
2011-12-11 14:43:29 +01:00
Andrew Quartey
bab8d10213
Bug 705414 - Failure checks for JS_DefineElement in nsScriptableRegion::GetRects. r=evilpie
2011-12-05 15:44:06 +01:00
timeless@mozdev.org
4e6bfb97ec
Bug 505738 - nsScriptableRegion::GetRects doesn't handle failure from JS_NewArrayObject [@ JS_DefineElement - nsScriptableRegion::GetRects] r=gal
2011-12-03 22:50:17 +01:00
Benoit Girard
faf8ccdf36
Bug 703317 - Use TLS to make RgnRectMemoryAllocator thread safe. r=roc
2011-11-29 13:29:03 -05:00
Ms2ger
dc467a9aa0
Bug 705187 - Use IDL for nsIScriptableRegion::GetRects; r=roc
2011-11-26 11:29:45 +01:00
Marco Bonardo
58bfb85dcd
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
Michael Wu
3e0835d415
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Gregory Szorc
f9737cefa1
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matt Woodrow
dc9ab97c70
Bug 675532 - Add GLX debug mode. r=bjacob
2011-08-24 13:55:43 +12:00
Justin Wood
3ef675a7ec
Backout Bug 594876, Bug 675474, and Bug 675532, to fix OSX64 Reftest orange, and Linux perf regression. rs+=edmorly
...
changeset 0a920411e64c, changeset 58147380793b, and changeset 96e052b3e845
2011-08-20 15:07:06 -04:00
Matt Woodrow
9890e1fe33
Bug 675532 - Add GLX debugging mode. r=bjacob
2011-08-20 14:04:24 +12:00
Hiroyuki Ikezoe
35ce0be6f4
Bug 678452 - Fix misuse of NS_ENSURE_ARG_POINTER. r=roc
2011-08-19 12:52:07 +02:00
Ed Morley
58bc85d190
Bug 670461 - Fix conversion from 'double' to 'PRUint32' build warning in gfx/src/nsRenderingContext.h(73); r=joedrew
2011-08-18 15:17:34 +02:00
Makoto Kato
896d2168dd
Bug 678451 - Remove unused gfx files (mozilla-decoder.*, gfxIFormats.idl and gfxidltypes.idl). r=joe
2011-08-18 11:41:26 +09:00
L. David Baron
22f0790155
Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
...
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness). Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
Jeff Muizelaar
cb92f6ff06
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Rafael Ávila de Espíndola
9ca4b64c4b
Bug 678222 - Fix build with clang and c++0x; r=roc
...
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Jeff Walden
49d1d5ab36
Bug 676738 - Change the index argument to JS_DefineElement from jsint to uint32. r=jst, r=dmandelin
...
--HG--
extra : rebase_source : d0e3be27e3f0cf022eea21805923c2f4736a36ca
2011-08-04 19:39:12 -07:00
Robert Sesek
6a70e0ff21
Bug 448168 - Apply |s/entires/entries/g|; r=roc
2011-08-04 09:04:29 +02:00
Ed Morley
08c695d2ea
Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ed Morley
4b39be95e2
Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc
2011-07-11 09:14:12 -04:00
Marco Castelluccio
6e58070f5f
Bug 635643. Remove nsIRegion, because it is a useless wrapper class. r=tnikkel
2011-07-25 17:19:37 -05:00
Mats Palmgren
5437bbbfbe
Bug 665218 - Keep the printing surface until the next BeginPage to avoid null-ptr crash [MacOSX only]. r=roc
2011-07-19 14:20:33 +02:00
Ehsan Akhgari
2da92ee675
Backout changeset ed3036facfb2 (bug 670338) to see if it affects the frequency of bug 629196; rs=joe
2011-07-15 16:28:13 -04:00
Ehsan Akhgari
f85c34e56a
Backout changeset e2139ab44181 (bug 670111) to see if it affects the frequency of bug 629196; rs=joe
2011-07-15 16:27:27 -04:00
Jeff Gilbert
247edcfca1
Bug 669522: Removed unused function bool IsFloatInteger(float) r=joe
2011-07-11 12:24:21 -07:00
Ed Morley
f3a9335535
Bug 670111 - Add double overloads to NSToCoord(Round|Floor|Ceil|Clamped) to stop numerous build warnings; r=roc
2011-07-11 09:14:12 -04:00
Ed Morley
2e399e9852
Bug 670338 - Add double overload to NSToIntRound to stop build warnings; r=roc
2011-07-11 09:14:12 -04:00
L. David Baron
dbb636b97e
Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky
2011-07-06 12:03:23 +02:00
Ed Morley
e2dd282c90
Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-07-03 11:53:40 +02:00
Ed Morley
af1d9c6c2b
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Bas Schouten
1fb2634ff2
Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
...
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00
Robert O'Callahan
70312fec05
Bug 637852. Part 25: Add nsSize ScaleToNearestPixels. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
779fca303f
Bug 637852. Part 21: Skip invalidation if aRegionToInvalidateIsEmpty (note that ScaleRoundOut on an empty bounds rect can return a non-empty rect). r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
9c74d507a9
Bug 637852. Part 11: Remove ExtendForScaling from nsRect and nsRegion. r=joe
...
This is good because the semantics of this method always sucked.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
fcf2510a5d
Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
...
FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters
passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale
up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents
constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer.
For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters.
If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling.
If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the
child layer's transform.
For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that
the child ThebesLayers are simply larger or smaller (larger or smaller visible regions).
We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent
ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates.
When a ThebesLayer's resolution changes we need to rerender the whole thing.
nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree
with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we
adjust the root layer transform to scale back down by the resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
3cbadba941
Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
c58a20de4e
Bug 637852. Part 3: Add nsPoint::ScaleToNearestPixels, nsRect::ScaleToNearestPixels, nsRect::ScaleToInsidePixels and nsRect::ScaleToOutsidePixels APIs. r=joe
2011-06-23 00:11:27 +12:00
Robert O'Callahan
06e6b72a58
Bug 637852. Part 2: Add BaseRect::ScaleInverseRoundOut API. r=joe
2011-06-23 00:11:27 +12:00
Ed Morley
c8157ac7e6
Bug 664311 - Remove WinCE code from gfx/; r=jmuizelaar
2011-06-18 11:04:30 +02:00
Ted Mielczarek
a88f0715f0
merge m-c and b-s
2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b
Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted
2011-06-12 03:49:00 -04:00
Masayuki Nakano
e06d6eb819
Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe
2011-06-12 11:30:16 +09:00
Matheus Kerschbaum
7406ce377f
Bug 660762 - Remove --disable-mathml support. r=roc
2011-06-02 13:11:33 +02:00
Ehsan Akhgari
a0939ce343
Bug 660676 - Remove the copy constructor for nsSize and nsIntSize; r=roc
2011-05-30 19:07:35 -04:00
Ed Morley
6649ee0b7d
Bug 624748 - Remove unused nsITheme::RegisterWidgetGeometry. r=roc
2011-05-30 09:31:42 +02:00
Neil Rashbrook
a823051c1e
Fix DOS line endings rs=joedrew!
...
DONTBUILD
2011-05-26 20:41:33 +01:00
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Jim Mathies
2a4de6175a
Bug 633282 - Add ToNearestPixels to nsRegion. r=roc.
2011-05-13 11:40:46 -05:00
Jim Mathies
02f8ccf86e
Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc.
2011-05-13 11:40:46 -05:00
Jonathan Kew
916e9b8b24
bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc
2011-05-04 12:29:56 +01:00
Zack Weinberg
85ef3b518f
Bug 651498: call gfxPlatform::Init when necessary and not earlier. r=joedrew,bsmedberg
...
--HG--
extra : rebase_source : fa6eae9a0656197d2c245f7c15120f36face2347
2011-04-21 12:36:49 -07:00
Zack Weinberg
43341e9470
Bug 651926: abort (even in production) if anything in gfxPlatform::Init fails, its callers can't cope. r=jrmuizel
2011-04-21 12:36:53 -07:00
Zack Weinberg
647b7a0bfe
Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg
668fa81e1d
Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Zack Weinberg
d5e47757d8
Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
792bb82cfb
Bug 651017, part 3: Make nsThebesDeviceContext not an nsIObserver. Also remove some more obsolete junk from nsThebesDeviceContext itself.
...
--HG--
extra : rebase_source : 38fdc667532509e272726bf8098c6f728e94e8ad
2011-04-16 18:22:41 -07:00
Zack Weinberg
ba4c919431
Bug 651017, part 2: wrap gfxPlatform::Init/Shutdown in a service and register it for app-startup. Also prune some dead CIDs from nsGfxCIID.h.
...
--HG--
extra : rebase_source : d296ac53c4c60d79f7e2d6904dd54ce930099bbd
2011-04-16 18:22:41 -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
c9b3d6063b
Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones
2011-04-19 15:07:48 +12:00
Robert O'Callahan
72627bced2
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
763a5f47a7
Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones
2011-04-19 15:07:22 +12:00
Robert O'Callahan
cffed533b7
Bug 641426. Part 4: Create Margin template. r=joe,sr=cjones
2011-04-19 15:07:22 +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
73b97e72c4
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
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
8f84e87563
Bug 174055, part 8: change GetLanguage to return a raw nsIAtom*.
2011-04-14 10:43:21 -07:00
Zack Weinberg
2c3c349dad
Bug 174055, part 7: remove unnecessary members from nsFontMetrics.
2011-04-08 08:32:29 -07: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
1c1eb035f0
Bug 174055, part 3: deCOM ns(I|Thebes)FontMetrics. Code outside gfx/ not fixed up.
...
--HG--
rename : gfx/src/nsThebesFontMetrics.cpp => gfx/src/nsFontMetrics.cpp
rename : gfx/src/nsThebesFontMetrics.h => gfx/src/nsFontMetrics.h
2011-04-07 18:05:26 -07:00
Zack Weinberg
d6425e8bd1
Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics.
2011-04-07 18:05:25 -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
f5d56fa57a
Bug 648197 (2/2): make nsIDeviceContext::FirstExistingFont and ::GetLocalFontName into complete stubs; remove the alias table.
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
b7e2ce1e01
Bug 266236 part 5: Make all nsRenderingContext methods with no out-parameters and that never fail return nothing.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 7c11bd0cd2a93d30347a1bb6c1b7675e85f0f579
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
09deeaef3d
Bug 266236 part 2: Merge nsIRenderingContext with nsThebesRenderingContext (the sole implementation) and remove XPCOM vestiges. Non-mechanical fixups. DOES NOT COMPILE without part 3.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 9e149d30da5222d072071043d30d83033fec9787
2011-04-07 18:04:39 -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
Zack Weinberg
2698de77fc
Fix partial DOS line endings in nsRect.cpp, rs=khuey, no bug
...
--HG--
extra : rebase_source : 0bf86cf3015a3eecb19282159277581656136734
2011-04-13 10:16:36 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Zack Weinberg
2ec3d0e203
Bug 571989, much-delayed part 6: merge gfx/src/thebes into gfx/src. r=joedrew
...
--HG--
rename : gfx/src/thebes/mozilla-decoder.cpp => gfx/src/mozilla-decoder.cpp
rename : gfx/src/thebes/mozilla-decoder.h => gfx/src/mozilla-decoder.h
rename : gfx/src/thebes/nsIThebesFontMetrics.h => gfx/src/nsIThebesFontMetrics.h
rename : gfx/src/thebes/nsSystemFontsAndroid.cpp => gfx/src/nsSystemFontsAndroid.cpp
rename : gfx/src/thebes/nsSystemFontsAndroid.h => gfx/src/nsSystemFontsAndroid.h
rename : gfx/src/thebes/nsSystemFontsGTK2.cpp => gfx/src/nsSystemFontsGTK2.cpp
rename : gfx/src/thebes/nsSystemFontsGTK2.h => gfx/src/nsSystemFontsGTK2.h
rename : gfx/src/thebes/nsSystemFontsMac.h => gfx/src/nsSystemFontsMac.h
rename : gfx/src/thebes/nsSystemFontsMac.mm => gfx/src/nsSystemFontsMac.mm
rename : gfx/src/thebes/nsSystemFontsOS2.cpp => gfx/src/nsSystemFontsOS2.cpp
rename : gfx/src/thebes/nsSystemFontsOS2.h => gfx/src/nsSystemFontsOS2.h
rename : gfx/src/thebes/nsSystemFontsQt.cpp => gfx/src/nsSystemFontsQt.cpp
rename : gfx/src/thebes/nsSystemFontsQt.h => gfx/src/nsSystemFontsQt.h
rename : gfx/src/thebes/nsSystemFontsWin.cpp => gfx/src/nsSystemFontsWin.cpp
rename : gfx/src/thebes/nsSystemFontsWin.h => gfx/src/nsSystemFontsWin.h
rename : gfx/src/thebes/nsThebesDeviceContext.cpp => gfx/src/nsThebesDeviceContext.cpp
rename : gfx/src/thebes/nsThebesDeviceContext.h => gfx/src/nsThebesDeviceContext.h
rename : gfx/src/thebes/nsThebesFontEnumerator.cpp => gfx/src/nsThebesFontEnumerator.cpp
rename : gfx/src/thebes/nsThebesFontEnumerator.h => gfx/src/nsThebesFontEnumerator.h
rename : gfx/src/thebes/nsThebesFontMetrics.cpp => gfx/src/nsThebesFontMetrics.cpp
rename : gfx/src/thebes/nsThebesFontMetrics.h => gfx/src/nsThebesFontMetrics.h
rename : gfx/src/thebes/nsThebesGfxFactory.cpp => gfx/src/nsThebesGfxFactory.cpp
rename : gfx/src/thebes/nsThebesRegion.cpp => gfx/src/nsThebesRegion.cpp
rename : gfx/src/thebes/nsThebesRegion.h => gfx/src/nsThebesRegion.h
rename : gfx/src/thebes/nsThebesRenderingContext.cpp => gfx/src/nsThebesRenderingContext.cpp
rename : gfx/src/thebes/nsThebesRenderingContext.h => gfx/src/nsThebesRenderingContext.h
2011-03-31 11:30:28 -07:00
Ms2ger
220863e8d9
Bug 637180 - Unused function IsFloatInteger; r=matt.woodrow
2011-02-27 11:00:00 -05:00
L. David Baron
56e6f8182f
Merge layout work from projects/birch, part 1. a=bsmedberg
2011-03-23 12:36:08 -07:00
L. David Baron
4a7745e74d
Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett
2011-03-03 13:18:42 -08:00
Benoit Jacob
7f1f831a27
Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe
2011-03-02 15:50:36 -05:00
Matt Woodrow
5a9d39c5e9
Bug 629857 - When invalidating transformed items, round the original area out to the nearest pixel. r=roc a=roc
2011-02-25 11:55:23 +13:00
Philipp Wagner
1f9b040255
Bug 631657 - Bogus WARNING: Overflowed nscoord_MAX in conversion to nscoord; r=roc, a2.0=dbaron
2011-02-20 16:15:58 +01:00
Benoit Jacob
7045bfa4fc
Bug 632867 - Mesa versions up to 7.10 cause a BadLength error during the first GLX call when the server GLX version < 1.3. - r=karlt, a=hardblocker
2011-02-11 18:11:30 -05:00
Karl Tomlinson
e9884a8b98
Bug 632969 - 1/4 - X error handling fixes - r=bjacob, a=blocker
2011-02-11 18:11:30 -05:00
Kyle Huey
9132ccf4bc
Backout
2011-02-11 23:08:16 -05:00
Benoit Jacob
af3ae9119a
Bug 632867 - Mesa versions up to 7.10 cause a BadLength error during the first GLX call when the server GLX version < 1.3. - r=karlt, a=hardblocker
2011-02-11 18:11:30 -05:00
Karl Tomlinson
72b7a60caf
Bug 632969 - 1/4 - X error handling fixes - r=bjacob, a=blocker
2011-02-11 18:11:30 -05:00
Matt Woodrow
92ecb6f640
Bug 586683 - Part 2a - Add ScaleRoundOut to nsIntRect/Region. r=joe a=blocking2.0
2011-02-09 09:37:44 +13:00
Matt Woodrow
c0ff9d37e2
Bug 586683 - Part 1 - Add resolution handling to BasicLayers. r=roc a=blocking2.0
2011-02-09 09:35:54 +13:00
Timothy Nikkel
143adccc4c
Bug 624781. When converting from app units to pixels use an intermediate double to do the calculation so no precision is lost. r=roc a=blocking
2011-02-08 13:29:26 -06:00
Mitchell Field
1592ff67f7
Merge mozilla-central to build-system.
2011-03-03 20:13:35 +11:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d
Merge mozilla-central to build-system.
2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Chris Jones
ef159da4a5
Bug 620658: Add nsRegion::Contains(nsRegion). sr=roc
2011-01-26 00:26:37 -06:00
Olli Pettay
a5bf7f043d
Bug 625311, nsThebesDeviceContext can own widget, r=roc, a=roc
...
--HG--
extra : rebase_source : 60797b802588b31e79dea17de0ec0b0667e822ba
2011-01-18 13:08:03 +02:00
Robert O'Callahan
ce2d40adbe
Bug 613696. Always use the presshell's reference rendering context to create textruns when we draw text via nsIThebesFontMetrics::DrawString, to be consistent with the textruns we measure during reflow. r=dbaron,a=blocking
2011-01-17 09:23:33 +13:00
Markus Stange
e20afb330c
Bug 621762 - Change the way native windows are notified about toolbars. r=roc, a=betaN
2011-01-11 14:03:16 +01:00
Jonathan Kew
13736eae4a
bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc
2011-01-11 11:17:00 +00:00
Robert O'Callahan
c148353f1a
Bug 585258. Part 2: Make SimplifyOutward smarter by trying to avoid combinging rectangles that are vertically discontiguous. r=bzbarsky,a=blocking
2011-01-04 21:45:46 +13:00
Robert O'Callahan
e7c81607af
Bug 613449. Extend GetLargestRectangle to support considering only rectangles that contain a given rectangle. r=robarnold
2011-01-04 16:56:57 +13:00
Robert O'Callahan
e946441ff1
Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
Robert O'Callahan
b890fea2f3
Bug 593604. Part 9: Support component alpha in ThebesLayerD3D9. r=bas,a=blocking
2011-01-03 14:48:09 +13:00
Benoit Jacob
81ac2ab66c
Bug 613079 - fix non-libxul build and style fixes - r=dholbert, a=fix-build-nonlibxul
2010-12-06 09:10:42 -05:00
Benoit Jacob
f3d3a4229e
Bug 613079 - WebGL crash [@mozilla::gl::GLContextProviderGLX::CreateOffscreen] - r=mattwoodrow, a=blocking-betaN
2010-12-06 06:34:34 -05:00
Ms2ger
3ec44ade0c
Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
...
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
Brad Lassey
77ba0ab35f
bug 595919 - Implement PDF printing for "Save As PDF" on Android r=vlad a=blocking-fennec
2010-11-16 18:33:56 -05:00
Robert O'Callahan
951d95a03a
Bug 582146. 8388608.0 is invalid in cairo, so clamp to 8388607.0 instead. r=jrmuizel
2010-10-11 13:58:19 +13:00
Timothy Nikkel
3fe8b5b2f9
Bug 600148. Always round up in nsPoint::ToNearestPixels to match nsRect::ToNearestPixels. r=dbaron a=blocking-betaN+
2010-10-09 14:09:22 -05:00
Tom Brinkman
fa1c5b8b9c
Bug 565013: Implement printing to PDF for qt builds. r=romaxa r=dholbert a=blocking-fennec
...
--HG--
rename : widget/src/gtk2/nsDeviceContextSpecG.cpp => widget/src/qt/nsDeviceContextSpecQt.cpp
rename : widget/src/gtk2/nsDeviceContextSpecG.h => widget/src/qt/nsDeviceContextSpecQt.h
rename : widget/src/gtk2/nsPrintDialogGTK.cpp => widget/src/qt/nsPrintDialogQt.cpp
rename : widget/src/gtk2/nsPrintDialogGTK.h => widget/src/qt/nsPrintDialogQt.h
rename : widget/src/gtk2/nsPrintOptionsGTK.cpp => widget/src/qt/nsPrintOptionsQt.cpp
rename : widget/src/gtk2/nsPrintOptionsGTK.h => widget/src/qt/nsPrintOptionsQt.h
rename : widget/src/gtk2/nsPrintSettingsGTK.cpp => widget/src/qt/nsPrintSettingsQt.cpp
rename : widget/src/gtk2/nsPrintSettingsGTK.h => widget/src/qt/nsPrintSettingsQt.h
2010-10-07 12:19:33 -07:00
Mats Palmgren
48db0466a9
Bug 449734 part 3 - Update nsThebesDeviceContext::mWidget. r=roc a=blocking2.0:betaN
2010-09-18 13:28:50 +02:00
Oleg Romashin
497f2db326
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Daniel Holbert
ecd6d13497
Bug 594650: Replace static variable in header file with static variable + accessor method, to fix codesighs & Composer.dll bustage. r=roc r=taras a=bustage
2010-09-09 09:41:58 -07:00
Chris Jones
29a74cf7e8
Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc
2010-09-03 15:10:46 -05:00
Chris Jones
5e7a13a689
Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc
2010-08-20 14:29:01 -05:00
Chris Jones
76fbbd8539
Backed out changeset c5945b6a97ed
2010-08-19 19:03:09 -05:00
Chris Jones
39ff0004c3
Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc
2010-08-19 13:49:35 -05:00
Robert O'Callahan
8d6e97edd5
Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron
2010-08-13 21:59:16 +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
Robert O'Callahan
2ee9178a2e
Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad
2010-08-13 21:58:01 +12:00
Robert O'Callahan
87bbf8a495
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00