Commit Graph

567285 Commits

Author SHA1 Message Date
Gregory Szorc
ca98388a83 Bug 1412356 - Don't invoke client.mk from root analysis builds; r=sfink
`mach configure` does the same thing as `make -f client.mk configure`.

While we're here, also change a `make` invocation to use `mach build`.

MozReview-Commit-ID: 4rgZN0dd0Jg

--HG--
extra : rebase_source : 7592814e56e896c299de7eacf4d126873629abfc
2017-10-27 10:12:24 -07:00
Gregory Szorc
a76f5a4c0b Bug 1412356 - Invoke mach build for multi locale builds; r=chmanchester
This should be functionally identical to `make -f client.mk`.

MozReview-Commit-ID: GfKHtezLBNL

--HG--
extra : rebase_source : e7965718b16d22055abdab2838e97cae63330ce9
2017-10-27 10:10:14 -07:00
Gregory Szorc
be33077ff5 Bug 1412356 - Don't invoke client.mk from mobile l10n automation; r=chmanchester
The old code was simply running configure and manually invoking some
make targets via client.mk. These can both be done via `mach`.

As part of the change, the build targets have been consolidated. There
is still an abstraction leak here. But at least we aren't using client.mk.

MozReview-Commit-ID: 7oMXPWPZS6V

--HG--
extra : rebase_source : 6d632dc086d79a17e577da66336c77003d963f67
2017-10-27 10:07:52 -07:00
Jared Wein
2fdc4b7cdf Bug 1410666 - Remove unused PanelUI-popup code. r=mconley
Original patch authored by Tim Nguyen (:ntim).

MozReview-Commit-ID: 6qQnRMQXPTH

--HG--
extra : rebase_source : f85e763cc130a71ba0f4bda228a874ebf65b84be
2017-10-31 14:38:15 -04:00
Ryan VanderMeulen
a090aa11cd Backed out changeset ee243422ed36 (bug 1413619) for test failures. 2017-11-01 17:29:10 -04:00
Kartikaya Gupta
3c38110bd3 Bug 1406217 - Fix computation of scrollframe's offset to the reference frame. r=mstange
We need to get the offset across documents boundaries, since the scrollframe
might be inside a subdocument. In such cases we were previously computing
a (incorrect) zero offset for the scrollframe, which was throwing off the
margin for the sticky items inside the scrollframe.

MozReview-Commit-ID: AWeQ9ay2cmp

--HG--
extra : rebase_source : 7dd8eda26c482cc359042d79073740524efa792a
2017-10-31 09:04:04 -04:00
Tom Prince
2e700bdb70 Bug 1413257: Allow disabling ffvpx's AVX2 support on linux64 for Thunderbird's buildbot; r=jya,rillian
MozReview-Commit-ID: 6USzO1GE7dJ

--HG--
extra : rebase_source : 936ee14b7a91470a9f9029b20748fbe6c8e55d15
2017-10-31 12:42:27 -06:00
Julian Descottes
9f1bc205e7 Bug 1413478 - Fix styling of snapshot delete button in memory tool;r=gregtatum
MozReview-Commit-ID: FbAWplGGR1

--HG--
extra : rebase_source : dec3dbb87a79296e71146fdea839b76cf2c883ce
2017-11-01 10:31:08 +01:00
alex
40f03f9f5e Bug 1393788 - Compress all JSDcov artifacts (.json files) into zip files after all tests are completed. r=gmierz,jmaher.
Building with "Linux x64 JSDCov", each suite of tests will produce a list of JSDCov artifacts (.json). This patch compresses all JSDCov artifacts into 1 zip file for each suite upon tests completion.
MozReview-Commit-ID: DaNLOQuW2lc

--HG--
extra : rebase_source : cceb912d0fe16f9921e1d13fe85d53af2abcb29c
2017-10-26 17:01:12 -04:00
Andreas Tolfsen
ea7bdb1cbb Bug 1410796 - Add basic evaluate.toJSON tests. r=whimboo
MozReview-Commit-ID: EvtsPhiq6sd

--HG--
extra : rebase_source : 8c6fcb49f9373c9a3be2567111f935a3c9d4b7c7
2017-10-31 20:02:07 +00:00
Andreas Tolfsen
20f23db957 Bug 1410796 - Test element retrieval from XHTML namespace. r=maja_zf
Finding elements in the XHTML namespace will fail unless
element.isDOMElement is fixed so that it does not look at a
particular namespaceURI.

