Commit Graph

475227 Commits

Author SHA1 Message Date
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
Andrew Halberstadt
5f616862e3 Bug 1270506 - [mozlint] Refactor the include/exclude path filtering algorithm, r=smacleod
The current algorithm for filtering down tests is too naive. For example, given the following
directory structured:

parent
  - foo
    - bar
    - baz

And the following include/exclude directives:
include = ['foo']
exclude = ['foo/bar']

Then running ./mach lint parent and ./mach lint foo/baz should both lint all files in baz but
no files in bar. This provides a nice way to include/exclude directories, while allowing the
underlying linters to find appropriate files to lint *within* those directories.

tl;dr - Straight file paths (no globs) will be passed straight to the underlying linter as is.
While paths with globs will first be resolved to a list of matching file paths.

MozReview-Commit-ID: Eag48Lnkp3l

--HG--
extra : rebase_source : 18ce2231bc4198b1e811d39f9803f0d5e03d982e
2016-05-05 17:20:33 -04:00
Andrea Marchesini
e42cf01dd7 Bug 1267923 - Move the CSS rules to ContextualIdentityService, r=mconley
--HG--
rename : browser/modules/UserContextUI.jsm => browser/components/contextualidentity/ContextualIdentityService.jsm
rename : browser/themes/shared/usercontext/usercontext.inc.css => browser/components/contextualidentity/content/usercontext.css
2016-05-17 15:03:43 +02:00
Dustin J. Mitchell
05ef600e1c Bug 1258497: wrap mach Commands in try/except; r=gps
MozReview-Commit-ID: FTPDTjw4gR

--HG--
extra : rebase_source : a922f03418d9c03f4018940554a23ed341a4e807
extra : histedit_source : 439fda8e499696cca39dff7e1b436f74541d17bb
2016-05-16 17:44:24 +00:00
Dustin J. Mitchell
b79ac66e13 Bug 1258497: use taskgraph decision in decision task; r=gps
MozReview-Commit-ID: 9STbp4EPMrT

--HG--
extra : rebase_source : e46a41df3b0159fbbae2fc26ded576a3261fc870
extra : histedit_source : 4fe675a1bc33929e809ba3e2fe9373140eb4279d
2016-05-16 22:42:10 +00:00
Dustin J. Mitchell
cea2249ca3 Bug 1258497: Implement a new taskgraph generation system; r=gps
The `taskgraph` package generates TaskCluster task graphs based on collections
of task "kinds".  Initially, there is only one kind, the "legacy" kind, which
reads the YAML files from `testing/taskcluster/tasks` to generate the task
graph.

Try syntax is implemented by filtering the tasks in the taskgraph after it has
been created, then extending the result to include any prerequisite tasks.

A collection of `mach taskgraph` subcommands are provided for developers to
extend or debug the task-graph generation process.

MozReview-Commit-ID: 1TJCns4XxZ8

--HG--
rename : testing/taskcluster/docs/index.rst => taskcluster/docs/index.rst
extra : rebase_source : 7b9125281d66044db9bd8e4a1fade16136f384b9
extra : histedit_source : 47640d27080acda0279270babbcf33f5badb0d1c
2016-05-16 22:53:22 +00:00
Dustin J. Mitchell
eea6107b48 Bug 1258497: Factor out some common code; r=gps
This code will also be used by taskgraph's legacy kind.

MozReview-Commit-ID: Gd4zZYEee2W

--HG--
extra : rebase_source : 41a76624322687d752c6d836c15700c92ed80cdb
2016-05-09 18:58:11 +00:00
Dustin J. Mitchell
0444ac1f2f Bug 1258497: allow mozunit to pass along kwargs; r=gps
MozReview-Commit-ID: DzmF3zF5jeD

--HG--
extra : rebase_source : b8fead11cee6600cbf6ea241e77208f2418007cb
2016-05-09 18:56:24 +00:00
Rail Aliiev
88e62f3833 Bug 1269731 - partner-repacks push to mirrors should work on reruns r=nthomas a=release DONTBUILD
MozReview-Commit-ID: 8zc1ppQGxWp

--HG--
extra : rebase_source : 0a3867dbdfbdf3ade3a80a515deca24dfce5515f
2016-05-17 08:26:37 -04:00
Andi-Bogdan Postelnicu
feeb57b27c Bug 1273480 - avoid dead code on |status| assignment. r=jorendorff
MozReview-Commit-ID: 7I4wqGSBe64

--HG--
extra : rebase_source : 0fdca792cc58fad2643ce10a343cfde8d8289589
2016-05-17 15:33:25 +03:00
Sotaro Ikeda
fdbb1d4a60 Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel 2016-05-17 05:36:33 -07:00
Andi-Bogdan Postelnicu
22c0d057c1 Bug 1273103 - initialize |lineno_|, |column_|. r=jorendorff
MozReview-Commit-ID: KbluCZJMbNy

--HG--
extra : rebase_source : 3def2f61e9a6bcfe7f0f46794ede835dd26d6cca
2016-05-17 15:21:59 +03:00
Valentin Gosu
451803ecf5 Bug 1148161 - rename PluginModuleParent::OfflineObserver to PluginOfflineObserver r=jimm
The class name clashes with mozilla::net::OfflineObserver and ends up crashing in nsTraceRefcnt::GetBloatEntry because the two classes have a different size.
2016-05-12 17:43:34 +02:00