Commit Graph

949 Commits

Author SHA1 Message Date
Kartikaya Gupta
948d18a639 Bug 988800 - Catch and ignore situations where we try to composite on a destroyed LayerRenderer instance. r=Cwiiis 2014-04-03 11:01:07 -04:00
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Qiang Lu
55b87a048b Bug 973761 - [WebRTC] Check device capabilities (HW codec and Android ver) before enabling vp8 hardware acceleration on Fennec. r=bjacob, r=gcp 2014-03-20 21:37:16 +08:00
Jim Chen
08b3ed07e3 Bug 984458 - f. Add NativeJSObject opt getters; r=blassey 2014-04-01 15:16:56 -04:00
Jim Chen
7e177c1c5f Bug 984458 - e. Add NativeJSObject object getter; r=blassey 2014-04-01 15:16:55 -04:00
Jim Chen
825979accf Bug 984458 - d. Add NativeJSObject property getters; r=blassey 2014-04-01 15:16:55 -04:00
Jim Chen
9d87ae6802 Bug 984458 - c. Add skeletal NativeJSObject implementation; r=blassey 2014-04-01 15:16:54 -04:00
Jim Chen
31867cebc4 Bug 984458 - b. Add threading support to NativeJSContainer; r=blassey 2014-04-01 15:16:53 -04:00
Jim Chen
1e7149f865 Bug 984458 - a. Add NativeJSContainer implementation; r=blassey 2014-04-01 15:16:52 -04:00
snigdha
90f0f64d5b Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Masayuki Nakano
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
John Shih
0278476522 Bug 960426 - Part 3: Related Change in Fennec. r=blassey 2014-03-05 17:42:42 +08:00
Jim Chen
d4ef8ed53c Bug 987281 - Refactor AutoLocalJNIFrame. r=blassey 2014-03-25 12:02:43 -04:00
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Botond Ballo
81f6add29a Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo
c169aeed9c Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Kartikaya Gupta
f3c8ac7c3e Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Botond Ballo
70dfe7ab91 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Ryan VanderMeulen
760e2a311f Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha
ef5d7c4e73 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-03-05 08:47:45 -05:00
Masayuki Nakano
e996ee6db3 Bug 974318 part.8 Use WidgetTextEvent::mRanges on Android r=jchen 2014-03-04 22:48:28 +09:00
Ryan VanderMeulen
a94a1ab0bc Merge inbound to m-c. 2014-02-28 16:03:19 -05:00
Mike de Boer
3046afcfeb Bug 326743: add find clipboard to the list of available clipboard on OSX. r=joshmoz 2014-02-28 16:07:30 +01:00
Masayuki Nakano
4b31f787fd Bug 975688 part.24 Rename nsDOMNotifyPaintEvent to mozilla::dom::NotifyPaintEvent r=smaug
--HG--
rename : dom/events/nsDOMNotifyPaintEvent.cpp => dom/events/NotifyPaintEvent.cpp
rename : dom/events/nsDOMNotifyPaintEvent.h => dom/events/NotifyPaintEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano
9f4af3ce4f Bug 961704 part.2 Add an option to nsIMEUpdatePreference which prevents to be notified selection/text changes caused by composition r=smaug 2014-02-26 09:48:02 +09:00
Jim Chen
3574d8474f Bug 974560 - Send compositionupdate event for each text event; r=cpeterson 2014-02-24 12:27:58 -05:00
Mark Capella
71a7fbd087 Bug 927882 - Standardize TextSelection caret positioning logic for soft keyboards, r=jchen, wesj, f=margaret 2014-02-19 22:19:43 -05:00
Masayuki Nakano
0e922aada3 Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Phil Ringnalda
c422c4939c Merge f-t to m-c 2014-02-15 10:10:31 -08:00
Phil Ringnalda
bb47d34a53 Back out 024e6835e6ea:bece94ce2310 (bug 326743) for frequent 10.6 debug failures in browser_bug537013.js 2014-02-14 23:58:49 -08:00
Masayuki Nakano
f3b647e533 Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug 2014-02-15 10:06:06 +09:00
Mike de Boer
2df6ea85e1 Bug 326743: add find clipboard to the list of available clipboard on OSX. r=joshmoz 2014-02-14 14:04:19 +01:00
Wes Johnston
8de37ce524 Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats
--HG--
rename : mobile/android/base/util/EventDispatcher.java => mobile/android/base/EventDispatcher.java
2014-02-11 09:16:00 -08:00
Bill McCloskey
ab1717c10c Bug 966467 - Proxy clipboard service in content process (r=vlad) 2014-02-09 16:13:10 -08:00
Doug Sherk
ffbaa8e658 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
5fde241c65 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
36ec38752c Bug 959214 - Use unwinder when getting ANR native stack; r=blassey 2014-02-05 12:37:54 -06:00
Makoto Kato
888f119859 Bug 966130 - Turn off listening ipc:content-created observer if not e10s. r=blassey 2014-02-05 16:43:59 +09:00
Makoto Kato
797dde6607 Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Jim Chen
21f2bd4395 Bug 964813 - Make HandleUncaughtException JNI wrapper multithreaded; r=kats 2014-01-28 18:32:28 -06:00
Jim Chen
b87c611459 Bug 963242 - Only save JNI env in TLS when first attaching; r=kats 2014-01-28 18:32:28 -06:00
James Willcox
bd610891a3 Bug 963242 - Add null checks in AndroidBridge::JavaThreadDetachFunc() r=kats 2014-01-24 11:04:15 -06:00
Benoit Jacob
67a17b1047 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
3369ca8bb6 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
bb02646fad Bug 958706 - Make generated JNI wrappers handle uncaught exceptions; r=blassey
This patch adds AndroidBridge::HandleUncaughtException calls to generated JNI wrappers. Also, the JNI annotation now accepts the noThrow flag to indicate that the JNI caller wishes to handle Exceptions manually.
2014-01-17 23:32:25 -06:00
Jim Chen
1885b24ceb Bug 958706 - Add ThrowException and HandleUncaughtException methods to AndroidBridge; r=blassey
ThrowException throws a new exception with the appropriate message, meant for native JNI methods that return to Java code (i.e. methods in AndroidJNI.cpp).

HandleUncaughtException will be called by the generated JNI stubs that C++ code uses. HandleUncaughtException calls the new GeckoAppShell.handleUncaughtException method, which behaves exactly like the normal uncaught exception handler (annotates the crash report and crashes). GeckoAppShell.handleUncaughtException has the noThrow annotation that will be seen by the generated code; as a result, its generated stub will not call HandleUncaughtException and result in a loop.
2014-01-17 23:32:24 -06:00
Jim Chen
57092e14bb 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