Commit Graph

4620 Commits

Author SHA1 Message Date
Kartikaya Gupta
37d28fc9a4 Bug 732736 - Fix use of AutoLocalJNIFrame in some JNI wrappers. r=dougt 2012-03-04 22:21:21 -05:00
Michael Wu
ab5dda36e3 Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
Chris Peterson
d90af6eccc Bug 733153 - Remove obsolete widget.ime.android.landscape_fullscreen and fullscreen_threshold prefs. r=dougt 2012-03-07 17:17:00 -08:00
Ryan VanderMeulen
25be994f64 Back out 2175db811fad (bug 734081) due to Android reftest failures. 2012-03-08 18:41:28 -05:00
Michael Wu
94ee732728 Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 17:06:54 -05:00
Benoit Girard
02e577f6ff Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Fabien Cazenave
8aec5c44c1 Bug 732095 - Proportional thumb button in Gonk scrollbars r=mwu 2012-03-02 08:03:19 +01:00
Eitan Isaacson
bf66087d4c Bug 729237 - Fixed AndroidBridge emit a11y event function, added java string class as class member. r=blassey 2012-03-07 19:24:38 -05:00
Benoit Jacob
4666975aeb Bug 696636 - move GetData to the beginning so it's always called first - r=mattwoodrow 2012-03-07 15:18:57 -05:00
Rafael Ávila de Espíndola
3fa66cb9a1 Bug 732368 - Ensure idle service doesn't fire idle events after xpcom-shutdown. r=mak. 2012-03-07 13:01:24 -03:00
Jim Mathies
6e827e6979 Bug 373266 - toolbar button support. r=bbondy 2012-03-07 09:30:20 -06:00
Jim Mathies
2542d1946e Bug 373266 - checkbox and radio support. r=bbondy 2012-03-07 09:30:08 -06:00
Jim Mathies
5b4fdb50ca Bug 373266 - button support. r=bbondy 2012-03-07 09:30:00 -06:00
Jim Mathies
c94a290db2 Bug 373266 - scrollbar support. r=bbondy 2012-03-07 09:29:51 -06:00
Jim Mathies
6647675fdb Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Jim Mathies
ee033658a9 Bug 373266 - base support for animated theme widgets to nsnativetheme. r=roc 2012-03-07 09:29:21 -06:00
Benoit Girard
3daa99ec38 Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta
8fd5e0c78c Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Matt Brubeck
2349557dcf Merge last green changeset from inbound to mozilla-central 2012-02-28 09:21:10 -08:00
Benoit Girard
cbad00a72b More render trace. r=debug_only
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Doug Sherk
43419f01c5 Bug 711656: special case the entire Intel GMAX4500HD series r=bjacob,joe
Until we fix this properly, this patch special cases this set of devices so that
they get handled in almost the same way as they used to be.
2012-02-28 00:19:24 -05:00
Kartikaya Gupta
bdcc1c59e4 Merge heads 2012-02-27 15:59:56 -05:00
Kartikaya Gupta
bb76282045 Merge m-c 2012-02-27 15:06:35 -05:00
Benoit Girard
9af6bc051d Added more rendertrace breakdowns 2012-02-27 14:31:29 -05:00
Josh Dhaliwal
b0e6ae9370 Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-26 19:59:22 -08:00
Kartikaya Gupta
4cae639063 Take out the code that allows Java to further clip the invalid rect based on visible area.
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603)
2012-02-26 10:47:45 -05:00
Ryan VanderMeulen
498e286582 Back out 940194c616f2 (bug 729237) on suspicion of Android XUL bustage. 2012-02-25 22:09:23 -05:00
Benoit Girard
fce9285b59 Bug 730521 - Fix memory leak and needless memory allocation. r=ajuma 2012-02-24 21:51:14 -05:00
Doug Turner
63f2081ca1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Kartikaya Gupta
8d2fb03b97 We were allocating and re-allocating a view-sized buffer and then claiming it was 32x32. Cut that down to stop wastage. Also drop unused method. 2012-02-24 12:11:32 -05:00
Kartikaya Gupta
8a476c9e1c Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
e955733a8b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Honza Bambas
538f4da2e3 Bug 733988 - Build bustage: WinMouseScrollHandler.cpp(1217) after bug 672175 landing, include nsGkAtoms.h, r=masayuki 2012-03-08 17:24:17 +01:00
Masatoshi Kimura
28f2776f50 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Cervantes Yu
dab45e0ab8 Bug 709590 - Update screen orientation from sensor notification. r=jlebar 2012-02-23 14:25:53 +01:00
Kartikaya Gupta
60d8dbfa9d Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
04fe7046ae Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner
476b362925 merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Ehsan Akhgari
e6282dbce5 Backout changeset b520f34d78f1 but keep the callback parts because they may be useful for other things 2012-02-22 11:35:25 -05:00
Ehsan Akhgari
2bbce0f0de Fix an assertion condition to assert what it means 2012-02-22 11:29:21 -05:00
Masayuki Nakano
7222cab3f0 Bug 630813 part.9 Should compute modifier key's DOM keycode from unshifted GDK keyval r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
bf2fe67ea8 Bug 630813 part.8 IsCtrlAltTab() should use KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
a02acd2525 Bug 630813 part.7 Implement IsKeyPressEventNecessary() in mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
bd5f4f0877 Bug 630813 part.6 nsKeyEvent should be initialized by mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
7d85817d65 Bug 630813 part.5 Move DOMKeyCodeToGdkKeyCode() and DOMKeyCodeToGdkKeyCode() into KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
2929a6b3f9 Bug 630813 part.4 Implement a modifier keys initializer for nsInputEvent r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
f33b45d5a0 Bug 630813 part.3 nsWindow::GetToggledKeyState() should use mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
48da2670b9 Bug 630813 part.2 Store native modifier key information r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
4686c941fa Bug 630813 part.1 Make KeymapWrapper which is a wrapper class of GdkKeymap r=karlt 2012-02-22 16:34:31 +09:00
Malen Sok
fd0cf175a4 Bug 722163 - Convert JumpListBuilder to use LazyIdleThread. r=khuey 2012-03-06 15:42:53 -05:00
Josh Aas
9179ab11a7 Bug 729246: Fix clang warnings in Cocoa widgets. r=smichaud 2012-02-21 20:44:40 -05:00
Ed Morley
be847bb9bd Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Doug Sherk
3b89d87219 Bug 711656: potentially fixed devices not being caught by blocklist, r=joe
This doesn't necessarily fix the bug, but I think the problem was that the device IDs were in upper case but we store them statically in lower case, all the while using case-sensitive comparators. This patch switches all comparators that I could find to use case-insensitive instead, hopefully solving this.
2012-02-21 14:49:06 -05:00
Ed Morley
ec5a7c5b3d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Zack Weinberg
58cb765cfa Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Fabrice Desré
090df7e0da Bug 725143 - crash when restarting b2g with screen off [a=gal] DONTBUILD because NPOTB 2012-02-20 14:07:13 -08:00
Philipp von Weitershausen
4b198b792c Bug 720632 - Part 4: Use nsISmsRequestManager in Android JNI code. r=cjones 2012-02-20 00:44:29 +01:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Oleg Romashin
142a0b992e Bug 729438 - GetGLFrameBufferFormat need to be specified for maemo in Qt port. r=ajuma 2012-02-22 11:16:15 -08:00
Brad Lassey
bf42edc9e8 bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
081dd8e657 Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Brad Lassey
44e01a9f42 Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
d61a5f9e94 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Brad Lassey
115c977f43 [mq]: meta_viewport_query
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Benoit Girard
3222ae5ea8 Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 13:57:40 -05:00
Brad Lassey
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
e85e784817 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
a93537390c Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Ed Morley
f0c6a1f047 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Chris Lord
78e424b0f7 Fix screen/window size change events.
Window size was being treated as equivalent to screen size, which it isn't.
Make sure to send the size-changed event when either the window size or the
screen size change, and to properly differentiate between the two.
2012-02-17 17:25:52 +00:00
Ehsan Akhgari
364777c0b3 Stop asserting the reverse of what we mean 2012-02-17 11:50:14 -05:00
Kartikaya Gupta
43b2051ae9 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta
417e4428c0 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
31c5b5c646 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Benoit Girard
89ba2782db Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 14:02:15 -05:00
Justin Wood
95fbe4385d Bug 726797 - Multi-GPU Detection Broken on Windows Gecko 11. r=ajuma 2012-02-16 21:14:53 -05:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Cameron McCormack
407103f6cc Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky 2012-02-17 14:47:39 +11:00
Jim Mathies
6c9686107d Bug 718374 - File picker support for choosing Win7 library default folders, and strip sdk ifdefing junk. r=neil 2012-02-16 18:36:04 -06:00
Brad Lassey
bf6b9de292 bug 727847 - meter orientation events on android r=dougt 2012-02-16 23:03:57 -08:00
Brad Lassey
ab48da35f9 bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Neil Deakin
4f1314899a Bug 499008, part 7, merge html drag type constants into one place, r=ehsan 2012-02-17 09:17:00 -05:00
Brian R. Bondy
407470a4c5 Bug 691355 - Crash when headphones removed while listening to audio. r=jmathies 2012-02-17 09:17:27 -05:00
Benoit Girard
84a8e6d4c5 Fix one shutdown crash
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Benoit Girard
7a39c42f15 remove dead code 2012-02-14 18:36:33 -05:00
Masayuki Nakano
e759b047fb Bug 725233 Get rid of hacky text event dispatchers, they are not necessary due to bug 622247 r=jimm 2012-02-20 14:26:16 +09:00
Patrick Walton
dd0a3bbc18 Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00
Kartikaya Gupta
430c9e63f5 Stop XUL fennec from crashing on startup 2012-02-13 16:57:57 -05:00
Patrick Walton
118fe2a25d Integrate the Java compositor. Scroll bars now appear. 2012-02-13 14:52:30 -08:00
Patrick Walton
b4211fd4ba Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Benoit Girard
41f6ac08c7 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Eitan Isaacson
b803f96348 Bug 729237 - Fixed AndroidBridge emit a11y event function, added java string class as class member. r=blassey 2012-02-25 20:38:27 -05:00
Patrick Walton
78cb81814f Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Patrick Walton
aae9e0d362 Uncomment TransformLayerUserData and move it into Layers to fix build bustage 2012-02-10 18:55:48 -08:00
Benoit Girard
04ccae8d41 Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00
Ali Juma
7c7e41202d Fix busted build. 2012-02-10 10:40:57 -05:00
Ali Juma
96f267b56a Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
c5f56a495f Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
fdcd9a93f7 Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Patrick Walton
6a14c62d7f Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
0b782cb5e9 Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05:00
Benoit Girard
b262f4ad9d Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Benoit Girard
ea6c7d744f Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard
2f35d690b6 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Marco Bonardo
fef9cf6db3 Merge central to inbound 2012-02-08 09:24:40 +01:00
Marco Bonardo
faa6279f01 Backout 7a8b935ab596 (bug 674370) for Paint regression 2012-02-08 09:23:40 +01:00
Andreas Gal
dc71825c9e Compress input events in gonk backend (bug 718914, r=cjones). 2012-02-07 22:42:44 -08:00
Karl Tomlinson
cf0f817506 b=724966 make sure to set sRetryGrabTime for retrying grabs r=roc
--HG--
extra : transplant_source : v%A5qVLv%7E%D8%0D%0C%8F%7F%C3%40%AEV%86%E5%BDT
2012-02-08 09:51:15 +13:00
Mark Capella
e5a23e2884 Bug 730128 - Remove code ifdef'd MOZ_WINSDK_TARGETVER for pre-Windows 7 SDKs. r=jmathies 2012-02-27 18:57:28 -05:00
Josh Dhaliwal
40504ec0e7 Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-27 18:57:28 -05:00
Benoit Jacob
48c5b9a871 Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Marco Bonardo
c399a24b4b Merge central to inbound 2012-02-27 13:46:22 +01:00
Henri Sivonen
33afed3ab8 Bug 650784 part 1 - Introduce a new API for converting HTML to plain text. r=smaug. 2012-02-27 13:57:48 +02:00
Masayuki Nakano
552f741f0e Bug 724471 WM_IME_ENDCOMPOSITION handler should do nothing if it's followed by WM_IME_COMPOSITION r=emk 2012-02-07 22:16:41 +09:00
Masayuki Nakano
c6d4d0e166 Bug 672175 part.14 Move WM_MOUSE*WHEEL and WM_*SCROLL handlers into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
4db9d68d5d Bug 672175 part.13 Compute cursor position at WM_MOUSEWHEEL and WM_MOUSEHWHEEL in MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
ce5528b944 Bug 672175 part.12 Move MOZ_WM_*SCROLL handler into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
e7f08b8bf7 Bug 672175 part.11 Move MOZ_WM_MOUSE*WHEEL handler into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
6fdb75eb3a Bug 672175 part.10 Initialize mouse scroll events in MouseScrollHandler::LastEventInfo r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
880e328387 Bug 672175 part.9 Implement NS_QUERY_SCROLL_TARGET_INFO event dispatcher on MouseScrollHandler::EventInfo r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
0ac3f07305 Bug 672175 part.8 Compute modifier key state in MouseScrollHandler r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
e901857ad9 Bug 672175 part.7 Manage last wheel scroll message information by MouseScrollHandler::LastEventInfo r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
48de337c85 Bug 672175 part.6 Summarize native mouse wheel events by MouseScrollHandler::EventInfo r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
213ff5ec16 Bug 672175 part.5 Move device specific code to MouseScrollHandler r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
bd3b76da6b Bug 672175 part.4 Move HasRegistryKey() in nsWindow.cpp to WinUtils r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
1d11687ef5 Bug 672175 part.3 MouseScrollHandler should manage user prefs r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
8ad139dc75 Bug 672175 part.2 MouseScrollHandler should manage system settings r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
189b45d779 Bug 672175 part.1 Implement MouseScrollHandler for Windows r=jimm 2012-03-06 12:20:28 +09:00
Patrick Walton
050154c500 Shrink the surface size to speed up painting 2012-02-06 15:25:18 -08:00
Ali Juma
ac787b0863 Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
92e59fd959 Add support for pausing/resuming composition from Java. 2012-02-05 13:33:38 -05:00
Patrick Walton
402747340d Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Patrick Walton
50c7df015c Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
0b4a53c433 Add a virtual layer and GL layer client implementation 2012-02-03 15:48:26 -08:00
Markus Stange
5c170b8016 Bug 734381 - Don't clear the background behind menuitems when painting into a context without transparency. r=josh 2012-03-09 16:17:37 +01:00
Vivien Nicolas
fb122931b5 Bug 730848 - [Gonk] Generate key events instead of AppCommands for devices hw keys r=mwu 2012-03-01 17:03:59 +01:00
Patrick Walton
cc6fa599ae Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Patrick Walton
c2c88cf60a Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class 2012-02-02 22:07:05 -08:00
Patrick Walton
98bd0828ba Clean up nsWindow::Draw() a bit 2012-02-02 20:24:49 -08:00
Patrick Walton
2b6bcfedfa Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
39705277e0 Hack the real window dimensions 2012-02-02 18:03:55 -05:00
Benoit Girard
7876b39a69 Fix GetLayerManager logic 2012-02-02 14:16:59 -05:00
Benoit Girard
8c2ddab43b Fix problems with Nexus S init 2012-02-02 13:57:38 -05:00
Benoit Girard
eed62516d4 remove OGLSurfaceView init, todo remove OGLSurfaceView.java 2012-02-02 11:28:54 -05:00
Benoit Girard
7f9d409f45 Removing this awesome template code because it causes library load crashes :( 2012-02-02 11:17:50 -05:00
Patrick Walton
59e0040294 Turn on OMTC by default; fix crash when acquiring EGL surface 2012-02-01 23:54:01 -08:00
Benoit Girard
705017cc85 Add init code for AndroidEGLObjects 2012-02-01 18:08:09 -05:00
Benoit Girard
f334424e51 Fix AndroidGLController::Init 2012-02-01 17:53:18 -05:00
Benoit Girard
36780c8b69 Progress on omtc integration 2012-02-01 16:18:35 -05:00