Commit Graph

322 Commits

Author SHA1 Message Date
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
Mats Palmgren
e6ad33709d Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Masayuki Nakano
d7724c8a5c Bug 733630 part.2 Do hit test inside border r=jimm 2012-12-04 17:44:48 +09:00
Masayuki Nakano
2ba8c5494c Bug 733630 Use native window border size if there is no content under mouse cursor r=jimm 2012-12-04 17:44:47 +09:00
Jim Mathies
a91cb606a4 Bug 780333 - StartAudioSession and StopAudioSession get skipped in 64-bit builds. r=bbondy 2012-11-29 14:50:20 -06:00
Boris Zbarsky
22346230f8 Bug 815671 part 6. Fixes to widget code to not copy arrays implicitly. r=jlebar 2012-11-29 11:14:14 -05:00