Commit Graph

11276 Commits

Author SHA1 Message Date
Nathan Froyd
2b2fcfceb0 Bug 1233444 - add override declarations for widget/windows/; r=roc
This change silences a small number of warnings when compiling with
clang-cl.
2015-12-16 11:58:46 -05:00
Masayuki Nakano
bc76709c62 Bug 1234120 part.3 IMMHandler should forget caret position specified by IME when IMMHandler doesn't set caret range to eCompositionChange event r=m_kato 2015-12-22 14:58:48 +09:00
Masayuki Nakano
5e645aabf9 Bug 1234120 part.2 TSFTextStore should ignore unnecessary text and selection changes which are caused by composition r=m_kato 2015-12-22 14:58:48 +09:00
Masayuki Nakano
bada91b338 Bug 1234120 part.1 IMEHandler should request all notifications which are requested by either IMMHander or TSFTextStore when IMM is available in TSF mode r=m_kato 2015-12-22 14:58:48 +09:00
Wes Kocher
fce4860459 Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
2015-12-21 13:47:33 -08:00
Bob Owen
587737c62d Bug 1156742 Part 15: Add pref for turning on printing via the parent process. r=mconley 2015-12-21 20:33:14 +00:00
Bob Owen
7442c1a942 Bug 1156742 Part 14: Complete RemotePrintJob using PrintTranslator. r=mconley 2015-12-21 20:33:14 +00:00
Bob Owen
44fbac4af3 Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2015-12-21 20:33:13 +00:00
Bob Owen
1f13e3c8d8 Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2015-12-21 20:33:13 +00:00
Bob Owen
772c4b5823 Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
Someone knew that nsIPrintSession would come in handy one day.
2015-12-21 20:33:13 +00:00
Kartikaya Gupta
ba54c290da Bug 1222190 - Implement GetTimeAsyncForPossibleBackwardsSkew for windows to fix backwards skew on hibernation. r=birtles 2015-12-21 09:38:17 -05:00
Markus Stange
b5fd872e8d Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.

Patch by Markus Stange, test fixes by Kartikaya Gupta
2015-12-17 17:19:30 -05:00
Chenxia Liu
88ce5f0974 Bug 1212611 - Use system notification for website notifications in Android. r=mfinkle 2015-12-03 10:56:04 -05:00
Gijs Kruitbosch
01377cfa59 Bug 1226145 - actually check whether the on-screen keyboard is up rather than relying on internal state, r=masayuki 2015-12-16 12:48:12 +00:00
Carsten "Tomcat" Book
fe48173913 merge mozilla-inbound to mozilla-central a=merge 2015-12-15 12:16:29 +01:00
Mark Capella
7d124b01dd Bug 1230617 - Editing text in an input field causes actionbar jank, r=snorp 2015-12-14 18:53:26 -05:00
Bogdan Postelnicu
02f275f5e9 Bug 1231329 - run ConvertToUnscaledDevPixels if *aPresContext is valid. r=roc 2015-12-11 03:16:00 +01:00
Jim Chen
248b0b68ea Bug 1051556 - Re-flush IME changes when querying text triggers more changes; r=esawin
We send query text events when flushing IME changes, and sometimes these
events make Gecko commit more pending changes. In that case, we should
try flushing again, so we pick up the new changes.

This patch also makes the process of flushing text changes
transactional, so that if we have to bail due to more pending changes,
nothing will be committed.
2015-12-12 10:18:43 -05:00
Phil Ringnalda
aadfc33c47 Merge m-i to m-c, a=merge 2015-12-11 21:20:03 -08:00
Carsten "Tomcat" Book
077445a27b Merge mozilla-central to mozilla-inbound 2015-12-11 11:42:10 +01:00
Carsten "Tomcat" Book
7742b2af94 merge mozilla-inbound to mozilla-central a=merge 2015-12-11 11:38:17 +01:00
Masayuki Nakano
d4b0400935 Bug 1179632 part.4 Clean up the code to request IME to commit composition across process boundary r=smaug 2015-12-11 15:15:58 +09:00
Masayuki Nakano
0e46431f4f Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug 2015-12-11 15:15:57 +09:00
Masayuki Nakano
dc1bebbf22 Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug 2015-12-11 15:15:57 +09:00
Kartikaya Gupta
6eb954203d Bug 1230522 - Make some unimplemented functions not be native. r=rbarker 2015-12-10 17:23:07 -05:00
Carsten "Tomcat" Book
7707d4be93 Merge mozilla-central to fx-team 2015-12-11 11:44:43 +01:00
Gijs Kruitbosch
b7fbda5c23 Bug 1224605 - also show the OSK when tapping in focused inputs, r=masayuki 2015-12-08 09:56:27 -05:00
Phil Ringnalda
b8a831086b Back out 4 changesets (bug 1051556) for java.lang.IllegalArgumentExceptions
CLOSED TREE

