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

475239 Коммитов

Автор SHA1 Сообщение Дата
Cykesiopka 18c21f386e Bug 1271495 - Replace uses of ScopedPK11Context with UniquePK11Context. r=keeler,mcmanus
ScopedPK11Context is based on Scoped.h, which is deprecated in favour of the
standardised UniquePtr.

MozReview-Commit-ID: HE8UY1hOuph

--HG--
extra : transplant_source : 4%BF%81M%09Q-%2A%E6%04%86i%18%1B%3CL%90%88%04%C7
2016-05-13 05:53:57 -07:00
Tom Tromey d448361566 Bug 1271709 - fix eslint-plugin-mozilla .eslintrc; r=pbro
testing/eslint-plugin-mozilla/lib/rules/.eslintrc used the obsolete
"keyword-spacing" rule.  This patch fixes that and changes the top-level
.eslintignore so that local eslint rules are now checked.

MozReview-Commit-ID: KjVLasvPKh7

--HG--
extra : transplant_source : %AB%A2g%9F%26%E4%892%29%5Bs%7E%11%A67%00v%A2I%CC
2016-05-10 11:03:54 -06:00
Mike Conley 103addb3d4 Bug 1266575 - Regression test. r=Felipe
MozReview-Commit-ID: 7mOVDXFqozL

--HG--
extra : rebase_source : 3930ad5ab6a18e8588b01b26094f914d13a05b58
2016-05-16 10:41:25 -04:00
Mike Conley 184f687452 Bug 1266575 - Dispatch click event on <select> after item is selected when in e10s mode. r=Felipe
MozReview-Commit-ID: 1AwWW9XwWXu

--HG--
extra : rebase_source : ebf18460c413cbdd6bb3f23efe9b6c4faf45e13e
2016-05-13 10:40:24 -04:00
Geoff Brown 1c7d922db6 Bug 1253298 - Enable TC Linux64 PGO builds as Tier 2. r=gbrown 2016-05-17 12:57:48 -06:00
Felipe Gomes 21e5a502a9 Bug 1272751 - Remove block of GTK+ 3.20+ from e10s on release builds. r=jimm
MozReview-Commit-ID: FAeUxCKKmfQ

--HG--
extra : rebase_source : 5e519cf22f4607af8b3a0066c25f3097c4ea8e26
2016-05-16 14:53:44 -03:00
Kartikaya Gupta b9e4a263e3 Bug 1270019 - Add a SetRestoreResolution API for fennec's SessionRestore to use. r=rbarker
MozReview-Commit-ID: 7WqmgAkFItQ
2016-05-17 14:50:08 -04:00
Ralph Giles fb874a938d Bug 1271830 - Propagate MSVC -arch switch to nss. r=glandium
This updates the nss build to require SSE2 instructions on win32.

By default nss builds with -arch:IA32 for maximum compatibility.
Firefox 49 dropped support for non-SSE2 platforms, so propagate
that to the nss external build. XCFLAGS come after the nss build's
default settings, and the last -arch switch will override the
previous ones.

MozReview-Commit-ID: 2lfDq0e0T7Y
2016-05-17 11:35:54 -07:00
Ralph Giles 3dbbc9d7e0 Bug 1271829 - Don't clobber XCFLAGS building nss. r=glandium
Previously, this clobbered the XCFLAGS set by MOZ_FOLD_LIBS_FLAGS.
Combine them instead so we can pass multiple options through
this override mechanism.

This is a behaviour change building with --enable-llvm-hacks.

MozReview-Commit-ID: 4WP0asnc7Z6
2016-05-17 11:35:53 -07:00
Ralph Giles 90a00904df Bug 1271794 - Use SSE2 instructions on win32. r=glandium
We've decided supporting the small number of x86 machines
without SSE2 instructions is no longer worth the cost in
developer time nor the performance impact for other users.

https://groups.google.com/d/msg/mozilla.dev.platform/dZC39mj5V-s/Xt_UqZXkAAAJ

Set -arch:SSE2 by default on x86 if an arch hasn't already
been supplied. This ensures we'll continue to build with
the right instruction set if the compiler changes its default
in the future, while still allowing custom builds to set
a lower minimum.

Also updates the filter to strip all arch switches on win64
when building the sandbox. The 64-bit compiler doesn't
support -arch:SSE2 either.

MozReview-Commit-ID: JzTRGPn9vzI
2016-05-17 11:35:51 -07:00
Andrea Marchesini 9d6c9f459a Bug 1271249 - Blob URL should not be shared across non-private and private windows, r=ehsan 2016-05-17 20:34:39 +02:00
Alexander Surkov db0f2224b6 Bug 1273020 - add more assertions, r=njn 2016-05-17 14:11:42 -04:00
Mason Chang 429347899e Bug 1270688. Use system host settings for skia dwrite font settings. r=lsalzman 2016-05-17 11:10:14 -07:00
Andi-Bogdan Postelnicu 3bb1e11276 Bug 1273095 - initialize |mStride|. r=jrmuizel
MozReview-Commit-ID: ElpMyYLcy0M

