Граф коммитов

455093 Коммитов

Автор SHA1 Сообщение Дата
Eitan Isaacson f7492b24ab Bug 1211974 - Implement nsIObserver in SpeechDispatcherService. r=smaug 2015-12-23 13:44:11 -08:00
Aaron Klotz f3dd15b3d3 Bug 1233237: Backout a882a8c92a28 for causing winsock connectivity problems; r=backout 2015-12-23 14:35:42 -07:00
Sylvestre Ledru 0c8832d24b Bug 1047395 - Add a link to the release notes from the about page, fix the alignment r=florian 2015-12-23 22:07:50 +01:00
Sylvestre Ledru c748366850 Bug 1047395 - Add a link to the release notes from the about page r=florian 2015-12-23 20:38:31 +01:00
Andrew McCreight 0f12a580d4 Backed out changeset 18eec0849a1f (Bug 1195295) for leaking.
This changeset is causing shutdown leaks (bug 1234697 and bug 1220517).
2015-12-23 15:59:15 -05:00
Jakob Stoklund Olesen ab68a2ae94 Bug 1233111 - Implement saturating arithmetic for SIMD. r=bbouvier
The functions addSaturate() and subSaturate() are defined on the 8x16 and 16x8
integer SIMD types only.

Theee are no 32x4 variants defined in SIMD.js because current hardware doesn't
support it directly.

--HG--
extra : rebase_source : 876bd6ab47ccd007dd15d5b34948ebf33aca4f16
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen 4ac36bc255 Bug 1233111 - Implement SIMD shiftRightByScalar(). r=bbouvier
This is the right shift function that the SIMD.js spec requires. The old
shiftRightArithmeticByScalar() and shiftRightLogicalByScalar() functions will go
away.

These functions perform an arithmetic shift for signed types and a logical
shift for unsigned types.

Add support to Odin and Ion too, at least for the Int32x4 variant.

--HG--
extra : rebase_source : 7852f266a1ad505436c4c1607c17d542d81b2673
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen c265e4ff17 Bug 1233111 - Add ecma_7 shift tests. r=bbouvier
Fix a bug in ShiftRightArithmetic when the underlying Elem type is unsigned.
Need to cast to a signed type to so it sign-extends to int when shifting.

Implement both logical and arithmetic right shift implementations for both
signed and unsigned integers. This is needed to test our current implementation
where both signed and unsigned SIMD types have the two
shiftRightArithmeticByScalar() and shiftRightLogicalByScalar() functions.

Soon, shiftRightArithmeticByScalar() and shiftRightLogicalByScalar() will be
replaced by a single shiftRightByScalar() function whose behavior is dependent
on the signedness of the underlying type.

--HG--
extra : rebase_source : 00fa414d32592d8d923d2413a9d0f2082fb899d0
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen 314da1b881 Bug 1233111 - Add unsigned SIMD types to interpreter. r=bbouvier
- Add new types UInt8x16, UInt16x8, UInt32x4 with all the boilerplate.
- Add corresponding conversion and bitcast functions to existing types.
- Add tests/ecma_7/SIMD tests for all new functions. Mostly boilerplate.
- Add full type coverage in ToSource.js. Fix existing SIMD types that were
  broken.
- Use shared test vectors for all the 32x4 integer binary-op test cases.
- Fix a bug in the 32-bit multiplication reference implementation for Int32x4
  and Uint32x4. A simple 'a*b' double multiplication loses precision to rounding
  for some inputs.

--HG--
extra : rebase_source : 7268170538aae82766d661f3936657f368c6363f
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen 02e0bb6c58 Bug 1233111 - Share method lists for SIMD types. r=bbouvier
The lists TypeDescriptorMethods and TypedObjectMethods are identical for all
SIMD types, so save a bit of memory and source code by sharing a single list.

--HG--
extra : rebase_source : 01f65e7eac8c8c99fb6c869206d75d2e5875002b
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen 8d6b23cb6b Bug 1233111 - Remove geometry altering SIMD conversions. r=bbouvier
In the current SIMD.js spec, value conversions are only defined between types
with the same number of lanes:

  Float32x4.fromInt32x4()
  Float32x4.fromUInt32x4()
  Int32x4.fromFloat32x4()
  UInt32x4.fromFloat32x4()

