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

36249 Коммитов

Автор SHA1 Сообщение Дата
Michael Layzell dace0b2e39 Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-09-20 11:26:43 -04:00
Michael Layzell 05bd5a1076 Bug 1300208 - Allow specifying multiple rust crates to mozbuild within the same FINAL_LIBRARY, r=froydnj
MozReview-Commit-ID: IIjV4Kg7wOv
2016-09-20 11:26:43 -04:00
Philipp Kewisch a5e487b1ed Bug 1298879 - Upgrade to ESLint 3.5.0 for faster linting. r=miker
--HG--
extra : amend_source : f9192046a1c22f631d6423ce4ffc6e4e0e11dfc1
2016-09-20 10:27:03 +01:00
Tooru Fujisawa e933275fe8 Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped on remote content area. r=enndeakin 2015-11-11 07:35:12 +09:00
Tooru Fujisawa 9867f060f7 Bug 92737 - Part 2: Open multiple tabs when multiple items are dropped on non-remote content area. r=Gijs 2015-08-15 07:20:15 +09:00
Kanika Narang fcdff1b513 Bug 1302950 - Rename --panel-arrowcontent* CSS variables to --arrowpanel*. r=dao 2016-09-20 09:27:49 +02:00
Christoph Kerschbaumer bde72ba5d9 Bug 1297338 - Use principalToInherit instead of TriggeringPrincipal within AddonManager.js. r=bz,mossop 2016-09-20 08:37:17 +02:00
Mike Hommey f3effba503 Bug 1303210 - Show compressed size in find_dupes.py report, and sort its output. r=gps 2016-09-20 13:46:16 +09:00
Wes Kocher 993138b682 Merge m-c to inbound, a=merge 2016-09-19 15:56:30 -07:00
Chris H-C c12aa24d06 bug 1218576 - Request an immediate batch send when the batch size hits a high water mark. r=gfritzsche
We've now seen an OOM trying to grow the accumulations array during a test
suite. The g*Accumulations arrays do grow unboundedly in size waiting for the
IPC timer to fire, so we should put a size bound as well as a time bound to
trigger the batch send.

The current size bound is 5K elements. This was chosen out of a hat.

MozReview-Commit-ID: 5HeWdbLfN03
2016-09-19 13:30:25 -04:00
Chris H-C 694ddc92d2 bug 1218576 - Ensure accumulations are for valid IDs. r=gfritzsche
We're seeing occasional failures of the isValid assert on the parent side where
the ID we're being asked to accumulate on is invalid.

Check the IDs on both sides to ensure that they're valid heading in.

