Commit Graph

549 Commits

Author SHA1 Message Date
David Zbarsky
c8be027e03 Bug 952977: Remove Gonk's sRotationMatrix r=mwu 2013-12-26 13:06:55 -05:00
Diego Wilson
c2ae3452cf Bug 950800 - Honor Composer2D toggling on the fly. r=nrc
Now you can toggle the hardware composer on/off at any point without restarting B2G.
2013-12-17 09:01:39 -08:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Sushil Chauhan
3409dd3710 Bug 947805 - If hwcomposer is already prepared, reset with null hwc set. r=dwilson 2013-12-11 12:37:25 -08:00
Gregory Szorc
e413f97acc Bug 939367 - Allow Sphinx docs to come from all over the tree; r=glandium
--HG--
extra : rebase_source : 1c1a444a78c0dfce110db3890e29543eeb67f3aa
2013-11-20 12:37:22 -08:00
Dale Harvey
7870fd7c06 Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats 2013-12-12 00:39:06 +00:00
Masayuki Nakano
857314f6bf Bug 912858 part.6-2 Implement KeyboardEvent.key for printable keys on Gonk r=mwu+smaug 2013-12-11 01:14:55 +09:00
Masayuki Nakano
128f5d31f5 Bug 912858 part.6-1 Create KeyEventDispatcher in gonk/nsAppShell.cpp for easier maintenance r=mwu 2013-12-11 01:14:55 +09:00
Birunthan Mohanathas
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Ryan VanderMeulen
b2f54fc850 Merge b2g-inbound to m-c. 2013-12-05 17:53:41 -05:00
Mike Shal
94d19c46f2 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Steven Lee
b5885ad9e4 Bug 926746 - Part 1: Merge fakeperm into B2G. r=mwu 2013-12-05 09:29:07 -05:00
Chris Lord
32d6577e33 Bug 945277 - Align sub-frame display ports to tile boundaries. r=botond
Bug 907743 only addressed the root frame, this patch updates APZCCallbackHelper
to make the same alterations on sub-frame metrics.
2013-12-05 13:12:12 +00:00
Michael Wu
58c7e92f86 Bug 945025 - Fix pointer bounds calculation in GeckoPointerController, r=m1 2013-12-03 16:44:01 -05:00
Sushil Chauhan
c0c50ce731 Bug 940851 - Initialize acquire & release-fence fds of HWC_BACKGROUND layer. r=dwilson 2013-12-02 16:58:39 -08:00
Ryan VanderMeulen
e24908d616 Backed out changesets 720a36d92d37 and c24da899172a (bug 926746) for frequent timeouts/hangs in test_dataChannel_basicAudio.html. 2013-12-02 14:05:19 -05:00
Sushil Chauhan
de7dd419b8 Bug 944207 - Reset the number of HWC layers on failures before HWC prepare. r=dwilson 2013-11-29 11:39:39 -08:00
Sushil Chauhan
32a4aedb46 Bug 944069 - Remove unnecessary wait during GPU Composition. r=dwilson 2013-11-27 17:38:42 -08:00
Steven Lee
88aa775be4 Bug 926746 - Part 1: Merge fakeperm into b2g. r=mwu 2013-12-02 10:21:07 -05:00
Ms2ger
39b966c6c8 Bug 937224 - Part b: Move LOCAL_INCLUDES to moz.build in widget/; r=mshal 2013-11-28 15:17:25 +01:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Nicolas Silva
532313927f Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Matt Brubeck
72385391d3 Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond] 2013-11-25 20:30:26 -08:00
Botond Ballo
133a5b6283 Bug 912657 - Add support for APZC in the B2G parent process (without turning it on everywhere). r=ajones 2013-09-16 17:45:31 -04:00
Sotaro Ikeda
a17c7b7508 Bug 929973 - Implement android::IGraphicBufferAlloc in B2G. r=mwu, r=mikeh 2013-11-21 16:03:27 -05:00
Mason Chang
76016117aa Bug 884706 - Update getDefaultScale. r=mwu 2013-11-21 16:03:24 -05:00
Vincent Liu
2de95fd86e Bug 939647 - Launch Video app causes crash based on Android JB (4.2.2). r=sotaro, r=mwu 2013-11-18 13:27:18 +08:00
Michael Wu
9dc4fcfb61 Bug 938383 - Improve charCode handling in Gonk key events, r=masayuki 2013-11-19 13:14:41 -05:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 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
5b3095b705 Bug 939656 - Fix the GfxInfoBase::OperatingSystemVersion overrides; r=bjacob 2013-11-18 08:38:17 -05:00
Wes Kocher
6ebb2651ba Merge m-c to b2g-inbound 2013-11-11 16:19:56 -08:00
Michael Wu
38931e9196 Bug 890186 - Assign charCodes on key events, r=fabrice 2013-11-11 18:19:04 -05:00
Birunthan Mohanathas
58a91e67d8 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Masayuki Nakano
0c8f5605d8 Bug 600117 part.5 Implement KeyboardEvent.repeat on Gonk r=mwu 2013-11-07 20:17:33 +09:00
Mike Hommey
d2778baa7e 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
86db9223fa 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
89d161b5c1 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
a200d5d674 Bug 784739 - Switch from NULL to nullptr in widget/; r=ehsan 2013-10-28 10:05:51 -04:00
Cykesiopka
a3710e5c11 Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
4c98f61956 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Peter Chang
4290a36c9a Bug 922510 - Extend GonkNativeWindow to support android JB 4.2.2, r=sotaro,gps 2013-10-18 10:42:43 +08:00
Sushil Chauhan
ee28fb74fe 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
8df8a608bb Bug 915729 - Add mixed HWC and GPU Composition. r=ncameron, r=dwilson 2013-10-15 14:01:42 -07:00
Sushil Chauhan
901afbe792 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
0679b3bf04 merge mozilla-inbound to mozilla-central 2013-10-09 10:09:07 +02:00
Ryan VanderMeulen
7965279d18 Backed out changeset e02e1b107db7 (bug 919676) for causing bug 924129. 2013-10-08 09:39:07 -04:00
Sushil Chauhan
dd40fe57b6 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
5617597df4 Bug 921369 - GonkDisplay takes care of Framebuffer supporting only BRGA format. r=mwu 2013-10-03 10:26:30 +08:00
Ms2ger
7ffcd856c2 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
cefa43a749 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
e46624e0ca Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
d9fe18d02f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Ehsan Akhgari
b6bef348c1 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
1ccd49e4ab 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)
677706cd20 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)
d6da7b763f 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
f598c4312d Bug 908058 - Add orientation keyword 'default' to express normal orientation. r=mounir, r=blassey 2013-09-30 10:40:41 -04:00
Diego Wilson
c3fc11ec3f 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
b095d63d5d 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
99ed9cf061 Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
d37d273b83 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
f827f4667b Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
8d69a172c1 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Wes Kocher
14feace5a6 Merge b2g-i to m-c 2013-09-24 19:58:09 -07:00
Michael Wu
018725e24b Bug 914776 - Fix touch event coordinates when rotated, r=m1 2013-09-24 14:58:58 -07:00
Michael Wu
e0bf783168 Bug 919845 - Really make Fira Sans the default font, r=jfkthame 2013-09-24 10:57:25 -07:00
Benoit Jacob
c1d7f88886 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
7931d10a49 Bug 914554 - Remove a redundant GraphicBufferAlloc.cpp from B2G. r=mwu 2013-09-18 10:04:03 +08:00
Yuan Xulei
b22d907499 Bug 915079 - Composition text should be underlined on Firefox OS devices. r=masayuki 2013-09-22 17:44:26 +08:00
Masayuki Nakano
2a465d3e36 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
63e33f8de5 Bug 915077 - Change the debug log level of HWC, r=nrc 2013-09-18 10:10:35 +08:00
Diego Wilson
090e7adacb Bug 911391 - Add Jellybean support to HwcComposer2D. r=mwu 2013-09-11 15:10:33 +02:00
Diego Wilson
d39bfff13d 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
898be5ebfb 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
823c54ecaa Bug 915487 - Error handling for GonkDisplayJB. r=mwu 2013-09-12 10:07:53 +08:00
Vincent Lin
3ba6a3b689 Bug 914544 - Update GonkDisplayJB to support JB MR1. r=mwu 2013-09-12 10:24:47 +08:00
Michael Wu
11f7c5a17e Bug 870113 - Switch GetFontImpl to Fira Sans, r=jfkthame 2013-09-12 18:17:11 +02:00
Sotaro Ikeda
6d1f3b58c5 Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:26 +02:00
Sotaro Ikeda
c8e95fd332 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
bd8899eab6 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Michael Wu
4027e72110 Bug 908797 - Update libui to the latest input code from JB MR2, r=m1 2013-08-26 17:59:18 -04:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Jacob
590564045c 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
805876c713 Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Diego Wilson
2664d2c84d Bug 896765 - Move the common utilities from HwcComposer2D to HwcUtils. r=ncameron 2013-08-29 08:17:59 -07:00
Diego Wilson
98a3c6801b 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
03d632d917 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Ed Morley
cf9819b5d1 Merge mozilla-central and inbound 2013-08-28 16:21:25 +01:00
Ed Morley
470c8ac4f9 Merge latest green b2g-inbound changeset and mozilla-central 2013-08-28 12:22:00 +01:00
Boris Zbarsky
a6ce34f2cf 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
d7e2aadfa7 Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger 2013-08-28 00:14:57 -04:00
Tapas Kundu
0bc582a07c Bug 788975 - Orientation Observer uses accelerometer sensor. r=mwu 2013-08-27 20:10:57 -07:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Benoit Girard
a45b40f0b8 Bug 908449 - Implement GfxInfo::GetFeatureStatusImpl for gonk. r=bjacob 2013-08-27 19:26:46 -04:00
Ms2ger
c3e345584c Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Benoit Jacob
93c2d104ef Bug 900201 - Implement GfxInfo on gonk - r=ehsan 2013-08-12 23:55:28 +02:00
Ryan VanderMeulen
3675ef846a Merge m-c to inbound on a CLOSED TREE. 2013-08-19 17:05:12 -04:00
Sotaro Ikeda
0b579e74c0 Bug 905304 - Call compositionComplete(). r=mwu 2013-08-19 08:43:16 -04:00
David Zbarsky
0f565540a1 Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Diego Wilson
a007bee68e Bug 903562 - Honor horizontal and vertical reflection. r=ncameron, r=vliu 2013-08-14 12:26:44 -07:00
Sotaro Ikeda
3a446332af Bug 903174 - Move GonkNativeWindow to /widget/gonk/nativewindow. r=vlad 2013-08-13 12:58:38 -04:00
Trevor Saunders
7da524d402 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
1ad96e4cbf 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
2ebd22d781 Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
Michael Wu
4b8d804c93 Bug 898897 - Update GonkDisplayJB to support JB MR2, r=vlad 2013-07-30 13:36:53 -04:00
Ryan VanderMeulen
6526e75dbb Merge m-c to birch. 2013-07-30 13:11:10 -04:00
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