Doug Sherk
8837bb44bf
Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats
2014-02-07 18:13:50 +01:00
Kartikaya Gupta
aefdf36549
Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm
2014-02-05 17:43:20 -05:00
Jim Chen
bb17876642
Bug 963242 - Only save JNI env in TLS when first attaching; r=kats
2014-01-28 18:32:28 -06:00
James Willcox
6b6890a2c5
Bug 963242 - Add null checks in AndroidBridge::JavaThreadDetachFunc() r=kats
2014-01-24 11:04:15 -06:00
Benoit Jacob
844232d97c
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Jim Chen
c41d2e45c6
Bug 959237 - Add AndroidBridge::HasEnv checks; r=blassey
...
For certain tests, the AndroidBridge is not initialized, but some GeckoAppShell functions are still called indirectly. For now, this patch adds checks to skip these calls if there's no AndroidBridge. However, in the future, most of the affected code should be refactored to not require these checks.
2014-01-17 23:32:24 -06:00
Jim Chen
d1f525e06a
Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
...
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Benoit Jacob
23af944896
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Jim Chen
2fd640ffce
Bug 945327 - Improve local ref management in AndroidBridge; r=blassey
2014-01-06 11:54:22 -06:00
Birunthan Mohanathas
49ae16d483
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
2014-01-06 10:06:04 -05:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Dale Harvey
4a63e3b6a6
Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats
2013-12-12 00:39:06 +00:00
Birunthan Mohanathas
c04d0ff563
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Chris Kitching
a7670921a2
Bug 709230 - Part 5: activate Proguard. r=gbrown,rnewman
2013-11-18 17:30:00 -08:00
Chris Lord
0231f47b50
Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
...
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.
This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Matt Brubeck
90a1b4d7ec
Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond]
2013-11-25 20:30:26 -08:00
Chris Kitching
69fdb42135
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Botond Ballo
74712328fc
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Benoit Jacob
bece47d87f
Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats
2013-11-15 11:28:59 -05:00
Benoit Jacob
dee2852cbd
Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel
2013-11-15 11:28:43 -05:00
James Willcox
edd21de85b
Bug 934514 - Don't access non-existant field on Android 4.4 r=blassey
2013-11-04 12:07:03 -06:00
Matt Woodrow
cf79329c9f
Bug 922942 - Use Moz2D for android snapshots. r=roc
2013-10-15 16:23:20 +13:00
Birunthan Mohanathas
c4438f4272
Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan
2013-10-10 16:42:52 -04:00
Ehsan Akhgari
659d9b1745
Bug 924180 - Do not assume that PRUnichar and jchar are the same type; r=blassey
2013-10-08 14:00:40 -04:00
Gian-Carlo Pascutto
d7d4699080
Bug 918372 - Allocate a single GlobalRef for the Android Context. r=blassey
2013-09-25 08:06:21 +02:00
Benoit Jacob
f6f57bbbb4
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
Mina Almasry
44fe7870d8
Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc
2013-09-17 20:45:19 -04:00
Chris Kitching
a6475ccfb3
Bug 794981 - Part 7: Storing a void* for mThread instead of a pthread_t is both nonportable and dangerous. r=kats
2013-09-09 08:57:37 -04:00
Chris Kitching
9d293dac29
Bug 794981 - Part 6: Refactor AndroidBridge to make use of generated code. r=kats
2013-09-09 08:57:37 -04:00
Chris Kitching
69f2f80f9a
Bug 794981 - Part 4: Consistently pass nsAString into the JNI methods, instead of the veritable smorgasbord of string types previously used. r=kats
2013-09-09 08:57:36 -04:00
Chris Kitching
197119cc0f
Bug 794981 - Part 3: Make use of the existing macros to simplify JNI code in all applicable places, and relocate them. r=kats
2013-09-09 08:57:36 -04:00
Chris Kitching
0247b949ec
Bug 794981 - Part 2: Don't pass GeckoAppShell class to Init as a parameter - find it in the usual way. r=kats
2013-09-09 08:57:36 -04:00
Wes Johnston
a12670c4db
Bug 896350 - Use the event queue when adding notification observers. r=blassey
2013-09-05 12:32:04 -07:00
Gene Lian
e73d708b4a
Bug 903403 - [sms][mms] Make getSegmentInfoForText() Asynchronous to Improve Typing Performance. r=vicamo, sr=mounir
2013-08-09 21:25:53 +08:00
Kartikaya Gupta
a1370847bc
Bug 885023 - Follow-up to fix build bustage on Android. r=me
2013-08-26 10:34:56 -04:00
Kartikaya Gupta
0e00e09957
Bug 902888 - Fix coordinate system mismatch with pre-Honeycomb plugins on Android. r=snorp
...
The plugin code was returning a rect in LayoutDevicePixels whereas Java
was treating it as a CSS-pixel rect. This patch makes the types more
explicit and adds a conversion in AndroidBridge to convert from the
LayoutDevicePixels to CSSPixel rects.
2013-08-13 11:49:21 -04:00
Nathan Froyd
1142739d09
Bug 903466 - eliminate static constructors in widget/android/; r=blassey
2013-08-12 10:58:36 -04:00
Phil Ringnalda
8b050c5449
Back out 75fb08918611 (bug 903466) for Android build bustage
...
CLOSED TREE
2013-08-09 18:52:11 -07:00
Nathan Froyd
6b2ceb6d57
Bug 903466 - eliminate static constructors in widget/android/; r=blassey
2013-08-09 11:21:51 -04:00
Wes Johnston
287328f432
Bug 896350 - Don't close notifications unless explicitly requested to. r=blassey
2013-08-02 11:04:49 -07:00
Kartikaya Gupta
08b000c629
Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa
2013-07-30 14:03:42 -04:00
Chris Kitching
81084456cc
Bug 896822 - Convert thumbnails to RGBA before sending to Java. r=roc, r=kats
2013-07-24 09:18:05 -04:00
Joshua Cranmer
0d541d1d95
Bug 884061 - Part 3x: Use NS_DECL_THREADSAFE_ISUPPORTS in widget/, r=jimm
2013-07-18 21:24:15 -05:00
Chris Lord
408b2db986
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01: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
Chris Lord
c3aabd3407
Bug 803299 - Enable 32-bit colour on Android. r=kats
2013-07-04 14:53:25 +01:00
Kartikaya Gupta
5c55725ac7
Bug 885030 - Move CalculateResolution from APZC to FrameMetrics. r=kentuckyfriedtakahe
2013-06-26 09:54:14 -04:00
Kartikaya Gupta
78d2e15a33
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
325c01cc93
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
a917c8f667
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00