MozReview-Commit-ID: 4gLG54Tx64s
2016-09-19 13:30:25 -04:00
Chris H-C 97e7b87538 bug 1218576 - Ensure IPCTimer is on the main thread. r=froydnj f=gfritzsche
nsTimer fires on the thread that created the timer. An nsTimer instance should
only be manipulated on its target thread (it isn't threadsafe). IPC using
PContent must be on the main thread.

Thus, everything to do with the gIPCTimer must be on the main thread.

This also takes care of bug 1299312.

MozReview-Commit-ID: IcVRYsoX2R9
2016-09-19 13:30:25 -04:00
Chris H-C 50e155dc6a bug 1218576 - Change unused.h to Unused.h, which matters to some filesystems. r=gfritzsche
MozReview-Commit-ID: GOy5Xz2Pxta
2016-09-19 13:30:25 -04:00
Chris H-C 19f41c6e99 bug 1277504 - Support aggregated child histograms in about:telemetry r=gfritzsche
Throw some process selectors in the Histograms and Keyed Histograms sections
to allow users to choose which process type's histograms they'd like to see.
2016-09-19 13:30:25 -04:00
Chris H-C 9809a22a46 bug 1218576 - Test child categorical histogram aggregation r=gfritzsche
It's new, it wasn't tested, and my patches broke it earlier so we should have
coverage for it.

MozReview-Commit-ID: B25bFOJHMSQ
2016-09-19 13:30:25 -04:00
Chris H-C 67d9d53741 bug 1218576 - Aggregate child categorical histograms in the parent process. r=gfritzsche
Rewrite the categorical histogram accumulation code to use the common path.
This way it gets remote accumulation for cheap.

MozReview-Commit-ID: 3q6gdSvBix
2016-09-19 13:30:25 -04:00
Chris H-C 8035821f42 bug 1218576 - Ensure we can record before trying to record categorical histograms. r=gfritzsche
Every other Accumulate call has it :S

MozReview-Commit-ID: 8uWtADebuJ1
2016-09-19 13:30:25 -04:00
Chris H-C b7121fe41a bug 1218576 - Ensure Telemetry IDs coming from IPC are valid r=gfritzsche
I saw a one-off crash on try in internal_GetHistogramByEnumId. Not reproducible
but maybe possible if we're trying to accumulate using an invalid ID. So let's
guard against that.

MozReview-Commit-ID: Ei6eTlV91mJ
2016-09-19 13:30:25 -04:00
Chris H-C 6e50e9e79a bug 1218576 - Ensure remaining batched telemetry is flushed on content process shutdown r=gfritzsche
On content process shutdown we send a content process ping to ensure we have
up-to-date data from the content process before it goes away. Now we need to
also flush the batched telemetry accumulations to the parent so that it can be
present in the ping.

No attempt is made to synchronize access to IPCTimerFired. It is safe to
re-enter.

No attempt is made to cancel the timer as its firing is benign.

MozReview-Commit-ID: 1gjNH9IPhKf
2016-09-19 13:30:25 -04:00
Chris H-C bdfb1c1a7e bug 1218576 - Assert we're the parent process when clearing histograms. r=gfritzsche
Clear isn't generally called at all, and isn't dispatched to the parent process
for child telemetry aggregation. Clear should only be called on the parent
process.

MozReview-Commit-ID: stIutvAO6h
2016-09-19 13:30:25 -04:00
Chris H-C 01ec9d91b8 bug 1218576 - Update test_ChildHistograms for child telemetry aggregation r=gfritzsche
No more requestChildPayloads (or need for it).

MozReview-Commit-ID: AmPuT04HjWx
2016-09-19 13:30:25 -04:00
Chris H-C dc84340668 bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche
The JS histograms, too, need to dispatch their accumulations from child to
parent.

JSHistograms_Add now only supports histograms that are in gHistogramsMap or
that were created in the parent process. After bug 1288745, maybe we'll be able
to change this to be less convoluted.

MozReview-Commit-ID: 3qTH89YKbGP
2016-09-19 13:30:25 -04:00
Chris H-C b6bb8f1630 bug 1218576 - Move aggregated child telemetry to processes.content r=gfritzsche
Take the opportunity presented through changing child telemetry accumulation
to bring the ping form closer to the ideas expressed in bug 1281795.

childPayloads still exists, but without histograms or keyedHistograms which are
now at root.processes.content.{keyedH|h}istograms. This will require coordinated
changes in the aggregator and moztelemetry libraries.

MozReview-Commit-ID: AqG2jmBBC2W
2016-09-19 13:30:25 -04:00
Chris H-C 30268b954c bug 1218576 - Remove requestChildPayloads r=gfritzsche
To simplify using child telemetry from the parent process, only allow child
telemetry payloads to be generated once per child process, on shut down.

This will allow us to use the child telemetry's subsession information to leave
childPayloads the way it currently is.

Will need to update test_ChildHistograms.js as it is the only consumer.

MozReview-Commit-ID: 2qSztg0QHV5
2016-09-19 13:30:25 -04:00
Chris H-C 9207008852 bug 1218576 - Pre-allocate child keyed histograms in the parent process r=gfritzsche
I originally thought we'd be able to avoid the previous implementation's waste
of a map full of every kind of keyed histogram. Unfortunately, other code
(TelemetrySession at the very least) depends on this (and will throw if a keyed
histogram isn't present, even if it is empty)

MozReview-Commit-ID: 8MCGVa595UB
2016-09-19 13:30:25 -04:00
Chris H-C f60004a1df bug 1218576 - Support subsession hgrams for child aggregation r=gfritzsche
The original commit didn't properly support subsession histograms, so rectify
that lapse by adding support for stripping out the base name of a histogram
when trying to determine its id.

MozReview-Commit-ID: LvUek6f5WUx
2016-09-19 13:30:25 -04:00
Chris H-C 7876f2ef1e bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-09-19 13:30:25 -04:00
Sebastian Hengst e183b1ce5d Backed out changeset 6036b8acdab5 (bug 1284395) for asserting in ChromeUtils::IsOriginAttributesEqualIgnoringAddonId at nsDocShell.cpp:8007 for Windows debug builds. r=backout 2016-09-19 17:10:09 +02:00
Gijs Kruitbosch 2370806614 Bug 1284395, r=bz,mconley
MozReview-Commit-ID: 1nPyv7G3q7d

--HG--
extra : rebase_source : 9e0d93d1dee7fff2b599da2e79d8a286d2ca8007
2016-09-06 14:19:45 +01:00
Ton aa78d791d0 Bug 1300562 - Change "Show Folder" to "Open Folder" in Windows. r=Mossop 2016-09-07 18:56:05 +02:00
Phil Ringnalda c58d0d6900 Merge m-i to m-c, a=merge 2016-09-17 13:44:34 -07:00
Sebastian Hengst 05c340d60c Backed out changeset 752f33561e8f (bug 1302950) for failing browser-chrome test browser_ext_popup_background.js. r=backout 2016-09-17 14:49:50 +02:00
Kanika Narang 89af03b5df Bug 1302950 - Rename --panel-arrowcontent* CSS variables to --arrowpanel*. r=dao
--HG--
extra : rebase_source : d8dccc1fb8131ba27b2f2e22a5439d1a841ebdc4
2016-09-17 12:17:04 +02:00
Bill McCloskey 50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Mike de Boer efb5105fa5 Bug 1301941 - hide the dimmed modal highlight of the find toolbar when the last character is removed from the input field. r=jaws
MozReview-Commit-ID: 5I4ggpJ5xQx

--HG--
extra : rebase_source : 7562ada2d57dc00e46c1d0393648c8031f1afd61
2016-09-16 11:10:51 +02:00
Mike de Boer 403f14c44f Bug 1293197 - make sure that toggling Entire Words mode also retriggers the active search. Also fixes a JS error that crept in recently. r=jaws
MozReview-Commit-ID: DcXhhRxk3Mw

--HG--
extra : rebase_source : eaea2f83acfb73c1470fc58a8f59ba7230c1d875
2016-09-16 11:54:02 +02:00
Matthew Noorenberghe a8fd18e1c8 Bug 1301109 - Follow-up to fix bustage caused by the string change in bug 1277895. r=bustage
MozReview-Commit-ID: 6X0acYYiLOe
2016-09-19 19:23:57 +08:00
Carsten "Tomcat" Book 53b6abdec9 Merge mozilla-central to autoland 2016-09-19 12:26:19 +02:00
Matthew Noorenberghe f324e2dba5 Bug 1301109 - Avoid LoginManagerPrompter initialization failures due to init() with a null window. r=johannh
Also document the fact that there may be no ChromeWindow so this case is kept in mind.

MozReview-Commit-ID: DGp68U5L8yY

--HG--
extra : rebase_source : 0ba039ee6c0dcc957625afef8ae1c1cd323a22d2
2016-09-19 17:26:57 +08:00
Marco Bonardo 4d43a4bbe3 Bug 1283329 - Perceptible pause when quickly typing and hitting enter in the urlbar. r=adw
MozReview-Commit-ID: 2NdTvY9H25Z

--HG--
extra : rebase_source : b957bf6eca2b2387a6c57bc4993a0766e660e06a
2016-09-15 18:55:12 +02:00
Wes Kocher 76bf2680e6 Merge inbound to m-c a=merge CLOSED TREE 2016-09-16 14:31:34 -07:00
Wes Kocher f6145cfb05 Merge fx-team to central, a=merge 2016-09-16 13:57:38 -07:00
Carsten "Tomcat" Book 3d06e6155c Merge mozilla-central to fx-team 2016-09-16 14:20:02 +02:00
Mike de Boer 455a58d89a Bug 1298435 - make sure the modal highlight outline is always inserted in the top-most window. r=jaws
MozReview-Commit-ID: IGMQCLbDmG8
2016-09-16 10:33:52 +02:00
Phil Ringnalda f6c298b36d Backed out changeset c85784c39e28 (bug 1280470) for depending on a backed out commit
CLOSED TREE
2016-09-15 19:16:17 -07:00
Phil Ringnalda a6e7ea4e26 Backed out changeset af84ff6bfd7e (bug 1264367) for causing crash stacks to lack symbols
CLOSED TREE
2016-09-15 19:15:45 -07:00
Wes Kocher 447769a520 Merge fx-team to central, a=merge 2016-09-15 16:35:46 -07:00
Wes Kocher 14c8653f72 Merge inbound to central, a=merge 2016-09-15 16:28:10 -07:00
Carsten "Tomcat" Book 0b196abd94 Merge mozilla-central to mozilla-inbound
--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-color.js => devtools/shared/css/color.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-parsing-utils.js => devtools/shared/css/parsing-utils.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : ee56c3191034e51bcc5e558e32c9a4f1b9da92cf
2016-09-16 13:06:24 +02:00
Mike de Boer 54f9f16e59 Backed out changeset 4b1afa9d2e99 (bug 1279708), because it landed on autoland earlier. r=backout DONTBUILD
MozReview-Commit-ID: AnDFEsAT5tC
2016-09-15 21:13:46 +02:00