Commit Graph

461 Commits

Author SHA1 Message Date
Eric Rahm
c5e63515bf Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
David Anderson
9811ede28c Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Eric Rahm
c451c2932b Bug 1162293 - Part 1: Remove instances of #ifdef PR_LOGGING. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 09:43:38 -07:00
Kartikaya Gupta
52ac400890 Bug 1161206 - Implement native mousewheel event synthesization on OS X. r=mstange 2015-05-05 14:45:11 -04:00
Anthony Tseng
96161fc227 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
David Parks
ef35e5b42b Bug 1152585 - Implement GetClientOffset in nsChildView to fix child offset calculation when drawInTitlebar=false r=mstange 2015-04-29 08:41:19 -07:00
Kartikaya Gupta
9e778de02e Bug 1154739 - On desktop platforms, only enable APZ in e10s windows. r=dvander,mstange 2015-04-27 16:13:29 -04:00
Markus Stange
f6ddb243b5 Bug 1156315 - Call DispatchInputEvent in more places on OS X. r=dvander 2015-04-21 17:44:10 -04:00
Nicolas Silva
51e181888b Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Dmitry
9cfe2e37e4 Bug 1154676 - Add a null-check for the presshell. r=mstange 2015-04-15 13:15:44 -04:00
Markus Stange
38116d8a3b Bug 1154322 - Always use DrawTargetCG when painting directly into a window on OS X (unaccelerated drawRect rendering). r=jrmuizel
This also gets rid of the code path that allowed us to test DrawTargetCairo for OS X content rendering. As far as I know, nobody has made use of it in the past 12 months.

