Commit Graph

4824 Commits

Author SHA1 Message Date
Julian Seward
efb16a31cf Bug 753118 - Fix uninitialized value in nsWindow::Destroy. r=karlt 2012-05-09 21:00:05 -04:00
Benoit Jacob
875848ef77 Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard 2012-05-09 16:55:31 -04:00
Wolfgang Rosenauer
fc4a314130 Bug 749739 - New email sound notification file cannot contain spaces (Linux - Thunderbird 12). r=karlt 2012-05-09 13:27:02 +02:00
Doug Turner
e99aca9c93 Bug 752674 - device proximity needs y and z values. r=blassey 2012-05-08 20:56:54 -07:00
Jason Duell
674d0a7605 Bug 750616 - Get rid of warnings in necko on android. r=blassey 2012-05-08 17:00:12 -07:00
Oleg Romashin
dc77036350 Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma 2012-05-08 12:40:41 -07:00
Cervantes Yu
911b96e029 Bug 743638: Implement orientation API backend in gonk. r=mwu 2012-04-20 19:43:25 +08:00
Chris Jones
8f83158bec Bug 745145, part 4: Rename some things. r=mounir
--HG--
rename : hal/fallback/FallbackScreenOrientation.cpp => hal/fallback/FallbackScreenConfiguration.cpp
2012-05-08 14:36:07 -07:00
Chris Jones
aa366213e1 Bug 745145, part 3: Implement PuppetScreen* analogues to PuppetWidget. r=mwu sr=roc 2012-05-08 14:36:07 -07:00
Chris Jones
262dbf3946 Bug 745145, part 2: Implement the ScreenConfiguration hal for gonk. r=mounir 2012-05-08 14:36:07 -07:00
Chris Jones
90472db691 Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir 2012-05-08 14:36:07 -07:00
Chris Jones
87966cbfb7 Bug 745145, part 0c: Only use nsIScreen on the main thread. r=mwu 2012-05-08 14:36:07 -07:00
Kartikaya Gupta
877a5dbdbc Bug 752539 - Pass in the AutoLocalJNIFrame to some methods that implicitly require it. r=blassey 2012-05-08 09:35:59 -04:00
Ben Turner
dc5e2ab319 Bug 672667 - Fix build bustage on Win64. 2012-05-07 17:42:09 -07:00
Brian Nicholson
8711c8bb86 Bug 752426 - Add null checks for thumbnail screenshots. r=blassey 2012-05-07 16:53:01 -07:00
Ben Turner
7171465829 Bug 672667 - ' IndexedDB demo causes leaks and never-ending assertions'. r=bsmedberg+smichaud+khuey. 2012-04-06 13:40:10 -07:00
John Ford
ba2a46cee5 bug 747448 - convert shell calls to pwd to using core_*path functions r=khuey 2012-05-07 15:21:11 -07:00
James Willcox
1c21278db4 Bug 751609 - Give up on locking a Surface after 10 failures r=blassey 2012-05-07 14:18:30 -04:00
Nicolas Silva
b26640b195 Bug 751370 - Disables layers acceleration for small popups like menus and combo boxes. r=BenWa 2012-05-05 16:29:13 -04:00
Reuben Morais
cbafd8299a Bug 751437 - Extend overflow rect in Cocoa progress bars. r=mstange 2012-05-05 12:41:50 -04:00
Joe Drew
75f6c0f80a Bug 741979 - Don't require version numbers in the downloaded graphics driver blacklist. r=bjacob
--HG--
extra : rebase_source : b8abd6950804e1957d126b134146c55224288d14
2012-05-04 15:33:59 -04:00
Phil Ringnalda
8f891d4949 Merge again 2012-05-04 19:50:34 -07:00
Phil Ringnalda
7f9cae1506 Merge m-c to m-i 2012-05-04 19:49:34 -07:00
Masayuki Nakano
00374f8aa9 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
db46c52123 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
195f84a411 Bug 688929 - Prevent saving window attributes before WM_WINDOWPOSCHANGED on window restore. r=jimm 2012-05-04 22:46:35 -04:00
Karl Tomlinson
1ae1e30aeb 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
68e34b4226 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
63408865d2 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
13bd86f4fd Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Brian Nicholson
5181317965 Backout 7e237e96018f for black area in thumbnails. r=backout 2012-05-03 19:06:08 -07:00
Brian Nicholson
fe13e9cb1d 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
38a9712de4 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
3886d57156 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
f334719dee 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
5d546d1c3c 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
b0e2e8e19f Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones 2012-05-03 10:53:31 -04:00
Ed Morley
8266a4291c Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Ali Juma
0b951e4b74 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
b719576270 Merge mozilla-central and mozilla-inbound 2012-05-02 23:59:08 -04:00
Ehsan Akhgari
0fda6cb7ad 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
c79cc1af9c Bug 750960 - OMTC: Qt AppShell should use CurrentThread object for event dispatching. r=dougt 2012-05-03 06:22:58 -04:00
Oleg Romashin
68ad0bbd56 Bug 750284 - WidgetQt Drag service should be initializing in different threads. r=dougt 2012-05-03 06:22:33 -04:00
Gene Lian
eee7aaa762 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
40e869505f Bug 749500 Define new API for 10.5 SDK r=smichaud 2012-04-30 08:43:21 +09:00
Kartikaya Gupta
21117ee275 Bug 749788 - Fix some JNI code bugs. r=blassey 2012-04-28 12:55:59 -04:00
James Willcox
390afef192 Bug 749750 - Correctly ref created Surfaces on Android r=blassey 2012-04-27 16:10:03 -04:00
James Willcox
4b0d6b0c67 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
6b5956010f Bug 744527 - Fix idle poll interval, add tracing to idle service. r=bbondy 2012-04-26 19:21:37 -04:00
Chris Lord
6e7a025ac6 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
e7a0ca9c70 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
18bf7492f0 Bug 748590 - Map KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=cpeterson 2012-04-25 17:09:12 -07:00
Benoit Jacob
a18775a5a3 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
0ed11b9743 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
f4d1983959 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
15a06aed3e b=497498 remove nsIDragSessionGTK r=roc
--HG--
extra : rebase_source : a8029599d50bfff6ca10cce73a35fb8854e868ab
2012-04-19 18:18:31 +12:00
Karl Tomlinson
8e4d4d77ac 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
5b8c01160e 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
5bc1b86567 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
24c9816342 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
b030053703 Bug 166240 part.7 Add support KeyboardEvent.location on Gonk r=smaug 2012-05-03 17:35:02 +09:00
Masayuki Nakano
43bfde1ca6 Bug 166240 part.6 Add support KeyboardEvent.location on Qt r=smaug 2012-05-03 17:35:02 +09:00
Masayuki Nakano
b4dca62772 Bug 166240 part.5 Add support KeyboardEvent.location on Android r=cpeterson 2012-05-03 17:35:02 +09:00
Masayuki Nakano
cc6688cb52 Bug 166240 part.4 Add support KeyboardEvent.location on Cocoa r=smichaud 2012-05-03 17:35:02 +09:00
Masayuki Nakano
75fedbb5bc Bug 166240 part.3 Add support KeyboardEvent.location on GTK r=karlt 2012-05-03 17:35:02 +09:00
Masayuki Nakano
20b775c926 Bug 166240 part.2 Add support KeyboardEvent.location on Windows r=jimm 2012-05-03 17:35:02 +09:00
Masayuki Nakano
f98601c487 Bug 166240 part.1 Add D3E KeyboardEvent.location r=smaug, sr=jst 2012-05-03 17:35:01 +09:00
Kan-Ru Chen
d3400d40e1 Bug 745077 - Reconfigure InputReader on screen rotation. r=mwu a=b2g-only 2012-04-25 11:59:01 +08:00
Matt Brubeck
195432d5ee Bug 748473 - Back button is no longer mapped to escape key [r=cpeterson] 2012-04-24 20:47:46 -07:00
Masayuki Nakano
216eea36c9 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
9de2f09ddc 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
0efb0397d8 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
ba56663cd3 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
9d0b39dd4c Bug 630811 part.1 Move modifiers from nsMouseEvent_base to nsInputEvent r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
9b4948d031 Bug 731878 part.5 Set modifiers and buttons of nsMouseEvent on Mac r=smichaud 2012-04-25 12:00:01 +09:00
Masayuki Nakano
b3e0a494f4 Bug 731878 part.4 Set modifiers and buttons of nsMouseEvent on GTK r=karlt 2012-04-25 12:00:01 +09:00
Masayuki Nakano
423cee2da1 Bug 731878 part.3 Set modifiers and buttons of nsMouseEvent on Windows r=jimm 2012-04-25 12:00:01 +09:00
Masayuki Nakano
a3a57bb16c Bug 731878 part.2 Implement D3E MouseEvent.buttons attribute r=smaug, sr=jst 2012-04-25 12:00:01 +09:00
Masayuki Nakano
f7ded730f8 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
2c8d04d815 Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma 2012-04-24 09:22:34 -04:00
Oleg Romashin
ef8fed916e Bug 744112 - Qt QGL context conflict with WebGL context current states. r=dougt 2012-04-24 09:23:26 -04:00
Patrick Wong
30fd6e9e6a 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
666ed07858 Bug 747642 - Followup to fix xul android bustage 2012-04-24 23:53:57 +01:00
Brad Lassey
acc26b3202 bug 747642 - cleanup AndroidJNI.cpp r=mwu 2012-04-21 11:41:03 -04:00
Brad Lassey
7209478fe4 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
44c6d07ba4 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
be76e09cf5 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
8ff1c7acc1 Bug 750846 - Move thumbnail size logic to Gecko. r=blassey 2012-05-03 16:29:59 -07:00
Kartikaya Gupta
ef85499723 Bug 748531 - Guard against exceptions in JNI. r=blassey 2012-05-04 11:08:47 -04:00
Kartikaya Gupta
61c27458ff 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
887a5bb8b4 Bug 748531 - Fix indentation and minor cleanup in AndroidBridge.cpp. r=blassey 2012-05-04 11:08:45 -04:00
Kartikaya Gupta
d9e90ae56b 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
1c81506624 Bug 747759 - Insert missing break statement. r=blassey a=blassey 2012-04-23 21:05:23 -04:00
Joe Drew
5248a80c1d 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
42536c7c7a 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
45b0527065 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
6b3607707c 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
e65057dbc4 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
94ab99f5dc 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
0c00d7ee22 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