It is worth noting that, generally, the WPT element retrieval tests
are pretty awful and the new tests don't exactly match the style of
the preceding tests.  This intended, because the other tests are bad.
This should be addessed individually.

MozReview-Commit-ID: 8I3VwhJirSb

--HG--
extra : rebase_source : 2de08ec68dbf8b4768708bdb733965634ac4feda
2017-10-31 20:01:53 +00:00
Andreas Tolfsen
34669663f4 Bug 1410796 - Add nodeType existence check. r=whimboo
If the node variable is an object that is not null, and nodeType is
not an own property of it, node.nodeType === node.ELEMENT_NODE might be
evaluated as undefined === undefined if ELEMENT_NODE is also missing.
This will pass the condition, which is an unintended consequence.

To remedy this, we first check that nodeType indeed exists on node
before proceding.

MozReview-Commit-ID: G0eaRvwm5mv

--HG--
extra : rebase_source : 8c08e0363f26095cf672d2b11699431b1fb4ef9f
2017-10-31 19:59:41 +00:00
Andreas Tolfsen
e944eb5cdb Bug 1410796 - Drop element.isSVGElement. r=whimboo
This drops the now-superfluous element.isSVGElement.  SVG elements
are matched with element.isDOMElement because there is no special
need to distinguish them from other elements, apart from chrome elements.

MozReview-Commit-ID: 3AgEtyaAsPU

--HG--
extra : rebase_source : 7ec52aa9a7b7404eff5b6daf8ebe8259f06265da
2017-10-31 19:57:40 +00:00
Andreas Tolfsen
b91e906a0c Bug 1410796 - element.isDOMElement to match any non-XUL element. r=whimboo
This patch makes element.isDOMElement match any non-XUL element,
meaning it will henceforth match both SVG elements as well as any
custom XML namespaced element.

In the bug 1410796, Marionette does find the element, but is unable
to add it to the known web element store.  This is a result of the
changes made in bug 1400256, where I introduced a set of functions
for element type recognition needed for determining which web
element abstraction to use for an element.

We use element.isDOMElement to distinguish content elements from chrome
elements, and this change consequently makes element.isSVGElement
superfluous.

MozReview-Commit-ID: AkEHm6zroKz

--HG--
extra : rebase_source : c6f101e12839241f60c8c1b3908df3a3e4a89a51
2017-10-31 19:55:49 +00:00
Nick Alexander
c1a631a475 Bug 1413332 - Make geckoview's BuildConfig under --with-gradle include computed values. r=maliu,snorp
There's already a secret dependency where
mobile/android/base/Makefile.in (and generated AppConstants.java)
depends on $topobjdir/buildid.h, so this shouldn't be much worse than
what we have.

MozReview-Commit-ID: 2hkAGE9uT10

--HG--
extra : rebase_source : 090b7a5f2063a4e0cc20252703e6575e6716448a
2017-10-31 14:29:39 -07:00
Tom Ritter
f9519e7a49 Bug 1412611 Reorder member initialization to fix -Wreorder warning in widget/windows/nsLookAndFeel.cpp r=njn
MozReview-Commit-ID: EJp1FqllORN

--HG--
extra : rebase_source : f7c8983f3ae7e1aae1a14fd7321ab1aae8b7ba04
2017-10-28 23:36:04 -05:00
Andrew McCreight
c74d67c7a6 Bug 1411416 - Don't leak nsOfflineCacheUpdateService::mAllowedDomains. r=mayhemer
MozReview-Commit-ID: D9Bq3NZYaO6
2017-10-25 09:55:02 -07:00
Jim Chen
db34ad5809 Bug 1412872 - 8. Remove GeckoAppShell dependency in gecko-view; r=snorp
In the future, GeckoAppShell will only be part of the service process
library, and will not be part of the app process library. Therefore, we
should minimize GeckoAppShell usage in any GeckoView code that will
likely end up in the app process library.

In particular, AndroidGamepadManager and Clipboard are made to accept
Context as arguments, instead of using
GeckoAppShell.getApplicationContext() for getting the Context.

