Commit Graph

257562 Commits

Author SHA1 Message Date
Sotaro Ikeda
caffe42db7 Bug 1192352 - Fix fence handling of display mirroring r=nical 2015-08-13 06:52:49 -07:00
Patrick McManus
7dbcbcfb17 bug 1193541 - Revert Bug 1191253 - Start the Link Monitor r=backout 2015-08-12 15:57:59 -04:00
Jan de Mooij
651cfb9dea Bug 1173100 - Cleanup OneUcs4ToUtf8Char a bit. r=Waldo 2015-08-13 15:44:49 +02:00
Jan de Mooij
9fd2777f03 Bug 1194148 - Self-host Array.prototype.toString. r=till 2015-08-13 15:44:47 +02:00
Armen Zambrano Gasparnian
8e8f7611fe Bug 1192309 - Allow Firefox UI tests to run on testers. DONTBUILD. r=bhearsum
* We move the generic platform specific config files under releng_infra_configs/ and remove
  the word 'generic' from their file name
* Added --limit-locales to firefox_ui_updates.py and moved the dry_run break
* We improved flake8 score on firefox_ui_updates.py
* Small fix for vcstools.py
2015-08-13 09:42:52 -04:00
Mike Conley
6ca832b8e4 Bug 1106321 - Serialize DEVMODE down to the content process when printing on Windows. r=jimm 2015-08-06 17:36:54 -04:00
James Graham
187200ae65 Bug 1193033 - Update web-platform-tests expected data for Windows 10, a=testonly 2015-08-13 14:01:35 +01:00
James Graham
9c8ddb8043 Bug 1193033 - Teach mozinfo to get the real os version number for Windows >= 8.1, r=ted
For contemporary versions of Windows the sys.getwindowsversion call is unreliable
because it depends on a API which had its return value frozen. If we detect this
case use an alternate API instead
2015-08-13 14:01:15 +01:00
Alexander Surkov
dc33966d53 Bug 1193786 - crash in mozilla::dom::Element::FindAttrValueIn, r=marcoz 2015-08-13 08:43:26 -04:00
Xidorn Quan
ecdc64fc29 Bug 1186721 - Suppress line break due to soft hyphen inside ruby. r=jfkthame 2015-08-13 22:39:51 +10:00
Andrea Marchesini
3d48cb2424 Bug 1185640 - Passing a scope or scriptURL to register() with escaped '/' or '\' should fail, r=bkelly 2015-08-13 11:34:52 +01:00
Hannes Verschore
25077728d5 Bug 1173869: IonMonkey - Cleanup of some dead code in MBinaryArithInstruction::infer, r=jandem 2015-08-13 12:00:17 +02:00
Hannes Verschore
7868e27a3d Bug 1168756: Add shell flags to enable shared stubs, r=jandem 2015-08-13 12:00:16 +02:00
Andrea Marchesini
16d81cc171 Bug 1187470 - ServiceWorker scripts should not be treated parser warnings as errors, r=bkelly 2015-08-13 10:52:15 +01:00
Kai Engert
e836e00cc1 Bug 1194135, Update Mozilla to NSS 3.20, r=mt 2015-08-13 11:31:23 +02:00
James Graham
e7121ff8a5 Bug 1194131 - Update web-platform-tests expected data to revision b54dddfdcc4761d2f8a892fd783d60353949992d, a=testonly 2015-08-13 10:26:45 +01:00
James Graham
50ec86cdb9 Bug 1194131 - Update to latest wptrunner, a=testonly 2015-08-13 10:26:13 +01:00
James Graham
6c8a3271d3 Bug 1194131 - Update web-platform-tests to revision b54dddfdcc4761d2f8a892fd783d60353949992d, a=tetsonly 2015-08-13 10:25:55 +01:00
Valentin Gosu
bb24a72a2f Bug 1190450 - TP shield shows up incorrectly when pressing back while loading a page with tracking elements r=mcmanus 2015-08-13 11:14:36 +02:00
Sebastian Hengst
a13e35fa41 Backout bedff4a78d9a (bug 1190474) for B2G ICS Emulator Cpp unittests permafail. r=backout 2015-08-13 09:08:45 +02:00
John Daggett
a7dab25f24 Bug 1192699 - eliminate the two-stage system fontlist initialization under DirectWrite. r=m_kato 2015-08-13 15:04:25 +09:00
Jean-Yves Avenard
d2198983dc Bug 1190238: P3. Do not loop calling MediaResource::Read or ReadAt, let MediaResourceIndex do it for us. r=cpearce
This allows to remove a fair amount of duplicated logic.
Most of it is in obsoleted code though.
2015-08-13 15:27:10 +10:00
Jean-Yves Avenard
ef1c06d3e5 Bug 1190238: P2. Have MediaResourceIndex::ReadAt() only stop early when reaching EOS or error. r=cpearce
MediaResource::ReadAt() requires to loop several times to ensure that all data has been read as it may return less data than requested.
This will allow to remove the handling of this particular shortcoming in MediaResources' users.
2015-08-13 15:27:09 +10:00
Jean-Yves Avenard
dec5952989 Bug 1190238: P1. Remove MediaResource::Read/Seek. r=cpearce
This functionality is now replaced with a dedicated new MediaResourceIndex class.
This allows for concurrent Read/Seek use of the MediaResource without having side effects.
2015-08-13 15:27:09 +10:00
Jim Chen
762de3b81a Bug 1192082 - Iniialize/deinitialize JNI in nsAppShell; r=snorp
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
2015-08-13 00:53:40 -04:00
Jim Chen
694b610321 Bug 1192082 - De-clutter AndroidBridge init/deinit; r=snorp
Merge all the init code into AndroidBridge constructor and
AndroidBridge::ConstructBridge; merge all the deinit code into
AndroidBridge destructor and AndroidBridge::DeconstructBridge.

