Commit Graph

427 Commits

Author SHA1 Message Date
Jim Mathies
499e650972 Bug 844362 - commit backout changes. DONTBUILD CLOSED TREE 2013-03-13 09:10:47 -05:00
Jim Mathies
d8cc4243f8 backout 7416ba3eb977 due to a bad bug number in the commit message. DONTBUILD CLOSED TREE 2013-03-13 09:10:08 -05:00
Jim Mathies
7c4d89bed2 Bug 833362 - Don't invoke various interfaces during shutdown if GetActivationFactory for a interface fails (crashfix). r=tabraldes 2013-03-12 12:07:49 -05:00
Brian R. Bondy
e0281ca50c Bug 849607 - Sharing in Metro Firefox start screen should indicate nothing to share instead of error. r=jimm 2013-03-12 10:11:48 -04:00
Masayuki Nakano
d852dac924 Bug 790516 part.10 Make nsTextStore::RecordCompositionEndAction() for processing composition end action r=jimm 2013-03-13 12:01:30 +09:00
Masayuki Nakano
f206fcda99 Bug 790516 part.9 Rename nsTextStore::OnCompositionStartInternal() to nsTextStore::RecordCompositionStartAction() r=emk 2013-03-13 12:01:30 +09:00
Masayuki Nakano
c8bf5ad6d6 Bug 790516 part.8 Rename nsTextStore::UpdateCompositionExtent() to nsTextStore::RestartCompositionIfNecessary() r=emk 2013-03-13 12:01:30 +09:00
Masayuki Nakano
3387b87bc7 Bug 790516 part.7 Remove nsTextStore::Composition::mLength r=jimm 2013-03-13 12:01:30 +09:00
Masayuki Nakano
367e6acdd7 Bug 790516 part.6 Cache content during document lock r=jimm 2013-03-13 12:01:30 +09:00
Masayuki Nakano
df362d5126 Bug 790516 part.5 Store selection even if there is no composition r=jimm 2013-03-13 12:01:29 +09:00
Masayuki Nakano
e55a763103 Bug 790516 part.4 Refine logging the document lock state of nsTextStore r=emk 2013-03-13 12:01:29 +09:00
Masayuki Nakano
13bc2bb4d5 Bug 790516 part.3 Store edit actions during document lock and flush them at unlocking the document r=jimm 2013-03-13 12:01:29 +09:00
Masayuki Nakano
b4db6671eb Bug 790516 part.2 Make some useful methods on nsTextStore::Composition r=emk 2013-03-13 12:01:29 +09:00
Masayuki Nakano
3fc36e11b4 Bug 790516 part.1 Move composition string data of nsTextStore into a nested class r=emk 2013-03-13 12:01:29 +09:00
Zack Weinberg
db6d545915 Bug 847181: prune unused printing-related nsresult codes, make printing error codes available in Components.results, and improve English of printing error messages. r=smaug 2013-03-08 21:45:14 -05:00
Daniel Holbert
accc46f11d Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
Masayuki Nakano
e71fc2d290 Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
f0a51c925c Bug 558976 part.2 Implement nsIWidget::NotifyIME() on Windows r=jimm 2013-03-06 15:14:32 +09:00
Seth Fowler
ac9bcbd55d Bug 846132 - (Part 2) Update CopyFrame callers to use GetFrame. r=jdm 2013-03-05 15:39:48 -08:00
Jeff Walden
72eca3f9c1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jim Mathies
09831683f1 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Benoit Jacob
feda0f5a7e Bug 843273 - block Direct2D on Intel drivers <= 8.15.10.2302 - r=joe 2013-03-12 15:40:29 -04:00
Neil Rashbrook
ddac28cf16 Bug 729649 Progress meters on XP should be chunk style r=bbondy 2013-03-02 14:37:20 +00:00
Neil Rashbrook
863774221b Backed out changeset 4fa6b9dbe823 for incorrect commit comment 2013-03-02 14:36:35 +00:00
Jim Mathies
48ed13fa99 Bug 729549 Progress meters on XP should be chunk style r=Neil
--HG--
extra : rebase_source : 16f5256264ca8bb7d6ecda25f4a61b9605e7056a
2013-02-25 10:17:06 +00:00
Jim Mathies
5159b442ef Bug 658829 part 5 - render classic progress meters r=Neil
--HG--
extra : rebase_source : 17c054b7b996a2cae077dd672c1fddd2d7181a41
2013-02-25 00:27:26 +00:00
Jim Mathies
d37f2d953a Bug 658829 part 5 - render themed progress meters r=Neil
--HG--
extra : rebase_source : b26efa08d043384be6f588d48857e381ba86e9ad
2013-02-25 00:27:22 +00:00
Jim Mathies
5f72cfb6c1 Bug 658829 part 4 - add helper methods r=Neil
--HG--
extra : rebase_source : 3c31d3ef56ffd2e026c8d774c98aded2c40a4470
2013-02-25 00:27:10 +00:00
Jim Mathies
228cb58d15 Bug 392672 Make progress meter corner pixels transparent r=bbondy
--HG--
extra : rebase_source : 72aed4ae6b57d1f929d8825f2fe2cb10977f2eaa
2013-02-25 00:16:16 +00:00
Jim Mathies
fc26ef8819 Bug 658829 part 1 - preliminary cleanup r=bbondy
--HG--
extra : rebase_source : d2c506e0a64a4686dbf7d18b2c89bafcd83ea015
2013-02-25 00:16:02 +00:00
Jim Mathies
9fbf61c891 Bug 846679 - Export WinUtils so we can use its handy dandy routines in other places besides widget. r=masayuki 2013-03-01 16:16:13 -06:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
093513a011 Bug 784841 - Part 18μ: Convert /widget; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Brian R. Bondy
0a16b248cb Bug 845008 - Metro's save file picker always throws on appendFilter. r=tabraldes 2013-02-25 16:56:45 -05:00
Masayuki Nakano
655c82d56b Bug 840409 part.16 Use IMM even in TSF mode when plugin has focus r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
6f57f77304 Bug 840409 part.15 Implement widget::IMEHandler::CanOptimizeKeyAndIMEMessages() r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
8636af0d3e Bug 840409 part.14 Implement widget::IMEHandler::GetNativeData() r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
7860e50ef0 Bug 840409 part.13 Implement widget::IMEHandler::IsIMEEnabled() which checks whether the state indicates IME available or not r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
ffe36857e4 Bug 840409 part.12 Implement widget::IMEHandler::InitInputContext() and widget::IMEHandler::SetInputContext() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
b2cf4616f0 Bug 840409 part.11 Implement nsIMEContext::AssociateDefaultContext() and nsIMEContext::Disassociate() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
2ee4532858 Bug 840409 part.10 Implement widget::IMEHandler::SetOpenState() and widget::IMEHandler::GetOpenState() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
a1e6c7fa27 Bug 840409 part.9 Implement widget::IMEHandler::GetUpdatePreference() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
22e97fe483 Bug 840409 part.8 Implement widget::IMEHandler::NotifyIMEOfTextChange() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
87fb037aa7 Bug 840409 part.7 Define new notification for IME of focus or selection change and handle them in widget::IMEHandler::NotifyIME() r=jimm, feedback=roc 2013-02-25 13:00:06 +09:00
Masayuki Nakano
6b50361c18 Bug 840409 part.6 Implement widget::IMEHandler::NotifyIME() for committing and canceling composition r=jimm, feedback=roc 2013-02-25 13:00:06 +09:00
Masayuki Nakano
40c99b75a4 Bug 840409 part.5 Implement widget::IMEHandler::IsComposing() and widget::IMEHandler::IsComposingOn() r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
0d9c8799bd Bug 840409 part.4 Implement widget::IMEHandler::CurrentKeyboardLayoutHasIME() for debug r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
debd292b19 Bug 840409 part.3 Implement widget::IMEHandler::ProcessMessage() r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
7110afadca Bug 840409 part.2 Move nsIMM32Handler::IsDoingKakuteiUndo() to widget::IMEContext r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
120bd103ae Bug 840409 part.1 Implement widget::IMEHandler with Initialize() and Terminate() methods r=jimm 2013-02-25 13:00:05 +09:00
Makoto Kato
b39fce65f0 Bug 774627 - Remove d2d pragma lib directives from MetroWidget. r=jimm 2013-02-25 12:20:42 +09:00
Brian R. Bondy
56ff9b26dd Bug 844550 - Secondary tile text is almost invisible on Windows 8. r=jimm 2013-02-24 08:52:57 -05:00
Brian R. Bondy
362a5385f2 Bug 843928 - Share fails because of packaging. r=jimm
--HG--
rename : widget/windows/winrt/components.manifest => widget/windows/winrt/MetroUIUtils.manifest
2013-02-22 16:08:22 -05:00
Makoto Kato
2cbd8b59b2 Bug 843456 - Don't use processor macro on UIABridge.idl. r=jimm 2013-02-22 13:36:11 +09:00
Jim Mathies
dfc41199ba Bug 842361 - nsIClipboard's clearClipboard doesn't clear the clipboard on Windows. r=bbondy 2013-02-19 19:51:02 -06:00
L. David Baron
5ef4421fa5 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Makoto Kato
be5e0a750a Bug 841295 - Metro widget should use uintptr_t for wParam and lParam. r=jimm 2013-02-15 13:37:38 +09:00
Joshua Yuan
0b9c559fd5 Bug 827784 - Provide an option to disable favicons on webpage shortcuts in Windows. r=bbondy 2013-02-12 19:48:18 -05:00
Masayuki Nakano
d7c20fed9a Bug 833719 part.2 New DOM keyCodes should be mapped on Windows r=jimm+smaug 2013-02-13 14:47:19 +09:00
Jim Mathies
c2b01d0f97 Bug 750901 - Land widget/windows/winrt/* r=bbondy 2013-02-12 14:51:25 -06:00
Masayuki Nakano
cbc65e9e5f Bug 708936 Dispatch defaultPrevented Alt keyup event if VK_MENU is received with WM_KEYUP instead of WM_SYSKEYUP r=jimm+smaug 2013-02-12 10:03:00 +09:00
Honza Bambas
ae8873afd8 Bug 836872 - Use TimeStamp::NowLoRes() in nsAppShell, r=roc 2013-02-11 22:56:59 +01:00
Robert Strong
2615fbe80d Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl
edc1aa01df Swipe availability check - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud 2013-02-08 13:57:28 -08:00
Brad Lassey
433ea4a82c bug 674739 - Implement DOM3 KeyboardEvent types, use volume keys in windows widget code r=masayuki 2013-02-04 16:25:24 -05:00
Jacek Caban
9e276d553f Bug 835738 - Use GUID_PROP_INPUTSCOPE declaration from inputscope.h r=jmathies 2013-01-30 11:45:42 +01:00
Robert O'Callahan
7d5297cfef Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan
ff003c47b7 Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Ryan VanderMeulen
517ca6292f Merge m-c to fx-team. 2013-01-26 21:21:39 -05:00
Matthew Noorenberghe
91dfb7f3b4 Bug 816803 - Add system metric and media query keyword to detect whether the current Windows desktop theme supports Aero Glass. r=jimm,sr=roc
--HG--
extra : rebase_source : 56b27cbbbcc0cde254ef7aa7087f11360c476390
2013-01-16 19:27:16 -08:00
Jim Mathies
56817a0094 Bug 783882 - Add ITfInputScope support to nsTextStore, and add support for various html5 form input types. r=masayuki 2013-01-26 08:35:21 -06:00
Ehsan Akhgari
b483ee1c54 Bug 830765 - Remove the unneeded code which tracks the list of loaded modules because it is unused and can cause multi-second hangs; r=sicking a=removes-code-from-libxul 2013-01-21 15:55:31 -05:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Ehsan Akhgari
dbaf74bc59 Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary 2013-01-14 16:21:54 -05:00
Trevor Saunders
14a806d47d no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Robert O'Callahan
183c97ef01 Bug 794246. Assume inactive menu items don't paint a background of their own. r=bas
--HG--
extra : rebase_source : 521565f2d399c5501fb705a55f52c917f19c4733
2013-01-08 00:06:11 +13:00
Trevor Saunders
deff95ca58 bug 828234 - fix nsTextStore.cpp build on mingw r=masayuki 2013-01-09 09:41:58 -05:00
Jim Mathies
d0acebc53b Bug 785534 - Prep work for adding MetroWidget support to the TSF nsTextStore widget module, r=emk 2013-01-07 09:18:11 -06:00
Masayuki Nakano
71ba78b61d Bug 823904 Support edit actions of WM_APPCOMMAND such as Copy, Cut, Paste, Undo and Redo r=jimm 2013-01-07 23:21:21 +09:00
Ehsan Akhgari
ac66f2835b Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc 2013-01-05 23:07:27 -05:00
Marco Bonardo
d59faacc98 Bug 826115 - Remove noisy NS_ENSURE_TRUE(rollupWidget, false) from nsWindow.cpp
r=jimm
2013-01-04 17:42:34 +01:00
Jim Mathies
c88034f894 Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Masayuki Nakano
ce4bc9854b Bug 825167 Use nsDependentSubstring instead of nsDependentString for nsTextStore::InsertTextAtSelection() since the string can be empty r=jimm 2012-12-31 09:33:49 +09:00
Masayuki Nakano
6364dea57c Bug 672193 Support some actions of WM_APPCOMMAND such as New, Open, Close, Save, Find, Help, SendMail, ReplyToMail and ForwardMail r=gavin+jimm 2012-12-31 09:33:49 +09:00
Masayuki Nakano
e94e7553b3 Bug 822866 Make mozilla::widget::BaseEventFlags which is a POD struct for VC r=smaug 2012-12-28 23:13:18 +09:00
Timothy Nikkel
f1b3ee04ea Bug 824634. Painting may run script so hold onto the layer manager and re-get the listener in case it changed. r=jimm 2012-12-26 13:49:07 -06:00
Jonathan Kew
cf2a314d3d bug 628917 - avoid rebuilding the font list repeatedly, by only handling WM_FONTCHANGE for the hidden window. r=jdaggett 2012-12-21 09:49:28 +00:00
Jonathan Kew
346a06ac29 bug 765700 - part 2 - always trigger reflow when font list is updated on Windows, not only if there's a new langGroup. r=jdaggett 2012-12-21 09:49:07 +00:00
Neil Deakin
16bc7e96f5 Bug 815691 - The panel's context menu doesn't change after clicking on a different item
r=jimm
2012-12-17 14:55:37 +01:00
Jim Mathies
0de1c06fda Bug 814953 - Check for possible widget tear down before calling UpdateWindow in widget's Show. r=bbondy 2012-12-17 06:53:28 -06:00
Masayuki Nakano
ebad00b4b8 Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
c42d85d96f Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Jonathan Kew
57c363c76d bug 821454 - scaling from display to device pixels should only apply to top-level windows/dialogs/popups, not to child or plugin windows. r=roc 2012-12-14 12:58:15 +00:00
Jim Mathies
4d43aad903 Bug 814953 - Cleanup Win nsWindow WindowProcInternal and move the window ref up above DealWithPopups. r=roc 2012-12-14 06:56:36 -06:00
Timothy Nikkel
8ababa3d2c Bug 805745. WillPaint notification can flush, so re-get the listener after it on Windows widget backend. r=jimm 2012-12-12 15:57:08 -06:00
Jonathan Kew
34fe69c06b bug 819725 pt 2 - apply default scaling in widget/windows/nsWindow move & resize methods, to account for non-100% Windows UI scale factors. r=roc 2012-12-09 20:54:46 +00:00
Jonathan Kew
31bd43b8c2 bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc 2012-12-12 09:57:38 +00:00
Trevor Saunders
366d00605f bug 817133 - move platform init and shutdown stuff out of nsAccessNodeWrap and ApplicationAccessibleWrap static methods r=surkov 2012-12-01 19:58:25 -05:00