--HG--
extra : rebase_source : 5a3405d3bbf47f0f6d26071d25c2810c205da195
2016-05-16 13:58:52 +03:00
Nicolas B. Pierron 3dad56dd53 Bug 1261826 part 10 - Only increment code coverage counters on jump targets. r=bhackett 2016-05-17 17:15:53 +00:00
Nicolas B. Pierron a5b3aecc2a Bug 1261826 part 9 - initScriptCounts relies on jump targets for allocating PCCounts. r=bhackett 2016-05-17 17:15:53 +00:00
Nicolas B. Pierron 1772621136 Bug 1261826 part 8.1 - Make Debugger.Script.getOffsetLocation only consider entry point locations. r=shu 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron e037534d4b Bug 1261826 part 8 - Add JSOP_JUMPTARGET opcode. r=jandem,jorendorff,shu 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron d02bd6369a Bug 1261826 part 7 - Add a no-op bytecode to filter out branches results from the decompiler. r=jorendorff 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron 17eede2c99 Bug 1261826 part 6 - Factor code which record new Bytecode offset stack. r=shu 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron 4e13ad2cdd Bug 1261826 part 4 - BytecodeEmitter: Distinguish offsets based on their purposes. r=jorendorff,shu 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron 0ea2111a78 Bug 1261826 part 3 - Remove outdated comment about XDR_BYTECODE_VERSION. r=arai 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron a68b7da633 Bug 1261826 part 2 - Add JSScript::assertValidJumpTargets. r=jorendorff
This code is inspired from JSScript::initScriptCounts except that append
operations are replaced by MOZ_ASSERT.
2016-05-17 17:15:52 +00:00
Nicolas B. Pierron de1aed0527 Bug 1261826 part 1.5 - Extract assertions from JSScript::fullyInitFromEmitter. r=jorendorff 2016-05-17 17:15:52 +00:00
Nicolas B. Pierron 1f1e7822f3 Bug 1261826 part 1 - JSScript::fullyInitFromEmitter explicitly use 'main' instead of 'current'. r=jorendorff 2016-05-17 17:15:52 +00:00
Lee Salzman eda0f910e1 Bug 1266209 - check if a figure is active in PathBuilderD2D before copying glyphs to it. r=bas 2016-05-17 12:47:22 -04:00
Christoph Kerschbaumer bfe260c7c0 Bug 1273458 - Use channel.asyncOpen2() in test_original_sent_received_head.js (r=dragana) 2016-05-17 12:26:06 +02:00
Andi-Bogdan Postelnicu bac65649ef Bug 1273123 - removed unused variable |mRestoringHistoryScrollPosition|. r=dbaron
MozReview-Commit-ID: 6JDCk7tFKo6

--HG--
extra : rebase_source : f71628d64fe4f8260da3582e21c58f99dcaade31
2016-05-17 09:51:05 +03:00
Patrick McManus f3e258d25a Bug 1135104 - increase send window on modern windows r=dragana 2016-05-11 05:31:01 -04:00
Andrea Marchesini fa35c9b317 Bug 1267923 - Browser tests fixing, r=me 2016-05-17 18:10:33 +02:00
Aaron Klotz 4d218d003f Bug 1258009: Move nsLocalFile::Launch back to the main thread on Win32, but pass SEE_MASK_ASYNCOK and a parent HWND; r=jimm
This is as much a perf issue as it is a UX issue. We should be passing a HWND to
ShellExecuteEx because it can show UI, and that UI should have a proper
parent-child relationship with the Mozilla window. We should do that on the
main thread because of the GUI stuff. OTOH, we want the ShellExecuteEx call to
be a lightweight as possible, hence the SEE_MASK_ASYNCOK flag.

MozReview-Commit-ID: 7VLkWTRWPoe