Backed out changeset c89683497d23 (bug 1051556)
Backed out changeset c3f4c2d01bad (bug 1051556)
Backed out changeset 4a83a8594ddc (bug 1051556)
Backed out changeset fe3d880efce8 (bug 1051556)
2015-12-09 18:20:51 -08:00
Jim Chen
195455ec83 Bug 1051556 - Re-flush IME changes when querying text triggers more changes; r=esawin
We send query text events when flushing IME changes, and sometimes these
events make Gecko commit more pending changes. In that case, we should
try flushing again, so we pick up the new changes.

This patch also makes the process of flushing text changes
transactional, so that if we have to bail due to more pending changes,
nothing will be committed.
2015-12-09 17:46:45 -05:00
sgiles
86177d585f Bug 1230838 - Let hover events fall through to Gecko when accessibility is turned on - don't throw an exception in the NativePanZoomController when default prevented. r=kats 2015-12-10 13:20:53 -05:00
Michael Layzell
978c966f25 Bug 1231480 - Don't pretend we provide image/gif from clipboard on b2g, r=fabrice 2015-12-10 11:53:27 -05:00
Carsten "Tomcat" Book
14dc66df9f Backed out changeset 4b1d470d9f98 (bug 1198459) 2015-12-10 11:14:15 +01:00
Jim Mathies
d53f3a57ee Bug 1198459 - Add support for disabling e10s if a11y was run in the previous session, or run in a session over the previous week. r=felipe 2015-12-09 08:35:06 -05:00
Nicholas Nethercote
f329a3868e Bug 1231051 - Moz2Dify nsNativeThemeCocoa::DrawWidgetBackground. r=mstange. 2015-12-09 15:34:18 +11:00
Reuben Morais
079e40fcb3 Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp 2015-12-08 14:43:09 -05:00
Nicholas Nethercote
ccc3105501 Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc. 2015-12-06 17:15:53 -08:00
Nicholas Nethercote
ecc2b60c48 Bug 1230047 (part 2) - Make several PaintWindow() functions use LayoutDevice coordinates. r=kats.
Specifically, the PaintWindow() functions in the following classes:
- nsIWidgetListener, and its subclasses nsView and nsWebBrowser;
- nsChildView;
- nsWindow (the one in widget/uikit/);
- nsViewManager.
2015-12-02 21:45:41 -08:00
Nicholas Nethercote
209e8be54e Bug 1230047 (part 1) - Make SynthesizeNativeTouch{Point,Tap}() take ScreenIntPoints. r=kats. 2015-12-02 21:45:38 -08:00
Fabrice Desré
7981998cc7 Bug 1230397 - Write safe mode pref on the main thread r=dbaron 2015-12-04 16:54:57 -08:00
Chris Peterson
57d527d933 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
Wes Kocher
831aaa75c0 Merge m-c to inbound, a=merge 2015-12-03 16:11:01 -08:00
Gregor Wagner
410dfb294b Bug 1215494 - Don't set b2g.safe_mode pref in child process. r=fabrice 2015-12-03 18:23:22 +01:00
Carsten "Tomcat" Book
b0525f779e merge mozilla-inbound to mozilla-central a=merge 2015-12-03 12:00:42 +01:00
Nathan Froyd
5b281078b5 Bug 1229881 - fix off-by-one error in nsPrinterEnumeratorWin::GetPrinterNameList; r=dbaron; a=KWierso 2015-12-02 14:28:38 -05:00
Carsten "Tomcat" Book
eb99d7cf4d merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Nicholas Nethercote
7e3ab1c697 Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond. 2015-12-02 14:32:55 -08:00
Botond Ballo
32682c7437 Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.
2015-11-30 20:06:45 -05:00
Botond Ballo
d7e944c1ef Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
2015-11-30 20:14:31 -05:00
Botond Ballo
ecac74cd13 Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas
Matrix4x4 remains a typedef for Matrix4x4Typed<UnknownUnits, UnknownUnits>.

No client code needed changing, except for forward-declarations of Matrix4x4
as a class (since it's now a typedef).
2015-12-02 18:52:00 -05:00
Nicholas Nethercote
030fd36dff Bug 1229237 (part 5) - Make Update{Opaque,WindowDragging}Region() take a LayoutDeviceIntRegion. r=botond. 2015-11-25 21:42:59 -08:00