Commit Graph

4609 Commits

Author SHA1 Message Date
Jim Mathies
bc793b99ba Bug 373266 - toolbar button support. r=bbondy 2012-03-07 09:30:20 -06:00
Jim Mathies
96a33c47b2 Bug 373266 - checkbox and radio support. r=bbondy 2012-03-07 09:30:08 -06:00
Jim Mathies
5d8c14799b Bug 373266 - button support. r=bbondy 2012-03-07 09:30:00 -06:00
Jim Mathies
e1e133ae08 Bug 373266 - scrollbar support. r=bbondy 2012-03-07 09:29:51 -06:00
Jim Mathies
0e19141564 Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Jim Mathies
39f254973a Bug 373266 - base support for animated theme widgets to nsnativetheme. r=roc 2012-03-07 09:29:21 -06:00
Benoit Girard
08f33710af Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta
d5c3b7e98b Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Matt Brubeck
34712d993a Merge last green changeset from inbound to mozilla-central 2012-02-28 09:21:10 -08:00
Benoit Girard
5582ac1cee More render trace. r=debug_only
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Doug Sherk
34244e0d5c 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
4720c13486 Merge heads 2012-02-27 15:59:56 -05:00
Kartikaya Gupta
134e9fec76 Merge m-c 2012-02-27 15:06:35 -05:00
Benoit Girard
a9a9772362 Added more rendertrace breakdowns 2012-02-27 14:31:29 -05:00
Josh Dhaliwal
5eca462914 Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-26 19:59:22 -08:00
Kartikaya Gupta
e37885a6c7 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
e46d8ad3d0 Back out 940194c616f2 (bug 729237) on suspicion of Android XUL bustage. 2012-02-25 22:09:23 -05:00
Benoit Girard
986b769ef1 Bug 730521 - Fix memory leak and needless memory allocation. r=ajuma 2012-02-24 21:51:14 -05:00
Doug Turner
df4f53ea90 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Kartikaya Gupta
0c8abc000c 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
9969c98db4 Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
fa940eb49b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Honza Bambas
212c4ddc13 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
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Cervantes Yu
ade9409d72 Bug 709590 - Update screen orientation from sensor notification. r=jlebar 2012-02-23 14:25:53 +01:00
Kartikaya Gupta
5857681738 Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
53a439cccc Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner
0aea58f84d merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Ehsan Akhgari
324ca6b6b4 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
dfd4c96ec1 Fix an assertion condition to assert what it means 2012-02-22 11:29:21 -05:00
Masayuki Nakano
235d3d4df7 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
0fd2597db6 Bug 630813 part.8 IsCtrlAltTab() should use KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
200ddf4671 Bug 630813 part.7 Implement IsKeyPressEventNecessary() in mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
582c6eaf6c Bug 630813 part.6 nsKeyEvent should be initialized by mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
3a0cca6cdb Bug 630813 part.5 Move DOMKeyCodeToGdkKeyCode() and DOMKeyCodeToGdkKeyCode() into KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
2f3e258901 Bug 630813 part.4 Implement a modifier keys initializer for nsInputEvent r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
bc0aff7a5f Bug 630813 part.3 nsWindow::GetToggledKeyState() should use mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
ddeb722011 Bug 630813 part.2 Store native modifier key information r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
9f92a332fc 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
b45c019ed1 Bug 722163 - Convert JumpListBuilder to use LazyIdleThread. r=khuey 2012-03-06 15:42:53 -05:00
Josh Aas
a4b60fe14a Bug 729246: Fix clang warnings in Cocoa widgets. r=smichaud 2012-02-21 20:44:40 -05:00
Ed Morley
90bfe67efa Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Doug Sherk
3fef8faffc 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
3d389274ff Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Zack Weinberg
9c593e5cd7 Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Fabrice Desré
301a9c7141 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
b4da8b67b0 Bug 720632 - Part 4: Use nsISmsRequestManager in Android JNI code. r=cjones 2012-02-20 00:44:29 +01:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Oleg Romashin
2c74535f69 Bug 729438 - GetGLFrameBufferFormat need to be specified for maemo in Qt port. r=ajuma 2012-02-22 11:16:15 -08:00
Brad Lassey
3961277f20 bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
7cf93f9f2a Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Brad Lassey
db01bf6a07 Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
e60677dc90 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Brad Lassey
c2cde20188 [mq]: meta_viewport_query
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Benoit Girard
47cf03a5c3 Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 13:57:40 -05:00
Brad Lassey
9e55996669 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
95697a85f1 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
ce3f178378 Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Ed Morley
fe4a039dbe Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Chris Lord
dd4aacfc79 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
2d00d4d7a8 Stop asserting the reverse of what we mean 2012-02-17 11:50:14 -05:00
Kartikaya Gupta
6e72a9570d Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta
5ec5bd703f Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
f3c1b6a928 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Benoit Girard
1bb7f1c5f2 Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 14:02:15 -05:00
Justin Wood
492e2f38ac Bug 726797 - Multi-GPU Detection Broken on Windows Gecko 11. r=ajuma 2012-02-16 21:14:53 -05:00
Doug Turner
b66a0f8126 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Cameron McCormack
6f87b94b52 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
157bc379f0 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
6a55170fc3 bug 727847 - meter orientation events on android r=dougt 2012-02-16 23:03:57 -08:00
Brad Lassey
585ae3af5b bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Neil Deakin
96524d644a 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
4f6804ee5a Bug 691355 - Crash when headphones removed while listening to audio. r=jmathies 2012-02-17 09:17:27 -05:00
Benoit Girard
567f149d32 Fix one shutdown crash
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Benoit Girard
612ce84d1f remove dead code 2012-02-14 18:36:33 -05:00
Masayuki Nakano
eda430e92c 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
1b46184a8f 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
bc50d262d3 Stop XUL fennec from crashing on startup 2012-02-13 16:57:57 -05:00
Patrick Walton
5081278876 Integrate the Java compositor. Scroll bars now appear. 2012-02-13 14:52:30 -08:00
Patrick Walton
ec85569a69 Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Benoit Girard
5ec8cb5563 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Eitan Isaacson
55d77d968d 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
d698580c18 Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Patrick Walton
9fb4d6959b Uncomment TransformLayerUserData and move it into Layers to fix build bustage 2012-02-10 18:55:48 -08:00
Benoit Girard
ece165b571 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
7f7fa10d9e Fix busted build. 2012-02-10 10:40:57 -05:00
Ali Juma
302758e203 Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
9ff00d7ac5 Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
76fcf64d4a Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Patrick Walton
492b9f6acc Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
f778b545b3 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
3f101c071a Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Benoit Girard
2430a6b71c Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard
7dc71cdb8d Merge m-c into maple 2012-02-08 16:43:22 -05:00
Marco Bonardo
984a5a549c Merge central to inbound 2012-02-08 09:24:40 +01:00
Marco Bonardo
152ac8a010 Backout 7a8b935ab596 (bug 674370) for Paint regression 2012-02-08 09:23:40 +01:00
Andreas Gal
9b035fee2b Compress input events in gonk backend (bug 718914, r=cjones). 2012-02-07 22:42:44 -08:00
Karl Tomlinson
98545dde78 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
117ed91a39 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
f6eaae518a Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-27 18:57:28 -05:00
Benoit Jacob
f49757071d 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
b976af9f21 Merge central to inbound 2012-02-27 13:46:22 +01:00
Henri Sivonen
3aacb86e06 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
9cd5206135 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
6e028360f6 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
a16672ae8d 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
c27f8da145 Bug 672175 part.12 Move MOZ_WM_*SCROLL handler into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
12db3df924 Bug 672175 part.11 Move MOZ_WM_MOUSE*WHEEL handler into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
e471efcd26 Bug 672175 part.10 Initialize mouse scroll events in MouseScrollHandler::LastEventInfo r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
efd57499e1 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
4f8b1a57b2 Bug 672175 part.8 Compute modifier key state in MouseScrollHandler r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
7329da145c 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
d205c5cec9 Bug 672175 part.6 Summarize native mouse wheel events by MouseScrollHandler::EventInfo r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
c0fc2b56d0 Bug 672175 part.5 Move device specific code to MouseScrollHandler r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
ead5cb5a34 Bug 672175 part.4 Move HasRegistryKey() in nsWindow.cpp to WinUtils r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
ad5aef5997 Bug 672175 part.3 MouseScrollHandler should manage user prefs r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
8bf2dd5727 Bug 672175 part.2 MouseScrollHandler should manage system settings r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
34e96b4291 Bug 672175 part.1 Implement MouseScrollHandler for Windows r=jimm 2012-03-06 12:20:28 +09:00
Patrick Walton
e9d5b35c01 Shrink the surface size to speed up painting 2012-02-06 15:25:18 -08:00
Ali Juma
c30eba6e2e Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
035ebbe87f Add support for pausing/resuming composition from Java. 2012-02-05 13:33:38 -05:00
Patrick Walton
8f577231bf Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Patrick Walton
acf57d7d37 Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
d6e3afde17 Add a virtual layer and GL layer client implementation 2012-02-03 15:48:26 -08:00
Markus Stange
7744fae998 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
6adce041c2 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
13458c16d5 Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Patrick Walton
a25f57bcc7 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
96bf34ae0e Clean up nsWindow::Draw() a bit 2012-02-02 20:24:49 -08:00
Patrick Walton
f15ef916a3 Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
ad52ff772a Hack the real window dimensions 2012-02-02 18:03:55 -05:00
Benoit Girard
d4c038b718 Fix GetLayerManager logic 2012-02-02 14:16:59 -05:00
Benoit Girard
ea4615353c Fix problems with Nexus S init 2012-02-02 13:57:38 -05:00
Benoit Girard
97fdca975c remove OGLSurfaceView init, todo remove OGLSurfaceView.java 2012-02-02 11:28:54 -05:00
Benoit Girard
709f31dbb4 Removing this awesome template code because it causes library load crashes :( 2012-02-02 11:17:50 -05:00
Patrick Walton
df5fc9e46d Turn on OMTC by default; fix crash when acquiring EGL surface 2012-02-01 23:54:01 -08:00
Benoit Girard
9378d80baf Add init code for AndroidEGLObjects 2012-02-01 18:08:09 -05:00
Benoit Girard
7b9d937ba8 Fix AndroidGLController::Init 2012-02-01 17:53:18 -05:00
Benoit Girard
4580dbb21d Progress on omtc integration 2012-02-01 16:18:35 -05:00
Benoit Girard
106b0e77a3 Move registerCxxCompositor to FlexView 2012-02-01 14:15:52 -05:00
Ali Juma
da918c5222 Merge m-c to kiwifox 2012-02-01 12:07:14 -05:00
Benoit Girard
03e53b0b32 Import jni implementation 2012-02-01 12:02:55 -05:00
Benoit Girard
6d0fb45af9 Import jni headers 2012-02-01 11:49:34 -05:00
Ali Juma
150a69c9a2 Disable direct textures because of crashes. 2012-01-31 15:53:54 -05:00
Benoit Girard
5ded8d48db merge mc into kiwifox 2012-01-31 13:55:51 -05:00
Markus Stange
23c72f3d76 Bug 715867 - Don't fire duplicate sizemodechange events on Mac. r=smichaud
--HG--
rename : widget/tests/window_bug596600.xul => widget/tests/empty_window.xul
2012-01-31 11:40:03 +01:00
Wes Johnston
2b1ee754dc Bug 721484 - Don't disable mouse events for touch events. r=blassey 2012-01-30 21:57:06 -08:00
Benoit Girard
f1d2fba1df Merge fixes 2012-01-30 15:57:30 -05:00
Benoit Girard
506188e13c Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
James Willcox
e0ad67e5bf Bug 721803 - Add known-good devices to direct texture whitelist r=blassey 2012-01-30 22:38:16 -05:00