Commit Graph

432 Commits

Author SHA1 Message Date
Masayuki Nakano
da7066887d Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
ee772d1cbc Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
18aa9b09b2 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
715f30b959 Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
a362049807 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Wes Kocher
07d04fc163 Merge b2g-i to m-c 2013-09-24 19:58:09 -07:00
Michael Wu
88f7e00c1a Bug 914776 - Fix touch event coordinates when rotated, r=m1 2013-09-24 14:58:58 -07:00
Michael Wu
76f255f022 Bug 919845 - Really make Fira Sans the default font, r=jfkthame 2013-09-24 10:57:25 -07:00
Benoit Jacob
0f90257361 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Vincent Lin
709cc83458 Bug 914554 - Remove a redundant GraphicBufferAlloc.cpp from B2G. r=mwu 2013-09-18 10:04:03 +08:00
Yuan Xulei
148d0cf6e3 Bug 915079 - Composition text should be underlined on Firefox OS devices. r=masayuki 2013-09-22 17:44:26 +08:00
Masayuki Nakano
0b6d808310 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Peter Chang
f4049067a4 Bug 915077 - Change the debug log level of HWC, r=nrc 2013-09-18 10:10:35 +08:00
Diego Wilson
b03cdbbbf8 Bug 911391 - Add Jellybean support to HwcComposer2D. r=mwu 2013-09-11 15:10:33 +02:00
Diego Wilson
e6ec1a706e Bug 911391 - Add GetFBSurface() to GonkDisplay because HwcComposer2D will need it in Jellybean. r=mwu 2013-09-11 15:10:23 +02:00
Diego Wilson
1564532826 Bug 911391 - Remove local hwcomposer.h copy to make including the one provided by gonk possible. r=mwu 2013-09-11 15:10:13 +02:00
Vincent Lin
f137273ce9 Bug 915487 - Error handling for GonkDisplayJB. r=mwu 2013-09-12 10:07:53 +08:00
Vincent Lin
5bc61ef3c4 Bug 914544 - Update GonkDisplayJB to support JB MR1. r=mwu 2013-09-12 10:24:47 +08:00
Michael Wu
a2efa69065 Bug 870113 - Switch GetFontImpl to Fira Sans, r=jfkthame 2013-09-12 18:17:11 +02:00
Sotaro Ikeda
81b1a4b5b1 Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:26 +02:00
Sotaro Ikeda
dcd5ffe85d Bug 871364 - Add base source for GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:25 +02:00
Benoit Jacob
5479e2b22e Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Michael Wu
6fc5b0d6ea Bug 908797 - Update libui to the latest input code from JB MR2, r=m1 2013-08-26 17:59:18 -04:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Jacob
94f74c705d Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Doug Turner
5dc544505a Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Diego Wilson
87876de483 Bug 896765 - Move the common utilities from HwcComposer2D to HwcUtils. r=ncameron 2013-08-29 08:17:59 -07:00
Diego Wilson
9cd60bf327 Bug 896765 - Add new file for the common utility functions for HwcComposer2D. r=nrc
--HG--
rename : widget/gonk/HwcComposer2D.cpp => widget/gonk/HwcUtils.cpp
2013-08-26 10:11:24 -07:00
Boris Zbarsky
d201003d5f Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Ed Morley
7719029a3b Merge mozilla-central and inbound 2013-08-28 16:21:25 +01:00
Ed Morley
6a787f6a2c Merge latest green b2g-inbound changeset and mozilla-central 2013-08-28 12:22:00 +01:00
Boris Zbarsky
814e6108be Back out revisions 042d50591265:69f4af72765c (bug 909645) due to Windows bustage causing a CLOSED TREE. 2013-08-28 01:46:00 -04:00
Boris Zbarsky
cb43e3e570 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Tapas Kundu
4d6d5b66fd Bug 788975 - Orientation Observer uses accelerometer sensor. r=mwu 2013-08-27 20:10:57 -07:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Benoit Girard
d39a3ff360 Bug 908449 - Implement GfxInfo::GetFeatureStatusImpl for gonk. r=bjacob 2013-08-27 19:26:46 -04:00
Ms2ger
4d0ead0110 Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Benoit Jacob
247a3a62e7 Bug 900201 - Implement GfxInfo on gonk - r=ehsan 2013-08-12 23:55:28 +02:00
Ryan VanderMeulen
fc58488cf2 Merge m-c to inbound on a CLOSED TREE. 2013-08-19 17:05:12 -04:00
Sotaro Ikeda
31bd9ec8c0 Bug 905304 - Call compositionComplete(). r=mwu 2013-08-19 08:43:16 -04:00
David Zbarsky
46c6e64d77 Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Diego Wilson
578dc5345d Bug 903562 - Honor horizontal and vertical reflection. r=ncameron, r=vliu 2013-08-14 12:26:44 -07:00
Sotaro Ikeda
48253755a9 Bug 903174 - Move GonkNativeWindow to /widget/gonk/nativewindow. r=vlad 2013-08-13 12:58:38 -04:00
Trevor Saunders
b2dc01f1a7 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Michael Vines
7b6e1a9d50 Bug 811924 - Center boot animation on black background. r=mwu
Change-Id: I110e75331fa5455c226a9b4d23748372ca9ccbe9
---
 widget/gonk/libdisplay/BootAnimation.cpp |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)
