Commit Graph

5698 Commits

Author SHA1 Message Date
Robert O'Callahan
57f402ecbb 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
Ed Morley
3543eadcba Backout 7f4f96dbf94f (bug 827172), 661847c6e48b (bug 827724), 00e357dd1458 (bug 827149) to fix the build on a CLOSED TREE 2013-01-11 11:13:17 +00:00
David Zbarsky
b20442f721 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-11 02:15:05 -05:00
Masayuki Nakano
2bd6ff1768 Bug 821329 Set charCode of keypress event when TextInputHandler::InsertText() is called without native key event r=smichaud 2013-01-11 12:30:12 +09:00
Kartikaya Gupta
513d67161a Bug 785597 - Allow the compositor to be registered earlier in the startup process and prevent creating multiple LayerManager instances. r=snorp 2013-01-10 11:21:10 -05:00
Kartikaya Gupta
a752c5511f Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa 2013-01-10 11:21:10 -05:00
Diego Wilson
105835da4b Bug 810501: Get buffer offset from ThebesLayer when composing with hwc. r=cjones a=blocking-basecamp 2013-01-10 11:51:43 +01:00
Diego Wilson
ac06b64689 Bug 808339: HWC fallback on multirect layer. r=cjones a=blocking-basecamp 2013-01-09 18:18:13 +01:00
Jim Chen
d948f7e9cd Bug 827065 - Simplify selection update code and use new focus text update offsets; r=cpeterson 2013-01-09 11:57:48 -05:00
Trevor Saunders
4277a50380 bug 828234 - fix nsTextStore.cpp build on mingw r=masayuki 2013-01-09 09:41:58 -05:00
Diego Wilson
6eaf476191 Bug 810361: Handle ColorLayers with HwcComposer2D. r=cjones a=blocking-basecamp 2013-01-09 13:56:37 +01:00
Ehsan Akhgari
fb00d8ba4e Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Jim Mathies
906315714f 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
e51aa84004 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
7df39aa6c7 Merge mozilla-central into mozilla-inbound 2013-01-06 22:49:02 -05:00
Ehsan Akhgari
5c76c7d75d 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
Nicholas Nethercote
c4ce282f51 Bug 825150 - Remove const_casts by adding some const-ness to nsICommandLineRunner.init(). r=karlt, sr=bsmedberg.
--HG--
extra : rebase_source : 3b68c3467fa533442cdc5bcefdf7fbe6140e87a3
2013-01-03 13:52:32 -08:00
Robert O'Callahan
8eb09029ac Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
e8c3b8e1be Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
b56cdd701e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Steven Michaud
bd6bb3095c Bug 825734 - Plugins stop rendering when top half of plugin scrolled off top of page, in HiDPI mode. r=jfkthame 2013-01-04 16:39:22 -06:00
Marco Bonardo
857c57179f Bug 826115 - Remove noisy NS_ENSURE_TRUE(rollupWidget, false) from nsWindow.cpp
r=jimm
2013-01-04 17:42:34 +01:00
Vicamo Yang
ad217d87d0 Bug 820780 - Part 4/5: Android backend, r=blassey 2013-01-04 14:26:27 +08:00
Karl Tomlinson
2ec0741d48 back out 54501cee764e b=623380 2013-01-04 13:44:22 +13:00
Karl Tomlinson
413e323613 b=814200 remove unnecessary XSelectInput with XtAddEventHandler r=stransky
--HG--
extra : rebase_source : c5ab3dc7f89e78fb32e4e03b71a7aa91b97364e7
2013-01-04 12:37:08 +13:00
Karl Tomlinson
1f3fc2eca3 b=814200 listen only to necessary Xt events and be explicit about those events r=stransky
--HG--
extra : rebase_source : 9be042c06d9d3dd291bd0ec299dc0de853d096bf
2013-01-04 12:37:08 +13:00
Karl Tomlinson
542cae9df7 b=814200 don't redirect embedder socket window resize requests to Xt client r=stransky
--HG--
extra : rebase_source : 936d2fb8dbed72c064b158a106dde582b091454b
2013-01-04 12:37:08 +13:00
Karl Tomlinson
94dd990ddf b=814200 remove unused gtk_xtbin_set_position r=stransky
--HG--
extra : rebase_source : 7e86223d66a94e5668b5d49a05bf16e9a9825cf3
2013-01-04 12:37:02 +13:00
Nicholas Nethercote
5862e573ef Bug 826158 - Fix two -Wself-assign warnings in widget/gtk2/. r=karlt.
--HG--
extra : rebase_source : cfbd0c5807e7b067a881583c6ac9f48b2848c021
2013-01-03 14:36:53 -08:00
Robert O'Callahan
f9b9491b81 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Karl Tomlinson
f7ba3ba9ff b=623380 destroy XtClient child window on unrealize r=stransky
--HG--
extra : transplant_source : u%8A%02%E1%C5%96%16%21ica%9A%80%AF%A3e%16%0C%7Dy
2013-01-03 09:45:10 +13:00
Karl Tomlinson
a272e613db b=821749 remove unnecessary mTransientParent r=roc
--HG--
extra : transplant_source : %D9E%BD%F12%0E%B8U%EB%98%D3%B4%CD%D4%AC/%E5%A9%A6%05
2013-01-03 09:44:19 +13:00
Karl Tomlinson
e49a95aa47 b=821749 remove mWindowGroup, handled by gtk_window_set_transient_for r=roc
--HG--
extra : transplant_source : %AF%E2%D5_h%7B%2A%B2%BCQ%88%CD%1E%DEfq%E7%3B%3E%04
2013-01-03 09:44:12 +13:00
Karl Tomlinson
ec0bdbbe62 b=821749 remove code to give transient-for-none dialogs a separate ICCCM group leader r=roc
This reverts the change for bug 194323, which is now no longer necessary.
Removing this means that the GtkWindow is realized with its event mask set and
oxygen-gtk knows to keep out of our way.