--HG--
extra : rebase_source : ce16bc0c926a299d9b9103ad0697e3cd07b9157d
2016-05-05 16:52:18 -06:00
Geoff Brown 3c76d5adef Bug 1272786 - Get Android emulator avd dir from configuration; r=kmoir 2016-05-17 09:53:40 -06:00
Myk Melez eeab058709 Bug 1271014 - test DeflateStringToUTF8Buffer; r=jandem 2016-05-17 08:31:14 -07:00
Myk Melez 88f158a792 Bug 1271014 - return partial result and num bytes/chars written from DeflateStringToUTF8Buffer; r=jandem 2016-05-17 08:31:14 -07:00
Ryan VanderMeulen d665e900e2 Backed out changesets 5f4c3f3c188b, 0114f37a7742, and 7a336216b9c4 (bug 1264694) for web-platform-test asserts/crashes. 2016-05-17 11:28:59 -04:00
Jon Coppeard 376fae1833 Bug 1273451 - Fix some unified build errors r=bbouvier 2016-05-17 16:12:47 +01:00
Kartikaya Gupta 585307cd11 Bug 1271432 - Add a mochitest. r=tnikkel
MozReview-Commit-ID: DUzs7VzRUte
2016-05-17 11:05:46 -04:00
Kartikaya Gupta 6637b49101 Bug 1271432 - Optimization to avoid recomputing the same Matrix over and over. r=tnikkel
MozReview-Commit-ID: 28lV5ZRswxu
2016-05-17 11:05:46 -04:00
Kartikaya Gupta 9fe9512858 Bug 1271432 - When combining event regions across layers, don't expand the regions that shouldn't be expanded. r=tnikkel
MozReview-Commit-ID: 6GlYiJAm7rO
2016-05-17 11:05:46 -04:00
Andrew McCreight 9f333887e3 Bug 1273246 - Fix use of bindir in mochitest mach --dmd code. r=ahal 2016-05-17 07:55:49 -07:00
Andrew McCreight f9c73e6cf3 Bug 1272707, part 2 - Limit the size of preference values sent to child processes. r=bsmedberg
Don't send any preferences that have a string value that is longer
than MAX_ADVISABLE_PREF_LENGTH. This is intended to mitigate OOM
issues, as I've seen a parent process crash trying to create a 100mb
message to send to the child. Such users likely cannot use e10s at
all.

This has a test for all combinations of setting the default and user
values of a preference to large or small string values, or not setting
them at all.

I manually verified that filtering out preferences reduces the size of
the IPC::Message that is sent to the child by printing out the size of
the reply message in PContentParent::OnMessageReceived().
2016-05-17 07:55:49 -07:00
Andrew McCreight d47917df1b Bug 1272707, part 1 - Shrink down TV mock data test file so as to not exceed pref size limit. r=mantaroh
The next patch will limit the size of preferences sent to content
processes to MAX_ADVISABLE_PREF_LENGTH characters. This patch
eliminates whitespace by converting to and from a JSON data
structure. In addition, I reduced the size of the names and
descriptions in mock_data.json.
2016-05-17 07:55:49 -07:00
Milan Sreckovic 17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Jean-Yves Avenard a240a3d77e Bug 1264694: [MSE] P3. Remove no longer necessay methods. r=jwwang
P2 let all tasks run until completion, as such we don't need to deal with interrupted tasks anymore.

MozReview-Commit-ID: 45lYcIGk2ce

--HG--
extra : rebase_source : db9c8db1b3f1d51d57ad090fdeb2cad6682de2be
2016-05-16 21:14:28 +08:00
Jean-Yves Avenard 62469ee531 Bug 1264694: [MSE] P2. Clear mTaskQueue early when no longer required. r=jwwang
We need to ensure that the MSE TaskQueue gets shutdown as soon as possible and not wait for the MediaSource parent to be destroyed by the cycle collector.
XPCOM shutdown will deadlock if any SharedThreadPool are still in use, and it possible for the cycle collector to only occur after xpcom has shutdown.
So it's important to ensure mTaskQueue is cleared when the MediaSourceDecoder has been shutdown.

This is done by queueing a new DetachTask that will clear mTaskQueue when run.

MozReview-Commit-ID: C3FXcRtq1wy

--HG--
extra : rebase_source : 38c0b5548b32e89b0994704c1318ff77fba76eba
2016-05-16 18:30:19 +08:00
Jean-Yves Avenard ce63a808d5 Bug 1264694: [MSE] P1. Ensure we only add source buffer tasks on the task queue. r=jwwang
This ensures that the tasks are processed in the expected order.

MozReview-Commit-ID: JPxlwReZ4Az

--HG--
extra : rebase_source : 873a373c5a6ccf20eb69f6d36b1ebdf25e6ddea3
2016-05-17 17:15:45 +08:00
Julian Seward 7a4c826078 Bug 1261052 - Move C++ histogram implementation code into a separate module. r=gfritzsche.
--HG--
extra : rebase_source : 8799fa405c655795fc42350666e0f3baffd316fc
2016-05-17 15:05:19 +02:00
Andrea Marchesini 287629d51c Bug 1269029 - Create a hamburger menu for containers - implementation, r=gijs 2016-05-17 15:12:13 +02:00
Andrea Marchesini ec648a8d88 Bug 1269029 - Create a hamburger menu for containers - modify icons, r=gijs 2016-05-05 02:18:00 +01:00
Andrew Halberstadt b1445349ea Bug 1270506 - [mozlint] Add python flake8 linter, r=smacleod
For now, only the following two directories will be linted:
python/mozlint
tools/lint

New directories can be added by adding them to the 'include'
directive in tools/lint/flake8.lint. They all default to the
configuration specified in topsrcdir/.flake8. Subdirectories
can override this configuration by creating their own .flake8
file.

MozReview-Commit-ID: Eag48Lnkp3l

--HG--
extra : rebase_source : 6d98c9fef80055a48cc2622848aa04c3045b747e
2016-05-05 17:21:12 -04:00