Commit Graph

312 Commits

Author SHA1 Message Date
Chris Lord
3703826d50 Bug 850690 - Fix gap sometimes appearing between dynamic toolbar and page. r=kats
Backout bug 797942 as it should no longer be necessary after bug 844275 and
can cause surface size races during startup.
2013-03-15 18:35:35 +00:00
Kartikaya Gupta
a3f9747d36 Bug 847002 - Guard against going into codepaths that assume GetLayerManager doesn't return null. r=Cwiiis 2013-03-14 12:17:49 +01:00
Jonathan Watt
4a313fc96a Bug 849961 - Make nsWindow::DispatchMultitouchEvent honor event.mFlags.mMultipleActionsPrevented. r=smaug, r=wesj. 2013-03-12 11:29:53 +00:00
Kartikaya Gupta
c39158732c Bug 846774 - Replace the sync event with an ack flag on events. r=cpeterson 2013-03-10 22:43:30 +00:00
Masayuki Nakano
11b866300f Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
352ff265a7 Bug 558976 part.5 Implement nsIWidget::NotifyIME() on Android r=nchen 2013-03-06 15:14:34 +09:00
Jim Chen
913bb71a01 Bug 843048 - Delay setting IME context on Gecko thread instead of Java thread; r=cpeterson 2013-03-05 15:24:35 +00:00
Jim Chen
6eb13bf748 Bug 831144 - Properly pass meta states to Gecko; r=cpeterson 2013-03-05 11:07:51 +00:00
Jim Mathies
c689c82355 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Kartikaya Gupta
2fe60aac17 Bug 844275 - Drive the layer manager creation from the GLController rather than GetLayerManager. r=Cwiiis 2013-02-28 13:28:23 -05:00
Kartikaya Gupta
77228f863b Bug 841503 - Delete a bunch of non-OMTC android codepaths. r=BenWa,snorp 2013-02-19 12:35:38 -05:00
Jim Chen
e27f42ec6f Bug 841507 - Mask events when removing composition; r=cpeterson 2013-02-18 14:06:04 -05:00
Kartikaya Gupta
6218e14d70 Bug 839622 - Remove a native function that hasn't been used since bug 735230, and the unneeded setSurfaceView implementation. r=cpeterson 2013-02-08 16:42:13 -05:00
Brad Lassey
95a66d6597 bug 674739 - Implement DOM3 KeyboardEvent types, use volume keys in android widget code r=jchen 2013-02-04 18:27:56 -05:00
Kartikaya Gupta
61377e6e55 Bug 832508 - When resuming Fennec and re-recreating the surface, force a first-paint notification from the compositor. r=Cwiiis 2013-02-04 15:13:17 -05:00
Jim Chen
61dc0cee3f Bug 832028 - Make resetting Editable during focus more reliable; r=cpeterson 2013-02-01 14:50:03 -05:00
Chris Peterson
53da47cdfb Bug 834611 - Part 1: Fix Android widget warnings. r=kats 2013-01-25 11:33:40 -08:00
Robert O'Callahan
05e24fd045 Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan
d9789d372b Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Robert O'Callahan
1ada24c301 Bug 826817. Part 1: Send WillPaintWindow/DidPaintWindow from all widget implementations. r=tnikkel 2013-01-28 13:34:03 -06:00
Matt Woodrow
f40488f317 Bug 832641 - Invalidate popups when they become visible rather than handling invalidations while they are hidden. r=roc 2013-01-23 18:46:36 +13:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Kartikaya Gupta
513d67161a Bug 785597 - Allow the compositor to be registered earlier in the startup process and prevent creating multiple LayerManager instances. r=snorp 2013-01-10 11:21:10 -05:00
Kartikaya Gupta
a752c5511f Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa 2013-01-10 11:21:10 -05:00
Jim Chen
d948f7e9cd Bug 827065 - Simplify selection update code and use new focus text update offsets; r=cpeterson 2013-01-09 11:57:48 -05:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b56cdd701e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Kartikaya Gupta
d8040a8d4e Bug 785597 - Don't create a LayerManager for a content window of an invisible top-level window. r=snorp 2012-12-21 11:33:28 -05:00
Matt Woodrow
0e7b152e2b Bug 795833 - Add a RequestRepaint method to nsIWidgetListener and use it in the android widget instead of invalidating the view. r=roc 2012-12-18 16:42:02 +13:00
Masayuki Nakano
e26d8738b2 Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Jonathan Kew
aa8404a74a bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc 2012-12-12 09:57:38 +00:00
Eitan Isaacson
ca1e60aaf1 Bug 817684 - Translate Android hover enter/exit to mouseenter/mouseleave. r=wesj 2012-12-10 15:47:47 -08:00
Jim Chen
f555bdd9e3 Bug 818501 - Get composition styles from styles returned by the system; r=cpeterson 2012-12-06 14:35:59 -05:00
Jim Chen
0a92b8105d Bug 811755 - Buffer and coalesce IME selection and text changes; r=cpeterson 2012-12-05 11:09:56 -05:00
Boris Zbarsky
909f6d9ba2 Bug 815671 part 6. Fixes to widget code to not copy arrays implicitly. r=jlebar 2012-11-29 11:14:14 -05:00
Nicolas Silva
48a06e31e4 Bug 806428 - Fix crash in omtc-linux caused by nsBaseWidget::SetLayersAcceleration, and rename xxxAcceleratedRendering into xxxLayersAcceleration for concistency. r=BenWa 2012-11-15 19:55:15 +01:00
Jeff Muizelaar
553e2b006d Bug 812564. Remove non-OMCT nsWindow code. r=blassey
We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.Bug 812564. Remove non-OMCT nsWindow code. r=blassey

