Commit Graph

11013 Commits

Author SHA1 Message Date
Brian Birtles
19812eb712 Bug 1212102 - Drop unnecessary assertion comparing timestamps in SystemTimeConverter; r=karlt 2015-10-21 15:26:46 +09:00
Wes Kocher
c337b1231d Merge fx-team to central, a=merge 2015-10-20 14:53:07 -07:00
Jared Wein
a95882da58 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Carsten "Tomcat" Book
c880577c82 merge mozilla-inbound to mozilla-central a=merge 2015-10-20 12:00:53 +02:00
Gijs Kruitbosch
1cdf893d96 Bug 1213845 - enable osk support on windows 8, but hide it behind a preference, r=jaws 2015-10-16 16:28:13 +01:00
Gijs Kruitbosch
22db9176e2 Bug 1211805 - rework keyboard detection for on-screen keyboard, r=jaws 2015-10-16 17:47:25 +01:00
Carsten "Tomcat" Book
76bc088804 merge mozilla-inbound to mozilla-central a=merge 2015-10-19 11:38:22 +02:00
Chris Peterson
e9ed95a07c Bug 1215892 - Fix clang's -Wimplicit-fallthrough warnings in gfx. r=BenWa
gfx/gl/GLBlitHelper.cpp:395:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

gfx/layers/apz/src/AsyncPanZoomController.cpp:1087:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/src/AsyncPanZoomController.cpp:1196:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/src/GestureEventListener.cpp:411:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/util/APZEventState.cpp:292:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/layers/apz/util/APZEventState.cpp:295:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

widget/GfxInfoBase.cpp:1015:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-17 22:57:38 -07:00
Phil Ringnalda
da6bb4b0e8 Merge m-c to b-i
CLOSED TREE
2015-10-17 20:00:32 -07:00
Nathan Froyd
e4e2da55c9 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.

CLOSED TREE makes big refactorings like this a piece of cake.

 # 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-18 01:24:48 -04:00