--HG--
extra : transplant_source : %81%A4%C3o%A7%EF%91y%B8%E2%B1%FE%A9%F3v/%0A%CF%2A-
2013-01-03 09:44:06 +13:00
Nicholas Nethercote
2e4cba0da3 Bug 825079 - Fix -Wint-to-pointer-cast warnings and remove trailing whitespace in nsBaseWidget.cpp. r=roc. 2013-01-01 14:38:48 -08:00
Nicholas Nethercote
1c8d094c0f Bug 824885 - Fix -Wdeprecated-writable-strings warnings in xremote code. r=karlt. 2012-12-26 21:57:57 -08:00
Jim Mathies
bf0ef59040 Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Masayuki Nakano
01539357d9 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
fbeff841fd 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
aef542653e 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
5825953ba6 Bug 824868. Make AutoLayerManagerSetup save the layer manager it is using so we are sure to use the right oen when it goes out of scope to clean up. r=roc 2012-12-26 23:55:41 -06:00
Timothy Nikkel
40f7118381 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
Nicholas Nethercote
df43bc1128 Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf. 2012-12-23 20:45:57 -08:00
Daniel Holbert
901d4f41b3 Bug 822804: Mark variables destIdx & destPos in GfxDriverInfo.h as unsigned, to fix build warning for unsigned/signed comparison. r=Bas 2012-12-22 09:29:04 -08:00
Benoit Jacob
b9c69c412e Bug 802827 - Android blacklisting: Use the Android version RELEASE string, instead of the SDK_INT number - r=joedrew 2012-12-21 17:32:14 -05:00
Ehsan Akhgari
06ec3157b0 Merge mozilla-central into mozilla-inbound 2012-12-21 12:47:56 -05:00
Kartikaya Gupta
d8040a8d4e Bug 785597 - Don't create a LayerManager for a content window of an invisible top-level window. r=snorp 2012-12-21 11:33:28 -05:00
Kartikaya Gupta
1814d8a991 Bug 785597 - Get rid of unused mGLVersion field. r=snorp 2012-12-21 11:33:09 -05:00
Brian R. Bondy
edb857f632 Bug 817677 - Sharing in Firefox Metro should only share selected content when selection is made. r=jimm 2012-12-21 11:09:02 -05:00
Markus Stange
89d149fbcf Bug 766883 - Don't abort during shutdown when SignalTracerThread is called twice before FireAndWaitForTracerEvent notices; r=ted DONTBUILD
CLOSED TREE
2012-12-21 16:11:24 +00:00
Ed Morley
4e06d10e6f Backout 913296ba049f (bug 766883) since no author was set
CLOSED TREE
2012-12-21 16:09:52 +00:00
Ed Morley
283ed61bcc Bug 766883 - Don't abort during shutdown when SignalTracerThread is called twice before FireAndWaitForTracerEvent notices; r=ted 2012-12-21 16:01:51 +00:00
Gregor Wagner
ef37083bac Bug 823201 - Keyboard doesn't work in OOP apps. r=cjones 2012-12-19 19:42:29 -08:00
Justin Lebar
aceb4ec69b Bug 819791 - Part 4: Remove an unnecessary TArray copy in OrientationObserver.cpp. r=mounir 2012-12-18 20:16:06 -05:00
Joe Drew
d070cfdc5f Bug 716140 - Convert the XPCOM imgIDecoderObserver interface into a private C++ interface, imgDecoderObserver, so we can more easily make changes to it. r=jrmuizel 2012-12-18 11:37:15 -05:00
Matt Woodrow
0e7b152e2b Bug 795833 - Add a RequestRepaint method to nsIWidgetListener and use it in the android widget instead of invalidating the view. r=roc 2012-12-18 16:42:02 +13:00
Oleg Romashin
dce83dc3bb Bug 822307 - Typo bug introduced into Qt nsWindow.cpp after landing 819725. r=jfkthame 2012-12-17 08:51:54 -08:00
Neil Deakin
7ac3514ffe 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
b1c0111f55 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
Timothy Nikkel
0558af6026 Bug 813024. Restore mTemporarilyUseBasicLayerManager to the previous value instead of setting it to false when using an AutoUseBasicLayerManager object. r=roc 2012-12-17 00:35:39 -06:00
Steven Michaud
315b4dccc7 Bug 804606 - Stop Flash from crashing in CoreGraphics mode on accessing "our" CGContextRef outside of the call we use to pass it. r=bgirard 2012-12-16 16:39:29 -06:00
Masayuki Nakano
2455263ab2 Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
160a2495d0 Bug 813445 part.13 nsEventDispatcher shouldn't use the flags defined in nsGUIEvent.h r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
322db055c2 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
8ef3cf1583 Bug 813445 part.11 Don't use NS_EVENT_FLAG_NO_CONTENT_DISPATCH for nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
b5bfba81cc Bug 813445 part.10 Remove NS_EVENT_FLAG_DONT_FORWARD_CROSS_PROCESS and NS_EVENT_RETARGET_TO_NON_NATIVE_ANONYMOUS r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
0b4728f158 Bug 813445 part.9 Remove NS_EVENT_FLAG_EXCEPTION_THROWN r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
0dced195ab Bug 813445 part.8 Remove NS_EVENT_FLAG_SYNTHETIC_TEST_EVENT r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
f214472f22 Bug 813445 part.7 Remove NS_EVENT_DISPATCHED and NS_EVENT_FLAG_DISPATCHING r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
0adde071a4 Bug 813445 part.6 Remove NS_EVENT_FLAG_PREVENT_MULTIPLE_ACTIONS r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
e26d8738b2 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
Masayuki Nakano
170ab43d48 Bug 813445 part.4 Remove NS_EVENT_FLAG_STOP_DISPATCH and NS_EVENT_FLAG_STOP_DISPATCH_IMMEDIATELY r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano
792137f340 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano
28cc7d378c Bug 813445 part.2 Don't use NS_EVENT_FLAG_BUBBLE and NS_EVENT_FLAG_CAPTURE for nsEvent::flags r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano
eb6b871bcb Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Jeff Walden
7146c23e80 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
Jeff Muizelaar
b4e2a8d95a Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
This doesn't switch all of the users yet, but is a step in the right
direction.

