Phil Ringnalda
ed28fa6fef
Merge m-c to m-i
2012-05-04 19:49:34 -07:00
Masayuki Nakano
26e8d3a750
Bug 751929 Insert break at WM_*CHAR case in constructor of mozilla::widget::NativeKey r=jimm
2012-05-05 07:47:46 +09:00
Masayuki Nakano
07a475fdf1
Bug 751881 Set keycode to keypress event at WM_CHAR handler when charcode is 0 r=jimm
2012-05-05 07:47:46 +09:00
James H
a346dbf554
Bug 688929 - Prevent saving window attributes before WM_WINDOWPOSCHANGED on window restore. r=jimm
2012-05-04 22:46:35 -04:00
Karl Tomlinson
2480357c30
b=751774 handle no drag service during shutdown r=roc
...
--HG--
extra : transplant_source : %20%EE%CD%93%CE%A9%C2%DF%B3%1F1%07%CB%19E.%F3%20%B8%0B
2012-05-04 15:34:50 +12:00
Doug Turner
e474437e8e
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Doug Turner
e188f5505d
Bug 738131 - implement device proximity. r=smaug
...
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Doug Turner
9ec5a09e8c
Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg
2012-04-05 09:50:55 -07:00
Brian Nicholson
f5d9c3c1b2
Backout 7e237e96018f for black area in thumbnails. r=backout
2012-05-03 19:06:08 -07:00
Brian Nicholson
9a59586575
Bug 750846 - Move thumbnail size logic to Gecko. r=blassey
...
--HG--
extra : rebase_source : f8194c78ff0acc530db15a0aed6472475a0e0eed
2012-05-03 16:29:59 -07:00
Karl Tomlinson
632012d2ac
b=751429 handle modifier changes in periodic synthetic mouse events for drag sources r=roc
...
--HG--
extra : rebase_source : 08c12b5e4e2acb7e65ff29168356312eb9185d97
2012-05-03 18:24:20 +12:00
Karl Tomlinson
932d9c2d5b
b=750061 Put the hidden drag widget in the window group of the source node so that the gtk_grab_add during gtk_drag_begin is effective r=roc
...
--HG--
extra : rebase_source : 8ce17ca75be2b681f08489446bb8fdb2d651fe46
2012-05-03 18:23:59 +12:00
Karl Tomlinson
c733bc0e16
b=750961 disable motion hints to avoid gdk_event_request_motions unless on Maemo r=roc
...
--HG--
extra : rebase_source : 8f688b33d050a9d972da13aaf49607f300138f63
2012-05-03 18:23:31 +12:00
Michael Kaply
a1f9c9ea3a
Bug 744992 - Do not go into the preview code if it is null. r=benb,jmathies
2012-05-03 18:33:50 -04:00
James Willcox
578bae396e
Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones
2012-05-03 10:53:31 -04:00
Ed Morley
46622a4bc4
Merge mozilla-central to mozilla-inbound
2012-05-03 20:13:41 +01:00
Ali Juma
6868660a49
Bug 748048 - Part 2: Don't restrict invalidation to the widget's boundaries on Android. r=roc
2012-05-03 12:34:02 -04:00
Ehsan Akhgari
90c267c38a
Merge mozilla-central and mozilla-inbound
2012-05-02 23:59:08 -04:00
Ehsan Akhgari
d0be68448b
Bug 751273 - Part 1: Remove the debugging code in Cairo which we don't use any more; r=jrmuizel
...
Landing on a CLOSED TREE
2012-05-02 16:28:13 -04:00
Oleg Romashin
538dcc076d
Bug 750960 - OMTC: Qt AppShell should use CurrentThread object for event dispatching. r=dougt
2012-05-03 06:22:58 -04:00
Oleg Romashin
64e7244dab
Bug 750284 - WidgetQt Drag service should be initializing in different threads. r=dougt
2012-05-03 06:22:33 -04:00
Gene Lian
9ded30d62e
Bug 743064: Shutdown FramebufferWatcher thread gracefully by using it as a pthread. r=cjones a=b2g-only
2012-04-26 16:46:52 +08:00
Masayuki Nakano
596073da97
Bug 749500 Define new API for 10.5 SDK r=smichaud
2012-04-30 08:43:21 +09:00
Kartikaya Gupta
7145ee9b1c
Bug 749788 - Fix some JNI code bugs. r=blassey
2012-04-28 12:55:59 -04:00
James Willcox
f310cf2230
Bug 749750 - Correctly ref created Surfaces on Android r=blassey
2012-04-27 16:10:03 -04:00
James Willcox
bb4ddac382
Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey
2012-04-27 16:04:47 -04:00
Irving Reid
e320b2da34
Bug 744527 - Fix idle poll interval, add tracing to idle service. r=bbondy
2012-04-26 19:21:37 -04:00
Chris Lord
0916cf6de0
Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats
...
ScreenshotLayer overrides SingleTileLayer's draw function to simplify the
drawing process. Unfortunately, this doesn't respect the layer mask, and can
cause the layer to appear incorrectly stretched.
Change the screenshot process so that whole-page screenshots pass parameters
that are pre-scaled (to avoid mismatches when the viewport changes), and set
the page size on the ScreenShotLayer so it draws in the correct place.
This also alters the masking slightly to avoid visible seams around masks in
the centre of the page, and to avoid unnnecessary drawing at the edges of the
page.
This change fixes the frame-rate issues with the screenshot layer, as it
removes unnecessary over-draw.
--HG--
extra : rebase_source : 671c5a48d7bc08b3b452ed7eea228eb22843c1ce
2012-04-26 13:45:31 -04:00
Jeff Muizelaar
28e7075f70
Bug 748832. Remove dead paint supression code. r=kats
...
Bug 732564 disabled the painting suppression code in browser.js. This removes
the caller and the interface.
--HG--
extra : rebase_source : 236f81abcf980c41ffdb6c29dc4290a6a7671d14
2012-04-25 12:49:43 -04:00
Eitan Isaacson
77b1727849
Bug 748590 - Map KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=cpeterson
2012-04-25 17:09:12 -07:00
Benoit Jacob
d3e93afe93
Bug 736123 - kill GetVendor() and EGLUtils.h - r=jrmuizel
...
Was only returning "Android" instead of something useful.
2012-04-30 17:43:12 -04:00
Karl Tomlinson
47da1662bc
b=634719 schedule event dispatch in response to GTK drag end signals to avoid running the event loop at unexpected times and dispatch leave events in the right order r=roc
...
--HG--
extra : rebase_source : 32b86a8d4bc691bf3c1f2d9e1ca13eab68fa4810
2012-04-19 18:18:31 +12:00
Karl Tomlinson
93c7e9aad7
b=634719 don't start a new source drag session until the previous has completed r=roc
...
--HG--
extra : rebase_source : 1165a447cf141b5ec34446e6e95ab66f815168f7
2012-04-19 18:18:31 +12:00
Karl Tomlinson
8b437d0f6b
b=497498 remove nsIDragSessionGTK r=roc
...
--HG--
extra : rebase_source : a8029599d50bfff6ca10cce73a35fb8854e868ab
2012-04-19 18:18:31 +12:00
Karl Tomlinson
fddba909e3
b=497498 move nsWindow::UpdateDragStatus to nsDragService::UpdateDragAction r=enndeakin
...
--HG--
extra : rebase_source : e8198557c42f804cbe7ef758c8d8048af45722ec
2012-04-19 18:18:31 +12:00
Karl Tomlinson
657ea8347a
b=497498 move drag event dispatch logic from nsWindow to nsDragService r=roc
...
--HG--
extra : rebase_source : ec52cbad0d1efff13c989e8b5061f7fc3445b92b
2012-04-19 18:18:31 +12:00
Karl Tomlinson
c42f5a3887
b=497498 schedule event dispatch in response to GTK drag target signals to avoid running the event loop at unexpected times r=roc
...
--HG--
extra : rebase_source : 881ad7c0efa85174347059a9f53b3a5bd4c76696
2012-04-19 18:18:31 +12:00
Karl Tomlinson
3eb6a4c206
b=634719 Add a helper to get the nsDragService r=roc
...
--HG--
extra : rebase_source : cd811aee525b1675b47573e313f6804112d78ef0
2012-04-19 18:18:31 +12:00
Masayuki Nakano
f6ee18d3e7
Bug 166240 part.7 Add support KeyboardEvent.location on Gonk r=smaug
2012-05-03 17:35:02 +09:00
Masayuki Nakano
4eb031d08d
Bug 166240 part.6 Add support KeyboardEvent.location on Qt r=smaug
2012-05-03 17:35:02 +09:00
Masayuki Nakano
e0d543d0b3
Bug 166240 part.5 Add support KeyboardEvent.location on Android r=cpeterson
2012-05-03 17:35:02 +09:00
Masayuki Nakano
d068f37170
Bug 166240 part.4 Add support KeyboardEvent.location on Cocoa r=smichaud
2012-05-03 17:35:02 +09:00
Masayuki Nakano
093f5c5462
Bug 166240 part.3 Add support KeyboardEvent.location on GTK r=karlt
2012-05-03 17:35:02 +09:00
Masayuki Nakano
0ddab3ad9e
Bug 166240 part.2 Add support KeyboardEvent.location on Windows r=jimm
2012-05-03 17:35:02 +09:00
Masayuki Nakano
30ba20191d
Bug 166240 part.1 Add D3E KeyboardEvent.location r=smaug, sr=jst
2012-05-03 17:35:01 +09:00
Kan-Ru Chen
88e18fcace
Bug 745077 - Reconfigure InputReader on screen rotation. r=mwu a=b2g-only
2012-04-25 11:59:01 +08:00
Matt Brubeck
8ca5e4326f
Bug 748473 - Back button is no longer mapped to escape key [r=cpeterson]
2012-04-24 20:47:46 -07:00
Masayuki Nakano
1d58c8862a
Bug 630811 part.6 Support new modifiers on all events derived from nsInputEvent on Cocoa r=smichaud
2012-04-25 12:00:02 +09:00
Masayuki Nakano
326e6e544d
Bug 630811 part.5 Support new modifiers on all events derived from nsInputEvent on GTK r=karlt
2012-04-25 12:00:02 +09:00
Masayuki Nakano
40c40cacaf
Bug 630811 part.4 Support new modifiers on all events derived from nsInputEvent on Windows r=jimm
2012-04-25 12:00:02 +09:00
Masayuki Nakano
5c0d118456
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Masayuki Nakano
4eaa1f9a9d
Bug 630811 part.1 Move modifiers from nsMouseEvent_base to nsInputEvent r=smaug
2012-04-25 12:00:02 +09:00
Masayuki Nakano
a72c97f9f6
Bug 731878 part.5 Set modifiers and buttons of nsMouseEvent on Mac r=smichaud
2012-04-25 12:00:01 +09:00
Masayuki Nakano
17ae5c5619
Bug 731878 part.4 Set modifiers and buttons of nsMouseEvent on GTK r=karlt
2012-04-25 12:00:01 +09:00
Masayuki Nakano
6e49bea0ab
Bug 731878 part.3 Set modifiers and buttons of nsMouseEvent on Windows r=jimm
2012-04-25 12:00:01 +09:00
Masayuki Nakano
3659544533
Bug 731878 part.2 Implement D3E MouseEvent.buttons attribute r=smaug, sr=jst
2012-04-25 12:00:01 +09:00
Masayuki Nakano
ef84db57cf
Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug
2012-04-25 12:00:01 +09:00
Oleg Romashin
f990147b5c
Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma
2012-04-24 09:22:34 -04:00
Oleg Romashin
add264eec5
Bug 744112 - Qt QGL context conflict with WebGL context current states. r=dougt
2012-04-24 09:23:26 -04:00
Patrick Wong
4ccd1d2fbb
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Brad Lassey
94c26fd98f
Bug 747642 - Followup to fix xul android bustage
2012-04-24 23:53:57 +01:00
Brad Lassey
485c462256
bug 747642 - cleanup AndroidJNI.cpp r=mwu
2012-04-21 11:41:03 -04:00
Brad Lassey
1bb14ac9e9
bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats
...
--HG--
extra : rebase_source : d6de0327a46393cd4cfc327dea5689364744a71d
2012-04-24 15:13:36 -04:00
Nicholas Cameron
1b6756aa23
Bug 733894; changing the framework for representing shaders in the OGL
...
layers backend. r=BenWa
2012-03-19 09:07:25 +13:00
Robert O'Callahan
db184efc0a
Bug 653994. Avoid trying to paint plugin widgets in the case where a plugin fails to subclass our window. r=bsmedberg
2012-05-03 16:29:04 +12:00
Brian Nicholson
c18af1dcb5
Bug 750846 - Move thumbnail size logic to Gecko. r=blassey
2012-05-03 16:29:59 -07:00
Kartikaya Gupta
9e0912a5b8
Bug 748531 - Guard against exceptions in JNI. r=blassey
2012-05-04 11:08:47 -04:00
Kartikaya Gupta
11f7f5ffbc
Bug 748531 - Propagate the JNIEnv through DrawWindow*lay helpers instead of unnecessarily re-calling GetJNIForThread everywhere. r=blassey
2012-05-04 11:08:46 -04:00
Kartikaya Gupta
bdbab28981
Bug 748531 - Fix indentation and minor cleanup in AndroidBridge.cpp. r=blassey
2012-05-04 11:08:45 -04:00
Kartikaya Gupta
0c471f99af
Bug 748189 - Call GetJNIForThread less often on a hot code path. r=blassey a=blassey
2012-04-23 21:06:41 -04:00
Kartikaya Gupta
e5a69b5c94
Bug 747759 - Insert missing break statement. r=blassey a=blassey
2012-04-23 21:05:23 -04:00
Joe Drew
7e925aa0ce
Bug 744916 - Make the Java viewport keep track of its size in both CSS pixels and device pixels. r=kats
...
--HG--
extra : rebase_source : f733c2a4eadaeaa9c845b83886af8ab335250f85
2012-04-12 16:00:56 -04:00
James Willcox
73836d5f6b
Bug 707353 - Implement ANPWindow::showKeyboard() for Android plugins. r=snorp a=blocking-fennec
...
--HG--
extra : rebase_source : ca2da8fe9689fa702444cd6da7b4841d9ef12ec4
2012-04-20 09:49:50 -07:00
Ali Juma
ed64e52133
Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec
2012-04-20 11:46:30 -04:00
Jeff Muizelaar
0a633c75c0
Backout c048eb7cc728 for checkerboarding regresions
...
http://graphs.mozilla.org/graph.html#tests=[[175,63,20]]&sel=none&displayrange=7&datatype=running
http://graphs.mozilla.org/graph.html#tests=[[201,63,20]]&sel=none&displayrange=7&datatype=running
2012-04-20 00:50:07 -04:00
Chris Peterson
8c4b827812
Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : c5cd6ba353970c1ba2f3315c55730957d1a306b9
2012-04-19 10:49:31 -07:00
Chris Peterson
cabfc7d316
Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 64059f8f6a31446d7ba0d23fe6e89cfc4716dd23
2012-04-19 13:55:33 -07:00
Chris Peterson
687087bdaa
Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec
...
--HG--
extra : rebase_source : 58b581eb97d82bea46f238213599b7bea2f6a78f
2012-04-19 13:34:03 -07:00
Jeff Muizelaar
6d9dfca5c2
Bug 745315. Draw as soon as we get a Viewport:Changed r=kats a=joe
...
This should reduce some unpredictibility from our drawing
code and I don't see any negative concequences.
2012-04-17 20:23:35 -04:00
Ed Morley
75710bb624
Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout
2012-04-19 12:50:46 -07:00
Jeff Muizelaar
881b0f4269
Bug 745864 - Add profiling labels relevant for Fennec event performance. r=bgirard a=blassey
...
--HG--
extra : rebase_source : e4ba8a8b6f4bdad1dcd6fe076e3262a6e07aeba2
2012-04-16 15:07:56 -04:00
Chris Peterson
ddc8500d5a
Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 0cedf764055dba59a8c55a468b5a6dc60e20dbae
2012-04-19 10:49:31 -07:00
Chris Peterson
2a5fed50e9
Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 8ff6cd6d3e4688570b41fe9e5233ea26fdf417ed
2012-04-19 09:56:04 -07:00
Chris Peterson
7523f8d2e9
Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec
...
--HG--
extra : rebase_source : 8c8e8fbf4dd6bd0bfc67e621a1f24788d93ec5b1
2012-04-18 10:15:15 -07:00
Brian Nicholson
62c6aa8df7
Bug 746548 - Fix NPE for cache service in pause/resume. r=mfinkle a=blocking-fennec
2012-04-18 13:08:36 -07:00
Brian Nicholson
8b681e655b
Bug 745075 - Close disk cache when pausing. r=gbrown f=mfinkle,michal
2012-04-17 10:29:52 -07:00
Timothy Nikkel
ff0f226d01
Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc
2012-04-17 01:04:05 -05:00
Karl Tomlinson
0d6f2d98e5
b=497498 prevent GetTargetDragData (and IsTargetContextList) from being called without a target GtkWidget r=roc
...
--HG--
extra : rebase_source : 4c6d856abbe49913b74da4d9640d47a9870c2210
2012-04-17 13:00:26 +12:00
Karl Tomlinson
ba7e2025e9
b=497498 move early drag end code to drag_motion_event_cb and correct return value r=roc
...
--HG--
extra : rebase_source : 418991e220b53a3254179bf45e18ab90a1124dff
2012-04-17 13:00:26 +12:00
Karl Tomlinson
5955358679
b=497498 use nsIDragSession::getCurrentSession to remove sIsDraggingOutOf r=roc
...
--HG--
extra : rebase_source : 7bddb51489d329bbe403228bf15306a896823749
2012-04-17 13:00:26 +12:00
Karl Tomlinson
a66251d4aa
b=497498 split drag event dispatch code from GTK signal handling methods r=roc
...
--HG--
extra : rebase_source : f8d7a93c9ca2f11fdc46587585aec6fb0bcfd091
2012-04-17 13:00:26 +12:00
Karl Tomlinson
5801cc535a
b=497498 use a helper method for dispatching destination drag events r=roc
...
--HG--
extra : rebase_source : fd151e844ca1454d585e8c254e1b91668427fdc6
2012-04-17 13:00:25 +12:00
Karl Tomlinson
9753a6327c
b=497498 use event coordinates for source drag end point instead of new cursor position r=roc
...
--HG--
extra : rebase_source : 7ed5076bab1d1dfac9d0865292754a3509109d9c
2012-04-17 13:00:25 +12:00
Karl Tomlinson
fbf048a9c1
b=497498 use event and widget coordinates for drop point instead of new cursor position r=roc
...
--HG--
extra : rebase_source : 4b02c77acc7b2d0023fc43df675f8ca07201439d
2012-04-17 13:00:25 +12:00
Karl Tomlinson
6e0ef1cb87
b=497498 use nsDragService::SetCanDrop instead of nsIDragSessionGTK::StartDragMotion to reset before NS_DRAGDROP_OVER r=roc
...
--HG--
extra : rebase_source : 776784c43b2d3e8edb4a4a91d507f74fce03f589
2012-04-17 13:00:25 +12:00
Karl Tomlinson
3e422a68cc
b=497498 fire NS_DRAGDROP_DRAG at source even before synthetic NS_DRAGDROP_OVER events r=enndeakin
...
--HG--
extra : rebase_source : 5c3d7057b753c76039e8cb1449f9cdfbb3be4725
2012-04-17 13:00:25 +12:00
Karl Tomlinson
d1cd3772d7
b=497498 don't set a drag context with the new widget for a leave event on the old widget r=enndeakin
...
--HG--
extra : rebase_source : b400dbecba51ab69d85f66a986c8f14fccf6dc09
2012-04-17 13:00:25 +12:00
Karl Tomlinson
9e9a905e64
b=497498 no need to explicitly dispatch NS_DRAGDROP_ENTER as this is handled during NS_DRAGDROP_OVER r=enndeakin
...
--HG--
extra : rebase_source : 3c766e3ecb09a1aef295e8e0e9aca215f53e49c0
2012-04-17 12:59:56 +12:00
Karl Tomlinson
bda2de7104
b=497498 Only dispatch drop events when canDrop has been set via dragover and only indicate successful drop when the drop is sent r=enndeakin
...
--HG--
extra : rebase_source : deb15db236d3e1cd2880e056090e1caff59af0d5
2012-04-04 16:29:55 +12:00
Brad Lassey
3ea539bbc0
bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage, follow up to require a JNI env for nsJNIString constructor r=kats
2012-04-16 18:31:05 -04:00