David Anderson
3f0ea0572d
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
2016-07-01 01:15:16 -07:00
Bill McCloskey
b8ababd5ee
Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander)
2016-06-30 14:30:30 -07:00
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