Jeff Walden
a3eb8d6dbc
Bug 894181 - Convert a bunch of SHAPE_* macros to inline functions to eliminate warnings, enhance debuggability. r=terrence
...
--HG--
extra : rebase_source : 2b8a5ba43a3303470b99788b7637488c38050764
2013-07-16 08:14:57 -07:00
Jeff Walden
23e86d44d0
Bug 894172 - Eliminate DO_NEXT_OP(len) in favor of an unadorned goto the label in question. This eliminates tautological |len == len| compares that clang+ccache warns about, and it eliminates the previous apparent possibility that any value could be passed to DO_NEXT_OP, when in fact only |len| (or a value equal to it) could be passed. r=terrence
...
--HG--
extra : rebase_source : 0e1561a7bcabc6811fea6b167251046c2871224d
2013-07-16 08:14:57 -07:00
Ryan VanderMeulen
7400a62dd5
Bug 877690 - Fix typo in test. DONTBUILD
2013-07-16 13:52:01 -04:00
Mihai Sucan
c7f7461721
Bug 888407 - Fix for intermittent browser_console_iframe_messages.js | Test timed out, failed to match rule: iframe 1; r=me
2013-07-16 19:21:33 +03:00
Boris Zbarsky
669388cd6b
Bug 894463. Go back to deoptimizing vanilla objects and arrays more eagerly to unregress ss-tagcloud. r=bhackett
2013-07-16 13:42:03 -04:00
Antonio M. Amaya
6cbd1cbdd4
Bug 892708 - Add a pluggable decision module to determine if a message can be safely sent before notifying the frontend. r=fabrice, r=gene.lian
2013-07-16 17:09:58 +02:00
Gaia Pushbot
6dee1469e0
Bumping gaia.json for 2 gaia-central revision(s)
...
========
https://hg.mozilla.org/integration/gaia-central/rev/c69a991859de
Author: Sergi Mansilla <sergi.mansilla@gmail.com>
Desc: Merge pull request #10975 from crdlc/bug-893719
Bug 893719 - [SD card] Vcard parser should deal with the case: number of contacts is zero
========
https://hg.mozilla.org/integration/gaia-central/rev/8ff7a38e351a
Author: crdlc <crdlc@tid.es>
Desc: Bug 893719 - [SD card] Vcard parser should deal with the case: number of contacts is zero
2013-07-17 06:55:27 -07:00
Thomas Zimmermann
7d06ad2847
Bug 868896: Use REQUEST_GET_UNLOCK_RETRY_COUNT on emulator, r=vyang
...
With this patch, Gecko sends REQUEST_GET_UNLOCK_RETRY_COUNT to rild
when the retry counter for a lock is being queried on the emulator.
On devices other than the emulator the function returns the error code
REQUEST_NOT_SUPPORTED, which is precisely the behavior we currently
implement.
2013-07-17 15:19:36 +02:00
Marco Chen
df04ea4684
Bug 889730 - Switch states of Headphone are not only On/Off but Headset/Headphone. r=baku
2013-07-17 14:21:00 +08:00
Randy Lin
54595a2f9d
Bug 860584 - [Buri][ACC] Speaker sound when plug out earphone. r=mchen
2013-07-17 13:08:11 +08:00
Eitan Isaacson
a661aa3612
Bug 894601 - Fix regression in context menu activation in Android.
...
Bug 894601 - Fix regression in context menu activation in Android. r=maxli
2013-07-16 13:49:00 +02:00
Carsten "Tomcat" Book
8b33a5f903
Backed out changeset 5939320824b1 (bug 894242) "CLOSED TREE"
2013-07-17 10:36:12 +02:00
Mike Hommey
ee38231acc
Bug 894242 - Make C++0x/C++11 mode of gcc/clang mandatory. r=ted
2013-07-17 16:19:25 +09:00
Mike Hommey
06f13c6bd6
Backout changeset cd67ffb5ca47 (bug 883381), effectively restoring bug 877937
2013-07-17 16:18:46 +09:00
Mike Hommey
19a4ba5c90
Bug 894240 - Fix pointer dereference in js::cli::OptionParser::extractValue. r=Waldo
2013-07-17 16:16:55 +09:00
Wes Kocher
da8562250d
Backout 1372b813d76f (bug 891695) for suspicion of causing bustage on a CLOSED TREE
...
--HG--
extra : amend_source : 9e9d1d7792df7060a2d61d5e8721b67602e14451
2013-07-16 20:47:17 -07:00
Bobby Holley
10141c7476
Bug 889714 - Remove ContextCallback junk. r=mrbkap
...
There's no reason we should be doing this.
2013-07-16 20:38:46 -07:00
Bobby Holley
cce73473fa
Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap
2013-07-16 20:38:46 -07:00
Bobby Holley
e00ad1e17a
Bug 889714 - Use SystemErrorReporter instead of ScriptErrorReporter. r=mrbkap
...
SystemErrorReporter is the new unified error reporter for everything non-dom.
In particular, it's used by the SafeJSContext, which we'll be switching to
here shortly.
2013-07-16 20:38:46 -07:00
Bobby Holley
9bc9976c78
Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap
2013-07-16 20:38:46 -07:00
Bobby Holley
5b7d51783b
Bug 889714 - Stash the XPCShellEnvironment instance on the global, rather than the cx. r=mrbkap
...
We need to stash it somewhere, because the shell-provided JSNatives need to
access it. This solution only works for script running in the scope of the
global we create. Butthat's fine here, because we only use it for load() and
quit(), which only exist in the scope of that global.
2013-07-16 20:38:45 -07:00
Bobby Holley
83d40fbac1
Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap
2013-07-16 20:38:45 -07:00
Bobby Holley
848172cd58
Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
...
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 20:38:45 -07:00
Bobby Holley
4e2f2699cb
Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
...
lol @ 'ShouldCompoleOnly'.
2013-07-16 20:38:45 -07:00
Bobby Holley
eb2e873e6c
Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
...
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.
First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.
So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.
Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.
Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 20:38:44 -07:00
Bobby Holley
b0aff6e915
Bug 889911 - Fix tests that unconditionally throw for things reported to the console. r=mrbkap
...
When we start sending everything reported to the JSErrorReporter to the console,
these tests end up getting confused by warnings.
2013-07-16 20:38:44 -07:00
Bobby Holley
8676271e71
Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap
2013-07-16 20:38:44 -07:00
Bobby Holley
55116a74ad
Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap
2013-07-16 20:38:44 -07:00
Robert Strong
bab24a9a57
Test followup fix for Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=me
2013-07-16 19:25:36 -07:00
Robert Strong
dc9e6f34e1
Part 2. add run-sequentially to xpcshell ini files for tests that can't run in parallel yet - Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=mihneadb
2013-07-16 19:19:25 -07:00
Robert Strong
3fd3de316f
Part 1. use custom XREExeF and UpdRootD - Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=bbondy
2013-07-16 19:19:03 -07:00
Robert Strong
45938dc1bd
Simplify xpcshell ini files - Bug 894115 - xpcshell ini file confusion. r=bbondy
2013-07-16 19:18:44 -07:00
Masayuki Nakano
659bbecf94
Bug 893973 Check if the keydown event received view actually has focus and separate the MOZ_CRASH() for each case r=smichaud
2013-07-17 11:08:44 +09:00
Benoit Girard
41b1df67ba
Bug 838803 - Remove HAVE_STDCALL to work around clang bug. r=glandium
...
--HG--
extra : rebase_source : e1cdb524a4f7f0742f2051e5915e5e21db4c0423
2013-07-16 22:01:50 -04:00
Chris Double
5cba203758
Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce
2013-07-17 13:54:52 +12:00
Chris Kitching
49bc5235e8
Bug 892094 - Create "Search" page in settings. r=liuche
...
--HG--
rename : mobile/android/base/resources/xml/preferences_customize.xml => mobile/android/base/resources/xml-v11/preferences_customize.xml
rename : mobile/android/base/resources/xml/preferences_customize.xml => mobile/android/base/resources/xml/preferences_customize.xml.in
2013-07-16 18:44:42 -07:00
Wes Kocher
544b3a179f
Backout 399362c3e135 (bug 894669) for bustage
2013-07-16 18:41:52 -07:00
Wes Kocher
d9d143a3d4
Merge m-c to inbound
2013-07-16 18:22:58 -07:00
Ryan VanderMeulen
e168631670
Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
...
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Jonathan Wilde
42028524af
Bug 867543 - Part 3 - Dynamically update and pluralize the labels with all of the correct nouns attached. r=mbrubeck
...
--HG--
extra : rebase_source : b83293bfc40a12983a44e04295380d127c8b7227
2013-07-16 13:38:28 -07:00
Jonathan Wilde
42ab44c4e2
Bug 867543 - Part 2 - Add static labels. r=mbrubeck
...
--HG--
extra : rebase_source : bc7b5b58ecc667982160e325b99a45eb2cd9fd2a
2013-07-16 13:38:05 -07:00
Jonathan Wilde
5352fd1ba0
Bug 867543 - Part 1 - Generalize appbar css, make sprites more robust, move into platform. r=mbrubeck
...
--HG--
extra : rebase_source : d12d41611423782497c03ceb05bd8b40afd1b921
2013-07-16 13:32:36 -07:00
Bobby Holley
7de9f3a1b5
Bug 889714 - Remove ContextCallback junk. r=mrbkap
...
There's no reason we should be doing this.
2013-07-16 18:04:51 -07:00
Bobby Holley
6301d9bc80
Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap
2013-07-16 18:04:50 -07:00
Bobby Holley
3221a3c2d6
Bug 889714 - Use SystemErrorReporter instead of ScriptErrorReporter. r=mrbkap
...
SystemErrorReporter is the new unified error reporter for everything non-dom.
In particular, it's used by the SafeJSContext, which we'll be switching to
here shortly.
2013-07-16 18:04:50 -07:00
Bobby Holley
e09e671849
Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap
2013-07-16 18:04:50 -07:00
Bobby Holley
86985c5de0
Bug 889714 - Stash the XPCShellEnvironment instance on the global, rather than the cx. r=mrbkap
...
We need to stash it somewhere, because the shell-provided JSNatives need to
access it. This solution only works for script running in the scope of the
global we create. Butthat's fine here, because we only use it for load() and
quit(), which only exist in the scope of that global.
2013-07-16 18:04:50 -07:00
Bobby Holley
67a185a843
Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap
2013-07-16 18:04:49 -07:00
Bobby Holley
ea14aa6016
Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
...
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 18:04:49 -07:00
Bobby Holley
33c7a75dda
Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
...
lol @ 'ShouldCompoleOnly'.
2013-07-16 18:04:49 -07:00