Commit Graph

110917 Commits

Author SHA1 Message Date
Adrian Johnson ext:(%2C%20Andrea%20Canciani%20%3Cranma42%40gmail.com%3E)
e273d9a236 Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream. r=jrmuizel
======

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

======

From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
From: Andrea Canciani <ranma42@gmail.com>
Date: Wed, 15 Jun 2011 09:37:36 +0000
Subject: win32-font: Improve static data reset function

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

======

--HG--
extra : rebase_source : 73172c901f80e2f6e9f52035e1d6eab2a220642f
2012-10-23 12:43:29 +13:00
Robert O'Callahan
0c634d7c05 Bug 717178. Part 1: Don't crash when passing a nil scaled-font to _name_tables_match. r=jfkthame
--HG--
extra : rebase_source : ba6ada662a871fbf3bdd2ee3b2a8f031fd213e4b
2012-10-23 12:37:28 +13:00
Carmen Jimenez Cabezas
206612e73e Bug 773891 - With AppsService changes 2012-10-19 12:43:17 +02:00
Jonas Sicking
17c983bcea Bug 786009: Give about:feeds pages the rigth principal so that they work even when the user has disabled JS. r=bz 2012-10-22 18:05:46 -07:00
Bas Schouten
0180262fe6 Bug 758531: DWrite fonts create mScaledFont on demand. This causes GetCairoScaledFont to return NULL. This subsequently caused the surface to go into an error status which caused the CreateSimilar call to fail for that surface. This patch properly uses the call which will create the cairo_scaled_font_t if it's not there yet. r=jrmuizel 2012-10-23 02:26:27 +02:00
Wes Johnston
0ea9f24e98 Bug 789888 - Catch errors thrown using document objects that have been destroyed. r=mfinkle 2012-10-22 16:20:01 -07:00
Till Schneidereit
87971d75c6 Bug 784400 - adapt GlobalObject::hasIntrinsicFunction to changes in self-hosting initialization. r=luke
--HG--
extra : rebase_source : 6afbfcc0264e44bf7a740635e47ee1ea6ce23655
2012-10-21 20:48:06 -07:00
Bas Schouten
9e0b0b117d Bug 803949: Do not draw anything for zero size images. r=roc 2012-10-23 00:37:08 +02:00
Mark Finkle
e363fce1f4 Bug 801630 - random cleanup in exception.js r=bnicholson 2012-10-22 18:10:17 -04:00
Mark Finkle
b53efa1cc6 Bug 801630 - exception.js makes use of the global Private Browsing service to make decisions r=ehsan 2012-10-22 18:10:16 -04:00
Benoit Jacob
3d2c0713dc Bug 795186 - Declare refptrs between WebGL objects to the CC even if there is no cycle at C++ level - r=opettay 2012-10-22 17:17:42 -04:00
Ehsan Akhgari
283f767815 Merge mozilla-central into mozilla-inbound 2012-10-22 17:05:46 -04:00
Ehsan Akhgari
e801a412d2 Bug 802806 followup - fix the comment 2012-10-22 17:05:07 -04:00
Ehsan Akhgari
fb83dd24c3 Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression 2012-10-22 16:44:09 -04:00
Richard Newman
71707b3cd4 Merge m-c to s-c. 2012-10-22 12:37:31 -07:00
Rob Wood
2ef541d69c Bug 803861 - Tests should wait for 'onalerting' event when making outgoing calls; r=jgriffin, DONTBUILD(NPOTB) 2012-10-20 17:33:42 -04:00
Olli Pettay
e919ea63a6 Bug 798677, make sure events are fully handled in editor, r=ehsan 2012-10-21 15:35:47 +03:00
Olli Pettay
26c63deaa6 Bug 793848, faster svg:use check, r=bz 2012-10-21 15:33:38 +03:00
Ms2ger
3accfeaf06 Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz 2012-10-21 09:38:41 +02:00
Ms2ger
198e457ea6 Bug 796903 - Part a: Move DOMImplementation to its own file and move it to Paris bindings; r=bz 2012-10-21 09:38:41 +02:00
Ms2ger
b04ad5d4ed Bug 803586 - Infinite recursion in nsXMLStylesheetPI::SetNodeValueInternal; r=bz 2012-10-21 09:38:41 +02:00
Ms2ger
b44db1c477 Bug 801486 - Skip script elements in HTMLOptionElement.prototype.text; r=bz 2012-10-21 09:38:40 +02:00
John Schoenick
aa605cc8fc Bug 802355 - Handle failures in OnStartRequest when spawning plugins. r=josh 2012-10-20 20:48:20 -07:00
Ryan VanderMeulen
f082147c95 Merge m-c to inbound. 2012-10-20 18:02:38 -04:00
Ryan VanderMeulen
9824047cfb Merge fx-team to m-c. 2012-10-20 17:15:57 -04:00
Timothy Nikkel
51595d3e62 Bug 802456. Make all popup type windows on Windows have the composited style to work around a bug in Windows. r=jimm 2012-10-20 16:05:14 -05:00
Olli Pettay
35f1ebaa50 Bug 802829 - Don't add nsXPCWrappedJS objects to CC graph if they only point to a certainly alive object, r=mccr8 2012-10-20 22:53:25 +03:00
Olli Pettay
efe22ceaf9 Bug 802985, PreDestroy editor, r=ehsan 2012-10-20 21:48:34 +03:00
Andrew McCreight
55bf9580c2 Bug 801957 - use isFull for gcFinalizeCallback. r=billm 2012-10-20 11:26:28 -07:00
Wan-Teh Chang
585482e37b Bug 795987: Upgrade NSPR to NSPR_4_9_3_BETA2. Includes patches for
bug 749849 and bug 767759.
2012-10-20 10:28:37 -07:00
Wes Johnston
565ca9beff Bug 744961 - Follow up to put baack accidently removed code. r=lucasr 2012-10-20 09:09:45 -07:00
Phil Ringnalda
086ee1e0bd Merge mozilla-central to fx-team 2012-10-19 22:13:58 -07:00
Ryan VanderMeulen
98abcd945f Merge the last PGO-green inbound changeset to m-c. 2012-10-19 21:43:03 -04:00
Trevor Saunders
dc9b1921da bug 770564 - speed up HyperTextAccessible::GetSpellTextAttribute() r=surkov 2012-10-19 20:56:58 -04:00
Justin Lebar
bff74aa53a Bug 803692 - Make SHA1Sum::update() take a void* instead of a uint8_t*. r=waldo 2012-10-22 16:32:34 -04:00
David Keeler
825d26ac23 bug 627234 - test that hsts data isn't deleted in private browsing when includeSubdomains is false r=bsmith 2012-10-22 10:38:50 -07:00
David Burns
620a396303 Bug 804289: bumped Marionette client version; r=jgriffin 2012-10-22 20:40:07 +01:00
Brian Nicholson
0820a6934b Bug 799977 - Don't set parentId in loadUrlInTab() if no tabs exist. r=mfinkle 2012-10-22 12:42:14 -07:00
Justin Lebar
ed7f6604e2 Bug 800166 - Fire a low-memory notification when a B2G process is backgrounded. r=gwagner,bent 2012-10-22 15:40:19 -04:00
Josh Matthews
70206b30d9 Bug 802485 - Quiet intermittent assertion for further investigation. r=orange 2012-10-22 15:40:05 -04:00
Brian Nicholson
67b475d79e Bug 803293 - Remove some old code from BrowserApp. r=mfinkle 2012-10-22 12:37:50 -07:00
Gregory Szorc
5261e0ae4a Bug 800614 - Require Python 2.6 to build the tree; r=ted 2012-10-22 12:24:40 -07:00
Chris Lord
92a8e8eb5b Bug 803013 - Maintain coherency when progressively updating visible areas. r=bgirard
When rendering progressively, make sure that any previously visible area that
is still visible is updated at the same time. This helps maintain visual
coherency on pages that invalidate previously visible areas while scrolling,
and when losing layers between updates.

