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