Commit Graph

158 Commits

Author SHA1 Message Date
Gregory Szorc
d6c09a83d7 Bug 784841 - Part 18μ: Convert /widget; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Chris Jones
33f5d7a397 Bug 834639: Use PREMULT blending for hwc layers. r=dwilson 2013-02-12 10:47:07 -08:00
Diego Wilson
a8f88993bf Bug 834819 - Make HwcComposer2D honors world transform. r=cjones 2013-01-29 20:21:04 -05: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 Brubeck
d4238fadbf Bug 833663 - Set MOZ_SOURCE_TOUCH for simulated mouse events in Gonk [r=cjones] 2013-01-24 06:53:39 -08:00
Diego Wilson
1ebf9fe0e9 Bug 810334: Honor layer clip rects in HwcComposer2D. r=vlad a=cjones 2013-01-17 13:34:01 -08:00
Ehsan Akhgari
597517a42f Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary 2013-01-14 16:21:54 -05:00
Diego Wilson
105835da4b Bug 810501: Get buffer offset from ThebesLayer when composing with hwc. r=cjones a=blocking-basecamp 2013-01-10 11:51:43 +01:00
Diego Wilson
ac06b64689 Bug 808339: HWC fallback on multirect layer. r=cjones a=blocking-basecamp 2013-01-09 18:18:13 +01:00
Diego Wilson
6eaf476191 Bug 810361: Handle ColorLayers with HwcComposer2D. r=cjones a=blocking-basecamp 2013-01-09 13:56:37 +01:00
Ehsan Akhgari
fb00d8ba4e Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Ehsan Akhgari
5c76c7d75d Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc 2013-01-05 23:07:27 -05:00
Masayuki Nakano
aef542653e Bug 822866 Make mozilla::widget::BaseEventFlags which is a POD struct for VC r=smaug 2012-12-28 23:13:18 +09:00
Justin Lebar
aceb4ec69b Bug 819791 - Part 4: Remove an unnecessary TArray copy in OrientationObserver.cpp. r=mounir 2012-12-18 20:16:06 -05:00
Masayuki Nakano
b5bfba81cc Bug 813445 part.10 Remove NS_EVENT_FLAG_DONT_FORWARD_CROSS_PROCESS and NS_EVENT_RETARGET_TO_NON_NATIVE_ANONYMOUS r=smaug 2012-12-16 10:26:05 +09: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
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05: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
Doug Turner
932100423d Bug 808262- Otoro/unagi sometimes start up in landscape and can't be switched to portrait. The working theory is that, for some reason, we can not access the fb. If that happens, just abort and try again later. r=dhylands a=blocking-basecamp 2012-12-07 16:02:48 -08:00
Makoto Kato
922dfb3e23 Bug 815945 - Gonk needs to implement nsLookAndFeel::GetPasswordCharacterImpl. r=mwu 2012-12-04 12:24:51 +09:00
Michael Wu
c498cdcce2 Bug 809665 - Boot animation support for B2G, r=cjones,joe 2012-11-28 13:43:19 -05:00
Makoto Kato
c4b069ec56 Bug 816004 - Change password mask timer to 1.5s on Gonk. f=vingtetun r=mwu 2012-11-29 15:13:35 +09:00
Dave Hylands
a1e22a7dbe Bug 814783 - terminate_string16 is called twice, causing segfault when an app exits. r=mwu
Add String16.cpp to libui so that we call the terminate_string16 from that file rather than
the one from android.
2012-11-28 13:59:54 -08:00
Dave Hylands
8773c8a9de Bug 814549 - Fix OOP app segfault when exiting the app. r=cjones 2012-11-27 19:07:19 -08:00
Michael Wu
a6151afc62 Backed out changeset d12d63253125 (bug 809665) for red 2012-11-19 19:54:33 -06:00
Michael Wu
04e6675ac2 Bug 809665 - Boot animation support for B2G, r=cjones 2012-11-09 12:08:36 -08:00
Chris Jones
8c1774d31e Bug 804852: Support for the hwc implementation of Composer2D. r=mattwoodrow,mwu,roc sr=roc
This is a rollup of the following patches

part 0: Add a dynamic cast to ColorLayer*

part 1: Add a Composer2D interface to enable implementations to more efficiently compose layer trees

part 2: Let widgets expose Composer2Ds, if they have them

part 3: Expose a layers ogl "friend" API that Composer2D will consume

part 4: Hook Composer2D into the LayerManagerOGL rendering pipeline

part 5: Implement all the goop to let widget/gonk use a Composer2D (HwcComposer2D)
2012-11-19 09:58:38 -08:00
Diego Wilson
5cfab33079 Bug 804852: Implement Composer2D for hwc. r=cjones 2012-11-19 09:58:37 -08: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
Randy Lin
7613a95aa7 Bug 805744 - Add Support for media control on Wired Headset Button. r=fabrice 2012-11-07 09:45:54 +08:00
Gabriele Svelto
8a94a72032 Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar 2012-11-08 02:07:57 +01:00
Justin Lebar
7764b2db2c Bug 771195 - Follow-up: Fix debug build error on a CLOSED TREE. r=me 2012-10-31 14:08:07 -04:00
Justin Lebar
e5ca33789e Bug 771195 - Fire memory pressure events on Gonk. r=dhylands 2012-10-31 13:29:14 -04:00
Masayuki Nakano
4446ab9d05 Bug 801989 part.7 Set InputContext::mNativeIMEContext on Gonk r=cjones 2012-10-27 08:35:21 +09:00
Neil Deakin
c56bc18541 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Matt Woodrow
32f9e8cdc6 Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Jonathan Kew
2c2d5f0ecf bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc 2012-09-29 12:35:08 +01:00
Mounir Lamouri
0921c0d538 Bug 787534 - Update the Gonk backend to take into account the new screen lock orientations values. r=mwu 2012-09-18 19:39:59 +01:00
Mounir Lamouri
4a90f2279e Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
Chris Jones
e01d45f3fa Bug 788943: Allow TabParents to capture event series for faster dispatch to subprocesses. Implements capturing of touch-event series. r=smaug sr=roc 2012-09-11 13:05:52 -07:00
Mounir Lamouri
42ecf3a4fd Bug 787532 - Update Android HAL backend to take into account new screen lock values. r=jlebar 2012-09-11 11:57:20 +01:00
Michael Wu
8c8828422d Bug 771653 - Use HWComposer instead of swapBuffer where appropriate, r=cjones
Some vendors provide a hw composer module which should be used instead of swapBuffers on hardware surfaces.

Based on romaxa's patch.
2012-08-24 15:42:45 -04:00
Chris Jones
d1ad541565 Bug 778261: Move this workaround back into the right place. r=fabrice 2012-08-30 09:45:59 -03:00
Michael Wu
053323c212 Bug 781039 - Mouse input support for gonk, r=cjones 2012-08-24 14:06:19 -04: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
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Justin Lebar
b820f2bad8 Bug 776132 - When the gonk AppShell is trying to shut down the OrientationObserver, don't call OrientationObserver::GetInstance() -- that might /create/ an orientation observer! r=cjones
--HG--
extra : rebase_source : 72ad44ea6edf1c170cb0af6fb3e207550c7bee15
2012-08-18 09:55:59 -04:00
Chris Jones
d15d9cf95e Bug 783139: Restore setting .widget on nsGUIEvent. r=dRdR 2012-08-15 17:54:18 -07:00