Remove existing conversion operators between vectors with different numbers of
lanes:

  Int32x4.fromFloat64x2()
  Float32x4.fromFloat64x2()
  Float64x2.fromInt32x4()
  Float64x2.fromFloat32x4()

Add a static assertion to FuncConvert.

--HG--
extra : rebase_source : c7be47268c913134aa9b718000080e1d54a79f9f
2015-12-23 09:52:39 -08:00
Jakob Stoklund Olesen 2d7330a315 Bug 1233111 - Add a new ToUint8() function. r=efaust
This is needed for casting values into a SIMD.Uint8x16 lane.

--HG--
extra : rebase_source : 361feb40a7216cacf9e39c4e264b925cb06da540
2015-12-23 09:52:39 -08:00
Bill McCloskey 84f9789075 Bug 1205886 - [webext] Allow content scripts to do cross-origin XHRs if they have permission (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey b9e31d597b Bug 1229552 - [webext] Add test for unregistration (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey 755eaf9042 Bug 1228044 - [webext] Filter messages between extensions (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey 87cc880767 Bug 1223240 - Make it easier to set up top-level protocols (r=jld) 2015-12-23 12:29:39 -08:00
Bill McCloskey 234f2a465f Bug 1213680 - Stop using picker by default when opening inspector (r=pbrosset) 2015-12-23 12:29:39 -08:00
Bill McCloskey c15d73943a Bug 1224105 - [webext] Use <browser> element for background page (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey ecabf2935c Bug 1224105 - Allow windowless chrome docshells containing content docshells (r=smaug) 2015-12-23 12:29:39 -08:00
Bill McCloskey a4a149fd8d Bug 1211401 - Use global message manager as parent of <iframe mozbrowser> MM (r=smaug,ahal) 2015-12-23 12:29:39 -08:00
Ben Kelly b6740878e7 Bug 1220681 P6 Use clients.claim() in browser_download.js to avoid worker unregister race. r=jdm 2015-12-23 12:20:53 -08:00
Ben Kelly 3972c8300e Bug 1220681 P5 Don't double suspend parent channel during synthesized divert to parent. r=jdm 2015-12-23 12:20:53 -08:00
Ben Kelly dd179ed223 Bug 1220681 P4 Automatically suspend the parent channel after synthesizing the response for diverison. r=jdm 2015-12-23 12:20:53 -08:00
Ben Kelly 9230279805 Bug 1220681 P3 Delay diversion on parent side until response head has been synthesized. r=jdm 2015-12-23 12:20:53 -08:00
Ben Kelly 14c2c5cced Bug 1220681 P2 Test synthetic responses that trigger downloads. r=ehsan 2015-12-23 12:20:53 -08:00
Ben Kelly 0616535096 Bug 1220681 P1 Make HttpChannelChild::DivertToParent() work with synthetic responses. r=jdm 2015-12-23 12:20:53 -08:00
Patrick McManus 29ca4c0e9d Bug 1218297 - eventtokenbucket shutdown leak r=valentin 2015-12-23 10:47:13 -05:00
Patrick McManus 90c978fb27 Bug 1234896 - refptrs for httphandler.cpp r=valentin.gosu 2015-12-23 11:43:41 -05:00
Luke Wagner dbe15a0d32 Bug 1229642 - Factor out StringToNewUTF8CharsZ (r=jandem)
--HG--
extra : commitid : 9zuXCAfX7dV
extra : rebase_source : 9d0a3157a8dfefc8c52215a00681df232be4ddb7
2015-12-23 14:02:48 -06:00
Benoit Girard a0b943f49b No bug - Don't update 'webgl.dxgl.enabled' at runtime.
--HG--
extra : commitid : 88A5aULhAKp
extra : rebase_source : 997ffa2ab857723c42328079ead94cb6c28ed03f
2015-12-23 14:55:22 -05:00
Wes Kocher 1f00d8d838 Backed out 4 changesets (bug 1218996) for talos svg failures CLOSED TREE
Backed out changeset ba750628c4f3 (bug 1218996)
Backed out changeset 2205cce34824 (bug 1218996)
Backed out changeset 9410cbc0545e (bug 1218996)
Backed out changeset 7839222071ac (bug 1218996)

--HG--
extra : commitid : Ju4TBTVoAIr
2015-12-23 11:09:05 -08:00
Nicolas B. Pierron 12b752a241 Backed out changeset 14ea3c6f98bb (Bug 1229813) for performance issues on arewefastyet.
CLOSED TREE
2015-12-23 17:39:04 +00:00
Bill McCloskey b8196d4c71 Bug 1208257 - [webext] runtime.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey 1b98762630 Bug 1208257 - [webext] extension.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey 9e01a18c0b Bug 1208257 - [webext] i18n.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey a2c4e965e2 Bug 1208257 - [webext] context_menus.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey 63346aac54 Bug 1208257 - [webext] page_action.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey a3d3a41850 Bug 1208257 - [webext] browser_action.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey 4bcec16ec8 Bug 1208257 - [webext] idle.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey 75122447dd Bug 1208257 - [webext] bookmarks.json (r=kmag) 2015-12-23 08:57:13 -08:00
Nathan Froyd 2c2f66f499 Bug 1232454 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in security/apps/; r=keeler
As a nice side effect, we also fix a (rare) memory leak in
AppTrustDomain::SetTrustedRoot.
2015-12-06 08:06:03 -05:00
Olivier Yiptong c04bec08b0 Bug 1218996 - Allow Remote New Tab to ride release trains r=marcosc
--HG--
extra : rebase_source : f8df0d27eddf8e4d112d7fa8e954c08f38f22069
2015-12-21 16:14:38 -05:00
Olivier Yiptong e725cd46a8 Bug 1218996 - Remove now redundant messaging code for remote newtab r=marcosc
--HG--
extra : rebase_source : b79e21fb4898742b2e8ccefd4309f6eea2bd5ff5
2015-12-21 16:14:33 -05:00
Olivier Yiptong 6070b36fc1 Bug 1218996 - Fuse aboutNewTabService and RemoteNewTabLocation and return resource URLS r=marcosc,oyiptong
--HG--
extra : rebase_source : 15564dee02ae241c7f563ba7e362c5c2e0f37ded
2015-12-21 16:14:29 -05:00
Olivier Yiptong b27d95d0b3 Bug 1218996 - AboutRedirector uses aboutNewTabService exclusively for about:newtab r=marcosc,mconley
--HG--
extra : rebase_source : 0fff8d01aa58f86c018dc2c2e73490f3b8fe8e9a
2015-12-21 16:14:23 -05:00
Jan de Mooij d91e436fb6 Bug 1232676 - Use AutoEnterOOMUnsafeRegion instead of MOZ_CRASH in addPendingCompileError. r=jonco 2015-12-23 17:22:16 +01:00
Jan de Mooij 2978531a4a Bug 1232655 - Fix DebugScopeProxy::has to not lookup .this on non-function scopes. r=shu 2015-12-23 17:22:13 +01:00
Jan de Mooij 907b2b7cb3 Bug 1233115 - Add missing OOM check after handler.newClassMethodList call. r=efaust 2015-12-23 17:05:29 +01:00
Jan de Mooij aaa795bcb3 Bug 1232386 - Fix NativeObject::growSlotsStatic to recover from OOM. r=terrence 2015-12-23 17:05:27 +01:00
Nathan Froyd caaca24b03 Bug 1233732 - disable MacroAssembler.h macro magic for clang-cl; r=nbp
clang-cl attempts to emulate MSVC's handling of __VA_ARGS__, but doesn't
quite get it right:

https://llvm.org/bugs/show_bug.cgi?id=25875

As a result of this, compiling files that #include MacroAssembler.h with
clang-cl result in fallbacks to MSVC.  Since falling back to MSVC is
non-ideal (and also causes problems around things like linking function
template instantiations), let's disable MacroAssembler.h's macro magic
for the time being.  Ideally, the problem will get fixed upstream
soon (even though it looks somewhat complicated); in the meantime,
fixing this issue lets forward progress be made when compiling Gecko
with clang-cl.
2015-12-18 11:11:09 -05:00