Phil Ringnalda
0d0d24bccc
Back out 7 changesets (bug 1281998) for Windows Marionette crashes
...
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)
--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
David Anderson
358a567c70
Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
...
--HG--
extra : rebase_source : 881a2fac4447de3f1aeae3f34f21f9e76a79e0a3
2016-06-29 16:47:22 -04:00
David Anderson
804c1ee06f
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
Carsten "Tomcat" Book
5c90a99952
merge mozilla-inbound to mozilla-central a=merge
2016-06-29 16:13:05 +02:00
Masayuki Nakano
e1d8dafcd9
Bug 1282668 Get rid of nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE r=m_kato
...
Currently, all widgets request selection change notifications to IMEContentObserver. Additionally, IMEContentObserver needs to listen selection changes for caching latest selection for eQuerySelectedText. Therefore, it doesn't make sense to keep defining nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE.
If widgets didn't need selection change notifications, they could just ignore the unnecessary notifications.
Note that all widgets don't need selection change notifications if a plugin has focus and IMEContentObserver cannot observe selection changes in the plugin. Therefore, if IMEContentObserver is initialized with a plugin, it shouldn't listen selection changes (and doesn't need to notify widgets of selection changes).
MozReview-Commit-ID: FOVFFgA2nOz
--HG--
extra : rebase_source : 3e16d5023835f99f82934e754d2e7db70474f9ee
2016-06-28 15:23:12 +09:00
Morris Tseng
8f005b2801
Bug 1281686 - Part 3: Using MacIOSurface for RectTextureImage. r=mstange
...
MozReview-Commit-ID: O97FkqrsKq
2016-06-29 11:24:44 +08:00
Morris Tseng
36a0d19547
Bug 1281686 - Part 2: Move RectTextureImage to separate file. r=mstange
...
MozReview-Commit-ID: HES73Ux7Li7
2016-06-29 11:24:44 +08:00
Morris Tseng
cbaeef2521
Bug 1281686 - Part 1: Fix OSX Compile failure due to unified build. r=mstange
...
MozReview-Commit-ID: FIcq2svB0fL
2016-06-29 11:24:43 +08:00
Kit Cambridge
f7589361f4
Bug 1233086, Part 3 - Use unified image loading for OS X alerts. r=mstange
...
MozReview-Commit-ID: Ln5rHIj8xxI
--HG--
extra : rebase_source : 54c144634f5c17a747d54a7d007e5fee0a1aabe4
2016-06-10 18:59:25 -07:00
Josh Aas
fd9256f113
Bug 1257765 - Limit the length of notification strings to 5000 characters. r=spohl
...
--HG--
extra : amend_source : 1ef0cbff375e054a85c70bfbb53f2b76b65c33ff
2016-06-26 18:51:05 -04:00
Carsten "Tomcat" Book
3b37066215
merge mozilla-inbound to mozilla-central a=merge
2016-06-24 11:13:59 +02:00
Brandon Cheng
ff19bfa581
Bug 1084598 - [OS X 10.10 and later] fix focus styling for url bar and search box, r=mstange,gijs
...
MozReview-Commit-ID: 3aEs95lcpZb
--HG--
extra : amend_source : 4f08292a48e1f47a8fa0e1a54d00d97c0a4e18e5
2016-06-14 19:24:00 +01:00
Masayuki Nakano
f53ea998ce
Bug 1280053 TextInputHandler should initialize WidgetKeyboardEvent without already handled characters r=m_kato
...
TextInputHandler may dispatch keypress events after InsertText() is called if there was composition and it's committed by "current" keydown event. In that case, [NSEvent characters] may have the committing string. For example, when Opt+e of US keyboard layout started composition, Cmd+v causes committing the "`" character and pasting the clipboard text. Then, the "v" key's keydown event's |characters| is "`v". So, after InsertText() is called with "`", TextInputHandler shouldn't dispatch keypress event for "`" again. I.e., the KeyboardEvent.key value should be "v" rather than "`v".
For solving this issue, TextInputHandlerBase::AutoInsertStringClearer which is created at every InsertText() call should store the inserted string to TextInputHandlerBase::KeyEventState. However, for making the implemntation simpler, it should recode only when the inserting string is actually a part of [mKeyEvent characters]. Then, TextInputHandlerBase::KeyEventState can compute unhandled insert string at initializing WidgetKeyboardEvent.
So, finally, TextInputHandlerBase::InitKeyEvent() should be called via TextInputHandlerBase::KeyEventState::InitKeyEvent(). This ensures that all key events which may cause InsertText() calls are always initialized with unhandled string.
MozReview-Commit-ID: A9o8o9pV2XV
--HG--
extra : rebase_source : d99e9ab7633f45069d0a3940cc2b2b5ad859ea05
2016-06-19 01:13:16 +09:00
Masayuki Nakano
9b89c75f4d
Bug 1280355 part.2 TextInputHandler should use LazyLogModule instead of PR_NewLogModule() r=m_kato
...
For making TextInputHandler MOZ_LOG* environment variables aware, TextInputHandler should use LazyLogModule.
MozReview-Commit-ID: 9La229BFaJ1
--HG--
extra : rebase_source : f18f689ea6522f3300c5411bcd9e49d4c31143e4
2016-06-16 17:14:34 +09:00
Masayuki Nakano
a39783f70c
Bug 1280355 part.1 TISInputSourceWrapper::CurrentInputSource() should create the static instance when it's called r=m_kato
...
This is preparation. TISInputSourceWrapper is created before starting XPCOM, however, when its first instance is created, TextInputHandler.mm tries to log all keyboard layouts and IMEs which are installed into the system. This would be problem if it uses LazyLogModule because it's initialized at starting XPCOM.
MozReview-Commit-ID: DWz8TylL175
--HG--
extra : rebase_source : f377530f6325d6fcf8f90be5d6856972e9d312e5
2016-06-16 17:00:38 +09:00
SUN Haitao
372169ecdf
Bug 1264815 - Add a 'showPersistentNotification' method to nsIAlertService. r=kcambridge
2016-05-12 23:58:18 +08:00
Masayuki Nakano
46e33a611c
Bug 1279170 TextInputHandler::InsertText() should set keypress event's .key value property when it replaces specified range with a character r=m_kato
...
TextEventDispatcher::MaybeDispatchKeypressEvents() dispatches keypress events with passed event's mKeyNameIndex and mKeyValue values. I.e., setting mCharCode doesn't make sense in this case. Similarly, mKeyCode value is also ignored (overwritten by 0) if it's printable key's key event (mKeyNameIndex == KEY_NAME_INDEX_USE_STRING).
MozReview-Commit-ID: bdBQOlVKTs
--HG--
extra : rebase_source : 0786fb72ce8cc5468bbf3d4d1e5cadaa4586837e
2016-06-16 12:11:01 +09:00
stefanh@inbox.com
5e50e79d79
Bug 1281028 - Remove run-time Mavericks checks in nsAppShell.mm. r=spohl.
2016-06-20 20:41:18 +02:00
stefanh@inbox.com
54acecac1d
Bug 1280119 - Remove obsolete scrollbar constants in nsLookAndFeel.h. r=mstange.
2016-06-14 23:02:58 +02:00
Jonathan Watt
09e31afca4
Bug 1278441 - Add a CoreGraphics subclass of PrintTarget. r=mstange
...
--HG--
extra : rebase_source : 3629f0a9152dad18b9a2e44d16b4d28359f414cf
2016-06-09 22:35:14 +01:00
stefanh@inbox.com
d1ad4b0dc8
Bug 1279017 - Remove code specific to 10.6-10.8 in widget/cocoa. r=mstange.
2016-06-10 23:30:25 +02:00
Jonathan Watt
0676eabe9f
Bug 1278269 - Make a PrintTarget class and PrintTargetThebes subclass and convert all nsIDeviceContextSpec subclasses to use them. r=Bas
2016-06-03 11:27:31 +01:00
Phil Ringnalda
2f02d62e38
Back out e9a46afd9375 (bug 1279017) for 10.10 reftest-e10s failures in async scrolling tests
...
CLOSED TREE
2016-06-08 20:34:36 -07:00
stefanh@inbox.com
a5320d1288
Bug 1279017 - Remove code specific to 10.6-10.8 in widget/cocoa. r=mstange.
2016-06-08 22:02:22 +02:00
Masayuki Nakano
77a20b523d
Bug 1270985 Hide mouse cursor in native keydown event handler if Command key isn't pressed r=m_kato
...
Currently, TextInputHandler::DispatchEvent() isn't used for WidgetKeyboardEvent nor WidgetCompositionEvent since TextEventDispatcher directly uses nsIWidget::DispatchEvent(). Therefore, old code hiding mouse cursor at dispatching eKeyPress event is never run in current mozilla-central since TextInputHandler dispatches eKeyPress events via TextEventDispatcher.
Additionally, it's not enough to hide mouse cursor only when widget dispatches eKeyPress events because if IME starts composition, eKeyPress event won't be fired until finishing the composition. So, I think that we should hide mouse cursor at receiving native keydown events. The event handler receives keydown events before IME handles them. Additionally, modifier key events which won't cause eKeyPress events are not using native keydown event handler, fortunately. So, I believe that it's the best place to do it.
MozReview-Commit-ID: 9dnpiVEV2Lx
--HG--
extra : rebase_source : fd42be85f93fed9e38eeece2cbdbfb7ad45555ba
2016-06-08 14:37:51 +09:00
Nicholas Nethercote
4e8f3b6d6e
Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
...
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Nicholas Nethercote
a02611e830
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
Jonathan Watt
27d64c914e
Bug 1278424 - Remove some code from gfxQuartzSurface. r=eflores
...
--HG--
extra : rebase_source : b382286844a47ef6e5ffdf83435cd0c36b767f31
2016-05-30 16:26:30 +01:00
Milan Sreckovic
d5f46d27b3
Bug 1274635: Have OperatingSystem an enum class, change All to mean All Windows. r=BenWa
...
MozReview-Commit-ID: ADe4EmPzTuc
--HG--
extra : rebase_source : c3a7ee2846935291297f51cb1898ec46543a6870
2016-06-03 16:13:08 -04:00
Masayuki Nakano
258c1f97d6
Bug 1277756 part.7 Rename TextRangeType::NS_TEXTRANGE_SELECTEDCONVERTEDTEXT to TextRangeType::eSelectedClause r=smaug
...
MozReview-Commit-ID: GyRYWzfeWrm
--HG--
extra : rebase_source : 8bebacaf675ec4a3cf91cfd434d07beeb7fb1567
2016-06-03 19:15:21 +09:00
Masayuki Nakano
3fa2003d17
Bug 1277756 part.6 Rename TextRangeType::NS_TEXTRANGE_CONVERTEDTEXT to TextRangeType::eConvertedClause r=smaug
...
MozReview-Commit-ID: 3mexBm278As
--HG--
extra : rebase_source : ef363b0ac50396631e9b145b7e869330509fe259
2016-06-03 19:05:32 +09:00
Masayuki Nakano
98f069e029
Bug 1277756 part.5 Rename TextRangeType::NS_TEXTRANGE_SELECTEDRAWTEXT to TextRangeType::eSelectedRawClause r=smaug
...
MozReview-Commit-ID: MbG4siLb4Q
--HG--
extra : rebase_source : 23c20c55c3936dc6af5f57414ef7630003480275
2016-06-03 18:57:21 +09:00
Masayuki Nakano
f4254e7f7f
Bug 1277756 part.4 Rename TextRangeType::NS_TEXTRANGE_RAWINPUT to TextRangeType::eRawClause r=smaug
...
MozReview-Commit-ID: KLC1VPiYTdz
--HG--
extra : rebase_source : 3f750e526bb04b26ed66d2c0fada14e7d5b43d73
2016-06-03 18:48:37 +09:00
Masayuki Nakano
6b5425853a
Bug 1277756 part.3 Rename TextRangeType::NS_TEXTRANGE_CARETPOSITION to TextRangeType::eCaret r=smaug
...
MozReview-Commit-ID: CaqmOSxYYU7
--HG--
extra : rebase_source : 5820d491b97be7899150516d05f1426e74dab5b5
2016-06-03 18:40:06 +09:00
Masayuki Nakano
4fc95828b6
Bug 1277756 part.1 Make anonymous enum for NS_TEXTRANGE_* to an enum class named "TextRangeType" r=smaug
...
For making our code clearer by the stronger type check, we should change the anonymous enum for NS_TEXTRANGE_* to enum class whose name is "TextRangeType" and whose type is "RawTextRangeType" which is an alias of uint8_t.
Additionally, this also adds some utility methods for them.
Note that some lines which are changed by this patch become over 80 characters but it will be fixed by the following patches.
MozReview-Commit-ID: 76izA1WqTkp
--HG--
extra : rebase_source : 27cd8cc8f7f8e82055dbfe82aba94c02beda5fa4
2016-06-04 09:49:21 +09:00
Jonathan Watt
2eb705bb3f
Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas
2016-05-25 17:01:18 +01:00
Matt Woodrow
840dd73649
Bug 1261483 - Only call updateGLContext from the compositor thread to avoid races. r=mstange
...
--HG--
extra : rebase_source : 44771d0d3b4f1bed963b7c05369619b218913a98
2016-06-02 16:58:44 +12:00
Markus Stange
ffde3e4e61
Bug 1274720 - Don't use DrawTargetCG for drawing popups. r=jrmuizel
...
MozReview-Commit-ID: 6oFnX2Ovbl6
--HG--
extra : rebase_source : 1efbf13a21d91b7bec172eaa919956919a42c0e5
2016-05-31 14:35:54 -04:00
Makoto Kato
100757988a
Bug 1276948 - Remove IMEInputHandler::ConversationIdentifier. r=masayuki
...
This method is for old NSTextInput API and unused now.
MozReview-Commit-ID: thcbEExH58
--HG--
extra : rebase_source : 7d9f665d867366990c5aac5a54555cc2c3483828
2016-05-31 23:18:04 +09:00
Makoto Kato
ebcb916262
Bug 1212527 - Set background color to NSColor before calling showDefinitionForAttributedString on 10.11. r=mstange
...
When calling showDefinitionforAttributedString on OSX 10.11, it always return error due to the following exception.
Exception: decodeObjectForKey: class "TitlebarAndBackgroundColor" not loaded or does not exist
So before calling it, we set temporary color value, then restore color after calling it.
MozReview-Commit-ID: 1YeY6X1W6AV
2016-05-26 23:39:50 +09:00
Makoto Kato
8ccc8229b8
Backed out changeset d89f93a40f78 (bug 1212527) due to static analysis bustage
...
MozReview-Commit-ID: 79SduJl9zcs
2016-05-27 00:05:10 +09:00
Makoto Kato
15b6b9d8df
Bug 1212527 - Set background color to NSColor before calling showDefinitionForAttributedString on 10.11. r=mstange
...
When calling showDefinitionforAttributedString on OSX 10.11, it always return error due to the following exception.
Exception: decodeObjectForKey: class "TitlebarAndBackgroundColor" not loaded or does not exist
So before calling it, we set temporary color value, then restore color after calling it.
MozReview-Commit-ID: 1YeY6X1W6AV
--HG--
extra : rebase_source : 1bfafdb24f7d6df0ad2552b786b8af84b71cc28a
2016-05-26 23:39:50 +09:00
Markus Stange
c19306021c
Bug 1216245 - Increase the titlebar texture's height to include the whole title text. r=mattwoodrow
...
MozReview-Commit-ID: It0T7dRhAj1
--HG--
extra : rebase_source : 9ef82caf78616bec142e22045f45141f5c8cf45c
2016-05-25 13:35:04 -04:00
Markus Stange
e1571acd05
Bug 1274282 - Add exception guards to nsChildView::PrepareWindowEffects(). r=spohl
...
MozReview-Commit-ID: De3grs2BF4E
--HG--
extra : rebase_source : a22d67a377962d4e66dc56e1e11269f932ca62ad
2016-05-24 14:01:48 -04:00
Jonathan Watt
de83a13903
Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel
2016-05-19 13:31:15 +01:00
Keith Yeung
28a4bc1e9e
Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley
...
--HG--
extra : rebase_source : ce28fd34fd7738abf440d6ae6052059ff549f974
2016-05-19 10:58:00 +02:00
Jonathan Watt
e1ac9527d2
Bug 1274881 - Get rid of imgLoader::GetInstance. r=tnikkel
2016-05-18 10:19:19 +01:00
Makoto Kato
e5b8956c7b
Bug 1177943 - Part 3. Look up dictionary using new 10.8+ interface. r=masayuki
...
From 10.8+, it has new API to look up dictionary async. So I use it.
MozReview-Commit-ID: 9kWEsCib4R5
2016-04-26 18:04:41 +09:00
Makoto Kato
3cc2e4b00e
Bug 1177943 - Part 1. Add LookUpDictionary method to widget. r=masayuki
...
I would like to add new method to look up dictionary.
MozReview-Commit-ID: Jqk0OelezVF
2016-04-04 17:14:36 +09:00
Benoit Girard
e97acb68fb
Bug 1002857 - stop disabling GL layers for 10.6.2 and below. r=mstange
...
MozReview-Commit-ID: ITqcQNdolQ
--HG--
extra : rebase_source : 82914a72a267e6aff7ac1234d92d813bb9efdc0b
2016-05-18 18:10:04 -04:00
Makoto Kato
687cbeffb5
Bug 1260091 - Move using SendBidiKeyboardNotify to WidgetUtils. r=masayuki
...
For e10s, we send Bidi keyboard information to content process. We should add utility method to share it for all platforms.
MozReview-Commit-ID: JJX26OivQvt
--HG--
extra : rebase_source : fe6d000080e3fa993a27d570c703e93f23439520
2016-05-19 17:47:49 +09:00
stefanh@inbox.com
f98f9cb8e1
Bug 1273106 - Set the native search field's placeholder to an empty string, otherwise the default string will be shown when building with the 10.11 SDK. r=mstange.
2016-05-18 22:04:16 +02:00
Keith Yeung
90a39873d8
Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley
2016-05-18 11:07:47 -07:00
stefanh@inbox.com
d76d8b9c90
Bug 1192053 - Native theming: Support for Mac OS X source lists (background part). r=gijs, mstange.
2016-05-17 07:37:05 +02:00
Jonathan Watt
ad0685ebf8
Bug 1263275 - Avoid startup NS_ENSURE_TRUE(mTextInputHandler) failures in nsChildView.mm. r=mstange
...
MozReview-Commit-ID: 1cAMjmBJU2E
--HG--
extra : rebase_source : 977d22f70fa4d722f108e431f14c63be7118e3f6
2016-05-10 14:11:32 +01:00
Masayuki Nakano
1252a7bf75
Bug 1254755 part.5 Rename WidgetKeyboardEvent::isChar to WidgetKeyboardEvent::mIsChar r=smaug
...
MozReview-Commit-ID: 58mri5IP3dV
--HG--
extra : rebase_source : fadfc0eb40c2ea9a3a60ba54b0ae7c5cae94f96e
2016-05-12 18:31:05 +09:00
Masayuki Nakano
e2fb1c839c
Bug 1254755 part.4 Rename WidgetKeyboardEvent::location to WidgetKeyboardEvent::mLocation r=smaug
...
MozReview-Commit-ID: CjT7izri6Vq
--HG--
extra : rebase_source : 1e82d581b8bf1cce3d3154402f3bb435f7a004f6
2016-05-12 18:17:22 +09:00
Masayuki Nakano
7bfa8a21fa
Bug 1254755 part.3 Rename WidgetKeyboardEvent::alternativeCharCodes to WidgetKeyboardEvent::mAlternativeCharCodes r=smaug
...
MozReview-Commit-ID: 26K8ZxzavfB
--HG--
extra : rebase_source : 5f74e58a784bae2ed626c0c9f7c992228dcff1be
2016-05-12 17:57:21 +09:00
Masayuki Nakano
8a70a17c6a
Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug
...
And mCharCode shouldn't be compared with NS_VK_*, nsIDOMKeyEvent::DOM_VK_*. Additionally, when it's compared with a character constant, cast isn't necessary.
MozReview-Commit-ID: JMT614copjG
--HG--
extra : rebase_source : 69ee3c589e5a71c814ec9a40ac3aab39c789c11d
2016-05-13 16:06:18 +09:00
Masayuki Nakano
3359bad586
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Jonathan Watt
0465f58516
Bug 1271867 - Update our usage of NSWindow::convertBaseToScreen/convertScreenToBase to modern ApplicationKit API. r=mstange
2016-05-05 12:27:13 +01:00
Jonathan Kew
6a2b0ea6d0
Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange
2016-05-11 11:04:21 +01:00
Sebastian Hengst
6598003bcf
Backed out changeset a74ef371c48f (bug 1087964) for failing elementFromPoint.html on OSX 10.10 debug. r=backout
2016-05-12 13:19:00 +02:00
Jonathan Kew
473d904d86
Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange
2016-05-12 09:31:13 +01:00
Masayuki Nakano
3e4ceded8b
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano
1663e01f1f
Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
...
MozReview-Commit-ID: FHUaUOE5eIB
--HG--
extra : rebase_source : f4ff5a5f662054ab161805dc37b9e7b6d6b97d96
2016-05-12 11:42:08 +09:00
Masayuki Nakano
9874716678
Bug 1259661 part.3 Rename WidgetMouseEvent::exitType to WidgetMouseEvent::ExitFrom r=smaug
...
MozReview-Commit-ID: 8NdDccCrTS7
--HG--
extra : rebase_source : 6c4bf2bceab7638ee25907be7b434f0544dfe325
2016-05-12 11:32:53 +09:00
Timothy Nikkel
bf94e2fc4e
Bug 1261752. Part 3. r=mats
2016-05-10 22:58:47 -05:00
Nomis101
f0aa7ccdac
Bug 1271453 - Replace deprecated NSOKButton with correct constant NSFileHandlingPanelOKButton. r=mstange
2016-05-09 23:45:45 +02:00
Tetsuharu OHZEKI
dd81b84720
Bug 1259667 - part5: rename WidgetSimpleGestureEvent.delta to mDelta. r=masayuki
...
MozReview-Commit-ID: D33mzFY8Vrn
--HG--
extra : rebase_source : 6d6493af599087537ab6bf469255bb9d7319e395
2016-05-10 04:16:55 +09:00
Tetsuharu OHZEKI
a5f841b5dc
Bug 1259667 - part4: rename WidgetSimpleGestureEvent.clickCount to mClickCount. r=masayuki
...
MozReview-Commit-ID: 8YaPzAGsmYd
--HG--
extra : rebase_source : f0fb0dfffbd13759ca6daa31df321bc39382cbc3
2016-05-10 04:16:54 +09:00
Tetsuharu OHZEKI
42e707c8b7
Bug 1259667 - part3: rename WidgetSimpleGestureEvent.direction to mDirection. r=masayuki
...
MozReview-Commit-ID: GYGNNTsZNWQ
--HG--
extra : rebase_source : 954039a2d7ecb1f5d579603dd02f517c42a2a025
2016-05-10 04:16:54 +09:00
Tetsuharu OHZEKI
067f1de1e4
Bug 1259667 - part2: rename WidgetSimpleGestureEvent.allowedDirections to mAllowedDirections. r=masayuki
...
MozReview-Commit-ID: 412YeoUoqIy
--HG--
extra : rebase_source : af9289605eeeeaf06bc3c7a9a5540c962231d61e
2016-05-10 04:16:54 +09:00
Makoto Kato
fe5bf359ac
Bug 1262363 - Call [NSTextInputContext handleEvent] for mouse support on IME. r=masayuki
...
Some IME handles mouse event by handleEvent method of NSTextInputcontext. So we should call it on mouse event for IME
MozReview-Commit-ID: 6lyXCpOJ3yr
--HG--
extra : rebase_source : a180e0750a2f40838cf24d2985638f96899cf2d4
extra : histedit_source : 84ea9a9b113b33d8dc982b855e2271931c1084f9
2016-04-27 21:14:43 +09:00
David Anderson
77e3700565
Move CompositorWidgetProxy inheritance out of nsIWidget. (bug 1264545 part 6, r=jimm)
2016-04-29 19:23:17 -04:00
Jonathan Watt
6a7fdf9b55
No Bug - Remove some unnecessary SVGImageContext.h includes and add comments. r=sparky
2016-04-22 15:07:31 +01:00
Kartikaya Gupta
71e578529e
Bug 1264161 - Ensure we null out APZ pointers to the widget when it gets destroyed. r=botond
...
MozReview-Commit-ID: HccKXqU3Z6H
2016-04-22 16:01:30 -04:00
Botond Ballo
25a9b005e6
Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange
...
MozReview-Commit-ID: ITLeksQzvVM
--HG--
extra : rebase_source : 1a3779ab7154282388c2e57251886863e818b168
2016-04-20 19:49:09 -04:00
Neil Deakin
a030ec3ce6
Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange
2016-04-21 14:11:14 -04:00
Jonathan Watt
6443361612
Bug 1265953, part 4 - Convert nsMenuX::LoadSubMenu and nsMenuX::AddMenu to UniquePtr. r=mstange
2016-04-19 23:51:49 +01:00
Jonathan Watt
12618ee44a
Bug 1265953, part 3 - Convert more widget code from nsAutoPtr to UniquePtr. r=mstange
2016-04-19 23:29:16 +01:00
Jonathan Watt
3e920b7fa1
Bug 1265953, part 1 - Convert most of the cocoa widget code from nsAutoPtr to UniquePtr. r=mstange
2016-04-19 11:28:12 +01:00
Benoit Girard
85ba14a3e5
Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
...
MozReview-Commit-ID: JveFLuIcbaN
--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
Kirk Steuber
d8c748eec4
Bug 1248985 - Fix Spelling Error in nsAppShell.mm. r=josh
...
MozReview-Commit-ID: LqJrA0UOUfi
--HG--
extra : transplant_source : %7D%08%5C%25%2A6%DD%7F%E0%5D%14R%FA%E8a%9F%A1M%A0%F5
2016-02-17 07:09:39 -08:00
Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Milan Sreckovic
e0b2b9e425
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Jonathan Watt
9480920b04
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01:00
Stephen A Pohl
b8403645d5
Bug 1199547 - Backout workaround from bug 722676 as it causes issues on at least OSX 10.10 and 10.11. r=mstange
2016-04-05 10:42:00 +02:00
Cameron McCormack
cb363fa1df
Bug 1261754 - Part 6: Move vertical-align from nsStyleTextReset to nsStyleDisplay. r=dholbert
2016-04-12 15:52:41 +10:00
Kartikaya Gupta
c9075fd284
Bug 1258711 - Skip the pixel cap when drawing scrollbar tracks or thumbs, since they don't use intermediate surfaces internally to CoreUI, and shouldn't blow up. r=mstange
...
MozReview-Commit-ID: BrSqOnwEKUf
2016-04-11 09:53:17 -04:00
Christoph Kerschbaumer
52a7f283b3
Bug 1256999 - Pass the right context to new channels for image loads. r=bz r=seth
2016-04-11 10:58:03 +02:00
Peter Van der Beken
fdf8990ef4
Bug 1262110 - Null out nsIMacDockSupport.dockMenu on shutdown. r=smaug.
...
--HG--
extra : rebase_source : 230f640b44d8ecbb846780584c608827d012680c
2016-04-05 16:46:43 +02:00
Nathan Froyd
392bfacb03
Bug 1261818 - don't pass nsAutoCStrings into nsBaseWidget debugging methods; r=karlt
...
Passing raw character pointers works just fine.
2016-03-31 14:42:13 -04:00
Masayuki Nakano
3b08c541b4
Bug 1259664 part.7 Rename WidgetWheelEvent::isMomentum to WidgetWheelEvent::mIsMomentum r=smaug
...
MozReview-Commit-ID: CornLj3WkyG
--HG--
extra : rebase_source : 2566b30374ed1a5be7cf0c6fead25a0271d58d17
2016-03-31 23:45:55 +09:00
Masayuki Nakano
a2da982fdb
Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
...
MozReview-Commit-ID: Ky3xp2NtBWq
--HG--
extra : rebase_source : 412e2df1c27c37dc76039d1fd3463623b476d81c
2016-03-31 18:35:24 +09:00
Masayuki Nakano
6aedccbde5
Bug 1259664 part.2 Rename WidgetWheelEvent::deltaY to WidgetWheelEvent::mDeltaY r=smaug
...
MozReview-Commit-ID: 3xscKDblY4V
--HG--
extra : rebase_source : c587768fd2c9a48e07cafa27b5c72e4eeb030360
2016-03-31 18:09:47 +09:00
Masayuki Nakano
6cedf549dc
Bug 1259664 part.1 Rename WidgetWheelEvent::deltaX to WidgetWheelEvent::mDeltaX r=smaug
...
MozReview-Commit-ID: F5dQHpPkWfA
--HG--
extra : rebase_source : 1a256f288b0e004c196468f8659393b474d73840
2016-03-31 18:55:59 +09:00
Masayuki Nakano
e9a1bcb370
Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
...
MozReview-Commit-ID: 7avEiqKfaHA
--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Timothy Nikkel
756d4d4332
Bug 1209780. Use the DrawResult return value of imgIContainer::Draw in the cocoa code. r=seth
2016-03-29 01:14:45 -05:00
Markus Stange
0ab404928f
Bug 1254275 - Inspect the event queue to find out whether momentum events are following. r=kats
...
MozReview-Commit-ID: 6k3SaJ6X7Mr
--HG--
extra : histedit_source : 1b6842a2cd855dc04b1375c2c0f174005b1e0c75
2016-03-28 14:56:28 -04:00
Arata Furukawa
28360f6c90
Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
...
MozReview-Commit-ID: LRgPxoynx0
--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Arata Furukawa
676913b9bb
Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
...
MozReview-Commit-ID: 7lBCEVkanvF
--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Masayuki Nakano
30630d4a6a
Bug 1257760 TextInputHandler should dispatch keypress event even when a plugin has focus r=m_kato
...
When a plugin has focus, TextInputHandler shouldn't send native keydown event to interpretKeyEvents of NSView. However, it should dispatch keypress events because shortcut key handlers wait following keypress event.
MozReview-Commit-ID: HpG108s2Rde
--HG--
extra : rebase_source : de0b76f0d1e78092f6e9cdcece22ab47a0810621
2016-03-23 15:31:54 +09:00
Jonathan Watt
e09f239495
Bug 1259224
- Silence some warnings in the mac widget code. r=mstange
2016-03-07 02:10:17 +00:00
Sotaro Ikeda
ccef41ec11
Bug 1254897 - Recycle back buffer in BasicCompositor r=jrmuizel
2016-03-23 21:41:43 -07:00
Jonathan Kew
50c7a4cfac
Bug 1248675 - Update the cached mBounds in nsChildView when its backing scale factor (display DPI) changes. r=mstange
2016-03-23 16:30:07 +00:00
Jonathan Kew
20c6827390
Bug 1256576 - Make sure texture is (re)initialized if the size changed. r=snorp
2016-03-23 14:38:31 +00:00
Masayuki Nakano
7bcaf602d0
Bug 1154183 part.2 eKeyDown event should have charCode value of following keypress event r=smaug
...
MozReview-Commit-ID: 9duzKfCFPro
2016-03-19 20:57:11 +09:00
David Anderson
f3dc22db8d
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
...
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Masayuki Nakano
79ec55bd08
Bug 1249184 Dead key shouldn't cause keypress event on Mac OS X r=smaug+m_kato
2016-03-16 13:50:01 +09:00
Masayuki Nakano
1fd5361cb0
Bug 1137563 part.5 Set charCode of dead key's keypress event on Mac to the dead char r=m_kato
2016-03-16 13:47:50 +09:00
Masayuki Nakano
063150ff0d
Bug 1137563 part.4 Implement IMEInputHandler::WillDispatchKeyboardEvent() r=m_kato
2016-03-16 13:47:50 +09:00
Masayuki Nakano
350d910666
Bug 1137563 part.3 TextInputHandler should use TextEventDispatcher r=m_kato
2016-03-16 13:47:50 +09:00
Masayuki Nakano
25c87fdc53
Bug 1137563 part.2 IMEInputHandler should use TextEventDispatcher r=m_kato
2016-03-16 13:47:50 +09:00
Masayuki Nakano
0790ee93ea
Bug 1137563 part.1 Implement TextEventDispatcherListener in TextEventInputHandlerBase and IMEInputHandler r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
e65433cc66
Bug 1137572 part.3 Use pseudo IME context when TextEventDispatcher has input transaction which is not for native event handler r=smaug
2016-03-16 13:47:47 +09:00
Kartikaya Gupta
bc8c21c555
Bug 1242690 - Squash together DispatchAPZAwareEvent and DispatchInputEvent. r=dvander
...
MozReview-Commit-ID: 2cou0cK4Yw8
2016-03-10 18:25:48 -05:00
Mike Taylor
64df1dacf7
Bug 1247796
. Use keyboardFocusIndicatorColor for ActiveBorder system color keyword. r=mstange
...
This matches what Safari and Chrome do on Mac.
2016-02-26 16:30:52 -06:00
Milan Sreckovic
9ca74932b6
Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang
2016-02-24 10:25:00 +01:00
aleth
e8c9144643
Bug 1251019 - Add -moz-mac-chrome-active and -inactive colours for OS X 10.10 and higher. r=mstange
...
--HG--
extra : rebase_source : f1fb035d5588fd4db09393e3403aee21e0c04f7d
2016-02-24 23:54:55 +01:00
Sebastian Hengst
38e8f42dfb
Backed out changeset 8151f4102646 (bug 1249640)
2016-02-24 19:01:50 +01:00
Milan Sreckovic
ef6d814a88
Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang
2016-02-19 14:40:00 +01:00
Milan Sreckovic
f0372a59b0
Bug 1249777: Added support for 10.11 in the blocklisting code as well. r=mstange
...
MozReview-Commit-ID: JCkFwfkEyEa
--HG--
extra : rebase_source : 3d6aa2044cbd91410e75fdd5b4b5d9d6148f9619
2016-02-19 16:59:37 -05:00
Rok Garbas
0e86796bc0
Bug 1248983 - Fix spelling for nsCocoaWindow.mm. r=jdm
2016-02-17 16:25:22 +01:00
Lee Salzman
2d3967c30f
Bug 1019856 - avoid double-buffering in BasicCompositor when window allows it. r=mattwoodrow
2016-02-18 20:57:29 -05:00
Calixte Denizet
3d59de4497
Bug 1248981 - Fix spelling error in nsMenuUtilsX.mm, a=tomcat
...
MozReview-Commit-ID: FQNNmz9Mirk
--HG--
extra : transplant_source : %FA%9D%02%83%AC%14%1F%BB%20%E7%9D%26W%7Fk%94ah%D6%BA
2016-02-17 15:57:01 +01:00
Kit Cambridge
91260d2668
Bug 1224785, Part 2 - Show the site favicon in OS X notifications. r=mstange
...
MozReview-Commit-ID: L7d00xEY6Ka
--HG--
extra : rebase_source : 04b35373c475fa8c212d76651f3380c316dc651c
2016-01-07 13:16:54 -07:00
James Willcox
03c12b87a9
Bug 1243418 - Fix up incorrect 'aOverwrite' usage and impl in GLUploadHelpers r=jgilbert
2016-02-08 09:18:52 -06:00
James Willcox
7528f84391
Bug 1243072 - Make GfxTexturesReporter work again r=nical,jgilbert
2016-02-08 09:18:52 -06:00
Jonathan Kew
08f9b29485
Bug 1240085
- Revert to CSS-pixel units for screenX, screenY, moveTo() APIs, and adjust the origin for secondary displays with differing resolution to avoid overlapping coordinate spaces. r=emk
2016-02-05 16:29:33 +00:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Kartikaya Gupta
6f5c11bbbf
Back out 3 csets from bug 1242690 for causing bug 1244549. r=backout
...
--HG--
extra : commitid : G7hFhHC4YDt
2016-01-31 14:44:58 -05:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Kartikaya Gupta
a5ffd45fae
Bug 1242690 - Squash together DispatchAPZAwareEvent and DispatchInputEvent. r=dvander
...
--HG--
extra : commitid : D6XEv20670v
2016-01-29 16:31:15 -05:00
Ting-Yu Lin
2d02ad0652
Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
...
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
1889f6bc41
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
...
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Nicholas Nethercote
7d6edf2c51
Bug 1239864 (part 10) - Use the new rect iterators in view/ and widget/. r=roc.
...
--HG--
extra : rebase_source : 3d1c6ff6a1a146bd74ce57e09146bba7ea075232
2016-01-18 17:20:59 -08:00
Masayuki Nakano
02e13bc9fe
Bug 1153156 part.4 Make APZC system scroll speed overriding aware r=mstange
2016-01-27 15:09:13 +09:00
Nicholas Nethercote
6a194c8cf8
Bug 1239864 (part 1) - Add new, nicer rect-iterators for nsRegion and nsIntRegion. r=roc.
...
This requires renaming the existing nsIntRegion::RectIterator as
nsIntRegion::OldRectIterator to make way for the new nsIntRegion::RectIterator.
This doesn't require many knock-on changes because most existing uses of
that type use the nsIntRegionRectIterator typedef.
--HG--
extra : rebase_source : 16c79610ae20820ead6aa63cbe214e4e4b3a9fab
2016-01-14 18:36:11 -08:00
Xidorn Quan
6c3888d288
Bug 844948 - Allow changing padding of themed button on OS X. r=mstange,heycam
2016-01-19 16:48:04 +11:00
Xidorn Quan
5917f00a73
Backed out changeset e8ad04f3a65f (bug 844948) for reftest failure on OS X
2016-01-18 17:21:12 +11:00
Xidorn Quan
f120c8eeda
Bug 844948 - Allow changing padding of themed button on OS X. r=mstange,heycam
2016-01-18 14:20:11 +11:00
Nicholas Nethercote
76dfc05b83
Bug 1239589 - Change nsBaseWidget::mBounds to a LayoutDeviceIntRect. r=kats.
...
This patch removes dozens of ToUnknown/FromUnknown conversions and doesn't add
any new ones, which is nice. It also removes UntypedDevPixelsToCocoaPoints(),
which is no longer needed.
--HG--
extra : rebase_source : 81288126b582402408518aecfc304bc128e05d15
2015-11-22 20:32:29 -08:00
Nicholas Nethercote
7892cfcede
Bug 1239530 (part 2) - Use LayoutDevice coordinates in {Start,End}RemoteDrawingInRegion() and related functions. r=kats.
...
--HG--
extra : rebase_source : b5bd2d6822904a188242efa6e46aaed9f96a15b9
2015-12-02 22:29:54 -08:00
Kit Cambridge
b88c662ff9
Bug 1219855, Part 3 - Fix variable shadowing in `OSXNotificationCenter::ShowAlert`. r=me
...
--HG--
extra : commitid : prNOLvJwOX
2016-01-13 23:26:41 -07:00
Carsten "Tomcat" Book
8bb4e16a15
Merge mozilla-central to mozilla-inbound
2016-01-13 11:58:27 +01:00