Commit Graph

105 Commits

Author SHA1 Message Date
Nathan Froyd
16e8b7f364 Bug 906088 - part 5 - send preference requests to JS through JNI and XPConnect rather than JSON; r=blassey,mfinkle 2013-08-16 12:18:43 -04:00
Nathan Froyd
6f23536207 Bug 905759 - part 2 - add Telemetry-specific GeckoEvent and related machinery; r=blassey 2013-08-15 15:03:47 -04:00
Nathan Froyd
ec90085226 Bug 904579 - convert some nsRefPtrs to StaticRefPtrs in widget/android/; r=blassey 2013-08-13 09:32:03 -04:00
Ms2ger
ce73fd0bad Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Patrick McManus
84ca191bc5 bug 888268 - wifi tickler for mitigating 802.11 psp mode on android r=dougt 2013-07-11 11:39:36 -04:00
Brad Lassey
68c0590258 bug 884792 - crash in nsXPCWrappedJS::Release, removeObserver being called off main thread r=kats 2013-06-19 13:55:35 -04:00
Brad Lassey
21f2493d5e bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::NotifyObservers r=kats 2013-06-17 17:09:09 -04:00
Brad Lassey
f12392615d bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::CallObservers r=snorp 2013-06-15 17:40:27 -04:00
Chris Peterson
7afa70c90a Bug 877503 - Add MOZ_FINAL to some Android classes to fix gcc 4.7 warnings-as-errors. blanket-r=ehsan rs=tbsaunde 2013-05-30 11:26:02 -07:00
Kartikaya Gupta
30b0f9b26e Bug 860940 - Add static factory-style methods to create AndroidGeckoEvent instances in widget code. r=cpeterson 2013-04-17 17:39:12 -04:00
Kartikaya Gupta
1fc0d9bfd9 Bug 853366 - Clean up activity/app lifecycle events. r=mfinkle,cpeterson 2013-03-26 14:05:10 -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
Kartikaya Gupta
2e019f9c8f Bug 847839 - Remove some remnants of XUL fennec from the android widget codebase. r=cpeterson 2013-03-21 16:19:49 +01:00
Chris Lord
eb2dba59d4 Bug 852526 - Make sure the compositor starts unpaused and with a size. r=kats
This changes compositor creation so that we can specify an initial size and
makes sure the local variable in nsWindow reflects that the compositor starts
unpaused.
2013-03-20 22:45:07 +00: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
Nathan Froyd
b256e82faa Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg 2013-03-01 15:11:21 -05:00
Kartikaya Gupta
e8238c7e73 Bug 846774 - Replace the sync event with an ack flag on events. r=cpeterson 2013-03-10 22:43:30 +00:00
Chris Peterson
25de545a1c Bug 834611 - Part 1: Fix Android widget warnings. r=kats 2013-01-25 11:33:40 -08:00
Brian Nicholson
b9bc25ed27 Bug 819953 - Continue to process queue on thumbnail capturing failures. r=kats 2013-01-23 09:18:05 -08:00
Nicholas Nethercote
f05eba28bf Bug 825150 - Remove const_casts by adding some const-ness to nsICommandLineRunner.init(). r=karlt, sr=bsmedberg. 2013-01-03 13:52:32 -08:00
Kartikaya Gupta
a0fc935672 Bug 817134 - Remove the low-res screenshotting code. r=blassey 2012-12-15 10:43:52 -05:00
Boris Zbarsky
fb26630117 Bug 815671 part 6. Fixes to widget code to not copy arrays implicitly. r=jlebar 2012-11-29 11:14:14 -05:00
Marco Bonardo
8b9e87dda2 Bug 799609 - Disable Places in B2G - Part 4 - Disable Places in Firefox for Android.
Move Android history implementation to the mobile folder, use the newly
exposed NotifyVisited API, disable Places.
r=blassey
2012-11-09 10:55:59 +01:00
Anthony Jones
f6ca4e2b75 Bug 772345 - Fix Android segfault on shutdown. r=blassey 2012-08-28 16:54:24 -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
Chris Jones
35b7d88ba4 Bug 776835: Check process capabilities in hal. r=blassey,jlebar 2012-08-16 12:34:53 -07:00
Wes Johnston
16ba17afaf Bug 757680 - Add a pref to turn off event coalescing. r=kats 2012-08-09 12:54:36 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Kartikaya Gupta
3dc81ebcd9 Bug 772993 - Fix compiler warnings for widget/android. r=cpeterson 2012-07-12 12:52:52 -04:00
Jeff Muizelaar
5f70f009a4 Bug 764188 - Expose a global frame tree generation number. r=dbaron
This generation number will be incremented every time that the frame
tree for a presshell changes. Callers need to deal with the case where
this value overflows. We use this to avoid a bunch of Android
screenshotting.
2012-07-04 11:42:29 -04:00
Brad Lassey
c8cec3a911 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones 2012-06-14 09:08:51 -07:00
James Willcox
fdea80e445 Bug 759799 - Hook up Hal WakeLocks on Android r=blassey 2012-06-06 22:39:01 -04:00
Brad Lassey
a7fbcda140 backing out bug 755070 for potential talos panning regression 2012-06-05 22:55:18 -04:00
Brad Lassey
750134b2e1 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats 2012-06-04 11:56:31 -04:00
Brad Lassey
370abc9c36 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats 2012-06-04 11:56:30 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2b55dddfca Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar 2012-05-18 13:30:49 -04:00
Doug Turner
db35f1706b Bug 752674 - device proximity needs y and z values. r=blassey 2012-05-08 20:56:54 -07:00
Chris Jones
08bc295eab Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir 2012-05-08 14:36:07 -07:00
Brian Nicholson
b3f769bbe1 Bug 750846 - Move thumbnail size logic to Gecko. r=blassey 2012-05-03 16:29:59 -07:00
Doug Turner
ce1c0a9cc8 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Brian Nicholson
7e7f2f650d Backout 7e237e96018f for black area in thumbnails. r=backout 2012-05-03 19:06:08 -07:00
Brian Nicholson
07bb942322 Bug 750846 - Move thumbnail size logic to Gecko. r=blassey 2012-05-03 16:29:59 -07:00
Chris Lord
dcd3986f0b Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats
ScreenshotLayer overrides SingleTileLayer's draw function to simplify the
drawing process. Unfortunately, this doesn't respect the layer mask, and can
cause the layer to appear incorrectly stretched.

Change the screenshot process so that whole-page screenshots pass parameters
that are pre-scaled (to avoid mismatches when the viewport changes), and set
the page size on the ScreenShotLayer so it draws in the correct place.

This also alters the masking slightly to avoid visible seams around masks in
the centre of the page, and to avoid unnnecessary drawing at the edges of the
page.

This change fixes the frame-rate issues with the screenshot layer, as it
removes unnecessary over-draw.
2012-04-26 13:45:31 -04:00
Brad Lassey
d1c25e9164 bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats 2012-04-24 15:13:36 -04:00
Jeff Muizelaar
177ab1c229 Backout c048eb7cc728 for checkerboarding regresions
http://graphs.mozilla.org/graph.html#tests=[[175,63,20]]&sel=none&displayrange=7&datatype=running
http://graphs.mozilla.org/graph.html#tests=[[201,63,20]]&sel=none&displayrange=7&datatype=running
2012-04-20 00:50:07 -04:00