Nathan Froyd
5254890206 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' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Masayuki Nakano
f55e0e599e Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug 2015-10-17 15:50:09 +09:00
Wes Kocher
c000aea8f1 Merge m-c to b2ginbound, a=merge 2015-10-16 12:33:40 -07:00
Hansu Kim
9eac44fef4 Bug 1112712 - DOM key mapping for soft1 soft2 and call keys r=schien 2015-10-16 11:04:11 -07:00
Nathan Froyd
c95a0d3812 Bug 1212027 - followup - qualify PBrowserParent in GonkPermission.cpp; r=me
Landing this on a CLOSED TREE
2015-10-16 22:04:07 -04:00
Carsten "Tomcat" Book
54ae9b9424 Merge m-c to mozilla-inbound 2015-10-16 14:45:26 +02:00
Carsten "Tomcat" Book
362a517b9b merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Phil Ringnalda
697aa20fc5 Back out changeset bb7e9c6a66c6 (bug 1209602) for crashing 2015-10-15 22:31:42 -07:00
Jared Wein
16f3c32e32 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Jared Wein
bbc6d93eba Backout bug 1209602 for busting OSX on a CLOSED TREE. r=me 2015-10-15 23:19:10 -04:00
Jared Wein
8e117f0367 Bug 1209602 - XUL: Implement disabling notifications for a site. r=MattN 2015-10-15 22:58:56 -04:00
Felipe Gomes
a31f3dfb8b Bug 605813 - Re-enable test_taskbar_progress.xul on Windows. r=me 2015-10-15 18:39:28 -03:00
Masayuki Nakano
5cc447d565 Bug 376679 part.5 nsPluginInstanceOwner::ProcessEvent() should create WM_MOUSE*WHEEL message from WidgetWheelEvent data r=smaug+jimm 2015-10-16 13:19:27 +09:00
Sotaro Ikeda
d862218d89 Bug 1210514 - Fix color inversion when BasicCompositor is used on gonk r=nical 2015-10-15 00:26:08 -07:00
Jim Chen
39adb41fb5 Bug 1211919 - Allow quitting when asked explicitly; r=snorp
Right now we don't allow quitting Fennec when the last nsWindow closes
(e.g. when the last GeckoView is destroyed) because we want to keep the
Gecko thread running throughout the app process lifetime. However, when
we are asked to quit explicitly through nsIAppStartup::Quit, we should
release the hold on nsAppStartup and allow quitting to continue.
2015-10-15 15:49:48 -04:00
Nathan Froyd
b739a8d30c Bug 1212027 - part 7 - modify IPDL codegen to store sub-protocols in a hashtable rather than an array; r=jld,nical,cpearce,billm 2015-10-07 14:30:33 -04:00
Henri Sivonen
4505f02651 Bug 943294 - Leave dealing with legacy codepages for clipboard data to Windows itself. r=jmathies. 2015-10-13 09:46:51 +03:00
byron jones
06c32b1a76 Bug 1214511 - Show copies, page range selection, and more on the expanded OSX print dialog. r=mstange 2015-10-18 09:22:00 +02:00
Carsten "Tomcat" Book
05ee74b6b0 Merge m-c to mozilla-inbound 2015-10-20 12:32:20 +02:00
Henri Sivonen
895172871e Bug 1214616 - Remove encoding conversion methods from nsPrimitiveHelpers. r=emk. 2015-10-20 12:06:27 +03:00
Henri Sivonen
c500495c60 Bug 943296 - widget/gtk/nsDragService.cpp should assume Gtk uses UTF-8. r=karlt. 2015-10-14 15:28:50 +03:00
Andrew Comminos
7340e48bf4 Bug 1209774 - Transform from GDK coords to layout device pixels before calling DispatchEvent. r=karlt 2015-10-13 19:14:54 -07:00
David Anderson
69c676c346 Block some Radeon drivers that crash on D3D9. (bug 1213107, r=jrmuizel) 2015-10-13 16:45:40 -07:00
Carsten "Tomcat" Book
41a0a7d209 Merge m-c to mozilla-inbound 2015-10-13 12:27:01 +02:00
Reuben Morais
311e5eedfc Bug 748391 - Implement markMessageRead on the Android backend. r=snorp 2015-10-13 01:08:51 -03:00
Andrew Comminos
49182ca97f Bug 1187385 - Use GTK style padding for entry widgets. r=karlt 2015-10-13 00:08:21 -07:00
Martin Stransky
cb718e4a6a Bug 1210249 - don't mess with toplevel widget when client side decorations are enabled. r=karlt 2015-10-12 09:56:00 +02:00
Hiroyuki Ikezoe
f3b2d1b890 Bug 1167627 - Part 5: Use mozinfo in widget/. 2015-08-25 14:54:00 +02:00
Lee Salzman
d558f635b4 Bug 1196494 - part 2: only update nsWindow client offset when _NET_FRAME_EXTENTS property actually changes. r=eihrul 2015-10-09 09:24:48 -04:00
Masayuki Nakano
d18bbe5c70 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
cae1411988 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
cf3a801346 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
0c557077fb 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
9aa8bb698b Backed out changeset 81be051cd7a8 (bug 1213107) for windows build bustage CLOSED TREE 2015-10-09 13:55:34 -07:00
David Anderson
816f6d9674 Block some Radeon devices that crash on D3D9. (bug 1213107, r=jrmuizel) 2015-10-09 13:29:34 -07:00
Andrew Comminos
ca7ff03548 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
319658c270 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
3cf808668e 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
Makoto Kato
fc62c1d156 Bug 978679. Implement touch events for GTK3. r=karlt 2015-04-30 08:29:34 +12:00
Masayuki Nakano
e1aee30f50 Bug 1215517 part.3 Test the result of eQuerySelectedText in runSetSelectionEventTest() for checking the behavior of ContentEventHandler::GetFlatTextOffsetOfRange() rs=smaug 2015-10-20 14:14:17 +09:00