Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Chris H-C 0e4f788996 Bug 1313327 - Add a C++ API for recording Telemetry Events. r=janerik
This isn't the most efficient implementation as it uses the enum parameter to
fetch the strings and then uses internal string APIs (which then get the enum
again), but it's the most straightforward impl with a smallish patch.

If this starts showing on profiles we can look into efficiency then.

Also, I'm not the biggest fan of how this uses a string API to enable recording
but that's what's used in the underlying API and storage so who am I to argue?

Differential Revision: https://phabricator.services.mozilla.com/D18692

--HG--
extra : moz-landing-system : lando
2019-02-08 11:35:01 +00:00
.cargo Bug 1522614 - Patch cc-rs to handle aarch64 with clang-cl. r=froydnj 2019-02-05 21:43:16 +00:00
.vscode
accessible Bug 1525849 - Guard against 0 columns or out of bounds indexes for ARIA grid accessibles, r=Jamie 2019-02-07 21:06:42 +00:00
browser Bug 1526259 - Stop setting a negative y-offset when opening the quantumbar panel. r=mak 2019-02-08 13:47:47 +00:00
build Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-07 23:49:13 +02:00
caps Bug 1514050 part 2. Stop recomputing cross-compartment wrappers on document.domain changes. r=bholley 2019-01-30 19:02:34 +00:00
chrome Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
config Bug 1522436 - Enable BigInt compilation by default r=jandem,terpri,froydnj 2019-02-06 13:41:56 +00:00
db Bug 1523851 - Remove system sqlite compile option tests. r=mak 2019-01-31 09:58:29 +00:00
devtools Merge inbound to mozilla-central. a=merge 2019-02-08 11:53:37 +02:00
docshell Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
dom Bug 1513877 - Implement send and receive methods for base WindowActor class. r=nika 2019-02-08 13:02:08 +00:00
editor Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
embedding Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-01-24 08:11:00 +00:00
extensions Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
gfx Merge inbound to mozilla-central. a=merge 2019-02-08 11:53:37 +02:00
gradle/wrapper
hal Bug 1523974 - Map PROCESS_PRIORITY_BACKGROUND_PERCEIVABLE to BELOW_NORMAL_PRIORITY_CLASS on Windows. r=gsvelto 2019-02-04 22:54:05 +00:00
image Bug 1524313 - ImageCacheKey should use the right method to check if a window is 3rd party, r=Ehsan 2019-01-31 17:51:58 +00:00
intl Bug 1524106 - Disconnect l10n root when destroying the document. r=smaug 2019-02-07 14:37:26 +00:00
ipc Merge inbound to mozilla-central. a=merge 2019-02-08 11:53:37 +02:00
js Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-08 12:11:54 +02:00
layout Bug 1466208 - part 14: Create PresShell::EventHandler::ComputeRootFrameToHandleEvent() r=smaug 2019-02-08 07:11:01 +00:00
media Backed out 2 changesets (bug 1492629) for suspicion of causing a rise in xpcshell intermittents. 2019-02-08 08:38:58 +02:00
memory Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
mfbt Bug 1507049 - Rename MOZ_CRASH_UNSAFE_OOL MOZ_CRASH_UNSAFE. r=froydnj 2019-02-03 00:09:37 -08:00
mobile Bug 1524857 - Part 2: Use display URI's base domain for domain highlighting. r=snorp 2019-02-07 19:21:45 +00:00
modules Bug 1525579 - Add pref for unboxed objects r=jandem 2019-02-07 11:29:52 +00:00
mozglue Bug 1525644 - Remove MSVC-enabled CFG flags r=dmajor 2019-02-06 11:44:56 -06:00
netwerk Bug 1516806 - Remove SPDY_VERSION2 telemetry probe. r=kershaw 2019-02-08 13:16:11 +00:00
nsprpub
other-licenses Bug 1523118 atk: Implement scrollsubstringto ATK API. r=surkov 2019-01-26 20:38:53 +01:00
parser Merge mozilla-inbound to mozilla-central. a=merge 2019-01-30 23:54:54 +02:00
python Bug 1525688 - Lazily import mozbuild.base in mozboot/util.py. r=ahal 2019-02-07 16:10:12 +00:00
security bug 1525386 - improvements to some tests so they don't break when certificates are regenerated r=jcj 2019-02-07 00:42:07 +00:00
services Bug 1525253 - Document how to unit test Remote Settings r=glasserc 2019-02-07 20:25:47 +00:00
servo Bug 1525371 - followup: fix rusttests to reopen the CLOSED TREE. 2019-02-07 11:38:57 +01:00
startupcache Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
storage Bug 1490496 - implement XPCOM FFI for key-value storage r=nika,lina,mossop 2019-02-07 16:14:04 +00:00
taskcluster Backed out 3 changesets (bug 1519472) for causing wrench bustages and as requested by pmoore. a=backout 2019-02-08 13:27:19 +02:00
testing Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-08 12:11:54 +02:00
third_party Bug 1490496 - implement XPCOM FFI for key-value storage r=nika,lina,mossop 2019-02-07 16:14:04 +00:00
toolkit Bug 1313327 - Add a C++ API for recording Telemetry Events. r=janerik 2019-02-08 11:35:01 +00:00
tools Bug 1509549 - Add "WebAssembly" to the list of globals that are present in JSMs. r=Standard8 2019-02-07 19:36:41 +00:00
uriloader Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
view Bug 1503745: Make widgets with empty bounds consistently hide themselves. r=karlt 2019-02-04 06:51:50 +00:00
widget Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-08 06:26:00 +02:00
xpcom Merge inbound to mozilla-central. a=merge 2019-02-08 11:53:37 +02:00
xpfe/appshell Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE 2019-01-29 10:03:06 +02:00
.arcconfig
.clang-format Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
.clang-format-ignore Bug 1508115 - Web Authentication - Support Windows Hello r=keeler,jcj,baku 2019-01-21 01:10:44 +00:00
.cron.yml Bug 1514087: [taskgraph] Add an option to not optimize target tasks in cron graphs; r=dustin 2018-12-26 14:43:34 +00:00
.eslintignore Bug 1508985 - Enable ESLint for dom/tests/browser (manual changes) r=Standard8,qdot 2019-01-22 21:26:02 +00:00
.eslintrc.js Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r=kats 2018-12-27 09:45:01 +00:00
.flake8 Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj 2019-01-11 16:01:15 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
.gitignore
.hg-annotate-ignore-revs Bug 1508324 - Generate list of past changesets to be skipped for blame. r=me NPOTB DONTBUILD 2018-12-27 18:08:25 -02:00
.hg-format-source
.hgignore
.hgtags No bug - Tagging mozilla-central 5d9c5aa981a5b824e6132c923c2f201b3fa49397 with FIREFOX_NIGHTLY_66_END a=release DONTBUILD CLOSED TREE 2019-01-28 04:56:31 -08:00
.lldbinit
.mailmap
.taskcluster.yml Bug 1524358 - get commit message locally, rather than from task parameters r=tomprince 2019-02-01 23:27:48 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
aclocal.m4 Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander 2019-01-14 18:37:06 +00:00
AUTHORS
build.gradle Bug 1524529 Update Play Services Cast to 16.0.0 r=VladBaicu 2019-02-04 12:44:13 +00:00
Cargo.lock Bug 1490496 - implement XPCOM FFI for key-value storage r=nika,lina,mossop 2019-02-07 16:14:04 +00:00
Cargo.toml Bug 1522614 - Patch cc-rs to handle aarch64 with clang-cl. r=froydnj 2019-02-05 21:43:16 +00:00
client.mk
client.py
CLOBBER
configure.in
configure.py Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander 2019-01-16 23:42:12 +00:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1518703 - Remove R_386_PC32 check. r=froydnj,ted 2019-01-10 00:07:53 +00:00
moz.build Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:49 +00:00
moz.configure Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
mozilla-config.h.in
old-configure.in Bug 1524142 - Ensure that MOZ_CRASHREPORTER is properly defined in Windows/AArch64 builds r=glandium 2019-02-01 22:27:19 +00:00
package-lock.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
package.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
README.txt
settings.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.