2013-08-06 15:12:27 -07:00
Ryan VanderMeulen
02d1dbe0d8 Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
Michael Wu
7229dec7e1 Bug 898897 - Update GonkDisplayJB to support JB MR2, r=vlad 2013-07-30 13:36:53 -04:00
Ryan VanderMeulen
1b206895a6 Merge m-c to birch. 2013-07-30 13:11:10 -04:00
Michael Vines
e40523d01b Bug 895665 - Gonk support for dev input audio jack events. r=mwu 2013-07-29 21:27:48 -07:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

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 "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Masayuki Nakano
c3b1ef1a90 Bug 501496 part.7 Don't dispatch keypress events if defaultPrevent() of the keydown event is called on Gonk r=smaug+mwu 2013-07-25 15:09:28 +09:00
Joshua Cranmer
c17d0c9cf2 Bug 884061 - Part 3x: Use NS_DECL_THREADSAFE_ISUPPORTS in widget/, r=jimm
--HG--
extra : rebase_source : 9e6f7d33802b3f8698616fa6f68c8500f275ae9c
2013-07-18 21:24:15 -05:00
Jeff Walden
10bde77bda Bug 891177 - Implement mozilla/Vector.h, and make js/Vector.h implement js::Vector using mozilla::Vector's implementation of the functionality. r=terrence
--HG--
rename : js/public/Vector.h => mfbt/Vector.h
extra : rebase_source : d5f87a48485e3f2241228a4b003e80974c86fd5f
2013-07-09 16:33:29 -07:00
Michael Wu
a78da502cb Bug 894683 - Fix dpi reporting on gonk-jb, r=vlad 2013-07-16 20:57:41 -04:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Benoit Girard
103cc87697 Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
David Zbarsky
6215e8c526 Fix an initializer list warning, no bug 2013-07-11 13:04:17 -04:00
Michael Wu
c3a4789887 Bug 892182 - Fallback on FB rendering on HWC 1.0, r=vlad 2013-07-11 02:14:35 -04:00
Ryan VanderMeulen
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Tapas Kundu
503c834e67 Bug 890541 - (gonk-jb) Call setInteractive() when display is enabled/disable r=mwu 2013-07-09 11:51:09 -07:00
Trevor Saunders
ace23958ea bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Ryan VanderMeulen
3e3b5b26c1 Backed out changeset 1c6223f7c74f (bug 876029) for Android armv6 mochitest-1/3 crahes. 2013-07-07 21:18:36 -04:00
Nicolas B. Pierron
9eacb3bb84 Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar 2013-07-07 16:02:58 -07:00
Nicolas B. Pierron
6a756a0ea4 Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar 2013-07-09 13:47:15 -07:00
Ryan VanderMeulen
60bbd567b1 Merge birch to inbound. 2013-07-02 10:19:45 -04:00
Michael Wu
5c754cbd22 Bug 889192 - Call blank instead of SetEnabled for initial display power up, r=vlad 2013-07-01 23:34:11 -04:00
Peter Chang
96efd55ab4 Bug 881170 - [Camera] Preview position changes for ontouch event and autofocussing. r=nrc, r=diego 2013-06-28 10:22:37 +08:00
Michael Vines
e2321be07d Bug 887627 - Avoid /sys/power/wait_for_fb_* on jb-gonk. r=mwu 2013-07-01 16:03:17 -07:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Ryan VanderMeulen
f520c5bffa Merge birch to inbound. 2013-07-01 14:31:38 -04:00
Jim Mathies
84f5b0f816 Bug 810399 - Widget bits. r=roc 2013-07-01 11:02:29 -05:00
Michael Wu
5acfa550a3 Follow up to bug 885620 - Add comment 2013-06-21 00:16:37 -04:00
Michael Wu
ba72635a91 Bug 885620 - Support FB fallback when HWC is not available, r=vlad 2013-06-21 00:04:53 -04:00
Peter Chang
c7a08d8fb4 Bug 881460 - Drawing color of CrystallSkull is not correct in master. r=vlad, r=nrc 2013-06-11 18:14:33 +08:00
Sotaro Ikeda
05bed30302 Bug 881565 - nsAppShell fails to compile with JB Gonk, r=mwu 2013-06-11 16:47:44 -04:00
Sotaro Ikeda
2d8e4dae08 Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Ryan VanderMeulen
5108144eb8 Backed out changeset 4c129a5676eb (bug 871485) for mochitest-1 failures. 2013-06-07 09:57:05 -04:00
Sotaro Ikeda
a610c06f76 Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-07 08:15:44 -04:00
Ed Morley
836a321fdf Merge latest green birch changeset and mozilla-central 2013-06-06 10:44:11 +01:00
Alexandre Lissy
8da3611a5b Bug 879695 - Notify the modem that screen state has been changed. r=vicamo,kanru
This seems to be needed on some devices to ensure proper low power state
of the modem.
---
 dom/system/gonk/RadioInterfaceLayer.js | 15 +++++++++++++++
 widget/gonk/nsWindow.cpp               |  9 +++++++++
 2 files changed, 24 insertions(+)
