Commit Graph

171751 Commits

Author SHA1 Message Date
Henri Sivonen
ad843c93aa Bug 959150 part 5 - Avoid reallocating the attribute holder when parsing with nsHtml5StringParser. r=smaug. 2014-03-05 21:38:50 +02:00
Henri Sivonen
3537509c13 Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug. 2014-03-05 21:38:50 +02:00
Henri Sivonen
c8cfbf7ab3 Bug 959150 part 3 - Move the parts of nsHtml5TreeOpExecutor that the static methods in nsHtml5TreeOperation need to access into a new superclass. r=smaug. 2014-03-05 21:38:49 +02:00
Henri Sivonen
af339b6323 Bug 959150 part 2 - Split reusable operations out of nsHtml5TreeOperation::Perform into static methods. r=smaug. 2014-03-05 21:38:49 +02:00
Henri Sivonen
ad87cad09c Bug 959150 part 1 - Represent nodes as void* in the portable part of the parser. r=smaug. 2014-03-05 21:38:49 +02:00
Brian Hackett
3af8ba324a Bug 695438 - Allow all integers in StringIsTypedArrayIndex, r=luke. 2014-03-05 12:32:53 -07:00
Gregory Szorc
5ab6772712 Bug 976863 - Prevent tests from using CrashTestUtils.CRASH_ABORT on Windows; r=bsmedberg
--HG--
extra : rebase_source : 4f121bbe6b9ca87b2f4d6e2cbad4bb7a2ecb509a
2014-02-25 16:46:41 -08:00
Andreas Gal
cd70980d39 Bug 975772 - Cleanup RectTriangles and allow DrawQuads to take triangles or triangle strips. r=bjacob 2014-03-05 14:18:38 -05:00
John Daggett
0d07a5d164 Bug 969388 - Null-check the bundle ID to avoid 10.9 crash in CTFontManagerSetAutoActivationSetting. r=smichaud 2014-03-05 14:18:38 -05:00
Byron Campen [:bwc]
88008dfd1d Bug 958221 - Part 3: New webidl for WebrtcGlobalInformation, c++ impl, and removing logging-related stuff from PeerConnectionImpl. r=jib 2014-02-20 09:35:35 -08:00
Byron Campen [:bwc]
6322dddd87 Bug 958221 - Part 2: Simplify the statistics accessors, and rename things to better describe what they do. r=jib 2014-02-20 09:33:55 -08:00
Byron Campen [:bwc]
0044ef7d1c Bug 958221 - Part 1: Move (but not alter) some code as step one in refactoring the GetStats functionality so it can be used by other classes. r=jib 2014-01-24 14:48:15 -08:00
Jan Jongboom
b403635057 Bug 948065 - Mochitest for nsIClipboard. r=ehsan 2014-03-05 14:18:37 -05:00
Simon Montagu
e092089b27 Add U+2029 PARAGRAPH SEPARATOR and other characters with bidi type Segment Separator and Paragraph Separator to the characters we convert to whitespace before passing text to the Bidi engine. Bug 847242, r=roc 2014-03-05 21:04:36 +02:00
Simon Montagu
ca771c8c4b Use the new ReplaceChars with char16_t array. Bug 979556, r=bsmedberg 2014-03-05 21:04:36 +02:00
Simon Montagu
4f04d50a82 Add ReplaceChars with a char16_t array. Bug 979556, r=bsmedberg 2014-03-05 21:04:36 +02:00
Jonathan Kew
01a251c647 bug 974575 - support color glyphs in cairo_image_surface's _composite_glyphs function. r=jrmuizel 2014-03-05 18:33:21 +00:00
Jonathan Kew
a5e02f93fb bug 974575 - correction for bad commit (a0f556f37fb7016aa304b7cf0e811c0d38f0b969) ported from upstream. r=jrmuizel 2014-03-05 18:33:21 +00:00
Jonathan Kew
c9980ab3e1 bug 974575 - backport Behdad's patches for color bitmap glyph support from current cairo trunk. r=jrmuizel
* * *
[ft] Fix resizing of bitmap fonts
From b94a519aad3d5b50aa6de47ee16ee6a099de9791 Mon Sep 17 00:00:00 2001
Say, you were asking cairo for a font at 200px.  For bitmap-only fonts,
cairo was finding the closes strike size and using it.  If the strike
was at 20px, well, that's what you were getting.  We now scale that 20px
strike by a factor of 10 to get the correct size rendering.

Note that by itself this patch doesn't change much on the Linux desktop.
The reason is that the size you are interested in (eg. 200px) is lost by
fontconfig.  When you request a font at 200px, fontconfig returns a font
pattern that says 20px, and so the next layers thing you want a font at
20px.  To address that, one also needs a piece of fontconfig config that
puts the 200 back into the pixelsize.  Something like this:

<match target="font">
  <test name="scalable" mode="eq">
    <bool>false</bool>
  </test>
  <edit name="pixelsize" mode="assign">
    <times>
      <name>size</name>
      <name>dpi</name>
      <double>0.0138888888888</double> <!--1/72.-->
    </times>
  </edit>
</match>

I'm going to try to upstream this config so it will be enabled by
default.  The config can be a bit smarter.  For example, if
metricshinting is enabled and the size difference is small, we may as
well not scale.

The nice thing about this is that the configuration of whether and when
to scale bitmaps will be done in fontconfig, not cairo / Qt / ... code.
---
* * *
[FT] Prefer downscaling bitmap glyphs to upscaling

From a8f1b456db744e33a10b2301df03528787e5b1ca Mon Sep 17 00:00:00 2001
Say, you have bitmap strikes for sizes 50ppem and 100ppem.
To render at 60ppem, it's much better to downscale the 100ppem
bitmap than upscale 50ppem one.  Prefer downscaling.
---
* * *
[ft] I meant fabs(), not abs()

From 13bd8d09b44e50649f6fc4d58d036bc32c1d5c5b Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix memory bug in copying bitmaps

From a0f556f37fb7016aa304b7cf0e811c0d38f0b969 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix wrong assumptions

From e738079302a968b7b1fb9101cd4d92a8887bedce Mon Sep 17 00:00:00 2001
If subpixel rendering is enabled, but FT returns a 8bit gray bitmap
(perhaps because the font has 8bit embedded bitmaps) we were hitting
the assertions because the assumptions made were wrong.  Fix up.
---
* * *
Towards support loading color glyphs from FreeType

From 2cc353c3dbe01b4d8f65d6de800f2b1d6004a1c2 Mon Sep 17 00:00:00 2001
See comments.
---
* * *
Support 2bit and 4bit embedded bitmaps

From 9444ef09ccde2735258cc1bd2f1912119a32dd88 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix math

From 7d26341072b13a78d4b3fe58779057ac020be487 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Add missing include

From 0554d76402321b25cc952180e4d19436a9038d1a Mon Sep 17 00:00:00 2001
---
* * *
[ft] Fix alignment

From 34a747e7bdeba1cfe17318f80fbe6720d47bc023 Mon Sep 17 00:00:00 2001
---
* * *
[ft] Ensure alignment of bitmaps received from FreeType