--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Kartikaya Gupta
810968cdf4 Bug 817134 - Remove the low-res screenshotting code. r=blassey 2012-12-15 10:43:52 -05:00
Jonathan Kew
619b4ce429 bug 821679 - handle display-to-device pixel scaling of mouse-click position when creating drag image. r=roc 2012-12-14 20:25:51 +00:00
Jonathan Kew
e225d2ac6c 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
Masayuki Nakano
c17dc71e73 Bug 823369 Check mozilla::widget::EventFlags size at compile time r=smaug 2012-12-22 00:07:08 +09:00
Jonathan Kew
cc6519bc64 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
2bd5431ea7 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
Masayuki Nakano
66464f7d58 Bug 815383 Handle shift, control, option and meta flags in NSFlagsChanged event handler even if some applications send it with device dependent flags but without proper keyCode r=smichaud 2012-12-21 17:31:24 +09:00
Jim Mathies
12bb67cc3e Bug 814953 - Cleanup Win nsWindow WindowProcInternal and move the window ref up above DealWithPopups. r=roc 2012-12-14 06:56:36 -06:00
Jonathan Kew
8ff63dd0ba bug 820327 - work around potentially misleading backingScaleFactor returned by windows with zero area. r=roc 2012-12-14 09:46:16 +00:00
Neil Rashbrook
9b2695c7bb Bug 819154 Clean up string usage in Android Bridge r=blassey 2012-12-13 22:03:44 +00:00
Timothy Nikkel
7d1bc73bde Bug 805745. Paint notification can flush (via WillPaint), so re-check if the listener still exists after on puppet widget backend. r=cjones 2012-12-12 15:57:08 -06:00
Timothy Nikkel
18a3dcb16f 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
Timothy Nikkel
4f9b3f73f8 Bug 805745. WillPaint notification can flush, so re-get the listener after it on GTK2 widget backend. r=karlt 2012-12-12 15:57:08 -06:00
Jonathan Kew
fa1d6e3b6e 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
aa8404a74a 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
Vicamo Yang
ee753c6b25 Bug 774621 - Part 4/5: Android backend, r=sicking 2012-12-11 17:09:49 +08:00
Eitan Isaacson
ca1e60aaf1 Bug 817684 - Translate Android hover enter/exit to mouseenter/mouseleave. r=wesj 2012-12-10 15:47:47 -08:00
Ehsan Akhgari
6a8d44025c Merge mozilla-central into mozilla-inbound 2012-12-09 12:40:04 -05:00
Doug Turner
932100423d Bug 808262- Otoro/unagi sometimes start up in landscape and can't be switched to portrait. The working theory is that, for some reason, we can not access the fb. If that happens, just abort and try again later. r=dhylands a=blocking-basecamp 2012-12-07 16:02:48 -08:00
Jim Chen
cd1f740df3 Bug 811755 - Add test for PreContentIterator in nsContentEventHandler; r=masayuki 2012-12-07 14:48:18 -05:00
Masayuki Nakano
fd0b4af925 Bug 769159 Handle GDK_Shift_Lock as Shift key on GTK r=karlt 2012-12-07 10:06:17 +09:00