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

2025 Коммитов

Автор SHA1 Сообщение Дата
rhunt ed53e4040d Bug 1219925 - Format cleartype gamma in converted form. r=jfkthame 2016-06-09 10:52:00 +02:00
rhunt acd669ac3f Bug 1219925 - Fix for format specifiers in getCleartypeParameters. r=jfkthame 2016-06-09 09:48:00 +02:00
Kartikaya Gupta bea6d03a52 Bug 1278268 - Ensure that no-op mousemove synthesizations on Windows still fire a mousemove event. r=jimm
MozReview-Commit-ID: EXZtvqy1BLu

--HG--
extra : rebase_source : 7dcaa9370c0733267940ad8374bf783cde65e9e7
2016-06-09 09:06:58 -04:00
Ralph Giles 8afeefb1d2 Bug 1275744 - Reference MOZ_LOG in windows widget comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: GbK7Qctk44

--HG--
extra : rebase_source : f689e53703107a81182e386e7d93cbab60d6837c
2016-05-26 11:19:40 -07:00
Bob Owen 2c47d974a1 Bug 1278537: When print settings have been initialized from prefs use them when initializing from the printer. r=jimm
MozReview-Commit-ID: AgRaoIjee2t
2016-06-10 09:44:45 +01:00
Randell Jesup 05bb25d9c0 Backed out changeset 36e71bcb0266 (bug 1192945) 2016-06-10 02:24:08 -04:00
Jonathan Kingston d0636b7947 Bug 1192945 - Use channel->ascynOpen2 in widget/windows/nsDataObj.cpp . r=ckerschb, r=jmathies
MozReview-Commit-ID: 5whNAj5KAjf

--HG--
extra : rebase_source : cbe970274e34fdf32d1f60539a22b004ca0bea51
2015-08-10 12:56:47 -07:00
Jonathan Watt 4a3d84e333 Bug 1278278 - Remove gfxPDFSurface and move its logic to a PrintTargetPDF subclass of PrintTarget. r=Bas
--HG--
rename : gfx/thebes/gfxPDFSurface.cpp => gfx/thebes/PrintTargetPDF.cpp
rename : gfx/thebes/gfxPDFSurface.h => gfx/thebes/PrintTargetPDF.h
2016-06-06 16:10:28 +01: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
Neil Deakin ea192c61f5 Bug 1174798, propagate keyboard indicator state down to child processes, r=smaug 2016-06-09 07:59:31 -04:00
Masayuki Nakano c3611a1825 Bug 1278084 part.2 TSFTextStore should allow TSF to lock the document even during destroying r=m_kato
While a TSFTextStore instance is being destroyed, TSFTextStore::Destroy() tries to commit remaining composition and notify TSF of destroying the view.  At this moment, TSF/TIP may try to commit the composition or retrieve the contents with calling ITextStoreACP::RequestLock() but currently TSFTextStore disallows the requests to lock of them.  This means that TSFTextStore never sends composition commit events asynchronously.  Therefore, TextComposition may keep waiting remaining composition events but this causes odd behavior because they won't be fired.

For avoiding this issue, TSFTextStore should behave as normal even while it's being destroyed.  Fortunately, if there is a composition, it always has mLockedContent and mSelection.  So, it can compute expected results of TSF/TIP with them.

MozReview-Commit-ID: 2DSCGXXkLx1

--HG--
extra : rebase_source : 1dc5d08186bc50e7c3f1d9c5fe885ed855db8319
2016-06-08 19:12:07 +09:00
Masayuki Nakano 8cf45849ef Bug 1278084 part.1 Don't release TSF objects during handling a key message r=m_kato
While TIP is handling a key message, TSFTextStore shouldn't release any TSF objects since it may cause hitting a bug of TIPs.  Actually, MS-IME for Japanese on Windows 10 crashes when TSFTextStore is destroyed during composition because probably it accesses some destroyed objects to request to commit composition or query contents.