2013-06-06 15:28:59 +08:00
Michael Wu
d2b4696cee Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam 2013-06-05 22:42:02 -04:00
Tim Chien
e7048f5a98 Bug 878029 - Update GetDefaultScaleInternal() in Gonk to match AOSP spec. r=mwu 2013-06-03 08:30:28 -04:00
Nicholas Cameron
6ee6b3fdfb Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Oleg Romashin
bcc3049fc2 Bug 877191 - Gonk does not compile with later m-c on 4.6 compiler. r=mwu
From 0ff67b491787206102e3f079026bdb54339f69bf Mon Sep 17 00:00:00 2001
---
 dom/system/gonk/GonkGPSGeolocationProvider.cpp |    6 +++---
 dom/system/gonk/GonkGPSGeolocationProvider.h   |    1 +
 widget/gonk/nsIdleServiceGonk.h                |    7 +++----
 3 files changed, 7 insertions(+), 7 deletions(-)
2013-05-29 17:43:17 -07:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Markus Stange
07bad85738 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Michael Wu
bce75998cc Bug 870198 - Support basic display functions on gonk-JB, r=vlad 2013-05-07 23:58:22 -04:00
Michael Wu
4bd84cc89b Bug 867230 - Enable hwc by default when colorfill support is detected, r=dwilson 2013-05-09 17:40:46 -04:00
Ryan VanderMeulen
2a0c840382 Backed out changeset afc08927188a (bug 870113) for B2G mochitest-2 failures. 2013-05-09 12:52:16 -04:00
Michael Wu
8c1e933948 Bug 870113 - Switch GetFontImpl to Feura Sans, r=jfkthame 2013-05-09 09:30:57 -04:00
Diego Wilson
90a7fec553 Bug 832383 - Get surface dimensions from SurfaceDecriptorGralloc. r=bjacob
The dimensions in the android::GraphicBuffer are not always correct.
2013-04-29 17:21:16 -07:00
Diego Wilson
ca92d074c4 Bug 832383 - Don't render semitransparent color layers in HwcComposer2D. r=mwu
The hardware composer does not support them.

