Commit Graph

10839 Commits

Author SHA1 Message Date
Jeff Walden
a33c1c9f14 Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits 2015-08-28 21:55:40 -07:00
Nathan Froyd
5b217ceaf0 Bug 1206801 - fix broken CONFIG['DEBUG'] checks in moz.build files; r=mshal
These were supposed to be CONFIG['MOZ_DEBUG'].  webapprt doesn't use the
define it set up, however, so it was deleted rather than fixed.
2015-09-21 22:32:15 -04:00
Steven Michaud
ec58c3a10f Bug 1206766 - Show meaningful module offsets in stack traces even when no symbol found. r=spohl 2015-09-21 14:20:35 -05:00
Christoph Kerschbaumer
1745603555 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Wes Kocher
9c40f87100 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
c533260e62 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Jim Chen
0ea0adc841 Bug 1197957 - Switch PROFILE_READY state to correspond to profile-after-change; r=snorp
Originally, the GeckoThread PROFILE_READY state was chosen to correspond
to the profile-do-change event, to give priority to JNI code (e.g.
window creation) over other events that may be registered under
profile-after-change event. However, this leads to broken tests because
our testing infra expects things like window creation to happen during
profile-after-change at the earliest. This is because we have to wait
for addons like SpecialPowers to be loaded between profile-do-change and
profile-after-change. This patch changes the PROFILE_READY state to
correspond to the profile-after-change event, so things are consistent
again.
2015-09-21 10:13:33 -04:00
Jim Chen
cf665943cf Bug 1197957 - Dispatch nsWindow native calls to Gecko thread; r=snorp
A C++ class that implments native JNI methods can choose to inherit
UsesGeckoThreadProxy. Once enabled, all native JNI calls on that class
will be automatically dispatched to the Gecko thread as a runnable event.
2015-09-21 10:13:33 -04:00
Jim Chen
0b8df9a2b8 Bug 1197957 - Implement GeckoView.Window.open in nsWindow; r=snorp
nsWindow will implement native methods of GeckoView.Window. This patch
implements the open method, which opens a new window in the same manner
as the CLH, and associates the new nsWindow with the GeckoView.Window
instance.
2015-09-21 10:13:32 -04:00
Jim Chen
802ee8d901 Bug 1197957 - Introduce GeckoView.Window class; r=snorp
GeckoView.Window is a class that acts as the interface between
GeckoView in Java and nsWindow in C++. It will contain native methods
that GeckoView will use to interact with nsWindow.

