Commit Graph

5664 Commits

Author SHA1 Message Date
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
Jim Chen
f555bdd9e3 Bug 818501 - Get composition styles from styles returned by the system; r=cpeterson 2012-12-06 14:35:59 -05:00
Jonathan Kew
9ccd2a254b bug 814434 - use global display pixels for window positioning/sizing for consistency across mixed-resolution screens. r=smichaud 2012-12-06 17:31:34 +00:00
Daniel Holbert
9fc27962c1 Bug 818629: Don't use "g_free" as finalize function in xt_event_funcs - just let refcounting take care of cleaning up. r=karlt 2012-12-05 21:05:46 -08:00
Daniel Holbert
e715954f51 Bug 818611: Move declaration of "GSource* gs" to beginning of code block, to fix build warning in gtk2xtbin.c. r=karlt 2012-12-05 21:05:42 -08:00
Shelly Lin
d25e8c1a53 Bug 803039 - Correct the logic of finding user activity in IdleTimerCallback (fixes bug 811459). r=jlebar 2012-12-03 10:21:00 +08:00
Shelly Lin
1be3a2a802 Bug 803039 - Use TimeStamp instead of PRTime to store the idle time. r=jlebar 2012-10-26 10:17:36 +08:00
Trevor Saunders
580ff17032 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
Jim Chen
0a92b8105d Bug 811755 - Buffer and coalesce IME selection and text changes; r=cpeterson 2012-12-05 11:09:56 -05:00
Cameron McCormack
3a7d1398ef Bug 817913 - Don't have static functions in GfxDriverInfo.h. r=bas 2012-12-05 15:51:52 +11:00
Benoit Jacob
4b7b3e07c2 Bug 816695 - Blocklist llvmpipe graphics driver - r=jgilbert 2012-12-04 11:40:21 -05:00
Ed Morley
4d4eaaac51 Merge mozilla-central to mozilla-inbound 2012-12-04 15:38:27 +00:00
Ed Morley
0bdfb2826e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-12-04 14:53:45 +00:00
Ehsan Akhgari
fe59cfa725 Bug 806746 - Port test_bug462106.xul to the new per-window PB APIs; r=jdm
DONTBUILD because this is NPOTB for global PB builds

--HG--
rename : widget/tests/test_bug462106.xul => widget/tests/test_bug462106_perwindow.xul
2012-12-04 09:47:17 -05:00
Mats Palmgren
60ccae9fe3 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Masayuki Nakano
fd0e4acf64 Bug 733630 part.2 Do hit test inside border r=jimm 2012-12-04 17:44:48 +09:00
Masayuki Nakano
efea9919cc 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
Makoto Kato
922dfb3e23 Bug 815945 - Gonk needs to implement nsLookAndFeel::GetPasswordCharacterImpl. r=mwu 2012-12-04 12:24:51 +09:00
Karl Tomlinson
2a37cefc14 b=813997 keep window max size to 16 bits r=roc
--HG--
extra : transplant_source : %DB%AA%25%1A6%B8%8F%23%EF%F3%F8%AD%14%C3%B6%87%BE0%D8i
2012-11-28 11:07:11 +13:00
Masayuki Nakano
8e62585dc6 Bug 769548 Support ISO_Level5_Shift as DOM AltGr r=karlt 2012-12-01 18:04:38 +09:00
Michael Wu
c498cdcce2 Bug 809665 - Boot animation support for B2G, r=cjones,joe 2012-11-28 13:43:19 -05:00
Jim Mathies
1535ed20d0 Bug 780333 - StartAudioSession and StopAudioSession get skipped in 64-bit builds. r=bbondy 2012-11-29 14:50:20 -06:00
Boris Zbarsky
909f6d9ba2 Bug 815671 part 6. Fixes to widget code to not copy arrays implicitly. r=jlebar 2012-11-29 11:14:14 -05:00
Makoto Kato
c4b069ec56 Bug 816004 - Change password mask timer to 1.5s on Gonk. f=vingtetun r=mwu 2012-11-29 15:13:35 +09:00
Robert O'Callahan
2d875982db Bug 812897. Limit WS_EX_COMPOSITED hack to pre-Windows-8. r=jmathies 2012-11-29 18:02:57 +13:00
Dave Hylands
a1e22a7dbe Bug 814783 - terminate_string16 is called twice, causing segfault when an app exits. r=mwu
Add String16.cpp to libui so that we call the terminate_string16 from that file rather than
the one from android.
2012-11-28 13:59:54 -08:00
Daniel Holbert
3ea5c0f58b Bug 815058 followup: Add FAIL_ON_WARNINGS to 2 test dirs that this bug's patch made warning-free. r=Ms2ger 2012-11-28 09:55:41 -08:00
Dave Hylands
8773c8a9de Bug 814549 - Fix OOP app segfault when exiting the app. r=cjones 2012-11-27 19:07:19 -08:00
Brian R. Bondy
48c49288ad Bug 815172 - Provide widget the ability to call into PanelUI and get other browser info. r=jimm 2012-11-27 16:24:13 -05:00
Jeff Gilbert
f650527ca3 Bug 811958 - Move TextureImage into its own files - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
9c9ac2fca3 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
144687e59c Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
cdb418accb Bug 811958 - Move TextureImage to its own files - r=bgirard 2012-11-26 12:51:58 -08:00
Jeff Gilbert
7cf8b80673 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 12:51:57 -08:00
Oleg Romashin
91efd22fff Bug 815047 - Qt Orientation does not compile on mer sdk QtMobility namespace missing. r=romaxa NPODB DONTBUILD 2012-11-25 23:13:12 -08:00