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

542959 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 9f1aec970a Bug 1374207 - part4: Element classes should use TextEditor class instead of nIEditor r=smaug
Unfortunately, nsGenericHTMLElement::GetAssociatedEditor() cannot use concrete classes because it may return nsIEditor which is set via nsIDocShell.editor.  The editor set to nsIDocShell may be implemented by JS since nsIEditor isn't marked as builtinclass.

MozReview-Commit-ID: 6GY9LOYp4hM

--HG--
extra : rebase_source : 3e0464067b30daf8254805458c5358d7ea644be8
2017-06-22 15:21:31 +09:00
Masayuki Nakano c5fbe1617e Bug 1374207 - part3: Editor classes should use concrete classes instead of nsI*Editor r=m_kato
HTMLEditor inherits some interface classes.  Therefore, CachedWeakPtr is confused at ambiguous conversion from HTMLEditor to nsISupports.  Therefore, this patch adds second parameter to the template class.

MozReview-Commit-ID: KGSYJHfp1L5

--HG--
extra : rebase_source : 7189372c4c06218c3040701196eac51ded85d3fa
2017-06-22 15:02:59 +09:00
Masayuki Nakano 583dafd5d4 Bug 1374207 - part2: TextComposition, IMEContentObserver and IMEStateManager should use EditorBase instead of nsIEditor r=m_kato
MozReview-Commit-ID: IdHmseTiv2t

--HG--
extra : rebase_source : b2f9f42dee97e1ba2cc081014d1696506088d375
2017-06-20 19:23:44 +09:00
Masayuki Nakano 7ad4ad3aab Bug 1374207 - part1: nsTextEditorState should use mozilla::TextEditor instead of editor interfaces r=smaug
Using concrete class rather than interface classes (nsI*Editor) will allow to reduce QI and some virtual calls.  Therefore, Editor classes should be used as concrete class as far as possible.

Unfortunately, if classes referring editor are initialized via scriptable interface, we cannot do this because nsI*Editor is still not marked as builtinclass.  Therefore, their editor may be implemented by JS.  E.g., inline nsIInlineSpellChecker.init() and nsIDocShell.editor.  Such remaining cases should be fixed after nsI*Editor classes are marked as builtinclass.

Note that this patch also creates nsIdentifierMapEntry.h which is separated from nsDocument.h because ShadowRoot.h needs the class but exposing nsDocument.h to the global and includes it causes bustage on Linux and Android.  Therefore, for fixing the include hell, this patch touches them and ContentChild.cpp.

MozReview-Commit-ID: i6fLWw6Qeo

--HG--
rename : dom/base/nsDocument.h => dom/base/nsIdentifierMapEntry.h
extra : rebase_source : c57bdfc1c13775acdcfd4732d8157d04d6b6613f
2017-06-20 22:57:08 +09:00
Emilio Cobos Álvarez 45787e3da4 servo: Merge #17443 - style: Don't use SmallVec::into_iter to move into another vector (from emilio:smallwat); r=SimonSapin
See bug 1374848 for why.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6b99318f552c1561392208efd9030d0b4a6f91d1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 27123c796e94135b62aae6b5669017cbdd5e3c49
2017-06-22 00:14:38 -07:00
Farmer Tseng fda77ae953 Bug 1369302 - Set the font name to "Unknown" while fDWriteFontFamily is null. r=mchang
MozReview-Commit-ID: 4TED3Gh56IW

--HG--
extra : rebase_source : 463ff52865c09b6ead15eb401b80083188b2ab9a
2017-06-22 16:10:12 +08:00
Austin Hicks 03ca41d5e8 servo: Merge #17419 - Windows can run WPT (from camlorn:master); r=jgraham
<!-- Please describe your changes on the following line: -->
This PR contains fixes that address the specific errors in #17392: WTP workarounds for Windows terminals (see #8313), modifications to `mach test --all` that allow `test_tidy` to be called properly, and modifications to the test harness for WPT that allow it to run when OpenSSL isn't found.  How to handle OpenSSL on Windows is probably a separate issue because it doesn't have a straightforward answer: we either need to provide specific instructions to users or bundle it in binary form ourselves.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17392  (github issue number if applicable).

<!-- Either: -->
- [x] These changes do not require tests because they fix test running.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 64782bc6e3b8882630137d2e76cff4b90839bf1a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dea4ce5f0f1777a3dfb3a442a63153ac9c31c2d8
2017-06-21 23:12:38 -07:00
Nico Grunbaum f24257104b Bug 1343515 - fixing video recv side jitter timebase;r=drno
MozReview-Commit-ID: Kax8OTcSnSL

