Commit Graph

115 Commits

Author SHA1 Message Date
Michael Wu
d881e202dd 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
8298d64e7a Bug 778261: Move this workaround back into the right place. r=fabrice 2012-08-30 09:45:59 -03:00
Michael Wu
4cd4f58fa8 Bug 781039 - Mouse input support for gonk, r=cjones 2012-08-24 14:06:19 -04:00
Ehsan Akhgari
8c296bbcd4 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
54dd2bf57f 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
c692d7b457 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
e73d146e63 Bug 783139: Restore setting .widget on nsGUIEvent. r=dRdR 2012-08-15 17:54:18 -07:00
Neil Deakin
b9bd1357f1 Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
0413e44a55 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
Chris Jones
463a7233bd Bug 781014: Make sure the toplevel gonk widget doesn't resize smaller than screen on exiting fullscreen. r=cpearce,mwu 2012-08-14 23:13:48 -07:00
Matt Woodrow
02d2f04bf6 Bug 782808 - Apply the widget rotation to the gonk LayerManager at all times instead of only during the paint event. r=cjones 2012-08-15 13:10:40 +12:00
Michael Wu
56915bbe58 Bug 782473 - Add keymapping for end call key, r=jlebar 2012-08-14 21:01:02 -04:00
Matt Woodrow
a5511f2ac3 Bug 782413: Only paint widgets that have a layer manager. r=cjones 2012-08-13 19:41:09 -07:00
Marshall Culpepper
ef901c08dd Bug 777514: Wake the EventHub when nsAppShell is released, allowing the b2g process to exit immediately. r=mwu
--HG--
extra : rebase_source : aec812e54c359008291d77ecd59ddf40e900c859
2012-08-08 14:11:04 -05:00
Marshall Culpepper
9fcbebfb28 Bug 776742: ANativeWindow::cancelBuffer now points to a no-op function, fixing a process exit segfault in the emulator. r=cjones 2012-08-07 15:54:28 -05:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Jeff Muizelaar
b09dfa0c41 Bug 779329. Add labels for gonk widget. r=cjones
This makes it much clearer when we're waiting for events.
2012-06-27 11:55:42 -04:00
David Zbarsky
fa3cb43e08 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Jones
b1de3b0be9 Bug 778057: Fix this type of crash bug forever. r=dRdR 2012-07-27 00:15:49 -07:00
Justin Lebar
56db9a6e24 Bug 772987 - Part 2: Use Static{Auto,Ref}Ptr where appropriate. r=mounir
--HG--
extra : rebase_source : 4e3e72ba53cd0177160f80231eebeb4972119eec
2012-07-26 15:33:45 -04:00
Matt Brubeck
133c363c04 Back out d567f2581365 (bug 777514) because of build failure 2012-07-26 11:12:52 -07:00
Marshall Culpepper
102ee08886 Bug 777514: Wake the EventHub when nsAppShell is released, allowing the b2g process to exit immediately. r=mwu
--HG--
extra : rebase_source : 59cb5258a2f69d69647c59d710bddb8f9ee9b196
2012-07-26 12:52:39 -05:00
Chris Jones
bbab5e6e40 Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc 2012-07-24 12:01:09 -07:00
Ehsan Akhgari
19c695a5ca Backout changeset 02627fecb3e2 (bug 776742) because of build bustage 2012-07-24 14:33:17 -04:00
Marshall Culpepper
8ed70403e6 Bug 776742: ANativeWindow::cancelBuffer now points to a no-op function, fixing a process exit segfault in the emulator. r=cjones
--HG--
rename : js/xpconnect/tests/browser/Makefile.in => js/xpconnect/tests/Makefile.in
extra : rebase_source : c64b24e31419dfe9c9f81c572e801aa87d5df721
2012-07-24 13:07:15 -05:00
Mark Capella
7103242b4f Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Ed Morley
4e8827ab36 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-20 14:32:04 +01:00
Gervase Markham
69110ab2b1 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
David Zbarsky
7f0f075928 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Felipe Gomes
545c5f337b Bug 775403: When touch events are being consumed by a remote frame, continue to dispatch synthesized mouse events *only* in the parent process, for the focus manager. r=cjones 2012-07-19 12:40:24 -07:00
Mark Capella
bf92974758 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Chris Jones
e1cee8975b Back out bug 774139. r=bustage 2012-07-16 15:19:00 -07:00
Chris Jones
526631b1c6 Bug 774139: Forward touch events across processes. r=felipe,smaug 2012-07-16 14:46:29 -07:00
Vivien Nicolas
f2fbdc99f4 Bug 773534 - Show briefly the typed character for <input type=password>. r=mwu 2012-07-15 01:05:54 +02:00
Nicolas Silva
60e5603d68 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -04:00
Marshall Culpepper
b83e7d2adf Bug 771595 - Ensure the Gonk widget falls back to software rendering when the GL context cannot be created. r=cjones 2012-07-07 10:07:00 -04:00
Kan-Ru Chen
321b84f23a Bug 770440 - Make sure we only initialize sGLContext/sFramebufferOpen once. r=cjones 2012-07-04 08:30:59 -04:00
Oleg Romashin
b764eec0df Bug 770414: Framebuffer stride isn't calculated properly for gonk fb back/Front Buffer. r=mwu 2012-07-03 14:09:17 -07:00
Justin Lebar
1493b76989 Bug 769584 - Disable b2g hardware back button on all devices. r=gal 2012-06-29 13:49:09 +02:00
Justin Lebar
4c3ea02bd1 Bug 769585 - Fix vim modelines. DONTBUILD rs=mrbkap 2012-06-29 12:42:59 +02:00
Bonnie Surender
6dcaba353f Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Ed Morley
f6a25c1386 Merge mozilla-central to mozilla-inbound 2012-06-26 19:08:17 +01:00
Cody Brocious
def2104970 Bug 743612: Fix OMTC on gonk. r=cjones 2012-06-26 16:38:50 +02:00
Chris Jones
28fa6f918e Backed out changeset a22ca1e05bb8 2012-06-26 16:48:28 +02:00
Cody Brocious
4267fc4142 Bug 743612: Fix OMTC on gonk. r=cjones 2012-06-26 16:38:50 +02:00
Michael Wu
fa6675da3c Bug 768377 - Back out Bug 762153 due to regression on akami, r=cjones 2012-06-26 04:30:43 -07:00
Andreas Gal
56cd840bbe Support 32-bit color depth in gonk widget backend (bug 767288, r=cjones). 2012-06-22 01:18:54 -07:00
Michael Wu
c254bd48c2 Bug 763849 - Uninitialised value use in nsWindow::Show(bool aState), r=cjones 2012-06-12 16:00:21 +08:00
Michael Wu
a2ff0178c0 Bug 763771 - Uninitialised value use in TouchInputMapper::abortPointerUsage, r=cjones 2012-06-12 16:07:02 +08:00