Commit Graph

10301 Commits

Author SHA1 Message Date
Masayuki Nakano
c578ea0117 Bug 1050644 part.2 Hack ITextStoreACP::GetTextExt()'s offset for some Chinese TIPs of MS r=emk 2015-08-03 15:15:30 +09:00
Masayuki Nakano
c81232cbb2 Bug 1050644 part.1 Add methods to check whether the active TIP is Chinese TIP which deosn't show candidate window in e10s mode r=emk 2015-08-03 15:15:30 +09:00
Masayuki Nakano
39d13eccb6 Bug 1187566 TSFTextStore::Content should compute mMinTextModified Offset only with the latest composition string and original composition string, and also the hack should be enabled on Win10 r=emk 2015-08-03 15:15:30 +09:00
Neil Rashbrook
343f6968bc Bug 1189698 Potential race condition when shutting down the old player thread r=jimm 2015-08-01 14:03:43 +01:00
Gian-Carlo Pascutto
3c06fd2862 Bug 1189058 - Don't spin the Event loop while setting up WebRTC + Java. r=snorp 2015-07-30 19:53:38 +02:00
Xidorn Quan
ab9988120d Bug 1173930 - Not invoke FullscreenChange callback on OS X if state is not changed. r=smichaud 2015-08-01 10:49:19 +10:00
Carsten "Tomcat" Book
25d1763553 Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE 2015-07-31 14:49:40 +02:00
Carsten "Tomcat" Book
304544a901 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-07-31 13:50:49 +02:00
Carsten "Tomcat" Book
47faeeaad8 merge mozilla-inbound to mozilla-central a=merge 2015-07-31 12:06:51 +02:00
Andrew Comminos
e3874ec346 Bug 1187237 - Correct range slider drawing on GTK3. r=karlt 2015-07-30 11:29:00 +02:00
Nick Robson
7a52465904 Bug 1075089 - Moved popup menu frame offset to LookAndFeel, fixed default offset for OS X. r=enn 2015-07-30 15:00:00 +02:00
Sebastian Kaspari
fb841f17b5 Bug 1187260 - Simplify RestrictedProfiles class. r=ally
This patch transforms RestrictedProfiles to delegate isAllowed() and
canLoadUrl() calls to an object implementing the RestrictionConfiguration
interface.

DefaultConfiguration, GuestProfileConfiguration and
RestrictedProfileConfiguration are implementing RestrictionConfiguration
and will take care of handling the restrictions for the different types
of profiles.
2015-07-24 19:47:31 +02:00
Mike Conley
d3d99035d8 Bug 1145916 - [e10s] Defer starting a GTK Print Job during printer enumeration until the next tick. r=karlt
Before, we were calling nsDeviceContextSpecGTK::StartPrintJob within the
gtk_enumerate_printers callback function as soon as we found the printer
we wanted to print from. This was causing the GTK printing backend to get
confused about what the capabilities of the selected printer were when running
in the content process, due to https://bugzilla.gnome.org/show_bug.cgi?id=753041.
This moves the call to StartPrintJob to the next tick of the event loop.
2015-07-27 17:11:46 -04:00
Matt Woodrow
6fa6ea7eec Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Steven Michaud
0180052b68 Bug 1188425 - Add a pref to allow insecure text input, thereby avoiding crashes at [ChildView keyDown:] in non-release builds. r=spohl 2015-07-29 16:31:14 -05:00
Wes Kocher
2d40eac90e Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
738c3246e7 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Jim Chen
222026d59e Bug 1186517 - Generate JNI bindings for Bundle; r=snorp
Add Bundle to the list of SDK classes to generate JNI bindings for. The
generated bindings, like other SDK classes, use XPCOM-style nsresult
to indicate success/failure, and return values through out-parameters.
2015-07-29 15:11:15 -04:00
Jim Chen
1c38f5954d Bug 1186517 - Adjust white spacing in generated files; r=me 2015-07-29 15:11:15 -04:00
Jim Chen
3698d9113b Bug 1186530 - Fix compile error when using native methods with ref parameters; r=snorp
We use Ref::From() inside TypeAdapter<Ref>::ToNative to convert a raw JNI
ref argument to a Ref argument for the C++ function. However, that
generates a compile error, unless we make TypeAdapter<Ref> a friend of
Ref, because we intentionally made Ref's copy constructor private and
returning from TypeAdapter<Ref>::ToNative requires the copy constructor.
2015-07-29 15:11:15 -04:00
Jim Chen
527dd49d80 Bug 1186530 - Add support for instance native pointers; r=snorp
Introduce a JNIObject class that serves as a base class for classes
that wish to use per-instance native methods. JNIObject includes a long
native pointer field that the C++ code accesses to associate the Java
object instance with a C++ object instance.
2015-07-29 15:11:15 -04:00
Jim Chen
6c059423b9 Bug 1182641 - Implement new native methods for ANRReporter; r=snorp 2015-07-29 15:11:15 -04:00
Jim Chen
9db302862d Bug 1182641 - Update autogenerated code; r=me 2015-07-29 15:11:15 -04:00
Lee Salzman
53f97f2f5a Bug 1188462 - Rename gfx/skia/trunk directory to gfx/skia/skia. r=jrmuizel 2015-07-30 11:51:29 -04:00
Milan Sreckovic
d7dbdf9cdc Bug 1183725 - Update the Windows 10 constant from the original 0x60004 to the current 0xA0000. r=bas 2015-07-29 13:02:00 -04:00
Sotaro Ikeda
7467325a51 Bug 1188877 - Fix LayerComposite::SetClearRect() calling r=mwu 2015-07-30 11:50:16 -07:00
Byron Campen [:bwc]
22a0cef241 Bug 1188590: Don't sync dispatch if we're already on main. r=snorp, a=abillings 2015-07-28 16:56:34 -05:00
Bobby Holley
59c4d9cf6c Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Steven Michaud
f8aa5202e5 Bug 1186158 - Receive notifications of sandbox violations in the browser on OS X. r=spohl 2015-07-28 15:19:55 -05:00
Andrew Comminos
bc35eef7a0 Bug 1188138 - Prevent default buttons from being drawn twice on GTK3. r=karlt 2015-07-27 15:08:00 -04:00
Andrew Comminos
3d93c1113c Bug 1186661 - Draw drag and drop alpha pixmap correctly on GTK3. r=karlt 2015-07-28 07:13:00 -04:00
Andrew Comminos
51fd957d75 Bug 1186661 - Use monitors-changed signal to update screen manager on GTK. r=karlt 2015-07-25 19:07:00 -04:00
Andrew Comminos
2bb51e47e8 Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt 2015-07-28 06:28:00 -04:00
Carsten "Tomcat" Book
575fa52c5c Backed out changeset ac04ab483fba (bug 1187649) for bustage on a CLOSED TREE 2015-07-28 13:05:48 +02:00
Andrew Comminos
11a58478c7 Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt 2015-07-27 11:21:00 +02:00
David Anderson
464c133d28 Add a "blacklisted" property to d3d11 telemetry. (bug 1187453, r=mattwoodrow) 2015-07-28 00:54:33 -07:00
Mike Hommey
5cb6216446 Bug 1187533 - Change how Gtk+2 plugin-container is started on Gtk+3 builds. r=billm
The current situation looks like this: Firefox launches the plugin-container
with two environment variables set:
  LD_LIBRARY_PATH=$FIREFOX_DIR:$LD_LIBRARY_PATH
  LD_PRELOAD=$FIREFOX_DIR/libmozgtk2.so:$LD_PRELOAD

