Commit Graph

1166 Commits

Author SHA1 Message Date
David Anderson
8a9daf3775 Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Brian Grinstead
b3c9169963 Bug 1162649 - Don't call setOpaque:NO or setHasShadow:NO for non-popup windows;r=mstange 2015-05-08 14:49:29 -07:00
Eric Rahm
229a2376c1 Bug 1162293 - Part 2: Fix string leak in logging code. r=froydnj
If logging is enabled the result from |ToNewCString| will be leaked. Switched
to |NS_LossyConvertUTF16toASCII| instead.
2015-05-07 09:43:39 -07:00
Eric Rahm
15f7146909 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
83a95ac8fd Bug 1161206 - Implement native mousewheel event synthesization on OS X. r=mstange 2015-05-05 14:45:11 -04:00
Anthony Tseng
6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Markus Stange
97573e94f6 Bug 947753 - Make sure nsChildView::ComputeShouldAccelerate returns true even if it's called before layout lets the window know about whether it's transparent. r=smichaud 2015-04-22 17:13:45 -04:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Steven Michaud
783c832ba8 Bug 1159473 - Add Mac-specific debug logging code. r=spohl 2015-04-30 14:41:21 -05:00
David Parks
f8adab0ca9 Bug 1152585 - Implement GetClientOffset in nsChildView to fix child offset calculation when drawInTitlebar=false r=mstange 2015-04-29 08:41:19 -07:00
Chris Peterson
321cb5b9ca Bug 1159124 - Suppress -Wunused-exception-parameter warning in nsClipboard.mm. r=spohl 2015-04-18 21:30:11 -07:00
Jonathan Kew
7ae17d117a Bug 1157142 - Support logical (inline/block) in addition to physical orientation for the <input type=range> element; make inline the default behavior so that range sliders respect writing mode. r=jwatt 2015-04-29 08:18:54 +01:00
Kartikaya Gupta
f300e99712 Bug 1154739 - On desktop platforms, only enable APZ in e10s windows. r=dvander,mstange 2015-04-27 16:13:29 -04:00
Mike Conley
8975d0730c Bug 1096093 - Have Cocoa widget backend cache overlay scrollbar metrics. r=mstange.
--HG--
extra : rebase_source : fe44034cfbf4fe992a2adc56dc30864cc631cfa1
2015-04-22 10:58:48 -04:00
Carsten "Tomcat" Book
199bde3faa Backed out changeset 70c19dd86f63 (bug 1096093) 2015-04-23 17:18:14 +02:00
Steven Michaud
8d1c8e1be1 Bug 1151345 - Add debug logging to help decipher this bug. r=spohl 2015-04-23 09:55:20 -05:00
Mike Conley
e7c7c23dcb Bug 1096093 - Have Cocoa widget backend cache overlay scrollbar metrics. r=mstange.
--HG--
extra : rebase_source : 04640fed0ff75c70950be7d81285b64bdf220a1c
2015-04-22 10:58:48 -04:00
Jonathan Kew
3ffbad09c7 Bug 1028716 part 3 - Widget updates to support the extended set of -moz-orient values. r=roc 2014-06-24 19:26:13 +01:00
Andrea Marchesini
ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Markus Stange
77c2909c47 Bug 1156315 - Call DispatchInputEvent in more places on OS X. r=dvander
--HG--
extra : rebase_source : 1536bfcdee085059be4508b4c52cb6c62f0ce6f0
2015-04-21 17:44:10 -04:00
Nicolas Silva
cfff5e52c5 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
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Dmitry
2d11c0c15c Bug 1154676 - Add a null-check for the presshell. r=mstange
--HG--
extra : rebase_source : e96658fa4f959ebe74fd5f0320a60f8b19b75c25
2015-04-15 13:15:44 -04:00
Chris Peterson
1e643f5a57 Bug 1153579 - Fix -Wsign-compare warnings in nsNativeThemeCocoa.mm about int and size_t. r=mstange 2015-04-17 10:02:21 -07:00
Markus Stange
533712e3b1 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
5cf2d407fd Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Markus Stange
f6fb4a2a83 Bug 1148868 - Fix up nsChildView::ConfigureAPZControllerThread(). r=kats
--HG--
extra : rebase_source : 6f14ca5ea2569221d78f2b286a668e46ceb9eb43
2015-04-13 17:03:38 -04:00
Markus Stange
89e2a430d8 Bug 1148868 - Forward Mac wheel events to APZ. r=dvander
--HG--
extra : rebase_source : 6e9f08ad8f301ae2d0c7ec3cc54143baa82ec453
2015-03-29 01:00:53 -04:00
Markus Stange
8b94282b61 Bug 1148868 - Disable the workaround from bug 1151890 unless we use the separate event thread runner. r=kats
--HG--
extra : rebase_source : e8a643f88775023d6c29d0708f3e8baae58b8b95
2015-04-13 15:42:58 -04:00
Markus Stange
3e3be37c41 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
--HG--
extra : rebase_source : dd02904a032008601d421ad7c30465da3ba97c6e
2015-03-29 00:58:52 -04:00
Chris Peterson
27729b2112 Bug 1153579 - Fix -Wpointer-bool-conversion warning by removing null check of an array address. r=mstange 2015-04-11 01:03:44 -07:00
Alexandru Tifrea
750f1d8d1c Bug 966395 - Correctly propagate the input language's direction on OSX. r=masayuki/mrbkap
Gtk patch written by mrbkap@mozilla.com, with r=roc
2015-04-10 15:18:05 -07:00
Kartikaya Gupta
0c2e1ab7dd 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
cd299c5394 Bug 1110888 follow-up: Mark SetPluginFocused as override 2015-04-08 10:27:42 -04:00
Wes Kocher
fc13417733 Backed out changeset ba41917b2182 (bug 1151890) for android reftest failures
--HG--
extra : amend_source : 671b7f45f14a231f8caab35d929acaf9c1060687
2015-04-07 17:42:41 -07:00
Kartikaya Gupta
30016c18de 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
Nicolas Silva
0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Mats Palmgren
2fa6fbc270 Bug 1149785 - Make nsIWidget::ClientToWindowSize use LayoutDeviceIntSize instead of the unit-less nsIntSize. r=roc 2015-03-31 22:09:03 +00:00
Mats Palmgren
25fa3a4765 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04:00
Carsten "Tomcat" Book
5c532881b3 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Mats Palmgren
2121f47090 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
George Wright
72153ad282 Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange 2015-03-16 14:30:41 -04:00
Jonathan Kew
7141ce6685 Bug 1138359 - Make the margins of native-themed Cocoa buttons aware of writing mode. r=smontagu 2015-03-26 09:59:27 +00:00
Ehsan Akhgari
883849ee32 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
Wes Kocher
571bb95717 Backed out changeset 6ef7ca8f1db3 (bug 1066531) so I can get at a patch that caused near-permafailing bc3 2015-03-20 17:17:19 -07:00
George Wright
ab018a486f Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange 2015-03-20 15:09:58 -04:00
David Parks
be65e7c4e3 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.

--HG--
extra : rebase_source : 431cb629ca2321776fcc4c73635739f037729605
2015-03-18 19:08:22 -07:00
Markus Stange
9a4b1b5557 Bug 1142393 - Make menus look correct when 'Reduce transparency' is set. r=smichaud 2015-03-16 16:20:46 -04:00
Chris Peterson
4ef943c538 Bug 1141917 - Remove unused member function RectTextureImage::UpdateFromDrawTarget(). r=mstange
--HG--
extra : rebase_source : c80b149728ecbad2c2f643268b0bdce364f0d5fd
2015-03-10 21:21:56 -07:00