Also don't skip rendering fully transparent layers. The GPU compositor
does not seem to ignore them completely.
2013-04-29 17:20:51 -07:00
Diego Wilson
3ab61e42e7 Bug 832383 - Ensure color fill rect stays inside screen bounds. r=mwu 2013-04-29 16:51:51 -07:00
Diego Wilson
f4373c738c Bug 832383 - Add support for complex visible regions to HwcComposer2D. r=mwu 2013-04-29 17:21:54 -07:00
Michael Wu
43eb22d2fd Bug 868150 - Add basic support for identifying and building for JB, r=glandium 2013-05-02 11:42:52 -04:00
Michael Wu
6d85c3c71b Bug 868124 - Switch to our own copy of PowerManager.h in libui, r=vlad 2013-05-02 15:09:06 -04:00
Michael Wu
2d641d2e43 Bug 845182 - Implement GetDefaultScaleInternal() on Gonk, r=roc 2013-05-01 16:04:56 -04:00
Matt Woodrow
c727739057 Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
--HG--
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/CopyableCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/CopyableCanvasLayer.h
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/client/ClientCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/client/ClientCanvasLayer.h
rename : gfx/layers/basic/BasicColorLayer.cpp => gfx/layers/client/ClientColorLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.cpp => gfx/layers/client/ClientContainerLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.h => gfx/layers/client/ClientContainerLayer.h
rename : gfx/layers/basic/BasicImageLayer.cpp => gfx/layers/client/ClientImageLayer.cpp
rename : gfx/layers/basic/BasicLayerManager.cpp => gfx/layers/client/ClientLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.h => gfx/layers/client/ClientLayerManager.h
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/client/ClientThebesLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/client/ClientThebesLayer.h
rename : gfx/layers/basic/BasicTiledThebesLayer.cpp => gfx/layers/client/ClientTiledThebesLayer.cpp
rename : gfx/layers/basic/BasicTiledThebesLayer.h => gfx/layers/client/ClientTiledThebesLayer.h
2013-05-01 17:03:25 +12:00
Andreas Gal
8d87fa0466 Bug 862970 - Don't lock images on the active page on B2G. r=jlebar,joe 2013-04-25 18:36:53 -07:00
Nicolas Silva
b18dc950c7 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Masayuki Nakano
10593f42ca Bug 842927 part.9 Implement D3E KeyboardEvent.key on Gonk r=smaug+mwu 2013-04-24 12:49:48 +09:00
Masayuki Nakano
16051b73ff Bug 842927 part.2 Make convertion table from native keycode to DOM key name index r=smaug+cpeterson+romaxa+smichaud+jimm+karlt+mwu 2013-04-24 12:49:46 +09:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
James Zhang
eda2d32b19 Bug 852400 - revert bug 739417 to support touchscreen on tara, r=mwu 2013-04-14 13:45:47 +02:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Jonathan Kew
b9cb582a30 bug 851520 - add systemDefaultScale attribute to nsIScreenManager, and use it to decide when to remove browser.content.full-zoom prefs during UI migration if running on windows/hi-dpi. r=roc,adw 2013-04-09 22:07:02 +01:00
David Zbarsky
76ad7e5429 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Vasil Dimov
0753d90653 Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg 2013-03-27 11:19:09 -04:00
Benoit Girard
6ed333dbb5 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal
f290401a73 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Michael Wu
2a3b3d8c0e Bug 849515 - Boot failed with genlock error, r=vlad 2013-03-19 19:32:08 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Jim Mathies
09831683f1 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Gregory Szorc
093513a011 Bug 784841 - Part 18μ: Convert /widget; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Chris Jones
33f4302cb5 Bug 834639: Use PREMULT blending for hwc layers. r=dwilson 2013-02-12 10:47:07 -08:00
Diego Wilson
c06f1aceb6 Bug 834819 - Make HwcComposer2D honors world transform. r=cjones 2013-01-29 20:21:04 -05:00
Robert O'Callahan
7d5297cfef 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
ff003c47b7 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
1664912887 Bug 826817. Part 1: Send WillPaintWindow/DidPaintWindow from all widget implementations. r=tnikkel 2013-01-28 13:34:03 -06:00
Matt Brubeck
3a9e43ba6d Bug 833663 - Set MOZ_SOURCE_TOUCH for simulated mouse events in Gonk [r=cjones] 2013-01-24 06:53:39 -08:00
Diego Wilson
927cd6f224 Bug 810334: Honor layer clip rects in HwcComposer2D. r=vlad a=cjones 2013-01-17 13:34:01 -08:00
Ehsan Akhgari
dbaf74bc59 Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary 2013-01-14 16:21:54 -05:00
Diego Wilson
0e864b60c7 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
9809547147 Bug 808339: HWC fallback on multirect layer. r=cjones a=blocking-basecamp 2013-01-09 18:18:13 +01:00
Diego Wilson
0b789c0443 Bug 810361: Handle ColorLayers with HwcComposer2D. r=cjones a=blocking-basecamp 2013-01-09 13:56:37 +01:00
Ehsan Akhgari
129c4cd7fd Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Ehsan Akhgari
ac66f2835b 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
e94e7553b3 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
ab3a0d6e41 Bug 819791 - Part 4: Remove an unnecessary TArray copy in OrientationObserver.cpp. r=mounir 2012-12-18 20:16:06 -05:00
Masayuki Nakano
944e110e9a 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
c42d85d96f 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
e0523203c9 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
31bd43b8c2 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
52d9d11c75 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
c25f9169e0 Bug 815945 - Gonk needs to implement nsLookAndFeel::GetPasswordCharacterImpl. r=mwu 2012-12-04 12:24:51 +09:00
Michael Wu
a9da3c7070 Bug 809665 - Boot animation support for B2G, r=cjones,joe 2012-11-28 13:43:19 -05:00
Makoto Kato
0f1625af46 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
a0de1e8340 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
4ed8addef4 Bug 814549 - Fix OOP app segfault when exiting the app. r=cjones 2012-11-27 19:07:19 -08:00
Michael Wu
bbaf569302 Backed out changeset d12d63253125 (bug 809665) for red 2012-11-19 19:54:33 -06:00
Michael Wu
cbb2656375 Bug 809665 - Boot animation support for B2G, r=cjones 2012-11-09 12:08:36 -08:00
Chris Jones
0263e5a9c4 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
b6b523c730 Bug 804852: Implement Composer2D for hwc. r=cjones 2012-11-19 09:58:37 -08:00
Nicolas Silva
09a07039c9 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
35ce1cd27e Bug 805744 - Add Support for media control on Wired Headset Button. r=fabrice 2012-11-07 09:45:54 +08:00
Gabriele Svelto
bea65ae7da 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
7b1e19d395 Bug 771195 - Follow-up: Fix debug build error on a CLOSED TREE. r=me 2012-10-31 14:08:07 -04:00
Justin Lebar
8a80bd0a22 Bug 771195 - Fire memory pressure events on Gonk. r=dhylands 2012-10-31 13:29:14 -04:00
Masayuki Nakano
0e84dea80a Bug 801989 part.7 Set InputContext::mNativeIMEContext on Gonk r=cjones 2012-10-27 08:35:21 +09:00
Neil Deakin
88623b8f02 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
9ff7dbd84d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Jonathan Kew
336fd34232 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
c8e4a3c7bc 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
38cc3be56e Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
Chris Jones
a18a2f4b69 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
24745804d4 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
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