Commit Graph

10382 Commits

Author SHA1 Message Date
Xidorn Quan
e15a5ffe16 Bug 1188322 - Always hide menubar as well as dock for fullscreen on OS X whatever the screen is. r=mstange 2015-08-07 13:49:12 +10:00
Wes Kocher
470f734e39 Merge m-c to inbound, a=merge 2015-08-06 18:11:16 -07:00
Ryan VanderMeulen
48740cf0e3 Merge m-c to fx-team. a=merge 2015-08-06 15:53:46 -04:00
Jared Wein
0af88fb303 Bug 1007063 - Show virtual (on-screen) keyboard in Windows 8 and higher when text fields are focused if physical keyboards are not present. r=jimm r=masayuki r=m_kato 2015-08-05 10:38:51 -04:00
Lee Salzman
1c532ba7ab Bug 1190935 - Fix race condition in gtk window EndRemoteDrawingInRegion. r=nical 2015-08-06 11:02:03 -04:00
Masayuki Nakano
07cb2950f9 Bug 1191213 nsBaseWidget::NotifyWindowMoved() shouldn't notify IME when native IME handler doesn't have focus r=m_kato 2015-08-06 15:57:58 +09:00
Milan Sreckovic
a02e28186c Bug 1191404 - Update the comments to avoid confusion about what happens with blocklisting when the OS is unknown. No code change. r=milan 2015-08-05 10:39:00 +02:00
Wes Kocher
34351583f5 Merge b2ginbound to central, a=merge 2015-08-05 16:45:41 -07:00
Carsten "Tomcat" Book
bab4897aec Merge mozilla-central to b2g-inbound 2015-08-05 13:40:29 +02:00
Boris Chiou
711a43c8f8 Bug 1180657 - Use hwc directly on GonkDisplayICS. r=sotaro 2015-08-03 19:43:00 +02:00
Masayuki Nakano
c09c1c685f Bug 1188442 IMMHandler::GetSelection() should use static Selection instance when IME doesn't have focus and return its or mSelection's reference r=emk 2015-08-04 17:05:25 +09:00
Birunthan Mohanathas
9b6236a10a Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
David Anderson
377a84198d Don't create a D3D11 compositor device on content processes. (bug 1183910 part 8, r=bas,mattwoodrow) 2015-08-05 02:45:06 -07:00
Masayuki Nakano
75e7593459 Bug 1187579 Enable TSF in e10s mode r=m_kato 2015-08-05 18:37:47 +09:00
Robert O'Callahan
3e3003e4ce Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv 2015-07-25 18:05:19 +12:00
Robert O'Callahan
99701808fc Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
We will pass the preparsed value into AttributeWillChange.
2015-08-01 17:14:06 +12:00
Robert O'Callahan
53c0044a87 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv 2015-07-25 18:01:19 +12:00
Xidorn Quan
e93cfc91bd Bug 1190669 part 4 - Force stop transition animation when the cocoa window gets destroyed. r=smichaud 2015-08-06 15:37:48 +10:00
Xidorn Quan
8cfe5b1e93 Bug 1191112 part 2 - Set the destroyed flag on nsCocoaWindow when destroyed. r=smichaud 2015-08-06 15:37:48 +10:00
Wes Kocher
a183d75efd Merge m-c to inbound, a=merge 2015-08-05 16:47:52 -07:00
Trevor Saunders
26afedea6c no bug - fix case of nsIDocShell.h in WindowsUIUtils.cpp 2015-08-05 17:19:45 -04:00
Jim Chen
7f80c8d918 Bug 1187552 - Make NativeJSContainer use direct ownership model; r=snorp
Make NativeJSContainer/NativeJSObject Java objects own their
corresponding C++ objects directly, to reduce an extra
allocation/deallocation for each object and to simplify code.
2015-08-04 17:47:28 -04:00
Jim Chen
56018802bc Bug 1187552 - Support direct ownership of C++ objects by Java objects; r=snorp
Add a direct ownership model where the Java object owns the
corresponding C++ object directly, in addition to the WeakPtr model
where the Java object owns a WeakPtr to the C++ object. The WeakPtr
model is chosen when the implementing C++ class inherits from
SupportsWeakPtr. Otherwise, the direct ownership model is chosen. Under
the direct ownership model, a UniquePtr object must be used to attach
the containing C++ object to a Java object, to ensure ownership is
passed on to the Java object.
2015-08-04 17:47:28 -04:00
Jim Chen
4ee9900b62 Bug 1187088 - Use UNIFIED_SOURCES in widget/android; r=snorp
Fix some compiling errors in unified mode due to header dependency
issues.
2015-08-04 17:47:28 -04:00
Jim Chen
3a10049d9d Bug 1186467 - Rewrite NativeJSContainer to use new native JNI scheme; r=snorp
This patch makes NativeJSContainer use per-instance native methods.
NativeJSContainer is also updated to use smart JNI reference classes.
2015-08-04 17:47:28 -04:00
Jim Chen
633ea676cd Bug 1186467 - Update generated JNI bindings; r=me 2015-08-04 17:47:28 -04:00
Jim Chen
5f730a2047 Bug 1186467 - Add some JNI utilities for convenience; r=snorp
This patch adds:
* Conversion operator from String::Param to String::LocalRef.
* More overloads of the jni::ThrowException function.
* name members to built-in types like jni::Object, jni::String, etc.
  This allows using jni::Accessors::EnsureClassRef on built-in types
  to get built-in class refs (e.g. jclass for java/lang/String).
