Ehsan Akhgari
|
1ab9c7bcb4
|
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])
|
2013-07-18 13:59:53 -04:00 |
|
Masayuki Nakano
|
8cc05cbf97
|
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 |
|
Jeff Walden
|
84c301f937
|
Bug 891177 - Implement mozilla/Vector.h, and make js/Vector.h implement js::Vector using mozilla::Vector's implementation of the functionality. r=terrence
|
2013-07-09 16:33:29 -07:00 |
|
David Zbarsky
|
1a2def0d47
|
Fix an initializer list warning, no bug
|
2013-07-11 13:04:17 -04:00 |
|
Sotaro Ikeda
|
03215a1026
|
Bug 881565 - nsAppShell fails to compile with JB Gonk, r=mwu
|
2013-06-11 16:47:44 -04:00 |
|
Sotaro Ikeda
|
fd8d9a68cd
|
Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc
|
2013-06-10 08:22:05 -04:00 |
|
Ryan VanderMeulen
|
19f19ff152
|
Backed out changeset 4c129a5676eb (bug 871485) for mochitest-1 failures.
|
2013-06-07 09:57:05 -04:00 |
|
Sotaro Ikeda
|
ca500d17fb
|
Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc
|
2013-06-07 08:15:44 -04:00 |
|
Masayuki Nakano
|
ba7f1788d2
|
Bug 842927 part.9 Implement D3E KeyboardEvent.key on Gonk r=smaug+mwu
|
2013-04-24 12:49:48 +09:00 |
|
David Zbarsky
|
d5539bb86d
|
Bug 856962: Move Touch to its own file r=Ms2ger
|
2013-04-05 04:49:00 -04:00 |
|
Benoit Girard
|
f4b3710284
|
Bug 851611 - Part 3: Rename headers. r=jrmuizel
|
2013-03-18 15:25:50 +01:00 |
|
Benoit Girard
|
4146042cfd
|
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
|
2013-03-16 00:47:02 -04:00 |
|
Ed Morley
|
90c9bf415e
|
Backed out changeset c75481a07302 (bug 851611)
|
2013-03-18 14:10:35 +00:00 |
|
Ed Morley
|
627fcd7895
|
Backed out changeset d195190adc48 (bug 851611)
|
2013-03-18 14:10:30 +00:00 |
|
Benoit Girard
|
0b880319f3
|
Bug 851611 - Part 3: Rename headers. r=jrmuizel
|
2013-03-18 14:41:02 +01:00 |
|
Benoit Girard
|
6d0dfa5b89
|
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
|
2013-03-16 00:47:02 -04:00 |
|
Matt Brubeck
|
baf29ca32c
|
Bug 833663 - Set MOZ_SOURCE_TOUCH for simulated mouse events in Gonk [r=cjones]
|
2013-01-24 06:53:39 -08:00 |
|
Masayuki Nakano
|
8a891a45ec
|
Bug 822866 Make mozilla::widget::BaseEventFlags which is a POD struct for VC r=smaug
|
2012-12-28 23:13:18 +09:00 |
|
Masayuki Nakano
|
12512d13bd
|
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
|
9722fe8c92
|
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 |
|
Michael Wu
|
261e51aeba
|
Bug 809665 - Boot animation support for B2G, r=cjones,joe
|
2012-11-28 13:43:19 -05:00 |
|
Dave Hylands
|
9381a3be25
|
Bug 814549 - Fix OOP app segfault when exiting the app. r=cjones
|
2012-11-27 19:07:19 -08:00 |
|
Michael Wu
|
12637aafbf
|
Backed out changeset d12d63253125 (bug 809665) for red
|
2012-11-19 19:54:33 -06:00 |
|
Michael Wu
|
653341f15f
|
Bug 809665 - Boot animation support for B2G, r=cjones
|
2012-11-09 12:08:36 -08:00 |
|
Justin Lebar
|
241107747b
|
Bug 771195 - Fire memory pressure events on Gonk. r=dhylands
|
2012-10-31 13:29:14 -04:00 |
|
Chris Jones
|
8a5802ce73
|
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 |
|
Michael Wu
|
3e3a211658
|
Bug 781039 - Mouse input support for gonk, r=cjones
|
2012-08-24 14:06:19 -04:00 |
|
Ehsan Akhgari
|
243c878d26
|
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 |
|
Justin Lebar
|
fbea450b53
|
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
|
2012-08-18 09:55:59 -04:00 |
|
Marshall Culpepper
|
337cda5840
|
Bug 777514: Wake the EventHub when nsAppShell is released, allowing the b2g process to exit immediately. r=mwu
|
2012-08-08 14:11:04 -05:00 |
|
Jeff Muizelaar
|
c4034b3b8c
|
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 |
|
Matt Brubeck
|
fa2b099d53
|
Back out d567f2581365 (bug 777514) because of build failure
|
2012-07-26 11:12:52 -07:00 |
|
Marshall Culpepper
|
9c9f555f66
|
Bug 777514: Wake the EventHub when nsAppShell is released, allowing the b2g process to exit immediately. r=mwu
|
2012-07-26 12:52:39 -05:00 |
|
Ed Morley
|
5010287c8d
|
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
|
2012-07-20 14:32:04 +01:00 |
|
Gervase Markham
|
eae6a044f6
|
Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0.
|
2012-07-20 10:10:44 +01:00 |
|
Felipe Gomes
|
1dbfb122b9
|
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 |
|
Chris Jones
|
28fea88373
|
Back out bug 774139. r=bustage
|
2012-07-16 15:19:00 -07:00 |
|
Chris Jones
|
c1d5a11197
|
Bug 774139: Forward touch events across processes. r=felipe,smaug
|
2012-07-16 14:46:29 -07:00 |
|
Ryan VanderMeulen
|
4c71ae6d9a
|
Revert c39d36167b99 due to a horribly munged backout.
|
2012-06-10 19:44:50 -04:00 |
|
Ryan VanderMeulen
|
202bd53a55
|
Backout the bug 754202 backout due to orange.
|
2012-06-10 19:37:47 -04:00 |
|
Jim Straus
|
5f07c7c663
|
Bug 740719 - Fix b2g-gonk shutdown hang. r=cjones
|
2012-06-09 17:07:18 -04:00 |
|
Michael Wu
|
10ad15c005
|
Bug 743631 - Use keyCode instead of scanCode and use a lookup table, r=cjones
|
2012-06-06 18:41:08 -04:00 |
|
Cervantes Yu
|
da2a17dac6
|
Bug 747873 - Provide error information on input device not properly configured. r=mwu
|
2012-04-24 17:56:15 +08:00 |
|
Gervase Markham
|
cb6a072c2a
|
Bug 716478 - update licence to MPL 2.
|
2012-05-21 12:12:37 +01:00 |
|
Fabrice Desré
|
d34bf37d4c
|
Bug 755903 - Map the hardware camera shutter button to a key event [r=mwu]
|
2012-05-16 14:52:44 -07:00 |
|
Cervantes Yu
|
bf8b24b0ff
|
Bug 743638: Implement orientation API backend in gonk. r=mwu
|
2012-04-20 19:43:25 +08:00 |
|
Chris Jones
|
673709a48b
|
Bug 745145, part 2: Implement the ScreenConfiguration hal for gonk. r=mounir
|
2012-05-08 14:36:07 -07:00 |
|
Chris Jones
|
04e9e917d3
|
Bug 745145, part 0c: Only use nsIScreen on the main thread. r=mwu
|
2012-05-08 14:36:07 -07:00 |
|
Masayuki Nakano
|
f31c541329
|
Bug 166240 part.7 Add support KeyboardEvent.location on Gonk r=smaug
|
2012-05-03 17:35:02 +09:00 |
|
Kan-Ru Chen
|
7cb8ec6002
|
Bug 745077 - Reconfigure InputReader on screen rotation. r=mwu a=b2g-only
|
2012-04-25 11:59:01 +08:00 |
|