We don't need this anymore.

--HG--
extra : rebase_source : 766ff357c7ff737958f7f7304e9984d2a00307e5
2012-11-16 11:33:28 -08:00
Jim Chen
f64bbf94d5 Bug 808287 - Use counter instead of boolean to mask events after focus change; r=cpeterson 2012-11-16 11:41:54 -05:00
Jim Chen
2375ed8ae8 Bug 808287 - Follow-up to combine IME enums, etc; r=cpeterson 2012-11-13 17:27:26 -05:00
Jim Chen
a631eba78b Bug 808287 - Fix out-of-order IME events during focus change; r=cpeterson 2012-11-13 17:27:19 -05:00
Jim Chen
740a94ad6b Bug 810959 - Reset text and selection before focus notification; r=cpeterson 2012-11-13 15:51:08 -05:00
Jim Chen
62b9408794 Bug 807544 - Add #ifdef to make XUL Fennec compile. r=gbrown 2012-11-01 19:23:14 -04:00
Jim Chen
f1b59463c9 Bug 805162 - l. Avoid unnecessarily setting selection, which can lead to side-effects in automated tests; r=cpeterson 2012-11-01 16:11:03 -04:00
Jim Chen
b21a381d6b Bug 805162 - k. Use AutoIMEMask class to manage IME update masking variables; r=blassey 2012-11-01 16:11:03 -04:00
Jim Chen
ee82554eeb Bug 805162 - d. Redefine and implement Gecko to Java IME notifications in widget; r=blassey 2012-11-01 16:11:02 -04:00
Jim Chen
e03ac8c336 Bug 805162 - c. Implement new Java to Gecko IME events in widget; r=blassey 2012-11-01 16:11:02 -04:00
Ed Morley
95fe6d2a1c Backout 533faa3c50ed, 718abc1bd4ad, af2d5272c06b, ad5554e1345d, c9ef1b41b829, d3a825311d11, 0a51bcb3eb9e, a01a327e8ec4, 973b0ed30b8b, 39851bbcfaa1 & a92d2d2a3b0e (bug 805162), d4884aab5ce6, 06fcbaf40cb4, daccc3fe7c70, 881eb2a2906e, 76232441ae06, 01ae34fa1b3f & 5f405fc4e323 (bug 783092), a03d8d4db1c2, 49beb3801192, 174634554a97, 0bd27e755a83, 19e8f151ca67, a6604e038bc0, ed3b8237e76e & 082cf8d72554 (bug 785945) for bustage or conflicting with backout of said bustage on a CLOSED TREE 2012-11-01 00:16:35 +00:00
Jim Chen
a502e81624 Bug 805162 - k. Use AutoIMEMask class to manage IME update masking variables; r=blassey 2012-10-31 17:35:32 -04:00
Jim Chen
ccfcd94e57 Bug 805162 - d. Redefine and implement Gecko to Java IME notifications in widget; r=blassey 2012-10-31 17:35:31 -04:00
Jim Chen
fce2d40f78 Bug 805162 - c. Implement new Java to Gecko IME events in widget; r=blassey 2012-10-31 17:35:31 -04:00
Masayuki Nakano
215e6ec2e2 Bug 801989 part.5 Set InputContext::mNativeIMEContext on Android r=nchen 2012-10-27 08:35:21 +09:00
Chris Lord
ee6e58be16 Bug 805028 - Use ComputeRenderIntegrity to calculate accurate checkerboard. r=kats
Use ComputeRenderIntegrity so that checkerboarding values remain accurate when
progressive tiles are enabled.
2012-10-25 17:23:47 +01:00
Geoff Brown
3c3ea0c769 Bug 797942 - Update compositor size on SIZE_CHANGED or SetCompositor, but only at startup; r=snorp 2012-10-23 13:53:00 -06:00
Jim Chen
b86ebcb4f0 Bug 792928 - Don't select entire text when event offsets are out of bounds; r=masayuki 2012-10-19 14:45:54 -04:00
Geoff Brown
dfabb5e320 Backed out changeset a7a10b14ff06 (bug 797942) 2012-10-18 10:00:26 -06:00
Wes Johnston
ec1e4e65db Bug 695407 - Support modifier keys with touch events. r=blassey 2012-10-16 17:01:50 -07:00
Matt Woodrow
32f9e8cdc6 Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Geoff Brown
b1067d910c Bug 797942: Propagate SIZE_CHANGED to LayerManagerOGL; r=cwiiis 2012-10-05 04:26:33 -06:00
Wes Johnston
e15c46b32f Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey 2012-10-02 13:18:21 -07:00
Benoit Girard
c8f1bc0779 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
6f1f6c2930 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-08-29 17:48:43 +12:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
fa1bb9fa65 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-08-29 17:48:43 +12:00
Christian Vielma
9daa52423c Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 17:48:29 -07:00
Chris Peterson
cd604bcb0e Backout 3875fa9aaec1 (changeset author is Christian Vielma, not Chris Peterson). a=oops 2012-09-12 17:40:41 -07:00
Chris Peterson
3fe868b85a Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 17:36:32 -07:00
Chris Peterson
cfc21cce7e Backout 01fb250fbba1 (changeset description should have said bug 756504, not bug 756505). a=oops 2012-09-12 17:31:21 -07:00
Christian Vielma
585957c59c Bug 756505 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 11:19:39 -04:00
Kartikaya Gupta
69712eb652 Bug 787060 - Update android widget RedrawAll to invalidate the entire view to work with DLBI. r=mattwoodrow 2012-09-04 18:06:22 -04:00
Zoe Bellot
c7a4582c95 Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-26 23:16:22 -03:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Matt Woodrow
1adf216f21 Bug 783449 - Move android specific NeedsPaint checks into the android widget implementation. r=roc 2012-08-20 22:00:50 +12:00
Ed Morley
7a68f05d39 Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures 2012-08-17 12:30:02 +01:00
Zoe Bellot
ccf0a0450d Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-17 12:02:18 +02:00
Neil Deakin
279f4c393a Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
3e40b0b005 Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Matt Woodrow
0fe44d8b7f Bug 539356 - Part 24 - Don't paint android widgets that aren't being composited, or at the front. r=roc 2012-08-13 22:10:10 +12:00
David Zbarsky
06ea1f66f2 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mark Capella
fd9b625002 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mark Capella
430f93c039 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Nicolas Silva
049d5a6366 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -04:00
Kartikaya Gupta
7df3e8d42a Back out 083d36bafbc8 (bug 763166) on suspicion of android talos redness. r=me 2012-07-13 17:34:58 -04:00
Kartikaya Gupta
3971cfe5dc Bug 763166 - Add a AndroidBridge::GetJNIForCompositorThread function to avoid using GetJNIForThread. r=blassey 2012-07-13 09:36:43 -04:00
Ryan VanderMeulen
09bff6c590 Backout 7ddda33608c6 (bug 772672) due to robocop orange. 2012-07-12 21:35:19 -04:00
Brad Lassey
b8cba3dfe4 bug 772672 - CreateCompositor can hold up the Gecko thread, waiting for a surface r=ajuma 2012-07-12 16:49:58 -04:00
Ehsan Akhgari
55cdeecc72 Backout changeset ba7021170544 (bug 539356) because of performance and correctness regressions 2012-07-03 20:12:45 -04:00
Ehsan Akhgari
50c48849de Backout changeset 6e8c5c011767 (bug 539356) because of performance and correctness regressions 2012-07-03 20:11:05 -04:00
Matt Woodrow
3900adf612 Bug 539356 - Part 24 - Don't paint android widgets that aren't being composited, or at the front. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
0664c2e210 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-30 15:06:13 +12:00
Bonnie Surender
e360fa128a Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Kartikaya Gupta
cdacbf5b96 Bug 753665 - Ensure the mParent reference is nulled out when destroying a child window. r=blassey 2012-06-18 22:29:52 -04:00
Eitan Isaacson
284278e3c4 Bug 763613 - Make hover events mousemove events. r=wesj 2012-06-15 15:34:22 -07:00
Marco Castelluccio
24d43876fd Bug 703484 - Part 3: Fix android whitelist. r=ajuma 2012-06-13 15:54:02 -04:00
Ed Morley
a73fc227f9 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
ddc048ce6a Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-11 16:45:39 +12:00
Eitan Isaacson
b92103a601 Bug 755976 - Send empty text and selection when IME is disabled. r=cpeterson 2012-06-07 11:09:00 -07:00
Benoit Girard
84d5e945e3 Backout dd81ac5bb79d (Bug 703484) for regressing OMTC OGL on Mac. 2012-06-06 11:23:39 -04:00
Chris Peterson
d267159cb3 Bug 756429 - Part 2: Assert sanity of composition string's state changes. r=blassey 2012-06-01 09:48:13 -07:00
Marco Castelluccio
edf400fa52 Bug 703484 - Part 3: Fix android OMTC whitelist. r=ajuma
--HG--
extra : rebase_source : e16788c85616fa92bfe724266b60435b446e9124
2012-05-30 14:56:56 -04:00
Kartikaya Gupta
7ca7eb3baa Bug 753665 - Fix incorrect comment and some formatting of debug output. r=blassey 2012-05-26 11:07:24 -04:00
Kartikaya Gupta
ece9bcc228 Bug 753665 - Add some missing kungFuDeathGrips while dispatching events. r=blassey 2012-05-26 11:06:55 -04:00
Kartikaya Gupta
e60ac0120b Bug 753665 - Fix possible corruption in the window parent chain. r=blassey 2012-05-26 11:06:25 -04:00
James Willcox
fcfdb3d1b6 Bug 747492 - Don't show vkb when plugin is focused on Android r=cpeterson 2012-05-24 11:03:07 -04:00
Nicolas Silva
2337ceaadf Bug 722012 - Added a call to XInitThreads before the first call to XOpenDisplay to fix OMTC crashes. r=karlt
--HG--
rename : toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul => toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0113_general.js => toolkit/mozapps/update/test/unit/test_0110_general.js
rename : toolkit/mozapps/update/test/unit/test_0114_general.js => toolkit/mozapps/update/test/unit/test_0111_general.js
rename : toolkit/mozapps/update/test/unit/test_0115_general.js => toolkit/mozapps/update/test/unit/test_0112_general.js
rename : toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js
extra : rebase_source : f527614c4a5f0b8979bd8bc39dcd3ca739ba9e08
2012-05-22 11:34:34 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Peterson
fbc151ad47 Bug 748590 - Backout adea606b5694 to map KEYCODE_DPAD_CENTER to DOM_VK_RETURN. r=eeejay 2012-05-18 15:51:53 -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
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
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
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
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
Masayuki Nakano
b4dca62772 Bug 166240 part.5 Add support KeyboardEvent.location on Android r=cpeterson 2012-05-03 17:35:02 +09: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
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
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
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
Jeff Muizelaar
30fbc339cd 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
37f4d82a7d Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout 2012-04-19 12:50:46 -07:00
Chris Peterson
ef807c5b5a 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
2966341f9b 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
Eitan Isaacson
b4734ed7af Bug 739493 - Add "Accessibility:IsEnabled" message for Android 2012-03-15 10:38:27 -04:00
Kartikaya Gupta
dec4c11b3e Bug 742019 - Rewrite how we handle touch events so we don't break panning, and don't introduce unnecessary latency. r=wesj 2012-04-07 03:09:26 -04:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ali Juma
9d5313030b Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats 2012-03-28 18:00:32 -04:00
Eitan Isaacson
456274669c Bug 738741 - Map Android's KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=mbrubeck 2012-03-28 22:11:55 +02:00
Kartikaya Gupta
7968d9bc1e Bug 731603 - Save the display port and resolution in the VirtualLayer's mPosition and mResolution fields. r=Cwiiis 2012-03-20 00:07:42 -04:00
Kartikaya Gupta
5866ce7cc9 Bug 727966 - Remove an unnecessary paint on rotation. r=blassey 2012-03-19 10:06:24 -04:00
Kartikaya Gupta
e15c94493b Bug 725095 - Address review comments in the widget code. r=blassey
- Rip out a lot of unused code in AndroidFlexViewWrapper.*
- Simplify the GetViewTransform JNI code
- Move the references to CompositorParent and CompositorThread from AndroidBridge to nsWindow
- Remove a bunch of logging and add some assertions and comments
2012-03-14 00:15:11 -04:00
Benoit Girard
921124c30e Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Kartikaya Gupta
8fd5e0c78c Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Benoit Girard
cbad00a72b More render trace. r=debug_only
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24: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
Benoit Girard
fce9285b59 Bug 730521 - Fix memory leak and needless memory allocation. r=ajuma 2012-02-24 21:51:14 -05: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