On initialization, Window.open is called to create a nsWindow and
establish the JNI association between Window and the native nsWindow.
Then, whenever Window instance methods are called, the JNI stubs will
automatically call members of nsWindow.
2015-09-21 10:13:32 -04:00
Jim Chen
1781258f80 Bug 1197976 - Provide compatibility with AndroidGeckoEvent; r=snorp
With the new nsAppShell event loop based on runnable events, we need to
implement AndroidGeckoEvent handling as a runnable event. This patch adds
nsAppShell::LegacyGeckoEvent and adopts its implementation from existing
code that handle AndroidGeckoEvent.
2015-09-21 10:13:32 -04:00
Jim Chen
af8ea109cc Bug 1197976 - Use runnable events for nsAppShell event loop; r=snorp
nsAppShell is currently based on AndroidGeckoEvent objects, which mirror
GeckoEvent on the Java side. With GeckoEvent going away, we will be
gradually removing AndroidGeckoEvent as well. This patch makes the
nsAppShell event loop based on runnable objects, which derive from
nsAppShell::Event. Using runnable objects is much more flexible and allows
us, for example, to post a lambda to the event loop to be run later.
2015-09-21 10:13:32 -04:00
Masayuki Nakano
299db30ceb Bug 1187583 part.2 Apply the TS_E_NOLAYOUT hacks for MS-IME to MS Office IME 2010 for Japanese too r=emk 2015-09-19 22:22:40 +09:00
Masayuki Nakano
525fc4dac9 Bug 1187583 part.1 Add a method to check if active TIP is MS Office IME 2010 for Japanese r=emk 2015-09-19 22:22:40 +09:00
Dylan Roeh
4152d1c9c2 Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen 2015-09-17 16:17:26 -05:00
Lee Salzman
f22545da9c Bug 1205741 - add xpm and svg to supported gdk-pixbuf formats. r=acomminos,dveditz 2015-09-17 15:01:51 -04:00
Masayuki Nakano
3e644f9055 Bug 1205945 part.6 IMEInputHandler::GetAttributedSubstringFromRange() should return stored composition string if the range is in the composition string r=smichaud 2015-09-19 11:01:57 +09:00
Masayuki Nakano
5eeffc7141 Bug 1205945 part.5 Emulate mSelectedRange at dispatching compositionchange or compositioncommit event until OnSelectionChange() is called r=smichaud 2015-09-19 11:01:57 +09:00
Masayuki Nakano
15e85614b5 Bug 1205945 part.4 Move the code of OnEndIMEComposition() into DispatchCompositionCommitEvent() r=smichaud 2015-09-19 11:01:57 +09:00
Masayuki Nakano
a49d8923c5 Bug 1205945 part.3 Move the code of OnUpdateIMEComposition() into DispatchCompositionChangeEvent() r=smichaud 2015-09-19 11:01:57 +09:00
Masayuki Nakano
a53b67e1c5 Bug 1205945 part.2 Add DispatchCompositionStartEvent() and move the code of OnStartIMEComposition() into it r=smichaud 2015-09-19 11:01:57 +09:00
Masayuki Nakano
5bb455675e Bug 1205945 part.1 Remove unnecessary member of IMEInputHandler, mLastDispatchedCompositionString r=smichaud 2015-09-19 11:01:57 +09:00
Jim Chen
da7a161887 Bug 1197974 - Don't exit Gecko on Android even if there's no window; r=snorp
Gecko on Android follows the Android app model where it never stops
until it is killed by the system or told explicitly to quit. Therefore,
we should exit Gecko when there is no window or the last window is closed.
2015-09-18 09:17:10 -04:00
Lee Salzman
d240e9c991 Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar 2015-09-15 16:46:39 -04:00
Masayuki Nakano
bcb5fd90a4 Bug 1204519 part.2 Remove TSFStaticSink::IsGoogleJapaneseInputActive() r=emk 2015-09-18 09:58:17 +09:00
Masayuki Nakano
5e0c8e2cec Bug 1204519 part.1 Remove hack for TS_E_NOLAYOUT issue of Google Japanese Input r=emk 2015-09-18 09:58:17 +09:00
Masayuki Nakano
03522f5967 Bug 1204523 part.2 Hack TSFTextStore::GetTextExt() for TS_E_NOLAYOUT issue of MS-IME for Japanese r=emk 2015-09-18 09:58:17 +09:00
Masayuki Nakano
892c1ccb41 Bug 1204523 part.1 Add a method which checks if the active TIP is Microsoft IME for Japanese r=emk 2015-09-18 09:58:16 +09:00
Carsten "Tomcat" Book
1963477975 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-09-17 15:01:06 +02:00
Carsten "Tomcat" Book
ee94ce03fe merge mozilla-inbound to mozilla-central a=merge 2015-09-17 14:56:37 +02:00
Fabrice Desré
8966c64b68 Bug 1205142 - Disable Android keyboard r=jchen 2015-09-16 09:24:17 -07:00
Wes Kocher
8f2936989b Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-16 11:00:55 -07:00
Wes Kocher
e7846b8a1b Merge m-c to b2ginbound, a=merge 2015-09-15 17:20:50 -07:00
Fabrice Desré
f5dfaa54c5 Bug 1203428 - E10S for device storage API r=cyu 2015-09-15 11:01:07 -07:00
Markus Stange
08ed9527e5 Bug 1204620 - Don't prepend 'image.' to CUIDraw image names on 10.11. r=stefanh 2015-09-15 16:31:06 +02:00
Lee Salzman
ce355abfd3 Bug 1203078 - whitelist gdk-pixbuf image formats. r=dan 2015-09-11 00:34:32 -04:00
Masayuki Nakano
8494e42434 Bug 1204439 part.3 Create methods to get enum item name r=smaug 2015-09-17 12:05:44 +09:00
Masayuki Nakano
8515f08052 Bug 1204439 part.2 NS_EVENT_MESSAGE() shouldn't take specific value for the event message r=smaug 2015-09-17 12:05:44 +09:00
Masayuki Nakano
8274e10dc7 Bug 1204439 part.1 Add NS_EVENT_MESSAGE_FIRST_LAST() into EventMessageList.h for defining e*EventFirst and e*EventLast r=smaug 2015-09-17 12:05:44 +09:00
Nicholas Nethercote
ef0f1abd3b Bug 1204518 - Fix warnings in widget/gonk/. r=mwu.
Warnings fixed include the following.

- Several cases where macros (|LOG| and |ALOGE|) were redefined. I just did a
  simple #undef to fix these.

- In GonkMemoryPressureMonitoring.cpp, "the address of NuwaMarkCurrentThread
  will never be NULL".

- In OrientationObserver.cpp, several signed/unsigned comparison warnings.

- Several warnings about variables that are unused or set but not used:
  in InputDispatcher.cpp, InputReader.cpp.

  Also in SpriteController, where several loops were all but empty if
  HAVE_ANDROID_OS is undefined; for these I moved the HAVE_ANDROID_OS check
  outside the loop.

The patch also disallows the introduction of new warnings by removing the
ALLOW_COMPILER_WARNINGS flag.
2015-09-14 18:08:56 -07:00
Neil Deakin
8abddd0982 Bug 1202176, adjust coordinates from device to css pixels when drag popup moves, r=tn 2015-09-14 15:18:44 -04:00
Masayuki Nakano
de23cab605 Bug 1204442 nsIDragService::FireDragEventAtSource() shouldn't be available from script because it takes a value of mozilla::EventMessage r=smaug, sr=smaug 2015-09-15 00:18:29 +09:00
Masayuki Nakano
6659fb2f0f Bug 895274 part.270 Add comment to explain the naming rules of EventMessage r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
91395af71f Bug 895274 part.269 Rename NS_SIMPLE_GESTURE_EVENT_START to eSimpleGestureEventFirst r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
40983d6c40 Bug 895274 part.268 Rename NS_SIMPLE_GESTURE_SWIPE_MAY_START to eSwipeGestureMayStart r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
61ff225c56 Bug 895274 part.267 Rename NS_SIMPLE_GESTURE_SWIPE_START to eSwipeGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
fcbb201e80 Bug 895274 part.266 Rename NS_SIMPLE_GESTURE_SWIPE_UPDATE to eSwipeGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
a092622242 Bug 895274 part.265 Rename NS_SIMPLE_GESTURE_SWIPE_END to eSwipeGestureEnd r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
3eac38169f Bug 895274 part.264 Rename NS_SIMPLE_GESTURE_SWIPE to eSwipeGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
85fd7f93a7 Bug 895274 part.263 Rename NS_SIMPLE_GESTURE_MAGNIFY_START to eMagnifyGestureStart r=smaug 2015-09-15 00:14:37 +09:00