--HG--
extra : rebase_source : 197786598a62e7657219f0cca11b6742c441b62d
2017-06-07 12:33:22 -07:00
Phil Ringnalda 0cbefa7f79 Merge m-c to autoland
MozReview-Commit-ID: J67ilIl6BtO
2017-06-21 23:36:06 -07:00
Phil Ringnalda 08e2f5187b Backed out 3 changesets (bug 1368072) for colliding with a new use of the thing it was renaming
Backed out changeset 1d7e008d7d70 (bug 1368072)
Backed out changeset c4a1ddf9be0d (bug 1368072)
Backed out changeset ba1cdae5a8d6 (bug 1368072)
2017-06-21 23:28:37 -07:00
Gregory Szorc 0cfaf67623 servo: Merge #17459 - Servo backout testing (from indygreg:backout-testing); r=Manishearth
We deployed the Servo VCS backout service recently and want to test it. The goal is to land this PR so it is replicated to the Firefox repo. Then we'll back out this PR from the Firefox repo, which should trigger a new PR against Servo to do the backout.

The changed code is not wrong. So if things don't go as planned, it shouldn't harm anyone.

Source-Repo: https://github.com/servo/servo
Source-Revision: e364f849b009d664012475396b927d354a5b7463

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f30d4b6a89cffd6018d7ea899b2f153e22025878
2017-06-21 22:13:25 -07:00
Wes Kocher aef6a66634 Backed out 4 changesets (bug 1343728) for failures in test_group_mouseevents.html a=backout
Backed out changeset 2029cb6bce86 (bug 1343728)
Backed out changeset 0169e09f6030 (bug 1343728)
Backed out changeset 831e95b29f66 (bug 1343728)
Backed out changeset d5630ef01b17 (bug 1343728)

MozReview-Commit-ID: 2RRBTmp5FGj

--HG--
extra : source : 14f84d3b3233a87af51f5ad8302ee24cc2371a01
2017-06-21 17:13:49 -07:00
Wes Kocher 834e060179 Backed out changeset 36d662fbab77 (bug 1350633) for failures in test_group_mouseevents.html a=backout
MozReview-Commit-ID: Gh9eflBppgq

--HG--
extra : source : 79c8da654a9301f57f4c9216eeb2ca1c76d58603
2017-06-21 17:12:20 -07:00
Wes Kocher 3902194bb4 Backed out changeset 44532a19e524 (bug 1374665) for test_group_mouseevents.html failures a=backout
MozReview-Commit-ID: BNCBrA8XhRV

--HG--
extra : source : cbeb4bc60daa798c60102102c15e51a5af94265a
2017-06-21 17:10:40 -07:00
Wes Kocher ac0fd2038c Merge inbound to m-c a=merge
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00
Mike Hommey 220b0bd806 Bug 1375271 - Add necessary DMG creation tools to the osx l10n mozconfigs. r=catlee,a=catlee DONTBUILD
Bug 1373150 made toolchain-related definitions go away for l10n builds,
but we still need those DMG-related tools for l10n repacks.
2017-06-22 08:58:18 +09:00
Wes Kocher 7f420b59d4 Merge autoland to central, a=merge
MozReview-Commit-ID: C4bl6Ufaiwv
2017-06-21 16:54:41 -07:00
Mike Hommey 79b2c7c3a4 Bug 1375271 - Add an explicit --target to osx l10n mozconfigs. r=catlee,a=catlee DONTBUILD
Before bug 1373150, the l10n mozconfigs would include
compilation-related mozconfigs, which include setting compiler paths,
and setting --target for cross builds. After bug 1373150, the
compilation-related mozconfigs are not included anymore, which made
--target unset for l10n builds, leaving it to configure to guess what it
is based on the host. Which for cross builds is Linux, so configure
would set things up for a linux build, which doesn't work to do osx
l10n repacks.

So we add back an explicit --target to those mozconfigs, without
including all the compilation-related things.

We set the target to x86_64-apple-darwin, which is the same as what was
set through build/macosx/cross-mozconfig.common. This is different from
what the native osx builds would get (x86_64-apple-darwin11.2.0), but
the extra version in that target is actually not relevant and native
builds shouldn't care that it's gone.
2017-06-22 07:26:41 +09:00
Wes Kocher ce488115ce Bug 1355368 - Update stylo expectation data a=bustage
MozReview-Commit-ID: Fw1mHpnbpkV
2017-06-21 13:00:50 -07:00
Boris Zbarsky 9dedd10909 Bug 1369321. Make sure to restyle from all our style roots when rebuilding all style data with stylo. r=bholley
MozReview-Commit-ID: 5pghPVb2UY1

--HG--
extra : rebase_source : 8c2e5c8be9e0dc7b00ee74c9b87498c9541191ef
2017-06-21 15:52:56 -04:00
Justin Wood 55e6255d1c Bug 1374422 - Fix devedition test pointer, from bitrot bustage. r=Callek (myself) a=Kwierso
MozReview-Commit-ID: GotT0cx89J7