This change makes us not crash if SupportsAzureContentForType(BackendType::COREGRAPHICS) returns false, which will be the case if you flip the azure content pref to a supported non-"cg" value.
2015-04-14 11:40:53 -04:00
Kartikaya Gupta
6ad67a2382 Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Markus Stange
5dd783af1e Bug 1148868 - Fix up nsChildView::ConfigureAPZControllerThread(). r=kats 2015-04-13 17:03:38 -04:00
Markus Stange
5c34ab4326 Bug 1148868 - Forward Mac wheel events to APZ. r=dvander 2015-03-29 01:00:53 -04:00
Markus Stange
4d257b98f3 Bug 1148868 - Disable the workaround from bug 1151890 unless we use the separate event thread runner. r=kats 2015-04-13 15:42:58 -04:00
Markus Stange
730c90d3c0 Bug 1148868 - Put the APZ event thread on Mac behind a pref layers.async-pan-zoom.separate-event-thread that defaults to false. r=dvander 2015-03-29 00:58:52 -04:00
Kartikaya Gupta
4d5cda5baf Bug 1151890 - Explicitly set a null MessageLoop for the APZ controller thread on OS X. r=mstange 2015-04-07 16:53:41 -04:00
Wes Kocher
f5b8ac1dba Backed out changeset ba41917b2182 (bug 1151890) for android reftest failures 2015-04-07 17:42:41 -07:00
Kartikaya Gupta
ac56dc39d5 Bug 1151890 - Explicitly set a null MessageLoop for the APZ controller thread on OS X. r=mstange 2015-04-07 16:53:41 -04:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
David Parks
136fa3f7c8 Bug 1138678 - Ignore NOTIFY_IME_OF_BLUR when establishing secure input mode. r=masayuki
SetInputContext keeps proper tabs on the secure input setting.  This
code could result in improper IME configuration.
2015-03-18 19:08:22 -07:00
Chris Peterson
8fe8b36c2f Bug 1141917 - Remove unused member function RectTextureImage::UpdateFromDrawTarget(). r=mstange 2015-03-10 21:21:56 -07:00
David Parks
7a6ff8acd5 Bug 1138669 - Remove key event from nsChildView crash log message. r=smichaud
Removed theEvent from the message.
2015-03-05 14:25:32 -08:00
Milan Sreckovic
50350de860 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Markus Stange
40387eda22 Bug 976722 - Make -moz-appearance:toolbox influence the sheet attachment edge. r=roc 2015-03-06 14:43:46 -05:00
Steven Michaud
8d63013d20 Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug 2015-02-20 10:37:02 -06:00
David Zbarsky
f180088d5f Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -05:00
Jonathan Kew
10efb3d26f Bug 1076657 pt 3 - Support drawsVerticallyForCharacterAtIndex method in Cocoa childView and IME input handler. r=masayuki 2015-02-10 15:28:05 +00:00
Markus Stange
aa6f521cd1 Bug 1045213 - Rename template parameters to something more descriptive. r=botond 2015-02-09 00:17:35 -05:00
Robert O'Callahan
74edebf611 Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Robert O'Callahan
378416b9f9 Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies
--HG--
extra : rebase_source : 9fd0a3e071b7d3ad273667f144889938bc5d9dc4
2015-02-05 18:18:30 +13:00
Markus Stange
cb80ebc169 Bug 1045213 - Add a MakeRegionsNonOverlapping function for less repetitive code. r=botond 2015-02-04 17:25:19 -05:00
Markus Stange
2743019f51 Bug 1045213 - Make the highlighted menu item vibrant. r=smichaud 2015-02-04 17:25:19 -05:00
Markus Stange
c17a9f3bb9 Bug 1045213 - Add nsITheme::ThemeGeometryTypeForWidget. r=roc 2015-02-04 17:25:18 -05:00
Markus Stange
22c821bf28 Bug 1045213 - Use vibrancy effect for context menus. r=smichaud 2015-02-04 17:25:18 -05:00
David Zbarsky
32c35eeb2a Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Masayuki Nakano
3a205a6e4e Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
David Parks
fb79739dd4 Bug 1051842 - Part 3 - crash in -[ChildView keyDown:]. r=masayuki
Normalize secure input requests.  We have been counting the number of
requests for secure input with the intent of requiring the equal amount
of disable requests, but this behavior would not gain anything and the
implementation actually never disabled requests - it always zeros out
the count.  This patch makes the zeroing-out behavior more consistent.
DisableSecureEventInput should probably be removed.
2014-08-20 23:09:44 -07:00
David Parks
360986c3bd Bug 1051842 - Part 1 - [e10s] crash in -[ChildView keyDown:]. r=smichaud
Fix Cocoa window IME focus test to work even if window has not received
OSX main-window status.
2015-01-12 08:26:05 -08:00
Steven Michaud
a3a1208d8a Bug 1117027 - Unity DT2 demo crashes on first click with e10s disabled on OS X. r=mstange 2015-01-20 16:26:38 -06:00
Bill McCloskey
0d44b72d60 Bug 1051842 - Backout 7310c42d346e (bug 1051842) due to bug 1122208 2015-01-20 14:04:17 -08:00
Bill McCloskey
96d51df649 Bug 1051842 - Backout 90ca7355bbcc (bug 1051842) due to bug 1122208 2015-01-20 14:02:52 -08:00
David Parks
14b7eadd94 Bug 1051842 - Part 3 - crash in -[ChildView keyDown:]. r=masayuki
Normalize secure input requests.  We have been counting the number of
requests for secure input with the intent of requiring the equal amount
of disable requests, but this behavior would not gain anything and the
implementation actually never disabled requests - it always zeros out
the count.  This patch makes the zeroing-out behavior more consistent.
DisableSecureEventInput should probably be removed.
2014-08-20 23:09:44 -07:00
David Parks
d72e351c3e Bug 1051842 - Part 1 - [e10s] crash in -[ChildView keyDown:]. r=smichaud
Fix Cocoa window IME focus test to work even if window has not received
OSX main-window status.
2015-01-12 08:26:05 -08:00
Neil Deakin
4e63aa936f Bug 1102039, Ensure that the popup's widget visibility is updated after rollup, allows popups to disappear at the start of the minimize animation rather than after, r=tn 2015-01-07 20:52:20 -05:00
David Anderson
d556e1e7b3 Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
David Anderson
104a98a38b Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
Ehsan Akhgari
a7d06addb0 Bug 1111242 - Use std::abs instead of fabsf in nsChildView.mm; r=josh
clang gives the following warning on these fabs usages:
absolute value function 'fabsf' given an argument of type 'CGFloat' (aka 'double') but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]

--HG--
extra : amend_source : 1c2352555626c0b412bdd5c383074726f84e2c7b
2014-12-14 14:58:56 -05:00
Josh Aas
6141b5290e Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
Markus Stange
ae707003c0 Bug 1102823 - Zoom the window when the title bar is double clicked, if enabled. r=smichaud 2014-11-24 16:53:33 -05:00