Commit Graph

10966 Commits

Author SHA1 Message Date
Masayuki Nakano
7aedbbd965 Bug 1211352 part.5 PuppetWidget should cache only the focused editor rect information while a plugin has focus r=m_kato 2015-10-10 10:21:02 +09:00
Masayuki Nakano
795194af70 Bug 1211352 part.4 PuppetWidget::GetIMEUpdatePreference() should request only position change notifications while a plugin has focus r=m_kato 2015-10-10 10:21:02 +09:00
Masayuki Nakano
ba654e2eef Bug 1211352 part.3 nsIWidget::GetIMEupdatePreference() for each platform should not request any notifications while a plugin has focus r=m_kato 2015-10-10 10:21:02 +09:00
Masayuki Nakano
8c675f448e Bug 1211352 part.2 PuppetWidget shouldn't send notifications which are not wanted by the parent process r=m_kato 2015-10-10 10:21:01 +09:00
Wes Kocher
cc494d30e9 Backed out changeset 81be051cd7a8 (bug 1213107) for windows build bustage CLOSED TREE 2015-10-09 13:55:34 -07:00
David Anderson
9e771cf7d6 Block some Radeon devices that crash on D3D9. (bug 1213107, r=jrmuizel) 2015-10-09 13:29:34 -07:00
Andrew Comminos
c92b2b4c5f Revert "Bug 1209774 - Transform from GDK coords to layout device pixels before calling DispatchEvent. r=karlt"
This reverts commit bc5ba9c53f2a2c08a17b028c0aa8ff24e35847b6.
2015-10-09 09:36:13 -07:00
Andrew Comminos
86a887b992 Bug 1209774 - Transform from GDK coords to layout device pixels before calling DispatchEvent. r=karlt 2015-10-09 09:22:38 -07:00
Andrew Comminos
a46d6b7840 Bug 1176929 - Disable Ctrl-K in GtkEntry unless custom key bindings are
set on GTK3. r=karlt
2015-10-09 09:22:37 -07:00
Wes Kocher
376a071f0b Merge m-c to inbound, a=merge 2015-10-08 14:35:43 -07:00
Jared Wein
587f896baa Bug 1210033 - Add on-screen keyboard diagnostic information to about:support. r=masayuki r=felipe 2015-10-08 11:51:47 -04:00
Carsten "Tomcat" Book
cc5cc0661d Merge m-c to fx-team 2015-10-08 16:11:56 +02:00
Carsten "Tomcat" Book
c3a4faf573 merge mozilla-inbound to mozilla-central a=merge 2015-10-08 15:26:54 +02:00
Carsten "Tomcat" Book
aa4fcc238d Backed out changeset 2e8206d7352e (bug 1200426) for Android Perma Failures 2015-10-08 10:07:11 +02:00
Carsten "Tomcat" Book
b91cfb6b85 Backed out changeset 9862f86ffe31 (bug 1209574) for Android Perma Failures 2015-10-08 10:06:47 +02:00
Carsten "Tomcat" Book
8aba8449d0 Backed out changeset 161f9ab0c5e7 (bug 1209574) for Android Perma Failures 2015-10-08 10:06:19 +02:00
Carsten "Tomcat" Book
c5ea4896fd Backed out changeset 6763177287ca (bug 1209574) for Android perma failures 2015-10-08 10:05:44 +02:00
Wes Kocher
8f74e3e6b9 Merge m-c to b2ginbound, a=merge 2015-10-07 11:11:10 -07:00
Wes Kocher
09022f945d Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Wes Kocher
fcbfeca36b Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
Wes Kocher
b3e106628e Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
Nathan Froyd
806d8619d3 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-07 16:50:25 -04:00
Nathan Froyd
34d7cd6c43 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' | \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-07 15:05:02 -04:00
Carsten "Tomcat" Book
9f1c0bf17d Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Reuben Morais
295afccb2f Bug 1197010 - Implement Android backend for createMessageCursor/createThreadCursor. r=snorp 2015-10-06 19:40:38 -03:00
Kit Cambridge
996324edee Bug 1202933, Part 2 - Show the origin for OS X notifications. r=MattN,wchen 2015-10-05 19:48:05 -07:00
Nicholas Nethercote
ef8c04357d Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
The conversion is as follows:

- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD    == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST    == gfx::Filter::LINEAR

Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.

These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
John Daggett
110918269f Bug 1201318 - revise OSX system font handling. r=mstange
Rework system font lookup under OSX so that the style system passes around the same "meta" name used by Webkit, -apple-system. This makes it so that the hidden system fonts used aren't exposed to authors. It also allows us to handle the two optical sizes of font families used under OSX 10.11, which uses San Francisco as the new UI font, with one family for text sizes and another for larger, display sizes. The patch here:

  - moves system font lookup into gfxMacPlatformFontList
  - assigns the font family name to "-apple-system"
  - derives FindFamily to take a gfxFontStyle parameter to allow size-based lookups
  - maintains a list of hidden system font families (not exposed to authors)
  - maintains a mapping from -apple-system to the underlying hidden font families
