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
Benoit Girard
7468656545
Move registerCxxCompositor to FlexView
2012-02-01 14:15:52 -05:00
Ali Juma
bc530734b9
Merge m-c to kiwifox
2012-02-01 12:07:14 -05:00
Benoit Girard
e99b2a6576
Import jni implementation
2012-02-01 12:02:55 -05:00
Benoit Girard
0824fd6e45
Import jni headers
2012-02-01 11:49:34 -05:00
Ali Juma
3be5bdbdb2
Disable direct textures because of crashes.
2012-01-31 15:53:54 -05:00
Benoit Girard
7768764c56
merge mc into kiwifox
2012-01-31 13:55:51 -05:00
Markus Stange
e66671917e
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
bd330a1bcb
Bug 721484 - Don't disable mouse events for touch events. r=blassey
2012-01-30 21:57:06 -08:00
Benoit Girard
8b421129d7
Merge fixes
2012-01-30 15:57:30 -05:00
Benoit Girard
cc153dc324
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
James Willcox
377edbf44e
Bug 721803 - Add known-good devices to direct texture whitelist r=blassey
2012-01-30 22:38:16 -05:00
Benoit Girard
2a3688a8df
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Benoit Girard
ff97cd2839
Disable sHasDirectTexture because of crash in Nexus S
...
--HG--
extra : rebase_source : 03daaf6a9b7a562d95bf42c34b997ba234eed022
2012-01-26 14:22:26 -05:00
Michael Wu
419a201443
Bug 729146 - Check aRepaint in Resize in gonk's nsWindow, r=cjones
2012-02-22 09:50:44 +01:00
Owen Taylor
0befb7239c
Bug 721498 - Use remote timestamp when available for focus requests. r=karlt
2012-02-16 11:23:34 +01:00
Michael Wu
874812c941
Bug 719647 - Add Touch Event support to Gonk widget backend, r=cjones
2012-01-25 12:37:31 -08:00
Ali Juma
51ac38f75e
Work around Bug 719036.
2012-01-18 11:38:45 -05:00
Ali Juma
11cc82c789
merge m-c to kiwifox
2012-01-18 11:04:04 -05:00
Doug Turner
795f79c2bc
Bug 713803 - Rationalize JNI access accross android widget. r=blassey
2012-01-29 12:39:30 -08:00
Phil Ringnalda
acc2c0c02e
Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange
2012-01-29 00:49:02 -08:00
Doug Turner
3fa071d3e3
Bug 713803 - Rationalize JNI access accross android widget. r=blassey
2012-01-28 22:38:02 -08:00
Brian Nicholson
4072dc4a70
Bug 701092 - Limit session restore attempts. r=mfinkle
2012-01-27 22:04:54 -08:00
Ali Juma
aa7531e186
Revert spurious change to widget/android/nsWindow.cpp
2012-01-16 11:14:36 -05:00
Ali Juma
9b8a32266c
Address next set of review comments.
2012-01-16 10:31:16 -05:00
Ali Juma
c87786aba6
merge mc to kiwifox
2012-01-16 10:06:34 -05:00
Ali Juma
3dd73e278d
merge mc to kiwifox
2012-01-16 09:58:14 -05:00
Tim Taubert
d798b882da
merge m-c to fx-team
2012-01-16 11:20:19 +01:00