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

497217 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen 34ec3f2d7d Bug 1307816 - 8. Sync shadow text to current text; r=esawin
Sync the shadow text to the current text when the selection or text
changes on the Gecko side, provided we are not in batch mode and if we
don't have pending actions. Otherwise, remember the skipped sync and
re-sync when we exit batch mode and/or finish all pending actions.
2016-10-25 12:28:53 -04:00
Jim Chen d79992b10f Bug 1307816 - 7. Flush text before sending focus event; r=esawin
We used to flush the Java side text upon receiving the acknowledge-focus
event, at which point the Java side is waiting on the Gecko side.
Because of the async IME refactoring, we can no longer wait on the Java
side, so we have to flush the text early, before sending the first focus
notification. Also, the acknowledge-focus event is no longer needed as a
result.

Our call to InputMethodManager to restart input also has to changed due
to the change in calling sequence between notifyIME and
notifyIMEContext.
2016-10-25 12:28:53 -04:00
Jim Chen 336c81d4d5 Bug 1307816 - 6. Remove ActionQueue and switch to AsyncText; r=esawin
Due to async IME refactoring, we no longer need the blocking mechanism
in ActionQueue. As a result of the simplified code, we can remove
ActionQueue entirely and move its code to under GeckoEditable.
ActionQueue.offer() is now icOfferAction().

This patch also makes mText an instance of AsyncText, and change all
accesses to mText to reflect the new async interface, i.e. accesses on
the Gecko thread go through getCurrentText() and the current*** methods,
and accesses on the IC thread go through getShadowText() and the
shadow*** methods.
2016-10-25 12:28:53 -04:00
Jim Chen ecc67bcfe8 Bug 1307816 - 5. Add AsyncText class for handling asynchronous text editing; r=esawin
AsyncText keeps two copies of the text - the current copy on the Gecko
thread that is the authoritative version of the text, and the shadow
copy on the IC thread that reflects what we think the current text is.

When editing the text on the IC thread, the shadow copy is modified
directly, and then the modification is sent to the Gecko thread, which
modifies the current copy concurrently. Depending on what Gecko does to
the text, the current copy may diverge from the shadow copy, but
periodically, the shadow copy is synced to the current copy through
AsyncText.syncShadowText() to make the two copies identical again.
2016-10-25 12:28:53 -04:00
Jim Chen 9dc213e960 Bug 1307816 - 4. Stop sending separate composition updates; r=esawin
As part of async IME refactoring, we will no longer send composition
updates separately. Instead, composition updates will be integrated into
the set-span and remove-span events, similar to what we already do for
replace-text events.
2016-10-25 12:28:53 -04:00
Jim Chen 1ee888a6b6 Bug 1307816 - 3. Don't implement GeckoEditableListener in GeckoEditable; r=esawin
GeckoEditable implemented GeckoEditableListener because GeckoAppShell
called its methods through GeckoEditableListener, but now we use JNI to
call GeckoEditable methods directly, so GeckoEditable no longer has to
implement GeckoEditableListener.

This change also lets us simplify GeckoEditableListener by making
onTextChange and onSelectionChange no longer have any parameters.
2016-10-25 12:28:53 -04:00
Jim Chen 8ad0835dc6 Bug 1307816 - 2. Make clearSpans call go through Gekco; r=esawin
Currently, clearSpans calls are carried out immediately, but that makes
it out of order in relation to other calls, which have to go through
Gecko. This patch fixes this issue.
2016-10-25 12:28:53 -04:00
Jim Chen db7d4844ae Bug 1307816 - 1. Remove legacy IME code; r=esawin
Remove the event listener in GeckoEditable that was used for old text
selection code. It's no longer relevant for the new accessible carets
code.
2016-10-25 12:28:52 -04:00
Andrea Marchesini 909b97a385 Bug 1312705 - Update ExtendableMessageEvent to the latest version of the spec, r=smaug 2016-10-25 18:23:06 +02:00
Andrea Marchesini 9d5c3d64e8 Bug 1312705 - Update ServiceWorkerMessageEvent to the latest version of the spec, r=smaug 2016-10-25 18:22:46 +02:00
Andrea Marchesini 2304607a62 Bug 1307566 - Timeout increased for test_subworkers_suspended.html, r=bkelly 2016-10-25 18:21:34 +02:00
Aryeh Gregor 3ef60e5be3 Bug 1299838 - Add bug numbers to some wpt failures; r=test-only
Now syntax-checked *correctly*!

MozReview-Commit-ID: GAFOXF7x30E
2016-10-25 18:27:21 +03:00
David Major 82e5a56a88 Bug 1311211: Disable -Gw optimization when building for ASan on Windows. r=glandium 2016-10-25 10:04:35 -05:00
Geoff Brown 08bbef87dc Bug 1311412 - Try restarting emulator without -gpu if first attempt fails; r=jmaher 2016-10-25 08:53:34 -06:00
Geoff Brown 988f3eff4d Bug 1312552 - Better chunking support for TC Windows; r=grenade 2016-10-25 08:53:32 -06:00
Geoff Brown 3bab85a102 Bug 1311528 - Do not report java-exception on "FATAL EXCEPTION"; r=jmaher 2016-10-25 08:53:31 -06:00
Sander Mathijs van Veen 0a2bb26222 Bug 1310418 - Fix Assertion failure: this->is<MIRType>(), at js/src/jit/MIR.h:891 r=nbp 2016-10-25 16:52:53 +02:00
Xidorn Quan 1fa27577d0 Bug 1310123 - Move values of static constants in nsStyleStruct to the header. r=mats
MozReview-Commit-ID: J5Fp0iAEnkg