This supersedes the previous method of only doing progressive updates while
scrolling.
2012-10-22 20:18:14 +01:00
Boris Zbarsky
9af1986044 Bug 798187 even more followup. Disable broken WebGL test, and update to Peter's review comments. r=peterv 2012-10-22 15:14:30 -04:00
Gregory Szorc
401f8b4aa7 Bug 802210 - Part 3: Unset PYTHONDONTWRITEBYECODE when creating virtualenv; r=ted 2012-10-22 11:51:08 -07:00
Boris Zbarsky
8027643a0f Bug 798187 followup. Actually return our newly-created object from dictionary ToObject. r=peterv 2012-10-22 14:35:08 -04:00
Jonathan Griffin
1933ea3e03 Bug 803745 - Package b2g.json in tests.zip, r=jmaher 2012-10-19 17:19:22 -07:00
Phil Ringnalda
85edab9556 Back out 0498e3bb74bd:9011919fcf00 (bug 799818) for build bustage
on a CLOSED TREE
2012-10-19 14:55:53 -07:00
Nicolas B. Pierron
8d06dfced3 Bug 799818 part 3 - Guard for strings when inlining known constants. r=jandem 2012-10-19 14:32:36 -07:00
Nicolas B. Pierron
45f634660f Bug 799818 part 2 - Handle unknown double as input of a table switch. r=djvj,h4writer 2012-10-19 14:32:22 -07:00