Commit Graph

11288 Commits

Author SHA1 Message Date
Ehsan Akhgari
1fc28fc2a4 Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
56e0349b73 Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00
Oleg Romashin
abea18c939 Bug 825556 - RequestContentRepaint frequency should be possible to limit with some timeout. r=drs 2013-01-04 19:24:15 -08:00
Kan-Ru Chen (陳侃如)
0136604f20 Bug 826628 - Release the texture after unbind it. r=jgilbert 2013-01-05 11:20:50 +08:00
Jonathan Kew
dc68a4ac60 bug 825875 - shape long words directly into the textrun instead of using word caching. r=roc 2013-01-04 18:35:37 +00:00
Jonathan Kew
32fd2a26de bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc 2013-01-04 18:35:37 +00:00
Jonathan Kew
b366d014bc bug 826288 - remove the obsolete aFamily parameter from gfxFontEntry constructor. r=roc 2013-01-04 14:01:44 +00:00
Avi Halachmi
28ffc25c71 Bug 820167 - Tab open/close animation prints performance data to error console when enabled. r=jmuizelaar,dao 2013-01-03 21:53:15 -05:00
Oleg Romashin
eb1040047b Bug 825809 - mWaitingForContentToPaint should be true after mPaintThrottler.TaskComplete post new task. r=ajones 2013-01-03 11:58:15 -08:00
Nicholas Cameron
cc0c1bd501 Bug 825995; fix scissor rect logic in GLContext. r=jgilbert 2013-01-03 15:11:54 +13:00
Jonathan Kew
531d3c6676 bug 825504 - fix gfxPangoFontGroup::FindFamilyNameAt for user fonts, to resolve MathML fonts breakage. r=roc 2013-01-02 22:27:49 +00:00
Masatoshi Kimura
9a4812e054 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
Nicholas Nethercote
b7723e3c58 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Ms2ger
09400dc8df Backout bug 814718, bug 717178 for exceptions in test_text.html on Windows. 2013-01-01 13:34:34 +01:00
Robert O'Callahan
d224021f24 Bug 717178. Part 3: gfxGDIFont should pass ownership of its mFont to cairo_font_face_t. r=jrmuizel 2013-01-01 17:53:39 +13:00
Robert O'Callahan
1abce7564f bug 717178. Part 2.5: Make cairo_win32_font_face_create_for_logfontw_hfont take ownership of the HFONT. r=jrmuizel 2013-01-01 17:53:32 +13:00
Andrea Canciani
f29ed4b405 win32-font: Improve static data reset function
Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream.
======

From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
The hashtable is guaranteed to only contain font faces which are
currently referenced, hence there is no need to remove any font face
when it is reset (just like for toy-font).

This makes the function simpler and fixes the assertion

Assertion failed: predicate != NULL, file cairo-hash.c, line 373

hit by multiple tests (the first one being "clear").

See https://bugs.freedesktop.org/show_bug.cgi?id=38049

======

From eb29a25dd6dddc511388bf883c9b95843ecdb823 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Tue, 16 Nov 2010 13:18:39 +0000
Subject: win32: Use a font_face hash table to provide unique font faces

Similar to the freetype and toy font backends, use a hash table
to map logfont,hfont to font faces.

This fixes the multiple embedding of the same font in PDF.

https://bugs.freedesktop.org/show_bug.cgi?id=24849

======

From 6e3e329170ab4b96bc0d587c8071e869e228e758 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Thu, 18 Nov 2010 12:37:45 +0000
Subject: win32: fix font_face hashing

some bugs were discovered while testing with firefox