--HG--
extra : rebase_source : b8366ff6b14493f53c0aa8880850adcad7495983
2016-10-25 17:25:10 +11:00
Karl Tomlinson 38d111e1e2 bug 1312658 annotate 1174332-1.html failure since outline -moz-focusring from bug 582951 r=dao a=KWierso
MozReview-Commit-ID: FVbioOcc1Im

--HG--
extra : amend_source : 0c170fe75d61d11944827334c6a07a951090b2ff
extra : transplant_source : vI%CDlF%7C%E9%7B%0F%7F%3D%01%A6%5B%A2%1A4%0F%E4%B0
2016-10-25 18:42:26 +13:00
Carsten "Tomcat" Book 217631aa6d Backed out changeset 228cc133fe6b (bug 1198381) for causing increased number of hangs in navigate() in marionette tests 2016-10-25 12:34:22 +02:00
Carsten "Tomcat" Book 2b410144bf Backed out changeset 24839edcf0ef (bug 1198381) 2016-10-25 12:33:00 +02:00
Carsten "Tomcat" Book 06858c2f4d Backed out changeset ffaf3d371130 (bug 1198381) 2016-10-25 12:32:58 +02:00
Carsten "Tomcat" Book e42af6918c Backed out changeset 333a899fb5e6 (bug 1198381) 2016-10-25 12:32:56 +02:00
Carsten "Tomcat" Book 1895ce466b Backed out changeset eb2606332cb8 (bug 1198381) 2016-10-25 12:32:54 +02:00
Carsten "Tomcat" Book 26626464f0 Backed out changeset 377601350abc (bug 1198381) 2016-10-25 12:32:52 +02:00
Carsten "Tomcat" Book 49defcd6fc Backed out changeset 005f4ce1bf67 (bug 1304004) because of developers request from whimboo 2016-10-25 11:47:14 +02:00
Carsten "Tomcat" Book 59a29b8b1c merge mozilla-inbound to mozilla-central a=merge 2016-10-25 10:31:03 +02:00
Carsten "Tomcat" Book 68791df42a merge fx-team to mozilla-central a=merge 2016-10-25 10:28:08 +02:00
Eric Rahm c15406fea3 Bug 1312143 - Delete toolkit/obsolete. r=John-Galt
This removes the obsolete toolkit directory. A few references to dialogOverlay
have been updated to just used <dialog> directly. The InlineSpellCheckerUI var
has also been moved directly to browser.js and defined as lazy getter.

MozReview-Commit-ID: JZfi0W2wqCL
2016-10-24 18:23:24 -07:00
Sotaro Ikeda a514bb26e8 Bug 1310405 - Set DXGIYCbCrTexture YUVColorSpace to BT601 r=mattwoodrow 2016-10-24 18:17:39 -07:00
philipp 744a810ccf Bug 1299520 - Add more affected AMD driver versions to d3d11 dxva blacklist. r=gerald 2016-10-24 17:00:54 -07:00
Wes Kocher 951194ee45 Backed out 6 changesets (bug 1299435) for windows reftest failures a=backout
Backed out changeset 0d587a1cab8f (bug 1299435)
Backed out changeset 3ab9d3cb13aa (bug 1299435)
Backed out changeset 1ed742f88f49 (bug 1299435)
Backed out changeset 51ad497c7ac2 (bug 1299435)
Backed out changeset 06ca6acef0a2 (bug 1299435)
Backed out changeset ebd4625e101a (bug 1299435)

--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.inc => gfx/skia/skia/src/animator/SkCondensedDebug.cpp
rename : gfx/skia/skia/src/animator/SkCondensedRelease.inc => gfx/skia/skia/src/animator/SkCondensedRelease.cpp
2016-10-24 16:45:46 -07:00
Xidorn Quan a899c1a9ac Bug 1312338 part 2 - Use nsACString to pass string parameters in binding functions. r=manishearth
MozReview-Commit-ID: BRKZBQJCrMQ

--HG--
extra : source : c0a7498ea402f1db4aca1c05508f577bacf21f0c
2016-10-25 10:19:45 +11:00
Xidorn Quan 78bf314c48 Bug 1312338 part 1 - Add as_str_unchecked() to nsACString. r=mystor
MozReview-Commit-ID: 8FwxFGtnhjp

--HG--
extra : source : d91104ea4dd66d39f1d9a00eff3a2027f6870176
2016-10-25 10:19:45 +11:00
Lee Salzman e7bb8b8512 Bug 1299435 - followup - fix Android fuzz for Skia m55. r=me 2016-10-24 17:01:26 -04:00
Andrzej Hunt 19f83cb748 Bug 1300144 - Implement Activity Stream "context" bottomsheet menu r=sebastian
MozReview-Commit-ID: ARvuWk7H99m