In particular, the SetMainThread call is obsolete and removed.
2015-08-13 00:53:39 -04:00
Jim Chen
171ddb4e4a Bug 1192082 - Expose AndroidBridge arguments through GeckoThread; r=snorp
AndroidBridge needed some arguments during its initialization. We'll
provide those arguments in GeckoThread, which AndroidBridge will access.
2015-08-13 00:53:39 -04:00
Jim Chen
9f3701ed76 Bug 1192082 - Get rid of GeckoAppShell.nativeInit; r=snorp
Instead of letting AndroidBridge be constructed separately, we'll let
Gecko construct AndroidBridge.
2015-08-13 00:53:39 -04:00
Jim Chen
f9b719335b Bug 1192082 - Expose GeckoThread states to C++; r=me 2015-08-13 00:53:39 -04:00
Jim Chen
38ecea75c0 Bug 1192079 - Update generated code; r=me 2015-08-13 00:53:39 -04:00
Jim Chen
2bc1d173ed Bug 1192079 - Use unqualified names when possible; r=snorp
To reduce verbosity of the generated code, this patch makes the code
generator use unqualified names when possible, e.g. use State::Ref
instead of GeckoThread::State::Ref. To accomplish that, function
prototypes now use the C++11 -> syntax for return types.
2015-08-13 00:53:39 -04:00
Jim Chen
ed436951c6 Bug 1192079 - Support inner classes in generated JNI wrapper; r=snorp
Currently, when we generate JNI wrapper for an inner class, the
resulting C++ class will not actually be a nested class of the enclosing
class. As a result, the class can be confusing to use. For example,
wrapping Java class GeckoThread.State results in two unrelated C++
classes, GeckoThread and State, and it'd be confusing to use State by
itself.