From 46d9db96d460fea72f0420102e8a90c6a7231f79 Mon Sep 17 00:00:00 2001
---
2014-03-05 18:33:21 +00:00
Markus Stange
fca36dec2a Bug 960178 - Fix lighting filter PowCache. r=Bas 2014-03-05 18:41:38 +01:00
Markus Stange
4a432349df Bug 963086 - Detect filter rect XMost()/YMost() overflow and protect against out-of-range data acess. f=dholbert, r=Bas 2014-03-05 18:41:19 +01:00
Ed Morley
c342ecebeb Backed out changeset f514ab5c4b5b (bug 923016) for B2G xpcshell crashes; CLOSED TREE 2014-03-05 17:25:27 +00:00
Ed Morley
0c897a146f Backed out changeset d8543551f12e (bug 913808) 2014-03-05 17:25:04 +00:00
Ed Morley
b1bc16a48b Backed out changeset a43ae8497706 (bug 968101) 2014-03-05 17:25:01 +00:00
Ed Morley
cabdf9fb49 Backed out changeset 234c0b4ec7c9 (bug 922081) 2014-03-05 17:24:58 +00:00
Ed Morley
bf4bf677f4 Backed out changeset 240333c3d2c1 (bug 964039) 2014-03-05 17:24:55 +00:00
Ed Morley
da21ca5267 Backed out changeset 18d79e1e15f9 (bug 958317) 2014-03-05 17:24:52 +00:00
Ed Morley
34824fa60a Backed out changeset 2275f8be60c9 (bug 975255) 2014-03-05 17:24:49 +00:00
Michal Novotny
d00154d96e Bug 976922 - heap-use-after-free mozilla::net::CacheEntry::GetMetaDataElement in NS_strdup, r=honzab 2014-03-05 18:14:19 +01:00
Ed Morley
019fe21d03 Backed out changeset fe2afc55a0d1 (bug 950368) for shutdown crashes on B2G 2014-03-05 17:10:38 +00:00
Ulrich Weigand
fac41ba4a1 Bug 976648 - mfbt endian config for powerpc64le-linux support. r=froydnj 2014-02-28 09:57:24 -05:00
Ulrich Weigand
5d45690169 Bug 976648 - WebRTC endian config for powerpc64le-linux support. r=jesup 2014-02-28 09:57:03 -05:00
Ulrich Weigand
7cbf837d2a Bug 976648 - xptcall port for powerpc64le-linux support. r=froydnj
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
2014-02-28 09:56:43 -05:00
Ulrich Weigand
8c6faf9edb Bug 976648 - Backport of libffi powerpc64le-linux support. r=bsmedberg 2014-02-28 09:56:19 -05:00
Ulrich Weigand
25dd9f368b Bug 976648 - JavaScript build/config for powerpc64le-linux support. r=bsmedberg 2014-02-28 09:55:48 -05:00
Ulrich Weigand
1e42c83749 Bug 976648 - Toplevel build/config for powerpc64le-linux support. r=bsmedberg, r=blassey 2014-03-05 12:04:44 -05:00
Bobby Holley
cb7d95a386 Bug 960820 - Ignore contexts and saved frame chains for exception stack, and rely on the principal check. r=luke,mrbkap sr=bz
It would be nice to update the JS shell tests to make sure the principal check
works, but we can't do that without bug 969273. So we add an XPConnect test that
verifies the filtering behavior.
2014-03-05 08:18:06 -08:00
Martyn Haigh
e9180388f8 Bug 970208 - Only print debug messages when in debug mode; r=wesj 2014-03-05 08:13:22 -08:00
Martyn Haigh
1890a5332f Bug 970209 - Surround update logic in about:apps with synth apk specific wrapper; r=wesj 2014-03-05 08:13:00 -08:00
Jonathan Watt
3265c1e87b Bug 950368 - Make nsWindowsShellService's WriteBitmap act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-03-04 16:56:44 +00:00
Joel Maher
7cb356401d Bug 979454 - manifest parser needs to support skip-if in the [default] section and || that with the skip-if from the [test] section. r=ted 2014-03-05 10:32:03 -05:00
Joel Maher
9b5829fcde Bug 971025 - move testing/mochitest/test/test_* to testing/mochitest/test/Harness_sanity. r=ted
--HG--
rename : testing/mochitest/tests/SpecialPowersLoadChromeScript.js => testing/mochitest/tests/Harness_sanity/SpecialPowersLoadChromeScript.js
rename : testing/mochitest/tests/file_SpecialPowersFrame1.html => testing/mochitest/tests/Harness_sanity/file_SpecialPowersFrame1.html
rename : testing/mochitest/tests/test_SimpleTestGetTestFileURL.html => testing/mochitest/tests/Harness_sanity/test_SimpleTestGetTestFileURL.html
rename : testing/mochitest/tests/test_SpecialPowersExtension.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension.html
rename : testing/mochitest/tests/test_SpecialPowersExtension2.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html
rename : testing/mochitest/tests/test_SpecialPowersLoadChromeScript.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript.html
rename : testing/mochitest/tests/test_SpecialPowersPushPermissions.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPermissions.html
rename : testing/mochitest/tests/test_SpecialPowersPushPrefEnv.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPrefEnv.html
rename : testing/mochitest/tests/test_bug362788.xhtml => testing/mochitest/tests/Harness_sanity/test_bug362788.xhtml
rename : testing/mochitest/tests/test_bug816847.html => testing/mochitest/tests/Harness_sanity/test_bug816847.html
rename : testing/mochitest/tests/test_sanity.html => testing/mochitest/tests/Harness_sanity/test_sanity.html
rename : testing/mochitest/tests/test_sanityEventUtils.html => testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html
rename : testing/mochitest/tests/test_sanityException.html => testing/mochitest/tests/Harness_sanity/test_sanityException.html
rename : testing/mochitest/tests/test_sanityException2.html => testing/mochitest/tests/Harness_sanity/test_sanityException2.html
rename : testing/mochitest/tests/test_sanitySimpletest.html => testing/mochitest/tests/Harness_sanity/test_sanitySimpletest.html
rename : testing/mochitest/tests/test_sanityWindowSnapshot.html => testing/mochitest/tests/Harness_sanity/test_sanityWindowSnapshot.html
rename : testing/mochitest/tests/test_sanity_cleanup.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup.html
rename : testing/mochitest/tests/test_sanity_cleanup2.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup2.html
2014-03-05 10:32:02 -05:00
Ryan VanderMeulen
760e2a311f Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
Andrew Halberstadt
64a6cbd5d6 Bug 969146 - Pass MOZ_CRASHREPORTER_SHUTDOWN into b2g process, r=mdas 2014-03-05 09:08:54 -05:00
Honza Bambas
dc08ca7458 Bug 975255 - HTTP cache v2: optimize CacheIOThread::Target(), r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
234ec2acc3 Bug 958317 - HTTP cache v2: allow yield to more priority levels in IOThread, r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
ee26aea707 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Honza Bambas
aa126ec60f Bug 922081 - respect browser.cache.disk.parent_directory preference in the new cache, r=michal 2014-02-27 00:11:38 +01:00
Michal Novotny
5a7dc723e7 Bug 968101 - Remove directories with low priority on background, r=honzab 2014-02-19 13:04:06 +01:00
Michal Novotny
7598469342 Bug 913808 - Evict entries from the disk cache when cache limit is reached, r=honzab 2014-02-18 18:26:48 +01:00