2015-10-08 15:04:08 +09:00
Carsten "Tomcat" Book
ffbba683df Merge m-c to mozilla-inbound 2015-10-06 12:21:45 +02:00
Carsten "Tomcat" Book
6e46667c14 merge mozilla-inbound to mozilla-central a=merge 2015-10-06 12:01:35 +02:00
Phil Ringnalda
02723e0858 Back out 2 changesets (bug 1202933) for Mulet timeouts in test_alerts.html
CLOSED TREE

Backed out changeset fbcc1bb170e9 (bug 1202933)
Backed out changeset 1763e1484065 (bug 1202933)
2015-10-05 18:41:00 -07:00
Kit Cambridge
fc36777d44 Bug 1202933, Part 2 - Show the origin for OS X notifications. r=MattN,wchen 2015-10-05 11:49:38 -07:00
Matthew Noorenberghe
a81b210217 Bug 1208295 - Show an additional action on OS X notifications to open notification settings. r=mstange 2015-09-25 13:18:29 -07:00
Wes Kocher
ca45c06709 Merge b2ginbound to central, a=merge 2015-10-05 13:09:32 -07:00
Carsten "Tomcat" Book
0cce113212 Merge m-c to b2g-i on a CLOSED TREE 2015-10-05 13:55:18 +02:00
Nigel Babu
cab36dbad9 Backed out changeset 02a7211c3ac8 (bug 1112712) for build bustage 2015-10-05 14:29:44 +05:30
Sotaro Ikeda
abc063a159 Bug 1210189 - Use nsScreenGonk in nsWindow::StartRemoteDrawing() r=mwu 2015-10-03 17:06:19 -07:00
Boris Chiou
f9e046fb20 Bug 1210265 - Add a pref toggle for copying/pasting only plain text on B2G. r=timdream
Add a new preference, clibboard.plainTextOnly.
1. On:  we only support kUnicodeMIME in SetData/GetData.
2. Off: we can support different MIME types in SetData/GetData

BTW, "copy image" is dependent on non-text/rich text support, so this
menu item is also disabled after we turn the pref off.
2015-10-02 00:26:00 +02:00
Petr Jašíček
03d999b520 Bug 1210086 - Fix warnings caused by toolbar buttons in gtk2. r=karl 2015-10-01 04:30:00 +02:00
hansu9866@gmail.com
4174446530 Bug 1112712 - DOM key and code mapping for simple phone hardware keys. r=masayuki
commit eb0f93fdeaba83493ad231b62e8d27793e1a67ca
Author: Hansu Kim <hansu9866@gmail.com>
    Bug 1112712 DOM key and code mapping for simple phone hardware keys

    Change-Id: I8b37b82e374ce287af334061eaaa49f1b9f350b8
2015-10-01 16:13:00 +02:00
Carsten "Tomcat" Book
91e1ac6fd2 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
179a6e54ad merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Carsten "Tomcat" Book
9eaa0d1abc Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Jim Chen
de58371347 Bug 1209574 - Switch GeckoInputConnection for each new GeckoView; r=esawin
The GeckoEditable instance doesn't change for each nsWindow instance.
However, because a GeckoInputConnection is associated with a GeckoView,
when we create a new GeckoView, we need to attach a new
GeckoInputConnection to the existing nsWindow's GeckoEditable. This
patch makes us do that inside nsWindow::Natives::Open by calling
GeckoEditable.OnViewChange.
2015-10-08 15:25:49 -04:00
Jim Chen
77b3a9249b Bug 1209574 - Move GeckoEditable management to nsWindow; r=esawin
This patch removes the GeckoEditable code in GeckoAppShell, and make
nsWindow create a GeckoEditable for itself when opening a window.
Instead of calling GeckoAppShell, nsWindow can now call GeckoEditable
methods directly.
2015-10-08 15:25:49 -04:00
Jim Chen
088b346653 Bug 1209574 - Generate constants for non-accessible static final fields; r=snorp
We try to generate a C++ constant for static final fields, but that
was failing for inaccessible fields. Now we set the field to be
accessible so that we do end up generating a C++ constant.
2015-10-08 15:25:49 -04:00
Jim Chen
34ce6d8905 Bug 1200426 - Convert PROCESS_OBJECT GeckoEvent to native call; r=snorp
The PROCESS_OBJECT GeckoEvent is used to set the layer client object in
Gecko once Gecko is done loading. This patch converts it to a native
call in GeckoView.Window.
2015-10-08 15:25:49 -04:00
Ahmed Khalil
a3fe735dbf Bug 1201926 - Add support for keyed histograms to Fennec's Telemetry module, r=nalexander 2015-10-08 11:32:52 +05:30
Reuben Morais
ccc4802263 Bug 1172740 - Implement Android HAL backend for alarms. r=snorp 2015-10-01 14:40:53 -03:00
Wes Kocher
113885afeb Merge m-c to inbound, a=merge CLOSED TREE 2015-10-05 13:11:26 -07:00