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

567128 Коммитов

Автор SHA1 Сообщение Дата
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
Jon Coppeard eee897b0f9 Bug 1412912 - Split out AllocKinds.h and inline definitions in ArenaList.h r=sfink 2017-11-01 15:36:54 +00:00
Nika Layzell 76606ba919 Bug 1401379 - Part 7: Make nsBrowserStatusFilter cycle collected, r=smaug
MozReview-Commit-ID: AsyFAgKJkxq
2017-11-01 11:06:35 -04:00
Nika Layzell c2a989268d Bug 1401379 - Part 6: Cycle collect nsWebBrowser, r=smaug
MozReview-Commit-ID: 1hteVsTlTvd
2017-11-01 11:06:33 -04:00
Nika Layzell 0c0337bf6a Bug 1401379 - Part 5: Don't check for a docshell to determine if a window is alive, r=smaug
MozReview-Commit-ID: 8Ze3KrgpaTQ
2017-11-01 11:06:31 -04:00
Nika Layzell f4dfb6a969 Bug 1401379 - Part 4: Be consistent with nsDocLoader's canonical ISupports, r=smaug
MozReview-Commit-ID: 5rBfa1LcESd
2017-11-01 11:06:30 -04:00
Nika Layzell e98b869584 Bug 1401379 - Part 3: Make nsGlobalWindow's reference to nsDocShell strong, r=smaug
MozReview-Commit-ID: DxCjgWGRR0G
2017-11-01 11:06:28 -04:00
Nika Layzell b5701b1266 Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
MozReview-Commit-ID: 3j9jfLv7MO2
2017-11-01 11:06:26 -04:00
Nika Layzell a864cbc340 Bug 1401379 - Part 1: Make nsDocShell and nsDocLoader cycle collected, r=smaug
MozReview-Commit-ID: Bui924n8Kvn
2017-11-01 11:06:24 -04:00
Nathan Froyd 31d3fb6793 Bug 1413232 - move the default value for FILES_PER_UNIFIED_FILE to a more logical location; r=nalexander
Putting it in emitter.py increases the obviousness of its default value
when searching for things.
2017-11-01 10:16:39 -04:00
Ted Mielczarek cb2b9afefe bug 1384557 - fix flake8 lint errors
MozReview-Commit-ID: 8dgZdOkAZ56

--HG--
extra : rebase_source : 6d4f937190c7312b3482d994ada31fa6ff5d2fac
2017-11-01 10:03:08 -04:00
Jan de Mooij 605e92f196 Bug 1083482 part 3 - Fix browser_webconsole_bug_632347_iterators_generators.js to not use legacy generators. r=arai 2017-11-01 15:01:08 +01:00
Jan de Mooij 55162d706b Bug 1083482 part 2 - Fix/remove shell tests that used legacy generators. r=arai 2017-11-01 10:53:20 +01:00
Jan de Mooij b4503bfe8c Bug 1083482 part 1 - Remove SpiderMonkey support for legacy generators. r=arai 2017-11-01 10:48:10 +01:00
Ted Mielczarek 54b6236e29 bug 1384557 - move _DEPEND_CFLAGS+CL_INCLUDES_PREFIX to toolchain.configure, ignore {CC,CXX}_WRAPPER when using sccache r=glandium
Currently mozconfig.cache overrides a few build options for sccache. This
patch moves them into toolchain.configure so that the build system will
set them properly when sccache is in use. Additionally, {CC,CXX}_WRAPPER
are set in config.mk, so just avoid setting them when sccache is in use.

MozReview-Commit-ID: FYlVKRI8OiN

--HG--
extra : rebase_source : 00715beb5fbd2c11311dec43809bd1febab56a11
extra : intermediate-source : 0f2b1b75b83737378d882a3c3e0d8dfb4efecd1f
extra : source : a8032ae9cb2ad1c4574c6ac6f5c2778863cd71e0
2017-01-10 16:52:27 -05:00
Tooru Fujisawa 74722701b4 Bug 1412283 - Remove navigator.mozE10sEnabled r=billm 2017-11-01 22:45:17 +09:00
Csoregi Natalia b0832d7215 Backed out changeset fbf84e79c44c (bug 1376891) for bustage CycleCollectedJSRuntime.h:254 r=backout on a CLOSED TREE 2017-11-01 15:32:09 +02:00
Jan de Mooij 2e1447501d Bug 1412654 - Only allow cloning normal functions in CloneFunctionObject. r=evilpie 2017-11-01 13:49:07 +01:00
Chia-Hung Duan 778619638a Bug 1376891 - Support idle runnable for nursery collection. r=jonco, r=smaug 2017-10-30 18:07:42 +08:00