--HG--
extra : amend_source : 54c6d70e4108c91cf8a6a0c90a69b10cb440e9bb
2017-06-21 14:27:03 -04:00
Justin Wood 914d3e869b Bug 1374422 - Enable OSX Cross Compiled Nightlies. r=kmoir
MozReview-Commit-ID: D6LYYSDtW9v

--HG--
extra : source : ce1d7934fb0aaa43bc43830bde6ed7dc66f4bef1
2017-06-21 12:49:05 -04:00
Makoto Kato 19d01399e6 Bug 1360162 - Don't call UpdateOverlayTextVisibility twice by input.value setter when input element has focus. r=masayuki
When editor has focus, input.value setter will call UpdateOverlayTextVisibility via nsTextInputListener::EditAction -> nsTextControlFrame::SetValueChanged at first.  But SetValue will call UpdateOverlayTextVisibility again via ValueWasChanged.

So it is unnecessary to call UpdateOverlayTextVisibility on nsTextEditorState::SetValue when we have the editor.

MozReview-Commit-ID: Hw3Bh64Euo6

--HG--
extra : rebase_source : f33132e668fff48230f79990802a3d7e23e85207
2017-06-21 13:10:58 +09:00
Phil Ringnalda 2b19da6e08 Backed out 2 changesets (bug 1357641) for Windows failures in browser_newtab_focus.js
Backed out changeset eb0d8a0d77e7 (bug 1357641)
Backed out changeset 9c86446d0a75 (bug 1357641)

MozReview-Commit-ID: 9PyFoOakveS
2017-06-21 22:05:23 -07:00
Phil Ringnalda 669f3cd603 Merge m-c to autoland
MozReview-Commit-ID: 2R3jZZI6drP
2017-06-21 20:39:08 -07:00
Chris AtLee c29d161654 Bug 1374422 - Enable OSX cross-compile builds as tier1 on mozilla-central. r=dustin
This patch enables OSX cross compiled jobs as tier 1, and additionally adds testing for OSX Nightlies via Taskcluster. Initially tested on the 'date' project branch primarily with Bug 1373384

MozReview-Commit-ID: 7nWfiSEDbJd

--HG--
extra : source : 68ff1aa745ff36119abde734ed313209b7730ea4
2017-06-19 16:47:11 -04:00
Justin Wood 6496099cec Bug 1373326 - unbreak decision task from beetmover addition, make sure repackage jobs have a 'build' dependency. r=dustin
MozReview-Commit-ID: Dlnb8gMqOEH

--HG--
extra : source : 9a062dfcb67090f14cb70f902e6fdf812f2a684d
2017-06-20 20:56:57 -04:00
Dan Minor 76c049c746 Bug 1373988 - Make webrtc-gtest build work with system jpeg and libvpx; r=glandium
MozReview-Commit-ID: 1x8v7G2fvlK

