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
Перейти к файлу
Kartikaya Gupta 48a5a4c393 Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm
This patch prevents the Windows widget code from dispatching the contextmenu
event if APZ is handling touch input. Instead, the APZ code processes the
raw touch input, and will fire a contextmenu event when the user lifts their
finger after a long-press action, in keeping with the Windows platform
convention. Doing it this way also allows us to respect web conventions where
the web content can prevent the contextmenu event from firing by calling
preventDefault on the touchstart event; this was not possible when dispatching
the contextmenu event directly from the widget code.

This also makes long-pressing on browser chrome components work properly, as
it just shifts the point in time that the contextmenu event is fired without
changing any of the code that triggers the XUL popup. However, some changes
were needed to have the widget code ignore the synthetic mouse events that
the Windows platform sends us, because those would otherwise immediately
dismiss the contextmenu popup after it appeared.

MozReview-Commit-ID: 9HFZLC6xUAi

--HG--
extra : rebase_source : aea932d9f95454c585bcdf962d151c946b5c6ec2
2016-08-30 17:32:08 -04:00
accessible Merge inbound to m-c. a=merge 2016-08-30 09:52:55 -04:00
addon-sdk Bug 1298812 Don't hold windows alive unnecessarily in window-utils.js. r=gabor 2016-08-31 06:48:01 -07:00
b2g Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp 2016-08-31 19:28:29 -04:00
browser Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
build Backed out changeset 0d714827d06c for causing local build failures on Android (bug 1292674) 2016-09-01 13:34:01 -04:00
caps Bug 1298664 - Indentation fix in nsPrincipal::SubsumesInternal, r=smaug 2016-08-29 05:26:41 +02:00
chrome Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
config Bug 1298466 - avoid some spammy warnings for ICU when compiling with clang-cl; r=ted.mielczarek 2016-08-25 17:13:51 -04:00
db/sqlite3 Bug 1293367 - Upgrade to SQLite 3.14.1. r=asuth 2016-08-18 22:02:22 -04:00
devtools Bug 1294489 - Split directory into two manifests for better chunking, r=jlongster 2016-09-01 12:06:54 -07:00
docshell Backed out changeset 125b052639cb (bug 1241867) for assertion in test_contentViewer_overrideDPPX.html. r=backout 2016-08-28 00:46:39 +02:00
dom Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm 2016-08-30 17:32:08 -04:00
editor Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug 2016-08-31 20:38:50 +03:00
embedding Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
extensions Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
gfx Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm 2016-08-30 17:32:08 -04:00
gradle/wrapper Bug 1263390 - Use Gradle 2.10 and Android Gradle plugin 2.0. r=mcomella 2016-04-19 20:01:38 +02:00
hal Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
image Bug 725119 - fuzz for reftests with Skia content on Android. r=mchang 2016-08-31 15:53:33 -04:00
intl Bug 1295053 (part 6) - Don't use NS_METHOD for intl/uconv/ functions. r=froydnj. 2016-08-16 12:12:29 +10:00
ipc Backed out changeset 0f53bc1a9aea (bug 1290619) a=merge 2016-08-29 17:40:59 -07:00
js Bug 1297706 - Syntax parse with statements. r=jandem 2016-09-01 13:55:58 +02:00
layout Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
media Backed out 3 changesets (bug 1286041) for crashtest failures. 2016-08-29 17:05:33 -04:00
memory Bug 1291356 - Enable multiple jemalloc arenas for MOZ_STYLO builds. r=me 2016-08-26 20:21:48 +09:00
mfbt Bug 525063 - add attribute to mark functions that initialize member variables for their parent class, in order to be scanned by clang-plugin static analysis. r=froydnj 2016-08-30 10:07:03 +03:00
mobile Bug 1294438 - Do not store metadata for private tabs r=sebastian 2016-08-31 23:02:23 -07:00
modules Merge inbound to m-c a=merge 2016-08-29 17:40:50 -07:00
mozglue Bug 1297807 - Remove old JNI stubs; r=snorp 2016-08-26 12:26:46 -04:00
netwerk Merge autoland to m-c. a=merge 2016-08-31 09:52:43 -04:00
nsprpub Bug 1293329, land NSPR_4_13_BETA2, r=ted 2016-08-27 11:06:04 +02:00
other-licenses Bug 1296449, statically link mbsdiff.exe, like we do for mar.exe r=glandium 2016-08-22 16:59:33 +12:00
parser Bug 1297659 - Indentation fix in nsHTMLEntities.cpp. r=hsivonen 2016-08-26 14:31:34 +02:00
probes Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
python Bug 1299618 - [mozlint] Encode results to utf-8 before printing to stdout, r=smacleod 2016-08-31 17:18:52 -04:00
rdf bug 778777 - kill off most of rdf/tests/ irc-r=ted 2016-08-18 09:23:24 -04:00
release/docker Bug 1294040 - Funsize should accept downloads from https://archive.mozilla.org r=philor a=automation DONTBUILD 2016-08-10 09:44:36 -04:00
security Bug 1296266 - Land NSS_3_27_BETA2, r=me 2016-08-30 07:58:30 +02:00
services Merge m-c to autoland. a=merge 2016-09-01 12:17:16 -04:00
startupcache Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
storage Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
taskcluster Bug 1292762 - Set GRADLE_USER_HOME to avoid sdk-manager-plugin intermittent. r=sebastian 2016-08-31 11:38:13 -07:00
testing Bug 1299871 - Increase leak threshold on OS X to paper over increased layers leak. r=erahm 2016-09-01 11:04:09 -07:00
toolkit Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
tools Bug 1299540 - Fix WindowsError when running eslint from msys, r=smacleod 2016-08-31 14:32:44 -04:00
uriloader Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04:00
view Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange. 2016-08-19 09:03:04 +10:00
widget Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm 2016-08-30 17:32:08 -04:00
xpcom Bug 1295747 - Use CheckedInt in size calculation. r=froydnj 2016-08-30 10:43:27 -07:00
xpfe Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange. 2016-08-19 09:03:17 +10:00
.clang-format
.clang-format-ignore
.eslintignore Bug 1298559 - Enable eslint for /browser/base/content/test/ r=mattn 2016-08-31 12:53:24 -04:00
.eslintrc Bug 1245916: Unify eslint global discovery rules. r=pbrosset 2016-02-05 11:37:50 -08:00
.flake8 Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r=maja_zf 2016-06-29 10:37:27 -04:00
.gdbinit bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gdbinit_python bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gitignore Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins 2016-07-26 12:35:42 -04:00
.hgignore Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins 2016-07-26 12:35:42 -04:00
.hgtags No bug - Tagging mozilla-central 465d150bc8be5bbf9f02a8607d4552b6a5e1697c with FIREFOX_AURORA_50_BASE a=release DONTBUILD CLOSED TREE 2016-08-01 07:05:25 -07:00
.lldbinit Bug 1254128 - Make the Mozilla .lldbinit use the full path for topsrcdir. r=sparky 2016-03-01 16:36:08 +00:00
.taskcluster.yml Bug 1298455 - Tag and use decision image 0.1.5; r=dustin 2016-08-26 11:10:30 -07:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
AUTHORS
Android.mk
CLOBBER Bug 1299276 - Add a separate --enable-stylo option to control MOZ_STYLO separate from the linkage effects of --with-servo. r=froydnj 2016-08-30 17:52:41 -07:00
GNUmakefile
LEGAL
LICENSE
Makefile.in bug 1262337 - add symbols for test plugins to symbols zip on Windows. r=gps 2016-08-22 06:42:59 -04:00
README.txt
aclocal.m4 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
build.gradle Bug 1268453 - Use Android Gradle plugin 2.1. r=mcomella 2016-04-29 14:48:43 +02:00
client.mk Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
client.py
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1296503 - Switch config.status to unicode literals. r=ted 2016-08-24 07:32:52 +09:00
gradle.properties
gradlew
mach Bug 1279020 - [mach] Follow symlinked mach binary when searching for a srcdir, r=gps 2016-06-09 17:20:02 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
moz.configure Bug 1294803 - Move MOZ_SYSTEM_FFI to moz.configure in preparation for moving libffi to our build system. r=glandium 2016-08-22 15:07:07 -07:00
mozilla-config.h.in Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps 2015-12-15 08:06:11 +09:00
old-configure.in Backed out changeset 0d714827d06c for causing local build failures on Android (bug 1292674) 2016-09-01 13:34:01 -04:00
settings.gradle Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella 2016-02-17 19:25:54 -08:00
test.mozbuild Bug 1229233 - Add a (incomplete) end-to-end build test. r=gps 2015-12-01 13:57:52 +09:00

README.txt

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:

    http://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:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://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 http://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.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    http://nightly.mozilla.org/