* Ability to implicitly convert LocalRef<Cls> to LocalRef<Object>
* Fixes for bugs in LocalRef/GlobalRef where new refs are not created.
* Fixes for inaccurate uses of mozilla::Forward in favor of mozilla::Move
2015-08-04 17:47:28 -04:00
Carsten "Tomcat" Book
26d634a982 Backed out changeset 427cfffcb5b7 (bug 1000870) 2015-08-03 16:37:18 +02:00
Carsten "Tomcat" Book
05d8bcb28a Merge mozilla-central to fx-team 2015-08-07 13:21:30 +02:00
Mark Capella
e14e6d67cc Bug 1191161 - p3 - Surprise update-generated-wrappers changes, r=jchen 2015-08-07 02:09:08 -04:00
Maksim Lebedev
8fbc5386cc Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Masayuki Nakano
ed1af44398 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
8e0a022516 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
bc1da58279 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
19532117ef 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
b1a625dcbb 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
51e6bea4a5 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
7605a6369b 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
e9db1b969f Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-07-31 13:50:49 +02:00
Carsten "Tomcat" Book
5dc9daea7c merge mozilla-inbound to mozilla-central a=merge 2015-07-31 12:06:51 +02:00
Andrew Comminos
d15ad31c48 Bug 1187237 - Correct range slider drawing on GTK3. r=karlt 2015-07-30 11:29:00 +02:00
Nick Robson
0ce13e9fc1 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
686a916037 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
b3a66c0d44 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
ff3e71c061 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
0af9ff9bc3 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
d73df9eb52 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
a355c051e4 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
254ad9bb7a 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
d4cfdd4ca4 Bug 1186517 - Adjust white spacing in generated files; r=me 2015-07-29 15:11:15 -04:00
Jim Chen
31900f731d 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
fa23b86d99 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
e50c3c9536 Bug 1182641 - Implement new native methods for ANRReporter; r=snorp 2015-07-29 15:11:15 -04:00
Jim Chen
a01650d99f Bug 1182641 - Update autogenerated code; r=me 2015-07-29 15:11:15 -04:00
Lee Salzman
b14ec2fed8 Bug 1188462 - Rename gfx/skia/trunk directory to gfx/skia/skia. r=jrmuizel 2015-07-30 11:51:29 -04:00
Milan Sreckovic
d49c6f9f83 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
60075dcb8e Bug 1188877 - Fix LayerComposite::SetClearRect() calling r=mwu 2015-07-30 11:50:16 -07:00
Byron Campen [:bwc]
5f772f1635 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
106e778c81 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Steven Michaud
be3fede0ce 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
6ccb614b9f Bug 1188138 - Prevent default buttons from being drawn twice on GTK3. r=karlt 2015-07-27 15:08:00 -04:00
Andrew Comminos
b0e51f36f7 Bug 1186661 - Draw drag and drop alpha pixmap correctly on GTK3. r=karlt 2015-07-28 07:13:00 -04:00
Andrew Comminos
a057485889 Bug 1186661 - Use monitors-changed signal to update screen manager on GTK. r=karlt 2015-07-25 19:07:00 -04:00
Andrew Comminos
e1207ceb02 Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt 2015-07-28 06:28:00 -04:00
Carsten "Tomcat" Book
31657c0e57 Backed out changeset ac04ab483fba (bug 1187649) for bustage on a CLOSED TREE 2015-07-28 13:05:48 +02:00
Andrew Comminos
62839f34fc Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt 2015-07-27 11:21:00 +02:00
David Anderson
f3cdafd4b3 Add a "blacklisted" property to d3d11 telemetry. (bug 1187453, r=mattwoodrow) 2015-07-28 00:54:33 -07:00
Mike Hommey
46df179a4f 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
03436682af Backed out changeset 4fd14cf6b415 (bug 1186158) for OSX Werror bustage. 2015-07-27 15:21:52 -04:00
Steven Michaud
268ee8b698 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
2ab0a4f740 Bug 1187503 - use external surface size on CompositorOGL r=nical 2015-07-27 09:41:13 -07:00
Ryan VanderMeulen
326be0b0e2 Merge m-c to inbound. a=merge 2015-07-27 10:41:37 -04:00
Ryan VanderMeulen
aaaf344ec6 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Mike Conley
6209cc32af 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
9f5fea3df8 Merge m-c to fx-team, a=merge 2015-07-24 13:48:31 -07:00
Qiang Lu
bd33cc02a5 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
4a9562f506 Bug 1186014 Rename nsTextStore to mozilla::widget::TSFTextStore r=jimm+m_kato 2015-07-24 14:07:39 +09:00
Xidorn Quan
7928d7e98f Bug 1160014 part 6 - Implement fullscreen transition for GTK. r=roc 2015-07-24 09:45:00 +10:00
Xidorn Quan
10390bfab6 Bug 1160014 part 5 - Implement fullscreen transition on Mac. r=smichaud 2015-07-24 09:45:00 +10:00
Mike Hommey
6bc3f407c4 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
4bb0681c90 Bug 1186886 - Reset the command button clear region when command buttons are not visible. r=jaws 2015-07-23 15:40:03 -05:00
Jeff Muizelaar
9b95b86e14 Bug 1183341. Reenable ANGLE w/ D3D11 on newer Intel GPUs. r=bas
Our device family for GMA4500 included more than just GMA4500 devices. Lets
remove the blacklist entry that was added unintentionally.  HG: Enter commit
message.  Lines beginning with 'HG:' are removed.
2015-07-22 10:32:29 -04:00
Masayuki Nakano
39d98a22b7 Bug 1186015 part.2 Rename nsIMM32Handler to mozilla::widget::IMMHandler r=jimm+m_kato 2015-07-23 12:31:28 +09:00
Masayuki Nakano
646a0d5e44 Bug 1186015 part.1 Rename nsIMEContext to mozilla::widget::IMEContext r=jimm 2015-07-23 12:31:28 +09:00
Mike Conley
9374a74e64 Bug 1180878 - Do not re-escape NSPrintJobSavingURLs when deserializing in the content process. r=mstange
We assume that when an NSURL has been serialized to PrintData, that it has already
been percent encoded. This means that we don't need to re-percent encode it when
we deserialize.
2015-07-22 13:40:28 -04:00
Lee Salzman
da1a635cba Bug 1184009 - Limit image preview sizes. r=acomminos 2015-07-21 13:16:44 -04:00
David Major
bf4f0f0f1f Bug 1159604: Use a fallible allocation in nsClipboard::GetGlobalData. r=bbondy 2015-07-22 10:31:17 -04:00
Xidorn Quan
754356b222 Bug 1186384 - Consider device pixel scale on fullscreen transition window. r=jimm 2015-07-22 23:02:22 +10:00
Masayuki Nakano
7155d8167a Bug 1185316 TabParent should flush pending IME notifications after child process handles all sending events r=smaug 2015-07-22 14:51:36 +09:00
Masayuki Nakano
3c3b507f8d Bug 1184986 NOTIFY_IME_OF_POSITION_CHANGE should be put off until all sending events are recieved by child process r=smaug 2015-07-22 14:15:06 +09:00
Masayuki Nakano
0e680d31f0 Bug 1184449 part.3 Fix the bustage of Mac OS X r=myself 2015-07-22 13:28:23 +09:00
Masayuki Nakano
3eb9ddcc00 Bug 1184449 part.2 nsIMM32Handler should store selection range as far as possible r=m_kato 2015-07-22 12:40:32 +09:00
Masayuki Nakano
e7ef1f7da9 Bug 1184449 part.1 IMENotifiation::SelectionChangeData should store selected string r=smaug 2015-07-22 12:40:32 +09:00
Jeff Muizelaar
50e11c0b68 Bug 1180379. Split out GMAX4500 and block those devices from D2D. r=Bas
This line of cards seems to have lots of bugs. Let's block them
until we can figure out what works where.
2015-07-21 18:04:48 -04:00
George Wright
86ff843ebf Bug 1157941 - If the current PresShell is suppressed, paint the old one if it is available r=tn,Enn 2015-07-21 21:09:02 -04:00
Wes Kocher
11edeef9d4 Backed out changeset b3d392163411 (bug 1160014) (Linux part), too CLOSED TREE 2015-07-21 16:54:09 -07:00
Wes Kocher
4396b41d15 Backed out changeset 039f3d0c6e62 (bug 1160014) (Mac part) for build failures CLOSED TREE 2015-07-21 16:23:56 -07:00
Wes Kocher
cef2b6dc84 Merge m-c to inbound, a=merge 2015-07-21 16:11:44 -07:00
Wes Kocher
6fcbd64260 Merge fx-team to central, a=merge 2015-07-21 16:08:37 -07:00
Xidorn Quan
03fed9b502 Bug 1160014 part 6 - Implement fullscreen transition for GTK. r=roc 2015-07-22 09:07:46 +10:00