--HG--
extra : rebase_source : cf5475a104b95901cc66045e7f8a61d82f397980
2017-06-19 08:56:19 -04:00
Michael Layzell 5d8224bf06 Bug 1374665 - Stop parsing principals during GetPermissionsForKey, r=ehsan
MozReview-Commit-ID: 28BCIqA2Kf2
2017-06-21 14:23:18 -04:00
Michael Layzell f02a75cf86 Bug 1350633 - Remove the Msg_GetWidgetNativeData sync IPC, r=billm, r=jimm
MozReview-Commit-ID: Bql29wgVDZ5
2017-06-21 14:23:16 -04:00
Michael Layzell 746a415780 Bug 1343728 - Part 4: Remove the window creation sync IPC calls, r=billm, r=smaug
MozReview-Commit-ID: IWayDUWuRrf
2017-06-21 14:23:15 -04:00
Michael Layzell f6a1ba145d Bug 1343728 - Part 3: Add StableStateEventTarget, an event target which runs dispatched runnables at the next stable state, r=smaug
MozReview-Commit-ID: 8dlo5Z60qsG
2017-06-21 14:23:13 -04:00
Michael Layzell aafcf19442 Bug 1343728 - Part 2: Add const operator== to TextureFactoryIdentifier and CompositorOptions, r=jrmuizel
MozReview-Commit-ID: 6BayMmqNlyx
2017-06-21 14:23:11 -04:00
Michael Layzell e1e38ff7fb Bug 1343728 - Part 1: Add the ability to temporarially delay remote docshells from becoming active, r=smaug
MozReview-Commit-ID: KAaeu5ETc0x
2017-06-21 14:23:10 -04:00
Tobias Schneider 73616729d7 Bug 1363650 - (intersection-observer) Use content area as the intersection rectangle for custom root with overflow clip. r=mattwoodrow
--HG--
extra : rebase_source : f5f559903d704159a062d99fa43360a6222a3ee7
2017-06-21 10:40:44 -07:00
Nathan Froyd 622cba0919 Bug 1363655 - part 8 - check for the existence of a libclang bindgen will use; r=rillian
Ideally this check will alert people that something is wrong with their
configuration.  This check shouldn't normally be firing with our `mach
boostrap` setup, but if somebody chooses to install distribution
packages for some reason, this will at least prevent some problems.
2017-06-21 13:28:37 -04:00
Nathan Froyd 608a0616fe Bug 1363655 - part 7 - make stylo bindgen bits depend on a compile environment; r=rillian
People building without a compilation environment (artifact builds, l10n
builds) won't have a compiler available, let alone the bits to build
bindgen.  We should limit our checks for bindgen-y things accordingly.
2017-06-21 13:28:37 -04:00
Nathan Froyd 2382b9da09 Bug 1363655 - part 6 - remove the `stylo` configure function; r=rillian
After the previous set of patches, it's just a bloated wrapper for
bindgen_config_paths.
2017-06-21 13:28:37 -04:00
Nathan Froyd a230d5cae9 Bug 1363655 - part 5 - make things properly depend on stylo bindgen building; r=rillian
Prior to this patch, we had a not-so-great hack in place: the bit of
configure that determined bindgen config paths *and* the bit of
configure that returned various pieces of information about Stylo were
both guarded on --enable-stylo-build-bindgen.  We should really only
have one place that depends on --enable-stylo-build-bindgen, and this
patch puts us in a place to do that, by making bindgen_config_paths
properly use a when= argument to determine when it needs to run.

This commit makes the `stylo` function entirely redundant, and said
function will be removed in the next patch.
2017-06-21 13:28:37 -04:00
Nathan Froyd c0ebcb333b Bug 1363655 - part 4 - remove bindgen_enabled key from namespace returned from stylo; r=rillian
We can get this information directly from --enable-stylo-build-bindgen.
2017-06-21 13:28:37 -04:00
Nathan Froyd 70ed6d3da5 Bug 1363655 - part 3 - remove stylo.build key in favor of stylo_config.build; r=rillian
stylo.build is just a copy of stylo_config.build, so we should use the
former to limit the number of duplicate concepts we have.  Using
stylo_config consistently enables us to separate out what artifact
builds need vs. non-artifact builds.
2017-06-21 13:28:37 -04:00
Nathan Froyd 6acf66edca Bug 1363655 - part 2 - check for existence of paths returned by llvm-config; r=rillian
On some systems, llvm-config may be installed, but not the files to
which it needs to refer.  We should ensure that the values returned
actually make some sense.
2017-06-21 13:28:37 -04:00
Nathan Froyd dbd4e424b9 Bug 1363655 - part 1 - clarify the required values for stylo bindgen options; r=rillian
--with-libclang-path is supposed to be a directory, and
--with-clang-path is supposed to be a file, but it was easy to pass a
directory for the latter, and it was easy to misinterpret the
documentation for --with-libclang-path as pointing to one of the
libraries themselves.  Clearer documentation and additional checks
should help with this situation.
2017-06-21 13:28:37 -04:00
Nathan Froyd b28fcc5c4b Bug 1372670 - part 5 - add nsIThreadManager::spinEventLoopUntilEmpty; r=erahm,florian
A number of places in JS need to drain the current thread's event queue,
which cannot be done with nsIThreadManager::spinEventLoopUntil, since we
need to not wait for an incoming event when attempting to process one.
2017-06-21 12:59:28 -04:00
Nathan Froyd 452dc60022 Bug 1372670 - part 4 - use nsIThreadManager::dispatchToMainThread more from JS; r=florian
We did an automated conversion for many of these in another bug, but
these instances were either missed or have been added since then.
2017-06-21 12:59:28 -04:00
Nathan Froyd 27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Nathan Froyd 2c70f522cc Bug 1372670 - part 2 - remove nsIThreadManager::isMainThread; r=erahm
Nobody calls this from JS, and we have better ways to accomplish the
same task in C++
2017-06-21 12:59:28 -04:00
Nathan Froyd e6133920ca Bug 1372670 - part 1 - remove non-MOZILLA_INTERNAL_API NS_IsMainThread(); r=erahm
Everybody who cares about this function calls it from within libxul.
2017-06-21 12:59:28 -04:00
Mason Chang dafcabde79 Bug 1372441 - Enable replay of ClientPaintedLayers off the main thread. r=dvander 2017-06-20 13:35:39 -07:00
Lars T Hansen e111b5c88e Bug 1373663 - Establish non-oom precondition for patching. r=luke
--HG--
extra : rebase_source : af62b9d5264a6ea5458818167eb3c4ef4f8edf4a
2017-06-21 12:39:23 +02:00