MozReview-Commit-ID: G9SC815H5Ku
2017-11-01 14:54:04 -04:00
Jim Chen
843d67f245 Bug 1412872 - 7. Move background events to GeckoApplication; r=nechen
Move the "Bookmark:Insert" and "Image:SetAs" events from GeckoApp to
GeckoApplication. These events are global to the application, and they
operate on the background thread, which will no longer be an option for
the GeckoView event dispatcher.

MozReview-Commit-ID: 8kesv8sJ8At
2017-11-01 14:54:04 -04:00
Jim Chen
e6d6cbb51a Bug 1412872 - 6. Remove default prompt delegate support; r=snorp
Remove support for a default prompt delegate in GeckoView. Instead, all
prompts without a known window will go to the active GeckoView if
available.

MozReview-Commit-ID: C62V6jtgDCl
2017-11-01 14:54:03 -04:00
Jim Chen
e8b3470987 Bug 1412872 - 5. Move GeckoAccessibility out of gecko-view; r=snorp
Move GeckoAccessibility out of gecko-view and into gecko-browser.
GeckoAccessibility as-is is currently only good for Fennec and is not
suitable for generic GeckoView use.

MozReview-Commit-ID: Fek8fLJNC6F

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAccessibility.java => mobile/android/base/java/org/mozilla/gecko/GeckoAccessibility.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/WriteData.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/WriteData.java
2017-11-01 14:54:03 -04:00
Jim Chen
7496680254 Bug 1412872 - 4. Handle negate scroll pref in native code; r=rbarker
Handle the negate_wheel_scroll pref in native code so we don't depend on
PrefsHelper in NativePanZoomController.

MozReview-Commit-ID: 14YCcrDlObz
2017-11-01 14:54:03 -04:00
Jim Chen
453375471c Bug 1412872 - 3. Remove native GeckoView loadUri call; r=snorp
Remove the native GeckoView loadUri call because it's Fennec-only.
Replace the call with a Fennec-only "Tab:OpenUri" event.

MozReview-Commit-ID: 7xZW9aceoPL
2017-11-01 14:54:03 -04:00
Jim Chen
08bc532bbe Bug 1412872 - 2. Implement Parcelable for GeckoViewSettings; r=snorp
Make GeckoViewSettings implement Parcelable so we can serialize it to
save settings.

MozReview-Commit-ID: HoxqbewtJko
2017-11-01 14:54:02 -04:00
Jim Chen
78a5bdee25 Bug 1412872 - 1. Implement Parcelable for GeckoBundle; r=snorp
Implement Parcelable interface for GeckoBundle so it can be marshalled
across processes over Bundle, AIDL, etc. Also, add a stub for a
`GeckoBundle.put` method that suggests alternatives to use.

MozReview-Commit-ID: IArNL7LYUPZ
2017-11-01 14:54:02 -04:00
Jim Chen
adad54189b Bug 1406168 - 5. Fix build; r=snorp
Removing the previous cpp files moved AndroidBridge.cpp to a different
compilation unit, and that caused some problems with other code that
depended on AndroidBridge being in or not in their compilation unit.
This patch fixes those (unwanted) dependencies.

MozReview-Commit-ID: DJsk3iENsx2
2017-11-01 14:48:49 -04:00
Jim Chen
984efaf88e Bug 1406168 - 4. Remove unused code; r=snorp
Remove AndroidJNI.cpp, which is empty. Also remove some JNI string
functions that are unused from AndroidBridge.

MozReview-Commit-ID: CsP4L0TyN48
2017-11-01 14:48:48 -04:00
Jim Chen
5f70c0bf46 Bug 1406168 - 3. Remove AndroidJavaWrappers; r=snorp
Remove AndroidJavaWrappers. Convert nsJNIString usages to use
jni::String and AndroidMotionEvent usages to use java::sdk::MotionEvent.
Move key code constants to GeckoEditableSupport.cpp.

MozReview-Commit-ID: CwcGGADWCNv
2017-11-01 14:48:48 -04:00
Jim Chen
ec08814aaa Bug 1406168 - 2. Remove AndroidJNIWrapper; r=snorp
Remove AndroidJNIWrapper. It was primarily used by JNI.jsm and WebRTC.
Usages in WebRTC are replaced with equivalent uses of JNI templates.

