Commit Graph

367 Commits

Author SHA1 Message Date
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ehsan Akhgari
9a00e6195b Bug 939656 - Fix the GfxInfoBase::OperatingSystemVersion overrides; r=bjacob 2013-11-18 08:38:17 -05:00
Wes Kocher
4d822c8f24 Merge m-c to b2g-inbound 2013-11-11 16:19:56 -08:00
Michael Wu
693cbd2571 Bug 890186 - Assign charCodes on key events, r=fabrice 2013-11-11 18:19:04 -05:00
Birunthan Mohanathas
192d1ba4c1 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Masayuki Nakano
4a0b200120 Bug 600117 part.5 Implement KeyboardEvent.repeat on Gonk r=mwu 2013-11-07 20:17:33 +09:00
Mike Hommey
bf5fdbbd38 Bug 862770 - Fix --disable-compile-environment a little. r=gps
--HG--
rename : config/makefiles/target_libs.mk => config/makefiles/target_binaries.mk
rename : js/src/config/makefiles/target_libs.mk => js/src/config/makefiles/target_binaries.mk
2013-11-07 10:37:45 +09:00
Nathan Froyd
8e3d023792 Bug 918651 - part 7 - place includes intelligently in generated IPDL files; r=bent
This is where the magic starts to happen.  We move includes from the base
protocol header (${NAME}.h) to the parent and child headers (${NAME}Parent.h
and ${NAME}Child.h) to follow good include hygiene.

For the base protocol header, we examine the set of types used by struct and
union definitions to determine which headers we need to include.

For parent and child headers, we forward declare what we can and include
appropriate headers otherwise.  For forward-declared types, we include the
appropriate headers in the parent and child source files.
2013-10-01 12:55:42 -04:00
Juan Gomez
2c2d18d20e Bug 931573 - Fix a crash in some gralloc's HAL implementation causing an unitialized pointer variable in FramebufferSurface. r=dhylands 2013-10-31 10:09:06 -04:00
Birunthan Mohanathas
c410425386 Bug 784739 - Switch from NULL to nullptr in widget/; r=ehsan 2013-10-28 10:05:51 -04:00
Cykesiopka
e0bcd6aebc Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Peter Chang
59195f23b7 Bug 922510 - Extend GonkNativeWindow to support android JB 4.2.2, r=sotaro,gps 2013-10-18 10:42:43 +08:00
Sushil Chauhan
cd863fb01e Bug 920654 - Enable plane alpha support for HWC layers in newer H/W Composer. r=mwu, r=dwilson 2013-10-15 15:37:13 -07:00
Sushil Chauhan
ea611c7544 Bug 915729 - Add mixed HWC and GPU Composition. r=ncameron, r=dwilson 2013-10-15 14:01:42 -07:00
Sushil Chauhan
756b0a7897 Bug 919676 - Fix multiple hwc prepare calls with different layer lists. r=mwu, r=dwilson 2013-10-08 08:29:35 -07:00
Carsten "Tomcat" Book
9234ee1a99 merge mozilla-inbound to mozilla-central 2013-10-09 10:09:07 +02:00
Ryan VanderMeulen
cf37f08716 Backed out changeset e02e1b107db7 (bug 919676) for causing bug 924129. 2013-10-08 09:39:07 -04:00
Sushil Chauhan
06cfc1d663 Bug 919676 - Fix multiple hwc prepare calls with different layer lists. r=mwu, r=dwilson 2013-10-04 11:01:22 -07:00
Vincent Lin
16fa31a701 Bug 921369 - GonkDisplay takes care of Framebuffer supporting only BRGA format. r=mwu 2013-10-03 10:26:30 +08:00
Ms2ger
df62fb8b0f Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
2f7a94dd23 Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal 2013-10-03 09:10:00 +02:00
Masayuki Nakano
b266c80d36 Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
096a701901 Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Ehsan Akhgari
a23cd291d5 Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Masayuki Nakano
cb5e8fa5ed Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
cee2c827a4 Bug 771765 - Support template content process, part 8: process initialization flow changes. r=khuey
Changes initialization code for the template process:
* Let the process run for NUWA_PREPARATION_TIME ms and then start freezing the threads.
* Delay android binder thread pool creation after the content process is forked from the template and other thread recreation has finished.
* Poke the app shell after the content process is forked from the template.
2013-06-03 18:14:46 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
025fc12dba Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Viral Wang
84ee20c959 Bug 908058 - Add orientation keyword 'default' to express normal orientation. r=mounir, r=blassey 2013-09-30 10:40:41 -04:00
Diego Wilson
acbf5a87b4 Bug 901978 - Query HWC to check for "R/B swap" and Color layer support. r=ncameron 2013-09-27 13:37:19 -07:00
Nathan Froyd
98723f4c48 Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
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