libxul.so has a dependency on libmozgtk.so (without "2"), but libmozgtk2.so
has a SONAME of libmozgtk.so, so ld.so recognizes libmozgtk2.so as a
dependency of libxul.so, and uses it instead of the actual libmozgtk.so,
making the plugin-container use Gtk+2 instead of Gtk+3 to load Gtk+2 plugins.

Now, ASan sets things up in shared libraries such that they needs a symbol
from the executable binary. So in the case of plugin-container, the
plugin-container executable itself contains some ASan symbols such as
__asan_init_v3. libmozgtk2.so, OTOH, contains an undefined weak reference to
that symbol, like all other Firefox shared libraries.

Since libmozgtk2.so is LD_PRELOADed, it is loaded _before_ the
plugin-container executable, and __asan_init_v3 can't be resolved.

Disabling ASan for libmozgtk2.so would be a possibility, but the build system
doesn't really know how to do that, and filtering out -fsanitize=address
can be fragile.

The alternative possibility, implemented here, is to change the library
loading strategy, renaming libmozgtk2.so to gtk2/libmozgtk.so, and setting
the following environment variable when Firefox launches the plugin-container:
  LD_LIBRARY_PATH=$FIREFOX_DIR/gtk2:$FIREFOX_DIR:$LD_LIBRARY_PATH
2015-07-28 08:19:13 +09:00
Ryan VanderMeulen
3a97eee82c Backed out changeset 4fd14cf6b415 (bug 1186158) for OSX Werror bustage. 2015-07-27 15:21:52 -04:00
Steven Michaud
85b9d6fdc1 Bug 1186158 - Receive notifications of sandbox violations in the browser on OS X. r=spohl 2015-07-27 13:56:08 -05:00
Sotaro Ikeda
15b35d028f Bug 1187503 - use external surface size on CompositorOGL r=nical 2015-07-27 09:41:13 -07:00
Ryan VanderMeulen
556768d073 Merge m-c to inbound. a=merge 2015-07-27 10:41:37 -04:00
Ryan VanderMeulen
89f3a33336 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Mike Conley
28ba8b19bc Bug 1181630 - Do not fail out if there are no registered printers when printing with e10s on OS X. r=mstange.
We were being overly cautious, and returning NS_ERROR_FAILURE if the printer name passed
up from the content process didn't map to an existing system printer.

The problem with that is that sometimes there are no registered printers. In that case,
we just need to not set the printer in the NSPrintInfo.

So in the event that we cannot find a printer with the name that the child sent up, we
just leave the printer and printer name fields on the NSPrintInfo blank.
2015-07-22 14:21:39 -04:00
Wes Kocher
c18f2ecbfb Merge m-c to fx-team, a=merge 2015-07-24 13:48:31 -07:00
Qiang Lu
9d8feab426 Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel 2015-07-24 12:45:55 -07:00
Masayuki Nakano
9138db869d Bug 1186014 Rename nsTextStore to mozilla::widget::TSFTextStore r=jimm+m_kato 2015-07-24 14:07:39 +09:00
Xidorn Quan
2c68936b66 Bug 1160014 part 6 - Implement fullscreen transition for GTK. r=roc 2015-07-24 09:45:00 +10:00
Xidorn Quan
a5bd664729 Bug 1160014 part 5 - Implement fullscreen transition on Mac. r=smichaud 2015-07-24 09:45:00 +10:00
Mike Hommey
0b2afe8819 Bug 1063359 - Unconditionally use -Wl,--no-as-needed when building with GNU ld/gold. r=mshal 2015-07-24 06:49:49 +09:00
Jim Mathies
2b5e67bc94 Bug 1186886 - Reset the command button clear region when command buttons are not visible. r=jaws 2015-07-23 15:40:03 -05:00