MozReview-Commit-ID: DPSeMOtH2wF
2017-11-01 14:48:48 -04:00
Jim Chen
d19eceacd5 Bug 1406168 - 1. Remove JNI.jsm; r=sebastian
Remove JNI.jsm. Convert code that used JNI.jsm to the equivalent using
EventDispatcher.

MozReview-Commit-ID: JQdCubcTBAR
2017-11-01 14:48:48 -04:00
Matt Howell
fd96b7623b Bug 1413295 - Use BrandShortName as the title for new shortcuts, and rename existing shortcuts our installer created. r=rstrong
MozReview-Commit-ID: K4YvG5DZgqb

--HG--
extra : source : 324e11f297d7e4ced78f3402792e5fdcdf2abac1
2017-10-31 12:18:25 -07:00
Jeff Muizelaar
4250e26d21 Bug 1413629. Don't require a PresContext to apply a clip. r=mstange
The only thing we use the PresContext for is the app units. I'd rather not
worry about keeping around a PresContext for the webrender display item
grouping.
2017-11-01 14:37:59 -04:00
Dylan Roeh
8979799047 Bug 1412301 - Decrease save delay to ensure PWA manifests are actually written to disk before a user tries to run one. r=snorp 2017-11-01 10:17:36 -05:00
Nathan Froyd
1fbcc23e45 Bug 1413538 - remove unused FILES_PER_UNIFIED_FILE from root moz.build; r=chmanchester
This value isn't actually used.
2017-11-01 13:50:00 -04:00
Andrew Osmond
2e03149cc0 Backed out changeset d84ea38d6fd0 (bug 1399453) because the annotations are no longer needed. 2017-11-01 13:34:43 -04:00
Ben Kelly
814922898d Bug 1413606 P2 Add IPC actor structure and boilerplate. r=baku 2017-11-01 13:19:38 -04:00
Ben Kelly
072e50166a Bug 1413606 P1 Add ClientThing base class. r=baku 2017-11-01 13:19:37 -04:00
Ben Kelly
e606f865f0 Bug 1413604 Add a ref-counted WorkerHolderToken() class. r=baku 2017-11-01 13:19:37 -04:00
Brian Hackett
424fabb10b Bug 1411947 - Move OffThreadState from per-context to global JS shell state, r=jandem. 2017-11-01 09:59:13 -06:00
Brian Hackett
bd8854975b Bug 1402595 - Don't wait on cooperative thread cvar after marking the current thread as having finished, r=jandem. 2017-11-01 09:56:59 -06:00
Brian Hackett
4b36b816ed Bug 1412298 - Wait for cooperative threads before worker threads when shutting down the JS shell, r=jandem. 2017-11-01 09:53:51 -06:00
Phil Ringnalda
b12e853fb0 Bug 1400280 - Mark OS X tests on nightlies and devedition builds as tier-1, r=kmoir
MozReview-Commit-ID: 9pgbbBCZxFq
2017-10-31 22:44:44 -07:00
Jon Coppeard
9494cdda2f Bug 1412912 - Remove unnecessary includes in jsgc.h and remove inclusion of jsgc.h from Statistics.h r=sfink 2017-11-01 15:37:56 +00:00
Jon Coppeard
e8e8567a8a Bug 1412912 - Move a few more things to GCInternals.h r=sfink 2017-11-01 15:37:55 +00:00
Jon Coppeard
39d701f4e9 Bug 1412912 - Move *Forwarded and related APIs to Marking.h r=sfink 2017-11-01 15:37:55 +00:00
Jon Coppeard
051712eac9 Bug 1412912 - Split out RelocationOverlay into its own header r=sfink 2017-11-01 15:37:55 +00:00
Jon Coppeard
702f7a530a Bug 1412912 - Move ParicipatesInCC struct to Marking.cpp r=sfink 2017-11-01 15:37:55 +00:00
Jon Coppeard
d25a74564b Bug 1412912 - Split out internal iterator classes into Iteration-inl.h r=sfink 2017-11-01 15:37:54 +00:00
Jon Coppeard
07bd87103d Bug 1412912 - Split out interal enums into GCEnums.h r=sfink 2017-11-01 15:37:54 +00:00
Jon Coppeard
b889aa465d Bug 1412912 - Split out JSObject alloc kind helper functions into ObjectKind-inl.h r=sfink 2017-11-01 15:37:47 +00:00