Michael Vines
3027d516ff
Bug 895665 - Gonk support for dev input audio jack events. r=mwu
2013-07-29 21:27:48 -07:00
Ehsan Akhgari
5ee21d6d3f
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
6b3c839046
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
ea85490c9a
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
4c0a3ad9a6
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
e127f08ae6
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
2f9c5aaa01
Bug 894683 - Fix dpi reporting on gonk-jb, r=vlad
2013-07-16 20:57:41 -04:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Benoit Girard
5b43ee14ca
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium
2013-07-12 08:56:54 -04:00
David Zbarsky
4307ba9409
Fix an initializer list warning, no bug
2013-07-11 13:04:17 -04:00
Michael Wu
0ba4fb6e0d
Bug 892182 - Fallback on FB rendering on HWC 1.0, r=vlad
2013-07-11 02:14:35 -04:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Tapas Kundu
ce15dcda19
Bug 890541 - (gonk-jb) Call setInteractive() when display is enabled/disable r=mwu
2013-07-09 11:51:09 -07:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Ryan VanderMeulen
11e25eb4b6
Backed out changeset 1c6223f7c74f (bug 876029) for Android armv6 mochitest-1/3 crahes.
2013-07-07 21:18:36 -04:00
Nicolas B. Pierron
357fed3c71
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
2013-07-07 16:02:58 -07:00
Nicolas B. Pierron
a0ecacf230
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
2013-07-09 13:47:15 -07:00
Ryan VanderMeulen
ca281f1634
Merge birch to inbound.
2013-07-02 10:19:45 -04:00
Michael Wu
3052c325b5
Bug 889192 - Call blank instead of SetEnabled for initial display power up, r=vlad
2013-07-01 23:34:11 -04:00
Peter Chang
9e0bfb6aa6
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
6f8e460375
Bug 887627 - Avoid /sys/power/wait_for_fb_* on jb-gonk. r=mwu
2013-07-01 16:03:17 -07:00
Justin Lebar
6c46d0633d
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
75c400493b
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
17ea171b91
Merge birch to inbound.
2013-07-01 14:31:38 -04:00
Jim Mathies
1ce41adf5b
Bug 810399 - Widget bits. r=roc
2013-07-01 11:02:29 -05:00
Michael Wu
bdc453a197
Follow up to bug 885620 - Add comment
2013-06-21 00:16:37 -04:00
Michael Wu
922fde7896
Bug 885620 - Support FB fallback when HWC is not available, r=vlad
2013-06-21 00:04:53 -04:00
Peter Chang
e251e1288e
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
5f4621e3f4
Bug 881565 - nsAppShell fails to compile with JB Gonk, r=mwu
2013-06-11 16:47:44 -04:00
Sotaro Ikeda
fb0816d02d
Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc
2013-06-10 08:22:05 -04:00
Ryan VanderMeulen
c164c281c9
Backed out changeset 4c129a5676eb (bug 871485) for mochitest-1 failures.
2013-06-07 09:57:05 -04:00
Sotaro Ikeda
1a0a39bca4
Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc
2013-06-07 08:15:44 -04:00
Ed Morley
ba374cc04b
Merge latest green birch changeset and mozilla-central
2013-06-06 10:44:11 +01:00
Alexandre Lissy
5ff9e00e05
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
a6e67842ea
Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam
2013-06-05 22:42:02 -04:00
Tim Chien
58cbdd692d
Bug 878029 - Update GetDefaultScaleInternal() in Gonk to match AOSP spec. r=mwu
2013-06-03 08:30:28 -04:00
Nicholas Cameron
e856edd560
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
d6d1948115
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
994cfe0b6b
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
66fb5cfd84
Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow
2013-05-23 16:49:18 +02:00
Michael Wu
dd29609b36
Bug 870198 - Support basic display functions on gonk-JB, r=vlad
2013-05-07 23:58:22 -04:00
Michael Wu
49d488cbaa
Bug 867230 - Enable hwc by default when colorfill support is detected, r=dwilson
2013-05-09 17:40:46 -04:00
Ryan VanderMeulen
b64a45046f
Backed out changeset afc08927188a (bug 870113) for B2G mochitest-2 failures.
2013-05-09 12:52:16 -04:00
Michael Wu
53fcb076d2
Bug 870113 - Switch GetFontImpl to Feura Sans, r=jfkthame
2013-05-09 09:30:57 -04:00
Diego Wilson
061cccc21f
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
0f17607b7b
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
2436e29462
Bug 832383 - Ensure color fill rect stays inside screen bounds. r=mwu
2013-04-29 16:51:51 -07:00
Diego Wilson
b7d2110abf
Bug 832383 - Add support for complex visible regions to HwcComposer2D. r=mwu
2013-04-29 17:21:54 -07:00
Michael Wu
c2f4fca700
Bug 868150 - Add basic support for identifying and building for JB, r=glandium
2013-05-02 11:42:52 -04:00
Michael Wu
e0e25356ee
Bug 868124 - Switch to our own copy of PowerManager.h in libui, r=vlad
2013-05-02 15:09:06 -04:00
Michael Wu
e8a2e1a574
Bug 845182 - Implement GetDefaultScaleInternal() on Gonk, r=roc
2013-05-01 16:04:56 -04:00
Matt Woodrow
89f2a66432
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
943c3039a9
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
391cf268bb
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
2163c686b3
Bug 842927 part.9 Implement D3E KeyboardEvent.key on Gonk r=smaug+mwu
2013-04-24 12:49:48 +09:00
Masayuki Nakano
1dbdaeef56
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
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
James Zhang
c233c28467
Bug 852400 - revert bug 739417 to support touchscreen on tara, r=mwu
2013-04-14 13:45:47 +02:00
Bas Schouten
341383c413
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
4e2d905cd6
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
0180c76147
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
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
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
a59d40f143
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
ecad0ec815
Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg
2013-03-27 11:19:09 -04:00
Benoit Girard
fc10a7cfe4
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
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal
c2a9341a2e
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Michael Wu
c92e21bfa3
Bug 849515 - Boot failed with genlock error, r=vlad
2013-03-19 19:32:08 -04:00
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
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
664cf994b4
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
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Jim Mathies
c689c82355
Bug 839808 - Add support for omtc to winrt widget. r=bbondy
2013-03-04 12:32:20 -06:00
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
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
Chris Jones
dd49bef2b3
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
1ba26c01d5
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
620034f596
Bug 782473 - Add keymapping for end call key, r=jlebar
2012-08-14 21:01:02 -04:00
Matt Woodrow
ba2613ee6d
Bug 782413: Only paint widgets that have a layer manager. r=cjones
2012-08-13 19:41:09 -07:00
Marshall Culpepper
377edabc34
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
5344af032d
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
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Jeff Muizelaar
aff7a0979e
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
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
Chris Jones
742da0502b
Bug 778057: Fix this type of crash bug forever. r=dRdR
2012-07-27 00:15:49 -07:00
Justin Lebar
a863832283
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
c8cbf37298
Back out d567f2581365 (bug 777514) because of build failure
2012-07-26 11:12:52 -07:00
Marshall Culpepper
d3feb6ef73
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
cbd13d8e9d
Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc
2012-07-24 12:01:09 -07:00
Ehsan Akhgari
7f141f6b63
Backout changeset 02627fecb3e2 (bug 776742) because of build bustage
2012-07-24 14:33:17 -04:00
Marshall Culpepper
1f3b680f83
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
fd9b625002
Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger
2012-07-23 01:19:08 -04:00
Ed Morley
310d675f10
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-20 14:32:04 +01:00
Gervase Markham
44a28dd9d7
Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0.
2012-07-20 10:10:44 +01:00
David Zbarsky
88371b030a
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Felipe Gomes
c521e7d51e
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
430f93c039
Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger
2012-07-19 04:57:50 -04:00
Chris Jones
cdf626c2e3
Back out bug 774139. r=bustage
2012-07-16 15:19:00 -07:00
Chris Jones
9104e5edc3
Bug 774139: Forward touch events across processes. r=felipe,smaug
2012-07-16 14:46:29 -07:00
Vivien Nicolas
d34f15b23a
Bug 773534 - Show briefly the typed character for <input type=password>. r=mwu
2012-07-15 01:05:54 +02:00
Nicolas Silva
049d5a6366
Bug 763234 - Use only one compositor thread with OMTC. r=cjones
2012-07-13 11:25:29 -04:00
Marshall Culpepper
58ffceb873
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
9c89649eae
Bug 770440 - Make sure we only initialize sGLContext/sFramebufferOpen once. r=cjones
2012-07-04 08:30:59 -04:00
Oleg Romashin
9de7212cbc
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
3a773623da
Bug 769584 - Disable b2g hardware back button on all devices. r=gal
2012-06-29 13:49:09 +02:00
Justin Lebar
a5ce138092
Bug 769585 - Fix vim modelines. DONTBUILD rs=mrbkap
2012-06-29 12:42:59 +02:00
Bonnie Surender
e360fa128a
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
Ed Morley
8316825675
Merge mozilla-central to mozilla-inbound
2012-06-26 19:08:17 +01:00
Cody Brocious
70796e4699
Bug 743612: Fix OMTC on gonk. r=cjones
2012-06-26 16:38:50 +02:00
Chris Jones
81e854f4f9
Backed out changeset a22ca1e05bb8
2012-06-26 16:48:28 +02:00
Cody Brocious
eb4e80e2b5
Bug 743612: Fix OMTC on gonk. r=cjones
2012-06-26 16:38:50 +02:00
Michael Wu
457f4c724b
Bug 768377 - Back out Bug 762153 due to regression on akami, r=cjones
2012-06-26 04:30:43 -07:00
Andreas Gal
5f722cbd78
Support 32-bit color depth in gonk widget backend (bug 767288, r=cjones).
2012-06-22 01:18:54 -07:00
Michael Wu
1686018fba
Bug 763849 - Uninitialised value use in nsWindow::Show(bool aState), r=cjones
2012-06-12 16:00:21 +08:00
Michael Wu
af95b87197
Bug 763771 - Uninitialised value use in TouchInputMapper::abortPointerUsage, r=cjones
2012-06-12 16:07:02 +08:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Jim Straus
a0da6ab3fd
Bug 740719 - Fix b2g-gonk shutdown hang. r=cjones
2012-06-09 17:07:18 -04:00
Michael Wu
204d397ea8
Bug 743631 - Use keyCode instead of scanCode and use a lookup table, r=cjones
2012-06-06 18:41:08 -04:00
Fabrice Desré
613c764d6a
Bug 762153 - Force input devices to not report hovering key [r=mwu]
2012-06-06 11:39:33 -07:00
George Wright
be17b5bb41
Bug 755869 - [14] Fix Gonk build by ensuring all Skia includes are used in NDK-mode. r=mwu
2012-05-25 12:29:56 -04:00
Cervantes Yu
7b55332c9a
Bug 747873 - Provide error information on input device not properly configured. r=mwu
2012-04-24 17:56:15 +08:00
Gregor Wagner
f6b33f82f2
Bug 758093 - Fix b2g debug build. r=fabrice
2012-05-23 20:43:17 -07:00
Chris Jones
49966d0c91
Bug 757758: Honor hardware screen rotation. r=mwu
2012-05-23 12:35:13 -07: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
Fabrice Desré
155f7e31cb
Bug 755903 - Map the hardware camera shutter button to a key event [r=mwu]
2012-05-16 14:52:44 -07:00
Cervantes Yu
911b96e029
Bug 743638: Implement orientation API backend in gonk. r=mwu
2012-04-20 19:43:25 +08:00
Chris Jones
aa366213e1
Bug 745145, part 3: Implement PuppetScreen* analogues to PuppetWidget. r=mwu sr=roc
2012-05-08 14:36:07 -07:00
Chris Jones
262dbf3946
Bug 745145, part 2: Implement the ScreenConfiguration hal for gonk. r=mounir
2012-05-08 14:36:07 -07:00
Chris Jones
87966cbfb7
Bug 745145, part 0c: Only use nsIScreen on the main thread. r=mwu
2012-05-08 14:36:07 -07:00
Masayuki Nakano
b030053703
Bug 166240 part.7 Add support KeyboardEvent.location on Gonk r=smaug
2012-05-03 17:35:02 +09:00
Gene Lian
eee7aaa762
Bug 743064: Shutdown FramebufferWatcher thread gracefully by using it as a pthread. r=cjones a=b2g-only
2012-04-26 16:46:52 +08:00
Kan-Ru Chen
d3400d40e1
Bug 745077 - Reconfigure InputReader on screen rotation. r=mwu a=b2g-only
2012-04-25 11:59:01 +08: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
David Rajchenbach-Teller
457f40baba
Bug 728171 - Use Scoped.h throughout the code. r=cjones
2012-04-12 12:21:24 +02:00
Richard Newman
a89cec83c5
Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage
2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
5a08b70435
Bug 728171 - Use Scoped.h throughout the code. r=cjones
2012-04-11 18:59:10 +02:00
Michael Wu
7b61d44292
Bug 743907 - Remove use of Message, pending-r=cjones
2012-04-11 11:43:37 +08:00
Michael Wu
9da543e42f
Bug 743907 - Remove use of WeakMessageHandler/MessageHandler, pending-r=cjones
2012-04-11 10:59:29 +08:00
Michael Wu
95dd4626ac
Bug 743907 - Add cursor mapper support back to libui, r=cjones
2012-04-11 09:49:49 +08:00
Michael Wu
42dba73a13
Bug 741038 - Dumb down mt touchscreen detection, r=cjones
2012-04-06 03:01:07 -07:00
Cody Brocious
aec99b0748
Bug 741837 - Hook up OMTC for Gonk [r=gal]
2012-04-05 09:15:19 -07:00
Kan-Ru Chen
1766989d7b
Bug 707589 - [Gonk] When screen is enabled/disabled, send visibility change events to windows [r=mwu]
2012-04-04 23:03:00 -07:00
Michael Wu
c25f28e60f
Bug 739417 - InputReader doesn't send motion up events, r=cjones NPOTB DONTBUILD
2012-03-26 16:48:16 -07:00
Michael Wu
d470df6062
Bug 739139 - Fix build of nsAppShell.cpp on gonk-gb, irc-r=cjones
2012-03-25 17:12:29 -07:00
Michael Wu ext:(%20%28and%20others%29)
274a223d47
Bug 737199, part 2: Port Gonk nsAppShell to the ICS InputReader. r=cjones,gal pending-r?mwu (npotb)
2012-03-25 03:06:02 -07:00