Commit Graph

897 Commits

Author SHA1 Message Date
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
Botond Ballo
b75d9dd1de Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
Chris Lord
62fe777b60 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
Wes Johnston
61a7e91438 Bug 942914 - Remove initializer from .h file. r=rbarker 2013-11-27 09:17:56 -08:00
Benoit Jacob
1d3a8d8fae Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats 2013-11-15 11:28:59 -05:00
Benoit Jacob
a5fd01d0a1 Bug 937204 - 4/3. Avoid stalling in xpcshell or anywhere we don't have a WindowCreator - r=ehsan 2013-11-15 11:28:47 -05:00
Benoit Jacob
5480ece61e Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel 2013-11-15 11:28:43 -05:00
Benoit Jacob
6f6ca8bbab Bug 937204 - 2/3. Consistently EnsureInitialized in all GfxInfo getters - r=jrmuizel 2013-11-15 11:28:42 -05:00
Jim Mathies
1979aaa5df Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats 2013-11-10 10:43:17 -06:00
Randell Jesup
52771d4abf Bug 932112: Rollup of changes previously applied to media/webrtc/trunk/webrtc rs=jesup
* * *
* * *
Add AndroidAudioManager to the moz.build files.
2013-11-07 20:07:47 -05:00
Masayuki Nakano
c04601249a Bug 600117 part.4 Implement KeyboardEvent.repeat on Android r=nchen 2013-11-07 20:17:33 +09:00
James Willcox
a07b99c048 Bug 934514 - Don't access non-existant field on Android 4.4 r=blassey 2013-11-04 12:07:03 -06:00
Tim Stullich
baaf4c4b13 Bug 722605 - AndroidGraphicBuffer whitelist uses linear search. r=snorp 2013-10-28 15:03:12 -05:00
James Willcox
681bbaf832 Backed out changeset d79efecfad97
--HG--
extra : rebase_source : 4bc0cb740f5a666fa70a6095d1bb05f9d2ef06f5
2013-10-28 14:31:44 -05:00
Tim Stullich
6b8295b38e Bug 722605 - AndroidGraphicBuffer whitelist uses linear search. r=snorp 2013-10-28 14:04:04 -05: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
Masayuki Nakano
15be48ff2e Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Wes Kocher
6559234e89 Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
381b632044 Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Masayuki Nakano
5e19b1e59b Bug 920425 part.19 Use mozilla::WidgetEvent::AsTextEvent() r=smaug 2013-10-18 15:10:24 +09:00
Ehsan Akhgari
4c70bce7c3 Bug 928041 - Remove some prtypes.h inclusions from widget/; r=roc 2013-10-18 00:11:58 -04:00
Kartikaya Gupta
df87dea38c Bug 924791 - Ensure hover event refpoints are converted from CSSPixels to LayoutDevicePixels. r=wesj 2013-10-15 17:11:39 -04:00
Matt Woodrow
e74644cd8e Bug 922942 - Use Moz2D for android snapshots. r=roc 2013-10-15 16:23:20 +13:00
Mina Almasry
eaf7fb5d88 Bug 698437 - Allow spatial navigation with directional controller. r=kats 2013-10-12 13:59:50 -04:00
Birunthan Mohanathas
235ca630a8 Bug 784739 - Switch from NULL to nullptr in widget/android/; r=ehsan 2013-10-10 16:42:52 -04:00
Ehsan Akhgari
a6f85f1b97 Bug 924180 - Do not assume that PRUnichar and jchar are the same type; r=blassey 2013-10-08 14:00:40 -04: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
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
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
Masayuki Nakano
512bc33b30 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
ebe48cadea Bug 920377 part.24 Get rid of nsSelectionEvent r=roc 2013-10-01 16:23:01 +09:00
Masayuki Nakano
597d5ac7d2 Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
10d848c578 Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
f3095ec496 Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
8f96a132b0 Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
1ccd49e4ab Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Ryan VanderMeulen
fb2d6dc1a4 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching
deac33421d Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats; DONTBUILD 2013-09-27 10:10:47 -04:00
Chris Kitching
b3fd693d20 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Chris Kitching
c397c6e8ec Bug 913985: Part 4 - Add new generated code to version control. r=kats 2013-09-27 10:10:09 -04:00
Kartikaya Gupta
7f22c5c405 Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
126d781bda Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats 2013-09-27 10:10:47 -04:00
Chris Kitching
96d931b9eb Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Chris Kitching
5478f9a877 Bug 913985: Part 4 - Add new generated code to version control. r=kats 2013-09-27 10:10:09 -04:00
Masayuki Nakano
f7bfa6a1db Bug 920377 part.14 Get rid of nsSimpleGestureEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
99ed9cf061 Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
feae1c147e Bug 920377 part.3 Get rid of nsCommandEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
64fa96e1ce Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc 2013-09-25 20:21:20 +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
Gian-Carlo Pascutto
4b6f20b8c6 Bug 918372 - Allocate a single GlobalRef for the Android Context. r=blassey 2013-09-25 08:06:21 +02:00
Benoit Jacob
6ac61cabdb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
1eebb52b07 Bug 913872 - Take nested enums out of gfxASurface - 2/3 : manual changes - r=jrmuizel 2013-09-24 16:45:14 -04: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
Benoit Jacob
610684a101 Bug 919219 - Trim gfxASurface more - r=jrmuizel 2013-09-24 16:45:13 -04:00
Ehsan Akhgari
b4cc06df88 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Benoit Girard
62e5d6c0fe Bug 918942 - Add label in DrawWindowOverlay to diagnose potential ANR dead locks. r=jmuizelaar 2013-09-23 09:33:31 -04:00
Benoit Jacob
f9813a5b18 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
508c0eaa0a Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
5bf87f575b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Mina Almasry
13448b790e Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Mina Almasry
5ef5c9ada3 Bug 890253 - Change widget/android/nsWindow.cpp GetDefaultScaleInternal() to use actual device DPI. r=mbrubeck, r=kats 2013-09-17 20:45:03 -04:00
Botond Ballo
293fafbc08 Bug 898478 - Have AsyncPanZoomControllers pass overscroll caused by panning on to their parents. r=kats 2013-08-20 19:00:57 -04:00
Nathan Froyd
53844a7710 Bug 906088 - part 5 - send preference requests to JS through JNI and XPConnect rather than JSON; r=blassey,mfinkle
Small fix to notifyPrefObservers to call getPreferences with the new argument style.
Carrying over r+.
2013-09-04 09:58:23 -04:00
Nathan Froyd
de56af2b75 Bug 906088 - part 3 - add Preferences events to AndroidGeckoEvent; r=blassey
This is just the C++ side of things; it's simpler to have this code split out as
a separate patch to review.
2013-09-04 09:58:08 -04:00
Nathan Froyd
5368cb8e9a Bug 906088 - part 2 - factor out reading an nsString from a Java string in AndroidJavaWrappers.cpp; r=blassey
We duplicate code in several places, and we're going to need this same code for reading
a String[].
2013-09-04 09:58:00 -04:00
Ryan VanderMeulen
6fec648cd7 Backed out 7 changesets (bug 906088) for robocop failures on a CLOSED TREE.
Backed out changeset c5b4781bd918 (bug 906088)
Backed out changeset a498d1641c16 (bug 906088)
Backed out changeset fcff9ef5cf7d (bug 906088)
Backed out changeset cf1603d47f6c (bug 906088)
Backed out changeset 8671264a5aaa (bug 906088)
Backed out changeset 01d6b977021f (bug 906088)
Backed out changeset 2910cc092c19 (bug 906088)
2013-09-11 14:45:12 -04:00
Wes Johnston
e1d86f639d Bug 903327 - Use device pixels per css pixel when calculating default font sizes. r=kats 2013-09-11 11:36:28 -07:00
Nathan Froyd
0afa5b015e Bug 906088 - part 5 - send preference requests to JS through JNI and XPConnect rather than JSON; r=blassey,mfinkle
Small fix to notifyPrefObservers to call getPreferences with the new argument style.
Carrying over r+.
2013-09-04 09:58:23 -04:00
Nathan Froyd
2a729a6009 Bug 906088 - part 3 - add Preferences events to AndroidGeckoEvent; r=blassey
This is just the C++ side of things; it's simpler to have this code split out as
a separate patch to review.
2013-09-04 09:58:08 -04:00
Nathan Froyd
d0f9009722 Bug 906088 - part 2 - factor out reading an nsString from a Java string in AndroidJavaWrappers.cpp; r=blassey
We duplicate code in several places, and we're going to need this same code for reading
a String[].
2013-09-04 09:58:00 -04:00
Chris Kitching
2660344c7a Bug 914760 - Delete existing generated uncessary debugging code. r=rnewman 2013-09-10 21:10:47 -04:00
Chris Kitching
75cc5662cd 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
654d1dd63c Bug 794981 - Part 6: Refactor AndroidBridge to make use of generated code. r=kats 2013-09-09 08:57:37 -04:00
Chris Kitching
ecf3adc962 Bug 794981 - Part 5: Add the generated code files to version control. r=kats 2013-09-09 08:57:36 -04:00
Chris Kitching
b1a7881e9c 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
51fd783162 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
6f8a0faf6a 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
Benoit Jacob
bd8899eab6 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Wes Johnston
824fb3e089 Bug 896350 - Use the event queue when adding notification observers. r=blassey 2013-09-05 12:32:04 -07:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Wes Kocher
8bba56d03f Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Chris Double
4c6432c540 Bug 845734 - Remove Sony devices from JellyBean Stagefright blocklist - r=bjacob 2013-09-03 14:39:41 +12:00
Chris Double
435a97eaab Bug 818363 - Remove SGH-T989 from stagefright blocklist - r=bjacob 2013-09-03 14:38:52 +12:00
Chris Double
23efb96fc3 Bug 888802 - Whitelist Sony Gingerbread devices for Stagefright OMX video decoding - r=bjacob 2013-09-03 14:36:48 +12:00
Chris Double
18bf70efbb Bug 812680 - Part 4: Don't blacklist HTC One X for OMX decoding - r=bjacob 2013-09-03 14:35:25 +12:00
Gene Lian
0847ca405b Bug 903403 - [sms][mms] Make getSegmentInfoForText() Asynchronous to Improve Typing Performance. r=vicamo, sr=mounir 2013-08-09 21:25:53 +08:00
Nicholas Cameron
bbf05ea482 Bug 910158. Don't include BasicLayers.h unnecessarily. r=roc 2013-09-02 10:20:45 +12:00
Doug Turner
805876c713 Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -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
Ryan VanderMeulen
9fa9f53229 Merge inbound to m-c. 2013-08-26 20:19:26 -04:00
Kartikaya Gupta
4afe3cfb46 Bug 885023 - Follow-up to fix build bustage on Android. r=me 2013-08-26 10:34:56 -04:00