This patch adds support for inner classes. We start by scanning only for
top-level classes, and when processing each top-level class, we
recursively scan for inner classes through
JarClassIterator.getInnerClasses() and CodeGenerator.generateClasses().
For each Java inner classes, the resulting C++ class will be a nested
class. For example, wrapping GeckoThread.State will produce
widget::GeckoThread and widget::GeckoThread::State.
2015-08-13 00:53:39 -04:00
Jim Chen
ef8b0d7d2a Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Jim Chen
dae9644328 Bug 1192077 - Move AndroidBridge JNIEnv calls to jni/Utils; r=esawin
Calls like GetJNIForThread should now belong in jni/Utils. Moving the
calls also reduce clutter in AndroidBridge.
2015-08-13 00:53:39 -04:00
Jim Chen
651217b048 Bug 1189995 - Move GeckoAppShell.pumpMessageLoop to GeckoThread; r=esawin
This method is used by Gecko to pump the Android message loop, and it's
also more suited to GeckoThread than GeckoAppShell.
2015-08-13 00:53:39 -04:00
Jim Chen
714eee1cc6 Bug 1189995 - Move GeckoAppShell.runGecko to GeckoThread; r=esawin
GeckoAppShell.runGecko really should be in GeckoThread because
GeckoThread already takes care of most of the preparation when running
Gecko. This patch merges runGecko into GeckoThread.run, but split the
argument-building code into its own method.
2015-08-13 00:53:39 -04:00
Jim Chen
1dd8ceda62 Bug 1191083 - Merge pending events handling into mechanism for queued native calls: r=snorp
Right now we have a separate way of handling pending events before Gecko
is loaded. We can merge that into the new mechanism for queuing native
calls.
2015-08-13 00:53:38 -04:00
Jim Chen
99feb0a656 Bug 1191083 - Add mechanism to queue native calls in GeckoThread; r=snorp
We cannot call native methods until Gecko is loaded. This patch adds a
mechanism in GeckoThread so that other code can queue up native method
calls and have those calls automatically delivered when Gecko is ready.
2015-08-13 00:53:38 -04:00
Jim Chen
613e92e4f5 Bug 1191083 - Implement more GeckoThread states; r=snorp
Implement the MOZGLUE_READY and JNI_READY states in GeckoThread. Also
change GeckoJavaSampler to use the new states instead of a separate
flag.
2015-08-13 00:53:38 -04:00
Jim Chen
e0d8148b03 Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Jim Chen
ff5d4b214d Bug 1191161 - Followup to fix wrong annotation classpath; r=nalexander
Because we switched annoations from gecko-mozglue.jar to constants.jar,
we should update the corresponding classpaths when processing
annotations during code autogeneration.

gecko-mozglue.jar is still needed during the javah step because
gecko-browser.jar has a dependency on
org.mozilla.gecko.mozglue.JNIObject.
2015-08-13 00:53:38 -04:00
Nicholas Nethercote
19405fbd7a Bug 828844 - Add a "system-heap-allocated" memory report on Linux. r=glandium.
This gives zero when jemalloc is enabled and non-zero when jemalloc is disabled
(e.g. I got 83 MiB at start-up, which sounds plausible).
2015-08-12 17:44:00 -07:00
Edwin Flores
ffd66be3d6 Bug 1135320 - Re-enable voucher.bin generation on Win64 - r=cpearce 2015-08-13 16:08:46 -07:00
Francois Marier
b5e73b6658 Bug 992096 - Implement Sub Resource Integrity [2/2]. r=ckerschb
Mochitests
2015-08-12 20:19:16 -07:00
Francois Marier
6349d3c212 Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
Code changes
2015-08-12 20:19:11 -07:00
JW Wang
bd8676f33f Bug 1191192 - Add DecodedStream::SetSameOrigin(). r=roc. 2015-08-13 09:22:59 +08:00
Nathan Froyd
efb75125fc Bug 1193470 - silence more warnings when building skia with clang/g++; r=glandium
- Several of skia's functions are marked as deprecated, but when
  compiling Gecko, we don't really care about Skia's internal use of
  deprecated functions.

- clang warns about unused private fields, which is a valuable warning
  for Skia developers, but not a useful warning to see during Gecko
  compilations.

- Various macros in Skia are redefined as a result of using unified
  compilation.  clang has a -Wno switch for turning this off; gcc also
  warns about it, but does not have a separate switch, so we can't do
  anything about it.
2015-08-11 23:23:26 -04:00
Brian Hackett
6ad2166335 Bug 1179242 - Avoid unnecessary moves to dead stack slots, tweak regalloc heuristics for bundles required to be in a specific register, r=sunfish. 2015-08-12 18:20:41 -06:00
Randell Jesup
facda89249 Bug 1189040: add a whitelist for network interfaces to use with ICE/webrtc r=ekr 2015-08-12 19:45:36 -04:00
EKR
08b6404747 Bug 1189041 - Add option to only gather addresses for default route. r=bwc 2015-08-12 10:53:15 -04:00