--HG--
extra : histedit_source : 52f83c7f40bb448855e0dc6dd749e9a08efe8c4d
2016-10-24 10:17:14 -07:00
Kan-Ru Chen 1f00a5d169 Bug 1300474 - Replace nsAutoPtr usages in geolocation with UniquePtr. r=jdm
MozReview-Commit-ID: KcJj8VKjLpj

--HG--
extra : rebase_source : 11205452dd23a99b7f555c5069e22997d750739d
2016-10-24 14:40:18 +08:00
Michelangelo De Simone 2c9eba2c9a Bug 1312591 - Remove DOM/resourcestats and related code. r=jst
MozReview-Commit-ID: 8WOXOvtxjxt

--HG--
extra : rebase_source : 692d4e964bd7103ba83e883400e7012951f1b184
2016-10-24 16:35:04 -07:00
Wes Kocher e636b54dfb Backed out changeset 2849f953881f (bug 1311189) for mochitest-5 failures a=backout 2016-10-24 16:49:55 -07:00
Ralph Giles 8f196dbd99 Bug 1312559 - Remove empty 'partial interface' stanza. r=smaug
This was spuriously included in the commit in bug 1277359.
Thanks to bz for reporting the issue.

MozReview-Commit-ID: GtziWe2CyBu

--HG--
extra : rebase_source : 107d3e19aa8994aac5895732d18da301f286004b
2016-10-24 14:19:06 -07:00
Michael Ratcliffe 825a2775a2 Bug 1311409 - CRLF to LF r=me 2016-10-22 00:22:42 +01:00
Michael Ratcliffe ec7039917e Bug 1311409 - Eyedropper click doesn't work, have to use Enter key r=me 2016-10-22 00:22:01 +01:00
Mike Conley 0a663f0572 Bug 1309980 - Follow-up to fix a typo in a pref name. r=jaws a=ritu
MozReview-Commit-ID: 7qL95EQcASv
2016-10-21 09:58:52 -04:00
Eric Rahm fe17c07cae Bug 1311191 - Part 2: Convert |inIDOMUtils.getCSSStyleRules| to |nsIArrayExtensions|. r=heycam
This converts |getCSSStyleRules| to return an |nsIArrayExtensions| instead of
an |nsISupportsArray|. |nIArrayExtensions| still provides the iteration
mechanisms -- |Count| and |GetElementAt| -- that add-ons expect so they should
not be affected.

MozReview-Commit-ID: ZdrFrbclX8
2016-10-24 13:24:28 -07:00
Eric Rahm ea799cdb96 Bug 1311191 - Part 1: Add nsISupportsArray-like iteration to nsArray. r=froydnj
This adds an intermediate interface, nsIArrayExtensions, that inherits from
nsIArray. This is necessary as nsISupportsArray implements nsIArray as well
so the methods could not just be addded to nsIArray. nsIMutableArray inherits
from nsIArrayExtensions and so any interface that works with an nsIMutableArray
can be updated to return an nsIArrayExtensions.

This will allow interfaces that currently return an nsISupportsArray to instead
return an nsIArrayExtensions and internally work with an nsIMutableArray.
Consumers of these functions will continue to be able to use
nsISupportsArray-like iteration even though they're now working with an
nsIArray.

MozReview-Commit-ID: 9uRjsJbg9Jp
2016-10-24 13:24:26 -07:00
Luke Wagner bb5274e9bf Bug 1311994 - Baldr: remove Wasm object (r=sunfish)
MozReview-Commit-ID: CkrYWLFoKAE

--HG--
extra : rebase_source : d36f8b0bcb80d0ab5add43594e286fc33411be43
2016-10-24 13:20:59 -05:00
Luke Wagner b615e9b281 Bug 1311994 - Baldr: add flags immediates to current_memory/grow_memory/call_indirect (r=sunfish)
MozReview-Commit-ID: 4qwtPliyesH

--HG--
extra : rebase_source : a853549266fb1c3c763b90680eb5637e1cc13cb5
2016-10-24 13:20:53 -05:00
Luke Wagner 440f0a594e Bug 1311994 - Baldr: update op codes to match 0xd (r=sunfish)
MozReview-Commit-ID: BIEiK8tiAFi

--HG--
extra : rebase_source : 5a0808b004a32dac52d135ea4ba81681ef2c501d
2016-10-24 13:14:30 -05:00
Luke Wagner 37c2676a61 Bug 1311994 - Baldr: update type codes to match 0xd (r=sunfish)
MozReview-Commit-ID: 7pCkgkiouDY

--HG--
extra : rebase_source : 8032194e65c7c91693795098ae3d865b563b8036
2016-10-24 13:10:32 -05:00
Lee Salzman af0242407d Bug 1299435 - part 5 - adjust fuzz for Skia m55 update. r=mchang
MozReview-Commit-ID: I58xWEmBARK
2016-10-24 15:22:28 -04:00