MozReview-Commit-ID: 9CTjHhAvG04

--HG--
extra : rebase_source : c34041962927795fe0d288aed10a96cf064b6243
2016-06-06 21:07:24 +09: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
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
Neil Deakin 1a53f18128 Bug 1276120, hide popups when a parent window is being minimized, handles the case where the window is minimized via a keyboard shortcut, r=jmathies 2016-06-03 13:59:34 -04:00
Masayuki Nakano e67330e0b4 Bug 1275906 part.1 Rename NOTIFY_IME_OF_COMPOSITION_UPDATE to NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED r=m_kato
It's not clear to me what NOTIFY_IME_OF_COMPOSITION_UPDATE means only from the name. For making the name clearer, this patch renames it to NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED and add some explanation to the definition.

MozReview-Commit-ID: 8ySYCNJ1Ytz

--HG--
extra : rebase_source : 3331b8f48e8b460c7f9b088064dcda9488f3403c
2016-05-31 11:39:15 +09:00
Makoto Kato 57055eaa38 Bug 1277156 - TaskbarPreview::Disable should check whether window is destroyed. r=jimm
TaskbarTabPreview object will be released by GC.  So when Disable method is called, window may already destroyed.  So we should check whether window is destroyed.

MozReview-Commit-ID: MGz3JmDh37

--HG--
extra : rebase_source : 43a859cbcb729718b59745182c94ef3688a44f0f
2016-06-01 14:30:23 +09:00
Mason Chang 5f4030b30a Bug 1211647. Use ::ShowWindow instead of ::ShowWindowPos for toplevel windows widgets that can't take focus. r=jimm 2016-05-26 16:34:21 -07:00
Bob Owen e9013afa1f Bug 1270447 Part 4: Remove redundant lines in nsPrintOptionsWin::DeserializeToPrintSettings. r=jimm
MozReview-Commit-ID: 9S8zNqm2W72

--HG--
extra : rebase_source : 5c333f44f32845428b9007d91bfb165f7149b4cd
2016-05-29 19:53:40 +01:00
Benoit Girard 2d0ead9236 Bug 1272819 - Fix failureid/version mixup. r=jrmuizel
MozReview-Commit-ID: 26Zq4mmikxf

--HG--
extra : rebase_source : f37d7ccb29f18d8e37aeebe0a5ef73c8b7139651
2016-05-24 17:40:27 -04:00
Jeff Muizelaar f9a3f41d46 Bug 1245756. Remove blacklisting for HD5800. r=mattwoodrow
This was before we had the AMD specific checks to block DXVA for higher resolutions/frame rates.
2016-05-24 15:38:48 -04: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
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
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
Jonathan Kew 0323f9a812 Bug 1267636 - Adjust window titlebar metrics scaling on Win10 to improve the appearance of DevEdition and similar themes on a secondary lo-dpi display. r=emk 2016-05-17 15:35:58 +01:00
Masayuki Nakano 7111223e56 Bug 1205600 Stop supporting TSF on Windows XP and Windows Server 2003 r=m_kato
We won't enable TSF mode on Windows XP nor Windows Server 2003 because they are already not supported by Microsoft itsef and installed TSF of them is too old and too buggy. Therefore, it's not worthwhile to support TSF on those environments anymore.

MozReview-Commit-ID: Cs85EvWie9K

--HG--
extra : rebase_source : 1fe36c28bf8e34de1172f589f336d1b55542bcd5
2016-05-17 14:00:59 +09:00
David Anderson c2a116cdd6 Hide top-level CompositorBridgeParents behind a new API. (bug 1272472 part 4, r=mattwoodrow,kats,gwagner) 2016-05-17 22:33:22 -07:00
David Anderson 3189d8ab85 Use IPC to schedule composites on Windows. (bug 1272472 part 3, r=jimm) 2016-05-17 22:33:21 -07:00
Jeff Muizelaar 95fa0fca19 Bug 1272822. Reducing AMD blacklisting from 8.62.0.0 to 8.56.15.1. r=Bas
This reduces the blocklisting to the version of the AMD driver that
shipped with Windows 7 RTM. I've tested out that driver on hardware in
Toronto and everything seems to run fine.
2016-05-17 21:24:23 -04:00
kshitija 43bdd72262 Bug 1259666 - Part 3- change displayPanFeedback to mDisplayPanFeedback - r=masayuki
MozReview-Commit-ID: LWOiakDEEx7

