Commit Graph

787 Commits

Author SHA1 Message Date
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
Nathan Froyd
dc5ea528d5 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
a727e121b3 Bug 906088 - part 3 - add Preferences events to AndroidGeckoEvent; r=blassey 2013-08-16 11:24:30 -04:00
Nathan Froyd
25722da5f4 Bug 906088 - part 2 - factor out reading an nsString from a Java string in AndroidJavaWrappers.cpp; r=blassey 2013-08-16 11:15:27 -04:00
Nathan Froyd
9122cd3c4d Bug 905759 - part 2 - add Telemetry-specific GeckoEvent and related machinery; r=blassey 2013-08-15 15:03:47 -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
8ccdba4aa0 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +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
Nathan Froyd
b4f16a0b95 Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
Jim Chen
a38d83ce46 Bug 899233 - Don't restart IME when changing selection; r=cpeterson 2013-08-14 11:32:44 -04:00
Nathan Froyd
00f3c04175 Bug 904579 - convert some nsRefPtrs to StaticRefPtrs in widget/android/; r=blassey 2013-08-13 09:32:03 -04:00