Commit Graph

212760 Commits

Author SHA1 Message Date
Jonathan Watt
75e42e9882 Bug 1090494, part 2 - Convert the consumers of AppendRoundedRectToPath and MakePathForRoundedRect to use the new RectCornerRadii API. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
14006b732d Bug 1090494, part 1 - Add a RectCornerRadii struct to Moz2D's PathHelpers.h and add variants of AppendRoundedRectToPath and MakePathForRoundedRect that use it. r=mattwoodrow 2014-10-30 09:34:09 +00:00
Carsten "Tomcat" Book
270e0a4f40 Bug 1091471 - update Clobber for Bug 1091118 Android Build problems 2014-10-30 10:23:32 +01:00
Bobby Holley
3bea4bdef3 Bug 1090983 - Invoke UpdateReadyState() after invoking SetState(). r=cpearce
Otherwise, UpdateReadyState() will think that nothing has changed.
2014-10-30 09:16:02 +01:00
Carsten "Tomcat" Book
fba51e4e4e Backed out changeset 1aa71eb718f7 (bug 1090627) for b2g Reftest - 8 test failures 2014-10-30 08:43:28 +01:00
Mike Hommey
f95a929b11 Fixup for bug 1077148: SmokeDMD needs mozglue linkage. r=me 2014-10-30 16:33:30 +09:00
Mike Hommey
d3a4cfe712 Bug 1091118 part 2 - Do not use the top-level cache file for freetype2 subconfigure. r=gps
We modify the environment before running freetype2 configure. When it uses
the same cache file, it stores knowledge about that environment in the cache
file. The cache file is then reused to configure in js/src, with yet again a
different environment, which makes subconfigure.py clear the cache because
of the differences.

The configure in js/src is however invoked with the same environment as the
main configure was invoked with (mostly), so without freetype2 on the way,
reusing the cache for it works as expected. In fact, it works better with the
cache because of things coming from mozconfig that are not exported.

With freetype2 on the way, as mentioned above, the cache is cleared. Without
the cache, js/src/configure does new detections with a possibly different
environment, and stores that in the cache. Until the next build, which then
uses that different cache for the top-level configure.

This results in subtle differences in the HOST_CC/HOST_CXX variables on
android builds because those variables are not exported from mozconfig,
depending on PATH, what the builder was building before, and if the build
is a clobber.