======
2011-06-15 09:37:36 +00:00
Oleg Romashin
e1a410c7ea Bug 825002 - We should not start compositor thread if it is already started. r=nsilva 2012-12-30 18:07:11 -08:00
Matt Brubeck
bfd6ac84aa Merge from mozilla-central to mozilla-inbound 2012-12-27 14:53:29 -08:00
Daniel Holbert
668351f091 Merge inbound to m-c 2012-12-27 13:53:16 -08:00
George Wright
1984b6bdba Bug 815795 - Fix an integer overflow by casting unit_x to int64_t. From upstream commit de60e2e0e3eb6084f8f14b63f25b3cbfb r=jrmuizel 2012-12-19 18:10:07 -05:00
Benjamin Chen
f016ff4111 Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones 2012-12-25 14:09:34 +08:00
Robert O'Callahan
90f9d2a33d Bug 663776. Part 3: Refactor layer transform snapping to distinguish translation-snapping from rect-snapping, and don't snap translation+scale transforms when we don't know all four edges of the rect that needs to be snapped. r=mattwoodrow
This separates SnapTransform into SnapTransformTranslation, which just snaps translations
and nothing else, and SnapTransform, which snaps translation+scale of rectangles.
2012-12-07 12:58:13 +13:00
Robert O'Callahan
66c066653a Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow 2012-12-07 12:58:13 +13:00
Anthony Jones
8ada9278ac Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones 2012-12-23 10:51:39 -05:00
Anthony Jones
f0fee81267 Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc 2012-12-23 10:50:30 -05:00
Anthony Jones
8afece0eef Bug 811950 - Fix async scrolling of position:fixed. r=cjones 2012-12-23 10:50:04 -05:00
Anthony Jones
8c175aefe5 Bug 811950 - Remove fixed position environment variable. r=roc 2012-12-23 10:47:16 -05:00
Ms2ger
5f321c6ded Bug 805939 followup: include Hal.h correctly. 2012-12-23 14:48:07 +01:00
David Zbarsky
38adc80db2 Fix initializer order warning, no bug 2012-12-22 23:54:23 -05:00
Neil Rashbrook
41d5c4cd99 Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Chiajung Hung
a3797d3442 Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Jonathan Kew
0c8a150c5c bug 765700 - part 1 - trigger PresContext to reflow when Mac font list is updated. r=jdaggett 2012-12-21 09:48:39 +00:00
Mark Hammond
e249240d97 Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE 2012-12-21 15:30:02 +11:00
Chiajung Hung
2708f65d81 Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Oleg Romashin
a233ad4a43 Bug 823066 - Provide API for CompositorParent to use custom AsyncPanZoomController. r=drs
--HG--
extra : rebase_source : b2bfaa468261d0a270719215c2bf89c361d0145e
2012-12-20 14:37:20 -08:00
Steven Michaud
1007db2ced Bug 821304 - Unbreak plugins that use subclasses of CALayer in CoreAnimation mode. r=bgirard 2012-12-20 15:14:20 -06:00
Jeff Muizelaar
ef84a35a51 Bug 823393. Breakage fix for partially commited Bug 823148.
Only some hunks of the patch for bug 823148 made it into the
tree. I've no idea why.

--HG--
extra : rebase_source : 629e6d74e2e6cf4255e7875a8a1eb044241eec23
2012-12-20 01:16:45 -05:00
Jeff Muizelaar
99b4d14555 Bug 823148. Make IsPatternSupportedByD2D match its name. r=bgirard
The name of this function got inverted but its implementation stayed the same.
2012-12-19 23:19:45 -05:00
Nicholas Nethercote
51f20b1833 Bug 820132 - Measure imgFrame::mOptSurface's size where possible, instead of calculating it. r=joedrew.
--HG--
extra : rebase_source : da7616356429242e924a09df1124b1dbab13ad60
2012-12-18 21:59:30 -08:00
Ed Morley
c46531d501 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-12-19 19:30:22 +00:00
Jonathan Kew
a03d1dc724 bug 821442 - eliminate the unreliable mFamily back-pointer in gfxFontEntry, and instead pass/track font family explicitly where needed. r=roc 2012-12-19 09:42:25 +00:00
Jeff Gilbert
b1595c1045 Bug 797664 - Don't spew wwhen optional functions aren't found - r=vlad 2012-12-18 23:16:02 -08:00
Jeff Gilbert
1c14ac4a01 Bug 797664 - Add runtime asserts so calling null functions is more obvious - r=bjacob 2012-12-18 23:16:01 -08:00
Jeff Gilbert
64d807747a Bug 797664 - Pull logic out of all GLContex::raw_ functions - r=vlad 2012-12-18 23:16:01 -08:00
Oleg Romashin
09597e2391 Bug 822115 - nglayout.debug.widget_update_flashing pref cache is not thread safe. r=mattwoodrow 2012-12-16 11:25:04 -08:00
Benoit Jacob
743c19d5f0 Bug 819248 - avoid adding null Layers into the output of SortLayersBy3DZOrder - r=mattwoodrow 2012-12-17 16:12:55 -05:00
Ed Morley
7fff174f46 Backout 9864a836aa35 (bug 820167) for crashes 2012-12-18 15:36:07 +00:00
Avi Halachmi
e8c8e34813 Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar,dao 2012-12-18 09:31:01 -05:00
Chris Jones
4be2c5bab6 Back out bug 814252. 2012-12-18 16:19:54 -08:00