--HG--
extra : rebase_source : 4208b4cf8fe8593fec5be3de36bf4dfe0b5b87a8
2016-05-14 18:03:50 -07:00
kshitija 81668a7fc9 Bug 1259666 - Part 2 - Change panDirection to mPanDirection - r=masayuki
MozReview-Commit-ID: JVLB0Z6JUFc

--HG--
extra : rebase_source : a39f0973d8c71dbbff1540449b596357f0ed5f70
2016-04-29 03:34:46 -07:00
kshitija 118598553f Bug 1259666 part 1 - rename variable and definition change - r=masayuki
MozReview-Commit-ID: 1FWJypkoqYz

--HG--
extra : rebase_source : b3faef1abb72e8230ac70a963be96c19392632d4
2016-04-21 19:32:59 -07: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
Bob Owen 8312249b1d Bug 1189846 Part 5: Remove displayJobProperties from nsIPrintOptions. r=jimm
MozReview-Commit-ID: L10L7lnRIG4
2016-05-16 10:40:54 +01:00
Milan Sreckovic a3f941f071 Bug 1270252: Skip a blocklisting test when everything is blocked because of a missing driver version. Clean up some returns from blocklisting, where the status and return value were missing or inconsistent. r=BenWa
MozReview-Commit-ID: IIJGltGMjOi

--HG--
extra : rebase_source : 167bf9c0e0219cba8231933f4b073f56747f3dd3
2016-05-11 17:08:49 -04:00
Sotaro Ikeda 252ce4f643 Bug 1255703 - Use image surfaces for basic compositor on Windows r=mattwoodrow 2016-05-12 07:23:11 -07:00
Masayuki Nakano 5d4da6c226 Bug 1267526 part.1 TSFTextStore shouldn't notify TSF of selectin change when the selection isn't actually changed r=m_kato
MozReview-Commit-ID: 8HLz30lR2TH

--HG--
extra : rebase_source : 81b9ddb643eb4878e9d6c6c5457d7a016039a1b6
2016-05-11 18:18:51 +09:00
Masayuki Nakano 93330474c8 Bug 1267526 part.0 IMMHandler and TSFTextStore should use LazyLogModule instead of PR_NewLogModule for consistency with related logs in dom/events r=m_kato
MozReview-Commit-ID: IDmV291bKsz

--HG--
extra : rebase_source : 7065c5f25e5c25b4e1c832356e1dc3eee7a144bf
2016-05-11 18:01:34 +09:00
Masayuki Nakano c92ba85982 Bug 1261880 NativeKey should decide printable KeyboardEvent.key value of keydown and keypress events with following WM_CHAR message of WM_KEYDOWN r=m_kato
Some special keyboard layout may use a key as a non-lockable modifier key even if the key isn't a non-lockable modifier key (e.g., CapsLock key of 'Neo' for German). In such case, KeyboardLayout class cannot initialize NativeKey::mCommittedCharsAndModifiers with actual input character properly because KeyboardLayout class doesn't support such eccentric keyboard layouts.

For preventing this issue, NativeKey should overwrite mCommittedCharsAndModifiers with following WM_CHAR message when it handles WM_KEYDOWN and should handle with following WM_CHAR message.  However, we should ignore following WM_CHAR message if the character is a control character which shouldn't be inputted into focused text editor.

MozReview-Commit-ID: Ax01nnaRXek

--HG--
extra : rebase_source : fd802e868db8990481873ee8eb98375a50efa47a
2016-05-11 16:47:38 +09: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