Avoiding the freetype2 subconfigure writing its environment variables change
to the top-level cache makes the cache never invalidate for js/src.
2014-10-30 14:35:01 +09:00
Mike Hommey
ab867ee33f Bug 1091118 part 1 - Remove $topsrcdir/gcc/bin from PATH on android builds. r=gps
$topsrcdir/gcc/bin was mistakenly added in bug 971841, but is not provided by
anything the tooltool manifest for android builds pulls. It however is a path
that /may/ exist in the source tree when the slave ran a linux build before.
When it does exist, the meaning of non-path-prefixed commands change,
influencing what particular compiler is used in some cases.
2014-10-30 14:34:54 +09:00
Bill McCloskey
09e6e96202 Bug 1090627 - Disable some failing reftests for e10s (r=mattwoodrow) 2014-10-29 15:18:12 -07:00
Mike Hommey
fbfe20777d Add missing recurse.mk change from bug 1077148 part 1 after a bad merge. r=gps
--HG--
extra : amend_source : a6c285a79d2ca0b76a6896ae4478564de009c8b6
2014-10-30 13:51:01 +09:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
6bcd36f9cd Bug 1077148 part 3 - Do not link PrimitiveTest, SimpleTypeLib, TestAUSHelper, TestAUSReadStrings and screentopng against mozglue on Linux. r=gps
There is no reason these should be linked to mozglue on Linux only. This
makes the intent clearer for the related changes in part 4.
2014-10-30 13:06:04 +09:00
Mike Hommey
aa81b10659 Bug 1077148 part 2 - Remove hack to avoid sqlite being linked against mozglue on mac. r=gps
This hack has actually not been actively used since sqlite, nss and nspr are
all folded together, because no shared library is actually linked in
db/sqlite3/src.
2014-10-30 13:05:56 +09:00
Mike Hommey
2a17803c46 Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Nicholas Nethercote
03dcf6d764 Bug 1048044 - Use exponential growth when growing an nsTArray. r=froydnj.
--HG--
extra : rebase_source : 7587eb25686f5273b9b77a8b38c6cc40ce5fc25b
2014-10-29 20:34:33 -07:00
Steven Michaud
4df521a356 Bug 997908 - crash in ReleaseSliceNow(unsigned int, void*) accessing memory at 0x5a5a5a5a5a5a5a5a, test patch. r=nfroyd 2014-10-29 21:50:29 -05:00
Shu-yu Guo
1a323db19a Bug 1090764 - Fix typo in AbstractFramePtr::numFormalArgs. (r=efaust) 2014-10-29 19:41:43 -07:00
Shu-yu Guo
32b83400a8 Bug 1089761 - Fix initializing lexicals to throw on touch on CallObject. (r=jandem,Waldo) 2014-10-29 19:41:42 -07:00
Chris Pearce
0931dee714 Bug 1071482 - Add more logging to help debug rare intermittent failures. r=edwin 2014-10-30 15:05:49 +13:00
Chris Pearce
cbdd05a69e Bug 1071482 - Break a cycle in TrackBuffer and SourceBufferDecoder's MediaTaskQueue's SharedThreadPool. r=cajbir 2014-10-28 13:21:13 +13:00
Chris Pearce
e264dccc4f Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc 2014-10-28 13:21:12 +13:00
Chris Pearce
9557cedfdc Bug 1071482 - Rename test_encryptedMediaExtensions to test_eme_playback to make it easier to run all eme tests with a wildcard. r=edwin
--HG--
rename : dom/media/test/test_encryptedMediaExtensions.html => dom/media/test/test_eme_playback.html
2014-10-28 13:21:12 +13:00
Chris Pearce
fe485d4440 Bug 1071482 - Factor out EME load/setup code, so it can be reused in other tests more easily. r=edwin 2014-10-28 13:21:11 +13:00
Andrew Sutherland
546c79ec45 Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm
Most of the TCPSocket and TCPServerSocket coverage was implemented exclusively
in Chrome-privileged xpcshell tests.  This failed to provide coverage for the
key use case of content-privileged code using TCPSocket.

This cleans up the test implementation and migrates them to mochitests.
Coverage is improved as evidenced by two tested TCPServerSocket issues that were
addressed in this patch:
- ArrayBuffers weren't being created in the content page's context, so
  exceptions would be thrown when accessed.
- 'drain' notifications were not being hooked up.

The following fix that lacks coverage that notices the fix was implemented:
- TCPServerSocket now properly propagates the appId for network usage tracking.
2014-10-29 22:03:54 -04:00
Ralph Giles
5fefedf7d8 Bug 1091304 - Fix code style. k=kinetik
We like braces around conditional bodies, and in fact this tripped
me up editing the code.
2014-10-29 17:10:00 -07:00
Ralph Giles
4e7efa3c60 Bug 1091304 - Improve fmp4 logging. r=kinetik
The %#x format specifier for hex values doesn't work with our
logging macros, and MacOS error codes are generally listed
in decimal anyway.

Also log the reason for a Drain() call to assist debugging.
2014-10-29 17:09:00 -07:00
Jeff Gilbert
82da720bd7 Bug 1088345 - Misc cleanup. - r=kamidphish 2014-10-27 18:58:03 -07:00
Jeff Gilbert
162550395a Bug 1088345 - (ANGLE) Don't treat STENCIL_INDEX8 as INT for MSAA reasons. - r=kamidphish 2014-10-27 13:06:14 -07:00
Jeff Gilbert
24b08c006a Bug 1088345 - Handle AA better. - r=kamidphish 2014-10-25 18:32:46 -07:00
Jeff Gilbert
3759dd1aa3 Bug 1088345 - Remove now-passing tests from expected failures. - r=kamidphish 2014-10-25 18:32:24 -07:00
Jeff Gilbert
7c54b1d24b Bug 1088345 - Handle possibly-invalid enums for queries. - r=kamidphish 2014-10-23 18:55:49 -07:00
Jeff Gilbert
05815c441e Bug 1088345 - Don't run GL commands that may cause non-OOM errors. - r=kamidphish 2014-10-23 15:10:57 -07:00
Jeff Gilbert
c1a3729b1d Bug 1088345 - Improve glGetError handling. - r=kamidphish 2014-10-24 16:52:35 -07:00
Randell Jesup
7df9131295 Bug 1085356: Fix Mac audio output changes on older/different macs r=padenot
Remove any buffered audio from before an output switch is signaled, as well
as handling gaps in callbacks after a switch.
2014-10-29 10:47:28 -04:00
Randell Jesup
71eacbf205 Bug 1087605: don't try to set the priority of the CCApp thread (which doesn't exist) r=bwc 2014-10-29 01:36:18 -04:00
Mark Hammond
1cab463ddc Bug 1090733 - xpcshell tests fail if no terminal configured. r=chmanchester 2014-10-30 12:13:34 +11:00
Kartikaya Gupta
a04a1ecc82 Bug 1090931 - Update logcat-filtering regex in reftest analyzer. r=dbaron
The logcat format used by tbpl jobs in some (maybe all) cases now has a
timestamp and other decorations at the beginning of the line. The regex that
was previously added to filter out reftest failure lines duplicated in logcat
no longer matches the lines correctly; this makes the regex more generic so that
the filtering works again.
2014-10-29 21:09:10 -04:00
Bill McCloskey
1a6c4ecaad Backout bug 1090627 on a CLOSED TREE 2014-10-29 16:09:43 -07:00
Bas Schouten
62c763162c Bug 1085187: Properly deal with sampling restriction when using DataSourceSurfaces. r=jrmuizel 2014-10-29 23:40:38 +01:00
Bill McCloskey
57971be20d Bug 1090627 - Disable some failing reftests for e10s (r=mattwoodrow) 2014-10-29 15:18:12 -07:00
Vaibhav Agrawal
d2f97f609a Bug 1085729 - --start-at and --end-at options broken for mochitests (r=jmaher) 2014-10-29 15:18:10 -07:00
Wes Kocher
c7977113a2 Backed out changeset 3629ea724086 (bug 1089159) for android 2.3 build failures 2014-10-29 15:14:19 -07:00
James Graham
9dc09208aa Bug 1090198 - Disable unstable websockets test on Windows XP, a=test-only 2014-10-29 14:36:28 -07:00
James Graham
1f3ff3095f Bug 1090625 - Disable unstable focus-related test on Windows, a=test-only 2014-10-29 14:36:27 -07:00
James Graham
569dc68aeb Bug 1090628 - Disable unstable focus events test on Windows, a=test-only 2014-10-29 14:36:27 -07:00
Nicholas Nethercote
6420231010 Bug 1089446 - Remove xpcom/tools/analyze-xpcom-log.pl, which is ancient and unused. r=froydnj.
--HG--
extra : rebase_source : da65608c548dbbc4a336c75799ea713a5cdf01d3
2014-10-28 15:04:03 -07:00
Nicholas Nethercote
3909906dce Bug 1089446 - Remove config/make-atom-strings.pl, which is ancient and unused. r=bz.
--HG--
extra : rebase_source : 21d3b24b8768f0d2732a2f9b396cc43cb21b66e8
2014-10-28 15:04:03 -07:00
Nicholas Nethercote
47ca5387a0 Bug 1089446 - Improve the comments in both gen_template.pl scripts. r=bz.
--HG--
extra : rebase_source : 784e39e75086f602f1b4cae21087fd5efd1a8187
2014-10-28 15:04:03 -07:00
Nicholas Nethercote
bec0f45d96 Bug 1089446 - Reimplement build/unix/uniq.pl in Python, and remove its unit test. r=gps.
--HG--
extra : rebase_source : 5e7ebf7a59a5966b1af5c8a3165b53bb7bd42770
2014-10-28 15:04:03 -07:00
Nicholas Nethercote
3d9e2be7e1 Bug 1089446 - Remove gfx/tests/process-textruns.pl, which is ancient and unused. r=roc.
--HG--
extra : rebase_source : 81a688c2404ae3849e4e4ebd1fe934928fe38b2b
2014-10-28 15:04:03 -07:00